@dvina/sdk 4.0.109 → 4.0.126

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 chunkGL6CUR7S_cjs = require('./chunk-GL6CUR7S.cjs');
7
+ var chunkH5WMTA3W_cjs = require('./chunk-H5WMTA3W.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
@@ -8423,6 +8423,8 @@ var QueryExecutor = class {
8423
8423
  *
8424
8424
  * For connection queries, also writes the ordered entity IDs to `_queryResults`
8425
8425
  * so that `watch()` can reconstruct the same ordered list from the store.
8426
+ * Singular entity roots also get a lightweight cache marker so exact-query
8427
+ * `watch()` calls can cold-start from Dexie instead of re-fetching.
8426
8428
  *
8427
8429
  * Concurrent calls with the same operationName + variables are deduplicated:
8428
8430
  * only one HTTP request is made and all callers receive the same result.
@@ -8452,9 +8454,15 @@ var QueryExecutor = class {
8452
8454
  if (rootField) {
8453
8455
  const { entities, connection, nestedConnections } = normalize(data, rootField);
8454
8456
  await this.writeEntities(entities);
8455
- if (connection && operationName) {
8457
+ if (operationName) {
8456
8458
  const queryKey = buildQueryKey(operationName, variables, document2);
8457
- await this._cache.writeQueryResult(queryKey, connection);
8459
+ const rootValue = data[rootField];
8460
+ const rootEntity = getRootEntityCacheEntry(rootValue);
8461
+ if (connection) {
8462
+ await this._cache.writeQueryResult(queryKey, connection);
8463
+ } else if (rootEntity) {
8464
+ await this._cache.writeQueryResult(queryKey, rootEntity);
8465
+ }
8458
8466
  }
8459
8467
  if (nestedConnections) {
8460
8468
  for (const [connKey, connInfo] of nestedConnections) {
@@ -8601,6 +8609,29 @@ var QueryExecutor = class {
8601
8609
  return tables;
8602
8610
  }
8603
8611
  };
8612
+ function getRootEntityCacheEntry(value) {
8613
+ if (!value || typeof value !== "object" || Array.isArray(value)) {
8614
+ return void 0;
8615
+ }
8616
+ const record = value;
8617
+ const typename = record["__typename"];
8618
+ if (typeof typename !== "string") {
8619
+ return void 0;
8620
+ }
8621
+ const entityType = TYPENAME_TO_TABLE[typename];
8622
+ if (!entityType) {
8623
+ return void 0;
8624
+ }
8625
+ const pkField = getPrimaryKeyField(entityType);
8626
+ const entityId = Array.isArray(pkField) ? pkField.every((field) => record[field] !== void 0 && record[field] !== null) ? pkField.map((field) => String(record[field])).join(":") : void 0 : record[pkField] !== void 0 && record[pkField] !== null ? String(record[pkField]) : void 0;
8627
+ if (!entityId) {
8628
+ return void 0;
8629
+ }
8630
+ return {
8631
+ entityIds: [entityId],
8632
+ entityType
8633
+ };
8634
+ }
8604
8635
 
8605
8636
  // src/store/optimistic-manager.ts
8606
8637
  var TEMP_ID_PREFIX = "_temp_";
@@ -9586,7 +9617,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
9586
9617
  var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
9587
9618
  var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
9588
9619
  async function uploadFile(request, getToken, file, name, options) {
9589
- const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-H4JUEJGN.cjs');
9620
+ const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-2J4XR7QK.cjs');
9590
9621
  const key = `upload_${Date.now()}`;
9591
9622
  const response = await request(
9592
9623
  GenerateUploadUriDocument2,
@@ -12109,7 +12140,7 @@ var AgentSubBuilder = class {
12109
12140
  _includes = [];
12110
12141
  /** Include chats in the parent query. */
12111
12142
  chats(variables, builder) {
12112
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Agent_ChatsDocument, "chats", ["id"]);
12143
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Agent_ChatsDocument, "chats", ["id"]);
12113
12144
  let children;
12114
12145
  if (builder) {
12115
12146
  const sub = new ChatSubBuilder();
@@ -12118,7 +12149,7 @@ var AgentSubBuilder = class {
12118
12149
  }
12119
12150
  this._includes.push({
12120
12151
  fieldName: "chats",
12121
- fragmentDoc: chunkGL6CUR7S_cjs.ChatConnectionFragmentDoc,
12152
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatConnectionFragmentDoc,
12122
12153
  variables,
12123
12154
  isConnection: true,
12124
12155
  isList: false,
@@ -12140,7 +12171,7 @@ var ArtifactSubBuilder = class {
12140
12171
  _includes = [];
12141
12172
  /** Include chat in the parent query. */
12142
12173
  chat(variables, builder) {
12143
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_ChatDocument, "chat", ["id"]);
12174
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_ChatDocument, "chat", ["id"]);
12144
12175
  let children;
12145
12176
  if (builder) {
12146
12177
  const sub = new ChatSubBuilder();
@@ -12149,7 +12180,7 @@ var ArtifactSubBuilder = class {
12149
12180
  }
12150
12181
  this._includes.push({
12151
12182
  fieldName: "chat",
12152
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
12183
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
12153
12184
  variables,
12154
12185
  isConnection: false,
12155
12186
  isList: false,
@@ -12166,10 +12197,10 @@ var ArtifactSubBuilder = class {
12166
12197
  }
12167
12198
  /** Include file in the parent query. */
12168
12199
  file(variables) {
12169
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_FileDocument, "file", ["id"]);
12200
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_FileDocument, "file", ["id"]);
12170
12201
  this._includes.push({
12171
12202
  fieldName: "file",
12172
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
12203
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
12173
12204
  variables,
12174
12205
  isConnection: false,
12175
12206
  isList: false,
@@ -12185,7 +12216,7 @@ var ArtifactSubBuilder = class {
12185
12216
  }
12186
12217
  /** Include message in the parent query. */
12187
12218
  message(variables, builder) {
12188
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_MessageDocument, "message", ["id"]);
12219
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_MessageDocument, "message", ["id"]);
12189
12220
  let children;
12190
12221
  if (builder) {
12191
12222
  const sub = new ChatMessageSubBuilder();
@@ -12194,7 +12225,7 @@ var ArtifactSubBuilder = class {
12194
12225
  }
12195
12226
  this._includes.push({
12196
12227
  fieldName: "message",
12197
- fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageFragmentDoc,
12228
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatMessageFragmentDoc,
12198
12229
  variables,
12199
12230
  isConnection: false,
12200
12231
  isList: false,
@@ -12215,7 +12246,7 @@ var ChatSubBuilder = class {
12215
12246
  _includes = [];
12216
12247
  /** Include agents in the parent query. */
12217
12248
  agents(variables, builder) {
12218
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_AgentsDocument, "agents", ["id"]);
12249
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_AgentsDocument, "agents", ["id"]);
12219
12250
  let children;
12220
12251
  if (builder) {
12221
12252
  const sub = new AgentSubBuilder();
@@ -12224,7 +12255,7 @@ var ChatSubBuilder = class {
12224
12255
  }
12225
12256
  this._includes.push({
12226
12257
  fieldName: "agents",
12227
- fragmentDoc: chunkGL6CUR7S_cjs.AgentConnectionFragmentDoc,
12258
+ fragmentDoc: chunkH5WMTA3W_cjs.AgentConnectionFragmentDoc,
12228
12259
  variables,
12229
12260
  isConnection: true,
12230
12261
  isList: false,
@@ -12242,7 +12273,7 @@ var ChatSubBuilder = class {
12242
12273
  }
12243
12274
  /** Include artifacts in the parent query. */
12244
12275
  artifacts(variables, builder) {
12245
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
12276
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
12246
12277
  let children;
12247
12278
  if (builder) {
12248
12279
  const sub = new ArtifactSubBuilder();
@@ -12251,7 +12282,7 @@ var ChatSubBuilder = class {
12251
12282
  }
12252
12283
  this._includes.push({
12253
12284
  fieldName: "artifacts",
12254
- fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
12285
+ fragmentDoc: chunkH5WMTA3W_cjs.ArtifactConnectionFragmentDoc,
12255
12286
  variables,
12256
12287
  isConnection: true,
12257
12288
  isList: false,
@@ -12269,7 +12300,7 @@ var ChatSubBuilder = class {
12269
12300
  }
12270
12301
  /** Include insight in the parent query. */
12271
12302
  insight(variables, builder) {
12272
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_InsightDocument, "insight", ["id"]);
12303
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_InsightDocument, "insight", ["id"]);
12273
12304
  let children;
12274
12305
  if (builder) {
12275
12306
  const sub = new InsightSubBuilder();
@@ -12278,7 +12309,7 @@ var ChatSubBuilder = class {
12278
12309
  }
12279
12310
  this._includes.push({
12280
12311
  fieldName: "insight",
12281
- fragmentDoc: chunkGL6CUR7S_cjs.InsightFragmentDoc,
12312
+ fragmentDoc: chunkH5WMTA3W_cjs.InsightFragmentDoc,
12282
12313
  variables,
12283
12314
  isConnection: false,
12284
12315
  isList: false,
@@ -12295,7 +12326,7 @@ var ChatSubBuilder = class {
12295
12326
  }
12296
12327
  /** Include messages in the parent query. */
12297
12328
  messages(variables, builder) {
12298
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_MessagesDocument, "messages", ["id"]);
12329
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_MessagesDocument, "messages", ["id"]);
12299
12330
  let children;
12300
12331
  if (builder) {
12301
12332
  const sub = new ChatMessageSubBuilder();
@@ -12304,7 +12335,7 @@ var ChatSubBuilder = class {
12304
12335
  }
12305
12336
  this._includes.push({
12306
12337
  fieldName: "messages",
12307
- fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageConnectionFragmentDoc,
12338
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatMessageConnectionFragmentDoc,
12308
12339
  variables,
12309
12340
  isConnection: true,
12310
12341
  isList: false,
@@ -12326,7 +12357,7 @@ var ChatMessageSubBuilder = class {
12326
12357
  _includes = [];
12327
12358
  /** Include artifacts in the parent query. */
12328
12359
  artifacts(variables, builder) {
12329
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
12360
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
12330
12361
  let children;
12331
12362
  if (builder) {
12332
12363
  const sub = new ArtifactSubBuilder();
@@ -12335,7 +12366,7 @@ var ChatMessageSubBuilder = class {
12335
12366
  }
12336
12367
  this._includes.push({
12337
12368
  fieldName: "artifacts",
12338
- fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
12369
+ fragmentDoc: chunkH5WMTA3W_cjs.ArtifactConnectionFragmentDoc,
12339
12370
  variables,
12340
12371
  isConnection: true,
12341
12372
  isList: false,
@@ -12353,7 +12384,7 @@ var ChatMessageSubBuilder = class {
12353
12384
  }
12354
12385
  /** Include chat in the parent query. */
12355
12386
  chat(variables, builder) {
12356
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
12387
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
12357
12388
  let children;
12358
12389
  if (builder) {
12359
12390
  const sub = new ChatSubBuilder();
@@ -12362,7 +12393,7 @@ var ChatMessageSubBuilder = class {
12362
12393
  }
12363
12394
  this._includes.push({
12364
12395
  fieldName: "chat",
12365
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
12396
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
12366
12397
  variables,
12367
12398
  isConnection: false,
12368
12399
  isList: false,
@@ -12379,10 +12410,10 @@ var ChatMessageSubBuilder = class {
12379
12410
  }
12380
12411
  /** Include contents in the parent query. */
12381
12412
  contents(variables) {
12382
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
12413
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
12383
12414
  this._includes.push({
12384
12415
  fieldName: "contents",
12385
- fragmentDoc: chunkGL6CUR7S_cjs.ContentBlockFragmentDoc,
12416
+ fragmentDoc: chunkH5WMTA3W_cjs.ContentBlockFragmentDoc,
12386
12417
  variables,
12387
12418
  isConnection: false,
12388
12419
  isList: true,
@@ -12398,10 +12429,10 @@ var ChatMessageSubBuilder = class {
12398
12429
  }
12399
12430
  /** Include feedback in the parent query. */
12400
12431
  feedback(variables) {
12401
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
12432
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
12402
12433
  this._includes.push({
12403
12434
  fieldName: "feedback",
12404
- fragmentDoc: chunkGL6CUR7S_cjs.FeedbackFragmentDoc,
12435
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedbackFragmentDoc,
12405
12436
  variables,
12406
12437
  isConnection: false,
12407
12438
  isList: false,
@@ -12421,10 +12452,10 @@ var DatabaseSubBuilder = class {
12421
12452
  _includes = [];
12422
12453
  /** Include engine in the parent query. */
12423
12454
  engine(variables) {
12424
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_EngineDocument, "engine", ["id"]);
12455
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Database_EngineDocument, "engine", ["id"]);
12425
12456
  this._includes.push({
12426
12457
  fieldName: "engine",
12427
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
12458
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseEngineFragmentDoc,
12428
12459
  variables,
12429
12460
  isConnection: false,
12430
12461
  isList: false,
@@ -12440,7 +12471,7 @@ var DatabaseSubBuilder = class {
12440
12471
  }
12441
12472
  /** Include tables in the parent query. */
12442
12473
  tables(variables, builder) {
12443
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_TablesDocument, "tables", ["id"]);
12474
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Database_TablesDocument, "tables", ["id"]);
12444
12475
  let children;
12445
12476
  if (builder) {
12446
12477
  const sub = new TableSubBuilder();
@@ -12449,7 +12480,7 @@ var DatabaseSubBuilder = class {
12449
12480
  }
12450
12481
  this._includes.push({
12451
12482
  fieldName: "tables",
12452
- fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
12483
+ fragmentDoc: chunkH5WMTA3W_cjs.TableConnectionFragmentDoc,
12453
12484
  variables,
12454
12485
  isConnection: true,
12455
12486
  isList: false,
@@ -12471,10 +12502,10 @@ var DatabaseCatalogSubBuilder = class {
12471
12502
  _includes = [];
12472
12503
  /** Include engine in the parent query. */
12473
12504
  engine(variables) {
12474
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, "engine", []);
12505
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.DatabaseCatalog_EngineDocument, "engine", []);
12475
12506
  this._includes.push({
12476
12507
  fieldName: "engine",
12477
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
12508
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseEngineFragmentDoc,
12478
12509
  variables,
12479
12510
  isConnection: false,
12480
12511
  isList: false,
@@ -12494,10 +12525,10 @@ var DocumentSubBuilder = class {
12494
12525
  _includes = [];
12495
12526
  /** Include contents in the parent query. */
12496
12527
  contents(variables) {
12497
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_ContentsDocument, "contents", ["id"]);
12528
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_ContentsDocument, "contents", ["id"]);
12498
12529
  this._includes.push({
12499
12530
  fieldName: "contents",
12500
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentContentFragmentDoc,
12531
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentContentFragmentDoc,
12501
12532
  variables,
12502
12533
  isConnection: false,
12503
12534
  isList: true,
@@ -12513,10 +12544,10 @@ var DocumentSubBuilder = class {
12513
12544
  }
12514
12545
  /** Include file in the parent query. */
12515
12546
  file(variables) {
12516
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FileDocument, "file", ["id"]);
12547
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_FileDocument, "file", ["id"]);
12517
12548
  this._includes.push({
12518
12549
  fieldName: "file",
12519
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
12550
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
12520
12551
  variables,
12521
12552
  isConnection: false,
12522
12553
  isList: false,
@@ -12532,10 +12563,10 @@ var DocumentSubBuilder = class {
12532
12563
  }
12533
12564
  /** Include format in the parent query. */
12534
12565
  format(variables) {
12535
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FormatDocument, "format", ["id"]);
12566
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_FormatDocument, "format", ["id"]);
12536
12567
  this._includes.push({
12537
12568
  fieldName: "format",
12538
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
12569
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFormatFragmentDoc,
12539
12570
  variables,
12540
12571
  isConnection: false,
12541
12572
  isList: false,
@@ -12551,7 +12582,7 @@ var DocumentSubBuilder = class {
12551
12582
  }
12552
12583
  /** Include tables in the parent query. */
12553
12584
  tables(variables, builder) {
12554
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_TablesDocument, "tables", ["id"]);
12585
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_TablesDocument, "tables", ["id"]);
12555
12586
  let children;
12556
12587
  if (builder) {
12557
12588
  const sub = new TableSubBuilder();
@@ -12560,7 +12591,7 @@ var DocumentSubBuilder = class {
12560
12591
  }
12561
12592
  this._includes.push({
12562
12593
  fieldName: "tables",
12563
- fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
12594
+ fragmentDoc: chunkH5WMTA3W_cjs.TableConnectionFragmentDoc,
12564
12595
  variables,
12565
12596
  isConnection: true,
12566
12597
  isList: false,
@@ -12582,10 +12613,10 @@ var DocumentCatalogSubBuilder = class {
12582
12613
  _includes = [];
12583
12614
  /** Include format in the parent query. */
12584
12615
  format(variables) {
12585
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, "format", []);
12616
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.DocumentCatalog_FormatDocument, "format", []);
12586
12617
  this._includes.push({
12587
12618
  fieldName: "format",
12588
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
12619
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFormatFragmentDoc,
12589
12620
  variables,
12590
12621
  isConnection: false,
12591
12622
  isList: false,
@@ -12605,10 +12636,10 @@ var FeedItemSubBuilder = class {
12605
12636
  _includes = [];
12606
12637
  /** Include action in the parent query. */
12607
12638
  action(variables) {
12608
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, "action", ["id"]);
12639
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.FeedItem_ActionDocument, "action", ["id"]);
12609
12640
  this._includes.push({
12610
12641
  fieldName: "action",
12611
- fragmentDoc: chunkGL6CUR7S_cjs.FeedSendMessageActionFragmentDoc,
12642
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedSendMessageActionFragmentDoc,
12612
12643
  variables,
12613
12644
  isConnection: false,
12614
12645
  isList: false,
@@ -12624,10 +12655,10 @@ var FeedItemSubBuilder = class {
12624
12655
  }
12625
12656
  /** Include data in the parent query. */
12626
12657
  data(variables) {
12627
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_DataDocument, "data", ["id"]);
12658
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.FeedItem_DataDocument, "data", ["id"]);
12628
12659
  this._includes.push({
12629
12660
  fieldName: "data",
12630
- fragmentDoc: chunkGL6CUR7S_cjs.FeedArtifactDataFragmentDoc,
12661
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedArtifactDataFragmentDoc,
12631
12662
  variables,
12632
12663
  isConnection: false,
12633
12664
  isList: true,
@@ -12647,7 +12678,7 @@ var InsightSubBuilder = class {
12647
12678
  _includes = [];
12648
12679
  /** Include chat in the parent query. */
12649
12680
  chat(variables, builder) {
12650
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ChatDocument, "chat", ["id"]);
12681
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ChatDocument, "chat", ["id"]);
12651
12682
  let children;
12652
12683
  if (builder) {
12653
12684
  const sub = new ChatSubBuilder();
@@ -12656,7 +12687,7 @@ var InsightSubBuilder = class {
12656
12687
  }
12657
12688
  this._includes.push({
12658
12689
  fieldName: "chat",
12659
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
12690
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
12660
12691
  variables,
12661
12692
  isConnection: false,
12662
12693
  isList: false,
@@ -12673,10 +12704,10 @@ var InsightSubBuilder = class {
12673
12704
  }
12674
12705
  /** Include reportMembers in the parent query. */
12675
12706
  reportMembers(variables) {
12676
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
12707
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
12677
12708
  this._includes.push({
12678
12709
  fieldName: "reportMembers",
12679
- fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
12710
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportMemberFragmentDoc,
12680
12711
  variables,
12681
12712
  isConnection: false,
12682
12713
  isList: true,
@@ -12692,7 +12723,7 @@ var InsightSubBuilder = class {
12692
12723
  }
12693
12724
  /** Include reports in the parent query. */
12694
12725
  reports(variables, builder) {
12695
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportsDocument, "reports", ["id"]);
12726
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ReportsDocument, "reports", ["id"]);
12696
12727
  let children;
12697
12728
  if (builder) {
12698
12729
  const sub = new ReportSubBuilder();
@@ -12701,7 +12732,7 @@ var InsightSubBuilder = class {
12701
12732
  }
12702
12733
  this._includes.push({
12703
12734
  fieldName: "reports",
12704
- fragmentDoc: chunkGL6CUR7S_cjs.ReportConnectionFragmentDoc,
12735
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportConnectionFragmentDoc,
12705
12736
  variables,
12706
12737
  isConnection: true,
12707
12738
  isList: false,
@@ -12719,10 +12750,10 @@ var InsightSubBuilder = class {
12719
12750
  }
12720
12751
  /** Include thumbnailFile in the parent query. */
12721
12752
  thumbnailFile(variables) {
12722
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
12753
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
12723
12754
  this._includes.push({
12724
12755
  fieldName: "thumbnailFile",
12725
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
12756
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
12726
12757
  variables,
12727
12758
  isConnection: false,
12728
12759
  isList: false,
@@ -12742,10 +12773,10 @@ var IntegrationSubBuilder = class {
12742
12773
  _includes = [];
12743
12774
  /** Include provider in the parent query. */
12744
12775
  provider(variables) {
12745
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Integration_ProviderDocument, "provider", ["id"]);
12776
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Integration_ProviderDocument, "provider", ["id"]);
12746
12777
  this._includes.push({
12747
12778
  fieldName: "provider",
12748
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
12779
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationProviderFragmentDoc,
12749
12780
  variables,
12750
12781
  isConnection: false,
12751
12782
  isList: false,
@@ -12765,10 +12796,10 @@ var IntegrationCatalogSubBuilder = class {
12765
12796
  _includes = [];
12766
12797
  /** Include provider in the parent query. */
12767
12798
  provider(variables) {
12768
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
12799
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
12769
12800
  this._includes.push({
12770
12801
  fieldName: "provider",
12771
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
12802
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationProviderFragmentDoc,
12772
12803
  variables,
12773
12804
  isConnection: false,
12774
12805
  isList: false,
@@ -12788,7 +12819,7 @@ var PulseEventSubBuilder = class {
12788
12819
  _includes = [];
12789
12820
  /** Include integration in the parent query. */
12790
12821
  integration(variables, builder) {
12791
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
12822
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
12792
12823
  let children;
12793
12824
  if (builder) {
12794
12825
  const sub = new IntegrationSubBuilder();
@@ -12797,7 +12828,7 @@ var PulseEventSubBuilder = class {
12797
12828
  }
12798
12829
  this._includes.push({
12799
12830
  fieldName: "integration",
12800
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationFragmentDoc,
12831
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationFragmentDoc,
12801
12832
  variables,
12802
12833
  isConnection: false,
12803
12834
  isList: false,
@@ -12818,7 +12849,7 @@ var ReportSubBuilder = class {
12818
12849
  _includes = [];
12819
12850
  /** Include insights in the parent query. */
12820
12851
  insights(variables, builder) {
12821
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_InsightsDocument, "insights", ["id"]);
12852
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Report_InsightsDocument, "insights", ["id"]);
12822
12853
  let children;
12823
12854
  if (builder) {
12824
12855
  const sub = new InsightSubBuilder();
@@ -12827,7 +12858,7 @@ var ReportSubBuilder = class {
12827
12858
  }
12828
12859
  this._includes.push({
12829
12860
  fieldName: "insights",
12830
- fragmentDoc: chunkGL6CUR7S_cjs.InsightConnectionFragmentDoc,
12861
+ fragmentDoc: chunkH5WMTA3W_cjs.InsightConnectionFragmentDoc,
12831
12862
  variables,
12832
12863
  isConnection: true,
12833
12864
  isList: false,
@@ -12845,10 +12876,10 @@ var ReportSubBuilder = class {
12845
12876
  }
12846
12877
  /** Include layout in the parent query. */
12847
12878
  layout(variables) {
12848
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_LayoutDocument, "layout", ["id"]);
12879
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Report_LayoutDocument, "layout", ["id"]);
12849
12880
  this._includes.push({
12850
12881
  fieldName: "layout",
12851
- fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
12882
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportMemberFragmentDoc,
12852
12883
  variables,
12853
12884
  isConnection: false,
12854
12885
  isList: true,
@@ -12868,7 +12899,7 @@ var TableSubBuilder = class {
12868
12899
  _includes = [];
12869
12900
  /** Include database in the parent query. */
12870
12901
  database(variables, builder) {
12871
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DatabaseDocument, "database", ["id"]);
12902
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_DatabaseDocument, "database", ["id"]);
12872
12903
  let children;
12873
12904
  if (builder) {
12874
12905
  const sub = new DatabaseSubBuilder();
@@ -12877,7 +12908,7 @@ var TableSubBuilder = class {
12877
12908
  }
12878
12909
  this._includes.push({
12879
12910
  fieldName: "database",
12880
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseFragmentDoc,
12911
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseFragmentDoc,
12881
12912
  variables,
12882
12913
  isConnection: false,
12883
12914
  isList: false,
@@ -12894,7 +12925,7 @@ var TableSubBuilder = class {
12894
12925
  }
12895
12926
  /** Include document in the parent query. */
12896
12927
  document(variables, builder) {
12897
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DocumentDocument, "document", ["id"]);
12928
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_DocumentDocument, "document", ["id"]);
12898
12929
  let children;
12899
12930
  if (builder) {
12900
12931
  const sub = new DocumentSubBuilder();
@@ -12903,7 +12934,7 @@ var TableSubBuilder = class {
12903
12934
  }
12904
12935
  this._includes.push({
12905
12936
  fieldName: "document",
12906
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFragmentDoc,
12937
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFragmentDoc,
12907
12938
  variables,
12908
12939
  isConnection: false,
12909
12940
  isList: false,
@@ -12920,10 +12951,10 @@ var TableSubBuilder = class {
12920
12951
  }
12921
12952
  /** Include fromRelations in the parent query. */
12922
12953
  fromRelations(variables) {
12923
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
12954
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
12924
12955
  this._includes.push({
12925
12956
  fieldName: "fromRelations",
12926
- fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
12957
+ fragmentDoc: chunkH5WMTA3W_cjs.RelationFragmentDoc,
12927
12958
  variables,
12928
12959
  isConnection: false,
12929
12960
  isList: true,
@@ -12939,10 +12970,10 @@ var TableSubBuilder = class {
12939
12970
  }
12940
12971
  /** Include toRelations in the parent query. */
12941
12972
  toRelations(variables) {
12942
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
12973
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
12943
12974
  this._includes.push({
12944
12975
  fieldName: "toRelations",
12945
- fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
12976
+ fragmentDoc: chunkH5WMTA3W_cjs.RelationFragmentDoc,
12946
12977
  variables,
12947
12978
  isConnection: false,
12948
12979
  isList: true,
@@ -12959,427 +12990,434 @@ var TableSubBuilder = class {
12959
12990
  };
12960
12991
  var AddInsightToReportMutation = class extends chunk342BFYZZ_cjs.Request {
12961
12992
  async fetch(variables, options) {
12962
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
12993
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
12963
12994
  const data = response.addInsightToReport;
12964
12995
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
12965
12996
  }
12966
12997
  };
12967
12998
  var CancelOauthFlowMutation = class extends chunk342BFYZZ_cjs.Request {
12968
12999
  async fetch(variables) {
12969
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
13000
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
12970
13001
  return response.cancelOauthFlow;
12971
13002
  }
12972
13003
  };
12973
13004
  var CancelWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
12974
13005
  async fetch(variables) {
12975
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
13006
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
12976
13007
  return response.cancelWorkspaceDeletion;
12977
13008
  }
12978
13009
  };
12979
13010
  var ConnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
12980
13011
  async fetch(variables, options) {
12981
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
13012
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
12982
13013
  const data = response.connectIntegration;
12983
13014
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
12984
13015
  }
12985
13016
  };
12986
13017
  var ConsumePulseEventsMutation = class extends chunk342BFYZZ_cjs.Request {
12987
13018
  async fetch(variables) {
12988
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
13019
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
12989
13020
  return response.consumePulseEvents;
12990
13021
  }
12991
13022
  };
12992
13023
  var ContinueImportedChatMutation = class extends chunk342BFYZZ_cjs.Request {
12993
13024
  async fetch(variables) {
12994
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
13025
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
12995
13026
  return response.continueImportedChat;
12996
13027
  }
12997
13028
  };
12998
13029
  var ContinueInterpretationMutation = class extends chunk342BFYZZ_cjs.Request {
12999
13030
  async fetch(variables) {
13000
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
13031
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
13001
13032
  return response.continueInterpretation;
13002
13033
  }
13003
13034
  };
13004
13035
  var CreateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
13005
13036
  async fetch(variables, options) {
13006
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
13037
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
13007
13038
  const data = response.createAgent;
13008
13039
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
13009
13040
  }
13010
13041
  };
13011
13042
  var CreateChatMutation = class extends chunk342BFYZZ_cjs.Request {
13012
13043
  async fetch(variables, options) {
13013
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
13044
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
13014
13045
  const data = response.createChat;
13015
13046
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
13016
13047
  }
13017
13048
  };
13018
13049
  var CreateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
13019
13050
  async fetch(variables, options) {
13020
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
13051
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
13021
13052
  const data = response.createDatabase;
13022
13053
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
13023
13054
  }
13024
13055
  };
13025
13056
  var CreateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13026
13057
  async fetch(variables, options) {
13027
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
13058
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
13028
13059
  const data = response.createDocument;
13029
13060
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13030
13061
  }
13031
13062
  };
13032
13063
  var CreateFeedbackMutation = class extends chunk342BFYZZ_cjs.Request {
13033
13064
  async fetch(variables, options) {
13034
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
13065
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
13035
13066
  const data = response.createFeedback;
13036
13067
  return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
13037
13068
  }
13038
13069
  };
13039
13070
  var CreateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13040
13071
  async fetch(variables, options) {
13041
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
13072
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
13042
13073
  const data = response.createFolder;
13043
13074
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
13044
13075
  }
13045
13076
  };
13046
13077
  var CreateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13047
13078
  async fetch(variables, options) {
13048
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
13079
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
13049
13080
  const data = response.createInsight;
13050
13081
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13051
13082
  }
13052
13083
  };
13053
13084
  var CreateIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
13054
13085
  async fetch(variables, options) {
13055
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
13086
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
13056
13087
  const data = response.createIntegration;
13057
13088
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
13058
13089
  }
13059
13090
  };
13060
13091
  var CreateReportMutation = class extends chunk342BFYZZ_cjs.Request {
13061
13092
  async fetch(variables, options) {
13062
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
13093
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
13063
13094
  const data = response.createReport;
13064
13095
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13065
13096
  }
13066
13097
  };
13067
13098
  var CreateTableMutation = class extends chunk342BFYZZ_cjs.Request {
13068
13099
  async fetch(variables, options) {
13069
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
13100
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
13070
13101
  const data = response.createTable;
13071
13102
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
13072
13103
  }
13073
13104
  };
13074
13105
  var CreateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
13075
13106
  async fetch(variables, options) {
13076
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
13107
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
13077
13108
  const data = response.createUserSkillFile;
13078
13109
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
13079
13110
  }
13080
13111
  };
13081
13112
  var CreateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13082
13113
  async fetch(variables, options) {
13083
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
13114
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
13084
13115
  const data = response.createUserSkillFolder;
13085
13116
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
13086
13117
  }
13087
13118
  };
13088
13119
  var DeleteAgentMutation = class extends chunk342BFYZZ_cjs.Request {
13089
13120
  async fetch(variables, options) {
13090
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
13121
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
13091
13122
  const data = response.deleteAgent;
13092
13123
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
13093
13124
  }
13094
13125
  };
13095
13126
  var DeleteArtifactMutation = class extends chunk342BFYZZ_cjs.Request {
13096
13127
  async fetch(variables, options) {
13097
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
13128
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
13098
13129
  const data = response.deleteArtifact;
13099
13130
  return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
13100
13131
  }
13101
13132
  };
13102
13133
  var DeleteChatMutation = class extends chunk342BFYZZ_cjs.Request {
13103
13134
  async fetch(variables, options) {
13104
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
13135
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
13105
13136
  const data = response.deleteChat;
13106
13137
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
13107
13138
  }
13108
13139
  };
13109
13140
  var DeleteDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
13110
13141
  async fetch(variables, options) {
13111
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
13142
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
13112
13143
  const data = response.deleteDatabase;
13113
13144
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
13114
13145
  }
13115
13146
  };
13116
13147
  var DeleteDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13117
13148
  async fetch(variables, options) {
13118
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
13149
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
13119
13150
  const data = response.deleteDocument;
13120
13151
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13121
13152
  }
13122
13153
  };
13123
13154
  var DeleteFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13124
13155
  async fetch(variables, options) {
13125
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
13156
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
13126
13157
  const data = response.deleteFolder;
13127
13158
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
13128
13159
  }
13129
13160
  };
13130
13161
  var DeleteInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13131
13162
  async fetch(variables, options) {
13132
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
13163
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
13133
13164
  const data = response.deleteInsight;
13134
13165
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13135
13166
  }
13136
13167
  };
13137
13168
  var DeleteInsightsMutation = class extends chunk342BFYZZ_cjs.Request {
13138
13169
  async fetch(variables, options) {
13139
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
13170
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
13140
13171
  const data = response.deleteInsights;
13141
13172
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13142
13173
  }
13143
13174
  };
13144
13175
  var DeleteIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
13145
13176
  async fetch(variables) {
13146
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
13177
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
13147
13178
  return response.deleteIntegration;
13148
13179
  }
13149
13180
  };
13150
13181
  var DeleteReportMutation = class extends chunk342BFYZZ_cjs.Request {
13151
13182
  async fetch(variables, options) {
13152
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
13183
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
13153
13184
  const data = response.deleteReport;
13154
13185
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13155
13186
  }
13156
13187
  };
13157
13188
  var DeleteTableMutation = class extends chunk342BFYZZ_cjs.Request {
13158
13189
  async fetch(variables, options) {
13159
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
13190
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
13160
13191
  const data = response.deleteTable;
13161
13192
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
13162
13193
  }
13163
13194
  };
13164
13195
  var DeleteUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
13165
13196
  async fetch(variables, options) {
13166
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
13197
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
13167
13198
  const data = response.deleteUserSkillFile;
13168
13199
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
13169
13200
  }
13170
13201
  };
13171
13202
  var DeleteUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13172
13203
  async fetch(variables, options) {
13173
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
13204
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
13174
13205
  const data = response.deleteUserSkillFolder;
13175
13206
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
13176
13207
  }
13177
13208
  };
13178
13209
  var DisconnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
13179
13210
  async fetch(variables) {
13180
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
13211
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
13181
13212
  return response.disconnectIntegration;
13182
13213
  }
13183
13214
  };
13184
13215
  var DismissPulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
13185
13216
  async fetch(variables, options) {
13186
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
13217
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
13187
13218
  const data = response.dismissPulseEvent;
13188
13219
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
13189
13220
  }
13190
13221
  };
13191
13222
  var ExecuteChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
13192
13223
  async fetch(variables, options) {
13193
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
13224
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
13194
13225
  const data = response.executeChatImport;
13195
13226
  return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
13196
13227
  }
13197
13228
  };
13198
13229
  var GenerateUploadUriMutation = class extends chunk342BFYZZ_cjs.Request {
13199
13230
  async fetch(variables, options) {
13200
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
13231
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
13201
13232
  const data = response.generateUploadUri;
13202
13233
  return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
13203
13234
  }
13204
13235
  };
13205
13236
  var PreviewChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
13206
13237
  async fetch(variables, options) {
13207
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
13238
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
13208
13239
  const data = response.previewChatImport;
13209
13240
  return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
13210
13241
  }
13211
13242
  };
13212
13243
  var ReanalyzeDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13213
13244
  async fetch(variables, options) {
13214
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
13245
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
13215
13246
  const data = response.reanalyzeDocument;
13216
13247
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13217
13248
  }
13218
13249
  };
13219
13250
  var RefineMindInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
13220
13251
  async fetch(variables) {
13221
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
13252
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
13222
13253
  return response.refineMindInstruction;
13223
13254
  }
13224
13255
  };
13225
13256
  var RefreshDatabaseSchemaMutation = class extends chunk342BFYZZ_cjs.Request {
13226
13257
  async fetch(variables) {
13227
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
13258
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
13228
13259
  return response.refreshDatabaseSchema;
13229
13260
  }
13230
13261
  };
13231
13262
  var RefreshInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13232
13263
  async fetch(variables, options) {
13233
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
13264
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
13234
13265
  const data = response.refreshInsight;
13235
13266
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13236
13267
  }
13237
13268
  };
13238
13269
  var ReinterpretSourceMutation = class extends chunk342BFYZZ_cjs.Request {
13239
13270
  async fetch(variables) {
13240
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
13271
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
13241
13272
  return response.reinterpretSource;
13242
13273
  }
13243
13274
  };
13244
13275
  var ReinterpretSourcesOfuserMutation = class extends chunk342BFYZZ_cjs.Request {
13245
13276
  async fetch(variables) {
13246
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
13277
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
13247
13278
  return response.reinterpretSourcesOfuser;
13248
13279
  }
13249
13280
  };
13250
13281
  var RelocateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13251
13282
  async fetch(variables, options) {
13252
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
13283
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
13253
13284
  const data = response.relocateInsight;
13254
13285
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13255
13286
  }
13256
13287
  };
13257
13288
  var RemoveInsightFromReportMutation = class extends chunk342BFYZZ_cjs.Request {
13258
13289
  async fetch(variables, options) {
13259
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
13290
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
13260
13291
  const data = response.removeInsightFromReport;
13261
13292
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13262
13293
  }
13263
13294
  };
13264
13295
  var ResetWorkspaceMutation = class extends chunk342BFYZZ_cjs.Request {
13265
13296
  async fetch(variables) {
13266
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
13297
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
13267
13298
  return response.resetWorkspace;
13268
13299
  }
13269
13300
  };
13270
13301
  var ResolvePulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
13271
13302
  async fetch(variables, options) {
13272
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
13303
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
13273
13304
  const data = response.resolvePulseEvent;
13274
13305
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
13275
13306
  }
13276
13307
  };
13277
13308
  var ScheduleWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
13278
13309
  async fetch(variables, options) {
13279
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
13310
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
13280
13311
  const data = response.scheduleWorkspaceDeletion;
13281
13312
  return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
13282
13313
  }
13283
13314
  };
13284
13315
  var SetDatabasePrimaryKeyMutation = class extends chunk342BFYZZ_cjs.Request {
13285
13316
  async fetch(variables) {
13286
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
13317
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
13287
13318
  return response.setDatabasePrimaryKey;
13288
13319
  }
13289
13320
  };
13290
13321
  var UpdateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
13291
13322
  async fetch(variables, options) {
13292
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
13323
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
13293
13324
  const data = response.updateAgent;
13294
13325
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
13295
13326
  }
13296
13327
  };
13328
+ var UpdateArtifactNameMutation = class extends chunk342BFYZZ_cjs.Request {
13329
+ async fetch(variables, options) {
13330
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"]);
13331
+ const data = response.updateArtifactName;
13332
+ return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
13333
+ }
13334
+ };
13297
13335
  var UpdateChatMutation = class extends chunk342BFYZZ_cjs.Request {
13298
13336
  async fetch(variables, options) {
13299
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
13337
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
13300
13338
  const data = response.updateChat;
13301
13339
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
13302
13340
  }
13303
13341
  };
13304
13342
  var UpdateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
13305
13343
  async fetch(variables, options) {
13306
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
13344
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
13307
13345
  const data = response.updateDatabase;
13308
13346
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
13309
13347
  }
13310
13348
  };
13311
13349
  var UpdateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13312
13350
  async fetch(variables, options) {
13313
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
13351
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
13314
13352
  const data = response.updateDocument;
13315
13353
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13316
13354
  }
13317
13355
  };
13318
13356
  var UpdateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13319
13357
  async fetch(variables, options) {
13320
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
13358
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
13321
13359
  const data = response.updateFolder;
13322
13360
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
13323
13361
  }
13324
13362
  };
13325
13363
  var UpdateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13326
13364
  async fetch(variables, options) {
13327
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
13365
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
13328
13366
  const data = response.updateInsight;
13329
13367
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13330
13368
  }
13331
13369
  };
13332
13370
  var UpdateInsightInReportMutation = class extends chunk342BFYZZ_cjs.Request {
13333
13371
  async fetch(variables, options) {
13334
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
13372
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
13335
13373
  const data = response.updateInsightInReport;
13336
13374
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13337
13375
  }
13338
13376
  };
13339
13377
  var UpdateInsightThumbnailMutation = class extends chunk342BFYZZ_cjs.Request {
13340
13378
  async fetch(variables) {
13341
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
13379
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
13342
13380
  return response.updateInsightThumbnail;
13343
13381
  }
13344
13382
  };
13345
13383
  var UpdateInterpMutation = class extends chunk342BFYZZ_cjs.Request {
13346
13384
  async fetch(variables, options) {
13347
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
13385
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
13348
13386
  const data = response.updateInterp;
13349
13387
  return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
13350
13388
  }
13351
13389
  };
13352
13390
  var UpdatePulseTriggerMutation = class extends chunk342BFYZZ_cjs.Request {
13353
13391
  async fetch(variables, options) {
13354
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
13392
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
13355
13393
  const data = response.updatePulseTrigger;
13356
13394
  return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
13357
13395
  }
13358
13396
  };
13359
13397
  var UpdateReportMutation = class extends chunk342BFYZZ_cjs.Request {
13360
13398
  async fetch(variables, options) {
13361
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
13399
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
13362
13400
  const data = response.updateReport;
13363
13401
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13364
13402
  }
13365
13403
  };
13366
13404
  var UpdateTableMutation = class extends chunk342BFYZZ_cjs.Request {
13367
13405
  async fetch(variables, options) {
13368
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
13406
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
13369
13407
  const data = response.updateTable;
13370
13408
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
13371
13409
  }
13372
13410
  };
13373
13411
  var UpdateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
13374
13412
  async fetch(variables, options) {
13375
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
13413
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
13376
13414
  const data = response.updateUserSkillFile;
13377
13415
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
13378
13416
  }
13379
13417
  };
13380
13418
  var UpdateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13381
13419
  async fetch(variables, options) {
13382
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
13420
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
13383
13421
  const data = response.updateUserSkillFolder;
13384
13422
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
13385
13423
  }
@@ -13393,7 +13431,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13393
13431
  }
13394
13432
  async fetch(options) {
13395
13433
  const variables = this._variables;
13396
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentDocument, "agent", this._includes, variables);
13434
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.AgentDocument, "agent", this._includes, variables);
13397
13435
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
13398
13436
  const data = response.agent;
13399
13437
  const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
@@ -13405,7 +13443,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13405
13443
  watch(options) {
13406
13444
  const variables = this._variables;
13407
13445
  const includes = this._includes;
13408
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentDocument, "agent", includes, variables);
13446
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.AgentDocument, "agent", includes, variables);
13409
13447
  const raw = this._syncEngine.watch(
13410
13448
  queryDoc,
13411
13449
  mergedVars,
@@ -13435,7 +13473,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13435
13473
  }
13436
13474
  /** Include chats in this query (Smart Fetch — single HTTP request). */
13437
13475
  chats(variables, builder) {
13438
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Agent_ChatsDocument, "chats", ["id"]);
13476
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Agent_ChatsDocument, "chats", ["id"]);
13439
13477
  let children;
13440
13478
  if (builder) {
13441
13479
  const sub = new ChatSubBuilder();
@@ -13444,7 +13482,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13444
13482
  }
13445
13483
  this._includes.push({
13446
13484
  fieldName: "chats",
13447
- fragmentDoc: chunkGL6CUR7S_cjs.ChatConnectionFragmentDoc,
13485
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatConnectionFragmentDoc,
13448
13486
  variables,
13449
13487
  isConnection: true,
13450
13488
  isList: false,
@@ -13469,18 +13507,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk342BFYZZ_cjs.Request
13469
13507
  }
13470
13508
  async fetch(options) {
13471
13509
  const variables = this._variables;
13472
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Agent_ChatsDocument, variables, "agent");
13510
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Agent_ChatsDocument, variables, "agent");
13473
13511
  const data = response.agent?.chats;
13474
13512
  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);
13475
13513
  }
13476
13514
  watch(options) {
13477
13515
  const variables = this._variables;
13478
13516
  const raw = this._syncEngine.watch(
13479
- chunkGL6CUR7S_cjs.Agent_ChatsDocument,
13517
+ chunkH5WMTA3W_cjs.Agent_ChatsDocument,
13480
13518
  variables,
13481
13519
  "agent",
13482
13520
  async (db) => {
13483
- const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkGL6CUR7S_cjs.Agent_ChatsDocument));
13521
+ const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkH5WMTA3W_cjs.Agent_ChatsDocument));
13484
13522
  const nodes = qr ? await db.table("chats").bulkGet(qr.entityIds) : [];
13485
13523
  return { agent: { chats: { __typename: "ChatConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
13486
13524
  }
@@ -13500,7 +13538,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13500
13538
  }
13501
13539
  async fetch(options) {
13502
13540
  const variables = this._variables;
13503
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentsDocument, "agents", this._includes, variables, true);
13541
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.AgentsDocument, "agents", this._includes, variables, true);
13504
13542
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
13505
13543
  const data = response.agents;
13506
13544
  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);
@@ -13517,7 +13555,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13517
13555
  const subscriptionId = crypto.randomUUID();
13518
13556
  const includes = this._includes;
13519
13557
  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) }] : []);
13520
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentsDocument, "agents", includes, variables, true);
13558
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.AgentsDocument, "agents", includes, variables, true);
13521
13559
  const raw = this._syncEngine.watch(
13522
13560
  queryDoc,
13523
13561
  mergedVars,
@@ -13552,7 +13590,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13552
13590
  }
13553
13591
  /** Include chats in this query (Smart Fetch — single HTTP request). */
13554
13592
  chats(variables, builder) {
13555
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Agent_ChatsDocument, "chats", ["id"]);
13593
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Agent_ChatsDocument, "chats", ["id"]);
13556
13594
  let children;
13557
13595
  if (builder) {
13558
13596
  const sub = new ChatSubBuilder();
@@ -13561,7 +13599,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13561
13599
  }
13562
13600
  this._includes.push({
13563
13601
  fieldName: "chats",
13564
- fragmentDoc: chunkGL6CUR7S_cjs.ChatConnectionFragmentDoc,
13602
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatConnectionFragmentDoc,
13565
13603
  variables,
13566
13604
  isConnection: true,
13567
13605
  isList: false,
@@ -13587,7 +13625,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13587
13625
  }
13588
13626
  async fetch(options) {
13589
13627
  const variables = this._variables;
13590
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactDocument, "artifact", this._includes, variables);
13628
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ArtifactDocument, "artifact", this._includes, variables);
13591
13629
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
13592
13630
  const data = response.artifact;
13593
13631
  const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
@@ -13599,7 +13637,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13599
13637
  watch(options) {
13600
13638
  const variables = this._variables;
13601
13639
  const includes = this._includes;
13602
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactDocument, "artifact", includes, variables);
13640
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ArtifactDocument, "artifact", includes, variables);
13603
13641
  const raw = this._syncEngine.watch(
13604
13642
  queryDoc,
13605
13643
  mergedVars,
@@ -13629,7 +13667,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13629
13667
  }
13630
13668
  /** Include chat in this query (Smart Fetch — single HTTP request). */
13631
13669
  chat(variables, builder) {
13632
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_ChatDocument, "chat", ["id"]);
13670
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_ChatDocument, "chat", ["id"]);
13633
13671
  let children;
13634
13672
  if (builder) {
13635
13673
  const sub = new ChatSubBuilder();
@@ -13638,7 +13676,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13638
13676
  }
13639
13677
  this._includes.push({
13640
13678
  fieldName: "chat",
13641
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
13679
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
13642
13680
  variables,
13643
13681
  isConnection: false,
13644
13682
  isList: false,
@@ -13655,10 +13693,10 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13655
13693
  }
13656
13694
  /** Include file in this query (Smart Fetch — single HTTP request). */
13657
13695
  file(variables) {
13658
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_FileDocument, "file", ["id"]);
13696
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_FileDocument, "file", ["id"]);
13659
13697
  this._includes.push({
13660
13698
  fieldName: "file",
13661
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
13699
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
13662
13700
  variables,
13663
13701
  isConnection: false,
13664
13702
  isList: false,
@@ -13674,7 +13712,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13674
13712
  }
13675
13713
  /** Include message in this query (Smart Fetch — single HTTP request). */
13676
13714
  message(variables, builder) {
13677
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_MessageDocument, "message", ["id"]);
13715
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_MessageDocument, "message", ["id"]);
13678
13716
  let children;
13679
13717
  if (builder) {
13680
13718
  const sub = new ChatMessageSubBuilder();
@@ -13683,7 +13721,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13683
13721
  }
13684
13722
  this._includes.push({
13685
13723
  fieldName: "message",
13686
- fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageFragmentDoc,
13724
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatMessageFragmentDoc,
13687
13725
  variables,
13688
13726
  isConnection: false,
13689
13727
  isList: false,
@@ -13707,14 +13745,14 @@ var Artifact_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
13707
13745
  }
13708
13746
  async fetch(options) {
13709
13747
  const variables = this._variables;
13710
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_ChatDocument, variables, "artifact");
13748
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Artifact_ChatDocument, variables, "artifact");
13711
13749
  const data = response.artifact?.chat;
13712
13750
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13713
13751
  }
13714
13752
  watch(options) {
13715
13753
  const variables = this._variables;
13716
13754
  const raw = this._syncEngine.watch(
13717
- chunkGL6CUR7S_cjs.Artifact_ChatDocument,
13755
+ chunkH5WMTA3W_cjs.Artifact_ChatDocument,
13718
13756
  variables,
13719
13757
  "artifact",
13720
13758
  async (db) => {
@@ -13737,14 +13775,14 @@ var Artifact_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
13737
13775
  }
13738
13776
  async fetch(options) {
13739
13777
  const variables = this._variables;
13740
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
13778
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
13741
13779
  const data = response.artifact?.chat?.insight;
13742
13780
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13743
13781
  }
13744
13782
  watch(options) {
13745
13783
  const variables = this._variables;
13746
13784
  const raw = this._syncEngine.watch(
13747
- chunkGL6CUR7S_cjs.Artifact_Chat_InsightDocument,
13785
+ chunkH5WMTA3W_cjs.Artifact_Chat_InsightDocument,
13748
13786
  variables,
13749
13787
  "artifact",
13750
13788
  async (db) => {
@@ -13767,14 +13805,14 @@ var Artifact_FileQuery = class extends chunk342BFYZZ_cjs.Request {
13767
13805
  }
13768
13806
  async fetch(options) {
13769
13807
  const variables = this._variables;
13770
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_FileDocument, variables, "artifact");
13808
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Artifact_FileDocument, variables, "artifact");
13771
13809
  const data = response.artifact?.file;
13772
13810
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13773
13811
  }
13774
13812
  watch(options) {
13775
13813
  const variables = this._variables;
13776
13814
  const raw = this._syncEngine.watch(
13777
- chunkGL6CUR7S_cjs.Artifact_FileDocument,
13815
+ chunkH5WMTA3W_cjs.Artifact_FileDocument,
13778
13816
  variables,
13779
13817
  "artifact",
13780
13818
  async (db) => {
@@ -13797,14 +13835,14 @@ var Artifact_MessageQuery = class extends chunk342BFYZZ_cjs.Request {
13797
13835
  }
13798
13836
  async fetch(options) {
13799
13837
  const variables = this._variables;
13800
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_MessageDocument, variables, "artifact");
13838
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Artifact_MessageDocument, variables, "artifact");
13801
13839
  const data = response.artifact?.message;
13802
13840
  return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13803
13841
  }
13804
13842
  watch(options) {
13805
13843
  const variables = this._variables;
13806
13844
  const raw = this._syncEngine.watch(
13807
- chunkGL6CUR7S_cjs.Artifact_MessageDocument,
13845
+ chunkH5WMTA3W_cjs.Artifact_MessageDocument,
13808
13846
  variables,
13809
13847
  "artifact",
13810
13848
  async (db) => {
@@ -13827,14 +13865,14 @@ var Artifact_Message_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
13827
13865
  }
13828
13866
  async fetch(options) {
13829
13867
  const variables = this._variables;
13830
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Message_ChatDocument, variables, "artifact");
13868
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Artifact_Message_ChatDocument, variables, "artifact");
13831
13869
  const data = response.artifact?.message?.chat;
13832
13870
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13833
13871
  }
13834
13872
  watch(options) {
13835
13873
  const variables = this._variables;
13836
13874
  const raw = this._syncEngine.watch(
13837
- chunkGL6CUR7S_cjs.Artifact_Message_ChatDocument,
13875
+ chunkH5WMTA3W_cjs.Artifact_Message_ChatDocument,
13838
13876
  variables,
13839
13877
  "artifact",
13840
13878
  async (db) => {
@@ -13856,7 +13894,7 @@ var Artifact_Message_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
13856
13894
  this._variables = variables;
13857
13895
  }
13858
13896
  async fetch(options) {
13859
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
13897
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
13860
13898
  const data = response.artifact?.message?.contents;
13861
13899
  if (!Array.isArray(data)) return [];
13862
13900
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -13870,14 +13908,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
13870
13908
  }
13871
13909
  async fetch(options) {
13872
13910
  const variables = this._variables;
13873
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
13911
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
13874
13912
  const data = response.artifact?.message?.feedback;
13875
13913
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13876
13914
  }
13877
13915
  watch(options) {
13878
13916
  const variables = this._variables;
13879
13917
  const raw = this._syncEngine.watch(
13880
- chunkGL6CUR7S_cjs.Artifact_Message_FeedbackDocument,
13918
+ chunkH5WMTA3W_cjs.Artifact_Message_FeedbackDocument,
13881
13919
  variables,
13882
13920
  "artifact",
13883
13921
  async (db) => {
@@ -13901,7 +13939,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13901
13939
  }
13902
13940
  async fetch(options) {
13903
13941
  const variables = this._variables;
13904
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
13942
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
13905
13943
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
13906
13944
  const data = response.artifacts;
13907
13945
  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);
@@ -13918,7 +13956,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13918
13956
  const subscriptionId = crypto.randomUUID();
13919
13957
  const includes = this._includes;
13920
13958
  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) }] : []);
13921
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
13959
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
13922
13960
  const raw = this._syncEngine.watch(
13923
13961
  queryDoc,
13924
13962
  mergedVars,
@@ -13953,7 +13991,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13953
13991
  }
13954
13992
  /** Include chat in this query (Smart Fetch — single HTTP request). */
13955
13993
  chat(variables, builder) {
13956
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_ChatDocument, "chat", ["id"]);
13994
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_ChatDocument, "chat", ["id"]);
13957
13995
  let children;
13958
13996
  if (builder) {
13959
13997
  const sub = new ChatSubBuilder();
@@ -13962,7 +14000,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13962
14000
  }
13963
14001
  this._includes.push({
13964
14002
  fieldName: "chat",
13965
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
14003
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
13966
14004
  variables,
13967
14005
  isConnection: false,
13968
14006
  isList: false,
@@ -13979,10 +14017,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13979
14017
  }
13980
14018
  /** Include file in this query (Smart Fetch — single HTTP request). */
13981
14019
  file(variables) {
13982
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_FileDocument, "file", ["id"]);
14020
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_FileDocument, "file", ["id"]);
13983
14021
  this._includes.push({
13984
14022
  fieldName: "file",
13985
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
14023
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
13986
14024
  variables,
13987
14025
  isConnection: false,
13988
14026
  isList: false,
@@ -13998,7 +14036,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13998
14036
  }
13999
14037
  /** Include message in this query (Smart Fetch — single HTTP request). */
14000
14038
  message(variables, builder) {
14001
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_MessageDocument, "message", ["id"]);
14039
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_MessageDocument, "message", ["id"]);
14002
14040
  let children;
14003
14041
  if (builder) {
14004
14042
  const sub = new ChatMessageSubBuilder();
@@ -14007,7 +14045,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
14007
14045
  }
14008
14046
  this._includes.push({
14009
14047
  fieldName: "message",
14010
- fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageFragmentDoc,
14048
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatMessageFragmentDoc,
14011
14049
  variables,
14012
14050
  isConnection: false,
14013
14051
  isList: false,
@@ -14032,7 +14070,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14032
14070
  }
14033
14071
  async fetch(options) {
14034
14072
  const variables = this._variables;
14035
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatDocument, "chat", this._includes, variables);
14073
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatDocument, "chat", this._includes, variables);
14036
14074
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
14037
14075
  const data = response.chat;
14038
14076
  const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
@@ -14044,7 +14082,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14044
14082
  watch(options) {
14045
14083
  const variables = this._variables;
14046
14084
  const includes = this._includes;
14047
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatDocument, "chat", includes, variables);
14085
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatDocument, "chat", includes, variables);
14048
14086
  const raw = this._syncEngine.watch(
14049
14087
  queryDoc,
14050
14088
  mergedVars,
@@ -14074,7 +14112,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14074
14112
  }
14075
14113
  /** Include agents in this query (Smart Fetch — single HTTP request). */
14076
14114
  agents(variables, builder) {
14077
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_AgentsDocument, "agents", ["id"]);
14115
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_AgentsDocument, "agents", ["id"]);
14078
14116
  let children;
14079
14117
  if (builder) {
14080
14118
  const sub = new AgentSubBuilder();
@@ -14083,7 +14121,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14083
14121
  }
14084
14122
  this._includes.push({
14085
14123
  fieldName: "agents",
14086
- fragmentDoc: chunkGL6CUR7S_cjs.AgentConnectionFragmentDoc,
14124
+ fragmentDoc: chunkH5WMTA3W_cjs.AgentConnectionFragmentDoc,
14087
14125
  variables,
14088
14126
  isConnection: true,
14089
14127
  isList: false,
@@ -14101,7 +14139,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14101
14139
  }
14102
14140
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14103
14141
  artifacts(variables, builder) {
14104
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14142
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14105
14143
  let children;
14106
14144
  if (builder) {
14107
14145
  const sub = new ArtifactSubBuilder();
@@ -14110,7 +14148,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14110
14148
  }
14111
14149
  this._includes.push({
14112
14150
  fieldName: "artifacts",
14113
- fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14151
+ fragmentDoc: chunkH5WMTA3W_cjs.ArtifactConnectionFragmentDoc,
14114
14152
  variables,
14115
14153
  isConnection: true,
14116
14154
  isList: false,
@@ -14128,7 +14166,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14128
14166
  }
14129
14167
  /** Include insight in this query (Smart Fetch — single HTTP request). */
14130
14168
  insight(variables, builder) {
14131
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_InsightDocument, "insight", ["id"]);
14169
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_InsightDocument, "insight", ["id"]);
14132
14170
  let children;
14133
14171
  if (builder) {
14134
14172
  const sub = new InsightSubBuilder();
@@ -14137,7 +14175,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14137
14175
  }
14138
14176
  this._includes.push({
14139
14177
  fieldName: "insight",
14140
- fragmentDoc: chunkGL6CUR7S_cjs.InsightFragmentDoc,
14178
+ fragmentDoc: chunkH5WMTA3W_cjs.InsightFragmentDoc,
14141
14179
  variables,
14142
14180
  isConnection: false,
14143
14181
  isList: false,
@@ -14154,7 +14192,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14154
14192
  }
14155
14193
  /** Include messages in this query (Smart Fetch — single HTTP request). */
14156
14194
  messages(variables, builder) {
14157
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_MessagesDocument, "messages", ["id"]);
14195
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_MessagesDocument, "messages", ["id"]);
14158
14196
  let children;
14159
14197
  if (builder) {
14160
14198
  const sub = new ChatMessageSubBuilder();
@@ -14163,7 +14201,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14163
14201
  }
14164
14202
  this._includes.push({
14165
14203
  fieldName: "messages",
14166
- fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageConnectionFragmentDoc,
14204
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatMessageConnectionFragmentDoc,
14167
14205
  variables,
14168
14206
  isConnection: true,
14169
14207
  isList: false,
@@ -14188,18 +14226,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk342BFYZZ_cjs.Request
14188
14226
  }
14189
14227
  async fetch(options) {
14190
14228
  const variables = this._variables;
14191
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_AgentsDocument, variables, "chat");
14229
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Chat_AgentsDocument, variables, "chat");
14192
14230
  const data = response.chat?.agents;
14193
14231
  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);
14194
14232
  }
14195
14233
  watch(options) {
14196
14234
  const variables = this._variables;
14197
14235
  const raw = this._syncEngine.watch(
14198
- chunkGL6CUR7S_cjs.Chat_AgentsDocument,
14236
+ chunkH5WMTA3W_cjs.Chat_AgentsDocument,
14199
14237
  variables,
14200
14238
  "chat",
14201
14239
  async (db) => {
14202
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkGL6CUR7S_cjs.Chat_AgentsDocument));
14240
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkH5WMTA3W_cjs.Chat_AgentsDocument));
14203
14241
  const nodes = qr ? await db.table("agents").bulkGet(qr.entityIds) : [];
14204
14242
  return { chat: { agents: { __typename: "AgentConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14205
14243
  }
@@ -14218,18 +14256,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk342BFYZZ_cjs.R
14218
14256
  }
14219
14257
  async fetch(options) {
14220
14258
  const variables = this._variables;
14221
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, variables, "chat");
14259
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Chat_ArtifactsDocument, variables, "chat");
14222
14260
  const data = response.chat?.artifacts;
14223
14261
  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);
14224
14262
  }
14225
14263
  watch(options) {
14226
14264
  const variables = this._variables;
14227
14265
  const raw = this._syncEngine.watch(
14228
- chunkGL6CUR7S_cjs.Chat_ArtifactsDocument,
14266
+ chunkH5WMTA3W_cjs.Chat_ArtifactsDocument,
14229
14267
  variables,
14230
14268
  "chat",
14231
14269
  async (db) => {
14232
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkGL6CUR7S_cjs.Chat_ArtifactsDocument));
14270
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkH5WMTA3W_cjs.Chat_ArtifactsDocument));
14233
14271
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
14234
14272
  return { chat: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14235
14273
  }
@@ -14248,14 +14286,14 @@ var Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
14248
14286
  }
14249
14287
  async fetch(options) {
14250
14288
  const variables = this._variables;
14251
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_InsightDocument, variables, "chat");
14289
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Chat_InsightDocument, variables, "chat");
14252
14290
  const data = response.chat?.insight;
14253
14291
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14254
14292
  }
14255
14293
  watch(options) {
14256
14294
  const variables = this._variables;
14257
14295
  const raw = this._syncEngine.watch(
14258
- chunkGL6CUR7S_cjs.Chat_InsightDocument,
14296
+ chunkH5WMTA3W_cjs.Chat_InsightDocument,
14259
14297
  variables,
14260
14298
  "chat",
14261
14299
  async (db) => {
@@ -14277,7 +14315,7 @@ var Chat_Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
14277
14315
  this._variables = variables;
14278
14316
  }
14279
14317
  async fetch(options) {
14280
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
14318
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
14281
14319
  const data = response.chat?.insight?.reportMembers;
14282
14320
  if (!Array.isArray(data)) return [];
14283
14321
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -14291,14 +14329,14 @@ var Chat_Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
14291
14329
  }
14292
14330
  async fetch(options) {
14293
14331
  const variables = this._variables;
14294
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
14332
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
14295
14333
  const data = response.chat?.insight?.thumbnailFile;
14296
14334
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14297
14335
  }
14298
14336
  watch(options) {
14299
14337
  const variables = this._variables;
14300
14338
  const raw = this._syncEngine.watch(
14301
- chunkGL6CUR7S_cjs.Chat_Insight_ThumbnailFileDocument,
14339
+ chunkH5WMTA3W_cjs.Chat_Insight_ThumbnailFileDocument,
14302
14340
  variables,
14303
14341
  "chat",
14304
14342
  async (db) => {
@@ -14321,18 +14359,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk342BFYZZ_cjs.Req
14321
14359
  }
14322
14360
  async fetch(options) {
14323
14361
  const variables = this._variables;
14324
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_MessagesDocument, variables, "chat");
14362
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Chat_MessagesDocument, variables, "chat");
14325
14363
  const data = response.chat?.messages;
14326
14364
  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);
14327
14365
  }
14328
14366
  watch(options) {
14329
14367
  const variables = this._variables;
14330
14368
  const raw = this._syncEngine.watch(
14331
- chunkGL6CUR7S_cjs.Chat_MessagesDocument,
14369
+ chunkH5WMTA3W_cjs.Chat_MessagesDocument,
14332
14370
  variables,
14333
14371
  "chat",
14334
14372
  async (db) => {
14335
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkGL6CUR7S_cjs.Chat_MessagesDocument));
14373
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkH5WMTA3W_cjs.Chat_MessagesDocument));
14336
14374
  const nodes = qr ? await db.table("chatMessages").bulkGet(qr.entityIds) : [];
14337
14375
  return { chat: { messages: { __typename: "ChatMessageConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14338
14376
  }
@@ -14352,7 +14390,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14352
14390
  }
14353
14391
  async fetch(options) {
14354
14392
  const variables = this._variables;
14355
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
14393
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
14356
14394
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
14357
14395
  const data = response.chatMessage;
14358
14396
  const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
@@ -14364,7 +14402,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14364
14402
  watch(options) {
14365
14403
  const variables = this._variables;
14366
14404
  const includes = this._includes;
14367
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessageDocument, "chatMessage", includes, variables);
14405
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatMessageDocument, "chatMessage", includes, variables);
14368
14406
  const raw = this._syncEngine.watch(
14369
14407
  queryDoc,
14370
14408
  mergedVars,
@@ -14394,7 +14432,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14394
14432
  }
14395
14433
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14396
14434
  artifacts(variables, builder) {
14397
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14435
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14398
14436
  let children;
14399
14437
  if (builder) {
14400
14438
  const sub = new ArtifactSubBuilder();
@@ -14403,7 +14441,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14403
14441
  }
14404
14442
  this._includes.push({
14405
14443
  fieldName: "artifacts",
14406
- fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14444
+ fragmentDoc: chunkH5WMTA3W_cjs.ArtifactConnectionFragmentDoc,
14407
14445
  variables,
14408
14446
  isConnection: true,
14409
14447
  isList: false,
@@ -14421,7 +14459,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14421
14459
  }
14422
14460
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14423
14461
  chat(variables, builder) {
14424
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14462
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14425
14463
  let children;
14426
14464
  if (builder) {
14427
14465
  const sub = new ChatSubBuilder();
@@ -14430,7 +14468,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14430
14468
  }
14431
14469
  this._includes.push({
14432
14470
  fieldName: "chat",
14433
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
14471
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
14434
14472
  variables,
14435
14473
  isConnection: false,
14436
14474
  isList: false,
@@ -14447,10 +14485,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14447
14485
  }
14448
14486
  /** Include contents in this query (Smart Fetch — single HTTP request). */
14449
14487
  contents(variables) {
14450
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14488
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14451
14489
  this._includes.push({
14452
14490
  fieldName: "contents",
14453
- fragmentDoc: chunkGL6CUR7S_cjs.ContentBlockFragmentDoc,
14491
+ fragmentDoc: chunkH5WMTA3W_cjs.ContentBlockFragmentDoc,
14454
14492
  variables,
14455
14493
  isConnection: false,
14456
14494
  isList: true,
@@ -14466,10 +14504,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14466
14504
  }
14467
14505
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
14468
14506
  feedback(variables) {
14469
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14507
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14470
14508
  this._includes.push({
14471
14509
  fieldName: "feedback",
14472
- fragmentDoc: chunkGL6CUR7S_cjs.FeedbackFragmentDoc,
14510
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedbackFragmentDoc,
14473
14511
  variables,
14474
14512
  isConnection: false,
14475
14513
  isList: false,
@@ -14492,18 +14530,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
14492
14530
  }
14493
14531
  async fetch(options) {
14494
14532
  const variables = this._variables;
14495
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
14533
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
14496
14534
  const data = response.chatMessage?.artifacts;
14497
14535
  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);
14498
14536
  }
14499
14537
  watch(options) {
14500
14538
  const variables = this._variables;
14501
14539
  const raw = this._syncEngine.watch(
14502
- chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument,
14540
+ chunkH5WMTA3W_cjs.ChatMessage_ArtifactsDocument,
14503
14541
  variables,
14504
14542
  "chatMessage",
14505
14543
  async (db) => {
14506
- const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument));
14544
+ const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkH5WMTA3W_cjs.ChatMessage_ArtifactsDocument));
14507
14545
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
14508
14546
  return { chatMessage: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14509
14547
  }
@@ -14522,14 +14560,14 @@ var ChatMessage_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14522
14560
  }
14523
14561
  async fetch(options) {
14524
14562
  const variables = this._variables;
14525
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
14563
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
14526
14564
  const data = response.chatMessage?.chat;
14527
14565
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14528
14566
  }
14529
14567
  watch(options) {
14530
14568
  const variables = this._variables;
14531
14569
  const raw = this._syncEngine.watch(
14532
- chunkGL6CUR7S_cjs.ChatMessage_ChatDocument,
14570
+ chunkH5WMTA3W_cjs.ChatMessage_ChatDocument,
14533
14571
  variables,
14534
14572
  "chatMessage",
14535
14573
  async (db) => {
@@ -14552,14 +14590,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
14552
14590
  }
14553
14591
  async fetch(options) {
14554
14592
  const variables = this._variables;
14555
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
14593
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
14556
14594
  const data = response.chatMessage?.chat?.insight;
14557
14595
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14558
14596
  }
14559
14597
  watch(options) {
14560
14598
  const variables = this._variables;
14561
14599
  const raw = this._syncEngine.watch(
14562
- chunkGL6CUR7S_cjs.ChatMessage_Chat_InsightDocument,
14600
+ chunkH5WMTA3W_cjs.ChatMessage_Chat_InsightDocument,
14563
14601
  variables,
14564
14602
  "chatMessage",
14565
14603
  async (db) => {
@@ -14581,7 +14619,7 @@ var ChatMessage_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
14581
14619
  this._variables = variables;
14582
14620
  }
14583
14621
  async fetch(options) {
14584
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
14622
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
14585
14623
  const data = response.chatMessage?.contents;
14586
14624
  if (!Array.isArray(data)) return [];
14587
14625
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -14595,14 +14633,14 @@ var ChatMessage_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
14595
14633
  }
14596
14634
  async fetch(options) {
14597
14635
  const variables = this._variables;
14598
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
14636
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
14599
14637
  const data = response.chatMessage?.feedback;
14600
14638
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14601
14639
  }
14602
14640
  watch(options) {
14603
14641
  const variables = this._variables;
14604
14642
  const raw = this._syncEngine.watch(
14605
- chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument,
14643
+ chunkH5WMTA3W_cjs.ChatMessage_FeedbackDocument,
14606
14644
  variables,
14607
14645
  "chatMessage",
14608
14646
  async (db) => {
@@ -14626,7 +14664,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14626
14664
  }
14627
14665
  async fetch(options) {
14628
14666
  const variables = this._variables;
14629
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
14667
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
14630
14668
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
14631
14669
  const data = response.chatMessages;
14632
14670
  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);
@@ -14643,7 +14681,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14643
14681
  const subscriptionId = crypto.randomUUID();
14644
14682
  const includes = this._includes;
14645
14683
  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) }] : []);
14646
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
14684
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
14647
14685
  const raw = this._syncEngine.watch(
14648
14686
  queryDoc,
14649
14687
  mergedVars,
@@ -14678,7 +14716,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14678
14716
  }
14679
14717
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14680
14718
  artifacts(variables, builder) {
14681
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14719
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14682
14720
  let children;
14683
14721
  if (builder) {
14684
14722
  const sub = new ArtifactSubBuilder();
@@ -14687,7 +14725,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14687
14725
  }
14688
14726
  this._includes.push({
14689
14727
  fieldName: "artifacts",
14690
- fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14728
+ fragmentDoc: chunkH5WMTA3W_cjs.ArtifactConnectionFragmentDoc,
14691
14729
  variables,
14692
14730
  isConnection: true,
14693
14731
  isList: false,
@@ -14705,7 +14743,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14705
14743
  }
14706
14744
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14707
14745
  chat(variables, builder) {
14708
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14746
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14709
14747
  let children;
14710
14748
  if (builder) {
14711
14749
  const sub = new ChatSubBuilder();
@@ -14714,7 +14752,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14714
14752
  }
14715
14753
  this._includes.push({
14716
14754
  fieldName: "chat",
14717
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
14755
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
14718
14756
  variables,
14719
14757
  isConnection: false,
14720
14758
  isList: false,
@@ -14731,10 +14769,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14731
14769
  }
14732
14770
  /** Include contents in this query (Smart Fetch — single HTTP request). */
14733
14771
  contents(variables) {
14734
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14772
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14735
14773
  this._includes.push({
14736
14774
  fieldName: "contents",
14737
- fragmentDoc: chunkGL6CUR7S_cjs.ContentBlockFragmentDoc,
14775
+ fragmentDoc: chunkH5WMTA3W_cjs.ContentBlockFragmentDoc,
14738
14776
  variables,
14739
14777
  isConnection: false,
14740
14778
  isList: true,
@@ -14750,10 +14788,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14750
14788
  }
14751
14789
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
14752
14790
  feedback(variables) {
14753
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14791
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14754
14792
  this._includes.push({
14755
14793
  fieldName: "feedback",
14756
- fragmentDoc: chunkGL6CUR7S_cjs.FeedbackFragmentDoc,
14794
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedbackFragmentDoc,
14757
14795
  variables,
14758
14796
  isConnection: false,
14759
14797
  isList: false,
@@ -14777,7 +14815,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14777
14815
  }
14778
14816
  async fetch(options) {
14779
14817
  const variables = this._variables;
14780
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatsDocument, "chats", this._includes, variables, true);
14818
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatsDocument, "chats", this._includes, variables, true);
14781
14819
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
14782
14820
  const data = response.chats;
14783
14821
  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);
@@ -14794,7 +14832,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14794
14832
  const subscriptionId = crypto.randomUUID();
14795
14833
  const includes = this._includes;
14796
14834
  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) }] : []);
14797
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatsDocument, "chats", includes, variables, true);
14835
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatsDocument, "chats", includes, variables, true);
14798
14836
  const raw = this._syncEngine.watch(
14799
14837
  queryDoc,
14800
14838
  mergedVars,
@@ -14829,7 +14867,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14829
14867
  }
14830
14868
  /** Include agents in this query (Smart Fetch — single HTTP request). */
14831
14869
  agents(variables, builder) {
14832
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_AgentsDocument, "agents", ["id"]);
14870
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_AgentsDocument, "agents", ["id"]);
14833
14871
  let children;
14834
14872
  if (builder) {
14835
14873
  const sub = new AgentSubBuilder();
@@ -14838,7 +14876,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14838
14876
  }
14839
14877
  this._includes.push({
14840
14878
  fieldName: "agents",
14841
- fragmentDoc: chunkGL6CUR7S_cjs.AgentConnectionFragmentDoc,
14879
+ fragmentDoc: chunkH5WMTA3W_cjs.AgentConnectionFragmentDoc,
14842
14880
  variables,
14843
14881
  isConnection: true,
14844
14882
  isList: false,
@@ -14856,7 +14894,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14856
14894
  }
14857
14895
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14858
14896
  artifacts(variables, builder) {
14859
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14897
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14860
14898
  let children;
14861
14899
  if (builder) {
14862
14900
  const sub = new ArtifactSubBuilder();
@@ -14865,7 +14903,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14865
14903
  }
14866
14904
  this._includes.push({
14867
14905
  fieldName: "artifacts",
14868
- fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14906
+ fragmentDoc: chunkH5WMTA3W_cjs.ArtifactConnectionFragmentDoc,
14869
14907
  variables,
14870
14908
  isConnection: true,
14871
14909
  isList: false,
@@ -14883,7 +14921,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14883
14921
  }
14884
14922
  /** Include insight in this query (Smart Fetch — single HTTP request). */
14885
14923
  insight(variables, builder) {
14886
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_InsightDocument, "insight", ["id"]);
14924
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_InsightDocument, "insight", ["id"]);
14887
14925
  let children;
14888
14926
  if (builder) {
14889
14927
  const sub = new InsightSubBuilder();
@@ -14892,7 +14930,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14892
14930
  }
14893
14931
  this._includes.push({
14894
14932
  fieldName: "insight",
14895
- fragmentDoc: chunkGL6CUR7S_cjs.InsightFragmentDoc,
14933
+ fragmentDoc: chunkH5WMTA3W_cjs.InsightFragmentDoc,
14896
14934
  variables,
14897
14935
  isConnection: false,
14898
14936
  isList: false,
@@ -14909,7 +14947,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14909
14947
  }
14910
14948
  /** Include messages in this query (Smart Fetch — single HTTP request). */
14911
14949
  messages(variables, builder) {
14912
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_MessagesDocument, "messages", ["id"]);
14950
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_MessagesDocument, "messages", ["id"]);
14913
14951
  let children;
14914
14952
  if (builder) {
14915
14953
  const sub = new ChatMessageSubBuilder();
@@ -14918,7 +14956,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14918
14956
  }
14919
14957
  this._includes.push({
14920
14958
  fieldName: "messages",
14921
- fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageConnectionFragmentDoc,
14959
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatMessageConnectionFragmentDoc,
14922
14960
  variables,
14923
14961
  isConnection: true,
14924
14962
  isList: false,
@@ -14944,7 +14982,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
14944
14982
  }
14945
14983
  async fetch(options) {
14946
14984
  const variables = this._variables;
14947
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseDocument, "database", this._includes, variables);
14985
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabaseDocument, "database", this._includes, variables);
14948
14986
  const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
14949
14987
  const data = response.database;
14950
14988
  const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
@@ -14956,7 +14994,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
14956
14994
  watch(options) {
14957
14995
  const variables = this._variables;
14958
14996
  const includes = this._includes;
14959
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseDocument, "database", includes, variables);
14997
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabaseDocument, "database", includes, variables);
14960
14998
  const raw = this._syncEngine.watch(
14961
14999
  queryDoc,
14962
15000
  mergedVars,
@@ -14986,10 +15024,10 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
14986
15024
  }
14987
15025
  /** Include engine in this query (Smart Fetch — single HTTP request). */
14988
15026
  engine(variables) {
14989
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_EngineDocument, "engine", ["id"]);
15027
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Database_EngineDocument, "engine", ["id"]);
14990
15028
  this._includes.push({
14991
15029
  fieldName: "engine",
14992
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
15030
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseEngineFragmentDoc,
14993
15031
  variables,
14994
15032
  isConnection: false,
14995
15033
  isList: false,
@@ -15005,7 +15043,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
15005
15043
  }
15006
15044
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15007
15045
  tables(variables, builder) {
15008
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_TablesDocument, "tables", ["id"]);
15046
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Database_TablesDocument, "tables", ["id"]);
15009
15047
  let children;
15010
15048
  if (builder) {
15011
15049
  const sub = new TableSubBuilder();
@@ -15014,7 +15052,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
15014
15052
  }
15015
15053
  this._includes.push({
15016
15054
  fieldName: "tables",
15017
- fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
15055
+ fragmentDoc: chunkH5WMTA3W_cjs.TableConnectionFragmentDoc,
15018
15056
  variables,
15019
15057
  isConnection: true,
15020
15058
  isList: false,
@@ -15039,14 +15077,14 @@ var Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
15039
15077
  }
15040
15078
  async fetch(options) {
15041
15079
  const variables = this._variables;
15042
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Database_EngineDocument, variables, "database");
15080
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Database_EngineDocument, variables, "database");
15043
15081
  const data = response.database?.engine;
15044
15082
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15045
15083
  }
15046
15084
  watch(options) {
15047
15085
  const variables = this._variables;
15048
15086
  const raw = this._syncEngine.watch(
15049
- chunkGL6CUR7S_cjs.Database_EngineDocument,
15087
+ chunkH5WMTA3W_cjs.Database_EngineDocument,
15050
15088
  variables,
15051
15089
  "database",
15052
15090
  async (db) => {
@@ -15069,14 +15107,14 @@ var Database_Engine_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15069
15107
  }
15070
15108
  async fetch(options) {
15071
15109
  const variables = this._variables;
15072
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Database_Engine_CatalogDocument, variables, "database");
15110
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Database_Engine_CatalogDocument, variables, "database");
15073
15111
  const data = response.database?.engine?.catalog;
15074
15112
  return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15075
15113
  }
15076
15114
  watch(options) {
15077
15115
  const variables = this._variables;
15078
15116
  const raw = this._syncEngine.watch(
15079
- chunkGL6CUR7S_cjs.Database_Engine_CatalogDocument,
15117
+ chunkH5WMTA3W_cjs.Database_Engine_CatalogDocument,
15080
15118
  variables,
15081
15119
  "database",
15082
15120
  async (db) => {
@@ -15099,18 +15137,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk342BFYZZ_cjs
15099
15137
  }
15100
15138
  async fetch(options) {
15101
15139
  const variables = this._variables;
15102
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Database_TablesDocument, variables, "database");
15140
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Database_TablesDocument, variables, "database");
15103
15141
  const data = response.database?.tables;
15104
15142
  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);
15105
15143
  }
15106
15144
  watch(options) {
15107
15145
  const variables = this._variables;
15108
15146
  const raw = this._syncEngine.watch(
15109
- chunkGL6CUR7S_cjs.Database_TablesDocument,
15147
+ chunkH5WMTA3W_cjs.Database_TablesDocument,
15110
15148
  variables,
15111
15149
  "database",
15112
15150
  async (db) => {
15113
- const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkGL6CUR7S_cjs.Database_TablesDocument));
15151
+ const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkH5WMTA3W_cjs.Database_TablesDocument));
15114
15152
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
15115
15153
  return { database: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15116
15154
  }
@@ -15130,7 +15168,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15130
15168
  }
15131
15169
  async fetch(options) {
15132
15170
  const variables = this._variables;
15133
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
15171
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
15134
15172
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
15135
15173
  const data = response.databaseCatalog;
15136
15174
  const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -15142,7 +15180,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15142
15180
  watch(options) {
15143
15181
  const variables = this._variables;
15144
15182
  const includes = this._includes;
15145
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
15183
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
15146
15184
  const raw = this._syncEngine.watch(
15147
15185
  queryDoc,
15148
15186
  mergedVars,
@@ -15172,10 +15210,10 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15172
15210
  }
15173
15211
  /** Include engine in this query (Smart Fetch — single HTTP request). */
15174
15212
  engine(variables) {
15175
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15213
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15176
15214
  this._includes.push({
15177
15215
  fieldName: "engine",
15178
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
15216
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseEngineFragmentDoc,
15179
15217
  variables,
15180
15218
  isConnection: false,
15181
15219
  isList: false,
@@ -15198,14 +15236,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
15198
15236
  }
15199
15237
  async fetch(options) {
15200
15238
  const variables = this._variables;
15201
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
15239
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
15202
15240
  const data = response.databaseCatalog?.engine;
15203
15241
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15204
15242
  }
15205
15243
  watch(options) {
15206
15244
  const variables = this._variables;
15207
15245
  const raw = this._syncEngine.watch(
15208
- chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument,
15246
+ chunkH5WMTA3W_cjs.DatabaseCatalog_EngineDocument,
15209
15247
  variables,
15210
15248
  "databaseCatalog",
15211
15249
  async (db) => {
@@ -15229,7 +15267,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15229
15267
  }
15230
15268
  async fetch(options) {
15231
15269
  const variables = this._variables;
15232
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
15270
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
15233
15271
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
15234
15272
  const data = response.databaseCatalogs;
15235
15273
  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);
@@ -15246,7 +15284,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15246
15284
  const subscriptionId = crypto.randomUUID();
15247
15285
  const includes = this._includes;
15248
15286
  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) }] : []);
15249
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
15287
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
15250
15288
  const raw = this._syncEngine.watch(
15251
15289
  queryDoc,
15252
15290
  mergedVars,
@@ -15281,10 +15319,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15281
15319
  }
15282
15320
  /** Include engine in this query (Smart Fetch — single HTTP request). */
15283
15321
  engine(variables) {
15284
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15322
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15285
15323
  this._includes.push({
15286
15324
  fieldName: "engine",
15287
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
15325
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseEngineFragmentDoc,
15288
15326
  variables,
15289
15327
  isConnection: false,
15290
15328
  isList: false,
@@ -15301,7 +15339,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15301
15339
  };
15302
15340
  var DatabaseSchemaQuery = class extends chunk342BFYZZ_cjs.Request {
15303
15341
  async fetch(variables) {
15304
- const response = await this._request(chunkGL6CUR7S_cjs.DatabaseSchemaDocument, variables);
15342
+ const response = await this._request(chunkH5WMTA3W_cjs.DatabaseSchemaDocument, variables);
15305
15343
  return response.databaseSchema;
15306
15344
  }
15307
15345
  };
@@ -15314,7 +15352,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15314
15352
  }
15315
15353
  async fetch(options) {
15316
15354
  const variables = this._variables;
15317
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabasesDocument, "databases", this._includes, variables, true);
15355
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabasesDocument, "databases", this._includes, variables, true);
15318
15356
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
15319
15357
  const data = response.databases;
15320
15358
  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);
@@ -15331,7 +15369,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15331
15369
  const subscriptionId = crypto.randomUUID();
15332
15370
  const includes = this._includes;
15333
15371
  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) }] : []);
15334
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabasesDocument, "databases", includes, variables, true);
15372
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabasesDocument, "databases", includes, variables, true);
15335
15373
  const raw = this._syncEngine.watch(
15336
15374
  queryDoc,
15337
15375
  mergedVars,
@@ -15366,10 +15404,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15366
15404
  }
15367
15405
  /** Include engine in this query (Smart Fetch — single HTTP request). */
15368
15406
  engine(variables) {
15369
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_EngineDocument, "engine", ["id"]);
15407
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Database_EngineDocument, "engine", ["id"]);
15370
15408
  this._includes.push({
15371
15409
  fieldName: "engine",
15372
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
15410
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseEngineFragmentDoc,
15373
15411
  variables,
15374
15412
  isConnection: false,
15375
15413
  isList: false,
@@ -15385,7 +15423,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15385
15423
  }
15386
15424
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15387
15425
  tables(variables, builder) {
15388
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_TablesDocument, "tables", ["id"]);
15426
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Database_TablesDocument, "tables", ["id"]);
15389
15427
  let children;
15390
15428
  if (builder) {
15391
15429
  const sub = new TableSubBuilder();
@@ -15394,7 +15432,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15394
15432
  }
15395
15433
  this._includes.push({
15396
15434
  fieldName: "tables",
15397
- fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
15435
+ fragmentDoc: chunkH5WMTA3W_cjs.TableConnectionFragmentDoc,
15398
15436
  variables,
15399
15437
  isConnection: true,
15400
15438
  isList: false,
@@ -15420,7 +15458,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15420
15458
  }
15421
15459
  async fetch(options) {
15422
15460
  const variables = this._variables;
15423
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentDocument, "document", this._includes, variables);
15461
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentDocument, "document", this._includes, variables);
15424
15462
  const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
15425
15463
  const data = response.document;
15426
15464
  const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
@@ -15432,7 +15470,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15432
15470
  watch(options) {
15433
15471
  const variables = this._variables;
15434
15472
  const includes = this._includes;
15435
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentDocument, "document", includes, variables);
15473
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentDocument, "document", includes, variables);
15436
15474
  const raw = this._syncEngine.watch(
15437
15475
  queryDoc,
15438
15476
  mergedVars,
@@ -15462,10 +15500,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15462
15500
  }
15463
15501
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15464
15502
  contents(variables) {
15465
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_ContentsDocument, "contents", ["id"]);
15503
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_ContentsDocument, "contents", ["id"]);
15466
15504
  this._includes.push({
15467
15505
  fieldName: "contents",
15468
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentContentFragmentDoc,
15506
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentContentFragmentDoc,
15469
15507
  variables,
15470
15508
  isConnection: false,
15471
15509
  isList: true,
@@ -15481,10 +15519,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15481
15519
  }
15482
15520
  /** Include file in this query (Smart Fetch — single HTTP request). */
15483
15521
  file(variables) {
15484
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FileDocument, "file", ["id"]);
15522
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_FileDocument, "file", ["id"]);
15485
15523
  this._includes.push({
15486
15524
  fieldName: "file",
15487
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
15525
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
15488
15526
  variables,
15489
15527
  isConnection: false,
15490
15528
  isList: false,
@@ -15500,10 +15538,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15500
15538
  }
15501
15539
  /** Include format in this query (Smart Fetch — single HTTP request). */
15502
15540
  format(variables) {
15503
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FormatDocument, "format", ["id"]);
15541
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_FormatDocument, "format", ["id"]);
15504
15542
  this._includes.push({
15505
15543
  fieldName: "format",
15506
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15544
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFormatFragmentDoc,
15507
15545
  variables,
15508
15546
  isConnection: false,
15509
15547
  isList: false,
@@ -15519,7 +15557,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15519
15557
  }
15520
15558
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15521
15559
  tables(variables, builder) {
15522
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_TablesDocument, "tables", ["id"]);
15560
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_TablesDocument, "tables", ["id"]);
15523
15561
  let children;
15524
15562
  if (builder) {
15525
15563
  const sub = new TableSubBuilder();
@@ -15528,7 +15566,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15528
15566
  }
15529
15567
  this._includes.push({
15530
15568
  fieldName: "tables",
15531
- fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
15569
+ fragmentDoc: chunkH5WMTA3W_cjs.TableConnectionFragmentDoc,
15532
15570
  variables,
15533
15571
  isConnection: true,
15534
15572
  isList: false,
@@ -15552,7 +15590,7 @@ var Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
15552
15590
  this._variables = variables;
15553
15591
  }
15554
15592
  async fetch(options) {
15555
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_ContentsDocument, this._variables, "document");
15593
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Document_ContentsDocument, this._variables, "document");
15556
15594
  const data = response.document?.contents;
15557
15595
  if (!Array.isArray(data)) return [];
15558
15596
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -15566,14 +15604,14 @@ var Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
15566
15604
  }
15567
15605
  async fetch(options) {
15568
15606
  const variables = this._variables;
15569
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_FileDocument, variables, "document");
15607
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Document_FileDocument, variables, "document");
15570
15608
  const data = response.document?.file;
15571
15609
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15572
15610
  }
15573
15611
  watch(options) {
15574
15612
  const variables = this._variables;
15575
15613
  const raw = this._syncEngine.watch(
15576
- chunkGL6CUR7S_cjs.Document_FileDocument,
15614
+ chunkH5WMTA3W_cjs.Document_FileDocument,
15577
15615
  variables,
15578
15616
  "document",
15579
15617
  async (db) => {
@@ -15596,14 +15634,14 @@ var Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
15596
15634
  }
15597
15635
  async fetch(options) {
15598
15636
  const variables = this._variables;
15599
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_FormatDocument, variables, "document");
15637
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Document_FormatDocument, variables, "document");
15600
15638
  const data = response.document?.format;
15601
15639
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15602
15640
  }
15603
15641
  watch(options) {
15604
15642
  const variables = this._variables;
15605
15643
  const raw = this._syncEngine.watch(
15606
- chunkGL6CUR7S_cjs.Document_FormatDocument,
15644
+ chunkH5WMTA3W_cjs.Document_FormatDocument,
15607
15645
  variables,
15608
15646
  "document",
15609
15647
  async (db) => {
@@ -15626,14 +15664,14 @@ var Document_Format_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15626
15664
  }
15627
15665
  async fetch(options) {
15628
15666
  const variables = this._variables;
15629
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_Format_CatalogDocument, variables, "document");
15667
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Document_Format_CatalogDocument, variables, "document");
15630
15668
  const data = response.document?.format?.catalog;
15631
15669
  return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15632
15670
  }
15633
15671
  watch(options) {
15634
15672
  const variables = this._variables;
15635
15673
  const raw = this._syncEngine.watch(
15636
- chunkGL6CUR7S_cjs.Document_Format_CatalogDocument,
15674
+ chunkH5WMTA3W_cjs.Document_Format_CatalogDocument,
15637
15675
  variables,
15638
15676
  "document",
15639
15677
  async (db) => {
@@ -15656,18 +15694,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk342BFYZZ_cjs
15656
15694
  }
15657
15695
  async fetch(options) {
15658
15696
  const variables = this._variables;
15659
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_TablesDocument, variables, "document");
15697
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Document_TablesDocument, variables, "document");
15660
15698
  const data = response.document?.tables;
15661
15699
  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);
15662
15700
  }
15663
15701
  watch(options) {
15664
15702
  const variables = this._variables;
15665
15703
  const raw = this._syncEngine.watch(
15666
- chunkGL6CUR7S_cjs.Document_TablesDocument,
15704
+ chunkH5WMTA3W_cjs.Document_TablesDocument,
15667
15705
  variables,
15668
15706
  "document",
15669
15707
  async (db) => {
15670
- const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkGL6CUR7S_cjs.Document_TablesDocument));
15708
+ const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkH5WMTA3W_cjs.Document_TablesDocument));
15671
15709
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
15672
15710
  return { document: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15673
15711
  }
@@ -15687,7 +15725,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15687
15725
  }
15688
15726
  async fetch(options) {
15689
15727
  const variables = this._variables;
15690
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
15728
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
15691
15729
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
15692
15730
  const data = response.documentCatalog;
15693
15731
  const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -15699,7 +15737,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15699
15737
  watch(options) {
15700
15738
  const variables = this._variables;
15701
15739
  const includes = this._includes;
15702
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
15740
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
15703
15741
  const raw = this._syncEngine.watch(
15704
15742
  queryDoc,
15705
15743
  mergedVars,
@@ -15729,10 +15767,10 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15729
15767
  }
15730
15768
  /** Include format in this query (Smart Fetch — single HTTP request). */
15731
15769
  format(variables) {
15732
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, "format", []);
15770
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.DocumentCatalog_FormatDocument, "format", []);
15733
15771
  this._includes.push({
15734
15772
  fieldName: "format",
15735
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15773
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFormatFragmentDoc,
15736
15774
  variables,
15737
15775
  isConnection: false,
15738
15776
  isList: false,
@@ -15755,14 +15793,14 @@ var DocumentCatalog_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
15755
15793
  }
15756
15794
  async fetch(options) {
15757
15795
  const variables = this._variables;
15758
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
15796
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
15759
15797
  const data = response.documentCatalog?.format;
15760
15798
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15761
15799
  }
15762
15800
  watch(options) {
15763
15801
  const variables = this._variables;
15764
15802
  const raw = this._syncEngine.watch(
15765
- chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument,
15803
+ chunkH5WMTA3W_cjs.DocumentCatalog_FormatDocument,
15766
15804
  variables,
15767
15805
  "documentCatalog",
15768
15806
  async (db) => {
@@ -15786,7 +15824,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
15786
15824
  }
15787
15825
  async fetch(options) {
15788
15826
  const variables = this._variables;
15789
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
15827
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
15790
15828
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
15791
15829
  const data = response.documentCatalogs;
15792
15830
  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);
@@ -15803,7 +15841,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
15803
15841
  const subscriptionId = crypto.randomUUID();
15804
15842
  const includes = this._includes;
15805
15843
  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) }] : []);
15806
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
15844
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
15807
15845
  const raw = this._syncEngine.watch(
15808
15846
  queryDoc,
15809
15847
  mergedVars,
@@ -15838,10 +15876,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
15838
15876
  }
15839
15877
  /** Include format in this query (Smart Fetch — single HTTP request). */
15840
15878
  format(variables) {
15841
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, "format", []);
15879
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.DocumentCatalog_FormatDocument, "format", []);
15842
15880
  this._includes.push({
15843
15881
  fieldName: "format",
15844
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15882
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFormatFragmentDoc,
15845
15883
  variables,
15846
15884
  isConnection: false,
15847
15885
  isList: false,
@@ -15865,7 +15903,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15865
15903
  }
15866
15904
  async fetch(options) {
15867
15905
  const variables = this._variables;
15868
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentsDocument, "documents", this._includes, variables, true);
15906
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentsDocument, "documents", this._includes, variables, true);
15869
15907
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
15870
15908
  const data = response.documents;
15871
15909
  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);
@@ -15882,7 +15920,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15882
15920
  const subscriptionId = crypto.randomUUID();
15883
15921
  const includes = this._includes;
15884
15922
  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) }] : []);
15885
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentsDocument, "documents", includes, variables, true);
15923
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentsDocument, "documents", includes, variables, true);
15886
15924
  const raw = this._syncEngine.watch(
15887
15925
  queryDoc,
15888
15926
  mergedVars,
@@ -15917,10 +15955,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15917
15955
  }
15918
15956
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15919
15957
  contents(variables) {
15920
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_ContentsDocument, "contents", ["id"]);
15958
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_ContentsDocument, "contents", ["id"]);
15921
15959
  this._includes.push({
15922
15960
  fieldName: "contents",
15923
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentContentFragmentDoc,
15961
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentContentFragmentDoc,
15924
15962
  variables,
15925
15963
  isConnection: false,
15926
15964
  isList: true,
@@ -15936,10 +15974,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15936
15974
  }
15937
15975
  /** Include file in this query (Smart Fetch — single HTTP request). */
15938
15976
  file(variables) {
15939
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FileDocument, "file", ["id"]);
15977
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_FileDocument, "file", ["id"]);
15940
15978
  this._includes.push({
15941
15979
  fieldName: "file",
15942
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
15980
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
15943
15981
  variables,
15944
15982
  isConnection: false,
15945
15983
  isList: false,
@@ -15955,10 +15993,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15955
15993
  }
15956
15994
  /** Include format in this query (Smart Fetch — single HTTP request). */
15957
15995
  format(variables) {
15958
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FormatDocument, "format", ["id"]);
15996
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_FormatDocument, "format", ["id"]);
15959
15997
  this._includes.push({
15960
15998
  fieldName: "format",
15961
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15999
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFormatFragmentDoc,
15962
16000
  variables,
15963
16001
  isConnection: false,
15964
16002
  isList: false,
@@ -15974,7 +16012,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15974
16012
  }
15975
16013
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15976
16014
  tables(variables, builder) {
15977
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_TablesDocument, "tables", ["id"]);
16015
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_TablesDocument, "tables", ["id"]);
15978
16016
  let children;
15979
16017
  if (builder) {
15980
16018
  const sub = new TableSubBuilder();
@@ -15983,7 +16021,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15983
16021
  }
15984
16022
  this._includes.push({
15985
16023
  fieldName: "tables",
15986
- fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
16024
+ fragmentDoc: chunkH5WMTA3W_cjs.TableConnectionFragmentDoc,
15987
16025
  variables,
15988
16026
  isConnection: true,
15989
16027
  isList: false,
@@ -16002,13 +16040,13 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
16002
16040
  };
16003
16041
  var ExportQuery = class extends chunk342BFYZZ_cjs.Request {
16004
16042
  async fetch(variables) {
16005
- const response = await this._request(chunkGL6CUR7S_cjs.ExportDocument, variables);
16043
+ const response = await this._request(chunkH5WMTA3W_cjs.ExportDocument, variables);
16006
16044
  return response.export;
16007
16045
  }
16008
16046
  };
16009
16047
  var ExportWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
16010
16048
  async fetch(variables) {
16011
- const response = await this._request(chunkGL6CUR7S_cjs.ExportWithInsightIdDocument, variables);
16049
+ const response = await this._request(chunkH5WMTA3W_cjs.ExportWithInsightIdDocument, variables);
16012
16050
  return response.exportWithInsightId;
16013
16051
  }
16014
16052
  };
@@ -16021,7 +16059,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
16021
16059
  }
16022
16060
  async fetch(options) {
16023
16061
  const variables = this._variables;
16024
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemDocument, "feedItem", this._includes, variables);
16062
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FeedItemDocument, "feedItem", this._includes, variables);
16025
16063
  const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItem");
16026
16064
  const data = response.feedItem;
16027
16065
  if (!data) return void 0;
@@ -16034,7 +16072,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
16034
16072
  watch(options) {
16035
16073
  const variables = this._variables;
16036
16074
  const includes = this._includes;
16037
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemDocument, "feedItem", includes, variables);
16075
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FeedItemDocument, "feedItem", includes, variables);
16038
16076
  const raw = this._syncEngine.watch(
16039
16077
  queryDoc,
16040
16078
  mergedVars,
@@ -16065,10 +16103,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
16065
16103
  }
16066
16104
  /** Include action in this query (Smart Fetch — single HTTP request). */
16067
16105
  action(variables) {
16068
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, "action", ["id"]);
16106
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.FeedItem_ActionDocument, "action", ["id"]);
16069
16107
  this._includes.push({
16070
16108
  fieldName: "action",
16071
- fragmentDoc: chunkGL6CUR7S_cjs.FeedSendMessageActionFragmentDoc,
16109
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedSendMessageActionFragmentDoc,
16072
16110
  variables,
16073
16111
  isConnection: false,
16074
16112
  isList: false,
@@ -16084,10 +16122,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
16084
16122
  }
16085
16123
  /** Include data in this query (Smart Fetch — single HTTP request). */
16086
16124
  data(variables) {
16087
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_DataDocument, "data", ["id"]);
16125
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.FeedItem_DataDocument, "data", ["id"]);
16088
16126
  this._includes.push({
16089
16127
  fieldName: "data",
16090
- fragmentDoc: chunkGL6CUR7S_cjs.FeedArtifactDataFragmentDoc,
16128
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedArtifactDataFragmentDoc,
16091
16129
  variables,
16092
16130
  isConnection: false,
16093
16131
  isList: true,
@@ -16110,14 +16148,14 @@ var FeedItem_ActionQuery = class extends chunk342BFYZZ_cjs.Request {
16110
16148
  }
16111
16149
  async fetch(options) {
16112
16150
  const variables = this._variables;
16113
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, variables, "feedItem");
16151
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.FeedItem_ActionDocument, variables, "feedItem");
16114
16152
  const data = response.feedItem?.action;
16115
16153
  return data ? new FeedSendMessageAction(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16116
16154
  }
16117
16155
  watch(options) {
16118
16156
  const variables = this._variables;
16119
16157
  const raw = this._syncEngine.watch(
16120
- chunkGL6CUR7S_cjs.FeedItem_ActionDocument,
16158
+ chunkH5WMTA3W_cjs.FeedItem_ActionDocument,
16121
16159
  variables,
16122
16160
  "feedItem",
16123
16161
  async (db) => {
@@ -16139,7 +16177,7 @@ var FeedItem_DataQuery = class extends chunk342BFYZZ_cjs.Request {
16139
16177
  this._variables = variables;
16140
16178
  }
16141
16179
  async fetch(options) {
16142
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.FeedItem_DataDocument, this._variables, "feedItem");
16180
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.FeedItem_DataDocument, this._variables, "feedItem");
16143
16181
  const data = response.feedItem?.data;
16144
16182
  if (!Array.isArray(data)) return [];
16145
16183
  return data.map((item) => new FeedArtifactData(this._request, item, this._syncEngine, this._baseUrl));
@@ -16154,7 +16192,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16154
16192
  }
16155
16193
  async fetch(options) {
16156
16194
  const variables = this._variables;
16157
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
16195
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
16158
16196
  const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItems");
16159
16197
  const data = response.feedItems;
16160
16198
  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);
@@ -16171,7 +16209,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16171
16209
  const subscriptionId = crypto.randomUUID();
16172
16210
  const includes = this._includes;
16173
16211
  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) }] : []);
16174
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
16212
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
16175
16213
  const raw = this._syncEngine.watch(
16176
16214
  queryDoc,
16177
16215
  mergedVars,
@@ -16206,10 +16244,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16206
16244
  }
16207
16245
  /** Include action in this query (Smart Fetch — single HTTP request). */
16208
16246
  action(variables) {
16209
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, "action", ["id"]);
16247
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.FeedItem_ActionDocument, "action", ["id"]);
16210
16248
  this._includes.push({
16211
16249
  fieldName: "action",
16212
- fragmentDoc: chunkGL6CUR7S_cjs.FeedSendMessageActionFragmentDoc,
16250
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedSendMessageActionFragmentDoc,
16213
16251
  variables,
16214
16252
  isConnection: false,
16215
16253
  isList: false,
@@ -16225,10 +16263,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16225
16263
  }
16226
16264
  /** Include data in this query (Smart Fetch — single HTTP request). */
16227
16265
  data(variables) {
16228
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_DataDocument, "data", ["id"]);
16266
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.FeedItem_DataDocument, "data", ["id"]);
16229
16267
  this._includes.push({
16230
16268
  fieldName: "data",
16231
- fragmentDoc: chunkGL6CUR7S_cjs.FeedArtifactDataFragmentDoc,
16269
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedArtifactDataFragmentDoc,
16232
16270
  variables,
16233
16271
  isConnection: false,
16234
16272
  isList: true,
@@ -16245,7 +16283,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16245
16283
  };
16246
16284
  var FileQuery = class extends chunk342BFYZZ_cjs.Request {
16247
16285
  async fetch(variables) {
16248
- const response = await this._request(chunkGL6CUR7S_cjs.FileDocument, variables);
16286
+ const response = await this._request(chunkH5WMTA3W_cjs.FileDocument, variables);
16249
16287
  return response.file;
16250
16288
  }
16251
16289
  };
@@ -16258,7 +16296,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
16258
16296
  }
16259
16297
  async fetch(options) {
16260
16298
  const variables = this._variables;
16261
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
16299
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
16262
16300
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
16263
16301
  const data = response.fileMeta;
16264
16302
  if (!data) return void 0;
@@ -16271,7 +16309,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
16271
16309
  watch(options) {
16272
16310
  const variables = this._variables;
16273
16311
  const includes = this._includes;
16274
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FileMetaDocument, "fileMeta", includes, variables);
16312
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FileMetaDocument, "fileMeta", includes, variables);
16275
16313
  const raw = this._syncEngine.watch(
16276
16314
  queryDoc,
16277
16315
  mergedVars,
@@ -16309,7 +16347,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
16309
16347
  this._variables = variables;
16310
16348
  }
16311
16349
  async fetch(options) {
16312
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
16350
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
16313
16351
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
16314
16352
  const data = response.fileUrls;
16315
16353
  if (!Array.isArray(data)) return [];
@@ -16318,7 +16356,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
16318
16356
  };
16319
16357
  var FindFitTierQuery = class extends chunk342BFYZZ_cjs.Request {
16320
16358
  async fetch(variables) {
16321
- const response = await this._request(chunkGL6CUR7S_cjs.FindFitTierDocument, variables);
16359
+ const response = await this._request(chunkH5WMTA3W_cjs.FindFitTierDocument, variables);
16322
16360
  return response.findFitTier ?? void 0;
16323
16361
  }
16324
16362
  };
@@ -16331,7 +16369,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
16331
16369
  }
16332
16370
  async fetch(options) {
16333
16371
  const variables = this._variables;
16334
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FolderDocument, "folder", this._includes, variables);
16372
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FolderDocument, "folder", this._includes, variables);
16335
16373
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
16336
16374
  const data = response.folder;
16337
16375
  const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
@@ -16343,7 +16381,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
16343
16381
  watch(options) {
16344
16382
  const variables = this._variables;
16345
16383
  const includes = this._includes;
16346
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FolderDocument, "folder", includes, variables);
16384
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FolderDocument, "folder", includes, variables);
16347
16385
  const raw = this._syncEngine.watch(
16348
16386
  queryDoc,
16349
16387
  mergedVars,
@@ -16381,7 +16419,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
16381
16419
  }
16382
16420
  async fetch(options) {
16383
16421
  const variables = this._variables;
16384
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FoldersDocument, "folders", this._includes, variables, true);
16422
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FoldersDocument, "folders", this._includes, variables, true);
16385
16423
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
16386
16424
  const data = response.folders;
16387
16425
  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);
@@ -16398,7 +16436,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
16398
16436
  const subscriptionId = crypto.randomUUID();
16399
16437
  const includes = this._includes;
16400
16438
  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) }] : []);
16401
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FoldersDocument, "folders", includes, variables, true);
16439
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FoldersDocument, "folders", includes, variables, true);
16402
16440
  const raw = this._syncEngine.watch(
16403
16441
  queryDoc,
16404
16442
  mergedVars,
@@ -16434,7 +16472,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
16434
16472
  };
16435
16473
  var GetCapabilityQuery = class extends chunk342BFYZZ_cjs.Request {
16436
16474
  async fetch(variables) {
16437
- const response = await this._request(chunkGL6CUR7S_cjs.GetCapabilityDocument, variables);
16475
+ const response = await this._request(chunkH5WMTA3W_cjs.GetCapabilityDocument, variables);
16438
16476
  return response.getCapability;
16439
16477
  }
16440
16478
  };
@@ -16447,7 +16485,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
16447
16485
  }
16448
16486
  async fetch(options) {
16449
16487
  const variables = this._variables;
16450
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
16488
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
16451
16489
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
16452
16490
  const data = response.getDevAccessToken;
16453
16491
  const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
@@ -16459,7 +16497,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
16459
16497
  watch(options) {
16460
16498
  const variables = this._variables;
16461
16499
  const includes = this._includes;
16462
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
16500
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
16463
16501
  const raw = this._syncEngine.watch(
16464
16502
  queryDoc,
16465
16503
  mergedVars,
@@ -16490,13 +16528,13 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
16490
16528
  };
16491
16529
  var GetLimitQuery = class extends chunk342BFYZZ_cjs.Request {
16492
16530
  async fetch(variables) {
16493
- const response = await this._request(chunkGL6CUR7S_cjs.GetLimitDocument, variables);
16531
+ const response = await this._request(chunkH5WMTA3W_cjs.GetLimitDocument, variables);
16494
16532
  return response.getLimit ?? void 0;
16495
16533
  }
16496
16534
  };
16497
16535
  var GetRemainingQuery = class extends chunk342BFYZZ_cjs.Request {
16498
16536
  async fetch(variables) {
16499
- const response = await this._request(chunkGL6CUR7S_cjs.GetRemainingDocument, variables);
16537
+ const response = await this._request(chunkH5WMTA3W_cjs.GetRemainingDocument, variables);
16500
16538
  return response.getRemaining ?? void 0;
16501
16539
  }
16502
16540
  };
@@ -16508,7 +16546,7 @@ var GetTokenUsageByModelQuery = class extends chunk342BFYZZ_cjs.Request {
16508
16546
  this._variables = variables;
16509
16547
  }
16510
16548
  async fetch(options) {
16511
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
16549
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
16512
16550
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
16513
16551
  const data = response.getTokenUsageByModel;
16514
16552
  if (!Array.isArray(data)) return [];
@@ -16523,7 +16561,7 @@ var GetTokenUsageHistoryQuery = class extends chunk342BFYZZ_cjs.Request {
16523
16561
  this._variables = variables;
16524
16562
  }
16525
16563
  async fetch(options) {
16526
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
16564
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
16527
16565
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
16528
16566
  const data = response.getTokenUsageHistory;
16529
16567
  if (!Array.isArray(data)) return [];
@@ -16539,7 +16577,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
16539
16577
  }
16540
16578
  async fetch(options) {
16541
16579
  const variables = this._variables;
16542
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
16580
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
16543
16581
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
16544
16582
  const data = response.getTokenUsageStatus;
16545
16583
  const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
@@ -16551,7 +16589,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
16551
16589
  watch(options) {
16552
16590
  const variables = this._variables;
16553
16591
  const includes = this._includes;
16554
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
16592
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
16555
16593
  const raw = this._syncEngine.watch(
16556
16594
  queryDoc,
16557
16595
  mergedVars,
@@ -16581,10 +16619,10 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
16581
16619
  }
16582
16620
  /** Include windows in this query (Smart Fetch — single HTTP request). */
16583
16621
  windows(variables) {
16584
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
16622
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
16585
16623
  this._includes.push({
16586
16624
  fieldName: "windows",
16587
- fragmentDoc: chunkGL6CUR7S_cjs.UsageWindowsStatusTypeFragmentDoc,
16625
+ fragmentDoc: chunkH5WMTA3W_cjs.UsageWindowsStatusTypeFragmentDoc,
16588
16626
  variables,
16589
16627
  isConnection: false,
16590
16628
  isList: false,
@@ -16607,14 +16645,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk342BFYZZ_cjs.Request {
16607
16645
  }
16608
16646
  async fetch(options) {
16609
16647
  const variables = this._variables;
16610
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
16648
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
16611
16649
  const data = response.getTokenUsageStatus?.windows;
16612
16650
  return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16613
16651
  }
16614
16652
  watch(options) {
16615
16653
  const variables = this._variables;
16616
16654
  const raw = this._syncEngine.watch(
16617
- chunkGL6CUR7S_cjs.GetTokenUsageStatus_WindowsDocument,
16655
+ chunkH5WMTA3W_cjs.GetTokenUsageStatus_WindowsDocument,
16618
16656
  variables,
16619
16657
  "getTokenUsageStatus",
16620
16658
  async (db) => {
@@ -16637,14 +16675,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk342BFYZZ_cjs.Reque
16637
16675
  }
16638
16676
  async fetch(options) {
16639
16677
  const variables = this._variables;
16640
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
16678
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
16641
16679
  const data = response.getTokenUsageStatus?.windows?.day;
16642
16680
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16643
16681
  }
16644
16682
  watch(options) {
16645
16683
  const variables = this._variables;
16646
16684
  const raw = this._syncEngine.watch(
16647
- chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_DayDocument,
16685
+ chunkH5WMTA3W_cjs.GetTokenUsageStatus_Windows_DayDocument,
16648
16686
  variables,
16649
16687
  "getTokenUsageStatus",
16650
16688
  async (db) => {
@@ -16667,14 +16705,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk342BFYZZ_cjs.
16667
16705
  }
16668
16706
  async fetch(options) {
16669
16707
  const variables = this._variables;
16670
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
16708
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
16671
16709
  const data = response.getTokenUsageStatus?.windows?.fiveHour;
16672
16710
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16673
16711
  }
16674
16712
  watch(options) {
16675
16713
  const variables = this._variables;
16676
16714
  const raw = this._syncEngine.watch(
16677
- chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
16715
+ chunkH5WMTA3W_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
16678
16716
  variables,
16679
16717
  "getTokenUsageStatus",
16680
16718
  async (db) => {
@@ -16697,14 +16735,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
16697
16735
  }
16698
16736
  async fetch(options) {
16699
16737
  const variables = this._variables;
16700
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
16738
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
16701
16739
  const data = response.getTokenUsageStatus?.windows?.week;
16702
16740
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16703
16741
  }
16704
16742
  watch(options) {
16705
16743
  const variables = this._variables;
16706
16744
  const raw = this._syncEngine.watch(
16707
- chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_WeekDocument,
16745
+ chunkH5WMTA3W_cjs.GetTokenUsageStatus_Windows_WeekDocument,
16708
16746
  variables,
16709
16747
  "getTokenUsageStatus",
16710
16748
  async (db) => {
@@ -16721,7 +16759,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
16721
16759
  };
16722
16760
  var GetUsageQuery = class extends chunk342BFYZZ_cjs.Request {
16723
16761
  async fetch(variables) {
16724
- const response = await this._request(chunkGL6CUR7S_cjs.GetUsageDocument, variables);
16762
+ const response = await this._request(chunkH5WMTA3W_cjs.GetUsageDocument, variables);
16725
16763
  return response.getUsage ?? void 0;
16726
16764
  }
16727
16765
  };
@@ -16734,7 +16772,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16734
16772
  }
16735
16773
  async fetch(options) {
16736
16774
  const variables = this._variables;
16737
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightDocument, "insight", this._includes, variables);
16775
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.InsightDocument, "insight", this._includes, variables);
16738
16776
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
16739
16777
  const data = response.insight;
16740
16778
  const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
@@ -16746,7 +16784,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16746
16784
  watch(options) {
16747
16785
  const variables = this._variables;
16748
16786
  const includes = this._includes;
16749
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightDocument, "insight", includes, variables);
16787
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.InsightDocument, "insight", includes, variables);
16750
16788
  const raw = this._syncEngine.watch(
16751
16789
  queryDoc,
16752
16790
  mergedVars,
@@ -16776,7 +16814,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16776
16814
  }
16777
16815
  /** Include chat in this query (Smart Fetch — single HTTP request). */
16778
16816
  chat(variables, builder) {
16779
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ChatDocument, "chat", ["id"]);
16817
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ChatDocument, "chat", ["id"]);
16780
16818
  let children;
16781
16819
  if (builder) {
16782
16820
  const sub = new ChatSubBuilder();
@@ -16785,7 +16823,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16785
16823
  }
16786
16824
  this._includes.push({
16787
16825
  fieldName: "chat",
16788
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
16826
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
16789
16827
  variables,
16790
16828
  isConnection: false,
16791
16829
  isList: false,
@@ -16802,10 +16840,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16802
16840
  }
16803
16841
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
16804
16842
  reportMembers(variables) {
16805
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16843
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16806
16844
  this._includes.push({
16807
16845
  fieldName: "reportMembers",
16808
- fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
16846
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportMemberFragmentDoc,
16809
16847
  variables,
16810
16848
  isConnection: false,
16811
16849
  isList: true,
@@ -16821,7 +16859,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16821
16859
  }
16822
16860
  /** Include reports in this query (Smart Fetch — single HTTP request). */
16823
16861
  reports(variables, builder) {
16824
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportsDocument, "reports", ["id"]);
16862
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ReportsDocument, "reports", ["id"]);
16825
16863
  let children;
16826
16864
  if (builder) {
16827
16865
  const sub = new ReportSubBuilder();
@@ -16830,7 +16868,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16830
16868
  }
16831
16869
  this._includes.push({
16832
16870
  fieldName: "reports",
16833
- fragmentDoc: chunkGL6CUR7S_cjs.ReportConnectionFragmentDoc,
16871
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportConnectionFragmentDoc,
16834
16872
  variables,
16835
16873
  isConnection: true,
16836
16874
  isList: false,
@@ -16848,10 +16886,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16848
16886
  }
16849
16887
  /** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
16850
16888
  thumbnailFile(variables) {
16851
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
16889
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
16852
16890
  this._includes.push({
16853
16891
  fieldName: "thumbnailFile",
16854
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
16892
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
16855
16893
  variables,
16856
16894
  isConnection: false,
16857
16895
  isList: false,
@@ -16874,14 +16912,14 @@ var Insight_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
16874
16912
  }
16875
16913
  async fetch(options) {
16876
16914
  const variables = this._variables;
16877
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ChatDocument, variables, "insight");
16915
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Insight_ChatDocument, variables, "insight");
16878
16916
  const data = response.insight?.chat;
16879
16917
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16880
16918
  }
16881
16919
  watch(options) {
16882
16920
  const variables = this._variables;
16883
16921
  const raw = this._syncEngine.watch(
16884
- chunkGL6CUR7S_cjs.Insight_ChatDocument,
16922
+ chunkH5WMTA3W_cjs.Insight_ChatDocument,
16885
16923
  variables,
16886
16924
  "insight",
16887
16925
  async (db) => {
@@ -16903,7 +16941,7 @@ var Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
16903
16941
  this._variables = variables;
16904
16942
  }
16905
16943
  async fetch(options) {
16906
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, this._variables, "insight");
16944
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Insight_ReportMembersDocument, this._variables, "insight");
16907
16945
  const data = response.insight?.reportMembers;
16908
16946
  if (!Array.isArray(data)) return [];
16909
16947
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -16917,18 +16955,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk342BFYZZ_cjs
16917
16955
  }
16918
16956
  async fetch(options) {
16919
16957
  const variables = this._variables;
16920
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ReportsDocument, variables, "insight");
16958
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Insight_ReportsDocument, variables, "insight");
16921
16959
  const data = response.insight?.reports;
16922
16960
  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);
16923
16961
  }
16924
16962
  watch(options) {
16925
16963
  const variables = this._variables;
16926
16964
  const raw = this._syncEngine.watch(
16927
- chunkGL6CUR7S_cjs.Insight_ReportsDocument,
16965
+ chunkH5WMTA3W_cjs.Insight_ReportsDocument,
16928
16966
  variables,
16929
16967
  "insight",
16930
16968
  async (db) => {
16931
- const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkGL6CUR7S_cjs.Insight_ReportsDocument));
16969
+ const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkH5WMTA3W_cjs.Insight_ReportsDocument));
16932
16970
  const nodes = qr ? await db.table("reports").bulkGet(qr.entityIds) : [];
16933
16971
  return { insight: { reports: { __typename: "ReportConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
16934
16972
  }
@@ -16947,14 +16985,14 @@ var Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
16947
16985
  }
16948
16986
  async fetch(options) {
16949
16987
  const variables = this._variables;
16950
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, variables, "insight");
16988
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Insight_ThumbnailFileDocument, variables, "insight");
16951
16989
  const data = response.insight?.thumbnailFile;
16952
16990
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16953
16991
  }
16954
16992
  watch(options) {
16955
16993
  const variables = this._variables;
16956
16994
  const raw = this._syncEngine.watch(
16957
- chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument,
16995
+ chunkH5WMTA3W_cjs.Insight_ThumbnailFileDocument,
16958
16996
  variables,
16959
16997
  "insight",
16960
16998
  async (db) => {
@@ -16978,7 +17016,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
16978
17016
  }
16979
17017
  async fetch(options) {
16980
17018
  const variables = this._variables;
16981
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightsDocument, "insights", this._includes, variables, true);
17019
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.InsightsDocument, "insights", this._includes, variables, true);
16982
17020
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
16983
17021
  const data = response.insights;
16984
17022
  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);
@@ -16995,7 +17033,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
16995
17033
  const subscriptionId = crypto.randomUUID();
16996
17034
  const includes = this._includes;
16997
17035
  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) }] : []);
16998
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightsDocument, "insights", includes, variables, true);
17036
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.InsightsDocument, "insights", includes, variables, true);
16999
17037
  const raw = this._syncEngine.watch(
17000
17038
  queryDoc,
17001
17039
  mergedVars,
@@ -17030,7 +17068,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17030
17068
  }
17031
17069
  /** Include chat in this query (Smart Fetch — single HTTP request). */
17032
17070
  chat(variables, builder) {
17033
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ChatDocument, "chat", ["id"]);
17071
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ChatDocument, "chat", ["id"]);
17034
17072
  let children;
17035
17073
  if (builder) {
17036
17074
  const sub = new ChatSubBuilder();
@@ -17039,7 +17077,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17039
17077
  }
17040
17078
  this._includes.push({
17041
17079
  fieldName: "chat",
17042
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
17080
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
17043
17081
  variables,
17044
17082
  isConnection: false,
17045
17083
  isList: false,
@@ -17056,10 +17094,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17056
17094
  }
17057
17095
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
17058
17096
  reportMembers(variables) {
17059
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
17097
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
17060
17098
  this._includes.push({
17061
17099
  fieldName: "reportMembers",
17062
- fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
17100
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportMemberFragmentDoc,
17063
17101
  variables,
17064
17102
  isConnection: false,
17065
17103
  isList: true,
@@ -17075,7 +17113,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17075
17113
  }
17076
17114
  /** Include reports in this query (Smart Fetch — single HTTP request). */
17077
17115
  reports(variables, builder) {
17078
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportsDocument, "reports", ["id"]);
17116
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ReportsDocument, "reports", ["id"]);
17079
17117
  let children;
17080
17118
  if (builder) {
17081
17119
  const sub = new ReportSubBuilder();
@@ -17084,7 +17122,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17084
17122
  }
17085
17123
  this._includes.push({
17086
17124
  fieldName: "reports",
17087
- fragmentDoc: chunkGL6CUR7S_cjs.ReportConnectionFragmentDoc,
17125
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportConnectionFragmentDoc,
17088
17126
  variables,
17089
17127
  isConnection: true,
17090
17128
  isList: false,
@@ -17102,10 +17140,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17102
17140
  }
17103
17141
  /** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
17104
17142
  thumbnailFile(variables) {
17105
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
17143
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
17106
17144
  this._includes.push({
17107
17145
  fieldName: "thumbnailFile",
17108
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
17146
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
17109
17147
  variables,
17110
17148
  isConnection: false,
17111
17149
  isList: false,
@@ -17129,7 +17167,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
17129
17167
  }
17130
17168
  async fetch(options) {
17131
17169
  const variables = this._variables;
17132
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationDocument, "integration", this._includes, variables);
17170
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationDocument, "integration", this._includes, variables);
17133
17171
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
17134
17172
  const data = response.integration;
17135
17173
  const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
@@ -17141,7 +17179,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
17141
17179
  watch(options) {
17142
17180
  const variables = this._variables;
17143
17181
  const includes = this._includes;
17144
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationDocument, "integration", includes, variables);
17182
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationDocument, "integration", includes, variables);
17145
17183
  const raw = this._syncEngine.watch(
17146
17184
  queryDoc,
17147
17185
  mergedVars,
@@ -17171,10 +17209,10 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
17171
17209
  }
17172
17210
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17173
17211
  provider(variables) {
17174
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Integration_ProviderDocument, "provider", ["id"]);
17212
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Integration_ProviderDocument, "provider", ["id"]);
17175
17213
  this._includes.push({
17176
17214
  fieldName: "provider",
17177
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17215
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationProviderFragmentDoc,
17178
17216
  variables,
17179
17217
  isConnection: false,
17180
17218
  isList: false,
@@ -17197,14 +17235,14 @@ var Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
17197
17235
  }
17198
17236
  async fetch(options) {
17199
17237
  const variables = this._variables;
17200
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Integration_ProviderDocument, variables, "integration");
17238
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Integration_ProviderDocument, variables, "integration");
17201
17239
  const data = response.integration?.provider;
17202
17240
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17203
17241
  }
17204
17242
  watch(options) {
17205
17243
  const variables = this._variables;
17206
17244
  const raw = this._syncEngine.watch(
17207
- chunkGL6CUR7S_cjs.Integration_ProviderDocument,
17245
+ chunkH5WMTA3W_cjs.Integration_ProviderDocument,
17208
17246
  variables,
17209
17247
  "integration",
17210
17248
  async (db) => {
@@ -17227,14 +17265,14 @@ var Integration_Provider_CatalogQuery = class extends chunk342BFYZZ_cjs.Request
17227
17265
  }
17228
17266
  async fetch(options) {
17229
17267
  const variables = this._variables;
17230
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Integration_Provider_CatalogDocument, variables, "integration");
17268
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Integration_Provider_CatalogDocument, variables, "integration");
17231
17269
  const data = response.integration?.provider?.catalog;
17232
17270
  return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17233
17271
  }
17234
17272
  watch(options) {
17235
17273
  const variables = this._variables;
17236
17274
  const raw = this._syncEngine.watch(
17237
- chunkGL6CUR7S_cjs.Integration_Provider_CatalogDocument,
17275
+ chunkH5WMTA3W_cjs.Integration_Provider_CatalogDocument,
17238
17276
  variables,
17239
17277
  "integration",
17240
17278
  async (db) => {
@@ -17258,7 +17296,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
17258
17296
  }
17259
17297
  async fetch(options) {
17260
17298
  const variables = this._variables;
17261
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
17299
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
17262
17300
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
17263
17301
  const data = response.integrationCatalog;
17264
17302
  const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -17270,7 +17308,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
17270
17308
  watch(options) {
17271
17309
  const variables = this._variables;
17272
17310
  const includes = this._includes;
17273
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
17311
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
17274
17312
  const raw = this._syncEngine.watch(
17275
17313
  queryDoc,
17276
17314
  mergedVars,
@@ -17300,10 +17338,10 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
17300
17338
  }
17301
17339
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17302
17340
  provider(variables) {
17303
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17341
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17304
17342
  this._includes.push({
17305
17343
  fieldName: "provider",
17306
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17344
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationProviderFragmentDoc,
17307
17345
  variables,
17308
17346
  isConnection: false,
17309
17347
  isList: false,
@@ -17326,14 +17364,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
17326
17364
  }
17327
17365
  async fetch(options) {
17328
17366
  const variables = this._variables;
17329
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
17367
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
17330
17368
  const data = response.integrationCatalog?.provider;
17331
17369
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17332
17370
  }
17333
17371
  watch(options) {
17334
17372
  const variables = this._variables;
17335
17373
  const raw = this._syncEngine.watch(
17336
- chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument,
17374
+ chunkH5WMTA3W_cjs.IntegrationCatalog_ProviderDocument,
17337
17375
  variables,
17338
17376
  "integrationCatalog",
17339
17377
  async (db) => {
@@ -17350,7 +17388,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
17350
17388
  };
17351
17389
  var IntegrationCatalogToolsQuery = class extends chunk342BFYZZ_cjs.Request {
17352
17390
  async fetch(variables) {
17353
- const response = await this._request(chunkGL6CUR7S_cjs.IntegrationCatalogToolsDocument, variables);
17391
+ const response = await this._request(chunkH5WMTA3W_cjs.IntegrationCatalogToolsDocument, variables);
17354
17392
  return response.integrationCatalogTools;
17355
17393
  }
17356
17394
  };
@@ -17363,7 +17401,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
17363
17401
  }
17364
17402
  async fetch(options) {
17365
17403
  const variables = this._variables;
17366
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
17404
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
17367
17405
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
17368
17406
  const data = response.integrationCatalogs;
17369
17407
  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);
@@ -17380,7 +17418,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
17380
17418
  const subscriptionId = crypto.randomUUID();
17381
17419
  const includes = this._includes;
17382
17420
  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) }] : []);
17383
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
17421
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
17384
17422
  const raw = this._syncEngine.watch(
17385
17423
  queryDoc,
17386
17424
  mergedVars,
@@ -17415,10 +17453,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
17415
17453
  }
17416
17454
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17417
17455
  provider(variables) {
17418
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17456
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17419
17457
  this._includes.push({
17420
17458
  fieldName: "provider",
17421
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17459
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationProviderFragmentDoc,
17422
17460
  variables,
17423
17461
  isConnection: false,
17424
17462
  isList: false,
@@ -17442,7 +17480,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
17442
17480
  }
17443
17481
  async fetch(options) {
17444
17482
  const variables = this._variables;
17445
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
17483
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
17446
17484
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
17447
17485
  const data = response.integrations;
17448
17486
  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);
@@ -17459,7 +17497,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
17459
17497
  const subscriptionId = crypto.randomUUID();
17460
17498
  const includes = this._includes;
17461
17499
  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) }] : []);
17462
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationsDocument, "integrations", includes, variables, true);
17500
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationsDocument, "integrations", includes, variables, true);
17463
17501
  const raw = this._syncEngine.watch(
17464
17502
  queryDoc,
17465
17503
  mergedVars,
@@ -17494,10 +17532,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
17494
17532
  }
17495
17533
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17496
17534
  provider(variables) {
17497
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Integration_ProviderDocument, "provider", ["id"]);
17535
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Integration_ProviderDocument, "provider", ["id"]);
17498
17536
  this._includes.push({
17499
17537
  fieldName: "provider",
17500
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17538
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationProviderFragmentDoc,
17501
17539
  variables,
17502
17540
  isConnection: false,
17503
17541
  isList: false,
@@ -17521,7 +17559,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
17521
17559
  }
17522
17560
  async fetch(options) {
17523
17561
  const variables = this._variables;
17524
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
17562
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
17525
17563
  const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
17526
17564
  const data = response.interpretations;
17527
17565
  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);
@@ -17538,7 +17576,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
17538
17576
  const subscriptionId = crypto.randomUUID();
17539
17577
  const includes = this._includes;
17540
17578
  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) }] : []);
17541
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
17579
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
17542
17580
  const raw = this._syncEngine.watch(
17543
17581
  queryDoc,
17544
17582
  mergedVars,
@@ -17581,7 +17619,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
17581
17619
  }
17582
17620
  async fetch(options) {
17583
17621
  const variables = this._variables;
17584
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationDocument, "notification", this._includes, variables);
17622
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.NotificationDocument, "notification", this._includes, variables);
17585
17623
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
17586
17624
  const data = response.notification;
17587
17625
  const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
@@ -17593,7 +17631,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
17593
17631
  watch(options) {
17594
17632
  const variables = this._variables;
17595
17633
  const includes = this._includes;
17596
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationDocument, "notification", includes, variables);
17634
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.NotificationDocument, "notification", includes, variables);
17597
17635
  const raw = this._syncEngine.watch(
17598
17636
  queryDoc,
17599
17637
  mergedVars,
@@ -17631,7 +17669,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
17631
17669
  }
17632
17670
  async fetch(options) {
17633
17671
  const variables = this._variables;
17634
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
17672
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
17635
17673
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
17636
17674
  const data = response.notifications;
17637
17675
  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);
@@ -17648,7 +17686,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
17648
17686
  const subscriptionId = crypto.randomUUID();
17649
17687
  const includes = this._includes;
17650
17688
  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) }] : []);
17651
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationsDocument, "notifications", includes, variables, true);
17689
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.NotificationsDocument, "notifications", includes, variables, true);
17652
17690
  const raw = this._syncEngine.watch(
17653
17691
  queryDoc,
17654
17692
  mergedVars,
@@ -17690,7 +17728,7 @@ var NotificationsByReferenceQuery = class extends chunk342BFYZZ_cjs.Request {
17690
17728
  this._variables = variables;
17691
17729
  }
17692
17730
  async fetch(options) {
17693
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
17731
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
17694
17732
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
17695
17733
  const data = response.notificationsByReference;
17696
17734
  if (!Array.isArray(data)) return [];
@@ -17706,7 +17744,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
17706
17744
  }
17707
17745
  async fetch(options) {
17708
17746
  const variables = this._variables;
17709
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
17747
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
17710
17748
  const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
17711
17749
  const data = response.privacyStats;
17712
17750
  const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
@@ -17718,7 +17756,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
17718
17756
  watch(options) {
17719
17757
  const variables = this._variables;
17720
17758
  const includes = this._includes;
17721
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
17759
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
17722
17760
  const raw = this._syncEngine.watch(
17723
17761
  queryDoc,
17724
17762
  mergedVars,
@@ -17756,7 +17794,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
17756
17794
  }
17757
17795
  async fetch(options) {
17758
17796
  const variables = this._variables;
17759
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
17797
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
17760
17798
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
17761
17799
  const data = response.pulseAppSummary;
17762
17800
  if (!data) return void 0;
@@ -17769,7 +17807,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
17769
17807
  watch(options) {
17770
17808
  const variables = this._variables;
17771
17809
  const includes = this._includes;
17772
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
17810
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
17773
17811
  const raw = this._syncEngine.watch(
17774
17812
  queryDoc,
17775
17813
  mergedVars,
@@ -17808,7 +17846,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17808
17846
  }
17809
17847
  async fetch(options) {
17810
17848
  const variables = this._variables;
17811
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
17849
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
17812
17850
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
17813
17851
  const data = response.pulseEvent;
17814
17852
  const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
@@ -17820,7 +17858,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17820
17858
  watch(options) {
17821
17859
  const variables = this._variables;
17822
17860
  const includes = this._includes;
17823
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventDocument, "pulseEvent", includes, variables);
17861
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PulseEventDocument, "pulseEvent", includes, variables);
17824
17862
  const raw = this._syncEngine.watch(
17825
17863
  queryDoc,
17826
17864
  mergedVars,
@@ -17850,7 +17888,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17850
17888
  }
17851
17889
  /** Include integration in this query (Smart Fetch — single HTTP request). */
17852
17890
  integration(variables, builder) {
17853
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17891
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17854
17892
  let children;
17855
17893
  if (builder) {
17856
17894
  const sub = new IntegrationSubBuilder();
@@ -17859,7 +17897,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17859
17897
  }
17860
17898
  this._includes.push({
17861
17899
  fieldName: "integration",
17862
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationFragmentDoc,
17900
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationFragmentDoc,
17863
17901
  variables,
17864
17902
  isConnection: false,
17865
17903
  isList: false,
@@ -17883,14 +17921,14 @@ var PulseEvent_IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
17883
17921
  }
17884
17922
  async fetch(options) {
17885
17923
  const variables = this._variables;
17886
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
17924
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
17887
17925
  const data = response.pulseEvent?.integration;
17888
17926
  return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17889
17927
  }
17890
17928
  watch(options) {
17891
17929
  const variables = this._variables;
17892
17930
  const raw = this._syncEngine.watch(
17893
- chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument,
17931
+ chunkH5WMTA3W_cjs.PulseEvent_IntegrationDocument,
17894
17932
  variables,
17895
17933
  "pulseEvent",
17896
17934
  async (db) => {
@@ -17913,14 +17951,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Reque
17913
17951
  }
17914
17952
  async fetch(options) {
17915
17953
  const variables = this._variables;
17916
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
17954
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
17917
17955
  const data = response.pulseEvent?.integration?.provider;
17918
17956
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17919
17957
  }
17920
17958
  watch(options) {
17921
17959
  const variables = this._variables;
17922
17960
  const raw = this._syncEngine.watch(
17923
- chunkGL6CUR7S_cjs.PulseEvent_Integration_ProviderDocument,
17961
+ chunkH5WMTA3W_cjs.PulseEvent_Integration_ProviderDocument,
17924
17962
  variables,
17925
17963
  "pulseEvent",
17926
17964
  async (db) => {
@@ -17944,7 +17982,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
17944
17982
  }
17945
17983
  async fetch(options) {
17946
17984
  const variables = this._variables;
17947
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
17985
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
17948
17986
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
17949
17987
  const data = response.pulseEvents;
17950
17988
  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);
@@ -17961,7 +17999,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
17961
17999
  const subscriptionId = crypto.randomUUID();
17962
18000
  const includes = this._includes;
17963
18001
  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) }] : []);
17964
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
18002
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
17965
18003
  const raw = this._syncEngine.watch(
17966
18004
  queryDoc,
17967
18005
  mergedVars,
@@ -17996,7 +18034,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
17996
18034
  }
17997
18035
  /** Include integration in this query (Smart Fetch — single HTTP request). */
17998
18036
  integration(variables, builder) {
17999
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
18037
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
18000
18038
  let children;
18001
18039
  if (builder) {
18002
18040
  const sub = new IntegrationSubBuilder();
@@ -18005,7 +18043,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
18005
18043
  }
18006
18044
  this._includes.push({
18007
18045
  fieldName: "integration",
18008
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationFragmentDoc,
18046
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationFragmentDoc,
18009
18047
  variables,
18010
18048
  isConnection: false,
18011
18049
  isList: false,
@@ -18029,7 +18067,7 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
18029
18067
  this._variables = variables;
18030
18068
  }
18031
18069
  async fetch(options) {
18032
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
18070
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
18033
18071
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
18034
18072
  const data = response.pulseTriggerSettings;
18035
18073
  if (!Array.isArray(data)) return [];
@@ -18038,19 +18076,19 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
18038
18076
  };
18039
18077
  var QueryQuery = class extends chunk342BFYZZ_cjs.Request {
18040
18078
  async fetch(variables) {
18041
- const response = await this._request(chunkGL6CUR7S_cjs.QueryDocument, variables);
18079
+ const response = await this._request(chunkH5WMTA3W_cjs.QueryDocument, variables);
18042
18080
  return response.query;
18043
18081
  }
18044
18082
  };
18045
18083
  var QueryWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
18046
18084
  async fetch(variables) {
18047
- const response = await this._request(chunkGL6CUR7S_cjs.QueryWithInsightIdDocument, variables);
18085
+ const response = await this._request(chunkH5WMTA3W_cjs.QueryWithInsightIdDocument, variables);
18048
18086
  return response.queryWithInsightId;
18049
18087
  }
18050
18088
  };
18051
18089
  var QueryWithMessageIdQuery = class extends chunk342BFYZZ_cjs.Request {
18052
18090
  async fetch(variables) {
18053
- const response = await this._request(chunkGL6CUR7S_cjs.QueryWithMessageIdDocument, variables);
18091
+ const response = await this._request(chunkH5WMTA3W_cjs.QueryWithMessageIdDocument, variables);
18054
18092
  return response.queryWithMessageId;
18055
18093
  }
18056
18094
  };
@@ -18063,7 +18101,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
18063
18101
  }
18064
18102
  async fetch(options) {
18065
18103
  const variables = this._variables;
18066
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportDocument, "report", this._includes, variables);
18104
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ReportDocument, "report", this._includes, variables);
18067
18105
  const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
18068
18106
  const data = response.report;
18069
18107
  const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
@@ -18075,7 +18113,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
18075
18113
  watch(options) {
18076
18114
  const variables = this._variables;
18077
18115
  const includes = this._includes;
18078
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportDocument, "report", includes, variables);
18116
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ReportDocument, "report", includes, variables);
18079
18117
  const raw = this._syncEngine.watch(
18080
18118
  queryDoc,
18081
18119
  mergedVars,
@@ -18105,7 +18143,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
18105
18143
  }
18106
18144
  /** Include insights in this query (Smart Fetch — single HTTP request). */
18107
18145
  insights(variables, builder) {
18108
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_InsightsDocument, "insights", ["id"]);
18146
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Report_InsightsDocument, "insights", ["id"]);
18109
18147
  let children;
18110
18148
  if (builder) {
18111
18149
  const sub = new InsightSubBuilder();
@@ -18114,7 +18152,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
18114
18152
  }
18115
18153
  this._includes.push({
18116
18154
  fieldName: "insights",
18117
- fragmentDoc: chunkGL6CUR7S_cjs.InsightConnectionFragmentDoc,
18155
+ fragmentDoc: chunkH5WMTA3W_cjs.InsightConnectionFragmentDoc,
18118
18156
  variables,
18119
18157
  isConnection: true,
18120
18158
  isList: false,
@@ -18132,10 +18170,10 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
18132
18170
  }
18133
18171
  /** Include layout in this query (Smart Fetch — single HTTP request). */
18134
18172
  layout(variables) {
18135
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_LayoutDocument, "layout", ["id"]);
18173
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Report_LayoutDocument, "layout", ["id"]);
18136
18174
  this._includes.push({
18137
18175
  fieldName: "layout",
18138
- fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
18176
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportMemberFragmentDoc,
18139
18177
  variables,
18140
18178
  isConnection: false,
18141
18179
  isList: true,
@@ -18158,18 +18196,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk342BFYZZ_cjs
18158
18196
  }
18159
18197
  async fetch(options) {
18160
18198
  const variables = this._variables;
18161
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Report_InsightsDocument, variables, "report");
18199
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Report_InsightsDocument, variables, "report");
18162
18200
  const data = response.report?.insights;
18163
18201
  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);
18164
18202
  }
18165
18203
  watch(options) {
18166
18204
  const variables = this._variables;
18167
18205
  const raw = this._syncEngine.watch(
18168
- chunkGL6CUR7S_cjs.Report_InsightsDocument,
18206
+ chunkH5WMTA3W_cjs.Report_InsightsDocument,
18169
18207
  variables,
18170
18208
  "report",
18171
18209
  async (db) => {
18172
- const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkGL6CUR7S_cjs.Report_InsightsDocument));
18210
+ const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkH5WMTA3W_cjs.Report_InsightsDocument));
18173
18211
  const nodes = qr ? await db.table("insights").bulkGet(qr.entityIds) : [];
18174
18212
  return { report: { insights: { __typename: "InsightConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
18175
18213
  }
@@ -18187,7 +18225,7 @@ var Report_LayoutQuery = class extends chunk342BFYZZ_cjs.Request {
18187
18225
  this._variables = variables;
18188
18226
  }
18189
18227
  async fetch(options) {
18190
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Report_LayoutDocument, this._variables, "report");
18228
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Report_LayoutDocument, this._variables, "report");
18191
18229
  const data = response.report?.layout;
18192
18230
  if (!Array.isArray(data)) return [];
18193
18231
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -18202,7 +18240,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18202
18240
  }
18203
18241
  async fetch(options) {
18204
18242
  const variables = this._variables;
18205
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportsDocument, "reports", this._includes, variables, true);
18243
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ReportsDocument, "reports", this._includes, variables, true);
18206
18244
  const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
18207
18245
  const data = response.reports;
18208
18246
  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);
@@ -18219,7 +18257,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18219
18257
  const subscriptionId = crypto.randomUUID();
18220
18258
  const includes = this._includes;
18221
18259
  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) }] : []);
18222
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportsDocument, "reports", includes, variables, true);
18260
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ReportsDocument, "reports", includes, variables, true);
18223
18261
  const raw = this._syncEngine.watch(
18224
18262
  queryDoc,
18225
18263
  mergedVars,
@@ -18254,7 +18292,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18254
18292
  }
18255
18293
  /** Include insights in this query (Smart Fetch — single HTTP request). */
18256
18294
  insights(variables, builder) {
18257
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_InsightsDocument, "insights", ["id"]);
18295
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Report_InsightsDocument, "insights", ["id"]);
18258
18296
  let children;
18259
18297
  if (builder) {
18260
18298
  const sub = new InsightSubBuilder();
@@ -18263,7 +18301,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18263
18301
  }
18264
18302
  this._includes.push({
18265
18303
  fieldName: "insights",
18266
- fragmentDoc: chunkGL6CUR7S_cjs.InsightConnectionFragmentDoc,
18304
+ fragmentDoc: chunkH5WMTA3W_cjs.InsightConnectionFragmentDoc,
18267
18305
  variables,
18268
18306
  isConnection: true,
18269
18307
  isList: false,
@@ -18281,10 +18319,10 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18281
18319
  }
18282
18320
  /** Include layout in this query (Smart Fetch — single HTTP request). */
18283
18321
  layout(variables) {
18284
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_LayoutDocument, "layout", ["id"]);
18322
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Report_LayoutDocument, "layout", ["id"]);
18285
18323
  this._includes.push({
18286
18324
  fieldName: "layout",
18287
- fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
18325
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportMemberFragmentDoc,
18288
18326
  variables,
18289
18327
  isConnection: false,
18290
18328
  isList: true,
@@ -18307,7 +18345,7 @@ var SearchQuery = class extends chunk342BFYZZ_cjs.Request {
18307
18345
  this._variables = variables;
18308
18346
  }
18309
18347
  async fetch(options) {
18310
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.SearchDocument, "search", this._includes, this._variables);
18348
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.SearchDocument, "search", this._includes, this._variables);
18311
18349
  const response = await this._syncEngine.query(queryDoc, mergedVars, "search");
18312
18350
  const data = response.search;
18313
18351
  if (!Array.isArray(data)) return [];
@@ -18323,7 +18361,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18323
18361
  }
18324
18362
  async fetch(options) {
18325
18363
  const variables = this._variables;
18326
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TableDocument, "table", this._includes, variables);
18364
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.TableDocument, "table", this._includes, variables);
18327
18365
  const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
18328
18366
  const data = response.table;
18329
18367
  const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
@@ -18335,7 +18373,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18335
18373
  watch(options) {
18336
18374
  const variables = this._variables;
18337
18375
  const includes = this._includes;
18338
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TableDocument, "table", includes, variables);
18376
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.TableDocument, "table", includes, variables);
18339
18377
  const raw = this._syncEngine.watch(
18340
18378
  queryDoc,
18341
18379
  mergedVars,
@@ -18365,7 +18403,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18365
18403
  }
18366
18404
  /** Include database in this query (Smart Fetch — single HTTP request). */
18367
18405
  database(variables, builder) {
18368
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DatabaseDocument, "database", ["id"]);
18406
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_DatabaseDocument, "database", ["id"]);
18369
18407
  let children;
18370
18408
  if (builder) {
18371
18409
  const sub = new DatabaseSubBuilder();
@@ -18374,7 +18412,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18374
18412
  }
18375
18413
  this._includes.push({
18376
18414
  fieldName: "database",
18377
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseFragmentDoc,
18415
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseFragmentDoc,
18378
18416
  variables,
18379
18417
  isConnection: false,
18380
18418
  isList: false,
@@ -18391,7 +18429,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18391
18429
  }
18392
18430
  /** Include document in this query (Smart Fetch — single HTTP request). */
18393
18431
  document(variables, builder) {
18394
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DocumentDocument, "document", ["id"]);
18432
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_DocumentDocument, "document", ["id"]);
18395
18433
  let children;
18396
18434
  if (builder) {
18397
18435
  const sub = new DocumentSubBuilder();
@@ -18400,7 +18438,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18400
18438
  }
18401
18439
  this._includes.push({
18402
18440
  fieldName: "document",
18403
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFragmentDoc,
18441
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFragmentDoc,
18404
18442
  variables,
18405
18443
  isConnection: false,
18406
18444
  isList: false,
@@ -18417,10 +18455,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18417
18455
  }
18418
18456
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
18419
18457
  fromRelations(variables) {
18420
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18458
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18421
18459
  this._includes.push({
18422
18460
  fieldName: "fromRelations",
18423
- fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18461
+ fragmentDoc: chunkH5WMTA3W_cjs.RelationFragmentDoc,
18424
18462
  variables,
18425
18463
  isConnection: false,
18426
18464
  isList: true,
@@ -18436,10 +18474,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18436
18474
  }
18437
18475
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
18438
18476
  toRelations(variables) {
18439
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18477
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18440
18478
  this._includes.push({
18441
18479
  fieldName: "toRelations",
18442
- fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18480
+ fragmentDoc: chunkH5WMTA3W_cjs.RelationFragmentDoc,
18443
18481
  variables,
18444
18482
  isConnection: false,
18445
18483
  isList: true,
@@ -18462,14 +18500,14 @@ var Table_DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
18462
18500
  }
18463
18501
  async fetch(options) {
18464
18502
  const variables = this._variables;
18465
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_DatabaseDocument, variables, "table");
18503
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_DatabaseDocument, variables, "table");
18466
18504
  const data = response.table?.database;
18467
18505
  return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18468
18506
  }
18469
18507
  watch(options) {
18470
18508
  const variables = this._variables;
18471
18509
  const raw = this._syncEngine.watch(
18472
- chunkGL6CUR7S_cjs.Table_DatabaseDocument,
18510
+ chunkH5WMTA3W_cjs.Table_DatabaseDocument,
18473
18511
  variables,
18474
18512
  "table",
18475
18513
  async (db) => {
@@ -18492,14 +18530,14 @@ var Table_Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
18492
18530
  }
18493
18531
  async fetch(options) {
18494
18532
  const variables = this._variables;
18495
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Database_EngineDocument, variables, "table");
18533
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_Database_EngineDocument, variables, "table");
18496
18534
  const data = response.table?.database?.engine;
18497
18535
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18498
18536
  }
18499
18537
  watch(options) {
18500
18538
  const variables = this._variables;
18501
18539
  const raw = this._syncEngine.watch(
18502
- chunkGL6CUR7S_cjs.Table_Database_EngineDocument,
18540
+ chunkH5WMTA3W_cjs.Table_Database_EngineDocument,
18503
18541
  variables,
18504
18542
  "table",
18505
18543
  async (db) => {
@@ -18522,14 +18560,14 @@ var Table_DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
18522
18560
  }
18523
18561
  async fetch(options) {
18524
18562
  const variables = this._variables;
18525
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_DocumentDocument, variables, "table");
18563
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_DocumentDocument, variables, "table");
18526
18564
  const data = response.table?.document;
18527
18565
  return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18528
18566
  }
18529
18567
  watch(options) {
18530
18568
  const variables = this._variables;
18531
18569
  const raw = this._syncEngine.watch(
18532
- chunkGL6CUR7S_cjs.Table_DocumentDocument,
18570
+ chunkH5WMTA3W_cjs.Table_DocumentDocument,
18533
18571
  variables,
18534
18572
  "table",
18535
18573
  async (db) => {
@@ -18551,7 +18589,7 @@ var Table_Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
18551
18589
  this._variables = variables;
18552
18590
  }
18553
18591
  async fetch(options) {
18554
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Document_ContentsDocument, this._variables, "table");
18592
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_Document_ContentsDocument, this._variables, "table");
18555
18593
  const data = response.table?.document?.contents;
18556
18594
  if (!Array.isArray(data)) return [];
18557
18595
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -18565,14 +18603,14 @@ var Table_Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
18565
18603
  }
18566
18604
  async fetch(options) {
18567
18605
  const variables = this._variables;
18568
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Document_FileDocument, variables, "table");
18606
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_Document_FileDocument, variables, "table");
18569
18607
  const data = response.table?.document?.file;
18570
18608
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18571
18609
  }
18572
18610
  watch(options) {
18573
18611
  const variables = this._variables;
18574
18612
  const raw = this._syncEngine.watch(
18575
- chunkGL6CUR7S_cjs.Table_Document_FileDocument,
18613
+ chunkH5WMTA3W_cjs.Table_Document_FileDocument,
18576
18614
  variables,
18577
18615
  "table",
18578
18616
  async (db) => {
@@ -18595,14 +18633,14 @@ var Table_Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
18595
18633
  }
18596
18634
  async fetch(options) {
18597
18635
  const variables = this._variables;
18598
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Document_FormatDocument, variables, "table");
18636
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_Document_FormatDocument, variables, "table");
18599
18637
  const data = response.table?.document?.format;
18600
18638
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18601
18639
  }
18602
18640
  watch(options) {
18603
18641
  const variables = this._variables;
18604
18642
  const raw = this._syncEngine.watch(
18605
- chunkGL6CUR7S_cjs.Table_Document_FormatDocument,
18643
+ chunkH5WMTA3W_cjs.Table_Document_FormatDocument,
18606
18644
  variables,
18607
18645
  "table",
18608
18646
  async (db) => {
@@ -18624,7 +18662,7 @@ var Table_FromRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
18624
18662
  this._variables = variables;
18625
18663
  }
18626
18664
  async fetch(options) {
18627
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, this._variables, "table");
18665
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_FromRelationsDocument, this._variables, "table");
18628
18666
  const data = response.table?.fromRelations;
18629
18667
  if (!Array.isArray(data)) return [];
18630
18668
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -18637,7 +18675,7 @@ var Table_ToRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
18637
18675
  this._variables = variables;
18638
18676
  }
18639
18677
  async fetch(options) {
18640
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, this._variables, "table");
18678
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_ToRelationsDocument, this._variables, "table");
18641
18679
  const data = response.table?.toRelations;
18642
18680
  if (!Array.isArray(data)) return [];
18643
18681
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -18652,7 +18690,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18652
18690
  }
18653
18691
  async fetch(options) {
18654
18692
  const variables = this._variables;
18655
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TablesDocument, "tables", this._includes, variables, true);
18693
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.TablesDocument, "tables", this._includes, variables, true);
18656
18694
  const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
