@dvina/sdk 4.0.105 → 4.0.109

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 chunkE45DZR4J_cjs = require('./chunk-E45DZR4J.cjs');
7
+ var chunkGL6CUR7S_cjs = require('./chunk-GL6CUR7S.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
@@ -9586,7 +9586,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
9586
9586
  var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
9587
9587
  var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
9588
9588
  async function uploadFile(request, getToken, file, name, options) {
9589
- const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-7IV3BIIO.cjs');
9589
+ const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-H4JUEJGN.cjs');
9590
9590
  const key = `upload_${Date.now()}`;
9591
9591
  const response = await request(
9592
9592
  GenerateUploadUriDocument2,
@@ -11035,6 +11035,7 @@ var Insight = class extends DvinaModel {
11035
11035
  pivotConfig;
11036
11036
  presentation;
11037
11037
  query;
11038
+ thumbnailFileId;
11038
11039
  updatedAt;
11039
11040
  _chat;
11040
11041
  constructor(request, data, syncEngine, baseUrl) {
@@ -11047,6 +11048,7 @@ var Insight = class extends DvinaModel {
11047
11048
  this.pivotConfig = data.pivotConfig ?? void 0;
11048
11049
  this.presentation = data.presentation;
11049
11050
  this.query = data.query;
11051
+ this.thumbnailFileId = data.thumbnailFileId ?? void 0;
11050
11052
  this.updatedAt = new Date(data.updatedAt);
11051
11053
  this._chat = data.chat ?? void 0;
11052
11054
  }
@@ -11066,6 +11068,10 @@ var Insight = class extends DvinaModel {
11066
11068
  reports(variables) {
11067
11069
  return new Insight_ReportsQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
11068
11070
  }
11071
+ /** Query the thumbnailFile relation for this Insight. Call .fetch() or .watch() to execute. */
11072
+ thumbnailFile(variables) {
11073
+ return new Insight_ThumbnailFileQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
11074
+ }
11069
11075
  };
11070
11076
  var Integration = class extends DvinaModel {
11071
11077
  connectedAt;
@@ -12103,7 +12109,7 @@ var AgentSubBuilder = class {
12103
12109
  _includes = [];
12104
12110
  /** Include chats in the parent query. */
12105
12111
  chats(variables, builder) {
12106
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Agent_ChatsDocument, "chats", ["id"]);
12112
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Agent_ChatsDocument, "chats", ["id"]);
12107
12113
  let children;
12108
12114
  if (builder) {
12109
12115
  const sub = new ChatSubBuilder();
@@ -12112,7 +12118,7 @@ var AgentSubBuilder = class {
12112
12118
  }
12113
12119
  this._includes.push({
12114
12120
  fieldName: "chats",
12115
- fragmentDoc: chunkE45DZR4J_cjs.ChatConnectionFragmentDoc,
12121
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatConnectionFragmentDoc,
12116
12122
  variables,
12117
12123
  isConnection: true,
12118
12124
  isList: false,
@@ -12134,7 +12140,7 @@ var ArtifactSubBuilder = class {
12134
12140
  _includes = [];
12135
12141
  /** Include chat in the parent query. */
12136
12142
  chat(variables, builder) {
12137
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Artifact_ChatDocument, "chat", ["id"]);
12143
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_ChatDocument, "chat", ["id"]);
12138
12144
  let children;
12139
12145
  if (builder) {
12140
12146
  const sub = new ChatSubBuilder();
@@ -12143,7 +12149,7 @@ var ArtifactSubBuilder = class {
12143
12149
  }
12144
12150
  this._includes.push({
12145
12151
  fieldName: "chat",
12146
- fragmentDoc: chunkE45DZR4J_cjs.ChatFragmentDoc,
12152
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
12147
12153
  variables,
12148
12154
  isConnection: false,
12149
12155
  isList: false,
@@ -12160,10 +12166,10 @@ var ArtifactSubBuilder = class {
12160
12166
  }
12161
12167
  /** Include file in the parent query. */
12162
12168
  file(variables) {
12163
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Artifact_FileDocument, "file", ["id"]);
12169
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_FileDocument, "file", ["id"]);
12164
12170
  this._includes.push({
12165
12171
  fieldName: "file",
12166
- fragmentDoc: chunkE45DZR4J_cjs.FileFragmentDoc,
12172
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
12167
12173
  variables,
12168
12174
  isConnection: false,
12169
12175
  isList: false,
@@ -12179,7 +12185,7 @@ var ArtifactSubBuilder = class {
12179
12185
  }
12180
12186
  /** Include message in the parent query. */
12181
12187
  message(variables, builder) {
12182
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Artifact_MessageDocument, "message", ["id"]);
12188
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_MessageDocument, "message", ["id"]);
12183
12189
  let children;
12184
12190
  if (builder) {
12185
12191
  const sub = new ChatMessageSubBuilder();
@@ -12188,7 +12194,7 @@ var ArtifactSubBuilder = class {
12188
12194
  }
12189
12195
  this._includes.push({
12190
12196
  fieldName: "message",
12191
- fragmentDoc: chunkE45DZR4J_cjs.ChatMessageFragmentDoc,
12197
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageFragmentDoc,
12192
12198
  variables,
12193
12199
  isConnection: false,
12194
12200
  isList: false,
@@ -12209,7 +12215,7 @@ var ChatSubBuilder = class {
12209
12215
  _includes = [];
12210
12216
  /** Include agents in the parent query. */
12211
12217
  agents(variables, builder) {
12212
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Chat_AgentsDocument, "agents", ["id"]);
12218
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_AgentsDocument, "agents", ["id"]);
12213
12219
  let children;
12214
12220
  if (builder) {
12215
12221
  const sub = new AgentSubBuilder();
@@ -12218,7 +12224,7 @@ var ChatSubBuilder = class {
12218
12224
  }
12219
12225
  this._includes.push({
12220
12226
  fieldName: "agents",
12221
- fragmentDoc: chunkE45DZR4J_cjs.AgentConnectionFragmentDoc,
12227
+ fragmentDoc: chunkGL6CUR7S_cjs.AgentConnectionFragmentDoc,
12222
12228
  variables,
12223
12229
  isConnection: true,
12224
12230
  isList: false,
@@ -12236,7 +12242,7 @@ var ChatSubBuilder = class {
12236
12242
  }
12237
12243
  /** Include artifacts in the parent query. */
12238
12244
  artifacts(variables, builder) {
12239
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
12245
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
12240
12246
  let children;
12241
12247
  if (builder) {
12242
12248
  const sub = new ArtifactSubBuilder();
@@ -12245,7 +12251,7 @@ var ChatSubBuilder = class {
12245
12251
  }
12246
12252
  this._includes.push({
12247
12253
  fieldName: "artifacts",
12248
- fragmentDoc: chunkE45DZR4J_cjs.ArtifactConnectionFragmentDoc,
12254
+ fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
12249
12255
  variables,
12250
12256
  isConnection: true,
12251
12257
  isList: false,
@@ -12263,7 +12269,7 @@ var ChatSubBuilder = class {
12263
12269
  }
12264
12270
  /** Include insight in the parent query. */
12265
12271
  insight(variables, builder) {
12266
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Chat_InsightDocument, "insight", ["id"]);
12272
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_InsightDocument, "insight", ["id"]);
12267
12273
  let children;
12268
12274
  if (builder) {
12269
12275
  const sub = new InsightSubBuilder();
@@ -12272,7 +12278,7 @@ var ChatSubBuilder = class {
12272
12278
  }
12273
12279
  this._includes.push({
12274
12280
  fieldName: "insight",
12275
- fragmentDoc: chunkE45DZR4J_cjs.InsightFragmentDoc,
12281
+ fragmentDoc: chunkGL6CUR7S_cjs.InsightFragmentDoc,
12276
12282
  variables,
12277
12283
  isConnection: false,
12278
12284
  isList: false,
@@ -12289,7 +12295,7 @@ var ChatSubBuilder = class {
12289
12295
  }
12290
12296
  /** Include messages in the parent query. */
12291
12297
  messages(variables, builder) {
12292
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Chat_MessagesDocument, "messages", ["id"]);
12298
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_MessagesDocument, "messages", ["id"]);
12293
12299
  let children;
12294
12300
  if (builder) {
12295
12301
  const sub = new ChatMessageSubBuilder();
@@ -12298,7 +12304,7 @@ var ChatSubBuilder = class {
12298
12304
  }
12299
12305
  this._includes.push({
12300
12306
  fieldName: "messages",
12301
- fragmentDoc: chunkE45DZR4J_cjs.ChatMessageConnectionFragmentDoc,
12307
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageConnectionFragmentDoc,
12302
12308
  variables,
12303
12309
  isConnection: true,
12304
12310
  isList: false,
@@ -12320,7 +12326,7 @@ var ChatMessageSubBuilder = class {
12320
12326
  _includes = [];
12321
12327
  /** Include artifacts in the parent query. */
12322
12328
  artifacts(variables, builder) {
12323
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
12329
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
12324
12330
  let children;
12325
12331
  if (builder) {
12326
12332
  const sub = new ArtifactSubBuilder();
@@ -12329,7 +12335,7 @@ var ChatMessageSubBuilder = class {
12329
12335
  }
12330
12336
  this._includes.push({
12331
12337
  fieldName: "artifacts",
12332
- fragmentDoc: chunkE45DZR4J_cjs.ArtifactConnectionFragmentDoc,
12338
+ fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
12333
12339
  variables,
12334
12340
  isConnection: true,
12335
12341
  isList: false,
@@ -12347,7 +12353,7 @@ var ChatMessageSubBuilder = class {
12347
12353
  }
12348
12354
  /** Include chat in the parent query. */
12349
12355
  chat(variables, builder) {
12350
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
12356
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
12351
12357
  let children;
12352
12358
  if (builder) {
12353
12359
  const sub = new ChatSubBuilder();
@@ -12356,7 +12362,7 @@ var ChatMessageSubBuilder = class {
12356
12362
  }
12357
12363
  this._includes.push({
12358
12364
  fieldName: "chat",
12359
- fragmentDoc: chunkE45DZR4J_cjs.ChatFragmentDoc,
12365
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
12360
12366
  variables,
12361
12367
  isConnection: false,
12362
12368
  isList: false,
@@ -12373,10 +12379,10 @@ var ChatMessageSubBuilder = class {
12373
12379
  }
12374
12380
  /** Include contents in the parent query. */
12375
12381
  contents(variables) {
12376
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
12382
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
12377
12383
  this._includes.push({
12378
12384
  fieldName: "contents",
12379
- fragmentDoc: chunkE45DZR4J_cjs.ContentBlockFragmentDoc,
12385
+ fragmentDoc: chunkGL6CUR7S_cjs.ContentBlockFragmentDoc,
12380
12386
  variables,
12381
12387
  isConnection: false,
12382
12388
  isList: true,
@@ -12392,10 +12398,10 @@ var ChatMessageSubBuilder = class {
12392
12398
  }
12393
12399
  /** Include feedback in the parent query. */
12394
12400
  feedback(variables) {
12395
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
12401
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
12396
12402
  this._includes.push({
12397
12403
  fieldName: "feedback",
12398
- fragmentDoc: chunkE45DZR4J_cjs.FeedbackFragmentDoc,
12404
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedbackFragmentDoc,
12399
12405
  variables,
12400
12406
  isConnection: false,
12401
12407
  isList: false,
@@ -12415,10 +12421,10 @@ var DatabaseSubBuilder = class {
12415
12421
  _includes = [];
12416
12422
  /** Include engine in the parent query. */
12417
12423
  engine(variables) {
12418
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Database_EngineDocument, "engine", ["id"]);
12424
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_EngineDocument, "engine", ["id"]);
12419
12425
  this._includes.push({
12420
12426
  fieldName: "engine",
12421
- fragmentDoc: chunkE45DZR4J_cjs.DatabaseEngineFragmentDoc,
12427
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
12422
12428
  variables,
12423
12429
  isConnection: false,
12424
12430
  isList: false,
@@ -12434,7 +12440,7 @@ var DatabaseSubBuilder = class {
12434
12440
  }
12435
12441
  /** Include tables in the parent query. */
12436
12442
  tables(variables, builder) {
12437
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Database_TablesDocument, "tables", ["id"]);
12443
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_TablesDocument, "tables", ["id"]);
12438
12444
  let children;
12439
12445
  if (builder) {
12440
12446
  const sub = new TableSubBuilder();
@@ -12443,7 +12449,7 @@ var DatabaseSubBuilder = class {
12443
12449
  }
12444
12450
  this._includes.push({
12445
12451
  fieldName: "tables",
12446
- fragmentDoc: chunkE45DZR4J_cjs.TableConnectionFragmentDoc,
12452
+ fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
12447
12453
  variables,
12448
12454
  isConnection: true,
12449
12455
  isList: false,
@@ -12465,10 +12471,10 @@ var DatabaseCatalogSubBuilder = class {
12465
12471
  _includes = [];
12466
12472
  /** Include engine in the parent query. */
12467
12473
  engine(variables) {
12468
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.DatabaseCatalog_EngineDocument, "engine", []);
12474
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, "engine", []);
12469
12475
  this._includes.push({
12470
12476
  fieldName: "engine",
12471
- fragmentDoc: chunkE45DZR4J_cjs.DatabaseEngineFragmentDoc,
12477
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
12472
12478
  variables,
12473
12479
  isConnection: false,
12474
12480
  isList: false,
@@ -12488,10 +12494,10 @@ var DocumentSubBuilder = class {
12488
12494
  _includes = [];
12489
12495
  /** Include contents in the parent query. */
12490
12496
  contents(variables) {
12491
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Document_ContentsDocument, "contents", ["id"]);
12497
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_ContentsDocument, "contents", ["id"]);
12492
12498
  this._includes.push({
12493
12499
  fieldName: "contents",
12494
- fragmentDoc: chunkE45DZR4J_cjs.DocumentContentFragmentDoc,
12500
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentContentFragmentDoc,
12495
12501
  variables,
12496
12502
  isConnection: false,
12497
12503
  isList: true,
@@ -12507,10 +12513,10 @@ var DocumentSubBuilder = class {
12507
12513
  }
12508
12514
  /** Include file in the parent query. */
12509
12515
  file(variables) {
12510
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Document_FileDocument, "file", ["id"]);
12516
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FileDocument, "file", ["id"]);
12511
12517
  this._includes.push({
12512
12518
  fieldName: "file",
12513
- fragmentDoc: chunkE45DZR4J_cjs.FileFragmentDoc,
12519
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
12514
12520
  variables,
12515
12521
  isConnection: false,
12516
12522
  isList: false,
@@ -12526,10 +12532,10 @@ var DocumentSubBuilder = class {
12526
12532
  }
12527
12533
  /** Include format in the parent query. */
12528
12534
  format(variables) {
12529
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Document_FormatDocument, "format", ["id"]);
12535
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FormatDocument, "format", ["id"]);
12530
12536
  this._includes.push({
12531
12537
  fieldName: "format",
12532
- fragmentDoc: chunkE45DZR4J_cjs.DocumentFormatFragmentDoc,
12538
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
12533
12539
  variables,
12534
12540
  isConnection: false,
12535
12541
  isList: false,
@@ -12545,7 +12551,7 @@ var DocumentSubBuilder = class {
12545
12551
  }
12546
12552
  /** Include tables in the parent query. */
12547
12553
  tables(variables, builder) {
12548
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Document_TablesDocument, "tables", ["id"]);
12554
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_TablesDocument, "tables", ["id"]);
12549
12555
  let children;
12550
12556
  if (builder) {
12551
12557
  const sub = new TableSubBuilder();
@@ -12554,7 +12560,7 @@ var DocumentSubBuilder = class {
12554
12560
  }
12555
12561
  this._includes.push({
12556
12562
  fieldName: "tables",
12557
- fragmentDoc: chunkE45DZR4J_cjs.TableConnectionFragmentDoc,
12563
+ fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
12558
12564
  variables,
12559
12565
  isConnection: true,
12560
12566
  isList: false,
@@ -12576,10 +12582,10 @@ var DocumentCatalogSubBuilder = class {
12576
12582
  _includes = [];
12577
12583
  /** Include format in the parent query. */
12578
12584
  format(variables) {
12579
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.DocumentCatalog_FormatDocument, "format", []);
12585
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, "format", []);
12580
12586
  this._includes.push({
12581
12587
  fieldName: "format",
12582
- fragmentDoc: chunkE45DZR4J_cjs.DocumentFormatFragmentDoc,
12588
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
12583
12589
  variables,
12584
12590
  isConnection: false,
12585
12591
  isList: false,
@@ -12599,10 +12605,10 @@ var FeedItemSubBuilder = class {
12599
12605
  _includes = [];
12600
12606
  /** Include action in the parent query. */
12601
12607
  action(variables) {
12602
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.FeedItem_ActionDocument, "action", ["id"]);
12608
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, "action", ["id"]);
12603
12609
  this._includes.push({
12604
12610
  fieldName: "action",
12605
- fragmentDoc: chunkE45DZR4J_cjs.FeedSendMessageActionFragmentDoc,
12611
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedSendMessageActionFragmentDoc,
12606
12612
  variables,
12607
12613
  isConnection: false,
12608
12614
  isList: false,
@@ -12618,10 +12624,10 @@ var FeedItemSubBuilder = class {
12618
12624
  }
12619
12625
  /** Include data in the parent query. */
12620
12626
  data(variables) {
12621
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.FeedItem_DataDocument, "data", ["id"]);
12627
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_DataDocument, "data", ["id"]);
12622
12628
  this._includes.push({
12623
12629
  fieldName: "data",
12624
- fragmentDoc: chunkE45DZR4J_cjs.FeedArtifactDataFragmentDoc,
12630
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedArtifactDataFragmentDoc,
12625
12631
  variables,
12626
12632
  isConnection: false,
12627
12633
  isList: true,
@@ -12641,7 +12647,7 @@ var InsightSubBuilder = class {
12641
12647
  _includes = [];
12642
12648
  /** Include chat in the parent query. */
12643
12649
  chat(variables, builder) {
12644
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Insight_ChatDocument, "chat", ["id"]);
12650
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ChatDocument, "chat", ["id"]);
12645
12651
  let children;
12646
12652
  if (builder) {
12647
12653
  const sub = new ChatSubBuilder();
@@ -12650,7 +12656,7 @@ var InsightSubBuilder = class {
12650
12656
  }
12651
12657
  this._includes.push({
12652
12658
  fieldName: "chat",
12653
- fragmentDoc: chunkE45DZR4J_cjs.ChatFragmentDoc,
12659
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
12654
12660
  variables,
12655
12661
  isConnection: false,
12656
12662
  isList: false,
@@ -12667,10 +12673,10 @@ var InsightSubBuilder = class {
12667
12673
  }
12668
12674
  /** Include reportMembers in the parent query. */
12669
12675
  reportMembers(variables) {
12670
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
12676
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
12671
12677
  this._includes.push({
12672
12678
  fieldName: "reportMembers",
12673
- fragmentDoc: chunkE45DZR4J_cjs.ReportMemberFragmentDoc,
12679
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
12674
12680
  variables,
12675
12681
  isConnection: false,
12676
12682
  isList: true,
@@ -12686,7 +12692,7 @@ var InsightSubBuilder = class {
12686
12692
  }
12687
12693
  /** Include reports in the parent query. */
12688
12694
  reports(variables, builder) {
12689
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Insight_ReportsDocument, "reports", ["id"]);
12695
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportsDocument, "reports", ["id"]);
12690
12696
  let children;
12691
12697
  if (builder) {
12692
12698
  const sub = new ReportSubBuilder();
@@ -12695,7 +12701,7 @@ var InsightSubBuilder = class {
12695
12701
  }
12696
12702
  this._includes.push({
12697
12703
  fieldName: "reports",
12698
- fragmentDoc: chunkE45DZR4J_cjs.ReportConnectionFragmentDoc,
12704
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportConnectionFragmentDoc,
12699
12705
  variables,
12700
12706
  isConnection: true,
12701
12707
  isList: false,
@@ -12711,16 +12717,35 @@ var InsightSubBuilder = class {
12711
12717
  });
12712
12718
  return this;
12713
12719
  }
12720
+ /** Include thumbnailFile in the parent query. */
12721
+ thumbnailFile(variables) {
12722
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
12723
+ this._includes.push({
12724
+ fieldName: "thumbnailFile",
12725
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
12726
+ variables,
12727
+ isConnection: false,
12728
+ isList: false,
12729
+ variableDefinitions: info.variableDefinitions,
12730
+ fieldArguments: info.fieldArguments,
12731
+ syncMetadata: {
12732
+ entityType: "files",
12733
+ requiredFields: ["createdAt", "id", "path", "updatedAt"]
12734
+ },
12735
+ modelFactory: (req, data, se, bu) => new File(req, data, se, bu)
12736
+ });
12737
+ return this;
12738
+ }
12714
12739
  };
12715
12740
  var IntegrationSubBuilder = class {
12716
12741
  /** @internal */
12717
12742
  _includes = [];
12718
12743
  /** Include provider in the parent query. */
12719
12744
  provider(variables) {
12720
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Integration_ProviderDocument, "provider", ["id"]);
12745
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Integration_ProviderDocument, "provider", ["id"]);
12721
12746
  this._includes.push({
12722
12747
  fieldName: "provider",
12723
- fragmentDoc: chunkE45DZR4J_cjs.IntegrationProviderFragmentDoc,
12748
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
12724
12749
  variables,
12725
12750
  isConnection: false,
12726
12751
  isList: false,
@@ -12740,10 +12765,10 @@ var IntegrationCatalogSubBuilder = class {
12740
12765
  _includes = [];
12741
12766
  /** Include provider in the parent query. */
12742
12767
  provider(variables) {
12743
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
12768
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
12744
12769
  this._includes.push({
12745
12770
  fieldName: "provider",
12746
- fragmentDoc: chunkE45DZR4J_cjs.IntegrationProviderFragmentDoc,
12771
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
12747
12772
  variables,
12748
12773
  isConnection: false,
12749
12774
  isList: false,
@@ -12763,7 +12788,7 @@ var PulseEventSubBuilder = class {
12763
12788
  _includes = [];
12764
12789
  /** Include integration in the parent query. */
12765
12790
  integration(variables, builder) {
12766
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
12791
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
12767
12792
  let children;
12768
12793
  if (builder) {
12769
12794
  const sub = new IntegrationSubBuilder();
@@ -12772,7 +12797,7 @@ var PulseEventSubBuilder = class {
12772
12797
  }
12773
12798
  this._includes.push({
12774
12799
  fieldName: "integration",
12775
- fragmentDoc: chunkE45DZR4J_cjs.IntegrationFragmentDoc,
12800
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationFragmentDoc,
12776
12801
  variables,
12777
12802
  isConnection: false,
12778
12803
  isList: false,
@@ -12793,7 +12818,7 @@ var ReportSubBuilder = class {
12793
12818
  _includes = [];
12794
12819
  /** Include insights in the parent query. */
12795
12820
  insights(variables, builder) {
12796
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Report_InsightsDocument, "insights", ["id"]);
12821
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_InsightsDocument, "insights", ["id"]);
12797
12822
  let children;
12798
12823
  if (builder) {
12799
12824
  const sub = new InsightSubBuilder();
@@ -12802,7 +12827,7 @@ var ReportSubBuilder = class {
12802
12827
  }
12803
12828
  this._includes.push({
12804
12829
  fieldName: "insights",
12805
- fragmentDoc: chunkE45DZR4J_cjs.InsightConnectionFragmentDoc,
12830
+ fragmentDoc: chunkGL6CUR7S_cjs.InsightConnectionFragmentDoc,
12806
12831
  variables,
12807
12832
  isConnection: true,
12808
12833
  isList: false,
@@ -12820,10 +12845,10 @@ var ReportSubBuilder = class {
12820
12845
  }
12821
12846
  /** Include layout in the parent query. */
12822
12847
  layout(variables) {
12823
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Report_LayoutDocument, "layout", ["id"]);
12848
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_LayoutDocument, "layout", ["id"]);
12824
12849
  this._includes.push({
12825
12850
  fieldName: "layout",
12826
- fragmentDoc: chunkE45DZR4J_cjs.ReportMemberFragmentDoc,
12851
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
12827
12852
  variables,
12828
12853
  isConnection: false,
12829
12854
  isList: true,
@@ -12843,7 +12868,7 @@ var TableSubBuilder = class {
12843
12868
  _includes = [];
12844
12869
  /** Include database in the parent query. */
12845
12870
  database(variables, builder) {
12846
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Table_DatabaseDocument, "database", ["id"]);
12871
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DatabaseDocument, "database", ["id"]);
12847
12872
  let children;
12848
12873
  if (builder) {
12849
12874
  const sub = new DatabaseSubBuilder();
@@ -12852,7 +12877,7 @@ var TableSubBuilder = class {
12852
12877
  }
12853
12878
  this._includes.push({
12854
12879
  fieldName: "database",
12855
- fragmentDoc: chunkE45DZR4J_cjs.DatabaseFragmentDoc,
12880
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseFragmentDoc,
12856
12881
  variables,
12857
12882
  isConnection: false,
12858
12883
  isList: false,
@@ -12869,7 +12894,7 @@ var TableSubBuilder = class {
12869
12894
  }
12870
12895
  /** Include document in the parent query. */
12871
12896
  document(variables, builder) {
12872
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Table_DocumentDocument, "document", ["id"]);
12897
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DocumentDocument, "document", ["id"]);
12873
12898
  let children;
12874
12899
  if (builder) {
12875
12900
  const sub = new DocumentSubBuilder();
@@ -12878,7 +12903,7 @@ var TableSubBuilder = class {
12878
12903
  }
12879
12904
  this._includes.push({
12880
12905
  fieldName: "document",
12881
- fragmentDoc: chunkE45DZR4J_cjs.DocumentFragmentDoc,
12906
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFragmentDoc,
12882
12907
  variables,
12883
12908
  isConnection: false,
12884
12909
  isList: false,
@@ -12895,10 +12920,10 @@ var TableSubBuilder = class {
12895
12920
  }
12896
12921
  /** Include fromRelations in the parent query. */
12897
12922
  fromRelations(variables) {
12898
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
12923
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
12899
12924
  this._includes.push({
12900
12925
  fieldName: "fromRelations",
12901
- fragmentDoc: chunkE45DZR4J_cjs.RelationFragmentDoc,
12926
+ fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
12902
12927
  variables,
12903
12928
  isConnection: false,
12904
12929
  isList: true,
@@ -12914,10 +12939,10 @@ var TableSubBuilder = class {
12914
12939
  }
12915
12940
  /** Include toRelations in the parent query. */
12916
12941
  toRelations(variables) {
12917
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
12942
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
12918
12943
  this._includes.push({
12919
12944
  fieldName: "toRelations",
12920
- fragmentDoc: chunkE45DZR4J_cjs.RelationFragmentDoc,
12945
+ fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
12921
12946
  variables,
12922
12947
  isConnection: false,
12923
12948
  isList: true,
@@ -12934,414 +12959,427 @@ var TableSubBuilder = class {
12934
12959
  };
12935
12960
  var AddInsightToReportMutation = class extends chunk342BFYZZ_cjs.Request {
12936
12961
  async fetch(variables, options) {
12937
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
12962
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
12938
12963
  const data = response.addInsightToReport;
12939
12964
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
12940
12965
  }
12941
12966
  };
12942
12967
  var CancelOauthFlowMutation = class extends chunk342BFYZZ_cjs.Request {
12943
12968
  async fetch(variables) {
12944
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
12969
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
12945
12970
  return response.cancelOauthFlow;
12946
12971
  }
12947
12972
  };
12948
12973
  var CancelWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
12949
12974
  async fetch(variables) {
12950
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
12975
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
12951
12976
  return response.cancelWorkspaceDeletion;
12952
12977
  }
12953
12978
  };
12954
12979
  var ConnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
12955
12980
  async fetch(variables, options) {
12956
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
12981
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
12957
12982
  const data = response.connectIntegration;
12958
12983
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
12959
12984
  }
12960
12985
  };
12961
12986
  var ConsumePulseEventsMutation = class extends chunk342BFYZZ_cjs.Request {
12962
12987
  async fetch(variables) {
12963
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
12988
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
12964
12989
  return response.consumePulseEvents;
12965
12990
  }
12966
12991
  };
12967
12992
  var ContinueImportedChatMutation = class extends chunk342BFYZZ_cjs.Request {
12968
12993
  async fetch(variables) {
12969
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
12994
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
12970
12995
  return response.continueImportedChat;
12971
12996
  }
12972
12997
  };
12973
12998
  var ContinueInterpretationMutation = class extends chunk342BFYZZ_cjs.Request {
12974
12999
  async fetch(variables) {
12975
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
13000
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
12976
13001
  return response.continueInterpretation;
12977
13002
  }
12978
13003
  };
12979
13004
  var CreateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
12980
13005
  async fetch(variables, options) {
12981
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
13006
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
12982
13007
  const data = response.createAgent;
12983
13008
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
12984
13009
  }
12985
13010
  };
12986
13011
  var CreateChatMutation = class extends chunk342BFYZZ_cjs.Request {
12987
13012
  async fetch(variables, options) {
12988
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
13013
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
12989
13014
  const data = response.createChat;
12990
13015
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
12991
13016
  }
12992
13017
  };
12993
13018
  var CreateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
12994
13019
  async fetch(variables, options) {
12995
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
13020
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
12996
13021
  const data = response.createDatabase;
12997
13022
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
12998
13023
  }
12999
13024
  };
13000
13025
  var CreateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13001
13026
  async fetch(variables, options) {
13002
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
13027
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
13003
13028
  const data = response.createDocument;
13004
13029
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13005
13030
  }
13006
13031
  };
13007
13032
  var CreateFeedbackMutation = class extends chunk342BFYZZ_cjs.Request {
13008
13033
  async fetch(variables, options) {
13009
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
13034
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
13010
13035
  const data = response.createFeedback;
13011
13036
  return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
13012
13037
  }
13013
13038
  };
13014
13039
  var CreateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13015
13040
  async fetch(variables, options) {
13016
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
13041
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
13017
13042
  const data = response.createFolder;
13018
13043
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
13019
13044
  }
13020
13045
  };
13021
13046
  var CreateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13022
13047
  async fetch(variables, options) {
13023
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
13048
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
13024
13049
  const data = response.createInsight;
13025
13050
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13026
13051
  }
13027
13052
  };
13028
13053
  var CreateIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
13029
13054
  async fetch(variables, options) {
13030
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
13055
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
13031
13056
  const data = response.createIntegration;
13032
13057
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
13033
13058
  }
13034
13059
  };
13035
13060
  var CreateReportMutation = class extends chunk342BFYZZ_cjs.Request {
13036
13061
  async fetch(variables, options) {
13037
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
13062
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
13038
13063
  const data = response.createReport;
13039
13064
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13040
13065
  }
13041
13066
  };
13042
13067
  var CreateTableMutation = class extends chunk342BFYZZ_cjs.Request {
13043
13068
  async fetch(variables, options) {
13044
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
13069
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
13045
13070
  const data = response.createTable;
13046
13071
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
13047
13072
  }
13048
13073
  };
13049
13074
  var CreateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
13050
13075
  async fetch(variables, options) {
13051
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
13076
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
13052
13077
  const data = response.createUserSkillFile;
13053
13078
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
13054
13079
  }
13055
13080
  };
13056
13081
  var CreateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13057
13082
  async fetch(variables, options) {
13058
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
13083
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
13059
13084
  const data = response.createUserSkillFolder;
13060
13085
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
13061
13086
  }
13062
13087
  };
13063
13088
  var DeleteAgentMutation = class extends chunk342BFYZZ_cjs.Request {
13064
13089
  async fetch(variables, options) {
13065
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
13090
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
13066
13091
  const data = response.deleteAgent;
13067
13092
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
13068
13093
  }
13069
13094
  };
13070
13095
  var DeleteArtifactMutation = class extends chunk342BFYZZ_cjs.Request {
13071
13096
  async fetch(variables, options) {
13072
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
13097
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
13073
13098
  const data = response.deleteArtifact;
13074
13099
  return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
13075
13100
  }
13076
13101
  };
13077
13102
  var DeleteChatMutation = class extends chunk342BFYZZ_cjs.Request {
13078
13103
  async fetch(variables, options) {
13079
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
13104
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
13080
13105
  const data = response.deleteChat;
13081
13106
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
13082
13107
  }
13083
13108
  };
13084
13109
  var DeleteDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
13085
13110
  async fetch(variables, options) {
13086
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
13111
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
13087
13112
  const data = response.deleteDatabase;
13088
13113
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
13089
13114
  }
13090
13115
  };
13091
13116
  var DeleteDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13092
13117
  async fetch(variables, options) {
13093
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
13118
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
13094
13119
  const data = response.deleteDocument;
13095
13120
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13096
13121
  }
13097
13122
  };
13098
13123
  var DeleteFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13099
13124
  async fetch(variables, options) {
13100
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
13125
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
13101
13126
  const data = response.deleteFolder;
13102
13127
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
13103
13128
  }
13104
13129
  };
13105
13130
  var DeleteInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13106
13131
  async fetch(variables, options) {
13107
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
13132
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
13108
13133
  const data = response.deleteInsight;
13109
13134
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13110
13135
  }
13111
13136
  };
13112
13137
  var DeleteInsightsMutation = class extends chunk342BFYZZ_cjs.Request {
13113
13138
  async fetch(variables, options) {
13114
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
13139
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
13115
13140
  const data = response.deleteInsights;
13116
13141
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13117
13142
  }
13118
13143
  };
13119
13144
  var DeleteIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
13120
13145
  async fetch(variables) {
13121
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
13146
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
13122
13147
  return response.deleteIntegration;
13123
13148
  }
13124
13149
  };
13125
13150
  var DeleteReportMutation = class extends chunk342BFYZZ_cjs.Request {
13126
13151
  async fetch(variables, options) {
13127
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
13152
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
13128
13153
  const data = response.deleteReport;
13129
13154
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13130
13155
  }
13131
13156
  };
13132
13157
  var DeleteTableMutation = class extends chunk342BFYZZ_cjs.Request {
13133
13158
  async fetch(variables, options) {
13134
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
13159
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
13135
13160
  const data = response.deleteTable;
13136
13161
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
13137
13162
  }
13138
13163
  };
13139
13164
  var DeleteUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
13140
13165
  async fetch(variables, options) {
13141
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
13166
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
13142
13167
  const data = response.deleteUserSkillFile;
13143
13168
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
13144
13169
  }
13145
13170
  };
13146
13171
  var DeleteUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13147
13172
  async fetch(variables, options) {
13148
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
13173
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
13149
13174
  const data = response.deleteUserSkillFolder;
13150
13175
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
13151
13176
  }
13152
13177
  };
13153
13178
  var DisconnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
13154
13179
  async fetch(variables) {
13155
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
13180
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
13156
13181
  return response.disconnectIntegration;
13157
13182
  }
13158
13183
  };
13159
13184
  var DismissPulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
13160
13185
  async fetch(variables, options) {
13161
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
13186
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
13162
13187
  const data = response.dismissPulseEvent;
13163
13188
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
13164
13189
  }
13165
13190
  };
13166
13191
  var ExecuteChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
13167
13192
  async fetch(variables, options) {
13168
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
13193
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
13169
13194
  const data = response.executeChatImport;
13170
13195
  return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
13171
13196
  }
13172
13197
  };
13173
13198
  var GenerateUploadUriMutation = class extends chunk342BFYZZ_cjs.Request {
13174
13199
  async fetch(variables, options) {
13175
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
13200
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
13176
13201
  const data = response.generateUploadUri;
13177
13202
  return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
13178
13203
  }
13179
13204
  };
13180
13205
  var PreviewChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
13181
13206
  async fetch(variables, options) {
13182
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
13207
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
13183
13208
  const data = response.previewChatImport;
13184
13209
  return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
13185
13210
  }
13186
13211
  };
13187
13212
  var ReanalyzeDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13188
13213
  async fetch(variables, options) {
13189
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
13214
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
13190
13215
  const data = response.reanalyzeDocument;
13191
13216
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13192
13217
  }
13193
13218
  };
13194
13219
  var RefineMindInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
13195
13220
  async fetch(variables) {
13196
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
13221
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
13197
13222
  return response.refineMindInstruction;
13198
13223
  }
13199
13224
  };
13200
13225
  var RefreshDatabaseSchemaMutation = class extends chunk342BFYZZ_cjs.Request {
13201
13226
  async fetch(variables) {
13202
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
13227
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
13203
13228
  return response.refreshDatabaseSchema;
13204
13229
  }
13205
13230
  };
13231
+ var RefreshInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13232
+ async fetch(variables, options) {
13233
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
13234
+ const data = response.refreshInsight;
13235
+ return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13236
+ }
13237
+ };
13206
13238
  var ReinterpretSourceMutation = class extends chunk342BFYZZ_cjs.Request {
13207
13239
  async fetch(variables) {
13208
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
13240
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
13209
13241
  return response.reinterpretSource;
13210
13242
  }
13211
13243
  };
13212
13244
  var ReinterpretSourcesOfuserMutation = class extends chunk342BFYZZ_cjs.Request {
13213
13245
  async fetch(variables) {
13214
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
13246
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
13215
13247
  return response.reinterpretSourcesOfuser;
13216
13248
  }
13217
13249
  };
13218
13250
  var RelocateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13219
13251
  async fetch(variables, options) {
13220
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
13252
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
13221
13253
  const data = response.relocateInsight;
13222
13254
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13223
13255
  }
13224
13256
  };
13225
13257
  var RemoveInsightFromReportMutation = class extends chunk342BFYZZ_cjs.Request {
13226
13258
  async fetch(variables, options) {
13227
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
13259
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
13228
13260
  const data = response.removeInsightFromReport;
13229
13261
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13230
13262
  }
13231
13263
  };
13232
13264
  var ResetWorkspaceMutation = class extends chunk342BFYZZ_cjs.Request {
13233
13265
  async fetch(variables) {
13234
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
13266
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
13235
13267
  return response.resetWorkspace;
13236
13268
  }
13237
13269
  };
13238
13270
  var ResolvePulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
13239
13271
  async fetch(variables, options) {
13240
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
13272
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
13241
13273
  const data = response.resolvePulseEvent;
13242
13274
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
13243
13275
  }
13244
13276
  };
13245
13277
  var ScheduleWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
13246
13278
  async fetch(variables, options) {
13247
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
13279
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
13248
13280
  const data = response.scheduleWorkspaceDeletion;
13249
13281
  return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
13250
13282
  }
13251
13283
  };
13252
13284
  var SetDatabasePrimaryKeyMutation = class extends chunk342BFYZZ_cjs.Request {
13253
13285
  async fetch(variables) {
13254
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
13286
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
13255
13287
  return response.setDatabasePrimaryKey;
13256
13288
  }
13257
13289
  };
13258
13290
  var UpdateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
13259
13291
  async fetch(variables, options) {
13260
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
13292
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
13261
13293
  const data = response.updateAgent;
13262
13294
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
13263
13295
  }
13264
13296
  };
13265
13297
  var UpdateChatMutation = class extends chunk342BFYZZ_cjs.Request {
13266
13298
  async fetch(variables, options) {
13267
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
13299
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
13268
13300
  const data = response.updateChat;
13269
13301
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
13270
13302
  }
13271
13303
  };
13272
13304
  var UpdateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
13273
13305
  async fetch(variables, options) {
13274
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
13306
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
13275
13307
  const data = response.updateDatabase;
13276
13308
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
13277
13309
  }
13278
13310
  };
13279
13311
  var UpdateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13280
13312
  async fetch(variables, options) {
13281
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
13313
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
13282
13314
  const data = response.updateDocument;
13283
13315
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13284
13316
  }
13285
13317
  };
13286
13318
  var UpdateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13287
13319
  async fetch(variables, options) {
13288
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
13320
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
13289
13321
  const data = response.updateFolder;
13290
13322
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
13291
13323
  }
13292
13324
  };
13293
13325
  var UpdateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13294
13326
  async fetch(variables, options) {
13295
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
13327
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
13296
13328
  const data = response.updateInsight;
13297
13329
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13298
13330
  }
13299
13331
  };
13300
13332
  var UpdateInsightInReportMutation = class extends chunk342BFYZZ_cjs.Request {
13301
13333
  async fetch(variables, options) {
13302
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
13334
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
13303
13335
  const data = response.updateInsightInReport;
13304
13336
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13305
13337
  }
13306
13338
  };
13339
+ var UpdateInsightThumbnailMutation = class extends chunk342BFYZZ_cjs.Request {
13340
+ async fetch(variables) {
13341
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
13342
+ return response.updateInsightThumbnail;
13343
+ }
13344
+ };
13307
13345
  var UpdateInterpMutation = class extends chunk342BFYZZ_cjs.Request {
13308
13346
  async fetch(variables, options) {
13309
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
13347
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
13310
13348
  const data = response.updateInterp;
13311
13349
  return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
13312
13350
  }
13313
13351
  };
13314
13352
  var UpdatePulseTriggerMutation = class extends chunk342BFYZZ_cjs.Request {
13315
13353
  async fetch(variables, options) {
13316
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
13354
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
13317
13355
  const data = response.updatePulseTrigger;
13318
13356
  return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
13319
13357
  }
13320
13358
  };
13321
13359
  var UpdateReportMutation = class extends chunk342BFYZZ_cjs.Request {
13322
13360
  async fetch(variables, options) {
13323
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
13361
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
13324
13362
  const data = response.updateReport;
13325
13363
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13326
13364
  }
13327
13365
  };
13328
13366
  var UpdateTableMutation = class extends chunk342BFYZZ_cjs.Request {
13329
13367
  async fetch(variables, options) {
13330
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
13368
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
13331
13369
  const data = response.updateTable;
13332
13370
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
13333
13371
  }
13334
13372
  };
13335
13373
  var UpdateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
13336
13374
  async fetch(variables, options) {
13337
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
13375
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
13338
13376
  const data = response.updateUserSkillFile;
13339
13377
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
13340
13378
  }
13341
13379
  };
13342
13380
  var UpdateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13343
13381
  async fetch(variables, options) {
13344
- const response = await this._syncEngine.mutate(chunkE45DZR4J_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
13382
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
13345
13383
  const data = response.updateUserSkillFolder;
13346
13384
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
13347
13385
  }
@@ -13355,7 +13393,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13355
13393
  }
13356
13394
  async fetch(options) {
13357
13395
  const variables = this._variables;
13358
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.AgentDocument, "agent", this._includes, variables);
13396
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentDocument, "agent", this._includes, variables);
13359
13397
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
13360
13398
  const data = response.agent;
13361
13399
  const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
@@ -13367,7 +13405,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13367
13405
  watch(options) {
13368
13406
  const variables = this._variables;
13369
13407
  const includes = this._includes;
13370
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.AgentDocument, "agent", includes, variables);
13408
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentDocument, "agent", includes, variables);
13371
13409
  const raw = this._syncEngine.watch(
13372
13410
  queryDoc,
13373
13411
  mergedVars,
@@ -13397,7 +13435,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13397
13435
  }
13398
13436
  /** Include chats in this query (Smart Fetch — single HTTP request). */
13399
13437
  chats(variables, builder) {
13400
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Agent_ChatsDocument, "chats", ["id"]);
13438
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Agent_ChatsDocument, "chats", ["id"]);
13401
13439
  let children;
13402
13440
  if (builder) {
13403
13441
  const sub = new ChatSubBuilder();
@@ -13406,7 +13444,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13406
13444
  }
13407
13445
  this._includes.push({
13408
13446
  fieldName: "chats",
13409
- fragmentDoc: chunkE45DZR4J_cjs.ChatConnectionFragmentDoc,
13447
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatConnectionFragmentDoc,
13410
13448
  variables,
13411
13449
  isConnection: true,
13412
13450
  isList: false,
@@ -13431,18 +13469,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk342BFYZZ_cjs.Request
13431
13469
  }
13432
13470
  async fetch(options) {
13433
13471
  const variables = this._variables;
13434
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Agent_ChatsDocument, variables, "agent");
13472
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Agent_ChatsDocument, variables, "agent");
13435
13473
  const data = response.agent?.chats;
13436
13474
  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);
13437
13475
  }
13438
13476
  watch(options) {
13439
13477
  const variables = this._variables;
13440
13478
  const raw = this._syncEngine.watch(
13441
- chunkE45DZR4J_cjs.Agent_ChatsDocument,
13479
+ chunkGL6CUR7S_cjs.Agent_ChatsDocument,
13442
13480
  variables,
13443
13481
  "agent",
13444
13482
  async (db) => {
13445
- const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkE45DZR4J_cjs.Agent_ChatsDocument));
13483
+ const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkGL6CUR7S_cjs.Agent_ChatsDocument));
13446
13484
  const nodes = qr ? await db.table("chats").bulkGet(qr.entityIds) : [];
13447
13485
  return { agent: { chats: { __typename: "ChatConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
13448
13486
  }
@@ -13462,7 +13500,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13462
13500
  }
13463
13501
  async fetch(options) {
13464
13502
  const variables = this._variables;
13465
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.AgentsDocument, "agents", this._includes, variables, true);
13503
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentsDocument, "agents", this._includes, variables, true);
13466
13504
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
13467
13505
  const data = response.agents;
13468
13506
  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);
@@ -13479,7 +13517,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13479
13517
  const subscriptionId = crypto.randomUUID();
13480
13518
  const includes = this._includes;
13481
13519
  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) }] : []);
13482
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.AgentsDocument, "agents", includes, variables, true);
13520
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentsDocument, "agents", includes, variables, true);
13483
13521
  const raw = this._syncEngine.watch(
13484
13522
  queryDoc,
13485
13523
  mergedVars,
@@ -13514,7 +13552,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13514
13552
  }
13515
13553
  /** Include chats in this query (Smart Fetch — single HTTP request). */
13516
13554
  chats(variables, builder) {
13517
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Agent_ChatsDocument, "chats", ["id"]);
13555
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Agent_ChatsDocument, "chats", ["id"]);
13518
13556
  let children;
13519
13557
  if (builder) {
13520
13558
  const sub = new ChatSubBuilder();
@@ -13523,7 +13561,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13523
13561
  }
13524
13562
  this._includes.push({
13525
13563
  fieldName: "chats",
13526
- fragmentDoc: chunkE45DZR4J_cjs.ChatConnectionFragmentDoc,
13564
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatConnectionFragmentDoc,
13527
13565
  variables,
13528
13566
  isConnection: true,
13529
13567
  isList: false,
@@ -13549,7 +13587,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13549
13587
  }
13550
13588
  async fetch(options) {
13551
13589
  const variables = this._variables;
13552
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ArtifactDocument, "artifact", this._includes, variables);
13590
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactDocument, "artifact", this._includes, variables);
13553
13591
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
13554
13592
  const data = response.artifact;
13555
13593
  const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
@@ -13561,7 +13599,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13561
13599
  watch(options) {
13562
13600
  const variables = this._variables;
13563
13601
  const includes = this._includes;
13564
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ArtifactDocument, "artifact", includes, variables);
13602
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactDocument, "artifact", includes, variables);
13565
13603
  const raw = this._syncEngine.watch(
13566
13604
  queryDoc,
13567
13605
  mergedVars,
@@ -13591,7 +13629,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13591
13629
  }
13592
13630
  /** Include chat in this query (Smart Fetch — single HTTP request). */
13593
13631
  chat(variables, builder) {
13594
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Artifact_ChatDocument, "chat", ["id"]);
13632
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_ChatDocument, "chat", ["id"]);
13595
13633
  let children;
13596
13634
  if (builder) {
13597
13635
  const sub = new ChatSubBuilder();
@@ -13600,7 +13638,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13600
13638
  }
13601
13639
  this._includes.push({
13602
13640
  fieldName: "chat",
13603
- fragmentDoc: chunkE45DZR4J_cjs.ChatFragmentDoc,
13641
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
13604
13642
  variables,
13605
13643
  isConnection: false,
13606
13644
  isList: false,
@@ -13617,10 +13655,10 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13617
13655
  }
13618
13656
  /** Include file in this query (Smart Fetch — single HTTP request). */
13619
13657
  file(variables) {
13620
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Artifact_FileDocument, "file", ["id"]);
13658
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_FileDocument, "file", ["id"]);
13621
13659
  this._includes.push({
13622
13660
  fieldName: "file",
13623
- fragmentDoc: chunkE45DZR4J_cjs.FileFragmentDoc,
13661
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
13624
13662
  variables,
13625
13663
  isConnection: false,
13626
13664
  isList: false,
@@ -13636,7 +13674,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13636
13674
  }
13637
13675
  /** Include message in this query (Smart Fetch — single HTTP request). */
13638
13676
  message(variables, builder) {
13639
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Artifact_MessageDocument, "message", ["id"]);
13677
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_MessageDocument, "message", ["id"]);
13640
13678
  let children;
13641
13679
  if (builder) {
13642
13680
  const sub = new ChatMessageSubBuilder();
@@ -13645,7 +13683,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13645
13683
  }
13646
13684
  this._includes.push({
13647
13685
  fieldName: "message",
13648
- fragmentDoc: chunkE45DZR4J_cjs.ChatMessageFragmentDoc,
13686
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageFragmentDoc,
13649
13687
  variables,
13650
13688
  isConnection: false,
13651
13689
  isList: false,
@@ -13669,14 +13707,14 @@ var Artifact_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
13669
13707
  }
13670
13708
  async fetch(options) {
13671
13709
  const variables = this._variables;
13672
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Artifact_ChatDocument, variables, "artifact");
13710
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_ChatDocument, variables, "artifact");
13673
13711
  const data = response.artifact?.chat;
13674
13712
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13675
13713
  }
13676
13714
  watch(options) {
13677
13715
  const variables = this._variables;
13678
13716
  const raw = this._syncEngine.watch(
13679
- chunkE45DZR4J_cjs.Artifact_ChatDocument,
13717
+ chunkGL6CUR7S_cjs.Artifact_ChatDocument,
13680
13718
  variables,
13681
13719
  "artifact",
13682
13720
  async (db) => {
@@ -13699,14 +13737,14 @@ var Artifact_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
13699
13737
  }
13700
13738
  async fetch(options) {
13701
13739
  const variables = this._variables;
13702
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
13740
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
13703
13741
  const data = response.artifact?.chat?.insight;
13704
13742
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13705
13743
  }
13706
13744
  watch(options) {
13707
13745
  const variables = this._variables;
13708
13746
  const raw = this._syncEngine.watch(
13709
- chunkE45DZR4J_cjs.Artifact_Chat_InsightDocument,
13747
+ chunkGL6CUR7S_cjs.Artifact_Chat_InsightDocument,
13710
13748
  variables,
13711
13749
  "artifact",
13712
13750
  async (db) => {
@@ -13729,14 +13767,14 @@ var Artifact_FileQuery = class extends chunk342BFYZZ_cjs.Request {
13729
13767
  }
13730
13768
  async fetch(options) {
13731
13769
  const variables = this._variables;
13732
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Artifact_FileDocument, variables, "artifact");
13770
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_FileDocument, variables, "artifact");
13733
13771
  const data = response.artifact?.file;
13734
13772
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13735
13773
  }
13736
13774
  watch(options) {
13737
13775
  const variables = this._variables;
13738
13776
  const raw = this._syncEngine.watch(
13739
- chunkE45DZR4J_cjs.Artifact_FileDocument,
13777
+ chunkGL6CUR7S_cjs.Artifact_FileDocument,
13740
13778
  variables,
13741
13779
  "artifact",
13742
13780
  async (db) => {
@@ -13759,14 +13797,14 @@ var Artifact_MessageQuery = class extends chunk342BFYZZ_cjs.Request {
13759
13797
  }
13760
13798
  async fetch(options) {
13761
13799
  const variables = this._variables;
13762
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Artifact_MessageDocument, variables, "artifact");
13800
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_MessageDocument, variables, "artifact");
13763
13801
  const data = response.artifact?.message;
13764
13802
  return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13765
13803
  }
13766
13804
  watch(options) {
13767
13805
  const variables = this._variables;
13768
13806
  const raw = this._syncEngine.watch(
13769
- chunkE45DZR4J_cjs.Artifact_MessageDocument,
13807
+ chunkGL6CUR7S_cjs.Artifact_MessageDocument,
13770
13808
  variables,
13771
13809
  "artifact",
13772
13810
  async (db) => {
@@ -13789,14 +13827,14 @@ var Artifact_Message_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
13789
13827
  }
13790
13828
  async fetch(options) {
13791
13829
  const variables = this._variables;
13792
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Artifact_Message_ChatDocument, variables, "artifact");
13830
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Message_ChatDocument, variables, "artifact");
13793
13831
  const data = response.artifact?.message?.chat;
13794
13832
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13795
13833
  }
13796
13834
  watch(options) {
13797
13835
  const variables = this._variables;
13798
13836
  const raw = this._syncEngine.watch(
13799
- chunkE45DZR4J_cjs.Artifact_Message_ChatDocument,
13837
+ chunkGL6CUR7S_cjs.Artifact_Message_ChatDocument,
13800
13838
  variables,
13801
13839
  "artifact",
13802
13840
  async (db) => {
@@ -13818,7 +13856,7 @@ var Artifact_Message_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
13818
13856
  this._variables = variables;
13819
13857
  }
13820
13858
  async fetch(options) {
13821
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
13859
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
13822
13860
  const data = response.artifact?.message?.contents;
13823
13861
  if (!Array.isArray(data)) return [];
13824
13862
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -13832,14 +13870,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
13832
13870
  }
13833
13871
  async fetch(options) {
13834
13872
  const variables = this._variables;
13835
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
13873
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
13836
13874
  const data = response.artifact?.message?.feedback;
13837
13875
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13838
13876
  }
13839
13877
  watch(options) {
13840
13878
  const variables = this._variables;
13841
13879
  const raw = this._syncEngine.watch(
13842
- chunkE45DZR4J_cjs.Artifact_Message_FeedbackDocument,
13880
+ chunkGL6CUR7S_cjs.Artifact_Message_FeedbackDocument,
13843
13881
  variables,
13844
13882
  "artifact",
13845
13883
  async (db) => {
@@ -13863,7 +13901,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13863
13901
  }
13864
13902
  async fetch(options) {
13865
13903
  const variables = this._variables;
13866
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
13904
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
13867
13905
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
13868
13906
  const data = response.artifacts;
13869
13907
  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);
@@ -13880,7 +13918,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13880
13918
  const subscriptionId = crypto.randomUUID();
13881
13919
  const includes = this._includes;
13882
13920
  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) }] : []);
13883
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
13921
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
13884
13922
  const raw = this._syncEngine.watch(
13885
13923
  queryDoc,
13886
13924
  mergedVars,
@@ -13915,7 +13953,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13915
13953
  }
13916
13954
  /** Include chat in this query (Smart Fetch — single HTTP request). */
13917
13955
  chat(variables, builder) {
13918
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Artifact_ChatDocument, "chat", ["id"]);
13956
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_ChatDocument, "chat", ["id"]);
13919
13957
  let children;
13920
13958
  if (builder) {
13921
13959
  const sub = new ChatSubBuilder();
@@ -13924,7 +13962,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13924
13962
  }
13925
13963
  this._includes.push({
13926
13964
  fieldName: "chat",
13927
- fragmentDoc: chunkE45DZR4J_cjs.ChatFragmentDoc,
13965
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
13928
13966
  variables,
13929
13967
  isConnection: false,
13930
13968
  isList: false,
@@ -13941,10 +13979,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13941
13979
  }
13942
13980
  /** Include file in this query (Smart Fetch — single HTTP request). */
13943
13981
  file(variables) {
13944
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Artifact_FileDocument, "file", ["id"]);
13982
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_FileDocument, "file", ["id"]);
13945
13983
  this._includes.push({
13946
13984
  fieldName: "file",
13947
- fragmentDoc: chunkE45DZR4J_cjs.FileFragmentDoc,
13985
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
13948
13986
  variables,
13949
13987
  isConnection: false,
13950
13988
  isList: false,
@@ -13960,7 +13998,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13960
13998
  }
13961
13999
  /** Include message in this query (Smart Fetch — single HTTP request). */
13962
14000
  message(variables, builder) {
13963
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Artifact_MessageDocument, "message", ["id"]);
14001
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_MessageDocument, "message", ["id"]);
13964
14002
  let children;
13965
14003
  if (builder) {
13966
14004
  const sub = new ChatMessageSubBuilder();
@@ -13969,7 +14007,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13969
14007
  }
13970
14008
  this._includes.push({
13971
14009
  fieldName: "message",
13972
- fragmentDoc: chunkE45DZR4J_cjs.ChatMessageFragmentDoc,
14010
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageFragmentDoc,
13973
14011
  variables,
13974
14012
  isConnection: false,
13975
14013
  isList: false,
@@ -13994,7 +14032,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
13994
14032
  }
13995
14033
  async fetch(options) {
13996
14034
  const variables = this._variables;
13997
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ChatDocument, "chat", this._includes, variables);
14035
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatDocument, "chat", this._includes, variables);
13998
14036
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
13999
14037
  const data = response.chat;
14000
14038
  const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
@@ -14006,7 +14044,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14006
14044
  watch(options) {
14007
14045
  const variables = this._variables;
14008
14046
  const includes = this._includes;
14009
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ChatDocument, "chat", includes, variables);
14047
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatDocument, "chat", includes, variables);
14010
14048
  const raw = this._syncEngine.watch(
14011
14049
  queryDoc,
14012
14050
  mergedVars,
@@ -14036,7 +14074,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14036
14074
  }
14037
14075
  /** Include agents in this query (Smart Fetch — single HTTP request). */
14038
14076
  agents(variables, builder) {
14039
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Chat_AgentsDocument, "agents", ["id"]);
14077
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_AgentsDocument, "agents", ["id"]);
14040
14078
  let children;
14041
14079
  if (builder) {
14042
14080
  const sub = new AgentSubBuilder();
@@ -14045,7 +14083,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14045
14083
  }
14046
14084
  this._includes.push({
14047
14085
  fieldName: "agents",
14048
- fragmentDoc: chunkE45DZR4J_cjs.AgentConnectionFragmentDoc,
14086
+ fragmentDoc: chunkGL6CUR7S_cjs.AgentConnectionFragmentDoc,
14049
14087
  variables,
14050
14088
  isConnection: true,
14051
14089
  isList: false,
@@ -14063,7 +14101,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14063
14101
  }
14064
14102
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14065
14103
  artifacts(variables, builder) {
14066
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14104
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14067
14105
  let children;
14068
14106
  if (builder) {
14069
14107
  const sub = new ArtifactSubBuilder();
@@ -14072,7 +14110,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14072
14110
  }
14073
14111
  this._includes.push({
14074
14112
  fieldName: "artifacts",
14075
- fragmentDoc: chunkE45DZR4J_cjs.ArtifactConnectionFragmentDoc,
14113
+ fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14076
14114
  variables,
14077
14115
  isConnection: true,
14078
14116
  isList: false,
@@ -14090,7 +14128,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14090
14128
  }
14091
14129
  /** Include insight in this query (Smart Fetch — single HTTP request). */
14092
14130
  insight(variables, builder) {
14093
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Chat_InsightDocument, "insight", ["id"]);
14131
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_InsightDocument, "insight", ["id"]);
14094
14132
  let children;
14095
14133
  if (builder) {
14096
14134
  const sub = new InsightSubBuilder();
@@ -14099,7 +14137,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14099
14137
  }
14100
14138
  this._includes.push({
14101
14139
  fieldName: "insight",
14102
- fragmentDoc: chunkE45DZR4J_cjs.InsightFragmentDoc,
14140
+ fragmentDoc: chunkGL6CUR7S_cjs.InsightFragmentDoc,
14103
14141
  variables,
14104
14142
  isConnection: false,
14105
14143
  isList: false,
@@ -14116,7 +14154,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14116
14154
  }
14117
14155
  /** Include messages in this query (Smart Fetch — single HTTP request). */
14118
14156
  messages(variables, builder) {
14119
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Chat_MessagesDocument, "messages", ["id"]);
14157
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_MessagesDocument, "messages", ["id"]);
14120
14158
  let children;
14121
14159
  if (builder) {
14122
14160
  const sub = new ChatMessageSubBuilder();
@@ -14125,7 +14163,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14125
14163
  }
14126
14164
  this._includes.push({
14127
14165
  fieldName: "messages",
14128
- fragmentDoc: chunkE45DZR4J_cjs.ChatMessageConnectionFragmentDoc,
14166
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageConnectionFragmentDoc,
14129
14167
  variables,
14130
14168
  isConnection: true,
14131
14169
  isList: false,
@@ -14150,18 +14188,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk342BFYZZ_cjs.Request
14150
14188
  }
14151
14189
  async fetch(options) {
14152
14190
  const variables = this._variables;
14153
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Chat_AgentsDocument, variables, "chat");
14191
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_AgentsDocument, variables, "chat");
14154
14192
  const data = response.chat?.agents;
14155
14193
  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);
14156
14194
  }
14157
14195
  watch(options) {
14158
14196
  const variables = this._variables;
14159
14197
  const raw = this._syncEngine.watch(
14160
- chunkE45DZR4J_cjs.Chat_AgentsDocument,
14198
+ chunkGL6CUR7S_cjs.Chat_AgentsDocument,
14161
14199
  variables,
14162
14200
  "chat",
14163
14201
  async (db) => {
14164
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkE45DZR4J_cjs.Chat_AgentsDocument));
14202
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkGL6CUR7S_cjs.Chat_AgentsDocument));
14165
14203
  const nodes = qr ? await db.table("agents").bulkGet(qr.entityIds) : [];
14166
14204
  return { chat: { agents: { __typename: "AgentConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14167
14205
  }
@@ -14180,18 +14218,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk342BFYZZ_cjs.R
14180
14218
  }
14181
14219
  async fetch(options) {
14182
14220
  const variables = this._variables;
14183
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Chat_ArtifactsDocument, variables, "chat");
14221
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, variables, "chat");
14184
14222
  const data = response.chat?.artifacts;
14185
14223
  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);
14186
14224
  }
14187
14225
  watch(options) {
14188
14226
  const variables = this._variables;
14189
14227
  const raw = this._syncEngine.watch(
14190
- chunkE45DZR4J_cjs.Chat_ArtifactsDocument,
14228
+ chunkGL6CUR7S_cjs.Chat_ArtifactsDocument,
14191
14229
  variables,
14192
14230
  "chat",
14193
14231
  async (db) => {
14194
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkE45DZR4J_cjs.Chat_ArtifactsDocument));
14232
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkGL6CUR7S_cjs.Chat_ArtifactsDocument));
14195
14233
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
14196
14234
  return { chat: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14197
14235
  }
@@ -14210,14 +14248,14 @@ var Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
14210
14248
  }
14211
14249
  async fetch(options) {
14212
14250
  const variables = this._variables;
14213
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Chat_InsightDocument, variables, "chat");
14251
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_InsightDocument, variables, "chat");
14214
14252
  const data = response.chat?.insight;
14215
14253
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14216
14254
  }
14217
14255
  watch(options) {
14218
14256
  const variables = this._variables;
14219
14257
  const raw = this._syncEngine.watch(
14220
- chunkE45DZR4J_cjs.Chat_InsightDocument,
14258
+ chunkGL6CUR7S_cjs.Chat_InsightDocument,
14221
14259
  variables,
14222
14260
  "chat",
14223
14261
  async (db) => {
@@ -14239,12 +14277,42 @@ var Chat_Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
14239
14277
  this._variables = variables;
14240
14278
  }
14241
14279
  async fetch(options) {
14242
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
14280
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
14243
14281
  const data = response.chat?.insight?.reportMembers;
14244
14282
  if (!Array.isArray(data)) return [];
14245
14283
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
14246
14284
  }
14247
14285
  };
14286
+ var Chat_Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
14287
+ _variables;
14288
+ constructor(request, syncEngine, variables = {}, baseUrl) {
14289
+ super(request, syncEngine, void 0, baseUrl);
14290
+ this._variables = variables;
14291
+ }
14292
+ async fetch(options) {
14293
+ const variables = this._variables;
14294
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
14295
+ const data = response.chat?.insight?.thumbnailFile;
14296
+ return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14297
+ }
14298
+ watch(options) {
14299
+ const variables = this._variables;
14300
+ const raw = this._syncEngine.watch(
14301
+ chunkGL6CUR7S_cjs.Chat_Insight_ThumbnailFileDocument,
14302
+ variables,
14303
+ "chat",
14304
+ async (db) => {
14305
+ const vars = variables;
14306
+ const entity = vars?.id ? await db.table("files").get(vars.id) : void 0;
14307
+ return { chat: { insight: { thumbnailFile: entity ?? null } } };
14308
+ }
14309
+ );
14310
+ return new MappedDvinaQueryRef(raw, (response) => {
14311
+ const data = response.chat?.insight?.thumbnailFile;
14312
+ return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14313
+ });
14314
+ }
14315
+ };
14248
14316
  var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk342BFYZZ_cjs.Request {
14249
14317
  _variables;
14250
14318
  constructor(request, syncEngine, variables = {}, baseUrl) {
@@ -14253,18 +14321,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk342BFYZZ_cjs.Req
14253
14321
  }
14254
14322
  async fetch(options) {
14255
14323
  const variables = this._variables;
14256
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Chat_MessagesDocument, variables, "chat");
14324
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_MessagesDocument, variables, "chat");
14257
14325
  const data = response.chat?.messages;
14258
14326
  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);
14259
14327
  }
14260
14328
  watch(options) {
14261
14329
  const variables = this._variables;
14262
14330
  const raw = this._syncEngine.watch(
14263
- chunkE45DZR4J_cjs.Chat_MessagesDocument,
14331
+ chunkGL6CUR7S_cjs.Chat_MessagesDocument,
14264
14332
  variables,
14265
14333
  "chat",
14266
14334
  async (db) => {
14267
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkE45DZR4J_cjs.Chat_MessagesDocument));
14335
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkGL6CUR7S_cjs.Chat_MessagesDocument));
14268
14336
  const nodes = qr ? await db.table("chatMessages").bulkGet(qr.entityIds) : [];
14269
14337
  return { chat: { messages: { __typename: "ChatMessageConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14270
14338
  }
@@ -14284,7 +14352,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14284
14352
  }
14285
14353
  async fetch(options) {
14286
14354
  const variables = this._variables;
14287
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
14355
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
14288
14356
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
14289
14357
  const data = response.chatMessage;
14290
14358
  const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
@@ -14296,7 +14364,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14296
14364
  watch(options) {
14297
14365
  const variables = this._variables;
14298
14366
  const includes = this._includes;
14299
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ChatMessageDocument, "chatMessage", includes, variables);
14367
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessageDocument, "chatMessage", includes, variables);
14300
14368
  const raw = this._syncEngine.watch(
14301
14369
  queryDoc,
14302
14370
  mergedVars,
@@ -14326,7 +14394,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14326
14394
  }
14327
14395
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14328
14396
  artifacts(variables, builder) {
14329
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14397
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14330
14398
  let children;
14331
14399
  if (builder) {
14332
14400
  const sub = new ArtifactSubBuilder();
@@ -14335,7 +14403,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14335
14403
  }
14336
14404
  this._includes.push({
14337
14405
  fieldName: "artifacts",
14338
- fragmentDoc: chunkE45DZR4J_cjs.ArtifactConnectionFragmentDoc,
14406
+ fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14339
14407
  variables,
14340
14408
  isConnection: true,
14341
14409
  isList: false,
@@ -14353,7 +14421,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14353
14421
  }
14354
14422
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14355
14423
  chat(variables, builder) {
14356
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14424
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14357
14425
  let children;
14358
14426
  if (builder) {
14359
14427
  const sub = new ChatSubBuilder();
@@ -14362,7 +14430,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14362
14430
  }
14363
14431
  this._includes.push({
14364
14432
  fieldName: "chat",
14365
- fragmentDoc: chunkE45DZR4J_cjs.ChatFragmentDoc,
14433
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
14366
14434
  variables,
14367
14435
  isConnection: false,
14368
14436
  isList: false,
@@ -14379,10 +14447,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14379
14447
  }
14380
14448
  /** Include contents in this query (Smart Fetch — single HTTP request). */
14381
14449
  contents(variables) {
14382
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14450
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14383
14451
  this._includes.push({
14384
14452
  fieldName: "contents",
14385
- fragmentDoc: chunkE45DZR4J_cjs.ContentBlockFragmentDoc,
14453
+ fragmentDoc: chunkGL6CUR7S_cjs.ContentBlockFragmentDoc,
14386
14454
  variables,
14387
14455
  isConnection: false,
14388
14456
  isList: true,
@@ -14398,10 +14466,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14398
14466
  }
14399
14467
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
14400
14468
  feedback(variables) {
14401
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14469
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14402
14470
  this._includes.push({
14403
14471
  fieldName: "feedback",
14404
- fragmentDoc: chunkE45DZR4J_cjs.FeedbackFragmentDoc,
14472
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedbackFragmentDoc,
14405
14473
  variables,
14406
14474
  isConnection: false,
14407
14475
  isList: false,
@@ -14424,18 +14492,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
14424
14492
  }
14425
14493
  async fetch(options) {
14426
14494
  const variables = this._variables;
14427
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
14495
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
14428
14496
  const data = response.chatMessage?.artifacts;
14429
14497
  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);
14430
14498
  }
14431
14499
  watch(options) {
14432
14500
  const variables = this._variables;
14433
14501
  const raw = this._syncEngine.watch(
14434
- chunkE45DZR4J_cjs.ChatMessage_ArtifactsDocument,
14502
+ chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument,
14435
14503
  variables,
14436
14504
  "chatMessage",
14437
14505
  async (db) => {
14438
- const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkE45DZR4J_cjs.ChatMessage_ArtifactsDocument));
14506
+ const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument));
14439
14507
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
14440
14508
  return { chatMessage: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14441
14509
  }
@@ -14454,14 +14522,14 @@ var ChatMessage_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14454
14522
  }
14455
14523
  async fetch(options) {
14456
14524
  const variables = this._variables;
14457
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
14525
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
14458
14526
  const data = response.chatMessage?.chat;
14459
14527
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14460
14528
  }
14461
14529
  watch(options) {
14462
14530
  const variables = this._variables;
14463
14531
  const raw = this._syncEngine.watch(
14464
- chunkE45DZR4J_cjs.ChatMessage_ChatDocument,
14532
+ chunkGL6CUR7S_cjs.ChatMessage_ChatDocument,
14465
14533
  variables,
14466
14534
  "chatMessage",
14467
14535
  async (db) => {
@@ -14484,14 +14552,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
14484
14552
  }
14485
14553
  async fetch(options) {
14486
14554
  const variables = this._variables;
14487
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
14555
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
14488
14556
  const data = response.chatMessage?.chat?.insight;
14489
14557
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14490
14558
  }
14491
14559
  watch(options) {
14492
14560
  const variables = this._variables;
14493
14561
  const raw = this._syncEngine.watch(
14494
- chunkE45DZR4J_cjs.ChatMessage_Chat_InsightDocument,
14562
+ chunkGL6CUR7S_cjs.ChatMessage_Chat_InsightDocument,
14495
14563
  variables,
14496
14564
  "chatMessage",
14497
14565
  async (db) => {
@@ -14513,7 +14581,7 @@ var ChatMessage_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
14513
14581
  this._variables = variables;
14514
14582
  }
14515
14583
  async fetch(options) {
14516
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
14584
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
14517
14585
  const data = response.chatMessage?.contents;
14518
14586
  if (!Array.isArray(data)) return [];
14519
14587
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -14527,14 +14595,14 @@ var ChatMessage_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
14527
14595
  }
14528
14596
  async fetch(options) {
14529
14597
  const variables = this._variables;
14530
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
14598
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
14531
14599
  const data = response.chatMessage?.feedback;
14532
14600
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14533
14601
  }
14534
14602
  watch(options) {
14535
14603
  const variables = this._variables;
14536
14604
  const raw = this._syncEngine.watch(
14537
- chunkE45DZR4J_cjs.ChatMessage_FeedbackDocument,
14605
+ chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument,
14538
14606
  variables,
14539
14607
  "chatMessage",
14540
14608
  async (db) => {
@@ -14558,7 +14626,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14558
14626
  }
14559
14627
  async fetch(options) {
14560
14628
  const variables = this._variables;
14561
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
14629
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
14562
14630
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
14563
14631
  const data = response.chatMessages;
14564
14632
  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);
@@ -14575,7 +14643,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14575
14643
  const subscriptionId = crypto.randomUUID();
14576
14644
  const includes = this._includes;
14577
14645
  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) }] : []);
14578
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
14646
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
14579
14647
  const raw = this._syncEngine.watch(
14580
14648
  queryDoc,
14581
14649
  mergedVars,
@@ -14610,7 +14678,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14610
14678
  }
14611
14679
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14612
14680
  artifacts(variables, builder) {
14613
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14681
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14614
14682
  let children;
14615
14683
  if (builder) {
14616
14684
  const sub = new ArtifactSubBuilder();
@@ -14619,7 +14687,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14619
14687
  }
14620
14688
  this._includes.push({
14621
14689
  fieldName: "artifacts",
14622
- fragmentDoc: chunkE45DZR4J_cjs.ArtifactConnectionFragmentDoc,
14690
+ fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14623
14691
  variables,
14624
14692
  isConnection: true,
14625
14693
  isList: false,
@@ -14637,7 +14705,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14637
14705
  }
14638
14706
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14639
14707
  chat(variables, builder) {
14640
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14708
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14641
14709
  let children;
14642
14710
  if (builder) {
14643
14711
  const sub = new ChatSubBuilder();
@@ -14646,7 +14714,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14646
14714
  }
14647
14715
  this._includes.push({
14648
14716
  fieldName: "chat",
14649
- fragmentDoc: chunkE45DZR4J_cjs.ChatFragmentDoc,
14717
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
14650
14718
  variables,
14651
14719
  isConnection: false,
14652
14720
  isList: false,
@@ -14663,10 +14731,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14663
14731
  }
14664
14732
  /** Include contents in this query (Smart Fetch — single HTTP request). */
14665
14733
  contents(variables) {
14666
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14734
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14667
14735
  this._includes.push({
14668
14736
  fieldName: "contents",
14669
- fragmentDoc: chunkE45DZR4J_cjs.ContentBlockFragmentDoc,
14737
+ fragmentDoc: chunkGL6CUR7S_cjs.ContentBlockFragmentDoc,
14670
14738
  variables,
14671
14739
  isConnection: false,
14672
14740
  isList: true,
@@ -14682,10 +14750,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14682
14750
  }
14683
14751
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
14684
14752
  feedback(variables) {
14685
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14753
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14686
14754
  this._includes.push({
14687
14755
  fieldName: "feedback",
14688
- fragmentDoc: chunkE45DZR4J_cjs.FeedbackFragmentDoc,
14756
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedbackFragmentDoc,
14689
14757
  variables,
14690
14758
  isConnection: false,
14691
14759
  isList: false,
@@ -14709,7 +14777,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14709
14777
  }
14710
14778
  async fetch(options) {
14711
14779
  const variables = this._variables;
14712
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ChatsDocument, "chats", this._includes, variables, true);
14780
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatsDocument, "chats", this._includes, variables, true);
14713
14781
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
14714
14782
  const data = response.chats;
14715
14783
  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);
@@ -14726,7 +14794,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14726
14794
  const subscriptionId = crypto.randomUUID();
14727
14795
  const includes = this._includes;
14728
14796
  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) }] : []);
14729
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ChatsDocument, "chats", includes, variables, true);
14797
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatsDocument, "chats", includes, variables, true);
14730
14798
  const raw = this._syncEngine.watch(
14731
14799
  queryDoc,
14732
14800
  mergedVars,
@@ -14761,7 +14829,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14761
14829
  }
14762
14830
  /** Include agents in this query (Smart Fetch — single HTTP request). */
14763
14831
  agents(variables, builder) {
14764
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Chat_AgentsDocument, "agents", ["id"]);
14832
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_AgentsDocument, "agents", ["id"]);
14765
14833
  let children;
14766
14834
  if (builder) {
14767
14835
  const sub = new AgentSubBuilder();
@@ -14770,7 +14838,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14770
14838
  }
14771
14839
  this._includes.push({
14772
14840
  fieldName: "agents",
14773
- fragmentDoc: chunkE45DZR4J_cjs.AgentConnectionFragmentDoc,
14841
+ fragmentDoc: chunkGL6CUR7S_cjs.AgentConnectionFragmentDoc,
14774
14842
  variables,
14775
14843
  isConnection: true,
14776
14844
  isList: false,
@@ -14788,7 +14856,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14788
14856
  }
14789
14857
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14790
14858
  artifacts(variables, builder) {
14791
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14859
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14792
14860
  let children;
14793
14861
  if (builder) {
14794
14862
  const sub = new ArtifactSubBuilder();
@@ -14797,7 +14865,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14797
14865
  }
14798
14866
  this._includes.push({
14799
14867
  fieldName: "artifacts",
14800
- fragmentDoc: chunkE45DZR4J_cjs.ArtifactConnectionFragmentDoc,
14868
+ fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14801
14869
  variables,
14802
14870
  isConnection: true,
14803
14871
  isList: false,
@@ -14815,7 +14883,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14815
14883
  }
14816
14884
  /** Include insight in this query (Smart Fetch — single HTTP request). */
14817
14885
  insight(variables, builder) {
14818
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Chat_InsightDocument, "insight", ["id"]);
14886
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_InsightDocument, "insight", ["id"]);
14819
14887
  let children;
14820
14888
  if (builder) {
14821
14889
  const sub = new InsightSubBuilder();
@@ -14824,7 +14892,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14824
14892
  }
14825
14893
  this._includes.push({
14826
14894
  fieldName: "insight",
14827
- fragmentDoc: chunkE45DZR4J_cjs.InsightFragmentDoc,
14895
+ fragmentDoc: chunkGL6CUR7S_cjs.InsightFragmentDoc,
14828
14896
  variables,
14829
14897
  isConnection: false,
14830
14898
  isList: false,
@@ -14841,7 +14909,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14841
14909
  }
14842
14910
  /** Include messages in this query (Smart Fetch — single HTTP request). */
14843
14911
  messages(variables, builder) {
14844
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Chat_MessagesDocument, "messages", ["id"]);
14912
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_MessagesDocument, "messages", ["id"]);
14845
14913
  let children;
14846
14914
  if (builder) {
14847
14915
  const sub = new ChatMessageSubBuilder();
@@ -14850,7 +14918,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14850
14918
  }
14851
14919
  this._includes.push({
14852
14920
  fieldName: "messages",
14853
- fragmentDoc: chunkE45DZR4J_cjs.ChatMessageConnectionFragmentDoc,
14921
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageConnectionFragmentDoc,
14854
14922
  variables,
14855
14923
  isConnection: true,
14856
14924
  isList: false,
@@ -14876,7 +14944,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
14876
14944
  }
14877
14945
  async fetch(options) {
14878
14946
  const variables = this._variables;
14879
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DatabaseDocument, "database", this._includes, variables);
14947
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseDocument, "database", this._includes, variables);
14880
14948
  const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
14881
14949
  const data = response.database;
14882
14950
  const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
@@ -14888,7 +14956,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
14888
14956
  watch(options) {
14889
14957
  const variables = this._variables;
14890
14958
  const includes = this._includes;
14891
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DatabaseDocument, "database", includes, variables);
14959
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseDocument, "database", includes, variables);
14892
14960
  const raw = this._syncEngine.watch(
14893
14961
  queryDoc,
14894
14962
  mergedVars,
@@ -14918,10 +14986,10 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
14918
14986
  }
14919
14987
  /** Include engine in this query (Smart Fetch — single HTTP request). */
14920
14988
  engine(variables) {
14921
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Database_EngineDocument, "engine", ["id"]);
14989
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_EngineDocument, "engine", ["id"]);
14922
14990
  this._includes.push({
14923
14991
  fieldName: "engine",
14924
- fragmentDoc: chunkE45DZR4J_cjs.DatabaseEngineFragmentDoc,
14992
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
14925
14993
  variables,
14926
14994
  isConnection: false,
14927
14995
  isList: false,
@@ -14937,7 +15005,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
14937
15005
  }
14938
15006
  /** Include tables in this query (Smart Fetch — single HTTP request). */
14939
15007
  tables(variables, builder) {
14940
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Database_TablesDocument, "tables", ["id"]);
15008
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_TablesDocument, "tables", ["id"]);
14941
15009
  let children;
14942
15010
  if (builder) {
14943
15011
  const sub = new TableSubBuilder();
@@ -14946,7 +15014,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
14946
15014
  }
14947
15015
  this._includes.push({
14948
15016
  fieldName: "tables",
14949
- fragmentDoc: chunkE45DZR4J_cjs.TableConnectionFragmentDoc,
15017
+ fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
14950
15018
  variables,
14951
15019
  isConnection: true,
14952
15020
  isList: false,
@@ -14971,14 +15039,14 @@ var Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
14971
15039
  }
14972
15040
  async fetch(options) {
14973
15041
  const variables = this._variables;
14974
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Database_EngineDocument, variables, "database");
15042
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Database_EngineDocument, variables, "database");
14975
15043
  const data = response.database?.engine;
14976
15044
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14977
15045
  }
14978
15046
  watch(options) {
14979
15047
  const variables = this._variables;
14980
15048
  const raw = this._syncEngine.watch(
14981
- chunkE45DZR4J_cjs.Database_EngineDocument,
15049
+ chunkGL6CUR7S_cjs.Database_EngineDocument,
14982
15050
  variables,
14983
15051
  "database",
14984
15052
  async (db) => {
@@ -15001,14 +15069,14 @@ var Database_Engine_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15001
15069
  }
15002
15070
  async fetch(options) {
15003
15071
  const variables = this._variables;
15004
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Database_Engine_CatalogDocument, variables, "database");
15072
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Database_Engine_CatalogDocument, variables, "database");
15005
15073
  const data = response.database?.engine?.catalog;
15006
15074
  return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15007
15075
  }
15008
15076
  watch(options) {
15009
15077
  const variables = this._variables;
15010
15078
  const raw = this._syncEngine.watch(
15011
- chunkE45DZR4J_cjs.Database_Engine_CatalogDocument,
15079
+ chunkGL6CUR7S_cjs.Database_Engine_CatalogDocument,
15012
15080
  variables,
15013
15081
  "database",
15014
15082
  async (db) => {
@@ -15031,18 +15099,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk342BFYZZ_cjs
15031
15099
  }
15032
15100
  async fetch(options) {
15033
15101
  const variables = this._variables;
15034
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Database_TablesDocument, variables, "database");
15102
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Database_TablesDocument, variables, "database");
15035
15103
  const data = response.database?.tables;
15036
15104
  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);
15037
15105
  }
15038
15106
  watch(options) {
15039
15107
  const variables = this._variables;
15040
15108
  const raw = this._syncEngine.watch(
15041
- chunkE45DZR4J_cjs.Database_TablesDocument,
15109
+ chunkGL6CUR7S_cjs.Database_TablesDocument,
15042
15110
  variables,
15043
15111
  "database",
15044
15112
  async (db) => {
15045
- const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkE45DZR4J_cjs.Database_TablesDocument));
15113
+ const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkGL6CUR7S_cjs.Database_TablesDocument));
15046
15114
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
15047
15115
  return { database: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15048
15116
  }
@@ -15062,7 +15130,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15062
15130
  }
15063
15131
  async fetch(options) {
15064
15132
  const variables = this._variables;
15065
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
15133
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
15066
15134
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
15067
15135
  const data = response.databaseCatalog;
15068
15136
  const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -15074,7 +15142,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15074
15142
  watch(options) {
15075
15143
  const variables = this._variables;
15076
15144
  const includes = this._includes;
15077
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
15145
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
15078
15146
  const raw = this._syncEngine.watch(
15079
15147
  queryDoc,
15080
15148
  mergedVars,
@@ -15104,10 +15172,10 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15104
15172
  }
15105
15173
  /** Include engine in this query (Smart Fetch — single HTTP request). */
15106
15174
  engine(variables) {
15107
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15175
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15108
15176
  this._includes.push({
15109
15177
  fieldName: "engine",
15110
- fragmentDoc: chunkE45DZR4J_cjs.DatabaseEngineFragmentDoc,
15178
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
15111
15179
  variables,
15112
15180
  isConnection: false,
15113
15181
  isList: false,
@@ -15130,14 +15198,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
15130
15198
  }
15131
15199
  async fetch(options) {
15132
15200
  const variables = this._variables;
15133
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
15201
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
15134
15202
  const data = response.databaseCatalog?.engine;
15135
15203
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15136
15204
  }
15137
15205
  watch(options) {
15138
15206
  const variables = this._variables;
15139
15207
  const raw = this._syncEngine.watch(
15140
- chunkE45DZR4J_cjs.DatabaseCatalog_EngineDocument,
15208
+ chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument,
15141
15209
  variables,
15142
15210
  "databaseCatalog",
15143
15211
  async (db) => {
@@ -15161,7 +15229,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15161
15229
  }
15162
15230
  async fetch(options) {
15163
15231
  const variables = this._variables;
15164
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
15232
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
15165
15233
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
15166
15234
  const data = response.databaseCatalogs;
15167
15235
  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);
@@ -15178,7 +15246,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15178
15246
  const subscriptionId = crypto.randomUUID();
15179
15247
  const includes = this._includes;
15180
15248
  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) }] : []);
15181
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
15249
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
15182
15250
  const raw = this._syncEngine.watch(
15183
15251
  queryDoc,
15184
15252
  mergedVars,
@@ -15213,10 +15281,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15213
15281
  }
15214
15282
  /** Include engine in this query (Smart Fetch — single HTTP request). */
15215
15283
  engine(variables) {
15216
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15284
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15217
15285
  this._includes.push({
15218
15286
  fieldName: "engine",
15219
- fragmentDoc: chunkE45DZR4J_cjs.DatabaseEngineFragmentDoc,
15287
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
15220
15288
  variables,
15221
15289
  isConnection: false,
15222
15290
  isList: false,
@@ -15233,7 +15301,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15233
15301
  };
15234
15302
  var DatabaseSchemaQuery = class extends chunk342BFYZZ_cjs.Request {
15235
15303
  async fetch(variables) {
15236
- const response = await this._request(chunkE45DZR4J_cjs.DatabaseSchemaDocument, variables);
15304
+ const response = await this._request(chunkGL6CUR7S_cjs.DatabaseSchemaDocument, variables);
15237
15305
  return response.databaseSchema;
15238
15306
  }
15239
15307
  };
@@ -15246,7 +15314,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15246
15314
  }
15247
15315
  async fetch(options) {
15248
15316
  const variables = this._variables;
15249
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DatabasesDocument, "databases", this._includes, variables, true);
15317
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabasesDocument, "databases", this._includes, variables, true);
15250
15318
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
15251
15319
  const data = response.databases;
15252
15320
  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);
@@ -15263,7 +15331,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15263
15331
  const subscriptionId = crypto.randomUUID();
15264
15332
  const includes = this._includes;
15265
15333
  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) }] : []);
15266
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DatabasesDocument, "databases", includes, variables, true);
15334
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabasesDocument, "databases", includes, variables, true);
15267
15335
  const raw = this._syncEngine.watch(
15268
15336
  queryDoc,
15269
15337
  mergedVars,
@@ -15298,10 +15366,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15298
15366
  }
15299
15367
  /** Include engine in this query (Smart Fetch — single HTTP request). */
15300
15368
  engine(variables) {
15301
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Database_EngineDocument, "engine", ["id"]);
15369
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_EngineDocument, "engine", ["id"]);
15302
15370
  this._includes.push({
15303
15371
  fieldName: "engine",
15304
- fragmentDoc: chunkE45DZR4J_cjs.DatabaseEngineFragmentDoc,
15372
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
15305
15373
  variables,
15306
15374
  isConnection: false,
15307
15375
  isList: false,
@@ -15317,7 +15385,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15317
15385
  }
15318
15386
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15319
15387
  tables(variables, builder) {
15320
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Database_TablesDocument, "tables", ["id"]);
15388
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_TablesDocument, "tables", ["id"]);
15321
15389
  let children;
15322
15390
  if (builder) {
15323
15391
  const sub = new TableSubBuilder();
@@ -15326,7 +15394,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15326
15394
  }
15327
15395
  this._includes.push({
15328
15396
  fieldName: "tables",
15329
- fragmentDoc: chunkE45DZR4J_cjs.TableConnectionFragmentDoc,
15397
+ fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
15330
15398
  variables,
15331
15399
  isConnection: true,
15332
15400
  isList: false,
@@ -15352,7 +15420,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15352
15420
  }
15353
15421
  async fetch(options) {
15354
15422
  const variables = this._variables;
15355
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DocumentDocument, "document", this._includes, variables);
15423
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentDocument, "document", this._includes, variables);
15356
15424
  const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
15357
15425
  const data = response.document;
15358
15426
  const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
@@ -15364,7 +15432,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15364
15432
  watch(options) {
15365
15433
  const variables = this._variables;
15366
15434
  const includes = this._includes;
15367
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DocumentDocument, "document", includes, variables);
15435
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentDocument, "document", includes, variables);
15368
15436
  const raw = this._syncEngine.watch(
15369
15437
  queryDoc,
15370
15438
  mergedVars,
@@ -15394,10 +15462,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15394
15462
  }
15395
15463
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15396
15464
  contents(variables) {
15397
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Document_ContentsDocument, "contents", ["id"]);
15465
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_ContentsDocument, "contents", ["id"]);
15398
15466
  this._includes.push({
15399
15467
  fieldName: "contents",
15400
- fragmentDoc: chunkE45DZR4J_cjs.DocumentContentFragmentDoc,
15468
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentContentFragmentDoc,
15401
15469
  variables,
15402
15470
  isConnection: false,
15403
15471
  isList: true,
@@ -15413,10 +15481,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15413
15481
  }
15414
15482
  /** Include file in this query (Smart Fetch — single HTTP request). */
15415
15483
  file(variables) {
15416
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Document_FileDocument, "file", ["id"]);
15484
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FileDocument, "file", ["id"]);
15417
15485
  this._includes.push({
15418
15486
  fieldName: "file",
15419
- fragmentDoc: chunkE45DZR4J_cjs.FileFragmentDoc,
15487
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
15420
15488
  variables,
15421
15489
  isConnection: false,
15422
15490
  isList: false,
@@ -15432,10 +15500,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15432
15500
  }
15433
15501
  /** Include format in this query (Smart Fetch — single HTTP request). */
15434
15502
  format(variables) {
15435
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Document_FormatDocument, "format", ["id"]);
15503
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FormatDocument, "format", ["id"]);
15436
15504
  this._includes.push({
15437
15505
  fieldName: "format",
15438
- fragmentDoc: chunkE45DZR4J_cjs.DocumentFormatFragmentDoc,
15506
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15439
15507
  variables,
15440
15508
  isConnection: false,
15441
15509
  isList: false,
@@ -15451,7 +15519,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15451
15519
  }
15452
15520
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15453
15521
  tables(variables, builder) {
15454
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Document_TablesDocument, "tables", ["id"]);
15522
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_TablesDocument, "tables", ["id"]);
15455
15523
  let children;
15456
15524
  if (builder) {
15457
15525
  const sub = new TableSubBuilder();
@@ -15460,7 +15528,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15460
15528
  }
15461
15529
  this._includes.push({
15462
15530
  fieldName: "tables",
15463
- fragmentDoc: chunkE45DZR4J_cjs.TableConnectionFragmentDoc,
15531
+ fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
15464
15532
  variables,
15465
15533
  isConnection: true,
15466
15534
  isList: false,
@@ -15484,7 +15552,7 @@ var Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
15484
15552
  this._variables = variables;
15485
15553
  }
15486
15554
  async fetch(options) {
15487
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Document_ContentsDocument, this._variables, "document");
15555
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_ContentsDocument, this._variables, "document");
15488
15556
  const data = response.document?.contents;
15489
15557
  if (!Array.isArray(data)) return [];
15490
15558
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -15498,14 +15566,14 @@ var Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
15498
15566
  }
15499
15567
  async fetch(options) {
15500
15568
  const variables = this._variables;
15501
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Document_FileDocument, variables, "document");
15569
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_FileDocument, variables, "document");
15502
15570
  const data = response.document?.file;
15503
15571
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15504
15572
  }
15505
15573
  watch(options) {
15506
15574
  const variables = this._variables;
15507
15575
  const raw = this._syncEngine.watch(
15508
- chunkE45DZR4J_cjs.Document_FileDocument,
15576
+ chunkGL6CUR7S_cjs.Document_FileDocument,
15509
15577
  variables,
15510
15578
  "document",
15511
15579
  async (db) => {
@@ -15528,14 +15596,14 @@ var Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
15528
15596
  }
15529
15597
  async fetch(options) {
15530
15598
  const variables = this._variables;
15531
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Document_FormatDocument, variables, "document");
15599
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_FormatDocument, variables, "document");
15532
15600
  const data = response.document?.format;
15533
15601
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15534
15602
  }
15535
15603
  watch(options) {
15536
15604
  const variables = this._variables;
15537
15605
  const raw = this._syncEngine.watch(
15538
- chunkE45DZR4J_cjs.Document_FormatDocument,
15606
+ chunkGL6CUR7S_cjs.Document_FormatDocument,
15539
15607
  variables,
15540
15608
  "document",
15541
15609
  async (db) => {
@@ -15558,14 +15626,14 @@ var Document_Format_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15558
15626
  }
15559
15627
  async fetch(options) {
15560
15628
  const variables = this._variables;
15561
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Document_Format_CatalogDocument, variables, "document");
15629
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_Format_CatalogDocument, variables, "document");
15562
15630
  const data = response.document?.format?.catalog;
15563
15631
  return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15564
15632
  }
15565
15633
  watch(options) {
15566
15634
  const variables = this._variables;
15567
15635
  const raw = this._syncEngine.watch(
15568
- chunkE45DZR4J_cjs.Document_Format_CatalogDocument,
15636
+ chunkGL6CUR7S_cjs.Document_Format_CatalogDocument,
15569
15637
  variables,
15570
15638
  "document",
15571
15639
  async (db) => {
@@ -15588,18 +15656,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk342BFYZZ_cjs
15588
15656
  }
15589
15657
  async fetch(options) {
15590
15658
  const variables = this._variables;
15591
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Document_TablesDocument, variables, "document");
15659
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_TablesDocument, variables, "document");
15592
15660
  const data = response.document?.tables;
15593
15661
  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);
15594
15662
  }
15595
15663
  watch(options) {
15596
15664
  const variables = this._variables;
15597
15665
  const raw = this._syncEngine.watch(
15598
- chunkE45DZR4J_cjs.Document_TablesDocument,
15666
+ chunkGL6CUR7S_cjs.Document_TablesDocument,
15599
15667
  variables,
15600
15668
  "document",
15601
15669
  async (db) => {
15602
- const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkE45DZR4J_cjs.Document_TablesDocument));
15670
+ const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkGL6CUR7S_cjs.Document_TablesDocument));
15603
15671
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
15604
15672
  return { document: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15605
15673
  }
@@ -15619,7 +15687,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15619
15687
  }
15620
15688
  async fetch(options) {
15621
15689
  const variables = this._variables;
15622
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
15690
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
15623
15691
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
15624
15692
  const data = response.documentCatalog;
15625
15693
  const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -15631,7 +15699,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15631
15699
  watch(options) {
15632
15700
  const variables = this._variables;
15633
15701
  const includes = this._includes;
15634
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
15702
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
15635
15703
  const raw = this._syncEngine.watch(
15636
15704
  queryDoc,
15637
15705
  mergedVars,
@@ -15661,10 +15729,10 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15661
15729
  }
15662
15730
  /** Include format in this query (Smart Fetch — single HTTP request). */
15663
15731
  format(variables) {
15664
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.DocumentCatalog_FormatDocument, "format", []);
15732
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, "format", []);
15665
15733
  this._includes.push({
15666
15734
  fieldName: "format",
15667
- fragmentDoc: chunkE45DZR4J_cjs.DocumentFormatFragmentDoc,
15735
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15668
15736
  variables,
15669
15737
  isConnection: false,
15670
15738
  isList: false,
@@ -15687,14 +15755,14 @@ var DocumentCatalog_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
15687
15755
  }
15688
15756
  async fetch(options) {
15689
15757
  const variables = this._variables;
15690
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
15758
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
15691
15759
  const data = response.documentCatalog?.format;
15692
15760
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15693
15761
  }
15694
15762
  watch(options) {
15695
15763
  const variables = this._variables;
15696
15764
  const raw = this._syncEngine.watch(
15697
- chunkE45DZR4J_cjs.DocumentCatalog_FormatDocument,
15765
+ chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument,
15698
15766
  variables,
15699
15767
  "documentCatalog",
15700
15768
  async (db) => {
@@ -15718,7 +15786,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
15718
15786
  }
15719
15787
  async fetch(options) {
15720
15788
  const variables = this._variables;
15721
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
15789
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
15722
15790
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
15723
15791
  const data = response.documentCatalogs;
15724
15792
  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);
@@ -15735,7 +15803,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
15735
15803
  const subscriptionId = crypto.randomUUID();
15736
15804
  const includes = this._includes;
15737
15805
  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) }] : []);
15738
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
15806
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
15739
15807
  const raw = this._syncEngine.watch(
15740
15808
  queryDoc,
15741
15809
  mergedVars,
@@ -15770,10 +15838,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
15770
15838
  }
15771
15839
  /** Include format in this query (Smart Fetch — single HTTP request). */
15772
15840
  format(variables) {
15773
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.DocumentCatalog_FormatDocument, "format", []);
15841
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, "format", []);
15774
15842
  this._includes.push({
15775
15843
  fieldName: "format",
15776
- fragmentDoc: chunkE45DZR4J_cjs.DocumentFormatFragmentDoc,
15844
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15777
15845
  variables,
15778
15846
  isConnection: false,
15779
15847
  isList: false,
@@ -15797,7 +15865,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15797
15865
  }
15798
15866
  async fetch(options) {
15799
15867
  const variables = this._variables;
15800
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DocumentsDocument, "documents", this._includes, variables, true);
15868
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentsDocument, "documents", this._includes, variables, true);
15801
15869
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
15802
15870
  const data = response.documents;
15803
15871
  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);
@@ -15814,7 +15882,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15814
15882
  const subscriptionId = crypto.randomUUID();
15815
15883
  const includes = this._includes;
15816
15884
  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) }] : []);
15817
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.DocumentsDocument, "documents", includes, variables, true);
15885
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentsDocument, "documents", includes, variables, true);
15818
15886
  const raw = this._syncEngine.watch(
15819
15887
  queryDoc,
15820
15888
  mergedVars,
@@ -15849,10 +15917,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15849
15917
  }
15850
15918
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15851
15919
  contents(variables) {
15852
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Document_ContentsDocument, "contents", ["id"]);
15920
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_ContentsDocument, "contents", ["id"]);
15853
15921
  this._includes.push({
15854
15922
  fieldName: "contents",
15855
- fragmentDoc: chunkE45DZR4J_cjs.DocumentContentFragmentDoc,
15923
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentContentFragmentDoc,
15856
15924
  variables,
15857
15925
  isConnection: false,
15858
15926
  isList: true,
@@ -15868,10 +15936,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15868
15936
  }
15869
15937
  /** Include file in this query (Smart Fetch — single HTTP request). */
15870
15938
  file(variables) {
15871
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Document_FileDocument, "file", ["id"]);
15939
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FileDocument, "file", ["id"]);
15872
15940
  this._includes.push({
15873
15941
  fieldName: "file",
15874
- fragmentDoc: chunkE45DZR4J_cjs.FileFragmentDoc,
15942
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
15875
15943
  variables,
15876
15944
  isConnection: false,
15877
15945
  isList: false,
@@ -15887,10 +15955,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15887
15955
  }
15888
15956
  /** Include format in this query (Smart Fetch — single HTTP request). */
15889
15957
  format(variables) {
15890
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Document_FormatDocument, "format", ["id"]);
15958
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FormatDocument, "format", ["id"]);
15891
15959
  this._includes.push({
15892
15960
  fieldName: "format",
15893
- fragmentDoc: chunkE45DZR4J_cjs.DocumentFormatFragmentDoc,
15961
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15894
15962
  variables,
15895
15963
  isConnection: false,
15896
15964
  isList: false,
@@ -15906,7 +15974,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15906
15974
  }
15907
15975
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15908
15976
  tables(variables, builder) {
15909
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Document_TablesDocument, "tables", ["id"]);
15977
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_TablesDocument, "tables", ["id"]);
15910
15978
  let children;
15911
15979
  if (builder) {
15912
15980
  const sub = new TableSubBuilder();
@@ -15915,7 +15983,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15915
15983
  }
15916
15984
  this._includes.push({
15917
15985
  fieldName: "tables",
15918
- fragmentDoc: chunkE45DZR4J_cjs.TableConnectionFragmentDoc,
15986
+ fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
15919
15987
  variables,
15920
15988
  isConnection: true,
15921
15989
  isList: false,
@@ -15934,13 +16002,13 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15934
16002
  };
15935
16003
  var ExportQuery = class extends chunk342BFYZZ_cjs.Request {
15936
16004
  async fetch(variables) {
15937
- const response = await this._request(chunkE45DZR4J_cjs.ExportDocument, variables);
16005
+ const response = await this._request(chunkGL6CUR7S_cjs.ExportDocument, variables);
15938
16006
  return response.export;
15939
16007
  }
15940
16008
  };
15941
16009
  var ExportWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
15942
16010
  async fetch(variables) {
15943
- const response = await this._request(chunkE45DZR4J_cjs.ExportWithInsightIdDocument, variables);
16011
+ const response = await this._request(chunkGL6CUR7S_cjs.ExportWithInsightIdDocument, variables);
15944
16012
  return response.exportWithInsightId;
15945
16013
  }
15946
16014
  };
@@ -15953,7 +16021,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
15953
16021
  }
15954
16022
  async fetch(options) {
15955
16023
  const variables = this._variables;
15956
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.FeedItemDocument, "feedItem", this._includes, variables);
16024
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemDocument, "feedItem", this._includes, variables);
15957
16025
  const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItem");
15958
16026
  const data = response.feedItem;
15959
16027
  if (!data) return void 0;
@@ -15966,7 +16034,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
15966
16034
  watch(options) {
15967
16035
  const variables = this._variables;
15968
16036
  const includes = this._includes;
15969
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.FeedItemDocument, "feedItem", includes, variables);
16037
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemDocument, "feedItem", includes, variables);
15970
16038
  const raw = this._syncEngine.watch(
15971
16039
  queryDoc,
15972
16040
  mergedVars,
@@ -15997,10 +16065,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
15997
16065
  }
15998
16066
  /** Include action in this query (Smart Fetch — single HTTP request). */
15999
16067
  action(variables) {
16000
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.FeedItem_ActionDocument, "action", ["id"]);
16068
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, "action", ["id"]);
16001
16069
  this._includes.push({
16002
16070
  fieldName: "action",
16003
- fragmentDoc: chunkE45DZR4J_cjs.FeedSendMessageActionFragmentDoc,
16071
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedSendMessageActionFragmentDoc,
16004
16072
  variables,
16005
16073
  isConnection: false,
16006
16074
  isList: false,
@@ -16016,10 +16084,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
16016
16084
  }
16017
16085
  /** Include data in this query (Smart Fetch — single HTTP request). */
16018
16086
  data(variables) {
16019
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.FeedItem_DataDocument, "data", ["id"]);
16087
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_DataDocument, "data", ["id"]);
16020
16088
  this._includes.push({
16021
16089
  fieldName: "data",
16022
- fragmentDoc: chunkE45DZR4J_cjs.FeedArtifactDataFragmentDoc,
16090
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedArtifactDataFragmentDoc,
16023
16091
  variables,
16024
16092
  isConnection: false,
16025
16093
  isList: true,
@@ -16042,14 +16110,14 @@ var FeedItem_ActionQuery = class extends chunk342BFYZZ_cjs.Request {
16042
16110
  }
16043
16111
  async fetch(options) {
16044
16112
  const variables = this._variables;
16045
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.FeedItem_ActionDocument, variables, "feedItem");
16113
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, variables, "feedItem");
16046
16114
  const data = response.feedItem?.action;
16047
16115
  return data ? new FeedSendMessageAction(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16048
16116
  }
16049
16117
  watch(options) {
16050
16118
  const variables = this._variables;
16051
16119
  const raw = this._syncEngine.watch(
16052
- chunkE45DZR4J_cjs.FeedItem_ActionDocument,
16120
+ chunkGL6CUR7S_cjs.FeedItem_ActionDocument,
16053
16121
  variables,
16054
16122
  "feedItem",
16055
16123
  async (db) => {
@@ -16071,7 +16139,7 @@ var FeedItem_DataQuery = class extends chunk342BFYZZ_cjs.Request {
16071
16139
  this._variables = variables;
16072
16140
  }
16073
16141
  async fetch(options) {
16074
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.FeedItem_DataDocument, this._variables, "feedItem");
16142
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.FeedItem_DataDocument, this._variables, "feedItem");
16075
16143
  const data = response.feedItem?.data;
16076
16144
  if (!Array.isArray(data)) return [];
16077
16145
  return data.map((item) => new FeedArtifactData(this._request, item, this._syncEngine, this._baseUrl));
@@ -16086,7 +16154,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16086
16154
  }
16087
16155
  async fetch(options) {
16088
16156
  const variables = this._variables;
16089
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
16157
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
16090
16158
  const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItems");
16091
16159
  const data = response.feedItems;
16092
16160
  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);
@@ -16103,7 +16171,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16103
16171
  const subscriptionId = crypto.randomUUID();
16104
16172
  const includes = this._includes;
16105
16173
  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) }] : []);
16106
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
16174
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
16107
16175
  const raw = this._syncEngine.watch(
16108
16176
  queryDoc,
16109
16177
  mergedVars,
@@ -16138,10 +16206,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16138
16206
  }
16139
16207
  /** Include action in this query (Smart Fetch — single HTTP request). */
16140
16208
  action(variables) {
16141
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.FeedItem_ActionDocument, "action", ["id"]);
16209
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, "action", ["id"]);
16142
16210
  this._includes.push({
16143
16211
  fieldName: "action",
16144
- fragmentDoc: chunkE45DZR4J_cjs.FeedSendMessageActionFragmentDoc,
16212
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedSendMessageActionFragmentDoc,
16145
16213
  variables,
16146
16214
  isConnection: false,
16147
16215
  isList: false,
@@ -16157,10 +16225,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16157
16225
  }
16158
16226
  /** Include data in this query (Smart Fetch — single HTTP request). */
16159
16227
  data(variables) {
16160
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.FeedItem_DataDocument, "data", ["id"]);
16228
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_DataDocument, "data", ["id"]);
16161
16229
  this._includes.push({
16162
16230
  fieldName: "data",
16163
- fragmentDoc: chunkE45DZR4J_cjs.FeedArtifactDataFragmentDoc,
16231
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedArtifactDataFragmentDoc,
16164
16232
  variables,
16165
16233
  isConnection: false,
16166
16234
  isList: true,
@@ -16177,7 +16245,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16177
16245
  };
16178
16246
  var FileQuery = class extends chunk342BFYZZ_cjs.Request {
16179
16247
  async fetch(variables) {
16180
- const response = await this._request(chunkE45DZR4J_cjs.FileDocument, variables);
16248
+ const response = await this._request(chunkGL6CUR7S_cjs.FileDocument, variables);
16181
16249
  return response.file;
16182
16250
  }
16183
16251
  };
@@ -16190,7 +16258,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
16190
16258
  }
16191
16259
  async fetch(options) {
16192
16260
  const variables = this._variables;
16193
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
16261
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
16194
16262
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
16195
16263
  const data = response.fileMeta;
16196
16264
  if (!data) return void 0;
@@ -16203,7 +16271,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
16203
16271
  watch(options) {
16204
16272
  const variables = this._variables;
16205
16273
  const includes = this._includes;
16206
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.FileMetaDocument, "fileMeta", includes, variables);
16274
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FileMetaDocument, "fileMeta", includes, variables);
16207
16275
  const raw = this._syncEngine.watch(
16208
16276
  queryDoc,
16209
16277
  mergedVars,
@@ -16241,7 +16309,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
16241
16309
  this._variables = variables;
16242
16310
  }
16243
16311
  async fetch(options) {
16244
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
16312
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
16245
16313
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
16246
16314
  const data = response.fileUrls;
16247
16315
  if (!Array.isArray(data)) return [];
@@ -16250,7 +16318,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
16250
16318
  };
16251
16319
  var FindFitTierQuery = class extends chunk342BFYZZ_cjs.Request {
16252
16320
  async fetch(variables) {
16253
- const response = await this._request(chunkE45DZR4J_cjs.FindFitTierDocument, variables);
16321
+ const response = await this._request(chunkGL6CUR7S_cjs.FindFitTierDocument, variables);
16254
16322
  return response.findFitTier ?? void 0;
16255
16323
  }
16256
16324
  };
@@ -16263,7 +16331,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
16263
16331
  }
16264
16332
  async fetch(options) {
16265
16333
  const variables = this._variables;
16266
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.FolderDocument, "folder", this._includes, variables);
16334
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FolderDocument, "folder", this._includes, variables);
16267
16335
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
16268
16336
  const data = response.folder;
16269
16337
  const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
@@ -16275,7 +16343,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
16275
16343
  watch(options) {
16276
16344
  const variables = this._variables;
16277
16345
  const includes = this._includes;
16278
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.FolderDocument, "folder", includes, variables);
16346
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FolderDocument, "folder", includes, variables);
16279
16347
  const raw = this._syncEngine.watch(
16280
16348
  queryDoc,
16281
16349
  mergedVars,
@@ -16313,7 +16381,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
16313
16381
  }
