@dvina/sdk 4.0.151 → 4.0.154

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 chunkD7AKD4KG_cjs = require('./chunk-D7AKD4KG.cjs');
7
+ var chunkOCCUM5WH_cjs = require('./chunk-OCCUM5WH.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
@@ -7561,7 +7561,7 @@ function createWsTransport(options) {
7561
7561
  }
7562
7562
 
7563
7563
  // src/_generated_store.ts
7564
- var SCHEMA_HASH = "a5a8b191f68c634e";
7564
+ var SCHEMA_HASH = "fb892580cf13df3b";
7565
7565
  var DB_ENTITY_SCHEMA = {
7566
7566
  actions: "id",
7567
7567
  agents: "id",
@@ -7587,6 +7587,7 @@ var DB_ENTITY_SCHEMA = {
7587
7587
  feedback: "id, &chatMessageId",
7588
7588
  feedDatabaseDatas: "id",
7589
7589
  feedDocumentDatas: "id",
7590
+ feedInsightDatas: "id",
7590
7591
  feedIntegrationDatas: "id",
7591
7592
  feedItemGenerateds: "id",
7592
7593
  feedItems: "id",
@@ -7654,6 +7655,7 @@ var TYPENAME_TO_TABLE = {
7654
7655
  Feedback: "feedback",
7655
7656
  FeedDatabaseData: "feedDatabaseDatas",
7656
7657
  FeedDocumentData: "feedDocumentDatas",
7658
+ FeedInsightData: "feedInsightDatas",
7657
7659
  FeedIntegrationData: "feedIntegrationDatas",
7658
7660
  FeedItem: "feedItems",
7659
7661
  FeedItemGenerated: "feedItemGenerateds",
@@ -7721,6 +7723,7 @@ var TABLE_TO_TYPENAME = {
7721
7723
  feedback: "Feedback",
7722
7724
  feedDatabaseDatas: "FeedDatabaseData",
7723
7725
  feedDocumentDatas: "FeedDocumentData",
7726
+ feedInsightDatas: "FeedInsightData",
7724
7727
  feedIntegrationDatas: "FeedIntegrationData",
7725
7728
  feedItemGenerateds: "FeedItemGenerated",
7726
7729
  feedItems: "FeedItem",
@@ -10294,7 +10297,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
10294
10297
  var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
10295
10298
  var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
10296
10299
  async function uploadFile(request, getToken, file, name, options) {
10297
- const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-R4Q64XRB.cjs');
10300
+ const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-PLPR22NI.cjs');
10298
10301
  const key = `upload_${Date.now()}`;
10299
10302
  const response = await request(
10300
10303
  GenerateUploadUriDocument2,
@@ -11692,6 +11695,21 @@ var FeedDocumentData = class extends DvinaModel {
11692
11695
  this.kind = data.kind;
11693
11696
  }
11694
11697
  };
11698
+ var FeedInsightData = class extends DvinaModel {
11699
+ kind;
11700
+ output;
11701
+ pivotConfig;
11702
+ presentation;
11703
+ query;
11704
+ constructor(request, data, syncEngine, baseUrl) {
11705
+ super(request, syncEngine, baseUrl);
11706
+ this.kind = data.kind;
11707
+ this.output = data.output ?? void 0;
11708
+ this.pivotConfig = data.pivotConfig ?? void 0;
11709
+ this.presentation = data.presentation;
11710
+ this.query = data.query;
11711
+ }
11712
+ };
11695
11713
  var FeedIntegrationData = class extends DvinaModel {
11696
11714
  integrationProviderKey;
11697
11715
  kind;
@@ -11734,6 +11752,8 @@ var FeedItem = class extends DvinaModel {
11734
11752
  return new FeedDatabaseData(request, value, syncEngine, baseUrl);
11735
11753
  case "FeedDocumentData":
11736
11754
  return new FeedDocumentData(request, value, syncEngine, baseUrl);
11755
+ case "FeedInsightData":
11756
+ return new FeedInsightData(request, value, syncEngine, baseUrl);
11737
11757
  case "FeedIntegrationData":
11738
11758
  return new FeedIntegrationData(request, value, syncEngine, baseUrl);
11739
11759
  case "FeedLiveContextData":
@@ -13105,7 +13125,7 @@ var AgentSubBuilder = class {
13105
13125
  _includes = [];
13106
13126
  /** Include chats in the parent query. */
13107
13127
  chats(variables, builder) {
13108
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Agent_ChatsDocument, "chats", ["id"]);
13128
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Agent_ChatsDocument, "chats", ["id"]);
13109
13129
  let children;
13110
13130
  if (builder) {
13111
13131
  const sub = new ChatSubBuilder();
@@ -13114,7 +13134,7 @@ var AgentSubBuilder = class {
13114
13134
  }
13115
13135
  this._includes.push({
13116
13136
  fieldName: "chats",
13117
- fragmentDoc: chunkD7AKD4KG_cjs.ChatConnectionFragmentDoc,
13137
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatConnectionFragmentDoc,
13118
13138
  variables,
13119
13139
  isConnection: true,
13120
13140
  isList: false,
@@ -13136,7 +13156,7 @@ var ArtifactSubBuilder = class {
13136
13156
  _includes = [];
13137
13157
  /** Include chat in the parent query. */
13138
13158
  chat(variables, builder) {
13139
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Artifact_ChatDocument, "chat", ["id"]);
13159
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Artifact_ChatDocument, "chat", ["id"]);
13140
13160
  let children;
13141
13161
  if (builder) {
13142
13162
  const sub = new ChatSubBuilder();
@@ -13145,7 +13165,7 @@ var ArtifactSubBuilder = class {
13145
13165
  }
13146
13166
  this._includes.push({
13147
13167
  fieldName: "chat",
13148
- fragmentDoc: chunkD7AKD4KG_cjs.ChatFragmentDoc,
13168
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatFragmentDoc,
13149
13169
  variables,
13150
13170
  isConnection: false,
13151
13171
  isList: false,
@@ -13162,10 +13182,10 @@ var ArtifactSubBuilder = class {
13162
13182
  }
13163
13183
  /** Include file in the parent query. */
13164
13184
  file(variables) {
13165
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Artifact_FileDocument, "file", ["id"]);
13185
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Artifact_FileDocument, "file", ["id"]);
13166
13186
  this._includes.push({
13167
13187
  fieldName: "file",
13168
- fragmentDoc: chunkD7AKD4KG_cjs.FileFragmentDoc,
13188
+ fragmentDoc: chunkOCCUM5WH_cjs.FileFragmentDoc,
13169
13189
  variables,
13170
13190
  isConnection: false,
13171
13191
  isList: false,
@@ -13181,7 +13201,7 @@ var ArtifactSubBuilder = class {
13181
13201
  }
13182
13202
  /** Include message in the parent query. */
13183
13203
  message(variables, builder) {
13184
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Artifact_MessageDocument, "message", ["id"]);
13204
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Artifact_MessageDocument, "message", ["id"]);
13185
13205
  let children;
13186
13206
  if (builder) {
13187
13207
  const sub = new ChatMessageSubBuilder();
@@ -13190,7 +13210,7 @@ var ArtifactSubBuilder = class {
13190
13210
  }
13191
13211
  this._includes.push({
13192
13212
  fieldName: "message",
13193
- fragmentDoc: chunkD7AKD4KG_cjs.ChatMessageFragmentDoc,
13213
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatMessageFragmentDoc,
13194
13214
  variables,
13195
13215
  isConnection: false,
13196
13216
  isList: false,
@@ -13211,7 +13231,7 @@ var ChatSubBuilder = class {
13211
13231
  _includes = [];
13212
13232
  /** Include agents in the parent query. */
13213
13233
  agents(variables, builder) {
13214
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Chat_AgentsDocument, "agents", ["id"]);
13234
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Chat_AgentsDocument, "agents", ["id"]);
13215
13235
  let children;
13216
13236
  if (builder) {
13217
13237
  const sub = new AgentSubBuilder();
@@ -13220,7 +13240,7 @@ var ChatSubBuilder = class {
13220
13240
  }
13221
13241
  this._includes.push({
13222
13242
  fieldName: "agents",
13223
- fragmentDoc: chunkD7AKD4KG_cjs.AgentConnectionFragmentDoc,
13243
+ fragmentDoc: chunkOCCUM5WH_cjs.AgentConnectionFragmentDoc,
13224
13244
  variables,
13225
13245
  isConnection: true,
13226
13246
  isList: false,
@@ -13238,7 +13258,7 @@ var ChatSubBuilder = class {
13238
13258
  }
13239
13259
  /** Include artifacts in the parent query. */
13240
13260
  artifacts(variables, builder) {
13241
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
13261
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
13242
13262
  let children;
13243
13263
  if (builder) {
13244
13264
  const sub = new ArtifactSubBuilder();
@@ -13247,7 +13267,7 @@ var ChatSubBuilder = class {
13247
13267
  }
13248
13268
  this._includes.push({
13249
13269
  fieldName: "artifacts",
13250
- fragmentDoc: chunkD7AKD4KG_cjs.ArtifactConnectionFragmentDoc,
13270
+ fragmentDoc: chunkOCCUM5WH_cjs.ArtifactConnectionFragmentDoc,
13251
13271
  variables,
13252
13272
  isConnection: true,
13253
13273
  isList: false,
@@ -13265,7 +13285,7 @@ var ChatSubBuilder = class {
13265
13285
  }
13266
13286
  /** Include insight in the parent query. */
13267
13287
  insight(variables, builder) {
13268
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Chat_InsightDocument, "insight", ["id"]);
13288
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Chat_InsightDocument, "insight", ["id"]);
13269
13289
  let children;
13270
13290
  if (builder) {
13271
13291
  const sub = new InsightSubBuilder();
@@ -13274,7 +13294,7 @@ var ChatSubBuilder = class {
13274
13294
  }
13275
13295
  this._includes.push({
13276
13296
  fieldName: "insight",
13277
- fragmentDoc: chunkD7AKD4KG_cjs.InsightFragmentDoc,
13297
+ fragmentDoc: chunkOCCUM5WH_cjs.InsightFragmentDoc,
13278
13298
  variables,
13279
13299
  isConnection: false,
13280
13300
  isList: false,
@@ -13291,7 +13311,7 @@ var ChatSubBuilder = class {
13291
13311
  }
13292
13312
  /** Include messages in the parent query. */
13293
13313
  messages(variables, builder) {
13294
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Chat_MessagesDocument, "messages", ["id"]);
13314
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Chat_MessagesDocument, "messages", ["id"]);
13295
13315
  let children;
13296
13316
  if (builder) {
13297
13317
  const sub = new ChatMessageSubBuilder();
@@ -13300,7 +13320,7 @@ var ChatSubBuilder = class {
13300
13320
  }
13301
13321
  this._includes.push({
13302
13322
  fieldName: "messages",
13303
- fragmentDoc: chunkD7AKD4KG_cjs.ChatMessageConnectionFragmentDoc,
13323
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatMessageConnectionFragmentDoc,
13304
13324
  variables,
13305
13325
  isConnection: true,
13306
13326
  isList: false,
@@ -13322,7 +13342,7 @@ var ChatMessageSubBuilder = class {
13322
13342
  _includes = [];
13323
13343
  /** Include artifacts in the parent query. */
13324
13344
  artifacts(variables, builder) {
13325
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
13345
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
13326
13346
  let children;
13327
13347
  if (builder) {
13328
13348
  const sub = new ArtifactSubBuilder();
@@ -13331,7 +13351,7 @@ var ChatMessageSubBuilder = class {
13331
13351
  }
13332
13352
  this._includes.push({
13333
13353
  fieldName: "artifacts",
13334
- fragmentDoc: chunkD7AKD4KG_cjs.ArtifactConnectionFragmentDoc,
13354
+ fragmentDoc: chunkOCCUM5WH_cjs.ArtifactConnectionFragmentDoc,
13335
13355
  variables,
13336
13356
  isConnection: true,
13337
13357
  isList: false,
@@ -13349,7 +13369,7 @@ var ChatMessageSubBuilder = class {
13349
13369
  }
13350
13370
  /** Include chat in the parent query. */
13351
13371
  chat(variables, builder) {
13352
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
13372
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
13353
13373
  let children;
13354
13374
  if (builder) {
13355
13375
  const sub = new ChatSubBuilder();
@@ -13358,7 +13378,7 @@ var ChatMessageSubBuilder = class {
13358
13378
  }
13359
13379
  this._includes.push({
13360
13380
  fieldName: "chat",
13361
- fragmentDoc: chunkD7AKD4KG_cjs.ChatFragmentDoc,
13381
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatFragmentDoc,
13362
13382
  variables,
13363
13383
  isConnection: false,
13364
13384
  isList: false,
@@ -13375,10 +13395,10 @@ var ChatMessageSubBuilder = class {
13375
13395
  }
13376
13396
  /** Include contents in the parent query. */
13377
13397
  contents(variables) {
13378
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
13398
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
13379
13399
  this._includes.push({
13380
13400
  fieldName: "contents",
13381
- fragmentDoc: chunkD7AKD4KG_cjs.ContentBlockFragmentDoc,
13401
+ fragmentDoc: chunkOCCUM5WH_cjs.ContentBlockFragmentDoc,
13382
13402
  variables,
13383
13403
  isConnection: false,
13384
13404
  isList: true,
@@ -13394,10 +13414,10 @@ var ChatMessageSubBuilder = class {
13394
13414
  }
13395
13415
  /** Include feedback in the parent query. */
13396
13416
  feedback(variables) {
13397
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
13417
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
13398
13418
  this._includes.push({
13399
13419
  fieldName: "feedback",
13400
- fragmentDoc: chunkD7AKD4KG_cjs.FeedbackFragmentDoc,
13420
+ fragmentDoc: chunkOCCUM5WH_cjs.FeedbackFragmentDoc,
13401
13421
  variables,
13402
13422
  isConnection: false,
13403
13423
  isList: false,
@@ -13417,10 +13437,10 @@ var DatabaseSubBuilder = class {
13417
13437
  _includes = [];
13418
13438
  /** Include engine in the parent query. */
13419
13439
  engine(variables) {
13420
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Database_EngineDocument, "engine", ["id"]);
13440
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Database_EngineDocument, "engine", ["id"]);
13421
13441
  this._includes.push({
13422
13442
  fieldName: "engine",
13423
- fragmentDoc: chunkD7AKD4KG_cjs.DatabaseEngineFragmentDoc,
13443
+ fragmentDoc: chunkOCCUM5WH_cjs.DatabaseEngineFragmentDoc,
13424
13444
  variables,
13425
13445
  isConnection: false,
13426
13446
  isList: false,
@@ -13436,7 +13456,7 @@ var DatabaseSubBuilder = class {
13436
13456
  }
13437
13457
  /** Include tables in the parent query. */
13438
13458
  tables(variables, builder) {
13439
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Database_TablesDocument, "tables", ["id"]);
13459
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Database_TablesDocument, "tables", ["id"]);
13440
13460
  let children;
13441
13461
  if (builder) {
13442
13462
  const sub = new TableSubBuilder();
@@ -13445,7 +13465,7 @@ var DatabaseSubBuilder = class {
13445
13465
  }
13446
13466
  this._includes.push({
13447
13467
  fieldName: "tables",
13448
- fragmentDoc: chunkD7AKD4KG_cjs.TableConnectionFragmentDoc,
13468
+ fragmentDoc: chunkOCCUM5WH_cjs.TableConnectionFragmentDoc,
13449
13469
  variables,
13450
13470
  isConnection: true,
13451
13471
  isList: false,
@@ -13467,10 +13487,10 @@ var DatabaseCatalogSubBuilder = class {
13467
13487
  _includes = [];
13468
13488
  /** Include engine in the parent query. */
13469
13489
  engine(variables) {
13470
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.DatabaseCatalog_EngineDocument, "engine", []);
13490
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.DatabaseCatalog_EngineDocument, "engine", []);
13471
13491
  this._includes.push({
13472
13492
  fieldName: "engine",
13473
- fragmentDoc: chunkD7AKD4KG_cjs.DatabaseEngineFragmentDoc,
13493
+ fragmentDoc: chunkOCCUM5WH_cjs.DatabaseEngineFragmentDoc,
13474
13494
  variables,
13475
13495
  isConnection: false,
13476
13496
  isList: false,
@@ -13490,10 +13510,10 @@ var DocumentSubBuilder = class {
13490
13510
  _includes = [];
13491
13511
  /** Include contents in the parent query. */
13492
13512
  contents(variables) {
13493
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Document_ContentsDocument, "contents", ["id"]);
13513
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Document_ContentsDocument, "contents", ["id"]);
13494
13514
  this._includes.push({
13495
13515
  fieldName: "contents",
13496
- fragmentDoc: chunkD7AKD4KG_cjs.DocumentContentFragmentDoc,
13516
+ fragmentDoc: chunkOCCUM5WH_cjs.DocumentContentFragmentDoc,
13497
13517
  variables,
13498
13518
  isConnection: false,
13499
13519
  isList: true,
@@ -13509,10 +13529,10 @@ var DocumentSubBuilder = class {
13509
13529
  }
13510
13530
  /** Include file in the parent query. */
13511
13531
  file(variables) {
13512
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Document_FileDocument, "file", ["id"]);
13532
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Document_FileDocument, "file", ["id"]);
13513
13533
  this._includes.push({
13514
13534
  fieldName: "file",
13515
- fragmentDoc: chunkD7AKD4KG_cjs.FileFragmentDoc,
13535
+ fragmentDoc: chunkOCCUM5WH_cjs.FileFragmentDoc,
13516
13536
  variables,
13517
13537
  isConnection: false,
13518
13538
  isList: false,
@@ -13528,10 +13548,10 @@ var DocumentSubBuilder = class {
13528
13548
  }
13529
13549
  /** Include format in the parent query. */
13530
13550
  format(variables) {
13531
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Document_FormatDocument, "format", ["id"]);
13551
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Document_FormatDocument, "format", ["id"]);
13532
13552
  this._includes.push({
13533
13553
  fieldName: "format",
13534
- fragmentDoc: chunkD7AKD4KG_cjs.DocumentFormatFragmentDoc,
13554
+ fragmentDoc: chunkOCCUM5WH_cjs.DocumentFormatFragmentDoc,
13535
13555
  variables,
13536
13556
  isConnection: false,
13537
13557
  isList: false,
@@ -13547,7 +13567,7 @@ var DocumentSubBuilder = class {
13547
13567
  }
13548
13568
  /** Include tables in the parent query. */
13549
13569
  tables(variables, builder) {
13550
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Document_TablesDocument, "tables", ["id"]);
13570
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Document_TablesDocument, "tables", ["id"]);
13551
13571
  let children;
13552
13572
  if (builder) {
13553
13573
  const sub = new TableSubBuilder();
@@ -13556,7 +13576,7 @@ var DocumentSubBuilder = class {
13556
13576
  }
13557
13577
  this._includes.push({
13558
13578
  fieldName: "tables",
13559
- fragmentDoc: chunkD7AKD4KG_cjs.TableConnectionFragmentDoc,
13579
+ fragmentDoc: chunkOCCUM5WH_cjs.TableConnectionFragmentDoc,
13560
13580
  variables,
13561
13581
  isConnection: true,
13562
13582
  isList: false,
@@ -13578,10 +13598,10 @@ var DocumentCatalogSubBuilder = class {
13578
13598
  _includes = [];
13579
13599
  /** Include format in the parent query. */
13580
13600
  format(variables) {
13581
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.DocumentCatalog_FormatDocument, "format", []);
13601
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.DocumentCatalog_FormatDocument, "format", []);
13582
13602
  this._includes.push({
13583
13603
  fieldName: "format",
13584
- fragmentDoc: chunkD7AKD4KG_cjs.DocumentFormatFragmentDoc,
13604
+ fragmentDoc: chunkOCCUM5WH_cjs.DocumentFormatFragmentDoc,
13585
13605
  variables,
13586
13606
  isConnection: false,
13587
13607
  isList: false,
@@ -13601,10 +13621,10 @@ var FeedItemSubBuilder = class {
13601
13621
  _includes = [];
13602
13622
  /** Include action in the parent query. */
13603
13623
  action(variables) {
13604
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.FeedItem_ActionDocument, "action", ["id"]);
13624
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.FeedItem_ActionDocument, "action", ["id"]);
13605
13625
  this._includes.push({
13606
13626
  fieldName: "action",
13607
- fragmentDoc: chunkD7AKD4KG_cjs.FeedSendMessageActionFragmentDoc,
13627
+ fragmentDoc: chunkOCCUM5WH_cjs.FeedSendMessageActionFragmentDoc,
13608
13628
  variables,
13609
13629
  isConnection: false,
13610
13630
  isList: false,
@@ -13620,10 +13640,10 @@ var FeedItemSubBuilder = class {
13620
13640
  }
13621
13641
  /** Include data in the parent query. */
13622
13642
  data(variables) {
13623
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.FeedItem_DataDocument, "data", ["id"]);
13643
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.FeedItem_DataDocument, "data", ["id"]);
13624
13644
  this._includes.push({
13625
13645
  fieldName: "data",
13626
- fragmentDoc: chunkD7AKD4KG_cjs.FeedArtifactDataFragmentDoc,
13646
+ fragmentDoc: chunkOCCUM5WH_cjs.FeedArtifactDataFragmentDoc,
13627
13647
  variables,
13628
13648
  isConnection: false,
13629
13649
  isList: true,
@@ -13643,7 +13663,7 @@ var InsightSubBuilder = class {
13643
13663
  _includes = [];
13644
13664
  /** Include chat in the parent query. */
13645
13665
  chat(variables, builder) {
13646
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Insight_ChatDocument, "chat", ["id"]);
13666
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Insight_ChatDocument, "chat", ["id"]);
13647
13667
  let children;
13648
13668
  if (builder) {
13649
13669
  const sub = new ChatSubBuilder();
@@ -13652,7 +13672,7 @@ var InsightSubBuilder = class {
13652
13672
  }
13653
13673
  this._includes.push({
13654
13674
  fieldName: "chat",
13655
- fragmentDoc: chunkD7AKD4KG_cjs.ChatFragmentDoc,
13675
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatFragmentDoc,
13656
13676
  variables,
13657
13677
  isConnection: false,
13658
13678
  isList: false,
@@ -13669,10 +13689,10 @@ var InsightSubBuilder = class {
13669
13689
  }
13670
13690
  /** Include reportMembers in the parent query. */
13671
13691
  reportMembers(variables) {
13672
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
13692
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
13673
13693
  this._includes.push({
13674
13694
  fieldName: "reportMembers",
13675
- fragmentDoc: chunkD7AKD4KG_cjs.ReportMemberFragmentDoc,
13695
+ fragmentDoc: chunkOCCUM5WH_cjs.ReportMemberFragmentDoc,
13676
13696
  variables,
13677
13697
  isConnection: false,
13678
13698
  isList: true,
@@ -13688,7 +13708,7 @@ var InsightSubBuilder = class {
13688
13708
  }
13689
13709
  /** Include reports in the parent query. */
13690
13710
  reports(variables, builder) {
13691
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Insight_ReportsDocument, "reports", ["id"]);
13711
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Insight_ReportsDocument, "reports", ["id"]);
13692
13712
  let children;
13693
13713
  if (builder) {
13694
13714
  const sub = new ReportSubBuilder();
@@ -13697,7 +13717,7 @@ var InsightSubBuilder = class {
13697
13717
  }
13698
13718
  this._includes.push({
13699
13719
  fieldName: "reports",
13700
- fragmentDoc: chunkD7AKD4KG_cjs.ReportConnectionFragmentDoc,
13720
+ fragmentDoc: chunkOCCUM5WH_cjs.ReportConnectionFragmentDoc,
13701
13721
  variables,
13702
13722
  isConnection: true,
13703
13723
  isList: false,
@@ -13715,10 +13735,10 @@ var InsightSubBuilder = class {
13715
13735
  }
13716
13736
  /** Include thumbnailFile in the parent query. */
13717
13737
  thumbnailFile(variables) {
13718
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
13738
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
13719
13739
  this._includes.push({
13720
13740
  fieldName: "thumbnailFile",
13721
- fragmentDoc: chunkD7AKD4KG_cjs.FileFragmentDoc,
13741
+ fragmentDoc: chunkOCCUM5WH_cjs.FileFragmentDoc,
13722
13742
  variables,
13723
13743
  isConnection: false,
13724
13744
  isList: false,
@@ -13738,10 +13758,10 @@ var IntegrationSubBuilder = class {
13738
13758
  _includes = [];
13739
13759
  /** Include provider in the parent query. */
13740
13760
  provider(variables) {
13741
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Integration_ProviderDocument, "provider", ["id"]);
13761
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Integration_ProviderDocument, "provider", ["id"]);
13742
13762
  this._includes.push({
13743
13763
  fieldName: "provider",
13744
- fragmentDoc: chunkD7AKD4KG_cjs.IntegrationProviderFragmentDoc,
13764
+ fragmentDoc: chunkOCCUM5WH_cjs.IntegrationProviderFragmentDoc,
13745
13765
  variables,
13746
13766
  isConnection: false,
13747
13767
  isList: false,
@@ -13761,10 +13781,10 @@ var IntegrationCatalogSubBuilder = class {
13761
13781
  _includes = [];
13762
13782
  /** Include provider in the parent query. */
13763
13783
  provider(variables) {
13764
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
13784
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
13765
13785
  this._includes.push({
13766
13786
  fieldName: "provider",
13767
- fragmentDoc: chunkD7AKD4KG_cjs.IntegrationProviderFragmentDoc,
13787
+ fragmentDoc: chunkOCCUM5WH_cjs.IntegrationProviderFragmentDoc,
13768
13788
  variables,
13769
13789
  isConnection: false,
13770
13790
  isList: false,
@@ -13784,7 +13804,7 @@ var PulseEventSubBuilder = class {
13784
13804
  _includes = [];
13785
13805
  /** Include integration in the parent query. */
13786
13806
  integration(variables, builder) {
13787
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
13807
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
13788
13808
  let children;
13789
13809
  if (builder) {
13790
13810
  const sub = new IntegrationSubBuilder();
@@ -13793,7 +13813,7 @@ var PulseEventSubBuilder = class {
13793
13813
  }
13794
13814
  this._includes.push({
13795
13815
  fieldName: "integration",
13796
- fragmentDoc: chunkD7AKD4KG_cjs.IntegrationFragmentDoc,
13816
+ fragmentDoc: chunkOCCUM5WH_cjs.IntegrationFragmentDoc,
13797
13817
  variables,
13798
13818
  isConnection: false,
13799
13819
  isList: false,
@@ -13814,7 +13834,7 @@ var ReportSubBuilder = class {
13814
13834
  _includes = [];
13815
13835
  /** Include insights in the parent query. */
13816
13836
  insights(variables, builder) {
13817
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Report_InsightsDocument, "insights", ["id"]);
13837
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Report_InsightsDocument, "insights", ["id"]);
13818
13838
  let children;
13819
13839
  if (builder) {
13820
13840
  const sub = new InsightSubBuilder();
@@ -13823,7 +13843,7 @@ var ReportSubBuilder = class {
13823
13843
  }
13824
13844
  this._includes.push({
13825
13845
  fieldName: "insights",
13826
- fragmentDoc: chunkD7AKD4KG_cjs.InsightConnectionFragmentDoc,
13846
+ fragmentDoc: chunkOCCUM5WH_cjs.InsightConnectionFragmentDoc,
13827
13847
  variables,
13828
13848
  isConnection: true,
13829
13849
  isList: false,
@@ -13841,10 +13861,10 @@ var ReportSubBuilder = class {
13841
13861
  }
13842
13862
  /** Include layout in the parent query. */
13843
13863
  layout(variables) {
13844
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Report_LayoutDocument, "layout", ["id"]);
13864
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Report_LayoutDocument, "layout", ["id"]);
13845
13865
  this._includes.push({
13846
13866
  fieldName: "layout",
13847
- fragmentDoc: chunkD7AKD4KG_cjs.ReportMemberFragmentDoc,
13867
+ fragmentDoc: chunkOCCUM5WH_cjs.ReportMemberFragmentDoc,
13848
13868
  variables,
13849
13869
  isConnection: false,
13850
13870
  isList: true,
@@ -13864,7 +13884,7 @@ var TableSubBuilder = class {
13864
13884
  _includes = [];
13865
13885
  /** Include database in the parent query. */
13866
13886
  database(variables, builder) {
13867
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Table_DatabaseDocument, "database", ["id"]);
13887
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Table_DatabaseDocument, "database", ["id"]);
13868
13888
  let children;
13869
13889
  if (builder) {
13870
13890
  const sub = new DatabaseSubBuilder();
@@ -13873,7 +13893,7 @@ var TableSubBuilder = class {
13873
13893
  }
13874
13894
  this._includes.push({
13875
13895
  fieldName: "database",
13876
- fragmentDoc: chunkD7AKD4KG_cjs.DatabaseFragmentDoc,
13896
+ fragmentDoc: chunkOCCUM5WH_cjs.DatabaseFragmentDoc,
13877
13897
  variables,
13878
13898
  isConnection: false,
13879
13899
  isList: false,
@@ -13890,7 +13910,7 @@ var TableSubBuilder = class {
13890
13910
  }
13891
13911
  /** Include document in the parent query. */
13892
13912
  document(variables, builder) {
13893
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Table_DocumentDocument, "document", ["id"]);
13913
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Table_DocumentDocument, "document", ["id"]);
13894
13914
  let children;
13895
13915
  if (builder) {
13896
13916
  const sub = new DocumentSubBuilder();
@@ -13899,7 +13919,7 @@ var TableSubBuilder = class {
13899
13919
  }
13900
13920
  this._includes.push({
13901
13921
  fieldName: "document",
13902
- fragmentDoc: chunkD7AKD4KG_cjs.DocumentFragmentDoc,
13922
+ fragmentDoc: chunkOCCUM5WH_cjs.DocumentFragmentDoc,
13903
13923
  variables,
13904
13924
  isConnection: false,
13905
13925
  isList: false,
@@ -13916,10 +13936,10 @@ var TableSubBuilder = class {
13916
13936
  }
13917
13937
  /** Include fromRelations in the parent query. */
13918
13938
  fromRelations(variables) {
13919
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
13939
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
13920
13940
  this._includes.push({
13921
13941
  fieldName: "fromRelations",
13922
- fragmentDoc: chunkD7AKD4KG_cjs.RelationFragmentDoc,
13942
+ fragmentDoc: chunkOCCUM5WH_cjs.RelationFragmentDoc,
13923
13943
  variables,
13924
13944
  isConnection: false,
13925
13945
  isList: true,
@@ -13935,10 +13955,10 @@ var TableSubBuilder = class {
13935
13955
  }
13936
13956
  /** Include toRelations in the parent query. */
13937
13957
  toRelations(variables) {
13938
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
13958
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
13939
13959
  this._includes.push({
13940
13960
  fieldName: "toRelations",
13941
- fragmentDoc: chunkD7AKD4KG_cjs.RelationFragmentDoc,
13961
+ fragmentDoc: chunkOCCUM5WH_cjs.RelationFragmentDoc,
13942
13962
  variables,
13943
13963
  isConnection: false,
13944
13964
  isList: true,
@@ -13955,454 +13975,454 @@ var TableSubBuilder = class {
13955
13975
  };
13956
13976
  var AbortChatMutation = class extends chunk342BFYZZ_cjs.Request {
13957
13977
  async fetch(variables) {
13958
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.AbortChatDocument, variables, MUTATION_CACHE_RULES["abortChat"]);
13978
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.AbortChatDocument, variables, MUTATION_CACHE_RULES["abortChat"]);
13959
13979
  return response.abortChat;
13960
13980
  }
13961
13981
  };
13962
13982
  var AddInsightToReportMutation = class extends chunk342BFYZZ_cjs.Request {
13963
13983
  async fetch(variables, options) {
13964
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
13984
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
13965
13985
  const data = response.addInsightToReport;
13966
13986
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13967
13987
  }
13968
13988
  };
13969
13989
  var CancelOauthFlowMutation = class extends chunk342BFYZZ_cjs.Request {
13970
13990
  async fetch(variables) {
13971
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
13991
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
13972
13992
  return response.cancelOauthFlow;
13973
13993
  }
13974
13994
  };
13975
13995
  var CancelWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
13976
13996
  async fetch(variables) {
13977
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
13997
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
13978
13998
  return response.cancelWorkspaceDeletion;
13979
13999
  }
13980
14000
  };
13981
14001
  var ConnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
13982
14002
  async fetch(variables, options) {
13983
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
14003
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
13984
14004
  const data = response.connectIntegration;
13985
14005
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
13986
14006
  }
13987
14007
  };
13988
14008
  var ConsumePulseEventsMutation = class extends chunk342BFYZZ_cjs.Request {
13989
14009
  async fetch(variables) {
13990
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
14010
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
13991
14011
  return response.consumePulseEvents;
13992
14012
  }
13993
14013
  };
13994
14014
  var ContinueImportedChatMutation = class extends chunk342BFYZZ_cjs.Request {
13995
14015
  async fetch(variables) {
13996
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
14016
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
13997
14017
  return response.continueImportedChat;
13998
14018
  }
13999
14019
  };
14000
14020
  var ContinueInterpretationMutation = class extends chunk342BFYZZ_cjs.Request {
14001
14021
  async fetch(variables) {
14002
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
14022
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
14003
14023
  return response.continueInterpretation;
14004
14024
  }
14005
14025
  };
14006
14026
  var CreateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
14007
14027
  async fetch(variables, options) {
14008
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
14028
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
14009
14029
  const data = response.createAgent;
14010
14030
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
14011
14031
  }
14012
14032
  };
14013
14033
  var CreateChatMutation = class extends chunk342BFYZZ_cjs.Request {
14014
14034
  async fetch(variables, options) {
14015
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
14035
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
14016
14036
  const data = response.createChat;
14017
14037
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
14018
14038
  }
14019
14039
  };
14020
14040
  var CreateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
14021
14041
  async fetch(variables, options) {
14022
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
14042
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
14023
14043
  const data = response.createDatabase;
14024
14044
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
14025
14045
  }
14026
14046
  };
14027
14047
  var CreateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
14028
14048
  async fetch(variables, options) {
14029
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
14049
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
14030
14050
  const data = response.createDocument;
14031
14051
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
14032
14052
  }
14033
14053
  };
14034
14054
  var CreateFeedbackMutation = class extends chunk342BFYZZ_cjs.Request {
14035
14055
  async fetch(variables, options) {
14036
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
14056
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
14037
14057
  const data = response.createFeedback;
14038
14058
  return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
14039
14059
  }
14040
14060
  };
14041
14061
  var CreateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14042
14062
  async fetch(variables, options) {
14043
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
14063
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
14044
14064
  const data = response.createFolder;
14045
14065
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
14046
14066
  }
14047
14067
  };
14048
14068
  var CreateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
14049
14069
  async fetch(variables, options) {
14050
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
14070
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
14051
14071
  const data = response.createInsight;
14052
14072
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14053
14073
  }
14054
14074
  };
14055
14075
  var CreateIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
14056
14076
  async fetch(variables, options) {
14057
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
14077
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
14058
14078
  const data = response.createIntegration;
14059
14079
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
14060
14080
  }
14061
14081
  };
14062
14082
  var CreateReportMutation = class extends chunk342BFYZZ_cjs.Request {
14063
14083
  async fetch(variables, options) {
14064
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
14084
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
14065
14085
  const data = response.createReport;
14066
14086
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14067
14087
  }
14068
14088
  };
14069
14089
  var CreateTableMutation = class extends chunk342BFYZZ_cjs.Request {
14070
14090
  async fetch(variables, options) {
14071
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
14091
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
14072
14092
  const data = response.createTable;
14073
14093
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
14074
14094
  }
14075
14095
  };
14076
14096
  var CreateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
14077
14097
  async fetch(variables, options) {
14078
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
14098
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
14079
14099
  const data = response.createUserSkillFile;
14080
14100
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
14081
14101
  }
14082
14102
  };
14083
14103
  var CreateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14084
14104
  async fetch(variables, options) {
14085
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
14105
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
14086
14106
  const data = response.createUserSkillFolder;
14087
14107
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
14088
14108
  }
14089
14109
  };
14090
14110
  var DeleteAgentMutation = class extends chunk342BFYZZ_cjs.Request {
14091
14111
  async fetch(variables, options) {
14092
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
14112
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
14093
14113
  const data = response.deleteAgent;
14094
14114
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
14095
14115
  }
14096
14116
  };
14097
14117
  var DeleteArtifactMutation = class extends chunk342BFYZZ_cjs.Request {
14098
14118
  async fetch(variables, options) {
14099
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
14119
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
14100
14120
  const data = response.deleteArtifact;
14101
14121
  return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
14102
14122
  }
14103
14123
  };
14104
14124
  var DeleteChatMutation = class extends chunk342BFYZZ_cjs.Request {
14105
14125
  async fetch(variables, options) {
14106
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
14126
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
14107
14127
  const data = response.deleteChat;
14108
14128
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
14109
14129
  }
14110
14130
  };
14111
14131
  var DeleteDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
14112
14132
  async fetch(variables, options) {
14113
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
14133
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
14114
14134
  const data = response.deleteDatabase;
14115
14135
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
14116
14136
  }
14117
14137
  };
14118
14138
  var DeleteDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
14119
14139
  async fetch(variables, options) {
14120
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
14140
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
14121
14141
  const data = response.deleteDocument;
14122
14142
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
14123
14143
  }
14124
14144
  };
14125
14145
  var DeleteFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14126
14146
  async fetch(variables, options) {
14127
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
14147
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
14128
14148
  const data = response.deleteFolder;
14129
14149
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
14130
14150
  }
14131
14151
  };
14132
14152
  var DeleteInsightMutation = class extends chunk342BFYZZ_cjs.Request {
14133
14153
  async fetch(variables, options) {
14134
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
14154
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
14135
14155
  const data = response.deleteInsight;
14136
14156
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14137
14157
  }
14138
14158
  };
14139
14159
  var DeleteInsightsMutation = class extends chunk342BFYZZ_cjs.Request {
14140
14160
  async fetch(variables, options) {
14141
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
14161
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
14142
14162
  const data = response.deleteInsights;
14143
14163
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14144
14164
  }
14145
14165
  };
14146
14166
  var DeleteIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
14147
14167
  async fetch(variables) {
14148
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
14168
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
14149
14169
  return response.deleteIntegration;
14150
14170
  }
14151
14171
  };
14152
14172
  var DeleteReportMutation = class extends chunk342BFYZZ_cjs.Request {
14153
14173
  async fetch(variables, options) {
14154
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
14174
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
14155
14175
  const data = response.deleteReport;
14156
14176
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14157
14177
  }
14158
14178
  };
14159
14179
  var DeleteTableMutation = class extends chunk342BFYZZ_cjs.Request {
14160
14180
  async fetch(variables, options) {
14161
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
14181
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
14162
14182
  const data = response.deleteTable;
14163
14183
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
14164
14184
  }
14165
14185
  };
14166
14186
  var DeleteUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
14167
14187
  async fetch(variables, options) {
14168
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
14188
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
14169
14189
  const data = response.deleteUserSkillFile;
14170
14190
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
14171
14191
  }
14172
14192
  };
14173
14193
  var DeleteUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14174
14194
  async fetch(variables, options) {
14175
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
14195
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
14176
14196
  const data = response.deleteUserSkillFolder;
14177
14197
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
14178
14198
  }
14179
14199
  };
14180
14200
  var DisconnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
14181
14201
  async fetch(variables) {
14182
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
14202
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
14183
14203
  return response.disconnectIntegration;
14184
14204
  }
14185
14205
  };
14186
14206
  var DismissPulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
14187
14207
  async fetch(variables, options) {
14188
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
14208
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
14189
14209
  const data = response.dismissPulseEvent;
14190
14210
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
14191
14211
  }
14192
14212
  };
14193
14213
  var ExecuteChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
14194
14214
  async fetch(variables, options) {
14195
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
14215
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
14196
14216
  const data = response.executeChatImport;
14197
14217
  return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
14198
14218
  }
14199
14219
  };
14200
14220
  var GenerateUploadUriMutation = class extends chunk342BFYZZ_cjs.Request {
14201
14221
  async fetch(variables, options) {
14202
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
14222
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
14203
14223
  const data = response.generateUploadUri;
14204
14224
  return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
14205
14225
  }
14206
14226
  };
14207
14227
  var PreviewChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
14208
14228
  async fetch(variables, options) {
14209
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
14229
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
14210
14230
  const data = response.previewChatImport;
14211
14231
  return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
14212
14232
  }
14213
14233
  };
14214
14234
  var ReanalyzeDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
14215
14235
  async fetch(variables, options) {
14216
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
14236
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
14217
14237
  const data = response.reanalyzeDocument;
14218
14238
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
14219
14239
  }
14220
14240
  };
14221
14241
  var RefineMindInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
14222
14242
  async fetch(variables) {
14223
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
14243
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
14224
14244
  return response.refineMindInstruction;
14225
14245
  }
14226
14246
  };
14227
14247
  var RefreshDatabaseSchemaMutation = class extends chunk342BFYZZ_cjs.Request {
14228
14248
  async fetch(variables) {
14229
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
14249
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
14230
14250
  return response.refreshDatabaseSchema;
14231
14251
  }
14232
14252
  };
14233
14253
  var RefreshInsightMutation = class extends chunk342BFYZZ_cjs.Request {
14234
14254
  async fetch(variables, options) {
14235
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
14255
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
14236
14256
  const data = response.refreshInsight;
14237
14257
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14238
14258
  }
14239
14259
  };
14240
14260
  var ReinterpretSourceMutation = class extends chunk342BFYZZ_cjs.Request {
14241
14261
  async fetch(variables) {
14242
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
14262
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
14243
14263
  return response.reinterpretSource;
14244
14264
  }
14245
14265
  };
14246
14266
  var ReinterpretSourcesOfuserMutation = class extends chunk342BFYZZ_cjs.Request {
14247
14267
  async fetch(variables) {
14248
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
14268
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
14249
14269
  return response.reinterpretSourcesOfuser;
14250
14270
  }
14251
14271
  };
14252
14272
  var RelocateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
14253
14273
  async fetch(variables, options) {
14254
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
14274
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
14255
14275
  const data = response.relocateInsight;
14256
14276
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14257
14277
  }
14258
14278
  };
14259
14279
  var RemoveInsightFromReportMutation = class extends chunk342BFYZZ_cjs.Request {
14260
14280
  async fetch(variables, options) {
14261
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
14281
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
14262
14282
  const data = response.removeInsightFromReport;
14263
14283
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14264
14284
  }
14265
14285
  };
14266
14286
  var ResetWorkspaceMutation = class extends chunk342BFYZZ_cjs.Request {
14267
14287
  async fetch(variables) {
14268
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
14288
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
14269
14289
  return response.resetWorkspace;
14270
14290
  }
14271
14291
  };
14272
14292
  var ResolvePulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
14273
14293
  async fetch(variables, options) {
14274
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
14294
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
14275
14295
  const data = response.resolvePulseEvent;
14276
14296
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
14277
14297
  }
14278
14298
  };
14279
14299
  var ScheduleWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
14280
14300
  async fetch(variables, options) {
14281
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
14301
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
14282
14302
  const data = response.scheduleWorkspaceDeletion;
14283
14303
  return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
14284
14304
  }
14285
14305
  };
14286
14306
  var SendMessageMutation = class extends chunk342BFYZZ_cjs.Request {
14287
14307
  async fetch(variables, options) {
14288
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.SendMessageDocument, variables, MUTATION_CACHE_RULES["sendMessage"]);
14308
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.SendMessageDocument, variables, MUTATION_CACHE_RULES["sendMessage"]);
14289
14309
  const data = response.sendMessage;
14290
14310
  return new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
14291
14311
  }
14292
14312
  };
14293
14313
  var SetDatabasePrimaryKeyMutation = class extends chunk342BFYZZ_cjs.Request {
14294
14314
  async fetch(variables) {
14295
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
14315
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
14296
14316
  return response.setDatabasePrimaryKey;
14297
14317
  }
14298
14318
  };
14299
14319
  var UpdateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
14300
14320
  async fetch(variables, options) {
14301
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
14321
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
14302
14322
  const data = response.updateAgent;
14303
14323
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
14304
14324
  }
14305
14325
  };
14306
14326
  var UpdateArtifactNameMutation = class extends chunk342BFYZZ_cjs.Request {
14307
14327
  async fetch(variables, options) {
14308
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"]);
14328
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"]);
14309
14329
  const data = response.updateArtifactName;
14310
14330
  return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
14311
14331
  }
14312
14332
  };
14313
14333
  var UpdateChatMutation = class extends chunk342BFYZZ_cjs.Request {
14314
14334
  async fetch(variables, options) {
14315
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
14335
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
14316
14336
  const data = response.updateChat;
14317
14337
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
14318
14338
  }
14319
14339
  };
14320
14340
  var UpdateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
14321
14341
  async fetch(variables, options) {
14322
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
14342
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
14323
14343
  const data = response.updateDatabase;
14324
14344
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
14325
14345
  }
14326
14346
  };
14327
14347
  var UpdateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
14328
14348
  async fetch(variables, options) {
14329
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
14349
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
14330
14350
  const data = response.updateDocument;
14331
14351
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
14332
14352
  }
14333
14353
  };
14334
14354
  var UpdateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14335
14355
  async fetch(variables, options) {
14336
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
14356
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
14337
14357
  const data = response.updateFolder;
14338
14358
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
14339
14359
  }
14340
14360
  };
14341
14361
  var UpdateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
14342
14362
  async fetch(variables, options) {
14343
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
14363
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
14344
14364
  const data = response.updateInsight;
14345
14365
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
14346
14366
  }
14347
14367
  };
14348
14368
  var UpdateInsightInReportMutation = class extends chunk342BFYZZ_cjs.Request {
14349
14369
  async fetch(variables, options) {
14350
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
14370
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
14351
14371
  const data = response.updateInsightInReport;
14352
14372
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14353
14373
  }
14354
14374
  };
14355
14375
  var UpdateInsightThumbnailMutation = class extends chunk342BFYZZ_cjs.Request {
14356
14376
  async fetch(variables) {
14357
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
14377
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
14358
14378
  return response.updateInsightThumbnail;
14359
14379
  }
14360
14380
  };
14361
14381
  var UpdateInterpMutation = class extends chunk342BFYZZ_cjs.Request {
14362
14382
  async fetch(variables, options) {
14363
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
14383
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
14364
14384
  const data = response.updateInterp;
14365
14385
  return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
14366
14386
  }
14367
14387
  };
14368
14388
  var UpdateLiveContextMutation = class extends chunk342BFYZZ_cjs.Request {
14369
14389
  async fetch(variables, options) {
14370
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdateLiveContextDocument, variables, MUTATION_CACHE_RULES["updateLiveContext"]);
14390
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdateLiveContextDocument, variables, MUTATION_CACHE_RULES["updateLiveContext"]);
14371
14391
  const data = response.updateLiveContext;
14372
14392
  return new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
14373
14393
  }
14374
14394
  };
14375
14395
  var UpdatePulseTriggerMutation = class extends chunk342BFYZZ_cjs.Request {
14376
14396
  async fetch(variables, options) {
14377
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
14397
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
14378
14398
  const data = response.updatePulseTrigger;
14379
14399
  return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
14380
14400
  }
14381
14401
  };
14382
14402
  var UpdateReportMutation = class extends chunk342BFYZZ_cjs.Request {
14383
14403
  async fetch(variables, options) {
14384
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
14404
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
14385
14405
  const data = response.updateReport;
14386
14406
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
14387
14407
  }
14388
14408
  };
14389
14409
  var UpdateTableMutation = class extends chunk342BFYZZ_cjs.Request {
14390
14410
  async fetch(variables, options) {
14391
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
14411
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
14392
14412
  const data = response.updateTable;
14393
14413
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
14394
14414
  }
14395
14415
  };
14396
14416
  var UpdateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
14397
14417
  async fetch(variables, options) {
14398
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
14418
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
14399
14419
  const data = response.updateUserSkillFile;
14400
14420
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
14401
14421
  }
14402
14422
  };
14403
14423
  var UpdateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
14404
14424
  async fetch(variables, options) {
14405
- const response = await this._syncEngine.mutate(chunkD7AKD4KG_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
14425
+ const response = await this._syncEngine.mutate(chunkOCCUM5WH_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
14406
14426
  const data = response.updateUserSkillFolder;
14407
14427
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
14408
14428
  }
@@ -14416,7 +14436,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
14416
14436
  }
14417
14437
  async fetch(options) {
14418
14438
  const variables = this._variables;
14419
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.AgentDocument, "agent", this._includes, variables);
14439
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.AgentDocument, "agent", this._includes, variables);
14420
14440
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
14421
14441
  const data = response.agent;
14422
14442
  const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
@@ -14428,7 +14448,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
14428
14448
  watch(options) {
14429
14449
  const variables = this._variables;
14430
14450
  const includes = this._includes;
14431
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.AgentDocument, "agent", includes, variables);
14451
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.AgentDocument, "agent", includes, variables);
14432
14452
  const raw = this._syncEngine.watch(
14433
14453
  queryDoc,
14434
14454
  mergedVars,
@@ -14458,7 +14478,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
14458
14478
  }
14459
14479
  /** Include chats in this query (Smart Fetch — single HTTP request). */
14460
14480
  chats(variables, builder) {
14461
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Agent_ChatsDocument, "chats", ["id"]);
14481
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Agent_ChatsDocument, "chats", ["id"]);
14462
14482
  let children;
14463
14483
  if (builder) {
14464
14484
  const sub = new ChatSubBuilder();
@@ -14467,7 +14487,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
14467
14487
  }
14468
14488
  this._includes.push({
14469
14489
  fieldName: "chats",
14470
- fragmentDoc: chunkD7AKD4KG_cjs.ChatConnectionFragmentDoc,
14490
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatConnectionFragmentDoc,
14471
14491
  variables,
14472
14492
  isConnection: true,
14473
14493
  isList: false,
@@ -14492,18 +14512,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk342BFYZZ_cjs.Request
14492
14512
  }
14493
14513
  async fetch(options) {
14494
14514
  const variables = this._variables;
14495
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Agent_ChatsDocument, variables, "agent");
14515
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Agent_ChatsDocument, variables, "agent");
14496
14516
  const data = response.agent?.chats;
14497
14517
  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);
14498
14518
  }
14499
14519
  watch(options) {
14500
14520
  const variables = this._variables;
14501
14521
  const raw = this._syncEngine.watch(
14502
- chunkD7AKD4KG_cjs.Agent_ChatsDocument,
14522
+ chunkOCCUM5WH_cjs.Agent_ChatsDocument,
14503
14523
  variables,
14504
14524
  "agent",
14505
14525
  async (db) => {
14506
- const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkD7AKD4KG_cjs.Agent_ChatsDocument));
14526
+ const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkOCCUM5WH_cjs.Agent_ChatsDocument));
14507
14527
  const nodes = qr ? await db.table("chats").bulkGet(qr.entityIds) : [];
14508
14528
  return { agent: { chats: { __typename: "ChatConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14509
14529
  }
@@ -14523,7 +14543,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
14523
14543
  }
14524
14544
  async fetch(options) {
14525
14545
  const variables = this._variables;
14526
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.AgentsDocument, "agents", this._includes, variables, true);
14546
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.AgentsDocument, "agents", this._includes, variables, true);
14527
14547
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
14528
14548
  const data = response.agents;
14529
14549
  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);
@@ -14540,7 +14560,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
14540
14560
  const subscriptionId = crypto.randomUUID();
14541
14561
  const includes = this._includes;
14542
14562
  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) }] : []);
14543
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.AgentsDocument, "agents", includes, variables, true);
14563
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.AgentsDocument, "agents", includes, variables, true);
14544
14564
  const raw = this._syncEngine.watch(
14545
14565
  queryDoc,
14546
14566
  mergedVars,
@@ -14575,7 +14595,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
14575
14595
  }
14576
14596
  /** Include chats in this query (Smart Fetch — single HTTP request). */
14577
14597
  chats(variables, builder) {
14578
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Agent_ChatsDocument, "chats", ["id"]);
14598
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Agent_ChatsDocument, "chats", ["id"]);
14579
14599
  let children;
14580
14600
  if (builder) {
14581
14601
  const sub = new ChatSubBuilder();
@@ -14584,7 +14604,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
14584
14604
  }
14585
14605
  this._includes.push({
14586
14606
  fieldName: "chats",
14587
- fragmentDoc: chunkD7AKD4KG_cjs.ChatConnectionFragmentDoc,
14607
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatConnectionFragmentDoc,
14588
14608
  variables,
14589
14609
  isConnection: true,
14590
14610
  isList: false,
@@ -14610,7 +14630,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14610
14630
  }
14611
14631
  async fetch(options) {
14612
14632
  const variables = this._variables;
14613
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ArtifactDocument, "artifact", this._includes, variables);
14633
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ArtifactDocument, "artifact", this._includes, variables);
14614
14634
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
14615
14635
  const data = response.artifact;
14616
14636
  const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
@@ -14622,7 +14642,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14622
14642
  watch(options) {
14623
14643
  const variables = this._variables;
14624
14644
  const includes = this._includes;
14625
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ArtifactDocument, "artifact", includes, variables);
14645
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ArtifactDocument, "artifact", includes, variables);
14626
14646
  const raw = this._syncEngine.watch(
14627
14647
  queryDoc,
14628
14648
  mergedVars,
@@ -14652,7 +14672,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14652
14672
  }
14653
14673
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14654
14674
  chat(variables, builder) {
14655
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Artifact_ChatDocument, "chat", ["id"]);
14675
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Artifact_ChatDocument, "chat", ["id"]);
14656
14676
  let children;
14657
14677
  if (builder) {
14658
14678
  const sub = new ChatSubBuilder();
@@ -14661,7 +14681,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14661
14681
  }
14662
14682
  this._includes.push({
14663
14683
  fieldName: "chat",
14664
- fragmentDoc: chunkD7AKD4KG_cjs.ChatFragmentDoc,
14684
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatFragmentDoc,
14665
14685
  variables,
14666
14686
  isConnection: false,
14667
14687
  isList: false,
@@ -14678,10 +14698,10 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14678
14698
  }
14679
14699
  /** Include file in this query (Smart Fetch — single HTTP request). */
14680
14700
  file(variables) {
14681
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Artifact_FileDocument, "file", ["id"]);
14701
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Artifact_FileDocument, "file", ["id"]);
14682
14702
  this._includes.push({
14683
14703
  fieldName: "file",
14684
- fragmentDoc: chunkD7AKD4KG_cjs.FileFragmentDoc,
14704
+ fragmentDoc: chunkOCCUM5WH_cjs.FileFragmentDoc,
14685
14705
  variables,
14686
14706
  isConnection: false,
14687
14707
  isList: false,
@@ -14697,7 +14717,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14697
14717
  }
14698
14718
  /** Include message in this query (Smart Fetch — single HTTP request). */
14699
14719
  message(variables, builder) {
14700
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Artifact_MessageDocument, "message", ["id"]);
14720
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Artifact_MessageDocument, "message", ["id"]);
14701
14721
  let children;
14702
14722
  if (builder) {
14703
14723
  const sub = new ChatMessageSubBuilder();
@@ -14706,7 +14726,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
14706
14726
  }
14707
14727
  this._includes.push({
14708
14728
  fieldName: "message",
14709
- fragmentDoc: chunkD7AKD4KG_cjs.ChatMessageFragmentDoc,
14729
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatMessageFragmentDoc,
14710
14730
  variables,
14711
14731
  isConnection: false,
14712
14732
  isList: false,
@@ -14730,14 +14750,14 @@ var Artifact_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14730
14750
  }
14731
14751
  async fetch(options) {
14732
14752
  const variables = this._variables;
14733
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Artifact_ChatDocument, variables, "artifact");
14753
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Artifact_ChatDocument, variables, "artifact");
14734
14754
  const data = response.artifact?.chat;
14735
14755
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14736
14756
  }
14737
14757
  watch(options) {
14738
14758
  const variables = this._variables;
14739
14759
  const raw = this._syncEngine.watch(
14740
- chunkD7AKD4KG_cjs.Artifact_ChatDocument,
14760
+ chunkOCCUM5WH_cjs.Artifact_ChatDocument,
14741
14761
  variables,
14742
14762
  "artifact",
14743
14763
  async (db) => {
@@ -14760,14 +14780,14 @@ var Artifact_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
14760
14780
  }
14761
14781
  async fetch(options) {
14762
14782
  const variables = this._variables;
14763
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
14783
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
14764
14784
  const data = response.artifact?.chat?.insight;
14765
14785
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14766
14786
  }
14767
14787
  watch(options) {
14768
14788
  const variables = this._variables;
14769
14789
  const raw = this._syncEngine.watch(
14770
- chunkD7AKD4KG_cjs.Artifact_Chat_InsightDocument,
14790
+ chunkOCCUM5WH_cjs.Artifact_Chat_InsightDocument,
14771
14791
  variables,
14772
14792
  "artifact",
14773
14793
  async (db) => {
@@ -14790,14 +14810,14 @@ var Artifact_FileQuery = class extends chunk342BFYZZ_cjs.Request {
14790
14810
  }
14791
14811
  async fetch(options) {
14792
14812
  const variables = this._variables;
14793
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Artifact_FileDocument, variables, "artifact");
14813
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Artifact_FileDocument, variables, "artifact");
14794
14814
  const data = response.artifact?.file;
14795
14815
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14796
14816
  }
14797
14817
  watch(options) {
14798
14818
  const variables = this._variables;
14799
14819
  const raw = this._syncEngine.watch(
14800
- chunkD7AKD4KG_cjs.Artifact_FileDocument,
14820
+ chunkOCCUM5WH_cjs.Artifact_FileDocument,
14801
14821
  variables,
14802
14822
  "artifact",
14803
14823
  async (db) => {
@@ -14820,14 +14840,14 @@ var Artifact_MessageQuery = class extends chunk342BFYZZ_cjs.Request {
14820
14840
  }
14821
14841
  async fetch(options) {
14822
14842
  const variables = this._variables;
14823
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Artifact_MessageDocument, variables, "artifact");
14843
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Artifact_MessageDocument, variables, "artifact");
14824
14844
  const data = response.artifact?.message;
14825
14845
  return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14826
14846
  }
14827
14847
  watch(options) {
14828
14848
  const variables = this._variables;
14829
14849
  const raw = this._syncEngine.watch(
14830
- chunkD7AKD4KG_cjs.Artifact_MessageDocument,
14850
+ chunkOCCUM5WH_cjs.Artifact_MessageDocument,
14831
14851
  variables,
14832
14852
  "artifact",
14833
14853
  async (db) => {
@@ -14850,14 +14870,14 @@ var Artifact_Message_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
14850
14870
  }
14851
14871
  async fetch(options) {
14852
14872
  const variables = this._variables;
14853
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Artifact_Message_ChatDocument, variables, "artifact");
14873
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Artifact_Message_ChatDocument, variables, "artifact");
14854
14874
  const data = response.artifact?.message?.chat;
14855
14875
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14856
14876
  }
14857
14877
  watch(options) {
14858
14878
  const variables = this._variables;
14859
14879
  const raw = this._syncEngine.watch(
14860
- chunkD7AKD4KG_cjs.Artifact_Message_ChatDocument,
14880
+ chunkOCCUM5WH_cjs.Artifact_Message_ChatDocument,
14861
14881
  variables,
14862
14882
  "artifact",
14863
14883
  async (db) => {
@@ -14879,7 +14899,7 @@ var Artifact_Message_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
14879
14899
  this._variables = variables;
14880
14900
  }
14881
14901
  async fetch(options) {
14882
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
14902
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
14883
14903
  const data = response.artifact?.message?.contents;
14884
14904
  if (!Array.isArray(data)) return [];
14885
14905
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -14893,14 +14913,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
14893
14913
  }
14894
14914
  async fetch(options) {
14895
14915
  const variables = this._variables;
14896
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
14916
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
14897
14917
  const data = response.artifact?.message?.feedback;
14898
14918
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14899
14919
  }
14900
14920
  watch(options) {
14901
14921
  const variables = this._variables;
14902
14922
  const raw = this._syncEngine.watch(
14903
- chunkD7AKD4KG_cjs.Artifact_Message_FeedbackDocument,
14923
+ chunkOCCUM5WH_cjs.Artifact_Message_FeedbackDocument,
14904
14924
  variables,
14905
14925
  "artifact",
14906
14926
  async (db) => {
@@ -14924,7 +14944,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
14924
14944
  }
14925
14945
  async fetch(options) {
14926
14946
  const variables = this._variables;
14927
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
14947
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
14928
14948
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
14929
14949
  const data = response.artifacts;
14930
14950
  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);
@@ -14941,7 +14961,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
14941
14961
  const subscriptionId = crypto.randomUUID();
14942
14962
  const includes = this._includes;
14943
14963
  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) }] : []);
14944
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
14964
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
14945
14965
  const raw = this._syncEngine.watch(
14946
14966
  queryDoc,
14947
14967
  mergedVars,
@@ -14976,7 +14996,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
14976
14996
  }
14977
14997
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14978
14998
  chat(variables, builder) {
14979
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Artifact_ChatDocument, "chat", ["id"]);
14999
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Artifact_ChatDocument, "chat", ["id"]);
14980
15000
  let children;
14981
15001
  if (builder) {
14982
15002
  const sub = new ChatSubBuilder();
@@ -14985,7 +15005,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
14985
15005
  }
14986
15006
  this._includes.push({
14987
15007
  fieldName: "chat",
14988
- fragmentDoc: chunkD7AKD4KG_cjs.ChatFragmentDoc,
15008
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatFragmentDoc,
14989
15009
  variables,
14990
15010
  isConnection: false,
14991
15011
  isList: false,
@@ -15002,10 +15022,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
15002
15022
  }
15003
15023
  /** Include file in this query (Smart Fetch — single HTTP request). */
15004
15024
  file(variables) {
15005
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Artifact_FileDocument, "file", ["id"]);
15025
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Artifact_FileDocument, "file", ["id"]);
15006
15026
  this._includes.push({
15007
15027
  fieldName: "file",
15008
- fragmentDoc: chunkD7AKD4KG_cjs.FileFragmentDoc,
15028
+ fragmentDoc: chunkOCCUM5WH_cjs.FileFragmentDoc,
15009
15029
  variables,
15010
15030
  isConnection: false,
15011
15031
  isList: false,
@@ -15021,7 +15041,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
15021
15041
  }
15022
15042
  /** Include message in this query (Smart Fetch — single HTTP request). */
15023
15043
  message(variables, builder) {
15024
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Artifact_MessageDocument, "message", ["id"]);
15044
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Artifact_MessageDocument, "message", ["id"]);
15025
15045
  let children;
15026
15046
  if (builder) {
15027
15047
  const sub = new ChatMessageSubBuilder();
@@ -15030,7 +15050,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
15030
15050
  }
15031
15051
  this._includes.push({
15032
15052
  fieldName: "message",
15033
- fragmentDoc: chunkD7AKD4KG_cjs.ChatMessageFragmentDoc,
15053
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatMessageFragmentDoc,
15034
15054
  variables,
15035
15055
  isConnection: false,
15036
15056
  isList: false,
@@ -15055,7 +15075,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15055
15075
  }
15056
15076
  async fetch(options) {
15057
15077
  const variables = this._variables;
15058
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ChatDocument, "chat", this._includes, variables);
15078
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ChatDocument, "chat", this._includes, variables);
15059
15079
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
15060
15080
  const data = response.chat;
15061
15081
  const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
@@ -15067,7 +15087,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15067
15087
  watch(options) {
15068
15088
  const variables = this._variables;
15069
15089
  const includes = this._includes;
15070
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ChatDocument, "chat", includes, variables);
15090
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ChatDocument, "chat", includes, variables);
15071
15091
  const raw = this._syncEngine.watch(
15072
15092
  queryDoc,
15073
15093
  mergedVars,
@@ -15097,7 +15117,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15097
15117
  }
15098
15118
  /** Include agents in this query (Smart Fetch — single HTTP request). */
15099
15119
  agents(variables, builder) {
15100
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Chat_AgentsDocument, "agents", ["id"]);
15120
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Chat_AgentsDocument, "agents", ["id"]);
15101
15121
  let children;
15102
15122
  if (builder) {
15103
15123
  const sub = new AgentSubBuilder();
@@ -15106,7 +15126,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15106
15126
  }
15107
15127
  this._includes.push({
15108
15128
  fieldName: "agents",
15109
- fragmentDoc: chunkD7AKD4KG_cjs.AgentConnectionFragmentDoc,
15129
+ fragmentDoc: chunkOCCUM5WH_cjs.AgentConnectionFragmentDoc,
15110
15130
  variables,
15111
15131
  isConnection: true,
15112
15132
  isList: false,
@@ -15124,7 +15144,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15124
15144
  }
15125
15145
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
15126
15146
  artifacts(variables, builder) {
15127
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
15147
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
15128
15148
  let children;
15129
15149
  if (builder) {
15130
15150
  const sub = new ArtifactSubBuilder();
@@ -15133,7 +15153,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15133
15153
  }
15134
15154
  this._includes.push({
15135
15155
  fieldName: "artifacts",
15136
- fragmentDoc: chunkD7AKD4KG_cjs.ArtifactConnectionFragmentDoc,
15156
+ fragmentDoc: chunkOCCUM5WH_cjs.ArtifactConnectionFragmentDoc,
15137
15157
  variables,
15138
15158
  isConnection: true,
15139
15159
  isList: false,
@@ -15151,7 +15171,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15151
15171
  }
15152
15172
  /** Include insight in this query (Smart Fetch — single HTTP request). */
15153
15173
  insight(variables, builder) {
15154
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Chat_InsightDocument, "insight", ["id"]);
15174
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Chat_InsightDocument, "insight", ["id"]);
15155
15175
  let children;
15156
15176
  if (builder) {
15157
15177
  const sub = new InsightSubBuilder();
@@ -15160,7 +15180,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15160
15180
  }
15161
15181
  this._includes.push({
15162
15182
  fieldName: "insight",
15163
- fragmentDoc: chunkD7AKD4KG_cjs.InsightFragmentDoc,
15183
+ fragmentDoc: chunkOCCUM5WH_cjs.InsightFragmentDoc,
15164
15184
  variables,
15165
15185
  isConnection: false,
15166
15186
  isList: false,
@@ -15177,7 +15197,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15177
15197
  }
15178
15198
  /** Include messages in this query (Smart Fetch — single HTTP request). */
15179
15199
  messages(variables, builder) {
15180
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Chat_MessagesDocument, "messages", ["id"]);
15200
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Chat_MessagesDocument, "messages", ["id"]);
15181
15201
  let children;
15182
15202
  if (builder) {
15183
15203
  const sub = new ChatMessageSubBuilder();
@@ -15186,7 +15206,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15186
15206
  }
15187
15207
  this._includes.push({
15188
15208
  fieldName: "messages",
15189
- fragmentDoc: chunkD7AKD4KG_cjs.ChatMessageConnectionFragmentDoc,
15209
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatMessageConnectionFragmentDoc,
15190
15210
  variables,
15191
15211
  isConnection: true,
15192
15212
  isList: false,
@@ -15211,18 +15231,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk342BFYZZ_cjs.Request
15211
15231
  }
15212
15232
  async fetch(options) {
15213
15233
  const variables = this._variables;
15214
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Chat_AgentsDocument, variables, "chat");
15234
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Chat_AgentsDocument, variables, "chat");
15215
15235
  const data = response.chat?.agents;
15216
15236
  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);
15217
15237
  }
15218
15238
  watch(options) {
15219
15239
  const variables = this._variables;
15220
15240
  const raw = this._syncEngine.watch(
15221
- chunkD7AKD4KG_cjs.Chat_AgentsDocument,
15241
+ chunkOCCUM5WH_cjs.Chat_AgentsDocument,
15222
15242
  variables,
15223
15243
  "chat",
15224
15244
  async (db) => {
15225
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkD7AKD4KG_cjs.Chat_AgentsDocument));
15245
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkOCCUM5WH_cjs.Chat_AgentsDocument));
15226
15246
  const nodes = qr ? await db.table("agents").bulkGet(qr.entityIds) : [];
15227
15247
  return { chat: { agents: { __typename: "AgentConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15228
15248
  }
@@ -15241,18 +15261,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk342BFYZZ_cjs.R
15241
15261
  }
15242
15262
  async fetch(options) {
15243
15263
  const variables = this._variables;
15244
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Chat_ArtifactsDocument, variables, "chat");
15264
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Chat_ArtifactsDocument, variables, "chat");
15245
15265
  const data = response.chat?.artifacts;
15246
15266
  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);
15247
15267
  }
15248
15268
  watch(options) {
15249
15269
  const variables = this._variables;
15250
15270
  const raw = this._syncEngine.watch(
15251
- chunkD7AKD4KG_cjs.Chat_ArtifactsDocument,
15271
+ chunkOCCUM5WH_cjs.Chat_ArtifactsDocument,
15252
15272
  variables,
15253
15273
  "chat",
15254
15274
  async (db) => {
15255
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkD7AKD4KG_cjs.Chat_ArtifactsDocument));
15275
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkOCCUM5WH_cjs.Chat_ArtifactsDocument));
15256
15276
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
15257
15277
  return { chat: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15258
15278
  }
@@ -15271,14 +15291,14 @@ var Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
15271
15291
  }
15272
15292
  async fetch(options) {
15273
15293
  const variables = this._variables;
15274
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Chat_InsightDocument, variables, "chat");
15294
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Chat_InsightDocument, variables, "chat");
15275
15295
  const data = response.chat?.insight;
15276
15296
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15277
15297
  }
15278
15298
  watch(options) {
15279
15299
  const variables = this._variables;
15280
15300
  const raw = this._syncEngine.watch(
15281
- chunkD7AKD4KG_cjs.Chat_InsightDocument,
15301
+ chunkOCCUM5WH_cjs.Chat_InsightDocument,
15282
15302
  variables,
15283
15303
  "chat",
15284
15304
  async (db) => {
@@ -15300,7 +15320,7 @@ var Chat_Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
15300
15320
  this._variables = variables;
15301
15321
  }
15302
15322
  async fetch(options) {
15303
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
15323
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
15304
15324
  const data = response.chat?.insight?.reportMembers;
15305
15325
  if (!Array.isArray(data)) return [];
15306
15326
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -15314,14 +15334,14 @@ var Chat_Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
15314
15334
  }
15315
15335
  async fetch(options) {
15316
15336
  const variables = this._variables;
15317
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
15337
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
15318
15338
  const data = response.chat?.insight?.thumbnailFile;
15319
15339
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15320
15340
  }
15321
15341
  watch(options) {
15322
15342
  const variables = this._variables;
15323
15343
  const raw = this._syncEngine.watch(
15324
- chunkD7AKD4KG_cjs.Chat_Insight_ThumbnailFileDocument,
15344
+ chunkOCCUM5WH_cjs.Chat_Insight_ThumbnailFileDocument,
15325
15345
  variables,
15326
15346
  "chat",
15327
15347
  async (db) => {
@@ -15344,18 +15364,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk342BFYZZ_cjs.Req
15344
15364
  }
15345
15365
  async fetch(options) {
15346
15366
  const variables = this._variables;
15347
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Chat_MessagesDocument, variables, "chat");
15367
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Chat_MessagesDocument, variables, "chat");
15348
15368
  const data = response.chat?.messages;
15349
15369
  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);
15350
15370
  }
15351
15371
  watch(options) {
15352
15372
  const variables = this._variables;
15353
15373
  const raw = this._syncEngine.watch(
15354
- chunkD7AKD4KG_cjs.Chat_MessagesDocument,
15374
+ chunkOCCUM5WH_cjs.Chat_MessagesDocument,
15355
15375
  variables,
15356
15376
  "chat",
15357
15377
  async (db) => {
15358
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkD7AKD4KG_cjs.Chat_MessagesDocument));
15378
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkOCCUM5WH_cjs.Chat_MessagesDocument));
15359
15379
  const nodes = qr ? await db.table("chatMessages").bulkGet(qr.entityIds) : [];
15360
15380
  return { chat: { messages: { __typename: "ChatMessageConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15361
15381
  }
@@ -15375,7 +15395,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15375
15395
  }
15376
15396
  async fetch(options) {
15377
15397
  const variables = this._variables;
15378
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
15398
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
15379
15399
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
15380
15400
  const data = response.chatMessage;
15381
15401
  const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
@@ -15387,7 +15407,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15387
15407
  watch(options) {
15388
15408
  const variables = this._variables;
15389
15409
  const includes = this._includes;
15390
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ChatMessageDocument, "chatMessage", includes, variables);
15410
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ChatMessageDocument, "chatMessage", includes, variables);
15391
15411
  const raw = this._syncEngine.watch(
15392
15412
  queryDoc,
15393
15413
  mergedVars,
@@ -15417,7 +15437,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15417
15437
  }
15418
15438
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
15419
15439
  artifacts(variables, builder) {
15420
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
15440
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
15421
15441
  let children;
15422
15442
  if (builder) {
15423
15443
  const sub = new ArtifactSubBuilder();
@@ -15426,7 +15446,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15426
15446
  }
15427
15447
  this._includes.push({
15428
15448
  fieldName: "artifacts",
15429
- fragmentDoc: chunkD7AKD4KG_cjs.ArtifactConnectionFragmentDoc,
15449
+ fragmentDoc: chunkOCCUM5WH_cjs.ArtifactConnectionFragmentDoc,
15430
15450
  variables,
15431
15451
  isConnection: true,
15432
15452
  isList: false,
@@ -15444,7 +15464,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15444
15464
  }
15445
15465
  /** Include chat in this query (Smart Fetch — single HTTP request). */
15446
15466
  chat(variables, builder) {
15447
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
15467
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
15448
15468
  let children;
15449
15469
  if (builder) {
15450
15470
  const sub = new ChatSubBuilder();
@@ -15453,7 +15473,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15453
15473
  }
15454
15474
  this._includes.push({
15455
15475
  fieldName: "chat",
15456
- fragmentDoc: chunkD7AKD4KG_cjs.ChatFragmentDoc,
15476
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatFragmentDoc,
15457
15477
  variables,
15458
15478
  isConnection: false,
15459
15479
  isList: false,
@@ -15470,10 +15490,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15470
15490
  }
15471
15491
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15472
15492
  contents(variables) {
15473
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
15493
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
15474
15494
  this._includes.push({
15475
15495
  fieldName: "contents",
15476
- fragmentDoc: chunkD7AKD4KG_cjs.ContentBlockFragmentDoc,
15496
+ fragmentDoc: chunkOCCUM5WH_cjs.ContentBlockFragmentDoc,
15477
15497
  variables,
15478
15498
  isConnection: false,
15479
15499
  isList: true,
@@ -15489,10 +15509,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
15489
15509
  }
15490
15510
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
15491
15511
  feedback(variables) {
15492
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
15512
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
15493
15513
  this._includes.push({
15494
15514
  fieldName: "feedback",
15495
- fragmentDoc: chunkD7AKD4KG_cjs.FeedbackFragmentDoc,
15515
+ fragmentDoc: chunkOCCUM5WH_cjs.FeedbackFragmentDoc,
15496
15516
  variables,
15497
15517
  isConnection: false,
15498
15518
  isList: false,
@@ -15515,18 +15535,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
15515
15535
  }
15516
15536
  async fetch(options) {
15517
15537
  const variables = this._variables;
15518
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
15538
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
15519
15539
  const data = response.chatMessage?.artifacts;
15520
15540
  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);
15521
15541
  }
15522
15542
  watch(options) {
15523
15543
  const variables = this._variables;
15524
15544
  const raw = this._syncEngine.watch(
15525
- chunkD7AKD4KG_cjs.ChatMessage_ArtifactsDocument,
15545
+ chunkOCCUM5WH_cjs.ChatMessage_ArtifactsDocument,
15526
15546
  variables,
15527
15547
  "chatMessage",
15528
15548
  async (db) => {
15529
- const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkD7AKD4KG_cjs.ChatMessage_ArtifactsDocument));
15549
+ const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkOCCUM5WH_cjs.ChatMessage_ArtifactsDocument));
15530
15550
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
15531
15551
  return { chatMessage: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15532
15552
  }
@@ -15545,14 +15565,14 @@ var ChatMessage_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
15545
15565
  }
15546
15566
  async fetch(options) {
15547
15567
  const variables = this._variables;
15548
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
15568
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
15549
15569
  const data = response.chatMessage?.chat;
15550
15570
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15551
15571
  }
15552
15572
  watch(options) {
15553
15573
  const variables = this._variables;
15554
15574
  const raw = this._syncEngine.watch(
15555
- chunkD7AKD4KG_cjs.ChatMessage_ChatDocument,
15575
+ chunkOCCUM5WH_cjs.ChatMessage_ChatDocument,
15556
15576
  variables,
15557
15577
  "chatMessage",
15558
15578
  async (db) => {
@@ -15575,14 +15595,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
15575
15595
  }
15576
15596
  async fetch(options) {
15577
15597
  const variables = this._variables;
15578
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
15598
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
15579
15599
  const data = response.chatMessage?.chat?.insight;
15580
15600
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15581
15601
  }
15582
15602
  watch(options) {
15583
15603
  const variables = this._variables;
15584
15604
  const raw = this._syncEngine.watch(
15585
- chunkD7AKD4KG_cjs.ChatMessage_Chat_InsightDocument,
15605
+ chunkOCCUM5WH_cjs.ChatMessage_Chat_InsightDocument,
15586
15606
  variables,
15587
15607
  "chatMessage",
15588
15608
  async (db) => {
@@ -15604,7 +15624,7 @@ var ChatMessage_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
15604
15624
  this._variables = variables;
15605
15625
  }
15606
15626
  async fetch(options) {
15607
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
15627
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
15608
15628
  const data = response.chatMessage?.contents;
15609
15629
  if (!Array.isArray(data)) return [];
15610
15630
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -15618,14 +15638,14 @@ var ChatMessage_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
15618
15638
  }
15619
15639
  async fetch(options) {
15620
15640
  const variables = this._variables;
15621
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
15641
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
15622
15642
  const data = response.chatMessage?.feedback;
15623
15643
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15624
15644
  }
15625
15645
  watch(options) {
15626
15646
  const variables = this._variables;
15627
15647
  const raw = this._syncEngine.watch(
15628
- chunkD7AKD4KG_cjs.ChatMessage_FeedbackDocument,
15648
+ chunkOCCUM5WH_cjs.ChatMessage_FeedbackDocument,
15629
15649
  variables,
15630
15650
  "chatMessage",
15631
15651
  async (db) => {
@@ -15649,7 +15669,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15649
15669
  }
15650
15670
  async fetch(options) {
15651
15671
  const variables = this._variables;
15652
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
15672
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
15653
15673
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
15654
15674
  const data = response.chatMessages;
15655
15675
  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);
@@ -15666,7 +15686,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15666
15686
  const subscriptionId = crypto.randomUUID();
15667
15687
  const includes = this._includes;
15668
15688
  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) }] : []);
15669
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
15689
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
15670
15690
  const raw = this._syncEngine.watch(
15671
15691
  queryDoc,
15672
15692
  mergedVars,
@@ -15701,7 +15721,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15701
15721
  }
15702
15722
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
15703
15723
  artifacts(variables, builder) {
15704
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
15724
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
15705
15725
  let children;
15706
15726
  if (builder) {
15707
15727
  const sub = new ArtifactSubBuilder();
@@ -15710,7 +15730,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15710
15730
  }
15711
15731
  this._includes.push({
15712
15732
  fieldName: "artifacts",
15713
- fragmentDoc: chunkD7AKD4KG_cjs.ArtifactConnectionFragmentDoc,
15733
+ fragmentDoc: chunkOCCUM5WH_cjs.ArtifactConnectionFragmentDoc,
15714
15734
  variables,
15715
15735
  isConnection: true,
15716
15736
  isList: false,
@@ -15728,7 +15748,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15728
15748
  }
15729
15749
  /** Include chat in this query (Smart Fetch — single HTTP request). */
15730
15750
  chat(variables, builder) {
15731
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
15751
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
15732
15752
  let children;
15733
15753
  if (builder) {
15734
15754
  const sub = new ChatSubBuilder();
@@ -15737,7 +15757,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15737
15757
  }
15738
15758
  this._includes.push({
15739
15759
  fieldName: "chat",
15740
- fragmentDoc: chunkD7AKD4KG_cjs.ChatFragmentDoc,
15760
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatFragmentDoc,
15741
15761
  variables,
15742
15762
  isConnection: false,
15743
15763
  isList: false,
@@ -15754,10 +15774,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15754
15774
  }
15755
15775
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15756
15776
  contents(variables) {
15757
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
15777
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
15758
15778
  this._includes.push({
15759
15779
  fieldName: "contents",
15760
- fragmentDoc: chunkD7AKD4KG_cjs.ContentBlockFragmentDoc,
15780
+ fragmentDoc: chunkOCCUM5WH_cjs.ContentBlockFragmentDoc,
15761
15781
  variables,
15762
15782
  isConnection: false,
15763
15783
  isList: true,
@@ -15773,10 +15793,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
15773
15793
  }
15774
15794
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
15775
15795
  feedback(variables) {
15776
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
15796
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
15777
15797
  this._includes.push({
15778
15798
  fieldName: "feedback",
15779
- fragmentDoc: chunkD7AKD4KG_cjs.FeedbackFragmentDoc,
15799
+ fragmentDoc: chunkOCCUM5WH_cjs.FeedbackFragmentDoc,
15780
15800
  variables,
15781
15801
  isConnection: false,
15782
15802
  isList: false,
@@ -15800,7 +15820,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15800
15820
  }
15801
15821
  async fetch(options) {
15802
15822
  const variables = this._variables;
15803
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ChatsDocument, "chats", this._includes, variables, true);
15823
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ChatsDocument, "chats", this._includes, variables, true);
15804
15824
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
15805
15825
  const data = response.chats;
15806
15826
  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);
@@ -15817,7 +15837,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15817
15837
  const subscriptionId = crypto.randomUUID();
15818
15838
  const includes = this._includes;
15819
15839
  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) }] : []);
15820
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ChatsDocument, "chats", includes, variables, true);
15840
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ChatsDocument, "chats", includes, variables, true);
15821
15841
  const raw = this._syncEngine.watch(
15822
15842
  queryDoc,
15823
15843
  mergedVars,
@@ -15852,7 +15872,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15852
15872
  }
15853
15873
  /** Include agents in this query (Smart Fetch — single HTTP request). */
15854
15874
  agents(variables, builder) {
15855
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Chat_AgentsDocument, "agents", ["id"]);
15875
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Chat_AgentsDocument, "agents", ["id"]);
15856
15876
  let children;
15857
15877
  if (builder) {
15858
15878
  const sub = new AgentSubBuilder();
@@ -15861,7 +15881,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15861
15881
  }
15862
15882
  this._includes.push({
15863
15883
  fieldName: "agents",
15864
- fragmentDoc: chunkD7AKD4KG_cjs.AgentConnectionFragmentDoc,
15884
+ fragmentDoc: chunkOCCUM5WH_cjs.AgentConnectionFragmentDoc,
15865
15885
  variables,
15866
15886
  isConnection: true,
15867
15887
  isList: false,
@@ -15879,7 +15899,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15879
15899
  }
15880
15900
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
15881
15901
  artifacts(variables, builder) {
15882
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
15902
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
15883
15903
  let children;
15884
15904
  if (builder) {
15885
15905
  const sub = new ArtifactSubBuilder();
@@ -15888,7 +15908,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15888
15908
  }
15889
15909
  this._includes.push({
15890
15910
  fieldName: "artifacts",
15891
- fragmentDoc: chunkD7AKD4KG_cjs.ArtifactConnectionFragmentDoc,
15911
+ fragmentDoc: chunkOCCUM5WH_cjs.ArtifactConnectionFragmentDoc,
15892
15912
  variables,
15893
15913
  isConnection: true,
15894
15914
  isList: false,
@@ -15906,7 +15926,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15906
15926
  }
15907
15927
  /** Include insight in this query (Smart Fetch — single HTTP request). */
15908
15928
  insight(variables, builder) {
15909
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Chat_InsightDocument, "insight", ["id"]);
15929
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Chat_InsightDocument, "insight", ["id"]);
15910
15930
  let children;
15911
15931
  if (builder) {
15912
15932
  const sub = new InsightSubBuilder();
@@ -15915,7 +15935,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15915
15935
  }
15916
15936
  this._includes.push({
15917
15937
  fieldName: "insight",
15918
- fragmentDoc: chunkD7AKD4KG_cjs.InsightFragmentDoc,
15938
+ fragmentDoc: chunkOCCUM5WH_cjs.InsightFragmentDoc,
15919
15939
  variables,
15920
15940
  isConnection: false,
15921
15941
  isList: false,
@@ -15932,7 +15952,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15932
15952
  }
15933
15953
  /** Include messages in this query (Smart Fetch — single HTTP request). */
15934
15954
  messages(variables, builder) {
15935
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Chat_MessagesDocument, "messages", ["id"]);
15955
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Chat_MessagesDocument, "messages", ["id"]);
15936
15956
  let children;
15937
15957
  if (builder) {
15938
15958
  const sub = new ChatMessageSubBuilder();
@@ -15941,7 +15961,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
15941
15961
  }
15942
15962
  this._includes.push({
15943
15963
  fieldName: "messages",
15944
- fragmentDoc: chunkD7AKD4KG_cjs.ChatMessageConnectionFragmentDoc,
15964
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatMessageConnectionFragmentDoc,
15945
15965
  variables,
15946
15966
  isConnection: true,
15947
15967
  isList: false,
@@ -15967,7 +15987,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
15967
15987
  }
15968
15988
  async fetch(options) {
15969
15989
  const variables = this._variables;
15970
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DatabaseDocument, "database", this._includes, variables);
15990
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DatabaseDocument, "database", this._includes, variables);
15971
15991
  const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
15972
15992
  const data = response.database;
15973
15993
  const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
@@ -15979,7 +15999,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
15979
15999
  watch(options) {
15980
16000
  const variables = this._variables;
15981
16001
  const includes = this._includes;
15982
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DatabaseDocument, "database", includes, variables);
16002
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DatabaseDocument, "database", includes, variables);
15983
16003
  const raw = this._syncEngine.watch(
15984
16004
  queryDoc,
15985
16005
  mergedVars,
@@ -16009,10 +16029,10 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
16009
16029
  }
16010
16030
  /** Include engine in this query (Smart Fetch — single HTTP request). */
16011
16031
  engine(variables) {
16012
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Database_EngineDocument, "engine", ["id"]);
16032
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Database_EngineDocument, "engine", ["id"]);
16013
16033
  this._includes.push({
16014
16034
  fieldName: "engine",
16015
- fragmentDoc: chunkD7AKD4KG_cjs.DatabaseEngineFragmentDoc,
16035
+ fragmentDoc: chunkOCCUM5WH_cjs.DatabaseEngineFragmentDoc,
16016
16036
  variables,
16017
16037
  isConnection: false,
16018
16038
  isList: false,
@@ -16028,7 +16048,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
16028
16048
  }
16029
16049
  /** Include tables in this query (Smart Fetch — single HTTP request). */
16030
16050
  tables(variables, builder) {
16031
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Database_TablesDocument, "tables", ["id"]);
16051
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Database_TablesDocument, "tables", ["id"]);
16032
16052
  let children;
16033
16053
  if (builder) {
16034
16054
  const sub = new TableSubBuilder();
@@ -16037,7 +16057,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
16037
16057
  }
16038
16058
  this._includes.push({
16039
16059
  fieldName: "tables",
16040
- fragmentDoc: chunkD7AKD4KG_cjs.TableConnectionFragmentDoc,
16060
+ fragmentDoc: chunkOCCUM5WH_cjs.TableConnectionFragmentDoc,
16041
16061
  variables,
16042
16062
  isConnection: true,
16043
16063
  isList: false,
@@ -16062,14 +16082,14 @@ var Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
16062
16082
  }
16063
16083
  async fetch(options) {
16064
16084
  const variables = this._variables;
16065
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Database_EngineDocument, variables, "database");
16085
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Database_EngineDocument, variables, "database");
16066
16086
  const data = response.database?.engine;
16067
16087
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16068
16088
  }
16069
16089
  watch(options) {
16070
16090
  const variables = this._variables;
16071
16091
  const raw = this._syncEngine.watch(
16072
- chunkD7AKD4KG_cjs.Database_EngineDocument,
16092
+ chunkOCCUM5WH_cjs.Database_EngineDocument,
16073
16093
  variables,
16074
16094
  "database",
16075
16095
  async (db) => {
@@ -16092,14 +16112,14 @@ var Database_Engine_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16092
16112
  }
16093
16113
  async fetch(options) {
16094
16114
  const variables = this._variables;
16095
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Database_Engine_CatalogDocument, variables, "database");
16115
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Database_Engine_CatalogDocument, variables, "database");
16096
16116
  const data = response.database?.engine?.catalog;
16097
16117
  return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16098
16118
  }
16099
16119
  watch(options) {
16100
16120
  const variables = this._variables;
16101
16121
  const raw = this._syncEngine.watch(
16102
- chunkD7AKD4KG_cjs.Database_Engine_CatalogDocument,
16122
+ chunkOCCUM5WH_cjs.Database_Engine_CatalogDocument,
16103
16123
  variables,
16104
16124
  "database",
16105
16125
  async (db) => {
@@ -16122,18 +16142,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk342BFYZZ_cjs
16122
16142
  }
16123
16143
  async fetch(options) {
16124
16144
  const variables = this._variables;
16125
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Database_TablesDocument, variables, "database");
16145
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Database_TablesDocument, variables, "database");
16126
16146
  const data = response.database?.tables;
16127
16147
  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);
16128
16148
  }
16129
16149
  watch(options) {
16130
16150
  const variables = this._variables;
16131
16151
  const raw = this._syncEngine.watch(
16132
- chunkD7AKD4KG_cjs.Database_TablesDocument,
16152
+ chunkOCCUM5WH_cjs.Database_TablesDocument,
16133
16153
  variables,
16134
16154
  "database",
16135
16155
  async (db) => {
16136
- const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkD7AKD4KG_cjs.Database_TablesDocument));
16156
+ const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkOCCUM5WH_cjs.Database_TablesDocument));
16137
16157
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
16138
16158
  return { database: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
16139
16159
  }
@@ -16153,7 +16173,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16153
16173
  }
16154
16174
  async fetch(options) {
16155
16175
  const variables = this._variables;
16156
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
16176
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
16157
16177
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
16158
16178
  const data = response.databaseCatalog;
16159
16179
  const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -16165,7 +16185,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16165
16185
  watch(options) {
16166
16186
  const variables = this._variables;
16167
16187
  const includes = this._includes;
16168
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
16188
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
16169
16189
  const raw = this._syncEngine.watch(
16170
16190
  queryDoc,
16171
16191
  mergedVars,
@@ -16195,10 +16215,10 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16195
16215
  }
16196
16216
  /** Include engine in this query (Smart Fetch — single HTTP request). */
16197
16217
  engine(variables) {
16198
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.DatabaseCatalog_EngineDocument, "engine", []);
16218
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.DatabaseCatalog_EngineDocument, "engine", []);
16199
16219
  this._includes.push({
16200
16220
  fieldName: "engine",
16201
- fragmentDoc: chunkD7AKD4KG_cjs.DatabaseEngineFragmentDoc,
16221
+ fragmentDoc: chunkOCCUM5WH_cjs.DatabaseEngineFragmentDoc,
16202
16222
  variables,
16203
16223
  isConnection: false,
16204
16224
  isList: false,
@@ -16221,14 +16241,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
16221
16241
  }
16222
16242
  async fetch(options) {
16223
16243
  const variables = this._variables;
16224
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
16244
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
16225
16245
  const data = response.databaseCatalog?.engine;
16226
16246
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16227
16247
  }
16228
16248
  watch(options) {
16229
16249
  const variables = this._variables;
16230
16250
  const raw = this._syncEngine.watch(
16231
- chunkD7AKD4KG_cjs.DatabaseCatalog_EngineDocument,
16251
+ chunkOCCUM5WH_cjs.DatabaseCatalog_EngineDocument,
16232
16252
  variables,
16233
16253
  "databaseCatalog",
16234
16254
  async (db) => {
@@ -16252,7 +16272,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
16252
16272
  }
16253
16273
  async fetch(options) {
16254
16274
  const variables = this._variables;
16255
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
16275
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
16256
16276
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
16257
16277
  const data = response.databaseCatalogs;
16258
16278
  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);
@@ -16269,7 +16289,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
16269
16289
  const subscriptionId = crypto.randomUUID();
16270
16290
  const includes = this._includes;
16271
16291
  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) }] : []);
16272
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
16292
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
16273
16293
  const raw = this._syncEngine.watch(
16274
16294
  queryDoc,
16275
16295
  mergedVars,
@@ -16304,10 +16324,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
16304
16324
  }
16305
16325
  /** Include engine in this query (Smart Fetch — single HTTP request). */
16306
16326
  engine(variables) {
16307
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.DatabaseCatalog_EngineDocument, "engine", []);
16327
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.DatabaseCatalog_EngineDocument, "engine", []);
16308
16328
  this._includes.push({
16309
16329
  fieldName: "engine",
16310
- fragmentDoc: chunkD7AKD4KG_cjs.DatabaseEngineFragmentDoc,
16330
+ fragmentDoc: chunkOCCUM5WH_cjs.DatabaseEngineFragmentDoc,
16311
16331
  variables,
16312
16332
  isConnection: false,
16313
16333
  isList: false,
@@ -16324,7 +16344,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
16324
16344
  };
16325
16345
  var DatabaseSchemaQuery = class extends chunk342BFYZZ_cjs.Request {
16326
16346
  async fetch(variables) {
16327
- const response = await this._request(chunkD7AKD4KG_cjs.DatabaseSchemaDocument, variables);
16347
+ const response = await this._request(chunkOCCUM5WH_cjs.DatabaseSchemaDocument, variables);
16328
16348
  return response.databaseSchema;
16329
16349
  }
16330
16350
  };
@@ -16337,7 +16357,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
16337
16357
  }
16338
16358
  async fetch(options) {
16339
16359
  const variables = this._variables;
16340
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DatabasesDocument, "databases", this._includes, variables, true);
16360
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DatabasesDocument, "databases", this._includes, variables, true);
16341
16361
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
16342
16362
  const data = response.databases;
16343
16363
  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);
@@ -16354,7 +16374,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
16354
16374
  const subscriptionId = crypto.randomUUID();
16355
16375
  const includes = this._includes;
16356
16376
  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) }] : []);
16357
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DatabasesDocument, "databases", includes, variables, true);
16377
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DatabasesDocument, "databases", includes, variables, true);
16358
16378
  const raw = this._syncEngine.watch(
16359
16379
  queryDoc,
16360
16380
  mergedVars,
@@ -16389,10 +16409,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
16389
16409
  }
16390
16410
  /** Include engine in this query (Smart Fetch — single HTTP request). */
16391
16411
  engine(variables) {
16392
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Database_EngineDocument, "engine", ["id"]);
16412
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Database_EngineDocument, "engine", ["id"]);
16393
16413
  this._includes.push({
16394
16414
  fieldName: "engine",
16395
- fragmentDoc: chunkD7AKD4KG_cjs.DatabaseEngineFragmentDoc,
16415
+ fragmentDoc: chunkOCCUM5WH_cjs.DatabaseEngineFragmentDoc,
16396
16416
  variables,
16397
16417
  isConnection: false,
16398
16418
  isList: false,
@@ -16408,7 +16428,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
16408
16428
  }
16409
16429
  /** Include tables in this query (Smart Fetch — single HTTP request). */
16410
16430
  tables(variables, builder) {
16411
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Database_TablesDocument, "tables", ["id"]);
16431
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Database_TablesDocument, "tables", ["id"]);
16412
16432
  let children;
16413
16433
  if (builder) {
16414
16434
  const sub = new TableSubBuilder();
@@ -16417,7 +16437,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
16417
16437
  }
16418
16438
  this._includes.push({
16419
16439
  fieldName: "tables",
16420
- fragmentDoc: chunkD7AKD4KG_cjs.TableConnectionFragmentDoc,
16440
+ fragmentDoc: chunkOCCUM5WH_cjs.TableConnectionFragmentDoc,
16421
16441
  variables,
16422
16442
  isConnection: true,
16423
16443
  isList: false,
@@ -16443,7 +16463,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16443
16463
  }
16444
16464
  async fetch(options) {
16445
16465
  const variables = this._variables;
16446
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DocumentDocument, "document", this._includes, variables);
16466
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DocumentDocument, "document", this._includes, variables);
16447
16467
  const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
16448
16468
  const data = response.document;
16449
16469
  const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
@@ -16455,7 +16475,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16455
16475
  watch(options) {
16456
16476
  const variables = this._variables;
16457
16477
  const includes = this._includes;
16458
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DocumentDocument, "document", includes, variables);
16478
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DocumentDocument, "document", includes, variables);
16459
16479
  const raw = this._syncEngine.watch(
16460
16480
  queryDoc,
16461
16481
  mergedVars,
@@ -16485,10 +16505,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16485
16505
  }
16486
16506
  /** Include contents in this query (Smart Fetch — single HTTP request). */
16487
16507
  contents(variables) {
16488
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Document_ContentsDocument, "contents", ["id"]);
16508
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Document_ContentsDocument, "contents", ["id"]);
16489
16509
  this._includes.push({
16490
16510
  fieldName: "contents",
16491
- fragmentDoc: chunkD7AKD4KG_cjs.DocumentContentFragmentDoc,
16511
+ fragmentDoc: chunkOCCUM5WH_cjs.DocumentContentFragmentDoc,
16492
16512
  variables,
16493
16513
  isConnection: false,
16494
16514
  isList: true,
@@ -16504,10 +16524,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16504
16524
  }
16505
16525
  /** Include file in this query (Smart Fetch — single HTTP request). */
16506
16526
  file(variables) {
16507
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Document_FileDocument, "file", ["id"]);
16527
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Document_FileDocument, "file", ["id"]);
16508
16528
  this._includes.push({
16509
16529
  fieldName: "file",
16510
- fragmentDoc: chunkD7AKD4KG_cjs.FileFragmentDoc,
16530
+ fragmentDoc: chunkOCCUM5WH_cjs.FileFragmentDoc,
16511
16531
  variables,
16512
16532
  isConnection: false,
16513
16533
  isList: false,
@@ -16523,10 +16543,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16523
16543
  }
16524
16544
  /** Include format in this query (Smart Fetch — single HTTP request). */
16525
16545
  format(variables) {
16526
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Document_FormatDocument, "format", ["id"]);
16546
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Document_FormatDocument, "format", ["id"]);
16527
16547
  this._includes.push({
16528
16548
  fieldName: "format",
16529
- fragmentDoc: chunkD7AKD4KG_cjs.DocumentFormatFragmentDoc,
16549
+ fragmentDoc: chunkOCCUM5WH_cjs.DocumentFormatFragmentDoc,
16530
16550
  variables,
16531
16551
  isConnection: false,
16532
16552
  isList: false,
@@ -16542,7 +16562,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16542
16562
  }
16543
16563
  /** Include tables in this query (Smart Fetch — single HTTP request). */
16544
16564
  tables(variables, builder) {
16545
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Document_TablesDocument, "tables", ["id"]);
16565
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Document_TablesDocument, "tables", ["id"]);
16546
16566
  let children;
16547
16567
  if (builder) {
16548
16568
  const sub = new TableSubBuilder();
@@ -16551,7 +16571,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
16551
16571
  }
16552
16572
  this._includes.push({
16553
16573
  fieldName: "tables",
16554
- fragmentDoc: chunkD7AKD4KG_cjs.TableConnectionFragmentDoc,
16574
+ fragmentDoc: chunkOCCUM5WH_cjs.TableConnectionFragmentDoc,
16555
16575
  variables,
16556
16576
  isConnection: true,
16557
16577
  isList: false,
@@ -16575,7 +16595,7 @@ var Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
16575
16595
  this._variables = variables;
16576
16596
  }
16577
16597
  async fetch(options) {
16578
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Document_ContentsDocument, this._variables, "document");
16598
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Document_ContentsDocument, this._variables, "document");
16579
16599
  const data = response.document?.contents;
16580
16600
  if (!Array.isArray(data)) return [];
16581
16601
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -16589,14 +16609,14 @@ var Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
16589
16609
  }
16590
16610
  async fetch(options) {
16591
16611
  const variables = this._variables;
16592
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Document_FileDocument, variables, "document");
16612
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Document_FileDocument, variables, "document");
16593
16613
  const data = response.document?.file;
16594
16614
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16595
16615
  }
16596
16616
  watch(options) {
16597
16617
  const variables = this._variables;
16598
16618
  const raw = this._syncEngine.watch(
16599
- chunkD7AKD4KG_cjs.Document_FileDocument,
16619
+ chunkOCCUM5WH_cjs.Document_FileDocument,
16600
16620
  variables,
16601
16621
  "document",
16602
16622
  async (db) => {
@@ -16619,14 +16639,14 @@ var Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
16619
16639
  }
16620
16640
  async fetch(options) {
16621
16641
  const variables = this._variables;
16622
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Document_FormatDocument, variables, "document");
16642
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Document_FormatDocument, variables, "document");
16623
16643
  const data = response.document?.format;
16624
16644
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16625
16645
  }
16626
16646
  watch(options) {
16627
16647
  const variables = this._variables;
16628
16648
  const raw = this._syncEngine.watch(
16629
- chunkD7AKD4KG_cjs.Document_FormatDocument,
16649
+ chunkOCCUM5WH_cjs.Document_FormatDocument,
16630
16650
  variables,
16631
16651
  "document",
16632
16652
  async (db) => {
@@ -16649,14 +16669,14 @@ var Document_Format_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16649
16669
  }
16650
16670
  async fetch(options) {
16651
16671
  const variables = this._variables;
16652
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Document_Format_CatalogDocument, variables, "document");
16672
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Document_Format_CatalogDocument, variables, "document");
16653
16673
  const data = response.document?.format?.catalog;
16654
16674
  return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16655
16675
  }
16656
16676
  watch(options) {
16657
16677
  const variables = this._variables;
16658
16678
  const raw = this._syncEngine.watch(
16659
- chunkD7AKD4KG_cjs.Document_Format_CatalogDocument,
16679
+ chunkOCCUM5WH_cjs.Document_Format_CatalogDocument,
16660
16680
  variables,
16661
16681
  "document",
16662
16682
  async (db) => {
@@ -16679,18 +16699,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk342BFYZZ_cjs
16679
16699
  }
16680
16700
  async fetch(options) {
16681
16701
  const variables = this._variables;
16682
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Document_TablesDocument, variables, "document");
16702
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Document_TablesDocument, variables, "document");
16683
16703
  const data = response.document?.tables;
16684
16704
  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);
16685
16705
  }
16686
16706
  watch(options) {
16687
16707
  const variables = this._variables;
16688
16708
  const raw = this._syncEngine.watch(
16689
- chunkD7AKD4KG_cjs.Document_TablesDocument,
16709
+ chunkOCCUM5WH_cjs.Document_TablesDocument,
16690
16710
  variables,
16691
16711
  "document",
16692
16712
  async (db) => {
16693
- const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkD7AKD4KG_cjs.Document_TablesDocument));
16713
+ const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkOCCUM5WH_cjs.Document_TablesDocument));
16694
16714
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
16695
16715
  return { document: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
16696
16716
  }
@@ -16710,7 +16730,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16710
16730
  }
16711
16731
  async fetch(options) {
16712
16732
  const variables = this._variables;
16713
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
16733
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
16714
16734
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
16715
16735
  const data = response.documentCatalog;
16716
16736
  const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -16722,7 +16742,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16722
16742
  watch(options) {
16723
16743
  const variables = this._variables;
16724
16744
  const includes = this._includes;
16725
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
16745
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
16726
16746
  const raw = this._syncEngine.watch(
16727
16747
  queryDoc,
16728
16748
  mergedVars,
@@ -16752,10 +16772,10 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
16752
16772
  }
16753
16773
  /** Include format in this query (Smart Fetch — single HTTP request). */
16754
16774
  format(variables) {
16755
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.DocumentCatalog_FormatDocument, "format", []);
16775
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.DocumentCatalog_FormatDocument, "format", []);
16756
16776
  this._includes.push({
16757
16777
  fieldName: "format",
16758
- fragmentDoc: chunkD7AKD4KG_cjs.DocumentFormatFragmentDoc,
16778
+ fragmentDoc: chunkOCCUM5WH_cjs.DocumentFormatFragmentDoc,
16759
16779
  variables,
16760
16780
  isConnection: false,
16761
16781
  isList: false,
@@ -16778,14 +16798,14 @@ var DocumentCatalog_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
16778
16798
  }
16779
16799
  async fetch(options) {
16780
16800
  const variables = this._variables;
16781
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
16801
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
16782
16802
  const data = response.documentCatalog?.format;
16783
16803
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16784
16804
  }
16785
16805
  watch(options) {
16786
16806
  const variables = this._variables;
16787
16807
  const raw = this._syncEngine.watch(
16788
- chunkD7AKD4KG_cjs.DocumentCatalog_FormatDocument,
16808
+ chunkOCCUM5WH_cjs.DocumentCatalog_FormatDocument,
16789
16809
  variables,
16790
16810
  "documentCatalog",
16791
16811
  async (db) => {
@@ -16809,7 +16829,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
16809
16829
  }
16810
16830
  async fetch(options) {
16811
16831
  const variables = this._variables;
16812
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
16832
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
16813
16833
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
16814
16834
  const data = response.documentCatalogs;
16815
16835
  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);
@@ -16826,7 +16846,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
16826
16846
  const subscriptionId = crypto.randomUUID();
16827
16847
  const includes = this._includes;
16828
16848
  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) }] : []);
16829
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
16849
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
16830
16850
  const raw = this._syncEngine.watch(
16831
16851
  queryDoc,
16832
16852
  mergedVars,
@@ -16861,10 +16881,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
16861
16881
  }
16862
16882
  /** Include format in this query (Smart Fetch — single HTTP request). */
16863
16883
  format(variables) {
16864
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.DocumentCatalog_FormatDocument, "format", []);
16884
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.DocumentCatalog_FormatDocument, "format", []);
16865
16885
  this._includes.push({
16866
16886
  fieldName: "format",
16867
- fragmentDoc: chunkD7AKD4KG_cjs.DocumentFormatFragmentDoc,
16887
+ fragmentDoc: chunkOCCUM5WH_cjs.DocumentFormatFragmentDoc,
16868
16888
  variables,
16869
16889
  isConnection: false,
16870
16890
  isList: false,
@@ -16888,7 +16908,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
16888
16908
  }
16889
16909
  async fetch(options) {
16890
16910
  const variables = this._variables;
16891
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DocumentsDocument, "documents", this._includes, variables, true);
16911
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DocumentsDocument, "documents", this._includes, variables, true);
16892
16912
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
16893
16913
  const data = response.documents;
16894
16914
  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);
@@ -16905,7 +16925,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
16905
16925
  const subscriptionId = crypto.randomUUID();
16906
16926
  const includes = this._includes;
16907
16927
  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) }] : []);
16908
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.DocumentsDocument, "documents", includes, variables, true);
16928
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.DocumentsDocument, "documents", includes, variables, true);
16909
16929
  const raw = this._syncEngine.watch(
16910
16930
  queryDoc,
16911
16931
  mergedVars,
@@ -16940,10 +16960,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
16940
16960
  }
16941
16961
  /** Include contents in this query (Smart Fetch — single HTTP request). */
16942
16962
  contents(variables) {
16943
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Document_ContentsDocument, "contents", ["id"]);
16963
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Document_ContentsDocument, "contents", ["id"]);
16944
16964
  this._includes.push({
16945
16965
  fieldName: "contents",
16946
- fragmentDoc: chunkD7AKD4KG_cjs.DocumentContentFragmentDoc,
16966
+ fragmentDoc: chunkOCCUM5WH_cjs.DocumentContentFragmentDoc,
16947
16967
  variables,
16948
16968
  isConnection: false,
16949
16969
  isList: true,
@@ -16959,10 +16979,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
16959
16979
  }
16960
16980
  /** Include file in this query (Smart Fetch — single HTTP request). */
16961
16981
  file(variables) {
16962
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Document_FileDocument, "file", ["id"]);
16982
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Document_FileDocument, "file", ["id"]);
16963
16983
  this._includes.push({
16964
16984
  fieldName: "file",
16965
- fragmentDoc: chunkD7AKD4KG_cjs.FileFragmentDoc,
16985
+ fragmentDoc: chunkOCCUM5WH_cjs.FileFragmentDoc,
16966
16986
  variables,
16967
16987
  isConnection: false,
16968
16988
  isList: false,
@@ -16978,10 +16998,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
16978
16998
  }
16979
16999
  /** Include format in this query (Smart Fetch — single HTTP request). */
16980
17000
  format(variables) {
16981
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Document_FormatDocument, "format", ["id"]);
17001
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Document_FormatDocument, "format", ["id"]);
16982
17002
  this._includes.push({
16983
17003
  fieldName: "format",
16984
- fragmentDoc: chunkD7AKD4KG_cjs.DocumentFormatFragmentDoc,
17004
+ fragmentDoc: chunkOCCUM5WH_cjs.DocumentFormatFragmentDoc,
16985
17005
  variables,
16986
17006
  isConnection: false,
16987
17007
  isList: false,
@@ -16997,7 +17017,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
16997
17017
  }
16998
17018
  /** Include tables in this query (Smart Fetch — single HTTP request). */
16999
17019
  tables(variables, builder) {
17000
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Document_TablesDocument, "tables", ["id"]);
17020
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Document_TablesDocument, "tables", ["id"]);
17001
17021
  let children;
17002
17022
  if (builder) {
17003
17023
  const sub = new TableSubBuilder();
@@ -17006,7 +17026,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
17006
17026
  }
17007
17027
  this._includes.push({
17008
17028
  fieldName: "tables",
17009
- fragmentDoc: chunkD7AKD4KG_cjs.TableConnectionFragmentDoc,
17029
+ fragmentDoc: chunkOCCUM5WH_cjs.TableConnectionFragmentDoc,
17010
17030
  variables,
17011
17031
  isConnection: true,
17012
17032
  isList: false,
@@ -17025,13 +17045,13 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
17025
17045
  };
17026
17046
  var ExportQuery = class extends chunk342BFYZZ_cjs.Request {
17027
17047
  async fetch(variables) {
17028
- const response = await this._request(chunkD7AKD4KG_cjs.ExportDocument, variables);
17048
+ const response = await this._request(chunkOCCUM5WH_cjs.ExportDocument, variables);
17029
17049
  return response.export;
17030
17050
  }
17031
17051
  };
17032
17052
  var ExportWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
17033
17053
  async fetch(variables) {
17034
- const response = await this._request(chunkD7AKD4KG_cjs.ExportWithInsightIdDocument, variables);
17054
+ const response = await this._request(chunkOCCUM5WH_cjs.ExportWithInsightIdDocument, variables);
17035
17055
  return response.exportWithInsightId;
17036
17056
  }
17037
17057
  };
@@ -17044,7 +17064,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
17044
17064
  }
17045
17065
  async fetch(options) {
17046
17066
  const variables = this._variables;
17047
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.FeedItemDocument, "feedItem", this._includes, variables);
17067
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.FeedItemDocument, "feedItem", this._includes, variables);
17048
17068
  const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItem");
17049
17069
  const data = response.feedItem;
17050
17070
  if (!data) return void 0;
@@ -17057,7 +17077,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
17057
17077
  watch(options) {
17058
17078
  const variables = this._variables;
17059
17079
  const includes = this._includes;
17060
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.FeedItemDocument, "feedItem", includes, variables);
17080
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.FeedItemDocument, "feedItem", includes, variables);
17061
17081
  const raw = this._syncEngine.watch(
17062
17082
  queryDoc,
17063
17083
  mergedVars,
@@ -17088,10 +17108,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
17088
17108
  }
17089
17109
  /** Include action in this query (Smart Fetch — single HTTP request). */
17090
17110
  action(variables) {
17091
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.FeedItem_ActionDocument, "action", ["id"]);
17111
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.FeedItem_ActionDocument, "action", ["id"]);
17092
17112
  this._includes.push({
17093
17113
  fieldName: "action",
17094
- fragmentDoc: chunkD7AKD4KG_cjs.FeedSendMessageActionFragmentDoc,
17114
+ fragmentDoc: chunkOCCUM5WH_cjs.FeedSendMessageActionFragmentDoc,
17095
17115
  variables,
17096
17116
  isConnection: false,
17097
17117
  isList: false,
@@ -17107,10 +17127,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
17107
17127
  }
17108
17128
  /** Include data in this query (Smart Fetch — single HTTP request). */
17109
17129
  data(variables) {
17110
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.FeedItem_DataDocument, "data", ["id"]);
17130
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.FeedItem_DataDocument, "data", ["id"]);
17111
17131
  this._includes.push({
17112
17132
  fieldName: "data",
17113
- fragmentDoc: chunkD7AKD4KG_cjs.FeedArtifactDataFragmentDoc,
17133
+ fragmentDoc: chunkOCCUM5WH_cjs.FeedArtifactDataFragmentDoc,
17114
17134
  variables,
17115
17135
  isConnection: false,
17116
17136
  isList: true,
@@ -17133,14 +17153,14 @@ var FeedItem_ActionQuery = class extends chunk342BFYZZ_cjs.Request {
17133
17153
  }
17134
17154
  async fetch(options) {
17135
17155
  const variables = this._variables;
17136
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.FeedItem_ActionDocument, variables, "feedItem");
17156
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.FeedItem_ActionDocument, variables, "feedItem");
17137
17157
  const data = response.feedItem?.action;
17138
17158
  return data ? new FeedSendMessageAction(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17139
17159
  }
17140
17160
  watch(options) {
17141
17161
  const variables = this._variables;
17142
17162
  const raw = this._syncEngine.watch(
17143
- chunkD7AKD4KG_cjs.FeedItem_ActionDocument,
17163
+ chunkOCCUM5WH_cjs.FeedItem_ActionDocument,
17144
17164
  variables,
17145
17165
  "feedItem",
17146
17166
  async (db) => {
@@ -17162,7 +17182,7 @@ var FeedItem_DataQuery = class extends chunk342BFYZZ_cjs.Request {
17162
17182
  this._variables = variables;
17163
17183
  }
17164
17184
  async fetch(options) {
17165
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.FeedItem_DataDocument, this._variables, "feedItem");
17185
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.FeedItem_DataDocument, this._variables, "feedItem");
17166
17186
  const data = response.feedItem?.data;
17167
17187
  if (!Array.isArray(data)) return [];
17168
17188
  return data.map((item) => new FeedArtifactData(this._request, item, this._syncEngine, this._baseUrl));
@@ -17177,7 +17197,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
17177
17197
  }
17178
17198
  async fetch(options) {
17179
17199
  const variables = this._variables;
17180
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
17200
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
17181
17201
  const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItems");
17182
17202
  const data = response.feedItems;
17183
17203
  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);
@@ -17194,7 +17214,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
17194
17214
  const subscriptionId = crypto.randomUUID();
17195
17215
  const includes = this._includes;
17196
17216
  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) }] : []);
17197
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
17217
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
17198
17218
  const raw = this._syncEngine.watch(
17199
17219
  queryDoc,
17200
17220
  mergedVars,
@@ -17229,10 +17249,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
17229
17249
  }
17230
17250
  /** Include action in this query (Smart Fetch — single HTTP request). */
17231
17251
  action(variables) {
17232
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.FeedItem_ActionDocument, "action", ["id"]);
17252
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.FeedItem_ActionDocument, "action", ["id"]);
17233
17253
  this._includes.push({
17234
17254
  fieldName: "action",
17235
- fragmentDoc: chunkD7AKD4KG_cjs.FeedSendMessageActionFragmentDoc,
17255
+ fragmentDoc: chunkOCCUM5WH_cjs.FeedSendMessageActionFragmentDoc,
17236
17256
  variables,
17237
17257
  isConnection: false,
17238
17258
  isList: false,
@@ -17248,10 +17268,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
17248
17268
  }
17249
17269
  /** Include data in this query (Smart Fetch — single HTTP request). */
17250
17270
  data(variables) {
17251
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.FeedItem_DataDocument, "data", ["id"]);
17271
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.FeedItem_DataDocument, "data", ["id"]);
17252
17272
  this._includes.push({
17253
17273
  fieldName: "data",
17254
- fragmentDoc: chunkD7AKD4KG_cjs.FeedArtifactDataFragmentDoc,
17274
+ fragmentDoc: chunkOCCUM5WH_cjs.FeedArtifactDataFragmentDoc,
17255
17275
  variables,
17256
17276
  isConnection: false,
17257
17277
  isList: true,
@@ -17268,7 +17288,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
17268
17288
  };
17269
17289
  var FileQuery = class extends chunk342BFYZZ_cjs.Request {
17270
17290
  async fetch(variables) {
17271
- const response = await this._request(chunkD7AKD4KG_cjs.FileDocument, variables);
17291
+ const response = await this._request(chunkOCCUM5WH_cjs.FileDocument, variables);
17272
17292
  return response.file;
17273
17293
  }
17274
17294
  };
@@ -17281,7 +17301,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
17281
17301
  }
17282
17302
  async fetch(options) {
17283
17303
  const variables = this._variables;
17284
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
17304
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
17285
17305
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
17286
17306
  const data = response.fileMeta;
17287
17307
  if (!data) return void 0;
@@ -17294,7 +17314,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
17294
17314
  watch(options) {
17295
17315
  const variables = this._variables;
17296
17316
  const includes = this._includes;
17297
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.FileMetaDocument, "fileMeta", includes, variables);
17317
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.FileMetaDocument, "fileMeta", includes, variables);
17298
17318
  const raw = this._syncEngine.watch(
17299
17319
  queryDoc,
17300
17320
  mergedVars,
@@ -17332,7 +17352,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
17332
17352
  this._variables = variables;
17333
17353
  }
17334
17354
  async fetch(options) {
17335
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
17355
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
17336
17356
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
17337
17357
  const data = response.fileUrls;
17338
17358
  if (!Array.isArray(data)) return [];
@@ -17341,7 +17361,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
17341
17361
  };
17342
17362
  var FindFitTierQuery = class extends chunk342BFYZZ_cjs.Request {
17343
17363
  async fetch(variables) {
17344
- const response = await this._request(chunkD7AKD4KG_cjs.FindFitTierDocument, variables);
17364
+ const response = await this._request(chunkOCCUM5WH_cjs.FindFitTierDocument, variables);
17345
17365
  return response.findFitTier ?? void 0;
17346
17366
  }
17347
17367
  };
@@ -17354,7 +17374,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
17354
17374
  }
17355
17375
  async fetch(options) {
17356
17376
  const variables = this._variables;
17357
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.FolderDocument, "folder", this._includes, variables);
17377
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.FolderDocument, "folder", this._includes, variables);
17358
17378
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
17359
17379
  const data = response.folder;
17360
17380
  const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
@@ -17366,7 +17386,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
17366
17386
  watch(options) {
17367
17387
  const variables = this._variables;
17368
17388
  const includes = this._includes;
17369
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.FolderDocument, "folder", includes, variables);
17389
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.FolderDocument, "folder", includes, variables);
17370
17390
  const raw = this._syncEngine.watch(
17371
17391
  queryDoc,
17372
17392
  mergedVars,
@@ -17404,7 +17424,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
17404
17424
  }
17405
17425
  async fetch(options) {
17406
17426
  const variables = this._variables;
17407
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.FoldersDocument, "folders", this._includes, variables, true);
17427
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.FoldersDocument, "folders", this._includes, variables, true);
17408
17428
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
17409
17429
  const data = response.folders;
17410
17430
  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);
@@ -17421,7 +17441,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
17421
17441
  const subscriptionId = crypto.randomUUID();
17422
17442
  const includes = this._includes;
17423
17443
  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) }] : []);