18657
18695
  const data = response.tables;
18658
18696
  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);
@@ -18669,7 +18707,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18669
18707
  const subscriptionId = crypto.randomUUID();
18670
18708
  const includes = this._includes;
18671
18709
  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) }] : []);
18672
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TablesDocument, "tables", includes, variables, true);
18710
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.TablesDocument, "tables", includes, variables, true);
18673
18711
  const raw = this._syncEngine.watch(
18674
18712
  queryDoc,
18675
18713
  mergedVars,
@@ -18704,7 +18742,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18704
18742
  }
18705
18743
  /** Include database in this query (Smart Fetch — single HTTP request). */
18706
18744
  database(variables, builder) {
18707
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DatabaseDocument, "database", ["id"]);
18745
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_DatabaseDocument, "database", ["id"]);
18708
18746
  let children;
18709
18747
  if (builder) {
18710
18748
  const sub = new DatabaseSubBuilder();
@@ -18713,7 +18751,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18713
18751
  }
18714
18752
  this._includes.push({
18715
18753
  fieldName: "database",
18716
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseFragmentDoc,
18754
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseFragmentDoc,
18717
18755
  variables,
18718
18756
  isConnection: false,
18719
18757
  isList: false,
@@ -18730,7 +18768,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18730
18768
  }
18731
18769
  /** Include document in this query (Smart Fetch — single HTTP request). */
18732
18770
  document(variables, builder) {
18733
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DocumentDocument, "document", ["id"]);
18771
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_DocumentDocument, "document", ["id"]);
18734
18772
  let children;