16314
16382
  async fetch(options) {
16315
16383
  const variables = this._variables;
16316
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.FoldersDocument, "folders", this._includes, variables, true);
16384
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FoldersDocument, "folders", this._includes, variables, true);
16317
16385
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
16318
16386
  const data = response.folders;
16319
16387
  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);
@@ -16330,7 +16398,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
16330
16398
  const subscriptionId = crypto.randomUUID();
16331
16399
  const includes = this._includes;
16332
16400
  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) }] : []);
16333
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.FoldersDocument, "folders", includes, variables, true);
16401
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FoldersDocument, "folders", includes, variables, true);
16334
16402
  const raw = this._syncEngine.watch(
16335
16403
  queryDoc,
16336
16404
  mergedVars,
@@ -16366,7 +16434,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
16366
16434
  };
16367
16435
  var GetCapabilityQuery = class extends chunk342BFYZZ_cjs.Request {
16368
16436
  async fetch(variables) {
16369
- const response = await this._request(chunkE45DZR4J_cjs.GetCapabilityDocument, variables);
16437
+ const response = await this._request(chunkGL6CUR7S_cjs.GetCapabilityDocument, variables);
16370
16438
  return response.getCapability;
16371
16439
  }
16372
16440
  };
@@ -16379,7 +16447,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
16379
16447
  }
