@dvina/sdk 4.0.121 → 4.0.126

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ var chunk342BFYZZ_cjs = require('./chunk-342BFYZZ.cjs');
4
4
  var chunkUELAE75E_cjs = require('./chunk-UELAE75E.cjs');
5
5
  var chunkBL3GFOZR_cjs = require('./chunk-BL3GFOZR.cjs');
6
6
  var chunkKV5SP7RP_cjs = require('./chunk-KV5SP7RP.cjs');
7
- var chunkGL6CUR7S_cjs = require('./chunk-GL6CUR7S.cjs');
7
+ var chunkH5WMTA3W_cjs = require('./chunk-H5WMTA3W.cjs');
8
8
  var chunkDZUJEN5N_cjs = require('./chunk-DZUJEN5N.cjs');
9
9
 
10
10
  // ../../node_modules/.pnpm/dexie@4.3.0/node_modules/dexie/dist/dexie.js
@@ -9617,7 +9617,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
9617
9617
  var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
9618
9618
  var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
9619
9619
  async function uploadFile(request, getToken, file, name, options) {
9620
- const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-H4JUEJGN.cjs');
9620
+ const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-2J4XR7QK.cjs');
9621
9621
  const key = `upload_${Date.now()}`;
9622
9622
  const response = await request(
9623
9623
  GenerateUploadUriDocument2,
@@ -12140,7 +12140,7 @@ var AgentSubBuilder = class {
12140
12140
  _includes = [];
12141
12141
  /** Include chats in the parent query. */
12142
12142
  chats(variables, builder) {
12143
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Agent_ChatsDocument, "chats", ["id"]);
12143
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Agent_ChatsDocument, "chats", ["id"]);
12144
12144
  let children;
12145
12145
  if (builder) {
12146
12146
  const sub = new ChatSubBuilder();
@@ -12149,7 +12149,7 @@ var AgentSubBuilder = class {
12149
12149
  }
12150
12150
  this._includes.push({
12151
12151
  fieldName: "chats",
12152
- fragmentDoc: chunkGL6CUR7S_cjs.ChatConnectionFragmentDoc,
12152
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatConnectionFragmentDoc,
12153
12153
  variables,
12154
12154
  isConnection: true,
12155
12155
  isList: false,
@@ -12171,7 +12171,7 @@ var ArtifactSubBuilder = class {
12171
12171
  _includes = [];
12172
12172
  /** Include chat in the parent query. */
12173
12173
  chat(variables, builder) {
12174
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_ChatDocument, "chat", ["id"]);
12174
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_ChatDocument, "chat", ["id"]);
12175
12175
  let children;
12176
12176
  if (builder) {
12177
12177
  const sub = new ChatSubBuilder();
@@ -12180,7 +12180,7 @@ var ArtifactSubBuilder = class {
12180
12180
  }
12181
12181
  this._includes.push({
12182
12182
  fieldName: "chat",
12183
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
12183
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
12184
12184
  variables,
12185
12185
  isConnection: false,
12186
12186
  isList: false,
@@ -12197,10 +12197,10 @@ var ArtifactSubBuilder = class {
12197
12197
  }
12198
12198
  /** Include file in the parent query. */
12199
12199
  file(variables) {
12200
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_FileDocument, "file", ["id"]);
12200
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_FileDocument, "file", ["id"]);
12201
12201
  this._includes.push({
12202
12202
  fieldName: "file",
12203
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
12203
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
12204
12204
  variables,
12205
12205
  isConnection: false,
12206
12206
  isList: false,
@@ -12216,7 +12216,7 @@ var ArtifactSubBuilder = class {
12216
12216
  }
12217
12217
  /** Include message in the parent query. */
12218
12218
  message(variables, builder) {
12219
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_MessageDocument, "message", ["id"]);
12219
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_MessageDocument, "message", ["id"]);
12220
12220
  let children;
12221
12221
  if (builder) {
12222
12222
  const sub = new ChatMessageSubBuilder();
@@ -12225,7 +12225,7 @@ var ArtifactSubBuilder = class {
12225
12225
  }
12226
12226
  this._includes.push({
12227
12227
  fieldName: "message",
12228
- fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageFragmentDoc,
12228
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatMessageFragmentDoc,
12229
12229
  variables,
12230
12230
  isConnection: false,
12231
12231
  isList: false,
@@ -12246,7 +12246,7 @@ var ChatSubBuilder = class {
12246
12246
  _includes = [];
12247
12247
  /** Include agents in the parent query. */
12248
12248
  agents(variables, builder) {
12249
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_AgentsDocument, "agents", ["id"]);
12249
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_AgentsDocument, "agents", ["id"]);
12250
12250
  let children;
12251
12251
  if (builder) {
12252
12252
  const sub = new AgentSubBuilder();
@@ -12255,7 +12255,7 @@ var ChatSubBuilder = class {
12255
12255
  }
12256
12256
  this._includes.push({
12257
12257
  fieldName: "agents",
12258
- fragmentDoc: chunkGL6CUR7S_cjs.AgentConnectionFragmentDoc,
12258
+ fragmentDoc: chunkH5WMTA3W_cjs.AgentConnectionFragmentDoc,
12259
12259
  variables,
12260
12260
  isConnection: true,
12261
12261
  isList: false,
@@ -12273,7 +12273,7 @@ var ChatSubBuilder = class {
12273
12273
  }
12274
12274
  /** Include artifacts in the parent query. */
12275
12275
  artifacts(variables, builder) {
12276
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
12276
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
12277
12277
  let children;
12278
12278
  if (builder) {
12279
12279
  const sub = new ArtifactSubBuilder();
@@ -12282,7 +12282,7 @@ var ChatSubBuilder = class {
12282
12282
  }
12283
12283
  this._includes.push({
12284
12284
  fieldName: "artifacts",
12285
- fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
12285
+ fragmentDoc: chunkH5WMTA3W_cjs.ArtifactConnectionFragmentDoc,
12286
12286
  variables,
12287
12287
  isConnection: true,
12288
12288
  isList: false,
@@ -12300,7 +12300,7 @@ var ChatSubBuilder = class {
12300
12300
  }
12301
12301
  /** Include insight in the parent query. */
12302
12302
  insight(variables, builder) {
12303
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_InsightDocument, "insight", ["id"]);
12303
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_InsightDocument, "insight", ["id"]);
12304
12304
  let children;
12305
12305
  if (builder) {
12306
12306
  const sub = new InsightSubBuilder();
@@ -12309,7 +12309,7 @@ var ChatSubBuilder = class {
12309
12309
  }
12310
12310
  this._includes.push({
12311
12311
  fieldName: "insight",
12312
- fragmentDoc: chunkGL6CUR7S_cjs.InsightFragmentDoc,
12312
+ fragmentDoc: chunkH5WMTA3W_cjs.InsightFragmentDoc,
12313
12313
  variables,
12314
12314
  isConnection: false,
12315
12315
  isList: false,
@@ -12326,7 +12326,7 @@ var ChatSubBuilder = class {
12326
12326
  }
12327
12327
  /** Include messages in the parent query. */
12328
12328
  messages(variables, builder) {
12329
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_MessagesDocument, "messages", ["id"]);
12329
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_MessagesDocument, "messages", ["id"]);
12330
12330
  let children;
12331
12331
  if (builder) {
12332
12332
  const sub = new ChatMessageSubBuilder();
@@ -12335,7 +12335,7 @@ var ChatSubBuilder = class {
12335
12335
  }
12336
12336
  this._includes.push({
12337
12337
  fieldName: "messages",
12338
- fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageConnectionFragmentDoc,
12338
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatMessageConnectionFragmentDoc,
12339
12339
  variables,
12340
12340
  isConnection: true,
12341
12341
  isList: false,
@@ -12357,7 +12357,7 @@ var ChatMessageSubBuilder = class {
12357
12357
  _includes = [];
12358
12358
  /** Include artifacts in the parent query. */
12359
12359
  artifacts(variables, builder) {
12360
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
12360
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
12361
12361
  let children;
12362
12362
  if (builder) {
12363
12363
  const sub = new ArtifactSubBuilder();
@@ -12366,7 +12366,7 @@ var ChatMessageSubBuilder = class {
12366
12366
  }
12367
12367
  this._includes.push({
12368
12368
  fieldName: "artifacts",
12369
- fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
12369
+ fragmentDoc: chunkH5WMTA3W_cjs.ArtifactConnectionFragmentDoc,
12370
12370
  variables,
12371
12371
  isConnection: true,
12372
12372
  isList: false,
@@ -12384,7 +12384,7 @@ var ChatMessageSubBuilder = class {
12384
12384
  }
12385
12385
  /** Include chat in the parent query. */
12386
12386
  chat(variables, builder) {
12387
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
12387
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
12388
12388
  let children;
12389
12389
  if (builder) {
12390
12390
  const sub = new ChatSubBuilder();
@@ -12393,7 +12393,7 @@ var ChatMessageSubBuilder = class {
12393
12393
  }
12394
12394
  this._includes.push({
12395
12395
  fieldName: "chat",
12396
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
12396
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
12397
12397
  variables,
12398
12398
  isConnection: false,
12399
12399
  isList: false,
@@ -12410,10 +12410,10 @@ var ChatMessageSubBuilder = class {
12410
12410
  }
12411
12411
  /** Include contents in the parent query. */
12412
12412
  contents(variables) {
12413
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
12413
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
12414
12414
  this._includes.push({
12415
12415
  fieldName: "contents",
12416
- fragmentDoc: chunkGL6CUR7S_cjs.ContentBlockFragmentDoc,
12416
+ fragmentDoc: chunkH5WMTA3W_cjs.ContentBlockFragmentDoc,
12417
12417
  variables,
12418
12418
  isConnection: false,
12419
12419
  isList: true,
@@ -12429,10 +12429,10 @@ var ChatMessageSubBuilder = class {
12429
12429
  }
12430
12430
  /** Include feedback in the parent query. */
12431
12431
  feedback(variables) {
12432
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
12432
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
12433
12433
  this._includes.push({
12434
12434
  fieldName: "feedback",
12435
- fragmentDoc: chunkGL6CUR7S_cjs.FeedbackFragmentDoc,
12435
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedbackFragmentDoc,
12436
12436
  variables,
12437
12437
  isConnection: false,
12438
12438
  isList: false,
@@ -12452,10 +12452,10 @@ var DatabaseSubBuilder = class {
12452
12452
  _includes = [];
12453
12453
  /** Include engine in the parent query. */
12454
12454
  engine(variables) {
12455
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_EngineDocument, "engine", ["id"]);
12455
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Database_EngineDocument, "engine", ["id"]);
12456
12456
  this._includes.push({
12457
12457
  fieldName: "engine",
12458
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
12458
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseEngineFragmentDoc,
12459
12459
  variables,
12460
12460
  isConnection: false,
12461
12461
  isList: false,
@@ -12471,7 +12471,7 @@ var DatabaseSubBuilder = class {
12471
12471
  }
12472
12472
  /** Include tables in the parent query. */
12473
12473
  tables(variables, builder) {
12474
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_TablesDocument, "tables", ["id"]);
12474
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Database_TablesDocument, "tables", ["id"]);
12475
12475
  let children;
12476
12476
  if (builder) {
12477
12477
  const sub = new TableSubBuilder();
@@ -12480,7 +12480,7 @@ var DatabaseSubBuilder = class {
12480
12480
  }
12481
12481
  this._includes.push({
12482
12482
  fieldName: "tables",
12483
- fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
12483
+ fragmentDoc: chunkH5WMTA3W_cjs.TableConnectionFragmentDoc,
12484
12484
  variables,
12485
12485
  isConnection: true,
12486
12486
  isList: false,
@@ -12502,10 +12502,10 @@ var DatabaseCatalogSubBuilder = class {
12502
12502
  _includes = [];
12503
12503
  /** Include engine in the parent query. */
12504
12504
  engine(variables) {
12505
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, "engine", []);
12505
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.DatabaseCatalog_EngineDocument, "engine", []);
12506
12506
  this._includes.push({
12507
12507
  fieldName: "engine",
12508
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
12508
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseEngineFragmentDoc,
12509
12509
  variables,
12510
12510
  isConnection: false,
12511
12511
  isList: false,
@@ -12525,10 +12525,10 @@ var DocumentSubBuilder = class {
12525
12525
  _includes = [];
12526
12526
  /** Include contents in the parent query. */
12527
12527
  contents(variables) {
12528
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_ContentsDocument, "contents", ["id"]);
12528
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_ContentsDocument, "contents", ["id"]);
12529
12529
  this._includes.push({
12530
12530
  fieldName: "contents",
12531
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentContentFragmentDoc,
12531
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentContentFragmentDoc,
12532
12532
  variables,
12533
12533
  isConnection: false,
12534
12534
  isList: true,
@@ -12544,10 +12544,10 @@ var DocumentSubBuilder = class {
12544
12544
  }
12545
12545
  /** Include file in the parent query. */
12546
12546
  file(variables) {
12547
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FileDocument, "file", ["id"]);
12547
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_FileDocument, "file", ["id"]);
12548
12548
  this._includes.push({
12549
12549
  fieldName: "file",
12550
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
12550
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
12551
12551
  variables,
12552
12552
  isConnection: false,
12553
12553
  isList: false,
@@ -12563,10 +12563,10 @@ var DocumentSubBuilder = class {
12563
12563
  }
12564
12564
  /** Include format in the parent query. */
12565
12565
  format(variables) {
12566
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FormatDocument, "format", ["id"]);
12566
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_FormatDocument, "format", ["id"]);
12567
12567
  this._includes.push({
12568
12568
  fieldName: "format",
12569
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
12569
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFormatFragmentDoc,
12570
12570
  variables,
12571
12571
  isConnection: false,
12572
12572
  isList: false,
@@ -12582,7 +12582,7 @@ var DocumentSubBuilder = class {
12582
12582
  }
12583
12583
  /** Include tables in the parent query. */
12584
12584
  tables(variables, builder) {
12585
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_TablesDocument, "tables", ["id"]);
12585
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_TablesDocument, "tables", ["id"]);
12586
12586
  let children;
12587
12587
  if (builder) {
12588
12588
  const sub = new TableSubBuilder();
@@ -12591,7 +12591,7 @@ var DocumentSubBuilder = class {
12591
12591
  }
12592
12592
  this._includes.push({
12593
12593
  fieldName: "tables",
12594
- fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
12594
+ fragmentDoc: chunkH5WMTA3W_cjs.TableConnectionFragmentDoc,
12595
12595
  variables,
12596
12596
  isConnection: true,
12597
12597
  isList: false,
@@ -12613,10 +12613,10 @@ var DocumentCatalogSubBuilder = class {
12613
12613
  _includes = [];
12614
12614
  /** Include format in the parent query. */
12615
12615
  format(variables) {
12616
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, "format", []);
12616
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.DocumentCatalog_FormatDocument, "format", []);
12617
12617
  this._includes.push({
12618
12618
  fieldName: "format",
12619
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
12619
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFormatFragmentDoc,
12620
12620
  variables,
12621
12621
  isConnection: false,
12622
12622
  isList: false,
@@ -12636,10 +12636,10 @@ var FeedItemSubBuilder = class {
12636
12636
  _includes = [];
12637
12637
  /** Include action in the parent query. */
12638
12638
  action(variables) {
12639
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, "action", ["id"]);
12639
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.FeedItem_ActionDocument, "action", ["id"]);
12640
12640
  this._includes.push({
12641
12641
  fieldName: "action",
12642
- fragmentDoc: chunkGL6CUR7S_cjs.FeedSendMessageActionFragmentDoc,
12642
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedSendMessageActionFragmentDoc,
12643
12643
  variables,
12644
12644
  isConnection: false,
12645
12645
  isList: false,
@@ -12655,10 +12655,10 @@ var FeedItemSubBuilder = class {
12655
12655
  }
12656
12656
  /** Include data in the parent query. */
12657
12657
  data(variables) {
12658
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_DataDocument, "data", ["id"]);
12658
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.FeedItem_DataDocument, "data", ["id"]);
12659
12659
  this._includes.push({
12660
12660
  fieldName: "data",
12661
- fragmentDoc: chunkGL6CUR7S_cjs.FeedArtifactDataFragmentDoc,
12661
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedArtifactDataFragmentDoc,
12662
12662
  variables,
12663
12663
  isConnection: false,
12664
12664
  isList: true,
@@ -12678,7 +12678,7 @@ var InsightSubBuilder = class {
12678
12678
  _includes = [];
12679
12679
  /** Include chat in the parent query. */
12680
12680
  chat(variables, builder) {
12681
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ChatDocument, "chat", ["id"]);
12681
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ChatDocument, "chat", ["id"]);
12682
12682
  let children;
12683
12683
  if (builder) {
12684
12684
  const sub = new ChatSubBuilder();
@@ -12687,7 +12687,7 @@ var InsightSubBuilder = class {
12687
12687
  }
12688
12688
  this._includes.push({
12689
12689
  fieldName: "chat",
12690
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
12690
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
12691
12691
  variables,
12692
12692
  isConnection: false,
12693
12693
  isList: false,
@@ -12704,10 +12704,10 @@ var InsightSubBuilder = class {
12704
12704
  }
12705
12705
  /** Include reportMembers in the parent query. */
12706
12706
  reportMembers(variables) {
12707
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
12707
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
12708
12708
  this._includes.push({
12709
12709
  fieldName: "reportMembers",
12710
- fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
12710
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportMemberFragmentDoc,
12711
12711
  variables,
12712
12712
  isConnection: false,
12713
12713
  isList: true,
@@ -12723,7 +12723,7 @@ var InsightSubBuilder = class {
12723
12723
  }
12724
12724
  /** Include reports in the parent query. */
12725
12725
  reports(variables, builder) {
12726
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportsDocument, "reports", ["id"]);
12726
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ReportsDocument, "reports", ["id"]);
12727
12727
  let children;
12728
12728
  if (builder) {
12729
12729
  const sub = new ReportSubBuilder();
@@ -12732,7 +12732,7 @@ var InsightSubBuilder = class {
12732
12732
  }
12733
12733
  this._includes.push({
12734
12734
  fieldName: "reports",
12735
- fragmentDoc: chunkGL6CUR7S_cjs.ReportConnectionFragmentDoc,
12735
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportConnectionFragmentDoc,
12736
12736
  variables,
12737
12737
  isConnection: true,
12738
12738
  isList: false,
@@ -12750,10 +12750,10 @@ var InsightSubBuilder = class {
12750
12750
  }
12751
12751
  /** Include thumbnailFile in the parent query. */
12752
12752
  thumbnailFile(variables) {
12753
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
12753
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
12754
12754
  this._includes.push({
12755
12755
  fieldName: "thumbnailFile",
12756
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
12756
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
12757
12757
  variables,
12758
12758
  isConnection: false,
12759
12759
  isList: false,
@@ -12773,10 +12773,10 @@ var IntegrationSubBuilder = class {
12773
12773
  _includes = [];
12774
12774
  /** Include provider in the parent query. */
12775
12775
  provider(variables) {
12776
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Integration_ProviderDocument, "provider", ["id"]);
12776
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Integration_ProviderDocument, "provider", ["id"]);
12777
12777
  this._includes.push({
12778
12778
  fieldName: "provider",
12779
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
12779
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationProviderFragmentDoc,
12780
12780
  variables,
12781
12781
  isConnection: false,
12782
12782
  isList: false,
@@ -12796,10 +12796,10 @@ var IntegrationCatalogSubBuilder = class {
12796
12796
  _includes = [];
12797
12797
  /** Include provider in the parent query. */
12798
12798
  provider(variables) {
12799
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
12799
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
12800
12800
  this._includes.push({
12801
12801
  fieldName: "provider",
12802
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
12802
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationProviderFragmentDoc,
12803
12803
  variables,
12804
12804
  isConnection: false,
12805
12805
  isList: false,
@@ -12819,7 +12819,7 @@ var PulseEventSubBuilder = class {
12819
12819
  _includes = [];
12820
12820
  /** Include integration in the parent query. */
12821
12821
  integration(variables, builder) {
12822
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
12822
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
12823
12823
  let children;
12824
12824
  if (builder) {
12825
12825
  const sub = new IntegrationSubBuilder();
@@ -12828,7 +12828,7 @@ var PulseEventSubBuilder = class {
12828
12828
  }
12829
12829
  this._includes.push({
12830
12830
  fieldName: "integration",
12831
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationFragmentDoc,
12831
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationFragmentDoc,
12832
12832
  variables,
12833
12833
  isConnection: false,
12834
12834
  isList: false,
@@ -12849,7 +12849,7 @@ var ReportSubBuilder = class {
12849
12849
  _includes = [];
12850
12850
  /** Include insights in the parent query. */
12851
12851
  insights(variables, builder) {
12852
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_InsightsDocument, "insights", ["id"]);
12852
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Report_InsightsDocument, "insights", ["id"]);
12853
12853
  let children;
12854
12854
  if (builder) {
12855
12855
  const sub = new InsightSubBuilder();
@@ -12858,7 +12858,7 @@ var ReportSubBuilder = class {
12858
12858
  }
12859
12859
  this._includes.push({
12860
12860
  fieldName: "insights",
12861
- fragmentDoc: chunkGL6CUR7S_cjs.InsightConnectionFragmentDoc,
12861
+ fragmentDoc: chunkH5WMTA3W_cjs.InsightConnectionFragmentDoc,
12862
12862
  variables,
12863
12863
  isConnection: true,
12864
12864
  isList: false,
@@ -12876,10 +12876,10 @@ var ReportSubBuilder = class {
12876
12876
  }
12877
12877
  /** Include layout in the parent query. */
12878
12878
  layout(variables) {
12879
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_LayoutDocument, "layout", ["id"]);
12879
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Report_LayoutDocument, "layout", ["id"]);
12880
12880
  this._includes.push({
12881
12881
  fieldName: "layout",
12882
- fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
12882
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportMemberFragmentDoc,
12883
12883
  variables,
12884
12884
  isConnection: false,
12885
12885
  isList: true,
@@ -12899,7 +12899,7 @@ var TableSubBuilder = class {
12899
12899
  _includes = [];
12900
12900
  /** Include database in the parent query. */
12901
12901
  database(variables, builder) {
12902
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DatabaseDocument, "database", ["id"]);
12902
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_DatabaseDocument, "database", ["id"]);
12903
12903
  let children;
12904
12904
  if (builder) {
12905
12905
  const sub = new DatabaseSubBuilder();
@@ -12908,7 +12908,7 @@ var TableSubBuilder = class {
12908
12908
  }
12909
12909
  this._includes.push({
12910
12910
  fieldName: "database",
12911
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseFragmentDoc,
12911
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseFragmentDoc,
12912
12912
  variables,
12913
12913
  isConnection: false,
12914
12914
  isList: false,
@@ -12925,7 +12925,7 @@ var TableSubBuilder = class {
12925
12925
  }
12926
12926
  /** Include document in the parent query. */
12927
12927
  document(variables, builder) {
12928
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DocumentDocument, "document", ["id"]);
12928
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_DocumentDocument, "document", ["id"]);
12929
12929
  let children;
12930
12930
  if (builder) {
12931
12931
  const sub = new DocumentSubBuilder();
@@ -12934,7 +12934,7 @@ var TableSubBuilder = class {
12934
12934
  }
12935
12935
  this._includes.push({
12936
12936
  fieldName: "document",
12937
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFragmentDoc,
12937
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFragmentDoc,
12938
12938
  variables,
12939
12939
  isConnection: false,
12940
12940
  isList: false,
@@ -12951,10 +12951,10 @@ var TableSubBuilder = class {
12951
12951
  }
12952
12952
  /** Include fromRelations in the parent query. */
12953
12953
  fromRelations(variables) {
12954
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
12954
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
12955
12955
  this._includes.push({
12956
12956
  fieldName: "fromRelations",
12957
- fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
12957
+ fragmentDoc: chunkH5WMTA3W_cjs.RelationFragmentDoc,
12958
12958
  variables,
12959
12959
  isConnection: false,
12960
12960
  isList: true,
@@ -12970,10 +12970,10 @@ var TableSubBuilder = class {
12970
12970
  }
12971
12971
  /** Include toRelations in the parent query. */
12972
12972
  toRelations(variables) {
12973
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
12973
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
12974
12974
  this._includes.push({
12975
12975
  fieldName: "toRelations",
12976
- fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
12976
+ fragmentDoc: chunkH5WMTA3W_cjs.RelationFragmentDoc,
12977
12977
  variables,
12978
12978
  isConnection: false,
12979
12979
  isList: true,
@@ -12990,427 +12990,434 @@ var TableSubBuilder = class {
12990
12990
  };
12991
12991
  var AddInsightToReportMutation = class extends chunk342BFYZZ_cjs.Request {
12992
12992
  async fetch(variables, options) {
12993
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
12993
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
12994
12994
  const data = response.addInsightToReport;
12995
12995
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
12996
12996
  }
12997
12997
  };
12998
12998
  var CancelOauthFlowMutation = class extends chunk342BFYZZ_cjs.Request {
12999
12999
  async fetch(variables) {
13000
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
13000
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
13001
13001
  return response.cancelOauthFlow;
13002
13002
  }
13003
13003
  };
13004
13004
  var CancelWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
13005
13005
  async fetch(variables) {
13006
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
13006
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
13007
13007
  return response.cancelWorkspaceDeletion;
13008
13008
  }
13009
13009
  };
13010
13010
  var ConnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
13011
13011
  async fetch(variables, options) {
13012
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
13012
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
13013
13013
  const data = response.connectIntegration;
13014
13014
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
13015
13015
  }
13016
13016
  };
13017
13017
  var ConsumePulseEventsMutation = class extends chunk342BFYZZ_cjs.Request {
13018
13018
  async fetch(variables) {
13019
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
13019
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
13020
13020
  return response.consumePulseEvents;
13021
13021
  }
13022
13022
  };
13023
13023
  var ContinueImportedChatMutation = class extends chunk342BFYZZ_cjs.Request {
13024
13024
  async fetch(variables) {
13025
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
13025
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
13026
13026
  return response.continueImportedChat;
13027
13027
  }
13028
13028
  };
13029
13029
  var ContinueInterpretationMutation = class extends chunk342BFYZZ_cjs.Request {
13030
13030
  async fetch(variables) {
13031
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
13031
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
13032
13032
  return response.continueInterpretation;
13033
13033
  }
13034
13034
  };
13035
13035
  var CreateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
13036
13036
  async fetch(variables, options) {
13037
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
13037
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
13038
13038
  const data = response.createAgent;
13039
13039
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
13040
13040
  }
13041
13041
  };
13042
13042
  var CreateChatMutation = class extends chunk342BFYZZ_cjs.Request {
13043
13043
  async fetch(variables, options) {
13044
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
13044
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
13045
13045
  const data = response.createChat;
13046
13046
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
13047
13047
  }
13048
13048
  };
13049
13049
  var CreateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
13050
13050
  async fetch(variables, options) {
13051
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
13051
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
13052
13052
  const data = response.createDatabase;
13053
13053
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
13054
13054
  }
13055
13055
  };
13056
13056
  var CreateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13057
13057
  async fetch(variables, options) {
13058
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
13058
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
13059
13059
  const data = response.createDocument;
13060
13060
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13061
13061
  }
13062
13062
  };
13063
13063
  var CreateFeedbackMutation = class extends chunk342BFYZZ_cjs.Request {
13064
13064
  async fetch(variables, options) {
13065
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
13065
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
13066
13066
  const data = response.createFeedback;
13067
13067
  return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
13068
13068
  }
13069
13069
  };
13070
13070
  var CreateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13071
13071
  async fetch(variables, options) {
13072
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
13072
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
13073
13073
  const data = response.createFolder;
13074
13074
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
13075
13075
  }
13076
13076
  };
13077
13077
  var CreateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13078
13078
  async fetch(variables, options) {
13079
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
13079
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
13080
13080
  const data = response.createInsight;
13081
13081
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13082
13082
  }
13083
13083
  };
13084
13084
  var CreateIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
13085
13085
  async fetch(variables, options) {
13086
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
13086
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
13087
13087
  const data = response.createIntegration;
13088
13088
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
13089
13089
  }
13090
13090
  };
13091
13091
  var CreateReportMutation = class extends chunk342BFYZZ_cjs.Request {
13092
13092
  async fetch(variables, options) {
13093
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
13093
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
13094
13094
  const data = response.createReport;
13095
13095
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13096
13096
  }
13097
13097
  };
13098
13098
  var CreateTableMutation = class extends chunk342BFYZZ_cjs.Request {
13099
13099
  async fetch(variables, options) {
13100
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
13100
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
13101
13101
  const data = response.createTable;
13102
13102
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
13103
13103
  }
13104
13104
  };
13105
13105
  var CreateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
13106
13106
  async fetch(variables, options) {
13107
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
13107
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
13108
13108
  const data = response.createUserSkillFile;
13109
13109
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
13110
13110
  }
13111
13111
  };
13112
13112
  var CreateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13113
13113
  async fetch(variables, options) {
13114
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
13114
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
13115
13115
  const data = response.createUserSkillFolder;
13116
13116
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
13117
13117
  }
13118
13118
  };
13119
13119
  var DeleteAgentMutation = class extends chunk342BFYZZ_cjs.Request {
13120
13120
  async fetch(variables, options) {
13121
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
13121
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
13122
13122
  const data = response.deleteAgent;
13123
13123
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
13124
13124
  }
13125
13125
  };
13126
13126
  var DeleteArtifactMutation = class extends chunk342BFYZZ_cjs.Request {
13127
13127
  async fetch(variables, options) {
13128
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
13128
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
13129
13129
  const data = response.deleteArtifact;
13130
13130
  return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
13131
13131
  }
13132
13132
  };
13133
13133
  var DeleteChatMutation = class extends chunk342BFYZZ_cjs.Request {
13134
13134
  async fetch(variables, options) {
13135
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
13135
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
13136
13136
  const data = response.deleteChat;
13137
13137
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
13138
13138
  }
13139
13139
  };
13140
13140
  var DeleteDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
13141
13141
  async fetch(variables, options) {
13142
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
13142
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
13143
13143
  const data = response.deleteDatabase;
13144
13144
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
13145
13145
  }
13146
13146
  };
13147
13147
  var DeleteDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13148
13148
  async fetch(variables, options) {
13149
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
13149
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
13150
13150
  const data = response.deleteDocument;
13151
13151
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13152
13152
  }
13153
13153
  };
13154
13154
  var DeleteFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13155
13155
  async fetch(variables, options) {
13156
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
13156
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
13157
13157
  const data = response.deleteFolder;
13158
13158
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
13159
13159
  }
13160
13160
  };
13161
13161
  var DeleteInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13162
13162
  async fetch(variables, options) {
13163
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
13163
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
13164
13164
  const data = response.deleteInsight;
13165
13165
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13166
13166
  }
13167
13167
  };
13168
13168
  var DeleteInsightsMutation = class extends chunk342BFYZZ_cjs.Request {
13169
13169
  async fetch(variables, options) {
13170
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
13170
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
13171
13171
  const data = response.deleteInsights;
13172
13172
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13173
13173
  }
13174
13174
  };
13175
13175
  var DeleteIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
13176
13176
  async fetch(variables) {
13177
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
13177
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
13178
13178
  return response.deleteIntegration;
13179
13179
  }
13180
13180
  };
13181
13181
  var DeleteReportMutation = class extends chunk342BFYZZ_cjs.Request {
13182
13182
  async fetch(variables, options) {
13183
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
13183
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
13184
13184
  const data = response.deleteReport;
13185
13185
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13186
13186
  }
13187
13187
  };
13188
13188
  var DeleteTableMutation = class extends chunk342BFYZZ_cjs.Request {
13189
13189
  async fetch(variables, options) {
13190
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
13190
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
13191
13191
  const data = response.deleteTable;
13192
13192
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
13193
13193
  }
13194
13194
  };
13195
13195
  var DeleteUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
13196
13196
  async fetch(variables, options) {
13197
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
13197
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
13198
13198
  const data = response.deleteUserSkillFile;
13199
13199
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
13200
13200
  }
13201
13201
  };
13202
13202
  var DeleteUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13203
13203
  async fetch(variables, options) {
13204
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
13204
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
13205
13205
  const data = response.deleteUserSkillFolder;
13206
13206
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
13207
13207
  }
13208
13208
  };
13209
13209
  var DisconnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
13210
13210
  async fetch(variables) {
13211
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
13211
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
13212
13212
  return response.disconnectIntegration;
13213
13213
  }
13214
13214
  };
13215
13215
  var DismissPulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
13216
13216
  async fetch(variables, options) {
13217
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
13217
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
13218
13218
  const data = response.dismissPulseEvent;
13219
13219
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
13220
13220
  }
13221
13221
  };
13222
13222
  var ExecuteChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
13223
13223
  async fetch(variables, options) {
13224
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
13224
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
13225
13225
  const data = response.executeChatImport;
13226
13226
  return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
13227
13227
  }
13228
13228
  };
13229
13229
  var GenerateUploadUriMutation = class extends chunk342BFYZZ_cjs.Request {
13230
13230
  async fetch(variables, options) {
13231
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
13231
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
13232
13232
  const data = response.generateUploadUri;
13233
13233
  return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
13234
13234
  }
13235
13235
  };
13236
13236
  var PreviewChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
13237
13237
  async fetch(variables, options) {
13238
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
13238
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
13239
13239
  const data = response.previewChatImport;
13240
13240
  return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
13241
13241
  }
13242
13242
  };
13243
13243
  var ReanalyzeDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13244
13244
  async fetch(variables, options) {
13245
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
13245
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
13246
13246
  const data = response.reanalyzeDocument;
13247
13247
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13248
13248
  }
13249
13249
  };
13250
13250
  var RefineMindInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
13251
13251
  async fetch(variables) {
13252
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
13252
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
13253
13253
  return response.refineMindInstruction;
13254
13254
  }
13255
13255
  };
13256
13256
  var RefreshDatabaseSchemaMutation = class extends chunk342BFYZZ_cjs.Request {
13257
13257
  async fetch(variables) {
13258
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
13258
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
13259
13259
  return response.refreshDatabaseSchema;
13260
13260
  }
13261
13261
  };
13262
13262
  var RefreshInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13263
13263
  async fetch(variables, options) {
13264
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
13264
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
13265
13265
  const data = response.refreshInsight;
13266
13266
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13267
13267
  }
13268
13268
  };
13269
13269
  var ReinterpretSourceMutation = class extends chunk342BFYZZ_cjs.Request {
13270
13270
  async fetch(variables) {
13271
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
13271
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
13272
13272
  return response.reinterpretSource;
13273
13273
  }
13274
13274
  };
13275
13275
  var ReinterpretSourcesOfuserMutation = class extends chunk342BFYZZ_cjs.Request {
13276
13276
  async fetch(variables) {
13277
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
13277
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
13278
13278
  return response.reinterpretSourcesOfuser;
13279
13279
  }
13280
13280
  };
13281
13281
  var RelocateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13282
13282
  async fetch(variables, options) {
13283
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
13283
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
13284
13284
  const data = response.relocateInsight;
13285
13285
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13286
13286
  }
13287
13287
  };
13288
13288
  var RemoveInsightFromReportMutation = class extends chunk342BFYZZ_cjs.Request {
13289
13289
  async fetch(variables, options) {
13290
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
13290
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
13291
13291
  const data = response.removeInsightFromReport;
13292
13292
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13293
13293
  }
13294
13294
  };
13295
13295
  var ResetWorkspaceMutation = class extends chunk342BFYZZ_cjs.Request {
13296
13296
  async fetch(variables) {
13297
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
13297
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
13298
13298
  return response.resetWorkspace;
13299
13299
  }
13300
13300
  };
13301
13301
  var ResolvePulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
13302
13302
  async fetch(variables, options) {
13303
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
13303
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
13304
13304
  const data = response.resolvePulseEvent;
13305
13305
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
13306
13306
  }
13307
13307
  };
13308
13308
  var ScheduleWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
13309
13309
  async fetch(variables, options) {
13310
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
13310
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
13311
13311
  const data = response.scheduleWorkspaceDeletion;
13312
13312
  return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
13313
13313
  }
13314
13314
  };
13315
13315
  var SetDatabasePrimaryKeyMutation = class extends chunk342BFYZZ_cjs.Request {
13316
13316
  async fetch(variables) {
13317
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
13317
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
13318
13318
  return response.setDatabasePrimaryKey;
13319
13319
  }
13320
13320
  };
13321
13321
  var UpdateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
13322
13322
  async fetch(variables, options) {
13323
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
13323
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
13324
13324
  const data = response.updateAgent;
13325
13325
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
13326
13326
  }
13327
13327
  };
13328
+ var UpdateArtifactNameMutation = class extends chunk342BFYZZ_cjs.Request {
13329
+ async fetch(variables, options) {
13330
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"]);
13331
+ const data = response.updateArtifactName;
13332
+ return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
13333
+ }
13334
+ };
13328
13335
  var UpdateChatMutation = class extends chunk342BFYZZ_cjs.Request {
13329
13336
  async fetch(variables, options) {
13330
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
13337
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
13331
13338
  const data = response.updateChat;
13332
13339
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
13333
13340
  }
13334
13341
  };
13335
13342
  var UpdateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
13336
13343
  async fetch(variables, options) {
13337
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
13344
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
13338
13345
  const data = response.updateDatabase;
13339
13346
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
13340
13347
  }
13341
13348
  };
13342
13349
  var UpdateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
13343
13350
  async fetch(variables, options) {
13344
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
13351
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
13345
13352
  const data = response.updateDocument;
13346
13353
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13347
13354
  }
13348
13355
  };
13349
13356
  var UpdateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13350
13357
  async fetch(variables, options) {
13351
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
13358
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
13352
13359
  const data = response.updateFolder;
13353
13360
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
13354
13361
  }
13355
13362
  };
13356
13363
  var UpdateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
13357
13364
  async fetch(variables, options) {
13358
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
13365
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
13359
13366
  const data = response.updateInsight;
13360
13367
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13361
13368
  }
13362
13369
  };
13363
13370
  var UpdateInsightInReportMutation = class extends chunk342BFYZZ_cjs.Request {
13364
13371
  async fetch(variables, options) {
13365
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
13372
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
13366
13373
  const data = response.updateInsightInReport;
13367
13374
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13368
13375
  }
13369
13376
  };
13370
13377
  var UpdateInsightThumbnailMutation = class extends chunk342BFYZZ_cjs.Request {
13371
13378
  async fetch(variables) {
13372
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
13379
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
13373
13380
  return response.updateInsightThumbnail;
13374
13381
  }
13375
13382
  };
13376
13383
  var UpdateInterpMutation = class extends chunk342BFYZZ_cjs.Request {
13377
13384
  async fetch(variables, options) {
13378
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
13385
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
13379
13386
  const data = response.updateInterp;
13380
13387
  return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
13381
13388
  }
13382
13389
  };
13383
13390
  var UpdatePulseTriggerMutation = class extends chunk342BFYZZ_cjs.Request {
13384
13391
  async fetch(variables, options) {
13385
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
13392
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
13386
13393
  const data = response.updatePulseTrigger;
13387
13394
  return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
13388
13395
  }
13389
13396
  };
13390
13397
  var UpdateReportMutation = class extends chunk342BFYZZ_cjs.Request {
13391
13398
  async fetch(variables, options) {
13392
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
13399
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
13393
13400
  const data = response.updateReport;
13394
13401
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13395
13402
  }
13396
13403
  };
13397
13404
  var UpdateTableMutation = class extends chunk342BFYZZ_cjs.Request {
13398
13405
  async fetch(variables, options) {
13399
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
13406
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
13400
13407
  const data = response.updateTable;
13401
13408
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
13402
13409
  }
13403
13410
  };
13404
13411
  var UpdateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
13405
13412
  async fetch(variables, options) {
13406
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
13413
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
13407
13414
  const data = response.updateUserSkillFile;
13408
13415
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
13409
13416
  }
13410
13417
  };
13411
13418
  var UpdateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
13412
13419
  async fetch(variables, options) {
13413
- const response = await this._syncEngine.mutate(chunkGL6CUR7S_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
13420
+ const response = await this._syncEngine.mutate(chunkH5WMTA3W_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
13414
13421
  const data = response.updateUserSkillFolder;
13415
13422
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
13416
13423
  }
@@ -13424,7 +13431,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13424
13431
  }
13425
13432
  async fetch(options) {
13426
13433
  const variables = this._variables;
13427
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentDocument, "agent", this._includes, variables);
13434
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.AgentDocument, "agent", this._includes, variables);
13428
13435
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
13429
13436
  const data = response.agent;
13430
13437
  const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
@@ -13436,7 +13443,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13436
13443
  watch(options) {
13437
13444
  const variables = this._variables;
13438
13445
  const includes = this._includes;
13439
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentDocument, "agent", includes, variables);
13446
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.AgentDocument, "agent", includes, variables);
13440
13447
  const raw = this._syncEngine.watch(
13441
13448
  queryDoc,
13442
13449
  mergedVars,
@@ -13466,7 +13473,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13466
13473
  }
13467
13474
  /** Include chats in this query (Smart Fetch — single HTTP request). */
13468
13475
  chats(variables, builder) {
13469
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Agent_ChatsDocument, "chats", ["id"]);
13476
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Agent_ChatsDocument, "chats", ["id"]);
13470
13477
  let children;
13471
13478
  if (builder) {
13472
13479
  const sub = new ChatSubBuilder();
@@ -13475,7 +13482,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
13475
13482
  }
13476
13483
  this._includes.push({
13477
13484
  fieldName: "chats",
13478
- fragmentDoc: chunkGL6CUR7S_cjs.ChatConnectionFragmentDoc,
13485
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatConnectionFragmentDoc,
13479
13486
  variables,
13480
13487
  isConnection: true,
13481
13488
  isList: false,
@@ -13500,18 +13507,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk342BFYZZ_cjs.Request
13500
13507
  }
13501
13508
  async fetch(options) {
13502
13509
  const variables = this._variables;
13503
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Agent_ChatsDocument, variables, "agent");
13510
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Agent_ChatsDocument, variables, "agent");
13504
13511
  const data = response.agent?.chats;
13505
13512
  return new ChatConnection(this._request, (conn, opts) => new _Agent_ChatsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
13506
13513
  }
13507
13514
  watch(options) {
13508
13515
  const variables = this._variables;
13509
13516
  const raw = this._syncEngine.watch(
13510
- chunkGL6CUR7S_cjs.Agent_ChatsDocument,
13517
+ chunkH5WMTA3W_cjs.Agent_ChatsDocument,
13511
13518
  variables,
13512
13519
  "agent",
13513
13520
  async (db) => {
13514
- const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkGL6CUR7S_cjs.Agent_ChatsDocument));
13521
+ const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkH5WMTA3W_cjs.Agent_ChatsDocument));
13515
13522
  const nodes = qr ? await db.table("chats").bulkGet(qr.entityIds) : [];
13516
13523
  return { agent: { chats: { __typename: "ChatConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
13517
13524
  }
@@ -13531,7 +13538,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13531
13538
  }
13532
13539
  async fetch(options) {
13533
13540
  const variables = this._variables;
13534
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentsDocument, "agents", this._includes, variables, true);
13541
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.AgentsDocument, "agents", this._includes, variables, true);
13535
13542
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
13536
13543
  const data = response.agents;
13537
13544
  const connection = new AgentConnection(this._request, (conn, opts) => new _AgentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -13548,7 +13555,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13548
13555
  const subscriptionId = crypto.randomUUID();
13549
13556
  const includes = this._includes;
13550
13557
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
13551
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.AgentsDocument, "agents", includes, variables, true);
13558
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.AgentsDocument, "agents", includes, variables, true);
13552
13559
  const raw = this._syncEngine.watch(
13553
13560
  queryDoc,
13554
13561
  mergedVars,
@@ -13583,7 +13590,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13583
13590
  }
13584
13591
  /** Include chats in this query (Smart Fetch — single HTTP request). */
13585
13592
  chats(variables, builder) {
13586
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Agent_ChatsDocument, "chats", ["id"]);
13593
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Agent_ChatsDocument, "chats", ["id"]);
13587
13594
  let children;
13588
13595
  if (builder) {
13589
13596
  const sub = new ChatSubBuilder();
@@ -13592,7 +13599,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
13592
13599
  }
13593
13600
  this._includes.push({
13594
13601
  fieldName: "chats",
13595
- fragmentDoc: chunkGL6CUR7S_cjs.ChatConnectionFragmentDoc,
13602
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatConnectionFragmentDoc,
13596
13603
  variables,
13597
13604
  isConnection: true,
13598
13605
  isList: false,
@@ -13618,7 +13625,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13618
13625
  }
13619
13626
  async fetch(options) {
13620
13627
  const variables = this._variables;
13621
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactDocument, "artifact", this._includes, variables);
13628
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ArtifactDocument, "artifact", this._includes, variables);
13622
13629
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
13623
13630
  const data = response.artifact;
13624
13631
  const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
@@ -13630,7 +13637,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13630
13637
  watch(options) {
13631
13638
  const variables = this._variables;
13632
13639
  const includes = this._includes;
13633
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactDocument, "artifact", includes, variables);
13640
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ArtifactDocument, "artifact", includes, variables);
13634
13641
  const raw = this._syncEngine.watch(
13635
13642
  queryDoc,
13636
13643
  mergedVars,
@@ -13660,7 +13667,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13660
13667
  }
13661
13668
  /** Include chat in this query (Smart Fetch — single HTTP request). */
13662
13669
  chat(variables, builder) {
13663
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_ChatDocument, "chat", ["id"]);
13670
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_ChatDocument, "chat", ["id"]);
13664
13671
  let children;
13665
13672
  if (builder) {
13666
13673
  const sub = new ChatSubBuilder();
@@ -13669,7 +13676,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13669
13676
  }
13670
13677
  this._includes.push({
13671
13678
  fieldName: "chat",
13672
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
13679
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
13673
13680
  variables,
13674
13681
  isConnection: false,
13675
13682
  isList: false,
@@ -13686,10 +13693,10 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13686
13693
  }
13687
13694
  /** Include file in this query (Smart Fetch — single HTTP request). */
13688
13695
  file(variables) {
13689
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_FileDocument, "file", ["id"]);
13696
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_FileDocument, "file", ["id"]);
13690
13697
  this._includes.push({
13691
13698
  fieldName: "file",
13692
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
13699
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
13693
13700
  variables,
13694
13701
  isConnection: false,
13695
13702
  isList: false,
@@ -13705,7 +13712,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13705
13712
  }
13706
13713
  /** Include message in this query (Smart Fetch — single HTTP request). */
13707
13714
  message(variables, builder) {
13708
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_MessageDocument, "message", ["id"]);
13715
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_MessageDocument, "message", ["id"]);
13709
13716
  let children;
13710
13717
  if (builder) {
13711
13718
  const sub = new ChatMessageSubBuilder();
@@ -13714,7 +13721,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
13714
13721
  }
13715
13722
  this._includes.push({
13716
13723
  fieldName: "message",
13717
- fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageFragmentDoc,
13724
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatMessageFragmentDoc,
13718
13725
  variables,
13719
13726
  isConnection: false,
13720
13727
  isList: false,
@@ -13738,14 +13745,14 @@ var Artifact_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
13738
13745
  }
13739
13746
  async fetch(options) {
13740
13747
  const variables = this._variables;
13741
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_ChatDocument, variables, "artifact");
13748
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Artifact_ChatDocument, variables, "artifact");
13742
13749
  const data = response.artifact?.chat;
13743
13750
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13744
13751
  }
13745
13752
  watch(options) {
13746
13753
  const variables = this._variables;
13747
13754
  const raw = this._syncEngine.watch(
13748
- chunkGL6CUR7S_cjs.Artifact_ChatDocument,
13755
+ chunkH5WMTA3W_cjs.Artifact_ChatDocument,
13749
13756
  variables,
13750
13757
  "artifact",
13751
13758
  async (db) => {
@@ -13768,14 +13775,14 @@ var Artifact_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
13768
13775
  }
13769
13776
  async fetch(options) {
13770
13777
  const variables = this._variables;
13771
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
13778
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
13772
13779
  const data = response.artifact?.chat?.insight;
13773
13780
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13774
13781
  }
13775
13782
  watch(options) {
13776
13783
  const variables = this._variables;
13777
13784
  const raw = this._syncEngine.watch(
13778
- chunkGL6CUR7S_cjs.Artifact_Chat_InsightDocument,
13785
+ chunkH5WMTA3W_cjs.Artifact_Chat_InsightDocument,
13779
13786
  variables,
13780
13787
  "artifact",
13781
13788
  async (db) => {
@@ -13798,14 +13805,14 @@ var Artifact_FileQuery = class extends chunk342BFYZZ_cjs.Request {
13798
13805
  }
13799
13806
  async fetch(options) {
13800
13807
  const variables = this._variables;
13801
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_FileDocument, variables, "artifact");
13808
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Artifact_FileDocument, variables, "artifact");
13802
13809
  const data = response.artifact?.file;
13803
13810
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13804
13811
  }
13805
13812
  watch(options) {
13806
13813
  const variables = this._variables;
13807
13814
  const raw = this._syncEngine.watch(
13808
- chunkGL6CUR7S_cjs.Artifact_FileDocument,
13815
+ chunkH5WMTA3W_cjs.Artifact_FileDocument,
13809
13816
  variables,
13810
13817
  "artifact",
13811
13818
  async (db) => {
@@ -13828,14 +13835,14 @@ var Artifact_MessageQuery = class extends chunk342BFYZZ_cjs.Request {
13828
13835
  }
13829
13836
  async fetch(options) {
13830
13837
  const variables = this._variables;
13831
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_MessageDocument, variables, "artifact");
13838
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Artifact_MessageDocument, variables, "artifact");
13832
13839
  const data = response.artifact?.message;
13833
13840
  return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13834
13841
  }
13835
13842
  watch(options) {
13836
13843
  const variables = this._variables;
13837
13844
  const raw = this._syncEngine.watch(
13838
- chunkGL6CUR7S_cjs.Artifact_MessageDocument,
13845
+ chunkH5WMTA3W_cjs.Artifact_MessageDocument,
13839
13846
  variables,
13840
13847
  "artifact",
13841
13848
  async (db) => {
@@ -13858,14 +13865,14 @@ var Artifact_Message_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
13858
13865
  }
13859
13866
  async fetch(options) {
13860
13867
  const variables = this._variables;
13861
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Message_ChatDocument, variables, "artifact");
13868
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Artifact_Message_ChatDocument, variables, "artifact");
13862
13869
  const data = response.artifact?.message?.chat;
13863
13870
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13864
13871
  }
13865
13872
  watch(options) {
13866
13873
  const variables = this._variables;
13867
13874
  const raw = this._syncEngine.watch(
13868
- chunkGL6CUR7S_cjs.Artifact_Message_ChatDocument,
13875
+ chunkH5WMTA3W_cjs.Artifact_Message_ChatDocument,
13869
13876
  variables,
13870
13877
  "artifact",
13871
13878
  async (db) => {
@@ -13887,7 +13894,7 @@ var Artifact_Message_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
13887
13894
  this._variables = variables;
13888
13895
  }
13889
13896
  async fetch(options) {
13890
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
13897
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
13891
13898
  const data = response.artifact?.message?.contents;
13892
13899
  if (!Array.isArray(data)) return [];
13893
13900
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -13901,14 +13908,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
13901
13908
  }
13902
13909
  async fetch(options) {
13903
13910
  const variables = this._variables;
13904
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
13911
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
13905
13912
  const data = response.artifact?.message?.feedback;
13906
13913
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13907
13914
  }
13908
13915
  watch(options) {
13909
13916
  const variables = this._variables;
13910
13917
  const raw = this._syncEngine.watch(
13911
- chunkGL6CUR7S_cjs.Artifact_Message_FeedbackDocument,
13918
+ chunkH5WMTA3W_cjs.Artifact_Message_FeedbackDocument,
13912
13919
  variables,
13913
13920
  "artifact",
13914
13921
  async (db) => {
@@ -13932,7 +13939,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13932
13939
  }
13933
13940
  async fetch(options) {
13934
13941
  const variables = this._variables;
13935
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
13942
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
13936
13943
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
13937
13944
  const data = response.artifacts;
13938
13945
  const connection = new ArtifactConnection(this._request, (conn, opts) => new _ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -13949,7 +13956,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13949
13956
  const subscriptionId = crypto.randomUUID();
13950
13957
  const includes = this._includes;
13951
13958
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
13952
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
13959
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
13953
13960
  const raw = this._syncEngine.watch(
13954
13961
  queryDoc,
13955
13962
  mergedVars,
@@ -13984,7 +13991,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13984
13991
  }
13985
13992
  /** Include chat in this query (Smart Fetch — single HTTP request). */
13986
13993
  chat(variables, builder) {
13987
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_ChatDocument, "chat", ["id"]);
13994
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_ChatDocument, "chat", ["id"]);
13988
13995
  let children;
13989
13996
  if (builder) {
13990
13997
  const sub = new ChatSubBuilder();
@@ -13993,7 +14000,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
13993
14000
  }
13994
14001
  this._includes.push({
13995
14002
  fieldName: "chat",
13996
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
14003
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
13997
14004
  variables,
13998
14005
  isConnection: false,
13999
14006
  isList: false,
@@ -14010,10 +14017,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
14010
14017
  }
14011
14018
  /** Include file in this query (Smart Fetch — single HTTP request). */
14012
14019
  file(variables) {
14013
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_FileDocument, "file", ["id"]);
14020
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_FileDocument, "file", ["id"]);
14014
14021
  this._includes.push({
14015
14022
  fieldName: "file",
14016
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
14023
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
14017
14024
  variables,
14018
14025
  isConnection: false,
14019
14026
  isList: false,
@@ -14029,7 +14036,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
14029
14036
  }
14030
14037
  /** Include message in this query (Smart Fetch — single HTTP request). */
14031
14038
  message(variables, builder) {
14032
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Artifact_MessageDocument, "message", ["id"]);
14039
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Artifact_MessageDocument, "message", ["id"]);
14033
14040
  let children;
14034
14041
  if (builder) {
14035
14042
  const sub = new ChatMessageSubBuilder();
@@ -14038,7 +14045,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
14038
14045
  }
14039
14046
  this._includes.push({
14040
14047
  fieldName: "message",
14041
- fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageFragmentDoc,
14048
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatMessageFragmentDoc,
14042
14049
  variables,
14043
14050
  isConnection: false,
14044
14051
  isList: false,
@@ -14063,7 +14070,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14063
14070
  }
14064
14071
  async fetch(options) {
14065
14072
  const variables = this._variables;
14066
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatDocument, "chat", this._includes, variables);
14073
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatDocument, "chat", this._includes, variables);
14067
14074
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
14068
14075
  const data = response.chat;
14069
14076
  const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
@@ -14075,7 +14082,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14075
14082
  watch(options) {
14076
14083
  const variables = this._variables;
14077
14084
  const includes = this._includes;
14078
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatDocument, "chat", includes, variables);
14085
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatDocument, "chat", includes, variables);
14079
14086
  const raw = this._syncEngine.watch(
14080
14087
  queryDoc,
14081
14088
  mergedVars,
@@ -14105,7 +14112,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14105
14112
  }
14106
14113
  /** Include agents in this query (Smart Fetch — single HTTP request). */
14107
14114
  agents(variables, builder) {
14108
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_AgentsDocument, "agents", ["id"]);
14115
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_AgentsDocument, "agents", ["id"]);
14109
14116
  let children;
14110
14117
  if (builder) {
14111
14118
  const sub = new AgentSubBuilder();
@@ -14114,7 +14121,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14114
14121
  }
14115
14122
  this._includes.push({
14116
14123
  fieldName: "agents",
14117
- fragmentDoc: chunkGL6CUR7S_cjs.AgentConnectionFragmentDoc,
14124
+ fragmentDoc: chunkH5WMTA3W_cjs.AgentConnectionFragmentDoc,
14118
14125
  variables,
14119
14126
  isConnection: true,
14120
14127
  isList: false,
@@ -14132,7 +14139,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14132
14139
  }
14133
14140
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14134
14141
  artifacts(variables, builder) {
14135
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14142
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14136
14143
  let children;
14137
14144
  if (builder) {
14138
14145
  const sub = new ArtifactSubBuilder();
@@ -14141,7 +14148,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14141
14148
  }
14142
14149
  this._includes.push({
14143
14150
  fieldName: "artifacts",
14144
- fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14151
+ fragmentDoc: chunkH5WMTA3W_cjs.ArtifactConnectionFragmentDoc,
14145
14152
  variables,
14146
14153
  isConnection: true,
14147
14154
  isList: false,
@@ -14159,7 +14166,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14159
14166
  }
14160
14167
  /** Include insight in this query (Smart Fetch — single HTTP request). */
14161
14168
  insight(variables, builder) {
14162
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_InsightDocument, "insight", ["id"]);
14169
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_InsightDocument, "insight", ["id"]);
14163
14170
  let children;
14164
14171
  if (builder) {
14165
14172
  const sub = new InsightSubBuilder();
@@ -14168,7 +14175,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14168
14175
  }
14169
14176
  this._includes.push({
14170
14177
  fieldName: "insight",
14171
- fragmentDoc: chunkGL6CUR7S_cjs.InsightFragmentDoc,
14178
+ fragmentDoc: chunkH5WMTA3W_cjs.InsightFragmentDoc,
14172
14179
  variables,
14173
14180
  isConnection: false,
14174
14181
  isList: false,
@@ -14185,7 +14192,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14185
14192
  }
14186
14193
  /** Include messages in this query (Smart Fetch — single HTTP request). */
14187
14194
  messages(variables, builder) {
14188
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_MessagesDocument, "messages", ["id"]);
14195
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_MessagesDocument, "messages", ["id"]);
14189
14196
  let children;
14190
14197
  if (builder) {
14191
14198
  const sub = new ChatMessageSubBuilder();
@@ -14194,7 +14201,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14194
14201
  }
14195
14202
  this._includes.push({
14196
14203
  fieldName: "messages",
14197
- fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageConnectionFragmentDoc,
14204
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatMessageConnectionFragmentDoc,
14198
14205
  variables,
14199
14206
  isConnection: true,
14200
14207
  isList: false,
@@ -14219,18 +14226,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk342BFYZZ_cjs.Request
14219
14226
  }
14220
14227
  async fetch(options) {
14221
14228
  const variables = this._variables;
14222
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_AgentsDocument, variables, "chat");
14229
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Chat_AgentsDocument, variables, "chat");
14223
14230
  const data = response.chat?.agents;
14224
14231
  return new AgentConnection(this._request, (conn, opts) => new _Chat_AgentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
14225
14232
  }
14226
14233
  watch(options) {
14227
14234
  const variables = this._variables;
14228
14235
  const raw = this._syncEngine.watch(
14229
- chunkGL6CUR7S_cjs.Chat_AgentsDocument,
14236
+ chunkH5WMTA3W_cjs.Chat_AgentsDocument,
14230
14237
  variables,
14231
14238
  "chat",
14232
14239
  async (db) => {
14233
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkGL6CUR7S_cjs.Chat_AgentsDocument));
14240
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkH5WMTA3W_cjs.Chat_AgentsDocument));
14234
14241
  const nodes = qr ? await db.table("agents").bulkGet(qr.entityIds) : [];
14235
14242
  return { chat: { agents: { __typename: "AgentConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14236
14243
  }
@@ -14249,18 +14256,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk342BFYZZ_cjs.R
14249
14256
  }
14250
14257
  async fetch(options) {
14251
14258
  const variables = this._variables;
14252
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, variables, "chat");
14259
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Chat_ArtifactsDocument, variables, "chat");
14253
14260
  const data = response.chat?.artifacts;
14254
14261
  return new ArtifactConnection(this._request, (conn, opts) => new _Chat_ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
14255
14262
  }
14256
14263
  watch(options) {
14257
14264
  const variables = this._variables;
14258
14265
  const raw = this._syncEngine.watch(
14259
- chunkGL6CUR7S_cjs.Chat_ArtifactsDocument,
14266
+ chunkH5WMTA3W_cjs.Chat_ArtifactsDocument,
14260
14267
  variables,
14261
14268
  "chat",
14262
14269
  async (db) => {
14263
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkGL6CUR7S_cjs.Chat_ArtifactsDocument));
14270
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkH5WMTA3W_cjs.Chat_ArtifactsDocument));
14264
14271
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
14265
14272
  return { chat: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14266
14273
  }
@@ -14279,14 +14286,14 @@ var Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
14279
14286
  }
14280
14287
  async fetch(options) {
14281
14288
  const variables = this._variables;
14282
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_InsightDocument, variables, "chat");
14289
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Chat_InsightDocument, variables, "chat");
14283
14290
  const data = response.chat?.insight;
14284
14291
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14285
14292
  }
14286
14293
  watch(options) {
14287
14294
  const variables = this._variables;
14288
14295
  const raw = this._syncEngine.watch(
14289
- chunkGL6CUR7S_cjs.Chat_InsightDocument,
14296
+ chunkH5WMTA3W_cjs.Chat_InsightDocument,
14290
14297
  variables,
14291
14298
  "chat",
14292
14299
  async (db) => {
@@ -14308,7 +14315,7 @@ var Chat_Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
14308
14315
  this._variables = variables;
14309
14316
  }
14310
14317
  async fetch(options) {
14311
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
14318
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
14312
14319
  const data = response.chat?.insight?.reportMembers;
14313
14320
  if (!Array.isArray(data)) return [];
14314
14321
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -14322,14 +14329,14 @@ var Chat_Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
14322
14329
  }
14323
14330
  async fetch(options) {
14324
14331
  const variables = this._variables;
14325
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
14332
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
14326
14333
  const data = response.chat?.insight?.thumbnailFile;
14327
14334
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14328
14335
  }
14329
14336
  watch(options) {
14330
14337
  const variables = this._variables;
14331
14338
  const raw = this._syncEngine.watch(
14332
- chunkGL6CUR7S_cjs.Chat_Insight_ThumbnailFileDocument,
14339
+ chunkH5WMTA3W_cjs.Chat_Insight_ThumbnailFileDocument,
14333
14340
  variables,
14334
14341
  "chat",
14335
14342
  async (db) => {
@@ -14352,18 +14359,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk342BFYZZ_cjs.Req
14352
14359
  }
14353
14360
  async fetch(options) {
14354
14361
  const variables = this._variables;
14355
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Chat_MessagesDocument, variables, "chat");
14362
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Chat_MessagesDocument, variables, "chat");
14356
14363
  const data = response.chat?.messages;
14357
14364
  return new ChatMessageConnection(this._request, (conn, opts) => new _Chat_MessagesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
14358
14365
  }
14359
14366
  watch(options) {
14360
14367
  const variables = this._variables;
14361
14368
  const raw = this._syncEngine.watch(
14362
- chunkGL6CUR7S_cjs.Chat_MessagesDocument,
14369
+ chunkH5WMTA3W_cjs.Chat_MessagesDocument,
14363
14370
  variables,
14364
14371
  "chat",
14365
14372
  async (db) => {
14366
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkGL6CUR7S_cjs.Chat_MessagesDocument));
14373
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkH5WMTA3W_cjs.Chat_MessagesDocument));
14367
14374
  const nodes = qr ? await db.table("chatMessages").bulkGet(qr.entityIds) : [];
14368
14375
  return { chat: { messages: { __typename: "ChatMessageConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14369
14376
  }
@@ -14383,7 +14390,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14383
14390
  }
14384
14391
  async fetch(options) {
14385
14392
  const variables = this._variables;
14386
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
14393
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
14387
14394
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
14388
14395
  const data = response.chatMessage;
14389
14396
  const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
@@ -14395,7 +14402,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14395
14402
  watch(options) {
14396
14403
  const variables = this._variables;
14397
14404
  const includes = this._includes;
14398
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessageDocument, "chatMessage", includes, variables);
14405
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatMessageDocument, "chatMessage", includes, variables);
14399
14406
  const raw = this._syncEngine.watch(
14400
14407
  queryDoc,
14401
14408
  mergedVars,
@@ -14425,7 +14432,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14425
14432
  }
14426
14433
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14427
14434
  artifacts(variables, builder) {
14428
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14435
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14429
14436
  let children;
14430
14437
  if (builder) {
14431
14438
  const sub = new ArtifactSubBuilder();
@@ -14434,7 +14441,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14434
14441
  }
14435
14442
  this._includes.push({
14436
14443
  fieldName: "artifacts",
14437
- fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14444
+ fragmentDoc: chunkH5WMTA3W_cjs.ArtifactConnectionFragmentDoc,
14438
14445
  variables,
14439
14446
  isConnection: true,
14440
14447
  isList: false,
@@ -14452,7 +14459,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14452
14459
  }
14453
14460
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14454
14461
  chat(variables, builder) {
14455
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14462
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14456
14463
  let children;
14457
14464
  if (builder) {
14458
14465
  const sub = new ChatSubBuilder();
@@ -14461,7 +14468,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14461
14468
  }
14462
14469
  this._includes.push({
14463
14470
  fieldName: "chat",
14464
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
14471
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
14465
14472
  variables,
14466
14473
  isConnection: false,
14467
14474
  isList: false,
@@ -14478,10 +14485,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14478
14485
  }
14479
14486
  /** Include contents in this query (Smart Fetch — single HTTP request). */
14480
14487
  contents(variables) {
14481
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14488
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14482
14489
  this._includes.push({
14483
14490
  fieldName: "contents",
14484
- fragmentDoc: chunkGL6CUR7S_cjs.ContentBlockFragmentDoc,
14491
+ fragmentDoc: chunkH5WMTA3W_cjs.ContentBlockFragmentDoc,
14485
14492
  variables,
14486
14493
  isConnection: false,
14487
14494
  isList: true,
@@ -14497,10 +14504,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
14497
14504
  }
14498
14505
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
14499
14506
  feedback(variables) {
14500
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14507
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14501
14508
  this._includes.push({
14502
14509
  fieldName: "feedback",
14503
- fragmentDoc: chunkGL6CUR7S_cjs.FeedbackFragmentDoc,
14510
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedbackFragmentDoc,
14504
14511
  variables,
14505
14512
  isConnection: false,
14506
14513
  isList: false,
@@ -14523,18 +14530,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
14523
14530
  }
14524
14531
  async fetch(options) {
14525
14532
  const variables = this._variables;
14526
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
14533
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
14527
14534
  const data = response.chatMessage?.artifacts;
14528
14535
  return new ArtifactConnection(this._request, (conn, opts) => new _ChatMessage_ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
14529
14536
  }
14530
14537
  watch(options) {
14531
14538
  const variables = this._variables;
14532
14539
  const raw = this._syncEngine.watch(
14533
- chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument,
14540
+ chunkH5WMTA3W_cjs.ChatMessage_ArtifactsDocument,
14534
14541
  variables,
14535
14542
  "chatMessage",
14536
14543
  async (db) => {
14537
- const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument));
14544
+ const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkH5WMTA3W_cjs.ChatMessage_ArtifactsDocument));
14538
14545
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
14539
14546
  return { chatMessage: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14540
14547
  }
@@ -14553,14 +14560,14 @@ var ChatMessage_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14553
14560
  }
14554
14561
  async fetch(options) {
14555
14562
  const variables = this._variables;
14556
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
14563
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
14557
14564
  const data = response.chatMessage?.chat;
14558
14565
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14559
14566
  }
14560
14567
  watch(options) {
14561
14568
  const variables = this._variables;
14562
14569
  const raw = this._syncEngine.watch(
14563
- chunkGL6CUR7S_cjs.ChatMessage_ChatDocument,
14570
+ chunkH5WMTA3W_cjs.ChatMessage_ChatDocument,
14564
14571
  variables,
14565
14572
  "chatMessage",
14566
14573
  async (db) => {
@@ -14583,14 +14590,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
14583
14590
  }
14584
14591
  async fetch(options) {
14585
14592
  const variables = this._variables;
14586
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
14593
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
14587
14594
  const data = response.chatMessage?.chat?.insight;
14588
14595
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14589
14596
  }
14590
14597
  watch(options) {
14591
14598
  const variables = this._variables;
14592
14599
  const raw = this._syncEngine.watch(
14593
- chunkGL6CUR7S_cjs.ChatMessage_Chat_InsightDocument,
14600
+ chunkH5WMTA3W_cjs.ChatMessage_Chat_InsightDocument,
14594
14601
  variables,
14595
14602
  "chatMessage",
14596
14603
  async (db) => {
@@ -14612,7 +14619,7 @@ var ChatMessage_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
14612
14619
  this._variables = variables;
14613
14620
  }
14614
14621
  async fetch(options) {
14615
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
14622
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
14616
14623
  const data = response.chatMessage?.contents;
14617
14624
  if (!Array.isArray(data)) return [];
14618
14625
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -14626,14 +14633,14 @@ var ChatMessage_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
14626
14633
  }
14627
14634
  async fetch(options) {
14628
14635
  const variables = this._variables;
14629
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
14636
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
14630
14637
  const data = response.chatMessage?.feedback;
14631
14638
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14632
14639
  }
14633
14640
  watch(options) {
14634
14641
  const variables = this._variables;
14635
14642
  const raw = this._syncEngine.watch(
14636
- chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument,
14643
+ chunkH5WMTA3W_cjs.ChatMessage_FeedbackDocument,
14637
14644
  variables,
14638
14645
  "chatMessage",
14639
14646
  async (db) => {
@@ -14657,7 +14664,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14657
14664
  }
14658
14665
  async fetch(options) {
14659
14666
  const variables = this._variables;
14660
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
14667
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
14661
14668
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
14662
14669
  const data = response.chatMessages;
14663
14670
  const connection = new ChatMessageConnection(this._request, (conn, opts) => new _ChatMessagesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -14674,7 +14681,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14674
14681
  const subscriptionId = crypto.randomUUID();
14675
14682
  const includes = this._includes;
14676
14683
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
14677
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
14684
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
14678
14685
  const raw = this._syncEngine.watch(
14679
14686
  queryDoc,
14680
14687
  mergedVars,
@@ -14709,7 +14716,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14709
14716
  }
14710
14717
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14711
14718
  artifacts(variables, builder) {
14712
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14719
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14713
14720
  let children;
14714
14721
  if (builder) {
14715
14722
  const sub = new ArtifactSubBuilder();
@@ -14718,7 +14725,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14718
14725
  }
14719
14726
  this._includes.push({
14720
14727
  fieldName: "artifacts",
14721
- fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14728
+ fragmentDoc: chunkH5WMTA3W_cjs.ArtifactConnectionFragmentDoc,
14722
14729
  variables,
14723
14730
  isConnection: true,
14724
14731
  isList: false,
@@ -14736,7 +14743,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14736
14743
  }
14737
14744
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14738
14745
  chat(variables, builder) {
14739
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14746
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14740
14747
  let children;
14741
14748
  if (builder) {
14742
14749
  const sub = new ChatSubBuilder();
@@ -14745,7 +14752,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14745
14752
  }
14746
14753
  this._includes.push({
14747
14754
  fieldName: "chat",
14748
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
14755
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
14749
14756
  variables,
14750
14757
  isConnection: false,
14751
14758
  isList: false,
@@ -14762,10 +14769,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14762
14769
  }
14763
14770
  /** Include contents in this query (Smart Fetch — single HTTP request). */
14764
14771
  contents(variables) {
14765
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14772
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14766
14773
  this._includes.push({
14767
14774
  fieldName: "contents",
14768
- fragmentDoc: chunkGL6CUR7S_cjs.ContentBlockFragmentDoc,
14775
+ fragmentDoc: chunkH5WMTA3W_cjs.ContentBlockFragmentDoc,
14769
14776
  variables,
14770
14777
  isConnection: false,
14771
14778
  isList: true,
@@ -14781,10 +14788,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
14781
14788
  }
14782
14789
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
14783
14790
  feedback(variables) {
14784
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14791
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14785
14792
  this._includes.push({
14786
14793
  fieldName: "feedback",
14787
- fragmentDoc: chunkGL6CUR7S_cjs.FeedbackFragmentDoc,
14794
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedbackFragmentDoc,
14788
14795
  variables,
14789
14796
  isConnection: false,
14790
14797
  isList: false,
@@ -14808,7 +14815,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14808
14815
  }
14809
14816
  async fetch(options) {
14810
14817
  const variables = this._variables;
14811
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatsDocument, "chats", this._includes, variables, true);
14818
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatsDocument, "chats", this._includes, variables, true);
14812
14819
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
14813
14820
  const data = response.chats;
14814
14821
  const connection = new ChatConnection(this._request, (conn, opts) => new _ChatsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -14825,7 +14832,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14825
14832
  const subscriptionId = crypto.randomUUID();
14826
14833
  const includes = this._includes;
14827
14834
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
14828
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ChatsDocument, "chats", includes, variables, true);
14835
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ChatsDocument, "chats", includes, variables, true);
14829
14836
  const raw = this._syncEngine.watch(
14830
14837
  queryDoc,
14831
14838
  mergedVars,
@@ -14860,7 +14867,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14860
14867
  }
14861
14868
  /** Include agents in this query (Smart Fetch — single HTTP request). */
14862
14869
  agents(variables, builder) {
14863
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_AgentsDocument, "agents", ["id"]);
14870
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_AgentsDocument, "agents", ["id"]);
14864
14871
  let children;
14865
14872
  if (builder) {
14866
14873
  const sub = new AgentSubBuilder();
@@ -14869,7 +14876,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14869
14876
  }
14870
14877
  this._includes.push({
14871
14878
  fieldName: "agents",
14872
- fragmentDoc: chunkGL6CUR7S_cjs.AgentConnectionFragmentDoc,
14879
+ fragmentDoc: chunkH5WMTA3W_cjs.AgentConnectionFragmentDoc,
14873
14880
  variables,
14874
14881
  isConnection: true,
14875
14882
  isList: false,
@@ -14887,7 +14894,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14887
14894
  }
14888
14895
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14889
14896
  artifacts(variables, builder) {
14890
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14897
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14891
14898
  let children;
14892
14899
  if (builder) {
14893
14900
  const sub = new ArtifactSubBuilder();
@@ -14896,7 +14903,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14896
14903
  }
14897
14904
  this._includes.push({
14898
14905
  fieldName: "artifacts",
14899
- fragmentDoc: chunkGL6CUR7S_cjs.ArtifactConnectionFragmentDoc,
14906
+ fragmentDoc: chunkH5WMTA3W_cjs.ArtifactConnectionFragmentDoc,
14900
14907
  variables,
14901
14908
  isConnection: true,
14902
14909
  isList: false,
@@ -14914,7 +14921,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14914
14921
  }
14915
14922
  /** Include insight in this query (Smart Fetch — single HTTP request). */
14916
14923
  insight(variables, builder) {
14917
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_InsightDocument, "insight", ["id"]);
14924
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_InsightDocument, "insight", ["id"]);
14918
14925
  let children;
14919
14926
  if (builder) {
14920
14927
  const sub = new InsightSubBuilder();
@@ -14923,7 +14930,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14923
14930
  }
14924
14931
  this._includes.push({
14925
14932
  fieldName: "insight",
14926
- fragmentDoc: chunkGL6CUR7S_cjs.InsightFragmentDoc,
14933
+ fragmentDoc: chunkH5WMTA3W_cjs.InsightFragmentDoc,
14927
14934
  variables,
14928
14935
  isConnection: false,
14929
14936
  isList: false,
@@ -14940,7 +14947,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14940
14947
  }
14941
14948
  /** Include messages in this query (Smart Fetch — single HTTP request). */
14942
14949
  messages(variables, builder) {
14943
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Chat_MessagesDocument, "messages", ["id"]);
14950
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Chat_MessagesDocument, "messages", ["id"]);
14944
14951
  let children;
14945
14952
  if (builder) {
14946
14953
  const sub = new ChatMessageSubBuilder();
@@ -14949,7 +14956,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
14949
14956
  }
14950
14957
  this._includes.push({
14951
14958
  fieldName: "messages",
14952
- fragmentDoc: chunkGL6CUR7S_cjs.ChatMessageConnectionFragmentDoc,
14959
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatMessageConnectionFragmentDoc,
14953
14960
  variables,
14954
14961
  isConnection: true,
14955
14962
  isList: false,
@@ -14975,7 +14982,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
14975
14982
  }
14976
14983
  async fetch(options) {
14977
14984
  const variables = this._variables;
14978
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseDocument, "database", this._includes, variables);
14985
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabaseDocument, "database", this._includes, variables);
14979
14986
  const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
14980
14987
  const data = response.database;
14981
14988
  const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
@@ -14987,7 +14994,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
14987
14994
  watch(options) {
14988
14995
  const variables = this._variables;
14989
14996
  const includes = this._includes;
14990
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseDocument, "database", includes, variables);
14997
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabaseDocument, "database", includes, variables);
14991
14998
  const raw = this._syncEngine.watch(
14992
14999
  queryDoc,
14993
15000
  mergedVars,
@@ -15017,10 +15024,10 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
15017
15024
  }
15018
15025
  /** Include engine in this query (Smart Fetch — single HTTP request). */
15019
15026
  engine(variables) {
15020
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_EngineDocument, "engine", ["id"]);
15027
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Database_EngineDocument, "engine", ["id"]);
15021
15028
  this._includes.push({
15022
15029
  fieldName: "engine",
15023
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
15030
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseEngineFragmentDoc,
15024
15031
  variables,
15025
15032
  isConnection: false,
15026
15033
  isList: false,
@@ -15036,7 +15043,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
15036
15043
  }
15037
15044
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15038
15045
  tables(variables, builder) {
15039
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_TablesDocument, "tables", ["id"]);
15046
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Database_TablesDocument, "tables", ["id"]);
15040
15047
  let children;
15041
15048
  if (builder) {
15042
15049
  const sub = new TableSubBuilder();
@@ -15045,7 +15052,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
15045
15052
  }
15046
15053
  this._includes.push({
15047
15054
  fieldName: "tables",
15048
- fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
15055
+ fragmentDoc: chunkH5WMTA3W_cjs.TableConnectionFragmentDoc,
15049
15056
  variables,
15050
15057
  isConnection: true,
15051
15058
  isList: false,
@@ -15070,14 +15077,14 @@ var Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
15070
15077
  }
15071
15078
  async fetch(options) {
15072
15079
  const variables = this._variables;
15073
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Database_EngineDocument, variables, "database");
15080
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Database_EngineDocument, variables, "database");
15074
15081
  const data = response.database?.engine;
15075
15082
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15076
15083
  }
15077
15084
  watch(options) {
15078
15085
  const variables = this._variables;
15079
15086
  const raw = this._syncEngine.watch(
15080
- chunkGL6CUR7S_cjs.Database_EngineDocument,
15087
+ chunkH5WMTA3W_cjs.Database_EngineDocument,
15081
15088
  variables,
15082
15089
  "database",
15083
15090
  async (db) => {
@@ -15100,14 +15107,14 @@ var Database_Engine_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15100
15107
  }
15101
15108
  async fetch(options) {
15102
15109
  const variables = this._variables;
15103
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Database_Engine_CatalogDocument, variables, "database");
15110
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Database_Engine_CatalogDocument, variables, "database");
15104
15111
  const data = response.database?.engine?.catalog;
15105
15112
  return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15106
15113
  }
15107
15114
  watch(options) {
15108
15115
  const variables = this._variables;
15109
15116
  const raw = this._syncEngine.watch(
15110
- chunkGL6CUR7S_cjs.Database_Engine_CatalogDocument,
15117
+ chunkH5WMTA3W_cjs.Database_Engine_CatalogDocument,
15111
15118
  variables,
15112
15119
  "database",
15113
15120
  async (db) => {
@@ -15130,18 +15137,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk342BFYZZ_cjs
15130
15137
  }
15131
15138
  async fetch(options) {
15132
15139
  const variables = this._variables;
15133
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Database_TablesDocument, variables, "database");
15140
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Database_TablesDocument, variables, "database");
15134
15141
  const data = response.database?.tables;
15135
15142
  return new TableConnection(this._request, (conn, opts) => new _Database_TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
15136
15143
  }
15137
15144
  watch(options) {
15138
15145
  const variables = this._variables;
15139
15146
  const raw = this._syncEngine.watch(
15140
- chunkGL6CUR7S_cjs.Database_TablesDocument,
15147
+ chunkH5WMTA3W_cjs.Database_TablesDocument,
15141
15148
  variables,
15142
15149
  "database",
15143
15150
  async (db) => {
15144
- const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkGL6CUR7S_cjs.Database_TablesDocument));
15151
+ const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkH5WMTA3W_cjs.Database_TablesDocument));
15145
15152
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
15146
15153
  return { database: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15147
15154
  }
@@ -15161,7 +15168,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15161
15168
  }
15162
15169
  async fetch(options) {
15163
15170
  const variables = this._variables;
15164
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
15171
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
15165
15172
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
15166
15173
  const data = response.databaseCatalog;
15167
15174
  const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -15173,7 +15180,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15173
15180
  watch(options) {
15174
15181
  const variables = this._variables;
15175
15182
  const includes = this._includes;
15176
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
15183
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
15177
15184
  const raw = this._syncEngine.watch(
15178
15185
  queryDoc,
15179
15186
  mergedVars,
@@ -15203,10 +15210,10 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15203
15210
  }
15204
15211
  /** Include engine in this query (Smart Fetch — single HTTP request). */
15205
15212
  engine(variables) {
15206
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15213
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15207
15214
  this._includes.push({
15208
15215
  fieldName: "engine",
15209
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
15216
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseEngineFragmentDoc,
15210
15217
  variables,
15211
15218
  isConnection: false,
15212
15219
  isList: false,
@@ -15229,14 +15236,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
15229
15236
  }
15230
15237
  async fetch(options) {
15231
15238
  const variables = this._variables;
15232
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
15239
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
15233
15240
  const data = response.databaseCatalog?.engine;
15234
15241
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15235
15242
  }
15236
15243
  watch(options) {
15237
15244
  const variables = this._variables;
15238
15245
  const raw = this._syncEngine.watch(
15239
- chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument,
15246
+ chunkH5WMTA3W_cjs.DatabaseCatalog_EngineDocument,
15240
15247
  variables,
15241
15248
  "databaseCatalog",
15242
15249
  async (db) => {
@@ -15260,7 +15267,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15260
15267
  }
15261
15268
  async fetch(options) {
15262
15269
  const variables = this._variables;
15263
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
15270
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
15264
15271
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
15265
15272
  const data = response.databaseCatalogs;
15266
15273
  const connection = new DatabaseCatalogConnection(this._request, (conn, opts) => new _DatabaseCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15277,7 +15284,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15277
15284
  const subscriptionId = crypto.randomUUID();
15278
15285
  const includes = this._includes;
15279
15286
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
15280
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
15287
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
15281
15288
  const raw = this._syncEngine.watch(
15282
15289
  queryDoc,
15283
15290
  mergedVars,
@@ -15312,10 +15319,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15312
15319
  }
15313
15320
  /** Include engine in this query (Smart Fetch — single HTTP request). */
15314
15321
  engine(variables) {
15315
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15322
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.DatabaseCatalog_EngineDocument, "engine", []);
15316
15323
  this._includes.push({
15317
15324
  fieldName: "engine",
15318
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
15325
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseEngineFragmentDoc,
15319
15326
  variables,
15320
15327
  isConnection: false,
15321
15328
  isList: false,
@@ -15332,7 +15339,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
15332
15339
  };
15333
15340
  var DatabaseSchemaQuery = class extends chunk342BFYZZ_cjs.Request {
15334
15341
  async fetch(variables) {
15335
- const response = await this._request(chunkGL6CUR7S_cjs.DatabaseSchemaDocument, variables);
15342
+ const response = await this._request(chunkH5WMTA3W_cjs.DatabaseSchemaDocument, variables);
15336
15343
  return response.databaseSchema;
15337
15344
  }
15338
15345
  };
@@ -15345,7 +15352,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15345
15352
  }
15346
15353
  async fetch(options) {
15347
15354
  const variables = this._variables;
15348
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabasesDocument, "databases", this._includes, variables, true);
15355
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabasesDocument, "databases", this._includes, variables, true);
15349
15356
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
15350
15357
  const data = response.databases;
15351
15358
  const connection = new DatabaseConnection(this._request, (conn, opts) => new _DatabasesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15362,7 +15369,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15362
15369
  const subscriptionId = crypto.randomUUID();
15363
15370
  const includes = this._includes;
15364
15371
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
15365
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DatabasesDocument, "databases", includes, variables, true);
15372
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DatabasesDocument, "databases", includes, variables, true);
15366
15373
  const raw = this._syncEngine.watch(
15367
15374
  queryDoc,
15368
15375
  mergedVars,
@@ -15397,10 +15404,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15397
15404
  }
15398
15405
  /** Include engine in this query (Smart Fetch — single HTTP request). */
15399
15406
  engine(variables) {
15400
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_EngineDocument, "engine", ["id"]);
15407
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Database_EngineDocument, "engine", ["id"]);
15401
15408
  this._includes.push({
15402
15409
  fieldName: "engine",
15403
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseEngineFragmentDoc,
15410
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseEngineFragmentDoc,
15404
15411
  variables,
15405
15412
  isConnection: false,
15406
15413
  isList: false,
@@ -15416,7 +15423,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15416
15423
  }
15417
15424
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15418
15425
  tables(variables, builder) {
15419
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Database_TablesDocument, "tables", ["id"]);
15426
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Database_TablesDocument, "tables", ["id"]);
15420
15427
  let children;
15421
15428
  if (builder) {
15422
15429
  const sub = new TableSubBuilder();
@@ -15425,7 +15432,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
15425
15432
  }
15426
15433
  this._includes.push({
15427
15434
  fieldName: "tables",
15428
- fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
15435
+ fragmentDoc: chunkH5WMTA3W_cjs.TableConnectionFragmentDoc,
15429
15436
  variables,
15430
15437
  isConnection: true,
15431
15438
  isList: false,
@@ -15451,7 +15458,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15451
15458
  }
15452
15459
  async fetch(options) {
15453
15460
  const variables = this._variables;
15454
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentDocument, "document", this._includes, variables);
15461
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentDocument, "document", this._includes, variables);
15455
15462
  const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
15456
15463
  const data = response.document;
15457
15464
  const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
@@ -15463,7 +15470,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15463
15470
  watch(options) {
15464
15471
  const variables = this._variables;
15465
15472
  const includes = this._includes;
15466
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentDocument, "document", includes, variables);
15473
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentDocument, "document", includes, variables);
15467
15474
  const raw = this._syncEngine.watch(
15468
15475
  queryDoc,
15469
15476
  mergedVars,
@@ -15493,10 +15500,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15493
15500
  }
15494
15501
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15495
15502
  contents(variables) {
15496
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_ContentsDocument, "contents", ["id"]);
15503
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_ContentsDocument, "contents", ["id"]);
15497
15504
  this._includes.push({
15498
15505
  fieldName: "contents",
15499
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentContentFragmentDoc,
15506
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentContentFragmentDoc,
15500
15507
  variables,
15501
15508
  isConnection: false,
15502
15509
  isList: true,
@@ -15512,10 +15519,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15512
15519
  }
15513
15520
  /** Include file in this query (Smart Fetch — single HTTP request). */
15514
15521
  file(variables) {
15515
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FileDocument, "file", ["id"]);
15522
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_FileDocument, "file", ["id"]);
15516
15523
  this._includes.push({
15517
15524
  fieldName: "file",
15518
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
15525
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
15519
15526
  variables,
15520
15527
  isConnection: false,
15521
15528
  isList: false,
@@ -15531,10 +15538,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15531
15538
  }
15532
15539
  /** Include format in this query (Smart Fetch — single HTTP request). */
15533
15540
  format(variables) {
15534
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FormatDocument, "format", ["id"]);
15541
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_FormatDocument, "format", ["id"]);
15535
15542
  this._includes.push({
15536
15543
  fieldName: "format",
15537
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15544
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFormatFragmentDoc,
15538
15545
  variables,
15539
15546
  isConnection: false,
15540
15547
  isList: false,
@@ -15550,7 +15557,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15550
15557
  }
15551
15558
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15552
15559
  tables(variables, builder) {
15553
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_TablesDocument, "tables", ["id"]);
15560
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_TablesDocument, "tables", ["id"]);
15554
15561
  let children;
15555
15562
  if (builder) {
15556
15563
  const sub = new TableSubBuilder();
@@ -15559,7 +15566,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
15559
15566
  }
15560
15567
  this._includes.push({
15561
15568
  fieldName: "tables",
15562
- fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
15569
+ fragmentDoc: chunkH5WMTA3W_cjs.TableConnectionFragmentDoc,
15563
15570
  variables,
15564
15571
  isConnection: true,
15565
15572
  isList: false,
@@ -15583,7 +15590,7 @@ var Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
15583
15590
  this._variables = variables;
15584
15591
  }
15585
15592
  async fetch(options) {
15586
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_ContentsDocument, this._variables, "document");
15593
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Document_ContentsDocument, this._variables, "document");
15587
15594
  const data = response.document?.contents;
15588
15595
  if (!Array.isArray(data)) return [];
15589
15596
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -15597,14 +15604,14 @@ var Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
15597
15604
  }
15598
15605
  async fetch(options) {
15599
15606
  const variables = this._variables;
15600
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_FileDocument, variables, "document");
15607
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Document_FileDocument, variables, "document");
15601
15608
  const data = response.document?.file;
15602
15609
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15603
15610
  }
15604
15611
  watch(options) {
15605
15612
  const variables = this._variables;
15606
15613
  const raw = this._syncEngine.watch(
15607
- chunkGL6CUR7S_cjs.Document_FileDocument,
15614
+ chunkH5WMTA3W_cjs.Document_FileDocument,
15608
15615
  variables,
15609
15616
  "document",
15610
15617
  async (db) => {
@@ -15627,14 +15634,14 @@ var Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
15627
15634
  }
15628
15635
  async fetch(options) {
15629
15636
  const variables = this._variables;
15630
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_FormatDocument, variables, "document");
15637
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Document_FormatDocument, variables, "document");
15631
15638
  const data = response.document?.format;
15632
15639
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15633
15640
  }
15634
15641
  watch(options) {
15635
15642
  const variables = this._variables;
15636
15643
  const raw = this._syncEngine.watch(
15637
- chunkGL6CUR7S_cjs.Document_FormatDocument,
15644
+ chunkH5WMTA3W_cjs.Document_FormatDocument,
15638
15645
  variables,
15639
15646
  "document",
15640
15647
  async (db) => {
@@ -15657,14 +15664,14 @@ var Document_Format_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15657
15664
  }
15658
15665
  async fetch(options) {
15659
15666
  const variables = this._variables;
15660
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_Format_CatalogDocument, variables, "document");
15667
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Document_Format_CatalogDocument, variables, "document");
15661
15668
  const data = response.document?.format?.catalog;
15662
15669
  return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15663
15670
  }
15664
15671
  watch(options) {
15665
15672
  const variables = this._variables;
15666
15673
  const raw = this._syncEngine.watch(
15667
- chunkGL6CUR7S_cjs.Document_Format_CatalogDocument,
15674
+ chunkH5WMTA3W_cjs.Document_Format_CatalogDocument,
15668
15675
  variables,
15669
15676
  "document",
15670
15677
  async (db) => {
@@ -15687,18 +15694,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk342BFYZZ_cjs
15687
15694
  }
15688
15695
  async fetch(options) {
15689
15696
  const variables = this._variables;
15690
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Document_TablesDocument, variables, "document");
15697
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Document_TablesDocument, variables, "document");
15691
15698
  const data = response.document?.tables;
15692
15699
  return new TableConnection(this._request, (conn, opts) => new _Document_TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
15693
15700
  }
15694
15701
  watch(options) {
15695
15702
  const variables = this._variables;
15696
15703
  const raw = this._syncEngine.watch(
15697
- chunkGL6CUR7S_cjs.Document_TablesDocument,
15704
+ chunkH5WMTA3W_cjs.Document_TablesDocument,
15698
15705
  variables,
15699
15706
  "document",
15700
15707
  async (db) => {
15701
- const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkGL6CUR7S_cjs.Document_TablesDocument));
15708
+ const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkH5WMTA3W_cjs.Document_TablesDocument));
15702
15709
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
15703
15710
  return { document: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15704
15711
  }
@@ -15718,7 +15725,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15718
15725
  }
15719
15726
  async fetch(options) {
15720
15727
  const variables = this._variables;
15721
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
15728
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
15722
15729
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
15723
15730
  const data = response.documentCatalog;
15724
15731
  const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -15730,7 +15737,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15730
15737
  watch(options) {
15731
15738
  const variables = this._variables;
15732
15739
  const includes = this._includes;
15733
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
15740
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
15734
15741
  const raw = this._syncEngine.watch(
15735
15742
  queryDoc,
15736
15743
  mergedVars,
@@ -15760,10 +15767,10 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
15760
15767
  }
15761
15768
  /** Include format in this query (Smart Fetch — single HTTP request). */
15762
15769
  format(variables) {
15763
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, "format", []);
15770
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.DocumentCatalog_FormatDocument, "format", []);
15764
15771
  this._includes.push({
15765
15772
  fieldName: "format",
15766
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15773
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFormatFragmentDoc,
15767
15774
  variables,
15768
15775
  isConnection: false,
15769
15776
  isList: false,
@@ -15786,14 +15793,14 @@ var DocumentCatalog_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
15786
15793
  }
15787
15794
  async fetch(options) {
15788
15795
  const variables = this._variables;
15789
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
15796
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
15790
15797
  const data = response.documentCatalog?.format;
15791
15798
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15792
15799
  }
15793
15800
  watch(options) {
15794
15801
  const variables = this._variables;
15795
15802
  const raw = this._syncEngine.watch(
15796
- chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument,
15803
+ chunkH5WMTA3W_cjs.DocumentCatalog_FormatDocument,
15797
15804
  variables,
15798
15805
  "documentCatalog",
15799
15806
  async (db) => {
@@ -15817,7 +15824,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
15817
15824
  }
15818
15825
  async fetch(options) {
15819
15826
  const variables = this._variables;
15820
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
15827
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
15821
15828
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
15822
15829
  const data = response.documentCatalogs;
15823
15830
  const connection = new DocumentCatalogConnection(this._request, (conn, opts) => new _DocumentCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15834,7 +15841,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
15834
15841
  const subscriptionId = crypto.randomUUID();
15835
15842
  const includes = this._includes;
15836
15843
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
15837
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
15844
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
15838
15845
  const raw = this._syncEngine.watch(
15839
15846
  queryDoc,
15840
15847
  mergedVars,
@@ -15869,10 +15876,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
15869
15876
  }
15870
15877
  /** Include format in this query (Smart Fetch — single HTTP request). */
15871
15878
  format(variables) {
15872
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.DocumentCatalog_FormatDocument, "format", []);
15879
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.DocumentCatalog_FormatDocument, "format", []);
15873
15880
  this._includes.push({
15874
15881
  fieldName: "format",
15875
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15882
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFormatFragmentDoc,
15876
15883
  variables,
15877
15884
  isConnection: false,
15878
15885
  isList: false,
@@ -15896,7 +15903,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15896
15903
  }
15897
15904
  async fetch(options) {
15898
15905
  const variables = this._variables;
15899
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentsDocument, "documents", this._includes, variables, true);
15906
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentsDocument, "documents", this._includes, variables, true);
15900
15907
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
15901
15908
  const data = response.documents;
15902
15909
  const connection = new DocumentConnection(this._request, (conn, opts) => new _DocumentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15913,7 +15920,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15913
15920
  const subscriptionId = crypto.randomUUID();
15914
15921
  const includes = this._includes;
15915
15922
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
15916
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.DocumentsDocument, "documents", includes, variables, true);
15923
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.DocumentsDocument, "documents", includes, variables, true);
15917
15924
  const raw = this._syncEngine.watch(
15918
15925
  queryDoc,
15919
15926
  mergedVars,
@@ -15948,10 +15955,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15948
15955
  }
15949
15956
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15950
15957
  contents(variables) {
15951
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_ContentsDocument, "contents", ["id"]);
15958
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_ContentsDocument, "contents", ["id"]);
15952
15959
  this._includes.push({
15953
15960
  fieldName: "contents",
15954
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentContentFragmentDoc,
15961
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentContentFragmentDoc,
15955
15962
  variables,
15956
15963
  isConnection: false,
15957
15964
  isList: true,
@@ -15967,10 +15974,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15967
15974
  }
15968
15975
  /** Include file in this query (Smart Fetch — single HTTP request). */
15969
15976
  file(variables) {
15970
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FileDocument, "file", ["id"]);
15977
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_FileDocument, "file", ["id"]);
15971
15978
  this._includes.push({
15972
15979
  fieldName: "file",
15973
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
15980
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
15974
15981
  variables,
15975
15982
  isConnection: false,
15976
15983
  isList: false,
@@ -15986,10 +15993,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
15986
15993
  }
15987
15994
  /** Include format in this query (Smart Fetch — single HTTP request). */
15988
15995
  format(variables) {
15989
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_FormatDocument, "format", ["id"]);
15996
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_FormatDocument, "format", ["id"]);
15990
15997
  this._includes.push({
15991
15998
  fieldName: "format",
15992
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFormatFragmentDoc,
15999
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFormatFragmentDoc,
15993
16000
  variables,
15994
16001
  isConnection: false,
15995
16002
  isList: false,
@@ -16005,7 +16012,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
16005
16012
  }
16006
16013
  /** Include tables in this query (Smart Fetch — single HTTP request). */
16007
16014
  tables(variables, builder) {
16008
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Document_TablesDocument, "tables", ["id"]);
16015
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Document_TablesDocument, "tables", ["id"]);
16009
16016
  let children;
16010
16017
  if (builder) {
16011
16018
  const sub = new TableSubBuilder();
@@ -16014,7 +16021,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
16014
16021
  }
16015
16022
  this._includes.push({
16016
16023
  fieldName: "tables",
16017
- fragmentDoc: chunkGL6CUR7S_cjs.TableConnectionFragmentDoc,
16024
+ fragmentDoc: chunkH5WMTA3W_cjs.TableConnectionFragmentDoc,
16018
16025
  variables,
16019
16026
  isConnection: true,
16020
16027
  isList: false,
@@ -16033,13 +16040,13 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
16033
16040
  };
16034
16041
  var ExportQuery = class extends chunk342BFYZZ_cjs.Request {
16035
16042
  async fetch(variables) {
16036
- const response = await this._request(chunkGL6CUR7S_cjs.ExportDocument, variables);
16043
+ const response = await this._request(chunkH5WMTA3W_cjs.ExportDocument, variables);
16037
16044
  return response.export;
16038
16045
  }
16039
16046
  };
16040
16047
  var ExportWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
16041
16048
  async fetch(variables) {
16042
- const response = await this._request(chunkGL6CUR7S_cjs.ExportWithInsightIdDocument, variables);
16049
+ const response = await this._request(chunkH5WMTA3W_cjs.ExportWithInsightIdDocument, variables);
16043
16050
  return response.exportWithInsightId;
16044
16051
  }
16045
16052
  };
@@ -16052,7 +16059,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
16052
16059
  }
16053
16060
  async fetch(options) {
16054
16061
  const variables = this._variables;
16055
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemDocument, "feedItem", this._includes, variables);
16062
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FeedItemDocument, "feedItem", this._includes, variables);
16056
16063
  const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItem");
16057
16064
  const data = response.feedItem;
16058
16065
  if (!data) return void 0;
@@ -16065,7 +16072,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
16065
16072
  watch(options) {
16066
16073
  const variables = this._variables;
16067
16074
  const includes = this._includes;
16068
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemDocument, "feedItem", includes, variables);
16075
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FeedItemDocument, "feedItem", includes, variables);
16069
16076
  const raw = this._syncEngine.watch(
16070
16077
  queryDoc,
16071
16078
  mergedVars,
@@ -16096,10 +16103,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
16096
16103
  }
16097
16104
  /** Include action in this query (Smart Fetch — single HTTP request). */
16098
16105
  action(variables) {
16099
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, "action", ["id"]);
16106
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.FeedItem_ActionDocument, "action", ["id"]);
16100
16107
  this._includes.push({
16101
16108
  fieldName: "action",
16102
- fragmentDoc: chunkGL6CUR7S_cjs.FeedSendMessageActionFragmentDoc,
16109
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedSendMessageActionFragmentDoc,
16103
16110
  variables,
16104
16111
  isConnection: false,
16105
16112
  isList: false,
@@ -16115,10 +16122,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
16115
16122
  }
16116
16123
  /** Include data in this query (Smart Fetch — single HTTP request). */
16117
16124
  data(variables) {
16118
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_DataDocument, "data", ["id"]);
16125
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.FeedItem_DataDocument, "data", ["id"]);
16119
16126
  this._includes.push({
16120
16127
  fieldName: "data",
16121
- fragmentDoc: chunkGL6CUR7S_cjs.FeedArtifactDataFragmentDoc,
16128
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedArtifactDataFragmentDoc,
16122
16129
  variables,
16123
16130
  isConnection: false,
16124
16131
  isList: true,
@@ -16141,14 +16148,14 @@ var FeedItem_ActionQuery = class extends chunk342BFYZZ_cjs.Request {
16141
16148
  }
16142
16149
  async fetch(options) {
16143
16150
  const variables = this._variables;
16144
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, variables, "feedItem");
16151
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.FeedItem_ActionDocument, variables, "feedItem");
16145
16152
  const data = response.feedItem?.action;
16146
16153
  return data ? new FeedSendMessageAction(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16147
16154
  }
16148
16155
  watch(options) {
16149
16156
  const variables = this._variables;
16150
16157
  const raw = this._syncEngine.watch(
16151
- chunkGL6CUR7S_cjs.FeedItem_ActionDocument,
16158
+ chunkH5WMTA3W_cjs.FeedItem_ActionDocument,
16152
16159
  variables,
16153
16160
  "feedItem",
16154
16161
  async (db) => {
@@ -16170,7 +16177,7 @@ var FeedItem_DataQuery = class extends chunk342BFYZZ_cjs.Request {
16170
16177
  this._variables = variables;
16171
16178
  }
16172
16179
  async fetch(options) {
16173
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.FeedItem_DataDocument, this._variables, "feedItem");
16180
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.FeedItem_DataDocument, this._variables, "feedItem");
16174
16181
  const data = response.feedItem?.data;
16175
16182
  if (!Array.isArray(data)) return [];
16176
16183
  return data.map((item) => new FeedArtifactData(this._request, item, this._syncEngine, this._baseUrl));
@@ -16185,7 +16192,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16185
16192
  }
16186
16193
  async fetch(options) {
16187
16194
  const variables = this._variables;
16188
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
16195
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
16189
16196
  const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItems");
16190
16197
  const data = response.feedItems;
16191
16198
  const connection = new FeedConnection(this._request, (conn, opts) => new _FeedItemsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16202,7 +16209,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16202
16209
  const subscriptionId = crypto.randomUUID();
16203
16210
  const includes = this._includes;
16204
16211
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
16205
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
16212
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
16206
16213
  const raw = this._syncEngine.watch(
16207
16214
  queryDoc,
16208
16215
  mergedVars,
@@ -16237,10 +16244,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16237
16244
  }
16238
16245
  /** Include action in this query (Smart Fetch — single HTTP request). */
16239
16246
  action(variables) {
16240
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_ActionDocument, "action", ["id"]);
16247
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.FeedItem_ActionDocument, "action", ["id"]);
16241
16248
  this._includes.push({
16242
16249
  fieldName: "action",
16243
- fragmentDoc: chunkGL6CUR7S_cjs.FeedSendMessageActionFragmentDoc,
16250
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedSendMessageActionFragmentDoc,
16244
16251
  variables,
16245
16252
  isConnection: false,
16246
16253
  isList: false,
@@ -16256,10 +16263,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16256
16263
  }
16257
16264
  /** Include data in this query (Smart Fetch — single HTTP request). */
16258
16265
  data(variables) {
16259
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.FeedItem_DataDocument, "data", ["id"]);
16266
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.FeedItem_DataDocument, "data", ["id"]);
16260
16267
  this._includes.push({
16261
16268
  fieldName: "data",
16262
- fragmentDoc: chunkGL6CUR7S_cjs.FeedArtifactDataFragmentDoc,
16269
+ fragmentDoc: chunkH5WMTA3W_cjs.FeedArtifactDataFragmentDoc,
16263
16270
  variables,
16264
16271
  isConnection: false,
16265
16272
  isList: true,
@@ -16276,7 +16283,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
16276
16283
  };
16277
16284
  var FileQuery = class extends chunk342BFYZZ_cjs.Request {
16278
16285
  async fetch(variables) {
16279
- const response = await this._request(chunkGL6CUR7S_cjs.FileDocument, variables);
16286
+ const response = await this._request(chunkH5WMTA3W_cjs.FileDocument, variables);
16280
16287
  return response.file;
16281
16288
  }
16282
16289
  };
@@ -16289,7 +16296,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
16289
16296
  }
16290
16297
  async fetch(options) {
16291
16298
  const variables = this._variables;
16292
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
16299
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
16293
16300
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
16294
16301
  const data = response.fileMeta;
16295
16302
  if (!data) return void 0;
@@ -16302,7 +16309,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
16302
16309
  watch(options) {
16303
16310
  const variables = this._variables;
16304
16311
  const includes = this._includes;
16305
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FileMetaDocument, "fileMeta", includes, variables);
16312
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FileMetaDocument, "fileMeta", includes, variables);
16306
16313
  const raw = this._syncEngine.watch(
16307
16314
  queryDoc,
16308
16315
  mergedVars,
@@ -16340,7 +16347,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
16340
16347
  this._variables = variables;
16341
16348
  }
16342
16349
  async fetch(options) {
16343
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
16350
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
16344
16351
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
16345
16352
  const data = response.fileUrls;
16346
16353
  if (!Array.isArray(data)) return [];
@@ -16349,7 +16356,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
16349
16356
  };
16350
16357
  var FindFitTierQuery = class extends chunk342BFYZZ_cjs.Request {
16351
16358
  async fetch(variables) {
16352
- const response = await this._request(chunkGL6CUR7S_cjs.FindFitTierDocument, variables);
16359
+ const response = await this._request(chunkH5WMTA3W_cjs.FindFitTierDocument, variables);
16353
16360
  return response.findFitTier ?? void 0;
16354
16361
  }
16355
16362
  };
@@ -16362,7 +16369,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
16362
16369
  }
16363
16370
  async fetch(options) {
16364
16371
  const variables = this._variables;
16365
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FolderDocument, "folder", this._includes, variables);
16372
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FolderDocument, "folder", this._includes, variables);
16366
16373
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
16367
16374
  const data = response.folder;
16368
16375
  const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
@@ -16374,7 +16381,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
16374
16381
  watch(options) {
16375
16382
  const variables = this._variables;
16376
16383
  const includes = this._includes;
16377
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FolderDocument, "folder", includes, variables);
16384
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FolderDocument, "folder", includes, variables);
16378
16385
  const raw = this._syncEngine.watch(
16379
16386
  queryDoc,
16380
16387
  mergedVars,
@@ -16412,7 +16419,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
16412
16419
  }
16413
16420
  async fetch(options) {
16414
16421
  const variables = this._variables;
16415
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FoldersDocument, "folders", this._includes, variables, true);
16422
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FoldersDocument, "folders", this._includes, variables, true);
16416
16423
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
16417
16424
  const data = response.folders;
16418
16425
  const connection = new FolderConnection(this._request, (conn, opts) => new _FoldersQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16429,7 +16436,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
16429
16436
  const subscriptionId = crypto.randomUUID();
16430
16437
  const includes = this._includes;
16431
16438
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
16432
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.FoldersDocument, "folders", includes, variables, true);
16439
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.FoldersDocument, "folders", includes, variables, true);
16433
16440
  const raw = this._syncEngine.watch(
16434
16441
  queryDoc,
16435
16442
  mergedVars,
@@ -16465,7 +16472,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
16465
16472
  };
16466
16473
  var GetCapabilityQuery = class extends chunk342BFYZZ_cjs.Request {
16467
16474
  async fetch(variables) {
16468
- const response = await this._request(chunkGL6CUR7S_cjs.GetCapabilityDocument, variables);
16475
+ const response = await this._request(chunkH5WMTA3W_cjs.GetCapabilityDocument, variables);
16469
16476
  return response.getCapability;
16470
16477
  }
16471
16478
  };
@@ -16478,7 +16485,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
16478
16485
  }
16479
16486
  async fetch(options) {
16480
16487
  const variables = this._variables;
16481
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
16488
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
16482
16489
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
16483
16490
  const data = response.getDevAccessToken;
16484
16491
  const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
@@ -16490,7 +16497,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
16490
16497
  watch(options) {
16491
16498
  const variables = this._variables;
16492
16499
  const includes = this._includes;
16493
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
16500
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
16494
16501
  const raw = this._syncEngine.watch(
16495
16502
  queryDoc,
16496
16503
  mergedVars,
@@ -16521,13 +16528,13 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
16521
16528
  };
16522
16529
  var GetLimitQuery = class extends chunk342BFYZZ_cjs.Request {
16523
16530
  async fetch(variables) {
16524
- const response = await this._request(chunkGL6CUR7S_cjs.GetLimitDocument, variables);
16531
+ const response = await this._request(chunkH5WMTA3W_cjs.GetLimitDocument, variables);
16525
16532
  return response.getLimit ?? void 0;
16526
16533
  }
16527
16534
  };
16528
16535
  var GetRemainingQuery = class extends chunk342BFYZZ_cjs.Request {
16529
16536
  async fetch(variables) {
16530
- const response = await this._request(chunkGL6CUR7S_cjs.GetRemainingDocument, variables);
16537
+ const response = await this._request(chunkH5WMTA3W_cjs.GetRemainingDocument, variables);
16531
16538
  return response.getRemaining ?? void 0;
16532
16539
  }
16533
16540
  };
@@ -16539,7 +16546,7 @@ var GetTokenUsageByModelQuery = class extends chunk342BFYZZ_cjs.Request {
16539
16546
  this._variables = variables;
16540
16547
  }
16541
16548
  async fetch(options) {
16542
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
16549
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
16543
16550
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
16544
16551
  const data = response.getTokenUsageByModel;
16545
16552
  if (!Array.isArray(data)) return [];
@@ -16554,7 +16561,7 @@ var GetTokenUsageHistoryQuery = class extends chunk342BFYZZ_cjs.Request {
16554
16561
  this._variables = variables;
16555
16562
  }
16556
16563
  async fetch(options) {
16557
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
16564
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
16558
16565
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
16559
16566
  const data = response.getTokenUsageHistory;
16560
16567
  if (!Array.isArray(data)) return [];
@@ -16570,7 +16577,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
16570
16577
  }
16571
16578
  async fetch(options) {
16572
16579
  const variables = this._variables;
16573
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
16580
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
16574
16581
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
16575
16582
  const data = response.getTokenUsageStatus;
16576
16583
  const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
@@ -16582,7 +16589,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
16582
16589
  watch(options) {
16583
16590
  const variables = this._variables;
16584
16591
  const includes = this._includes;
16585
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
16592
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
16586
16593
  const raw = this._syncEngine.watch(
16587
16594
  queryDoc,
16588
16595
  mergedVars,
@@ -16612,10 +16619,10 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
16612
16619
  }
16613
16620
  /** Include windows in this query (Smart Fetch — single HTTP request). */
16614
16621
  windows(variables) {
16615
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
16622
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
16616
16623
  this._includes.push({
16617
16624
  fieldName: "windows",
16618
- fragmentDoc: chunkGL6CUR7S_cjs.UsageWindowsStatusTypeFragmentDoc,
16625
+ fragmentDoc: chunkH5WMTA3W_cjs.UsageWindowsStatusTypeFragmentDoc,
16619
16626
  variables,
16620
16627
  isConnection: false,
16621
16628
  isList: false,
@@ -16638,14 +16645,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk342BFYZZ_cjs.Request {
16638
16645
  }
16639
16646
  async fetch(options) {
16640
16647
  const variables = this._variables;
16641
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
16648
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
16642
16649
  const data = response.getTokenUsageStatus?.windows;
16643
16650
  return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16644
16651
  }
16645
16652
  watch(options) {
16646
16653
  const variables = this._variables;
16647
16654
  const raw = this._syncEngine.watch(
16648
- chunkGL6CUR7S_cjs.GetTokenUsageStatus_WindowsDocument,
16655
+ chunkH5WMTA3W_cjs.GetTokenUsageStatus_WindowsDocument,
16649
16656
  variables,
16650
16657
  "getTokenUsageStatus",
16651
16658
  async (db) => {
@@ -16668,14 +16675,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk342BFYZZ_cjs.Reque
16668
16675
  }
16669
16676
  async fetch(options) {
16670
16677
  const variables = this._variables;
16671
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
16678
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
16672
16679
  const data = response.getTokenUsageStatus?.windows?.day;
16673
16680
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16674
16681
  }
16675
16682
  watch(options) {
16676
16683
  const variables = this._variables;
16677
16684
  const raw = this._syncEngine.watch(
16678
- chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_DayDocument,
16685
+ chunkH5WMTA3W_cjs.GetTokenUsageStatus_Windows_DayDocument,
16679
16686
  variables,
16680
16687
  "getTokenUsageStatus",
16681
16688
  async (db) => {
@@ -16698,14 +16705,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk342BFYZZ_cjs.
16698
16705
  }
16699
16706
  async fetch(options) {
16700
16707
  const variables = this._variables;
16701
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
16708
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
16702
16709
  const data = response.getTokenUsageStatus?.windows?.fiveHour;
16703
16710
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16704
16711
  }
16705
16712
  watch(options) {
16706
16713
  const variables = this._variables;
16707
16714
  const raw = this._syncEngine.watch(
16708
- chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
16715
+ chunkH5WMTA3W_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
16709
16716
  variables,
16710
16717
  "getTokenUsageStatus",
16711
16718
  async (db) => {
@@ -16728,14 +16735,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
16728
16735
  }
16729
16736
  async fetch(options) {
16730
16737
  const variables = this._variables;
16731
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
16738
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
16732
16739
  const data = response.getTokenUsageStatus?.windows?.week;
16733
16740
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16734
16741
  }
16735
16742
  watch(options) {
16736
16743
  const variables = this._variables;
16737
16744
  const raw = this._syncEngine.watch(
16738
- chunkGL6CUR7S_cjs.GetTokenUsageStatus_Windows_WeekDocument,
16745
+ chunkH5WMTA3W_cjs.GetTokenUsageStatus_Windows_WeekDocument,
16739
16746
  variables,
16740
16747
  "getTokenUsageStatus",
16741
16748
  async (db) => {
@@ -16752,7 +16759,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
16752
16759
  };
16753
16760
  var GetUsageQuery = class extends chunk342BFYZZ_cjs.Request {
16754
16761
  async fetch(variables) {
16755
- const response = await this._request(chunkGL6CUR7S_cjs.GetUsageDocument, variables);
16762
+ const response = await this._request(chunkH5WMTA3W_cjs.GetUsageDocument, variables);
16756
16763
  return response.getUsage ?? void 0;
16757
16764
  }
16758
16765
  };
@@ -16765,7 +16772,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16765
16772
  }
16766
16773
  async fetch(options) {
16767
16774
  const variables = this._variables;
16768
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightDocument, "insight", this._includes, variables);
16775
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.InsightDocument, "insight", this._includes, variables);
16769
16776
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
16770
16777
  const data = response.insight;
16771
16778
  const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
@@ -16777,7 +16784,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16777
16784
  watch(options) {
16778
16785
  const variables = this._variables;
16779
16786
  const includes = this._includes;
16780
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightDocument, "insight", includes, variables);
16787
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.InsightDocument, "insight", includes, variables);
16781
16788
  const raw = this._syncEngine.watch(
16782
16789
  queryDoc,
16783
16790
  mergedVars,
@@ -16807,7 +16814,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16807
16814
  }
16808
16815
  /** Include chat in this query (Smart Fetch — single HTTP request). */
16809
16816
  chat(variables, builder) {
16810
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ChatDocument, "chat", ["id"]);
16817
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ChatDocument, "chat", ["id"]);
16811
16818
  let children;
16812
16819
  if (builder) {
16813
16820
  const sub = new ChatSubBuilder();
@@ -16816,7 +16823,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16816
16823
  }
16817
16824
  this._includes.push({
16818
16825
  fieldName: "chat",
16819
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
16826
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
16820
16827
  variables,
16821
16828
  isConnection: false,
16822
16829
  isList: false,
@@ -16833,10 +16840,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16833
16840
  }
16834
16841
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
16835
16842
  reportMembers(variables) {
16836
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16843
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16837
16844
  this._includes.push({
16838
16845
  fieldName: "reportMembers",
16839
- fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
16846
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportMemberFragmentDoc,
16840
16847
  variables,
16841
16848
  isConnection: false,
16842
16849
  isList: true,
@@ -16852,7 +16859,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16852
16859
  }
16853
16860
  /** Include reports in this query (Smart Fetch — single HTTP request). */
16854
16861
  reports(variables, builder) {
16855
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportsDocument, "reports", ["id"]);
16862
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ReportsDocument, "reports", ["id"]);
16856
16863
  let children;
16857
16864
  if (builder) {
16858
16865
  const sub = new ReportSubBuilder();
@@ -16861,7 +16868,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16861
16868
  }
16862
16869
  this._includes.push({
16863
16870
  fieldName: "reports",
16864
- fragmentDoc: chunkGL6CUR7S_cjs.ReportConnectionFragmentDoc,
16871
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportConnectionFragmentDoc,
16865
16872
  variables,
16866
16873
  isConnection: true,
16867
16874
  isList: false,
@@ -16879,10 +16886,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
16879
16886
  }
16880
16887
  /** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
16881
16888
  thumbnailFile(variables) {
16882
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
16889
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
16883
16890
  this._includes.push({
16884
16891
  fieldName: "thumbnailFile",
16885
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
16892
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
16886
16893
  variables,
16887
16894
  isConnection: false,
16888
16895
  isList: false,
@@ -16905,14 +16912,14 @@ var Insight_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
16905
16912
  }
16906
16913
  async fetch(options) {
16907
16914
  const variables = this._variables;
16908
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ChatDocument, variables, "insight");
16915
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Insight_ChatDocument, variables, "insight");
16909
16916
  const data = response.insight?.chat;
16910
16917
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16911
16918
  }
16912
16919
  watch(options) {
16913
16920
  const variables = this._variables;
16914
16921
  const raw = this._syncEngine.watch(
16915
- chunkGL6CUR7S_cjs.Insight_ChatDocument,
16922
+ chunkH5WMTA3W_cjs.Insight_ChatDocument,
16916
16923
  variables,
16917
16924
  "insight",
16918
16925
  async (db) => {
@@ -16934,7 +16941,7 @@ var Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
16934
16941
  this._variables = variables;
16935
16942
  }
16936
16943
  async fetch(options) {
16937
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, this._variables, "insight");
16944
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Insight_ReportMembersDocument, this._variables, "insight");
16938
16945
  const data = response.insight?.reportMembers;
16939
16946
  if (!Array.isArray(data)) return [];
16940
16947
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -16948,18 +16955,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk342BFYZZ_cjs
16948
16955
  }
16949
16956
  async fetch(options) {
16950
16957
  const variables = this._variables;
16951
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ReportsDocument, variables, "insight");
16958
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Insight_ReportsDocument, variables, "insight");
16952
16959
  const data = response.insight?.reports;
16953
16960
  return new ReportConnection(this._request, (conn, opts) => new _Insight_ReportsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
16954
16961
  }
16955
16962
  watch(options) {
16956
16963
  const variables = this._variables;
16957
16964
  const raw = this._syncEngine.watch(
16958
- chunkGL6CUR7S_cjs.Insight_ReportsDocument,
16965
+ chunkH5WMTA3W_cjs.Insight_ReportsDocument,
16959
16966
  variables,
16960
16967
  "insight",
16961
16968
  async (db) => {
16962
- const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkGL6CUR7S_cjs.Insight_ReportsDocument));
16969
+ const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkH5WMTA3W_cjs.Insight_ReportsDocument));
16963
16970
  const nodes = qr ? await db.table("reports").bulkGet(qr.entityIds) : [];
16964
16971
  return { insight: { reports: { __typename: "ReportConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
16965
16972
  }
@@ -16978,14 +16985,14 @@ var Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
16978
16985
  }
16979
16986
  async fetch(options) {
16980
16987
  const variables = this._variables;
16981
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, variables, "insight");
16988
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Insight_ThumbnailFileDocument, variables, "insight");
16982
16989
  const data = response.insight?.thumbnailFile;
16983
16990
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16984
16991
  }
16985
16992
  watch(options) {
16986
16993
  const variables = this._variables;
16987
16994
  const raw = this._syncEngine.watch(
16988
- chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument,
16995
+ chunkH5WMTA3W_cjs.Insight_ThumbnailFileDocument,
16989
16996
  variables,
16990
16997
  "insight",
16991
16998
  async (db) => {
@@ -17009,7 +17016,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17009
17016
  }
17010
17017
  async fetch(options) {
17011
17018
  const variables = this._variables;
17012
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightsDocument, "insights", this._includes, variables, true);
17019
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.InsightsDocument, "insights", this._includes, variables, true);
17013
17020
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
17014
17021
  const data = response.insights;
17015
17022
  const connection = new InsightConnection(this._request, (conn, opts) => new _InsightsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17026,7 +17033,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17026
17033
  const subscriptionId = crypto.randomUUID();
17027
17034
  const includes = this._includes;
17028
17035
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17029
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InsightsDocument, "insights", includes, variables, true);
17036
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.InsightsDocument, "insights", includes, variables, true);
17030
17037
  const raw = this._syncEngine.watch(
17031
17038
  queryDoc,
17032
17039
  mergedVars,
@@ -17061,7 +17068,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17061
17068
  }
17062
17069
  /** Include chat in this query (Smart Fetch — single HTTP request). */
17063
17070
  chat(variables, builder) {
17064
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ChatDocument, "chat", ["id"]);
17071
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ChatDocument, "chat", ["id"]);
17065
17072
  let children;
17066
17073
  if (builder) {
17067
17074
  const sub = new ChatSubBuilder();
@@ -17070,7 +17077,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17070
17077
  }
17071
17078
  this._includes.push({
17072
17079
  fieldName: "chat",
17073
- fragmentDoc: chunkGL6CUR7S_cjs.ChatFragmentDoc,
17080
+ fragmentDoc: chunkH5WMTA3W_cjs.ChatFragmentDoc,
17074
17081
  variables,
17075
17082
  isConnection: false,
17076
17083
  isList: false,
@@ -17087,10 +17094,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17087
17094
  }
17088
17095
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
17089
17096
  reportMembers(variables) {
17090
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
17097
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
17091
17098
  this._includes.push({
17092
17099
  fieldName: "reportMembers",
17093
- fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
17100
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportMemberFragmentDoc,
17094
17101
  variables,
17095
17102
  isConnection: false,
17096
17103
  isList: true,
@@ -17106,7 +17113,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17106
17113
  }
17107
17114
  /** Include reports in this query (Smart Fetch — single HTTP request). */
17108
17115
  reports(variables, builder) {
17109
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ReportsDocument, "reports", ["id"]);
17116
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ReportsDocument, "reports", ["id"]);
17110
17117
  let children;
17111
17118
  if (builder) {
17112
17119
  const sub = new ReportSubBuilder();
@@ -17115,7 +17122,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17115
17122
  }
17116
17123
  this._includes.push({
17117
17124
  fieldName: "reports",
17118
- fragmentDoc: chunkGL6CUR7S_cjs.ReportConnectionFragmentDoc,
17125
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportConnectionFragmentDoc,
17119
17126
  variables,
17120
17127
  isConnection: true,
17121
17128
  isList: false,
@@ -17133,10 +17140,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
17133
17140
  }
17134
17141
  /** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
17135
17142
  thumbnailFile(variables) {
17136
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
17143
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
17137
17144
  this._includes.push({
17138
17145
  fieldName: "thumbnailFile",
17139
- fragmentDoc: chunkGL6CUR7S_cjs.FileFragmentDoc,
17146
+ fragmentDoc: chunkH5WMTA3W_cjs.FileFragmentDoc,
17140
17147
  variables,
17141
17148
  isConnection: false,
17142
17149
  isList: false,
@@ -17160,7 +17167,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
17160
17167
  }
17161
17168
  async fetch(options) {
17162
17169
  const variables = this._variables;
17163
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationDocument, "integration", this._includes, variables);
17170
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationDocument, "integration", this._includes, variables);
17164
17171
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
17165
17172
  const data = response.integration;
17166
17173
  const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
@@ -17172,7 +17179,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
17172
17179
  watch(options) {
17173
17180
  const variables = this._variables;
17174
17181
  const includes = this._includes;
17175
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationDocument, "integration", includes, variables);
17182
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationDocument, "integration", includes, variables);
17176
17183
  const raw = this._syncEngine.watch(
17177
17184
  queryDoc,
17178
17185
  mergedVars,
@@ -17202,10 +17209,10 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
17202
17209
  }
17203
17210
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17204
17211
  provider(variables) {
17205
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Integration_ProviderDocument, "provider", ["id"]);
17212
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Integration_ProviderDocument, "provider", ["id"]);
17206
17213
  this._includes.push({
17207
17214
  fieldName: "provider",
17208
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17215
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationProviderFragmentDoc,
17209
17216
  variables,
17210
17217
  isConnection: false,
17211
17218
  isList: false,
@@ -17228,14 +17235,14 @@ var Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
17228
17235
  }
17229
17236
  async fetch(options) {
17230
17237
  const variables = this._variables;
17231
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Integration_ProviderDocument, variables, "integration");
17238
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Integration_ProviderDocument, variables, "integration");
17232
17239
  const data = response.integration?.provider;
17233
17240
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17234
17241
  }
17235
17242
  watch(options) {
17236
17243
  const variables = this._variables;
17237
17244
  const raw = this._syncEngine.watch(
17238
- chunkGL6CUR7S_cjs.Integration_ProviderDocument,
17245
+ chunkH5WMTA3W_cjs.Integration_ProviderDocument,
17239
17246
  variables,
17240
17247
  "integration",
17241
17248
  async (db) => {
@@ -17258,14 +17265,14 @@ var Integration_Provider_CatalogQuery = class extends chunk342BFYZZ_cjs.Request
17258
17265
  }
17259
17266
  async fetch(options) {
17260
17267
  const variables = this._variables;
17261
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Integration_Provider_CatalogDocument, variables, "integration");
17268
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Integration_Provider_CatalogDocument, variables, "integration");
17262
17269
  const data = response.integration?.provider?.catalog;
17263
17270
  return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17264
17271
  }
17265
17272
  watch(options) {
17266
17273
  const variables = this._variables;
17267
17274
  const raw = this._syncEngine.watch(
17268
- chunkGL6CUR7S_cjs.Integration_Provider_CatalogDocument,
17275
+ chunkH5WMTA3W_cjs.Integration_Provider_CatalogDocument,
17269
17276
  variables,
17270
17277
  "integration",
17271
17278
  async (db) => {
@@ -17289,7 +17296,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
17289
17296
  }
17290
17297
  async fetch(options) {
17291
17298
  const variables = this._variables;
17292
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
17299
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
17293
17300
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
17294
17301
  const data = response.integrationCatalog;
17295
17302
  const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -17301,7 +17308,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
17301
17308
  watch(options) {
17302
17309
  const variables = this._variables;
17303
17310
  const includes = this._includes;
17304
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
17311
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
17305
17312
  const raw = this._syncEngine.watch(
17306
17313
  queryDoc,
17307
17314
  mergedVars,
@@ -17331,10 +17338,10 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
17331
17338
  }
17332
17339
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17333
17340
  provider(variables) {
17334
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17341
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17335
17342
  this._includes.push({
17336
17343
  fieldName: "provider",
17337
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17344
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationProviderFragmentDoc,
17338
17345
  variables,
17339
17346
  isConnection: false,
17340
17347
  isList: false,
@@ -17357,14 +17364,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
17357
17364
  }
17358
17365
  async fetch(options) {
17359
17366
  const variables = this._variables;
17360
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
17367
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
17361
17368
  const data = response.integrationCatalog?.provider;
17362
17369
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17363
17370
  }
17364
17371
  watch(options) {
17365
17372
  const variables = this._variables;
17366
17373
  const raw = this._syncEngine.watch(
17367
- chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument,
17374
+ chunkH5WMTA3W_cjs.IntegrationCatalog_ProviderDocument,
17368
17375
  variables,
17369
17376
  "integrationCatalog",
17370
17377
  async (db) => {
@@ -17381,7 +17388,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
17381
17388
  };
17382
17389
  var IntegrationCatalogToolsQuery = class extends chunk342BFYZZ_cjs.Request {
17383
17390
  async fetch(variables) {
17384
- const response = await this._request(chunkGL6CUR7S_cjs.IntegrationCatalogToolsDocument, variables);
17391
+ const response = await this._request(chunkH5WMTA3W_cjs.IntegrationCatalogToolsDocument, variables);
17385
17392
  return response.integrationCatalogTools;
17386
17393
  }
17387
17394
  };
@@ -17394,7 +17401,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
17394
17401
  }
17395
17402
  async fetch(options) {
17396
17403
  const variables = this._variables;
17397
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
17404
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
17398
17405
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
17399
17406
  const data = response.integrationCatalogs;
17400
17407
  const connection = new IntegrationCatalogConnection(this._request, (conn, opts) => new _IntegrationCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17411,7 +17418,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
17411
17418
  const subscriptionId = crypto.randomUUID();
17412
17419
  const includes = this._includes;
17413
17420
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17414
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
17421
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
17415
17422
  const raw = this._syncEngine.watch(
17416
17423
  queryDoc,
17417
17424
  mergedVars,
@@ -17446,10 +17453,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
17446
17453
  }
17447
17454
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17448
17455
  provider(variables) {
17449
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17456
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
17450
17457
  this._includes.push({
17451
17458
  fieldName: "provider",
17452
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17459
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationProviderFragmentDoc,
17453
17460
  variables,
17454
17461
  isConnection: false,
17455
17462
  isList: false,
@@ -17473,7 +17480,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
17473
17480
  }
17474
17481
  async fetch(options) {
17475
17482
  const variables = this._variables;
17476
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
17483
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
17477
17484
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
17478
17485
  const data = response.integrations;
17479
17486
  const connection = new IntegrationConnection(this._request, (conn, opts) => new _IntegrationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17490,7 +17497,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
17490
17497
  const subscriptionId = crypto.randomUUID();
17491
17498
  const includes = this._includes;
17492
17499
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17493
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.IntegrationsDocument, "integrations", includes, variables, true);
17500
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.IntegrationsDocument, "integrations", includes, variables, true);
17494
17501
  const raw = this._syncEngine.watch(
17495
17502
  queryDoc,
17496
17503
  mergedVars,
@@ -17525,10 +17532,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
17525
17532
  }
17526
17533
  /** Include provider in this query (Smart Fetch — single HTTP request). */
17527
17534
  provider(variables) {
17528
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Integration_ProviderDocument, "provider", ["id"]);
17535
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Integration_ProviderDocument, "provider", ["id"]);
17529
17536
  this._includes.push({
17530
17537
  fieldName: "provider",
17531
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationProviderFragmentDoc,
17538
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationProviderFragmentDoc,
17532
17539
  variables,
17533
17540
  isConnection: false,
17534
17541
  isList: false,
@@ -17552,7 +17559,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
17552
17559
  }
17553
17560
  async fetch(options) {
17554
17561
  const variables = this._variables;
17555
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
17562
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
17556
17563
  const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
17557
17564
  const data = response.interpretations;
17558
17565
  const connection = new InterpretationConnection(this._request, (conn, opts) => new _InterpretationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17569,7 +17576,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
17569
17576
  const subscriptionId = crypto.randomUUID();
17570
17577
  const includes = this._includes;
17571
17578
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17572
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
17579
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
17573
17580
  const raw = this._syncEngine.watch(
17574
17581
  queryDoc,
17575
17582
  mergedVars,
@@ -17612,7 +17619,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
17612
17619
  }
17613
17620
  async fetch(options) {
17614
17621
  const variables = this._variables;
17615
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationDocument, "notification", this._includes, variables);
17622
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.NotificationDocument, "notification", this._includes, variables);
17616
17623
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
17617
17624
  const data = response.notification;
17618
17625
  const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
@@ -17624,7 +17631,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
17624
17631
  watch(options) {
17625
17632
  const variables = this._variables;
17626
17633
  const includes = this._includes;
17627
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationDocument, "notification", includes, variables);
17634
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.NotificationDocument, "notification", includes, variables);
17628
17635
  const raw = this._syncEngine.watch(
17629
17636
  queryDoc,
17630
17637
  mergedVars,
@@ -17662,7 +17669,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
17662
17669
  }
17663
17670
  async fetch(options) {
17664
17671
  const variables = this._variables;
17665
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
17672
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
17666
17673
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
17667
17674
  const data = response.notifications;
17668
17675
  const connection = new NotificationConnection(this._request, (conn, opts) => new _NotificationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17679,7 +17686,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
17679
17686
  const subscriptionId = crypto.randomUUID();
17680
17687
  const includes = this._includes;
17681
17688
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17682
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationsDocument, "notifications", includes, variables, true);
17689
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.NotificationsDocument, "notifications", includes, variables, true);
17683
17690
  const raw = this._syncEngine.watch(
17684
17691
  queryDoc,
17685
17692
  mergedVars,
@@ -17721,7 +17728,7 @@ var NotificationsByReferenceQuery = class extends chunk342BFYZZ_cjs.Request {
17721
17728
  this._variables = variables;
17722
17729
  }
17723
17730
  async fetch(options) {
17724
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
17731
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
17725
17732
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
17726
17733
  const data = response.notificationsByReference;
17727
17734
  if (!Array.isArray(data)) return [];
@@ -17737,7 +17744,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
17737
17744
  }
17738
17745
  async fetch(options) {
17739
17746
  const variables = this._variables;
17740
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
17747
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
17741
17748
  const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
17742
17749
  const data = response.privacyStats;
17743
17750
  const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
@@ -17749,7 +17756,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
17749
17756
  watch(options) {
17750
17757
  const variables = this._variables;
17751
17758
  const includes = this._includes;
17752
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
17759
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
17753
17760
  const raw = this._syncEngine.watch(
17754
17761
  queryDoc,
17755
17762
  mergedVars,
@@ -17787,7 +17794,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
17787
17794
  }
17788
17795
  async fetch(options) {
17789
17796
  const variables = this._variables;
17790
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
17797
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
17791
17798
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
17792
17799
  const data = response.pulseAppSummary;
17793
17800
  if (!data) return void 0;
@@ -17800,7 +17807,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
17800
17807
  watch(options) {
17801
17808
  const variables = this._variables;
17802
17809
  const includes = this._includes;
17803
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
17810
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
17804
17811
  const raw = this._syncEngine.watch(
17805
17812
  queryDoc,
17806
17813
  mergedVars,
@@ -17839,7 +17846,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17839
17846
  }
17840
17847
  async fetch(options) {
17841
17848
  const variables = this._variables;
17842
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
17849
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
17843
17850
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
17844
17851
  const data = response.pulseEvent;
17845
17852
  const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
@@ -17851,7 +17858,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17851
17858
  watch(options) {
17852
17859
  const variables = this._variables;
17853
17860
  const includes = this._includes;
17854
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventDocument, "pulseEvent", includes, variables);
17861
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PulseEventDocument, "pulseEvent", includes, variables);
17855
17862
  const raw = this._syncEngine.watch(
17856
17863
  queryDoc,
17857
17864
  mergedVars,
@@ -17881,7 +17888,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17881
17888
  }
17882
17889
  /** Include integration in this query (Smart Fetch — single HTTP request). */
17883
17890
  integration(variables, builder) {
17884
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17891
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17885
17892
  let children;
17886
17893
  if (builder) {
17887
17894
  const sub = new IntegrationSubBuilder();
@@ -17890,7 +17897,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
17890
17897
  }
17891
17898
  this._includes.push({
17892
17899
  fieldName: "integration",
17893
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationFragmentDoc,
17900
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationFragmentDoc,
17894
17901
  variables,
17895
17902
  isConnection: false,
17896
17903
  isList: false,
@@ -17914,14 +17921,14 @@ var PulseEvent_IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
17914
17921
  }
17915
17922
  async fetch(options) {
17916
17923
  const variables = this._variables;
17917
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
17924
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
17918
17925
  const data = response.pulseEvent?.integration;
17919
17926
  return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17920
17927
  }
17921
17928
  watch(options) {
17922
17929
  const variables = this._variables;
17923
17930
  const raw = this._syncEngine.watch(
17924
- chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument,
17931
+ chunkH5WMTA3W_cjs.PulseEvent_IntegrationDocument,
17925
17932
  variables,
17926
17933
  "pulseEvent",
17927
17934
  async (db) => {
@@ -17944,14 +17951,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Reque
17944
17951
  }
17945
17952
  async fetch(options) {
17946
17953
  const variables = this._variables;
17947
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
17954
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
17948
17955
  const data = response.pulseEvent?.integration?.provider;
17949
17956
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17950
17957
  }
17951
17958
  watch(options) {
17952
17959
  const variables = this._variables;
17953
17960
  const raw = this._syncEngine.watch(
17954
- chunkGL6CUR7S_cjs.PulseEvent_Integration_ProviderDocument,
17961
+ chunkH5WMTA3W_cjs.PulseEvent_Integration_ProviderDocument,
17955
17962
  variables,
17956
17963
  "pulseEvent",
17957
17964
  async (db) => {
@@ -17975,7 +17982,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
17975
17982
  }
17976
17983
  async fetch(options) {
17977
17984
  const variables = this._variables;
17978
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
17985
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
17979
17986
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
17980
17987
  const data = response.pulseEvents;
17981
17988
  const connection = new PulseEventConnection(this._request, (conn, opts) => new _PulseEventsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17992,7 +17999,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
17992
17999
  const subscriptionId = crypto.randomUUID();
17993
18000
  const includes = this._includes;
17994
18001
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
17995
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
18002
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
17996
18003
  const raw = this._syncEngine.watch(
17997
18004
  queryDoc,
17998
18005
  mergedVars,
@@ -18027,7 +18034,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
18027
18034
  }
18028
18035
  /** Include integration in this query (Smart Fetch — single HTTP request). */
18029
18036
  integration(variables, builder) {
18030
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
18037
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
18031
18038
  let children;
18032
18039
  if (builder) {
18033
18040
  const sub = new IntegrationSubBuilder();
@@ -18036,7 +18043,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
18036
18043
  }
18037
18044
  this._includes.push({
18038
18045
  fieldName: "integration",
18039
- fragmentDoc: chunkGL6CUR7S_cjs.IntegrationFragmentDoc,
18046
+ fragmentDoc: chunkH5WMTA3W_cjs.IntegrationFragmentDoc,
18040
18047
  variables,
18041
18048
  isConnection: false,
18042
18049
  isList: false,
@@ -18060,7 +18067,7 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
18060
18067
  this._variables = variables;
18061
18068
  }
18062
18069
  async fetch(options) {
18063
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
18070
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
18064
18071
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
18065
18072
  const data = response.pulseTriggerSettings;
18066
18073
  if (!Array.isArray(data)) return [];
@@ -18069,19 +18076,19 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
18069
18076
  };
18070
18077
  var QueryQuery = class extends chunk342BFYZZ_cjs.Request {
18071
18078
  async fetch(variables) {
18072
- const response = await this._request(chunkGL6CUR7S_cjs.QueryDocument, variables);
18079
+ const response = await this._request(chunkH5WMTA3W_cjs.QueryDocument, variables);
18073
18080
  return response.query;
18074
18081
  }
18075
18082
  };
18076
18083
  var QueryWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
18077
18084
  async fetch(variables) {
18078
- const response = await this._request(chunkGL6CUR7S_cjs.QueryWithInsightIdDocument, variables);
18085
+ const response = await this._request(chunkH5WMTA3W_cjs.QueryWithInsightIdDocument, variables);
18079
18086
  return response.queryWithInsightId;
18080
18087
  }
18081
18088
  };
18082
18089
  var QueryWithMessageIdQuery = class extends chunk342BFYZZ_cjs.Request {
18083
18090
  async fetch(variables) {
18084
- const response = await this._request(chunkGL6CUR7S_cjs.QueryWithMessageIdDocument, variables);
18091
+ const response = await this._request(chunkH5WMTA3W_cjs.QueryWithMessageIdDocument, variables);
18085
18092
  return response.queryWithMessageId;
18086
18093
  }
18087
18094
  };
@@ -18094,7 +18101,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
18094
18101
  }
18095
18102
  async fetch(options) {
18096
18103
  const variables = this._variables;
18097
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportDocument, "report", this._includes, variables);
18104
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ReportDocument, "report", this._includes, variables);
18098
18105
  const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
18099
18106
  const data = response.report;
18100
18107
  const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
@@ -18106,7 +18113,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
18106
18113
  watch(options) {
18107
18114
  const variables = this._variables;
18108
18115
  const includes = this._includes;
18109
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportDocument, "report", includes, variables);
18116
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ReportDocument, "report", includes, variables);
18110
18117
  const raw = this._syncEngine.watch(
18111
18118
  queryDoc,
18112
18119
  mergedVars,
@@ -18136,7 +18143,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
18136
18143
  }
18137
18144
  /** Include insights in this query (Smart Fetch — single HTTP request). */
18138
18145
  insights(variables, builder) {
18139
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_InsightsDocument, "insights", ["id"]);
18146
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Report_InsightsDocument, "insights", ["id"]);
18140
18147
  let children;
18141
18148
  if (builder) {
18142
18149
  const sub = new InsightSubBuilder();
@@ -18145,7 +18152,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
18145
18152
  }
18146
18153
  this._includes.push({
18147
18154
  fieldName: "insights",
18148
- fragmentDoc: chunkGL6CUR7S_cjs.InsightConnectionFragmentDoc,
18155
+ fragmentDoc: chunkH5WMTA3W_cjs.InsightConnectionFragmentDoc,
18149
18156
  variables,
18150
18157
  isConnection: true,
18151
18158
  isList: false,
@@ -18163,10 +18170,10 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
18163
18170
  }
18164
18171
  /** Include layout in this query (Smart Fetch — single HTTP request). */
18165
18172
  layout(variables) {
18166
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_LayoutDocument, "layout", ["id"]);
18173
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Report_LayoutDocument, "layout", ["id"]);
18167
18174
  this._includes.push({
18168
18175
  fieldName: "layout",
18169
- fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
18176
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportMemberFragmentDoc,
18170
18177
  variables,
18171
18178
  isConnection: false,
18172
18179
  isList: true,
@@ -18189,18 +18196,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk342BFYZZ_cjs
18189
18196
  }
18190
18197
  async fetch(options) {
18191
18198
  const variables = this._variables;
18192
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Report_InsightsDocument, variables, "report");
18199
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Report_InsightsDocument, variables, "report");
18193
18200
  const data = response.report?.insights;
18194
18201
  return new InsightConnection(this._request, (conn, opts) => new _Report_InsightsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
18195
18202
  }
18196
18203
  watch(options) {
18197
18204
  const variables = this._variables;
18198
18205
  const raw = this._syncEngine.watch(
18199
- chunkGL6CUR7S_cjs.Report_InsightsDocument,
18206
+ chunkH5WMTA3W_cjs.Report_InsightsDocument,
18200
18207
  variables,
18201
18208
  "report",
18202
18209
  async (db) => {
18203
- const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkGL6CUR7S_cjs.Report_InsightsDocument));
18210
+ const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkH5WMTA3W_cjs.Report_InsightsDocument));
18204
18211
  const nodes = qr ? await db.table("insights").bulkGet(qr.entityIds) : [];
18205
18212
  return { report: { insights: { __typename: "InsightConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
18206
18213
  }
@@ -18218,7 +18225,7 @@ var Report_LayoutQuery = class extends chunk342BFYZZ_cjs.Request {
18218
18225
  this._variables = variables;
18219
18226
  }
18220
18227
  async fetch(options) {
18221
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Report_LayoutDocument, this._variables, "report");
18228
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Report_LayoutDocument, this._variables, "report");
18222
18229
  const data = response.report?.layout;
18223
18230
  if (!Array.isArray(data)) return [];
18224
18231
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -18233,7 +18240,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18233
18240
  }
18234
18241
  async fetch(options) {
18235
18242
  const variables = this._variables;
18236
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportsDocument, "reports", this._includes, variables, true);
18243
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ReportsDocument, "reports", this._includes, variables, true);
18237
18244
  const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
18238
18245
  const data = response.reports;
18239
18246
  const connection = new ReportConnection(this._request, (conn, opts) => new _ReportsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -18250,7 +18257,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18250
18257
  const subscriptionId = crypto.randomUUID();
18251
18258
  const includes = this._includes;
18252
18259
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
18253
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.ReportsDocument, "reports", includes, variables, true);
18260
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.ReportsDocument, "reports", includes, variables, true);
18254
18261
  const raw = this._syncEngine.watch(
18255
18262
  queryDoc,
18256
18263
  mergedVars,
@@ -18285,7 +18292,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18285
18292
  }
18286
18293
  /** Include insights in this query (Smart Fetch — single HTTP request). */
18287
18294
  insights(variables, builder) {
18288
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_InsightsDocument, "insights", ["id"]);
18295
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Report_InsightsDocument, "insights", ["id"]);
18289
18296
  let children;
18290
18297
  if (builder) {
18291
18298
  const sub = new InsightSubBuilder();
@@ -18294,7 +18301,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18294
18301
  }
18295
18302
  this._includes.push({
18296
18303
  fieldName: "insights",
18297
- fragmentDoc: chunkGL6CUR7S_cjs.InsightConnectionFragmentDoc,
18304
+ fragmentDoc: chunkH5WMTA3W_cjs.InsightConnectionFragmentDoc,
18298
18305
  variables,
18299
18306
  isConnection: true,
18300
18307
  isList: false,
@@ -18312,10 +18319,10 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
18312
18319
  }
18313
18320
  /** Include layout in this query (Smart Fetch — single HTTP request). */
18314
18321
  layout(variables) {
18315
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Report_LayoutDocument, "layout", ["id"]);
18322
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Report_LayoutDocument, "layout", ["id"]);
18316
18323
  this._includes.push({
18317
18324
  fieldName: "layout",
18318
- fragmentDoc: chunkGL6CUR7S_cjs.ReportMemberFragmentDoc,
18325
+ fragmentDoc: chunkH5WMTA3W_cjs.ReportMemberFragmentDoc,
18319
18326
  variables,
18320
18327
  isConnection: false,
18321
18328
  isList: true,
@@ -18338,7 +18345,7 @@ var SearchQuery = class extends chunk342BFYZZ_cjs.Request {
18338
18345
  this._variables = variables;
18339
18346
  }
18340
18347
  async fetch(options) {
18341
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.SearchDocument, "search", this._includes, this._variables);
18348
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.SearchDocument, "search", this._includes, this._variables);
18342
18349
  const response = await this._syncEngine.query(queryDoc, mergedVars, "search");
18343
18350
  const data = response.search;
18344
18351
  if (!Array.isArray(data)) return [];
@@ -18354,7 +18361,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18354
18361
  }
18355
18362
  async fetch(options) {
18356
18363
  const variables = this._variables;
18357
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TableDocument, "table", this._includes, variables);
18364
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.TableDocument, "table", this._includes, variables);
18358
18365
  const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
18359
18366
  const data = response.table;
18360
18367
  const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
@@ -18366,7 +18373,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18366
18373
  watch(options) {
18367
18374
  const variables = this._variables;
18368
18375
  const includes = this._includes;
18369
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TableDocument, "table", includes, variables);
18376
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.TableDocument, "table", includes, variables);
18370
18377
  const raw = this._syncEngine.watch(
18371
18378
  queryDoc,
18372
18379
  mergedVars,
@@ -18396,7 +18403,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18396
18403
  }
18397
18404
  /** Include database in this query (Smart Fetch — single HTTP request). */
18398
18405
  database(variables, builder) {
18399
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DatabaseDocument, "database", ["id"]);
18406
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_DatabaseDocument, "database", ["id"]);
18400
18407
  let children;
18401
18408
  if (builder) {
18402
18409
  const sub = new DatabaseSubBuilder();
@@ -18405,7 +18412,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18405
18412
  }
18406
18413
  this._includes.push({
18407
18414
  fieldName: "database",
18408
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseFragmentDoc,
18415
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseFragmentDoc,
18409
18416
  variables,
18410
18417
  isConnection: false,
18411
18418
  isList: false,
@@ -18422,7 +18429,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18422
18429
  }
18423
18430
  /** Include document in this query (Smart Fetch — single HTTP request). */
18424
18431
  document(variables, builder) {
18425
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DocumentDocument, "document", ["id"]);
18432
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_DocumentDocument, "document", ["id"]);
18426
18433
  let children;
18427
18434
  if (builder) {
18428
18435
  const sub = new DocumentSubBuilder();
@@ -18431,7 +18438,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18431
18438
  }
18432
18439
  this._includes.push({
18433
18440
  fieldName: "document",
18434
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFragmentDoc,
18441
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFragmentDoc,
18435
18442
  variables,
18436
18443
  isConnection: false,
18437
18444
  isList: false,
@@ -18448,10 +18455,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18448
18455
  }
18449
18456
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
18450
18457
  fromRelations(variables) {
18451
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18458
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18452
18459
  this._includes.push({
18453
18460
  fieldName: "fromRelations",
18454
- fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18461
+ fragmentDoc: chunkH5WMTA3W_cjs.RelationFragmentDoc,
18455
18462
  variables,
18456
18463
  isConnection: false,
18457
18464
  isList: true,
@@ -18467,10 +18474,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
18467
18474
  }
18468
18475
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
18469
18476
  toRelations(variables) {
18470
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18477
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18471
18478
  this._includes.push({
18472
18479
  fieldName: "toRelations",
18473
- fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18480
+ fragmentDoc: chunkH5WMTA3W_cjs.RelationFragmentDoc,
18474
18481
  variables,
18475
18482
  isConnection: false,
18476
18483
  isList: true,
@@ -18493,14 +18500,14 @@ var Table_DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
18493
18500
  }
18494
18501
  async fetch(options) {
18495
18502
  const variables = this._variables;
18496
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_DatabaseDocument, variables, "table");
18503
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_DatabaseDocument, variables, "table");
18497
18504
  const data = response.table?.database;
18498
18505
  return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18499
18506
  }
18500
18507
  watch(options) {
18501
18508
  const variables = this._variables;
18502
18509
  const raw = this._syncEngine.watch(
18503
- chunkGL6CUR7S_cjs.Table_DatabaseDocument,
18510
+ chunkH5WMTA3W_cjs.Table_DatabaseDocument,
18504
18511
  variables,
18505
18512
  "table",
18506
18513
  async (db) => {
@@ -18523,14 +18530,14 @@ var Table_Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
18523
18530
  }
18524
18531
  async fetch(options) {
18525
18532
  const variables = this._variables;
18526
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Database_EngineDocument, variables, "table");
18533
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_Database_EngineDocument, variables, "table");
18527
18534
  const data = response.table?.database?.engine;
18528
18535
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18529
18536
  }
18530
18537
  watch(options) {
18531
18538
  const variables = this._variables;
18532
18539
  const raw = this._syncEngine.watch(
18533
- chunkGL6CUR7S_cjs.Table_Database_EngineDocument,
18540
+ chunkH5WMTA3W_cjs.Table_Database_EngineDocument,
18534
18541
  variables,
18535
18542
  "table",
18536
18543
  async (db) => {
@@ -18553,14 +18560,14 @@ var Table_DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
18553
18560
  }
18554
18561
  async fetch(options) {
18555
18562
  const variables = this._variables;
18556
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_DocumentDocument, variables, "table");
18563
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_DocumentDocument, variables, "table");
18557
18564
  const data = response.table?.document;
18558
18565
  return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18559
18566
  }
18560
18567
  watch(options) {
18561
18568
  const variables = this._variables;
18562
18569
  const raw = this._syncEngine.watch(
18563
- chunkGL6CUR7S_cjs.Table_DocumentDocument,
18570
+ chunkH5WMTA3W_cjs.Table_DocumentDocument,
18564
18571
  variables,
18565
18572
  "table",
18566
18573
  async (db) => {
@@ -18582,7 +18589,7 @@ var Table_Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
18582
18589
  this._variables = variables;
18583
18590
  }
18584
18591
  async fetch(options) {
18585
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Document_ContentsDocument, this._variables, "table");
18592
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_Document_ContentsDocument, this._variables, "table");
18586
18593
  const data = response.table?.document?.contents;
18587
18594
  if (!Array.isArray(data)) return [];
18588
18595
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -18596,14 +18603,14 @@ var Table_Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
18596
18603
  }
18597
18604
  async fetch(options) {
18598
18605
  const variables = this._variables;
18599
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Document_FileDocument, variables, "table");
18606
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_Document_FileDocument, variables, "table");
18600
18607
  const data = response.table?.document?.file;
18601
18608
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18602
18609
  }
18603
18610
  watch(options) {
18604
18611
  const variables = this._variables;
18605
18612
  const raw = this._syncEngine.watch(
18606
- chunkGL6CUR7S_cjs.Table_Document_FileDocument,
18613
+ chunkH5WMTA3W_cjs.Table_Document_FileDocument,
18607
18614
  variables,
18608
18615
  "table",
18609
18616
  async (db) => {
@@ -18626,14 +18633,14 @@ var Table_Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
18626
18633
  }
18627
18634
  async fetch(options) {
18628
18635
  const variables = this._variables;
18629
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_Document_FormatDocument, variables, "table");
18636
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_Document_FormatDocument, variables, "table");
18630
18637
  const data = response.table?.document?.format;
18631
18638
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18632
18639
  }
18633
18640
  watch(options) {
18634
18641
  const variables = this._variables;
18635
18642
  const raw = this._syncEngine.watch(
18636
- chunkGL6CUR7S_cjs.Table_Document_FormatDocument,
18643
+ chunkH5WMTA3W_cjs.Table_Document_FormatDocument,
18637
18644
  variables,
18638
18645
  "table",
18639
18646
  async (db) => {
@@ -18655,7 +18662,7 @@ var Table_FromRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
18655
18662
  this._variables = variables;
18656
18663
  }
18657
18664
  async fetch(options) {
18658
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, this._variables, "table");
18665
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_FromRelationsDocument, this._variables, "table");
18659
18666
  const data = response.table?.fromRelations;
18660
18667
  if (!Array.isArray(data)) return [];
18661
18668
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -18668,7 +18675,7 @@ var Table_ToRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
18668
18675
  this._variables = variables;
18669
18676
  }
18670
18677
  async fetch(options) {
18671
- const response = await this._syncEngine.query(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, this._variables, "table");
18678
+ const response = await this._syncEngine.query(chunkH5WMTA3W_cjs.Table_ToRelationsDocument, this._variables, "table");
18672
18679
  const data = response.table?.toRelations;
18673
18680
  if (!Array.isArray(data)) return [];
18674
18681
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -18683,7 +18690,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18683
18690
  }
18684
18691
  async fetch(options) {
18685
18692
  const variables = this._variables;
18686
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TablesDocument, "tables", this._includes, variables, true);
18693
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.TablesDocument, "tables", this._includes, variables, true);
18687
18694
  const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
18688
18695
  const data = response.tables;
18689
18696
  const connection = new TableConnection(this._request, (conn, opts) => new _TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -18700,7 +18707,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18700
18707
  const subscriptionId = crypto.randomUUID();
18701
18708
  const includes = this._includes;
18702
18709
  const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
18703
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.TablesDocument, "tables", includes, variables, true);
18710
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.TablesDocument, "tables", includes, variables, true);
18704
18711
  const raw = this._syncEngine.watch(
18705
18712
  queryDoc,
18706
18713
  mergedVars,
@@ -18735,7 +18742,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18735
18742
  }
18736
18743
  /** Include database in this query (Smart Fetch — single HTTP request). */
18737
18744
  database(variables, builder) {
18738
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DatabaseDocument, "database", ["id"]);
18745
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_DatabaseDocument, "database", ["id"]);
18739
18746
  let children;
18740
18747
  if (builder) {
18741
18748
  const sub = new DatabaseSubBuilder();
@@ -18744,7 +18751,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18744
18751
  }
18745
18752
  this._includes.push({
18746
18753
  fieldName: "database",
18747
- fragmentDoc: chunkGL6CUR7S_cjs.DatabaseFragmentDoc,
18754
+ fragmentDoc: chunkH5WMTA3W_cjs.DatabaseFragmentDoc,
18748
18755
  variables,
18749
18756
  isConnection: false,
18750
18757
  isList: false,
@@ -18761,7 +18768,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18761
18768
  }
18762
18769
  /** Include document in this query (Smart Fetch — single HTTP request). */
18763
18770
  document(variables, builder) {
18764
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_DocumentDocument, "document", ["id"]);
18771
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_DocumentDocument, "document", ["id"]);
18765
18772
  let children;
18766
18773
  if (builder) {
18767
18774
  const sub = new DocumentSubBuilder();
@@ -18770,7 +18777,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18770
18777
  }
18771
18778
  this._includes.push({
18772
18779
  fieldName: "document",
18773
- fragmentDoc: chunkGL6CUR7S_cjs.DocumentFragmentDoc,
18780
+ fragmentDoc: chunkH5WMTA3W_cjs.DocumentFragmentDoc,
18774
18781
  variables,
18775
18782
  isConnection: false,
18776
18783
  isList: false,
@@ -18787,10 +18794,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18787
18794
  }
18788
18795
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
18789
18796
  fromRelations(variables) {
18790
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18797
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18791
18798
  this._includes.push({
18792
18799
  fieldName: "fromRelations",
18793
- fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18800
+ fragmentDoc: chunkH5WMTA3W_cjs.RelationFragmentDoc,
18794
18801
  variables,
18795
18802
  isConnection: false,
18796
18803
  isList: true,
@@ -18806,10 +18813,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
18806
18813
  }
18807
18814
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
18808
18815
  toRelations(variables) {
18809
- const info = extractIncludeInfo(chunkGL6CUR7S_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18816
+ const info = extractIncludeInfo(chunkH5WMTA3W_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18810
18817
  this._includes.push({
18811
18818
  fieldName: "toRelations",
18812
- fragmentDoc: chunkGL6CUR7S_cjs.RelationFragmentDoc,
18819
+ fragmentDoc: chunkH5WMTA3W_cjs.RelationFragmentDoc,
18813
18820
  variables,
18814
18821
  isConnection: false,
18815
18822
  isList: true,
@@ -18833,7 +18840,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
18833
18840
  }
18834
18841
  async fetch(options) {
18835
18842
  const variables = this._variables;
18836
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
18843
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
18837
18844
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
18838
18845
  const data = response.userSkillFile;
18839
18846
  const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -18845,7 +18852,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
18845
18852
  watch(options) {
18846
18853
  const variables = this._variables;
18847
18854
  const includes = this._includes;
18848
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
18855
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
18849
18856
  const raw = this._syncEngine.watch(
18850
18857
  queryDoc,
18851
18858
  mergedVars,
@@ -18882,7 +18889,7 @@ var UserSkillFilesQuery = class extends chunk342BFYZZ_cjs.Request {
18882
18889
  this._variables = variables;
18883
18890
  }
18884
18891
  async fetch(options) {
18885
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
18892
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
18886
18893
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
18887
18894
  const data = response.userSkillFiles;
18888
18895
  if (!Array.isArray(data)) return [];
@@ -18898,7 +18905,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
18898
18905
  }
18899
18906
  async fetch(options) {
18900
18907
  const variables = this._variables;
18901
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
18908
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
18902
18909
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
18903
18910
  const data = response.userSkillFolder;
18904
18911
  const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -18910,7 +18917,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
18910
18917
  watch(options) {
18911
18918
  const variables = this._variables;
18912
18919
  const includes = this._includes;
18913
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
18920
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
18914
18921
  const raw = this._syncEngine.watch(
18915
18922
  queryDoc,
18916
18923
  mergedVars,
@@ -18947,7 +18954,7 @@ var UserSkillFoldersQuery = class extends chunk342BFYZZ_cjs.Request {
18947
18954
  this._variables = variables;
18948
18955
  }
18949
18956
  async fetch(options) {
18950
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
18957
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
18951
18958
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
18952
18959
  const data = response.userSkillFolders;
18953
18960
  if (!Array.isArray(data)) return [];
@@ -18963,7 +18970,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
18963
18970
  }
18964
18971
  async fetch(options) {
18965
18972
  const variables = this._variables;
18966
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
18973
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
18967
18974
  const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
18968
18975
  const data = response.workspaceDeletionSchedule;
18969
18976
  if (!data) return void 0;
@@ -18976,7 +18983,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
18976
18983
  watch(options) {
18977
18984
  const variables = this._variables;
18978
18985
  const includes = this._includes;
18979
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGL6CUR7S_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
18986
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkH5WMTA3W_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
18980
18987
  const raw = this._syncEngine.watch(
18981
18988
  queryDoc,
18982
18989
  mergedVars,
@@ -19008,7 +19015,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
19008
19015
  };
19009
19016
  var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
19010
19017
  async *subscribe(variables) {
19011
- for await (const response of this._subscribe(chunkGL6CUR7S_cjs.McpAuthUpdatesDocument, variables)) {
19018
+ for await (const response of this._subscribe(chunkH5WMTA3W_cjs.McpAuthUpdatesDocument, variables)) {
19012
19019
  const data = response.mcpAuthUpdates;
19013
19020
  yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
19014
19021
  }
@@ -19016,12 +19023,12 @@ var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
19016
19023
  };
19017
19024
  var SendMessageStreamSubscription = class extends chunk342BFYZZ_cjs.Request {
19018
19025
  subscribe(variables) {
19019
- return this._subscribe(chunkGL6CUR7S_cjs.SendMessageStreamDocument, variables);
19026
+ return this._subscribe(chunkH5WMTA3W_cjs.SendMessageStreamDocument, variables);
19020
19027
  }
19021
19028
  };
19022
19029
  var TokenUsageUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
19023
19030
  async *subscribe(variables) {
19024
- for await (const response of this._subscribe(chunkGL6CUR7S_cjs.TokenUsageUpdatesDocument, variables)) {
19031
+ for await (const response of this._subscribe(chunkH5WMTA3W_cjs.TokenUsageUpdatesDocument, variables)) {
19025
19032
  const data = response.tokenUsageUpdates;
19026
19033
  yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
19027
19034
  }
@@ -19247,6 +19254,10 @@ var DvinaSdk = class extends chunk342BFYZZ_cjs.Request {
19247
19254
  updateAgent(variables) {
19248
19255
  return new UpdateAgentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
19249
19256
  }
19257
+ /** Mutation: updateArtifactName */
19258
+ updateArtifactName(variables) {
19259
+ return new UpdateArtifactNameMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
19260
+ }
19250
19261
  /** Mutation: updateChat */
19251
19262
  updateChat(variables) {
19252
19263
  return new UpdateChatMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
@@ -19899,6 +19910,7 @@ exports.ToolResultArtifactOutput = ToolResultArtifactOutput;
19899
19910
  exports.ToolResultEventOutput = ToolResultEventOutput;
19900
19911
  exports.ToolStartEventOutput = ToolStartEventOutput;
19901
19912
  exports.UpdateAgentMutation = UpdateAgentMutation;
19913
+ exports.UpdateArtifactNameMutation = UpdateArtifactNameMutation;
19902
19914
  exports.UpdateChatMutation = UpdateChatMutation;
19903
19915
  exports.UpdateDatabaseMutation = UpdateDatabaseMutation;
19904
19916
  exports.UpdateDocumentMutation = UpdateDocumentMutation;
@@ -19936,5 +19948,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
19936
19948
  exports.reconstructConnectionNodes = reconstructConnectionNodes;
19937
19949
  exports.reconstructEntity = reconstructEntity;
19938
19950
  exports.uploadFile = uploadFile;
19939
- //# sourceMappingURL=chunk-ZWQVDMIR.cjs.map
19940
- //# sourceMappingURL=chunk-ZWQVDMIR.cjs.map
19951
+ //# sourceMappingURL=chunk-NXYGWVNO.cjs.map
19952
+ //# sourceMappingURL=chunk-NXYGWVNO.cjs.map