17424
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.FoldersDocument, "folders", includes, variables, true);
17444
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.FoldersDocument, "folders", includes, variables, true);
17425
17445
  const raw = this._syncEngine.watch(
17426
17446
  queryDoc,
17427
17447
  mergedVars,
@@ -17457,7 +17477,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
17457
17477
  };
17458
17478
  var GetCapabilityQuery = class extends chunk342BFYZZ_cjs.Request {
17459
17479
  async fetch(variables) {
17460
- const response = await this._request(chunkD7AKD4KG_cjs.GetCapabilityDocument, variables);
17480
+ const response = await this._request(chunkOCCUM5WH_cjs.GetCapabilityDocument, variables);
17461
17481
  return response.getCapability;
17462
17482
  }
17463
17483
  };
@@ -17470,7 +17490,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
17470
17490
  }
17471
17491
  async fetch(options) {
17472
17492
  const variables = this._variables;
17473
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
17493
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
17474
17494
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
17475
17495
  const data = response.getDevAccessToken;
17476
17496
  const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
@@ -17482,7 +17502,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
17482
17502
  watch(options) {
17483
17503
  const variables = this._variables;
17484
17504
  const includes = this._includes;
17485
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
17505
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
17486
17506
  const raw = this._syncEngine.watch(
17487
17507
  queryDoc,
17488
17508
  mergedVars,
@@ -17513,13 +17533,13 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
17513
17533
  };
17514
17534
  var GetLimitQuery = class extends chunk342BFYZZ_cjs.Request {
17515
17535
  async fetch(variables) {
17516
- const response = await this._request(chunkD7AKD4KG_cjs.GetLimitDocument, variables);
17536
+ const response = await this._request(chunkOCCUM5WH_cjs.GetLimitDocument, variables);
17517
17537
  return response.getLimit ?? void 0;
17518
17538
  }
17519
17539
  };
17520
17540
  var GetRemainingQuery = class extends chunk342BFYZZ_cjs.Request {
17521
17541
  async fetch(variables) {
17522
- const response = await this._request(chunkD7AKD4KG_cjs.GetRemainingDocument, variables);
17542
+ const response = await this._request(chunkOCCUM5WH_cjs.GetRemainingDocument, variables);
17523
17543
  return response.getRemaining ?? void 0;
17524
17544
  }
17525
17545
  };
@@ -17531,7 +17551,7 @@ var GetTokenUsageByModelQuery = class extends chunk342BFYZZ_cjs.Request {
17531
17551
  this._variables = variables;
17532
17552
  }
17533
17553
  async fetch(options) {
17534
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
17554
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
17535
17555
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
17536
17556
  const data = response.getTokenUsageByModel;
17537
17557
  if (!Array.isArray(data)) return [];
@@ -17546,7 +17566,7 @@ var GetTokenUsageHistoryQuery = class extends chunk342BFYZZ_cjs.Request {
17546
17566
  this._variables = variables;
17547
17567
  }
17548
17568
  async fetch(options) {
17549
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
17569
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
17550
17570
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
17551
17571
  const data = response.getTokenUsageHistory;
17552
17572
  if (!Array.isArray(data)) return [];
@@ -17562,7 +17582,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
17562
17582
  }
17563
17583
  async fetch(options) {
17564
17584
  const variables = this._variables;
17565
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
17585
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
17566
17586
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
17567
17587
  const data = response.getTokenUsageStatus;
17568
17588
  const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
@@ -17574,7 +17594,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
17574
17594
  watch(options) {
17575
17595
  const variables = this._variables;
17576
17596
  const includes = this._includes;
17577
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
17597
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
17578
17598
  const raw = this._syncEngine.watch(
17579
17599
  queryDoc,
17580
17600
  mergedVars,
@@ -17604,10 +17624,10 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
17604
17624
  }
17605
17625
  /** Include windows in this query (Smart Fetch — single HTTP request). */
17606
17626
  windows(variables) {
17607
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
17627
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
17608
17628
  this._includes.push({
17609
17629
  fieldName: "windows",
17610
- fragmentDoc: chunkD7AKD4KG_cjs.UsageWindowsStatusTypeFragmentDoc,
17630
+ fragmentDoc: chunkOCCUM5WH_cjs.UsageWindowsStatusTypeFragmentDoc,
17611
17631
  variables,
17612
17632
  isConnection: false,
17613
17633
  isList: false,
@@ -17630,14 +17650,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk342BFYZZ_cjs.Request {
17630
17650
  }
17631
17651
  async fetch(options) {
17632
17652
  const variables = this._variables;
17633
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
17653
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
17634
17654
  const data = response.getTokenUsageStatus?.windows;
17635
17655
  return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17636
17656
  }
17637
17657
  watch(options) {
17638
17658
  const variables = this._variables;
17639
17659
  const raw = this._syncEngine.watch(
17640
- chunkD7AKD4KG_cjs.GetTokenUsageStatus_WindowsDocument,
17660
+ chunkOCCUM5WH_cjs.GetTokenUsageStatus_WindowsDocument,
17641
17661
  variables,
17642
17662
  "getTokenUsageStatus",
17643
17663
  async (db) => {
@@ -17660,14 +17680,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk342BFYZZ_cjs.Reque
17660
17680
  }
17661
17681
  async fetch(options) {
17662
17682
  const variables = this._variables;
17663
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
17683
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
17664
17684
  const data = response.getTokenUsageStatus?.windows?.day;
17665
17685
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17666
17686
  }
17667
17687
  watch(options) {
17668
17688
  const variables = this._variables;
17669
17689
  const raw = this._syncEngine.watch(
17670
- chunkD7AKD4KG_cjs.GetTokenUsageStatus_Windows_DayDocument,
17690
+ chunkOCCUM5WH_cjs.GetTokenUsageStatus_Windows_DayDocument,
17671
17691
  variables,
17672
17692
  "getTokenUsageStatus",
17673
17693
  async (db) => {
@@ -17690,14 +17710,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk342BFYZZ_cjs.
17690
17710
  }
17691
17711
  async fetch(options) {
17692
17712
  const variables = this._variables;
17693
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
17713
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
17694
17714
  const data = response.getTokenUsageStatus?.windows?.fiveHour;
17695
17715
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17696
17716
  }
17697
17717
  watch(options) {
17698
17718
  const variables = this._variables;
17699
17719
  const raw = this._syncEngine.watch(
17700
- chunkD7AKD4KG_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
17720
+ chunkOCCUM5WH_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
17701
17721
  variables,
17702
17722
  "getTokenUsageStatus",
17703
17723
  async (db) => {
@@ -17720,14 +17740,14 @@ var GetTokenUsageStatus_Windows_MonthQuery = class extends chunk342BFYZZ_cjs.Req
17720
17740
  }
17721
17741
  async fetch(options) {
17722
17742
  const variables = this._variables;
17723
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.GetTokenUsageStatus_Windows_MonthDocument, variables, "getTokenUsageStatus");
17743
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.GetTokenUsageStatus_Windows_MonthDocument, variables, "getTokenUsageStatus");
17724
17744
  const data = response.getTokenUsageStatus?.windows?.month;
17725
17745
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17726
17746
  }
17727
17747
  watch(options) {
17728
17748
  const variables = this._variables;
17729
17749
  const raw = this._syncEngine.watch(
17730
- chunkD7AKD4KG_cjs.GetTokenUsageStatus_Windows_MonthDocument,
17750
+ chunkOCCUM5WH_cjs.GetTokenUsageStatus_Windows_MonthDocument,
17731
17751
  variables,
17732
17752
  "getTokenUsageStatus",
17733
17753
  async (db) => {
@@ -17750,14 +17770,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
17750
17770
  }
17751
17771
  async fetch(options) {
17752
17772
  const variables = this._variables;
17753
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
17773
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
17754
17774
  const data = response.getTokenUsageStatus?.windows?.week;
17755
17775
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17756
17776
  }
17757
17777
  watch(options) {
17758
17778
  const variables = this._variables;
17759
17779
  const raw = this._syncEngine.watch(
17760
- chunkD7AKD4KG_cjs.GetTokenUsageStatus_Windows_WeekDocument,
17780
+ chunkOCCUM5WH_cjs.GetTokenUsageStatus_Windows_WeekDocument,
17761
17781
  variables,
17762
17782
  "getTokenUsageStatus",
17763
17783
  async (db) => {
@@ -17774,7 +17794,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
17774
17794
  };
17775
17795
  var GetUsageQuery = class extends chunk342BFYZZ_cjs.Request {
17776
17796
  async fetch(variables) {
17777
- const response = await this._request(chunkD7AKD4KG_cjs.GetUsageDocument, variables);
17797
+ const response = await this._request(chunkOCCUM5WH_cjs.GetUsageDocument, variables);
17778
17798
  return response.getUsage ?? void 0;
17779
17799
  }
17780
17800
  };
@@ -17787,7 +17807,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17787
17807
  }
17788
17808
  async fetch(options) {
17789
17809
  const variables = this._variables;
17790
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.InsightDocument, "insight", this._includes, variables);
17810
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.InsightDocument, "insight", this._includes, variables);
17791
17811
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
17792
17812
  const data = response.insight;
17793
17813
  const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
@@ -17799,7 +17819,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17799
17819
  watch(options) {
17800
17820
  const variables = this._variables;
17801
17821
  const includes = this._includes;
17802
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.InsightDocument, "insight", includes, variables);
17822
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.InsightDocument, "insight", includes, variables);
17803
17823
  const raw = this._syncEngine.watch(
17804
17824
  queryDoc,
17805
17825
  mergedVars,
@@ -17829,7 +17849,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17829
17849
  }
17830
17850
  /** Include chat in this query (Smart Fetch — single HTTP request). */
17831
17851
  chat(variables, builder) {
17832
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Insight_ChatDocument, "chat", ["id"]);
17852
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Insight_ChatDocument, "chat", ["id"]);
17833
17853
  let children;
17834
17854
  if (builder) {
17835
17855
  const sub = new ChatSubBuilder();
@@ -17838,7 +17858,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17838
17858
  }
17839
17859
  this._includes.push({
17840
17860
  fieldName: "chat",
17841
- fragmentDoc: chunkD7AKD4KG_cjs.ChatFragmentDoc,
17861
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatFragmentDoc,
17842
17862
  variables,
17843
17863
  isConnection: false,
17844
17864
  isList: false,
@@ -17855,10 +17875,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17855
17875
  }
17856
17876
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
17857
17877
  reportMembers(variables) {
17858
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
17878
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
17859
17879
  this._includes.push({
17860
17880
  fieldName: "reportMembers",
17861
- fragmentDoc: chunkD7AKD4KG_cjs.ReportMemberFragmentDoc,
17881
+ fragmentDoc: chunkOCCUM5WH_cjs.ReportMemberFragmentDoc,
17862
17882
  variables,
17863
17883
  isConnection: false,
17864
17884
  isList: true,
@@ -17874,7 +17894,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17874
17894
  }
17875
17895
  /** Include reports in this query (Smart Fetch — single HTTP request). */
17876
17896
  reports(variables, builder) {
17877
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Insight_ReportsDocument, "reports", ["id"]);
17897
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Insight_ReportsDocument, "reports", ["id"]);
17878
17898
  let children;
17879
17899
  if (builder) {
17880
17900
  const sub = new ReportSubBuilder();
@@ -17883,7 +17903,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17883
17903
  }
17884
17904
  this._includes.push({
17885
17905
  fieldName: "reports",
17886
- fragmentDoc: chunkD7AKD4KG_cjs.ReportConnectionFragmentDoc,
17906
+ fragmentDoc: chunkOCCUM5WH_cjs.ReportConnectionFragmentDoc,
17887
17907
  variables,
17888
17908
  isConnection: true,
17889
17909
  isList: false,
@@ -17901,10 +17921,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
17901
17921
  }
17902
17922
  /** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
17903
17923
  thumbnailFile(variables) {
17904
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
17924
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
17905
17925
  this._includes.push({
17906
17926
  fieldName: "thumbnailFile",
17907
- fragmentDoc: chunkD7AKD4KG_cjs.FileFragmentDoc,
17927
+ fragmentDoc: chunkOCCUM5WH_cjs.FileFragmentDoc,
17908
17928
  variables,
17909
17929
  isConnection: false,
17910
17930
  isList: false,
@@ -17927,14 +17947,14 @@ var Insight_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
17927
17947
  }
17928
17948
  async fetch(options) {
17929
17949
  const variables = this._variables;
17930
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Insight_ChatDocument, variables, "insight");
17950
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Insight_ChatDocument, variables, "insight");
17931
17951
  const data = response.insight?.chat;
17932
17952
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17933
17953
  }
17934
17954
  watch(options) {
17935
17955
  const variables = this._variables;
17936
17956
  const raw = this._syncEngine.watch(
17937
- chunkD7AKD4KG_cjs.Insight_ChatDocument,
17957
+ chunkOCCUM5WH_cjs.Insight_ChatDocument,
17938
17958
  variables,
17939
17959
  "insight",
17940
17960
  async (db) => {
@@ -17956,7 +17976,7 @@ var Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
17956
17976
  this._variables = variables;
17957
17977
  }
17958
17978
  async fetch(options) {
17959
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Insight_ReportMembersDocument, this._variables, "insight");
17979
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Insight_ReportMembersDocument, this._variables, "insight");
17960
17980
  const data = response.insight?.reportMembers;
17961
17981
  if (!Array.isArray(data)) return [];
17962
17982
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -17970,18 +17990,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk342BFYZZ_cjs
17970
17990
  }
17971
17991
  async fetch(options) {
17972
17992
  const variables = this._variables;
17973
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Insight_ReportsDocument, variables, "insight");
17993
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Insight_ReportsDocument, variables, "insight");
17974
17994
  const data = response.insight?.reports;
17975
17995
  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);
17976
17996
  }
17977
17997
  watch(options) {
17978
17998
  const variables = this._variables;
17979
17999
  const raw = this._syncEngine.watch(
17980
- chunkD7AKD4KG_cjs.Insight_ReportsDocument,
18000
+ chunkOCCUM5WH_cjs.Insight_ReportsDocument,
17981
18001
  variables,
17982
18002
  "insight",
17983
18003
  async (db) => {
17984
- const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkD7AKD4KG_cjs.Insight_ReportsDocument));
18004
+ const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkOCCUM5WH_cjs.Insight_ReportsDocument));
17985
18005
  const nodes = qr ? await db.table("reports").bulkGet(qr.entityIds) : [];
17986
18006
  return { insight: { reports: { __typename: "ReportConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
17987
18007
  }
@@ -18000,14 +18020,14 @@ var Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
18000
18020
  }
18001
18021
  async fetch(options) {
18002
18022
  const variables = this._variables;
18003
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Insight_ThumbnailFileDocument, variables, "insight");
18023
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Insight_ThumbnailFileDocument, variables, "insight");
18004
18024
  const data = response.insight?.thumbnailFile;
18005
18025
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18006
18026
  }
18007
18027
  watch(options) {
18008
18028
  const variables = this._variables;
18009
18029
  const raw = this._syncEngine.watch(
18010
- chunkD7AKD4KG_cjs.Insight_ThumbnailFileDocument,
18030
+ chunkOCCUM5WH_cjs.Insight_ThumbnailFileDocument,
18011
18031
  variables,
18012
18032
  "insight",
18013
18033
  async (db) => {
@@ -18031,7 +18051,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18031
18051
  }
18032
18052
  async fetch(options) {
18033
18053
  const variables = this._variables;
18034
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.InsightsDocument, "insights", this._includes, variables, true);
18054
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.InsightsDocument, "insights", this._includes, variables, true);
18035
18055
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
18036
18056
  const data = response.insights;
18037
18057
  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);
@@ -18048,7 +18068,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18048
18068
  const subscriptionId = crypto.randomUUID();
18049
18069
  const includes = this._includes;
18050
18070
  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) }] : []);
18051
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.InsightsDocument, "insights", includes, variables, true);
18071
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.InsightsDocument, "insights", includes, variables, true);
18052
18072
  const raw = this._syncEngine.watch(
18053
18073
  queryDoc,
18054
18074
  mergedVars,
@@ -18083,7 +18103,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18083
18103
  }
18084
18104
  /** Include chat in this query (Smart Fetch — single HTTP request). */
18085
18105
  chat(variables, builder) {
18086
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Insight_ChatDocument, "chat", ["id"]);
18106
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Insight_ChatDocument, "chat", ["id"]);
18087
18107
  let children;
18088
18108
  if (builder) {
18089
18109
  const sub = new ChatSubBuilder();
@@ -18092,7 +18112,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18092
18112
  }
18093
18113
  this._includes.push({
18094
18114
  fieldName: "chat",
18095
- fragmentDoc: chunkD7AKD4KG_cjs.ChatFragmentDoc,
18115
+ fragmentDoc: chunkOCCUM5WH_cjs.ChatFragmentDoc,
18096
18116
  variables,
18097
18117
  isConnection: false,
18098
18118
  isList: false,
@@ -18109,10 +18129,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18109
18129
  }
18110
18130
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
18111
18131
  reportMembers(variables) {
18112
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
18132
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
18113
18133
  this._includes.push({
18114
18134
  fieldName: "reportMembers",
18115
- fragmentDoc: chunkD7AKD4KG_cjs.ReportMemberFragmentDoc,
18135
+ fragmentDoc: chunkOCCUM5WH_cjs.ReportMemberFragmentDoc,
18116
18136
  variables,
18117
18137
  isConnection: false,
18118
18138
  isList: true,
@@ -18128,7 +18148,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18128
18148
  }
18129
18149
  /** Include reports in this query (Smart Fetch — single HTTP request). */
18130
18150
  reports(variables, builder) {
18131
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Insight_ReportsDocument, "reports", ["id"]);
18151
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Insight_ReportsDocument, "reports", ["id"]);
18132
18152
  let children;
18133
18153
  if (builder) {
18134
18154
  const sub = new ReportSubBuilder();
@@ -18137,7 +18157,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18137
18157
  }
18138
18158
  this._includes.push({
18139
18159
  fieldName: "reports",
18140
- fragmentDoc: chunkD7AKD4KG_cjs.ReportConnectionFragmentDoc,
18160
+ fragmentDoc: chunkOCCUM5WH_cjs.ReportConnectionFragmentDoc,
18141
18161
  variables,
18142
18162
  isConnection: true,
18143
18163
  isList: false,
@@ -18155,10 +18175,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
18155
18175
  }
18156
18176
  /** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
18157
18177
  thumbnailFile(variables) {
18158
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
18178
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
18159
18179
  this._includes.push({
18160
18180
  fieldName: "thumbnailFile",
18161
- fragmentDoc: chunkD7AKD4KG_cjs.FileFragmentDoc,
18181
+ fragmentDoc: chunkOCCUM5WH_cjs.FileFragmentDoc,
18162
18182
  variables,
18163
18183
  isConnection: false,
18164
18184
  isList: false,
@@ -18182,7 +18202,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
18182
18202
  }
18183
18203
  async fetch(options) {
18184
18204
  const variables = this._variables;
18185
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.IntegrationDocument, "integration", this._includes, variables);
18205
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.IntegrationDocument, "integration", this._includes, variables);
18186
18206
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
18187
18207
  const data = response.integration;
18188
18208
  const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
@@ -18194,7 +18214,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
18194
18214
  watch(options) {
18195
18215
  const variables = this._variables;
18196
18216
  const includes = this._includes;
18197
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.IntegrationDocument, "integration", includes, variables);
18217
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.IntegrationDocument, "integration", includes, variables);
18198
18218
  const raw = this._syncEngine.watch(
18199
18219
  queryDoc,
18200
18220
  mergedVars,
@@ -18224,10 +18244,10 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
18224
18244
  }
18225
18245
  /** Include provider in this query (Smart Fetch — single HTTP request). */
18226
18246
  provider(variables) {
18227
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Integration_ProviderDocument, "provider", ["id"]);
18247
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Integration_ProviderDocument, "provider", ["id"]);
18228
18248
  this._includes.push({
18229
18249
  fieldName: "provider",
18230
- fragmentDoc: chunkD7AKD4KG_cjs.IntegrationProviderFragmentDoc,
18250
+ fragmentDoc: chunkOCCUM5WH_cjs.IntegrationProviderFragmentDoc,
18231
18251
  variables,
18232
18252
  isConnection: false,
18233
18253
  isList: false,
@@ -18250,14 +18270,14 @@ var Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
18250
18270
  }
18251
18271
  async fetch(options) {
18252
18272
  const variables = this._variables;
18253
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Integration_ProviderDocument, variables, "integration");
18273
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Integration_ProviderDocument, variables, "integration");
18254
18274
  const data = response.integration?.provider;
18255
18275
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18256
18276
  }
18257
18277
  watch(options) {
18258
18278
  const variables = this._variables;
18259
18279
  const raw = this._syncEngine.watch(
18260
- chunkD7AKD4KG_cjs.Integration_ProviderDocument,
18280
+ chunkOCCUM5WH_cjs.Integration_ProviderDocument,
18261
18281
  variables,
18262
18282
  "integration",
18263
18283
  async (db) => {
@@ -18280,14 +18300,14 @@ var Integration_Provider_CatalogQuery = class extends chunk342BFYZZ_cjs.Request
18280
18300
  }
18281
18301
  async fetch(options) {
18282
18302
  const variables = this._variables;
18283
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Integration_Provider_CatalogDocument, variables, "integration");
18303
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Integration_Provider_CatalogDocument, variables, "integration");
18284
18304
  const data = response.integration?.provider?.catalog;
18285
18305
  return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18286
18306
  }
18287
18307
  watch(options) {
18288
18308
  const variables = this._variables;
18289
18309
  const raw = this._syncEngine.watch(
18290
- chunkD7AKD4KG_cjs.Integration_Provider_CatalogDocument,
18310
+ chunkOCCUM5WH_cjs.Integration_Provider_CatalogDocument,
18291
18311
  variables,
18292
18312
  "integration",
18293
18313
  async (db) => {
@@ -18311,7 +18331,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
18311
18331
  }
18312
18332
  async fetch(options) {
18313
18333
  const variables = this._variables;
18314
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
18334
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
18315
18335
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
18316
18336
  const data = response.integrationCatalog;
18317
18337
  const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -18323,7 +18343,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
18323
18343
  watch(options) {
18324
18344
  const variables = this._variables;
18325
18345
  const includes = this._includes;
18326
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
18346
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
18327
18347
  const raw = this._syncEngine.watch(
18328
18348
  queryDoc,
18329
18349
  mergedVars,
@@ -18353,10 +18373,10 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
18353
18373
  }
18354
18374
  /** Include provider in this query (Smart Fetch — single HTTP request). */
18355
18375
  provider(variables) {
18356
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
18376
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
18357
18377
  this._includes.push({
18358
18378
  fieldName: "provider",
18359
- fragmentDoc: chunkD7AKD4KG_cjs.IntegrationProviderFragmentDoc,
18379
+ fragmentDoc: chunkOCCUM5WH_cjs.IntegrationProviderFragmentDoc,
18360
18380
  variables,
18361
18381
  isConnection: false,
18362
18382
  isList: false,
@@ -18379,14 +18399,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
18379
18399
  }
18380
18400
  async fetch(options) {
18381
18401
  const variables = this._variables;
18382
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
18402
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
18383
18403
  const data = response.integrationCatalog?.provider;
18384
18404
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18385
18405
  }
18386
18406
  watch(options) {
18387
18407
  const variables = this._variables;
18388
18408
  const raw = this._syncEngine.watch(
18389
- chunkD7AKD4KG_cjs.IntegrationCatalog_ProviderDocument,
18409
+ chunkOCCUM5WH_cjs.IntegrationCatalog_ProviderDocument,
18390
18410
  variables,
18391
18411
  "integrationCatalog",
18392
18412
  async (db) => {
@@ -18403,7 +18423,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
18403
18423
  };
18404
18424
  var IntegrationCatalogToolsQuery = class extends chunk342BFYZZ_cjs.Request {
18405
18425
  async fetch(variables) {
18406
- const response = await this._request(chunkD7AKD4KG_cjs.IntegrationCatalogToolsDocument, variables);
18426
+ const response = await this._request(chunkOCCUM5WH_cjs.IntegrationCatalogToolsDocument, variables);
18407
18427
  return response.integrationCatalogTools;
18408
18428
  }
18409
18429
  };
@@ -18416,7 +18436,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
18416
18436
  }
18417
18437
  async fetch(options) {
18418
18438
  const variables = this._variables;
18419
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
18439
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
18420
18440
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
18421
18441
  const data = response.integrationCatalogs;
18422
18442
  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);
@@ -18433,7 +18453,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
18433
18453
  const subscriptionId = crypto.randomUUID();
18434
18454
  const includes = this._includes;
18435
18455
  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) }] : []);
18436
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
18456
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
18437
18457
  const raw = this._syncEngine.watch(
18438
18458
  queryDoc,
18439
18459
  mergedVars,
@@ -18468,10 +18488,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
18468
18488
  }
18469
18489
  /** Include provider in this query (Smart Fetch — single HTTP request). */
18470
18490
  provider(variables) {
18471
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
18491
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
18472
18492
  this._includes.push({
18473
18493
  fieldName: "provider",
18474
- fragmentDoc: chunkD7AKD4KG_cjs.IntegrationProviderFragmentDoc,
18494
+ fragmentDoc: chunkOCCUM5WH_cjs.IntegrationProviderFragmentDoc,
18475
18495
  variables,
18476
18496
  isConnection: false,
18477
18497
  isList: false,
@@ -18495,7 +18515,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
18495
18515
  }
18496
18516
  async fetch(options) {
18497
18517
  const variables = this._variables;
18498
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
18518
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
18499
18519
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
18500
18520
  const data = response.integrations;
18501
18521
  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);
@@ -18512,7 +18532,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
18512
18532
  const subscriptionId = crypto.randomUUID();
18513
18533
  const includes = this._includes;
18514
18534
  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) }] : []);
18515
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.IntegrationsDocument, "integrations", includes, variables, true);
18535
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.IntegrationsDocument, "integrations", includes, variables, true);
18516
18536
  const raw = this._syncEngine.watch(
18517
18537
  queryDoc,
18518
18538
  mergedVars,
@@ -18547,10 +18567,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
18547
18567
  }
18548
18568
  /** Include provider in this query (Smart Fetch — single HTTP request). */
18549
18569
  provider(variables) {
18550
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Integration_ProviderDocument, "provider", ["id"]);
18570
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Integration_ProviderDocument, "provider", ["id"]);
18551
18571
  this._includes.push({
18552
18572
  fieldName: "provider",
18553
- fragmentDoc: chunkD7AKD4KG_cjs.IntegrationProviderFragmentDoc,
18573
+ fragmentDoc: chunkOCCUM5WH_cjs.IntegrationProviderFragmentDoc,
18554
18574
  variables,
18555
18575
  isConnection: false,
18556
18576
  isList: false,
@@ -18574,7 +18594,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
18574
18594
  }
18575
18595
  async fetch(options) {
18576
18596
  const variables = this._variables;
18577
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
18597
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
18578
18598
  const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
18579
18599
  const data = response.interpretations;
18580
18600
  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);
@@ -18591,7 +18611,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
18591
18611
  const subscriptionId = crypto.randomUUID();
18592
18612
  const includes = this._includes;
18593
18613
  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) }] : []);
18594
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
18614
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
18595
18615
  const raw = this._syncEngine.watch(
18596
18616
  queryDoc,
18597
18617
  mergedVars,
@@ -18634,7 +18654,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
18634
18654
  }
18635
18655
  async fetch(options) {
18636
18656
  const variables = this._variables;
18637
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.NotificationDocument, "notification", this._includes, variables);
18657
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.NotificationDocument, "notification", this._includes, variables);
18638
18658
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
18639
18659
  const data = response.notification;
18640
18660
  const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
@@ -18646,7 +18666,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
18646
18666
  watch(options) {
18647
18667
  const variables = this._variables;
18648
18668
  const includes = this._includes;
18649
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.NotificationDocument, "notification", includes, variables);
18669
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.NotificationDocument, "notification", includes, variables);
18650
18670
  const raw = this._syncEngine.watch(
18651
18671
  queryDoc,
18652
18672
  mergedVars,
@@ -18684,7 +18704,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
18684
18704
  }
18685
18705
  async fetch(options) {
18686
18706
  const variables = this._variables;
18687
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
18707
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
18688
18708
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
18689
18709
  const data = response.notifications;
18690
18710
  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);
@@ -18701,7 +18721,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
18701
18721
  const subscriptionId = crypto.randomUUID();
18702
18722
  const includes = this._includes;
18703
18723
  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) }] : []);
18704
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.NotificationsDocument, "notifications", includes, variables, true);
18724
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.NotificationsDocument, "notifications", includes, variables, true);
18705
18725
  const raw = this._syncEngine.watch(
18706
18726
  queryDoc,
18707
18727
  mergedVars,
@@ -18743,7 +18763,7 @@ var NotificationsByReferenceQuery = class extends chunk342BFYZZ_cjs.Request {
18743
18763
  this._variables = variables;
18744
18764
  }
18745
18765
  async fetch(options) {
18746
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
18766
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
18747
18767
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
18748
18768
  const data = response.notificationsByReference;
18749
18769
  if (!Array.isArray(data)) return [];
@@ -18759,7 +18779,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
18759
18779
  }
18760
18780
  async fetch(options) {
18761
18781
  const variables = this._variables;
18762
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
18782
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
18763
18783
  const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
18764
18784
  const data = response.privacyStats;
18765
18785
  const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
@@ -18771,7 +18791,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
18771
18791
  watch(options) {
18772
18792
  const variables = this._variables;
18773
18793
  const includes = this._includes;
18774
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
18794
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
18775
18795
  const raw = this._syncEngine.watch(
18776
18796
  queryDoc,
18777
18797
  mergedVars,
@@ -18809,7 +18829,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
18809
18829
  }
18810
18830
  async fetch(options) {
18811
18831
  const variables = this._variables;
18812
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
18832
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
18813
18833
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
18814
18834
  const data = response.pulseAppSummary;
18815
18835
  if (!data) return void 0;
@@ -18822,7 +18842,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
18822
18842
  watch(options) {
18823
18843
  const variables = this._variables;
18824
18844
  const includes = this._includes;
18825
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
18845
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
18826
18846
  const raw = this._syncEngine.watch(
18827
18847
  queryDoc,
18828
18848
  mergedVars,
@@ -18861,7 +18881,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
18861
18881
  }
18862
18882
  async fetch(options) {
18863
18883
  const variables = this._variables;
18864
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
18884
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
18865
18885
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
18866
18886
  const data = response.pulseEvent;
18867
18887
  const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
@@ -18873,7 +18893,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
18873
18893
  watch(options) {
18874
18894
  const variables = this._variables;
18875
18895
  const includes = this._includes;
18876
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.PulseEventDocument, "pulseEvent", includes, variables);
18896
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.PulseEventDocument, "pulseEvent", includes, variables);
18877
18897
  const raw = this._syncEngine.watch(
18878
18898
  queryDoc,
18879
18899
  mergedVars,
@@ -18903,7 +18923,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
18903
18923
  }
18904
18924
  /** Include integration in this query (Smart Fetch — single HTTP request). */
18905
18925
  integration(variables, builder) {
18906
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
18926
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
18907
18927
  let children;
18908
18928
  if (builder) {
18909
18929
  const sub = new IntegrationSubBuilder();
@@ -18912,7 +18932,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
18912
18932
  }
18913
18933
  this._includes.push({
18914
18934
  fieldName: "integration",
18915
- fragmentDoc: chunkD7AKD4KG_cjs.IntegrationFragmentDoc,
18935
+ fragmentDoc: chunkOCCUM5WH_cjs.IntegrationFragmentDoc,
18916
18936
  variables,
18917
18937
  isConnection: false,
18918
18938
  isList: false,
@@ -18936,14 +18956,14 @@ var PulseEvent_IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
18936
18956
  }
18937
18957
  async fetch(options) {
18938
18958
  const variables = this._variables;
18939
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
18959
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
18940
18960
  const data = response.pulseEvent?.integration;
18941
18961
  return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18942
18962
  }
18943
18963
  watch(options) {
18944
18964
  const variables = this._variables;
18945
18965
  const raw = this._syncEngine.watch(
18946
- chunkD7AKD4KG_cjs.PulseEvent_IntegrationDocument,
18966
+ chunkOCCUM5WH_cjs.PulseEvent_IntegrationDocument,
18947
18967
  variables,
18948
18968
  "pulseEvent",
18949
18969
  async (db) => {
@@ -18966,14 +18986,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Reque
18966
18986
  }
18967
18987
  async fetch(options) {
18968
18988
  const variables = this._variables;
18969
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
18989
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
18970
18990
  const data = response.pulseEvent?.integration?.provider;
18971
18991
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18972
18992
  }
18973
18993
  watch(options) {
18974
18994
  const variables = this._variables;
18975
18995
  const raw = this._syncEngine.watch(
18976
- chunkD7AKD4KG_cjs.PulseEvent_Integration_ProviderDocument,
18996
+ chunkOCCUM5WH_cjs.PulseEvent_Integration_ProviderDocument,
18977
18997
  variables,
18978
18998
  "pulseEvent",
18979
18999
  async (db) => {
@@ -18997,7 +19017,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
18997
19017
  }
18998
19018
  async fetch(options) {
18999
19019
  const variables = this._variables;
19000
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
19020
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
19001
19021
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
19002
19022
  const data = response.pulseEvents;
19003
19023
  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);
@@ -19014,7 +19034,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
19014
19034
  const subscriptionId = crypto.randomUUID();
19015
19035
  const includes = this._includes;
19016
19036
  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) }] : []);
19017
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
19037
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
19018
19038
  const raw = this._syncEngine.watch(
19019
19039
  queryDoc,
19020
19040
  mergedVars,
@@ -19049,7 +19069,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
19049
19069
  }
19050
19070
  /** Include integration in this query (Smart Fetch — single HTTP request). */
19051
19071
  integration(variables, builder) {
19052
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
19072
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
19053
19073
  let children;
19054
19074
  if (builder) {
19055
19075
  const sub = new IntegrationSubBuilder();
@@ -19058,7 +19078,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
19058
19078
  }
19059
19079
  this._includes.push({
19060
19080
  fieldName: "integration",
19061
- fragmentDoc: chunkD7AKD4KG_cjs.IntegrationFragmentDoc,
19081
+ fragmentDoc: chunkOCCUM5WH_cjs.IntegrationFragmentDoc,
19062
19082
  variables,
19063
19083
  isConnection: false,
19064
19084
  isList: false,
@@ -19082,7 +19102,7 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
19082
19102
  this._variables = variables;
19083
19103
  }
19084
19104
  async fetch(options) {
19085
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
19105
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
19086
19106
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
19087
19107
  const data = response.pulseTriggerSettings;
19088
19108
  if (!Array.isArray(data)) return [];
@@ -19091,19 +19111,19 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
19091
19111
  };
19092
19112
  var QueryQuery = class extends chunk342BFYZZ_cjs.Request {
19093
19113
  async fetch(variables) {
19094
- const response = await this._request(chunkD7AKD4KG_cjs.QueryDocument, variables);
19114
+ const response = await this._request(chunkOCCUM5WH_cjs.QueryDocument, variables);
19095
19115
  return response.query;
19096
19116
  }
19097
19117
  };
19098
19118
  var QueryWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
19099
19119
  async fetch(variables) {
19100
- const response = await this._request(chunkD7AKD4KG_cjs.QueryWithInsightIdDocument, variables);
19120
+ const response = await this._request(chunkOCCUM5WH_cjs.QueryWithInsightIdDocument, variables);
19101
19121
  return response.queryWithInsightId;
19102
19122
  }
19103
19123
  };
19104
19124
  var QueryWithMessageIdQuery = class extends chunk342BFYZZ_cjs.Request {
19105
19125
  async fetch(variables) {
19106
- const response = await this._request(chunkD7AKD4KG_cjs.QueryWithMessageIdDocument, variables);
19126
+ const response = await this._request(chunkOCCUM5WH_cjs.QueryWithMessageIdDocument, variables);
19107
19127
  return response.queryWithMessageId;
19108
19128
  }
19109
19129
  };
@@ -19116,7 +19136,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
19116
19136
  }
19117
19137
  async fetch(options) {
19118
19138
  const variables = this._variables;
19119
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ReportDocument, "report", this._includes, variables);
19139
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ReportDocument, "report", this._includes, variables);
19120
19140
  const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
19121
19141
  const data = response.report;
19122
19142
  const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
@@ -19128,7 +19148,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
19128
19148
  watch(options) {
19129
19149
  const variables = this._variables;
19130
19150
  const includes = this._includes;
19131
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ReportDocument, "report", includes, variables);
19151
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ReportDocument, "report", includes, variables);
19132
19152
  const raw = this._syncEngine.watch(
19133
19153
  queryDoc,
19134
19154
  mergedVars,
@@ -19158,7 +19178,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
19158
19178
  }
19159
19179
  /** Include insights in this query (Smart Fetch — single HTTP request). */
19160
19180
  insights(variables, builder) {
19161
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Report_InsightsDocument, "insights", ["id"]);
19181
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Report_InsightsDocument, "insights", ["id"]);
19162
19182
  let children;
19163
19183
  if (builder) {
19164
19184
  const sub = new InsightSubBuilder();
@@ -19167,7 +19187,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
19167
19187
  }
19168
19188
  this._includes.push({
19169
19189
  fieldName: "insights",
19170
- fragmentDoc: chunkD7AKD4KG_cjs.InsightConnectionFragmentDoc,
19190
+ fragmentDoc: chunkOCCUM5WH_cjs.InsightConnectionFragmentDoc,
19171
19191
  variables,
19172
19192
  isConnection: true,
19173
19193
  isList: false,
@@ -19185,10 +19205,10 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
19185
19205
  }
19186
19206
  /** Include layout in this query (Smart Fetch — single HTTP request). */
19187
19207
  layout(variables) {
19188
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Report_LayoutDocument, "layout", ["id"]);
19208
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Report_LayoutDocument, "layout", ["id"]);
19189
19209
  this._includes.push({
19190
19210
  fieldName: "layout",
19191
- fragmentDoc: chunkD7AKD4KG_cjs.ReportMemberFragmentDoc,
19211
+ fragmentDoc: chunkOCCUM5WH_cjs.ReportMemberFragmentDoc,
19192
19212
  variables,
19193
19213
  isConnection: false,
19194
19214
  isList: true,
@@ -19211,18 +19231,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk342BFYZZ_cjs
19211
19231
  }
19212
19232
  async fetch(options) {
19213
19233
  const variables = this._variables;
19214
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Report_InsightsDocument, variables, "report");
19234
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Report_InsightsDocument, variables, "report");
19215
19235
  const data = response.report?.insights;
19216
19236
  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);
19217
19237
  }
19218
19238
  watch(options) {
19219
19239
  const variables = this._variables;
19220
19240
  const raw = this._syncEngine.watch(
19221
- chunkD7AKD4KG_cjs.Report_InsightsDocument,
19241
+ chunkOCCUM5WH_cjs.Report_InsightsDocument,
19222
19242
  variables,
19223
19243
  "report",
19224
19244
  async (db) => {
19225
- const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkD7AKD4KG_cjs.Report_InsightsDocument));
19245
+ const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkOCCUM5WH_cjs.Report_InsightsDocument));
19226
19246
  const nodes = qr ? await db.table("insights").bulkGet(qr.entityIds) : [];
19227
19247
  return { report: { insights: { __typename: "InsightConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
19228
19248
  }
@@ -19240,7 +19260,7 @@ var Report_LayoutQuery = class extends chunk342BFYZZ_cjs.Request {
19240
19260
  this._variables = variables;
19241
19261
  }
19242
19262
  async fetch(options) {
19243
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Report_LayoutDocument, this._variables, "report");
19263
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Report_LayoutDocument, this._variables, "report");
19244
19264
  const data = response.report?.layout;
19245
19265
  if (!Array.isArray(data)) return [];
19246
19266
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -19255,7 +19275,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
19255
19275
  }
19256
19276
  async fetch(options) {
19257
19277
  const variables = this._variables;
19258
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ReportsDocument, "reports", this._includes, variables, true);
19278
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ReportsDocument, "reports", this._includes, variables, true);
19259
19279
  const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
19260
19280
  const data = response.reports;
19261
19281
  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);
@@ -19272,7 +19292,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
19272
19292
  const subscriptionId = crypto.randomUUID();
19273
19293
  const includes = this._includes;
19274
19294
  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) }] : []);