16380
16448
  async fetch(options) {
16381
16449
  const variables = this._variables;
16382
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
16450
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
16383
16451
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
16384
16452
  const data = response.getDevAccessToken;
16385
16453
  const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
@@ -16391,7 +16459,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
16391
16459
  watch(options) {
16392
16460
  const variables = this._variables;
16393
16461
  const includes = this._includes;
16394
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
16462
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
16395
16463
  const raw = this._syncEngine.watch(
16396
16464
  queryDoc,
16397
16465
  mergedVars,
@@ -16422,13 +16490,13 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
16422
16490
  };
16423
16491
  var GetLimitQuery = class extends chunk342BFYZZ_cjs.Request {
16424
16492
  async fetch(variables) {
16425
- const response = await this._request(chunkE45DZR4J_cjs.GetLimitDocument, variables);
16493
+ const response = await this._request(chunkGL6CUR7S_cjs.GetLimitDocument, variables);
16426
16494
  return response.getLimit ?? void 0;
16427
16495
  }
16428
16496
  };
16429
16497
  var GetRemainingQuery = class extends chunk342BFYZZ_cjs.Request {
16430
16498
  async fetch(variables) {
16431
- const response = await this._request(chunkE45DZR4J_cjs.GetRemainingDocument, variables);
16499
+ const response = await this._request(chunkGL6CUR7S_cjs.GetRemainingDocument, variables);
16432
16500
  return response.getRemaining ?? void 0;
16433
16501
  }
16434
16502
  };
@@ -16440,7 +16508,7 @@ var GetTokenUsageByModelQuery = class extends chunk342BFYZZ_cjs.Request {
16440
16508
  this._variables = variables;
16441
16509
  }
16442
16510
  async fetch(options) {
16443
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
16511
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
16444
16512
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
16445
16513
  const data = response.getTokenUsageByModel;
16446
16514
  if (!Array.isArray(data)) return [];
@@ -16455,7 +16523,7 @@ var GetTokenUsageHistoryQuery = class extends chunk342BFYZZ_cjs.Request {
16455
16523
  this._variables = variables;
16456
16524
  }
16457
16525
  async fetch(options) {
16458
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
16526
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
16459
16527
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
16460
16528
  const data = response.getTokenUsageHistory;
16461
16529
  if (!Array.isArray(data)) return [];
@@ -16471,7 +16539,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
16471
16539
  }
16472
16540
  async fetch(options) {
16473
16541
  const variables = this._variables;
16474
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
16542
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
16475
16543
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
16476
16544
  const data = response.getTokenUsageStatus;
16477
16545
  const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
@@ -16483,7 +16551,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
16483
16551
  watch(options) {
16484
16552
  const variables = this._variables;
16485
16553
  const includes = this._includes;
16486
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
16554
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
16487
16555
  const raw = this._syncEngine.watch(
16488
16556
  queryDoc,
16489
16557
  mergedVars,
@@ -16513,10 +16581,10 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
16513
16581
  }
16514
16582
  /** Include windows in this query (Smart Fetch — single HTTP request). */
16515
16583
  windows(variables) {
16516
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
16584
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
16517
16585
  this._includes.push({
16518
16586
  fieldName: "windows",
16519
- fragmentDoc: chunkE45DZR4J_cjs.UsageWindowsStatusTypeFragmentDoc,
16587
+ fragmentDoc: chunkGL6CUR7S_cjs.UsageWindowsStatusTypeFragmentDoc,
16520
16588
  variables,
16521
16589
  isConnection: false,
16522
16590
  isList: false,
@@ -16539,14 +16607,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk342BFYZZ_cjs.Request {
16539
16607
  }
16540
16608
  async fetch(options) {
16541
16609
  const variables = this._variables;
16542
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
16610
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
16543
16611
  const data = response.getTokenUsageStatus?.windows;
16544
16612
  return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16545
16613
  }
16546
16614
  watch(options) {
16547
16615
  const variables = this._variables;
16548
16616
  const raw = this._syncEngine.watch(
16549
- chunkE45DZR4J_cjs.GetTokenUsageStatus_WindowsDocument,
16617
+ chunkGL6CUR7S_cjs.GetTokenUsageStatus_WindowsDocument,
16550
16618
  variables,
16551
16619
  "getTokenUsageStatus",
16552
16620
  async (db) => {
@@ -16569,14 +16637,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk342BFYZZ_cjs.Reque
16569
16637
  }
16570
16638
  async fetch(options) {
16571
16639
  const variables = this._variables;
16572
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
16640
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
16573
16641
  const data = response.getTokenUsageStatus?.windows?.day;
16574
16642
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16575
16643
  }
16576
16644
  watch(options) {
16577
16645
  const variables = this._variables;
16578
16646
  const raw = this._syncEngine.watch(
16579
- chunkE45DZR4J_cjs.GetTokenUsageStatus_Windows_DayDocument,
16647
+ chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_DayDocument,
16580
16648
  variables,
16581
16649
  "getTokenUsageStatus",
16582
16650
  async (db) => {
@@ -16599,14 +16667,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk342BFYZZ_cjs.
16599
16667
  }
16600
16668
  async fetch(options) {
16601
16669
  const variables = this._variables;
16602
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
16670
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
16603
16671
  const data = response.getTokenUsageStatus?.windows?.fiveHour;
16604
16672
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16605
16673
  }
16606
16674
  watch(options) {
16607
16675
  const variables = this._variables;
16608
16676
  const raw = this._syncEngine.watch(
16609
- chunkE45DZR4J_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
16677
+ chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
16610
16678
  variables,
16611
16679
  "getTokenUsageStatus",
16612
16680
  async (db) => {
@@ -16629,14 +16697,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
16629
16697
  }
16630
16698
  async fetch(options) {
16631
16699
  const variables = this._variables;
16632
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
16700
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
16633
16701
  const data = response.getTokenUsageStatus?.windows?.week;
16634
16702
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16635
16703
  }
16636
16704
  watch(options) {
16637
16705
  const variables = this._variables;
16638
16706
  const raw = this._syncEngine.watch(
16639
- chunkE45DZR4J_cjs.GetTokenUsageStatus_Windows_WeekDocument,
16707
+ chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_WeekDocument,
16640
16708
  variables,
16641
16709
  "getTokenUsageStatus",
16642
16710
  async (db) => {
@@ -16653,7 +16721,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
16653
16721
  };
16654
16722
  var GetUsageQuery = class extends chunk342BFYZZ_cjs.Request {
16655
16723
  async fetch(variables) {
16656
- const response = await this._request(chunkE45DZR4J_cjs.GetUsageDocument, variables);
16724
+ const response = await this._request(chunkGL6CUR7S_cjs.GetUsageDocument, variables);
16657
16725
  return response.getUsage ?? void 0;
16658
16726
  }
16659
16727
  };
@@ -16666,7 +16734,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16666
16734
  }
16667
16735
  async fetch(options) {
16668
16736
  const variables = this._variables;
16669
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.InsightDocument, "insight", this._includes, variables);
16737
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightDocument, "insight", this._includes, variables);
16670
16738
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
16671
16739
  const data = response.insight;
16672
16740
  const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
@@ -16678,7 +16746,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16678
16746
  watch(options) {
16679
16747
  const variables = this._variables;
16680
16748
  const includes = this._includes;
16681
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.InsightDocument, "insight", includes, variables);
16749
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightDocument, "insight", includes, variables);
16682
16750
  const raw = this._syncEngine.watch(
16683
16751
  queryDoc,
16684
16752
  mergedVars,
@@ -16708,7 +16776,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16708
16776
  }
16709
16777
  /** Include chat in this query (Smart Fetch — single HTTP request). */
16710
16778
  chat(variables, builder) {
16711
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Insight_ChatDocument, "chat", ["id"]);
16779
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ChatDocument, "chat", ["id"]);
16712
16780
  let children;
16713
16781
  if (builder) {
16714
16782
  const sub = new ChatSubBuilder();
@@ -16717,7 +16785,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16717
16785
  }
16718
16786
  this._includes.push({
16719
16787
  fieldName: "chat",
16720
- fragmentDoc: chunkE45DZR4J_cjs.ChatFragmentDoc,
16788
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
16721
16789
  variables,
16722
16790
  isConnection: false,
16723
16791
  isList: false,
@@ -16734,10 +16802,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16734
16802
  }
16735
16803
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
16736
16804
  reportMembers(variables) {
16737
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16805
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16738
16806
  this._includes.push({
16739
16807
  fieldName: "reportMembers",
16740
- fragmentDoc: chunkE45DZR4J_cjs.ReportMemberFragmentDoc,
16808
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
16741
16809
  variables,
16742
16810
  isConnection: false,
16743
16811
  isList: true,
@@ -16753,7 +16821,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16753
16821
  }
16754
16822
  /** Include reports in this query (Smart Fetch — single HTTP request). */
16755
16823
  reports(variables, builder) {
16756
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Insight_ReportsDocument, "reports", ["id"]);
16824
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportsDocument, "reports", ["id"]);
16757
16825
  let children;
16758
16826
  if (builder) {
16759
16827
  const sub = new ReportSubBuilder();
@@ -16762,7 +16830,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16762
16830
  }
16763
16831
  this._includes.push({
16764
16832
  fieldName: "reports",
16765
- fragmentDoc: chunkE45DZR4J_cjs.ReportConnectionFragmentDoc,
16833
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportConnectionFragmentDoc,
16766
16834
  variables,
16767
16835
  isConnection: true,
16768
16836
  isList: false,
@@ -16778,6 +16846,25 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16778
16846
  });
16779
16847
  return this;
16780
16848
  }
16849
+ /** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
16850
+ thumbnailFile(variables) {
16851
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
16852
+ this._includes.push({
16853
+ fieldName: "thumbnailFile",
16854
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
16855
+ variables,
16856
+ isConnection: false,
16857
+ isList: false,
16858
+ variableDefinitions: info.variableDefinitions,
16859
+ fieldArguments: info.fieldArguments,
16860
+ syncMetadata: {
16861
+ entityType: "files",
16862
+ requiredFields: ["createdAt", "id", "path", "updatedAt"]
16863
+ },
16864
+ modelFactory: (req, data, se, bu) => new File(req, data, se, bu)
16865
+ });
16866
+ return this;
16867
+ }
16781
16868
  };
16782
16869
  var Insight_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
16783
16870
  _variables;
@@ -16787,14 +16874,14 @@ var Insight_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
16787
16874
  }
16788
16875
  async fetch(options) {
16789
16876
  const variables = this._variables;
16790
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Insight_ChatDocument, variables, "insight");
16877
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ChatDocument, variables, "insight");
16791
16878
  const data = response.insight?.chat;
16792
16879
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16793
16880
  }
16794
16881
  watch(options) {
16795
16882
  const variables = this._variables;
16796
16883
  const raw = this._syncEngine.watch(
16797
- chunkE45DZR4J_cjs.Insight_ChatDocument,
16884
+ chunkGL6CUR7S_cjs.Insight_ChatDocument,
16798
16885
  variables,
16799
16886
  "insight",
16800
16887
  async (db) => {
@@ -16816,7 +16903,7 @@ var Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
16816
16903
  this._variables = variables;
16817
16904
  }
16818
16905
  async fetch(options) {
16819
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Insight_ReportMembersDocument, this._variables, "insight");
16906
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, this._variables, "insight");
16820
16907
  const data = response.insight?.reportMembers;
16821
16908
  if (!Array.isArray(data)) return [];
16822
16909
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -16830,18 +16917,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk342BFYZZ_cjs
16830
16917
  }
16831
16918
  async fetch(options) {
16832
16919
  const variables = this._variables;
16833
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Insight_ReportsDocument, variables, "insight");
16920
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ReportsDocument, variables, "insight");
16834
16921
  const data = response.insight?.reports;
16835
16922
  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);
16836
16923
  }
16837
16924
  watch(options) {
16838
16925
  const variables = this._variables;
16839
16926
  const raw = this._syncEngine.watch(
16840
- chunkE45DZR4J_cjs.Insight_ReportsDocument,
16927
+ chunkGL6CUR7S_cjs.Insight_ReportsDocument,
16841
16928
  variables,
16842
16929
  "insight",
16843
16930
  async (db) => {
16844
- const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkE45DZR4J_cjs.Insight_ReportsDocument));
16931
+ const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkGL6CUR7S_cjs.Insight_ReportsDocument));
16845
16932
  const nodes = qr ? await db.table("reports").bulkGet(qr.entityIds) : [];
16846
16933
  return { insight: { reports: { __typename: "ReportConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
16847
16934
  }
@@ -16852,6 +16939,36 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk342BFYZZ_cjs
16852
16939
  });
16853
16940
  }
16854
16941
  };
16942
+ var Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
16943
+ _variables;
16944
+ constructor(request, syncEngine, variables = {}, baseUrl) {
16945
+ super(request, syncEngine, void 0, baseUrl);
16946
+ this._variables = variables;
16947
+ }
16948
+ async fetch(options) {
16949
+ const variables = this._variables;
16950
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, variables, "insight");
16951
+ const data = response.insight?.thumbnailFile;
16952
+ return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16953
+ }
16954
+ watch(options) {
16955
+ const variables = this._variables;
16956
+ const raw = this._syncEngine.watch(
16957
+ chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument,
16958
+ variables,
16959
+ "insight",
16960
+ async (db) => {
16961
+ const vars = variables;
16962
+ const entity = vars?.id ? await db.table("files").get(vars.id) : void 0;
16963
+ return { insight: { thumbnailFile: entity ?? null } };
16964
+ }
16965
+ );
16966
+ return new MappedDvinaQueryRef(raw, (response) => {
16967
+ const data = response.insight?.thumbnailFile;
16968
+ return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16969
+ });
16970
+ }
16971
+ };
16855
16972
  var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
16856
16973
  _variables;
16857
16974
  _includes = [];
@@ -16861,7 +16978,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
16861
16978
  }
16862
16979
  async fetch(options) {
16863
16980
  const variables = this._variables;
16864
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.InsightsDocument, "insights", this._includes, variables, true);
16981
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightsDocument, "insights", this._includes, variables, true);
16865
16982
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
16866
16983
  const data = response.insights;
16867
16984
  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);
@@ -16878,7 +16995,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
16878
16995
  const subscriptionId = crypto.randomUUID();
16879
16996
  const includes = this._includes;
16880
16997
  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) }] : []);
16881
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.InsightsDocument, "insights", includes, variables, true);
16998
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightsDocument, "insights", includes, variables, true);
16882
16999
  const raw = this._syncEngine.watch(
16883
17000
  queryDoc,
16884
17001
  mergedVars,
@@ -16913,7 +17030,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
16913
17030
  }
16914
17031
  /** Include chat in this query (Smart Fetch — single HTTP request). */
16915
17032
  chat(variables, builder) {
16916
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Insight_ChatDocument, "chat", ["id"]);
17033
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ChatDocument, "chat", ["id"]);
16917
17034
  let children;
16918
17035
  if (builder) {
16919
17036
  const sub = new ChatSubBuilder();
@@ -16922,7 +17039,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
16922
17039
  }
16923
17040
  this._includes.push({
16924
17041
  fieldName: "chat",
16925
- fragmentDoc: chunkE45DZR4J_cjs.ChatFragmentDoc,
17042
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
16926
17043
  variables,
16927
17044
  isConnection: false,
16928
17045
  isList: false,
@@ -16939,10 +17056,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
16939
17056
  }
16940
17057
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
16941
17058
  reportMembers(variables) {
16942
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
17059
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16943
17060
  this._includes.push({
16944
17061
  fieldName: "reportMembers",
16945
- fragmentDoc: chunkE45DZR4J_cjs.ReportMemberFragmentDoc,
17062
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
16946
17063
  variables,
16947
17064
  isConnection: false,
16948
17065
  isList: true,
@@ -16958,7 +17075,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
16958
17075
  }
16959
17076
  /** Include reports in this query (Smart Fetch — single HTTP request). */
16960
17077
  reports(variables, builder) {
16961
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Insight_ReportsDocument, "reports", ["id"]);
17078
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportsDocument, "reports", ["id"]);
16962
17079
  let children;
16963
17080
  if (builder) {
16964
17081
  const sub = new ReportSubBuilder();
@@ -16967,7 +17084,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
16967
17084
  }
16968
17085
  this._includes.push({
16969
17086
  fieldName: "reports",
16970
- fragmentDoc: chunkE45DZR4J_cjs.ReportConnectionFragmentDoc,
17087
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportConnectionFragmentDoc,
16971
17088
  variables,
16972
17089
  isConnection: true,
16973
17090
  isList: false,
@@ -16983,6 +17100,25 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
16983
17100
  });
16984
17101
  return this;
16985
17102
  }
17103
+ /** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
17104
+ thumbnailFile(variables) {
17105
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
17106
+ this._includes.push({
17107
+ fieldName: "thumbnailFile",
17108
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
17109
+ variables,
17110
+ isConnection: false,
17111
+ isList: false,
17112
+ variableDefinitions: info.variableDefinitions,
17113
+ fieldArguments: info.fieldArguments,
17114
+ syncMetadata: {
17115
+ entityType: "files",
17116
+ requiredFields: ["createdAt", "id", "path", "updatedAt"]
17117
+ },
17118
+ modelFactory: (req, data, se, bu) => new File(req, data, se, bu)
17119
+ });
17120
+ return this;
17121
+ }
16986
17122
  };
16987
17123
  var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
16988
17124
  _variables;
@@ -16993,7 +17129,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
16993
17129
  }
16994
17130
  async fetch(options) {
16995
17131
  const variables = this._variables;
16996
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.IntegrationDocument, "integration", this._includes, variables);
17132
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationDocument, "integration", this._includes, variables);
16997
17133
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
16998
17134
  const data = response.integration;
16999
17135
  const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
@@ -17005,7 +17141,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
17005
17141
  watch(options) {
17006
17142
  const variables = this._variables;
17007
17143
  const includes = this._includes;
17008
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.IntegrationDocument, "integration", includes, variables);
17144
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationDocument, "integration", includes, variables);
17009
17145
  const raw = this._syncEngine.watch(
17010
17146
  queryDoc,
17011
17147
  mergedVars,
@@ -17035,10 +17171,10 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
17035
17171
  }
17036
17172
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17037
17173
  provider(variables) {
17038
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Integration_ProviderDocument, "provider", ["id"]);
17174
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Integration_ProviderDocument, "provider", ["id"]);
17039
17175
  this._includes.push({
17040
17176
  fieldName: "provider",
17041
- fragmentDoc: chunkE45DZR4J_cjs.IntegrationProviderFragmentDoc,
17177
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17042
17178
  variables,
17043
17179
  isConnection: false,
17044
17180
  isList: false,
@@ -17061,14 +17197,14 @@ var Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
17061
17197
  }
17062
17198
  async fetch(options) {
17063
17199
  const variables = this._variables;
17064
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Integration_ProviderDocument, variables, "integration");
17200
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Integration_ProviderDocument, variables, "integration");
17065
17201
  const data = response.integration?.provider;
17066
17202
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17067
17203
  }
17068
17204
  watch(options) {
17069
17205
  const variables = this._variables;
17070
17206
  const raw = this._syncEngine.watch(
17071
- chunkE45DZR4J_cjs.Integration_ProviderDocument,
17207
+ chunkGL6CUR7S_cjs.Integration_ProviderDocument,
17072
17208
  variables,
17073
17209
  "integration",
17074
17210
  async (db) => {
@@ -17091,14 +17227,14 @@ var Integration_Provider_CatalogQuery = class extends chunk342BFYZZ_cjs.Request
17091
17227
  }
17092
17228
  async fetch(options) {
17093
17229
  const variables = this._variables;
17094
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Integration_Provider_CatalogDocument, variables, "integration");
17230
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Integration_Provider_CatalogDocument, variables, "integration");
17095
17231
  const data = response.integration?.provider?.catalog;
17096
17232
  return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17097
17233
  }
17098
17234
  watch(options) {
17099
17235
  const variables = this._variables;
17100
17236
  const raw = this._syncEngine.watch(
17101
- chunkE45DZR4J_cjs.Integration_Provider_CatalogDocument,
17237
+ chunkGL6CUR7S_cjs.Integration_Provider_CatalogDocument,
17102
17238
  variables,
17103
17239
  "integration",
17104
17240
  async (db) => {
@@ -17122,7 +17258,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
17122
17258
  }
17123
17259
  async fetch(options) {
17124
17260
  const variables = this._variables;
17125
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
17261
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
17126
17262
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
17127
17263
  const data = response.integrationCatalog;
17128
17264
  const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -17134,7 +17270,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
17134
17270
  watch(options) {
17135
17271
  const variables = this._variables;
17136
17272
  const includes = this._includes;
17137
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
17273
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
17138
17274
  const raw = this._syncEngine.watch(
17139
17275
  queryDoc,
17140
17276
  mergedVars,
@@ -17164,10 +17300,10 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
17164
17300
  }
17165
17301
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17166
17302
  provider(variables) {
17167
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17303
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17168
17304
  this._includes.push({
17169
17305
  fieldName: "provider",
17170
- fragmentDoc: chunkE45DZR4J_cjs.IntegrationProviderFragmentDoc,
17306
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17171
17307
  variables,
17172
17308
  isConnection: false,
17173
17309
  isList: false,
@@ -17190,14 +17326,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
17190
17326
  }
17191
17327
  async fetch(options) {
17192
17328
  const variables = this._variables;
17193
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
17329
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
17194
17330
  const data = response.integrationCatalog?.provider;
17195
17331
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17196
17332
  }
17197
17333
  watch(options) {
17198
17334
  const variables = this._variables;
17199
17335
  const raw = this._syncEngine.watch(
17200
- chunkE45DZR4J_cjs.IntegrationCatalog_ProviderDocument,
17336
+ chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument,
17201
17337
  variables,
17202
17338
  "integrationCatalog",
17203
17339
  async (db) => {
@@ -17214,7 +17350,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
17214
17350
  };
17215
17351
  var IntegrationCatalogToolsQuery = class extends chunk342BFYZZ_cjs.Request {
17216
17352
  async fetch(variables) {
17217
- const response = await this._request(chunkE45DZR4J_cjs.IntegrationCatalogToolsDocument, variables);
17353
+ const response = await this._request(chunkGL6CUR7S_cjs.IntegrationCatalogToolsDocument, variables);
17218
17354
  return response.integrationCatalogTools;
17219
17355
  }
17220
17356
  };
@@ -17227,7 +17363,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
17227
17363
  }
17228
17364
  async fetch(options) {
17229
17365
  const variables = this._variables;
17230
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
17366
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
17231
17367
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
17232
17368
  const data = response.integrationCatalogs;
17233
17369
  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);
@@ -17244,7 +17380,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
17244
17380
  const subscriptionId = crypto.randomUUID();
17245
17381
  const includes = this._includes;
17246
17382
  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) }] : []);
17247
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
17383
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
17248
17384
  const raw = this._syncEngine.watch(
17249
17385
  queryDoc,
17250
17386
  mergedVars,
@@ -17279,10 +17415,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
17279
17415
  }
17280
17416
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17281
17417
  provider(variables) {
17282
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17418
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17283
17419
  this._includes.push({
17284
17420
  fieldName: "provider",
17285
- fragmentDoc: chunkE45DZR4J_cjs.IntegrationProviderFragmentDoc,
17421
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17286
17422
  variables,
17287
17423
  isConnection: false,
17288
17424
  isList: false,
@@ -17306,7 +17442,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
17306
17442
  }
17307
17443
  async fetch(options) {
17308
17444
  const variables = this._variables;
17309
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
17445
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
17310
17446
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
17311
17447
  const data = response.integrations;
17312
17448
  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);
@@ -17323,7 +17459,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
17323
17459
  const subscriptionId = crypto.randomUUID();
17324
17460
  const includes = this._includes;
17325
17461
  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) }] : []);
17326
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.IntegrationsDocument, "integrations", includes, variables, true);
17462
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationsDocument, "integrations", includes, variables, true);
17327
17463
  const raw = this._syncEngine.watch(
17328
17464
  queryDoc,
17329
17465
  mergedVars,
@@ -17358,10 +17494,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
17358
17494
  }
17359
17495
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17360
17496
  provider(variables) {
17361
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Integration_ProviderDocument, "provider", ["id"]);
17497
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Integration_ProviderDocument, "provider", ["id"]);
17362
17498
  this._includes.push({
17363
17499
  fieldName: "provider",
17364
- fragmentDoc: chunkE45DZR4J_cjs.IntegrationProviderFragmentDoc,
17500
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17365
17501
  variables,
17366
17502
  isConnection: false,
17367
17503
  isList: false,
@@ -17385,7 +17521,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
17385
17521
  }
17386
17522
  async fetch(options) {
17387
17523
  const variables = this._variables;
17388
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
17524
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
17389
17525
  const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
17390
17526
  const data = response.interpretations;
17391
17527
  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);
@@ -17402,7 +17538,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
17402
17538
  const subscriptionId = crypto.randomUUID();
17403
17539
  const includes = this._includes;
17404
17540
  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) }] : []);
17405
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
17541
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
17406
17542
  const raw = this._syncEngine.watch(
17407
17543
  queryDoc,
17408
17544
  mergedVars,
@@ -17445,7 +17581,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
17445
17581
  }
17446
17582
  async fetch(options) {
17447
17583
  const variables = this._variables;
17448
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.NotificationDocument, "notification", this._includes, variables);
17584
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationDocument, "notification", this._includes, variables);
17449
17585
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
17450
17586
  const data = response.notification;
17451
17587
  const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
@@ -17457,7 +17593,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
17457
17593
  watch(options) {
17458
17594
  const variables = this._variables;
17459
17595
  const includes = this._includes;
17460
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.NotificationDocument, "notification", includes, variables);
17596
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationDocument, "notification", includes, variables);
17461
17597
  const raw = this._syncEngine.watch(
17462
17598
  queryDoc,
17463
17599
  mergedVars,
@@ -17495,7 +17631,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
17495
17631
  }
17496
17632
  async fetch(options) {
17497
17633
  const variables = this._variables;
17498
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
17634
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
17499
17635
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
17500
17636
  const data = response.notifications;
17501
17637
  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);
@@ -17512,7 +17648,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
17512
17648
  const subscriptionId = crypto.randomUUID();
17513
17649
  const includes = this._includes;
17514
17650
  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) }] : []);
17515
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.NotificationsDocument, "notifications", includes, variables, true);
17651
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationsDocument, "notifications", includes, variables, true);
17516
17652
  const raw = this._syncEngine.watch(
17517
17653
  queryDoc,
17518
17654
  mergedVars,
@@ -17554,7 +17690,7 @@ var NotificationsByReferenceQuery = class extends chunk342BFYZZ_cjs.Request {
17554
17690
  this._variables = variables;
17555
17691
  }
17556
17692
  async fetch(options) {
17557
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
17693
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
17558
17694
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
17559
17695
  const data = response.notificationsByReference;
17560
17696
  if (!Array.isArray(data)) return [];
@@ -17570,7 +17706,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
17570
17706
  }
17571
17707
  async fetch(options) {
17572
17708
  const variables = this._variables;
17573
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
17709
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
17574
17710
  const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
17575
17711
  const data = response.privacyStats;
17576
17712
  const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
@@ -17582,7 +17718,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
17582
17718
  watch(options) {
17583
17719
  const variables = this._variables;
17584
17720
  const includes = this._includes;
17585
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
17721
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
17586
17722
  const raw = this._syncEngine.watch(
17587
17723
  queryDoc,
17588
17724
  mergedVars,
@@ -17620,7 +17756,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
17620
17756
  }
17621
17757
  async fetch(options) {
17622
17758
  const variables = this._variables;
17623
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
17759
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
17624
17760
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
17625
17761
  const data = response.pulseAppSummary;
17626
17762
  if (!data) return void 0;
@@ -17633,7 +17769,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
17633
17769
  watch(options) {
17634
17770
  const variables = this._variables;
17635
17771
  const includes = this._includes;
17636
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
17772
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
17637
17773
  const raw = this._syncEngine.watch(
17638
17774
  queryDoc,
17639
17775
  mergedVars,
@@ -17672,7 +17808,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17672
17808
  }
17673
17809
  async fetch(options) {
17674
17810
  const variables = this._variables;
17675
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
17811
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
17676
17812
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
17677
17813
  const data = response.pulseEvent;
17678
17814
  const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
@@ -17684,7 +17820,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17684
17820
  watch(options) {
17685
17821
  const variables = this._variables;
17686
17822
  const includes = this._includes;
17687
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.PulseEventDocument, "pulseEvent", includes, variables);
17823
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventDocument, "pulseEvent", includes, variables);
17688
17824
  const raw = this._syncEngine.watch(
17689
17825
  queryDoc,
17690
17826
  mergedVars,
@@ -17714,7 +17850,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17714
17850
  }
17715
17851
  /** Include integration in this query (Smart Fetch — single HTTP request). */
17716
17852
  integration(variables, builder) {
17717
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17853
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17718
17854
  let children;
17719
17855
  if (builder) {
17720
17856
  const sub = new IntegrationSubBuilder();
@@ -17723,7 +17859,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17723
17859
  }
17724
17860
  this._includes.push({
17725
17861
  fieldName: "integration",
17726
- fragmentDoc: chunkE45DZR4J_cjs.IntegrationFragmentDoc,
17862
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationFragmentDoc,
17727
17863
  variables,
17728
17864
  isConnection: false,
17729
17865
  isList: false,
@@ -17747,14 +17883,14 @@ var PulseEvent_IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
17747
17883
  }
17748
17884
  async fetch(options) {
17749
17885
  const variables = this._variables;
17750
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
17886
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
17751
17887
  const data = response.pulseEvent?.integration;
17752
17888
  return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17753
17889
  }
17754
17890
  watch(options) {
17755
17891
  const variables = this._variables;
17756
17892
  const raw = this._syncEngine.watch(
17757
- chunkE45DZR4J_cjs.PulseEvent_IntegrationDocument,
17893
+ chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument,
17758
17894
  variables,
17759
17895
  "pulseEvent",
17760
17896
  async (db) => {
@@ -17777,14 +17913,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Reque
17777
17913
  }
17778
17914
  async fetch(options) {
17779
17915
  const variables = this._variables;
17780
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
17916
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
17781
17917
  const data = response.pulseEvent?.integration?.provider;
17782
17918
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17783
17919
  }
17784
17920
  watch(options) {
17785
17921
  const variables = this._variables;
17786
17922
  const raw = this._syncEngine.watch(
17787
- chunkE45DZR4J_cjs.PulseEvent_Integration_ProviderDocument,
17923
+ chunkGL6CUR7S_cjs.PulseEvent_Integration_ProviderDocument,
17788
17924
  variables,
17789
17925
  "pulseEvent",
17790
17926
  async (db) => {
@@ -17808,7 +17944,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
17808
17944
  }
17809
17945
  async fetch(options) {
17810
17946
  const variables = this._variables;
17811
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
17947
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
17812
17948
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
17813
17949
  const data = response.pulseEvents;
17814
17950
  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);
@@ -17825,7 +17961,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
17825
17961
  const subscriptionId = crypto.randomUUID();
17826
17962
  const includes = this._includes;
17827
17963
  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) }] : []);
17828
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
17964
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
17829
17965
  const raw = this._syncEngine.watch(
17830
17966
  queryDoc,
17831
17967
  mergedVars,
@@ -17860,7 +17996,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
17860
17996
  }
17861
17997
  /** Include integration in this query (Smart Fetch — single HTTP request). */
17862
17998
  integration(variables, builder) {
17863
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17999
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17864
18000
  let children;
17865
18001
  if (builder) {
17866
18002
  const sub = new IntegrationSubBuilder();
@@ -17869,7 +18005,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
17869
18005
  }
17870
18006
  this._includes.push({
17871
18007
  fieldName: "integration",
17872
- fragmentDoc: chunkE45DZR4J_cjs.IntegrationFragmentDoc,
18008
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationFragmentDoc,
17873
18009
  variables,
17874
18010
  isConnection: false,
17875
18011
  isList: false,
@@ -17893,7 +18029,7 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
17893
18029
  this._variables = variables;
17894
18030
  }
17895
18031
  async fetch(options) {
17896
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
18032
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
17897
18033
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
17898
18034
  const data = response.pulseTriggerSettings;
17899
18035
  if (!Array.isArray(data)) return [];
@@ -17902,19 +18038,19 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
17902
18038
  };
17903
18039
  var QueryQuery = class extends chunk342BFYZZ_cjs.Request {
17904
18040
  async fetch(variables) {
17905
- const response = await this._request(chunkE45DZR4J_cjs.QueryDocument, variables);
18041
+ const response = await this._request(chunkGL6CUR7S_cjs.QueryDocument, variables);
17906
18042
  return response.query;
17907
18043
  }
17908
18044
  };
17909
18045
  var QueryWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
17910
18046
  async fetch(variables) {
17911
- const response = await this._request(chunkE45DZR4J_cjs.QueryWithInsightIdDocument, variables);
18047
+ const response = await this._request(chunkGL6CUR7S_cjs.QueryWithInsightIdDocument, variables);
17912
18048
  return response.queryWithInsightId;
17913
18049
  }
17914
18050
  };
17915
18051
  var QueryWithMessageIdQuery = class extends chunk342BFYZZ_cjs.Request {
17916
18052
  async fetch(variables) {
17917
- const response = await this._request(chunkE45DZR4J_cjs.QueryWithMessageIdDocument, variables);
18053
+ const response = await this._request(chunkGL6CUR7S_cjs.QueryWithMessageIdDocument, variables);
17918
18054
  return response.queryWithMessageId;
17919
18055
  }
17920
18056
  };
@@ -17927,7 +18063,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
17927
18063
  }
17928
18064
  async fetch(options) {
17929
18065
  const variables = this._variables;
17930
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ReportDocument, "report", this._includes, variables);
18066
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportDocument, "report", this._includes, variables);
17931
18067
  const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
17932
18068
  const data = response.report;
17933
18069
  const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
@@ -17939,7 +18075,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
17939
18075
  watch(options) {
17940
18076
  const variables = this._variables;
17941
18077
  const includes = this._includes;
17942
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ReportDocument, "report", includes, variables);
18078
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportDocument, "report", includes, variables);
17943
18079
  const raw = this._syncEngine.watch(
17944
18080
  queryDoc,
17945
18081
  mergedVars,
@@ -17969,7 +18105,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
17969
18105
  }
17970
18106
  /** Include insights in this query (Smart Fetch — single HTTP request). */
17971
18107
  insights(variables, builder) {
17972
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Report_InsightsDocument, "insights", ["id"]);
18108
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_InsightsDocument, "insights", ["id"]);
17973
18109
  let children;
17974
18110
  if (builder) {
17975
18111
  const sub = new InsightSubBuilder();
@@ -17978,7 +18114,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
17978
18114
  }
17979
18115
  this._includes.push({
17980
18116
  fieldName: "insights",
17981
- fragmentDoc: chunkE45DZR4J_cjs.InsightConnectionFragmentDoc,
18117
+ fragmentDoc: chunkGL6CUR7S_cjs.InsightConnectionFragmentDoc,
17982
18118
  variables,
17983
18119
  isConnection: true,
17984
18120
  isList: false,
@@ -17996,10 +18132,10 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
17996
18132
  }
17997
18133
  /** Include layout in this query (Smart Fetch — single HTTP request). */
17998
18134
  layout(variables) {
17999
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Report_LayoutDocument, "layout", ["id"]);
18135
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_LayoutDocument, "layout", ["id"]);
18000
18136
  this._includes.push({
18001
18137
  fieldName: "layout",
18002
- fragmentDoc: chunkE45DZR4J_cjs.ReportMemberFragmentDoc,
18138
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
18003
18139
  variables,
18004
18140
  isConnection: false,
18005
18141
  isList: true,
@@ -18022,18 +18158,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk342BFYZZ_cjs
18022
18158
  }
18023
18159
  async fetch(options) {
18024
18160
  const variables = this._variables;
18025
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Report_InsightsDocument, variables, "report");
18161
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Report_InsightsDocument, variables, "report");
18026
18162
  const data = response.report?.insights;
18027
18163
  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);
18028
18164
  }
18029
18165
  watch(options) {
18030
18166
  const variables = this._variables;
18031
18167
  const raw = this._syncEngine.watch(
18032
- chunkE45DZR4J_cjs.Report_InsightsDocument,
18168
+ chunkGL6CUR7S_cjs.Report_InsightsDocument,
18033
18169
  variables,
18034
18170
  "report",
18035
18171
  async (db) => {
18036
- const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkE45DZR4J_cjs.Report_InsightsDocument));
18172
+ const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkGL6CUR7S_cjs.Report_InsightsDocument));
18037
18173
  const nodes = qr ? await db.table("insights").bulkGet(qr.entityIds) : [];
18038
18174
  return { report: { insights: { __typename: "InsightConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
18039
18175
  }
@@ -18051,7 +18187,7 @@ var Report_LayoutQuery = class extends chunk342BFYZZ_cjs.Request {
18051
18187
  this._variables = variables;
18052
18188
  }
18053
18189
  async fetch(options) {
18054
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Report_LayoutDocument, this._variables, "report");
18190
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Report_LayoutDocument, this._variables, "report");
18055
18191
  const data = response.report?.layout;
18056
18192
  if (!Array.isArray(data)) return [];
18057
18193
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -18066,7 +18202,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18066
18202
  }
18067
18203
  async fetch(options) {
18068
18204
  const variables = this._variables;
18069
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ReportsDocument, "reports", this._includes, variables, true);
18205
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportsDocument, "reports", this._includes, variables, true);
18070
18206
  const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
18071
18207
  const data = response.reports;
18072
18208
  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);
@@ -18083,7 +18219,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18083
18219
  const subscriptionId = crypto.randomUUID();
18084
18220
  const includes = this._includes;
18085
18221
  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) }] : []);
18086
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.ReportsDocument, "reports", includes, variables, true);
18222
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportsDocument, "reports", includes, variables, true);
18087
18223
  const raw = this._syncEngine.watch(
18088
18224
  queryDoc,
18089
18225
  mergedVars,
@@ -18118,7 +18254,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18118
18254
  }
18119
18255
  /** Include insights in this query (Smart Fetch — single HTTP request). */
18120
18256
  insights(variables, builder) {
18121
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Report_InsightsDocument, "insights", ["id"]);
18257
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_InsightsDocument, "insights", ["id"]);
18122
18258
  let children;
