@dvina/sdk 4.0.156 → 4.0.158

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.
@@ -4,7 +4,7 @@ var chunk342BFYZZ_cjs = require('./chunk-342BFYZZ.cjs');
4
4
  var chunkUELAE75E_cjs = require('./chunk-UELAE75E.cjs');
5
5
  var chunkBL3GFOZR_cjs = require('./chunk-BL3GFOZR.cjs');
6
6
  var chunkKV5SP7RP_cjs = require('./chunk-KV5SP7RP.cjs');
7
- var chunkEL37Q6V6_cjs = require('./chunk-EL37Q6V6.cjs');
7
+ var chunkDQ7S5FF4_cjs = require('./chunk-DQ7S5FF4.cjs');
8
8
  var chunkDZUJEN5N_cjs = require('./chunk-DZUJEN5N.cjs');
9
9
 
10
10
  // ../../node_modules/.pnpm/dexie@4.3.0/node_modules/dexie/dist/dexie.js
@@ -10297,7 +10297,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
10297
10297
  var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
10298
10298
  var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
10299
10299
  async function uploadFile(request, getToken, file, name, options) {
10300
- const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-BMEC6UQQ.cjs');
10300
+ const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-FCUXNVBW.cjs');
10301
10301
  const key = `upload_${Date.now()}`;
10302
10302
  const response = await request(
10303
10303
  GenerateUploadUriDocument2,
@@ -13172,7 +13172,7 @@ var AgentSubBuilder = class {
13172
13172
  _includes = [];
13173
13173
  /** Include chats in the parent query. */
13174
13174
  chats(variables, builder) {
13175
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Agent_ChatsDocument, "chats", ["id"]);
13175
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Agent_ChatsDocument, "chats", ["id"]);
13176
13176
  let children;
13177
13177
  if (builder) {
13178
13178
  const sub = new ChatSubBuilder();
@@ -13181,7 +13181,7 @@ var AgentSubBuilder = class {
13181
13181
  }
13182
13182
  this._includes.push({
13183
13183
  fieldName: "chats",
13184
- fragmentDoc: chunkEL37Q6V6_cjs.ChatConnectionFragmentDoc,
13184
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatConnectionFragmentDoc,
13185
13185
  variables,
13186
13186
  isConnection: true,
13187
13187
  isList: false,
@@ -13203,7 +13203,7 @@ var ArtifactSubBuilder = class {
13203
13203
  _includes = [];
13204
13204
  /** Include chat in the parent query. */
13205
13205
  chat(variables, builder) {
13206
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_ChatDocument, "chat", ["id"]);
13206
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Artifact_ChatDocument, "chat", ["id"]);
13207
13207
  let children;
13208
13208
  if (builder) {
13209
13209
  const sub = new ChatSubBuilder();
@@ -13212,7 +13212,7 @@ var ArtifactSubBuilder = class {
13212
13212
  }
13213
13213
  this._includes.push({
13214
13214
  fieldName: "chat",
13215
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
13215
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatFragmentDoc,
13216
13216
  variables,
13217
13217
  isConnection: false,
13218
13218
  isList: false,
@@ -13229,10 +13229,10 @@ var ArtifactSubBuilder = class {
13229
13229
  }
13230
13230
  /** Include file in the parent query. */
13231
13231
  file(variables) {
13232
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_FileDocument, "file", ["id"]);
13232
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Artifact_FileDocument, "file", ["id"]);
13233
13233
  this._includes.push({
13234
13234
  fieldName: "file",
13235
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
13235
+ fragmentDoc: chunkDQ7S5FF4_cjs.FileFragmentDoc,
13236
13236
  variables,
13237
13237
  isConnection: false,
13238
13238
  isList: false,
@@ -13248,7 +13248,7 @@ var ArtifactSubBuilder = class {
13248
13248
  }
13249
13249
  /** Include message in the parent query. */
13250
13250
  message(variables, builder) {
13251
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_MessageDocument, "message", ["id"]);
13251
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Artifact_MessageDocument, "message", ["id"]);
13252
13252
  let children;
13253
13253
  if (builder) {
13254
13254
  const sub = new ChatMessageSubBuilder();
@@ -13257,7 +13257,7 @@ var ArtifactSubBuilder = class {
13257
13257
  }
13258
13258
  this._includes.push({
13259
13259
  fieldName: "message",
13260
- fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageFragmentDoc,
13260
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatMessageFragmentDoc,
13261
13261
  variables,
13262
13262
  isConnection: false,
13263
13263
  isList: false,
@@ -13278,7 +13278,7 @@ var ChatSubBuilder = class {
13278
13278
  _includes = [];
13279
13279
  /** Include agents in the parent query. */
13280
13280
  agents(variables, builder) {
13281
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_AgentsDocument, "agents", ["id"]);
13281
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Chat_AgentsDocument, "agents", ["id"]);
13282
13282
  let children;
13283
13283
  if (builder) {
13284
13284
  const sub = new AgentSubBuilder();
@@ -13287,7 +13287,7 @@ var ChatSubBuilder = class {
13287
13287
  }
13288
13288
  this._includes.push({
13289
13289
  fieldName: "agents",
13290
- fragmentDoc: chunkEL37Q6V6_cjs.AgentConnectionFragmentDoc,
13290
+ fragmentDoc: chunkDQ7S5FF4_cjs.AgentConnectionFragmentDoc,
13291
13291
  variables,
13292
13292
  isConnection: true,
13293
13293
  isList: false,
@@ -13305,7 +13305,7 @@ var ChatSubBuilder = class {
13305
13305
  }
13306
13306
  /** Include artifacts in the parent query. */
13307
13307
  artifacts(variables, builder) {
13308
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
13308
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
13309
13309
  let children;
13310
13310
  if (builder) {
13311
13311
  const sub = new ArtifactSubBuilder();
@@ -13314,7 +13314,7 @@ var ChatSubBuilder = class {
13314
13314
  }
13315
13315
  this._includes.push({
13316
13316
  fieldName: "artifacts",
13317
- fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
13317
+ fragmentDoc: chunkDQ7S5FF4_cjs.ArtifactConnectionFragmentDoc,
13318
13318
  variables,
13319
13319
  isConnection: true,
13320
13320
  isList: false,
@@ -13332,7 +13332,7 @@ var ChatSubBuilder = class {
13332
13332
  }
13333
13333
  /** Include insight in the parent query. */
13334
13334
  insight(variables, builder) {
13335
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_InsightDocument, "insight", ["id"]);
13335
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Chat_InsightDocument, "insight", ["id"]);
13336
13336
  let children;
13337
13337
  if (builder) {
13338
13338
  const sub = new InsightSubBuilder();
@@ -13341,7 +13341,7 @@ var ChatSubBuilder = class {
13341
13341
  }
13342
13342
  this._includes.push({
13343
13343
  fieldName: "insight",
13344
- fragmentDoc: chunkEL37Q6V6_cjs.InsightFragmentDoc,
13344
+ fragmentDoc: chunkDQ7S5FF4_cjs.InsightFragmentDoc,
13345
13345
  variables,
13346
13346
  isConnection: false,
13347
13347
  isList: false,
@@ -13358,7 +13358,7 @@ var ChatSubBuilder = class {
13358
13358
  }
13359
13359
  /** Include messages in the parent query. */
13360
13360
  messages(variables, builder) {
13361
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_MessagesDocument, "messages", ["id"]);
13361
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Chat_MessagesDocument, "messages", ["id"]);
13362
13362
  let children;
13363
13363
  if (builder) {
13364
13364
  const sub = new ChatMessageSubBuilder();
@@ -13367,7 +13367,7 @@ var ChatSubBuilder = class {
13367
13367
  }
13368
13368
  this._includes.push({
13369
13369
  fieldName: "messages",
13370
- fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageConnectionFragmentDoc,
13370
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatMessageConnectionFragmentDoc,
13371
13371
  variables,
13372
13372
  isConnection: true,
13373
13373
  isList: false,
@@ -13389,7 +13389,7 @@ var ChatMessageSubBuilder = class {
13389
13389
  _includes = [];
13390
13390
  /** Include artifacts in the parent query. */
13391
13391
  artifacts(variables, builder) {
13392
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
13392
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
13393
13393
  let children;
13394
13394
  if (builder) {
13395
13395
  const sub = new ArtifactSubBuilder();
@@ -13398,7 +13398,7 @@ var ChatMessageSubBuilder = class {
13398
13398
  }
13399
13399
  this._includes.push({
13400
13400
  fieldName: "artifacts",
13401
- fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
13401
+ fragmentDoc: chunkDQ7S5FF4_cjs.ArtifactConnectionFragmentDoc,
13402
13402
  variables,
13403
13403
  isConnection: true,
13404
13404
  isList: false,
@@ -13416,7 +13416,7 @@ var ChatMessageSubBuilder = class {
13416
13416
  }
13417
13417
  /** Include chat in the parent query. */
13418
13418
  chat(variables, builder) {
13419
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
13419
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
13420
13420
  let children;
13421
13421
  if (builder) {
13422
13422
  const sub = new ChatSubBuilder();
@@ -13425,7 +13425,7 @@ var ChatMessageSubBuilder = class {
13425
13425
  }
13426
13426
  this._includes.push({
13427
13427
  fieldName: "chat",
13428
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
13428
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatFragmentDoc,
13429
13429
  variables,
13430
13430
  isConnection: false,
13431
13431
  isList: false,
@@ -13442,10 +13442,10 @@ var ChatMessageSubBuilder = class {
13442
13442
  }
13443
13443
  /** Include contents in the parent query. */
13444
13444
  contents(variables) {
13445
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
13445
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
13446
13446
  this._includes.push({
13447
13447
  fieldName: "contents",
13448
- fragmentDoc: chunkEL37Q6V6_cjs.ContentBlockFragmentDoc,
13448
+ fragmentDoc: chunkDQ7S5FF4_cjs.ContentBlockFragmentDoc,
13449
13449
  variables,
13450
13450
  isConnection: false,
13451
13451
  isList: true,
@@ -13461,10 +13461,10 @@ var ChatMessageSubBuilder = class {
13461
13461
  }
13462
13462
  /** Include feedback in the parent query. */
13463
13463
  feedback(variables) {
13464
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
13464
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
13465
13465
  this._includes.push({
13466
13466
  fieldName: "feedback",
13467
- fragmentDoc: chunkEL37Q6V6_cjs.FeedbackFragmentDoc,
13467
+ fragmentDoc: chunkDQ7S5FF4_cjs.FeedbackFragmentDoc,
13468
13468
  variables,
13469
13469
  isConnection: false,
13470
13470
  isList: false,
@@ -13484,10 +13484,10 @@ var DatabaseSubBuilder = class {
13484
13484
  _includes = [];
13485
13485
  /** Include engine in the parent query. */
13486
13486
  engine(variables) {
13487
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_EngineDocument, "engine", ["id"]);
13487
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Database_EngineDocument, "engine", ["id"]);
13488
13488
  this._includes.push({
13489
13489
  fieldName: "engine",
13490
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
13490
+ fragmentDoc: chunkDQ7S5FF4_cjs.DatabaseEngineFragmentDoc,
13491
13491
  variables,
13492
13492
  isConnection: false,
13493
13493
  isList: false,
@@ -13503,7 +13503,7 @@ var DatabaseSubBuilder = class {
13503
13503
  }
13504
13504
  /** Include tables in the parent query. */
13505
13505
  tables(variables, builder) {
13506
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_TablesDocument, "tables", ["id"]);
13506
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Database_TablesDocument, "tables", ["id"]);
13507
13507
  let children;
13508
13508
  if (builder) {
13509
13509
  const sub = new TableSubBuilder();
@@ -13512,7 +13512,7 @@ var DatabaseSubBuilder = class {
13512
13512
  }
13513
13513
  this._includes.push({
13514
13514
  fieldName: "tables",
13515
- fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
13515
+ fragmentDoc: chunkDQ7S5FF4_cjs.TableConnectionFragmentDoc,
13516
13516
  variables,
13517
13517
  isConnection: true,
13518
13518
  isList: false,
@@ -13534,10 +13534,10 @@ var DatabaseCatalogSubBuilder = class {
13534
13534
  _includes = [];
13535
13535
  /** Include engine in the parent query. */
13536
13536
  engine(variables) {
13537
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, "engine", []);
13537
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.DatabaseCatalog_EngineDocument, "engine", []);
13538
13538
  this._includes.push({
13539
13539
  fieldName: "engine",
13540
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
13540
+ fragmentDoc: chunkDQ7S5FF4_cjs.DatabaseEngineFragmentDoc,
13541
13541
  variables,
13542
13542
  isConnection: false,
13543
13543
  isList: false,
@@ -13557,10 +13557,10 @@ var DocumentSubBuilder = class {
13557
13557
  _includes = [];
13558
13558
  /** Include contents in the parent query. */
13559
13559
  contents(variables) {
13560
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_ContentsDocument, "contents", ["id"]);
13560
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Document_ContentsDocument, "contents", ["id"]);
13561
13561
  this._includes.push({
13562
13562
  fieldName: "contents",
13563
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentContentFragmentDoc,
13563
+ fragmentDoc: chunkDQ7S5FF4_cjs.DocumentContentFragmentDoc,
13564
13564
  variables,
13565
13565
  isConnection: false,
13566
13566
  isList: true,
@@ -13576,10 +13576,10 @@ var DocumentSubBuilder = class {
13576
13576
  }
13577
13577
  /** Include file in the parent query. */
13578
13578
  file(variables) {
13579
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FileDocument, "file", ["id"]);
13579
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Document_FileDocument, "file", ["id"]);
13580
13580
  this._includes.push({
13581
13581
  fieldName: "file",
13582
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
13582
+ fragmentDoc: chunkDQ7S5FF4_cjs.FileFragmentDoc,
13583
13583
  variables,
13584
13584
  isConnection: false,
13585
13585
  isList: false,
@@ -13595,10 +13595,10 @@ var DocumentSubBuilder = class {
13595
13595
  }
13596
13596
  /** Include format in the parent query. */
13597
13597
  format(variables) {
13598
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FormatDocument, "format", ["id"]);
13598
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Document_FormatDocument, "format", ["id"]);
13599
13599
  this._includes.push({
13600
13600
  fieldName: "format",
13601
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
13601
+ fragmentDoc: chunkDQ7S5FF4_cjs.DocumentFormatFragmentDoc,
13602
13602
  variables,
13603
13603
  isConnection: false,
13604
13604
  isList: false,
@@ -13614,7 +13614,7 @@ var DocumentSubBuilder = class {
13614
13614
  }
13615
13615
  /** Include tables in the parent query. */
13616
13616
  tables(variables, builder) {
13617
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_TablesDocument, "tables", ["id"]);
13617
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Document_TablesDocument, "tables", ["id"]);
13618
13618
  let children;
13619
13619
  if (builder) {
13620
13620
  const sub = new TableSubBuilder();
@@ -13623,7 +13623,7 @@ var DocumentSubBuilder = class {
13623
13623
  }
13624
13624
  this._includes.push({
13625
13625
  fieldName: "tables",
13626
- fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
13626
+ fragmentDoc: chunkDQ7S5FF4_cjs.TableConnectionFragmentDoc,
13627
13627
  variables,
13628
13628
  isConnection: true,
13629
13629
  isList: false,
@@ -13645,10 +13645,10 @@ var DocumentCatalogSubBuilder = class {
13645
13645
  _includes = [];
13646
13646
  /** Include format in the parent query. */
13647
13647
  format(variables) {
13648
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, "format", []);
13648
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.DocumentCatalog_FormatDocument, "format", []);
13649
13649
  this._includes.push({
13650
13650
  fieldName: "format",
13651
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
13651
+ fragmentDoc: chunkDQ7S5FF4_cjs.DocumentFormatFragmentDoc,
13652
13652
  variables,
13653
13653
  isConnection: false,
13654
13654
  isList: false,
@@ -13668,10 +13668,10 @@ var FeedItemSubBuilder = class {
13668
13668
  _includes = [];
13669
13669
  /** Include action in the parent query. */
13670
13670
  action(variables) {
13671
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, "action", ["id"]);
13671
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.FeedItem_ActionDocument, "action", ["id"]);
13672
13672
  this._includes.push({
13673
13673
  fieldName: "action",
13674
- fragmentDoc: chunkEL37Q6V6_cjs.FeedSendMessageActionFragmentDoc,
13674
+ fragmentDoc: chunkDQ7S5FF4_cjs.FeedSendMessageActionFragmentDoc,
13675
13675
  variables,
13676
13676
  isConnection: false,
13677
13677
  isList: false,
@@ -13687,10 +13687,10 @@ var FeedItemSubBuilder = class {
13687
13687
  }
13688
13688
  /** Include data in the parent query. */
13689
13689
  data(variables) {
13690
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_DataDocument, "data", ["id"]);
13690
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.FeedItem_DataDocument, "data", ["id"]);
13691
13691
  this._includes.push({
13692
13692
  fieldName: "data",
13693
- fragmentDoc: chunkEL37Q6V6_cjs.FeedArtifactDataFragmentDoc,
13693
+ fragmentDoc: chunkDQ7S5FF4_cjs.FeedArtifactDataFragmentDoc,
13694
13694
  variables,
13695
13695
  isConnection: false,
13696
13696
  isList: true,
@@ -13710,7 +13710,7 @@ var InsightSubBuilder = class {
13710
13710
  _includes = [];
13711
13711
  /** Include chat in the parent query. */
13712
13712
  chat(variables, builder) {
13713
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ChatDocument, "chat", ["id"]);
13713
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Insight_ChatDocument, "chat", ["id"]);
13714
13714
  let children;
13715
13715
  if (builder) {
13716
13716
  const sub = new ChatSubBuilder();
@@ -13719,7 +13719,7 @@ var InsightSubBuilder = class {
13719
13719
  }
13720
13720
  this._includes.push({
13721
13721
  fieldName: "chat",
13722
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
13722
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatFragmentDoc,
13723
13723
  variables,
13724
13724
  isConnection: false,
13725
13725
  isList: false,
@@ -13736,10 +13736,10 @@ var InsightSubBuilder = class {
13736
13736
  }
13737
13737
  /** Include reportMembers in the parent query. */
13738
13738
  reportMembers(variables) {
13739
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
13739
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
13740
13740
  this._includes.push({
13741
13741
  fieldName: "reportMembers",
13742
- fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
13742
+ fragmentDoc: chunkDQ7S5FF4_cjs.ReportMemberFragmentDoc,
13743
13743
  variables,
13744
13744
  isConnection: false,
13745
13745
  isList: true,
@@ -13755,7 +13755,7 @@ var InsightSubBuilder = class {
13755
13755
  }
13756
13756
  /** Include reports in the parent query. */
13757
13757
  reports(variables, builder) {
13758
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportsDocument, "reports", ["id"]);
13758
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Insight_ReportsDocument, "reports", ["id"]);
13759
13759
  let children;
13760
13760
  if (builder) {
13761
13761
  const sub = new ReportSubBuilder();
@@ -13764,7 +13764,7 @@ var InsightSubBuilder = class {
13764
13764
  }
13765
13765
  this._includes.push({
13766
13766
  fieldName: "reports",
13767
- fragmentDoc: chunkEL37Q6V6_cjs.ReportConnectionFragmentDoc,
13767
+ fragmentDoc: chunkDQ7S5FF4_cjs.ReportConnectionFragmentDoc,
13768
13768
  variables,
13769
13769
  isConnection: true,
13770
13770
  isList: false,
@@ -13782,10 +13782,10 @@ var InsightSubBuilder = class {
13782
13782
  }
13783
13783
  /** Include thumbnailFile in the parent query. */
13784
13784
  thumbnailFile(variables) {
13785
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
13785
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
13786
13786
  this._includes.push({
13787
13787
  fieldName: "thumbnailFile",
13788
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
13788
+ fragmentDoc: chunkDQ7S5FF4_cjs.FileFragmentDoc,
13789
13789
  variables,
13790
13790
  isConnection: false,
13791
13791
  isList: false,
@@ -13805,10 +13805,10 @@ var IntegrationSubBuilder = class {
13805
13805
  _includes = [];
13806
13806
  /** Include provider in the parent query. */
13807
13807
  provider(variables) {
13808
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Integration_ProviderDocument, "provider", ["id"]);
13808
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Integration_ProviderDocument, "provider", ["id"]);
13809
13809
  this._includes.push({
13810
13810
  fieldName: "provider",
13811
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
13811
+ fragmentDoc: chunkDQ7S5FF4_cjs.IntegrationProviderFragmentDoc,
13812
13812
  variables,
13813
13813
  isConnection: false,
13814
13814
  isList: false,
@@ -13828,10 +13828,10 @@ var IntegrationCatalogSubBuilder = class {
13828
13828
  _includes = [];
13829
13829
  /** Include provider in the parent query. */
13830
13830
  provider(variables) {
13831
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
13831
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
13832
13832
  this._includes.push({
13833
13833
  fieldName: "provider",
13834
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
13834
+ fragmentDoc: chunkDQ7S5FF4_cjs.IntegrationProviderFragmentDoc,
13835
13835
  variables,
13836
13836
  isConnection: false,
13837
13837
  isList: false,
@@ -13851,7 +13851,7 @@ var PulseEventSubBuilder = class {
13851
13851
  _includes = [];
13852
13852
  /** Include integration in the parent query. */
13853
13853
  integration(variables, builder) {
13854
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
13854
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
13855
13855
  let children;
13856
13856
  if (builder) {
13857
13857
  const sub = new IntegrationSubBuilder();
@@ -13860,7 +13860,7 @@ var PulseEventSubBuilder = class {
13860
13860
  }
13861
13861
  this._includes.push({
13862
13862
  fieldName: "integration",
13863
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationFragmentDoc,
13863
+ fragmentDoc: chunkDQ7S5FF4_cjs.IntegrationFragmentDoc,
13864
13864
  variables,
13865
13865
  isConnection: false,
13866
13866
  isList: false,
@@ -13881,7 +13881,7 @@ var ReportSubBuilder = class {
13881
13881
  _includes = [];
13882
13882
  /** Include insights in the parent query. */
13883
13883
  insights(variables, builder) {
13884
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_InsightsDocument, "insights", ["id"]);
13884
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Report_InsightsDocument, "insights", ["id"]);
13885
13885
  let children;
13886
13886
  if (builder) {
13887
13887
  const sub = new InsightSubBuilder();
@@ -13890,7 +13890,7 @@ var ReportSubBuilder = class {
13890
13890
  }
13891
13891
  this._includes.push({
13892
13892
  fieldName: "insights",
13893
- fragmentDoc: chunkEL37Q6V6_cjs.InsightConnectionFragmentDoc,
13893
+ fragmentDoc: chunkDQ7S5FF4_cjs.InsightConnectionFragmentDoc,
13894
13894
  variables,
13895
13895
  isConnection: true,
13896
13896
  isList: false,
@@ -13908,10 +13908,10 @@ var ReportSubBuilder = class {
13908
13908
  }
13909
13909
  /** Include layout in the parent query. */
13910
13910
  layout(variables) {
13911
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_LayoutDocument, "layout", ["id"]);
13911
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Report_LayoutDocument, "layout", ["id"]);
13912
13912
  this._includes.push({
13913
13913
  fieldName: "layout",
13914
- fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
13914
+ fragmentDoc: chunkDQ7S5FF4_cjs.ReportMemberFragmentDoc,
13915
13915
  variables,
13916
13916
  isConnection: false,
13917
13917
  isList: true,
@@ -13931,7 +13931,7 @@ var TableSubBuilder = class {
13931
13931
  _includes = [];
13932
13932
  /** Include database in the parent query. */
13933
13933
  database(variables, builder) {
13934
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DatabaseDocument, "database", ["id"]);
13934
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Table_DatabaseDocument, "database", ["id"]);
13935
13935
  let children;
13936
13936
  if (builder) {
13937
13937
  const sub = new DatabaseSubBuilder();
@@ -13940,7 +13940,7 @@ var TableSubBuilder = class {
13940
13940
  }
13941
13941
  this._includes.push({
13942
13942
  fieldName: "database",
13943
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseFragmentDoc,
13943
+ fragmentDoc: chunkDQ7S5FF4_cjs.DatabaseFragmentDoc,
13944
13944
  variables,
13945
13945
  isConnection: false,
13946
13946
  isList: false,
@@ -13957,7 +13957,7 @@ var TableSubBuilder = class {
13957
13957
  }
13958
13958
  /** Include document in the parent query. */
13959
13959
  document(variables, builder) {
13960
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DocumentDocument, "document", ["id"]);
13960
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Table_DocumentDocument, "document", ["id"]);
13961
13961
  let children;
13962
13962
  if (builder) {
13963
13963
  const sub = new DocumentSubBuilder();
@@ -13966,7 +13966,7 @@ var TableSubBuilder = class {
13966
13966
  }
13967
13967
  this._includes.push({
13968
13968
  fieldName: "document",
13969
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFragmentDoc,
13969
+ fragmentDoc: chunkDQ7S5FF4_cjs.DocumentFragmentDoc,
13970
13970
  variables,
13971
13971
  isConnection: false,
13972
13972
  isList: false,
@@ -13983,10 +13983,10 @@ var TableSubBuilder = class {
13983
13983
  }
13984
13984
  /** Include fromRelations in the parent query. */
13985
13985
  fromRelations(variables) {
13986
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
13986
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
13987
13987
  this._includes.push({
13988
13988
  fieldName: "fromRelations",
13989
- fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
13989
+ fragmentDoc: chunkDQ7S5FF4_cjs.RelationFragmentDoc,
13990
13990
  variables,
13991
13991
  isConnection: false,
13992
13992
  isList: true,
@@ -14002,10 +14002,10 @@ var TableSubBuilder = class {
14002
14002
  }
14003
14003
  /** Include toRelations in the parent query. */
14004
14004
  toRelations(variables) {
14005
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
14005
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
14006
14006
  this._includes.push({
14007
14007
  fieldName: "toRelations",
14008
- fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
14008
+ fragmentDoc: chunkDQ7S5FF4_cjs.RelationFragmentDoc,
14009
14009
  variables,
14010
14010
  isConnection: false,
14011
14011
  isList: true,
@@ -14022,454 +14022,454 @@ var TableSubBuilder = class {
14022
14022
  };
14023
14023
  var AbortChatMutation = class extends chunk342BFYZZ_cjs.Request {
14024
14024
  async fetch(variables) {
14025
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.AbortChatDocument, variables, MUTATION_CACHE_RULES["abortChat"]);
14025
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.AbortChatDocument, variables, MUTATION_CACHE_RULES["abortChat"]);
14026
14026
  return response.abortChat;
14027
14027
  }
14028
14028
  };
14029
14029
  var AddInsightToReportMutation = class extends chunk342BFYZZ_cjs.Request {
14030
14030
  async fetch(variables, options) {
14031
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
14031
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
14032
14032
  const data = response.addInsightToReport;
14033
14033
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14034
14034
  }
14035
14035
  };
14036
14036
  var CancelOauthFlowMutation = class extends chunk342BFYZZ_cjs.Request {
14037
14037
  async fetch(variables) {
14038
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
14038
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
14039
14039
  return response.cancelOauthFlow;
14040
14040
  }
14041
14041
  };
14042
14042
  var CancelWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
14043
14043
  async fetch(variables) {
14044
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
14044
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
14045
14045
  return response.cancelWorkspaceDeletion;
14046
14046
  }
14047
14047
  };
14048
14048
  var ConnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
14049
14049
  async fetch(variables, options) {
14050
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
14050
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
14051
14051
  const data = response.connectIntegration;
14052
14052
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
14053
14053
  }
14054
14054
  };
14055
14055
  var ConsumePulseEventsMutation = class extends chunk342BFYZZ_cjs.Request {
14056
14056
  async fetch(variables) {
14057
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
14057
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
14058
14058
  return response.consumePulseEvents;
14059
14059
  }
14060
14060
  };
14061
14061
  var ContinueImportedChatMutation = class extends chunk342BFYZZ_cjs.Request {
14062
14062
  async fetch(variables) {
14063
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
14063
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
14064
14064
  return response.continueImportedChat;
14065
14065
  }
14066
14066
  };
14067
14067
  var ContinueInterpretationMutation = class extends chunk342BFYZZ_cjs.Request {
14068
14068
  async fetch(variables) {
14069
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
14069
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
14070
14070
  return response.continueInterpretation;
14071
14071
  }
14072
14072
  };
14073
14073
  var CreateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
14074
14074
  async fetch(variables, options) {
14075
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
14075
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
14076
14076
  const data = response.createAgent;
14077
14077
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
14078
14078
  }
14079
14079
  };
14080
14080
  var CreateChatMutation = class extends chunk342BFYZZ_cjs.Request {
14081
14081
  async fetch(variables, options) {
14082
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
14082
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
14083
14083
  const data = response.createChat;
14084
14084
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
14085
14085
  }
14086
14086
  };
14087
14087
  var CreateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
14088
14088
  async fetch(variables, options) {
14089
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
14089
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
14090
14090
  const data = response.createDatabase;
14091
14091
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
14092
14092
  }
14093
14093
  };
14094
14094
  var CreateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
14095
14095
  async fetch(variables, options) {
14096
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
14096
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
14097
14097
  const data = response.createDocument;
14098
14098
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
14099
14099
  }
14100
14100
  };
14101
14101
  var CreateFeedbackMutation = class extends chunk342BFYZZ_cjs.Request {
14102
14102
  async fetch(variables, options) {
14103
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
14103
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
14104
14104
  const data = response.createFeedback;
14105
14105
  return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
14106
14106
  }
14107
14107
  };
14108
14108
  var CreateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14109
14109
  async fetch(variables, options) {
14110
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
14110
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
14111
14111
  const data = response.createFolder;
14112
14112
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
14113
14113
  }
14114
14114
  };
14115
14115
  var CreateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
14116
14116
  async fetch(variables, options) {
14117
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
14117
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
14118
14118
  const data = response.createInsight;
14119
14119
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14120
14120
  }
14121
14121
  };
14122
14122
  var CreateIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
14123
14123
  async fetch(variables, options) {
14124
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
14124
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
14125
14125
  const data = response.createIntegration;
14126
14126
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
14127
14127
  }
14128
14128
  };
14129
14129
  var CreateReportMutation = class extends chunk342BFYZZ_cjs.Request {
14130
14130
  async fetch(variables, options) {
14131
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
14131
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
14132
14132
  const data = response.createReport;
14133
14133
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14134
14134
  }
14135
14135
  };
14136
14136
  var CreateTableMutation = class extends chunk342BFYZZ_cjs.Request {
14137
14137
  async fetch(variables, options) {
14138
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
14138
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
14139
14139
  const data = response.createTable;
14140
14140
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
14141
14141
  }
14142
14142
  };
14143
14143
  var CreateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
14144
14144
  async fetch(variables, options) {
14145
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
14145
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
14146
14146
  const data = response.createUserSkillFile;
14147
14147
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
14148
14148
  }
14149
14149
  };
14150
14150
  var CreateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14151
14151
  async fetch(variables, options) {
14152
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
14152
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
14153
14153
  const data = response.createUserSkillFolder;
14154
14154
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
14155
14155
  }
14156
14156
  };
14157
14157
  var DeleteAgentMutation = class extends chunk342BFYZZ_cjs.Request {
14158
14158
  async fetch(variables, options) {
14159
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
14159
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
14160
14160
  const data = response.deleteAgent;
14161
14161
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
14162
14162
  }
14163
14163
  };
14164
14164
  var DeleteArtifactMutation = class extends chunk342BFYZZ_cjs.Request {
14165
14165
  async fetch(variables, options) {
14166
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
14166
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
14167
14167
  const data = response.deleteArtifact;
14168
14168
  return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
14169
14169
  }
14170
14170
  };
14171
14171
  var DeleteChatMutation = class extends chunk342BFYZZ_cjs.Request {
14172
14172
  async fetch(variables, options) {
14173
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
14173
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
14174
14174
  const data = response.deleteChat;
14175
14175
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
14176
14176
  }
14177
14177
  };
14178
14178
  var DeleteDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
14179
14179
  async fetch(variables, options) {
14180
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
14180
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
14181
14181
  const data = response.deleteDatabase;
14182
14182
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
14183
14183
  }
14184
14184
  };
14185
14185
  var DeleteDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
14186
14186
  async fetch(variables, options) {
14187
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
14187
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
14188
14188
  const data = response.deleteDocument;
14189
14189
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
14190
14190
  }
14191
14191
  };
14192
14192
  var DeleteFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14193
14193
  async fetch(variables, options) {
14194
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
14194
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
14195
14195
  const data = response.deleteFolder;
14196
14196
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
14197
14197
  }
14198
14198
  };
14199
14199
  var DeleteInsightMutation = class extends chunk342BFYZZ_cjs.Request {
14200
14200
  async fetch(variables, options) {
14201
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
14201
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
14202
14202
  const data = response.deleteInsight;
14203
14203
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14204
14204
  }
14205
14205
  };
14206
14206
  var DeleteInsightsMutation = class extends chunk342BFYZZ_cjs.Request {
14207
14207
  async fetch(variables, options) {
14208
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
14208
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
14209
14209
  const data = response.deleteInsights;
14210
14210
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14211
14211
  }
14212
14212
  };
14213
14213
  var DeleteIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
14214
14214
  async fetch(variables) {
14215
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
14215
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
14216
14216
  return response.deleteIntegration;
14217
14217
  }
14218
14218
  };
14219
14219
  var DeleteReportMutation = class extends chunk342BFYZZ_cjs.Request {
14220
14220
  async fetch(variables, options) {
14221
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
14221
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
14222
14222
  const data = response.deleteReport;
14223
14223
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14224
14224
  }
14225
14225
  };
14226
14226
  var DeleteTableMutation = class extends chunk342BFYZZ_cjs.Request {
14227
14227
  async fetch(variables, options) {
14228
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
14228
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
14229
14229
  const data = response.deleteTable;
14230
14230
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
14231
14231
  }
14232
14232
  };
14233
14233
  var DeleteUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
14234
14234
  async fetch(variables, options) {
14235
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
14235
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
14236
14236
  const data = response.deleteUserSkillFile;
14237
14237
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
14238
14238
  }
14239
14239
  };
14240
14240
  var DeleteUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14241
14241
  async fetch(variables, options) {
14242
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
14242
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
14243
14243
  const data = response.deleteUserSkillFolder;
14244
14244
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
14245
14245
  }
14246
14246
  };
14247
14247
  var DisconnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
14248
14248
  async fetch(variables) {
14249
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
14249
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
14250
14250
  return response.disconnectIntegration;
14251
14251
  }
14252
14252
  };
14253
14253
  var DismissPulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
14254
14254
  async fetch(variables, options) {
14255
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
14255
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
14256
14256
  const data = response.dismissPulseEvent;
14257
14257
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
14258
14258
  }
14259
14259
  };
14260
14260
  var ExecuteChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
14261
14261
  async fetch(variables, options) {
14262
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
14262
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
14263
14263
  const data = response.executeChatImport;
14264
14264
  return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
14265
14265
  }
14266
14266
  };
14267
14267
  var GenerateUploadUriMutation = class extends chunk342BFYZZ_cjs.Request {
14268
14268
  async fetch(variables, options) {
14269
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
14269
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
14270
14270
  const data = response.generateUploadUri;
14271
14271
  return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
14272
14272
  }
14273
14273
  };
14274
14274
  var PreviewChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
14275
14275
  async fetch(variables, options) {
14276
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
14276
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
14277
14277
  const data = response.previewChatImport;
14278
14278
  return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
14279
14279
  }
14280
14280
  };
14281
14281
  var ReanalyzeDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
14282
14282
  async fetch(variables, options) {
14283
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
14283
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
14284
14284
  const data = response.reanalyzeDocument;
14285
14285
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
14286
14286
  }
14287
14287
  };
14288
14288
  var RefineMindInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
14289
14289
  async fetch(variables) {
14290
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
14290
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
14291
14291
  return response.refineMindInstruction;
14292
14292
  }
14293
14293
  };
14294
14294
  var RefreshDatabaseSchemaMutation = class extends chunk342BFYZZ_cjs.Request {
14295
14295
  async fetch(variables) {
14296
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
14296
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
14297
14297
  return response.refreshDatabaseSchema;
14298
14298
  }
14299
14299
  };
14300
14300
  var RefreshInsightMutation = class extends chunk342BFYZZ_cjs.Request {
14301
14301
  async fetch(variables, options) {
14302
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
14302
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
14303
14303
  const data = response.refreshInsight;
14304
14304
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14305
14305
  }
14306
14306
  };
14307
14307
  var ReinterpretSourceMutation = class extends chunk342BFYZZ_cjs.Request {
14308
14308
  async fetch(variables) {
14309
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
14309
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
14310
14310
  return response.reinterpretSource;
14311
14311
  }
14312
14312
  };
14313
14313
  var ReinterpretSourcesOfuserMutation = class extends chunk342BFYZZ_cjs.Request {
14314
14314
  async fetch(variables) {
14315
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
14315
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
14316
14316
  return response.reinterpretSourcesOfuser;
14317
14317
  }
14318
14318
  };
14319
14319
  var RelocateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
14320
14320
  async fetch(variables, options) {
14321
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
14321
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
14322
14322
  const data = response.relocateInsight;
14323
14323
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14324
14324
  }
14325
14325
  };
14326
14326
  var RemoveInsightFromReportMutation = class extends chunk342BFYZZ_cjs.Request {
14327
14327
  async fetch(variables, options) {
14328
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
14328
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
14329
14329
  const data = response.removeInsightFromReport;
14330
14330
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14331
14331
  }
14332
14332
  };
14333
14333
  var ResetWorkspaceMutation = class extends chunk342BFYZZ_cjs.Request {
14334
14334
  async fetch(variables) {
14335
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
14335
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
14336
14336
  return response.resetWorkspace;
14337
14337
  }
14338
14338
  };
14339
14339
  var ResolvePulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
14340
14340
  async fetch(variables, options) {
14341
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
14341
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
14342
14342
  const data = response.resolvePulseEvent;
14343
14343
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
14344
14344
  }
14345
14345
  };
14346
14346
  var ScheduleWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
14347
14347
  async fetch(variables, options) {
14348
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
14348
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
14349
14349
  const data = response.scheduleWorkspaceDeletion;
14350
14350
  return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
14351
14351
  }
14352
14352
  };
14353
14353
  var SendMessageMutation = class extends chunk342BFYZZ_cjs.Request {
14354
14354
  async fetch(variables, options) {
14355
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.SendMessageDocument, variables, MUTATION_CACHE_RULES["sendMessage"]);
14355
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.SendMessageDocument, variables, MUTATION_CACHE_RULES["sendMessage"]);
14356
14356
  const data = response.sendMessage;
14357
14357
  return new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
14358
14358
  }
14359
14359
  };
14360
14360
  var SetDatabasePrimaryKeyMutation = class extends chunk342BFYZZ_cjs.Request {
14361
14361
  async fetch(variables) {
14362
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
14362
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
14363
14363
  return response.setDatabasePrimaryKey;
14364
14364
  }
14365
14365
  };
14366
14366
  var UpdateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
14367
14367
  async fetch(variables, options) {
14368
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
14368
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
14369
14369
  const data = response.updateAgent;
14370
14370
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
14371
14371
  }
14372
14372
  };
14373
14373
  var UpdateArtifactNameMutation = class extends chunk342BFYZZ_cjs.Request {
14374
14374
  async fetch(variables, options) {
14375
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"]);
14375
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"]);
14376
14376
  const data = response.updateArtifactName;
14377
14377
  return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
14378
14378
  }
14379
14379
  };
14380
14380
  var UpdateChatMutation = class extends chunk342BFYZZ_cjs.Request {
14381
14381
  async fetch(variables, options) {
14382
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
14382
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
14383
14383
  const data = response.updateChat;
14384
14384
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
14385
14385
  }
14386
14386
  };
14387
14387
  var UpdateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
14388
14388
  async fetch(variables, options) {
14389
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
14389
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
14390
14390
  const data = response.updateDatabase;
14391
14391
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
14392
14392
  }
14393
14393
  };
14394
14394
  var UpdateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
14395
14395
  async fetch(variables, options) {
14396
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
14396
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
14397
14397
  const data = response.updateDocument;
14398
14398
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
14399
14399
  }
14400
14400
  };
14401
14401
  var UpdateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14402
14402
  async fetch(variables, options) {
14403
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
14403
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
14404
14404
  const data = response.updateFolder;
14405
14405
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
14406
14406
  }
14407
14407
  };
14408
14408
  var UpdateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
14409
14409
  async fetch(variables, options) {
14410
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
14410
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
14411
14411
  const data = response.updateInsight;
14412
14412
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14413
14413
  }
14414
14414
  };
14415
14415
  var UpdateInsightInReportMutation = class extends chunk342BFYZZ_cjs.Request {
14416
14416
  async fetch(variables, options) {
14417
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
14417
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
14418
14418
  const data = response.updateInsightInReport;
14419
14419
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14420
14420
  }
14421
14421
  };
14422
14422
  var UpdateInsightThumbnailMutation = class extends chunk342BFYZZ_cjs.Request {
14423
14423
  async fetch(variables) {
14424
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
14424
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
14425
14425
  return response.updateInsightThumbnail;
14426
14426
  }
14427
14427
  };
14428
14428
  var UpdateInterpMutation = class extends chunk342BFYZZ_cjs.Request {
14429
14429
  async fetch(variables, options) {
14430
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
14430
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
14431
14431
  const data = response.updateInterp;
14432
14432
  return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
14433
14433
  }
14434
14434
  };
14435
14435
  var UpdateLiveContextMutation = class extends chunk342BFYZZ_cjs.Request {
14436
14436
  async fetch(variables, options) {
14437
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateLiveContextDocument, variables, MUTATION_CACHE_RULES["updateLiveContext"]);
14437
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdateLiveContextDocument, variables, MUTATION_CACHE_RULES["updateLiveContext"]);
14438
14438
  const data = response.updateLiveContext;
14439
14439
  return new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
14440
14440
  }
14441
14441
  };
14442
14442
  var UpdatePulseTriggerMutation = class extends chunk342BFYZZ_cjs.Request {
14443
14443
  async fetch(variables, options) {
14444
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
14444
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
14445
14445
  const data = response.updatePulseTrigger;
14446
14446
  return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
14447
14447
  }
14448
14448
  };
14449
14449
  var UpdateReportMutation = class extends chunk342BFYZZ_cjs.Request {
14450
14450
  async fetch(variables, options) {
14451
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
14451
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
14452
14452
  const data = response.updateReport;
14453
14453
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14454
14454
  }
14455
14455
  };
14456
14456
  var UpdateTableMutation = class extends chunk342BFYZZ_cjs.Request {
14457
14457
  async fetch(variables, options) {
14458
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
14458
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
14459
14459
  const data = response.updateTable;
14460
14460
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
14461
14461
  }
14462
14462
  };
14463
14463
  var UpdateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
14464
14464
  async fetch(variables, options) {
14465
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
14465
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
14466
14466
  const data = response.updateUserSkillFile;
14467
14467
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
14468
14468
  }
14469
14469
  };
14470
14470
  var UpdateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14471
14471
  async fetch(variables, options) {
14472
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
14472
+ const response = await this._syncEngine.mutate(chunkDQ7S5FF4_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
14473
14473
  const data = response.updateUserSkillFolder;
14474
14474
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
14475
14475
  }
@@ -14483,7 +14483,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
14483
14483
  }
14484
14484
  async fetch(options) {
14485
14485
  const variables = this._variables;
14486
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentDocument, "agent", this._includes, variables);
14486
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.AgentDocument, "agent", this._includes, variables);
14487
14487
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
14488
14488
  const data = response.agent;
14489
14489
  const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
@@ -14495,7 +14495,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
14495
14495
  watch(options) {
14496
14496
  const variables = this._variables;
14497
14497
  const includes = this._includes;
14498
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentDocument, "agent", includes, variables);
14498
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.AgentDocument, "agent", includes, variables);
14499
14499
  const raw = this._syncEngine.watch(
14500
14500
  queryDoc,
14501
14501
  mergedVars,
@@ -14525,7 +14525,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
14525
14525
  }
14526
14526
  /** Include chats in this query (Smart Fetch — single HTTP request). */
14527
14527
  chats(variables, builder) {
14528
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Agent_ChatsDocument, "chats", ["id"]);
14528
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Agent_ChatsDocument, "chats", ["id"]);
14529
14529
  let children;
14530
14530
  if (builder) {
14531
14531
  const sub = new ChatSubBuilder();
@@ -14534,7 +14534,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
14534
14534
  }
14535
14535
  this._includes.push({
14536
14536
  fieldName: "chats",
14537
- fragmentDoc: chunkEL37Q6V6_cjs.ChatConnectionFragmentDoc,
14537
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatConnectionFragmentDoc,
14538
14538
  variables,
14539
14539
  isConnection: true,
14540
14540
  isList: false,
@@ -14559,18 +14559,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk342BFYZZ_cjs.Request
14559
14559
  }
14560
14560
  async fetch(options) {
14561
14561
  const variables = this._variables;
14562
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Agent_ChatsDocument, variables, "agent");
14562
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Agent_ChatsDocument, variables, "agent");
14563
14563
  const data = response.agent?.chats;
14564
14564
  return new ChatConnection(this._request, (conn, opts) => new _Agent_ChatsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
14565
14565
  }
14566
14566
  watch(options) {
14567
14567
  const variables = this._variables;
14568
14568
  const raw = this._syncEngine.watch(
14569
- chunkEL37Q6V6_cjs.Agent_ChatsDocument,
14569
+ chunkDQ7S5FF4_cjs.Agent_ChatsDocument,
14570
14570
  variables,
14571
14571
  "agent",
14572
14572
  async (db) => {
14573
- const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkEL37Q6V6_cjs.Agent_ChatsDocument));
14573
+ const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkDQ7S5FF4_cjs.Agent_ChatsDocument));
14574
14574
  const nodes = qr ? await db.table("chats").bulkGet(qr.entityIds) : [];
14575
14575
  return { agent: { chats: { __typename: "ChatConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14576
14576
  }
@@ -14590,7 +14590,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
14590
14590
  }
14591
14591
  async fetch(options) {
14592
14592
  const variables = this._variables;
14593
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentsDocument, "agents", this._includes, variables, true);
14593
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.AgentsDocument, "agents", this._includes, variables, true);
14594
14594
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
14595
14595
  const data = response.agents;
14596
14596
  const connection = new AgentConnection(this._request, (conn, opts) => new _AgentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -14607,7 +14607,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
14607
14607
  const subscriptionId = crypto.randomUUID();
14608
14608
  const includes = this._includes;
14609
14609
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
14610
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentsDocument, "agents", includes, variables, true);
14610
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.AgentsDocument, "agents", includes, variables, true);
14611
14611
  const raw = this._syncEngine.watch(
14612
14612
  queryDoc,
14613
14613
  mergedVars,
@@ -14642,7 +14642,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
14642
14642
  }
14643
14643
  /** Include chats in this query (Smart Fetch — single HTTP request). */
14644
14644
  chats(variables, builder) {
14645
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Agent_ChatsDocument, "chats", ["id"]);
14645
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Agent_ChatsDocument, "chats", ["id"]);
14646
14646
  let children;
14647
14647
  if (builder) {
14648
14648
  const sub = new ChatSubBuilder();
@@ -14651,7 +14651,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
14651
14651
  }
14652
14652
  this._includes.push({
14653
14653
  fieldName: "chats",
14654
- fragmentDoc: chunkEL37Q6V6_cjs.ChatConnectionFragmentDoc,
14654
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatConnectionFragmentDoc,
14655
14655
  variables,
14656
14656
  isConnection: true,
14657
14657
  isList: false,
@@ -14677,7 +14677,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14677
14677
  }
14678
14678
  async fetch(options) {
14679
14679
  const variables = this._variables;
14680
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactDocument, "artifact", this._includes, variables);
14680
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ArtifactDocument, "artifact", this._includes, variables);
14681
14681
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
14682
14682
  const data = response.artifact;
14683
14683
  const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
@@ -14689,7 +14689,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14689
14689
  watch(options) {
14690
14690
  const variables = this._variables;
14691
14691
  const includes = this._includes;
14692
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactDocument, "artifact", includes, variables);
14692
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ArtifactDocument, "artifact", includes, variables);
14693
14693
  const raw = this._syncEngine.watch(
14694
14694
  queryDoc,
14695
14695
  mergedVars,
@@ -14719,7 +14719,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14719
14719
  }
14720
14720
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14721
14721
  chat(variables, builder) {
14722
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_ChatDocument, "chat", ["id"]);
14722
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Artifact_ChatDocument, "chat", ["id"]);
14723
14723
  let children;
14724
14724
  if (builder) {
14725
14725
  const sub = new ChatSubBuilder();
@@ -14728,7 +14728,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14728
14728
  }
14729
14729
  this._includes.push({
14730
14730
  fieldName: "chat",
14731
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
14731
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatFragmentDoc,
14732
14732
  variables,
14733
14733
  isConnection: false,
14734
14734
  isList: false,
@@ -14745,10 +14745,10 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14745
14745
  }
14746
14746
  /** Include file in this query (Smart Fetch — single HTTP request). */
14747
14747
  file(variables) {
14748
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_FileDocument, "file", ["id"]);
14748
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Artifact_FileDocument, "file", ["id"]);
14749
14749
  this._includes.push({
14750
14750
  fieldName: "file",
14751
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
14751
+ fragmentDoc: chunkDQ7S5FF4_cjs.FileFragmentDoc,
14752
14752
  variables,
14753
14753
  isConnection: false,
14754
14754
  isList: false,
@@ -14764,7 +14764,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14764
14764
  }
14765
14765
  /** Include message in this query (Smart Fetch — single HTTP request). */
14766
14766
  message(variables, builder) {
14767
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_MessageDocument, "message", ["id"]);
14767
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Artifact_MessageDocument, "message", ["id"]);
14768
14768
  let children;
14769
14769
  if (builder) {
14770
14770
  const sub = new ChatMessageSubBuilder();
@@ -14773,7 +14773,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14773
14773
  }
14774
14774
  this._includes.push({
14775
14775
  fieldName: "message",
14776
- fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageFragmentDoc,
14776
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatMessageFragmentDoc,
14777
14777
  variables,
14778
14778
  isConnection: false,
14779
14779
  isList: false,
@@ -14797,14 +14797,14 @@ var Artifact_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14797
14797
  }
14798
14798
  async fetch(options) {
14799
14799
  const variables = this._variables;
14800
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_ChatDocument, variables, "artifact");
14800
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Artifact_ChatDocument, variables, "artifact");
14801
14801
  const data = response.artifact?.chat;
14802
14802
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14803
14803
  }
14804
14804
  watch(options) {
14805
14805
  const variables = this._variables;
14806
14806
  const raw = this._syncEngine.watch(
14807
- chunkEL37Q6V6_cjs.Artifact_ChatDocument,
14807
+ chunkDQ7S5FF4_cjs.Artifact_ChatDocument,
14808
14808
  variables,
14809
14809
  "artifact",
14810
14810
  async (db) => {
@@ -14827,14 +14827,14 @@ var Artifact_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
14827
14827
  }
14828
14828
  async fetch(options) {
14829
14829
  const variables = this._variables;
14830
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
14830
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
14831
14831
  const data = response.artifact?.chat?.insight;
14832
14832
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14833
14833
  }
14834
14834
  watch(options) {
14835
14835
  const variables = this._variables;
14836
14836
  const raw = this._syncEngine.watch(
14837
- chunkEL37Q6V6_cjs.Artifact_Chat_InsightDocument,
14837
+ chunkDQ7S5FF4_cjs.Artifact_Chat_InsightDocument,
14838
14838
  variables,
14839
14839
  "artifact",
14840
14840
  async (db) => {
@@ -14857,14 +14857,14 @@ var Artifact_FileQuery = class extends chunk342BFYZZ_cjs.Request {
14857
14857
  }
14858
14858
  async fetch(options) {
14859
14859
  const variables = this._variables;
14860
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_FileDocument, variables, "artifact");
14860
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Artifact_FileDocument, variables, "artifact");
14861
14861
  const data = response.artifact?.file;
14862
14862
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14863
14863
  }
14864
14864
  watch(options) {
14865
14865
  const variables = this._variables;
14866
14866
  const raw = this._syncEngine.watch(
14867
- chunkEL37Q6V6_cjs.Artifact_FileDocument,
14867
+ chunkDQ7S5FF4_cjs.Artifact_FileDocument,
14868
14868
  variables,
14869
14869
  "artifact",
14870
14870
  async (db) => {
@@ -14887,14 +14887,14 @@ var Artifact_MessageQuery = class extends chunk342BFYZZ_cjs.Request {
14887
14887
  }
14888
14888
  async fetch(options) {
14889
14889
  const variables = this._variables;
14890
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_MessageDocument, variables, "artifact");
14890
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Artifact_MessageDocument, variables, "artifact");
14891
14891
  const data = response.artifact?.message;
14892
14892
  return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14893
14893
  }
14894
14894
  watch(options) {
14895
14895
  const variables = this._variables;
14896
14896
  const raw = this._syncEngine.watch(
14897
- chunkEL37Q6V6_cjs.Artifact_MessageDocument,
14897
+ chunkDQ7S5FF4_cjs.Artifact_MessageDocument,
14898
14898
  variables,
14899
14899
  "artifact",
14900
14900
  async (db) => {
@@ -14917,14 +14917,14 @@ var Artifact_Message_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14917
14917
  }
14918
14918
  async fetch(options) {
14919
14919
  const variables = this._variables;
14920
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Message_ChatDocument, variables, "artifact");
14920
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Artifact_Message_ChatDocument, variables, "artifact");
14921
14921
  const data = response.artifact?.message?.chat;
14922
14922
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14923
14923
  }
14924
14924
  watch(options) {
14925
14925
  const variables = this._variables;
14926
14926
  const raw = this._syncEngine.watch(
14927
- chunkEL37Q6V6_cjs.Artifact_Message_ChatDocument,
14927
+ chunkDQ7S5FF4_cjs.Artifact_Message_ChatDocument,
14928
14928
  variables,
14929
14929
  "artifact",
14930
14930
  async (db) => {
@@ -14946,7 +14946,7 @@ var Artifact_Message_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
14946
14946
  this._variables = variables;
14947
14947
  }
14948
14948
  async fetch(options) {
14949
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
14949
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
14950
14950
  const data = response.artifact?.message?.contents;
14951
14951
  if (!Array.isArray(data)) return [];
14952
14952
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -14960,14 +14960,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
14960
14960
  }
14961
14961
  async fetch(options) {
14962
14962
  const variables = this._variables;
14963
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
14963
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
14964
14964
  const data = response.artifact?.message?.feedback;
14965
14965
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14966
14966
  }
14967
14967
  watch(options) {
14968
14968
  const variables = this._variables;
14969
14969
  const raw = this._syncEngine.watch(
14970
- chunkEL37Q6V6_cjs.Artifact_Message_FeedbackDocument,
14970
+ chunkDQ7S5FF4_cjs.Artifact_Message_FeedbackDocument,
14971
14971
  variables,
14972
14972
  "artifact",
14973
14973
  async (db) => {
@@ -14991,7 +14991,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
14991
14991
  }
14992
14992
  async fetch(options) {
14993
14993
  const variables = this._variables;
14994
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
14994
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
14995
14995
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
14996
14996
  const data = response.artifacts;
14997
14997
  const connection = new ArtifactConnection(this._request, (conn, opts) => new _ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15008,7 +15008,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
15008
15008
  const subscriptionId = crypto.randomUUID();
15009
15009
  const includes = this._includes;
15010
15010
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
15011
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
15011
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
15012
15012
  const raw = this._syncEngine.watch(
15013
15013
  queryDoc,
15014
15014
  mergedVars,
@@ -15043,7 +15043,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
15043
15043
  }
15044
15044
  /** Include chat in this query (Smart Fetch — single HTTP request). */
15045
15045
  chat(variables, builder) {
15046
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_ChatDocument, "chat", ["id"]);
15046
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Artifact_ChatDocument, "chat", ["id"]);
15047
15047
  let children;
15048
15048
  if (builder) {
15049
15049
  const sub = new ChatSubBuilder();
@@ -15052,7 +15052,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
15052
15052
  }
15053
15053
  this._includes.push({
15054
15054
  fieldName: "chat",
15055
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
15055
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatFragmentDoc,
15056
15056
  variables,
15057
15057
  isConnection: false,
15058
15058
  isList: false,
@@ -15069,10 +15069,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
15069
15069
  }
15070
15070
  /** Include file in this query (Smart Fetch — single HTTP request). */
15071
15071
  file(variables) {
15072
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_FileDocument, "file", ["id"]);
15072
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Artifact_FileDocument, "file", ["id"]);
15073
15073
  this._includes.push({
15074
15074
  fieldName: "file",
15075
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
15075
+ fragmentDoc: chunkDQ7S5FF4_cjs.FileFragmentDoc,
15076
15076
  variables,
15077
15077
  isConnection: false,
15078
15078
  isList: false,
@@ -15088,7 +15088,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
15088
15088
  }
15089
15089
  /** Include message in this query (Smart Fetch — single HTTP request). */
15090
15090
  message(variables, builder) {
15091
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_MessageDocument, "message", ["id"]);
15091
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Artifact_MessageDocument, "message", ["id"]);
15092
15092
  let children;
15093
15093
  if (builder) {
15094
15094
  const sub = new ChatMessageSubBuilder();
@@ -15097,7 +15097,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
15097
15097
  }
15098
15098
  this._includes.push({
15099
15099
  fieldName: "message",
15100
- fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageFragmentDoc,
15100
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatMessageFragmentDoc,
15101
15101
  variables,
15102
15102
  isConnection: false,
15103
15103
  isList: false,
@@ -15122,7 +15122,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15122
15122
  }
15123
15123
  async fetch(options) {
15124
15124
  const variables = this._variables;
15125
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatDocument, "chat", this._includes, variables);
15125
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ChatDocument, "chat", this._includes, variables);
15126
15126
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
15127
15127
  const data = response.chat;
15128
15128
  const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
@@ -15134,7 +15134,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15134
15134
  watch(options) {
15135
15135
  const variables = this._variables;
15136
15136
  const includes = this._includes;
15137
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatDocument, "chat", includes, variables);
15137
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ChatDocument, "chat", includes, variables);
15138
15138
  const raw = this._syncEngine.watch(
15139
15139
  queryDoc,
15140
15140
  mergedVars,
@@ -15164,7 +15164,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15164
15164
  }
15165
15165
  /** Include agents in this query (Smart Fetch — single HTTP request). */
15166
15166
  agents(variables, builder) {
15167
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_AgentsDocument, "agents", ["id"]);
15167
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Chat_AgentsDocument, "agents", ["id"]);
15168
15168
  let children;
15169
15169
  if (builder) {
15170
15170
  const sub = new AgentSubBuilder();
@@ -15173,7 +15173,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15173
15173
  }
15174
15174
  this._includes.push({
15175
15175
  fieldName: "agents",
15176
- fragmentDoc: chunkEL37Q6V6_cjs.AgentConnectionFragmentDoc,
15176
+ fragmentDoc: chunkDQ7S5FF4_cjs.AgentConnectionFragmentDoc,
15177
15177
  variables,
15178
15178
  isConnection: true,
15179
15179
  isList: false,
@@ -15191,7 +15191,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15191
15191
  }
15192
15192
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
15193
15193
  artifacts(variables, builder) {
15194
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
15194
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
15195
15195
  let children;
15196
15196
  if (builder) {
15197
15197
  const sub = new ArtifactSubBuilder();
@@ -15200,7 +15200,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15200
15200
  }
15201
15201
  this._includes.push({
15202
15202
  fieldName: "artifacts",
15203
- fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
15203
+ fragmentDoc: chunkDQ7S5FF4_cjs.ArtifactConnectionFragmentDoc,
15204
15204
  variables,
15205
15205
  isConnection: true,
15206
15206
  isList: false,
@@ -15218,7 +15218,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15218
15218
  }
15219
15219
  /** Include insight in this query (Smart Fetch — single HTTP request). */
15220
15220
  insight(variables, builder) {
15221
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_InsightDocument, "insight", ["id"]);
15221
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Chat_InsightDocument, "insight", ["id"]);
15222
15222
  let children;
15223
15223
  if (builder) {
15224
15224
  const sub = new InsightSubBuilder();
@@ -15227,7 +15227,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15227
15227
  }
15228
15228
  this._includes.push({
15229
15229
  fieldName: "insight",
15230
- fragmentDoc: chunkEL37Q6V6_cjs.InsightFragmentDoc,
15230
+ fragmentDoc: chunkDQ7S5FF4_cjs.InsightFragmentDoc,
15231
15231
  variables,
15232
15232
  isConnection: false,
15233
15233
  isList: false,
@@ -15244,7 +15244,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15244
15244
  }
15245
15245
  /** Include messages in this query (Smart Fetch — single HTTP request). */
15246
15246
  messages(variables, builder) {
15247
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_MessagesDocument, "messages", ["id"]);
15247
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Chat_MessagesDocument, "messages", ["id"]);
15248
15248
  let children;
15249
15249
  if (builder) {
15250
15250
  const sub = new ChatMessageSubBuilder();
@@ -15253,7 +15253,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15253
15253
  }
15254
15254
  this._includes.push({
15255
15255
  fieldName: "messages",
15256
- fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageConnectionFragmentDoc,
15256
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatMessageConnectionFragmentDoc,
15257
15257
  variables,
15258
15258
  isConnection: true,
15259
15259
  isList: false,
@@ -15278,18 +15278,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk342BFYZZ_cjs.Request
15278
15278
  }
15279
15279
  async fetch(options) {
15280
15280
  const variables = this._variables;
15281
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_AgentsDocument, variables, "chat");
15281
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Chat_AgentsDocument, variables, "chat");
15282
15282
  const data = response.chat?.agents;
15283
15283
  return new AgentConnection(this._request, (conn, opts) => new _Chat_AgentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
15284
15284
  }
15285
15285
  watch(options) {
15286
15286
  const variables = this._variables;
15287
15287
  const raw = this._syncEngine.watch(
15288
- chunkEL37Q6V6_cjs.Chat_AgentsDocument,
15288
+ chunkDQ7S5FF4_cjs.Chat_AgentsDocument,
15289
15289
  variables,
15290
15290
  "chat",
15291
15291
  async (db) => {
15292
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkEL37Q6V6_cjs.Chat_AgentsDocument));
15292
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkDQ7S5FF4_cjs.Chat_AgentsDocument));
15293
15293
  const nodes = qr ? await db.table("agents").bulkGet(qr.entityIds) : [];
15294
15294
  return { chat: { agents: { __typename: "AgentConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15295
15295
  }
@@ -15308,18 +15308,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk342BFYZZ_cjs.R
15308
15308
  }
15309
15309
  async fetch(options) {
15310
15310
  const variables = this._variables;
15311
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, variables, "chat");
15311
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Chat_ArtifactsDocument, variables, "chat");
15312
15312
  const data = response.chat?.artifacts;
15313
15313
  return new ArtifactConnection(this._request, (conn, opts) => new _Chat_ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
15314
15314
  }
15315
15315
  watch(options) {
15316
15316
  const variables = this._variables;
15317
15317
  const raw = this._syncEngine.watch(
15318
- chunkEL37Q6V6_cjs.Chat_ArtifactsDocument,
15318
+ chunkDQ7S5FF4_cjs.Chat_ArtifactsDocument,
15319
15319
  variables,
15320
15320
  "chat",
15321
15321
  async (db) => {
15322
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkEL37Q6V6_cjs.Chat_ArtifactsDocument));
15322
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkDQ7S5FF4_cjs.Chat_ArtifactsDocument));
15323
15323
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
15324
15324
  return { chat: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15325
15325
  }
@@ -15338,14 +15338,14 @@ var Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
15338
15338
  }
15339
15339
  async fetch(options) {
15340
15340
  const variables = this._variables;
15341
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_InsightDocument, variables, "chat");
15341
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Chat_InsightDocument, variables, "chat");
15342
15342
  const data = response.chat?.insight;
15343
15343
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15344
15344
  }
15345
15345
  watch(options) {
15346
15346
  const variables = this._variables;
15347
15347
  const raw = this._syncEngine.watch(
15348
- chunkEL37Q6V6_cjs.Chat_InsightDocument,
15348
+ chunkDQ7S5FF4_cjs.Chat_InsightDocument,
15349
15349
  variables,
15350
15350
  "chat",
15351
15351
  async (db) => {
@@ -15367,7 +15367,7 @@ var Chat_Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
15367
15367
  this._variables = variables;
15368
15368
  }
15369
15369
  async fetch(options) {
15370
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
15370
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
15371
15371
  const data = response.chat?.insight?.reportMembers;
15372
15372
  if (!Array.isArray(data)) return [];
15373
15373
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -15381,14 +15381,14 @@ var Chat_Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
15381
15381
  }
15382
15382
  async fetch(options) {
15383
15383
  const variables = this._variables;
15384
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
15384
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
15385
15385
  const data = response.chat?.insight?.thumbnailFile;
15386
15386
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15387
15387
  }
15388
15388
  watch(options) {
15389
15389
  const variables = this._variables;
15390
15390
  const raw = this._syncEngine.watch(
15391
- chunkEL37Q6V6_cjs.Chat_Insight_ThumbnailFileDocument,
15391
+ chunkDQ7S5FF4_cjs.Chat_Insight_ThumbnailFileDocument,
15392
15392
  variables,
15393
15393
  "chat",
15394
15394
  async (db) => {
@@ -15411,18 +15411,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk342BFYZZ_cjs.Req
15411
15411
  }
15412
15412
  async fetch(options) {
15413
15413
  const variables = this._variables;
15414
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_MessagesDocument, variables, "chat");
15414
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Chat_MessagesDocument, variables, "chat");
15415
15415
  const data = response.chat?.messages;
15416
15416
  return new ChatMessageConnection(this._request, (conn, opts) => new _Chat_MessagesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
15417
15417
  }
15418
15418
  watch(options) {
15419
15419
  const variables = this._variables;
15420
15420
  const raw = this._syncEngine.watch(
15421
- chunkEL37Q6V6_cjs.Chat_MessagesDocument,
15421
+ chunkDQ7S5FF4_cjs.Chat_MessagesDocument,
15422
15422
  variables,
15423
15423
  "chat",
15424
15424
  async (db) => {
15425
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkEL37Q6V6_cjs.Chat_MessagesDocument));
15425
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkDQ7S5FF4_cjs.Chat_MessagesDocument));
15426
15426
  const nodes = qr ? await db.table("chatMessages").bulkGet(qr.entityIds) : [];
15427
15427
  return { chat: { messages: { __typename: "ChatMessageConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15428
15428
  }
@@ -15442,7 +15442,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15442
15442
  }
15443
15443
  async fetch(options) {
15444
15444
  const variables = this._variables;
15445
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
15445
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
15446
15446
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
15447
15447
  const data = response.chatMessage;
15448
15448
  const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
@@ -15454,7 +15454,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15454
15454
  watch(options) {
15455
15455
  const variables = this._variables;
15456
15456
  const includes = this._includes;
15457
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessageDocument, "chatMessage", includes, variables);
15457
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ChatMessageDocument, "chatMessage", includes, variables);
15458
15458
  const raw = this._syncEngine.watch(
15459
15459
  queryDoc,
15460
15460
  mergedVars,
@@ -15484,7 +15484,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15484
15484
  }
15485
15485
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
15486
15486
  artifacts(variables, builder) {
15487
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
15487
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
15488
15488
  let children;
15489
15489
  if (builder) {
15490
15490
  const sub = new ArtifactSubBuilder();
@@ -15493,7 +15493,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15493
15493
  }
15494
15494
  this._includes.push({
15495
15495
  fieldName: "artifacts",
15496
- fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
15496
+ fragmentDoc: chunkDQ7S5FF4_cjs.ArtifactConnectionFragmentDoc,
15497
15497
  variables,
15498
15498
  isConnection: true,
15499
15499
  isList: false,
@@ -15511,7 +15511,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15511
15511
  }
15512
15512
  /** Include chat in this query (Smart Fetch — single HTTP request). */
15513
15513
  chat(variables, builder) {
15514
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
15514
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
15515
15515
  let children;
15516
15516
  if (builder) {
15517
15517
  const sub = new ChatSubBuilder();
@@ -15520,7 +15520,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15520
15520
  }
15521
15521
  this._includes.push({
15522
15522
  fieldName: "chat",
15523
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
15523
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatFragmentDoc,
15524
15524
  variables,
15525
15525
  isConnection: false,
15526
15526
  isList: false,
@@ -15537,10 +15537,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15537
15537
  }
15538
15538
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15539
15539
  contents(variables) {
15540
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
15540
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
15541
15541
  this._includes.push({
15542
15542
  fieldName: "contents",
15543
- fragmentDoc: chunkEL37Q6V6_cjs.ContentBlockFragmentDoc,
15543
+ fragmentDoc: chunkDQ7S5FF4_cjs.ContentBlockFragmentDoc,
15544
15544
  variables,
15545
15545
  isConnection: false,
15546
15546
  isList: true,
@@ -15556,10 +15556,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15556
15556
  }
15557
15557
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
15558
15558
  feedback(variables) {
15559
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
15559
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
15560
15560
  this._includes.push({
15561
15561
  fieldName: "feedback",
15562
- fragmentDoc: chunkEL37Q6V6_cjs.FeedbackFragmentDoc,
15562
+ fragmentDoc: chunkDQ7S5FF4_cjs.FeedbackFragmentDoc,
15563
15563
  variables,
15564
15564
  isConnection: false,
15565
15565
  isList: false,
@@ -15582,18 +15582,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
15582
15582
  }
15583
15583
  async fetch(options) {
15584
15584
  const variables = this._variables;
15585
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
15585
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
15586
15586
  const data = response.chatMessage?.artifacts;
15587
15587
  return new ArtifactConnection(this._request, (conn, opts) => new _ChatMessage_ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
15588
15588
  }
15589
15589
  watch(options) {
15590
15590
  const variables = this._variables;
15591
15591
  const raw = this._syncEngine.watch(
15592
- chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument,
15592
+ chunkDQ7S5FF4_cjs.ChatMessage_ArtifactsDocument,
15593
15593
  variables,
15594
15594
  "chatMessage",
15595
15595
  async (db) => {
15596
- const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument));
15596
+ const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkDQ7S5FF4_cjs.ChatMessage_ArtifactsDocument));
15597
15597
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
15598
15598
  return { chatMessage: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15599
15599
  }
@@ -15612,14 +15612,14 @@ var ChatMessage_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15612
15612
  }
15613
15613
  async fetch(options) {
15614
15614
  const variables = this._variables;
15615
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
15615
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
15616
15616
  const data = response.chatMessage?.chat;
15617
15617
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15618
15618
  }
15619
15619
  watch(options) {
15620
15620
  const variables = this._variables;
15621
15621
  const raw = this._syncEngine.watch(
15622
- chunkEL37Q6V6_cjs.ChatMessage_ChatDocument,
15622
+ chunkDQ7S5FF4_cjs.ChatMessage_ChatDocument,
15623
15623
  variables,
15624
15624
  "chatMessage",
15625
15625
  async (db) => {
@@ -15642,14 +15642,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
15642
15642
  }
15643
15643
  async fetch(options) {
15644
15644
  const variables = this._variables;
15645
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
15645
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
15646
15646
  const data = response.chatMessage?.chat?.insight;
15647
15647
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15648
15648
  }
15649
15649
  watch(options) {
15650
15650
  const variables = this._variables;
15651
15651
  const raw = this._syncEngine.watch(
15652
- chunkEL37Q6V6_cjs.ChatMessage_Chat_InsightDocument,
15652
+ chunkDQ7S5FF4_cjs.ChatMessage_Chat_InsightDocument,
15653
15653
  variables,
15654
15654
  "chatMessage",
15655
15655
  async (db) => {
@@ -15671,7 +15671,7 @@ var ChatMessage_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
15671
15671
  this._variables = variables;
15672
15672
  }
15673
15673
  async fetch(options) {
15674
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
15674
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
15675
15675
  const data = response.chatMessage?.contents;
15676
15676
  if (!Array.isArray(data)) return [];
15677
15677
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -15685,14 +15685,14 @@ var ChatMessage_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
15685
15685
  }
15686
15686
  async fetch(options) {
15687
15687
  const variables = this._variables;
15688
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
15688
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
15689
15689
  const data = response.chatMessage?.feedback;
15690
15690
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15691
15691
  }
15692
15692
  watch(options) {
15693
15693
  const variables = this._variables;
15694
15694
  const raw = this._syncEngine.watch(
15695
- chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument,
15695
+ chunkDQ7S5FF4_cjs.ChatMessage_FeedbackDocument,
15696
15696
  variables,
15697
15697
  "chatMessage",
15698
15698
  async (db) => {
@@ -15716,7 +15716,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15716
15716
  }
15717
15717
  async fetch(options) {
15718
15718
  const variables = this._variables;
15719
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
15719
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
15720
15720
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
15721
15721
  const data = response.chatMessages;
15722
15722
  const connection = new ChatMessageConnection(this._request, (conn, opts) => new _ChatMessagesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15733,7 +15733,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15733
15733
  const subscriptionId = crypto.randomUUID();
15734
15734
  const includes = this._includes;
15735
15735
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
15736
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
15736
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
15737
15737
  const raw = this._syncEngine.watch(
15738
15738
  queryDoc,
15739
15739
  mergedVars,
@@ -15768,7 +15768,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15768
15768
  }
15769
15769
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
15770
15770
  artifacts(variables, builder) {
15771
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
15771
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
15772
15772
  let children;
15773
15773
  if (builder) {
15774
15774
  const sub = new ArtifactSubBuilder();
@@ -15777,7 +15777,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15777
15777
  }
15778
15778
  this._includes.push({
15779
15779
  fieldName: "artifacts",
15780
- fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
15780
+ fragmentDoc: chunkDQ7S5FF4_cjs.ArtifactConnectionFragmentDoc,
15781
15781
  variables,
15782
15782
  isConnection: true,
15783
15783
  isList: false,
@@ -15795,7 +15795,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15795
15795
  }
15796
15796
  /** Include chat in this query (Smart Fetch — single HTTP request). */
15797
15797
  chat(variables, builder) {
15798
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
15798
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
15799
15799
  let children;
15800
15800
  if (builder) {
15801
15801
  const sub = new ChatSubBuilder();
@@ -15804,7 +15804,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15804
15804
  }
15805
15805
  this._includes.push({
15806
15806
  fieldName: "chat",
15807
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
15807
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatFragmentDoc,
15808
15808
  variables,
15809
15809
  isConnection: false,
15810
15810
  isList: false,
@@ -15821,10 +15821,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15821
15821
  }
15822
15822
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15823
15823
  contents(variables) {
15824
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
15824
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
15825
15825
  this._includes.push({
15826
15826
  fieldName: "contents",
15827
- fragmentDoc: chunkEL37Q6V6_cjs.ContentBlockFragmentDoc,
15827
+ fragmentDoc: chunkDQ7S5FF4_cjs.ContentBlockFragmentDoc,
15828
15828
  variables,
15829
15829
  isConnection: false,
15830
15830
  isList: true,
@@ -15840,10 +15840,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15840
15840
  }
15841
15841
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
15842
15842
  feedback(variables) {
15843
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
15843
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
15844
15844
  this._includes.push({
15845
15845
  fieldName: "feedback",
15846
- fragmentDoc: chunkEL37Q6V6_cjs.FeedbackFragmentDoc,
15846
+ fragmentDoc: chunkDQ7S5FF4_cjs.FeedbackFragmentDoc,
15847
15847
  variables,
15848
15848
  isConnection: false,
15849
15849
  isList: false,
@@ -15867,7 +15867,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15867
15867
  }
15868
15868
  async fetch(options) {
15869
15869
  const variables = this._variables;
15870
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatsDocument, "chats", this._includes, variables, true);
15870
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ChatsDocument, "chats", this._includes, variables, true);
15871
15871
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
15872
15872
  const data = response.chats;
15873
15873
  const connection = new ChatConnection(this._request, (conn, opts) => new _ChatsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15884,7 +15884,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15884
15884
  const subscriptionId = crypto.randomUUID();
15885
15885
  const includes = this._includes;
15886
15886
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
15887
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatsDocument, "chats", includes, variables, true);
15887
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ChatsDocument, "chats", includes, variables, true);
15888
15888
  const raw = this._syncEngine.watch(
15889
15889
  queryDoc,
15890
15890
  mergedVars,
@@ -15919,7 +15919,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15919
15919
  }
15920
15920
  /** Include agents in this query (Smart Fetch — single HTTP request). */
15921
15921
  agents(variables, builder) {
15922
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_AgentsDocument, "agents", ["id"]);
15922
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Chat_AgentsDocument, "agents", ["id"]);
15923
15923
  let children;
15924
15924
  if (builder) {
15925
15925
  const sub = new AgentSubBuilder();
@@ -15928,7 +15928,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15928
15928
  }
15929
15929
  this._includes.push({
15930
15930
  fieldName: "agents",
15931
- fragmentDoc: chunkEL37Q6V6_cjs.AgentConnectionFragmentDoc,
15931
+ fragmentDoc: chunkDQ7S5FF4_cjs.AgentConnectionFragmentDoc,
15932
15932
  variables,
15933
15933
  isConnection: true,
15934
15934
  isList: false,
@@ -15946,7 +15946,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15946
15946
  }
15947
15947
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
15948
15948
  artifacts(variables, builder) {
15949
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
15949
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
15950
15950
  let children;
15951
15951
  if (builder) {
15952
15952
  const sub = new ArtifactSubBuilder();
@@ -15955,7 +15955,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15955
15955
  }
15956
15956
  this._includes.push({
15957
15957
  fieldName: "artifacts",
15958
- fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
15958
+ fragmentDoc: chunkDQ7S5FF4_cjs.ArtifactConnectionFragmentDoc,
15959
15959
  variables,
15960
15960
  isConnection: true,
15961
15961
  isList: false,
@@ -15973,7 +15973,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15973
15973
  }
15974
15974
  /** Include insight in this query (Smart Fetch — single HTTP request). */
15975
15975
  insight(variables, builder) {
15976
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_InsightDocument, "insight", ["id"]);
15976
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Chat_InsightDocument, "insight", ["id"]);
15977
15977
  let children;
15978
15978
  if (builder) {
15979
15979
  const sub = new InsightSubBuilder();
@@ -15982,7 +15982,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15982
15982
  }
15983
15983
  this._includes.push({
15984
15984
  fieldName: "insight",
15985
- fragmentDoc: chunkEL37Q6V6_cjs.InsightFragmentDoc,
15985
+ fragmentDoc: chunkDQ7S5FF4_cjs.InsightFragmentDoc,
15986
15986
  variables,
15987
15987
  isConnection: false,
15988
15988
  isList: false,
@@ -15999,7 +15999,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15999
15999
  }
16000
16000
  /** Include messages in this query (Smart Fetch — single HTTP request). */
16001
16001
  messages(variables, builder) {
16002
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_MessagesDocument, "messages", ["id"]);
16002
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Chat_MessagesDocument, "messages", ["id"]);
16003
16003
  let children;
16004
16004
  if (builder) {
16005
16005
  const sub = new ChatMessageSubBuilder();
@@ -16008,7 +16008,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
16008
16008
  }
16009
16009
  this._includes.push({
16010
16010
  fieldName: "messages",
16011
- fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageConnectionFragmentDoc,
16011
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatMessageConnectionFragmentDoc,
16012
16012
  variables,
16013
16013
  isConnection: true,
16014
16014
  isList: false,
@@ -16034,7 +16034,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
16034
16034
  }
16035
16035
  async fetch(options) {
16036
16036
  const variables = this._variables;
16037
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseDocument, "database", this._includes, variables);
16037
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DatabaseDocument, "database", this._includes, variables);
16038
16038
  const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
16039
16039
  const data = response.database;
16040
16040
  const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
@@ -16046,7 +16046,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
16046
16046
  watch(options) {
16047
16047
  const variables = this._variables;
16048
16048
  const includes = this._includes;
16049
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseDocument, "database", includes, variables);
16049
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DatabaseDocument, "database", includes, variables);
16050
16050
  const raw = this._syncEngine.watch(
16051
16051
  queryDoc,
16052
16052
  mergedVars,
@@ -16076,10 +16076,10 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
16076
16076
  }
16077
16077
  /** Include engine in this query (Smart Fetch — single HTTP request). */
16078
16078
  engine(variables) {
16079
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_EngineDocument, "engine", ["id"]);
16079
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Database_EngineDocument, "engine", ["id"]);
16080
16080
  this._includes.push({
16081
16081
  fieldName: "engine",
16082
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
16082
+ fragmentDoc: chunkDQ7S5FF4_cjs.DatabaseEngineFragmentDoc,
16083
16083
  variables,
16084
16084
  isConnection: false,
16085
16085
  isList: false,
@@ -16095,7 +16095,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
16095
16095
  }
16096
16096
  /** Include tables in this query (Smart Fetch — single HTTP request). */
16097
16097
  tables(variables, builder) {
16098
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_TablesDocument, "tables", ["id"]);
16098
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Database_TablesDocument, "tables", ["id"]);
16099
16099
  let children;
16100
16100
  if (builder) {
16101
16101
  const sub = new TableSubBuilder();
@@ -16104,7 +16104,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
16104
16104
  }
16105
16105
  this._includes.push({
16106
16106
  fieldName: "tables",
16107
- fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
16107
+ fragmentDoc: chunkDQ7S5FF4_cjs.TableConnectionFragmentDoc,
16108
16108
  variables,
16109
16109
  isConnection: true,
16110
16110
  isList: false,
@@ -16129,14 +16129,14 @@ var Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
16129
16129
  }
16130
16130
  async fetch(options) {
16131
16131
  const variables = this._variables;
16132
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Database_EngineDocument, variables, "database");
16132
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Database_EngineDocument, variables, "database");
16133
16133
  const data = response.database?.engine;
16134
16134
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16135
16135
  }
16136
16136
  watch(options) {
16137
16137
  const variables = this._variables;
16138
16138
  const raw = this._syncEngine.watch(
16139
- chunkEL37Q6V6_cjs.Database_EngineDocument,
16139
+ chunkDQ7S5FF4_cjs.Database_EngineDocument,
16140
16140
  variables,
16141
16141
  "database",
16142
16142
  async (db) => {
@@ -16159,14 +16159,14 @@ var Database_Engine_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16159
16159
  }
16160
16160
  async fetch(options) {
16161
16161
  const variables = this._variables;
16162
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Database_Engine_CatalogDocument, variables, "database");
16162
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Database_Engine_CatalogDocument, variables, "database");
16163
16163
  const data = response.database?.engine?.catalog;
16164
16164
  return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16165
16165
  }
16166
16166
  watch(options) {
16167
16167
  const variables = this._variables;
16168
16168
  const raw = this._syncEngine.watch(
16169
- chunkEL37Q6V6_cjs.Database_Engine_CatalogDocument,
16169
+ chunkDQ7S5FF4_cjs.Database_Engine_CatalogDocument,
16170
16170
  variables,
16171
16171
  "database",
16172
16172
  async (db) => {
@@ -16189,18 +16189,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk342BFYZZ_cjs
16189
16189
  }
16190
16190
  async fetch(options) {
16191
16191
  const variables = this._variables;
16192
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Database_TablesDocument, variables, "database");
16192
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Database_TablesDocument, variables, "database");
16193
16193
  const data = response.database?.tables;
16194
16194
  return new TableConnection(this._request, (conn, opts) => new _Database_TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
16195
16195
  }
16196
16196
  watch(options) {
16197
16197
  const variables = this._variables;
16198
16198
  const raw = this._syncEngine.watch(
16199
- chunkEL37Q6V6_cjs.Database_TablesDocument,
16199
+ chunkDQ7S5FF4_cjs.Database_TablesDocument,
16200
16200
  variables,
16201
16201
  "database",
16202
16202
  async (db) => {
16203
- const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkEL37Q6V6_cjs.Database_TablesDocument));
16203
+ const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkDQ7S5FF4_cjs.Database_TablesDocument));
16204
16204
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
16205
16205
  return { database: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
16206
16206
  }
@@ -16220,7 +16220,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16220
16220
  }
16221
16221
  async fetch(options) {
16222
16222
  const variables = this._variables;
16223
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
16223
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
16224
16224
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
16225
16225
  const data = response.databaseCatalog;
16226
16226
  const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -16232,7 +16232,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16232
16232
  watch(options) {
16233
16233
  const variables = this._variables;
16234
16234
  const includes = this._includes;
16235
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
16235
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
16236
16236
  const raw = this._syncEngine.watch(
16237
16237
  queryDoc,
16238
16238
  mergedVars,
@@ -16262,10 +16262,10 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16262
16262
  }
16263
16263
  /** Include engine in this query (Smart Fetch — single HTTP request). */
16264
16264
  engine(variables) {
16265
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, "engine", []);
16265
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.DatabaseCatalog_EngineDocument, "engine", []);
16266
16266
  this._includes.push({
16267
16267
  fieldName: "engine",
16268
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
16268
+ fragmentDoc: chunkDQ7S5FF4_cjs.DatabaseEngineFragmentDoc,
16269
16269
  variables,
16270
16270
  isConnection: false,
16271
16271
  isList: false,
@@ -16288,14 +16288,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
16288
16288
  }
16289
16289
  async fetch(options) {
16290
16290
  const variables = this._variables;
16291
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
16291
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
16292
16292
  const data = response.databaseCatalog?.engine;
16293
16293
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16294
16294
  }
16295
16295
  watch(options) {
16296
16296
  const variables = this._variables;
16297
16297
  const raw = this._syncEngine.watch(
16298
- chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument,
16298
+ chunkDQ7S5FF4_cjs.DatabaseCatalog_EngineDocument,
16299
16299
  variables,
16300
16300
  "databaseCatalog",
16301
16301
  async (db) => {
@@ -16319,7 +16319,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
16319
16319
  }
16320
16320
  async fetch(options) {
16321
16321
  const variables = this._variables;
16322
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
16322
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
16323
16323
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
16324
16324
  const data = response.databaseCatalogs;
16325
16325
  const connection = new DatabaseCatalogConnection(this._request, (conn, opts) => new _DatabaseCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16336,7 +16336,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
16336
16336
  const subscriptionId = crypto.randomUUID();
16337
16337
  const includes = this._includes;
16338
16338
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
16339
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
16339
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
16340
16340
  const raw = this._syncEngine.watch(
16341
16341
  queryDoc,
16342
16342
  mergedVars,
@@ -16371,10 +16371,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
16371
16371
  }
16372
16372
  /** Include engine in this query (Smart Fetch — single HTTP request). */
16373
16373
  engine(variables) {
16374
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, "engine", []);
16374
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.DatabaseCatalog_EngineDocument, "engine", []);
16375
16375
  this._includes.push({
16376
16376
  fieldName: "engine",
16377
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
16377
+ fragmentDoc: chunkDQ7S5FF4_cjs.DatabaseEngineFragmentDoc,
16378
16378
  variables,
16379
16379
  isConnection: false,
16380
16380
  isList: false,
@@ -16391,7 +16391,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
16391
16391
  };
16392
16392
  var DatabaseSchemaQuery = class extends chunk342BFYZZ_cjs.Request {
16393
16393
  async fetch(variables) {
16394
- const response = await this._request(chunkEL37Q6V6_cjs.DatabaseSchemaDocument, variables);
16394
+ const response = await this._request(chunkDQ7S5FF4_cjs.DatabaseSchemaDocument, variables);
16395
16395
  return response.databaseSchema;
16396
16396
  }
16397
16397
  };
@@ -16404,7 +16404,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
16404
16404
  }
16405
16405
  async fetch(options) {
16406
16406
  const variables = this._variables;
16407
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabasesDocument, "databases", this._includes, variables, true);
16407
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DatabasesDocument, "databases", this._includes, variables, true);
16408
16408
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
16409
16409
  const data = response.databases;
16410
16410
  const connection = new DatabaseConnection(this._request, (conn, opts) => new _DatabasesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16421,7 +16421,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
16421
16421
  const subscriptionId = crypto.randomUUID();
16422
16422
  const includes = this._includes;
16423
16423
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
16424
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabasesDocument, "databases", includes, variables, true);
16424
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DatabasesDocument, "databases", includes, variables, true);
16425
16425
  const raw = this._syncEngine.watch(
16426
16426
  queryDoc,
16427
16427
  mergedVars,
@@ -16456,10 +16456,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
16456
16456
  }
16457
16457
  /** Include engine in this query (Smart Fetch — single HTTP request). */
16458
16458
  engine(variables) {
16459
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_EngineDocument, "engine", ["id"]);
16459
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Database_EngineDocument, "engine", ["id"]);
16460
16460
  this._includes.push({
16461
16461
  fieldName: "engine",
16462
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
16462
+ fragmentDoc: chunkDQ7S5FF4_cjs.DatabaseEngineFragmentDoc,
16463
16463
  variables,
16464
16464
  isConnection: false,
16465
16465
  isList: false,
@@ -16475,7 +16475,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
16475
16475
  }
16476
16476
  /** Include tables in this query (Smart Fetch — single HTTP request). */
16477
16477
  tables(variables, builder) {
16478
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_TablesDocument, "tables", ["id"]);
16478
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Database_TablesDocument, "tables", ["id"]);
16479
16479
  let children;
16480
16480
  if (builder) {
16481
16481
  const sub = new TableSubBuilder();
@@ -16484,7 +16484,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
16484
16484
  }
16485
16485
  this._includes.push({
16486
16486
  fieldName: "tables",
16487
- fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
16487
+ fragmentDoc: chunkDQ7S5FF4_cjs.TableConnectionFragmentDoc,
16488
16488
  variables,
16489
16489
  isConnection: true,
16490
16490
  isList: false,
@@ -16510,7 +16510,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16510
16510
  }
16511
16511
  async fetch(options) {
16512
16512
  const variables = this._variables;
16513
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentDocument, "document", this._includes, variables);
16513
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DocumentDocument, "document", this._includes, variables);
16514
16514
  const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
16515
16515
  const data = response.document;
16516
16516
  const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
@@ -16522,7 +16522,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16522
16522
  watch(options) {
16523
16523
  const variables = this._variables;
16524
16524
  const includes = this._includes;
16525
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentDocument, "document", includes, variables);
16525
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DocumentDocument, "document", includes, variables);
16526
16526
  const raw = this._syncEngine.watch(
16527
16527
  queryDoc,
16528
16528
  mergedVars,
@@ -16552,10 +16552,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16552
16552
  }
16553
16553
  /** Include contents in this query (Smart Fetch — single HTTP request). */
16554
16554
  contents(variables) {
16555
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_ContentsDocument, "contents", ["id"]);
16555
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Document_ContentsDocument, "contents", ["id"]);
16556
16556
  this._includes.push({
16557
16557
  fieldName: "contents",
16558
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentContentFragmentDoc,
16558
+ fragmentDoc: chunkDQ7S5FF4_cjs.DocumentContentFragmentDoc,
16559
16559
  variables,
16560
16560
  isConnection: false,
16561
16561
  isList: true,
@@ -16571,10 +16571,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16571
16571
  }
16572
16572
  /** Include file in this query (Smart Fetch — single HTTP request). */
16573
16573
  file(variables) {
16574
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FileDocument, "file", ["id"]);
16574
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Document_FileDocument, "file", ["id"]);
16575
16575
  this._includes.push({
16576
16576
  fieldName: "file",
16577
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
16577
+ fragmentDoc: chunkDQ7S5FF4_cjs.FileFragmentDoc,
16578
16578
  variables,
16579
16579
  isConnection: false,
16580
16580
  isList: false,
@@ -16590,10 +16590,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16590
16590
  }
16591
16591
  /** Include format in this query (Smart Fetch — single HTTP request). */
16592
16592
  format(variables) {
16593
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FormatDocument, "format", ["id"]);
16593
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Document_FormatDocument, "format", ["id"]);
16594
16594
  this._includes.push({
16595
16595
  fieldName: "format",
16596
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
16596
+ fragmentDoc: chunkDQ7S5FF4_cjs.DocumentFormatFragmentDoc,
16597
16597
  variables,
16598
16598
  isConnection: false,
16599
16599
  isList: false,
@@ -16609,7 +16609,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16609
16609
  }
16610
16610
  /** Include tables in this query (Smart Fetch — single HTTP request). */
16611
16611
  tables(variables, builder) {
16612
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_TablesDocument, "tables", ["id"]);
16612
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Document_TablesDocument, "tables", ["id"]);
16613
16613
  let children;
16614
16614
  if (builder) {
16615
16615
  const sub = new TableSubBuilder();
@@ -16618,7 +16618,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16618
16618
  }
16619
16619
  this._includes.push({
16620
16620
  fieldName: "tables",
16621
- fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
16621
+ fragmentDoc: chunkDQ7S5FF4_cjs.TableConnectionFragmentDoc,
16622
16622
  variables,
16623
16623
  isConnection: true,
16624
16624
  isList: false,
@@ -16642,7 +16642,7 @@ var Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
16642
16642
  this._variables = variables;
16643
16643
  }
16644
16644
  async fetch(options) {
16645
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_ContentsDocument, this._variables, "document");
16645
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Document_ContentsDocument, this._variables, "document");
16646
16646
  const data = response.document?.contents;
16647
16647
  if (!Array.isArray(data)) return [];
16648
16648
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -16656,14 +16656,14 @@ var Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
16656
16656
  }
16657
16657
  async fetch(options) {
16658
16658
  const variables = this._variables;
16659
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_FileDocument, variables, "document");
16659
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Document_FileDocument, variables, "document");
16660
16660
  const data = response.document?.file;
16661
16661
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16662
16662
  }
16663
16663
  watch(options) {
16664
16664
  const variables = this._variables;
16665
16665
  const raw = this._syncEngine.watch(
16666
- chunkEL37Q6V6_cjs.Document_FileDocument,
16666
+ chunkDQ7S5FF4_cjs.Document_FileDocument,
16667
16667
  variables,
16668
16668
  "document",
16669
16669
  async (db) => {
@@ -16686,14 +16686,14 @@ var Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
16686
16686
  }
16687
16687
  async fetch(options) {
16688
16688
  const variables = this._variables;
16689
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_FormatDocument, variables, "document");
16689
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Document_FormatDocument, variables, "document");
16690
16690
  const data = response.document?.format;
16691
16691
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16692
16692
  }
16693
16693
  watch(options) {
16694
16694
  const variables = this._variables;
16695
16695
  const raw = this._syncEngine.watch(
16696
- chunkEL37Q6V6_cjs.Document_FormatDocument,
16696
+ chunkDQ7S5FF4_cjs.Document_FormatDocument,
16697
16697
  variables,
16698
16698
  "document",
16699
16699
  async (db) => {
@@ -16716,14 +16716,14 @@ var Document_Format_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16716
16716
  }
16717
16717
  async fetch(options) {
16718
16718
  const variables = this._variables;
16719
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_Format_CatalogDocument, variables, "document");
16719
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Document_Format_CatalogDocument, variables, "document");
16720
16720
  const data = response.document?.format?.catalog;
16721
16721
  return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16722
16722
  }
16723
16723
  watch(options) {
16724
16724
  const variables = this._variables;
16725
16725
  const raw = this._syncEngine.watch(
16726
- chunkEL37Q6V6_cjs.Document_Format_CatalogDocument,
16726
+ chunkDQ7S5FF4_cjs.Document_Format_CatalogDocument,
16727
16727
  variables,
16728
16728
  "document",
16729
16729
  async (db) => {
@@ -16746,18 +16746,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk342BFYZZ_cjs
16746
16746
  }
16747
16747
  async fetch(options) {
16748
16748
  const variables = this._variables;
16749
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_TablesDocument, variables, "document");
16749
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Document_TablesDocument, variables, "document");
16750
16750
  const data = response.document?.tables;
16751
16751
  return new TableConnection(this._request, (conn, opts) => new _Document_TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
16752
16752
  }
16753
16753
  watch(options) {
16754
16754
  const variables = this._variables;
16755
16755
  const raw = this._syncEngine.watch(
16756
- chunkEL37Q6V6_cjs.Document_TablesDocument,
16756
+ chunkDQ7S5FF4_cjs.Document_TablesDocument,
16757
16757
  variables,
16758
16758
  "document",
16759
16759
  async (db) => {
16760
- const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkEL37Q6V6_cjs.Document_TablesDocument));
16760
+ const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkDQ7S5FF4_cjs.Document_TablesDocument));
16761
16761
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
16762
16762
  return { document: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
16763
16763
  }
@@ -16777,7 +16777,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16777
16777
  }
16778
16778
  async fetch(options) {
16779
16779
  const variables = this._variables;
16780
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
16780
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
16781
16781
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
16782
16782
  const data = response.documentCatalog;
16783
16783
  const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -16789,7 +16789,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16789
16789
  watch(options) {
16790
16790
  const variables = this._variables;
16791
16791
  const includes = this._includes;
16792
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
16792
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
16793
16793
  const raw = this._syncEngine.watch(
16794
16794
  queryDoc,
16795
16795
  mergedVars,
@@ -16819,10 +16819,10 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16819
16819
  }
16820
16820
  /** Include format in this query (Smart Fetch — single HTTP request). */
16821
16821
  format(variables) {
16822
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, "format", []);
16822
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.DocumentCatalog_FormatDocument, "format", []);
16823
16823
  this._includes.push({
16824
16824
  fieldName: "format",
16825
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
16825
+ fragmentDoc: chunkDQ7S5FF4_cjs.DocumentFormatFragmentDoc,
16826
16826
  variables,
16827
16827
  isConnection: false,
16828
16828
  isList: false,
@@ -16845,14 +16845,14 @@ var DocumentCatalog_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
16845
16845
  }
16846
16846
  async fetch(options) {
16847
16847
  const variables = this._variables;
16848
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
16848
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
16849
16849
  const data = response.documentCatalog?.format;
16850
16850
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16851
16851
  }
16852
16852
  watch(options) {
16853
16853
  const variables = this._variables;
16854
16854
  const raw = this._syncEngine.watch(
16855
- chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument,
16855
+ chunkDQ7S5FF4_cjs.DocumentCatalog_FormatDocument,
16856
16856
  variables,
16857
16857
  "documentCatalog",
16858
16858
  async (db) => {
@@ -16876,7 +16876,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
16876
16876
  }
16877
16877
  async fetch(options) {
16878
16878
  const variables = this._variables;
16879
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
16879
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
16880
16880
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
16881
16881
  const data = response.documentCatalogs;
16882
16882
  const connection = new DocumentCatalogConnection(this._request, (conn, opts) => new _DocumentCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16893,7 +16893,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
16893
16893
  const subscriptionId = crypto.randomUUID();
16894
16894
  const includes = this._includes;
16895
16895
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
16896
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
16896
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
16897
16897
  const raw = this._syncEngine.watch(
16898
16898
  queryDoc,
16899
16899
  mergedVars,
@@ -16928,10 +16928,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
16928
16928
  }
16929
16929
  /** Include format in this query (Smart Fetch — single HTTP request). */
16930
16930
  format(variables) {
16931
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, "format", []);
16931
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.DocumentCatalog_FormatDocument, "format", []);
16932
16932
  this._includes.push({
16933
16933
  fieldName: "format",
16934
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
16934
+ fragmentDoc: chunkDQ7S5FF4_cjs.DocumentFormatFragmentDoc,
16935
16935
  variables,
16936
16936
  isConnection: false,
16937
16937
  isList: false,
@@ -16955,7 +16955,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
16955
16955
  }
16956
16956
  async fetch(options) {
16957
16957
  const variables = this._variables;
16958
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentsDocument, "documents", this._includes, variables, true);
16958
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DocumentsDocument, "documents", this._includes, variables, true);
16959
16959
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
16960
16960
  const data = response.documents;
16961
16961
  const connection = new DocumentConnection(this._request, (conn, opts) => new _DocumentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16972,7 +16972,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
16972
16972
  const subscriptionId = crypto.randomUUID();
16973
16973
  const includes = this._includes;
16974
16974
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
16975
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentsDocument, "documents", includes, variables, true);
16975
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.DocumentsDocument, "documents", includes, variables, true);
16976
16976
  const raw = this._syncEngine.watch(
16977
16977
  queryDoc,
16978
16978
  mergedVars,
@@ -17007,10 +17007,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
17007
17007
  }
17008
17008
  /** Include contents in this query (Smart Fetch — single HTTP request). */
17009
17009
  contents(variables) {
17010
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_ContentsDocument, "contents", ["id"]);
17010
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Document_ContentsDocument, "contents", ["id"]);
17011
17011
  this._includes.push({
17012
17012
  fieldName: "contents",
17013
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentContentFragmentDoc,
17013
+ fragmentDoc: chunkDQ7S5FF4_cjs.DocumentContentFragmentDoc,
17014
17014
  variables,
17015
17015
  isConnection: false,
17016
17016
  isList: true,
@@ -17026,10 +17026,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
17026
17026
  }
17027
17027
  /** Include file in this query (Smart Fetch — single HTTP request). */
17028
17028
  file(variables) {
17029
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FileDocument, "file", ["id"]);
17029
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Document_FileDocument, "file", ["id"]);
17030
17030
  this._includes.push({
17031
17031
  fieldName: "file",
17032
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
17032
+ fragmentDoc: chunkDQ7S5FF4_cjs.FileFragmentDoc,
17033
17033
  variables,
17034
17034
  isConnection: false,
17035
17035
  isList: false,
@@ -17045,10 +17045,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
17045
17045
  }
17046
17046
  /** Include format in this query (Smart Fetch — single HTTP request). */
17047
17047
  format(variables) {
17048
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FormatDocument, "format", ["id"]);
17048
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Document_FormatDocument, "format", ["id"]);
17049
17049
  this._includes.push({
17050
17050
  fieldName: "format",
17051
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
17051
+ fragmentDoc: chunkDQ7S5FF4_cjs.DocumentFormatFragmentDoc,
17052
17052
  variables,
17053
17053
  isConnection: false,
17054
17054
  isList: false,
@@ -17064,7 +17064,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
17064
17064
  }
17065
17065
  /** Include tables in this query (Smart Fetch — single HTTP request). */
17066
17066
  tables(variables, builder) {
17067
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_TablesDocument, "tables", ["id"]);
17067
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Document_TablesDocument, "tables", ["id"]);
17068
17068
  let children;
17069
17069
  if (builder) {
17070
17070
  const sub = new TableSubBuilder();
@@ -17073,7 +17073,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
17073
17073
  }
17074
17074
  this._includes.push({
17075
17075
  fieldName: "tables",
17076
- fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
17076
+ fragmentDoc: chunkDQ7S5FF4_cjs.TableConnectionFragmentDoc,
17077
17077
  variables,
17078
17078
  isConnection: true,
17079
17079
  isList: false,
@@ -17092,13 +17092,13 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
17092
17092
  };
17093
17093
  var ExportQuery = class extends chunk342BFYZZ_cjs.Request {
17094
17094
  async fetch(variables) {
17095
- const response = await this._request(chunkEL37Q6V6_cjs.ExportDocument, variables);
17095
+ const response = await this._request(chunkDQ7S5FF4_cjs.ExportDocument, variables);
17096
17096
  return response.export;
17097
17097
  }
17098
17098
  };
17099
17099
  var ExportWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
17100
17100
  async fetch(variables) {
17101
- const response = await this._request(chunkEL37Q6V6_cjs.ExportWithInsightIdDocument, variables);
17101
+ const response = await this._request(chunkDQ7S5FF4_cjs.ExportWithInsightIdDocument, variables);
17102
17102
  return response.exportWithInsightId;
17103
17103
  }
17104
17104
  };
@@ -17111,7 +17111,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
17111
17111
  }
17112
17112
  async fetch(options) {
17113
17113
  const variables = this._variables;
17114
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemDocument, "feedItem", this._includes, variables);
17114
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.FeedItemDocument, "feedItem", this._includes, variables);
17115
17115
  const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItem");
17116
17116
  const data = response.feedItem;
17117
17117
  if (!data) return void 0;
@@ -17124,7 +17124,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
17124
17124
  watch(options) {
17125
17125
  const variables = this._variables;
17126
17126
  const includes = this._includes;
17127
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemDocument, "feedItem", includes, variables);
17127
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.FeedItemDocument, "feedItem", includes, variables);
17128
17128
  const raw = this._syncEngine.watch(
17129
17129
  queryDoc,
17130
17130
  mergedVars,
@@ -17155,10 +17155,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
17155
17155
  }
17156
17156
  /** Include action in this query (Smart Fetch — single HTTP request). */
17157
17157
  action(variables) {
17158
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, "action", ["id"]);
17158
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.FeedItem_ActionDocument, "action", ["id"]);
17159
17159
  this._includes.push({
17160
17160
  fieldName: "action",
17161
- fragmentDoc: chunkEL37Q6V6_cjs.FeedSendMessageActionFragmentDoc,
17161
+ fragmentDoc: chunkDQ7S5FF4_cjs.FeedSendMessageActionFragmentDoc,
17162
17162
  variables,
17163
17163
  isConnection: false,
17164
17164
  isList: false,
@@ -17174,10 +17174,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
17174
17174
  }
17175
17175
  /** Include data in this query (Smart Fetch — single HTTP request). */
17176
17176
  data(variables) {
17177
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_DataDocument, "data", ["id"]);
17177
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.FeedItem_DataDocument, "data", ["id"]);
17178
17178
  this._includes.push({
17179
17179
  fieldName: "data",
17180
- fragmentDoc: chunkEL37Q6V6_cjs.FeedArtifactDataFragmentDoc,
17180
+ fragmentDoc: chunkDQ7S5FF4_cjs.FeedArtifactDataFragmentDoc,
17181
17181
  variables,
17182
17182
  isConnection: false,
17183
17183
  isList: true,
@@ -17200,14 +17200,14 @@ var FeedItem_ActionQuery = class extends chunk342BFYZZ_cjs.Request {
17200
17200
  }
17201
17201
  async fetch(options) {
17202
17202
  const variables = this._variables;
17203
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, variables, "feedItem");
17203
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.FeedItem_ActionDocument, variables, "feedItem");
17204
17204
  const data = response.feedItem?.action;
17205
17205
  return data ? new FeedSendMessageAction(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17206
17206
  }
17207
17207
  watch(options) {
17208
17208
  const variables = this._variables;
17209
17209
  const raw = this._syncEngine.watch(
17210
- chunkEL37Q6V6_cjs.FeedItem_ActionDocument,
17210
+ chunkDQ7S5FF4_cjs.FeedItem_ActionDocument,
17211
17211
  variables,
17212
17212
  "feedItem",
17213
17213
  async (db) => {
@@ -17229,7 +17229,7 @@ var FeedItem_DataQuery = class extends chunk342BFYZZ_cjs.Request {
17229
17229
  this._variables = variables;
17230
17230
  }
17231
17231
  async fetch(options) {
17232
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.FeedItem_DataDocument, this._variables, "feedItem");
17232
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.FeedItem_DataDocument, this._variables, "feedItem");
17233
17233
  const data = response.feedItem?.data;
17234
17234
  if (!Array.isArray(data)) return [];
17235
17235
  return data.map((item) => new FeedArtifactData(this._request, item, this._syncEngine, this._baseUrl));
@@ -17244,7 +17244,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
17244
17244
  }
17245
17245
  async fetch(options) {
17246
17246
  const variables = this._variables;
17247
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
17247
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
17248
17248
  const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItems");
17249
17249
  const data = response.feedItems;
17250
17250
  const connection = new FeedConnection(this._request, (conn, opts) => new _FeedItemsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17261,7 +17261,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
17261
17261
  const subscriptionId = crypto.randomUUID();
17262
17262
  const includes = this._includes;
17263
17263
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17264
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
17264
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
17265
17265
  const raw = this._syncEngine.watch(
17266
17266
  queryDoc,
17267
17267
  mergedVars,
@@ -17296,10 +17296,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
17296
17296
  }
17297
17297
  /** Include action in this query (Smart Fetch — single HTTP request). */
17298
17298
  action(variables) {
17299
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, "action", ["id"]);
17299
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.FeedItem_ActionDocument, "action", ["id"]);
17300
17300
  this._includes.push({
17301
17301
  fieldName: "action",
17302
- fragmentDoc: chunkEL37Q6V6_cjs.FeedSendMessageActionFragmentDoc,
17302
+ fragmentDoc: chunkDQ7S5FF4_cjs.FeedSendMessageActionFragmentDoc,
17303
17303
  variables,
17304
17304
  isConnection: false,
17305
17305
  isList: false,
@@ -17315,10 +17315,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
17315
17315
  }
17316
17316
  /** Include data in this query (Smart Fetch — single HTTP request). */
17317
17317
  data(variables) {
17318
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_DataDocument, "data", ["id"]);
17318
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.FeedItem_DataDocument, "data", ["id"]);
17319
17319
  this._includes.push({
17320
17320
  fieldName: "data",
17321
- fragmentDoc: chunkEL37Q6V6_cjs.FeedArtifactDataFragmentDoc,
17321
+ fragmentDoc: chunkDQ7S5FF4_cjs.FeedArtifactDataFragmentDoc,
17322
17322
  variables,
17323
17323
  isConnection: false,
17324
17324
  isList: true,
@@ -17335,7 +17335,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
17335
17335
  };
17336
17336
  var FileQuery = class extends chunk342BFYZZ_cjs.Request {
17337
17337
  async fetch(variables) {
17338
- const response = await this._request(chunkEL37Q6V6_cjs.FileDocument, variables);
17338
+ const response = await this._request(chunkDQ7S5FF4_cjs.FileDocument, variables);
17339
17339
  return response.file;
17340
17340
  }
17341
17341
  };
@@ -17348,7 +17348,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
17348
17348
  }
17349
17349
  async fetch(options) {
17350
17350
  const variables = this._variables;
17351
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
17351
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
17352
17352
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
17353
17353
  const data = response.fileMeta;
17354
17354
  if (!data) return void 0;
@@ -17361,7 +17361,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
17361
17361
  watch(options) {
17362
17362
  const variables = this._variables;
17363
17363
  const includes = this._includes;
17364
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FileMetaDocument, "fileMeta", includes, variables);
17364
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.FileMetaDocument, "fileMeta", includes, variables);
17365
17365
  const raw = this._syncEngine.watch(
17366
17366
  queryDoc,
17367
17367
  mergedVars,
@@ -17399,7 +17399,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
17399
17399
  this._variables = variables;
17400
17400
  }
17401
17401
  async fetch(options) {
17402
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
17402
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
17403
17403
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
17404
17404
  const data = response.fileUrls;
17405
17405
  if (!Array.isArray(data)) return [];
@@ -17408,7 +17408,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
17408
17408
  };
17409
17409
  var FindFitTierQuery = class extends chunk342BFYZZ_cjs.Request {
17410
17410
  async fetch(variables) {
17411
- const response = await this._request(chunkEL37Q6V6_cjs.FindFitTierDocument, variables);
17411
+ const response = await this._request(chunkDQ7S5FF4_cjs.FindFitTierDocument, variables);
17412
17412
  return response.findFitTier ?? void 0;
17413
17413
  }
17414
17414
  };
@@ -17421,7 +17421,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
17421
17421
  }
17422
17422
  async fetch(options) {
17423
17423
  const variables = this._variables;
17424
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FolderDocument, "folder", this._includes, variables);
17424
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.FolderDocument, "folder", this._includes, variables);
17425
17425
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
17426
17426
  const data = response.folder;
17427
17427
  const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
@@ -17433,7 +17433,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
17433
17433
  watch(options) {
17434
17434
  const variables = this._variables;
17435
17435
  const includes = this._includes;
17436
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FolderDocument, "folder", includes, variables);
17436
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.FolderDocument, "folder", includes, variables);
17437
17437
  const raw = this._syncEngine.watch(
17438
17438
  queryDoc,
17439
17439
  mergedVars,
@@ -17471,7 +17471,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
17471
17471
  }
17472
17472
  async fetch(options) {
17473
17473
  const variables = this._variables;
17474
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FoldersDocument, "folders", this._includes, variables, true);
17474
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.FoldersDocument, "folders", this._includes, variables, true);
17475
17475
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
17476
17476
  const data = response.folders;
17477
17477
  const connection = new FolderConnection(this._request, (conn, opts) => new _FoldersQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17488,7 +17488,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
17488
17488
  const subscriptionId = crypto.randomUUID();
17489
17489
  const includes = this._includes;
17490
17490
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17491
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FoldersDocument, "folders", includes, variables, true);
17491
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.FoldersDocument, "folders", includes, variables, true);
17492
17492
  const raw = this._syncEngine.watch(
17493
17493
  queryDoc,
17494
17494
  mergedVars,
@@ -17524,7 +17524,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
17524
17524
  };
17525
17525
  var GetCapabilityQuery = class extends chunk342BFYZZ_cjs.Request {
17526
17526
  async fetch(variables) {
17527
- const response = await this._request(chunkEL37Q6V6_cjs.GetCapabilityDocument, variables);
17527
+ const response = await this._request(chunkDQ7S5FF4_cjs.GetCapabilityDocument, variables);
17528
17528
  return response.getCapability;
17529
17529
  }
17530
17530
  };
@@ -17537,7 +17537,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
17537
17537
  }
17538
17538
  async fetch(options) {
17539
17539
  const variables = this._variables;
17540
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
17540
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
17541
17541
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
17542
17542
  const data = response.getDevAccessToken;
17543
17543
  const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
@@ -17549,7 +17549,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
17549
17549
  watch(options) {
17550
17550
  const variables = this._variables;
17551
17551
  const includes = this._includes;
17552
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
17552
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
17553
17553
  const raw = this._syncEngine.watch(
17554
17554
  queryDoc,
17555
17555
  mergedVars,
@@ -17580,13 +17580,13 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
17580
17580
  };
17581
17581
  var GetLimitQuery = class extends chunk342BFYZZ_cjs.Request {
17582
17582
  async fetch(variables) {
17583
- const response = await this._request(chunkEL37Q6V6_cjs.GetLimitDocument, variables);
17583
+ const response = await this._request(chunkDQ7S5FF4_cjs.GetLimitDocument, variables);
17584
17584
  return response.getLimit ?? void 0;
17585
17585
  }
17586
17586
  };
17587
17587
  var GetRemainingQuery = class extends chunk342BFYZZ_cjs.Request {
17588
17588
  async fetch(variables) {
17589
- const response = await this._request(chunkEL37Q6V6_cjs.GetRemainingDocument, variables);
17589
+ const response = await this._request(chunkDQ7S5FF4_cjs.GetRemainingDocument, variables);
17590
17590
  return response.getRemaining ?? void 0;
17591
17591
  }
17592
17592
  };
@@ -17598,7 +17598,7 @@ var GetTokenUsageByModelQuery = class extends chunk342BFYZZ_cjs.Request {
17598
17598
  this._variables = variables;
17599
17599
  }
17600
17600
  async fetch(options) {
17601
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
17601
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
17602
17602
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
17603
17603
  const data = response.getTokenUsageByModel;
17604
17604
  if (!Array.isArray(data)) return [];
@@ -17613,7 +17613,7 @@ var GetTokenUsageHistoryQuery = class extends chunk342BFYZZ_cjs.Request {
17613
17613
  this._variables = variables;
17614
17614
  }
17615
17615
  async fetch(options) {
17616
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
17616
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
17617
17617
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
17618
17618
  const data = response.getTokenUsageHistory;
17619
17619
  if (!Array.isArray(data)) return [];
@@ -17629,7 +17629,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
17629
17629
  }
17630
17630
  async fetch(options) {
17631
17631
  const variables = this._variables;
17632
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
17632
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
17633
17633
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
17634
17634
  const data = response.getTokenUsageStatus;
17635
17635
  const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
@@ -17641,7 +17641,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
17641
17641
  watch(options) {
17642
17642
  const variables = this._variables;
17643
17643
  const includes = this._includes;
17644
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
17644
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
17645
17645
  const raw = this._syncEngine.watch(
17646
17646
  queryDoc,
17647
17647
  mergedVars,
@@ -17671,10 +17671,10 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
17671
17671
  }
17672
17672
  /** Include windows in this query (Smart Fetch — single HTTP request). */
17673
17673
  windows(variables) {
17674
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
17674
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
17675
17675
  this._includes.push({
17676
17676
  fieldName: "windows",
17677
- fragmentDoc: chunkEL37Q6V6_cjs.UsageWindowsStatusTypeFragmentDoc,
17677
+ fragmentDoc: chunkDQ7S5FF4_cjs.UsageWindowsStatusTypeFragmentDoc,
17678
17678
  variables,
17679
17679
  isConnection: false,
17680
17680
  isList: false,
@@ -17697,14 +17697,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk342BFYZZ_cjs.Request {
17697
17697
  }
17698
17698
  async fetch(options) {
17699
17699
  const variables = this._variables;
17700
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
17700
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
17701
17701
  const data = response.getTokenUsageStatus?.windows;
17702
17702
  return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17703
17703
  }
17704
17704
  watch(options) {
17705
17705
  const variables = this._variables;
17706
17706
  const raw = this._syncEngine.watch(
17707
- chunkEL37Q6V6_cjs.GetTokenUsageStatus_WindowsDocument,
17707
+ chunkDQ7S5FF4_cjs.GetTokenUsageStatus_WindowsDocument,
17708
17708
  variables,
17709
17709
  "getTokenUsageStatus",
17710
17710
  async (db) => {
@@ -17727,14 +17727,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk342BFYZZ_cjs.Reque
17727
17727
  }
17728
17728
  async fetch(options) {
17729
17729
  const variables = this._variables;
17730
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
17730
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
17731
17731
  const data = response.getTokenUsageStatus?.windows?.day;
17732
17732
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17733
17733
  }
17734
17734
  watch(options) {
17735
17735
  const variables = this._variables;
17736
17736
  const raw = this._syncEngine.watch(
17737
- chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_DayDocument,
17737
+ chunkDQ7S5FF4_cjs.GetTokenUsageStatus_Windows_DayDocument,
17738
17738
  variables,
17739
17739
  "getTokenUsageStatus",
17740
17740
  async (db) => {
@@ -17757,14 +17757,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk342BFYZZ_cjs.
17757
17757
  }
17758
17758
  async fetch(options) {
17759
17759
  const variables = this._variables;
17760
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
17760
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
17761
17761
  const data = response.getTokenUsageStatus?.windows?.fiveHour;
17762
17762
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17763
17763
  }
17764
17764
  watch(options) {
17765
17765
  const variables = this._variables;
17766
17766
  const raw = this._syncEngine.watch(
17767
- chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
17767
+ chunkDQ7S5FF4_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
17768
17768
  variables,
17769
17769
  "getTokenUsageStatus",
17770
17770
  async (db) => {
@@ -17787,14 +17787,14 @@ var GetTokenUsageStatus_Windows_MonthQuery = class extends chunk342BFYZZ_cjs.Req
17787
17787
  }
17788
17788
  async fetch(options) {
17789
17789
  const variables = this._variables;
17790
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_MonthDocument, variables, "getTokenUsageStatus");
17790
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.GetTokenUsageStatus_Windows_MonthDocument, variables, "getTokenUsageStatus");
17791
17791
  const data = response.getTokenUsageStatus?.windows?.month;
17792
17792
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17793
17793
  }
17794
17794
  watch(options) {
17795
17795
  const variables = this._variables;
17796
17796
  const raw = this._syncEngine.watch(
17797
- chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_MonthDocument,
17797
+ chunkDQ7S5FF4_cjs.GetTokenUsageStatus_Windows_MonthDocument,
17798
17798
  variables,
17799
17799
  "getTokenUsageStatus",
17800
17800
  async (db) => {
@@ -17817,14 +17817,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
17817
17817
  }
17818
17818
  async fetch(options) {
17819
17819
  const variables = this._variables;
17820
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
17820
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
17821
17821
  const data = response.getTokenUsageStatus?.windows?.week;
17822
17822
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17823
17823
  }
17824
17824
  watch(options) {
17825
17825
  const variables = this._variables;
17826
17826
  const raw = this._syncEngine.watch(
17827
- chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_WeekDocument,
17827
+ chunkDQ7S5FF4_cjs.GetTokenUsageStatus_Windows_WeekDocument,
17828
17828
  variables,
17829
17829
  "getTokenUsageStatus",
17830
17830
  async (db) => {
@@ -17841,7 +17841,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
17841
17841
  };
17842
17842
  var GetUsageQuery = class extends chunk342BFYZZ_cjs.Request {
17843
17843
  async fetch(variables) {
17844
- const response = await this._request(chunkEL37Q6V6_cjs.GetUsageDocument, variables);
17844
+ const response = await this._request(chunkDQ7S5FF4_cjs.GetUsageDocument, variables);
17845
17845
  return response.getUsage ?? void 0;
17846
17846
  }
17847
17847
  };
@@ -17854,7 +17854,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17854
17854
  }
17855
17855
  async fetch(options) {
17856
17856
  const variables = this._variables;
17857
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightDocument, "insight", this._includes, variables);
17857
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.InsightDocument, "insight", this._includes, variables);
17858
17858
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
17859
17859
  const data = response.insight;
17860
17860
  const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
@@ -17866,7 +17866,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17866
17866
  watch(options) {
17867
17867
  const variables = this._variables;
17868
17868
  const includes = this._includes;
17869
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightDocument, "insight", includes, variables);
17869
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.InsightDocument, "insight", includes, variables);
17870
17870
  const raw = this._syncEngine.watch(
17871
17871
  queryDoc,
17872
17872
  mergedVars,
@@ -17896,7 +17896,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17896
17896
  }
17897
17897
  /** Include chat in this query (Smart Fetch — single HTTP request). */
17898
17898
  chat(variables, builder) {
17899
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ChatDocument, "chat", ["id"]);
17899
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Insight_ChatDocument, "chat", ["id"]);
17900
17900
  let children;
17901
17901
  if (builder) {
17902
17902
  const sub = new ChatSubBuilder();
@@ -17905,7 +17905,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17905
17905
  }
17906
17906
  this._includes.push({
17907
17907
  fieldName: "chat",
17908
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
17908
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatFragmentDoc,
17909
17909
  variables,
17910
17910
  isConnection: false,
17911
17911
  isList: false,
@@ -17922,10 +17922,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17922
17922
  }
17923
17923
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
17924
17924
  reportMembers(variables) {
17925
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
17925
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
17926
17926
  this._includes.push({
17927
17927
  fieldName: "reportMembers",
17928
- fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
17928
+ fragmentDoc: chunkDQ7S5FF4_cjs.ReportMemberFragmentDoc,
17929
17929
  variables,
17930
17930
  isConnection: false,
17931
17931
  isList: true,
@@ -17941,7 +17941,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17941
17941
  }
17942
17942
  /** Include reports in this query (Smart Fetch — single HTTP request). */
17943
17943
  reports(variables, builder) {
17944
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportsDocument, "reports", ["id"]);
17944
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Insight_ReportsDocument, "reports", ["id"]);
17945
17945
  let children;
17946
17946
  if (builder) {
17947
17947
  const sub = new ReportSubBuilder();
@@ -17950,7 +17950,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17950
17950
  }
17951
17951
  this._includes.push({
17952
17952
  fieldName: "reports",
17953
- fragmentDoc: chunkEL37Q6V6_cjs.ReportConnectionFragmentDoc,
17953
+ fragmentDoc: chunkDQ7S5FF4_cjs.ReportConnectionFragmentDoc,
17954
17954
  variables,
17955
17955
  isConnection: true,
17956
17956
  isList: false,
@@ -17968,10 +17968,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17968
17968
  }
17969
17969
  /** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
17970
17970
  thumbnailFile(variables) {
17971
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
17971
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
17972
17972
  this._includes.push({
17973
17973
  fieldName: "thumbnailFile",
17974
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
17974
+ fragmentDoc: chunkDQ7S5FF4_cjs.FileFragmentDoc,
17975
17975
  variables,
17976
17976
  isConnection: false,
17977
17977
  isList: false,
@@ -17994,14 +17994,14 @@ var Insight_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
17994
17994
  }
17995
17995
  async fetch(options) {
17996
17996
  const variables = this._variables;
17997
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ChatDocument, variables, "insight");
17997
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Insight_ChatDocument, variables, "insight");
17998
17998
  const data = response.insight?.chat;
17999
17999
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18000
18000
  }
18001
18001
  watch(options) {
18002
18002
  const variables = this._variables;
18003
18003
  const raw = this._syncEngine.watch(
18004
- chunkEL37Q6V6_cjs.Insight_ChatDocument,
18004
+ chunkDQ7S5FF4_cjs.Insight_ChatDocument,
18005
18005
  variables,
18006
18006
  "insight",
18007
18007
  async (db) => {
@@ -18023,7 +18023,7 @@ var Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
18023
18023
  this._variables = variables;
18024
18024
  }
18025
18025
  async fetch(options) {
18026
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, this._variables, "insight");
18026
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Insight_ReportMembersDocument, this._variables, "insight");
18027
18027
  const data = response.insight?.reportMembers;
18028
18028
  if (!Array.isArray(data)) return [];
18029
18029
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -18037,18 +18037,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk342BFYZZ_cjs
18037
18037
  }
18038
18038
  async fetch(options) {
18039
18039
  const variables = this._variables;
18040
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ReportsDocument, variables, "insight");
18040
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Insight_ReportsDocument, variables, "insight");
18041
18041
  const data = response.insight?.reports;
18042
18042
  return new ReportConnection(this._request, (conn, opts) => new _Insight_ReportsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
18043
18043
  }
18044
18044
  watch(options) {
18045
18045
  const variables = this._variables;
18046
18046
  const raw = this._syncEngine.watch(
18047
- chunkEL37Q6V6_cjs.Insight_ReportsDocument,
18047
+ chunkDQ7S5FF4_cjs.Insight_ReportsDocument,
18048
18048
  variables,
18049
18049
  "insight",
18050
18050
  async (db) => {
18051
- const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkEL37Q6V6_cjs.Insight_ReportsDocument));
18051
+ const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkDQ7S5FF4_cjs.Insight_ReportsDocument));
18052
18052
  const nodes = qr ? await db.table("reports").bulkGet(qr.entityIds) : [];
18053
18053
  return { insight: { reports: { __typename: "ReportConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
18054
18054
  }
@@ -18067,14 +18067,14 @@ var Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
18067
18067
  }
18068
18068
  async fetch(options) {
18069
18069
  const variables = this._variables;
18070
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, variables, "insight");
18070
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Insight_ThumbnailFileDocument, variables, "insight");
18071
18071
  const data = response.insight?.thumbnailFile;
18072
18072
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18073
18073
  }
18074
18074
  watch(options) {
18075
18075
  const variables = this._variables;
18076
18076
  const raw = this._syncEngine.watch(
18077
- chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument,
18077
+ chunkDQ7S5FF4_cjs.Insight_ThumbnailFileDocument,
18078
18078
  variables,
18079
18079
  "insight",
18080
18080
  async (db) => {
@@ -18098,7 +18098,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18098
18098
  }
18099
18099
  async fetch(options) {
18100
18100
  const variables = this._variables;
18101
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightsDocument, "insights", this._includes, variables, true);
18101
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.InsightsDocument, "insights", this._includes, variables, true);
18102
18102
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
18103
18103
  const data = response.insights;
18104
18104
  const connection = new InsightConnection(this._request, (conn, opts) => new _InsightsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -18115,7 +18115,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18115
18115
  const subscriptionId = crypto.randomUUID();
18116
18116
  const includes = this._includes;
18117
18117
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
18118
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightsDocument, "insights", includes, variables, true);
18118
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.InsightsDocument, "insights", includes, variables, true);
18119
18119
  const raw = this._syncEngine.watch(
18120
18120
  queryDoc,
18121
18121
  mergedVars,
@@ -18150,7 +18150,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18150
18150
  }
18151
18151
  /** Include chat in this query (Smart Fetch — single HTTP request). */
18152
18152
  chat(variables, builder) {
18153
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ChatDocument, "chat", ["id"]);
18153
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Insight_ChatDocument, "chat", ["id"]);
18154
18154
  let children;
18155
18155
  if (builder) {
18156
18156
  const sub = new ChatSubBuilder();
@@ -18159,7 +18159,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18159
18159
  }
18160
18160
  this._includes.push({
18161
18161
  fieldName: "chat",
18162
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
18162
+ fragmentDoc: chunkDQ7S5FF4_cjs.ChatFragmentDoc,
18163
18163
  variables,
18164
18164
  isConnection: false,
18165
18165
  isList: false,
@@ -18176,10 +18176,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18176
18176
  }
18177
18177
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
18178
18178
  reportMembers(variables) {
18179
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
18179
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
18180
18180
  this._includes.push({
18181
18181
  fieldName: "reportMembers",
18182
- fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
18182
+ fragmentDoc: chunkDQ7S5FF4_cjs.ReportMemberFragmentDoc,
18183
18183
  variables,
18184
18184
  isConnection: false,
18185
18185
  isList: true,
@@ -18195,7 +18195,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18195
18195
  }
18196
18196
  /** Include reports in this query (Smart Fetch — single HTTP request). */
18197
18197
  reports(variables, builder) {
18198
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportsDocument, "reports", ["id"]);
18198
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Insight_ReportsDocument, "reports", ["id"]);
18199
18199
  let children;
18200
18200
  if (builder) {
18201
18201
  const sub = new ReportSubBuilder();
@@ -18204,7 +18204,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18204
18204
  }
18205
18205
  this._includes.push({
18206
18206
  fieldName: "reports",
18207
- fragmentDoc: chunkEL37Q6V6_cjs.ReportConnectionFragmentDoc,
18207
+ fragmentDoc: chunkDQ7S5FF4_cjs.ReportConnectionFragmentDoc,
18208
18208
  variables,
18209
18209
  isConnection: true,
18210
18210
  isList: false,
@@ -18222,10 +18222,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18222
18222
  }
18223
18223
  /** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
18224
18224
  thumbnailFile(variables) {
18225
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
18225
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
18226
18226
  this._includes.push({
18227
18227
  fieldName: "thumbnailFile",
18228
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
18228
+ fragmentDoc: chunkDQ7S5FF4_cjs.FileFragmentDoc,
18229
18229
  variables,
18230
18230
  isConnection: false,
18231
18231
  isList: false,
@@ -18249,7 +18249,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
18249
18249
  }
18250
18250
  async fetch(options) {
18251
18251
  const variables = this._variables;
18252
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationDocument, "integration", this._includes, variables);
18252
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.IntegrationDocument, "integration", this._includes, variables);
18253
18253
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
18254
18254
  const data = response.integration;
18255
18255
  const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
@@ -18261,7 +18261,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
18261
18261
  watch(options) {
18262
18262
  const variables = this._variables;
18263
18263
  const includes = this._includes;
18264
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationDocument, "integration", includes, variables);
18264
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.IntegrationDocument, "integration", includes, variables);
18265
18265
  const raw = this._syncEngine.watch(
18266
18266
  queryDoc,
18267
18267
  mergedVars,
@@ -18291,10 +18291,10 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
18291
18291
  }
18292
18292
  /** Include provider in this query (Smart Fetch — single HTTP request). */
18293
18293
  provider(variables) {
18294
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Integration_ProviderDocument, "provider", ["id"]);
18294
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Integration_ProviderDocument, "provider", ["id"]);
18295
18295
  this._includes.push({
18296
18296
  fieldName: "provider",
18297
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
18297
+ fragmentDoc: chunkDQ7S5FF4_cjs.IntegrationProviderFragmentDoc,
18298
18298
  variables,
18299
18299
  isConnection: false,
18300
18300
  isList: false,
@@ -18317,14 +18317,14 @@ var Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
18317
18317
  }
18318
18318
  async fetch(options) {
18319
18319
  const variables = this._variables;
18320
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Integration_ProviderDocument, variables, "integration");
18320
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Integration_ProviderDocument, variables, "integration");
18321
18321
  const data = response.integration?.provider;
18322
18322
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18323
18323
  }
18324
18324
  watch(options) {
18325
18325
  const variables = this._variables;
18326
18326
  const raw = this._syncEngine.watch(
18327
- chunkEL37Q6V6_cjs.Integration_ProviderDocument,
18327
+ chunkDQ7S5FF4_cjs.Integration_ProviderDocument,
18328
18328
  variables,
18329
18329
  "integration",
18330
18330
  async (db) => {
@@ -18347,14 +18347,14 @@ var Integration_Provider_CatalogQuery = class extends chunk342BFYZZ_cjs.Request
18347
18347
  }
18348
18348
  async fetch(options) {
18349
18349
  const variables = this._variables;
18350
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Integration_Provider_CatalogDocument, variables, "integration");
18350
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Integration_Provider_CatalogDocument, variables, "integration");
18351
18351
  const data = response.integration?.provider?.catalog;
18352
18352
  return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18353
18353
  }
18354
18354
  watch(options) {
18355
18355
  const variables = this._variables;
18356
18356
  const raw = this._syncEngine.watch(
18357
- chunkEL37Q6V6_cjs.Integration_Provider_CatalogDocument,
18357
+ chunkDQ7S5FF4_cjs.Integration_Provider_CatalogDocument,
18358
18358
  variables,
18359
18359
  "integration",
18360
18360
  async (db) => {
@@ -18378,7 +18378,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
18378
18378
  }
18379
18379
  async fetch(options) {
18380
18380
  const variables = this._variables;
18381
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
18381
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
18382
18382
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
18383
18383
  const data = response.integrationCatalog;
18384
18384
  const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -18390,7 +18390,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
18390
18390
  watch(options) {
18391
18391
  const variables = this._variables;
18392
18392
  const includes = this._includes;
18393
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
18393
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
18394
18394
  const raw = this._syncEngine.watch(
18395
18395
  queryDoc,
18396
18396
  mergedVars,
@@ -18420,10 +18420,10 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
18420
18420
  }
18421
18421
  /** Include provider in this query (Smart Fetch — single HTTP request). */
18422
18422
  provider(variables) {
18423
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
18423
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
18424
18424
  this._includes.push({
18425
18425
  fieldName: "provider",
18426
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
18426
+ fragmentDoc: chunkDQ7S5FF4_cjs.IntegrationProviderFragmentDoc,
18427
18427
  variables,
18428
18428
  isConnection: false,
18429
18429
  isList: false,
@@ -18446,14 +18446,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
18446
18446
  }
18447
18447
  async fetch(options) {
18448
18448
  const variables = this._variables;
18449
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
18449
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
18450
18450
  const data = response.integrationCatalog?.provider;
18451
18451
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18452
18452
  }
18453
18453
  watch(options) {
18454
18454
  const variables = this._variables;
18455
18455
  const raw = this._syncEngine.watch(
18456
- chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument,
18456
+ chunkDQ7S5FF4_cjs.IntegrationCatalog_ProviderDocument,
18457
18457
  variables,
18458
18458
  "integrationCatalog",
18459
18459
  async (db) => {
@@ -18470,7 +18470,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
18470
18470
  };
18471
18471
  var IntegrationCatalogToolsQuery = class extends chunk342BFYZZ_cjs.Request {
18472
18472
  async fetch(variables) {
18473
- const response = await this._request(chunkEL37Q6V6_cjs.IntegrationCatalogToolsDocument, variables);
18473
+ const response = await this._request(chunkDQ7S5FF4_cjs.IntegrationCatalogToolsDocument, variables);
18474
18474
  return response.integrationCatalogTools;
18475
18475
  }
18476
18476
  };
@@ -18483,7 +18483,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
18483
18483
  }
18484
18484
  async fetch(options) {
18485
18485
  const variables = this._variables;
18486
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
18486
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
18487
18487
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
18488
18488
  const data = response.integrationCatalogs;
18489
18489
  const connection = new IntegrationCatalogConnection(this._request, (conn, opts) => new _IntegrationCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -18500,7 +18500,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
18500
18500
  const subscriptionId = crypto.randomUUID();
18501
18501
  const includes = this._includes;
18502
18502
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
18503
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
18503
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
18504
18504
  const raw = this._syncEngine.watch(
18505
18505
  queryDoc,
18506
18506
  mergedVars,
@@ -18535,10 +18535,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
18535
18535
  }
18536
18536
  /** Include provider in this query (Smart Fetch — single HTTP request). */
18537
18537
  provider(variables) {
18538
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
18538
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
18539
18539
  this._includes.push({
18540
18540
  fieldName: "provider",
18541
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
18541
+ fragmentDoc: chunkDQ7S5FF4_cjs.IntegrationProviderFragmentDoc,
18542
18542
  variables,
18543
18543
  isConnection: false,
18544
18544
  isList: false,
@@ -18562,7 +18562,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
18562
18562
  }
18563
18563
  async fetch(options) {
18564
18564
  const variables = this._variables;
18565
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
18565
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
18566
18566
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
18567
18567
  const data = response.integrations;
18568
18568
  const connection = new IntegrationConnection(this._request, (conn, opts) => new _IntegrationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -18579,7 +18579,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
18579
18579
  const subscriptionId = crypto.randomUUID();
18580
18580
  const includes = this._includes;
18581
18581
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
18582
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationsDocument, "integrations", includes, variables, true);
18582
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.IntegrationsDocument, "integrations", includes, variables, true);
18583
18583
  const raw = this._syncEngine.watch(
18584
18584
  queryDoc,
18585
18585
  mergedVars,
@@ -18614,10 +18614,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
18614
18614
  }
18615
18615
  /** Include provider in this query (Smart Fetch — single HTTP request). */
18616
18616
  provider(variables) {
18617
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Integration_ProviderDocument, "provider", ["id"]);
18617
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Integration_ProviderDocument, "provider", ["id"]);
18618
18618
  this._includes.push({
18619
18619
  fieldName: "provider",
18620
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
18620
+ fragmentDoc: chunkDQ7S5FF4_cjs.IntegrationProviderFragmentDoc,
18621
18621
  variables,
18622
18622
  isConnection: false,
18623
18623
  isList: false,
@@ -18641,7 +18641,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
18641
18641
  }
18642
18642
  async fetch(options) {
18643
18643
  const variables = this._variables;
18644
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
18644
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
18645
18645
  const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
18646
18646
  const data = response.interpretations;
18647
18647
  const connection = new InterpretationConnection(this._request, (conn, opts) => new _InterpretationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -18658,7 +18658,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
18658
18658
  const subscriptionId = crypto.randomUUID();
18659
18659
  const includes = this._includes;
18660
18660
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
18661
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
18661
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
18662
18662
  const raw = this._syncEngine.watch(
18663
18663
  queryDoc,
18664
18664
  mergedVars,
@@ -18701,7 +18701,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
18701
18701
  }
18702
18702
  async fetch(options) {
18703
18703
  const variables = this._variables;
18704
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationDocument, "notification", this._includes, variables);
18704
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.NotificationDocument, "notification", this._includes, variables);
18705
18705
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
18706
18706
  const data = response.notification;
18707
18707
  const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
@@ -18713,7 +18713,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
18713
18713
  watch(options) {
18714
18714
  const variables = this._variables;
18715
18715
  const includes = this._includes;
18716
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationDocument, "notification", includes, variables);
18716
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.NotificationDocument, "notification", includes, variables);
18717
18717
  const raw = this._syncEngine.watch(
18718
18718
  queryDoc,
18719
18719
  mergedVars,
@@ -18751,7 +18751,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
18751
18751
  }
18752
18752
  async fetch(options) {
18753
18753
  const variables = this._variables;
18754
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
18754
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
18755
18755
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
18756
18756
  const data = response.notifications;
18757
18757
  const connection = new NotificationConnection(this._request, (conn, opts) => new _NotificationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -18768,7 +18768,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
18768
18768
  const subscriptionId = crypto.randomUUID();
18769
18769
  const includes = this._includes;
18770
18770
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
18771
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationsDocument, "notifications", includes, variables, true);
18771
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.NotificationsDocument, "notifications", includes, variables, true);
18772
18772
  const raw = this._syncEngine.watch(
18773
18773
  queryDoc,
18774
18774
  mergedVars,
@@ -18810,7 +18810,7 @@ var NotificationsByReferenceQuery = class extends chunk342BFYZZ_cjs.Request {
18810
18810
  this._variables = variables;
18811
18811
  }
18812
18812
  async fetch(options) {
18813
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
18813
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
18814
18814
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
18815
18815
  const data = response.notificationsByReference;
18816
18816
  if (!Array.isArray(data)) return [];
@@ -18826,7 +18826,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
18826
18826
  }
18827
18827
  async fetch(options) {
18828
18828
  const variables = this._variables;
18829
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
18829
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
18830
18830
  const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
18831
18831
  const data = response.privacyStats;
18832
18832
  const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
@@ -18838,7 +18838,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
18838
18838
  watch(options) {
18839
18839
  const variables = this._variables;
18840
18840
  const includes = this._includes;
18841
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
18841
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
18842
18842
  const raw = this._syncEngine.watch(
18843
18843
  queryDoc,
18844
18844
  mergedVars,
@@ -18876,7 +18876,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
18876
18876
  }
18877
18877
  async fetch(options) {
18878
18878
  const variables = this._variables;
18879
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
18879
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
18880
18880
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
18881
18881
  const data = response.pulseAppSummary;
18882
18882
  if (!data) return void 0;
@@ -18889,7 +18889,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
18889
18889
  watch(options) {
18890
18890
  const variables = this._variables;
18891
18891
  const includes = this._includes;
18892
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
18892
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
18893
18893
  const raw = this._syncEngine.watch(
18894
18894
  queryDoc,
18895
18895
  mergedVars,
@@ -18928,7 +18928,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
18928
18928
  }
18929
18929
  async fetch(options) {
18930
18930
  const variables = this._variables;
18931
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
18931
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
18932
18932
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
18933
18933
  const data = response.pulseEvent;
18934
18934
  const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
@@ -18940,7 +18940,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
18940
18940
  watch(options) {
18941
18941
  const variables = this._variables;
18942
18942
  const includes = this._includes;
18943
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventDocument, "pulseEvent", includes, variables);
18943
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.PulseEventDocument, "pulseEvent", includes, variables);
18944
18944
  const raw = this._syncEngine.watch(
18945
18945
  queryDoc,
18946
18946
  mergedVars,
@@ -18970,7 +18970,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
18970
18970
  }
18971
18971
  /** Include integration in this query (Smart Fetch — single HTTP request). */
18972
18972
  integration(variables, builder) {
18973
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
18973
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
18974
18974
  let children;
18975
18975
  if (builder) {
18976
18976
  const sub = new IntegrationSubBuilder();
@@ -18979,7 +18979,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
18979
18979
  }
18980
18980
  this._includes.push({
18981
18981
  fieldName: "integration",
18982
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationFragmentDoc,
18982
+ fragmentDoc: chunkDQ7S5FF4_cjs.IntegrationFragmentDoc,
18983
18983
  variables,
18984
18984
  isConnection: false,
18985
18985
  isList: false,
@@ -19003,14 +19003,14 @@ var PulseEvent_IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
19003
19003
  }
19004
19004
  async fetch(options) {
19005
19005
  const variables = this._variables;
19006
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
19006
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
19007
19007
  const data = response.pulseEvent?.integration;
19008
19008
  return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19009
19009
  }
19010
19010
  watch(options) {
19011
19011
  const variables = this._variables;
19012
19012
  const raw = this._syncEngine.watch(
19013
- chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument,
19013
+ chunkDQ7S5FF4_cjs.PulseEvent_IntegrationDocument,
19014
19014
  variables,
19015
19015
  "pulseEvent",
19016
19016
  async (db) => {
@@ -19033,14 +19033,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Reque
19033
19033
  }
19034
19034
  async fetch(options) {
19035
19035
  const variables = this._variables;
19036
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
19036
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
19037
19037
  const data = response.pulseEvent?.integration?.provider;
19038
19038
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19039
19039
  }
19040
19040
  watch(options) {
19041
19041
  const variables = this._variables;
19042
19042
  const raw = this._syncEngine.watch(
19043
- chunkEL37Q6V6_cjs.PulseEvent_Integration_ProviderDocument,
19043
+ chunkDQ7S5FF4_cjs.PulseEvent_Integration_ProviderDocument,
19044
19044
  variables,
19045
19045
  "pulseEvent",
19046
19046
  async (db) => {
@@ -19064,7 +19064,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
19064
19064
  }
19065
19065
  async fetch(options) {
19066
19066
  const variables = this._variables;
19067
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
19067
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
19068
19068
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
19069
19069
  const data = response.pulseEvents;
19070
19070
  const connection = new PulseEventConnection(this._request, (conn, opts) => new _PulseEventsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -19081,7 +19081,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
19081
19081
  const subscriptionId = crypto.randomUUID();
19082
19082
  const includes = this._includes;
19083
19083
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
19084
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
19084
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
19085
19085
  const raw = this._syncEngine.watch(
19086
19086
  queryDoc,
19087
19087
  mergedVars,
@@ -19116,7 +19116,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
19116
19116
  }
19117
19117
  /** Include integration in this query (Smart Fetch — single HTTP request). */
19118
19118
  integration(variables, builder) {
19119
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
19119
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
19120
19120
  let children;
19121
19121
  if (builder) {
19122
19122
  const sub = new IntegrationSubBuilder();
@@ -19125,7 +19125,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
19125
19125
  }
19126
19126
  this._includes.push({
19127
19127
  fieldName: "integration",
19128
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationFragmentDoc,
19128
+ fragmentDoc: chunkDQ7S5FF4_cjs.IntegrationFragmentDoc,
19129
19129
  variables,
19130
19130
  isConnection: false,
19131
19131
  isList: false,
@@ -19149,7 +19149,7 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
19149
19149
  this._variables = variables;
19150
19150
  }
19151
19151
  async fetch(options) {
19152
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
19152
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
19153
19153
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
19154
19154
  const data = response.pulseTriggerSettings;
19155
19155
  if (!Array.isArray(data)) return [];
@@ -19158,19 +19158,19 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
19158
19158
  };
19159
19159
  var QueryQuery = class extends chunk342BFYZZ_cjs.Request {
19160
19160
  async fetch(variables) {
19161
- const response = await this._request(chunkEL37Q6V6_cjs.QueryDocument, variables);
19161
+ const response = await this._request(chunkDQ7S5FF4_cjs.QueryDocument, variables);
19162
19162
  return response.query;
19163
19163
  }
19164
19164
  };
19165
19165
  var QueryWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
19166
19166
  async fetch(variables) {
19167
- const response = await this._request(chunkEL37Q6V6_cjs.QueryWithInsightIdDocument, variables);
19167
+ const response = await this._request(chunkDQ7S5FF4_cjs.QueryWithInsightIdDocument, variables);
19168
19168
  return response.queryWithInsightId;
19169
19169
  }
19170
19170
  };
19171
19171
  var QueryWithMessageIdQuery = class extends chunk342BFYZZ_cjs.Request {
19172
19172
  async fetch(variables) {
19173
- const response = await this._request(chunkEL37Q6V6_cjs.QueryWithMessageIdDocument, variables);
19173
+ const response = await this._request(chunkDQ7S5FF4_cjs.QueryWithMessageIdDocument, variables);
19174
19174
  return response.queryWithMessageId;
19175
19175
  }
19176
19176
  };
@@ -19183,7 +19183,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
19183
19183
  }
19184
19184
  async fetch(options) {
19185
19185
  const variables = this._variables;
19186
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportDocument, "report", this._includes, variables);
19186
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ReportDocument, "report", this._includes, variables);
19187
19187
  const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
19188
19188
  const data = response.report;
19189
19189
  const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
@@ -19195,7 +19195,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
19195
19195
  watch(options) {
19196
19196
  const variables = this._variables;
19197
19197
  const includes = this._includes;
19198
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportDocument, "report", includes, variables);
19198
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ReportDocument, "report", includes, variables);
19199
19199
  const raw = this._syncEngine.watch(
19200
19200
  queryDoc,
19201
19201
  mergedVars,
@@ -19225,7 +19225,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
19225
19225
  }
19226
19226
  /** Include insights in this query (Smart Fetch — single HTTP request). */
19227
19227
  insights(variables, builder) {
19228
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_InsightsDocument, "insights", ["id"]);
19228
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Report_InsightsDocument, "insights", ["id"]);
19229
19229
  let children;
19230
19230
  if (builder) {
19231
19231
  const sub = new InsightSubBuilder();
@@ -19234,7 +19234,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
19234
19234
  }
19235
19235
  this._includes.push({
19236
19236
  fieldName: "insights",
19237
- fragmentDoc: chunkEL37Q6V6_cjs.InsightConnectionFragmentDoc,
19237
+ fragmentDoc: chunkDQ7S5FF4_cjs.InsightConnectionFragmentDoc,
19238
19238
  variables,
19239
19239
  isConnection: true,
19240
19240
  isList: false,
@@ -19252,10 +19252,10 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
19252
19252
  }
19253
19253
  /** Include layout in this query (Smart Fetch — single HTTP request). */
19254
19254
  layout(variables) {
19255
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_LayoutDocument, "layout", ["id"]);
19255
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Report_LayoutDocument, "layout", ["id"]);
19256
19256
  this._includes.push({
19257
19257
  fieldName: "layout",
19258
- fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
19258
+ fragmentDoc: chunkDQ7S5FF4_cjs.ReportMemberFragmentDoc,
19259
19259
  variables,
19260
19260
  isConnection: false,
19261
19261
  isList: true,
@@ -19278,18 +19278,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk342BFYZZ_cjs
19278
19278
  }
19279
19279
  async fetch(options) {
19280
19280
  const variables = this._variables;
19281
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Report_InsightsDocument, variables, "report");
19281
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Report_InsightsDocument, variables, "report");
19282
19282
  const data = response.report?.insights;
19283
19283
  return new InsightConnection(this._request, (conn, opts) => new _Report_InsightsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
19284
19284
  }
19285
19285
  watch(options) {
19286
19286
  const variables = this._variables;
19287
19287
  const raw = this._syncEngine.watch(
19288
- chunkEL37Q6V6_cjs.Report_InsightsDocument,
19288
+ chunkDQ7S5FF4_cjs.Report_InsightsDocument,
19289
19289
  variables,
19290
19290
  "report",
19291
19291
  async (db) => {
19292
- const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkEL37Q6V6_cjs.Report_InsightsDocument));
19292
+ const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkDQ7S5FF4_cjs.Report_InsightsDocument));
19293
19293
  const nodes = qr ? await db.table("insights").bulkGet(qr.entityIds) : [];
19294
19294
  return { report: { insights: { __typename: "InsightConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
19295
19295
  }
@@ -19307,7 +19307,7 @@ var Report_LayoutQuery = class extends chunk342BFYZZ_cjs.Request {
19307
19307
  this._variables = variables;
19308
19308
  }
19309
19309
  async fetch(options) {
19310
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Report_LayoutDocument, this._variables, "report");
19310
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Report_LayoutDocument, this._variables, "report");
19311
19311
  const data = response.report?.layout;
19312
19312
  if (!Array.isArray(data)) return [];
19313
19313
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -19322,7 +19322,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
19322
19322
  }
19323
19323
  async fetch(options) {
19324
19324
  const variables = this._variables;
19325
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportsDocument, "reports", this._includes, variables, true);
19325
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ReportsDocument, "reports", this._includes, variables, true);
19326
19326
  const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
19327
19327
  const data = response.reports;
19328
19328
  const connection = new ReportConnection(this._request, (conn, opts) => new _ReportsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -19339,7 +19339,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
19339
19339
  const subscriptionId = crypto.randomUUID();
19340
19340
  const includes = this._includes;
19341
19341
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
19342
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportsDocument, "reports", includes, variables, true);
19342
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.ReportsDocument, "reports", includes, variables, true);
19343
19343
  const raw = this._syncEngine.watch(
19344
19344
  queryDoc,
19345
19345
  mergedVars,
@@ -19374,7 +19374,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
19374
19374
  }
19375
19375
  /** Include insights in this query (Smart Fetch — single HTTP request). */
19376
19376
  insights(variables, builder) {
19377
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_InsightsDocument, "insights", ["id"]);
19377
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Report_InsightsDocument, "insights", ["id"]);
19378
19378
  let children;
19379
19379
  if (builder) {
19380
19380
  const sub = new InsightSubBuilder();
@@ -19383,7 +19383,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
19383
19383
  }
19384
19384
  this._includes.push({
19385
19385
  fieldName: "insights",
19386
- fragmentDoc: chunkEL37Q6V6_cjs.InsightConnectionFragmentDoc,
19386
+ fragmentDoc: chunkDQ7S5FF4_cjs.InsightConnectionFragmentDoc,
19387
19387
  variables,
19388
19388
  isConnection: true,
19389
19389
  isList: false,
@@ -19401,10 +19401,10 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
19401
19401
  }
19402
19402
  /** Include layout in this query (Smart Fetch — single HTTP request). */
19403
19403
  layout(variables) {
19404
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_LayoutDocument, "layout", ["id"]);
19404
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Report_LayoutDocument, "layout", ["id"]);
19405
19405
  this._includes.push({
19406
19406
  fieldName: "layout",
19407
- fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
19407
+ fragmentDoc: chunkDQ7S5FF4_cjs.ReportMemberFragmentDoc,
19408
19408
  variables,
19409
19409
  isConnection: false,
19410
19410
  isList: true,
@@ -19428,7 +19428,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19428
19428
  }
19429
19429
  async fetch(options) {
19430
19430
  const variables = this._variables;
19431
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TableDocument, "table", this._includes, variables);
19431
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.TableDocument, "table", this._includes, variables);
19432
19432
  const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
19433
19433
  const data = response.table;
19434
19434
  const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
@@ -19440,7 +19440,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19440
19440
  watch(options) {
19441
19441
  const variables = this._variables;
19442
19442
  const includes = this._includes;
19443
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TableDocument, "table", includes, variables);
19443
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.TableDocument, "table", includes, variables);
19444
19444
  const raw = this._syncEngine.watch(
19445
19445
  queryDoc,
19446
19446
  mergedVars,
@@ -19470,7 +19470,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19470
19470
  }
19471
19471
  /** Include database in this query (Smart Fetch — single HTTP request). */
19472
19472
  database(variables, builder) {
19473
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DatabaseDocument, "database", ["id"]);
19473
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Table_DatabaseDocument, "database", ["id"]);
19474
19474
  let children;
19475
19475
  if (builder) {
19476
19476
  const sub = new DatabaseSubBuilder();
@@ -19479,7 +19479,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19479
19479
  }
19480
19480
  this._includes.push({
19481
19481
  fieldName: "database",
19482
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseFragmentDoc,
19482
+ fragmentDoc: chunkDQ7S5FF4_cjs.DatabaseFragmentDoc,
19483
19483
  variables,
19484
19484
  isConnection: false,
19485
19485
  isList: false,
@@ -19496,7 +19496,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19496
19496
  }
19497
19497
  /** Include document in this query (Smart Fetch — single HTTP request). */
19498
19498
  document(variables, builder) {
19499
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DocumentDocument, "document", ["id"]);
19499
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Table_DocumentDocument, "document", ["id"]);
19500
19500
  let children;
19501
19501
  if (builder) {
19502
19502
  const sub = new DocumentSubBuilder();
@@ -19505,7 +19505,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19505
19505
  }
19506
19506
  this._includes.push({
19507
19507
  fieldName: "document",
19508
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFragmentDoc,
19508
+ fragmentDoc: chunkDQ7S5FF4_cjs.DocumentFragmentDoc,
19509
19509
  variables,
19510
19510
  isConnection: false,
19511
19511
  isList: false,
@@ -19522,10 +19522,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19522
19522
  }
19523
19523
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
19524
19524
  fromRelations(variables) {
19525
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
19525
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
19526
19526
  this._includes.push({
19527
19527
  fieldName: "fromRelations",
19528
- fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
19528
+ fragmentDoc: chunkDQ7S5FF4_cjs.RelationFragmentDoc,
19529
19529
  variables,
19530
19530
  isConnection: false,
19531
19531
  isList: true,
@@ -19541,10 +19541,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19541
19541
  }
19542
19542
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
19543
19543
  toRelations(variables) {
19544
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
19544
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
19545
19545
  this._includes.push({
19546
19546
  fieldName: "toRelations",
19547
- fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
19547
+ fragmentDoc: chunkDQ7S5FF4_cjs.RelationFragmentDoc,
19548
19548
  variables,
19549
19549
  isConnection: false,
19550
19550
  isList: true,
@@ -19567,14 +19567,14 @@ var Table_DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
19567
19567
  }
19568
19568
  async fetch(options) {
19569
19569
  const variables = this._variables;
19570
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_DatabaseDocument, variables, "table");
19570
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Table_DatabaseDocument, variables, "table");
19571
19571
  const data = response.table?.database;
19572
19572
  return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19573
19573
  }
19574
19574
  watch(options) {
19575
19575
  const variables = this._variables;
19576
19576
  const raw = this._syncEngine.watch(
19577
- chunkEL37Q6V6_cjs.Table_DatabaseDocument,
19577
+ chunkDQ7S5FF4_cjs.Table_DatabaseDocument,
19578
19578
  variables,
19579
19579
  "table",
19580
19580
  async (db) => {
@@ -19597,14 +19597,14 @@ var Table_Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
19597
19597
  }
19598
19598
  async fetch(options) {
19599
19599
  const variables = this._variables;
19600
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Database_EngineDocument, variables, "table");
19600
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Table_Database_EngineDocument, variables, "table");
19601
19601
  const data = response.table?.database?.engine;
19602
19602
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19603
19603
  }
19604
19604
  watch(options) {
19605
19605
  const variables = this._variables;
19606
19606
  const raw = this._syncEngine.watch(
19607
- chunkEL37Q6V6_cjs.Table_Database_EngineDocument,
19607
+ chunkDQ7S5FF4_cjs.Table_Database_EngineDocument,
19608
19608
  variables,
19609
19609
  "table",
19610
19610
  async (db) => {
@@ -19627,14 +19627,14 @@ var Table_DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
19627
19627
  }
19628
19628
  async fetch(options) {
19629
19629
  const variables = this._variables;
19630
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_DocumentDocument, variables, "table");
19630
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Table_DocumentDocument, variables, "table");
19631
19631
  const data = response.table?.document;
19632
19632
  return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19633
19633
  }
19634
19634
  watch(options) {
19635
19635
  const variables = this._variables;
19636
19636
  const raw = this._syncEngine.watch(
19637
- chunkEL37Q6V6_cjs.Table_DocumentDocument,
19637
+ chunkDQ7S5FF4_cjs.Table_DocumentDocument,
19638
19638
  variables,
19639
19639
  "table",
19640
19640
  async (db) => {
@@ -19656,7 +19656,7 @@ var Table_Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
19656
19656
  this._variables = variables;
19657
19657
  }
19658
19658
  async fetch(options) {
19659
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Document_ContentsDocument, this._variables, "table");
19659
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Table_Document_ContentsDocument, this._variables, "table");
19660
19660
  const data = response.table?.document?.contents;
19661
19661
  if (!Array.isArray(data)) return [];
19662
19662
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -19670,14 +19670,14 @@ var Table_Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
19670
19670
  }
19671
19671
  async fetch(options) {
19672
19672
  const variables = this._variables;
19673
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Document_FileDocument, variables, "table");
19673
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Table_Document_FileDocument, variables, "table");
19674
19674
  const data = response.table?.document?.file;
19675
19675
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19676
19676
  }
19677
19677
  watch(options) {
19678
19678
  const variables = this._variables;
19679
19679
  const raw = this._syncEngine.watch(
19680
- chunkEL37Q6V6_cjs.Table_Document_FileDocument,
19680
+ chunkDQ7S5FF4_cjs.Table_Document_FileDocument,
19681
19681
  variables,
19682
19682
  "table",
19683
19683
  async (db) => {
@@ -19700,14 +19700,14 @@ var Table_Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
19700
19700
  }
19701
19701
  async fetch(options) {
19702
19702
  const variables = this._variables;
19703
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Document_FormatDocument, variables, "table");
19703
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Table_Document_FormatDocument, variables, "table");
19704
19704
  const data = response.table?.document?.format;
19705
19705
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19706
19706
  }
19707
19707
  watch(options) {
19708
19708
  const variables = this._variables;
19709
19709
  const raw = this._syncEngine.watch(
19710
- chunkEL37Q6V6_cjs.Table_Document_FormatDocument,
19710
+ chunkDQ7S5FF4_cjs.Table_Document_FormatDocument,
19711
19711
  variables,
19712
19712
  "table",
19713
19713
  async (db) => {
@@ -19729,7 +19729,7 @@ var Table_FromRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
19729
19729
  this._variables = variables;
19730
19730
  }
19731
19731
  async fetch(options) {
19732
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, this._variables, "table");
19732
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Table_FromRelationsDocument, this._variables, "table");
19733
19733
  const data = response.table?.fromRelations;
19734
19734
  if (!Array.isArray(data)) return [];
19735
19735
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -19742,7 +19742,7 @@ var Table_ToRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
19742
19742
  this._variables = variables;
19743
19743
  }
19744
19744
  async fetch(options) {
19745
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, this._variables, "table");
19745
+ const response = await this._syncEngine.query(chunkDQ7S5FF4_cjs.Table_ToRelationsDocument, this._variables, "table");
19746
19746
  const data = response.table?.toRelations;
19747
19747
  if (!Array.isArray(data)) return [];
19748
19748
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -19757,7 +19757,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19757
19757
  }
19758
19758
  async fetch(options) {
19759
19759
  const variables = this._variables;
19760
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TablesDocument, "tables", this._includes, variables, true);
19760
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.TablesDocument, "tables", this._includes, variables, true);
19761
19761
  const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
19762
19762
  const data = response.tables;
19763
19763
  const connection = new TableConnection(this._request, (conn, opts) => new _TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -19774,7 +19774,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19774
19774
  const subscriptionId = crypto.randomUUID();
19775
19775
  const includes = this._includes;
19776
19776
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
19777
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TablesDocument, "tables", includes, variables, true);
19777
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.TablesDocument, "tables", includes, variables, true);
19778
19778
  const raw = this._syncEngine.watch(
19779
19779
  queryDoc,
19780
19780
  mergedVars,
@@ -19809,7 +19809,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19809
19809
  }
19810
19810
  /** Include database in this query (Smart Fetch — single HTTP request). */
19811
19811
  database(variables, builder) {
19812
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DatabaseDocument, "database", ["id"]);
19812
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Table_DatabaseDocument, "database", ["id"]);
19813
19813
  let children;
19814
19814
  if (builder) {
19815
19815
  const sub = new DatabaseSubBuilder();
@@ -19818,7 +19818,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19818
19818
  }
19819
19819
  this._includes.push({
19820
19820
  fieldName: "database",
19821
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseFragmentDoc,
19821
+ fragmentDoc: chunkDQ7S5FF4_cjs.DatabaseFragmentDoc,
19822
19822
  variables,
19823
19823
  isConnection: false,
19824
19824
  isList: false,
@@ -19835,7 +19835,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19835
19835
  }
19836
19836
  /** Include document in this query (Smart Fetch — single HTTP request). */
19837
19837
  document(variables, builder) {
19838
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DocumentDocument, "document", ["id"]);
19838
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Table_DocumentDocument, "document", ["id"]);
19839
19839
  let children;
19840
19840
  if (builder) {
19841
19841
  const sub = new DocumentSubBuilder();
@@ -19844,7 +19844,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19844
19844
  }
19845
19845
  this._includes.push({
19846
19846
  fieldName: "document",
19847
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFragmentDoc,
19847
+ fragmentDoc: chunkDQ7S5FF4_cjs.DocumentFragmentDoc,
19848
19848
  variables,
19849
19849
  isConnection: false,
19850
19850
  isList: false,
@@ -19861,10 +19861,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19861
19861
  }
19862
19862
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
19863
19863
  fromRelations(variables) {
19864
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
19864
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
19865
19865
  this._includes.push({
19866
19866
  fieldName: "fromRelations",
19867
- fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
19867
+ fragmentDoc: chunkDQ7S5FF4_cjs.RelationFragmentDoc,
19868
19868
  variables,
19869
19869
  isConnection: false,
19870
19870
  isList: true,
@@ -19880,10 +19880,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19880
19880
  }
19881
19881
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
19882
19882
  toRelations(variables) {
19883
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
19883
+ const info = extractIncludeInfo(chunkDQ7S5FF4_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
19884
19884
  this._includes.push({
19885
19885
  fieldName: "toRelations",
19886
- fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
19886
+ fragmentDoc: chunkDQ7S5FF4_cjs.RelationFragmentDoc,
19887
19887
  variables,
19888
19888
  isConnection: false,
19889
19889
  isList: true,
@@ -19907,7 +19907,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
19907
19907
  }
19908
19908
  async fetch(options) {
19909
19909
  const variables = this._variables;
19910
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
19910
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
19911
19911
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
19912
19912
  const data = response.userSkillFile;
19913
19913
  const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -19919,7 +19919,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
19919
19919
  watch(options) {
19920
19920
  const variables = this._variables;
19921
19921
  const includes = this._includes;
19922
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
19922
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
19923
19923
  const raw = this._syncEngine.watch(
19924
19924
  queryDoc,
19925
19925
  mergedVars,
@@ -19956,7 +19956,7 @@ var UserSkillFilesQuery = class extends chunk342BFYZZ_cjs.Request {
19956
19956
  this._variables = variables;
19957
19957
  }
19958
19958
  async fetch(options) {
19959
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
19959
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
19960
19960
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
19961
19961
  const data = response.userSkillFiles;
19962
19962
  if (!Array.isArray(data)) return [];
@@ -19972,7 +19972,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
19972
19972
  }
19973
19973
  async fetch(options) {
19974
19974
  const variables = this._variables;
19975
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
19975
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
19976
19976
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
19977
19977
  const data = response.userSkillFolder;
19978
19978
  const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -19984,7 +19984,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
19984
19984
  watch(options) {
19985
19985
  const variables = this._variables;
19986
19986
  const includes = this._includes;
19987
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
19987
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
19988
19988
  const raw = this._syncEngine.watch(
19989
19989
  queryDoc,
19990
19990
  mergedVars,
@@ -20021,7 +20021,7 @@ var UserSkillFoldersQuery = class extends chunk342BFYZZ_cjs.Request {
20021
20021
  this._variables = variables;
20022
20022
  }
20023
20023
  async fetch(options) {
20024
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
20024
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
20025
20025
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
20026
20026
  const data = response.userSkillFolders;
20027
20027
  if (!Array.isArray(data)) return [];
@@ -20037,7 +20037,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
20037
20037
  }
20038
20038
  async fetch(options) {
20039
20039
  const variables = this._variables;
20040
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
20040
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
20041
20041
  const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
20042
20042
  const data = response.workspaceDeletionSchedule;
20043
20043
  if (!data) return void 0;
@@ -20050,7 +20050,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
20050
20050
  watch(options) {
20051
20051
  const variables = this._variables;
20052
20052
  const includes = this._includes;
20053
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
20053
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkDQ7S5FF4_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
20054
20054
  const raw = this._syncEngine.watch(
20055
20055
  queryDoc,
20056
20056
  mergedVars,
@@ -20082,7 +20082,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
20082
20082
  };
20083
20083
  var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
20084
20084
  async *subscribe(variables) {
20085
- for await (const response of this._subscribe(chunkEL37Q6V6_cjs.McpAuthUpdatesDocument, variables)) {
20085
+ for await (const response of this._subscribe(chunkDQ7S5FF4_cjs.McpAuthUpdatesDocument, variables)) {
20086
20086
  const data = response.mcpAuthUpdates;
20087
20087
  yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
20088
20088
  }
@@ -20090,7 +20090,7 @@ var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
20090
20090
  };
20091
20091
  var TokenUsageUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
20092
20092
  async *subscribe(variables) {
20093
- for await (const response of this._subscribe(chunkEL37Q6V6_cjs.TokenUsageUpdatesDocument, variables)) {
20093
+ for await (const response of this._subscribe(chunkDQ7S5FF4_cjs.TokenUsageUpdatesDocument, variables)) {
20094
20094
  const data = response.tokenUsageUpdates;
20095
20095
  yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
20096
20096
  }
@@ -21032,5 +21032,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
21032
21032
  exports.reconstructConnectionNodes = reconstructConnectionNodes;
21033
21033
  exports.reconstructEntity = reconstructEntity;
21034
21034
  exports.uploadFile = uploadFile;
21035
- //# sourceMappingURL=chunk-JI734QZE.cjs.map
21036
- //# sourceMappingURL=chunk-JI734QZE.cjs.map
21035
+ //# sourceMappingURL=chunk-F5JJJBQF.cjs.map
21036
+ //# sourceMappingURL=chunk-F5JJJBQF.cjs.map