19275
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.ReportsDocument, "reports", includes, variables, true);
19295
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.ReportsDocument, "reports", includes, variables, true);
19276
19296
  const raw = this._syncEngine.watch(
19277
19297
  queryDoc,
19278
19298
  mergedVars,
@@ -19307,7 +19327,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
19307
19327
  }
19308
19328
  /** Include insights in this query (Smart Fetch — single HTTP request). */
19309
19329
  insights(variables, builder) {
19310
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Report_InsightsDocument, "insights", ["id"]);
19330
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Report_InsightsDocument, "insights", ["id"]);
19311
19331
  let children;
19312
19332
  if (builder) {
19313
19333
  const sub = new InsightSubBuilder();
@@ -19316,7 +19336,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
19316
19336
  }
19317
19337
  this._includes.push({
19318
19338
  fieldName: "insights",
19319
- fragmentDoc: chunkD7AKD4KG_cjs.InsightConnectionFragmentDoc,
19339
+ fragmentDoc: chunkOCCUM5WH_cjs.InsightConnectionFragmentDoc,
19320
19340
  variables,
19321
19341
  isConnection: true,
19322
19342
  isList: false,
@@ -19334,10 +19354,10 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
19334
19354
  }
19335
19355
  /** Include layout in this query (Smart Fetch — single HTTP request). */
19336
19356
  layout(variables) {
19337
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Report_LayoutDocument, "layout", ["id"]);
19357
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Report_LayoutDocument, "layout", ["id"]);
19338
19358
  this._includes.push({
19339
19359
  fieldName: "layout",
19340
- fragmentDoc: chunkD7AKD4KG_cjs.ReportMemberFragmentDoc,
19360
+ fragmentDoc: chunkOCCUM5WH_cjs.ReportMemberFragmentDoc,
19341
19361
  variables,
19342
19362
  isConnection: false,
19343
19363
  isList: true,
@@ -19361,7 +19381,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19361
19381
  }
19362
19382
  async fetch(options) {
19363
19383
  const variables = this._variables;
19364
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.TableDocument, "table", this._includes, variables);
19384
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.TableDocument, "table", this._includes, variables);
19365
19385
  const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