18123
18259
  if (builder) {
18124
18260
  const sub = new InsightSubBuilder();
@@ -18127,7 +18263,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18127
18263
  }
18128
18264
  this._includes.push({
18129
18265
  fieldName: "insights",
18130
- fragmentDoc: chunkE45DZR4J_cjs.InsightConnectionFragmentDoc,
18266
+ fragmentDoc: chunkGL6CUR7S_cjs.InsightConnectionFragmentDoc,
18131
18267
  variables,
18132
18268
  isConnection: true,
18133
18269
  isList: false,
@@ -18145,10 +18281,10 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18145
18281
  }
18146
18282
  /** Include layout in this query (Smart Fetch — single HTTP request). */
18147
18283
  layout(variables) {
18148
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Report_LayoutDocument, "layout", ["id"]);
18284
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_LayoutDocument, "layout", ["id"]);
18149
18285
  this._includes.push({
18150
18286
  fieldName: "layout",
18151
- fragmentDoc: chunkE45DZR4J_cjs.ReportMemberFragmentDoc,
18287
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
18152
18288
  variables,
18153
18289
  isConnection: false,
18154
18290
  isList: true,
@@ -18171,7 +18307,7 @@ var SearchQuery = class extends chunk342BFYZZ_cjs.Request {
18171
18307
  this._variables = variables;
18172
18308
  }
18173
18309
  async fetch(options) {
18174
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.SearchDocument, "search", this._includes, this._variables);
18310
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.SearchDocument, "search", this._includes, this._variables);
18175
18311
  const response = await this._syncEngine.query(queryDoc, mergedVars, "search");
18176
18312
  const data = response.search;
18177
18313
  if (!Array.isArray(data)) return [];
@@ -18187,7 +18323,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18187
18323
  }