18735
18773
  if (builder) {
18736
18774
  const sub = new DocumentSubBuilder();
@@ -18739,7 +18777,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18739
18777
  }
18740
18778
  this._includes.push({
18741
18779
  fieldName: "document",
18742
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFragmentDoc,
18780
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFragmentDoc,
18743
18781
  variables,
18744
18782
  isConnection: false,
18745
18783
  isList: false,
@@ -18756,10 +18794,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18756
18794
  }
18757
18795
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
18758
18796
  fromRelations(variables) {
18759
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18797
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18760
18798
  this._includes.push({
18761
18799
  fieldName: "fromRelations",
18762
- fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18800
+ fragmentDoc: chunkH5WMTA3W_cjs.RelationFragmentDoc,
18763
18801
  variables,
18764
18802
  isConnection: false,
18765
18803
  isList: true,
@@ -18775,10 +18813,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18775
18813
  }
18776
18814
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
18777
18815
  toRelations(variables) {
18778
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18816
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18779
18817
  this._includes.push({
18780
18818
  fieldName: "toRelations",
18781
- fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18819
+ fragmentDoc: chunkH5WMTA3W_cjs.RelationFragmentDoc,
18782
18820
  variables,
18783
18821
  isConnection: false,
18784
18822
  isList: true,
@@ -18802,7 +18840,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
18802
18840
  }
18803
18841
  async fetch(options) {
18804
18842
  const variables = this._variables;
18805
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
18843
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
18806
18844
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
18807
18845
  const data = response.userSkillFile;
18808
18846
  const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -18814,7 +18852,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
18814
18852
  watch(options) {
18815
18853
  const variables = this._variables;
18816
18854
  const includes = this._includes;
18817
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
18855
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
18818
18856
  const raw = this._syncEngine.watch(
18819
18857
  queryDoc,
18820
18858
  mergedVars,
@@ -18851,7 +18889,7 @@ var UserSkillFilesQuery = class extends chunk342BFYZZ_cjs.Request {
18851
18889
  this._variables = variables;
18852
18890
  }
18853
18891
  async fetch(options) {
18854
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
18892
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
18855
18893
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
18856
18894
  const data = response.userSkillFiles;
18857
18895
  if (!Array.isArray(data)) return [];
@@ -18867,7 +18905,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
18867
18905
  }
18868
18906
  async fetch(options) {
18869
18907
  const variables = this._variables;
18870
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
18908
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
18871
18909
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
18872
18910
  const data = response.userSkillFolder;
18873
18911
  const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -18879,7 +18917,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
18879
18917
  watch(options) {
18880
18918
  const variables = this._variables;
18881
18919
  const includes = this._includes;
18882
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
18920
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
18883
18921
  const raw = this._syncEngine.watch(
18884
18922
  queryDoc,
18885
18923
  mergedVars,
@@ -18916,7 +18954,7 @@ var UserSkillFoldersQuery = class extends chunk342BFYZZ_cjs.Request {
18916
18954
  this._variables = variables;
18917
18955
  }
18918
18956
  async fetch(options) {
18919
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
18957
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
18920
18958
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
18921
18959
  const data = response.userSkillFolders;
18922
18960
  if (!Array.isArray(data)) return [];
@@ -18932,7 +18970,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
18932
18970
  }
18933
18971
  async fetch(options) {
18934
18972
  const variables = this._variables;
18935
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
18973
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
18936
18974
  const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
18937
18975
  const data = response.workspaceDeletionSchedule;
18938
18976
  if (!data) return void 0;
@@ -18945,7 +18983,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
18945
18983
  watch(options) {
18946
18984
  const variables = this._variables;
18947
18985
  const includes = this._includes;
18948
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
18986
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
18949
18987
  const raw = this._syncEngine.watch(
18950
18988
  queryDoc,
18951
18989
  mergedVars,
@@ -18977,7 +19015,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
18977
19015
  };
18978
19016
  var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
18979
19017
  async *subscribe(variables) {
18980
- for await (const response of this._subscribe(chunkGL6CUR7S_cjs.McpAuthUpdatesDocument, variables)) {
19018
+ for await (const response of this._subscribe(chunkH5WMTA3W_cjs.McpAuthUpdatesDocument, variables)) {
18981
19019
  const data = response.mcpAuthUpdates;
18982
19020
  yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
18983
19021
  }
@@ -18985,12 +19023,12 @@ var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
18985
19023
  };
18986
19024
  var SendMessageStreamSubscription = class extends chunk342BFYZZ_cjs.Request {
18987
19025
  subscribe(variables) {
18988
- return this._subscribe(chunkGL6CUR7S_cjs.SendMessageStreamDocument, variables);
19026
+ return this._subscribe(chunkH5WMTA3W_cjs.SendMessageStreamDocument, variables);
18989
19027
  }
18990
19028
  };
18991
19029
  var TokenUsageUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
18992
19030
  async *subscribe(variables) {
18993
- for await (const response of this._subscribe(chunkGL6CUR7S_cjs.TokenUsageUpdatesDocument, variables)) {
19031
+ for await (const response of this._subscribe(chunkH5WMTA3W_cjs.TokenUsageUpdatesDocument, variables)) {
18994
19032
  const data = response.tokenUsageUpdates;
18995
19033
  yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
18996
19034
  }
@@ -19216,6 +19254,10 @@ var DvinaSdk = class extends chunk342BFYZZ_cjs.Request {
19216
19254
  updateAgent(variables) {
19217
19255
  return new UpdateAgentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
19218
19256
  }
19257
+ /** Mutation: updateArtifactName */
19258
+ updateArtifactName(variables) {
19259
+ return new UpdateArtifactNameMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
19260
+ }
19219
19261
  /** Mutation: updateChat */
19220
19262
  updateChat(variables) {
19221
19263
  return new UpdateChatMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
@@ -19868,6 +19910,7 @@ exports.ToolResultArtifactOutput = ToolResultArtifactOutput;
19868
19910
  exports.ToolResultEventOutput = ToolResultEventOutput;
19869
19911
  exports.ToolStartEventOutput = ToolStartEventOutput;
19870
19912
  exports.UpdateAgentMutation = UpdateAgentMutation;
19913
+ exports.UpdateArtifactNameMutation = UpdateArtifactNameMutation;
19871
19914
  exports.UpdateChatMutation = UpdateChatMutation;
19872
19915
  exports.UpdateDatabaseMutation = UpdateDatabaseMutation;
19873
19916
  exports.UpdateDocumentMutation = UpdateDocumentMutation;
@@ -19905,5 +19948,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
19905
19948
  exports.reconstructConnectionNodes = reconstructConnectionNodes;
19906
19949
  exports.reconstructEntity = reconstructEntity;
19907
19950
  exports.uploadFile = uploadFile;
19908
- //# sourceMappingURL=chunk-F6T7Z73Y.cjs.map
19909
- //# sourceMappingURL=chunk-F6T7Z73Y.cjs.map
19951
+ //# sourceMappingURL=chunk-NXYGWVNO.cjs.map
19952
+ //# sourceMappingURL=chunk-NXYGWVNO.cjs.map