19366
19386
  const data = response.table;
19367
19387
  const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
@@ -19373,7 +19393,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19373
19393
  watch(options) {
19374
19394
  const variables = this._variables;
19375
19395
  const includes = this._includes;
19376
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.TableDocument, "table", includes, variables);
19396
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.TableDocument, "table", includes, variables);
19377
19397
  const raw = this._syncEngine.watch(
19378
19398
  queryDoc,
19379
19399
  mergedVars,
@@ -19403,7 +19423,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19403
19423
  }
19404
19424
  /** Include database in this query (Smart Fetch — single HTTP request). */
19405
19425
  database(variables, builder) {
19406
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Table_DatabaseDocument, "database", ["id"]);
19426
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Table_DatabaseDocument, "database", ["id"]);
19407
19427
  let children;
19408
19428
  if (builder) {
19409
19429
  const sub = new DatabaseSubBuilder();
@@ -19412,7 +19432,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19412
19432
  }
19413
19433
  this._includes.push({
19414
19434
  fieldName: "database",
19415
- fragmentDoc: chunkD7AKD4KG_cjs.DatabaseFragmentDoc,
19435
+ fragmentDoc: chunkOCCUM5WH_cjs.DatabaseFragmentDoc,
19416
19436
  variables,
19417
19437
  isConnection: false,
19418
19438
  isList: false,
@@ -19429,7 +19449,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19429
19449
  }
19430
19450
  /** Include document in this query (Smart Fetch — single HTTP request). */
19431
19451
  document(variables, builder) {
19432
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Table_DocumentDocument, "document", ["id"]);
19452
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Table_DocumentDocument, "document", ["id"]);
19433
19453
  let children;