18188
18324
  async fetch(options) {
18189
18325
  const variables = this._variables;
18190
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.TableDocument, "table", this._includes, variables);
18326
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TableDocument, "table", this._includes, variables);
18191
18327
  const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
18192
18328
  const data = response.table;
18193
18329
  const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
@@ -18199,7 +18335,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18199
18335
  watch(options) {
18200
18336
  const variables = this._variables;
18201
18337
  const includes = this._includes;
18202
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.TableDocument, "table", includes, variables);
18338
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TableDocument, "table", includes, variables);
18203
18339
  const raw = this._syncEngine.watch(
18204
18340
  queryDoc,
18205
18341
  mergedVars,
@@ -18229,7 +18365,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18229
18365
  }
18230
18366
  /** Include database in this query (Smart Fetch — single HTTP request). */
18231
18367
  database(variables, builder) {
18232
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Table_DatabaseDocument, "database", ["id"]);
18368
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DatabaseDocument, "database", ["id"]);
18233
18369
  let children;
18234
18370
  if (builder) {
18235
18371
  const sub = new DatabaseSubBuilder();
@@ -18238,7 +18374,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18238
18374
  }
18239
18375
  this._includes.push({
18240
18376
  fieldName: "database",
18241
- fragmentDoc: chunkE45DZR4J_cjs.DatabaseFragmentDoc,
18377
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseFragmentDoc,
18242
18378
  variables,
18243
18379
  isConnection: false,
18244
18380
  isList: false,
@@ -18255,7 +18391,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18255
18391
  }
18256
18392
  /** Include document in this query (Smart Fetch — single HTTP request). */
18257
18393
  document(variables, builder) {
18258
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Table_DocumentDocument, "document", ["id"]);
18394
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DocumentDocument, "document", ["id"]);
18259
18395
  let children;
