@dvina/sdk 4.0.106 → 4.0.109

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ var chunk342BFYZZ_cjs = require('./chunk-342BFYZZ.cjs');
4
4
  var chunkUELAE75E_cjs = require('./chunk-UELAE75E.cjs');
5
5
  var chunkBL3GFOZR_cjs = require('./chunk-BL3GFOZR.cjs');
6
6
  var chunkKV5SP7RP_cjs = require('./chunk-KV5SP7RP.cjs');
7
- var chunk5IUEWNZ6_cjs = require('./chunk-5IUEWNZ6.cjs');
7
+ var chunkGL6CUR7S_cjs = require('./chunk-GL6CUR7S.cjs');
8
8
  var chunkDZUJEN5N_cjs = require('./chunk-DZUJEN5N.cjs');
9
9
 
10
10
  // ../../node_modules/.pnpm/dexie@4.3.0/node_modules/dexie/dist/dexie.js
@@ -9586,7 +9586,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
9586
9586
  var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
9587
9587
  var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
9588
9588
  async function uploadFile(request, getToken, file, name, options) {
9589
- const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-BIPMKLWN.cjs');
9589
+ const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-H4JUEJGN.cjs');
9590
9590
  const key = `upload_${Date.now()}`;
9591
9591
  const response = await request(
9592
9592
  GenerateUploadUriDocument2,
@@ -12109,7 +12109,7 @@ var AgentSubBuilder = class {
12109
12109
  _includes = [];
12110
12110
  /** Include chats in the parent query. */
12111
12111
  chats(variables, builder) {
12112
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Agent_ChatsDocument, "chats", ["id"]);
12112
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Agent_ChatsDocument, "chats", ["id"]);
12113
12113
  let children;
12114
12114
  if (builder) {
12115
12115
  const sub = new ChatSubBuilder();
@@ -12118,7 +12118,7 @@ var AgentSubBuilder = class {
12118
12118
  }
12119
12119
  this._includes.push({
12120
12120
  fieldName: "chats",
12121
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatConnectionFragmentDoc,
12121
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatConnectionFragmentDoc,
12122
12122
  variables,
12123
12123
  isConnection: true,
12124
12124
  isList: false,
@@ -12140,7 +12140,7 @@ var ArtifactSubBuilder = class {
12140
12140
  _includes = [];
12141
12141
  /** Include chat in the parent query. */
12142
12142
  chat(variables, builder) {
12143
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Artifact_ChatDocument, "chat", ["id"]);
12143
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_ChatDocument, "chat", ["id"]);
12144
12144
  let children;
12145
12145
  if (builder) {
12146
12146
  const sub = new ChatSubBuilder();
@@ -12149,7 +12149,7 @@ var ArtifactSubBuilder = class {
12149
12149
  }
12150
12150
  this._includes.push({
12151
12151
  fieldName: "chat",
12152
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatFragmentDoc,
12152
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
12153
12153
  variables,
12154
12154
  isConnection: false,
12155
12155
  isList: false,
@@ -12166,10 +12166,10 @@ var ArtifactSubBuilder = class {
12166
12166
  }
12167
12167
  /** Include file in the parent query. */
12168
12168
  file(variables) {
12169
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Artifact_FileDocument, "file", ["id"]);
12169
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_FileDocument, "file", ["id"]);
12170
12170
  this._includes.push({
12171
12171
  fieldName: "file",
12172
- fragmentDoc: chunk5IUEWNZ6_cjs.FileFragmentDoc,
12172
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
12173
12173
  variables,
12174
12174
  isConnection: false,
12175
12175
  isList: false,
@@ -12185,7 +12185,7 @@ var ArtifactSubBuilder = class {
12185
12185
  }
12186
12186
  /** Include message in the parent query. */
12187
12187
  message(variables, builder) {
12188
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Artifact_MessageDocument, "message", ["id"]);
12188
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_MessageDocument, "message", ["id"]);
12189
12189
  let children;
12190
12190
  if (builder) {
12191
12191
  const sub = new ChatMessageSubBuilder();
@@ -12194,7 +12194,7 @@ var ArtifactSubBuilder = class {
12194
12194
  }
12195
12195
  this._includes.push({
12196
12196
  fieldName: "message",
12197
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatMessageFragmentDoc,
12197
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageFragmentDoc,
12198
12198
  variables,
12199
12199
  isConnection: false,
12200
12200
  isList: false,
@@ -12215,7 +12215,7 @@ var ChatSubBuilder = class {
12215
12215
  _includes = [];
12216
12216
  /** Include agents in the parent query. */
12217
12217
  agents(variables, builder) {
12218
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Chat_AgentsDocument, "agents", ["id"]);
12218
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_AgentsDocument, "agents", ["id"]);
12219
12219
  let children;
12220
12220
  if (builder) {
12221
12221
  const sub = new AgentSubBuilder();
@@ -12224,7 +12224,7 @@ var ChatSubBuilder = class {
12224
12224
  }
12225
12225
  this._includes.push({
12226
12226
  fieldName: "agents",
12227
- fragmentDoc: chunk5IUEWNZ6_cjs.AgentConnectionFragmentDoc,
12227
+ fragmentDoc: chunkGL6CUR7S_cjs.AgentConnectionFragmentDoc,
12228
12228
  variables,
12229
12229
  isConnection: true,
12230
12230
  isList: false,
@@ -12242,7 +12242,7 @@ var ChatSubBuilder = class {
12242
12242
  }
12243
12243
  /** Include artifacts in the parent query. */
12244
12244
  artifacts(variables, builder) {
12245
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
12245
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
12246
12246
  let children;
12247
12247
  if (builder) {
12248
12248
  const sub = new ArtifactSubBuilder();
@@ -12251,7 +12251,7 @@ var ChatSubBuilder = class {
12251
12251
  }
12252
12252
  this._includes.push({
12253
12253
  fieldName: "artifacts",
12254
- fragmentDoc: chunk5IUEWNZ6_cjs.ArtifactConnectionFragmentDoc,
12254
+ fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
12255
12255
  variables,
12256
12256
  isConnection: true,
12257
12257
  isList: false,
@@ -12269,7 +12269,7 @@ var ChatSubBuilder = class {
12269
12269
  }
12270
12270
  /** Include insight in the parent query. */
12271
12271
  insight(variables, builder) {
12272
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Chat_InsightDocument, "insight", ["id"]);
12272
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_InsightDocument, "insight", ["id"]);
12273
12273
  let children;
12274
12274
  if (builder) {
12275
12275
  const sub = new InsightSubBuilder();
@@ -12278,7 +12278,7 @@ var ChatSubBuilder = class {
12278
12278
  }
12279
12279
  this._includes.push({
12280
12280
  fieldName: "insight",
12281
- fragmentDoc: chunk5IUEWNZ6_cjs.InsightFragmentDoc,
12281
+ fragmentDoc: chunkGL6CUR7S_cjs.InsightFragmentDoc,
12282
12282
  variables,
12283
12283
  isConnection: false,
12284
12284
  isList: false,
@@ -12295,7 +12295,7 @@ var ChatSubBuilder = class {
12295
12295
  }
12296
12296
  /** Include messages in the parent query. */
12297
12297
  messages(variables, builder) {
12298
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Chat_MessagesDocument, "messages", ["id"]);
12298
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_MessagesDocument, "messages", ["id"]);
12299
12299
  let children;
12300
12300
  if (builder) {
12301
12301
  const sub = new ChatMessageSubBuilder();
@@ -12304,7 +12304,7 @@ var ChatSubBuilder = class {
12304
12304
  }
12305
12305
  this._includes.push({
12306
12306
  fieldName: "messages",
12307
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatMessageConnectionFragmentDoc,
12307
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageConnectionFragmentDoc,
12308
12308
  variables,
12309
12309
  isConnection: true,
12310
12310
  isList: false,
@@ -12326,7 +12326,7 @@ var ChatMessageSubBuilder = class {
12326
12326
  _includes = [];
12327
12327
  /** Include artifacts in the parent query. */
12328
12328
  artifacts(variables, builder) {
12329
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
12329
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
12330
12330
  let children;
12331
12331
  if (builder) {
12332
12332
  const sub = new ArtifactSubBuilder();
@@ -12335,7 +12335,7 @@ var ChatMessageSubBuilder = class {
12335
12335
  }
12336
12336
  this._includes.push({
12337
12337
  fieldName: "artifacts",
12338
- fragmentDoc: chunk5IUEWNZ6_cjs.ArtifactConnectionFragmentDoc,
12338
+ fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
12339
12339
  variables,
12340
12340
  isConnection: true,
12341
12341
  isList: false,
@@ -12353,7 +12353,7 @@ var ChatMessageSubBuilder = class {
12353
12353
  }
12354
12354
  /** Include chat in the parent query. */
12355
12355
  chat(variables, builder) {
12356
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
12356
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
12357
12357
  let children;
12358
12358
  if (builder) {
12359
12359
  const sub = new ChatSubBuilder();
@@ -12362,7 +12362,7 @@ var ChatMessageSubBuilder = class {
12362
12362
  }
12363
12363
  this._includes.push({
12364
12364
  fieldName: "chat",
12365
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatFragmentDoc,
12365
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
12366
12366
  variables,
12367
12367
  isConnection: false,
12368
12368
  isList: false,
@@ -12379,10 +12379,10 @@ var ChatMessageSubBuilder = class {
12379
12379
  }
12380
12380
  /** Include contents in the parent query. */
12381
12381
  contents(variables) {
12382
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
12382
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
12383
12383
  this._includes.push({
12384
12384
  fieldName: "contents",
12385
- fragmentDoc: chunk5IUEWNZ6_cjs.ContentBlockFragmentDoc,
12385
+ fragmentDoc: chunkGL6CUR7S_cjs.ContentBlockFragmentDoc,
12386
12386
  variables,
12387
12387
  isConnection: false,
12388
12388
  isList: true,
@@ -12398,10 +12398,10 @@ var ChatMessageSubBuilder = class {
12398
12398
  }
12399
12399
  /** Include feedback in the parent query. */
12400
12400
  feedback(variables) {
12401
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
12401
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
12402
12402
  this._includes.push({
12403
12403
  fieldName: "feedback",
12404
- fragmentDoc: chunk5IUEWNZ6_cjs.FeedbackFragmentDoc,
12404
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedbackFragmentDoc,
12405
12405
  variables,
12406
12406
  isConnection: false,
12407
12407
  isList: false,
@@ -12421,10 +12421,10 @@ var DatabaseSubBuilder = class {
12421
12421
  _includes = [];
12422
12422
  /** Include engine in the parent query. */
12423
12423
  engine(variables) {
12424
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Database_EngineDocument, "engine", ["id"]);
12424
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_EngineDocument, "engine", ["id"]);
12425
12425
  this._includes.push({
12426
12426
  fieldName: "engine",
12427
- fragmentDoc: chunk5IUEWNZ6_cjs.DatabaseEngineFragmentDoc,
12427
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
12428
12428
  variables,
12429
12429
  isConnection: false,
12430
12430
  isList: false,
@@ -12440,7 +12440,7 @@ var DatabaseSubBuilder = class {
12440
12440
  }
12441
12441
  /** Include tables in the parent query. */
12442
12442
  tables(variables, builder) {
12443
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Database_TablesDocument, "tables", ["id"]);
12443
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_TablesDocument, "tables", ["id"]);
12444
12444
  let children;
12445
12445
  if (builder) {
12446
12446
  const sub = new TableSubBuilder();
@@ -12449,7 +12449,7 @@ var DatabaseSubBuilder = class {
12449
12449
  }
12450
12450
  this._includes.push({
12451
12451
  fieldName: "tables",
12452
- fragmentDoc: chunk5IUEWNZ6_cjs.TableConnectionFragmentDoc,
12452
+ fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
12453
12453
  variables,
12454
12454
  isConnection: true,
12455
12455
  isList: false,
@@ -12471,10 +12471,10 @@ var DatabaseCatalogSubBuilder = class {
12471
12471
  _includes = [];
12472
12472
  /** Include engine in the parent query. */
12473
12473
  engine(variables) {
12474
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.DatabaseCatalog_EngineDocument, "engine", []);
12474
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, "engine", []);
12475
12475
  this._includes.push({
12476
12476
  fieldName: "engine",
12477
- fragmentDoc: chunk5IUEWNZ6_cjs.DatabaseEngineFragmentDoc,
12477
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
12478
12478
  variables,
12479
12479
  isConnection: false,
12480
12480
  isList: false,
@@ -12494,10 +12494,10 @@ var DocumentSubBuilder = class {
12494
12494
  _includes = [];
12495
12495
  /** Include contents in the parent query. */
12496
12496
  contents(variables) {
12497
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Document_ContentsDocument, "contents", ["id"]);
12497
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_ContentsDocument, "contents", ["id"]);
12498
12498
  this._includes.push({
12499
12499
  fieldName: "contents",
12500
- fragmentDoc: chunk5IUEWNZ6_cjs.DocumentContentFragmentDoc,
12500
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentContentFragmentDoc,
12501
12501
  variables,
12502
12502
  isConnection: false,
12503
12503
  isList: true,
@@ -12513,10 +12513,10 @@ var DocumentSubBuilder = class {
12513
12513
  }
12514
12514
  /** Include file in the parent query. */
12515
12515
  file(variables) {
12516
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Document_FileDocument, "file", ["id"]);
12516
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FileDocument, "file", ["id"]);
12517
12517
  this._includes.push({
12518
12518
  fieldName: "file",
12519
- fragmentDoc: chunk5IUEWNZ6_cjs.FileFragmentDoc,
12519
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
12520
12520
  variables,
12521
12521
  isConnection: false,
12522
12522
  isList: false,
@@ -12532,10 +12532,10 @@ var DocumentSubBuilder = class {
12532
12532
  }
12533
12533
  /** Include format in the parent query. */
12534
12534
  format(variables) {
12535
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Document_FormatDocument, "format", ["id"]);
12535
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FormatDocument, "format", ["id"]);
12536
12536
  this._includes.push({
12537
12537
  fieldName: "format",
12538
- fragmentDoc: chunk5IUEWNZ6_cjs.DocumentFormatFragmentDoc,
12538
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
12539
12539
  variables,
12540
12540
  isConnection: false,
12541
12541
  isList: false,
@@ -12551,7 +12551,7 @@ var DocumentSubBuilder = class {
12551
12551
  }
12552
12552
  /** Include tables in the parent query. */
12553
12553
  tables(variables, builder) {
12554
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Document_TablesDocument, "tables", ["id"]);
12554
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_TablesDocument, "tables", ["id"]);
12555
12555
  let children;
12556
12556
  if (builder) {
12557
12557
  const sub = new TableSubBuilder();
@@ -12560,7 +12560,7 @@ var DocumentSubBuilder = class {
12560
12560
  }
12561
12561
  this._includes.push({
12562
12562
  fieldName: "tables",
12563
- fragmentDoc: chunk5IUEWNZ6_cjs.TableConnectionFragmentDoc,
12563
+ fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
12564
12564
  variables,
12565
12565
  isConnection: true,
12566
12566
  isList: false,
@@ -12582,10 +12582,10 @@ var DocumentCatalogSubBuilder = class {
12582
12582
  _includes = [];
12583
12583
  /** Include format in the parent query. */
12584
12584
  format(variables) {
12585
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.DocumentCatalog_FormatDocument, "format", []);
12585
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, "format", []);
12586
12586
  this._includes.push({
12587
12587
  fieldName: "format",
12588
- fragmentDoc: chunk5IUEWNZ6_cjs.DocumentFormatFragmentDoc,
12588
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
12589
12589
  variables,
12590
12590
  isConnection: false,
12591
12591
  isList: false,
@@ -12605,10 +12605,10 @@ var FeedItemSubBuilder = class {
12605
12605
  _includes = [];
12606
12606
  /** Include action in the parent query. */
12607
12607
  action(variables) {
12608
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.FeedItem_ActionDocument, "action", ["id"]);
12608
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, "action", ["id"]);
12609
12609
  this._includes.push({
12610
12610
  fieldName: "action",
12611
- fragmentDoc: chunk5IUEWNZ6_cjs.FeedSendMessageActionFragmentDoc,
12611
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedSendMessageActionFragmentDoc,
12612
12612
  variables,
12613
12613
  isConnection: false,
12614
12614
  isList: false,
@@ -12624,10 +12624,10 @@ var FeedItemSubBuilder = class {
12624
12624
  }
12625
12625
  /** Include data in the parent query. */
12626
12626
  data(variables) {
12627
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.FeedItem_DataDocument, "data", ["id"]);
12627
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_DataDocument, "data", ["id"]);
12628
12628
  this._includes.push({
12629
12629
  fieldName: "data",
12630
- fragmentDoc: chunk5IUEWNZ6_cjs.FeedArtifactDataFragmentDoc,
12630
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedArtifactDataFragmentDoc,
12631
12631
  variables,
12632
12632
  isConnection: false,
12633
12633
  isList: true,
@@ -12647,7 +12647,7 @@ var InsightSubBuilder = class {
12647
12647
  _includes = [];
12648
12648
  /** Include chat in the parent query. */
12649
12649
  chat(variables, builder) {
12650
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Insight_ChatDocument, "chat", ["id"]);
12650
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ChatDocument, "chat", ["id"]);
12651
12651
  let children;
12652
12652
  if (builder) {
12653
12653
  const sub = new ChatSubBuilder();
@@ -12656,7 +12656,7 @@ var InsightSubBuilder = class {
12656
12656
  }
12657
12657
  this._includes.push({
12658
12658
  fieldName: "chat",
12659
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatFragmentDoc,
12659
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
12660
12660
  variables,
12661
12661
  isConnection: false,
12662
12662
  isList: false,
@@ -12673,10 +12673,10 @@ var InsightSubBuilder = class {
12673
12673
  }
12674
12674
  /** Include reportMembers in the parent query. */
12675
12675
  reportMembers(variables) {
12676
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
12676
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
12677
12677
  this._includes.push({
12678
12678
  fieldName: "reportMembers",
12679
- fragmentDoc: chunk5IUEWNZ6_cjs.ReportMemberFragmentDoc,
12679
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
12680
12680
  variables,
12681
12681
  isConnection: false,
12682
12682
  isList: true,
@@ -12692,7 +12692,7 @@ var InsightSubBuilder = class {
12692
12692
  }
12693
12693
  /** Include reports in the parent query. */
12694
12694
  reports(variables, builder) {
12695
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Insight_ReportsDocument, "reports", ["id"]);
12695
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportsDocument, "reports", ["id"]);
12696
12696
  let children;
12697
12697
  if (builder) {
12698
12698
  const sub = new ReportSubBuilder();
@@ -12701,7 +12701,7 @@ var InsightSubBuilder = class {
12701
12701
  }
12702
12702
  this._includes.push({
12703
12703
  fieldName: "reports",
12704
- fragmentDoc: chunk5IUEWNZ6_cjs.ReportConnectionFragmentDoc,
12704
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportConnectionFragmentDoc,
12705
12705
  variables,
12706
12706
  isConnection: true,
12707
12707
  isList: false,
@@ -12719,10 +12719,10 @@ var InsightSubBuilder = class {
12719
12719
  }
12720
12720
  /** Include thumbnailFile in the parent query. */
12721
12721
  thumbnailFile(variables) {
12722
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
12722
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
12723
12723
  this._includes.push({
12724
12724
  fieldName: "thumbnailFile",
12725
- fragmentDoc: chunk5IUEWNZ6_cjs.FileFragmentDoc,
12725
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
12726
12726
  variables,
12727
12727
  isConnection: false,
12728
12728
  isList: false,
@@ -12742,10 +12742,10 @@ var IntegrationSubBuilder = class {
12742
12742
  _includes = [];
12743
12743
  /** Include provider in the parent query. */
12744
12744
  provider(variables) {
12745
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Integration_ProviderDocument, "provider", ["id"]);
12745
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Integration_ProviderDocument, "provider", ["id"]);
12746
12746
  this._includes.push({
12747
12747
  fieldName: "provider",
12748
- fragmentDoc: chunk5IUEWNZ6_cjs.IntegrationProviderFragmentDoc,
12748
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
12749
12749
  variables,
12750
12750
  isConnection: false,
12751
12751
  isList: false,
@@ -12765,10 +12765,10 @@ var IntegrationCatalogSubBuilder = class {
12765
12765
  _includes = [];
12766
12766
  /** Include provider in the parent query. */
12767
12767
  provider(variables) {
12768
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
12768
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
12769
12769
  this._includes.push({
12770
12770
  fieldName: "provider",
12771
- fragmentDoc: chunk5IUEWNZ6_cjs.IntegrationProviderFragmentDoc,
12771
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
12772
12772
  variables,
12773
12773
  isConnection: false,
12774
12774
  isList: false,
@@ -12788,7 +12788,7 @@ var PulseEventSubBuilder = class {
12788
12788
  _includes = [];
12789
12789
  /** Include integration in the parent query. */
12790
12790
  integration(variables, builder) {
12791
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
12791
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
12792
12792
  let children;
12793
12793
  if (builder) {
12794
12794
  const sub = new IntegrationSubBuilder();
@@ -12797,7 +12797,7 @@ var PulseEventSubBuilder = class {
12797
12797
  }
12798
12798
  this._includes.push({
12799
12799
  fieldName: "integration",
12800
- fragmentDoc: chunk5IUEWNZ6_cjs.IntegrationFragmentDoc,
12800
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationFragmentDoc,
12801
12801
  variables,
12802
12802
  isConnection: false,
12803
12803
  isList: false,
@@ -12818,7 +12818,7 @@ var ReportSubBuilder = class {
12818
12818
  _includes = [];
12819
12819
  /** Include insights in the parent query. */
12820
12820
  insights(variables, builder) {
12821
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Report_InsightsDocument, "insights", ["id"]);
12821
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_InsightsDocument, "insights", ["id"]);
12822
12822
  let children;
12823
12823
  if (builder) {
12824
12824
  const sub = new InsightSubBuilder();
@@ -12827,7 +12827,7 @@ var ReportSubBuilder = class {
12827
12827
  }
12828
12828
  this._includes.push({
12829
12829
  fieldName: "insights",
12830
- fragmentDoc: chunk5IUEWNZ6_cjs.InsightConnectionFragmentDoc,
12830
+ fragmentDoc: chunkGL6CUR7S_cjs.InsightConnectionFragmentDoc,
12831
12831
  variables,
12832
12832
  isConnection: true,
12833
12833
  isList: false,
@@ -12845,10 +12845,10 @@ var ReportSubBuilder = class {
12845
12845
  }
12846
12846
  /** Include layout in the parent query. */
12847
12847
  layout(variables) {
12848
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Report_LayoutDocument, "layout", ["id"]);
12848
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_LayoutDocument, "layout", ["id"]);
12849
12849
  this._includes.push({
12850
12850
  fieldName: "layout",
12851
- fragmentDoc: chunk5IUEWNZ6_cjs.ReportMemberFragmentDoc,
12851
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
12852
12852
  variables,
12853
12853
  isConnection: false,
12854
12854
  isList: true,
@@ -12868,7 +12868,7 @@ var TableSubBuilder = class {
12868
12868
  _includes = [];
12869
12869
  /** Include database in the parent query. */
12870
12870
  database(variables, builder) {
12871
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Table_DatabaseDocument, "database", ["id"]);
12871
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DatabaseDocument, "database", ["id"]);
12872
12872
  let children;
12873
12873
  if (builder) {
12874
12874
  const sub = new DatabaseSubBuilder();
@@ -12877,7 +12877,7 @@ var TableSubBuilder = class {
12877
12877
  }
12878
12878
  this._includes.push({
12879
12879
  fieldName: "database",
12880
- fragmentDoc: chunk5IUEWNZ6_cjs.DatabaseFragmentDoc,
12880
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseFragmentDoc,
12881
12881
  variables,
12882
12882
  isConnection: false,
12883
12883
  isList: false,
@@ -12894,7 +12894,7 @@ var TableSubBuilder = class {
12894
12894
  }
12895
12895
  /** Include document in the parent query. */
12896
12896
  document(variables, builder) {
12897
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Table_DocumentDocument, "document", ["id"]);
12897
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DocumentDocument, "document", ["id"]);
12898
12898
  let children;
12899
12899
  if (builder) {
12900
12900
  const sub = new DocumentSubBuilder();
@@ -12903,7 +12903,7 @@ var TableSubBuilder = class {
12903
12903
  }
12904
12904
  this._includes.push({
12905
12905
  fieldName: "document",
12906
- fragmentDoc: chunk5IUEWNZ6_cjs.DocumentFragmentDoc,
12906
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFragmentDoc,
12907
12907
  variables,
12908
12908
  isConnection: false,
12909
12909
  isList: false,
@@ -12920,10 +12920,10 @@ var TableSubBuilder = class {
12920
12920
  }
12921
12921
  /** Include fromRelations in the parent query. */
12922
12922
  fromRelations(variables) {
12923
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
12923
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
12924
12924
  this._includes.push({
12925
12925
  fieldName: "fromRelations",
12926
- fragmentDoc: chunk5IUEWNZ6_cjs.RelationFragmentDoc,
12926
+ fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
12927
12927
  variables,
12928
12928
  isConnection: false,
12929
12929
  isList: true,
@@ -12939,10 +12939,10 @@ var TableSubBuilder = class {
12939
12939
  }
12940
12940
  /** Include toRelations in the parent query. */
12941
12941
  toRelations(variables) {
12942
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
12942
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
12943
12943
  this._includes.push({
12944
12944
  fieldName: "toRelations",
12945
- fragmentDoc: chunk5IUEWNZ6_cjs.RelationFragmentDoc,
12945
+ fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
12946
12946
  variables,
12947
12947
  isConnection: false,
12948
12948
  isList: true,
@@ -12959,420 +12959,427 @@ var TableSubBuilder = class {
12959
12959
  };
12960
12960
  var AddInsightToReportMutation = class extends chunk342BFYZZ_cjs.Request {
12961
12961
  async fetch(variables, options) {
12962
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
12962
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
12963
12963
  const data = response.addInsightToReport;
12964
12964
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
12965
12965
  }
12966
12966
  };
12967
12967
  var CancelOauthFlowMutation = class extends chunk342BFYZZ_cjs.Request {
12968
12968
  async fetch(variables) {
12969
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
12969
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
12970
12970
  return response.cancelOauthFlow;
12971
12971
  }
12972
12972
  };
12973
12973
  var CancelWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
12974
12974
  async fetch(variables) {
12975
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
12975
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
12976
12976
  return response.cancelWorkspaceDeletion;
12977
12977
  }
12978
12978
  };
12979
12979
  var ConnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
12980
12980
  async fetch(variables, options) {
12981
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
12981
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
12982
12982
  const data = response.connectIntegration;
12983
12983
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
12984
12984
  }
12985
12985
  };
12986
12986
  var ConsumePulseEventsMutation = class extends chunk342BFYZZ_cjs.Request {
12987
12987
  async fetch(variables) {
12988
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
12988
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
12989
12989
  return response.consumePulseEvents;
12990
12990
  }
12991
12991
  };
12992
12992
  var ContinueImportedChatMutation = class extends chunk342BFYZZ_cjs.Request {
12993
12993
  async fetch(variables) {
12994
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
12994
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
12995
12995
  return response.continueImportedChat;
12996
12996
  }
12997
12997
  };
12998
12998
  var ContinueInterpretationMutation = class extends chunk342BFYZZ_cjs.Request {
12999
12999
  async fetch(variables) {
13000
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
13000
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
13001
13001
  return response.continueInterpretation;
13002
13002
  }
13003
13003
  };
13004
13004
  var CreateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
13005
13005
  async fetch(variables, options) {
13006
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
13006
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
13007
13007
  const data = response.createAgent;
13008
13008
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
13009
13009
  }
13010
13010
  };
13011
13011
  var CreateChatMutation = class extends chunk342BFYZZ_cjs.Request {
13012
13012
  async fetch(variables, options) {
13013
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
13013
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
13014
13014
  const data = response.createChat;
13015
13015
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
13016
13016
  }
13017
13017
  };
13018
13018
  var CreateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
13019
13019
  async fetch(variables, options) {
13020
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
13020
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
13021
13021
  const data = response.createDatabase;
13022
13022
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
13023
13023
  }
13024
13024
  };
13025
13025
  var CreateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13026
13026
  async fetch(variables, options) {
13027
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
13027
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
13028
13028
  const data = response.createDocument;
13029
13029
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13030
13030
  }
13031
13031
  };
13032
13032
  var CreateFeedbackMutation = class extends chunk342BFYZZ_cjs.Request {
13033
13033
  async fetch(variables, options) {
13034
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
13034
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
13035
13035
  const data = response.createFeedback;
13036
13036
  return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
13037
13037
  }
13038
13038
  };
13039
13039
  var CreateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13040
13040
  async fetch(variables, options) {
13041
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
13041
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
13042
13042
  const data = response.createFolder;
13043
13043
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
13044
13044
  }
13045
13045
  };
13046
13046
  var CreateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13047
13047
  async fetch(variables, options) {
13048
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
13048
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
13049
13049
  const data = response.createInsight;
13050
13050
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13051
13051
  }
13052
13052
  };
13053
13053
  var CreateIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
13054
13054
  async fetch(variables, options) {
13055
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
13055
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
13056
13056
  const data = response.createIntegration;
13057
13057
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
13058
13058
  }
13059
13059
  };
13060
13060
  var CreateReportMutation = class extends chunk342BFYZZ_cjs.Request {
13061
13061
  async fetch(variables, options) {
13062
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
13062
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
13063
13063
  const data = response.createReport;
13064
13064
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13065
13065
  }
13066
13066
  };
13067
13067
  var CreateTableMutation = class extends chunk342BFYZZ_cjs.Request {
13068
13068
  async fetch(variables, options) {
13069
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
13069
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
13070
13070
  const data = response.createTable;
13071
13071
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
13072
13072
  }
13073
13073
  };
13074
13074
  var CreateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
13075
13075
  async fetch(variables, options) {
13076
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
13076
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
13077
13077
  const data = response.createUserSkillFile;
13078
13078
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
13079
13079
  }
13080
13080
  };
13081
13081
  var CreateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13082
13082
  async fetch(variables, options) {
13083
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
13083
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
13084
13084
  const data = response.createUserSkillFolder;
13085
13085
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
13086
13086
  }
13087
13087
  };
13088
13088
  var DeleteAgentMutation = class extends chunk342BFYZZ_cjs.Request {
13089
13089
  async fetch(variables, options) {
13090
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
13090
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
13091
13091
  const data = response.deleteAgent;
13092
13092
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
13093
13093
  }
13094
13094
  };
13095
13095
  var DeleteArtifactMutation = class extends chunk342BFYZZ_cjs.Request {
13096
13096
  async fetch(variables, options) {
13097
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
13097
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
13098
13098
  const data = response.deleteArtifact;
13099
13099
  return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
13100
13100
  }
13101
13101
  };
13102
13102
  var DeleteChatMutation = class extends chunk342BFYZZ_cjs.Request {
13103
13103
  async fetch(variables, options) {
13104
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
13104
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
13105
13105
  const data = response.deleteChat;
13106
13106
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
13107
13107
  }
13108
13108
  };
13109
13109
  var DeleteDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
13110
13110
  async fetch(variables, options) {
13111
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
13111
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
13112
13112
  const data = response.deleteDatabase;
13113
13113
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
13114
13114
  }
13115
13115
  };
13116
13116
  var DeleteDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13117
13117
  async fetch(variables, options) {
13118
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
13118
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
13119
13119
  const data = response.deleteDocument;
13120
13120
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13121
13121
  }
13122
13122
  };
13123
13123
  var DeleteFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13124
13124
  async fetch(variables, options) {
13125
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
13125
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
13126
13126
  const data = response.deleteFolder;
13127
13127
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
13128
13128
  }
13129
13129
  };
13130
13130
  var DeleteInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13131
13131
  async fetch(variables, options) {
13132
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
13132
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
13133
13133
  const data = response.deleteInsight;
13134
13134
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13135
13135
  }
13136
13136
  };
13137
13137
  var DeleteInsightsMutation = class extends chunk342BFYZZ_cjs.Request {
13138
13138
  async fetch(variables, options) {
13139
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
13139
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
13140
13140
  const data = response.deleteInsights;
13141
13141
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13142
13142
  }
13143
13143
  };
13144
13144
  var DeleteIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
13145
13145
  async fetch(variables) {
13146
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
13146
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
13147
13147
  return response.deleteIntegration;
13148
13148
  }
13149
13149
  };
13150
13150
  var DeleteReportMutation = class extends chunk342BFYZZ_cjs.Request {
13151
13151
  async fetch(variables, options) {
13152
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
13152
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
13153
13153
  const data = response.deleteReport;
13154
13154
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13155
13155
  }
13156
13156
  };
13157
13157
  var DeleteTableMutation = class extends chunk342BFYZZ_cjs.Request {
13158
13158
  async fetch(variables, options) {
13159
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
13159
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
13160
13160
  const data = response.deleteTable;
13161
13161
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
13162
13162
  }
13163
13163
  };
13164
13164
  var DeleteUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
13165
13165
  async fetch(variables, options) {
13166
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
13166
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
13167
13167
  const data = response.deleteUserSkillFile;
13168
13168
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
13169
13169
  }
13170
13170
  };
13171
13171
  var DeleteUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13172
13172
  async fetch(variables, options) {
13173
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
13173
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
13174
13174
  const data = response.deleteUserSkillFolder;
13175
13175
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
13176
13176
  }
13177
13177
  };
13178
13178
  var DisconnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
13179
13179
  async fetch(variables) {
13180
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
13180
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
13181
13181
  return response.disconnectIntegration;
13182
13182
  }
13183
13183
  };
13184
13184
  var DismissPulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
13185
13185
  async fetch(variables, options) {
13186
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
13186
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
13187
13187
  const data = response.dismissPulseEvent;
13188
13188
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
13189
13189
  }
13190
13190
  };
13191
13191
  var ExecuteChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
13192
13192
  async fetch(variables, options) {
13193
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
13193
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
13194
13194
  const data = response.executeChatImport;
13195
13195
  return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
13196
13196
  }
13197
13197
  };
13198
13198
  var GenerateUploadUriMutation = class extends chunk342BFYZZ_cjs.Request {
13199
13199
  async fetch(variables, options) {
13200
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
13200
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
13201
13201
  const data = response.generateUploadUri;
13202
13202
  return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
13203
13203
  }
13204
13204
  };
13205
13205
  var PreviewChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
13206
13206
  async fetch(variables, options) {
13207
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
13207
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
13208
13208
  const data = response.previewChatImport;
13209
13209
  return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
13210
13210
  }
13211
13211
  };
13212
13212
  var ReanalyzeDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13213
13213
  async fetch(variables, options) {
13214
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
13214
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
13215
13215
  const data = response.reanalyzeDocument;
13216
13216
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13217
13217
  }
13218
13218
  };
13219
13219
  var RefineMindInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
13220
13220
  async fetch(variables) {
13221
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
13221
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
13222
13222
  return response.refineMindInstruction;
13223
13223
  }
13224
13224
  };
13225
13225
  var RefreshDatabaseSchemaMutation = class extends chunk342BFYZZ_cjs.Request {
13226
13226
  async fetch(variables) {
13227
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
13227
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
13228
13228
  return response.refreshDatabaseSchema;
13229
13229
  }
13230
13230
  };
13231
+ var RefreshInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13232
+ async fetch(variables, options) {
13233
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
13234
+ const data = response.refreshInsight;
13235
+ return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13236
+ }
13237
+ };
13231
13238
  var ReinterpretSourceMutation = class extends chunk342BFYZZ_cjs.Request {
13232
13239
  async fetch(variables) {
13233
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
13240
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
13234
13241
  return response.reinterpretSource;
13235
13242
  }
13236
13243
  };
13237
13244
  var ReinterpretSourcesOfuserMutation = class extends chunk342BFYZZ_cjs.Request {
13238
13245
  async fetch(variables) {
13239
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
13246
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
13240
13247
  return response.reinterpretSourcesOfuser;
13241
13248
  }
13242
13249
  };
13243
13250
  var RelocateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13244
13251
  async fetch(variables, options) {
13245
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
13252
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
13246
13253
  const data = response.relocateInsight;
13247
13254
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13248
13255
  }
13249
13256
  };
13250
13257
  var RemoveInsightFromReportMutation = class extends chunk342BFYZZ_cjs.Request {
13251
13258
  async fetch(variables, options) {
13252
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
13259
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
13253
13260
  const data = response.removeInsightFromReport;
13254
13261
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13255
13262
  }
13256
13263
  };
13257
13264
  var ResetWorkspaceMutation = class extends chunk342BFYZZ_cjs.Request {
13258
13265
  async fetch(variables) {
13259
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
13266
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
13260
13267
  return response.resetWorkspace;
13261
13268
  }
13262
13269
  };
13263
13270
  var ResolvePulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
13264
13271
  async fetch(variables, options) {
13265
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
13272
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
13266
13273
  const data = response.resolvePulseEvent;
13267
13274
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
13268
13275
  }
13269
13276
  };
13270
13277
  var ScheduleWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
13271
13278
  async fetch(variables, options) {
13272
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
13279
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
13273
13280
  const data = response.scheduleWorkspaceDeletion;
13274
13281
  return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
13275
13282
  }
13276
13283
  };
13277
13284
  var SetDatabasePrimaryKeyMutation = class extends chunk342BFYZZ_cjs.Request {
13278
13285
  async fetch(variables) {
13279
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
13286
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
13280
13287
  return response.setDatabasePrimaryKey;
13281
13288
  }
13282
13289
  };
13283
13290
  var UpdateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
13284
13291
  async fetch(variables, options) {
13285
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
13292
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
13286
13293
  const data = response.updateAgent;
13287
13294
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
13288
13295
  }
13289
13296
  };
13290
13297
  var UpdateChatMutation = class extends chunk342BFYZZ_cjs.Request {
13291
13298
  async fetch(variables, options) {
13292
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
13299
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
13293
13300
  const data = response.updateChat;
13294
13301
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
13295
13302
  }
13296
13303
  };
13297
13304
  var UpdateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
13298
13305
  async fetch(variables, options) {
13299
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
13306
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
13300
13307
  const data = response.updateDatabase;
13301
13308
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
13302
13309
  }
13303
13310
  };
13304
13311
  var UpdateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13305
13312
  async fetch(variables, options) {
13306
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
13313
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
13307
13314
  const data = response.updateDocument;
13308
13315
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13309
13316
  }
13310
13317
  };
13311
13318
  var UpdateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13312
13319
  async fetch(variables, options) {
13313
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
13320
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
13314
13321
  const data = response.updateFolder;
13315
13322
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
13316
13323
  }
13317
13324
  };
13318
13325
  var UpdateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13319
13326
  async fetch(variables, options) {
13320
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
13327
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
13321
13328
  const data = response.updateInsight;
13322
13329
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13323
13330
  }
13324
13331
  };
13325
13332
  var UpdateInsightInReportMutation = class extends chunk342BFYZZ_cjs.Request {
13326
13333
  async fetch(variables, options) {
13327
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
13334
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
13328
13335
  const data = response.updateInsightInReport;
13329
13336
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13330
13337
  }
13331
13338
  };
13332
13339
  var UpdateInsightThumbnailMutation = class extends chunk342BFYZZ_cjs.Request {
13333
13340
  async fetch(variables) {
13334
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
13341
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
13335
13342
  return response.updateInsightThumbnail;
13336
13343
  }
13337
13344
  };
13338
13345
  var UpdateInterpMutation = class extends chunk342BFYZZ_cjs.Request {
13339
13346
  async fetch(variables, options) {
13340
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
13347
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
13341
13348
  const data = response.updateInterp;
13342
13349
  return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
13343
13350
  }
13344
13351
  };
13345
13352
  var UpdatePulseTriggerMutation = class extends chunk342BFYZZ_cjs.Request {
13346
13353
  async fetch(variables, options) {
13347
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
13354
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
13348
13355
  const data = response.updatePulseTrigger;
13349
13356
  return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
13350
13357
  }
13351
13358
  };
13352
13359
  var UpdateReportMutation = class extends chunk342BFYZZ_cjs.Request {
13353
13360
  async fetch(variables, options) {
13354
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
13361
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
13355
13362
  const data = response.updateReport;
13356
13363
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13357
13364
  }
13358
13365
  };
13359
13366
  var UpdateTableMutation = class extends chunk342BFYZZ_cjs.Request {
13360
13367
  async fetch(variables, options) {
13361
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
13368
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
13362
13369
  const data = response.updateTable;
13363
13370
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
13364
13371
  }
13365
13372
  };
13366
13373
  var UpdateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
13367
13374
  async fetch(variables, options) {
13368
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
13375
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
13369
13376
  const data = response.updateUserSkillFile;
13370
13377
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
13371
13378
  }
13372
13379
  };
13373
13380
  var UpdateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13374
13381
  async fetch(variables, options) {
13375
- const response = await this._syncEngine.mutate(chunk5IUEWNZ6_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
13382
+ const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
13376
13383
  const data = response.updateUserSkillFolder;
13377
13384
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
13378
13385
  }
@@ -13386,7 +13393,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13386
13393
  }
13387
13394
  async fetch(options) {
13388
13395
  const variables = this._variables;
13389
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.AgentDocument, "agent", this._includes, variables);
13396
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentDocument, "agent", this._includes, variables);
13390
13397
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
13391
13398
  const data = response.agent;
13392
13399
  const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
@@ -13398,7 +13405,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13398
13405
  watch(options) {
13399
13406
  const variables = this._variables;
13400
13407
  const includes = this._includes;
13401
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.AgentDocument, "agent", includes, variables);
13408
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentDocument, "agent", includes, variables);
13402
13409
  const raw = this._syncEngine.watch(
13403
13410
  queryDoc,
13404
13411
  mergedVars,
@@ -13428,7 +13435,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13428
13435
  }
13429
13436
  /** Include chats in this query (Smart Fetch — single HTTP request). */
13430
13437
  chats(variables, builder) {
13431
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Agent_ChatsDocument, "chats", ["id"]);
13438
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Agent_ChatsDocument, "chats", ["id"]);
13432
13439
  let children;
13433
13440
  if (builder) {
13434
13441
  const sub = new ChatSubBuilder();
@@ -13437,7 +13444,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13437
13444
  }
13438
13445
  this._includes.push({
13439
13446
  fieldName: "chats",
13440
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatConnectionFragmentDoc,
13447
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatConnectionFragmentDoc,
13441
13448
  variables,
13442
13449
  isConnection: true,
13443
13450
  isList: false,
@@ -13462,18 +13469,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk342BFYZZ_cjs.Request
13462
13469
  }
13463
13470
  async fetch(options) {
13464
13471
  const variables = this._variables;
13465
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Agent_ChatsDocument, variables, "agent");
13472
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Agent_ChatsDocument, variables, "agent");
13466
13473
  const data = response.agent?.chats;
13467
13474
  return new ChatConnection(this._request, (conn, opts) => new _Agent_ChatsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
13468
13475
  }
13469
13476
  watch(options) {
13470
13477
  const variables = this._variables;
13471
13478
  const raw = this._syncEngine.watch(
13472
- chunk5IUEWNZ6_cjs.Agent_ChatsDocument,
13479
+ chunkGL6CUR7S_cjs.Agent_ChatsDocument,
13473
13480
  variables,
13474
13481
  "agent",
13475
13482
  async (db) => {
13476
- const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunk5IUEWNZ6_cjs.Agent_ChatsDocument));
13483
+ const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkGL6CUR7S_cjs.Agent_ChatsDocument));
13477
13484
  const nodes = qr ? await db.table("chats").bulkGet(qr.entityIds) : [];
13478
13485
  return { agent: { chats: { __typename: "ChatConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
13479
13486
  }
@@ -13493,7 +13500,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13493
13500
  }
13494
13501
  async fetch(options) {
13495
13502
  const variables = this._variables;
13496
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.AgentsDocument, "agents", this._includes, variables, true);
13503
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentsDocument, "agents", this._includes, variables, true);
13497
13504
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
13498
13505
  const data = response.agents;
13499
13506
  const connection = new AgentConnection(this._request, (conn, opts) => new _AgentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -13510,7 +13517,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13510
13517
  const subscriptionId = crypto.randomUUID();
13511
13518
  const includes = this._includes;
13512
13519
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
13513
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.AgentsDocument, "agents", includes, variables, true);
13520
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentsDocument, "agents", includes, variables, true);
13514
13521
  const raw = this._syncEngine.watch(
13515
13522
  queryDoc,
13516
13523
  mergedVars,
@@ -13545,7 +13552,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13545
13552
  }
13546
13553
  /** Include chats in this query (Smart Fetch — single HTTP request). */
13547
13554
  chats(variables, builder) {
13548
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Agent_ChatsDocument, "chats", ["id"]);
13555
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Agent_ChatsDocument, "chats", ["id"]);
13549
13556
  let children;
13550
13557
  if (builder) {
13551
13558
  const sub = new ChatSubBuilder();
@@ -13554,7 +13561,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13554
13561
  }
13555
13562
  this._includes.push({
13556
13563
  fieldName: "chats",
13557
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatConnectionFragmentDoc,
13564
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatConnectionFragmentDoc,
13558
13565
  variables,
13559
13566
  isConnection: true,
13560
13567
  isList: false,
@@ -13580,7 +13587,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13580
13587
  }
13581
13588
  async fetch(options) {
13582
13589
  const variables = this._variables;
13583
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ArtifactDocument, "artifact", this._includes, variables);
13590
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactDocument, "artifact", this._includes, variables);
13584
13591
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
13585
13592
  const data = response.artifact;
13586
13593
  const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
@@ -13592,7 +13599,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13592
13599
  watch(options) {
13593
13600
  const variables = this._variables;
13594
13601
  const includes = this._includes;
13595
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ArtifactDocument, "artifact", includes, variables);
13602
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactDocument, "artifact", includes, variables);
13596
13603
  const raw = this._syncEngine.watch(
13597
13604
  queryDoc,
13598
13605
  mergedVars,
@@ -13622,7 +13629,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13622
13629
  }
13623
13630
  /** Include chat in this query (Smart Fetch — single HTTP request). */
13624
13631
  chat(variables, builder) {
13625
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Artifact_ChatDocument, "chat", ["id"]);
13632
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_ChatDocument, "chat", ["id"]);
13626
13633
  let children;
13627
13634
  if (builder) {
13628
13635
  const sub = new ChatSubBuilder();
@@ -13631,7 +13638,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13631
13638
  }
13632
13639
  this._includes.push({
13633
13640
  fieldName: "chat",
13634
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatFragmentDoc,
13641
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
13635
13642
  variables,
13636
13643
  isConnection: false,
13637
13644
  isList: false,
@@ -13648,10 +13655,10 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13648
13655
  }
13649
13656
  /** Include file in this query (Smart Fetch — single HTTP request). */
13650
13657
  file(variables) {
13651
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Artifact_FileDocument, "file", ["id"]);
13658
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_FileDocument, "file", ["id"]);
13652
13659
  this._includes.push({
13653
13660
  fieldName: "file",
13654
- fragmentDoc: chunk5IUEWNZ6_cjs.FileFragmentDoc,
13661
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
13655
13662
  variables,
13656
13663
  isConnection: false,
13657
13664
  isList: false,
@@ -13667,7 +13674,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13667
13674
  }
13668
13675
  /** Include message in this query (Smart Fetch — single HTTP request). */
13669
13676
  message(variables, builder) {
13670
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Artifact_MessageDocument, "message", ["id"]);
13677
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_MessageDocument, "message", ["id"]);
13671
13678
  let children;
13672
13679
  if (builder) {
13673
13680
  const sub = new ChatMessageSubBuilder();
@@ -13676,7 +13683,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13676
13683
  }
13677
13684
  this._includes.push({
13678
13685
  fieldName: "message",
13679
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatMessageFragmentDoc,
13686
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageFragmentDoc,
13680
13687
  variables,
13681
13688
  isConnection: false,
13682
13689
  isList: false,
@@ -13700,14 +13707,14 @@ var Artifact_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
13700
13707
  }
13701
13708
  async fetch(options) {
13702
13709
  const variables = this._variables;
13703
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Artifact_ChatDocument, variables, "artifact");
13710
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_ChatDocument, variables, "artifact");
13704
13711
  const data = response.artifact?.chat;
13705
13712
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13706
13713
  }
13707
13714
  watch(options) {
13708
13715
  const variables = this._variables;
13709
13716
  const raw = this._syncEngine.watch(
13710
- chunk5IUEWNZ6_cjs.Artifact_ChatDocument,
13717
+ chunkGL6CUR7S_cjs.Artifact_ChatDocument,
13711
13718
  variables,
13712
13719
  "artifact",
13713
13720
  async (db) => {
@@ -13730,14 +13737,14 @@ var Artifact_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
13730
13737
  }
13731
13738
  async fetch(options) {
13732
13739
  const variables = this._variables;
13733
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
13740
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
13734
13741
  const data = response.artifact?.chat?.insight;
13735
13742
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13736
13743
  }
13737
13744
  watch(options) {
13738
13745
  const variables = this._variables;
13739
13746
  const raw = this._syncEngine.watch(
13740
- chunk5IUEWNZ6_cjs.Artifact_Chat_InsightDocument,
13747
+ chunkGL6CUR7S_cjs.Artifact_Chat_InsightDocument,
13741
13748
  variables,
13742
13749
  "artifact",
13743
13750
  async (db) => {
@@ -13760,14 +13767,14 @@ var Artifact_FileQuery = class extends chunk342BFYZZ_cjs.Request {
13760
13767
  }
13761
13768
  async fetch(options) {
13762
13769
  const variables = this._variables;
13763
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Artifact_FileDocument, variables, "artifact");
13770
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_FileDocument, variables, "artifact");
13764
13771
  const data = response.artifact?.file;
13765
13772
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13766
13773
  }
13767
13774
  watch(options) {
13768
13775
  const variables = this._variables;
13769
13776
  const raw = this._syncEngine.watch(
13770
- chunk5IUEWNZ6_cjs.Artifact_FileDocument,
13777
+ chunkGL6CUR7S_cjs.Artifact_FileDocument,
13771
13778
  variables,
13772
13779
  "artifact",
13773
13780
  async (db) => {
@@ -13790,14 +13797,14 @@ var Artifact_MessageQuery = class extends chunk342BFYZZ_cjs.Request {
13790
13797
  }
13791
13798
  async fetch(options) {
13792
13799
  const variables = this._variables;
13793
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Artifact_MessageDocument, variables, "artifact");
13800
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_MessageDocument, variables, "artifact");
13794
13801
  const data = response.artifact?.message;
13795
13802
  return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13796
13803
  }
13797
13804
  watch(options) {
13798
13805
  const variables = this._variables;
13799
13806
  const raw = this._syncEngine.watch(
13800
- chunk5IUEWNZ6_cjs.Artifact_MessageDocument,
13807
+ chunkGL6CUR7S_cjs.Artifact_MessageDocument,
13801
13808
  variables,
13802
13809
  "artifact",
13803
13810
  async (db) => {
@@ -13820,14 +13827,14 @@ var Artifact_Message_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
13820
13827
  }
13821
13828
  async fetch(options) {
13822
13829
  const variables = this._variables;
13823
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Artifact_Message_ChatDocument, variables, "artifact");
13830
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Message_ChatDocument, variables, "artifact");
13824
13831
  const data = response.artifact?.message?.chat;
13825
13832
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13826
13833
  }
13827
13834
  watch(options) {
13828
13835
  const variables = this._variables;
13829
13836
  const raw = this._syncEngine.watch(
13830
- chunk5IUEWNZ6_cjs.Artifact_Message_ChatDocument,
13837
+ chunkGL6CUR7S_cjs.Artifact_Message_ChatDocument,
13831
13838
  variables,
13832
13839
  "artifact",
13833
13840
  async (db) => {
@@ -13849,7 +13856,7 @@ var Artifact_Message_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
13849
13856
  this._variables = variables;
13850
13857
  }
13851
13858
  async fetch(options) {
13852
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
13859
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
13853
13860
  const data = response.artifact?.message?.contents;
13854
13861
  if (!Array.isArray(data)) return [];
13855
13862
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -13863,14 +13870,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
13863
13870
  }
13864
13871
  async fetch(options) {
13865
13872
  const variables = this._variables;
13866
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
13873
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
13867
13874
  const data = response.artifact?.message?.feedback;
13868
13875
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13869
13876
  }
13870
13877
  watch(options) {
13871
13878
  const variables = this._variables;
13872
13879
  const raw = this._syncEngine.watch(
13873
- chunk5IUEWNZ6_cjs.Artifact_Message_FeedbackDocument,
13880
+ chunkGL6CUR7S_cjs.Artifact_Message_FeedbackDocument,
13874
13881
  variables,
13875
13882
  "artifact",
13876
13883
  async (db) => {
@@ -13894,7 +13901,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13894
13901
  }
13895
13902
  async fetch(options) {
13896
13903
  const variables = this._variables;
13897
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
13904
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
13898
13905
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
13899
13906
  const data = response.artifacts;
13900
13907
  const connection = new ArtifactConnection(this._request, (conn, opts) => new _ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -13911,7 +13918,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13911
13918
  const subscriptionId = crypto.randomUUID();
13912
13919
  const includes = this._includes;
13913
13920
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
13914
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
13921
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
13915
13922
  const raw = this._syncEngine.watch(
13916
13923
  queryDoc,
13917
13924
  mergedVars,
@@ -13946,7 +13953,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13946
13953
  }
13947
13954
  /** Include chat in this query (Smart Fetch — single HTTP request). */
13948
13955
  chat(variables, builder) {
13949
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Artifact_ChatDocument, "chat", ["id"]);
13956
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_ChatDocument, "chat", ["id"]);
13950
13957
  let children;
13951
13958
  if (builder) {
13952
13959
  const sub = new ChatSubBuilder();
@@ -13955,7 +13962,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13955
13962
  }
13956
13963
  this._includes.push({
13957
13964
  fieldName: "chat",
13958
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatFragmentDoc,
13965
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
13959
13966
  variables,
13960
13967
  isConnection: false,
13961
13968
  isList: false,
@@ -13972,10 +13979,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13972
13979
  }
13973
13980
  /** Include file in this query (Smart Fetch — single HTTP request). */
13974
13981
  file(variables) {
13975
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Artifact_FileDocument, "file", ["id"]);
13982
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_FileDocument, "file", ["id"]);
13976
13983
  this._includes.push({
13977
13984
  fieldName: "file",
13978
- fragmentDoc: chunk5IUEWNZ6_cjs.FileFragmentDoc,
13985
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
13979
13986
  variables,
13980
13987
  isConnection: false,
13981
13988
  isList: false,
@@ -13991,7 +13998,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13991
13998
  }
13992
13999
  /** Include message in this query (Smart Fetch — single HTTP request). */
13993
14000
  message(variables, builder) {
13994
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Artifact_MessageDocument, "message", ["id"]);
14001
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_MessageDocument, "message", ["id"]);
13995
14002
  let children;
13996
14003
  if (builder) {
13997
14004
  const sub = new ChatMessageSubBuilder();
@@ -14000,7 +14007,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
14000
14007
  }
14001
14008
  this._includes.push({
14002
14009
  fieldName: "message",
14003
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatMessageFragmentDoc,
14010
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageFragmentDoc,
14004
14011
  variables,
14005
14012
  isConnection: false,
14006
14013
  isList: false,
@@ -14025,7 +14032,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14025
14032
  }
14026
14033
  async fetch(options) {
14027
14034
  const variables = this._variables;
14028
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ChatDocument, "chat", this._includes, variables);
14035
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatDocument, "chat", this._includes, variables);
14029
14036
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
14030
14037
  const data = response.chat;
14031
14038
  const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
@@ -14037,7 +14044,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14037
14044
  watch(options) {
14038
14045
  const variables = this._variables;
14039
14046
  const includes = this._includes;
14040
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ChatDocument, "chat", includes, variables);
14047
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatDocument, "chat", includes, variables);
14041
14048
  const raw = this._syncEngine.watch(
14042
14049
  queryDoc,
14043
14050
  mergedVars,
@@ -14067,7 +14074,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14067
14074
  }
14068
14075
  /** Include agents in this query (Smart Fetch — single HTTP request). */
14069
14076
  agents(variables, builder) {
14070
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Chat_AgentsDocument, "agents", ["id"]);
14077
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_AgentsDocument, "agents", ["id"]);
14071
14078
  let children;
14072
14079
  if (builder) {
14073
14080
  const sub = new AgentSubBuilder();
@@ -14076,7 +14083,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14076
14083
  }
14077
14084
  this._includes.push({
14078
14085
  fieldName: "agents",
14079
- fragmentDoc: chunk5IUEWNZ6_cjs.AgentConnectionFragmentDoc,
14086
+ fragmentDoc: chunkGL6CUR7S_cjs.AgentConnectionFragmentDoc,
14080
14087
  variables,
14081
14088
  isConnection: true,
14082
14089
  isList: false,
@@ -14094,7 +14101,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14094
14101
  }
14095
14102
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14096
14103
  artifacts(variables, builder) {
14097
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14104
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14098
14105
  let children;
14099
14106
  if (builder) {
14100
14107
  const sub = new ArtifactSubBuilder();
@@ -14103,7 +14110,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14103
14110
  }
14104
14111
  this._includes.push({
14105
14112
  fieldName: "artifacts",
14106
- fragmentDoc: chunk5IUEWNZ6_cjs.ArtifactConnectionFragmentDoc,
14113
+ fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14107
14114
  variables,
14108
14115
  isConnection: true,
14109
14116
  isList: false,
@@ -14121,7 +14128,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14121
14128
  }
14122
14129
  /** Include insight in this query (Smart Fetch — single HTTP request). */
14123
14130
  insight(variables, builder) {
14124
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Chat_InsightDocument, "insight", ["id"]);
14131
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_InsightDocument, "insight", ["id"]);
14125
14132
  let children;
14126
14133
  if (builder) {
14127
14134
  const sub = new InsightSubBuilder();
@@ -14130,7 +14137,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14130
14137
  }
14131
14138
  this._includes.push({
14132
14139
  fieldName: "insight",
14133
- fragmentDoc: chunk5IUEWNZ6_cjs.InsightFragmentDoc,
14140
+ fragmentDoc: chunkGL6CUR7S_cjs.InsightFragmentDoc,
14134
14141
  variables,
14135
14142
  isConnection: false,
14136
14143
  isList: false,
@@ -14147,7 +14154,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14147
14154
  }
14148
14155
  /** Include messages in this query (Smart Fetch — single HTTP request). */
14149
14156
  messages(variables, builder) {
14150
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Chat_MessagesDocument, "messages", ["id"]);
14157
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_MessagesDocument, "messages", ["id"]);
14151
14158
  let children;
14152
14159
  if (builder) {
14153
14160
  const sub = new ChatMessageSubBuilder();
@@ -14156,7 +14163,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14156
14163
  }
14157
14164
  this._includes.push({
14158
14165
  fieldName: "messages",
14159
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatMessageConnectionFragmentDoc,
14166
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageConnectionFragmentDoc,
14160
14167
  variables,
14161
14168
  isConnection: true,
14162
14169
  isList: false,
@@ -14181,18 +14188,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk342BFYZZ_cjs.Request
14181
14188
  }
14182
14189
  async fetch(options) {
14183
14190
  const variables = this._variables;
14184
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Chat_AgentsDocument, variables, "chat");
14191
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_AgentsDocument, variables, "chat");
14185
14192
  const data = response.chat?.agents;
14186
14193
  return new AgentConnection(this._request, (conn, opts) => new _Chat_AgentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
14187
14194
  }
14188
14195
  watch(options) {
14189
14196
  const variables = this._variables;
14190
14197
  const raw = this._syncEngine.watch(
14191
- chunk5IUEWNZ6_cjs.Chat_AgentsDocument,
14198
+ chunkGL6CUR7S_cjs.Chat_AgentsDocument,
14192
14199
  variables,
14193
14200
  "chat",
14194
14201
  async (db) => {
14195
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunk5IUEWNZ6_cjs.Chat_AgentsDocument));
14202
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkGL6CUR7S_cjs.Chat_AgentsDocument));
14196
14203
  const nodes = qr ? await db.table("agents").bulkGet(qr.entityIds) : [];
14197
14204
  return { chat: { agents: { __typename: "AgentConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14198
14205
  }
@@ -14211,18 +14218,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk342BFYZZ_cjs.R
14211
14218
  }
14212
14219
  async fetch(options) {
14213
14220
  const variables = this._variables;
14214
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Chat_ArtifactsDocument, variables, "chat");
14221
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, variables, "chat");
14215
14222
  const data = response.chat?.artifacts;
14216
14223
  return new ArtifactConnection(this._request, (conn, opts) => new _Chat_ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
14217
14224
  }
14218
14225
  watch(options) {
14219
14226
  const variables = this._variables;
14220
14227
  const raw = this._syncEngine.watch(
14221
- chunk5IUEWNZ6_cjs.Chat_ArtifactsDocument,
14228
+ chunkGL6CUR7S_cjs.Chat_ArtifactsDocument,
14222
14229
  variables,
14223
14230
  "chat",
14224
14231
  async (db) => {
14225
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunk5IUEWNZ6_cjs.Chat_ArtifactsDocument));
14232
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkGL6CUR7S_cjs.Chat_ArtifactsDocument));
14226
14233
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
14227
14234
  return { chat: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14228
14235
  }
@@ -14241,14 +14248,14 @@ var Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
14241
14248
  }
14242
14249
  async fetch(options) {
14243
14250
  const variables = this._variables;
14244
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Chat_InsightDocument, variables, "chat");
14251
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_InsightDocument, variables, "chat");
14245
14252
  const data = response.chat?.insight;
14246
14253
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14247
14254
  }
14248
14255
  watch(options) {
14249
14256
  const variables = this._variables;
14250
14257
  const raw = this._syncEngine.watch(
14251
- chunk5IUEWNZ6_cjs.Chat_InsightDocument,
14258
+ chunkGL6CUR7S_cjs.Chat_InsightDocument,
14252
14259
  variables,
14253
14260
  "chat",
14254
14261
  async (db) => {
@@ -14270,7 +14277,7 @@ var Chat_Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
14270
14277
  this._variables = variables;
14271
14278
  }
14272
14279
  async fetch(options) {
14273
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
14280
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
14274
14281
  const data = response.chat?.insight?.reportMembers;
14275
14282
  if (!Array.isArray(data)) return [];
14276
14283
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -14284,14 +14291,14 @@ var Chat_Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
14284
14291
  }
14285
14292
  async fetch(options) {
14286
14293
  const variables = this._variables;
14287
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
14294
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
14288
14295
  const data = response.chat?.insight?.thumbnailFile;
14289
14296
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14290
14297
  }
14291
14298
  watch(options) {
14292
14299
  const variables = this._variables;
14293
14300
  const raw = this._syncEngine.watch(
14294
- chunk5IUEWNZ6_cjs.Chat_Insight_ThumbnailFileDocument,
14301
+ chunkGL6CUR7S_cjs.Chat_Insight_ThumbnailFileDocument,
14295
14302
  variables,
14296
14303
  "chat",
14297
14304
  async (db) => {
@@ -14314,18 +14321,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk342BFYZZ_cjs.Req
14314
14321
  }
14315
14322
  async fetch(options) {
14316
14323
  const variables = this._variables;
14317
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Chat_MessagesDocument, variables, "chat");
14324
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_MessagesDocument, variables, "chat");
14318
14325
  const data = response.chat?.messages;
14319
14326
  return new ChatMessageConnection(this._request, (conn, opts) => new _Chat_MessagesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
14320
14327
  }
14321
14328
  watch(options) {
14322
14329
  const variables = this._variables;
14323
14330
  const raw = this._syncEngine.watch(
14324
- chunk5IUEWNZ6_cjs.Chat_MessagesDocument,
14331
+ chunkGL6CUR7S_cjs.Chat_MessagesDocument,
14325
14332
  variables,
14326
14333
  "chat",
14327
14334
  async (db) => {
14328
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunk5IUEWNZ6_cjs.Chat_MessagesDocument));
14335
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkGL6CUR7S_cjs.Chat_MessagesDocument));
14329
14336
  const nodes = qr ? await db.table("chatMessages").bulkGet(qr.entityIds) : [];
14330
14337
  return { chat: { messages: { __typename: "ChatMessageConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14331
14338
  }
@@ -14345,7 +14352,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14345
14352
  }
14346
14353
  async fetch(options) {
14347
14354
  const variables = this._variables;
14348
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
14355
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
14349
14356
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
14350
14357
  const data = response.chatMessage;
14351
14358
  const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
@@ -14357,7 +14364,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14357
14364
  watch(options) {
14358
14365
  const variables = this._variables;
14359
14366
  const includes = this._includes;
14360
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ChatMessageDocument, "chatMessage", includes, variables);
14367
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessageDocument, "chatMessage", includes, variables);
14361
14368
  const raw = this._syncEngine.watch(
14362
14369
  queryDoc,
14363
14370
  mergedVars,
@@ -14387,7 +14394,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14387
14394
  }
14388
14395
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14389
14396
  artifacts(variables, builder) {
14390
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14397
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14391
14398
  let children;
14392
14399
  if (builder) {
14393
14400
  const sub = new ArtifactSubBuilder();
@@ -14396,7 +14403,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14396
14403
  }
14397
14404
  this._includes.push({
14398
14405
  fieldName: "artifacts",
14399
- fragmentDoc: chunk5IUEWNZ6_cjs.ArtifactConnectionFragmentDoc,
14406
+ fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14400
14407
  variables,
14401
14408
  isConnection: true,
14402
14409
  isList: false,
@@ -14414,7 +14421,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14414
14421
  }
14415
14422
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14416
14423
  chat(variables, builder) {
14417
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14424
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14418
14425
  let children;
14419
14426
  if (builder) {
14420
14427
  const sub = new ChatSubBuilder();
@@ -14423,7 +14430,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14423
14430
  }
14424
14431
  this._includes.push({
14425
14432
  fieldName: "chat",
14426
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatFragmentDoc,
14433
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
14427
14434
  variables,
14428
14435
  isConnection: false,
14429
14436
  isList: false,
@@ -14440,10 +14447,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14440
14447
  }
14441
14448
  /** Include contents in this query (Smart Fetch — single HTTP request). */
14442
14449
  contents(variables) {
14443
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14450
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14444
14451
  this._includes.push({
14445
14452
  fieldName: "contents",
14446
- fragmentDoc: chunk5IUEWNZ6_cjs.ContentBlockFragmentDoc,
14453
+ fragmentDoc: chunkGL6CUR7S_cjs.ContentBlockFragmentDoc,
14447
14454
  variables,
14448
14455
  isConnection: false,
14449
14456
  isList: true,
@@ -14459,10 +14466,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14459
14466
  }
14460
14467
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
14461
14468
  feedback(variables) {
14462
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14469
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14463
14470
  this._includes.push({
14464
14471
  fieldName: "feedback",
14465
- fragmentDoc: chunk5IUEWNZ6_cjs.FeedbackFragmentDoc,
14472
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedbackFragmentDoc,
14466
14473
  variables,
14467
14474
  isConnection: false,
14468
14475
  isList: false,
@@ -14485,18 +14492,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
14485
14492
  }
14486
14493
  async fetch(options) {
14487
14494
  const variables = this._variables;
14488
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
14495
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
14489
14496
  const data = response.chatMessage?.artifacts;
14490
14497
  return new ArtifactConnection(this._request, (conn, opts) => new _ChatMessage_ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
14491
14498
  }
14492
14499
  watch(options) {
14493
14500
  const variables = this._variables;
14494
14501
  const raw = this._syncEngine.watch(
14495
- chunk5IUEWNZ6_cjs.ChatMessage_ArtifactsDocument,
14502
+ chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument,
14496
14503
  variables,
14497
14504
  "chatMessage",
14498
14505
  async (db) => {
14499
- const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunk5IUEWNZ6_cjs.ChatMessage_ArtifactsDocument));
14506
+ const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument));
14500
14507
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
14501
14508
  return { chatMessage: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14502
14509
  }
@@ -14515,14 +14522,14 @@ var ChatMessage_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14515
14522
  }
14516
14523
  async fetch(options) {
14517
14524
  const variables = this._variables;
14518
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
14525
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
14519
14526
  const data = response.chatMessage?.chat;
14520
14527
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14521
14528
  }
14522
14529
  watch(options) {
14523
14530
  const variables = this._variables;
14524
14531
  const raw = this._syncEngine.watch(
14525
- chunk5IUEWNZ6_cjs.ChatMessage_ChatDocument,
14532
+ chunkGL6CUR7S_cjs.ChatMessage_ChatDocument,
14526
14533
  variables,
14527
14534
  "chatMessage",
14528
14535
  async (db) => {
@@ -14545,14 +14552,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
14545
14552
  }
14546
14553
  async fetch(options) {
14547
14554
  const variables = this._variables;
14548
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
14555
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
14549
14556
  const data = response.chatMessage?.chat?.insight;
14550
14557
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14551
14558
  }
14552
14559
  watch(options) {
14553
14560
  const variables = this._variables;
14554
14561
  const raw = this._syncEngine.watch(
14555
- chunk5IUEWNZ6_cjs.ChatMessage_Chat_InsightDocument,
14562
+ chunkGL6CUR7S_cjs.ChatMessage_Chat_InsightDocument,
14556
14563
  variables,
14557
14564
  "chatMessage",
14558
14565
  async (db) => {
@@ -14574,7 +14581,7 @@ var ChatMessage_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
14574
14581
  this._variables = variables;
14575
14582
  }
14576
14583
  async fetch(options) {
14577
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
14584
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
14578
14585
  const data = response.chatMessage?.contents;
14579
14586
  if (!Array.isArray(data)) return [];
14580
14587
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -14588,14 +14595,14 @@ var ChatMessage_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
14588
14595
  }
14589
14596
  async fetch(options) {
14590
14597
  const variables = this._variables;
14591
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
14598
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
14592
14599
  const data = response.chatMessage?.feedback;
14593
14600
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14594
14601
  }
14595
14602
  watch(options) {
14596
14603
  const variables = this._variables;
14597
14604
  const raw = this._syncEngine.watch(
14598
- chunk5IUEWNZ6_cjs.ChatMessage_FeedbackDocument,
14605
+ chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument,
14599
14606
  variables,
14600
14607
  "chatMessage",
14601
14608
  async (db) => {
@@ -14619,7 +14626,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14619
14626
  }
14620
14627
  async fetch(options) {
14621
14628
  const variables = this._variables;
14622
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
14629
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
14623
14630
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
14624
14631
  const data = response.chatMessages;
14625
14632
  const connection = new ChatMessageConnection(this._request, (conn, opts) => new _ChatMessagesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -14636,7 +14643,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14636
14643
  const subscriptionId = crypto.randomUUID();
14637
14644
  const includes = this._includes;
14638
14645
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
14639
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
14646
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
14640
14647
  const raw = this._syncEngine.watch(
14641
14648
  queryDoc,
14642
14649
  mergedVars,
@@ -14671,7 +14678,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14671
14678
  }
14672
14679
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14673
14680
  artifacts(variables, builder) {
14674
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14681
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14675
14682
  let children;
14676
14683
  if (builder) {
14677
14684
  const sub = new ArtifactSubBuilder();
@@ -14680,7 +14687,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14680
14687
  }
14681
14688
  this._includes.push({
14682
14689
  fieldName: "artifacts",
14683
- fragmentDoc: chunk5IUEWNZ6_cjs.ArtifactConnectionFragmentDoc,
14690
+ fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14684
14691
  variables,
14685
14692
  isConnection: true,
14686
14693
  isList: false,
@@ -14698,7 +14705,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14698
14705
  }
14699
14706
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14700
14707
  chat(variables, builder) {
14701
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14708
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14702
14709
  let children;
14703
14710
  if (builder) {
14704
14711
  const sub = new ChatSubBuilder();
@@ -14707,7 +14714,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14707
14714
  }
14708
14715
  this._includes.push({
14709
14716
  fieldName: "chat",
14710
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatFragmentDoc,
14717
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
14711
14718
  variables,
14712
14719
  isConnection: false,
14713
14720
  isList: false,
@@ -14724,10 +14731,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14724
14731
  }
14725
14732
  /** Include contents in this query (Smart Fetch — single HTTP request). */
14726
14733
  contents(variables) {
14727
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14734
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14728
14735
  this._includes.push({
14729
14736
  fieldName: "contents",
14730
- fragmentDoc: chunk5IUEWNZ6_cjs.ContentBlockFragmentDoc,
14737
+ fragmentDoc: chunkGL6CUR7S_cjs.ContentBlockFragmentDoc,
14731
14738
  variables,
14732
14739
  isConnection: false,
14733
14740
  isList: true,
@@ -14743,10 +14750,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14743
14750
  }
14744
14751
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
14745
14752
  feedback(variables) {
14746
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14753
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14747
14754
  this._includes.push({
14748
14755
  fieldName: "feedback",
14749
- fragmentDoc: chunk5IUEWNZ6_cjs.FeedbackFragmentDoc,
14756
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedbackFragmentDoc,
14750
14757
  variables,
14751
14758
  isConnection: false,
14752
14759
  isList: false,
@@ -14770,7 +14777,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14770
14777
  }
14771
14778
  async fetch(options) {
14772
14779
  const variables = this._variables;
14773
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ChatsDocument, "chats", this._includes, variables, true);
14780
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatsDocument, "chats", this._includes, variables, true);
14774
14781
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
14775
14782
  const data = response.chats;
14776
14783
  const connection = new ChatConnection(this._request, (conn, opts) => new _ChatsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -14787,7 +14794,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14787
14794
  const subscriptionId = crypto.randomUUID();
14788
14795
  const includes = this._includes;
14789
14796
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
14790
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ChatsDocument, "chats", includes, variables, true);
14797
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatsDocument, "chats", includes, variables, true);
14791
14798
  const raw = this._syncEngine.watch(
14792
14799
  queryDoc,
14793
14800
  mergedVars,
@@ -14822,7 +14829,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14822
14829
  }
14823
14830
  /** Include agents in this query (Smart Fetch — single HTTP request). */
14824
14831
  agents(variables, builder) {
14825
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Chat_AgentsDocument, "agents", ["id"]);
14832
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_AgentsDocument, "agents", ["id"]);
14826
14833
  let children;
14827
14834
  if (builder) {
14828
14835
  const sub = new AgentSubBuilder();
@@ -14831,7 +14838,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14831
14838
  }
14832
14839
  this._includes.push({
14833
14840
  fieldName: "agents",
14834
- fragmentDoc: chunk5IUEWNZ6_cjs.AgentConnectionFragmentDoc,
14841
+ fragmentDoc: chunkGL6CUR7S_cjs.AgentConnectionFragmentDoc,
14835
14842
  variables,
14836
14843
  isConnection: true,
14837
14844
  isList: false,
@@ -14849,7 +14856,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14849
14856
  }
14850
14857
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14851
14858
  artifacts(variables, builder) {
14852
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14859
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14853
14860
  let children;
14854
14861
  if (builder) {
14855
14862
  const sub = new ArtifactSubBuilder();
@@ -14858,7 +14865,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14858
14865
  }
14859
14866
  this._includes.push({
14860
14867
  fieldName: "artifacts",
14861
- fragmentDoc: chunk5IUEWNZ6_cjs.ArtifactConnectionFragmentDoc,
14868
+ fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14862
14869
  variables,
14863
14870
  isConnection: true,
14864
14871
  isList: false,
@@ -14876,7 +14883,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14876
14883
  }
14877
14884
  /** Include insight in this query (Smart Fetch — single HTTP request). */
14878
14885
  insight(variables, builder) {
14879
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Chat_InsightDocument, "insight", ["id"]);
14886
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_InsightDocument, "insight", ["id"]);
14880
14887
  let children;
14881
14888
  if (builder) {
14882
14889
  const sub = new InsightSubBuilder();
@@ -14885,7 +14892,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14885
14892
  }
14886
14893
  this._includes.push({
14887
14894
  fieldName: "insight",
14888
- fragmentDoc: chunk5IUEWNZ6_cjs.InsightFragmentDoc,
14895
+ fragmentDoc: chunkGL6CUR7S_cjs.InsightFragmentDoc,
14889
14896
  variables,
14890
14897
  isConnection: false,
14891
14898
  isList: false,
@@ -14902,7 +14909,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14902
14909
  }
14903
14910
  /** Include messages in this query (Smart Fetch — single HTTP request). */
14904
14911
  messages(variables, builder) {
14905
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Chat_MessagesDocument, "messages", ["id"]);
14912
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_MessagesDocument, "messages", ["id"]);
14906
14913
  let children;
14907
14914
  if (builder) {
14908
14915
  const sub = new ChatMessageSubBuilder();
@@ -14911,7 +14918,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14911
14918
  }
14912
14919
  this._includes.push({
14913
14920
  fieldName: "messages",
14914
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatMessageConnectionFragmentDoc,
14921
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageConnectionFragmentDoc,
14915
14922
  variables,
14916
14923
  isConnection: true,
14917
14924
  isList: false,
@@ -14937,7 +14944,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
14937
14944
  }
14938
14945
  async fetch(options) {
14939
14946
  const variables = this._variables;
14940
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DatabaseDocument, "database", this._includes, variables);
14947
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseDocument, "database", this._includes, variables);
14941
14948
  const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
14942
14949
  const data = response.database;
14943
14950
  const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
@@ -14949,7 +14956,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
14949
14956
  watch(options) {
14950
14957
  const variables = this._variables;
14951
14958
  const includes = this._includes;
14952
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DatabaseDocument, "database", includes, variables);
14959
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseDocument, "database", includes, variables);
14953
14960
  const raw = this._syncEngine.watch(
14954
14961
  queryDoc,
14955
14962
  mergedVars,
@@ -14979,10 +14986,10 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
14979
14986
  }
14980
14987
  /** Include engine in this query (Smart Fetch — single HTTP request). */
14981
14988
  engine(variables) {
14982
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Database_EngineDocument, "engine", ["id"]);
14989
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_EngineDocument, "engine", ["id"]);
14983
14990
  this._includes.push({
14984
14991
  fieldName: "engine",
14985
- fragmentDoc: chunk5IUEWNZ6_cjs.DatabaseEngineFragmentDoc,
14992
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
14986
14993
  variables,
14987
14994
  isConnection: false,
14988
14995
  isList: false,
@@ -14998,7 +15005,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
14998
15005
  }
14999
15006
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15000
15007
  tables(variables, builder) {
15001
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Database_TablesDocument, "tables", ["id"]);
15008
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_TablesDocument, "tables", ["id"]);
15002
15009
  let children;
15003
15010
  if (builder) {
15004
15011
  const sub = new TableSubBuilder();
@@ -15007,7 +15014,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
15007
15014
  }
15008
15015
  this._includes.push({
15009
15016
  fieldName: "tables",
15010
- fragmentDoc: chunk5IUEWNZ6_cjs.TableConnectionFragmentDoc,
15017
+ fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
15011
15018
  variables,
15012
15019
  isConnection: true,
15013
15020
  isList: false,
@@ -15032,14 +15039,14 @@ var Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
15032
15039
  }
15033
15040
  async fetch(options) {
15034
15041
  const variables = this._variables;
15035
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Database_EngineDocument, variables, "database");
15042
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Database_EngineDocument, variables, "database");
15036
15043
  const data = response.database?.engine;
15037
15044
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15038
15045
  }
15039
15046
  watch(options) {
15040
15047
  const variables = this._variables;
15041
15048
  const raw = this._syncEngine.watch(
15042
- chunk5IUEWNZ6_cjs.Database_EngineDocument,
15049
+ chunkGL6CUR7S_cjs.Database_EngineDocument,
15043
15050
  variables,
15044
15051
  "database",
15045
15052
  async (db) => {
@@ -15062,14 +15069,14 @@ var Database_Engine_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15062
15069
  }
15063
15070
  async fetch(options) {
15064
15071
  const variables = this._variables;
15065
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Database_Engine_CatalogDocument, variables, "database");
15072
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Database_Engine_CatalogDocument, variables, "database");
15066
15073
  const data = response.database?.engine?.catalog;
15067
15074
  return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15068
15075
  }
15069
15076
  watch(options) {
15070
15077
  const variables = this._variables;
15071
15078
  const raw = this._syncEngine.watch(
15072
- chunk5IUEWNZ6_cjs.Database_Engine_CatalogDocument,
15079
+ chunkGL6CUR7S_cjs.Database_Engine_CatalogDocument,
15073
15080
  variables,
15074
15081
  "database",
15075
15082
  async (db) => {
@@ -15092,18 +15099,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk342BFYZZ_cjs
15092
15099
  }
15093
15100
  async fetch(options) {
15094
15101
  const variables = this._variables;
15095
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Database_TablesDocument, variables, "database");
15102
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Database_TablesDocument, variables, "database");
15096
15103
  const data = response.database?.tables;
15097
15104
  return new TableConnection(this._request, (conn, opts) => new _Database_TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
15098
15105
  }
15099
15106
  watch(options) {
15100
15107
  const variables = this._variables;
15101
15108
  const raw = this._syncEngine.watch(
15102
- chunk5IUEWNZ6_cjs.Database_TablesDocument,
15109
+ chunkGL6CUR7S_cjs.Database_TablesDocument,
15103
15110
  variables,
15104
15111
  "database",
15105
15112
  async (db) => {
15106
- const qr = await db._queryResults.get(buildQueryKey("database", variables, chunk5IUEWNZ6_cjs.Database_TablesDocument));
15113
+ const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkGL6CUR7S_cjs.Database_TablesDocument));
15107
15114
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
15108
15115
  return { database: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15109
15116
  }
@@ -15123,7 +15130,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15123
15130
  }
15124
15131
  async fetch(options) {
15125
15132
  const variables = this._variables;
15126
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
15133
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
15127
15134
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
15128
15135
  const data = response.databaseCatalog;
15129
15136
  const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -15135,7 +15142,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15135
15142
  watch(options) {
15136
15143
  const variables = this._variables;
15137
15144
  const includes = this._includes;
15138
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
15145
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
15139
15146
  const raw = this._syncEngine.watch(
15140
15147
  queryDoc,
15141
15148
  mergedVars,
@@ -15165,10 +15172,10 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15165
15172
  }
15166
15173
  /** Include engine in this query (Smart Fetch — single HTTP request). */
15167
15174
  engine(variables) {
15168
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15175
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15169
15176
  this._includes.push({
15170
15177
  fieldName: "engine",
15171
- fragmentDoc: chunk5IUEWNZ6_cjs.DatabaseEngineFragmentDoc,
15178
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
15172
15179
  variables,
15173
15180
  isConnection: false,
15174
15181
  isList: false,
@@ -15191,14 +15198,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
15191
15198
  }
15192
15199
  async fetch(options) {
15193
15200
  const variables = this._variables;
15194
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
15201
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
15195
15202
  const data = response.databaseCatalog?.engine;
15196
15203
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15197
15204
  }
15198
15205
  watch(options) {
15199
15206
  const variables = this._variables;
15200
15207
  const raw = this._syncEngine.watch(
15201
- chunk5IUEWNZ6_cjs.DatabaseCatalog_EngineDocument,
15208
+ chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument,
15202
15209
  variables,
15203
15210
  "databaseCatalog",
15204
15211
  async (db) => {
@@ -15222,7 +15229,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15222
15229
  }
15223
15230
  async fetch(options) {
15224
15231
  const variables = this._variables;
15225
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
15232
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
15226
15233
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
15227
15234
  const data = response.databaseCatalogs;
15228
15235
  const connection = new DatabaseCatalogConnection(this._request, (conn, opts) => new _DatabaseCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15239,7 +15246,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15239
15246
  const subscriptionId = crypto.randomUUID();
15240
15247
  const includes = this._includes;
15241
15248
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
15242
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
15249
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
15243
15250
  const raw = this._syncEngine.watch(
15244
15251
  queryDoc,
15245
15252
  mergedVars,
@@ -15274,10 +15281,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15274
15281
  }
15275
15282
  /** Include engine in this query (Smart Fetch — single HTTP request). */
15276
15283
  engine(variables) {
15277
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15284
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15278
15285
  this._includes.push({
15279
15286
  fieldName: "engine",
15280
- fragmentDoc: chunk5IUEWNZ6_cjs.DatabaseEngineFragmentDoc,
15287
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
15281
15288
  variables,
15282
15289
  isConnection: false,
15283
15290
  isList: false,
@@ -15294,7 +15301,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15294
15301
  };
15295
15302
  var DatabaseSchemaQuery = class extends chunk342BFYZZ_cjs.Request {
15296
15303
  async fetch(variables) {
15297
- const response = await this._request(chunk5IUEWNZ6_cjs.DatabaseSchemaDocument, variables);
15304
+ const response = await this._request(chunkGL6CUR7S_cjs.DatabaseSchemaDocument, variables);
15298
15305
  return response.databaseSchema;
15299
15306
  }
15300
15307
  };
@@ -15307,7 +15314,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15307
15314
  }
15308
15315
  async fetch(options) {
15309
15316
  const variables = this._variables;
15310
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DatabasesDocument, "databases", this._includes, variables, true);
15317
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabasesDocument, "databases", this._includes, variables, true);
15311
15318
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
15312
15319
  const data = response.databases;
15313
15320
  const connection = new DatabaseConnection(this._request, (conn, opts) => new _DatabasesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15324,7 +15331,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15324
15331
  const subscriptionId = crypto.randomUUID();
15325
15332
  const includes = this._includes;
15326
15333
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
15327
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DatabasesDocument, "databases", includes, variables, true);
15334
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabasesDocument, "databases", includes, variables, true);
15328
15335
  const raw = this._syncEngine.watch(
15329
15336
  queryDoc,
15330
15337
  mergedVars,
@@ -15359,10 +15366,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15359
15366
  }
15360
15367
  /** Include engine in this query (Smart Fetch — single HTTP request). */
15361
15368
  engine(variables) {
15362
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Database_EngineDocument, "engine", ["id"]);
15369
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_EngineDocument, "engine", ["id"]);
15363
15370
  this._includes.push({
15364
15371
  fieldName: "engine",
15365
- fragmentDoc: chunk5IUEWNZ6_cjs.DatabaseEngineFragmentDoc,
15372
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
15366
15373
  variables,
15367
15374
  isConnection: false,
15368
15375
  isList: false,
@@ -15378,7 +15385,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15378
15385
  }
15379
15386
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15380
15387
  tables(variables, builder) {
15381
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Database_TablesDocument, "tables", ["id"]);
15388
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_TablesDocument, "tables", ["id"]);
15382
15389
  let children;
15383
15390
  if (builder) {
15384
15391
  const sub = new TableSubBuilder();
@@ -15387,7 +15394,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15387
15394
  }
15388
15395
  this._includes.push({
15389
15396
  fieldName: "tables",
15390
- fragmentDoc: chunk5IUEWNZ6_cjs.TableConnectionFragmentDoc,
15397
+ fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
15391
15398
  variables,
15392
15399
  isConnection: true,
15393
15400
  isList: false,
@@ -15413,7 +15420,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15413
15420
  }
15414
15421
  async fetch(options) {
15415
15422
  const variables = this._variables;
15416
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DocumentDocument, "document", this._includes, variables);
15423
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentDocument, "document", this._includes, variables);
15417
15424
  const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
15418
15425
  const data = response.document;
15419
15426
  const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
@@ -15425,7 +15432,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15425
15432
  watch(options) {
15426
15433
  const variables = this._variables;
15427
15434
  const includes = this._includes;
15428
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DocumentDocument, "document", includes, variables);
15435
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentDocument, "document", includes, variables);
15429
15436
  const raw = this._syncEngine.watch(
15430
15437
  queryDoc,
15431
15438
  mergedVars,
@@ -15455,10 +15462,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15455
15462
  }
15456
15463
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15457
15464
  contents(variables) {
15458
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Document_ContentsDocument, "contents", ["id"]);
15465
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_ContentsDocument, "contents", ["id"]);
15459
15466
  this._includes.push({
15460
15467
  fieldName: "contents",
15461
- fragmentDoc: chunk5IUEWNZ6_cjs.DocumentContentFragmentDoc,
15468
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentContentFragmentDoc,
15462
15469
  variables,
15463
15470
  isConnection: false,
15464
15471
  isList: true,
@@ -15474,10 +15481,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15474
15481
  }
15475
15482
  /** Include file in this query (Smart Fetch — single HTTP request). */
15476
15483
  file(variables) {
15477
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Document_FileDocument, "file", ["id"]);
15484
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FileDocument, "file", ["id"]);
15478
15485
  this._includes.push({
15479
15486
  fieldName: "file",
15480
- fragmentDoc: chunk5IUEWNZ6_cjs.FileFragmentDoc,
15487
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
15481
15488
  variables,
15482
15489
  isConnection: false,
15483
15490
  isList: false,
@@ -15493,10 +15500,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15493
15500
  }
15494
15501
  /** Include format in this query (Smart Fetch — single HTTP request). */
15495
15502
  format(variables) {
15496
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Document_FormatDocument, "format", ["id"]);
15503
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FormatDocument, "format", ["id"]);
15497
15504
  this._includes.push({
15498
15505
  fieldName: "format",
15499
- fragmentDoc: chunk5IUEWNZ6_cjs.DocumentFormatFragmentDoc,
15506
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15500
15507
  variables,
15501
15508
  isConnection: false,
15502
15509
  isList: false,
@@ -15512,7 +15519,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15512
15519
  }
15513
15520
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15514
15521
  tables(variables, builder) {
15515
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Document_TablesDocument, "tables", ["id"]);
15522
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_TablesDocument, "tables", ["id"]);
15516
15523
  let children;
15517
15524
  if (builder) {
15518
15525
  const sub = new TableSubBuilder();
@@ -15521,7 +15528,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15521
15528
  }
15522
15529
  this._includes.push({
15523
15530
  fieldName: "tables",
15524
- fragmentDoc: chunk5IUEWNZ6_cjs.TableConnectionFragmentDoc,
15531
+ fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
15525
15532
  variables,
15526
15533
  isConnection: true,
15527
15534
  isList: false,
@@ -15545,7 +15552,7 @@ var Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
15545
15552
  this._variables = variables;
15546
15553
  }
15547
15554
  async fetch(options) {
15548
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Document_ContentsDocument, this._variables, "document");
15555
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_ContentsDocument, this._variables, "document");
15549
15556
  const data = response.document?.contents;
15550
15557
  if (!Array.isArray(data)) return [];
15551
15558
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -15559,14 +15566,14 @@ var Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
15559
15566
  }
15560
15567
  async fetch(options) {
15561
15568
  const variables = this._variables;
15562
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Document_FileDocument, variables, "document");
15569
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_FileDocument, variables, "document");
15563
15570
  const data = response.document?.file;
15564
15571
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15565
15572
  }
15566
15573
  watch(options) {
15567
15574
  const variables = this._variables;
15568
15575
  const raw = this._syncEngine.watch(
15569
- chunk5IUEWNZ6_cjs.Document_FileDocument,
15576
+ chunkGL6CUR7S_cjs.Document_FileDocument,
15570
15577
  variables,
15571
15578
  "document",
15572
15579
  async (db) => {
@@ -15589,14 +15596,14 @@ var Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
15589
15596
  }
15590
15597
  async fetch(options) {
15591
15598
  const variables = this._variables;
15592
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Document_FormatDocument, variables, "document");
15599
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_FormatDocument, variables, "document");
15593
15600
  const data = response.document?.format;
15594
15601
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15595
15602
  }
15596
15603
  watch(options) {
15597
15604
  const variables = this._variables;
15598
15605
  const raw = this._syncEngine.watch(
15599
- chunk5IUEWNZ6_cjs.Document_FormatDocument,
15606
+ chunkGL6CUR7S_cjs.Document_FormatDocument,
15600
15607
  variables,
15601
15608
  "document",
15602
15609
  async (db) => {
@@ -15619,14 +15626,14 @@ var Document_Format_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15619
15626
  }
15620
15627
  async fetch(options) {
15621
15628
  const variables = this._variables;
15622
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Document_Format_CatalogDocument, variables, "document");
15629
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_Format_CatalogDocument, variables, "document");
15623
15630
  const data = response.document?.format?.catalog;
15624
15631
  return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15625
15632
  }
15626
15633
  watch(options) {
15627
15634
  const variables = this._variables;
15628
15635
  const raw = this._syncEngine.watch(
15629
- chunk5IUEWNZ6_cjs.Document_Format_CatalogDocument,
15636
+ chunkGL6CUR7S_cjs.Document_Format_CatalogDocument,
15630
15637
  variables,
15631
15638
  "document",
15632
15639
  async (db) => {
@@ -15649,18 +15656,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk342BFYZZ_cjs
15649
15656
  }
15650
15657
  async fetch(options) {
15651
15658
  const variables = this._variables;
15652
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Document_TablesDocument, variables, "document");
15659
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_TablesDocument, variables, "document");
15653
15660
  const data = response.document?.tables;
15654
15661
  return new TableConnection(this._request, (conn, opts) => new _Document_TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
15655
15662
  }
15656
15663
  watch(options) {
15657
15664
  const variables = this._variables;
15658
15665
  const raw = this._syncEngine.watch(
15659
- chunk5IUEWNZ6_cjs.Document_TablesDocument,
15666
+ chunkGL6CUR7S_cjs.Document_TablesDocument,
15660
15667
  variables,
15661
15668
  "document",
15662
15669
  async (db) => {
15663
- const qr = await db._queryResults.get(buildQueryKey("document", variables, chunk5IUEWNZ6_cjs.Document_TablesDocument));
15670
+ const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkGL6CUR7S_cjs.Document_TablesDocument));
15664
15671
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
15665
15672
  return { document: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15666
15673
  }
@@ -15680,7 +15687,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15680
15687
  }
15681
15688
  async fetch(options) {
15682
15689
  const variables = this._variables;
15683
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
15690
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
15684
15691
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
15685
15692
  const data = response.documentCatalog;
15686
15693
  const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -15692,7 +15699,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15692
15699
  watch(options) {
15693
15700
  const variables = this._variables;
15694
15701
  const includes = this._includes;
15695
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
15702
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
15696
15703
  const raw = this._syncEngine.watch(
15697
15704
  queryDoc,
15698
15705
  mergedVars,
@@ -15722,10 +15729,10 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15722
15729
  }
15723
15730
  /** Include format in this query (Smart Fetch — single HTTP request). */
15724
15731
  format(variables) {
15725
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.DocumentCatalog_FormatDocument, "format", []);
15732
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, "format", []);
15726
15733
  this._includes.push({
15727
15734
  fieldName: "format",
15728
- fragmentDoc: chunk5IUEWNZ6_cjs.DocumentFormatFragmentDoc,
15735
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15729
15736
  variables,
15730
15737
  isConnection: false,
15731
15738
  isList: false,
@@ -15748,14 +15755,14 @@ var DocumentCatalog_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
15748
15755
  }
15749
15756
  async fetch(options) {
15750
15757
  const variables = this._variables;
15751
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
15758
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
15752
15759
  const data = response.documentCatalog?.format;
15753
15760
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15754
15761
  }
15755
15762
  watch(options) {
15756
15763
  const variables = this._variables;
15757
15764
  const raw = this._syncEngine.watch(
15758
- chunk5IUEWNZ6_cjs.DocumentCatalog_FormatDocument,
15765
+ chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument,
15759
15766
  variables,
15760
15767
  "documentCatalog",
15761
15768
  async (db) => {
@@ -15779,7 +15786,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
15779
15786
  }
15780
15787
  async fetch(options) {
15781
15788
  const variables = this._variables;
15782
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
15789
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
15783
15790
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
15784
15791
  const data = response.documentCatalogs;
15785
15792
  const connection = new DocumentCatalogConnection(this._request, (conn, opts) => new _DocumentCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15796,7 +15803,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
15796
15803
  const subscriptionId = crypto.randomUUID();
15797
15804
  const includes = this._includes;
15798
15805
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
15799
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
15806
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
15800
15807
  const raw = this._syncEngine.watch(
15801
15808
  queryDoc,
15802
15809
  mergedVars,
@@ -15831,10 +15838,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
15831
15838
  }
15832
15839
  /** Include format in this query (Smart Fetch — single HTTP request). */
15833
15840
  format(variables) {
15834
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.DocumentCatalog_FormatDocument, "format", []);
15841
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, "format", []);
15835
15842
  this._includes.push({
15836
15843
  fieldName: "format",
15837
- fragmentDoc: chunk5IUEWNZ6_cjs.DocumentFormatFragmentDoc,
15844
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15838
15845
  variables,
15839
15846
  isConnection: false,
15840
15847
  isList: false,
@@ -15858,7 +15865,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15858
15865
  }
15859
15866
  async fetch(options) {
15860
15867
  const variables = this._variables;
15861
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DocumentsDocument, "documents", this._includes, variables, true);
15868
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentsDocument, "documents", this._includes, variables, true);
15862
15869
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
15863
15870
  const data = response.documents;
15864
15871
  const connection = new DocumentConnection(this._request, (conn, opts) => new _DocumentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15875,7 +15882,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15875
15882
  const subscriptionId = crypto.randomUUID();
15876
15883
  const includes = this._includes;
15877
15884
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
15878
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.DocumentsDocument, "documents", includes, variables, true);
15885
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentsDocument, "documents", includes, variables, true);
15879
15886
  const raw = this._syncEngine.watch(
15880
15887
  queryDoc,
15881
15888
  mergedVars,
@@ -15910,10 +15917,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15910
15917
  }
15911
15918
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15912
15919
  contents(variables) {
15913
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Document_ContentsDocument, "contents", ["id"]);
15920
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_ContentsDocument, "contents", ["id"]);
15914
15921
  this._includes.push({
15915
15922
  fieldName: "contents",
15916
- fragmentDoc: chunk5IUEWNZ6_cjs.DocumentContentFragmentDoc,
15923
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentContentFragmentDoc,
15917
15924
  variables,
15918
15925
  isConnection: false,
15919
15926
  isList: true,
@@ -15929,10 +15936,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15929
15936
  }
15930
15937
  /** Include file in this query (Smart Fetch — single HTTP request). */
15931
15938
  file(variables) {
15932
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Document_FileDocument, "file", ["id"]);
15939
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FileDocument, "file", ["id"]);
15933
15940
  this._includes.push({
15934
15941
  fieldName: "file",
15935
- fragmentDoc: chunk5IUEWNZ6_cjs.FileFragmentDoc,
15942
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
15936
15943
  variables,
15937
15944
  isConnection: false,
15938
15945
  isList: false,
@@ -15948,10 +15955,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15948
15955
  }
15949
15956
  /** Include format in this query (Smart Fetch — single HTTP request). */
15950
15957
  format(variables) {
15951
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Document_FormatDocument, "format", ["id"]);
15958
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FormatDocument, "format", ["id"]);
15952
15959
  this._includes.push({
15953
15960
  fieldName: "format",
15954
- fragmentDoc: chunk5IUEWNZ6_cjs.DocumentFormatFragmentDoc,
15961
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15955
15962
  variables,
15956
15963
  isConnection: false,
15957
15964
  isList: false,
@@ -15967,7 +15974,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15967
15974
  }
15968
15975
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15969
15976
  tables(variables, builder) {
15970
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Document_TablesDocument, "tables", ["id"]);
15977
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_TablesDocument, "tables", ["id"]);
15971
15978
  let children;
15972
15979
  if (builder) {
15973
15980
  const sub = new TableSubBuilder();
@@ -15976,7 +15983,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15976
15983
  }
15977
15984
  this._includes.push({
15978
15985
  fieldName: "tables",
15979
- fragmentDoc: chunk5IUEWNZ6_cjs.TableConnectionFragmentDoc,
15986
+ fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
15980
15987
  variables,
15981
15988
  isConnection: true,
15982
15989
  isList: false,
@@ -15995,13 +16002,13 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15995
16002
  };
15996
16003
  var ExportQuery = class extends chunk342BFYZZ_cjs.Request {
15997
16004
  async fetch(variables) {
15998
- const response = await this._request(chunk5IUEWNZ6_cjs.ExportDocument, variables);
16005
+ const response = await this._request(chunkGL6CUR7S_cjs.ExportDocument, variables);
15999
16006
  return response.export;
16000
16007
  }
16001
16008
  };
16002
16009
  var ExportWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
16003
16010
  async fetch(variables) {
16004
- const response = await this._request(chunk5IUEWNZ6_cjs.ExportWithInsightIdDocument, variables);
16011
+ const response = await this._request(chunkGL6CUR7S_cjs.ExportWithInsightIdDocument, variables);
16005
16012
  return response.exportWithInsightId;
16006
16013
  }
16007
16014
  };
@@ -16014,7 +16021,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
16014
16021
  }
16015
16022
  async fetch(options) {
16016
16023
  const variables = this._variables;
16017
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.FeedItemDocument, "feedItem", this._includes, variables);
16024
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemDocument, "feedItem", this._includes, variables);
16018
16025
  const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItem");
16019
16026
  const data = response.feedItem;
16020
16027
  if (!data) return void 0;
@@ -16027,7 +16034,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
16027
16034
  watch(options) {
16028
16035
  const variables = this._variables;
16029
16036
  const includes = this._includes;
16030
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.FeedItemDocument, "feedItem", includes, variables);
16037
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemDocument, "feedItem", includes, variables);
16031
16038
  const raw = this._syncEngine.watch(
16032
16039
  queryDoc,
16033
16040
  mergedVars,
@@ -16058,10 +16065,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
16058
16065
  }
16059
16066
  /** Include action in this query (Smart Fetch — single HTTP request). */
16060
16067
  action(variables) {
16061
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.FeedItem_ActionDocument, "action", ["id"]);
16068
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, "action", ["id"]);
16062
16069
  this._includes.push({
16063
16070
  fieldName: "action",
16064
- fragmentDoc: chunk5IUEWNZ6_cjs.FeedSendMessageActionFragmentDoc,
16071
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedSendMessageActionFragmentDoc,
16065
16072
  variables,
16066
16073
  isConnection: false,
16067
16074
  isList: false,
@@ -16077,10 +16084,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
16077
16084
  }
16078
16085
  /** Include data in this query (Smart Fetch — single HTTP request). */
16079
16086
  data(variables) {
16080
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.FeedItem_DataDocument, "data", ["id"]);
16087
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_DataDocument, "data", ["id"]);
16081
16088
  this._includes.push({
16082
16089
  fieldName: "data",
16083
- fragmentDoc: chunk5IUEWNZ6_cjs.FeedArtifactDataFragmentDoc,
16090
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedArtifactDataFragmentDoc,
16084
16091
  variables,
16085
16092
  isConnection: false,
16086
16093
  isList: true,
@@ -16103,14 +16110,14 @@ var FeedItem_ActionQuery = class extends chunk342BFYZZ_cjs.Request {
16103
16110
  }
16104
16111
  async fetch(options) {
16105
16112
  const variables = this._variables;
16106
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.FeedItem_ActionDocument, variables, "feedItem");
16113
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, variables, "feedItem");
16107
16114
  const data = response.feedItem?.action;
16108
16115
  return data ? new FeedSendMessageAction(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16109
16116
  }
16110
16117
  watch(options) {
16111
16118
  const variables = this._variables;
16112
16119
  const raw = this._syncEngine.watch(
16113
- chunk5IUEWNZ6_cjs.FeedItem_ActionDocument,
16120
+ chunkGL6CUR7S_cjs.FeedItem_ActionDocument,
16114
16121
  variables,
16115
16122
  "feedItem",
16116
16123
  async (db) => {
@@ -16132,7 +16139,7 @@ var FeedItem_DataQuery = class extends chunk342BFYZZ_cjs.Request {
16132
16139
  this._variables = variables;
16133
16140
  }
16134
16141
  async fetch(options) {
16135
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.FeedItem_DataDocument, this._variables, "feedItem");
16142
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.FeedItem_DataDocument, this._variables, "feedItem");
16136
16143
  const data = response.feedItem?.data;
16137
16144
  if (!Array.isArray(data)) return [];
16138
16145
  return data.map((item) => new FeedArtifactData(this._request, item, this._syncEngine, this._baseUrl));
@@ -16147,7 +16154,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16147
16154
  }
16148
16155
  async fetch(options) {
16149
16156
  const variables = this._variables;
16150
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
16157
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
16151
16158
  const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItems");
16152
16159
  const data = response.feedItems;
16153
16160
  const connection = new FeedConnection(this._request, (conn, opts) => new _FeedItemsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16164,7 +16171,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16164
16171
  const subscriptionId = crypto.randomUUID();
16165
16172
  const includes = this._includes;
16166
16173
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
16167
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
16174
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
16168
16175
  const raw = this._syncEngine.watch(
16169
16176
  queryDoc,
16170
16177
  mergedVars,
@@ -16199,10 +16206,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16199
16206
  }
16200
16207
  /** Include action in this query (Smart Fetch — single HTTP request). */
16201
16208
  action(variables) {
16202
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.FeedItem_ActionDocument, "action", ["id"]);
16209
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, "action", ["id"]);
16203
16210
  this._includes.push({
16204
16211
  fieldName: "action",
16205
- fragmentDoc: chunk5IUEWNZ6_cjs.FeedSendMessageActionFragmentDoc,
16212
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedSendMessageActionFragmentDoc,
16206
16213
  variables,
16207
16214
  isConnection: false,
16208
16215
  isList: false,
@@ -16218,10 +16225,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16218
16225
  }
16219
16226
  /** Include data in this query (Smart Fetch — single HTTP request). */
16220
16227
  data(variables) {
16221
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.FeedItem_DataDocument, "data", ["id"]);
16228
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_DataDocument, "data", ["id"]);
16222
16229
  this._includes.push({
16223
16230
  fieldName: "data",
16224
- fragmentDoc: chunk5IUEWNZ6_cjs.FeedArtifactDataFragmentDoc,
16231
+ fragmentDoc: chunkGL6CUR7S_cjs.FeedArtifactDataFragmentDoc,
16225
16232
  variables,
16226
16233
  isConnection: false,
16227
16234
  isList: true,
@@ -16238,7 +16245,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16238
16245
  };
16239
16246
  var FileQuery = class extends chunk342BFYZZ_cjs.Request {
16240
16247
  async fetch(variables) {
16241
- const response = await this._request(chunk5IUEWNZ6_cjs.FileDocument, variables);
16248
+ const response = await this._request(chunkGL6CUR7S_cjs.FileDocument, variables);
16242
16249
  return response.file;
16243
16250
  }
16244
16251
  };
@@ -16251,7 +16258,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
16251
16258
  }
16252
16259
  async fetch(options) {
16253
16260
  const variables = this._variables;
16254
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
16261
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
16255
16262
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
16256
16263
  const data = response.fileMeta;
16257
16264
  if (!data) return void 0;
@@ -16264,7 +16271,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
16264
16271
  watch(options) {
16265
16272
  const variables = this._variables;
16266
16273
  const includes = this._includes;
16267
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.FileMetaDocument, "fileMeta", includes, variables);
16274
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FileMetaDocument, "fileMeta", includes, variables);
16268
16275
  const raw = this._syncEngine.watch(
16269
16276
  queryDoc,
16270
16277
  mergedVars,
@@ -16302,7 +16309,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
16302
16309
  this._variables = variables;
16303
16310
  }
16304
16311
  async fetch(options) {
16305
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
16312
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
16306
16313
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
16307
16314
  const data = response.fileUrls;
16308
16315
  if (!Array.isArray(data)) return [];
@@ -16311,7 +16318,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
16311
16318
  };
16312
16319
  var FindFitTierQuery = class extends chunk342BFYZZ_cjs.Request {
16313
16320
  async fetch(variables) {
16314
- const response = await this._request(chunk5IUEWNZ6_cjs.FindFitTierDocument, variables);
16321
+ const response = await this._request(chunkGL6CUR7S_cjs.FindFitTierDocument, variables);
16315
16322
  return response.findFitTier ?? void 0;
16316
16323
  }
16317
16324
  };
@@ -16324,7 +16331,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
16324
16331
  }
16325
16332
  async fetch(options) {
16326
16333
  const variables = this._variables;
16327
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.FolderDocument, "folder", this._includes, variables);
16334
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FolderDocument, "folder", this._includes, variables);
16328
16335
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
16329
16336
  const data = response.folder;
16330
16337
  const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
@@ -16336,7 +16343,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
16336
16343
  watch(options) {
16337
16344
  const variables = this._variables;
16338
16345
  const includes = this._includes;
16339
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.FolderDocument, "folder", includes, variables);
16346
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FolderDocument, "folder", includes, variables);
16340
16347
  const raw = this._syncEngine.watch(
16341
16348
  queryDoc,
16342
16349
  mergedVars,
@@ -16374,7 +16381,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
16374
16381
  }
16375
16382
  async fetch(options) {
16376
16383
  const variables = this._variables;
16377
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.FoldersDocument, "folders", this._includes, variables, true);
16384
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FoldersDocument, "folders", this._includes, variables, true);
16378
16385
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
16379
16386
  const data = response.folders;
16380
16387
  const connection = new FolderConnection(this._request, (conn, opts) => new _FoldersQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16391,7 +16398,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
16391
16398
  const subscriptionId = crypto.randomUUID();
16392
16399
  const includes = this._includes;
16393
16400
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
16394
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.FoldersDocument, "folders", includes, variables, true);
16401
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FoldersDocument, "folders", includes, variables, true);
16395
16402
  const raw = this._syncEngine.watch(
16396
16403
  queryDoc,
16397
16404
  mergedVars,
@@ -16427,7 +16434,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
16427
16434
  };
16428
16435
  var GetCapabilityQuery = class extends chunk342BFYZZ_cjs.Request {
16429
16436
  async fetch(variables) {
16430
- const response = await this._request(chunk5IUEWNZ6_cjs.GetCapabilityDocument, variables);
16437
+ const response = await this._request(chunkGL6CUR7S_cjs.GetCapabilityDocument, variables);
16431
16438
  return response.getCapability;
16432
16439
  }
16433
16440
  };
@@ -16440,7 +16447,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
16440
16447
  }
16441
16448
  async fetch(options) {
16442
16449
  const variables = this._variables;
16443
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
16450
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
16444
16451
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
16445
16452
  const data = response.getDevAccessToken;
16446
16453
  const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
@@ -16452,7 +16459,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
16452
16459
  watch(options) {
16453
16460
  const variables = this._variables;
16454
16461
  const includes = this._includes;
16455
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
16462
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
16456
16463
  const raw = this._syncEngine.watch(
16457
16464
  queryDoc,
16458
16465
  mergedVars,
@@ -16483,13 +16490,13 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
16483
16490
  };
16484
16491
  var GetLimitQuery = class extends chunk342BFYZZ_cjs.Request {
16485
16492
  async fetch(variables) {
16486
- const response = await this._request(chunk5IUEWNZ6_cjs.GetLimitDocument, variables);
16493
+ const response = await this._request(chunkGL6CUR7S_cjs.GetLimitDocument, variables);
16487
16494
  return response.getLimit ?? void 0;
16488
16495
  }
16489
16496
  };
16490
16497
  var GetRemainingQuery = class extends chunk342BFYZZ_cjs.Request {
16491
16498
  async fetch(variables) {
16492
- const response = await this._request(chunk5IUEWNZ6_cjs.GetRemainingDocument, variables);
16499
+ const response = await this._request(chunkGL6CUR7S_cjs.GetRemainingDocument, variables);
16493
16500
  return response.getRemaining ?? void 0;
16494
16501
  }
16495
16502
  };
@@ -16501,7 +16508,7 @@ var GetTokenUsageByModelQuery = class extends chunk342BFYZZ_cjs.Request {
16501
16508
  this._variables = variables;
16502
16509
  }
16503
16510
  async fetch(options) {
16504
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
16511
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
16505
16512
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
16506
16513
  const data = response.getTokenUsageByModel;
16507
16514
  if (!Array.isArray(data)) return [];
@@ -16516,7 +16523,7 @@ var GetTokenUsageHistoryQuery = class extends chunk342BFYZZ_cjs.Request {
16516
16523
  this._variables = variables;
16517
16524
  }
16518
16525
  async fetch(options) {
16519
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
16526
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
16520
16527
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
16521
16528
  const data = response.getTokenUsageHistory;
16522
16529
  if (!Array.isArray(data)) return [];
@@ -16532,7 +16539,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
16532
16539
  }
16533
16540
  async fetch(options) {
16534
16541
  const variables = this._variables;
16535
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
16542
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
16536
16543
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
16537
16544
  const data = response.getTokenUsageStatus;
16538
16545
  const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
@@ -16544,7 +16551,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
16544
16551
  watch(options) {
16545
16552
  const variables = this._variables;
16546
16553
  const includes = this._includes;
16547
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
16554
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
16548
16555
  const raw = this._syncEngine.watch(
16549
16556
  queryDoc,
16550
16557
  mergedVars,
@@ -16574,10 +16581,10 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
16574
16581
  }
16575
16582
  /** Include windows in this query (Smart Fetch — single HTTP request). */
16576
16583
  windows(variables) {
16577
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
16584
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
16578
16585
  this._includes.push({
16579
16586
  fieldName: "windows",
16580
- fragmentDoc: chunk5IUEWNZ6_cjs.UsageWindowsStatusTypeFragmentDoc,
16587
+ fragmentDoc: chunkGL6CUR7S_cjs.UsageWindowsStatusTypeFragmentDoc,
16581
16588
  variables,
16582
16589
  isConnection: false,
16583
16590
  isList: false,
@@ -16600,14 +16607,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk342BFYZZ_cjs.Request {
16600
16607
  }
16601
16608
  async fetch(options) {
16602
16609
  const variables = this._variables;
16603
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
16610
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
16604
16611
  const data = response.getTokenUsageStatus?.windows;
16605
16612
  return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16606
16613
  }
16607
16614
  watch(options) {
16608
16615
  const variables = this._variables;
16609
16616
  const raw = this._syncEngine.watch(
16610
- chunk5IUEWNZ6_cjs.GetTokenUsageStatus_WindowsDocument,
16617
+ chunkGL6CUR7S_cjs.GetTokenUsageStatus_WindowsDocument,
16611
16618
  variables,
16612
16619
  "getTokenUsageStatus",
16613
16620
  async (db) => {
@@ -16630,14 +16637,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk342BFYZZ_cjs.Reque
16630
16637
  }
16631
16638
  async fetch(options) {
16632
16639
  const variables = this._variables;
16633
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
16640
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
16634
16641
  const data = response.getTokenUsageStatus?.windows?.day;
16635
16642
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16636
16643
  }
16637
16644
  watch(options) {
16638
16645
  const variables = this._variables;
16639
16646
  const raw = this._syncEngine.watch(
16640
- chunk5IUEWNZ6_cjs.GetTokenUsageStatus_Windows_DayDocument,
16647
+ chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_DayDocument,
16641
16648
  variables,
16642
16649
  "getTokenUsageStatus",
16643
16650
  async (db) => {
@@ -16660,14 +16667,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk342BFYZZ_cjs.
16660
16667
  }
16661
16668
  async fetch(options) {
16662
16669
  const variables = this._variables;
16663
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
16670
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
16664
16671
  const data = response.getTokenUsageStatus?.windows?.fiveHour;
16665
16672
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16666
16673
  }
16667
16674
  watch(options) {
16668
16675
  const variables = this._variables;
16669
16676
  const raw = this._syncEngine.watch(
16670
- chunk5IUEWNZ6_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
16677
+ chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
16671
16678
  variables,
16672
16679
  "getTokenUsageStatus",
16673
16680
  async (db) => {
@@ -16690,14 +16697,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
16690
16697
  }
16691
16698
  async fetch(options) {
16692
16699
  const variables = this._variables;
16693
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
16700
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
16694
16701
  const data = response.getTokenUsageStatus?.windows?.week;
16695
16702
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16696
16703
  }
16697
16704
  watch(options) {
16698
16705
  const variables = this._variables;
16699
16706
  const raw = this._syncEngine.watch(
16700
- chunk5IUEWNZ6_cjs.GetTokenUsageStatus_Windows_WeekDocument,
16707
+ chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_WeekDocument,
16701
16708
  variables,
16702
16709
  "getTokenUsageStatus",
16703
16710
  async (db) => {
@@ -16714,7 +16721,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
16714
16721
  };
16715
16722
  var GetUsageQuery = class extends chunk342BFYZZ_cjs.Request {
16716
16723
  async fetch(variables) {
16717
- const response = await this._request(chunk5IUEWNZ6_cjs.GetUsageDocument, variables);
16724
+ const response = await this._request(chunkGL6CUR7S_cjs.GetUsageDocument, variables);
16718
16725
  return response.getUsage ?? void 0;
16719
16726
  }
16720
16727
  };
@@ -16727,7 +16734,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16727
16734
  }
16728
16735
  async fetch(options) {
16729
16736
  const variables = this._variables;
16730
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.InsightDocument, "insight", this._includes, variables);
16737
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightDocument, "insight", this._includes, variables);
16731
16738
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
16732
16739
  const data = response.insight;
16733
16740
  const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
@@ -16739,7 +16746,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16739
16746
  watch(options) {
16740
16747
  const variables = this._variables;
16741
16748
  const includes = this._includes;
16742
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.InsightDocument, "insight", includes, variables);
16749
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightDocument, "insight", includes, variables);
16743
16750
  const raw = this._syncEngine.watch(
16744
16751
  queryDoc,
16745
16752
  mergedVars,
@@ -16769,7 +16776,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16769
16776
  }
16770
16777
  /** Include chat in this query (Smart Fetch — single HTTP request). */
16771
16778
  chat(variables, builder) {
16772
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Insight_ChatDocument, "chat", ["id"]);
16779
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ChatDocument, "chat", ["id"]);
16773
16780
  let children;
16774
16781
  if (builder) {
16775
16782
  const sub = new ChatSubBuilder();
@@ -16778,7 +16785,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16778
16785
  }
16779
16786
  this._includes.push({
16780
16787
  fieldName: "chat",
16781
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatFragmentDoc,
16788
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
16782
16789
  variables,
16783
16790
  isConnection: false,
16784
16791
  isList: false,
@@ -16795,10 +16802,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16795
16802
  }
16796
16803
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
16797
16804
  reportMembers(variables) {
16798
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16805
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16799
16806
  this._includes.push({
16800
16807
  fieldName: "reportMembers",
16801
- fragmentDoc: chunk5IUEWNZ6_cjs.ReportMemberFragmentDoc,
16808
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
16802
16809
  variables,
16803
16810
  isConnection: false,
16804
16811
  isList: true,
@@ -16814,7 +16821,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16814
16821
  }
16815
16822
  /** Include reports in this query (Smart Fetch — single HTTP request). */
16816
16823
  reports(variables, builder) {
16817
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Insight_ReportsDocument, "reports", ["id"]);
16824
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportsDocument, "reports", ["id"]);
16818
16825
  let children;
16819
16826
  if (builder) {
16820
16827
  const sub = new ReportSubBuilder();
@@ -16823,7 +16830,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16823
16830
  }
16824
16831
  this._includes.push({
16825
16832
  fieldName: "reports",
16826
- fragmentDoc: chunk5IUEWNZ6_cjs.ReportConnectionFragmentDoc,
16833
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportConnectionFragmentDoc,
16827
16834
  variables,
16828
16835
  isConnection: true,
16829
16836
  isList: false,
@@ -16841,10 +16848,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16841
16848
  }
16842
16849
  /** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
16843
16850
  thumbnailFile(variables) {
16844
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
16851
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
16845
16852
  this._includes.push({
16846
16853
  fieldName: "thumbnailFile",
16847
- fragmentDoc: chunk5IUEWNZ6_cjs.FileFragmentDoc,
16854
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
16848
16855
  variables,
16849
16856
  isConnection: false,
16850
16857
  isList: false,
@@ -16867,14 +16874,14 @@ var Insight_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
16867
16874
  }
16868
16875
  async fetch(options) {
16869
16876
  const variables = this._variables;
16870
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Insight_ChatDocument, variables, "insight");
16877
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ChatDocument, variables, "insight");
16871
16878
  const data = response.insight?.chat;
16872
16879
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16873
16880
  }
16874
16881
  watch(options) {
16875
16882
  const variables = this._variables;
16876
16883
  const raw = this._syncEngine.watch(
16877
- chunk5IUEWNZ6_cjs.Insight_ChatDocument,
16884
+ chunkGL6CUR7S_cjs.Insight_ChatDocument,
16878
16885
  variables,
16879
16886
  "insight",
16880
16887
  async (db) => {
@@ -16896,7 +16903,7 @@ var Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
16896
16903
  this._variables = variables;
16897
16904
  }
16898
16905
  async fetch(options) {
16899
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Insight_ReportMembersDocument, this._variables, "insight");
16906
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, this._variables, "insight");
16900
16907
  const data = response.insight?.reportMembers;
16901
16908
  if (!Array.isArray(data)) return [];
16902
16909
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -16910,18 +16917,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk342BFYZZ_cjs
16910
16917
  }
16911
16918
  async fetch(options) {
16912
16919
  const variables = this._variables;
16913
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Insight_ReportsDocument, variables, "insight");
16920
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ReportsDocument, variables, "insight");
16914
16921
  const data = response.insight?.reports;
16915
16922
  return new ReportConnection(this._request, (conn, opts) => new _Insight_ReportsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
16916
16923
  }
16917
16924
  watch(options) {
16918
16925
  const variables = this._variables;
16919
16926
  const raw = this._syncEngine.watch(
16920
- chunk5IUEWNZ6_cjs.Insight_ReportsDocument,
16927
+ chunkGL6CUR7S_cjs.Insight_ReportsDocument,
16921
16928
  variables,
16922
16929
  "insight",
16923
16930
  async (db) => {
16924
- const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunk5IUEWNZ6_cjs.Insight_ReportsDocument));
16931
+ const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkGL6CUR7S_cjs.Insight_ReportsDocument));
16925
16932
  const nodes = qr ? await db.table("reports").bulkGet(qr.entityIds) : [];
16926
16933
  return { insight: { reports: { __typename: "ReportConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
16927
16934
  }
@@ -16940,14 +16947,14 @@ var Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
16940
16947
  }
16941
16948
  async fetch(options) {
16942
16949
  const variables = this._variables;
16943
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Insight_ThumbnailFileDocument, variables, "insight");
16950
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, variables, "insight");
16944
16951
  const data = response.insight?.thumbnailFile;
16945
16952
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16946
16953
  }
16947
16954
  watch(options) {
16948
16955
  const variables = this._variables;
16949
16956
  const raw = this._syncEngine.watch(
16950
- chunk5IUEWNZ6_cjs.Insight_ThumbnailFileDocument,
16957
+ chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument,
16951
16958
  variables,
16952
16959
  "insight",
16953
16960
  async (db) => {
@@ -16971,7 +16978,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
16971
16978
  }
16972
16979
  async fetch(options) {
16973
16980
  const variables = this._variables;
16974
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.InsightsDocument, "insights", this._includes, variables, true);
16981
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightsDocument, "insights", this._includes, variables, true);
16975
16982
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
16976
16983
  const data = response.insights;
16977
16984
  const connection = new InsightConnection(this._request, (conn, opts) => new _InsightsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16988,7 +16995,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
16988
16995
  const subscriptionId = crypto.randomUUID();
16989
16996
  const includes = this._includes;
16990
16997
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
16991
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.InsightsDocument, "insights", includes, variables, true);
16998
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightsDocument, "insights", includes, variables, true);
16992
16999
  const raw = this._syncEngine.watch(
16993
17000
  queryDoc,
16994
17001
  mergedVars,
@@ -17023,7 +17030,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17023
17030
  }
17024
17031
  /** Include chat in this query (Smart Fetch — single HTTP request). */
17025
17032
  chat(variables, builder) {
17026
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Insight_ChatDocument, "chat", ["id"]);
17033
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ChatDocument, "chat", ["id"]);
17027
17034
  let children;
17028
17035
  if (builder) {
17029
17036
  const sub = new ChatSubBuilder();
@@ -17032,7 +17039,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17032
17039
  }
17033
17040
  this._includes.push({
17034
17041
  fieldName: "chat",
17035
- fragmentDoc: chunk5IUEWNZ6_cjs.ChatFragmentDoc,
17042
+ fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
17036
17043
  variables,
17037
17044
  isConnection: false,
17038
17045
  isList: false,
@@ -17049,10 +17056,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17049
17056
  }
17050
17057
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
17051
17058
  reportMembers(variables) {
17052
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
17059
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
17053
17060
  this._includes.push({
17054
17061
  fieldName: "reportMembers",
17055
- fragmentDoc: chunk5IUEWNZ6_cjs.ReportMemberFragmentDoc,
17062
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
17056
17063
  variables,
17057
17064
  isConnection: false,
17058
17065
  isList: true,
@@ -17068,7 +17075,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17068
17075
  }
17069
17076
  /** Include reports in this query (Smart Fetch — single HTTP request). */
17070
17077
  reports(variables, builder) {
17071
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Insight_ReportsDocument, "reports", ["id"]);
17078
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportsDocument, "reports", ["id"]);
17072
17079
  let children;
17073
17080
  if (builder) {
17074
17081
  const sub = new ReportSubBuilder();
@@ -17077,7 +17084,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17077
17084
  }
17078
17085
  this._includes.push({
17079
17086
  fieldName: "reports",
17080
- fragmentDoc: chunk5IUEWNZ6_cjs.ReportConnectionFragmentDoc,
17087
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportConnectionFragmentDoc,
17081
17088
  variables,
17082
17089
  isConnection: true,
17083
17090
  isList: false,
@@ -17095,10 +17102,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17095
17102
  }
17096
17103
  /** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
17097
17104
  thumbnailFile(variables) {
17098
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
17105
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
17099
17106
  this._includes.push({
17100
17107
  fieldName: "thumbnailFile",
17101
- fragmentDoc: chunk5IUEWNZ6_cjs.FileFragmentDoc,
17108
+ fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
17102
17109
  variables,
17103
17110
  isConnection: false,
17104
17111
  isList: false,
@@ -17122,7 +17129,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
17122
17129
  }
17123
17130
  async fetch(options) {
17124
17131
  const variables = this._variables;
17125
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.IntegrationDocument, "integration", this._includes, variables);
17132
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationDocument, "integration", this._includes, variables);
17126
17133
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
17127
17134
  const data = response.integration;
17128
17135
  const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
@@ -17134,7 +17141,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
17134
17141
  watch(options) {
17135
17142
  const variables = this._variables;
17136
17143
  const includes = this._includes;
17137
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.IntegrationDocument, "integration", includes, variables);
17144
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationDocument, "integration", includes, variables);
17138
17145
  const raw = this._syncEngine.watch(
17139
17146
  queryDoc,
17140
17147
  mergedVars,
@@ -17164,10 +17171,10 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
17164
17171
  }
17165
17172
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17166
17173
  provider(variables) {
17167
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Integration_ProviderDocument, "provider", ["id"]);
17174
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Integration_ProviderDocument, "provider", ["id"]);
17168
17175
  this._includes.push({
17169
17176
  fieldName: "provider",
17170
- fragmentDoc: chunk5IUEWNZ6_cjs.IntegrationProviderFragmentDoc,
17177
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17171
17178
  variables,
17172
17179
  isConnection: false,
17173
17180
  isList: false,
@@ -17190,14 +17197,14 @@ var Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
17190
17197
  }
17191
17198
  async fetch(options) {
17192
17199
  const variables = this._variables;
17193
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Integration_ProviderDocument, variables, "integration");
17200
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Integration_ProviderDocument, variables, "integration");
17194
17201
  const data = response.integration?.provider;
17195
17202
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17196
17203
  }
17197
17204
  watch(options) {
17198
17205
  const variables = this._variables;
17199
17206
  const raw = this._syncEngine.watch(
17200
- chunk5IUEWNZ6_cjs.Integration_ProviderDocument,
17207
+ chunkGL6CUR7S_cjs.Integration_ProviderDocument,
17201
17208
  variables,
17202
17209
  "integration",
17203
17210
  async (db) => {
@@ -17220,14 +17227,14 @@ var Integration_Provider_CatalogQuery = class extends chunk342BFYZZ_cjs.Request
17220
17227
  }
17221
17228
  async fetch(options) {
17222
17229
  const variables = this._variables;
17223
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Integration_Provider_CatalogDocument, variables, "integration");
17230
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Integration_Provider_CatalogDocument, variables, "integration");
17224
17231
  const data = response.integration?.provider?.catalog;
17225
17232
  return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17226
17233
  }
17227
17234
  watch(options) {
17228
17235
  const variables = this._variables;
17229
17236
  const raw = this._syncEngine.watch(
17230
- chunk5IUEWNZ6_cjs.Integration_Provider_CatalogDocument,
17237
+ chunkGL6CUR7S_cjs.Integration_Provider_CatalogDocument,
17231
17238
  variables,
17232
17239
  "integration",
17233
17240
  async (db) => {
@@ -17251,7 +17258,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
17251
17258
  }
17252
17259
  async fetch(options) {
17253
17260
  const variables = this._variables;
17254
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
17261
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
17255
17262
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
17256
17263
  const data = response.integrationCatalog;
17257
17264
  const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -17263,7 +17270,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
17263
17270
  watch(options) {
17264
17271
  const variables = this._variables;
17265
17272
  const includes = this._includes;
17266
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
17273
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
17267
17274
  const raw = this._syncEngine.watch(
17268
17275
  queryDoc,
17269
17276
  mergedVars,
@@ -17293,10 +17300,10 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
17293
17300
  }
17294
17301
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17295
17302
  provider(variables) {
17296
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17303
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17297
17304
  this._includes.push({
17298
17305
  fieldName: "provider",
17299
- fragmentDoc: chunk5IUEWNZ6_cjs.IntegrationProviderFragmentDoc,
17306
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17300
17307
  variables,
17301
17308
  isConnection: false,
17302
17309
  isList: false,
@@ -17319,14 +17326,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
17319
17326
  }
17320
17327
  async fetch(options) {
17321
17328
  const variables = this._variables;
17322
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
17329
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
17323
17330
  const data = response.integrationCatalog?.provider;
17324
17331
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17325
17332
  }
17326
17333
  watch(options) {
17327
17334
  const variables = this._variables;
17328
17335
  const raw = this._syncEngine.watch(
17329
- chunk5IUEWNZ6_cjs.IntegrationCatalog_ProviderDocument,
17336
+ chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument,
17330
17337
  variables,
17331
17338
  "integrationCatalog",
17332
17339
  async (db) => {
@@ -17343,7 +17350,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
17343
17350
  };
17344
17351
  var IntegrationCatalogToolsQuery = class extends chunk342BFYZZ_cjs.Request {
17345
17352
  async fetch(variables) {
17346
- const response = await this._request(chunk5IUEWNZ6_cjs.IntegrationCatalogToolsDocument, variables);
17353
+ const response = await this._request(chunkGL6CUR7S_cjs.IntegrationCatalogToolsDocument, variables);
17347
17354
  return response.integrationCatalogTools;
17348
17355
  }
17349
17356
  };
@@ -17356,7 +17363,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
17356
17363
  }
17357
17364
  async fetch(options) {
17358
17365
  const variables = this._variables;
17359
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
17366
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
17360
17367
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
17361
17368
  const data = response.integrationCatalogs;
17362
17369
  const connection = new IntegrationCatalogConnection(this._request, (conn, opts) => new _IntegrationCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17373,7 +17380,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
17373
17380
  const subscriptionId = crypto.randomUUID();
17374
17381
  const includes = this._includes;
17375
17382
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17376
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
17383
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
17377
17384
  const raw = this._syncEngine.watch(
17378
17385
  queryDoc,
17379
17386
  mergedVars,
@@ -17408,10 +17415,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
17408
17415
  }
17409
17416
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17410
17417
  provider(variables) {
17411
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17418
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17412
17419
  this._includes.push({
17413
17420
  fieldName: "provider",
17414
- fragmentDoc: chunk5IUEWNZ6_cjs.IntegrationProviderFragmentDoc,
17421
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17415
17422
  variables,
17416
17423
  isConnection: false,
17417
17424
  isList: false,
@@ -17435,7 +17442,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
17435
17442
  }
17436
17443
  async fetch(options) {
17437
17444
  const variables = this._variables;
17438
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
17445
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
17439
17446
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
17440
17447
  const data = response.integrations;
17441
17448
  const connection = new IntegrationConnection(this._request, (conn, opts) => new _IntegrationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17452,7 +17459,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
17452
17459
  const subscriptionId = crypto.randomUUID();
17453
17460
  const includes = this._includes;
17454
17461
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17455
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.IntegrationsDocument, "integrations", includes, variables, true);
17462
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationsDocument, "integrations", includes, variables, true);
17456
17463
  const raw = this._syncEngine.watch(
17457
17464
  queryDoc,
17458
17465
  mergedVars,
@@ -17487,10 +17494,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
17487
17494
  }
17488
17495
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17489
17496
  provider(variables) {
17490
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Integration_ProviderDocument, "provider", ["id"]);
17497
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Integration_ProviderDocument, "provider", ["id"]);
17491
17498
  this._includes.push({
17492
17499
  fieldName: "provider",
17493
- fragmentDoc: chunk5IUEWNZ6_cjs.IntegrationProviderFragmentDoc,
17500
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17494
17501
  variables,
17495
17502
  isConnection: false,
17496
17503
  isList: false,
@@ -17514,7 +17521,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
17514
17521
  }
17515
17522
  async fetch(options) {
17516
17523
  const variables = this._variables;
17517
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
17524
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
17518
17525
  const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
17519
17526
  const data = response.interpretations;
17520
17527
  const connection = new InterpretationConnection(this._request, (conn, opts) => new _InterpretationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17531,7 +17538,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
17531
17538
  const subscriptionId = crypto.randomUUID();
17532
17539
  const includes = this._includes;
17533
17540
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17534
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
17541
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
17535
17542
  const raw = this._syncEngine.watch(
17536
17543
  queryDoc,
17537
17544
  mergedVars,
@@ -17574,7 +17581,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
17574
17581
  }
17575
17582
  async fetch(options) {
17576
17583
  const variables = this._variables;
17577
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.NotificationDocument, "notification", this._includes, variables);
17584
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationDocument, "notification", this._includes, variables);
17578
17585
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
17579
17586
  const data = response.notification;
17580
17587
  const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
@@ -17586,7 +17593,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
17586
17593
  watch(options) {
17587
17594
  const variables = this._variables;
17588
17595
  const includes = this._includes;
17589
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.NotificationDocument, "notification", includes, variables);
17596
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationDocument, "notification", includes, variables);
17590
17597
  const raw = this._syncEngine.watch(
17591
17598
  queryDoc,
17592
17599
  mergedVars,
@@ -17624,7 +17631,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
17624
17631
  }
17625
17632
  async fetch(options) {
17626
17633
  const variables = this._variables;
17627
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
17634
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
17628
17635
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
17629
17636
  const data = response.notifications;
17630
17637
  const connection = new NotificationConnection(this._request, (conn, opts) => new _NotificationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17641,7 +17648,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
17641
17648
  const subscriptionId = crypto.randomUUID();
17642
17649
  const includes = this._includes;
17643
17650
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17644
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.NotificationsDocument, "notifications", includes, variables, true);
17651
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationsDocument, "notifications", includes, variables, true);
17645
17652
  const raw = this._syncEngine.watch(
17646
17653
  queryDoc,
17647
17654
  mergedVars,
@@ -17683,7 +17690,7 @@ var NotificationsByReferenceQuery = class extends chunk342BFYZZ_cjs.Request {
17683
17690
  this._variables = variables;
17684
17691
  }
17685
17692
  async fetch(options) {
17686
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
17693
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
17687
17694
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
17688
17695
  const data = response.notificationsByReference;
17689
17696
  if (!Array.isArray(data)) return [];
@@ -17699,7 +17706,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
17699
17706
  }
17700
17707
  async fetch(options) {
17701
17708
  const variables = this._variables;
17702
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
17709
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
17703
17710
  const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
17704
17711
  const data = response.privacyStats;
17705
17712
  const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
@@ -17711,7 +17718,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
17711
17718
  watch(options) {
17712
17719
  const variables = this._variables;
17713
17720
  const includes = this._includes;
17714
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
17721
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
17715
17722
  const raw = this._syncEngine.watch(
17716
17723
  queryDoc,
17717
17724
  mergedVars,
@@ -17749,7 +17756,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
17749
17756
  }
17750
17757
  async fetch(options) {
17751
17758
  const variables = this._variables;
17752
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
17759
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
17753
17760
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
17754
17761
  const data = response.pulseAppSummary;
17755
17762
  if (!data) return void 0;
@@ -17762,7 +17769,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
17762
17769
  watch(options) {
17763
17770
  const variables = this._variables;
17764
17771
  const includes = this._includes;
17765
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
17772
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
17766
17773
  const raw = this._syncEngine.watch(
17767
17774
  queryDoc,
17768
17775
  mergedVars,
@@ -17801,7 +17808,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17801
17808
  }
17802
17809
  async fetch(options) {
17803
17810
  const variables = this._variables;
17804
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
17811
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
17805
17812
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
17806
17813
  const data = response.pulseEvent;
17807
17814
  const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
@@ -17813,7 +17820,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17813
17820
  watch(options) {
17814
17821
  const variables = this._variables;
17815
17822
  const includes = this._includes;
17816
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.PulseEventDocument, "pulseEvent", includes, variables);
17823
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventDocument, "pulseEvent", includes, variables);
17817
17824
  const raw = this._syncEngine.watch(
17818
17825
  queryDoc,
17819
17826
  mergedVars,
@@ -17843,7 +17850,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17843
17850
  }
17844
17851
  /** Include integration in this query (Smart Fetch — single HTTP request). */
17845
17852
  integration(variables, builder) {
17846
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17853
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17847
17854
  let children;
17848
17855
  if (builder) {
17849
17856
  const sub = new IntegrationSubBuilder();
@@ -17852,7 +17859,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17852
17859
  }
17853
17860
  this._includes.push({
17854
17861
  fieldName: "integration",
17855
- fragmentDoc: chunk5IUEWNZ6_cjs.IntegrationFragmentDoc,
17862
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationFragmentDoc,
17856
17863
  variables,
17857
17864
  isConnection: false,
17858
17865
  isList: false,
@@ -17876,14 +17883,14 @@ var PulseEvent_IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
17876
17883
  }
17877
17884
  async fetch(options) {
17878
17885
  const variables = this._variables;
17879
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
17886
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
17880
17887
  const data = response.pulseEvent?.integration;
17881
17888
  return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17882
17889
  }
17883
17890
  watch(options) {
17884
17891
  const variables = this._variables;
17885
17892
  const raw = this._syncEngine.watch(
17886
- chunk5IUEWNZ6_cjs.PulseEvent_IntegrationDocument,
17893
+ chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument,
17887
17894
  variables,
17888
17895
  "pulseEvent",
17889
17896
  async (db) => {
@@ -17906,14 +17913,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Reque
17906
17913
  }
17907
17914
  async fetch(options) {
17908
17915
  const variables = this._variables;
17909
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
17916
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
17910
17917
  const data = response.pulseEvent?.integration?.provider;
17911
17918
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17912
17919
  }
17913
17920
  watch(options) {
17914
17921
  const variables = this._variables;
17915
17922
  const raw = this._syncEngine.watch(
17916
- chunk5IUEWNZ6_cjs.PulseEvent_Integration_ProviderDocument,
17923
+ chunkGL6CUR7S_cjs.PulseEvent_Integration_ProviderDocument,
17917
17924
  variables,
17918
17925
  "pulseEvent",
17919
17926
  async (db) => {
@@ -17937,7 +17944,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
17937
17944
  }
17938
17945
  async fetch(options) {
17939
17946
  const variables = this._variables;
17940
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
17947
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
17941
17948
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
17942
17949
  const data = response.pulseEvents;
17943
17950
  const connection = new PulseEventConnection(this._request, (conn, opts) => new _PulseEventsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17954,7 +17961,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
17954
17961
  const subscriptionId = crypto.randomUUID();
17955
17962
  const includes = this._includes;
17956
17963
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17957
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
17964
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
17958
17965
  const raw = this._syncEngine.watch(
17959
17966
  queryDoc,
17960
17967
  mergedVars,
@@ -17989,7 +17996,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
17989
17996
  }
17990
17997
  /** Include integration in this query (Smart Fetch — single HTTP request). */
17991
17998
  integration(variables, builder) {
17992
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17999
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17993
18000
  let children;
17994
18001
  if (builder) {
17995
18002
  const sub = new IntegrationSubBuilder();
@@ -17998,7 +18005,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
17998
18005
  }
17999
18006
  this._includes.push({
18000
18007
  fieldName: "integration",
18001
- fragmentDoc: chunk5IUEWNZ6_cjs.IntegrationFragmentDoc,
18008
+ fragmentDoc: chunkGL6CUR7S_cjs.IntegrationFragmentDoc,
18002
18009
  variables,
18003
18010
  isConnection: false,
18004
18011
  isList: false,
@@ -18022,7 +18029,7 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
18022
18029
  this._variables = variables;
18023
18030
  }
18024
18031
  async fetch(options) {
18025
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
18032
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
18026
18033
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
18027
18034
  const data = response.pulseTriggerSettings;
18028
18035
  if (!Array.isArray(data)) return [];
@@ -18031,19 +18038,19 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
18031
18038
  };
18032
18039
  var QueryQuery = class extends chunk342BFYZZ_cjs.Request {
18033
18040
  async fetch(variables) {
18034
- const response = await this._request(chunk5IUEWNZ6_cjs.QueryDocument, variables);
18041
+ const response = await this._request(chunkGL6CUR7S_cjs.QueryDocument, variables);
18035
18042
  return response.query;
18036
18043
  }
18037
18044
  };
18038
18045
  var QueryWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
18039
18046
  async fetch(variables) {
18040
- const response = await this._request(chunk5IUEWNZ6_cjs.QueryWithInsightIdDocument, variables);
18047
+ const response = await this._request(chunkGL6CUR7S_cjs.QueryWithInsightIdDocument, variables);
18041
18048
  return response.queryWithInsightId;
18042
18049
  }
18043
18050
  };
18044
18051
  var QueryWithMessageIdQuery = class extends chunk342BFYZZ_cjs.Request {
18045
18052
  async fetch(variables) {
18046
- const response = await this._request(chunk5IUEWNZ6_cjs.QueryWithMessageIdDocument, variables);
18053
+ const response = await this._request(chunkGL6CUR7S_cjs.QueryWithMessageIdDocument, variables);
18047
18054
  return response.queryWithMessageId;
18048
18055
  }
18049
18056
  };
@@ -18056,7 +18063,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
18056
18063
  }
18057
18064
  async fetch(options) {
18058
18065
  const variables = this._variables;
18059
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ReportDocument, "report", this._includes, variables);
18066
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportDocument, "report", this._includes, variables);
18060
18067
  const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
18061
18068
  const data = response.report;
18062
18069
  const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
@@ -18068,7 +18075,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
18068
18075
  watch(options) {
18069
18076
  const variables = this._variables;
18070
18077
  const includes = this._includes;
18071
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ReportDocument, "report", includes, variables);
18078
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportDocument, "report", includes, variables);
18072
18079
  const raw = this._syncEngine.watch(
18073
18080
  queryDoc,
18074
18081
  mergedVars,
@@ -18098,7 +18105,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
18098
18105
  }
18099
18106
  /** Include insights in this query (Smart Fetch — single HTTP request). */
18100
18107
  insights(variables, builder) {
18101
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Report_InsightsDocument, "insights", ["id"]);
18108
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_InsightsDocument, "insights", ["id"]);
18102
18109
  let children;
18103
18110
  if (builder) {
18104
18111
  const sub = new InsightSubBuilder();
@@ -18107,7 +18114,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
18107
18114
  }
18108
18115
  this._includes.push({
18109
18116
  fieldName: "insights",
18110
- fragmentDoc: chunk5IUEWNZ6_cjs.InsightConnectionFragmentDoc,
18117
+ fragmentDoc: chunkGL6CUR7S_cjs.InsightConnectionFragmentDoc,
18111
18118
  variables,
18112
18119
  isConnection: true,
18113
18120
  isList: false,
@@ -18125,10 +18132,10 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
18125
18132
  }
18126
18133
  /** Include layout in this query (Smart Fetch — single HTTP request). */
18127
18134
  layout(variables) {
18128
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Report_LayoutDocument, "layout", ["id"]);
18135
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_LayoutDocument, "layout", ["id"]);
18129
18136
  this._includes.push({
18130
18137
  fieldName: "layout",
18131
- fragmentDoc: chunk5IUEWNZ6_cjs.ReportMemberFragmentDoc,
18138
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
18132
18139
  variables,
18133
18140
  isConnection: false,
18134
18141
  isList: true,
@@ -18151,18 +18158,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk342BFYZZ_cjs
18151
18158
  }
18152
18159
  async fetch(options) {
18153
18160
  const variables = this._variables;
18154
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Report_InsightsDocument, variables, "report");
18161
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Report_InsightsDocument, variables, "report");
18155
18162
  const data = response.report?.insights;
18156
18163
  return new InsightConnection(this._request, (conn, opts) => new _Report_InsightsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
18157
18164
  }
18158
18165
  watch(options) {
18159
18166
  const variables = this._variables;
18160
18167
  const raw = this._syncEngine.watch(
18161
- chunk5IUEWNZ6_cjs.Report_InsightsDocument,
18168
+ chunkGL6CUR7S_cjs.Report_InsightsDocument,
18162
18169
  variables,
18163
18170
  "report",
18164
18171
  async (db) => {
18165
- const qr = await db._queryResults.get(buildQueryKey("report", variables, chunk5IUEWNZ6_cjs.Report_InsightsDocument));
18172
+ const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkGL6CUR7S_cjs.Report_InsightsDocument));
18166
18173
  const nodes = qr ? await db.table("insights").bulkGet(qr.entityIds) : [];
18167
18174
  return { report: { insights: { __typename: "InsightConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
18168
18175
  }
@@ -18180,7 +18187,7 @@ var Report_LayoutQuery = class extends chunk342BFYZZ_cjs.Request {
18180
18187
  this._variables = variables;
18181
18188
  }
18182
18189
  async fetch(options) {
18183
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Report_LayoutDocument, this._variables, "report");
18190
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Report_LayoutDocument, this._variables, "report");
18184
18191
  const data = response.report?.layout;
18185
18192
  if (!Array.isArray(data)) return [];
18186
18193
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -18195,7 +18202,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18195
18202
  }
18196
18203
  async fetch(options) {
18197
18204
  const variables = this._variables;
18198
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ReportsDocument, "reports", this._includes, variables, true);
18205
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportsDocument, "reports", this._includes, variables, true);
18199
18206
  const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
18200
18207
  const data = response.reports;
18201
18208
  const connection = new ReportConnection(this._request, (conn, opts) => new _ReportsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -18212,7 +18219,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18212
18219
  const subscriptionId = crypto.randomUUID();
18213
18220
  const includes = this._includes;
18214
18221
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
18215
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.ReportsDocument, "reports", includes, variables, true);
18222
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportsDocument, "reports", includes, variables, true);
18216
18223
  const raw = this._syncEngine.watch(
18217
18224
  queryDoc,
18218
18225
  mergedVars,
@@ -18247,7 +18254,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18247
18254
  }
18248
18255
  /** Include insights in this query (Smart Fetch — single HTTP request). */
18249
18256
  insights(variables, builder) {
18250
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Report_InsightsDocument, "insights", ["id"]);
18257
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_InsightsDocument, "insights", ["id"]);
18251
18258
  let children;
18252
18259
  if (builder) {
18253
18260
  const sub = new InsightSubBuilder();
@@ -18256,7 +18263,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18256
18263
  }
18257
18264
  this._includes.push({
18258
18265
  fieldName: "insights",
18259
- fragmentDoc: chunk5IUEWNZ6_cjs.InsightConnectionFragmentDoc,
18266
+ fragmentDoc: chunkGL6CUR7S_cjs.InsightConnectionFragmentDoc,
18260
18267
  variables,
18261
18268
  isConnection: true,
18262
18269
  isList: false,
@@ -18274,10 +18281,10 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18274
18281
  }
18275
18282
  /** Include layout in this query (Smart Fetch — single HTTP request). */
18276
18283
  layout(variables) {
18277
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Report_LayoutDocument, "layout", ["id"]);
18284
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_LayoutDocument, "layout", ["id"]);
18278
18285
  this._includes.push({
18279
18286
  fieldName: "layout",
18280
- fragmentDoc: chunk5IUEWNZ6_cjs.ReportMemberFragmentDoc,
18287
+ fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
18281
18288
  variables,
18282
18289
  isConnection: false,
18283
18290
  isList: true,
@@ -18300,7 +18307,7 @@ var SearchQuery = class extends chunk342BFYZZ_cjs.Request {
18300
18307
  this._variables = variables;
18301
18308
  }
18302
18309
  async fetch(options) {
18303
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.SearchDocument, "search", this._includes, this._variables);
18310
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.SearchDocument, "search", this._includes, this._variables);
18304
18311
  const response = await this._syncEngine.query(queryDoc, mergedVars, "search");
18305
18312
  const data = response.search;
18306
18313
  if (!Array.isArray(data)) return [];
@@ -18316,7 +18323,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18316
18323
  }
18317
18324
  async fetch(options) {
18318
18325
  const variables = this._variables;
18319
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.TableDocument, "table", this._includes, variables);
18326
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TableDocument, "table", this._includes, variables);
18320
18327
  const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
18321
18328
  const data = response.table;
18322
18329
  const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
@@ -18328,7 +18335,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18328
18335
  watch(options) {
18329
18336
  const variables = this._variables;
18330
18337
  const includes = this._includes;
18331
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.TableDocument, "table", includes, variables);
18338
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TableDocument, "table", includes, variables);
18332
18339
  const raw = this._syncEngine.watch(
18333
18340
  queryDoc,
18334
18341
  mergedVars,
@@ -18358,7 +18365,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18358
18365
  }
18359
18366
  /** Include database in this query (Smart Fetch — single HTTP request). */
18360
18367
  database(variables, builder) {
18361
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Table_DatabaseDocument, "database", ["id"]);
18368
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DatabaseDocument, "database", ["id"]);
18362
18369
  let children;
18363
18370
  if (builder) {
18364
18371
  const sub = new DatabaseSubBuilder();
@@ -18367,7 +18374,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18367
18374
  }
18368
18375
  this._includes.push({
18369
18376
  fieldName: "database",
18370
- fragmentDoc: chunk5IUEWNZ6_cjs.DatabaseFragmentDoc,
18377
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseFragmentDoc,
18371
18378
  variables,
18372
18379
  isConnection: false,
18373
18380
  isList: false,
@@ -18384,7 +18391,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18384
18391
  }
18385
18392
  /** Include document in this query (Smart Fetch — single HTTP request). */
18386
18393
  document(variables, builder) {
18387
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Table_DocumentDocument, "document", ["id"]);
18394
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DocumentDocument, "document", ["id"]);
18388
18395
  let children;
18389
18396
  if (builder) {
18390
18397
  const sub = new DocumentSubBuilder();
@@ -18393,7 +18400,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18393
18400
  }
18394
18401
  this._includes.push({
18395
18402
  fieldName: "document",
18396
- fragmentDoc: chunk5IUEWNZ6_cjs.DocumentFragmentDoc,
18403
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFragmentDoc,
18397
18404
  variables,
18398
18405
  isConnection: false,
18399
18406
  isList: false,
@@ -18410,10 +18417,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18410
18417
  }
18411
18418
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
18412
18419
  fromRelations(variables) {
18413
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18420
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18414
18421
  this._includes.push({
18415
18422
  fieldName: "fromRelations",
18416
- fragmentDoc: chunk5IUEWNZ6_cjs.RelationFragmentDoc,
18423
+ fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18417
18424
  variables,
18418
18425
  isConnection: false,
18419
18426
  isList: true,
@@ -18429,10 +18436,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18429
18436
  }
18430
18437
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
18431
18438
  toRelations(variables) {
18432
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18439
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18433
18440
  this._includes.push({
18434
18441
  fieldName: "toRelations",
18435
- fragmentDoc: chunk5IUEWNZ6_cjs.RelationFragmentDoc,
18442
+ fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18436
18443
  variables,
18437
18444
  isConnection: false,
18438
18445
  isList: true,
@@ -18455,14 +18462,14 @@ var Table_DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
18455
18462
  }
18456
18463
  async fetch(options) {
18457
18464
  const variables = this._variables;
18458
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Table_DatabaseDocument, variables, "table");
18465
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_DatabaseDocument, variables, "table");
18459
18466
  const data = response.table?.database;
18460
18467
  return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18461
18468
  }
18462
18469
  watch(options) {
18463
18470
  const variables = this._variables;
18464
18471
  const raw = this._syncEngine.watch(
18465
- chunk5IUEWNZ6_cjs.Table_DatabaseDocument,
18472
+ chunkGL6CUR7S_cjs.Table_DatabaseDocument,
18466
18473
  variables,
18467
18474
  "table",
18468
18475
  async (db) => {
@@ -18485,14 +18492,14 @@ var Table_Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
18485
18492
  }
18486
18493
  async fetch(options) {
18487
18494
  const variables = this._variables;
18488
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Table_Database_EngineDocument, variables, "table");
18495
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Database_EngineDocument, variables, "table");
18489
18496
  const data = response.table?.database?.engine;
18490
18497
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18491
18498
  }
18492
18499
  watch(options) {
18493
18500
  const variables = this._variables;
18494
18501
  const raw = this._syncEngine.watch(
18495
- chunk5IUEWNZ6_cjs.Table_Database_EngineDocument,
18502
+ chunkGL6CUR7S_cjs.Table_Database_EngineDocument,
18496
18503
  variables,
18497
18504
  "table",
18498
18505
  async (db) => {
@@ -18515,14 +18522,14 @@ var Table_DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
18515
18522
  }
18516
18523
  async fetch(options) {
18517
18524
  const variables = this._variables;
18518
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Table_DocumentDocument, variables, "table");
18525
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_DocumentDocument, variables, "table");
18519
18526
  const data = response.table?.document;
18520
18527
  return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18521
18528
  }
18522
18529
  watch(options) {
18523
18530
  const variables = this._variables;
18524
18531
  const raw = this._syncEngine.watch(
18525
- chunk5IUEWNZ6_cjs.Table_DocumentDocument,
18532
+ chunkGL6CUR7S_cjs.Table_DocumentDocument,
18526
18533
  variables,
18527
18534
  "table",
18528
18535
  async (db) => {
@@ -18544,7 +18551,7 @@ var Table_Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
18544
18551
  this._variables = variables;
18545
18552
  }
18546
18553
  async fetch(options) {
18547
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Table_Document_ContentsDocument, this._variables, "table");
18554
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Document_ContentsDocument, this._variables, "table");
18548
18555
  const data = response.table?.document?.contents;
18549
18556
  if (!Array.isArray(data)) return [];
18550
18557
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -18558,14 +18565,14 @@ var Table_Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
18558
18565
  }
18559
18566
  async fetch(options) {
18560
18567
  const variables = this._variables;
18561
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Table_Document_FileDocument, variables, "table");
18568
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Document_FileDocument, variables, "table");
18562
18569
  const data = response.table?.document?.file;
18563
18570
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18564
18571
  }
18565
18572
  watch(options) {
18566
18573
  const variables = this._variables;
18567
18574
  const raw = this._syncEngine.watch(
18568
- chunk5IUEWNZ6_cjs.Table_Document_FileDocument,
18575
+ chunkGL6CUR7S_cjs.Table_Document_FileDocument,
18569
18576
  variables,
18570
18577
  "table",
18571
18578
  async (db) => {
@@ -18588,14 +18595,14 @@ var Table_Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
18588
18595
  }
18589
18596
  async fetch(options) {
18590
18597
  const variables = this._variables;
18591
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Table_Document_FormatDocument, variables, "table");
18598
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Document_FormatDocument, variables, "table");
18592
18599
  const data = response.table?.document?.format;
18593
18600
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18594
18601
  }
18595
18602
  watch(options) {
18596
18603
  const variables = this._variables;
18597
18604
  const raw = this._syncEngine.watch(
18598
- chunk5IUEWNZ6_cjs.Table_Document_FormatDocument,
18605
+ chunkGL6CUR7S_cjs.Table_Document_FormatDocument,
18599
18606
  variables,
18600
18607
  "table",
18601
18608
  async (db) => {
@@ -18617,7 +18624,7 @@ var Table_FromRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
18617
18624
  this._variables = variables;
18618
18625
  }
18619
18626
  async fetch(options) {
18620
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Table_FromRelationsDocument, this._variables, "table");
18627
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, this._variables, "table");
18621
18628
  const data = response.table?.fromRelations;
18622
18629
  if (!Array.isArray(data)) return [];
18623
18630
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -18630,7 +18637,7 @@ var Table_ToRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
18630
18637
  this._variables = variables;
18631
18638
  }
18632
18639
  async fetch(options) {
18633
- const response = await this._syncEngine.query(chunk5IUEWNZ6_cjs.Table_ToRelationsDocument, this._variables, "table");
18640
+ const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, this._variables, "table");
18634
18641
  const data = response.table?.toRelations;
18635
18642
  if (!Array.isArray(data)) return [];
18636
18643
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -18645,7 +18652,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18645
18652
  }
18646
18653
  async fetch(options) {
18647
18654
  const variables = this._variables;
18648
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.TablesDocument, "tables", this._includes, variables, true);
18655
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TablesDocument, "tables", this._includes, variables, true);
18649
18656
  const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
18650
18657
  const data = response.tables;
18651
18658
  const connection = new TableConnection(this._request, (conn, opts) => new _TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -18662,7 +18669,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18662
18669
  const subscriptionId = crypto.randomUUID();
18663
18670
  const includes = this._includes;
18664
18671
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
18665
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.TablesDocument, "tables", includes, variables, true);
18672
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TablesDocument, "tables", includes, variables, true);
18666
18673
  const raw = this._syncEngine.watch(
18667
18674
  queryDoc,
18668
18675
  mergedVars,
@@ -18697,7 +18704,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18697
18704
  }
18698
18705
  /** Include database in this query (Smart Fetch — single HTTP request). */
18699
18706
  database(variables, builder) {
18700
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Table_DatabaseDocument, "database", ["id"]);
18707
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DatabaseDocument, "database", ["id"]);
18701
18708
  let children;
18702
18709
  if (builder) {
18703
18710
  const sub = new DatabaseSubBuilder();
@@ -18706,7 +18713,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18706
18713
  }
18707
18714
  this._includes.push({
18708
18715
  fieldName: "database",
18709
- fragmentDoc: chunk5IUEWNZ6_cjs.DatabaseFragmentDoc,
18716
+ fragmentDoc: chunkGL6CUR7S_cjs.DatabaseFragmentDoc,
18710
18717
  variables,
18711
18718
  isConnection: false,
18712
18719
  isList: false,
@@ -18723,7 +18730,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18723
18730
  }
18724
18731
  /** Include document in this query (Smart Fetch — single HTTP request). */
18725
18732
  document(variables, builder) {
18726
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Table_DocumentDocument, "document", ["id"]);
18733
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DocumentDocument, "document", ["id"]);
18727
18734
  let children;
18728
18735
  if (builder) {
18729
18736
  const sub = new DocumentSubBuilder();
@@ -18732,7 +18739,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18732
18739
  }
18733
18740
  this._includes.push({
18734
18741
  fieldName: "document",
18735
- fragmentDoc: chunk5IUEWNZ6_cjs.DocumentFragmentDoc,
18742
+ fragmentDoc: chunkGL6CUR7S_cjs.DocumentFragmentDoc,
18736
18743
  variables,
18737
18744
  isConnection: false,
18738
18745
  isList: false,
@@ -18749,10 +18756,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18749
18756
  }
18750
18757
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
18751
18758
  fromRelations(variables) {
18752
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18759
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18753
18760
  this._includes.push({
18754
18761
  fieldName: "fromRelations",
18755
- fragmentDoc: chunk5IUEWNZ6_cjs.RelationFragmentDoc,
18762
+ fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18756
18763
  variables,
18757
18764
  isConnection: false,
18758
18765
  isList: true,
@@ -18768,10 +18775,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18768
18775
  }
18769
18776
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
18770
18777
  toRelations(variables) {
18771
- const info = extractIncludeInfo(chunk5IUEWNZ6_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18778
+ const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18772
18779
  this._includes.push({
18773
18780
  fieldName: "toRelations",
18774
- fragmentDoc: chunk5IUEWNZ6_cjs.RelationFragmentDoc,
18781
+ fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18775
18782
  variables,
18776
18783
  isConnection: false,
18777
18784
  isList: true,
@@ -18795,7 +18802,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
18795
18802
  }
18796
18803
  async fetch(options) {
18797
18804
  const variables = this._variables;
18798
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
18805
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
18799
18806
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
18800
18807
  const data = response.userSkillFile;
18801
18808
  const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -18807,7 +18814,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
18807
18814
  watch(options) {
18808
18815
  const variables = this._variables;
18809
18816
  const includes = this._includes;
18810
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
18817
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
18811
18818
  const raw = this._syncEngine.watch(
18812
18819
  queryDoc,
18813
18820
  mergedVars,
@@ -18844,7 +18851,7 @@ var UserSkillFilesQuery = class extends chunk342BFYZZ_cjs.Request {
18844
18851
  this._variables = variables;
18845
18852
  }
18846
18853
  async fetch(options) {
18847
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
18854
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
18848
18855
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
18849
18856
  const data = response.userSkillFiles;
18850
18857
  if (!Array.isArray(data)) return [];
@@ -18860,7 +18867,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
18860
18867
  }
18861
18868
  async fetch(options) {
18862
18869
  const variables = this._variables;
18863
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
18870
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
18864
18871
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
18865
18872
  const data = response.userSkillFolder;
18866
18873
  const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -18872,7 +18879,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
18872
18879
  watch(options) {
18873
18880
  const variables = this._variables;
18874
18881
  const includes = this._includes;
18875
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
18882
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
18876
18883
  const raw = this._syncEngine.watch(
18877
18884
  queryDoc,
18878
18885
  mergedVars,
@@ -18909,7 +18916,7 @@ var UserSkillFoldersQuery = class extends chunk342BFYZZ_cjs.Request {
18909
18916
  this._variables = variables;
18910
18917
  }
18911
18918
  async fetch(options) {
18912
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
18919
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
18913
18920
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
18914
18921
  const data = response.userSkillFolders;
18915
18922
  if (!Array.isArray(data)) return [];
@@ -18925,7 +18932,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
18925
18932
  }
18926
18933
  async fetch(options) {
18927
18934
  const variables = this._variables;
18928
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
18935
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
18929
18936
  const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
18930
18937
  const data = response.workspaceDeletionSchedule;
18931
18938
  if (!data) return void 0;
@@ -18938,7 +18945,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
18938
18945
  watch(options) {
18939
18946
  const variables = this._variables;
18940
18947
  const includes = this._includes;
18941
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunk5IUEWNZ6_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
18948
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
18942
18949
  const raw = this._syncEngine.watch(
18943
18950
  queryDoc,
18944
18951
  mergedVars,
@@ -18970,7 +18977,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
18970
18977
  };
18971
18978
  var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
18972
18979
  async *subscribe(variables) {
18973
- for await (const response of this._subscribe(chunk5IUEWNZ6_cjs.McpAuthUpdatesDocument, variables)) {
18980
+ for await (const response of this._subscribe(chunkGL6CUR7S_cjs.McpAuthUpdatesDocument, variables)) {
18974
18981
  const data = response.mcpAuthUpdates;
18975
18982
  yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
18976
18983
  }
@@ -18978,12 +18985,12 @@ var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
18978
18985
  };
18979
18986
  var SendMessageStreamSubscription = class extends chunk342BFYZZ_cjs.Request {
18980
18987
  subscribe(variables) {
18981
- return this._subscribe(chunk5IUEWNZ6_cjs.SendMessageStreamDocument, variables);
18988
+ return this._subscribe(chunkGL6CUR7S_cjs.SendMessageStreamDocument, variables);
18982
18989
  }
18983
18990
  };
18984
18991
  var TokenUsageUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
18985
18992
  async *subscribe(variables) {
18986
- for await (const response of this._subscribe(chunk5IUEWNZ6_cjs.TokenUsageUpdatesDocument, variables)) {
18993
+ for await (const response of this._subscribe(chunkGL6CUR7S_cjs.TokenUsageUpdatesDocument, variables)) {
18987
18994
  const data = response.tokenUsageUpdates;
18988
18995
  yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
18989
18996
  }
@@ -19169,6 +19176,10 @@ var DvinaSdk = class extends chunk342BFYZZ_cjs.Request {
19169
19176
  refreshDatabaseSchema(variables) {
19170
19177
  return new RefreshDatabaseSchemaMutation(this._request, this._syncEngine).fetch(variables);
19171
19178
  }
19179
+ /** Mutation: refreshInsight */
19180
+ refreshInsight(variables) {
19181
+ return new RefreshInsightMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
19182
+ }
19172
19183
  /** Mutation: reinterpretSource (scalar) */
19173
19184
  reinterpretSource(variables) {
19174
19185
  return new ReinterpretSourceMutation(this._request, this._syncEngine).fetch(variables);
@@ -19807,6 +19818,7 @@ exports.ReanalyzeDocumentMutation = ReanalyzeDocumentMutation;
19807
19818
  exports.ReasoningEventOutput = ReasoningEventOutput;
19808
19819
  exports.RefineMindInstructionMutation = RefineMindInstructionMutation;
19809
19820
  exports.RefreshDatabaseSchemaMutation = RefreshDatabaseSchemaMutation;
19821
+ exports.RefreshInsightMutation = RefreshInsightMutation;
19810
19822
  exports.ReinterpretSourceMutation = ReinterpretSourceMutation;
19811
19823
  exports.ReinterpretSourcesOfuserMutation = ReinterpretSourcesOfuserMutation;
19812
19824
  exports.Relation = Relation;
@@ -19893,5 +19905,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
19893
19905
  exports.reconstructConnectionNodes = reconstructConnectionNodes;
19894
19906
  exports.reconstructEntity = reconstructEntity;
19895
19907
  exports.uploadFile = uploadFile;
19896
- //# sourceMappingURL=chunk-KH5LMKKK.cjs.map
19897
- //# sourceMappingURL=chunk-KH5LMKKK.cjs.map
19908
+ //# sourceMappingURL=chunk-F6T7Z73Y.cjs.map
19909
+ //# sourceMappingURL=chunk-F6T7Z73Y.cjs.map