19434
19454
  if (builder) {
19435
19455
  const sub = new DocumentSubBuilder();
@@ -19438,7 +19458,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19438
19458
  }
19439
19459
  this._includes.push({
19440
19460
  fieldName: "document",
19441
- fragmentDoc: chunkD7AKD4KG_cjs.DocumentFragmentDoc,
19461
+ fragmentDoc: chunkOCCUM5WH_cjs.DocumentFragmentDoc,
19442
19462
  variables,
19443
19463
  isConnection: false,
19444
19464
  isList: false,
@@ -19455,10 +19475,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19455
19475
  }
19456
19476
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
19457
19477
  fromRelations(variables) {
19458
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
19478
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
19459
19479
  this._includes.push({
19460
19480
  fieldName: "fromRelations",
19461
- fragmentDoc: chunkD7AKD4KG_cjs.RelationFragmentDoc,
19481
+ fragmentDoc: chunkOCCUM5WH_cjs.RelationFragmentDoc,
19462
19482
  variables,
19463
19483
  isConnection: false,
19464
19484
  isList: true,
@@ -19474,10 +19494,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
19474
19494
  }
19475
19495
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
19476
19496
  toRelations(variables) {
19477
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
19497
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
19478
19498
  this._includes.push({
19479
19499
  fieldName: "toRelations",
19480
- fragmentDoc: chunkD7AKD4KG_cjs.RelationFragmentDoc,
19500
+ fragmentDoc: chunkOCCUM5WH_cjs.RelationFragmentDoc,
19481
19501
  variables,
19482
19502
  isConnection: false,
19483
19503
  isList: true,
@@ -19500,14 +19520,14 @@ var Table_DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
19500
19520
  }
19501
19521
  async fetch(options) {
19502
19522
  const variables = this._variables;
19503
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Table_DatabaseDocument, variables, "table");
19523
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Table_DatabaseDocument, variables, "table");
19504
19524
  const data = response.table?.database;
19505
19525
  return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19506
19526
  }
19507
19527
  watch(options) {
19508
19528
  const variables = this._variables;
19509
19529
  const raw = this._syncEngine.watch(
19510
- chunkD7AKD4KG_cjs.Table_DatabaseDocument,
19530
+ chunkOCCUM5WH_cjs.Table_DatabaseDocument,
19511
19531
  variables,
19512
19532
  "table",
19513
19533
  async (db) => {
@@ -19530,14 +19550,14 @@ var Table_Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
19530
19550
  }
19531
19551
  async fetch(options) {
19532
19552
  const variables = this._variables;
19533
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Table_Database_EngineDocument, variables, "table");
19553
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Table_Database_EngineDocument, variables, "table");
19534
19554
  const data = response.table?.database?.engine;
19535
19555
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19536
19556
  }
19537
19557
  watch(options) {
19538
19558
  const variables = this._variables;
19539
19559
  const raw = this._syncEngine.watch(
19540
- chunkD7AKD4KG_cjs.Table_Database_EngineDocument,
19560
+ chunkOCCUM5WH_cjs.Table_Database_EngineDocument,
19541
19561
  variables,
19542
19562
  "table",
19543
19563
  async (db) => {
@@ -19560,14 +19580,14 @@ var Table_DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
19560
19580
  }
19561
19581
  async fetch(options) {
19562
19582
  const variables = this._variables;
19563
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Table_DocumentDocument, variables, "table");
19583
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Table_DocumentDocument, variables, "table");
19564
19584
  const data = response.table?.document;
19565
19585
  return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19566
19586
  }
19567
19587
  watch(options) {
19568
19588
  const variables = this._variables;
19569
19589
  const raw = this._syncEngine.watch(
19570
- chunkD7AKD4KG_cjs.Table_DocumentDocument,
19590
+ chunkOCCUM5WH_cjs.Table_DocumentDocument,
19571
19591
  variables,
19572
19592
  "table",
19573
19593
  async (db) => {
@@ -19589,7 +19609,7 @@ var Table_Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
19589
19609
  this._variables = variables;
19590
19610
  }
19591
19611
  async fetch(options) {
19592
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Table_Document_ContentsDocument, this._variables, "table");
19612
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Table_Document_ContentsDocument, this._variables, "table");
19593
19613
  const data = response.table?.document?.contents;
19594
19614
  if (!Array.isArray(data)) return [];
19595
19615
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -19603,14 +19623,14 @@ var Table_Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
19603
19623
  }
19604
19624
  async fetch(options) {
19605
19625
  const variables = this._variables;
19606
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Table_Document_FileDocument, variables, "table");
19626
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Table_Document_FileDocument, variables, "table");
19607
19627
  const data = response.table?.document?.file;
19608
19628
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19609
19629
  }
19610
19630
  watch(options) {
19611
19631
  const variables = this._variables;
19612
19632
  const raw = this._syncEngine.watch(
19613
- chunkD7AKD4KG_cjs.Table_Document_FileDocument,
19633
+ chunkOCCUM5WH_cjs.Table_Document_FileDocument,
19614
19634
  variables,
19615
19635
  "table",
19616
19636
  async (db) => {
@@ -19633,14 +19653,14 @@ var Table_Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
19633
19653
  }
19634
19654
  async fetch(options) {
19635
19655
  const variables = this._variables;
19636
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Table_Document_FormatDocument, variables, "table");
19656
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Table_Document_FormatDocument, variables, "table");
19637
19657
  const data = response.table?.document?.format;
19638
19658
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
19639
19659
  }
19640
19660
  watch(options) {
19641
19661
  const variables = this._variables;
19642
19662
  const raw = this._syncEngine.watch(
19643
- chunkD7AKD4KG_cjs.Table_Document_FormatDocument,
19663
+ chunkOCCUM5WH_cjs.Table_Document_FormatDocument,
19644
19664
  variables,
19645
19665
  "table",
19646
19666
  async (db) => {
@@ -19662,7 +19682,7 @@ var Table_FromRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
19662
19682
  this._variables = variables;
19663
19683
  }
19664
19684
  async fetch(options) {
19665
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Table_FromRelationsDocument, this._variables, "table");
19685
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Table_FromRelationsDocument, this._variables, "table");
19666
19686
  const data = response.table?.fromRelations;
19667
19687
  if (!Array.isArray(data)) return [];
19668
19688
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -19675,7 +19695,7 @@ var Table_ToRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
19675
19695
  this._variables = variables;
19676
19696
  }
19677
19697
  async fetch(options) {
19678
- const response = await this._syncEngine.query(chunkD7AKD4KG_cjs.Table_ToRelationsDocument, this._variables, "table");
19698
+ const response = await this._syncEngine.query(chunkOCCUM5WH_cjs.Table_ToRelationsDocument, this._variables, "table");
19679
19699
  const data = response.table?.toRelations;
19680
19700
  if (!Array.isArray(data)) return [];
19681
19701
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -19690,7 +19710,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19690
19710
  }
19691
19711
  async fetch(options) {
19692
19712
  const variables = this._variables;
19693
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.TablesDocument, "tables", this._includes, variables, true);
19713
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.TablesDocument, "tables", this._includes, variables, true);
19694
19714
  const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