18260
18396
  if (builder) {
18261
18397
  const sub = new DocumentSubBuilder();
@@ -18264,7 +18400,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18264
18400
  }
18265
18401
  this._includes.push({
18266
18402
  fieldName: "document",
18267
- fragmentDoc: chunkE45DZR4J_cjs.DocumentFragmentDoc,
18403
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFragmentDoc,
18268
18404
  variables,
18269
18405
  isConnection: false,
18270
18406
  isList: false,
@@ -18281,10 +18417,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18281
18417
  }
18282
18418
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
18283
18419
  fromRelations(variables) {
18284
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18420
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18285
18421
  this._includes.push({
18286
18422
  fieldName: "fromRelations",
18287
- fragmentDoc: chunkE45DZR4J_cjs.RelationFragmentDoc,
18423
+ fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18288
18424
  variables,
18289
18425
  isConnection: false,
18290
18426
  isList: true,
@@ -18300,10 +18436,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18300
18436
  }
18301
18437
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
18302
18438
  toRelations(variables) {
18303
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18439
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18304
18440
  this._includes.push({
18305
18441
  fieldName: "toRelations",
18306
- fragmentDoc: chunkE45DZR4J_cjs.RelationFragmentDoc,
18442
+ fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18307
18443
  variables,
18308
18444
  isConnection: false,
18309
18445
  isList: true,
@@ -18326,14 +18462,14 @@ var Table_DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
18326
18462
  }
18327
18463
  async fetch(options) {
18328
18464
  const variables = this._variables;
18329
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Table_DatabaseDocument, variables, "table");
18465
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_DatabaseDocument, variables, "table");
18330
18466
  const data = response.table?.database;
18331
18467
  return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18332
18468
  }
18333
18469
  watch(options) {
18334
18470
  const variables = this._variables;
18335
18471
  const raw = this._syncEngine.watch(
18336
- chunkE45DZR4J_cjs.Table_DatabaseDocument,
18472
+ chunkGL6CUR7S_cjs.Table_DatabaseDocument,
18337
18473
  variables,
18338
18474
  "table",
18339
18475
  async (db) => {
@@ -18356,14 +18492,14 @@ var Table_Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
18356
18492
  }
18357
18493
  async fetch(options) {
18358
18494
  const variables = this._variables;
18359
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Table_Database_EngineDocument, variables, "table");
18495
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Database_EngineDocument, variables, "table");
18360
18496
  const data = response.table?.database?.engine;
18361
18497
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18362
18498
  }
18363
18499
  watch(options) {
18364
18500
  const variables = this._variables;
18365
18501
  const raw = this._syncEngine.watch(
18366
- chunkE45DZR4J_cjs.Table_Database_EngineDocument,
18502
+ chunkGL6CUR7S_cjs.Table_Database_EngineDocument,
18367
18503
  variables,
18368
18504
  "table",
18369
18505
  async (db) => {
@@ -18386,14 +18522,14 @@ var Table_DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
18386
18522
  }
18387
18523
  async fetch(options) {
18388
18524
  const variables = this._variables;
18389
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Table_DocumentDocument, variables, "table");
18525
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_DocumentDocument, variables, "table");
18390
18526
  const data = response.table?.document;
18391
18527
  return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18392
18528
  }
18393
18529
  watch(options) {
18394
18530
  const variables = this._variables;
18395
18531
  const raw = this._syncEngine.watch(
18396
- chunkE45DZR4J_cjs.Table_DocumentDocument,
18532
+ chunkGL6CUR7S_cjs.Table_DocumentDocument,
18397
18533
  variables,
18398
18534
  "table",
18399
18535
  async (db) => {
@@ -18415,7 +18551,7 @@ var Table_Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
18415
18551
  this._variables = variables;
18416
18552
  }
18417
18553
  async fetch(options) {
18418
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Table_Document_ContentsDocument, this._variables, "table");
18554
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Document_ContentsDocument, this._variables, "table");
18419
18555
  const data = response.table?.document?.contents;
18420
18556
  if (!Array.isArray(data)) return [];
18421
18557
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -18429,14 +18565,14 @@ var Table_Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
18429
18565
  }
18430
18566
  async fetch(options) {
18431
18567
  const variables = this._variables;
18432
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Table_Document_FileDocument, variables, "table");
18568
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Document_FileDocument, variables, "table");
18433
18569
  const data = response.table?.document?.file;
18434
18570
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18435
18571
  }
18436
18572
  watch(options) {
18437
18573
  const variables = this._variables;
18438
18574
  const raw = this._syncEngine.watch(
18439
- chunkE45DZR4J_cjs.Table_Document_FileDocument,
18575
+ chunkGL6CUR7S_cjs.Table_Document_FileDocument,
18440
18576
  variables,
18441
18577
  "table",
18442
18578
  async (db) => {
@@ -18459,14 +18595,14 @@ var Table_Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
18459
18595
  }
18460
18596
  async fetch(options) {
18461
18597
  const variables = this._variables;
18462
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Table_Document_FormatDocument, variables, "table");
18598
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Document_FormatDocument, variables, "table");
18463
18599
  const data = response.table?.document?.format;
18464
18600
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18465
18601
  }
18466
18602
  watch(options) {
18467
18603
  const variables = this._variables;
18468
18604
  const raw = this._syncEngine.watch(
18469
- chunkE45DZR4J_cjs.Table_Document_FormatDocument,
18605
+ chunkGL6CUR7S_cjs.Table_Document_FormatDocument,
18470
18606
  variables,
18471
18607
  "table",
18472
18608
  async (db) => {
@@ -18488,7 +18624,7 @@ var Table_FromRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
18488
18624
  this._variables = variables;
18489
18625
  }
18490
18626
  async fetch(options) {
18491
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Table_FromRelationsDocument, this._variables, "table");
18627
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, this._variables, "table");
18492
18628
  const data = response.table?.fromRelations;
18493
18629
  if (!Array.isArray(data)) return [];
18494
18630
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -18501,7 +18637,7 @@ var Table_ToRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
18501
18637
  this._variables = variables;
18502
18638
  }
18503
18639
  async fetch(options) {
18504
- const response = await this._syncEngine.query(chunkE45DZR4J_cjs.Table_ToRelationsDocument, this._variables, "table");
18640
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, this._variables, "table");
18505
18641
  const data = response.table?.toRelations;
18506
18642
  if (!Array.isArray(data)) return [];
18507
18643
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -18516,7 +18652,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18516
18652
  }
