@dvina/sdk 4.0.156 → 4.0.160

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ var chunk342BFYZZ_cjs = require('./chunk-342BFYZZ.cjs');
4
4
  var chunkUELAE75E_cjs = require('./chunk-UELAE75E.cjs');
5
5
  var chunkBL3GFOZR_cjs = require('./chunk-BL3GFOZR.cjs');
6
6
  var chunkKV5SP7RP_cjs = require('./chunk-KV5SP7RP.cjs');
7
- var chunkEL37Q6V6_cjs = require('./chunk-EL37Q6V6.cjs');
7
+ var chunkYZOCWEFU_cjs = require('./chunk-YZOCWEFU.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
@@ -8321,9 +8321,10 @@ function createSseTransport(options) {
8321
8321
  var MappedDvinaQueryRef = class {
8322
8322
  _source;
8323
8323
  _transform;
8324
+ _wrappedConnections = /* @__PURE__ */ new WeakSet();
8324
8325
  get current() {
8325
8326
  const raw = this._source.current;
8326
- return raw !== void 0 ? this._transform(raw) : void 0;
8327
+ return raw !== void 0 ? this._transformValue(raw) : void 0;
8327
8328
  }
8328
8329
  constructor(source, transform) {
8329
8330
  this._source = source;
@@ -8331,7 +8332,7 @@ var MappedDvinaQueryRef = class {
8331
8332
  }
8332
8333
  async refetch(variables) {
8333
8334
  const raw = await this._source.refetch(variables);
8334
- return this._transform(raw);
8335
+ return this._transformValue(raw);
8335
8336
  }
8336
8337
  async fetchMore(variables) {
8337
8338
  return this._source.fetchMore(variables);
@@ -8339,9 +8340,32 @@ var MappedDvinaQueryRef = class {
8339
8340
  dispose() {
8340
8341
  this._source.dispose();
8341
8342
  }
8343
+ _transformValue(raw) {
8344
+ const model = this._transform(raw);
8345
+ this._wrapFetchNext(model);
8346
+ return model;
8347
+ }
8348
+ _wrapFetchNext(model) {
8349
+ if (!model || typeof model !== "object" || this._wrappedConnections.has(model)) {
8350
+ return;
8351
+ }
8352
+ const connection = model;
8353
+ if (typeof connection.fetchNext !== "function" || !connection.pageInfo) {
8354
+ return;
8355
+ }
8356
+ this._wrappedConnections.add(model);
8357
+ connection.fetchNext = async () => {
8358
+ const endCursor = connection.pageInfo?.endCursor;
8359
+ if (!connection.pageInfo?.hasNextPage || !endCursor) {
8360
+ return model;
8361
+ }
8362
+ await this._source.fetchMore({ after: endCursor });
8363
+ return model;
8364
+ };
8365
+ }
8342
8366
  async *[Symbol.asyncIterator]() {
8343
8367
  for await (const raw of this._source) {
8344
- yield this._transform(raw);
8368
+ yield this._transformValue(raw);
8345
8369
  }
8346
8370
  }
8347
8371
  };
@@ -10297,7 +10321,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
10297
10321
  var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
10298
10322
  var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
10299
10323
  async function uploadFile(request, getToken, file, name, options) {
10300
- const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-BMEC6UQQ.cjs');
10324
+ const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-GO2SFQK3.cjs');
10301
10325
  const key = `upload_${Date.now()}`;
10302
10326
  const response = await request(
10303
10327
  GenerateUploadUriDocument2,
@@ -11701,6 +11725,7 @@ var FeedInsightData = class extends DvinaModel {
11701
11725
  pivotConfig;
11702
11726
  presentation;
11703
11727
  query;
11728
+ thumbnailFileId;
11704
11729
  constructor(request, data, syncEngine, baseUrl) {
11705
11730
  super(request, syncEngine, baseUrl);
11706
11731
  this.kind = data.kind;
@@ -11708,6 +11733,7 @@ var FeedInsightData = class extends DvinaModel {
11708
11733
  this.pivotConfig = data.pivotConfig ?? void 0;
11709
11734
  this.presentation = data.presentation;
11710
11735
  this.query = data.query;
11736
+ this.thumbnailFileId = data.thumbnailFileId ?? void 0;
11711
11737
  }
11712
11738
  };
11713
11739
  var FeedIntegrationData = class extends DvinaModel {
@@ -13172,7 +13198,7 @@ var AgentSubBuilder = class {
13172
13198
  _includes = [];
13173
13199
  /** Include chats in the parent query. */
13174
13200
  chats(variables, builder) {
13175
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Agent_ChatsDocument, "chats", ["id"]);
13201
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Agent_ChatsDocument, "chats", ["id"]);
13176
13202
  let children;
13177
13203
  if (builder) {
13178
13204
  const sub = new ChatSubBuilder();
@@ -13181,7 +13207,7 @@ var AgentSubBuilder = class {
13181
13207
  }
13182
13208
  this._includes.push({
13183
13209
  fieldName: "chats",
13184
- fragmentDoc: chunkEL37Q6V6_cjs.ChatConnectionFragmentDoc,
13210
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatConnectionFragmentDoc,
13185
13211
  variables,
13186
13212
  isConnection: true,
13187
13213
  isList: false,
@@ -13203,7 +13229,7 @@ var ArtifactSubBuilder = class {
13203
13229
  _includes = [];
13204
13230
  /** Include chat in the parent query. */
13205
13231
  chat(variables, builder) {
13206
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_ChatDocument, "chat", ["id"]);
13232
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Artifact_ChatDocument, "chat", ["id"]);
13207
13233
  let children;
13208
13234
  if (builder) {
13209
13235
  const sub = new ChatSubBuilder();
@@ -13212,7 +13238,7 @@ var ArtifactSubBuilder = class {
13212
13238
  }
13213
13239
  this._includes.push({
13214
13240
  fieldName: "chat",
13215
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
13241
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatFragmentDoc,
13216
13242
  variables,
13217
13243
  isConnection: false,
13218
13244
  isList: false,
@@ -13229,10 +13255,10 @@ var ArtifactSubBuilder = class {
13229
13255
  }
13230
13256
  /** Include file in the parent query. */
13231
13257
  file(variables) {
13232
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_FileDocument, "file", ["id"]);
13258
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Artifact_FileDocument, "file", ["id"]);
13233
13259
  this._includes.push({
13234
13260
  fieldName: "file",
13235
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
13261
+ fragmentDoc: chunkYZOCWEFU_cjs.FileFragmentDoc,
13236
13262
  variables,
13237
13263
  isConnection: false,
13238
13264
  isList: false,
@@ -13248,7 +13274,7 @@ var ArtifactSubBuilder = class {
13248
13274
  }
13249
13275
  /** Include message in the parent query. */
13250
13276
  message(variables, builder) {
13251
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_MessageDocument, "message", ["id"]);
13277
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Artifact_MessageDocument, "message", ["id"]);
13252
13278
  let children;
13253
13279
  if (builder) {
13254
13280
  const sub = new ChatMessageSubBuilder();
@@ -13257,7 +13283,7 @@ var ArtifactSubBuilder = class {
13257
13283
  }
13258
13284
  this._includes.push({
13259
13285
  fieldName: "message",
13260
- fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageFragmentDoc,
13286
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatMessageFragmentDoc,
13261
13287
  variables,
13262
13288
  isConnection: false,
13263
13289
  isList: false,
@@ -13278,7 +13304,7 @@ var ChatSubBuilder = class {
13278
13304
  _includes = [];
13279
13305
  /** Include agents in the parent query. */
13280
13306
  agents(variables, builder) {
13281
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_AgentsDocument, "agents", ["id"]);
13307
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Chat_AgentsDocument, "agents", ["id"]);
13282
13308
  let children;
13283
13309
  if (builder) {
13284
13310
  const sub = new AgentSubBuilder();
@@ -13287,7 +13313,7 @@ var ChatSubBuilder = class {
13287
13313
  }
13288
13314
  this._includes.push({
13289
13315
  fieldName: "agents",
13290
- fragmentDoc: chunkEL37Q6V6_cjs.AgentConnectionFragmentDoc,
13316
+ fragmentDoc: chunkYZOCWEFU_cjs.AgentConnectionFragmentDoc,
13291
13317
  variables,
13292
13318
  isConnection: true,
13293
13319
  isList: false,
@@ -13305,7 +13331,7 @@ var ChatSubBuilder = class {
13305
13331
  }
13306
13332
  /** Include artifacts in the parent query. */
13307
13333
  artifacts(variables, builder) {
13308
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
13334
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
13309
13335
  let children;
13310
13336
  if (builder) {
13311
13337
  const sub = new ArtifactSubBuilder();
@@ -13314,7 +13340,7 @@ var ChatSubBuilder = class {
13314
13340
  }
13315
13341
  this._includes.push({
13316
13342
  fieldName: "artifacts",
13317
- fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
13343
+ fragmentDoc: chunkYZOCWEFU_cjs.ArtifactConnectionFragmentDoc,
13318
13344
  variables,
13319
13345
  isConnection: true,
13320
13346
  isList: false,
@@ -13332,7 +13358,7 @@ var ChatSubBuilder = class {
13332
13358
  }
13333
13359
  /** Include insight in the parent query. */
13334
13360
  insight(variables, builder) {
13335
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_InsightDocument, "insight", ["id"]);
13361
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Chat_InsightDocument, "insight", ["id"]);
13336
13362
  let children;
13337
13363
  if (builder) {
13338
13364
  const sub = new InsightSubBuilder();
@@ -13341,7 +13367,7 @@ var ChatSubBuilder = class {
13341
13367
  }
13342
13368
  this._includes.push({
13343
13369
  fieldName: "insight",
13344
- fragmentDoc: chunkEL37Q6V6_cjs.InsightFragmentDoc,
13370
+ fragmentDoc: chunkYZOCWEFU_cjs.InsightFragmentDoc,
13345
13371
  variables,
13346
13372
  isConnection: false,
13347
13373
  isList: false,
@@ -13358,7 +13384,7 @@ var ChatSubBuilder = class {
13358
13384
  }
13359
13385
  /** Include messages in the parent query. */
13360
13386
  messages(variables, builder) {
13361
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_MessagesDocument, "messages", ["id"]);
13387
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Chat_MessagesDocument, "messages", ["id"]);
13362
13388
  let children;
13363
13389
  if (builder) {
13364
13390
  const sub = new ChatMessageSubBuilder();
@@ -13367,7 +13393,7 @@ var ChatSubBuilder = class {
13367
13393
  }
13368
13394
  this._includes.push({
13369
13395
  fieldName: "messages",
13370
- fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageConnectionFragmentDoc,
13396
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatMessageConnectionFragmentDoc,
13371
13397
  variables,
13372
13398
  isConnection: true,
13373
13399
  isList: false,
@@ -13389,7 +13415,7 @@ var ChatMessageSubBuilder = class {
13389
13415
  _includes = [];
13390
13416
  /** Include artifacts in the parent query. */
13391
13417
  artifacts(variables, builder) {
13392
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
13418
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
13393
13419
  let children;
13394
13420
  if (builder) {
13395
13421
  const sub = new ArtifactSubBuilder();
@@ -13398,7 +13424,7 @@ var ChatMessageSubBuilder = class {
13398
13424
  }
13399
13425
  this._includes.push({
13400
13426
  fieldName: "artifacts",
13401
- fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
13427
+ fragmentDoc: chunkYZOCWEFU_cjs.ArtifactConnectionFragmentDoc,
13402
13428
  variables,
13403
13429
  isConnection: true,
13404
13430
  isList: false,
@@ -13416,7 +13442,7 @@ var ChatMessageSubBuilder = class {
13416
13442
  }
13417
13443
  /** Include chat in the parent query. */
13418
13444
  chat(variables, builder) {
13419
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
13445
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
13420
13446
  let children;
13421
13447
  if (builder) {
13422
13448
  const sub = new ChatSubBuilder();
@@ -13425,7 +13451,7 @@ var ChatMessageSubBuilder = class {
13425
13451
  }
13426
13452
  this._includes.push({
13427
13453
  fieldName: "chat",
13428
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
13454
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatFragmentDoc,
13429
13455
  variables,
13430
13456
  isConnection: false,
13431
13457
  isList: false,
@@ -13442,10 +13468,10 @@ var ChatMessageSubBuilder = class {
13442
13468
  }
13443
13469
  /** Include contents in the parent query. */
13444
13470
  contents(variables) {
13445
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
13471
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
13446
13472
  this._includes.push({
13447
13473
  fieldName: "contents",
13448
- fragmentDoc: chunkEL37Q6V6_cjs.ContentBlockFragmentDoc,
13474
+ fragmentDoc: chunkYZOCWEFU_cjs.ContentBlockFragmentDoc,
13449
13475
  variables,
13450
13476
  isConnection: false,
13451
13477
  isList: true,
@@ -13461,10 +13487,10 @@ var ChatMessageSubBuilder = class {
13461
13487
  }
13462
13488
  /** Include feedback in the parent query. */
13463
13489
  feedback(variables) {
13464
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
13490
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
13465
13491
  this._includes.push({
13466
13492
  fieldName: "feedback",
13467
- fragmentDoc: chunkEL37Q6V6_cjs.FeedbackFragmentDoc,
13493
+ fragmentDoc: chunkYZOCWEFU_cjs.FeedbackFragmentDoc,
13468
13494
  variables,
13469
13495
  isConnection: false,
13470
13496
  isList: false,
@@ -13484,10 +13510,10 @@ var DatabaseSubBuilder = class {
13484
13510
  _includes = [];
13485
13511
  /** Include engine in the parent query. */
13486
13512
  engine(variables) {
13487
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_EngineDocument, "engine", ["id"]);
13513
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Database_EngineDocument, "engine", ["id"]);
13488
13514
  this._includes.push({
13489
13515
  fieldName: "engine",
13490
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
13516
+ fragmentDoc: chunkYZOCWEFU_cjs.DatabaseEngineFragmentDoc,
13491
13517
  variables,
13492
13518
  isConnection: false,
13493
13519
  isList: false,
@@ -13503,7 +13529,7 @@ var DatabaseSubBuilder = class {
13503
13529
  }
13504
13530
  /** Include tables in the parent query. */
13505
13531
  tables(variables, builder) {
13506
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_TablesDocument, "tables", ["id"]);
13532
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Database_TablesDocument, "tables", ["id"]);
13507
13533
  let children;
13508
13534
  if (builder) {
13509
13535
  const sub = new TableSubBuilder();
@@ -13512,7 +13538,7 @@ var DatabaseSubBuilder = class {
13512
13538
  }
13513
13539
  this._includes.push({
13514
13540
  fieldName: "tables",
13515
- fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
13541
+ fragmentDoc: chunkYZOCWEFU_cjs.TableConnectionFragmentDoc,
13516
13542
  variables,
13517
13543
  isConnection: true,
13518
13544
  isList: false,
@@ -13534,10 +13560,10 @@ var DatabaseCatalogSubBuilder = class {
13534
13560
  _includes = [];
13535
13561
  /** Include engine in the parent query. */
13536
13562
  engine(variables) {
13537
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, "engine", []);
13563
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.DatabaseCatalog_EngineDocument, "engine", []);
13538
13564
  this._includes.push({
13539
13565
  fieldName: "engine",
13540
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
13566
+ fragmentDoc: chunkYZOCWEFU_cjs.DatabaseEngineFragmentDoc,
13541
13567
  variables,
13542
13568
  isConnection: false,
13543
13569
  isList: false,
@@ -13557,10 +13583,10 @@ var DocumentSubBuilder = class {
13557
13583
  _includes = [];
13558
13584
  /** Include contents in the parent query. */
13559
13585
  contents(variables) {
13560
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_ContentsDocument, "contents", ["id"]);
13586
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Document_ContentsDocument, "contents", ["id"]);
13561
13587
  this._includes.push({
13562
13588
  fieldName: "contents",
13563
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentContentFragmentDoc,
13589
+ fragmentDoc: chunkYZOCWEFU_cjs.DocumentContentFragmentDoc,
13564
13590
  variables,
13565
13591
  isConnection: false,
13566
13592
  isList: true,
@@ -13576,10 +13602,10 @@ var DocumentSubBuilder = class {
13576
13602
  }
13577
13603
  /** Include file in the parent query. */
13578
13604
  file(variables) {
13579
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FileDocument, "file", ["id"]);
13605
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Document_FileDocument, "file", ["id"]);
13580
13606
  this._includes.push({
13581
13607
  fieldName: "file",
13582
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
13608
+ fragmentDoc: chunkYZOCWEFU_cjs.FileFragmentDoc,
13583
13609
  variables,
13584
13610
  isConnection: false,
13585
13611
  isList: false,
@@ -13595,10 +13621,10 @@ var DocumentSubBuilder = class {
13595
13621
  }
13596
13622
  /** Include format in the parent query. */
13597
13623
  format(variables) {
13598
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FormatDocument, "format", ["id"]);
13624
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Document_FormatDocument, "format", ["id"]);
13599
13625
  this._includes.push({
13600
13626
  fieldName: "format",
13601
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
13627
+ fragmentDoc: chunkYZOCWEFU_cjs.DocumentFormatFragmentDoc,
13602
13628
  variables,
13603
13629
  isConnection: false,
13604
13630
  isList: false,
@@ -13614,7 +13640,7 @@ var DocumentSubBuilder = class {
13614
13640
  }
13615
13641
  /** Include tables in the parent query. */
13616
13642
  tables(variables, builder) {
13617
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_TablesDocument, "tables", ["id"]);
13643
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Document_TablesDocument, "tables", ["id"]);
13618
13644
  let children;
13619
13645
  if (builder) {
13620
13646
  const sub = new TableSubBuilder();
@@ -13623,7 +13649,7 @@ var DocumentSubBuilder = class {
13623
13649
  }
13624
13650
  this._includes.push({
13625
13651
  fieldName: "tables",
13626
- fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
13652
+ fragmentDoc: chunkYZOCWEFU_cjs.TableConnectionFragmentDoc,
13627
13653
  variables,
13628
13654
  isConnection: true,
13629
13655
  isList: false,
@@ -13645,10 +13671,10 @@ var DocumentCatalogSubBuilder = class {
13645
13671
  _includes = [];
13646
13672
  /** Include format in the parent query. */
13647
13673
  format(variables) {
13648
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, "format", []);
13674
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.DocumentCatalog_FormatDocument, "format", []);
13649
13675
  this._includes.push({
13650
13676
  fieldName: "format",
13651
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
13677
+ fragmentDoc: chunkYZOCWEFU_cjs.DocumentFormatFragmentDoc,
13652
13678
  variables,
13653
13679
  isConnection: false,
13654
13680
  isList: false,
@@ -13668,10 +13694,10 @@ var FeedItemSubBuilder = class {
13668
13694
  _includes = [];
13669
13695
  /** Include action in the parent query. */
13670
13696
  action(variables) {
13671
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, "action", ["id"]);
13697
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.FeedItem_ActionDocument, "action", ["id"]);
13672
13698
  this._includes.push({
13673
13699
  fieldName: "action",
13674
- fragmentDoc: chunkEL37Q6V6_cjs.FeedSendMessageActionFragmentDoc,
13700
+ fragmentDoc: chunkYZOCWEFU_cjs.FeedSendMessageActionFragmentDoc,
13675
13701
  variables,
13676
13702
  isConnection: false,
13677
13703
  isList: false,
@@ -13687,10 +13713,10 @@ var FeedItemSubBuilder = class {
13687
13713
  }
13688
13714
  /** Include data in the parent query. */
13689
13715
  data(variables) {
13690
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_DataDocument, "data", ["id"]);
13716
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.FeedItem_DataDocument, "data", ["id"]);
13691
13717
  this._includes.push({
13692
13718
  fieldName: "data",
13693
- fragmentDoc: chunkEL37Q6V6_cjs.FeedArtifactDataFragmentDoc,
13719
+ fragmentDoc: chunkYZOCWEFU_cjs.FeedArtifactDataFragmentDoc,
13694
13720
  variables,
13695
13721
  isConnection: false,
13696
13722
  isList: true,
@@ -13710,7 +13736,7 @@ var InsightSubBuilder = class {
13710
13736
  _includes = [];
13711
13737
  /** Include chat in the parent query. */
13712
13738
  chat(variables, builder) {
13713
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ChatDocument, "chat", ["id"]);
13739
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Insight_ChatDocument, "chat", ["id"]);
13714
13740
  let children;
13715
13741
  if (builder) {
13716
13742
  const sub = new ChatSubBuilder();
@@ -13719,7 +13745,7 @@ var InsightSubBuilder = class {
13719
13745
  }
13720
13746
  this._includes.push({
13721
13747
  fieldName: "chat",
13722
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
13748
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatFragmentDoc,
13723
13749
  variables,
13724
13750
  isConnection: false,
13725
13751
  isList: false,
@@ -13736,10 +13762,10 @@ var InsightSubBuilder = class {
13736
13762
  }
13737
13763
  /** Include reportMembers in the parent query. */
13738
13764
  reportMembers(variables) {
13739
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
13765
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
13740
13766
  this._includes.push({
13741
13767
  fieldName: "reportMembers",
13742
- fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
13768
+ fragmentDoc: chunkYZOCWEFU_cjs.ReportMemberFragmentDoc,
13743
13769
  variables,
13744
13770
  isConnection: false,
13745
13771
  isList: true,
@@ -13755,7 +13781,7 @@ var InsightSubBuilder = class {
13755
13781
  }
13756
13782
  /** Include reports in the parent query. */
13757
13783
  reports(variables, builder) {
13758
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportsDocument, "reports", ["id"]);
13784
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Insight_ReportsDocument, "reports", ["id"]);
13759
13785
  let children;
13760
13786
  if (builder) {
13761
13787
  const sub = new ReportSubBuilder();
@@ -13764,7 +13790,7 @@ var InsightSubBuilder = class {
13764
13790
  }
13765
13791
  this._includes.push({
13766
13792
  fieldName: "reports",
13767
- fragmentDoc: chunkEL37Q6V6_cjs.ReportConnectionFragmentDoc,
13793
+ fragmentDoc: chunkYZOCWEFU_cjs.ReportConnectionFragmentDoc,
13768
13794
  variables,
13769
13795
  isConnection: true,
13770
13796
  isList: false,
@@ -13782,10 +13808,10 @@ var InsightSubBuilder = class {
13782
13808
  }
13783
13809
  /** Include thumbnailFile in the parent query. */
13784
13810
  thumbnailFile(variables) {
13785
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
13811
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
13786
13812
  this._includes.push({
13787
13813
  fieldName: "thumbnailFile",
13788
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
13814
+ fragmentDoc: chunkYZOCWEFU_cjs.FileFragmentDoc,
13789
13815
  variables,
13790
13816
  isConnection: false,
13791
13817
  isList: false,
@@ -13805,10 +13831,10 @@ var IntegrationSubBuilder = class {
13805
13831
  _includes = [];
13806
13832
  /** Include provider in the parent query. */
13807
13833
  provider(variables) {
13808
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Integration_ProviderDocument, "provider", ["id"]);
13834
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Integration_ProviderDocument, "provider", ["id"]);
13809
13835
  this._includes.push({
13810
13836
  fieldName: "provider",
13811
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
13837
+ fragmentDoc: chunkYZOCWEFU_cjs.IntegrationProviderFragmentDoc,
13812
13838
  variables,
13813
13839
  isConnection: false,
13814
13840
  isList: false,
@@ -13828,10 +13854,10 @@ var IntegrationCatalogSubBuilder = class {
13828
13854
  _includes = [];
13829
13855
  /** Include provider in the parent query. */
13830
13856
  provider(variables) {
13831
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
13857
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
13832
13858
  this._includes.push({
13833
13859
  fieldName: "provider",
13834
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
13860
+ fragmentDoc: chunkYZOCWEFU_cjs.IntegrationProviderFragmentDoc,
13835
13861
  variables,
13836
13862
  isConnection: false,
13837
13863
  isList: false,
@@ -13851,7 +13877,7 @@ var PulseEventSubBuilder = class {
13851
13877
  _includes = [];
13852
13878
  /** Include integration in the parent query. */
13853
13879
  integration(variables, builder) {
13854
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
13880
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
13855
13881
  let children;
13856
13882
  if (builder) {
13857
13883
  const sub = new IntegrationSubBuilder();
@@ -13860,7 +13886,7 @@ var PulseEventSubBuilder = class {
13860
13886
  }
13861
13887
  this._includes.push({
13862
13888
  fieldName: "integration",
13863
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationFragmentDoc,
13889
+ fragmentDoc: chunkYZOCWEFU_cjs.IntegrationFragmentDoc,
13864
13890
  variables,
13865
13891
  isConnection: false,
13866
13892
  isList: false,
@@ -13881,7 +13907,7 @@ var ReportSubBuilder = class {
13881
13907
  _includes = [];
13882
13908
  /** Include insights in the parent query. */
13883
13909
  insights(variables, builder) {
13884
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_InsightsDocument, "insights", ["id"]);
13910
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Report_InsightsDocument, "insights", ["id"]);
13885
13911
  let children;
13886
13912
  if (builder) {
13887
13913
  const sub = new InsightSubBuilder();
@@ -13890,7 +13916,7 @@ var ReportSubBuilder = class {
13890
13916
  }
13891
13917
  this._includes.push({
13892
13918
  fieldName: "insights",
13893
- fragmentDoc: chunkEL37Q6V6_cjs.InsightConnectionFragmentDoc,
13919
+ fragmentDoc: chunkYZOCWEFU_cjs.InsightConnectionFragmentDoc,
13894
13920
  variables,
13895
13921
  isConnection: true,
13896
13922
  isList: false,
@@ -13908,10 +13934,10 @@ var ReportSubBuilder = class {
13908
13934
  }
13909
13935
  /** Include layout in the parent query. */
13910
13936
  layout(variables) {
13911
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_LayoutDocument, "layout", ["id"]);
13937
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Report_LayoutDocument, "layout", ["id"]);
13912
13938
  this._includes.push({
13913
13939
  fieldName: "layout",
13914
- fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
13940
+ fragmentDoc: chunkYZOCWEFU_cjs.ReportMemberFragmentDoc,
13915
13941
  variables,
13916
13942
  isConnection: false,
13917
13943
  isList: true,
@@ -13931,7 +13957,7 @@ var TableSubBuilder = class {
13931
13957
  _includes = [];
13932
13958
  /** Include database in the parent query. */
13933
13959
  database(variables, builder) {
13934
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DatabaseDocument, "database", ["id"]);
13960
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Table_DatabaseDocument, "database", ["id"]);
13935
13961
  let children;
13936
13962
  if (builder) {
13937
13963
  const sub = new DatabaseSubBuilder();
@@ -13940,7 +13966,7 @@ var TableSubBuilder = class {
13940
13966
  }
13941
13967
  this._includes.push({
13942
13968
  fieldName: "database",
13943
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseFragmentDoc,
13969
+ fragmentDoc: chunkYZOCWEFU_cjs.DatabaseFragmentDoc,
13944
13970
  variables,
13945
13971
  isConnection: false,
13946
13972
  isList: false,
@@ -13957,7 +13983,7 @@ var TableSubBuilder = class {
13957
13983
  }
13958
13984
  /** Include document in the parent query. */
13959
13985
  document(variables, builder) {
13960
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DocumentDocument, "document", ["id"]);
13986
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Table_DocumentDocument, "document", ["id"]);
13961
13987
  let children;
13962
13988
  if (builder) {
13963
13989
  const sub = new DocumentSubBuilder();
@@ -13966,7 +13992,7 @@ var TableSubBuilder = class {
13966
13992
  }
13967
13993
  this._includes.push({
13968
13994
  fieldName: "document",
13969
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFragmentDoc,
13995
+ fragmentDoc: chunkYZOCWEFU_cjs.DocumentFragmentDoc,
13970
13996
  variables,
13971
13997
  isConnection: false,
13972
13998
  isList: false,
@@ -13983,10 +14009,10 @@ var TableSubBuilder = class {
13983
14009
  }
13984
14010
  /** Include fromRelations in the parent query. */
13985
14011
  fromRelations(variables) {
13986
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
14012
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
13987
14013
  this._includes.push({
13988
14014
  fieldName: "fromRelations",
13989
- fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
14015
+ fragmentDoc: chunkYZOCWEFU_cjs.RelationFragmentDoc,
13990
14016
  variables,
13991
14017
  isConnection: false,
13992
14018
  isList: true,
@@ -14002,10 +14028,10 @@ var TableSubBuilder = class {
14002
14028
  }
14003
14029
  /** Include toRelations in the parent query. */
14004
14030
  toRelations(variables) {
14005
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
14031
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
14006
14032
  this._includes.push({
14007
14033
  fieldName: "toRelations",
14008
- fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
14034
+ fragmentDoc: chunkYZOCWEFU_cjs.RelationFragmentDoc,
14009
14035
  variables,
14010
14036
  isConnection: false,
14011
14037
  isList: true,
@@ -14022,454 +14048,454 @@ var TableSubBuilder = class {
14022
14048
  };
14023
14049
  var AbortChatMutation = class extends chunk342BFYZZ_cjs.Request {
14024
14050
  async fetch(variables) {
14025
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.AbortChatDocument, variables, MUTATION_CACHE_RULES["abortChat"]);
14051
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.AbortChatDocument, variables, MUTATION_CACHE_RULES["abortChat"]);
14026
14052
  return response.abortChat;
14027
14053
  }
14028
14054
  };
14029
14055
  var AddInsightToReportMutation = class extends chunk342BFYZZ_cjs.Request {
14030
14056
  async fetch(variables, options) {
14031
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
14057
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
14032
14058
  const data = response.addInsightToReport;
14033
14059
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14034
14060
  }
14035
14061
  };
14036
14062
  var CancelOauthFlowMutation = class extends chunk342BFYZZ_cjs.Request {
14037
14063
  async fetch(variables) {
14038
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
14064
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
14039
14065
  return response.cancelOauthFlow;
14040
14066
  }
14041
14067
  };
14042
14068
  var CancelWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
14043
14069
  async fetch(variables) {
14044
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
14070
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
14045
14071
  return response.cancelWorkspaceDeletion;
14046
14072
  }
14047
14073
  };
14048
14074
  var ConnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
14049
14075
  async fetch(variables, options) {
14050
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
14076
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
14051
14077
  const data = response.connectIntegration;
14052
14078
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
14053
14079
  }
14054
14080
  };
14055
14081
  var ConsumePulseEventsMutation = class extends chunk342BFYZZ_cjs.Request {
14056
14082
  async fetch(variables) {
14057
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
14083
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
14058
14084
  return response.consumePulseEvents;
14059
14085
  }
14060
14086
  };
14061
14087
  var ContinueImportedChatMutation = class extends chunk342BFYZZ_cjs.Request {
14062
14088
  async fetch(variables) {
14063
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
14089
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
14064
14090
  return response.continueImportedChat;
14065
14091
  }
14066
14092
  };
14067
14093
  var ContinueInterpretationMutation = class extends chunk342BFYZZ_cjs.Request {
14068
14094
  async fetch(variables) {
14069
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
14095
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
14070
14096
  return response.continueInterpretation;
14071
14097
  }
14072
14098
  };
14073
14099
  var CreateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
14074
14100
  async fetch(variables, options) {
14075
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
14101
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
14076
14102
  const data = response.createAgent;
14077
14103
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
14078
14104
  }
14079
14105
  };
14080
14106
  var CreateChatMutation = class extends chunk342BFYZZ_cjs.Request {
14081
14107
  async fetch(variables, options) {
14082
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
14108
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
14083
14109
  const data = response.createChat;
14084
14110
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
14085
14111
  }
14086
14112
  };
14087
14113
  var CreateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
14088
14114
  async fetch(variables, options) {
14089
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
14115
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
14090
14116
  const data = response.createDatabase;
14091
14117
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
14092
14118
  }
14093
14119
  };
14094
14120
  var CreateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
14095
14121
  async fetch(variables, options) {
14096
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
14122
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
14097
14123
  const data = response.createDocument;
14098
14124
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
14099
14125
  }
14100
14126
  };
14101
14127
  var CreateFeedbackMutation = class extends chunk342BFYZZ_cjs.Request {
14102
14128
  async fetch(variables, options) {
14103
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
14129
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
14104
14130
  const data = response.createFeedback;
14105
14131
  return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
14106
14132
  }
14107
14133
  };
14108
14134
  var CreateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14109
14135
  async fetch(variables, options) {
14110
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
14136
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
14111
14137
  const data = response.createFolder;
14112
14138
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
14113
14139
  }
14114
14140
  };
14115
14141
  var CreateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
14116
14142
  async fetch(variables, options) {
14117
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
14143
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
14118
14144
  const data = response.createInsight;
14119
14145
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14120
14146
  }
14121
14147
  };
14122
14148
  var CreateIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
14123
14149
  async fetch(variables, options) {
14124
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
14150
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
14125
14151
  const data = response.createIntegration;
14126
14152
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
14127
14153
  }
14128
14154
  };
14129
14155
  var CreateReportMutation = class extends chunk342BFYZZ_cjs.Request {
14130
14156
  async fetch(variables, options) {
14131
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
14157
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
14132
14158
  const data = response.createReport;
14133
14159
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14134
14160
  }
14135
14161
  };
14136
14162
  var CreateTableMutation = class extends chunk342BFYZZ_cjs.Request {
14137
14163
  async fetch(variables, options) {
14138
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
14164
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
14139
14165
  const data = response.createTable;
14140
14166
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
14141
14167
  }
14142
14168
  };
14143
14169
  var CreateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
14144
14170
  async fetch(variables, options) {
14145
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
14171
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
14146
14172
  const data = response.createUserSkillFile;
14147
14173
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
14148
14174
  }
14149
14175
  };
14150
14176
  var CreateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14151
14177
  async fetch(variables, options) {
14152
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
14178
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
14153
14179
  const data = response.createUserSkillFolder;
14154
14180
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
14155
14181
  }
14156
14182
  };
14157
14183
  var DeleteAgentMutation = class extends chunk342BFYZZ_cjs.Request {
14158
14184
  async fetch(variables, options) {
14159
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
14185
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
14160
14186
  const data = response.deleteAgent;
14161
14187
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
14162
14188
  }
14163
14189
  };
14164
14190
  var DeleteArtifactMutation = class extends chunk342BFYZZ_cjs.Request {
14165
14191
  async fetch(variables, options) {
14166
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
14192
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
14167
14193
  const data = response.deleteArtifact;
14168
14194
  return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
14169
14195
  }
14170
14196
  };
14171
14197
  var DeleteChatMutation = class extends chunk342BFYZZ_cjs.Request {
14172
14198
  async fetch(variables, options) {
14173
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
14199
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
14174
14200
  const data = response.deleteChat;
14175
14201
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
14176
14202
  }
14177
14203
  };
14178
14204
  var DeleteDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
14179
14205
  async fetch(variables, options) {
14180
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
14206
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
14181
14207
  const data = response.deleteDatabase;
14182
14208
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
14183
14209
  }
14184
14210
  };
14185
14211
  var DeleteDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
14186
14212
  async fetch(variables, options) {
14187
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
14213
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
14188
14214
  const data = response.deleteDocument;
14189
14215
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
14190
14216
  }
14191
14217
  };
14192
14218
  var DeleteFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14193
14219
  async fetch(variables, options) {
14194
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
14220
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
14195
14221
  const data = response.deleteFolder;
14196
14222
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
14197
14223
  }
14198
14224
  };
14199
14225
  var DeleteInsightMutation = class extends chunk342BFYZZ_cjs.Request {
14200
14226
  async fetch(variables, options) {
14201
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
14227
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
14202
14228
  const data = response.deleteInsight;
14203
14229
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14204
14230
  }
14205
14231
  };
14206
14232
  var DeleteInsightsMutation = class extends chunk342BFYZZ_cjs.Request {
14207
14233
  async fetch(variables, options) {
14208
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
14234
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
14209
14235
  const data = response.deleteInsights;
14210
14236
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14211
14237
  }
14212
14238
  };
14213
14239
  var DeleteIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
14214
14240
  async fetch(variables) {
14215
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
14241
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
14216
14242
  return response.deleteIntegration;
14217
14243
  }
14218
14244
  };
14219
14245
  var DeleteReportMutation = class extends chunk342BFYZZ_cjs.Request {
14220
14246
  async fetch(variables, options) {
14221
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
14247
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
14222
14248
  const data = response.deleteReport;
14223
14249
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14224
14250
  }
14225
14251
  };
14226
14252
  var DeleteTableMutation = class extends chunk342BFYZZ_cjs.Request {
14227
14253
  async fetch(variables, options) {
14228
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
14254
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
14229
14255
  const data = response.deleteTable;
14230
14256
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
14231
14257
  }
14232
14258
  };
14233
14259
  var DeleteUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
14234
14260
  async fetch(variables, options) {
14235
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
14261
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
14236
14262
  const data = response.deleteUserSkillFile;
14237
14263
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
14238
14264
  }
14239
14265
  };
14240
14266
  var DeleteUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14241
14267
  async fetch(variables, options) {
14242
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
14268
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
14243
14269
  const data = response.deleteUserSkillFolder;
14244
14270
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
14245
14271
  }
14246
14272
  };
14247
14273
  var DisconnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
14248
14274
  async fetch(variables) {
14249
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
14275
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
14250
14276
  return response.disconnectIntegration;
14251
14277
  }
14252
14278
  };
14253
14279
  var DismissPulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
14254
14280
  async fetch(variables, options) {
14255
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
14281
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
14256
14282
  const data = response.dismissPulseEvent;
14257
14283
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
14258
14284
  }
14259
14285
  };
14260
14286
  var ExecuteChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
14261
14287
  async fetch(variables, options) {
14262
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
14288
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
14263
14289
  const data = response.executeChatImport;
14264
14290
  return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
14265
14291
  }
14266
14292
  };
14267
14293
  var GenerateUploadUriMutation = class extends chunk342BFYZZ_cjs.Request {
14268
14294
  async fetch(variables, options) {
14269
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
14295
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
14270
14296
  const data = response.generateUploadUri;
14271
14297
  return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
14272
14298
  }
14273
14299
  };
14274
14300
  var PreviewChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
14275
14301
  async fetch(variables, options) {
14276
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
14302
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
14277
14303
  const data = response.previewChatImport;
14278
14304
  return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
14279
14305
  }
14280
14306
  };
14281
14307
  var ReanalyzeDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
14282
14308
  async fetch(variables, options) {
14283
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
14309
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
14284
14310
  const data = response.reanalyzeDocument;
14285
14311
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
14286
14312
  }
14287
14313
  };
14288
14314
  var RefineMindInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
14289
14315
  async fetch(variables) {
14290
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
14316
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
14291
14317
  return response.refineMindInstruction;
14292
14318
  }
14293
14319
  };
14294
14320
  var RefreshDatabaseSchemaMutation = class extends chunk342BFYZZ_cjs.Request {
14295
14321
  async fetch(variables) {
14296
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
14322
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
14297
14323
  return response.refreshDatabaseSchema;
14298
14324
  }
14299
14325
  };
14300
14326
  var RefreshInsightMutation = class extends chunk342BFYZZ_cjs.Request {
14301
14327
  async fetch(variables, options) {
14302
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
14328
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
14303
14329
  const data = response.refreshInsight;
14304
14330
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14305
14331
  }
14306
14332
  };
14307
14333
  var ReinterpretSourceMutation = class extends chunk342BFYZZ_cjs.Request {
14308
14334
  async fetch(variables) {
14309
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
14335
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
14310
14336
  return response.reinterpretSource;
14311
14337
  }
14312
14338
  };
14313
14339
  var ReinterpretSourcesOfuserMutation = class extends chunk342BFYZZ_cjs.Request {
14314
14340
  async fetch(variables) {
14315
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
14341
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
14316
14342
  return response.reinterpretSourcesOfuser;
14317
14343
  }
14318
14344
  };
14319
14345
  var RelocateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
14320
14346
  async fetch(variables, options) {
14321
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
14347
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
14322
14348
  const data = response.relocateInsight;
14323
14349
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14324
14350
  }
14325
14351
  };
14326
14352
  var RemoveInsightFromReportMutation = class extends chunk342BFYZZ_cjs.Request {
14327
14353
  async fetch(variables, options) {
14328
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
14354
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
14329
14355
  const data = response.removeInsightFromReport;
14330
14356
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14331
14357
  }
14332
14358
  };
14333
14359
  var ResetWorkspaceMutation = class extends chunk342BFYZZ_cjs.Request {
14334
14360
  async fetch(variables) {
14335
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
14361
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
14336
14362
  return response.resetWorkspace;
14337
14363
  }
14338
14364
  };
14339
14365
  var ResolvePulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
14340
14366
  async fetch(variables, options) {
14341
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
14367
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
14342
14368
  const data = response.resolvePulseEvent;
14343
14369
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
14344
14370
  }
14345
14371
  };
14346
14372
  var ScheduleWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
14347
14373
  async fetch(variables, options) {
14348
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
14374
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
14349
14375
  const data = response.scheduleWorkspaceDeletion;
14350
14376
  return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
14351
14377
  }
14352
14378
  };
14353
14379
  var SendMessageMutation = class extends chunk342BFYZZ_cjs.Request {
14354
14380
  async fetch(variables, options) {
14355
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.SendMessageDocument, variables, MUTATION_CACHE_RULES["sendMessage"]);
14381
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.SendMessageDocument, variables, MUTATION_CACHE_RULES["sendMessage"]);
14356
14382
  const data = response.sendMessage;
14357
14383
  return new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
14358
14384
  }
14359
14385
  };
14360
14386
  var SetDatabasePrimaryKeyMutation = class extends chunk342BFYZZ_cjs.Request {
14361
14387
  async fetch(variables) {
14362
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
14388
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
14363
14389
  return response.setDatabasePrimaryKey;
14364
14390
  }
14365
14391
  };
14366
14392
  var UpdateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
14367
14393
  async fetch(variables, options) {
14368
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
14394
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
14369
14395
  const data = response.updateAgent;
14370
14396
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
14371
14397
  }
14372
14398
  };
14373
14399
  var UpdateArtifactNameMutation = class extends chunk342BFYZZ_cjs.Request {
14374
14400
  async fetch(variables, options) {
14375
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"]);
14401
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"]);
14376
14402
  const data = response.updateArtifactName;
14377
14403
  return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
14378
14404
  }
14379
14405
  };
14380
14406
  var UpdateChatMutation = class extends chunk342BFYZZ_cjs.Request {
14381
14407
  async fetch(variables, options) {
14382
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
14408
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
14383
14409
  const data = response.updateChat;
14384
14410
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
14385
14411
  }
14386
14412
  };
14387
14413
  var UpdateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
14388
14414
  async fetch(variables, options) {
14389
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
14415
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
14390
14416
  const data = response.updateDatabase;
14391
14417
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
14392
14418
  }
14393
14419
  };
14394
14420
  var UpdateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
14395
14421
  async fetch(variables, options) {
14396
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
14422
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
14397
14423
  const data = response.updateDocument;
14398
14424
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
14399
14425
  }
14400
14426
  };
14401
14427
  var UpdateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14402
14428
  async fetch(variables, options) {
14403
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
14429
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
14404
14430
  const data = response.updateFolder;
14405
14431
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
14406
14432
  }
14407
14433
  };
14408
14434
  var UpdateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
14409
14435
  async fetch(variables, options) {
14410
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
14436
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
14411
14437
  const data = response.updateInsight;
14412
14438
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14413
14439
  }
14414
14440
  };
14415
14441
  var UpdateInsightInReportMutation = class extends chunk342BFYZZ_cjs.Request {
14416
14442
  async fetch(variables, options) {
14417
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
14443
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
14418
14444
  const data = response.updateInsightInReport;
14419
14445
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14420
14446
  }
14421
14447
  };
14422
14448
  var UpdateInsightThumbnailMutation = class extends chunk342BFYZZ_cjs.Request {
14423
14449
  async fetch(variables) {
14424
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
14450
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
14425
14451
  return response.updateInsightThumbnail;
14426
14452
  }
14427
14453
  };
14428
14454
  var UpdateInterpMutation = class extends chunk342BFYZZ_cjs.Request {
14429
14455
  async fetch(variables, options) {
14430
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
14456
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
14431
14457
  const data = response.updateInterp;
14432
14458
  return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
14433
14459
  }
14434
14460
  };
14435
14461
  var UpdateLiveContextMutation = class extends chunk342BFYZZ_cjs.Request {
14436
14462
  async fetch(variables, options) {
14437
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateLiveContextDocument, variables, MUTATION_CACHE_RULES["updateLiveContext"]);
14463
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdateLiveContextDocument, variables, MUTATION_CACHE_RULES["updateLiveContext"]);
14438
14464
  const data = response.updateLiveContext;
14439
14465
  return new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
14440
14466
  }
14441
14467
  };
14442
14468
  var UpdatePulseTriggerMutation = class extends chunk342BFYZZ_cjs.Request {
14443
14469
  async fetch(variables, options) {
14444
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
14470
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
14445
14471
  const data = response.updatePulseTrigger;
14446
14472
  return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
14447
14473
  }
14448
14474
  };
14449
14475
  var UpdateReportMutation = class extends chunk342BFYZZ_cjs.Request {
14450
14476
  async fetch(variables, options) {
14451
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
14477
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
14452
14478
  const data = response.updateReport;
14453
14479
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14454
14480
  }
14455
14481
  };
14456
14482
  var UpdateTableMutation = class extends chunk342BFYZZ_cjs.Request {
14457
14483
  async fetch(variables, options) {
14458
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
14484
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
14459
14485
  const data = response.updateTable;
14460
14486
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
14461
14487
  }
14462
14488
  };
14463
14489
  var UpdateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
14464
14490
  async fetch(variables, options) {
14465
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
14491
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
14466
14492
  const data = response.updateUserSkillFile;
14467
14493
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
14468
14494
  }
14469
14495
  };
14470
14496
  var UpdateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14471
14497
  async fetch(variables, options) {
14472
- const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
14498
+ const response = await this._syncEngine.mutate(chunkYZOCWEFU_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
14473
14499
  const data = response.updateUserSkillFolder;
14474
14500
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
14475
14501
  }
@@ -14483,7 +14509,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
14483
14509
  }
14484
14510
  async fetch(options) {
14485
14511
  const variables = this._variables;
14486
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentDocument, "agent", this._includes, variables);
14512
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.AgentDocument, "agent", this._includes, variables);
14487
14513
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
14488
14514
  const data = response.agent;
14489
14515
  const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
@@ -14495,7 +14521,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
14495
14521
  watch(options) {
14496
14522
  const variables = this._variables;
14497
14523
  const includes = this._includes;
14498
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentDocument, "agent", includes, variables);
14524
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.AgentDocument, "agent", includes, variables);
14499
14525
  const raw = this._syncEngine.watch(
14500
14526
  queryDoc,
14501
14527
  mergedVars,
@@ -14525,7 +14551,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
14525
14551
  }
14526
14552
  /** Include chats in this query (Smart Fetch — single HTTP request). */
14527
14553
  chats(variables, builder) {
14528
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Agent_ChatsDocument, "chats", ["id"]);
14554
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Agent_ChatsDocument, "chats", ["id"]);
14529
14555
  let children;
14530
14556
  if (builder) {
14531
14557
  const sub = new ChatSubBuilder();
@@ -14534,7 +14560,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
14534
14560
  }
14535
14561
  this._includes.push({
14536
14562
  fieldName: "chats",
14537
- fragmentDoc: chunkEL37Q6V6_cjs.ChatConnectionFragmentDoc,
14563
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatConnectionFragmentDoc,
14538
14564
  variables,
14539
14565
  isConnection: true,
14540
14566
  isList: false,
@@ -14559,18 +14585,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk342BFYZZ_cjs.Request
14559
14585
  }
14560
14586
  async fetch(options) {
14561
14587
  const variables = this._variables;
14562
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Agent_ChatsDocument, variables, "agent");
14588
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Agent_ChatsDocument, variables, "agent");
14563
14589
  const data = response.agent?.chats;
14564
14590
  return new ChatConnection(this._request, (conn, opts) => new _Agent_ChatsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
14565
14591
  }
14566
14592
  watch(options) {
14567
14593
  const variables = this._variables;
14568
14594
  const raw = this._syncEngine.watch(
14569
- chunkEL37Q6V6_cjs.Agent_ChatsDocument,
14595
+ chunkYZOCWEFU_cjs.Agent_ChatsDocument,
14570
14596
  variables,
14571
14597
  "agent",
14572
14598
  async (db) => {
14573
- const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkEL37Q6V6_cjs.Agent_ChatsDocument));
14599
+ const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkYZOCWEFU_cjs.Agent_ChatsDocument));
14574
14600
  const nodes = qr ? await db.table("chats").bulkGet(qr.entityIds) : [];
14575
14601
  return { agent: { chats: { __typename: "ChatConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14576
14602
  }
@@ -14590,7 +14616,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
14590
14616
  }
14591
14617
  async fetch(options) {
14592
14618
  const variables = this._variables;
14593
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentsDocument, "agents", this._includes, variables, true);
14619
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.AgentsDocument, "agents", this._includes, variables, true);
14594
14620
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
14595
14621
  const data = response.agents;
14596
14622
  const connection = new AgentConnection(this._request, (conn, opts) => new _AgentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -14607,7 +14633,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
14607
14633
  const subscriptionId = crypto.randomUUID();
14608
14634
  const includes = this._includes;
14609
14635
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
14610
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentsDocument, "agents", includes, variables, true);
14636
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.AgentsDocument, "agents", includes, variables, true);
14611
14637
  const raw = this._syncEngine.watch(
14612
14638
  queryDoc,
14613
14639
  mergedVars,
@@ -14642,7 +14668,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
14642
14668
  }
14643
14669
  /** Include chats in this query (Smart Fetch — single HTTP request). */
14644
14670
  chats(variables, builder) {
14645
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Agent_ChatsDocument, "chats", ["id"]);
14671
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Agent_ChatsDocument, "chats", ["id"]);
14646
14672
  let children;
14647
14673
  if (builder) {
14648
14674
  const sub = new ChatSubBuilder();
@@ -14651,7 +14677,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
14651
14677
  }
14652
14678
  this._includes.push({
14653
14679
  fieldName: "chats",
14654
- fragmentDoc: chunkEL37Q6V6_cjs.ChatConnectionFragmentDoc,
14680
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatConnectionFragmentDoc,
14655
14681
  variables,
14656
14682
  isConnection: true,
14657
14683
  isList: false,
@@ -14677,7 +14703,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14677
14703
  }
14678
14704
  async fetch(options) {
14679
14705
  const variables = this._variables;
14680
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactDocument, "artifact", this._includes, variables);
14706
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ArtifactDocument, "artifact", this._includes, variables);
14681
14707
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
14682
14708
  const data = response.artifact;
14683
14709
  const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
@@ -14689,7 +14715,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14689
14715
  watch(options) {
14690
14716
  const variables = this._variables;
14691
14717
  const includes = this._includes;
14692
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactDocument, "artifact", includes, variables);
14718
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ArtifactDocument, "artifact", includes, variables);
14693
14719
  const raw = this._syncEngine.watch(
14694
14720
  queryDoc,
14695
14721
  mergedVars,
@@ -14719,7 +14745,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14719
14745
  }
14720
14746
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14721
14747
  chat(variables, builder) {
14722
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_ChatDocument, "chat", ["id"]);
14748
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Artifact_ChatDocument, "chat", ["id"]);
14723
14749
  let children;
14724
14750
  if (builder) {
14725
14751
  const sub = new ChatSubBuilder();
@@ -14728,7 +14754,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14728
14754
  }
14729
14755
  this._includes.push({
14730
14756
  fieldName: "chat",
14731
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
14757
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatFragmentDoc,
14732
14758
  variables,
14733
14759
  isConnection: false,
14734
14760
  isList: false,
@@ -14745,10 +14771,10 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14745
14771
  }
14746
14772
  /** Include file in this query (Smart Fetch — single HTTP request). */
14747
14773
  file(variables) {
14748
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_FileDocument, "file", ["id"]);
14774
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Artifact_FileDocument, "file", ["id"]);
14749
14775
  this._includes.push({
14750
14776
  fieldName: "file",
14751
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
14777
+ fragmentDoc: chunkYZOCWEFU_cjs.FileFragmentDoc,
14752
14778
  variables,
14753
14779
  isConnection: false,
14754
14780
  isList: false,
@@ -14764,7 +14790,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14764
14790
  }
14765
14791
  /** Include message in this query (Smart Fetch — single HTTP request). */
14766
14792
  message(variables, builder) {
14767
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_MessageDocument, "message", ["id"]);
14793
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Artifact_MessageDocument, "message", ["id"]);
14768
14794
  let children;
14769
14795
  if (builder) {
14770
14796
  const sub = new ChatMessageSubBuilder();
@@ -14773,7 +14799,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14773
14799
  }
14774
14800
  this._includes.push({
14775
14801
  fieldName: "message",
14776
- fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageFragmentDoc,
14802
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatMessageFragmentDoc,
14777
14803
  variables,
14778
14804
  isConnection: false,
14779
14805
  isList: false,
@@ -14797,14 +14823,14 @@ var Artifact_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14797
14823
  }
14798
14824
  async fetch(options) {
14799
14825
  const variables = this._variables;
14800
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_ChatDocument, variables, "artifact");
14826
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Artifact_ChatDocument, variables, "artifact");
14801
14827
  const data = response.artifact?.chat;
14802
14828
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14803
14829
  }
14804
14830
  watch(options) {
14805
14831
  const variables = this._variables;
14806
14832
  const raw = this._syncEngine.watch(
14807
- chunkEL37Q6V6_cjs.Artifact_ChatDocument,
14833
+ chunkYZOCWEFU_cjs.Artifact_ChatDocument,
14808
14834
  variables,
14809
14835
  "artifact",
14810
14836
  async (db) => {
@@ -14827,14 +14853,14 @@ var Artifact_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
14827
14853
  }
14828
14854
  async fetch(options) {
14829
14855
  const variables = this._variables;
14830
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
14856
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
14831
14857
  const data = response.artifact?.chat?.insight;
14832
14858
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14833
14859
  }
14834
14860
  watch(options) {
14835
14861
  const variables = this._variables;
14836
14862
  const raw = this._syncEngine.watch(
14837
- chunkEL37Q6V6_cjs.Artifact_Chat_InsightDocument,
14863
+ chunkYZOCWEFU_cjs.Artifact_Chat_InsightDocument,
14838
14864
  variables,
14839
14865
  "artifact",
14840
14866
  async (db) => {
@@ -14857,14 +14883,14 @@ var Artifact_FileQuery = class extends chunk342BFYZZ_cjs.Request {
14857
14883
  }
14858
14884
  async fetch(options) {
14859
14885
  const variables = this._variables;
14860
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_FileDocument, variables, "artifact");
14886
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Artifact_FileDocument, variables, "artifact");
14861
14887
  const data = response.artifact?.file;
14862
14888
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14863
14889
  }
14864
14890
  watch(options) {
14865
14891
  const variables = this._variables;
14866
14892
  const raw = this._syncEngine.watch(
14867
- chunkEL37Q6V6_cjs.Artifact_FileDocument,
14893
+ chunkYZOCWEFU_cjs.Artifact_FileDocument,
14868
14894
  variables,
14869
14895
  "artifact",
14870
14896
  async (db) => {
@@ -14887,14 +14913,14 @@ var Artifact_MessageQuery = class extends chunk342BFYZZ_cjs.Request {
14887
14913
  }
14888
14914
  async fetch(options) {
14889
14915
  const variables = this._variables;
14890
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_MessageDocument, variables, "artifact");
14916
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Artifact_MessageDocument, variables, "artifact");
14891
14917
  const data = response.artifact?.message;
14892
14918
  return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14893
14919
  }
14894
14920
  watch(options) {
14895
14921
  const variables = this._variables;
14896
14922
  const raw = this._syncEngine.watch(
14897
- chunkEL37Q6V6_cjs.Artifact_MessageDocument,
14923
+ chunkYZOCWEFU_cjs.Artifact_MessageDocument,
14898
14924
  variables,
14899
14925
  "artifact",
14900
14926
  async (db) => {
@@ -14917,14 +14943,14 @@ var Artifact_Message_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14917
14943
  }
14918
14944
  async fetch(options) {
14919
14945
  const variables = this._variables;
14920
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Message_ChatDocument, variables, "artifact");
14946
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Artifact_Message_ChatDocument, variables, "artifact");
14921
14947
  const data = response.artifact?.message?.chat;
14922
14948
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14923
14949
  }
14924
14950
  watch(options) {
14925
14951
  const variables = this._variables;
14926
14952
  const raw = this._syncEngine.watch(
14927
- chunkEL37Q6V6_cjs.Artifact_Message_ChatDocument,
14953
+ chunkYZOCWEFU_cjs.Artifact_Message_ChatDocument,
14928
14954
  variables,
14929
14955
  "artifact",
14930
14956
  async (db) => {
@@ -14946,7 +14972,7 @@ var Artifact_Message_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
14946
14972
  this._variables = variables;
14947
14973
  }
14948
14974
  async fetch(options) {
14949
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
14975
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
14950
14976
  const data = response.artifact?.message?.contents;
14951
14977
  if (!Array.isArray(data)) return [];
14952
14978
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -14960,14 +14986,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
14960
14986
  }
14961
14987
  async fetch(options) {
14962
14988
  const variables = this._variables;
14963
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
14989
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
14964
14990
  const data = response.artifact?.message?.feedback;
14965
14991
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14966
14992
  }
14967
14993
  watch(options) {
14968
14994
  const variables = this._variables;
14969
14995
  const raw = this._syncEngine.watch(
14970
- chunkEL37Q6V6_cjs.Artifact_Message_FeedbackDocument,
14996
+ chunkYZOCWEFU_cjs.Artifact_Message_FeedbackDocument,
14971
14997
  variables,
14972
14998
  "artifact",
14973
14999
  async (db) => {
@@ -14991,7 +15017,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
14991
15017
  }
14992
15018
  async fetch(options) {
14993
15019
  const variables = this._variables;
14994
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
15020
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
14995
15021
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
14996
15022
  const data = response.artifacts;
14997
15023
  const connection = new ArtifactConnection(this._request, (conn, opts) => new _ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15008,7 +15034,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
15008
15034
  const subscriptionId = crypto.randomUUID();
15009
15035
  const includes = this._includes;
15010
15036
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
15011
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
15037
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
15012
15038
  const raw = this._syncEngine.watch(
15013
15039
  queryDoc,
15014
15040
  mergedVars,
@@ -15043,7 +15069,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
15043
15069
  }
15044
15070
  /** Include chat in this query (Smart Fetch — single HTTP request). */
15045
15071
  chat(variables, builder) {
15046
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_ChatDocument, "chat", ["id"]);
15072
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Artifact_ChatDocument, "chat", ["id"]);
15047
15073
  let children;
15048
15074
  if (builder) {
15049
15075
  const sub = new ChatSubBuilder();
@@ -15052,7 +15078,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
15052
15078
  }
15053
15079
  this._includes.push({
15054
15080
  fieldName: "chat",
15055
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
15081
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatFragmentDoc,
15056
15082
  variables,
15057
15083
  isConnection: false,
15058
15084
  isList: false,
@@ -15069,10 +15095,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
15069
15095
  }
15070
15096
  /** Include file in this query (Smart Fetch — single HTTP request). */
15071
15097
  file(variables) {
15072
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_FileDocument, "file", ["id"]);
15098
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Artifact_FileDocument, "file", ["id"]);
15073
15099
  this._includes.push({
15074
15100
  fieldName: "file",
15075
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
15101
+ fragmentDoc: chunkYZOCWEFU_cjs.FileFragmentDoc,
15076
15102
  variables,
15077
15103
  isConnection: false,
15078
15104
  isList: false,
@@ -15088,7 +15114,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
15088
15114
  }
15089
15115
  /** Include message in this query (Smart Fetch — single HTTP request). */
15090
15116
  message(variables, builder) {
15091
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_MessageDocument, "message", ["id"]);
15117
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Artifact_MessageDocument, "message", ["id"]);
15092
15118
  let children;
15093
15119
  if (builder) {
15094
15120
  const sub = new ChatMessageSubBuilder();
@@ -15097,7 +15123,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
15097
15123
  }
15098
15124
  this._includes.push({
15099
15125
  fieldName: "message",
15100
- fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageFragmentDoc,
15126
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatMessageFragmentDoc,
15101
15127
  variables,
15102
15128
  isConnection: false,
15103
15129
  isList: false,
@@ -15122,7 +15148,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15122
15148
  }
15123
15149
  async fetch(options) {
15124
15150
  const variables = this._variables;
15125
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatDocument, "chat", this._includes, variables);
15151
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ChatDocument, "chat", this._includes, variables);
15126
15152
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
15127
15153
  const data = response.chat;
15128
15154
  const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
@@ -15134,7 +15160,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15134
15160
  watch(options) {
15135
15161
  const variables = this._variables;
15136
15162
  const includes = this._includes;
15137
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatDocument, "chat", includes, variables);
15163
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ChatDocument, "chat", includes, variables);
15138
15164
  const raw = this._syncEngine.watch(
15139
15165
  queryDoc,
15140
15166
  mergedVars,
@@ -15164,7 +15190,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15164
15190
  }
15165
15191
  /** Include agents in this query (Smart Fetch — single HTTP request). */
15166
15192
  agents(variables, builder) {
15167
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_AgentsDocument, "agents", ["id"]);
15193
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Chat_AgentsDocument, "agents", ["id"]);
15168
15194
  let children;
15169
15195
  if (builder) {
15170
15196
  const sub = new AgentSubBuilder();
@@ -15173,7 +15199,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15173
15199
  }
15174
15200
  this._includes.push({
15175
15201
  fieldName: "agents",
15176
- fragmentDoc: chunkEL37Q6V6_cjs.AgentConnectionFragmentDoc,
15202
+ fragmentDoc: chunkYZOCWEFU_cjs.AgentConnectionFragmentDoc,
15177
15203
  variables,
15178
15204
  isConnection: true,
15179
15205
  isList: false,
@@ -15191,7 +15217,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15191
15217
  }
15192
15218
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
15193
15219
  artifacts(variables, builder) {
15194
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
15220
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
15195
15221
  let children;
15196
15222
  if (builder) {
15197
15223
  const sub = new ArtifactSubBuilder();
@@ -15200,7 +15226,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15200
15226
  }
15201
15227
  this._includes.push({
15202
15228
  fieldName: "artifacts",
15203
- fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
15229
+ fragmentDoc: chunkYZOCWEFU_cjs.ArtifactConnectionFragmentDoc,
15204
15230
  variables,
15205
15231
  isConnection: true,
15206
15232
  isList: false,
@@ -15218,7 +15244,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15218
15244
  }
15219
15245
  /** Include insight in this query (Smart Fetch — single HTTP request). */
15220
15246
  insight(variables, builder) {
15221
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_InsightDocument, "insight", ["id"]);
15247
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Chat_InsightDocument, "insight", ["id"]);
15222
15248
  let children;
15223
15249
  if (builder) {
15224
15250
  const sub = new InsightSubBuilder();
@@ -15227,7 +15253,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15227
15253
  }
15228
15254
  this._includes.push({
15229
15255
  fieldName: "insight",
15230
- fragmentDoc: chunkEL37Q6V6_cjs.InsightFragmentDoc,
15256
+ fragmentDoc: chunkYZOCWEFU_cjs.InsightFragmentDoc,
15231
15257
  variables,
15232
15258
  isConnection: false,
15233
15259
  isList: false,
@@ -15244,7 +15270,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15244
15270
  }
15245
15271
  /** Include messages in this query (Smart Fetch — single HTTP request). */
15246
15272
  messages(variables, builder) {
15247
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_MessagesDocument, "messages", ["id"]);
15273
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Chat_MessagesDocument, "messages", ["id"]);
15248
15274
  let children;
15249
15275
  if (builder) {
15250
15276
  const sub = new ChatMessageSubBuilder();
@@ -15253,7 +15279,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15253
15279
  }
15254
15280
  this._includes.push({
15255
15281
  fieldName: "messages",
15256
- fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageConnectionFragmentDoc,
15282
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatMessageConnectionFragmentDoc,
15257
15283
  variables,
15258
15284
  isConnection: true,
15259
15285
  isList: false,
@@ -15278,18 +15304,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk342BFYZZ_cjs.Request
15278
15304
  }
15279
15305
  async fetch(options) {
15280
15306
  const variables = this._variables;
15281
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_AgentsDocument, variables, "chat");
15307
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Chat_AgentsDocument, variables, "chat");
15282
15308
  const data = response.chat?.agents;
15283
15309
  return new AgentConnection(this._request, (conn, opts) => new _Chat_AgentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
15284
15310
  }
15285
15311
  watch(options) {
15286
15312
  const variables = this._variables;
15287
15313
  const raw = this._syncEngine.watch(
15288
- chunkEL37Q6V6_cjs.Chat_AgentsDocument,
15314
+ chunkYZOCWEFU_cjs.Chat_AgentsDocument,
15289
15315
  variables,
15290
15316
  "chat",
15291
15317
  async (db) => {
15292
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkEL37Q6V6_cjs.Chat_AgentsDocument));
15318
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkYZOCWEFU_cjs.Chat_AgentsDocument));
15293
15319
  const nodes = qr ? await db.table("agents").bulkGet(qr.entityIds) : [];
15294
15320
  return { chat: { agents: { __typename: "AgentConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15295
15321
  }
@@ -15308,18 +15334,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk342BFYZZ_cjs.R
15308
15334
  }
15309
15335
  async fetch(options) {
15310
15336
  const variables = this._variables;
15311
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, variables, "chat");
15337
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Chat_ArtifactsDocument, variables, "chat");
15312
15338
  const data = response.chat?.artifacts;
15313
15339
  return new ArtifactConnection(this._request, (conn, opts) => new _Chat_ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
15314
15340
  }
15315
15341
  watch(options) {
15316
15342
  const variables = this._variables;
15317
15343
  const raw = this._syncEngine.watch(
15318
- chunkEL37Q6V6_cjs.Chat_ArtifactsDocument,
15344
+ chunkYZOCWEFU_cjs.Chat_ArtifactsDocument,
15319
15345
  variables,
15320
15346
  "chat",
15321
15347
  async (db) => {
15322
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkEL37Q6V6_cjs.Chat_ArtifactsDocument));
15348
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkYZOCWEFU_cjs.Chat_ArtifactsDocument));
15323
15349
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
15324
15350
  return { chat: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15325
15351
  }
@@ -15338,14 +15364,14 @@ var Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
15338
15364
  }
15339
15365
  async fetch(options) {
15340
15366
  const variables = this._variables;
15341
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_InsightDocument, variables, "chat");
15367
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Chat_InsightDocument, variables, "chat");
15342
15368
  const data = response.chat?.insight;
15343
15369
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15344
15370
  }
15345
15371
  watch(options) {
15346
15372
  const variables = this._variables;
15347
15373
  const raw = this._syncEngine.watch(
15348
- chunkEL37Q6V6_cjs.Chat_InsightDocument,
15374
+ chunkYZOCWEFU_cjs.Chat_InsightDocument,
15349
15375
  variables,
15350
15376
  "chat",
15351
15377
  async (db) => {
@@ -15367,7 +15393,7 @@ var Chat_Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
15367
15393
  this._variables = variables;
15368
15394
  }
15369
15395
  async fetch(options) {
15370
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
15396
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
15371
15397
  const data = response.chat?.insight?.reportMembers;
15372
15398
  if (!Array.isArray(data)) return [];
15373
15399
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -15381,14 +15407,14 @@ var Chat_Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
15381
15407
  }
15382
15408
  async fetch(options) {
15383
15409
  const variables = this._variables;
15384
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
15410
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
15385
15411
  const data = response.chat?.insight?.thumbnailFile;
15386
15412
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15387
15413
  }
15388
15414
  watch(options) {
15389
15415
  const variables = this._variables;
15390
15416
  const raw = this._syncEngine.watch(
15391
- chunkEL37Q6V6_cjs.Chat_Insight_ThumbnailFileDocument,
15417
+ chunkYZOCWEFU_cjs.Chat_Insight_ThumbnailFileDocument,
15392
15418
  variables,
15393
15419
  "chat",
15394
15420
  async (db) => {
@@ -15411,18 +15437,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk342BFYZZ_cjs.Req
15411
15437
  }
15412
15438
  async fetch(options) {
15413
15439
  const variables = this._variables;
15414
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_MessagesDocument, variables, "chat");
15440
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Chat_MessagesDocument, variables, "chat");
15415
15441
  const data = response.chat?.messages;
15416
15442
  return new ChatMessageConnection(this._request, (conn, opts) => new _Chat_MessagesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
15417
15443
  }
15418
15444
  watch(options) {
15419
15445
  const variables = this._variables;
15420
15446
  const raw = this._syncEngine.watch(
15421
- chunkEL37Q6V6_cjs.Chat_MessagesDocument,
15447
+ chunkYZOCWEFU_cjs.Chat_MessagesDocument,
15422
15448
  variables,
15423
15449
  "chat",
15424
15450
  async (db) => {
15425
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkEL37Q6V6_cjs.Chat_MessagesDocument));
15451
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkYZOCWEFU_cjs.Chat_MessagesDocument));
15426
15452
  const nodes = qr ? await db.table("chatMessages").bulkGet(qr.entityIds) : [];
15427
15453
  return { chat: { messages: { __typename: "ChatMessageConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15428
15454
  }
@@ -15442,7 +15468,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15442
15468
  }
15443
15469
  async fetch(options) {
15444
15470
  const variables = this._variables;
15445
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
15471
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
15446
15472
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
15447
15473
  const data = response.chatMessage;
15448
15474
  const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
@@ -15454,7 +15480,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15454
15480
  watch(options) {
15455
15481
  const variables = this._variables;
15456
15482
  const includes = this._includes;
15457
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessageDocument, "chatMessage", includes, variables);
15483
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ChatMessageDocument, "chatMessage", includes, variables);
15458
15484
  const raw = this._syncEngine.watch(
15459
15485
  queryDoc,
15460
15486
  mergedVars,
@@ -15484,7 +15510,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15484
15510
  }
15485
15511
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
15486
15512
  artifacts(variables, builder) {
15487
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
15513
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
15488
15514
  let children;
15489
15515
  if (builder) {
15490
15516
  const sub = new ArtifactSubBuilder();
@@ -15493,7 +15519,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15493
15519
  }
15494
15520
  this._includes.push({
15495
15521
  fieldName: "artifacts",
15496
- fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
15522
+ fragmentDoc: chunkYZOCWEFU_cjs.ArtifactConnectionFragmentDoc,
15497
15523
  variables,
15498
15524
  isConnection: true,
15499
15525
  isList: false,
@@ -15511,7 +15537,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15511
15537
  }
15512
15538
  /** Include chat in this query (Smart Fetch — single HTTP request). */
15513
15539
  chat(variables, builder) {
15514
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
15540
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
15515
15541
  let children;
15516
15542
  if (builder) {
15517
15543
  const sub = new ChatSubBuilder();
@@ -15520,7 +15546,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15520
15546
  }
15521
15547
  this._includes.push({
15522
15548
  fieldName: "chat",
15523
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
15549
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatFragmentDoc,
15524
15550
  variables,
15525
15551
  isConnection: false,
15526
15552
  isList: false,
@@ -15537,10 +15563,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15537
15563
  }
15538
15564
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15539
15565
  contents(variables) {
15540
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
15566
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
15541
15567
  this._includes.push({
15542
15568
  fieldName: "contents",
15543
- fragmentDoc: chunkEL37Q6V6_cjs.ContentBlockFragmentDoc,
15569
+ fragmentDoc: chunkYZOCWEFU_cjs.ContentBlockFragmentDoc,
15544
15570
  variables,
15545
15571
  isConnection: false,
15546
15572
  isList: true,
@@ -15556,10 +15582,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15556
15582
  }
15557
15583
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
15558
15584
  feedback(variables) {
15559
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
15585
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
15560
15586
  this._includes.push({
15561
15587
  fieldName: "feedback",
15562
- fragmentDoc: chunkEL37Q6V6_cjs.FeedbackFragmentDoc,
15588
+ fragmentDoc: chunkYZOCWEFU_cjs.FeedbackFragmentDoc,
15563
15589
  variables,
15564
15590
  isConnection: false,
15565
15591
  isList: false,
@@ -15582,18 +15608,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
15582
15608
  }
15583
15609
  async fetch(options) {
15584
15610
  const variables = this._variables;
15585
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
15611
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
15586
15612
  const data = response.chatMessage?.artifacts;
15587
15613
  return new ArtifactConnection(this._request, (conn, opts) => new _ChatMessage_ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
15588
15614
  }
15589
15615
  watch(options) {
15590
15616
  const variables = this._variables;
15591
15617
  const raw = this._syncEngine.watch(
15592
- chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument,
15618
+ chunkYZOCWEFU_cjs.ChatMessage_ArtifactsDocument,
15593
15619
  variables,
15594
15620
  "chatMessage",
15595
15621
  async (db) => {
15596
- const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument));
15622
+ const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkYZOCWEFU_cjs.ChatMessage_ArtifactsDocument));
15597
15623
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
15598
15624
  return { chatMessage: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15599
15625
  }
@@ -15612,14 +15638,14 @@ var ChatMessage_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15612
15638
  }
15613
15639
  async fetch(options) {
15614
15640
  const variables = this._variables;
15615
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
15641
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
15616
15642
  const data = response.chatMessage?.chat;
15617
15643
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15618
15644
  }
15619
15645
  watch(options) {
15620
15646
  const variables = this._variables;
15621
15647
  const raw = this._syncEngine.watch(
15622
- chunkEL37Q6V6_cjs.ChatMessage_ChatDocument,
15648
+ chunkYZOCWEFU_cjs.ChatMessage_ChatDocument,
15623
15649
  variables,
15624
15650
  "chatMessage",
15625
15651
  async (db) => {
@@ -15642,14 +15668,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
15642
15668
  }
15643
15669
  async fetch(options) {
15644
15670
  const variables = this._variables;
15645
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
15671
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
15646
15672
  const data = response.chatMessage?.chat?.insight;
15647
15673
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15648
15674
  }
15649
15675
  watch(options) {
15650
15676
  const variables = this._variables;
15651
15677
  const raw = this._syncEngine.watch(
15652
- chunkEL37Q6V6_cjs.ChatMessage_Chat_InsightDocument,
15678
+ chunkYZOCWEFU_cjs.ChatMessage_Chat_InsightDocument,
15653
15679
  variables,
15654
15680
  "chatMessage",
15655
15681
  async (db) => {
@@ -15671,7 +15697,7 @@ var ChatMessage_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
15671
15697
  this._variables = variables;
15672
15698
  }
15673
15699
  async fetch(options) {
15674
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
15700
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
15675
15701
  const data = response.chatMessage?.contents;
15676
15702
  if (!Array.isArray(data)) return [];
15677
15703
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -15685,14 +15711,14 @@ var ChatMessage_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
15685
15711
  }
15686
15712
  async fetch(options) {
15687
15713
  const variables = this._variables;
15688
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
15714
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
15689
15715
  const data = response.chatMessage?.feedback;
15690
15716
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15691
15717
  }
15692
15718
  watch(options) {
15693
15719
  const variables = this._variables;
15694
15720
  const raw = this._syncEngine.watch(
15695
- chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument,
15721
+ chunkYZOCWEFU_cjs.ChatMessage_FeedbackDocument,
15696
15722
  variables,
15697
15723
  "chatMessage",
15698
15724
  async (db) => {
@@ -15716,7 +15742,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15716
15742
  }
15717
15743
  async fetch(options) {
15718
15744
  const variables = this._variables;
15719
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
15745
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
15720
15746
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
15721
15747
  const data = response.chatMessages;
15722
15748
  const connection = new ChatMessageConnection(this._request, (conn, opts) => new _ChatMessagesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15733,7 +15759,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15733
15759
  const subscriptionId = crypto.randomUUID();
15734
15760
  const includes = this._includes;
15735
15761
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
15736
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
15762
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
15737
15763
  const raw = this._syncEngine.watch(
15738
15764
  queryDoc,
15739
15765
  mergedVars,
@@ -15768,7 +15794,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15768
15794
  }
15769
15795
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
15770
15796
  artifacts(variables, builder) {
15771
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
15797
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
15772
15798
  let children;
15773
15799
  if (builder) {
15774
15800
  const sub = new ArtifactSubBuilder();
@@ -15777,7 +15803,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15777
15803
  }
15778
15804
  this._includes.push({
15779
15805
  fieldName: "artifacts",
15780
- fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
15806
+ fragmentDoc: chunkYZOCWEFU_cjs.ArtifactConnectionFragmentDoc,
15781
15807
  variables,
15782
15808
  isConnection: true,
15783
15809
  isList: false,
@@ -15795,7 +15821,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15795
15821
  }
15796
15822
  /** Include chat in this query (Smart Fetch — single HTTP request). */
15797
15823
  chat(variables, builder) {
15798
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
15824
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
15799
15825
  let children;
15800
15826
  if (builder) {
15801
15827
  const sub = new ChatSubBuilder();
@@ -15804,7 +15830,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15804
15830
  }
15805
15831
  this._includes.push({
15806
15832
  fieldName: "chat",
15807
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
15833
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatFragmentDoc,
15808
15834
  variables,
15809
15835
  isConnection: false,
15810
15836
  isList: false,
@@ -15821,10 +15847,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15821
15847
  }
15822
15848
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15823
15849
  contents(variables) {
15824
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
15850
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
15825
15851
  this._includes.push({
15826
15852
  fieldName: "contents",
15827
- fragmentDoc: chunkEL37Q6V6_cjs.ContentBlockFragmentDoc,
15853
+ fragmentDoc: chunkYZOCWEFU_cjs.ContentBlockFragmentDoc,
15828
15854
  variables,
15829
15855
  isConnection: false,
15830
15856
  isList: true,
@@ -15840,10 +15866,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15840
15866
  }
15841
15867
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
15842
15868
  feedback(variables) {
15843
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
15869
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
15844
15870
  this._includes.push({
15845
15871
  fieldName: "feedback",
15846
- fragmentDoc: chunkEL37Q6V6_cjs.FeedbackFragmentDoc,
15872
+ fragmentDoc: chunkYZOCWEFU_cjs.FeedbackFragmentDoc,
15847
15873
  variables,
15848
15874
  isConnection: false,
15849
15875
  isList: false,
@@ -15867,7 +15893,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15867
15893
  }
15868
15894
  async fetch(options) {
15869
15895
  const variables = this._variables;
15870
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatsDocument, "chats", this._includes, variables, true);
15896
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ChatsDocument, "chats", this._includes, variables, true);
15871
15897
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
15872
15898
  const data = response.chats;
15873
15899
  const connection = new ChatConnection(this._request, (conn, opts) => new _ChatsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15884,7 +15910,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15884
15910
  const subscriptionId = crypto.randomUUID();
15885
15911
  const includes = this._includes;
15886
15912
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
15887
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatsDocument, "chats", includes, variables, true);
15913
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ChatsDocument, "chats", includes, variables, true);
15888
15914
  const raw = this._syncEngine.watch(
15889
15915
  queryDoc,
15890
15916
  mergedVars,
@@ -15919,7 +15945,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15919
15945
  }
15920
15946
  /** Include agents in this query (Smart Fetch — single HTTP request). */
15921
15947
  agents(variables, builder) {
15922
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_AgentsDocument, "agents", ["id"]);
15948
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Chat_AgentsDocument, "agents", ["id"]);
15923
15949
  let children;
15924
15950
  if (builder) {
15925
15951
  const sub = new AgentSubBuilder();
@@ -15928,7 +15954,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15928
15954
  }
15929
15955
  this._includes.push({
15930
15956
  fieldName: "agents",
15931
- fragmentDoc: chunkEL37Q6V6_cjs.AgentConnectionFragmentDoc,
15957
+ fragmentDoc: chunkYZOCWEFU_cjs.AgentConnectionFragmentDoc,
15932
15958
  variables,
15933
15959
  isConnection: true,
15934
15960
  isList: false,
@@ -15946,7 +15972,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15946
15972
  }
15947
15973
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
15948
15974
  artifacts(variables, builder) {
15949
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
15975
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
15950
15976
  let children;
15951
15977
  if (builder) {
15952
15978
  const sub = new ArtifactSubBuilder();
@@ -15955,7 +15981,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15955
15981
  }
15956
15982
  this._includes.push({
15957
15983
  fieldName: "artifacts",
15958
- fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
15984
+ fragmentDoc: chunkYZOCWEFU_cjs.ArtifactConnectionFragmentDoc,
15959
15985
  variables,
15960
15986
  isConnection: true,
15961
15987
  isList: false,
@@ -15973,7 +15999,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15973
15999
  }
15974
16000
  /** Include insight in this query (Smart Fetch — single HTTP request). */
15975
16001
  insight(variables, builder) {
15976
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_InsightDocument, "insight", ["id"]);
16002
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Chat_InsightDocument, "insight", ["id"]);
15977
16003
  let children;
15978
16004
  if (builder) {
15979
16005
  const sub = new InsightSubBuilder();
@@ -15982,7 +16008,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15982
16008
  }
15983
16009
  this._includes.push({
15984
16010
  fieldName: "insight",
15985
- fragmentDoc: chunkEL37Q6V6_cjs.InsightFragmentDoc,
16011
+ fragmentDoc: chunkYZOCWEFU_cjs.InsightFragmentDoc,
15986
16012
  variables,
15987
16013
  isConnection: false,
15988
16014
  isList: false,
@@ -15999,7 +16025,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15999
16025
  }
16000
16026
  /** Include messages in this query (Smart Fetch — single HTTP request). */
16001
16027
  messages(variables, builder) {
16002
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_MessagesDocument, "messages", ["id"]);
16028
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Chat_MessagesDocument, "messages", ["id"]);
16003
16029
  let children;
16004
16030
  if (builder) {
16005
16031
  const sub = new ChatMessageSubBuilder();
@@ -16008,7 +16034,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
16008
16034
  }
16009
16035
  this._includes.push({
16010
16036
  fieldName: "messages",
16011
- fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageConnectionFragmentDoc,
16037
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatMessageConnectionFragmentDoc,
16012
16038
  variables,
16013
16039
  isConnection: true,
16014
16040
  isList: false,
@@ -16034,7 +16060,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
16034
16060
  }
16035
16061
  async fetch(options) {
16036
16062
  const variables = this._variables;
16037
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseDocument, "database", this._includes, variables);
16063
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DatabaseDocument, "database", this._includes, variables);
16038
16064
  const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
16039
16065
  const data = response.database;
16040
16066
  const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
@@ -16046,7 +16072,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
16046
16072
  watch(options) {
16047
16073
  const variables = this._variables;
16048
16074
  const includes = this._includes;
16049
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseDocument, "database", includes, variables);
16075
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DatabaseDocument, "database", includes, variables);
16050
16076
  const raw = this._syncEngine.watch(
16051
16077
  queryDoc,
16052
16078
  mergedVars,
@@ -16076,10 +16102,10 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
16076
16102
  }
16077
16103
  /** Include engine in this query (Smart Fetch — single HTTP request). */
16078
16104
  engine(variables) {
16079
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_EngineDocument, "engine", ["id"]);
16105
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Database_EngineDocument, "engine", ["id"]);
16080
16106
  this._includes.push({
16081
16107
  fieldName: "engine",
16082
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
16108
+ fragmentDoc: chunkYZOCWEFU_cjs.DatabaseEngineFragmentDoc,
16083
16109
  variables,
16084
16110
  isConnection: false,
16085
16111
  isList: false,
@@ -16095,7 +16121,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
16095
16121
  }
16096
16122
  /** Include tables in this query (Smart Fetch — single HTTP request). */
16097
16123
  tables(variables, builder) {
16098
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_TablesDocument, "tables", ["id"]);
16124
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Database_TablesDocument, "tables", ["id"]);
16099
16125
  let children;
16100
16126
  if (builder) {
16101
16127
  const sub = new TableSubBuilder();
@@ -16104,7 +16130,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
16104
16130
  }
16105
16131
  this._includes.push({
16106
16132
  fieldName: "tables",
16107
- fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
16133
+ fragmentDoc: chunkYZOCWEFU_cjs.TableConnectionFragmentDoc,
16108
16134
  variables,
16109
16135
  isConnection: true,
16110
16136
  isList: false,
@@ -16129,14 +16155,14 @@ var Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
16129
16155
  }
16130
16156
  async fetch(options) {
16131
16157
  const variables = this._variables;
16132
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Database_EngineDocument, variables, "database");
16158
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Database_EngineDocument, variables, "database");
16133
16159
  const data = response.database?.engine;
16134
16160
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16135
16161
  }
16136
16162
  watch(options) {
16137
16163
  const variables = this._variables;
16138
16164
  const raw = this._syncEngine.watch(
16139
- chunkEL37Q6V6_cjs.Database_EngineDocument,
16165
+ chunkYZOCWEFU_cjs.Database_EngineDocument,
16140
16166
  variables,
16141
16167
  "database",
16142
16168
  async (db) => {
@@ -16159,14 +16185,14 @@ var Database_Engine_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16159
16185
  }
16160
16186
  async fetch(options) {
16161
16187
  const variables = this._variables;
16162
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Database_Engine_CatalogDocument, variables, "database");
16188
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Database_Engine_CatalogDocument, variables, "database");
16163
16189
  const data = response.database?.engine?.catalog;
16164
16190
  return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16165
16191
  }
16166
16192
  watch(options) {
16167
16193
  const variables = this._variables;
16168
16194
  const raw = this._syncEngine.watch(
16169
- chunkEL37Q6V6_cjs.Database_Engine_CatalogDocument,
16195
+ chunkYZOCWEFU_cjs.Database_Engine_CatalogDocument,
16170
16196
  variables,
16171
16197
  "database",
16172
16198
  async (db) => {
@@ -16189,18 +16215,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk342BFYZZ_cjs
16189
16215
  }
16190
16216
  async fetch(options) {
16191
16217
  const variables = this._variables;
16192
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Database_TablesDocument, variables, "database");
16218
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Database_TablesDocument, variables, "database");
16193
16219
  const data = response.database?.tables;
16194
16220
  return new TableConnection(this._request, (conn, opts) => new _Database_TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
16195
16221
  }
16196
16222
  watch(options) {
16197
16223
  const variables = this._variables;
16198
16224
  const raw = this._syncEngine.watch(
16199
- chunkEL37Q6V6_cjs.Database_TablesDocument,
16225
+ chunkYZOCWEFU_cjs.Database_TablesDocument,
16200
16226
  variables,
16201
16227
  "database",
16202
16228
  async (db) => {
16203
- const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkEL37Q6V6_cjs.Database_TablesDocument));
16229
+ const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkYZOCWEFU_cjs.Database_TablesDocument));
16204
16230
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
16205
16231
  return { database: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
16206
16232
  }
@@ -16220,7 +16246,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16220
16246
  }
16221
16247
  async fetch(options) {
16222
16248
  const variables = this._variables;
16223
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
16249
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
16224
16250
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
16225
16251
  const data = response.databaseCatalog;
16226
16252
  const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -16232,7 +16258,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16232
16258
  watch(options) {
16233
16259
  const variables = this._variables;
16234
16260
  const includes = this._includes;
16235
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
16261
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
16236
16262
  const raw = this._syncEngine.watch(
16237
16263
  queryDoc,
16238
16264
  mergedVars,
@@ -16262,10 +16288,10 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16262
16288
  }
16263
16289
  /** Include engine in this query (Smart Fetch — single HTTP request). */
16264
16290
  engine(variables) {
16265
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, "engine", []);
16291
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.DatabaseCatalog_EngineDocument, "engine", []);
16266
16292
  this._includes.push({
16267
16293
  fieldName: "engine",
16268
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
16294
+ fragmentDoc: chunkYZOCWEFU_cjs.DatabaseEngineFragmentDoc,
16269
16295
  variables,
16270
16296
  isConnection: false,
16271
16297
  isList: false,
@@ -16288,14 +16314,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
16288
16314
  }
16289
16315
  async fetch(options) {
16290
16316
  const variables = this._variables;
16291
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
16317
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
16292
16318
  const data = response.databaseCatalog?.engine;
16293
16319
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16294
16320
  }
16295
16321
  watch(options) {
16296
16322
  const variables = this._variables;
16297
16323
  const raw = this._syncEngine.watch(
16298
- chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument,
16324
+ chunkYZOCWEFU_cjs.DatabaseCatalog_EngineDocument,
16299
16325
  variables,
16300
16326
  "databaseCatalog",
16301
16327
  async (db) => {
@@ -16319,7 +16345,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
16319
16345
  }
16320
16346
  async fetch(options) {
16321
16347
  const variables = this._variables;
16322
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
16348
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
16323
16349
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
16324
16350
  const data = response.databaseCatalogs;
16325
16351
  const connection = new DatabaseCatalogConnection(this._request, (conn, opts) => new _DatabaseCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16336,7 +16362,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
16336
16362
  const subscriptionId = crypto.randomUUID();
16337
16363
  const includes = this._includes;
16338
16364
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
16339
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
16365
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
16340
16366
  const raw = this._syncEngine.watch(
16341
16367
  queryDoc,
16342
16368
  mergedVars,
@@ -16371,10 +16397,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
16371
16397
  }
16372
16398
  /** Include engine in this query (Smart Fetch — single HTTP request). */
16373
16399
  engine(variables) {
16374
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, "engine", []);
16400
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.DatabaseCatalog_EngineDocument, "engine", []);
16375
16401
  this._includes.push({
16376
16402
  fieldName: "engine",
16377
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
16403
+ fragmentDoc: chunkYZOCWEFU_cjs.DatabaseEngineFragmentDoc,
16378
16404
  variables,
16379
16405
  isConnection: false,
16380
16406
  isList: false,
@@ -16391,7 +16417,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
16391
16417
  };
16392
16418
  var DatabaseSchemaQuery = class extends chunk342BFYZZ_cjs.Request {
16393
16419
  async fetch(variables) {
16394
- const response = await this._request(chunkEL37Q6V6_cjs.DatabaseSchemaDocument, variables);
16420
+ const response = await this._request(chunkYZOCWEFU_cjs.DatabaseSchemaDocument, variables);
16395
16421
  return response.databaseSchema;
16396
16422
  }
16397
16423
  };
@@ -16404,7 +16430,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
16404
16430
  }
16405
16431
  async fetch(options) {
16406
16432
  const variables = this._variables;
16407
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabasesDocument, "databases", this._includes, variables, true);
16433
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DatabasesDocument, "databases", this._includes, variables, true);
16408
16434
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
16409
16435
  const data = response.databases;
16410
16436
  const connection = new DatabaseConnection(this._request, (conn, opts) => new _DatabasesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16421,7 +16447,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
16421
16447
  const subscriptionId = crypto.randomUUID();
16422
16448
  const includes = this._includes;
16423
16449
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
16424
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabasesDocument, "databases", includes, variables, true);
16450
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DatabasesDocument, "databases", includes, variables, true);
16425
16451
  const raw = this._syncEngine.watch(
16426
16452
  queryDoc,
16427
16453
  mergedVars,
@@ -16456,10 +16482,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
16456
16482
  }
16457
16483
  /** Include engine in this query (Smart Fetch — single HTTP request). */
16458
16484
  engine(variables) {
16459
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_EngineDocument, "engine", ["id"]);
16485
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Database_EngineDocument, "engine", ["id"]);
16460
16486
  this._includes.push({
16461
16487
  fieldName: "engine",
16462
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
16488
+ fragmentDoc: chunkYZOCWEFU_cjs.DatabaseEngineFragmentDoc,
16463
16489
  variables,
16464
16490
  isConnection: false,
16465
16491
  isList: false,
@@ -16475,7 +16501,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
16475
16501
  }
16476
16502
  /** Include tables in this query (Smart Fetch — single HTTP request). */
16477
16503
  tables(variables, builder) {
16478
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_TablesDocument, "tables", ["id"]);
16504
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Database_TablesDocument, "tables", ["id"]);
16479
16505
  let children;
16480
16506
  if (builder) {
16481
16507
  const sub = new TableSubBuilder();
@@ -16484,7 +16510,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
16484
16510
  }
16485
16511
  this._includes.push({
16486
16512
  fieldName: "tables",
16487
- fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
16513
+ fragmentDoc: chunkYZOCWEFU_cjs.TableConnectionFragmentDoc,
16488
16514
  variables,
16489
16515
  isConnection: true,
16490
16516
  isList: false,
@@ -16510,7 +16536,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16510
16536
  }
16511
16537
  async fetch(options) {
16512
16538
  const variables = this._variables;
16513
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentDocument, "document", this._includes, variables);
16539
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DocumentDocument, "document", this._includes, variables);
16514
16540
  const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
16515
16541
  const data = response.document;
16516
16542
  const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
@@ -16522,7 +16548,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16522
16548
  watch(options) {
16523
16549
  const variables = this._variables;
16524
16550
  const includes = this._includes;
16525
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentDocument, "document", includes, variables);
16551
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DocumentDocument, "document", includes, variables);
16526
16552
  const raw = this._syncEngine.watch(
16527
16553
  queryDoc,
16528
16554
  mergedVars,
@@ -16552,10 +16578,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16552
16578
  }
16553
16579
  /** Include contents in this query (Smart Fetch — single HTTP request). */
16554
16580
  contents(variables) {
16555
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_ContentsDocument, "contents", ["id"]);
16581
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Document_ContentsDocument, "contents", ["id"]);
16556
16582
  this._includes.push({
16557
16583
  fieldName: "contents",
16558
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentContentFragmentDoc,
16584
+ fragmentDoc: chunkYZOCWEFU_cjs.DocumentContentFragmentDoc,
16559
16585
  variables,
16560
16586
  isConnection: false,
16561
16587
  isList: true,
@@ -16571,10 +16597,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16571
16597
  }
16572
16598
  /** Include file in this query (Smart Fetch — single HTTP request). */
16573
16599
  file(variables) {
16574
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FileDocument, "file", ["id"]);
16600
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Document_FileDocument, "file", ["id"]);
16575
16601
  this._includes.push({
16576
16602
  fieldName: "file",
16577
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
16603
+ fragmentDoc: chunkYZOCWEFU_cjs.FileFragmentDoc,
16578
16604
  variables,
16579
16605
  isConnection: false,
16580
16606
  isList: false,
@@ -16590,10 +16616,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16590
16616
  }
16591
16617
  /** Include format in this query (Smart Fetch — single HTTP request). */
16592
16618
  format(variables) {
16593
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FormatDocument, "format", ["id"]);
16619
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Document_FormatDocument, "format", ["id"]);
16594
16620
  this._includes.push({
16595
16621
  fieldName: "format",
16596
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
16622
+ fragmentDoc: chunkYZOCWEFU_cjs.DocumentFormatFragmentDoc,
16597
16623
  variables,
16598
16624
  isConnection: false,
16599
16625
  isList: false,
@@ -16609,7 +16635,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16609
16635
  }
16610
16636
  /** Include tables in this query (Smart Fetch — single HTTP request). */
16611
16637
  tables(variables, builder) {
16612
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_TablesDocument, "tables", ["id"]);
16638
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Document_TablesDocument, "tables", ["id"]);
16613
16639
  let children;
16614
16640
  if (builder) {
16615
16641
  const sub = new TableSubBuilder();
@@ -16618,7 +16644,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16618
16644
  }
16619
16645
  this._includes.push({
16620
16646
  fieldName: "tables",
16621
- fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
16647
+ fragmentDoc: chunkYZOCWEFU_cjs.TableConnectionFragmentDoc,
16622
16648
  variables,
16623
16649
  isConnection: true,
16624
16650
  isList: false,
@@ -16642,7 +16668,7 @@ var Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
16642
16668
  this._variables = variables;
16643
16669
  }
16644
16670
  async fetch(options) {
16645
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_ContentsDocument, this._variables, "document");
16671
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Document_ContentsDocument, this._variables, "document");
16646
16672
  const data = response.document?.contents;
16647
16673
  if (!Array.isArray(data)) return [];
16648
16674
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -16656,14 +16682,14 @@ var Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
16656
16682
  }
16657
16683
  async fetch(options) {
16658
16684
  const variables = this._variables;
16659
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_FileDocument, variables, "document");
16685
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Document_FileDocument, variables, "document");
16660
16686
  const data = response.document?.file;
16661
16687
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16662
16688
  }
16663
16689
  watch(options) {
16664
16690
  const variables = this._variables;
16665
16691
  const raw = this._syncEngine.watch(
16666
- chunkEL37Q6V6_cjs.Document_FileDocument,
16692
+ chunkYZOCWEFU_cjs.Document_FileDocument,
16667
16693
  variables,
16668
16694
  "document",
16669
16695
  async (db) => {
@@ -16686,14 +16712,14 @@ var Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
16686
16712
  }
16687
16713
  async fetch(options) {
16688
16714
  const variables = this._variables;
16689
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_FormatDocument, variables, "document");
16715
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Document_FormatDocument, variables, "document");
16690
16716
  const data = response.document?.format;
16691
16717
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16692
16718
  }
16693
16719
  watch(options) {
16694
16720
  const variables = this._variables;
16695
16721
  const raw = this._syncEngine.watch(
16696
- chunkEL37Q6V6_cjs.Document_FormatDocument,
16722
+ chunkYZOCWEFU_cjs.Document_FormatDocument,
16697
16723
  variables,
16698
16724
  "document",
16699
16725
  async (db) => {
@@ -16716,14 +16742,14 @@ var Document_Format_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16716
16742
  }
16717
16743
  async fetch(options) {
16718
16744
  const variables = this._variables;
16719
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_Format_CatalogDocument, variables, "document");
16745
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Document_Format_CatalogDocument, variables, "document");
16720
16746
  const data = response.document?.format?.catalog;
16721
16747
  return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16722
16748
  }
16723
16749
  watch(options) {
16724
16750
  const variables = this._variables;
16725
16751
  const raw = this._syncEngine.watch(
16726
- chunkEL37Q6V6_cjs.Document_Format_CatalogDocument,
16752
+ chunkYZOCWEFU_cjs.Document_Format_CatalogDocument,
16727
16753
  variables,
16728
16754
  "document",
16729
16755
  async (db) => {
@@ -16746,18 +16772,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk342BFYZZ_cjs
16746
16772
  }
16747
16773
  async fetch(options) {
16748
16774
  const variables = this._variables;
16749
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_TablesDocument, variables, "document");
16775
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Document_TablesDocument, variables, "document");
16750
16776
  const data = response.document?.tables;
16751
16777
  return new TableConnection(this._request, (conn, opts) => new _Document_TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
16752
16778
  }
16753
16779
  watch(options) {
16754
16780
  const variables = this._variables;
16755
16781
  const raw = this._syncEngine.watch(
16756
- chunkEL37Q6V6_cjs.Document_TablesDocument,
16782
+ chunkYZOCWEFU_cjs.Document_TablesDocument,
16757
16783
  variables,
16758
16784
  "document",
16759
16785
  async (db) => {
16760
- const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkEL37Q6V6_cjs.Document_TablesDocument));
16786
+ const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkYZOCWEFU_cjs.Document_TablesDocument));
16761
16787
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
16762
16788
  return { document: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
16763
16789
  }
@@ -16777,7 +16803,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16777
16803
  }
16778
16804
  async fetch(options) {
16779
16805
  const variables = this._variables;
16780
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
16806
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
16781
16807
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
16782
16808
  const data = response.documentCatalog;
16783
16809
  const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -16789,7 +16815,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16789
16815
  watch(options) {
16790
16816
  const variables = this._variables;
16791
16817
  const includes = this._includes;
16792
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
16818
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
16793
16819
  const raw = this._syncEngine.watch(
16794
16820
  queryDoc,
16795
16821
  mergedVars,
@@ -16819,10 +16845,10 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16819
16845
  }
16820
16846
  /** Include format in this query (Smart Fetch — single HTTP request). */
16821
16847
  format(variables) {
16822
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, "format", []);
16848
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.DocumentCatalog_FormatDocument, "format", []);
16823
16849
  this._includes.push({
16824
16850
  fieldName: "format",
16825
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
16851
+ fragmentDoc: chunkYZOCWEFU_cjs.DocumentFormatFragmentDoc,
16826
16852
  variables,
16827
16853
  isConnection: false,
16828
16854
  isList: false,
@@ -16845,14 +16871,14 @@ var DocumentCatalog_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
16845
16871
  }
16846
16872
  async fetch(options) {
16847
16873
  const variables = this._variables;
16848
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
16874
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
16849
16875
  const data = response.documentCatalog?.format;
16850
16876
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16851
16877
  }
16852
16878
  watch(options) {
16853
16879
  const variables = this._variables;
16854
16880
  const raw = this._syncEngine.watch(
16855
- chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument,
16881
+ chunkYZOCWEFU_cjs.DocumentCatalog_FormatDocument,
16856
16882
  variables,
16857
16883
  "documentCatalog",
16858
16884
  async (db) => {
@@ -16876,7 +16902,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
16876
16902
  }
16877
16903
  async fetch(options) {
16878
16904
  const variables = this._variables;
16879
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
16905
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
16880
16906
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
16881
16907
  const data = response.documentCatalogs;
16882
16908
  const connection = new DocumentCatalogConnection(this._request, (conn, opts) => new _DocumentCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16893,7 +16919,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
16893
16919
  const subscriptionId = crypto.randomUUID();
16894
16920
  const includes = this._includes;
16895
16921
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
16896
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
16922
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
16897
16923
  const raw = this._syncEngine.watch(
16898
16924
  queryDoc,
16899
16925
  mergedVars,
@@ -16928,10 +16954,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
16928
16954
  }
16929
16955
  /** Include format in this query (Smart Fetch — single HTTP request). */
16930
16956
  format(variables) {
16931
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, "format", []);
16957
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.DocumentCatalog_FormatDocument, "format", []);
16932
16958
  this._includes.push({
16933
16959
  fieldName: "format",
16934
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
16960
+ fragmentDoc: chunkYZOCWEFU_cjs.DocumentFormatFragmentDoc,
16935
16961
  variables,
16936
16962
  isConnection: false,
16937
16963
  isList: false,
@@ -16955,7 +16981,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
16955
16981
  }
16956
16982
  async fetch(options) {
16957
16983
  const variables = this._variables;
16958
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentsDocument, "documents", this._includes, variables, true);
16984
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DocumentsDocument, "documents", this._includes, variables, true);
16959
16985
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
16960
16986
  const data = response.documents;
16961
16987
  const connection = new DocumentConnection(this._request, (conn, opts) => new _DocumentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16972,7 +16998,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
16972
16998
  const subscriptionId = crypto.randomUUID();
16973
16999
  const includes = this._includes;
16974
17000
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
16975
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentsDocument, "documents", includes, variables, true);
17001
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.DocumentsDocument, "documents", includes, variables, true);
16976
17002
  const raw = this._syncEngine.watch(
16977
17003
  queryDoc,
16978
17004
  mergedVars,
@@ -17007,10 +17033,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
17007
17033
  }
17008
17034
  /** Include contents in this query (Smart Fetch — single HTTP request). */
17009
17035
  contents(variables) {
17010
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_ContentsDocument, "contents", ["id"]);
17036
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Document_ContentsDocument, "contents", ["id"]);
17011
17037
  this._includes.push({
17012
17038
  fieldName: "contents",
17013
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentContentFragmentDoc,
17039
+ fragmentDoc: chunkYZOCWEFU_cjs.DocumentContentFragmentDoc,
17014
17040
  variables,
17015
17041
  isConnection: false,
17016
17042
  isList: true,
@@ -17026,10 +17052,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
17026
17052
  }
17027
17053
  /** Include file in this query (Smart Fetch — single HTTP request). */
17028
17054
  file(variables) {
17029
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FileDocument, "file", ["id"]);
17055
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Document_FileDocument, "file", ["id"]);
17030
17056
  this._includes.push({
17031
17057
  fieldName: "file",
17032
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
17058
+ fragmentDoc: chunkYZOCWEFU_cjs.FileFragmentDoc,
17033
17059
  variables,
17034
17060
  isConnection: false,
17035
17061
  isList: false,
@@ -17045,10 +17071,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
17045
17071
  }
17046
17072
  /** Include format in this query (Smart Fetch — single HTTP request). */
17047
17073
  format(variables) {
17048
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FormatDocument, "format", ["id"]);
17074
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Document_FormatDocument, "format", ["id"]);
17049
17075
  this._includes.push({
17050
17076
  fieldName: "format",
17051
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
17077
+ fragmentDoc: chunkYZOCWEFU_cjs.DocumentFormatFragmentDoc,
17052
17078
  variables,
17053
17079
  isConnection: false,
17054
17080
  isList: false,
@@ -17064,7 +17090,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
17064
17090
  }
17065
17091
  /** Include tables in this query (Smart Fetch — single HTTP request). */
17066
17092
  tables(variables, builder) {
17067
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_TablesDocument, "tables", ["id"]);
17093
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Document_TablesDocument, "tables", ["id"]);
17068
17094
  let children;
17069
17095
  if (builder) {
17070
17096
  const sub = new TableSubBuilder();
@@ -17073,7 +17099,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
17073
17099
  }
17074
17100
  this._includes.push({
17075
17101
  fieldName: "tables",
17076
- fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
17102
+ fragmentDoc: chunkYZOCWEFU_cjs.TableConnectionFragmentDoc,
17077
17103
  variables,
17078
17104
  isConnection: true,
17079
17105
  isList: false,
@@ -17092,13 +17118,13 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
17092
17118
  };
17093
17119
  var ExportQuery = class extends chunk342BFYZZ_cjs.Request {
17094
17120
  async fetch(variables) {
17095
- const response = await this._request(chunkEL37Q6V6_cjs.ExportDocument, variables);
17121
+ const response = await this._request(chunkYZOCWEFU_cjs.ExportDocument, variables);
17096
17122
  return response.export;
17097
17123
  }
17098
17124
  };
17099
17125
  var ExportWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
17100
17126
  async fetch(variables) {
17101
- const response = await this._request(chunkEL37Q6V6_cjs.ExportWithInsightIdDocument, variables);
17127
+ const response = await this._request(chunkYZOCWEFU_cjs.ExportWithInsightIdDocument, variables);
17102
17128
  return response.exportWithInsightId;
17103
17129
  }
17104
17130
  };
@@ -17111,7 +17137,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
17111
17137
  }
17112
17138
  async fetch(options) {
17113
17139
  const variables = this._variables;
17114
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemDocument, "feedItem", this._includes, variables);
17140
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.FeedItemDocument, "feedItem", this._includes, variables);
17115
17141
  const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItem");
17116
17142
  const data = response.feedItem;
17117
17143
  if (!data) return void 0;
@@ -17124,7 +17150,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
17124
17150
  watch(options) {
17125
17151
  const variables = this._variables;
17126
17152
  const includes = this._includes;
17127
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemDocument, "feedItem", includes, variables);
17153
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.FeedItemDocument, "feedItem", includes, variables);
17128
17154
  const raw = this._syncEngine.watch(
17129
17155
  queryDoc,
17130
17156
  mergedVars,
@@ -17155,10 +17181,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
17155
17181
  }
17156
17182
  /** Include action in this query (Smart Fetch — single HTTP request). */
17157
17183
  action(variables) {
17158
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, "action", ["id"]);
17184
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.FeedItem_ActionDocument, "action", ["id"]);
17159
17185
  this._includes.push({
17160
17186
  fieldName: "action",
17161
- fragmentDoc: chunkEL37Q6V6_cjs.FeedSendMessageActionFragmentDoc,
17187
+ fragmentDoc: chunkYZOCWEFU_cjs.FeedSendMessageActionFragmentDoc,
17162
17188
  variables,
17163
17189
  isConnection: false,
17164
17190
  isList: false,
@@ -17174,10 +17200,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
17174
17200
  }
17175
17201
  /** Include data in this query (Smart Fetch — single HTTP request). */
17176
17202
  data(variables) {
17177
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_DataDocument, "data", ["id"]);
17203
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.FeedItem_DataDocument, "data", ["id"]);
17178
17204
  this._includes.push({
17179
17205
  fieldName: "data",
17180
- fragmentDoc: chunkEL37Q6V6_cjs.FeedArtifactDataFragmentDoc,
17206
+ fragmentDoc: chunkYZOCWEFU_cjs.FeedArtifactDataFragmentDoc,
17181
17207
  variables,
17182
17208
  isConnection: false,
17183
17209
  isList: true,
@@ -17200,14 +17226,14 @@ var FeedItem_ActionQuery = class extends chunk342BFYZZ_cjs.Request {
17200
17226
  }
17201
17227
  async fetch(options) {
17202
17228
  const variables = this._variables;
17203
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, variables, "feedItem");
17229
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.FeedItem_ActionDocument, variables, "feedItem");
17204
17230
  const data = response.feedItem?.action;
17205
17231
  return data ? new FeedSendMessageAction(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17206
17232
  }
17207
17233
  watch(options) {
17208
17234
  const variables = this._variables;
17209
17235
  const raw = this._syncEngine.watch(
17210
- chunkEL37Q6V6_cjs.FeedItem_ActionDocument,
17236
+ chunkYZOCWEFU_cjs.FeedItem_ActionDocument,
17211
17237
  variables,
17212
17238
  "feedItem",
17213
17239
  async (db) => {
@@ -17229,7 +17255,7 @@ var FeedItem_DataQuery = class extends chunk342BFYZZ_cjs.Request {
17229
17255
  this._variables = variables;
17230
17256
  }
17231
17257
  async fetch(options) {
17232
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.FeedItem_DataDocument, this._variables, "feedItem");
17258
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.FeedItem_DataDocument, this._variables, "feedItem");
17233
17259
  const data = response.feedItem?.data;
17234
17260
  if (!Array.isArray(data)) return [];
17235
17261
  return data.map((item) => new FeedArtifactData(this._request, item, this._syncEngine, this._baseUrl));
@@ -17244,7 +17270,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
17244
17270
  }
17245
17271
  async fetch(options) {
17246
17272
  const variables = this._variables;
17247
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
17273
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
17248
17274
  const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItems");
17249
17275
  const data = response.feedItems;
17250
17276
  const connection = new FeedConnection(this._request, (conn, opts) => new _FeedItemsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17261,7 +17287,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
17261
17287
  const subscriptionId = crypto.randomUUID();
17262
17288
  const includes = this._includes;
17263
17289
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17264
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
17290
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
17265
17291
  const raw = this._syncEngine.watch(
17266
17292
  queryDoc,
17267
17293
  mergedVars,
@@ -17296,10 +17322,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
17296
17322
  }
17297
17323
  /** Include action in this query (Smart Fetch — single HTTP request). */
17298
17324
  action(variables) {
17299
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, "action", ["id"]);
17325
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.FeedItem_ActionDocument, "action", ["id"]);
17300
17326
  this._includes.push({
17301
17327
  fieldName: "action",
17302
- fragmentDoc: chunkEL37Q6V6_cjs.FeedSendMessageActionFragmentDoc,
17328
+ fragmentDoc: chunkYZOCWEFU_cjs.FeedSendMessageActionFragmentDoc,
17303
17329
  variables,
17304
17330
  isConnection: false,
17305
17331
  isList: false,
@@ -17315,10 +17341,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
17315
17341
  }
17316
17342
  /** Include data in this query (Smart Fetch — single HTTP request). */
17317
17343
  data(variables) {
17318
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_DataDocument, "data", ["id"]);
17344
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.FeedItem_DataDocument, "data", ["id"]);
17319
17345
  this._includes.push({
17320
17346
  fieldName: "data",
17321
- fragmentDoc: chunkEL37Q6V6_cjs.FeedArtifactDataFragmentDoc,
17347
+ fragmentDoc: chunkYZOCWEFU_cjs.FeedArtifactDataFragmentDoc,
17322
17348
  variables,
17323
17349
  isConnection: false,
17324
17350
  isList: true,
@@ -17335,7 +17361,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
17335
17361
  };
17336
17362
  var FileQuery = class extends chunk342BFYZZ_cjs.Request {
17337
17363
  async fetch(variables) {
17338
- const response = await this._request(chunkEL37Q6V6_cjs.FileDocument, variables);
17364
+ const response = await this._request(chunkYZOCWEFU_cjs.FileDocument, variables);
17339
17365
  return response.file;
17340
17366
  }
17341
17367
  };
@@ -17348,7 +17374,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
17348
17374
  }
17349
17375
  async fetch(options) {
17350
17376
  const variables = this._variables;
17351
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
17377
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
17352
17378
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
17353
17379
  const data = response.fileMeta;
17354
17380
  if (!data) return void 0;
@@ -17361,7 +17387,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
17361
17387
  watch(options) {
17362
17388
  const variables = this._variables;
17363
17389
  const includes = this._includes;
17364
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FileMetaDocument, "fileMeta", includes, variables);
17390
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.FileMetaDocument, "fileMeta", includes, variables);
17365
17391
  const raw = this._syncEngine.watch(
17366
17392
  queryDoc,
17367
17393
  mergedVars,
@@ -17399,7 +17425,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
17399
17425
  this._variables = variables;
17400
17426
  }
17401
17427
  async fetch(options) {
17402
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
17428
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
17403
17429
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
17404
17430
  const data = response.fileUrls;
17405
17431
  if (!Array.isArray(data)) return [];
@@ -17408,7 +17434,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
17408
17434
  };
17409
17435
  var FindFitTierQuery = class extends chunk342BFYZZ_cjs.Request {
17410
17436
  async fetch(variables) {
17411
- const response = await this._request(chunkEL37Q6V6_cjs.FindFitTierDocument, variables);
17437
+ const response = await this._request(chunkYZOCWEFU_cjs.FindFitTierDocument, variables);
17412
17438
  return response.findFitTier ?? void 0;
17413
17439
  }
17414
17440
  };
@@ -17421,7 +17447,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
17421
17447
  }
17422
17448
  async fetch(options) {
17423
17449
  const variables = this._variables;
17424
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FolderDocument, "folder", this._includes, variables);
17450
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.FolderDocument, "folder", this._includes, variables);
17425
17451
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
17426
17452
  const data = response.folder;
17427
17453
  const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
@@ -17433,7 +17459,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
17433
17459
  watch(options) {
17434
17460
  const variables = this._variables;
17435
17461
  const includes = this._includes;
17436
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FolderDocument, "folder", includes, variables);
17462
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.FolderDocument, "folder", includes, variables);
17437
17463
  const raw = this._syncEngine.watch(
17438
17464
  queryDoc,
17439
17465
  mergedVars,
@@ -17471,7 +17497,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
17471
17497
  }
17472
17498
  async fetch(options) {
17473
17499
  const variables = this._variables;
17474
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FoldersDocument, "folders", this._includes, variables, true);
17500
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.FoldersDocument, "folders", this._includes, variables, true);
17475
17501
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
17476
17502
  const data = response.folders;
17477
17503
  const connection = new FolderConnection(this._request, (conn, opts) => new _FoldersQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17488,7 +17514,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
17488
17514
  const subscriptionId = crypto.randomUUID();
17489
17515
  const includes = this._includes;
17490
17516
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17491
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FoldersDocument, "folders", includes, variables, true);
17517
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.FoldersDocument, "folders", includes, variables, true);
17492
17518
  const raw = this._syncEngine.watch(
17493
17519
  queryDoc,
17494
17520
  mergedVars,
@@ -17524,7 +17550,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
17524
17550
  };
17525
17551
  var GetCapabilityQuery = class extends chunk342BFYZZ_cjs.Request {
17526
17552
  async fetch(variables) {
17527
- const response = await this._request(chunkEL37Q6V6_cjs.GetCapabilityDocument, variables);
17553
+ const response = await this._request(chunkYZOCWEFU_cjs.GetCapabilityDocument, variables);
17528
17554
  return response.getCapability;
17529
17555
  }
17530
17556
  };
@@ -17537,7 +17563,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
17537
17563
  }
17538
17564
  async fetch(options) {
17539
17565
  const variables = this._variables;
17540
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
17566
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
17541
17567
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
17542
17568
  const data = response.getDevAccessToken;
17543
17569
  const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
@@ -17549,7 +17575,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
17549
17575
  watch(options) {
17550
17576
  const variables = this._variables;
17551
17577
  const includes = this._includes;
17552
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
17578
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
17553
17579
  const raw = this._syncEngine.watch(
17554
17580
  queryDoc,
17555
17581
  mergedVars,
@@ -17580,13 +17606,13 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
17580
17606
  };
17581
17607
  var GetLimitQuery = class extends chunk342BFYZZ_cjs.Request {
17582
17608
  async fetch(variables) {
17583
- const response = await this._request(chunkEL37Q6V6_cjs.GetLimitDocument, variables);
17609
+ const response = await this._request(chunkYZOCWEFU_cjs.GetLimitDocument, variables);
17584
17610
  return response.getLimit ?? void 0;
17585
17611
  }
17586
17612
  };
17587
17613
  var GetRemainingQuery = class extends chunk342BFYZZ_cjs.Request {
17588
17614
  async fetch(variables) {
17589
- const response = await this._request(chunkEL37Q6V6_cjs.GetRemainingDocument, variables);
17615
+ const response = await this._request(chunkYZOCWEFU_cjs.GetRemainingDocument, variables);
17590
17616
  return response.getRemaining ?? void 0;
17591
17617
  }
17592
17618
  };
@@ -17598,7 +17624,7 @@ var GetTokenUsageByModelQuery = class extends chunk342BFYZZ_cjs.Request {
17598
17624
  this._variables = variables;
17599
17625
  }
17600
17626
  async fetch(options) {
17601
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
17627
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
17602
17628
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
17603
17629
  const data = response.getTokenUsageByModel;
17604
17630
  if (!Array.isArray(data)) return [];
@@ -17613,7 +17639,7 @@ var GetTokenUsageHistoryQuery = class extends chunk342BFYZZ_cjs.Request {
17613
17639
  this._variables = variables;
17614
17640
  }
17615
17641
  async fetch(options) {
17616
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
17642
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
17617
17643
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
17618
17644
  const data = response.getTokenUsageHistory;
17619
17645
  if (!Array.isArray(data)) return [];
@@ -17629,7 +17655,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
17629
17655
  }
17630
17656
  async fetch(options) {
17631
17657
  const variables = this._variables;
17632
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
17658
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
17633
17659
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
17634
17660
  const data = response.getTokenUsageStatus;
17635
17661
  const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
@@ -17641,7 +17667,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
17641
17667
  watch(options) {
17642
17668
  const variables = this._variables;
17643
17669
  const includes = this._includes;
17644
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
17670
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
17645
17671
  const raw = this._syncEngine.watch(
17646
17672
  queryDoc,
17647
17673
  mergedVars,
@@ -17671,10 +17697,10 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
17671
17697
  }
17672
17698
  /** Include windows in this query (Smart Fetch — single HTTP request). */
17673
17699
  windows(variables) {
17674
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
17700
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
17675
17701
  this._includes.push({
17676
17702
  fieldName: "windows",
17677
- fragmentDoc: chunkEL37Q6V6_cjs.UsageWindowsStatusTypeFragmentDoc,
17703
+ fragmentDoc: chunkYZOCWEFU_cjs.UsageWindowsStatusTypeFragmentDoc,
17678
17704
  variables,
17679
17705
  isConnection: false,
17680
17706
  isList: false,
@@ -17697,14 +17723,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk342BFYZZ_cjs.Request {
17697
17723
  }
17698
17724
  async fetch(options) {
17699
17725
  const variables = this._variables;
17700
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
17726
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
17701
17727
  const data = response.getTokenUsageStatus?.windows;
17702
17728
  return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17703
17729
  }
17704
17730
  watch(options) {
17705
17731
  const variables = this._variables;
17706
17732
  const raw = this._syncEngine.watch(
17707
- chunkEL37Q6V6_cjs.GetTokenUsageStatus_WindowsDocument,
17733
+ chunkYZOCWEFU_cjs.GetTokenUsageStatus_WindowsDocument,
17708
17734
  variables,
17709
17735
  "getTokenUsageStatus",
17710
17736
  async (db) => {
@@ -17727,14 +17753,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk342BFYZZ_cjs.Reque
17727
17753
  }
17728
17754
  async fetch(options) {
17729
17755
  const variables = this._variables;
17730
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
17756
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
17731
17757
  const data = response.getTokenUsageStatus?.windows?.day;
17732
17758
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17733
17759
  }
17734
17760
  watch(options) {
17735
17761
  const variables = this._variables;
17736
17762
  const raw = this._syncEngine.watch(
17737
- chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_DayDocument,
17763
+ chunkYZOCWEFU_cjs.GetTokenUsageStatus_Windows_DayDocument,
17738
17764
  variables,
17739
17765
  "getTokenUsageStatus",
17740
17766
  async (db) => {
@@ -17757,14 +17783,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk342BFYZZ_cjs.
17757
17783
  }
17758
17784
  async fetch(options) {
17759
17785
  const variables = this._variables;
17760
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
17786
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
17761
17787
  const data = response.getTokenUsageStatus?.windows?.fiveHour;
17762
17788
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17763
17789
  }
17764
17790
  watch(options) {
17765
17791
  const variables = this._variables;
17766
17792
  const raw = this._syncEngine.watch(
17767
- chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
17793
+ chunkYZOCWEFU_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
17768
17794
  variables,
17769
17795
  "getTokenUsageStatus",
17770
17796
  async (db) => {
@@ -17787,14 +17813,14 @@ var GetTokenUsageStatus_Windows_MonthQuery = class extends chunk342BFYZZ_cjs.Req
17787
17813
  }
17788
17814
  async fetch(options) {
17789
17815
  const variables = this._variables;
17790
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_MonthDocument, variables, "getTokenUsageStatus");
17816
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.GetTokenUsageStatus_Windows_MonthDocument, variables, "getTokenUsageStatus");
17791
17817
  const data = response.getTokenUsageStatus?.windows?.month;
17792
17818
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17793
17819
  }
17794
17820
  watch(options) {
17795
17821
  const variables = this._variables;
17796
17822
  const raw = this._syncEngine.watch(
17797
- chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_MonthDocument,
17823
+ chunkYZOCWEFU_cjs.GetTokenUsageStatus_Windows_MonthDocument,
17798
17824
  variables,
17799
17825
  "getTokenUsageStatus",
17800
17826
  async (db) => {
@@ -17817,14 +17843,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
17817
17843
  }
17818
17844
  async fetch(options) {
17819
17845
  const variables = this._variables;
17820
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
17846
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
17821
17847
  const data = response.getTokenUsageStatus?.windows?.week;
17822
17848
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17823
17849
  }
17824
17850
  watch(options) {
17825
17851
  const variables = this._variables;
17826
17852
  const raw = this._syncEngine.watch(
17827
- chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_WeekDocument,
17853
+ chunkYZOCWEFU_cjs.GetTokenUsageStatus_Windows_WeekDocument,
17828
17854
  variables,
17829
17855
  "getTokenUsageStatus",
17830
17856
  async (db) => {
@@ -17841,7 +17867,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
17841
17867
  };
17842
17868
  var GetUsageQuery = class extends chunk342BFYZZ_cjs.Request {
17843
17869
  async fetch(variables) {
17844
- const response = await this._request(chunkEL37Q6V6_cjs.GetUsageDocument, variables);
17870
+ const response = await this._request(chunkYZOCWEFU_cjs.GetUsageDocument, variables);
17845
17871
  return response.getUsage ?? void 0;
17846
17872
  }
17847
17873
  };
@@ -17854,7 +17880,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17854
17880
  }
17855
17881
  async fetch(options) {
17856
17882
  const variables = this._variables;
17857
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightDocument, "insight", this._includes, variables);
17883
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.InsightDocument, "insight", this._includes, variables);
17858
17884
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
17859
17885
  const data = response.insight;
17860
17886
  const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
@@ -17866,7 +17892,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17866
17892
  watch(options) {
17867
17893
  const variables = this._variables;
17868
17894
  const includes = this._includes;
17869
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightDocument, "insight", includes, variables);
17895
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.InsightDocument, "insight", includes, variables);
17870
17896
  const raw = this._syncEngine.watch(
17871
17897
  queryDoc,
17872
17898
  mergedVars,
@@ -17896,7 +17922,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17896
17922
  }
17897
17923
  /** Include chat in this query (Smart Fetch — single HTTP request). */
17898
17924
  chat(variables, builder) {
17899
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ChatDocument, "chat", ["id"]);
17925
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Insight_ChatDocument, "chat", ["id"]);
17900
17926
  let children;
17901
17927
  if (builder) {
17902
17928
  const sub = new ChatSubBuilder();
@@ -17905,7 +17931,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17905
17931
  }
17906
17932
  this._includes.push({
17907
17933
  fieldName: "chat",
17908
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
17934
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatFragmentDoc,
17909
17935
  variables,
17910
17936
  isConnection: false,
17911
17937
  isList: false,
@@ -17922,10 +17948,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17922
17948
  }
17923
17949
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
17924
17950
  reportMembers(variables) {
17925
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
17951
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
17926
17952
  this._includes.push({
17927
17953
  fieldName: "reportMembers",
17928
- fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
17954
+ fragmentDoc: chunkYZOCWEFU_cjs.ReportMemberFragmentDoc,
17929
17955
  variables,
17930
17956
  isConnection: false,
17931
17957
  isList: true,
@@ -17941,7 +17967,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17941
17967
  }
17942
17968
  /** Include reports in this query (Smart Fetch — single HTTP request). */
17943
17969
  reports(variables, builder) {
17944
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportsDocument, "reports", ["id"]);
17970
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Insight_ReportsDocument, "reports", ["id"]);
17945
17971
  let children;
17946
17972
  if (builder) {
17947
17973
  const sub = new ReportSubBuilder();
@@ -17950,7 +17976,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17950
17976
  }
17951
17977
  this._includes.push({
17952
17978
  fieldName: "reports",
17953
- fragmentDoc: chunkEL37Q6V6_cjs.ReportConnectionFragmentDoc,
17979
+ fragmentDoc: chunkYZOCWEFU_cjs.ReportConnectionFragmentDoc,
17954
17980
  variables,
17955
17981
  isConnection: true,
17956
17982
  isList: false,
@@ -17968,10 +17994,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17968
17994
  }
17969
17995
  /** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
17970
17996
  thumbnailFile(variables) {
17971
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
17997
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
17972
17998
  this._includes.push({
17973
17999
  fieldName: "thumbnailFile",
17974
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
18000
+ fragmentDoc: chunkYZOCWEFU_cjs.FileFragmentDoc,
17975
18001
  variables,
17976
18002
  isConnection: false,
17977
18003
  isList: false,
@@ -17994,14 +18020,14 @@ var Insight_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
17994
18020
  }
17995
18021
  async fetch(options) {
17996
18022
  const variables = this._variables;
17997
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ChatDocument, variables, "insight");
18023
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Insight_ChatDocument, variables, "insight");
17998
18024
  const data = response.insight?.chat;
17999
18025
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18000
18026
  }
18001
18027
  watch(options) {
18002
18028
  const variables = this._variables;
18003
18029
  const raw = this._syncEngine.watch(
18004
- chunkEL37Q6V6_cjs.Insight_ChatDocument,
18030
+ chunkYZOCWEFU_cjs.Insight_ChatDocument,
18005
18031
  variables,
18006
18032
  "insight",
18007
18033
  async (db) => {
@@ -18023,7 +18049,7 @@ var Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
18023
18049
  this._variables = variables;
18024
18050
  }
18025
18051
  async fetch(options) {
18026
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, this._variables, "insight");
18052
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Insight_ReportMembersDocument, this._variables, "insight");
18027
18053
  const data = response.insight?.reportMembers;
18028
18054
  if (!Array.isArray(data)) return [];
18029
18055
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -18037,18 +18063,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk342BFYZZ_cjs
18037
18063
  }
18038
18064
  async fetch(options) {
18039
18065
  const variables = this._variables;
18040
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ReportsDocument, variables, "insight");
18066
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Insight_ReportsDocument, variables, "insight");
18041
18067
  const data = response.insight?.reports;
18042
18068
  return new ReportConnection(this._request, (conn, opts) => new _Insight_ReportsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
18043
18069
  }
18044
18070
  watch(options) {
18045
18071
  const variables = this._variables;
18046
18072
  const raw = this._syncEngine.watch(
18047
- chunkEL37Q6V6_cjs.Insight_ReportsDocument,
18073
+ chunkYZOCWEFU_cjs.Insight_ReportsDocument,
18048
18074
  variables,
18049
18075
  "insight",
18050
18076
  async (db) => {
18051
- const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkEL37Q6V6_cjs.Insight_ReportsDocument));
18077
+ const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkYZOCWEFU_cjs.Insight_ReportsDocument));
18052
18078
  const nodes = qr ? await db.table("reports").bulkGet(qr.entityIds) : [];
18053
18079
  return { insight: { reports: { __typename: "ReportConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
18054
18080
  }
@@ -18067,14 +18093,14 @@ var Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
18067
18093
  }
18068
18094
  async fetch(options) {
18069
18095
  const variables = this._variables;
18070
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, variables, "insight");
18096
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Insight_ThumbnailFileDocument, variables, "insight");
18071
18097
  const data = response.insight?.thumbnailFile;
18072
18098
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18073
18099
  }
18074
18100
  watch(options) {
18075
18101
  const variables = this._variables;
18076
18102
  const raw = this._syncEngine.watch(
18077
- chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument,
18103
+ chunkYZOCWEFU_cjs.Insight_ThumbnailFileDocument,
18078
18104
  variables,
18079
18105
  "insight",
18080
18106
  async (db) => {
@@ -18098,7 +18124,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18098
18124
  }
18099
18125
  async fetch(options) {
18100
18126
  const variables = this._variables;
18101
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightsDocument, "insights", this._includes, variables, true);
18127
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.InsightsDocument, "insights", this._includes, variables, true);
18102
18128
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
18103
18129
  const data = response.insights;
18104
18130
  const connection = new InsightConnection(this._request, (conn, opts) => new _InsightsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -18115,7 +18141,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18115
18141
  const subscriptionId = crypto.randomUUID();
18116
18142
  const includes = this._includes;
18117
18143
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
18118
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightsDocument, "insights", includes, variables, true);
18144
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.InsightsDocument, "insights", includes, variables, true);
18119
18145
  const raw = this._syncEngine.watch(
18120
18146
  queryDoc,
18121
18147
  mergedVars,
@@ -18150,7 +18176,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18150
18176
  }
18151
18177
  /** Include chat in this query (Smart Fetch — single HTTP request). */
18152
18178
  chat(variables, builder) {
18153
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ChatDocument, "chat", ["id"]);
18179
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Insight_ChatDocument, "chat", ["id"]);
18154
18180
  let children;
18155
18181
  if (builder) {
18156
18182
  const sub = new ChatSubBuilder();
@@ -18159,7 +18185,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18159
18185
  }
18160
18186
  this._includes.push({
18161
18187
  fieldName: "chat",
18162
- fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
18188
+ fragmentDoc: chunkYZOCWEFU_cjs.ChatFragmentDoc,
18163
18189
  variables,
18164
18190
  isConnection: false,
18165
18191
  isList: false,
@@ -18176,10 +18202,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18176
18202
  }
18177
18203
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
18178
18204
  reportMembers(variables) {
18179
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
18205
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
18180
18206
  this._includes.push({
18181
18207
  fieldName: "reportMembers",
18182
- fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
18208
+ fragmentDoc: chunkYZOCWEFU_cjs.ReportMemberFragmentDoc,
18183
18209
  variables,
18184
18210
  isConnection: false,
18185
18211
  isList: true,
@@ -18195,7 +18221,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18195
18221
  }
18196
18222
  /** Include reports in this query (Smart Fetch — single HTTP request). */
18197
18223
  reports(variables, builder) {
18198
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportsDocument, "reports", ["id"]);
18224
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Insight_ReportsDocument, "reports", ["id"]);
18199
18225
  let children;
18200
18226
  if (builder) {
18201
18227
  const sub = new ReportSubBuilder();
@@ -18204,7 +18230,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18204
18230
  }
18205
18231
  this._includes.push({
18206
18232
  fieldName: "reports",
18207
- fragmentDoc: chunkEL37Q6V6_cjs.ReportConnectionFragmentDoc,
18233
+ fragmentDoc: chunkYZOCWEFU_cjs.ReportConnectionFragmentDoc,
18208
18234
  variables,
18209
18235
  isConnection: true,
18210
18236
  isList: false,
@@ -18222,10 +18248,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18222
18248
  }
18223
18249
  /** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
18224
18250
  thumbnailFile(variables) {
18225
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
18251
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
18226
18252
  this._includes.push({
18227
18253
  fieldName: "thumbnailFile",
18228
- fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
18254
+ fragmentDoc: chunkYZOCWEFU_cjs.FileFragmentDoc,
18229
18255
  variables,
18230
18256
  isConnection: false,
18231
18257
  isList: false,
@@ -18249,7 +18275,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
18249
18275
  }
18250
18276
  async fetch(options) {
18251
18277
  const variables = this._variables;
18252
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationDocument, "integration", this._includes, variables);
18278
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.IntegrationDocument, "integration", this._includes, variables);
18253
18279
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
18254
18280
  const data = response.integration;
18255
18281
  const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
@@ -18261,7 +18287,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
18261
18287
  watch(options) {
18262
18288
  const variables = this._variables;
18263
18289
  const includes = this._includes;
18264
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationDocument, "integration", includes, variables);
18290
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.IntegrationDocument, "integration", includes, variables);
18265
18291
  const raw = this._syncEngine.watch(
18266
18292
  queryDoc,
18267
18293
  mergedVars,
@@ -18291,10 +18317,10 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
18291
18317
  }
18292
18318
  /** Include provider in this query (Smart Fetch — single HTTP request). */
18293
18319
  provider(variables) {
18294
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Integration_ProviderDocument, "provider", ["id"]);
18320
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Integration_ProviderDocument, "provider", ["id"]);
18295
18321
  this._includes.push({
18296
18322
  fieldName: "provider",
18297
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
18323
+ fragmentDoc: chunkYZOCWEFU_cjs.IntegrationProviderFragmentDoc,
18298
18324
  variables,
18299
18325
  isConnection: false,
18300
18326
  isList: false,
@@ -18317,14 +18343,14 @@ var Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
18317
18343
  }
18318
18344
  async fetch(options) {
18319
18345
  const variables = this._variables;
18320
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Integration_ProviderDocument, variables, "integration");
18346
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Integration_ProviderDocument, variables, "integration");
18321
18347
  const data = response.integration?.provider;
18322
18348
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18323
18349
  }
18324
18350
  watch(options) {
18325
18351
  const variables = this._variables;
18326
18352
  const raw = this._syncEngine.watch(
18327
- chunkEL37Q6V6_cjs.Integration_ProviderDocument,
18353
+ chunkYZOCWEFU_cjs.Integration_ProviderDocument,
18328
18354
  variables,
18329
18355
  "integration",
18330
18356
  async (db) => {
@@ -18347,14 +18373,14 @@ var Integration_Provider_CatalogQuery = class extends chunk342BFYZZ_cjs.Request
18347
18373
  }
18348
18374
  async fetch(options) {
18349
18375
  const variables = this._variables;
18350
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Integration_Provider_CatalogDocument, variables, "integration");
18376
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Integration_Provider_CatalogDocument, variables, "integration");
18351
18377
  const data = response.integration?.provider?.catalog;
18352
18378
  return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18353
18379
  }
18354
18380
  watch(options) {
18355
18381
  const variables = this._variables;
18356
18382
  const raw = this._syncEngine.watch(
18357
- chunkEL37Q6V6_cjs.Integration_Provider_CatalogDocument,
18383
+ chunkYZOCWEFU_cjs.Integration_Provider_CatalogDocument,
18358
18384
  variables,
18359
18385
  "integration",
18360
18386
  async (db) => {
@@ -18378,7 +18404,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
18378
18404
  }
18379
18405
  async fetch(options) {
18380
18406
  const variables = this._variables;
18381
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
18407
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
18382
18408
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
18383
18409
  const data = response.integrationCatalog;
18384
18410
  const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -18390,7 +18416,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
18390
18416
  watch(options) {
18391
18417
  const variables = this._variables;
18392
18418
  const includes = this._includes;
18393
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
18419
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
18394
18420
  const raw = this._syncEngine.watch(
18395
18421
  queryDoc,
18396
18422
  mergedVars,
@@ -18420,10 +18446,10 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
18420
18446
  }
18421
18447
  /** Include provider in this query (Smart Fetch — single HTTP request). */
18422
18448
  provider(variables) {
18423
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
18449
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
18424
18450
  this._includes.push({
18425
18451
  fieldName: "provider",
18426
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
18452
+ fragmentDoc: chunkYZOCWEFU_cjs.IntegrationProviderFragmentDoc,
18427
18453
  variables,
18428
18454
  isConnection: false,
18429
18455
  isList: false,
@@ -18446,14 +18472,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
18446
18472
  }
18447
18473
  async fetch(options) {
18448
18474
  const variables = this._variables;
18449
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
18475
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
18450
18476
  const data = response.integrationCatalog?.provider;
18451
18477
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18452
18478
  }
18453
18479
  watch(options) {
18454
18480
  const variables = this._variables;
18455
18481
  const raw = this._syncEngine.watch(
18456
- chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument,
18482
+ chunkYZOCWEFU_cjs.IntegrationCatalog_ProviderDocument,
18457
18483
  variables,
18458
18484
  "integrationCatalog",
18459
18485
  async (db) => {
@@ -18470,7 +18496,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
18470
18496
  };
18471
18497
  var IntegrationCatalogToolsQuery = class extends chunk342BFYZZ_cjs.Request {
18472
18498
  async fetch(variables) {
18473
- const response = await this._request(chunkEL37Q6V6_cjs.IntegrationCatalogToolsDocument, variables);
18499
+ const response = await this._request(chunkYZOCWEFU_cjs.IntegrationCatalogToolsDocument, variables);
18474
18500
  return response.integrationCatalogTools;
18475
18501
  }
18476
18502
  };
@@ -18483,7 +18509,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
18483
18509
  }
18484
18510
  async fetch(options) {
18485
18511
  const variables = this._variables;
18486
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
18512
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
18487
18513
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
18488
18514
  const data = response.integrationCatalogs;
18489
18515
  const connection = new IntegrationCatalogConnection(this._request, (conn, opts) => new _IntegrationCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -18500,7 +18526,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
18500
18526
  const subscriptionId = crypto.randomUUID();
18501
18527
  const includes = this._includes;
18502
18528
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
18503
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
18529
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
18504
18530
  const raw = this._syncEngine.watch(
18505
18531
  queryDoc,
18506
18532
  mergedVars,
@@ -18535,10 +18561,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
18535
18561
  }
18536
18562
  /** Include provider in this query (Smart Fetch — single HTTP request). */
18537
18563
  provider(variables) {
18538
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
18564
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
18539
18565
  this._includes.push({
18540
18566
  fieldName: "provider",
18541
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
18567
+ fragmentDoc: chunkYZOCWEFU_cjs.IntegrationProviderFragmentDoc,
18542
18568
  variables,
18543
18569
  isConnection: false,
18544
18570
  isList: false,
@@ -18562,7 +18588,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
18562
18588
  }
18563
18589
  async fetch(options) {
18564
18590
  const variables = this._variables;
18565
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
18591
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
18566
18592
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
18567
18593
  const data = response.integrations;
18568
18594
  const connection = new IntegrationConnection(this._request, (conn, opts) => new _IntegrationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -18579,7 +18605,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
18579
18605
  const subscriptionId = crypto.randomUUID();
18580
18606
  const includes = this._includes;
18581
18607
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
18582
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationsDocument, "integrations", includes, variables, true);
18608
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.IntegrationsDocument, "integrations", includes, variables, true);
18583
18609
  const raw = this._syncEngine.watch(
18584
18610
  queryDoc,
18585
18611
  mergedVars,
@@ -18614,10 +18640,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
18614
18640
  }
18615
18641
  /** Include provider in this query (Smart Fetch — single HTTP request). */
18616
18642
  provider(variables) {
18617
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Integration_ProviderDocument, "provider", ["id"]);
18643
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Integration_ProviderDocument, "provider", ["id"]);
18618
18644
  this._includes.push({
18619
18645
  fieldName: "provider",
18620
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
18646
+ fragmentDoc: chunkYZOCWEFU_cjs.IntegrationProviderFragmentDoc,
18621
18647
  variables,
18622
18648
  isConnection: false,
18623
18649
  isList: false,
@@ -18641,7 +18667,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
18641
18667
  }
18642
18668
  async fetch(options) {
18643
18669
  const variables = this._variables;
18644
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
18670
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
18645
18671
  const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
18646
18672
  const data = response.interpretations;
18647
18673
  const connection = new InterpretationConnection(this._request, (conn, opts) => new _InterpretationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -18658,7 +18684,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
18658
18684
  const subscriptionId = crypto.randomUUID();
18659
18685
  const includes = this._includes;
18660
18686
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
18661
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
18687
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
18662
18688
  const raw = this._syncEngine.watch(
18663
18689
  queryDoc,
18664
18690
  mergedVars,
@@ -18701,7 +18727,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
18701
18727
  }
18702
18728
  async fetch(options) {
18703
18729
  const variables = this._variables;
18704
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationDocument, "notification", this._includes, variables);
18730
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.NotificationDocument, "notification", this._includes, variables);
18705
18731
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
18706
18732
  const data = response.notification;
18707
18733
  const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
@@ -18713,7 +18739,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
18713
18739
  watch(options) {
18714
18740
  const variables = this._variables;
18715
18741
  const includes = this._includes;
18716
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationDocument, "notification", includes, variables);
18742
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.NotificationDocument, "notification", includes, variables);
18717
18743
  const raw = this._syncEngine.watch(
18718
18744
  queryDoc,
18719
18745
  mergedVars,
@@ -18751,7 +18777,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
18751
18777
  }
18752
18778
  async fetch(options) {
18753
18779
  const variables = this._variables;
18754
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
18780
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
18755
18781
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
18756
18782
  const data = response.notifications;
18757
18783
  const connection = new NotificationConnection(this._request, (conn, opts) => new _NotificationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -18768,7 +18794,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
18768
18794
  const subscriptionId = crypto.randomUUID();
18769
18795
  const includes = this._includes;
18770
18796
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
18771
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationsDocument, "notifications", includes, variables, true);
18797
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.NotificationsDocument, "notifications", includes, variables, true);
18772
18798
  const raw = this._syncEngine.watch(
18773
18799
  queryDoc,
18774
18800
  mergedVars,
@@ -18810,7 +18836,7 @@ var NotificationsByReferenceQuery = class extends chunk342BFYZZ_cjs.Request {
18810
18836
  this._variables = variables;
18811
18837
  }
18812
18838
  async fetch(options) {
18813
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
18839
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
18814
18840
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
18815
18841
  const data = response.notificationsByReference;
18816
18842
  if (!Array.isArray(data)) return [];
@@ -18826,7 +18852,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
18826
18852
  }
18827
18853
  async fetch(options) {
18828
18854
  const variables = this._variables;
18829
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
18855
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
18830
18856
  const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
18831
18857
  const data = response.privacyStats;
18832
18858
  const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
@@ -18838,7 +18864,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
18838
18864
  watch(options) {
18839
18865
  const variables = this._variables;
18840
18866
  const includes = this._includes;
18841
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
18867
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
18842
18868
  const raw = this._syncEngine.watch(
18843
18869
  queryDoc,
18844
18870
  mergedVars,
@@ -18876,7 +18902,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
18876
18902
  }
18877
18903
  async fetch(options) {
18878
18904
  const variables = this._variables;
18879
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
18905
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
18880
18906
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
18881
18907
  const data = response.pulseAppSummary;
18882
18908
  if (!data) return void 0;
@@ -18889,7 +18915,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
18889
18915
  watch(options) {
18890
18916
  const variables = this._variables;
18891
18917
  const includes = this._includes;
18892
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
18918
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
18893
18919
  const raw = this._syncEngine.watch(
18894
18920
  queryDoc,
18895
18921
  mergedVars,
@@ -18928,7 +18954,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
18928
18954
  }
18929
18955
  async fetch(options) {
18930
18956
  const variables = this._variables;
18931
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
18957
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
18932
18958
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
18933
18959
  const data = response.pulseEvent;
18934
18960
  const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
@@ -18940,7 +18966,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
18940
18966
  watch(options) {
18941
18967
  const variables = this._variables;
18942
18968
  const includes = this._includes;
18943
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventDocument, "pulseEvent", includes, variables);
18969
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.PulseEventDocument, "pulseEvent", includes, variables);
18944
18970
  const raw = this._syncEngine.watch(
18945
18971
  queryDoc,
18946
18972
  mergedVars,
@@ -18970,7 +18996,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
18970
18996
  }
18971
18997
  /** Include integration in this query (Smart Fetch — single HTTP request). */
18972
18998
  integration(variables, builder) {
18973
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
18999
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
18974
19000
  let children;
18975
19001
  if (builder) {
18976
19002
  const sub = new IntegrationSubBuilder();
@@ -18979,7 +19005,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
18979
19005
  }
18980
19006
  this._includes.push({
18981
19007
  fieldName: "integration",
18982
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationFragmentDoc,
19008
+ fragmentDoc: chunkYZOCWEFU_cjs.IntegrationFragmentDoc,
18983
19009
  variables,
18984
19010
  isConnection: false,
18985
19011
  isList: false,
@@ -19003,14 +19029,14 @@ var PulseEvent_IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
19003
19029
  }
19004
19030
  async fetch(options) {
19005
19031
  const variables = this._variables;
19006
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
19032
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
19007
19033
  const data = response.pulseEvent?.integration;
19008
19034
  return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19009
19035
  }
19010
19036
  watch(options) {
19011
19037
  const variables = this._variables;
19012
19038
  const raw = this._syncEngine.watch(
19013
- chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument,
19039
+ chunkYZOCWEFU_cjs.PulseEvent_IntegrationDocument,
19014
19040
  variables,
19015
19041
  "pulseEvent",
19016
19042
  async (db) => {
@@ -19033,14 +19059,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Reque
19033
19059
  }
19034
19060
  async fetch(options) {
19035
19061
  const variables = this._variables;
19036
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
19062
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
19037
19063
  const data = response.pulseEvent?.integration?.provider;
19038
19064
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19039
19065
  }
19040
19066
  watch(options) {
19041
19067
  const variables = this._variables;
19042
19068
  const raw = this._syncEngine.watch(
19043
- chunkEL37Q6V6_cjs.PulseEvent_Integration_ProviderDocument,
19069
+ chunkYZOCWEFU_cjs.PulseEvent_Integration_ProviderDocument,
19044
19070
  variables,
19045
19071
  "pulseEvent",
19046
19072
  async (db) => {
@@ -19064,7 +19090,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
19064
19090
  }
19065
19091
  async fetch(options) {
19066
19092
  const variables = this._variables;
19067
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
19093
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
19068
19094
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
19069
19095
  const data = response.pulseEvents;
19070
19096
  const connection = new PulseEventConnection(this._request, (conn, opts) => new _PulseEventsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -19081,7 +19107,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
19081
19107
  const subscriptionId = crypto.randomUUID();
19082
19108
  const includes = this._includes;
19083
19109
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
19084
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
19110
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
19085
19111
  const raw = this._syncEngine.watch(
19086
19112
  queryDoc,
19087
19113
  mergedVars,
@@ -19116,7 +19142,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
19116
19142
  }
19117
19143
  /** Include integration in this query (Smart Fetch — single HTTP request). */
19118
19144
  integration(variables, builder) {
19119
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
19145
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
19120
19146
  let children;
19121
19147
  if (builder) {
19122
19148
  const sub = new IntegrationSubBuilder();
@@ -19125,7 +19151,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
19125
19151
  }
19126
19152
  this._includes.push({
19127
19153
  fieldName: "integration",
19128
- fragmentDoc: chunkEL37Q6V6_cjs.IntegrationFragmentDoc,
19154
+ fragmentDoc: chunkYZOCWEFU_cjs.IntegrationFragmentDoc,
19129
19155
  variables,
19130
19156
  isConnection: false,
19131
19157
  isList: false,
@@ -19149,7 +19175,7 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
19149
19175
  this._variables = variables;
19150
19176
  }
19151
19177
  async fetch(options) {
19152
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
19178
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
19153
19179
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
19154
19180
  const data = response.pulseTriggerSettings;
19155
19181
  if (!Array.isArray(data)) return [];
@@ -19158,19 +19184,19 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
19158
19184
  };
19159
19185
  var QueryQuery = class extends chunk342BFYZZ_cjs.Request {
19160
19186
  async fetch(variables) {
19161
- const response = await this._request(chunkEL37Q6V6_cjs.QueryDocument, variables);
19187
+ const response = await this._request(chunkYZOCWEFU_cjs.QueryDocument, variables);
19162
19188
  return response.query;
19163
19189
  }
19164
19190
  };
19165
19191
  var QueryWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
19166
19192
  async fetch(variables) {
19167
- const response = await this._request(chunkEL37Q6V6_cjs.QueryWithInsightIdDocument, variables);
19193
+ const response = await this._request(chunkYZOCWEFU_cjs.QueryWithInsightIdDocument, variables);
19168
19194
  return response.queryWithInsightId;
19169
19195
  }
19170
19196
  };
19171
19197
  var QueryWithMessageIdQuery = class extends chunk342BFYZZ_cjs.Request {
19172
19198
  async fetch(variables) {
19173
- const response = await this._request(chunkEL37Q6V6_cjs.QueryWithMessageIdDocument, variables);
19199
+ const response = await this._request(chunkYZOCWEFU_cjs.QueryWithMessageIdDocument, variables);
19174
19200
  return response.queryWithMessageId;
19175
19201
  }
19176
19202
  };
@@ -19183,7 +19209,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
19183
19209
  }
19184
19210
  async fetch(options) {
19185
19211
  const variables = this._variables;
19186
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportDocument, "report", this._includes, variables);
19212
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ReportDocument, "report", this._includes, variables);
19187
19213
  const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
19188
19214
  const data = response.report;
19189
19215
  const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
@@ -19195,7 +19221,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
19195
19221
  watch(options) {
19196
19222
  const variables = this._variables;
19197
19223
  const includes = this._includes;
19198
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportDocument, "report", includes, variables);
19224
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ReportDocument, "report", includes, variables);
19199
19225
  const raw = this._syncEngine.watch(
19200
19226
  queryDoc,
19201
19227
  mergedVars,
@@ -19225,7 +19251,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
19225
19251
  }
19226
19252
  /** Include insights in this query (Smart Fetch — single HTTP request). */
19227
19253
  insights(variables, builder) {
19228
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_InsightsDocument, "insights", ["id"]);
19254
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Report_InsightsDocument, "insights", ["id"]);
19229
19255
  let children;
19230
19256
  if (builder) {
19231
19257
  const sub = new InsightSubBuilder();
@@ -19234,7 +19260,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
19234
19260
  }
19235
19261
  this._includes.push({
19236
19262
  fieldName: "insights",
19237
- fragmentDoc: chunkEL37Q6V6_cjs.InsightConnectionFragmentDoc,
19263
+ fragmentDoc: chunkYZOCWEFU_cjs.InsightConnectionFragmentDoc,
19238
19264
  variables,
19239
19265
  isConnection: true,
19240
19266
  isList: false,
@@ -19252,10 +19278,10 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
19252
19278
  }
19253
19279
  /** Include layout in this query (Smart Fetch — single HTTP request). */
19254
19280
  layout(variables) {
19255
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_LayoutDocument, "layout", ["id"]);
19281
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Report_LayoutDocument, "layout", ["id"]);
19256
19282
  this._includes.push({
19257
19283
  fieldName: "layout",
19258
- fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
19284
+ fragmentDoc: chunkYZOCWEFU_cjs.ReportMemberFragmentDoc,
19259
19285
  variables,
19260
19286
  isConnection: false,
19261
19287
  isList: true,
@@ -19278,18 +19304,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk342BFYZZ_cjs
19278
19304
  }
19279
19305
  async fetch(options) {
19280
19306
  const variables = this._variables;
19281
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Report_InsightsDocument, variables, "report");
19307
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Report_InsightsDocument, variables, "report");
19282
19308
  const data = response.report?.insights;
19283
19309
  return new InsightConnection(this._request, (conn, opts) => new _Report_InsightsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
19284
19310
  }
19285
19311
  watch(options) {
19286
19312
  const variables = this._variables;
19287
19313
  const raw = this._syncEngine.watch(
19288
- chunkEL37Q6V6_cjs.Report_InsightsDocument,
19314
+ chunkYZOCWEFU_cjs.Report_InsightsDocument,
19289
19315
  variables,
19290
19316
  "report",
19291
19317
  async (db) => {
19292
- const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkEL37Q6V6_cjs.Report_InsightsDocument));
19318
+ const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkYZOCWEFU_cjs.Report_InsightsDocument));
19293
19319
  const nodes = qr ? await db.table("insights").bulkGet(qr.entityIds) : [];
19294
19320
  return { report: { insights: { __typename: "InsightConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
19295
19321
  }
@@ -19307,7 +19333,7 @@ var Report_LayoutQuery = class extends chunk342BFYZZ_cjs.Request {
19307
19333
  this._variables = variables;
19308
19334
  }
19309
19335
  async fetch(options) {
19310
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Report_LayoutDocument, this._variables, "report");
19336
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Report_LayoutDocument, this._variables, "report");
19311
19337
  const data = response.report?.layout;
19312
19338
  if (!Array.isArray(data)) return [];
19313
19339
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -19322,7 +19348,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
19322
19348
  }
19323
19349
  async fetch(options) {
19324
19350
  const variables = this._variables;
19325
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportsDocument, "reports", this._includes, variables, true);
19351
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ReportsDocument, "reports", this._includes, variables, true);
19326
19352
  const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
19327
19353
  const data = response.reports;
19328
19354
  const connection = new ReportConnection(this._request, (conn, opts) => new _ReportsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -19339,7 +19365,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
19339
19365
  const subscriptionId = crypto.randomUUID();
19340
19366
  const includes = this._includes;
19341
19367
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
19342
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportsDocument, "reports", includes, variables, true);
19368
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.ReportsDocument, "reports", includes, variables, true);
19343
19369
  const raw = this._syncEngine.watch(
19344
19370
  queryDoc,
19345
19371
  mergedVars,
@@ -19374,7 +19400,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
19374
19400
  }
19375
19401
  /** Include insights in this query (Smart Fetch — single HTTP request). */
19376
19402
  insights(variables, builder) {
19377
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_InsightsDocument, "insights", ["id"]);
19403
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Report_InsightsDocument, "insights", ["id"]);
19378
19404
  let children;
19379
19405
  if (builder) {
19380
19406
  const sub = new InsightSubBuilder();
@@ -19383,7 +19409,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
19383
19409
  }
19384
19410
  this._includes.push({
19385
19411
  fieldName: "insights",
19386
- fragmentDoc: chunkEL37Q6V6_cjs.InsightConnectionFragmentDoc,
19412
+ fragmentDoc: chunkYZOCWEFU_cjs.InsightConnectionFragmentDoc,
19387
19413
  variables,
19388
19414
  isConnection: true,
19389
19415
  isList: false,
@@ -19401,10 +19427,10 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
19401
19427
  }
19402
19428
  /** Include layout in this query (Smart Fetch — single HTTP request). */
19403
19429
  layout(variables) {
19404
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_LayoutDocument, "layout", ["id"]);
19430
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Report_LayoutDocument, "layout", ["id"]);
19405
19431
  this._includes.push({
19406
19432
  fieldName: "layout",
19407
- fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
19433
+ fragmentDoc: chunkYZOCWEFU_cjs.ReportMemberFragmentDoc,
19408
19434
  variables,
19409
19435
  isConnection: false,
19410
19436
  isList: true,
@@ -19428,7 +19454,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19428
19454
  }
19429
19455
  async fetch(options) {
19430
19456
  const variables = this._variables;
19431
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TableDocument, "table", this._includes, variables);
19457
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.TableDocument, "table", this._includes, variables);
19432
19458
  const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
19433
19459
  const data = response.table;
19434
19460
  const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
@@ -19440,7 +19466,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19440
19466
  watch(options) {
19441
19467
  const variables = this._variables;
19442
19468
  const includes = this._includes;
19443
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TableDocument, "table", includes, variables);
19469
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.TableDocument, "table", includes, variables);
19444
19470
  const raw = this._syncEngine.watch(
19445
19471
  queryDoc,
19446
19472
  mergedVars,
@@ -19470,7 +19496,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19470
19496
  }
19471
19497
  /** Include database in this query (Smart Fetch — single HTTP request). */
19472
19498
  database(variables, builder) {
19473
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DatabaseDocument, "database", ["id"]);
19499
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Table_DatabaseDocument, "database", ["id"]);
19474
19500
  let children;
19475
19501
  if (builder) {
19476
19502
  const sub = new DatabaseSubBuilder();
@@ -19479,7 +19505,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19479
19505
  }
19480
19506
  this._includes.push({
19481
19507
  fieldName: "database",
19482
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseFragmentDoc,
19508
+ fragmentDoc: chunkYZOCWEFU_cjs.DatabaseFragmentDoc,
19483
19509
  variables,
19484
19510
  isConnection: false,
19485
19511
  isList: false,
@@ -19496,7 +19522,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19496
19522
  }
19497
19523
  /** Include document in this query (Smart Fetch — single HTTP request). */
19498
19524
  document(variables, builder) {
19499
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DocumentDocument, "document", ["id"]);
19525
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Table_DocumentDocument, "document", ["id"]);
19500
19526
  let children;
19501
19527
  if (builder) {
19502
19528
  const sub = new DocumentSubBuilder();
@@ -19505,7 +19531,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19505
19531
  }
19506
19532
  this._includes.push({
19507
19533
  fieldName: "document",
19508
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFragmentDoc,
19534
+ fragmentDoc: chunkYZOCWEFU_cjs.DocumentFragmentDoc,
19509
19535
  variables,
19510
19536
  isConnection: false,
19511
19537
  isList: false,
@@ -19522,10 +19548,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19522
19548
  }
19523
19549
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
19524
19550
  fromRelations(variables) {
19525
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
19551
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
19526
19552
  this._includes.push({
19527
19553
  fieldName: "fromRelations",
19528
- fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
19554
+ fragmentDoc: chunkYZOCWEFU_cjs.RelationFragmentDoc,
19529
19555
  variables,
19530
19556
  isConnection: false,
19531
19557
  isList: true,
@@ -19541,10 +19567,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19541
19567
  }
19542
19568
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
19543
19569
  toRelations(variables) {
19544
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
19570
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
19545
19571
  this._includes.push({
19546
19572
  fieldName: "toRelations",
19547
- fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
19573
+ fragmentDoc: chunkYZOCWEFU_cjs.RelationFragmentDoc,
19548
19574
  variables,
19549
19575
  isConnection: false,
19550
19576
  isList: true,
@@ -19567,14 +19593,14 @@ var Table_DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
19567
19593
  }
19568
19594
  async fetch(options) {
19569
19595
  const variables = this._variables;
19570
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_DatabaseDocument, variables, "table");
19596
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Table_DatabaseDocument, variables, "table");
19571
19597
  const data = response.table?.database;
19572
19598
  return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19573
19599
  }
19574
19600
  watch(options) {
19575
19601
  const variables = this._variables;
19576
19602
  const raw = this._syncEngine.watch(
19577
- chunkEL37Q6V6_cjs.Table_DatabaseDocument,
19603
+ chunkYZOCWEFU_cjs.Table_DatabaseDocument,
19578
19604
  variables,
19579
19605
  "table",
19580
19606
  async (db) => {
@@ -19597,14 +19623,14 @@ var Table_Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
19597
19623
  }
19598
19624
  async fetch(options) {
19599
19625
  const variables = this._variables;
19600
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Database_EngineDocument, variables, "table");
19626
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Table_Database_EngineDocument, variables, "table");
19601
19627
  const data = response.table?.database?.engine;
19602
19628
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19603
19629
  }
19604
19630
  watch(options) {
19605
19631
  const variables = this._variables;
19606
19632
  const raw = this._syncEngine.watch(
19607
- chunkEL37Q6V6_cjs.Table_Database_EngineDocument,
19633
+ chunkYZOCWEFU_cjs.Table_Database_EngineDocument,
19608
19634
  variables,
19609
19635
  "table",
19610
19636
  async (db) => {
@@ -19627,14 +19653,14 @@ var Table_DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
19627
19653
  }
19628
19654
  async fetch(options) {
19629
19655
  const variables = this._variables;
19630
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_DocumentDocument, variables, "table");
19656
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Table_DocumentDocument, variables, "table");
19631
19657
  const data = response.table?.document;
19632
19658
  return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19633
19659
  }
19634
19660
  watch(options) {
19635
19661
  const variables = this._variables;
19636
19662
  const raw = this._syncEngine.watch(
19637
- chunkEL37Q6V6_cjs.Table_DocumentDocument,
19663
+ chunkYZOCWEFU_cjs.Table_DocumentDocument,
19638
19664
  variables,
19639
19665
  "table",
19640
19666
  async (db) => {
@@ -19656,7 +19682,7 @@ var Table_Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
19656
19682
  this._variables = variables;
19657
19683
  }
19658
19684
  async fetch(options) {
19659
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Document_ContentsDocument, this._variables, "table");
19685
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Table_Document_ContentsDocument, this._variables, "table");
19660
19686
  const data = response.table?.document?.contents;
19661
19687
  if (!Array.isArray(data)) return [];
19662
19688
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -19670,14 +19696,14 @@ var Table_Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
19670
19696
  }
19671
19697
  async fetch(options) {
19672
19698
  const variables = this._variables;
19673
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Document_FileDocument, variables, "table");
19699
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Table_Document_FileDocument, variables, "table");
19674
19700
  const data = response.table?.document?.file;
19675
19701
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19676
19702
  }
19677
19703
  watch(options) {
19678
19704
  const variables = this._variables;
19679
19705
  const raw = this._syncEngine.watch(
19680
- chunkEL37Q6V6_cjs.Table_Document_FileDocument,
19706
+ chunkYZOCWEFU_cjs.Table_Document_FileDocument,
19681
19707
  variables,
19682
19708
  "table",
19683
19709
  async (db) => {
@@ -19700,14 +19726,14 @@ var Table_Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
19700
19726
  }
19701
19727
  async fetch(options) {
19702
19728
  const variables = this._variables;
19703
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Document_FormatDocument, variables, "table");
19729
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Table_Document_FormatDocument, variables, "table");
19704
19730
  const data = response.table?.document?.format;
19705
19731
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19706
19732
  }
19707
19733
  watch(options) {
19708
19734
  const variables = this._variables;
19709
19735
  const raw = this._syncEngine.watch(
19710
- chunkEL37Q6V6_cjs.Table_Document_FormatDocument,
19736
+ chunkYZOCWEFU_cjs.Table_Document_FormatDocument,
19711
19737
  variables,
19712
19738
  "table",
19713
19739
  async (db) => {
@@ -19729,7 +19755,7 @@ var Table_FromRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
19729
19755
  this._variables = variables;
19730
19756
  }
19731
19757
  async fetch(options) {
19732
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, this._variables, "table");
19758
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Table_FromRelationsDocument, this._variables, "table");
19733
19759
  const data = response.table?.fromRelations;
19734
19760
  if (!Array.isArray(data)) return [];
19735
19761
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -19742,7 +19768,7 @@ var Table_ToRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
19742
19768
  this._variables = variables;
19743
19769
  }
19744
19770
  async fetch(options) {
19745
- const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, this._variables, "table");
19771
+ const response = await this._syncEngine.query(chunkYZOCWEFU_cjs.Table_ToRelationsDocument, this._variables, "table");
19746
19772
  const data = response.table?.toRelations;
19747
19773
  if (!Array.isArray(data)) return [];
19748
19774
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -19757,7 +19783,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19757
19783
  }
19758
19784
  async fetch(options) {
19759
19785
  const variables = this._variables;
19760
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TablesDocument, "tables", this._includes, variables, true);
19786
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.TablesDocument, "tables", this._includes, variables, true);
19761
19787
  const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
19762
19788
  const data = response.tables;
19763
19789
  const connection = new TableConnection(this._request, (conn, opts) => new _TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -19774,7 +19800,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19774
19800
  const subscriptionId = crypto.randomUUID();
19775
19801
  const includes = this._includes;
19776
19802
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
19777
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TablesDocument, "tables", includes, variables, true);
19803
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.TablesDocument, "tables", includes, variables, true);
19778
19804
  const raw = this._syncEngine.watch(
19779
19805
  queryDoc,
19780
19806
  mergedVars,
@@ -19809,7 +19835,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19809
19835
  }
19810
19836
  /** Include database in this query (Smart Fetch — single HTTP request). */
19811
19837
  database(variables, builder) {
19812
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DatabaseDocument, "database", ["id"]);
19838
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Table_DatabaseDocument, "database", ["id"]);
19813
19839
  let children;
19814
19840
  if (builder) {
19815
19841
  const sub = new DatabaseSubBuilder();
@@ -19818,7 +19844,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19818
19844
  }
19819
19845
  this._includes.push({
19820
19846
  fieldName: "database",
19821
- fragmentDoc: chunkEL37Q6V6_cjs.DatabaseFragmentDoc,
19847
+ fragmentDoc: chunkYZOCWEFU_cjs.DatabaseFragmentDoc,
19822
19848
  variables,
19823
19849
  isConnection: false,
19824
19850
  isList: false,
@@ -19835,7 +19861,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19835
19861
  }
19836
19862
  /** Include document in this query (Smart Fetch — single HTTP request). */
19837
19863
  document(variables, builder) {
19838
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DocumentDocument, "document", ["id"]);
19864
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Table_DocumentDocument, "document", ["id"]);
19839
19865
  let children;
19840
19866
  if (builder) {
19841
19867
  const sub = new DocumentSubBuilder();
@@ -19844,7 +19870,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19844
19870
  }
19845
19871
  this._includes.push({
19846
19872
  fieldName: "document",
19847
- fragmentDoc: chunkEL37Q6V6_cjs.DocumentFragmentDoc,
19873
+ fragmentDoc: chunkYZOCWEFU_cjs.DocumentFragmentDoc,
19848
19874
  variables,
19849
19875
  isConnection: false,
19850
19876
  isList: false,
@@ -19861,10 +19887,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19861
19887
  }
19862
19888
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
19863
19889
  fromRelations(variables) {
19864
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
19890
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
19865
19891
  this._includes.push({
19866
19892
  fieldName: "fromRelations",
19867
- fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
19893
+ fragmentDoc: chunkYZOCWEFU_cjs.RelationFragmentDoc,
19868
19894
  variables,
19869
19895
  isConnection: false,
19870
19896
  isList: true,
@@ -19880,10 +19906,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19880
19906
  }
19881
19907
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
19882
19908
  toRelations(variables) {
19883
- const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
19909
+ const info = extractIncludeInfo(chunkYZOCWEFU_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
19884
19910
  this._includes.push({
19885
19911
  fieldName: "toRelations",
19886
- fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
19912
+ fragmentDoc: chunkYZOCWEFU_cjs.RelationFragmentDoc,
19887
19913
  variables,
19888
19914
  isConnection: false,
19889
19915
  isList: true,
@@ -19907,7 +19933,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
19907
19933
  }
19908
19934
  async fetch(options) {
19909
19935
  const variables = this._variables;
19910
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
19936
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
19911
19937
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
19912
19938
  const data = response.userSkillFile;
19913
19939
  const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -19919,7 +19945,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
19919
19945
  watch(options) {
19920
19946
  const variables = this._variables;
19921
19947
  const includes = this._includes;
19922
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
19948
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
19923
19949
  const raw = this._syncEngine.watch(
19924
19950
  queryDoc,
19925
19951
  mergedVars,
@@ -19956,7 +19982,7 @@ var UserSkillFilesQuery = class extends chunk342BFYZZ_cjs.Request {
19956
19982
  this._variables = variables;
19957
19983
  }
19958
19984
  async fetch(options) {
19959
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
19985
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
19960
19986
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
19961
19987
  const data = response.userSkillFiles;
19962
19988
  if (!Array.isArray(data)) return [];
@@ -19972,7 +19998,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
19972
19998
  }
19973
19999
  async fetch(options) {
19974
20000
  const variables = this._variables;
19975
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
20001
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
19976
20002
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
19977
20003
  const data = response.userSkillFolder;
19978
20004
  const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -19984,7 +20010,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
19984
20010
  watch(options) {
19985
20011
  const variables = this._variables;
19986
20012
  const includes = this._includes;
19987
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
20013
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
19988
20014
  const raw = this._syncEngine.watch(
19989
20015
  queryDoc,
19990
20016
  mergedVars,
@@ -20021,7 +20047,7 @@ var UserSkillFoldersQuery = class extends chunk342BFYZZ_cjs.Request {
20021
20047
  this._variables = variables;
20022
20048
  }
20023
20049
  async fetch(options) {
20024
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
20050
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
20025
20051
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
20026
20052
  const data = response.userSkillFolders;
20027
20053
  if (!Array.isArray(data)) return [];
@@ -20037,7 +20063,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
20037
20063
  }
20038
20064
  async fetch(options) {
20039
20065
  const variables = this._variables;
20040
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
20066
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
20041
20067
  const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
20042
20068
  const data = response.workspaceDeletionSchedule;
20043
20069
  if (!data) return void 0;
@@ -20050,7 +20076,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
20050
20076
  watch(options) {
20051
20077
  const variables = this._variables;
20052
20078
  const includes = this._includes;
20053
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
20079
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYZOCWEFU_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
20054
20080
  const raw = this._syncEngine.watch(
20055
20081
  queryDoc,
20056
20082
  mergedVars,
@@ -20082,7 +20108,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
20082
20108
  };
20083
20109
  var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
20084
20110
  async *subscribe(variables) {
20085
- for await (const response of this._subscribe(chunkEL37Q6V6_cjs.McpAuthUpdatesDocument, variables)) {
20111
+ for await (const response of this._subscribe(chunkYZOCWEFU_cjs.McpAuthUpdatesDocument, variables)) {
20086
20112
  const data = response.mcpAuthUpdates;
20087
20113
  yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
20088
20114
  }
@@ -20090,7 +20116,7 @@ var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
20090
20116
  };
20091
20117
  var TokenUsageUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
20092
20118
  async *subscribe(variables) {
20093
- for await (const response of this._subscribe(chunkEL37Q6V6_cjs.TokenUsageUpdatesDocument, variables)) {
20119
+ for await (const response of this._subscribe(chunkYZOCWEFU_cjs.TokenUsageUpdatesDocument, variables)) {
20094
20120
  const data = response.tokenUsageUpdates;
20095
20121
  yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
20096
20122
  }
@@ -21032,5 +21058,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
21032
21058
  exports.reconstructConnectionNodes = reconstructConnectionNodes;
21033
21059
  exports.reconstructEntity = reconstructEntity;
21034
21060
  exports.uploadFile = uploadFile;
21035
- //# sourceMappingURL=chunk-JI734QZE.cjs.map
21036
- //# sourceMappingURL=chunk-JI734QZE.cjs.map
21061
+ //# sourceMappingURL=chunk-3I3SFD7O.cjs.map
21062
+ //# sourceMappingURL=chunk-3I3SFD7O.cjs.map