19695
19715
  const data = response.tables;
19696
19716
  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);
@@ -19707,7 +19727,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19707
19727
  const subscriptionId = crypto.randomUUID();
19708
19728
  const includes = this._includes;
19709
19729
  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) }] : []);
19710
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.TablesDocument, "tables", includes, variables, true);
19730
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.TablesDocument, "tables", includes, variables, true);
19711
19731
  const raw = this._syncEngine.watch(
19712
19732
  queryDoc,
19713
19733
  mergedVars,
@@ -19742,7 +19762,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19742
19762
  }
19743
19763
  /** Include database in this query (Smart Fetch — single HTTP request). */
19744
19764
  database(variables, builder) {
19745
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Table_DatabaseDocument, "database", ["id"]);
19765
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Table_DatabaseDocument, "database", ["id"]);
19746
19766
  let children;
19747
19767
  if (builder) {
19748
19768
  const sub = new DatabaseSubBuilder();
@@ -19751,7 +19771,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19751
19771
  }
19752
19772
  this._includes.push({
19753
19773
  fieldName: "database",
19754
- fragmentDoc: chunkD7AKD4KG_cjs.DatabaseFragmentDoc,
19774
+ fragmentDoc: chunkOCCUM5WH_cjs.DatabaseFragmentDoc,
19755
19775
  variables,
19756
19776
  isConnection: false,
19757
19777
  isList: false,
@@ -19768,7 +19788,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19768
19788
  }
19769
19789
  /** Include document in this query (Smart Fetch — single HTTP request). */
19770
19790
  document(variables, builder) {
19771
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Table_DocumentDocument, "document", ["id"]);
19791
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Table_DocumentDocument, "document", ["id"]);
19772
19792
  let children;