18517
18653
  async fetch(options) {
18518
18654
  const variables = this._variables;
18519
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.TablesDocument, "tables", this._includes, variables, true);
18655
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TablesDocument, "tables", this._includes, variables, true);
18520
18656
  const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
18521
18657
  const data = response.tables;
18522
18658
  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);
@@ -18533,7 +18669,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18533
18669
  const subscriptionId = crypto.randomUUID();
18534
18670
  const includes = this._includes;
18535
18671
  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) }] : []);
18536
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.TablesDocument, "tables", includes, variables, true);
18672
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TablesDocument, "tables", includes, variables, true);
18537
18673
  const raw = this._syncEngine.watch(
18538
18674
  queryDoc,
18539
18675
  mergedVars,
@@ -18568,7 +18704,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18568
18704
  }
18569
18705
  /** Include database in this query (Smart Fetch — single HTTP request). */
18570
18706
  database(variables, builder) {
18571
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Table_DatabaseDocument, "database", ["id"]);
18707
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DatabaseDocument, "database", ["id"]);
18572
18708
  let children;
18573
18709
  if (builder) {
18574
18710
  const sub = new DatabaseSubBuilder();
@@ -18577,7 +18713,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18577
18713
  }
18578
18714
  this._includes.push({
18579
18715
  fieldName: "database",
18580
- fragmentDoc: chunkE45DZR4J_cjs.DatabaseFragmentDoc,
18716
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseFragmentDoc,
18581
18717
  variables,
18582
18718
  isConnection: false,
18583
18719
  isList: false,
@@ -18594,7 +18730,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18594
18730
  }
18595
18731
  /** Include document in this query (Smart Fetch — single HTTP request). */
18596
18732
  document(variables, builder) {
18597
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Table_DocumentDocument, "document", ["id"]);
18733
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DocumentDocument, "document", ["id"]);
18598
18734
  let children;