19773
19793
  if (builder) {
19774
19794
  const sub = new DocumentSubBuilder();
@@ -19777,7 +19797,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19777
19797
  }
19778
19798
  this._includes.push({
19779
19799
  fieldName: "document",
19780
- fragmentDoc: chunkD7AKD4KG_cjs.DocumentFragmentDoc,
19800
+ fragmentDoc: chunkOCCUM5WH_cjs.DocumentFragmentDoc,
19781
19801
  variables,
19782
19802
  isConnection: false,
19783
19803
  isList: false,
@@ -19794,10 +19814,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19794
19814
  }
19795
19815
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
19796
19816
  fromRelations(variables) {
19797
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
19817
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
19798
19818
  this._includes.push({
19799
19819
  fieldName: "fromRelations",
19800
- fragmentDoc: chunkD7AKD4KG_cjs.RelationFragmentDoc,
19820
+ fragmentDoc: chunkOCCUM5WH_cjs.RelationFragmentDoc,
19801
19821
  variables,
19802
19822
  isConnection: false,
19803
19823
  isList: true,
@@ -19813,10 +19833,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
19813
19833
  }
19814
19834
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
19815
19835
  toRelations(variables) {
19816
- const info = extractIncludeInfo(chunkD7AKD4KG_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
19836
+ const info = extractIncludeInfo(chunkOCCUM5WH_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
19817
19837
  this._includes.push({
19818
19838
  fieldName: "toRelations",
19819
- fragmentDoc: chunkD7AKD4KG_cjs.RelationFragmentDoc,
19839
+ fragmentDoc: chunkOCCUM5WH_cjs.RelationFragmentDoc,
19820
19840
  variables,
19821
19841
  isConnection: false,
19822
19842
  isList: true,
@@ -19840,7 +19860,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
19840
19860
  }
19841
19861
  async fetch(options) {
19842
19862
  const variables = this._variables;
19843
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
19863
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
19844
19864
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
19845
19865
  const data = response.userSkillFile;
19846
19866
  const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -19852,7 +19872,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
19852
19872
  watch(options) {
19853
19873
  const variables = this._variables;
19854
19874
  const includes = this._includes;
19855
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
19875
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
19856
19876
  const raw = this._syncEngine.watch(
19857
19877
  queryDoc,
19858
19878
  mergedVars,
@@ -19889,7 +19909,7 @@ var UserSkillFilesQuery = class extends chunk342BFYZZ_cjs.Request {
19889
19909
  this._variables = variables;
19890
19910
  }
19891
19911
  async fetch(options) {
19892
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
19912
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
19893
19913
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
19894
19914
  const data = response.userSkillFiles;
19895
19915
  if (!Array.isArray(data)) return [];
@@ -19905,7 +19925,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
19905
19925
  }
19906
19926
  async fetch(options) {
19907
19927
  const variables = this._variables;
19908
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
19928
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
19909
19929
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
19910
19930
  const data = response.userSkillFolder;
19911
19931
  const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -19917,7 +19937,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
19917
19937
  watch(options) {
19918
19938
  const variables = this._variables;
19919
19939
  const includes = this._includes;
19920
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
19940
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
19921
19941
  const raw = this._syncEngine.watch(
19922
19942
  queryDoc,
19923
19943
  mergedVars,
@@ -19954,7 +19974,7 @@ var UserSkillFoldersQuery = class extends chunk342BFYZZ_cjs.Request {
19954
19974
  this._variables = variables;
19955
19975
  }
19956
19976
  async fetch(options) {
19957
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
19977
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
19958
19978
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
19959
19979
  const data = response.userSkillFolders;
19960
19980
  if (!Array.isArray(data)) return [];
@@ -19970,7 +19990,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
19970
19990
  }
19971
19991
  async fetch(options) {
19972
19992
  const variables = this._variables;
19973
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
19993
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
19974
19994
  const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
19975
19995
  const data = response.workspaceDeletionSchedule;
19976
19996
  if (!data) return void 0;
@@ -19983,7 +20003,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
19983
20003
  watch(options) {
19984
20004
  const variables = this._variables;
19985
20005
  const includes = this._includes;
19986
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkD7AKD4KG_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
20006
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkOCCUM5WH_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
19987
20007
  const raw = this._syncEngine.watch(
19988
20008
  queryDoc,
19989
20009
  mergedVars,
@@ -20015,7 +20035,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
20015
20035
  };
20016
20036
  var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
20017
20037
  async *subscribe(variables) {
20018
- for await (const response of this._subscribe(chunkD7AKD4KG_cjs.McpAuthUpdatesDocument, variables)) {
20038
+ for await (const response of this._subscribe(chunkOCCUM5WH_cjs.McpAuthUpdatesDocument, variables)) {
20019
20039
  const data = response.mcpAuthUpdates;
20020
20040
  yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
20021
20041
  }
@@ -20023,7 +20043,7 @@ var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
20023
20043
  };
20024
20044
  var TokenUsageUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
20025
20045
  async *subscribe(variables) {
20026
- for await (const response of this._subscribe(chunkD7AKD4KG_cjs.TokenUsageUpdatesDocument, variables)) {
20046
+ for await (const response of this._subscribe(chunkOCCUM5WH_cjs.TokenUsageUpdatesDocument, variables)) {
20027
20047
  const data = response.tokenUsageUpdates;
20028
20048
  yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
20029
20049
  }
@@ -20763,6 +20783,7 @@ exports.FeedArtifactData = FeedArtifactData;
20763
20783
  exports.FeedConnection = FeedConnection;
20764
20784
  exports.FeedDatabaseData = FeedDatabaseData;
20765
20785
  exports.FeedDocumentData = FeedDocumentData;
20786
+ exports.FeedInsightData = FeedInsightData;
20766
20787
  exports.FeedIntegrationData = FeedIntegrationData;
20767
20788
  exports.FeedItem = FeedItem;
20768
20789
  exports.FeedItemGenerated = FeedItemGenerated;
@@ -20961,5 +20982,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
20961
20982
  exports.reconstructConnectionNodes = reconstructConnectionNodes;
20962
20983
  exports.reconstructEntity = reconstructEntity;
20963
20984
  exports.uploadFile = uploadFile;
20964
- //# sourceMappingURL=chunk-RSSJCKVR.cjs.map
20965
- //# sourceMappingURL=chunk-RSSJCKVR.cjs.map
20985
+ //# sourceMappingURL=chunk-J7JMEYUZ.cjs.map
20986
+ //# sourceMappingURL=chunk-J7JMEYUZ.cjs.map