18599
18735
  if (builder) {
18600
18736
  const sub = new DocumentSubBuilder();
@@ -18603,7 +18739,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18603
18739
  }
18604
18740
  this._includes.push({
18605
18741
  fieldName: "document",
18606
- fragmentDoc: chunkE45DZR4J_cjs.DocumentFragmentDoc,
18742
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFragmentDoc,
18607
18743
  variables,
18608
18744
  isConnection: false,
18609
18745
  isList: false,
@@ -18620,10 +18756,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18620
18756
  }
18621
18757
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
18622
18758
  fromRelations(variables) {
18623
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18759
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18624
18760
  this._includes.push({
18625
18761
  fieldName: "fromRelations",
18626
- fragmentDoc: chunkE45DZR4J_cjs.RelationFragmentDoc,
18762
+ fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18627
18763
  variables,
18628
18764
  isConnection: false,
18629
18765
  isList: true,
@@ -18639,10 +18775,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18639
18775
  }
18640
18776
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
18641
18777
  toRelations(variables) {
18642
- const info = extractIncludeInfo(chunkE45DZR4J_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18778
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18643
18779
  this._includes.push({
18644
18780
  fieldName: "toRelations",
18645
- fragmentDoc: chunkE45DZR4J_cjs.RelationFragmentDoc,
18781
+ fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18646
18782
  variables,
18647
18783
  isConnection: false,
18648
18784
  isList: true,
@@ -18666,7 +18802,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
18666
18802
  }
18667
18803
  async fetch(options) {
18668
18804
  const variables = this._variables;
18669
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
18805
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
18670
18806
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
18671
18807
  const data = response.userSkillFile;
18672
18808
  const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -18678,7 +18814,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
18678
18814
  watch(options) {
18679
18815
  const variables = this._variables;
18680
18816
  const includes = this._includes;
18681
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
18817
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
18682
18818
  const raw = this._syncEngine.watch(
18683
18819
  queryDoc,
18684
18820
  mergedVars,
@@ -18715,7 +18851,7 @@ var UserSkillFilesQuery = class extends chunk342BFYZZ_cjs.Request {
18715
18851
  this._variables = variables;
18716
18852
  }
18717
18853
  async fetch(options) {
18718
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
18854
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
18719
18855
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
18720
18856
  const data = response.userSkillFiles;
18721
18857
  if (!Array.isArray(data)) return [];
@@ -18731,7 +18867,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
18731
18867
  }
18732
18868
  async fetch(options) {
18733
18869
  const variables = this._variables;
18734
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
18870
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
18735
18871
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
18736
18872
  const data = response.userSkillFolder;
18737
18873
  const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -18743,7 +18879,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
18743
18879
  watch(options) {
18744
18880
  const variables = this._variables;
18745
18881
  const includes = this._includes;
18746
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
18882
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
18747
18883
  const raw = this._syncEngine.watch(
18748
18884
  queryDoc,
18749
18885
  mergedVars,
@@ -18780,7 +18916,7 @@ var UserSkillFoldersQuery = class extends chunk342BFYZZ_cjs.Request {
18780
18916
  this._variables = variables;
18781
18917
  }
18782
18918
  async fetch(options) {
18783
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
18919
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
18784
18920
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
18785
18921
  const data = response.userSkillFolders;
18786
18922
  if (!Array.isArray(data)) return [];
@@ -18796,7 +18932,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
18796
18932
  }
18797
18933
  async fetch(options) {
18798
18934
  const variables = this._variables;
18799
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
18935
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
18800
18936
  const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
18801
18937
  const data = response.workspaceDeletionSchedule;
18802
18938
  if (!data) return void 0;
@@ -18809,7 +18945,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
18809
18945
  watch(options) {
18810
18946
  const variables = this._variables;
18811
18947
  const includes = this._includes;
18812
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkE45DZR4J_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
18948
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
18813
18949
  const raw = this._syncEngine.watch(
18814
18950
  queryDoc,
18815
18951
  mergedVars,
@@ -18841,7 +18977,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
18841
18977
  };
18842
18978
  var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
18843
18979
  async *subscribe(variables) {
18844
- for await (const response of this._subscribe(chunkE45DZR4J_cjs.McpAuthUpdatesDocument, variables)) {
18980
+ for await (const response of this._subscribe(chunkGL6CUR7S_cjs.McpAuthUpdatesDocument, variables)) {
18845
18981
  const data = response.mcpAuthUpdates;
18846
18982
  yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
18847
18983
  }
@@ -18849,12 +18985,12 @@ var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
18849
18985
  };
18850
18986
  var SendMessageStreamSubscription = class extends chunk342BFYZZ_cjs.Request {
18851
18987
  subscribe(variables) {
18852
- return this._subscribe(chunkE45DZR4J_cjs.SendMessageStreamDocument, variables);
18988
+ return this._subscribe(chunkGL6CUR7S_cjs.SendMessageStreamDocument, variables);
18853
18989
  }
18854
18990
  };
18855
18991
  var TokenUsageUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
18856
18992
  async *subscribe(variables) {
18857
- for await (const response of this._subscribe(chunkE45DZR4J_cjs.TokenUsageUpdatesDocument, variables)) {
18993
+ for await (const response of this._subscribe(chunkGL6CUR7S_cjs.TokenUsageUpdatesDocument, variables)) {
18858
18994
  const data = response.tokenUsageUpdates;
18859
18995
  yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
18860
18996
  }
@@ -19040,6 +19176,10 @@ var DvinaSdk = class extends chunk342BFYZZ_cjs.Request {
19040
19176
  refreshDatabaseSchema(variables) {
19041
19177
  return new RefreshDatabaseSchemaMutation(this._request, this._syncEngine).fetch(variables);
19042
19178
  }
19179
+ /** Mutation: refreshInsight */
19180
+ refreshInsight(variables) {
19181
+ return new RefreshInsightMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
19182
+ }
19043
19183
  /** Mutation: reinterpretSource (scalar) */
19044
19184
  reinterpretSource(variables) {
19045
19185
  return new ReinterpretSourceMutation(this._request, this._syncEngine).fetch(variables);
@@ -19100,6 +19240,10 @@ var DvinaSdk = class extends chunk342BFYZZ_cjs.Request {
19100
19240
  updateInsightInReport(variables) {
19101
19241
  return new UpdateInsightInReportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
19102
19242
  }
19243
+ /** Mutation: updateInsightThumbnail (scalar) */
19244
+ updateInsightThumbnail(variables) {
19245
+ return new UpdateInsightThumbnailMutation(this._request, this._syncEngine).fetch(variables);
19246
+ }
19103
19247
  /** Mutation: updateInterp */
19104
19248
  updateInterp(variables) {
19105
19249
  return new UpdateInterpMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
@@ -19482,6 +19626,7 @@ exports.Chat_AgentsQuery = Chat_AgentsQuery;
19482
19626
  exports.Chat_ArtifactsQuery = Chat_ArtifactsQuery;
19483
19627
  exports.Chat_InsightQuery = Chat_InsightQuery;
19484
19628
  exports.Chat_Insight_ReportMembersQuery = Chat_Insight_ReportMembersQuery;
19629
+ exports.Chat_Insight_ThumbnailFileQuery = Chat_Insight_ThumbnailFileQuery;
19485
19630
  exports.Chat_MessagesQuery = Chat_MessagesQuery;
19486
19631
  exports.ChatsQuery = ChatsQuery;
19487
19632
  exports.ConnectIntegrationMutation = ConnectIntegrationMutation;
@@ -19613,6 +19758,7 @@ exports.InsightSubBuilder = InsightSubBuilder;
19613
19758
  exports.Insight_ChatQuery = Insight_ChatQuery;
19614
19759
  exports.Insight_ReportMembersQuery = Insight_ReportMembersQuery;
19615
19760
  exports.Insight_ReportsQuery = Insight_ReportsQuery;
19761
+ exports.Insight_ThumbnailFileQuery = Insight_ThumbnailFileQuery;
19616
19762
  exports.InsightsQuery = InsightsQuery;
19617
19763
  exports.Integration = Integration;
19618
19764
  exports.IntegrationCatalog = IntegrationCatalog;
@@ -19672,6 +19818,7 @@ exports.ReanalyzeDocumentMutation = ReanalyzeDocumentMutation;
19672
19818
  exports.ReasoningEventOutput = ReasoningEventOutput;
19673
19819
  exports.RefineMindInstructionMutation = RefineMindInstructionMutation;
19674
19820
  exports.RefreshDatabaseSchemaMutation = RefreshDatabaseSchemaMutation;
19821
+ exports.RefreshInsightMutation = RefreshInsightMutation;
19675
19822
  exports.ReinterpretSourceMutation = ReinterpretSourceMutation;
19676
19823
  exports.ReinterpretSourcesOfuserMutation = ReinterpretSourcesOfuserMutation;
19677
19824
  exports.Relation = Relation;
@@ -19727,6 +19874,7 @@ exports.UpdateDocumentMutation = UpdateDocumentMutation;
19727
19874
  exports.UpdateFolderMutation = UpdateFolderMutation;
19728
19875
  exports.UpdateInsightInReportMutation = UpdateInsightInReportMutation;
19729
19876
  exports.UpdateInsightMutation = UpdateInsightMutation;
19877
+ exports.UpdateInsightThumbnailMutation = UpdateInsightThumbnailMutation;
19730
19878
  exports.UpdateInterpMutation = UpdateInterpMutation;
19731
19879
  exports.UpdatePulseTriggerMutation = UpdatePulseTriggerMutation;
19732
19880
  exports.UpdateReportMutation = UpdateReportMutation;
@@ -19757,5 +19905,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
19757
19905
  exports.reconstructConnectionNodes = reconstructConnectionNodes;
19758
19906
  exports.reconstructEntity = reconstructEntity;
19759
19907
  exports.uploadFile = uploadFile;
19760
- //# sourceMappingURL=chunk-Q66BI4MQ.cjs.map
19761
- //# sourceMappingURL=chunk-Q66BI4MQ.cjs.map
19908
+ //# sourceMappingURL=chunk-F6T7Z73Y.cjs.map
19909
+ //# sourceMappingURL=chunk-F6T7Z73Y.cjs.map