@dvina/sdk 4.0.68 → 4.0.77

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 chunk4QKWHQT2_cjs = require('./chunk-4QKWHQT2.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 chunkFNYE2ZMN_cjs = require('./chunk-FNYE2ZMN.cjs');
7
+ var chunkYMIRF4SC_cjs = require('./chunk-YMIRF4SC.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
@@ -9498,7 +9498,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
9498
9498
  var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
9499
9499
  var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
9500
9500
  async function uploadFile(request, getToken, file, name, options) {
9501
- const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-RUDN7QFR.cjs');
9501
+ const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-KPFSYIQA.cjs');
9502
9502
  const key = `upload_${Date.now()}`;
9503
9503
  const response = await request(
9504
9504
  GenerateUploadUriDocument2,
@@ -10855,6 +10855,7 @@ var Integration = class extends DvinaModel {
10855
10855
  }
10856
10856
  };
10857
10857
  var IntegrationCatalog = class extends DvinaModel {
10858
+ appIcon;
10858
10859
  authorName;
10859
10860
  authorUrl;
10860
10861
  category;
@@ -10872,6 +10873,7 @@ var IntegrationCatalog = class extends DvinaModel {
10872
10873
  supportUrl;
10873
10874
  constructor(request, data, syncEngine, baseUrl) {
10874
10875
  super(request, syncEngine, baseUrl);
10876
+ this.appIcon = this.resolveAssetUrl(data.appIcon ?? void 0);
10875
10877
  this.authorName = data.authorName ?? void 0;
10876
10878
  this.authorUrl = data.authorUrl ?? void 0;
10877
10879
  this.category = data.category;
@@ -11862,7 +11864,7 @@ var AgentSubBuilder = class {
11862
11864
  _includes = [];
11863
11865
  /** Include chats in the parent query. */
11864
11866
  chats(variables, builder) {
11865
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Agent_ChatsDocument, "chats", ["id"]);
11867
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Agent_ChatsDocument, "chats", ["id"]);
11866
11868
  let children;
11867
11869
  if (builder) {
11868
11870
  const sub = new ChatSubBuilder();
@@ -11871,7 +11873,7 @@ var AgentSubBuilder = class {
11871
11873
  }
11872
11874
  this._includes.push({
11873
11875
  fieldName: "chats",
11874
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatConnectionFragmentDoc,
11876
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatConnectionFragmentDoc,
11875
11877
  variables,
11876
11878
  isConnection: true,
11877
11879
  isList: false,
@@ -11893,7 +11895,7 @@ var ArtifactSubBuilder = class {
11893
11895
  _includes = [];
11894
11896
  /** Include chat in the parent query. */
11895
11897
  chat(variables, builder) {
11896
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_ChatDocument, "chat", ["id"]);
11898
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Artifact_ChatDocument, "chat", ["id"]);
11897
11899
  let children;
11898
11900
  if (builder) {
11899
11901
  const sub = new ChatSubBuilder();
@@ -11902,7 +11904,7 @@ var ArtifactSubBuilder = class {
11902
11904
  }
11903
11905
  this._includes.push({
11904
11906
  fieldName: "chat",
11905
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
11907
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatFragmentDoc,
11906
11908
  variables,
11907
11909
  isConnection: false,
11908
11910
  isList: false,
@@ -11919,10 +11921,10 @@ var ArtifactSubBuilder = class {
11919
11921
  }
11920
11922
  /** Include file in the parent query. */
11921
11923
  file(variables) {
11922
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_FileDocument, "file", ["id"]);
11924
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Artifact_FileDocument, "file", ["id"]);
11923
11925
  this._includes.push({
11924
11926
  fieldName: "file",
11925
- fragmentDoc: chunkFNYE2ZMN_cjs.FileFragmentDoc,
11927
+ fragmentDoc: chunkYMIRF4SC_cjs.FileFragmentDoc,
11926
11928
  variables,
11927
11929
  isConnection: false,
11928
11930
  isList: false,
@@ -11938,7 +11940,7 @@ var ArtifactSubBuilder = class {
11938
11940
  }
11939
11941
  /** Include message in the parent query. */
11940
11942
  message(variables, builder) {
11941
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_MessageDocument, "message", ["id"]);
11943
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Artifact_MessageDocument, "message", ["id"]);
11942
11944
  let children;
11943
11945
  if (builder) {
11944
11946
  const sub = new ChatMessageSubBuilder();
@@ -11947,7 +11949,7 @@ var ArtifactSubBuilder = class {
11947
11949
  }
11948
11950
  this._includes.push({
11949
11951
  fieldName: "message",
11950
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatMessageFragmentDoc,
11952
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatMessageFragmentDoc,
11951
11953
  variables,
11952
11954
  isConnection: false,
11953
11955
  isList: false,
@@ -11968,7 +11970,7 @@ var ChatSubBuilder = class {
11968
11970
  _includes = [];
11969
11971
  /** Include agents in the parent query. */
11970
11972
  agents(variables, builder) {
11971
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_AgentsDocument, "agents", ["id"]);
11973
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Chat_AgentsDocument, "agents", ["id"]);
11972
11974
  let children;
11973
11975
  if (builder) {
11974
11976
  const sub = new AgentSubBuilder();
@@ -11977,7 +11979,7 @@ var ChatSubBuilder = class {
11977
11979
  }
11978
11980
  this._includes.push({
11979
11981
  fieldName: "agents",
11980
- fragmentDoc: chunkFNYE2ZMN_cjs.AgentConnectionFragmentDoc,
11982
+ fragmentDoc: chunkYMIRF4SC_cjs.AgentConnectionFragmentDoc,
11981
11983
  variables,
11982
11984
  isConnection: true,
11983
11985
  isList: false,
@@ -11995,7 +11997,7 @@ var ChatSubBuilder = class {
11995
11997
  }
11996
11998
  /** Include artifacts in the parent query. */
11997
11999
  artifacts(variables, builder) {
11998
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
12000
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
11999
12001
  let children;
12000
12002
  if (builder) {
12001
12003
  const sub = new ArtifactSubBuilder();
@@ -12004,7 +12006,7 @@ var ChatSubBuilder = class {
12004
12006
  }
12005
12007
  this._includes.push({
12006
12008
  fieldName: "artifacts",
12007
- fragmentDoc: chunkFNYE2ZMN_cjs.ArtifactConnectionFragmentDoc,
12009
+ fragmentDoc: chunkYMIRF4SC_cjs.ArtifactConnectionFragmentDoc,
12008
12010
  variables,
12009
12011
  isConnection: true,
12010
12012
  isList: false,
@@ -12022,7 +12024,7 @@ var ChatSubBuilder = class {
12022
12024
  }
12023
12025
  /** Include insight in the parent query. */
12024
12026
  insight(variables, builder) {
12025
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_InsightDocument, "insight", ["id"]);
12027
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Chat_InsightDocument, "insight", ["id"]);
12026
12028
  let children;
12027
12029
  if (builder) {
12028
12030
  const sub = new InsightSubBuilder();
@@ -12031,7 +12033,7 @@ var ChatSubBuilder = class {
12031
12033
  }
12032
12034
  this._includes.push({
12033
12035
  fieldName: "insight",
12034
- fragmentDoc: chunkFNYE2ZMN_cjs.InsightFragmentDoc,
12036
+ fragmentDoc: chunkYMIRF4SC_cjs.InsightFragmentDoc,
12035
12037
  variables,
12036
12038
  isConnection: false,
12037
12039
  isList: false,
@@ -12048,7 +12050,7 @@ var ChatSubBuilder = class {
12048
12050
  }
12049
12051
  /** Include messages in the parent query. */
12050
12052
  messages(variables, builder) {
12051
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_MessagesDocument, "messages", ["id"]);
12053
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Chat_MessagesDocument, "messages", ["id"]);
12052
12054
  let children;
12053
12055
  if (builder) {
12054
12056
  const sub = new ChatMessageSubBuilder();
@@ -12057,7 +12059,7 @@ var ChatSubBuilder = class {
12057
12059
  }
12058
12060
  this._includes.push({
12059
12061
  fieldName: "messages",
12060
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatMessageConnectionFragmentDoc,
12062
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatMessageConnectionFragmentDoc,
12061
12063
  variables,
12062
12064
  isConnection: true,
12063
12065
  isList: false,
@@ -12079,7 +12081,7 @@ var ChatMessageSubBuilder = class {
12079
12081
  _includes = [];
12080
12082
  /** Include artifacts in the parent query. */
12081
12083
  artifacts(variables, builder) {
12082
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
12084
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
12083
12085
  let children;
12084
12086
  if (builder) {
12085
12087
  const sub = new ArtifactSubBuilder();
@@ -12088,7 +12090,7 @@ var ChatMessageSubBuilder = class {
12088
12090
  }
12089
12091
  this._includes.push({
12090
12092
  fieldName: "artifacts",
12091
- fragmentDoc: chunkFNYE2ZMN_cjs.ArtifactConnectionFragmentDoc,
12093
+ fragmentDoc: chunkYMIRF4SC_cjs.ArtifactConnectionFragmentDoc,
12092
12094
  variables,
12093
12095
  isConnection: true,
12094
12096
  isList: false,
@@ -12106,7 +12108,7 @@ var ChatMessageSubBuilder = class {
12106
12108
  }
12107
12109
  /** Include chat in the parent query. */
12108
12110
  chat(variables, builder) {
12109
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
12111
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
12110
12112
  let children;
12111
12113
  if (builder) {
12112
12114
  const sub = new ChatSubBuilder();
@@ -12115,7 +12117,7 @@ var ChatMessageSubBuilder = class {
12115
12117
  }
12116
12118
  this._includes.push({
12117
12119
  fieldName: "chat",
12118
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
12120
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatFragmentDoc,
12119
12121
  variables,
12120
12122
  isConnection: false,
12121
12123
  isList: false,
@@ -12132,10 +12134,10 @@ var ChatMessageSubBuilder = class {
12132
12134
  }
12133
12135
  /** Include contents in the parent query. */
12134
12136
  contents(variables) {
12135
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
12137
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
12136
12138
  this._includes.push({
12137
12139
  fieldName: "contents",
12138
- fragmentDoc: chunkFNYE2ZMN_cjs.ContentBlockFragmentDoc,
12140
+ fragmentDoc: chunkYMIRF4SC_cjs.ContentBlockFragmentDoc,
12139
12141
  variables,
12140
12142
  isConnection: false,
12141
12143
  isList: true,
@@ -12151,10 +12153,10 @@ var ChatMessageSubBuilder = class {
12151
12153
  }
12152
12154
  /** Include feedback in the parent query. */
12153
12155
  feedback(variables) {
12154
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
12156
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
12155
12157
  this._includes.push({
12156
12158
  fieldName: "feedback",
12157
- fragmentDoc: chunkFNYE2ZMN_cjs.FeedbackFragmentDoc,
12159
+ fragmentDoc: chunkYMIRF4SC_cjs.FeedbackFragmentDoc,
12158
12160
  variables,
12159
12161
  isConnection: false,
12160
12162
  isList: false,
@@ -12174,10 +12176,10 @@ var DatabaseSubBuilder = class {
12174
12176
  _includes = [];
12175
12177
  /** Include engine in the parent query. */
12176
12178
  engine(variables) {
12177
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Database_EngineDocument, "engine", ["id"]);
12179
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Database_EngineDocument, "engine", ["id"]);
12178
12180
  this._includes.push({
12179
12181
  fieldName: "engine",
12180
- fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseEngineFragmentDoc,
12182
+ fragmentDoc: chunkYMIRF4SC_cjs.DatabaseEngineFragmentDoc,
12181
12183
  variables,
12182
12184
  isConnection: false,
12183
12185
  isList: false,
@@ -12193,7 +12195,7 @@ var DatabaseSubBuilder = class {
12193
12195
  }
12194
12196
  /** Include tables in the parent query. */
12195
12197
  tables(variables, builder) {
12196
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Database_TablesDocument, "tables", ["id"]);
12198
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Database_TablesDocument, "tables", ["id"]);
12197
12199
  let children;
12198
12200
  if (builder) {
12199
12201
  const sub = new TableSubBuilder();
@@ -12202,7 +12204,7 @@ var DatabaseSubBuilder = class {
12202
12204
  }
12203
12205
  this._includes.push({
12204
12206
  fieldName: "tables",
12205
- fragmentDoc: chunkFNYE2ZMN_cjs.TableConnectionFragmentDoc,
12207
+ fragmentDoc: chunkYMIRF4SC_cjs.TableConnectionFragmentDoc,
12206
12208
  variables,
12207
12209
  isConnection: true,
12208
12210
  isList: false,
@@ -12224,10 +12226,10 @@ var DatabaseCatalogSubBuilder = class {
12224
12226
  _includes = [];
12225
12227
  /** Include engine in the parent query. */
12226
12228
  engine(variables) {
12227
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.DatabaseCatalog_EngineDocument, "engine", []);
12229
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.DatabaseCatalog_EngineDocument, "engine", []);
12228
12230
  this._includes.push({
12229
12231
  fieldName: "engine",
12230
- fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseEngineFragmentDoc,
12232
+ fragmentDoc: chunkYMIRF4SC_cjs.DatabaseEngineFragmentDoc,
12231
12233
  variables,
12232
12234
  isConnection: false,
12233
12235
  isList: false,
@@ -12247,10 +12249,10 @@ var DocumentSubBuilder = class {
12247
12249
  _includes = [];
12248
12250
  /** Include contents in the parent query. */
12249
12251
  contents(variables) {
12250
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_ContentsDocument, "contents", ["id"]);
12252
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Document_ContentsDocument, "contents", ["id"]);
12251
12253
  this._includes.push({
12252
12254
  fieldName: "contents",
12253
- fragmentDoc: chunkFNYE2ZMN_cjs.DocumentContentFragmentDoc,
12255
+ fragmentDoc: chunkYMIRF4SC_cjs.DocumentContentFragmentDoc,
12254
12256
  variables,
12255
12257
  isConnection: false,
12256
12258
  isList: true,
@@ -12266,10 +12268,10 @@ var DocumentSubBuilder = class {
12266
12268
  }
12267
12269
  /** Include file in the parent query. */
12268
12270
  file(variables) {
12269
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_FileDocument, "file", ["id"]);
12271
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Document_FileDocument, "file", ["id"]);
12270
12272
  this._includes.push({
12271
12273
  fieldName: "file",
12272
- fragmentDoc: chunkFNYE2ZMN_cjs.FileFragmentDoc,
12274
+ fragmentDoc: chunkYMIRF4SC_cjs.FileFragmentDoc,
12273
12275
  variables,
12274
12276
  isConnection: false,
12275
12277
  isList: false,
@@ -12285,10 +12287,10 @@ var DocumentSubBuilder = class {
12285
12287
  }
12286
12288
  /** Include format in the parent query. */
12287
12289
  format(variables) {
12288
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_FormatDocument, "format", ["id"]);
12290
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Document_FormatDocument, "format", ["id"]);
12289
12291
  this._includes.push({
12290
12292
  fieldName: "format",
12291
- fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFormatFragmentDoc,
12293
+ fragmentDoc: chunkYMIRF4SC_cjs.DocumentFormatFragmentDoc,
12292
12294
  variables,
12293
12295
  isConnection: false,
12294
12296
  isList: false,
@@ -12304,7 +12306,7 @@ var DocumentSubBuilder = class {
12304
12306
  }
12305
12307
  /** Include tables in the parent query. */
12306
12308
  tables(variables, builder) {
12307
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_TablesDocument, "tables", ["id"]);
12309
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Document_TablesDocument, "tables", ["id"]);
12308
12310
  let children;
12309
12311
  if (builder) {
12310
12312
  const sub = new TableSubBuilder();
@@ -12313,7 +12315,7 @@ var DocumentSubBuilder = class {
12313
12315
  }
12314
12316
  this._includes.push({
12315
12317
  fieldName: "tables",
12316
- fragmentDoc: chunkFNYE2ZMN_cjs.TableConnectionFragmentDoc,
12318
+ fragmentDoc: chunkYMIRF4SC_cjs.TableConnectionFragmentDoc,
12317
12319
  variables,
12318
12320
  isConnection: true,
12319
12321
  isList: false,
@@ -12335,10 +12337,10 @@ var DocumentCatalogSubBuilder = class {
12335
12337
  _includes = [];
12336
12338
  /** Include format in the parent query. */
12337
12339
  format(variables) {
12338
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.DocumentCatalog_FormatDocument, "format", []);
12340
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.DocumentCatalog_FormatDocument, "format", []);
12339
12341
  this._includes.push({
12340
12342
  fieldName: "format",
12341
- fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFormatFragmentDoc,
12343
+ fragmentDoc: chunkYMIRF4SC_cjs.DocumentFormatFragmentDoc,
12342
12344
  variables,
12343
12345
  isConnection: false,
12344
12346
  isList: false,
@@ -12358,7 +12360,7 @@ var InsightSubBuilder = class {
12358
12360
  _includes = [];
12359
12361
  /** Include chat in the parent query. */
12360
12362
  chat(variables, builder) {
12361
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ChatDocument, "chat", ["id"]);
12363
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Insight_ChatDocument, "chat", ["id"]);
12362
12364
  let children;
12363
12365
  if (builder) {
12364
12366
  const sub = new ChatSubBuilder();
@@ -12367,7 +12369,7 @@ var InsightSubBuilder = class {
12367
12369
  }
12368
12370
  this._includes.push({
12369
12371
  fieldName: "chat",
12370
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
12372
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatFragmentDoc,
12371
12373
  variables,
12372
12374
  isConnection: false,
12373
12375
  isList: false,
@@ -12384,10 +12386,10 @@ var InsightSubBuilder = class {
12384
12386
  }
12385
12387
  /** Include reportMembers in the parent query. */
12386
12388
  reportMembers(variables) {
12387
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
12389
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
12388
12390
  this._includes.push({
12389
12391
  fieldName: "reportMembers",
12390
- fragmentDoc: chunkFNYE2ZMN_cjs.ReportMemberFragmentDoc,
12392
+ fragmentDoc: chunkYMIRF4SC_cjs.ReportMemberFragmentDoc,
12391
12393
  variables,
12392
12394
  isConnection: false,
12393
12395
  isList: true,
@@ -12403,7 +12405,7 @@ var InsightSubBuilder = class {
12403
12405
  }
12404
12406
  /** Include reports in the parent query. */
12405
12407
  reports(variables, builder) {
12406
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ReportsDocument, "reports", ["id"]);
12408
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Insight_ReportsDocument, "reports", ["id"]);
12407
12409
  let children;
12408
12410
  if (builder) {
12409
12411
  const sub = new ReportSubBuilder();
@@ -12412,7 +12414,7 @@ var InsightSubBuilder = class {
12412
12414
  }
12413
12415
  this._includes.push({
12414
12416
  fieldName: "reports",
12415
- fragmentDoc: chunkFNYE2ZMN_cjs.ReportConnectionFragmentDoc,
12417
+ fragmentDoc: chunkYMIRF4SC_cjs.ReportConnectionFragmentDoc,
12416
12418
  variables,
12417
12419
  isConnection: true,
12418
12420
  isList: false,
@@ -12434,10 +12436,10 @@ var IntegrationSubBuilder = class {
12434
12436
  _includes = [];
12435
12437
  /** Include provider in the parent query. */
12436
12438
  provider(variables) {
12437
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Integration_ProviderDocument, "provider", ["id"]);
12439
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Integration_ProviderDocument, "provider", ["id"]);
12438
12440
  this._includes.push({
12439
12441
  fieldName: "provider",
12440
- fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationProviderFragmentDoc,
12442
+ fragmentDoc: chunkYMIRF4SC_cjs.IntegrationProviderFragmentDoc,
12441
12443
  variables,
12442
12444
  isConnection: false,
12443
12445
  isList: false,
@@ -12457,10 +12459,10 @@ var IntegrationCatalogSubBuilder = class {
12457
12459
  _includes = [];
12458
12460
  /** Include provider in the parent query. */
12459
12461
  provider(variables) {
12460
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
12462
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
12461
12463
  this._includes.push({
12462
12464
  fieldName: "provider",
12463
- fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationProviderFragmentDoc,
12465
+ fragmentDoc: chunkYMIRF4SC_cjs.IntegrationProviderFragmentDoc,
12464
12466
  variables,
12465
12467
  isConnection: false,
12466
12468
  isList: false,
@@ -12480,7 +12482,7 @@ var PulseEventSubBuilder = class {
12480
12482
  _includes = [];
12481
12483
  /** Include integration in the parent query. */
12482
12484
  integration(variables, builder) {
12483
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
12485
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
12484
12486
  let children;
12485
12487
  if (builder) {
12486
12488
  const sub = new IntegrationSubBuilder();
@@ -12489,7 +12491,7 @@ var PulseEventSubBuilder = class {
12489
12491
  }
12490
12492
  this._includes.push({
12491
12493
  fieldName: "integration",
12492
- fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationFragmentDoc,
12494
+ fragmentDoc: chunkYMIRF4SC_cjs.IntegrationFragmentDoc,
12493
12495
  variables,
12494
12496
  isConnection: false,
12495
12497
  isList: false,
@@ -12510,7 +12512,7 @@ var ReportSubBuilder = class {
12510
12512
  _includes = [];
12511
12513
  /** Include insights in the parent query. */
12512
12514
  insights(variables, builder) {
12513
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Report_InsightsDocument, "insights", ["id"]);
12515
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Report_InsightsDocument, "insights", ["id"]);
12514
12516
  let children;
12515
12517
  if (builder) {
12516
12518
  const sub = new InsightSubBuilder();
@@ -12519,7 +12521,7 @@ var ReportSubBuilder = class {
12519
12521
  }
12520
12522
  this._includes.push({
12521
12523
  fieldName: "insights",
12522
- fragmentDoc: chunkFNYE2ZMN_cjs.InsightConnectionFragmentDoc,
12524
+ fragmentDoc: chunkYMIRF4SC_cjs.InsightConnectionFragmentDoc,
12523
12525
  variables,
12524
12526
  isConnection: true,
12525
12527
  isList: false,
@@ -12537,10 +12539,10 @@ var ReportSubBuilder = class {
12537
12539
  }
12538
12540
  /** Include layout in the parent query. */
12539
12541
  layout(variables) {
12540
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Report_LayoutDocument, "layout", ["id"]);
12542
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Report_LayoutDocument, "layout", ["id"]);
12541
12543
  this._includes.push({
12542
12544
  fieldName: "layout",
12543
- fragmentDoc: chunkFNYE2ZMN_cjs.ReportMemberFragmentDoc,
12545
+ fragmentDoc: chunkYMIRF4SC_cjs.ReportMemberFragmentDoc,
12544
12546
  variables,
12545
12547
  isConnection: false,
12546
12548
  isList: true,
@@ -12560,7 +12562,7 @@ var TableSubBuilder = class {
12560
12562
  _includes = [];
12561
12563
  /** Include database in the parent query. */
12562
12564
  database(variables, builder) {
12563
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_DatabaseDocument, "database", ["id"]);
12565
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Table_DatabaseDocument, "database", ["id"]);
12564
12566
  let children;
12565
12567
  if (builder) {
12566
12568
  const sub = new DatabaseSubBuilder();
@@ -12569,7 +12571,7 @@ var TableSubBuilder = class {
12569
12571
  }
12570
12572
  this._includes.push({
12571
12573
  fieldName: "database",
12572
- fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseFragmentDoc,
12574
+ fragmentDoc: chunkYMIRF4SC_cjs.DatabaseFragmentDoc,
12573
12575
  variables,
12574
12576
  isConnection: false,
12575
12577
  isList: false,
@@ -12586,7 +12588,7 @@ var TableSubBuilder = class {
12586
12588
  }
12587
12589
  /** Include document in the parent query. */
12588
12590
  document(variables, builder) {
12589
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_DocumentDocument, "document", ["id"]);
12591
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Table_DocumentDocument, "document", ["id"]);
12590
12592
  let children;
12591
12593
  if (builder) {
12592
12594
  const sub = new DocumentSubBuilder();
@@ -12595,7 +12597,7 @@ var TableSubBuilder = class {
12595
12597
  }
12596
12598
  this._includes.push({
12597
12599
  fieldName: "document",
12598
- fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFragmentDoc,
12600
+ fragmentDoc: chunkYMIRF4SC_cjs.DocumentFragmentDoc,
12599
12601
  variables,
12600
12602
  isConnection: false,
12601
12603
  isList: false,
@@ -12612,10 +12614,10 @@ var TableSubBuilder = class {
12612
12614
  }
12613
12615
  /** Include fromRelations in the parent query. */
12614
12616
  fromRelations(variables) {
12615
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
12617
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
12616
12618
  this._includes.push({
12617
12619
  fieldName: "fromRelations",
12618
- fragmentDoc: chunkFNYE2ZMN_cjs.RelationFragmentDoc,
12620
+ fragmentDoc: chunkYMIRF4SC_cjs.RelationFragmentDoc,
12619
12621
  variables,
12620
12622
  isConnection: false,
12621
12623
  isList: true,
@@ -12631,10 +12633,10 @@ var TableSubBuilder = class {
12631
12633
  }
12632
12634
  /** Include toRelations in the parent query. */
12633
12635
  toRelations(variables) {
12634
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
12636
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
12635
12637
  this._includes.push({
12636
12638
  fieldName: "toRelations",
12637
- fragmentDoc: chunkFNYE2ZMN_cjs.RelationFragmentDoc,
12639
+ fragmentDoc: chunkYMIRF4SC_cjs.RelationFragmentDoc,
12638
12640
  variables,
12639
12641
  isConnection: false,
12640
12642
  isList: true,
@@ -12651,422 +12653,422 @@ var TableSubBuilder = class {
12651
12653
  };
12652
12654
  var AcknowledgePulseEventMutation = class extends chunk4QKWHQT2_cjs.Request {
12653
12655
  async fetch(variables, options) {
12654
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.AcknowledgePulseEventDocument, variables, MUTATION_CACHE_RULES["acknowledgePulseEvent"]);
12656
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.AcknowledgePulseEventDocument, variables, MUTATION_CACHE_RULES["acknowledgePulseEvent"]);
12655
12657
  const data = response.acknowledgePulseEvent;
12656
12658
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12657
12659
  }
12658
12660
  };
12659
12661
  var AddInsightToReportMutation = class extends chunk4QKWHQT2_cjs.Request {
12660
12662
  async fetch(variables, options) {
12661
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
12663
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
12662
12664
  const data = response.addInsightToReport;
12663
12665
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
12664
12666
  }
12665
12667
  };
12666
12668
  var CancelOauthFlowMutation = class extends chunk4QKWHQT2_cjs.Request {
12667
12669
  async fetch(variables) {
12668
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
12670
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
12669
12671
  return response.cancelOauthFlow;
12670
12672
  }
12671
12673
  };
12672
12674
  var CancelWorkspaceDeletionMutation = class extends chunk4QKWHQT2_cjs.Request {
12673
12675
  async fetch(variables) {
12674
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
12676
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
12675
12677
  return response.cancelWorkspaceDeletion;
12676
12678
  }
12677
12679
  };
12678
12680
  var ConnectIntegrationMutation = class extends chunk4QKWHQT2_cjs.Request {
12679
12681
  async fetch(variables, options) {
12680
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
12682
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
12681
12683
  const data = response.connectIntegration;
12682
12684
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
12683
12685
  }
12684
12686
  };
12685
12687
  var ContinueImportedChatMutation = class extends chunk4QKWHQT2_cjs.Request {
12686
12688
  async fetch(variables) {
12687
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
12689
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
12688
12690
  return response.continueImportedChat;
12689
12691
  }
12690
12692
  };
12691
12693
  var ContinueInterpretationMutation = class extends chunk4QKWHQT2_cjs.Request {
12692
12694
  async fetch(variables) {
12693
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
12695
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
12694
12696
  return response.continueInterpretation;
12695
12697
  }
12696
12698
  };
12697
12699
  var CreateAgentMutation = class extends chunk4QKWHQT2_cjs.Request {
12698
12700
  async fetch(variables, options) {
12699
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
12701
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
12700
12702
  const data = response.createAgent;
12701
12703
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
12702
12704
  }
12703
12705
  };
12704
12706
  var CreateChatMutation = class extends chunk4QKWHQT2_cjs.Request {
12705
12707
  async fetch(variables, options) {
12706
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
12708
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
12707
12709
  const data = response.createChat;
12708
12710
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
12709
12711
  }
12710
12712
  };
12711
12713
  var CreateDatabaseMutation = class extends chunk4QKWHQT2_cjs.Request {
12712
12714
  async fetch(variables, options) {
12713
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
12715
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
12714
12716
  const data = response.createDatabase;
12715
12717
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
12716
12718
  }
12717
12719
  };
12718
12720
  var CreateDocumentMutation = class extends chunk4QKWHQT2_cjs.Request {
12719
12721
  async fetch(variables, options) {
12720
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
12722
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
12721
12723
  const data = response.createDocument;
12722
12724
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
12723
12725
  }
12724
12726
  };
12725
12727
  var CreateFeedbackMutation = class extends chunk4QKWHQT2_cjs.Request {
12726
12728
  async fetch(variables, options) {
12727
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
12729
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
12728
12730
  const data = response.createFeedback;
12729
12731
  return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
12730
12732
  }
12731
12733
  };
12732
12734
  var CreateFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
12733
12735
  async fetch(variables, options) {
12734
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
12736
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
12735
12737
  const data = response.createFolder;
12736
12738
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
12737
12739
  }
12738
12740
  };
12739
12741
  var CreateInsightMutation = class extends chunk4QKWHQT2_cjs.Request {
12740
12742
  async fetch(variables, options) {
12741
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
12743
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
12742
12744
  const data = response.createInsight;
12743
12745
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
12744
12746
  }
12745
12747
  };
12746
12748
  var CreateIntegrationMutation = class extends chunk4QKWHQT2_cjs.Request {
12747
12749
  async fetch(variables, options) {
12748
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
12750
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
12749
12751
  const data = response.createIntegration;
12750
12752
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
12751
12753
  }
12752
12754
  };
12753
12755
  var CreateReportMutation = class extends chunk4QKWHQT2_cjs.Request {
12754
12756
  async fetch(variables, options) {
12755
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
12757
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
12756
12758
  const data = response.createReport;
12757
12759
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
12758
12760
  }
12759
12761
  };
12760
12762
  var CreateTableMutation = class extends chunk4QKWHQT2_cjs.Request {
12761
12763
  async fetch(variables, options) {
12762
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
12764
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
12763
12765
  const data = response.createTable;
12764
12766
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
12765
12767
  }
12766
12768
  };
12767
12769
  var CreateUserSkillFileMutation = class extends chunk4QKWHQT2_cjs.Request {
12768
12770
  async fetch(variables, options) {
12769
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
12771
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
12770
12772
  const data = response.createUserSkillFile;
12771
12773
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
12772
12774
  }
12773
12775
  };
12774
12776
  var CreateUserSkillFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
12775
12777
  async fetch(variables, options) {
12776
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
12778
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
12777
12779
  const data = response.createUserSkillFolder;
12778
12780
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
12779
12781
  }
12780
12782
  };
12781
12783
  var DeleteAgentMutation = class extends chunk4QKWHQT2_cjs.Request {
12782
12784
  async fetch(variables, options) {
12783
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
12785
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
12784
12786
  const data = response.deleteAgent;
12785
12787
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
12786
12788
  }
12787
12789
  };
12788
12790
  var DeleteArtifactMutation = class extends chunk4QKWHQT2_cjs.Request {
12789
12791
  async fetch(variables, options) {
12790
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
12792
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
12791
12793
  const data = response.deleteArtifact;
12792
12794
  return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
12793
12795
  }
12794
12796
  };
12795
12797
  var DeleteChatMutation = class extends chunk4QKWHQT2_cjs.Request {
12796
12798
  async fetch(variables, options) {
12797
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
12799
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
12798
12800
  const data = response.deleteChat;
12799
12801
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
12800
12802
  }
12801
12803
  };
12802
12804
  var DeleteDatabaseMutation = class extends chunk4QKWHQT2_cjs.Request {
12803
12805
  async fetch(variables, options) {
12804
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
12806
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
12805
12807
  const data = response.deleteDatabase;
12806
12808
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
12807
12809
  }
12808
12810
  };
12809
12811
  var DeleteDocumentMutation = class extends chunk4QKWHQT2_cjs.Request {
12810
12812
  async fetch(variables, options) {
12811
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
12813
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
12812
12814
  const data = response.deleteDocument;
12813
12815
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
12814
12816
  }
12815
12817
  };
12816
12818
  var DeleteFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
12817
12819
  async fetch(variables, options) {
12818
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
12820
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
12819
12821
  const data = response.deleteFolder;
12820
12822
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
12821
12823
  }
12822
12824
  };
12823
12825
  var DeleteInsightMutation = class extends chunk4QKWHQT2_cjs.Request {
12824
12826
  async fetch(variables, options) {
12825
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
12827
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
12826
12828
  const data = response.deleteInsight;
12827
12829
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
12828
12830
  }
12829
12831
  };
12830
12832
  var DeleteInsightsMutation = class extends chunk4QKWHQT2_cjs.Request {
12831
12833
  async fetch(variables, options) {
12832
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
12834
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
12833
12835
  const data = response.deleteInsights;
12834
12836
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
12835
12837
  }
12836
12838
  };
12837
12839
  var DeleteIntegrationMutation = class extends chunk4QKWHQT2_cjs.Request {
12838
12840
  async fetch(variables) {
12839
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
12841
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
12840
12842
  return response.deleteIntegration;
12841
12843
  }
12842
12844
  };
12843
12845
  var DeleteReportMutation = class extends chunk4QKWHQT2_cjs.Request {
12844
12846
  async fetch(variables, options) {
12845
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
12847
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
12846
12848
  const data = response.deleteReport;
12847
12849
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
12848
12850
  }
12849
12851
  };
12850
12852
  var DeleteTableMutation = class extends chunk4QKWHQT2_cjs.Request {
12851
12853
  async fetch(variables, options) {
12852
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
12854
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
12853
12855
  const data = response.deleteTable;
12854
12856
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
12855
12857
  }
12856
12858
  };
12857
12859
  var DeleteUserSkillFileMutation = class extends chunk4QKWHQT2_cjs.Request {
12858
12860
  async fetch(variables, options) {
12859
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
12861
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
12860
12862
  const data = response.deleteUserSkillFile;
12861
12863
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
12862
12864
  }
12863
12865
  };
12864
12866
  var DeleteUserSkillFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
12865
12867
  async fetch(variables, options) {
12866
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
12868
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
12867
12869
  const data = response.deleteUserSkillFolder;
12868
12870
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
12869
12871
  }
12870
12872
  };
12871
12873
  var DisconnectIntegrationMutation = class extends chunk4QKWHQT2_cjs.Request {
12872
12874
  async fetch(variables) {
12873
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
12875
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
12874
12876
  return response.disconnectIntegration;
12875
12877
  }
12876
12878
  };
12877
12879
  var DismissPulseEventMutation = class extends chunk4QKWHQT2_cjs.Request {
12878
12880
  async fetch(variables, options) {
12879
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
12881
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
12880
12882
  const data = response.dismissPulseEvent;
12881
12883
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12882
12884
  }
12883
12885
  };
12884
12886
  var ExecuteChatImportMutation = class extends chunk4QKWHQT2_cjs.Request {
12885
12887
  async fetch(variables, options) {
12886
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
12888
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
12887
12889
  const data = response.executeChatImport;
12888
12890
  return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
12889
12891
  }
12890
12892
  };
12891
12893
  var GenerateUploadUriMutation = class extends chunk4QKWHQT2_cjs.Request {
12892
12894
  async fetch(variables, options) {
12893
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
12895
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
12894
12896
  const data = response.generateUploadUri;
12895
12897
  return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
12896
12898
  }
12897
12899
  };
12898
12900
  var MarkPulseEventSeenMutation = class extends chunk4QKWHQT2_cjs.Request {
12899
12901
  async fetch(variables, options) {
12900
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.MarkPulseEventSeenDocument, variables, MUTATION_CACHE_RULES["markPulseEventSeen"]);
12902
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.MarkPulseEventSeenDocument, variables, MUTATION_CACHE_RULES["markPulseEventSeen"]);
12901
12903
  const data = response.markPulseEventSeen;
12902
12904
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12903
12905
  }
12904
12906
  };
12905
12907
  var PreviewChatImportMutation = class extends chunk4QKWHQT2_cjs.Request {
12906
12908
  async fetch(variables, options) {
12907
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
12909
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
12908
12910
  const data = response.previewChatImport;
12909
12911
  return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
12910
12912
  }
12911
12913
  };
12912
12914
  var ReanalyzeDocumentMutation = class extends chunk4QKWHQT2_cjs.Request {
12913
12915
  async fetch(variables, options) {
12914
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
12916
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
12915
12917
  const data = response.reanalyzeDocument;
12916
12918
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
12917
12919
  }
12918
12920
  };
12919
12921
  var RefineMindInstructionMutation = class extends chunk4QKWHQT2_cjs.Request {
12920
12922
  async fetch(variables) {
12921
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
12923
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
12922
12924
  return response.refineMindInstruction;
12923
12925
  }
12924
12926
  };
12925
12927
  var RefreshDatabaseSchemaMutation = class extends chunk4QKWHQT2_cjs.Request {
12926
12928
  async fetch(variables) {
12927
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
12929
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
12928
12930
  return response.refreshDatabaseSchema;
12929
12931
  }
12930
12932
  };
12931
12933
  var ReinterpretSourceMutation = class extends chunk4QKWHQT2_cjs.Request {
12932
12934
  async fetch(variables) {
12933
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
12935
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
12934
12936
  return response.reinterpretSource;
12935
12937
  }
12936
12938
  };
12937
12939
  var ReinterpretSourcesOfuserMutation = class extends chunk4QKWHQT2_cjs.Request {
12938
12940
  async fetch(variables) {
12939
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
12941
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
12940
12942
  return response.reinterpretSourcesOfuser;
12941
12943
  }
12942
12944
  };
12943
12945
  var RelocateInsightMutation = class extends chunk4QKWHQT2_cjs.Request {
12944
12946
  async fetch(variables, options) {
12945
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
12947
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
12946
12948
  const data = response.relocateInsight;
12947
12949
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
12948
12950
  }
12949
12951
  };
12950
12952
  var RemoveInsightFromReportMutation = class extends chunk4QKWHQT2_cjs.Request {
12951
12953
  async fetch(variables, options) {
12952
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
12954
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
12953
12955
  const data = response.removeInsightFromReport;
12954
12956
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
12955
12957
  }
12956
12958
  };
12957
12959
  var ResetWorkspaceMutation = class extends chunk4QKWHQT2_cjs.Request {
12958
12960
  async fetch(variables) {
12959
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
12961
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
12960
12962
  return response.resetWorkspace;
12961
12963
  }
12962
12964
  };
12963
12965
  var ResolvePulseEventMutation = class extends chunk4QKWHQT2_cjs.Request {
12964
12966
  async fetch(variables, options) {
12965
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
12967
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
12966
12968
  const data = response.resolvePulseEvent;
12967
12969
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12968
12970
  }
12969
12971
  };
12970
12972
  var ScheduleWorkspaceDeletionMutation = class extends chunk4QKWHQT2_cjs.Request {
12971
12973
  async fetch(variables, options) {
12972
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
12974
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
12973
12975
  const data = response.scheduleWorkspaceDeletion;
12974
12976
  return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
12975
12977
  }
12976
12978
  };
12977
12979
  var SetDatabasePrimaryKeyMutation = class extends chunk4QKWHQT2_cjs.Request {
12978
12980
  async fetch(variables) {
12979
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
12981
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
12980
12982
  return response.setDatabasePrimaryKey;
12981
12983
  }
12982
12984
  };
12983
12985
  var UpdateAgentMutation = class extends chunk4QKWHQT2_cjs.Request {
12984
12986
  async fetch(variables, options) {
12985
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
12987
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
12986
12988
  const data = response.updateAgent;
12987
12989
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
12988
12990
  }
12989
12991
  };
12990
12992
  var UpdateChatMutation = class extends chunk4QKWHQT2_cjs.Request {
12991
12993
  async fetch(variables, options) {
12992
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
12994
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
12993
12995
  const data = response.updateChat;
12994
12996
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
12995
12997
  }
12996
12998
  };
12997
12999
  var UpdateDatabaseMutation = class extends chunk4QKWHQT2_cjs.Request {
12998
13000
  async fetch(variables, options) {
12999
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
13001
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
13000
13002
  const data = response.updateDatabase;
13001
13003
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
13002
13004
  }
13003
13005
  };
13004
13006
  var UpdateDocumentMutation = class extends chunk4QKWHQT2_cjs.Request {
13005
13007
  async fetch(variables, options) {
13006
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
13008
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
13007
13009
  const data = response.updateDocument;
13008
13010
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
13009
13011
  }
13010
13012
  };
13011
13013
  var UpdateFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
13012
13014
  async fetch(variables, options) {
13013
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
13015
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
13014
13016
  const data = response.updateFolder;
13015
13017
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
13016
13018
  }
13017
13019
  };
13018
13020
  var UpdateInsightMutation = class extends chunk4QKWHQT2_cjs.Request {
13019
13021
  async fetch(variables, options) {
13020
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
13022
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
13021
13023
  const data = response.updateInsight;
13022
13024
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
13023
13025
  }
13024
13026
  };
13025
13027
  var UpdateInsightInReportMutation = class extends chunk4QKWHQT2_cjs.Request {
13026
13028
  async fetch(variables, options) {
13027
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
13029
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
13028
13030
  const data = response.updateInsightInReport;
13029
13031
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13030
13032
  }
13031
13033
  };
13032
13034
  var UpdateInterpMutation = class extends chunk4QKWHQT2_cjs.Request {
13033
13035
  async fetch(variables, options) {
13034
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
13036
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
13035
13037
  const data = response.updateInterp;
13036
13038
  return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
13037
13039
  }
13038
13040
  };
13039
13041
  var UpdatePulseTriggerMutation = class extends chunk4QKWHQT2_cjs.Request {
13040
13042
  async fetch(variables, options) {
13041
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
13043
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
13042
13044
  const data = response.updatePulseTrigger;
13043
13045
  return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
13044
13046
  }
13045
13047
  };
13046
13048
  var UpdateReportMutation = class extends chunk4QKWHQT2_cjs.Request {
13047
13049
  async fetch(variables, options) {
13048
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
13050
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
13049
13051
  const data = response.updateReport;
13050
13052
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13051
13053
  }
13052
13054
  };
13053
13055
  var UpdateTableMutation = class extends chunk4QKWHQT2_cjs.Request {
13054
13056
  async fetch(variables, options) {
13055
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
13057
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
13056
13058
  const data = response.updateTable;
13057
13059
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
13058
13060
  }
13059
13061
  };
13060
13062
  var UpdateUserSkillFileMutation = class extends chunk4QKWHQT2_cjs.Request {
13061
13063
  async fetch(variables, options) {
13062
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
13064
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
13063
13065
  const data = response.updateUserSkillFile;
13064
13066
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
13065
13067
  }
13066
13068
  };
13067
13069
  var UpdateUserSkillFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
13068
13070
  async fetch(variables, options) {
13069
- const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
13071
+ const response = await this._syncEngine.mutate(chunkYMIRF4SC_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
13070
13072
  const data = response.updateUserSkillFolder;
13071
13073
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
13072
13074
  }
@@ -13080,7 +13082,7 @@ var AgentQuery = class extends chunk4QKWHQT2_cjs.Request {
13080
13082
  }
13081
13083
  async fetch(options) {
13082
13084
  const variables = this._variables;
13083
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.AgentDocument, "agent", this._includes, variables);
13085
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.AgentDocument, "agent", this._includes, variables);
13084
13086
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
13085
13087
  const data = response.agent;
13086
13088
  const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
@@ -13092,7 +13094,7 @@ var AgentQuery = class extends chunk4QKWHQT2_cjs.Request {
13092
13094
  watch(options) {
13093
13095
  const variables = this._variables;
13094
13096
  const includes = this._includes;
13095
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.AgentDocument, "agent", includes, variables);
13097
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.AgentDocument, "agent", includes, variables);
13096
13098
  const raw = this._syncEngine.watch(
13097
13099
  queryDoc,
13098
13100
  mergedVars,
@@ -13122,7 +13124,7 @@ var AgentQuery = class extends chunk4QKWHQT2_cjs.Request {
13122
13124
  }
13123
13125
  /** Include chats in this query (Smart Fetch — single HTTP request). */
13124
13126
  chats(variables, builder) {
13125
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Agent_ChatsDocument, "chats", ["id"]);
13127
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Agent_ChatsDocument, "chats", ["id"]);
13126
13128
  let children;
13127
13129
  if (builder) {
13128
13130
  const sub = new ChatSubBuilder();
@@ -13131,7 +13133,7 @@ var AgentQuery = class extends chunk4QKWHQT2_cjs.Request {
13131
13133
  }
13132
13134
  this._includes.push({
13133
13135
  fieldName: "chats",
13134
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatConnectionFragmentDoc,
13136
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatConnectionFragmentDoc,
13135
13137
  variables,
13136
13138
  isConnection: true,
13137
13139
  isList: false,
@@ -13156,18 +13158,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk4QKWHQT2_cjs.Request
13156
13158
  }
13157
13159
  async fetch(options) {
13158
13160
  const variables = this._variables;
13159
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Agent_ChatsDocument, variables, "agent");
13161
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Agent_ChatsDocument, variables, "agent");
13160
13162
  const data = response.agent?.chats;
13161
13163
  return new ChatConnection(this._request, (conn, opts) => new _Agent_ChatsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
13162
13164
  }
13163
13165
  watch(options) {
13164
13166
  const variables = this._variables;
13165
13167
  const raw = this._syncEngine.watch(
13166
- chunkFNYE2ZMN_cjs.Agent_ChatsDocument,
13168
+ chunkYMIRF4SC_cjs.Agent_ChatsDocument,
13167
13169
  variables,
13168
13170
  "agent",
13169
13171
  async (db) => {
13170
- const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkFNYE2ZMN_cjs.Agent_ChatsDocument));
13172
+ const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkYMIRF4SC_cjs.Agent_ChatsDocument));
13171
13173
  const nodes = qr ? await db.table("chats").bulkGet(qr.entityIds) : [];
13172
13174
  return { agent: { chats: { __typename: "ChatConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
13173
13175
  }
@@ -13187,7 +13189,7 @@ var AgentsQuery = class _AgentsQuery extends chunk4QKWHQT2_cjs.Request {
13187
13189
  }
13188
13190
  async fetch(options) {
13189
13191
  const variables = this._variables;
13190
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.AgentsDocument, "agents", this._includes, variables, true);
13192
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.AgentsDocument, "agents", this._includes, variables, true);
13191
13193
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
13192
13194
  const data = response.agents;
13193
13195
  const connection = new AgentConnection(this._request, (conn, opts) => new _AgentsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -13204,7 +13206,7 @@ var AgentsQuery = class _AgentsQuery extends chunk4QKWHQT2_cjs.Request {
13204
13206
  const subscriptionId = crypto.randomUUID();
13205
13207
  const includes = this._includes;
13206
13208
  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) }] : []);
13207
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.AgentsDocument, "agents", includes, variables, true);
13209
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.AgentsDocument, "agents", includes, variables, true);
13208
13210
  const raw = this._syncEngine.watch(
13209
13211
  queryDoc,
13210
13212
  mergedVars,
@@ -13239,7 +13241,7 @@ var AgentsQuery = class _AgentsQuery extends chunk4QKWHQT2_cjs.Request {
13239
13241
  }
13240
13242
  /** Include chats in this query (Smart Fetch — single HTTP request). */
13241
13243
  chats(variables, builder) {
13242
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Agent_ChatsDocument, "chats", ["id"]);
13244
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Agent_ChatsDocument, "chats", ["id"]);
13243
13245
  let children;
13244
13246
  if (builder) {
13245
13247
  const sub = new ChatSubBuilder();
@@ -13248,7 +13250,7 @@ var AgentsQuery = class _AgentsQuery extends chunk4QKWHQT2_cjs.Request {
13248
13250
  }
13249
13251
  this._includes.push({
13250
13252
  fieldName: "chats",
13251
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatConnectionFragmentDoc,
13253
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatConnectionFragmentDoc,
13252
13254
  variables,
13253
13255
  isConnection: true,
13254
13256
  isList: false,
@@ -13274,7 +13276,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
13274
13276
  }
13275
13277
  async fetch(options) {
13276
13278
  const variables = this._variables;
13277
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ArtifactDocument, "artifact", this._includes, variables);
13279
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ArtifactDocument, "artifact", this._includes, variables);
13278
13280
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
13279
13281
  const data = response.artifact;
13280
13282
  const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
@@ -13286,7 +13288,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
13286
13288
  watch(options) {
13287
13289
  const variables = this._variables;
13288
13290
  const includes = this._includes;
13289
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ArtifactDocument, "artifact", includes, variables);
13291
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ArtifactDocument, "artifact", includes, variables);
13290
13292
  const raw = this._syncEngine.watch(
13291
13293
  queryDoc,
13292
13294
  mergedVars,
@@ -13316,7 +13318,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
13316
13318
  }
13317
13319
  /** Include chat in this query (Smart Fetch — single HTTP request). */
13318
13320
  chat(variables, builder) {
13319
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_ChatDocument, "chat", ["id"]);
13321
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Artifact_ChatDocument, "chat", ["id"]);
13320
13322
  let children;
13321
13323
  if (builder) {
13322
13324
  const sub = new ChatSubBuilder();
@@ -13325,7 +13327,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
13325
13327
  }
13326
13328
  this._includes.push({
13327
13329
  fieldName: "chat",
13328
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
13330
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatFragmentDoc,
13329
13331
  variables,
13330
13332
  isConnection: false,
13331
13333
  isList: false,
@@ -13342,10 +13344,10 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
13342
13344
  }
13343
13345
  /** Include file in this query (Smart Fetch — single HTTP request). */
13344
13346
  file(variables) {
13345
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_FileDocument, "file", ["id"]);
13347
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Artifact_FileDocument, "file", ["id"]);
13346
13348
  this._includes.push({
13347
13349
  fieldName: "file",
13348
- fragmentDoc: chunkFNYE2ZMN_cjs.FileFragmentDoc,
13350
+ fragmentDoc: chunkYMIRF4SC_cjs.FileFragmentDoc,
13349
13351
  variables,
13350
13352
  isConnection: false,
13351
13353
  isList: false,
@@ -13361,7 +13363,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
13361
13363
  }
13362
13364
  /** Include message in this query (Smart Fetch — single HTTP request). */
13363
13365
  message(variables, builder) {
13364
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_MessageDocument, "message", ["id"]);
13366
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Artifact_MessageDocument, "message", ["id"]);
13365
13367
  let children;
13366
13368
  if (builder) {
13367
13369
  const sub = new ChatMessageSubBuilder();
@@ -13370,7 +13372,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
13370
13372
  }
13371
13373
  this._includes.push({
13372
13374
  fieldName: "message",
13373
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatMessageFragmentDoc,
13375
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatMessageFragmentDoc,
13374
13376
  variables,
13375
13377
  isConnection: false,
13376
13378
  isList: false,
@@ -13394,14 +13396,14 @@ var Artifact_ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13394
13396
  }
13395
13397
  async fetch(options) {
13396
13398
  const variables = this._variables;
13397
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Artifact_ChatDocument, variables, "artifact");
13399
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Artifact_ChatDocument, variables, "artifact");
13398
13400
  const data = response.artifact?.chat;
13399
13401
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13400
13402
  }
13401
13403
  watch(options) {
13402
13404
  const variables = this._variables;
13403
13405
  const raw = this._syncEngine.watch(
13404
- chunkFNYE2ZMN_cjs.Artifact_ChatDocument,
13406
+ chunkYMIRF4SC_cjs.Artifact_ChatDocument,
13405
13407
  variables,
13406
13408
  "artifact",
13407
13409
  async (db) => {
@@ -13424,14 +13426,14 @@ var Artifact_Chat_InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
13424
13426
  }
13425
13427
  async fetch(options) {
13426
13428
  const variables = this._variables;
13427
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
13429
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
13428
13430
  const data = response.artifact?.chat?.insight;
13429
13431
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13430
13432
  }
13431
13433
  watch(options) {
13432
13434
  const variables = this._variables;
13433
13435
  const raw = this._syncEngine.watch(
13434
- chunkFNYE2ZMN_cjs.Artifact_Chat_InsightDocument,
13436
+ chunkYMIRF4SC_cjs.Artifact_Chat_InsightDocument,
13435
13437
  variables,
13436
13438
  "artifact",
13437
13439
  async (db) => {
@@ -13454,14 +13456,14 @@ var Artifact_FileQuery = class extends chunk4QKWHQT2_cjs.Request {
13454
13456
  }
13455
13457
  async fetch(options) {
13456
13458
  const variables = this._variables;
13457
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Artifact_FileDocument, variables, "artifact");
13459
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Artifact_FileDocument, variables, "artifact");
13458
13460
  const data = response.artifact?.file;
13459
13461
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13460
13462
  }
13461
13463
  watch(options) {
13462
13464
  const variables = this._variables;
13463
13465
  const raw = this._syncEngine.watch(
13464
- chunkFNYE2ZMN_cjs.Artifact_FileDocument,
13466
+ chunkYMIRF4SC_cjs.Artifact_FileDocument,
13465
13467
  variables,
13466
13468
  "artifact",
13467
13469
  async (db) => {
@@ -13484,14 +13486,14 @@ var Artifact_MessageQuery = class extends chunk4QKWHQT2_cjs.Request {
13484
13486
  }
13485
13487
  async fetch(options) {
13486
13488
  const variables = this._variables;
13487
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Artifact_MessageDocument, variables, "artifact");
13489
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Artifact_MessageDocument, variables, "artifact");
13488
13490
  const data = response.artifact?.message;
13489
13491
  return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13490
13492
  }
13491
13493
  watch(options) {
13492
13494
  const variables = this._variables;
13493
13495
  const raw = this._syncEngine.watch(
13494
- chunkFNYE2ZMN_cjs.Artifact_MessageDocument,
13496
+ chunkYMIRF4SC_cjs.Artifact_MessageDocument,
13495
13497
  variables,
13496
13498
  "artifact",
13497
13499
  async (db) => {
@@ -13514,14 +13516,14 @@ var Artifact_Message_ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13514
13516
  }
13515
13517
  async fetch(options) {
13516
13518
  const variables = this._variables;
13517
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Artifact_Message_ChatDocument, variables, "artifact");
13519
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Artifact_Message_ChatDocument, variables, "artifact");
13518
13520
  const data = response.artifact?.message?.chat;
13519
13521
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13520
13522
  }
13521
13523
  watch(options) {
13522
13524
  const variables = this._variables;
13523
13525
  const raw = this._syncEngine.watch(
13524
- chunkFNYE2ZMN_cjs.Artifact_Message_ChatDocument,
13526
+ chunkYMIRF4SC_cjs.Artifact_Message_ChatDocument,
13525
13527
  variables,
13526
13528
  "artifact",
13527
13529
  async (db) => {
@@ -13543,7 +13545,7 @@ var Artifact_Message_ContentsQuery = class extends chunk4QKWHQT2_cjs.Request {
13543
13545
  this._variables = variables;
13544
13546
  }
13545
13547
  async fetch(options) {
13546
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
13548
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
13547
13549
  const data = response.artifact?.message?.contents;
13548
13550
  if (!Array.isArray(data)) return [];
13549
13551
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -13557,14 +13559,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk4QKWHQT2_cjs.Request {
13557
13559
  }
13558
13560
  async fetch(options) {
13559
13561
  const variables = this._variables;
13560
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
13562
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
13561
13563
  const data = response.artifact?.message?.feedback;
13562
13564
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13563
13565
  }
13564
13566
  watch(options) {
13565
13567
  const variables = this._variables;
13566
13568
  const raw = this._syncEngine.watch(
13567
- chunkFNYE2ZMN_cjs.Artifact_Message_FeedbackDocument,
13569
+ chunkYMIRF4SC_cjs.Artifact_Message_FeedbackDocument,
13568
13570
  variables,
13569
13571
  "artifact",
13570
13572
  async (db) => {
@@ -13588,7 +13590,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
13588
13590
  }
13589
13591
  async fetch(options) {
13590
13592
  const variables = this._variables;
13591
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
13593
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
13592
13594
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
13593
13595
  const data = response.artifacts;
13594
13596
  const connection = new ArtifactConnection(this._request, (conn, opts) => new _ArtifactsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -13605,7 +13607,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
13605
13607
  const subscriptionId = crypto.randomUUID();
13606
13608
  const includes = this._includes;
13607
13609
  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) }] : []);
13608
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
13610
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
13609
13611
  const raw = this._syncEngine.watch(
13610
13612
  queryDoc,
13611
13613
  mergedVars,
@@ -13640,7 +13642,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
13640
13642
  }
13641
13643
  /** Include chat in this query (Smart Fetch — single HTTP request). */
13642
13644
  chat(variables, builder) {
13643
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_ChatDocument, "chat", ["id"]);
13645
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Artifact_ChatDocument, "chat", ["id"]);
13644
13646
  let children;
13645
13647
  if (builder) {
13646
13648
  const sub = new ChatSubBuilder();
@@ -13649,7 +13651,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
13649
13651
  }
13650
13652
  this._includes.push({
13651
13653
  fieldName: "chat",
13652
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
13654
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatFragmentDoc,
13653
13655
  variables,
13654
13656
  isConnection: false,
13655
13657
  isList: false,
@@ -13666,10 +13668,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
13666
13668
  }
13667
13669
  /** Include file in this query (Smart Fetch — single HTTP request). */
13668
13670
  file(variables) {
13669
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_FileDocument, "file", ["id"]);
13671
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Artifact_FileDocument, "file", ["id"]);
13670
13672
  this._includes.push({
13671
13673
  fieldName: "file",
13672
- fragmentDoc: chunkFNYE2ZMN_cjs.FileFragmentDoc,
13674
+ fragmentDoc: chunkYMIRF4SC_cjs.FileFragmentDoc,
13673
13675
  variables,
13674
13676
  isConnection: false,
13675
13677
  isList: false,
@@ -13685,7 +13687,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
13685
13687
  }
13686
13688
  /** Include message in this query (Smart Fetch — single HTTP request). */
13687
13689
  message(variables, builder) {
13688
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_MessageDocument, "message", ["id"]);
13690
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Artifact_MessageDocument, "message", ["id"]);
13689
13691
  let children;
13690
13692
  if (builder) {
13691
13693
  const sub = new ChatMessageSubBuilder();
@@ -13694,7 +13696,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
13694
13696
  }
13695
13697
  this._includes.push({
13696
13698
  fieldName: "message",
13697
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatMessageFragmentDoc,
13699
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatMessageFragmentDoc,
13698
13700
  variables,
13699
13701
  isConnection: false,
13700
13702
  isList: false,
@@ -13719,7 +13721,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13719
13721
  }
13720
13722
  async fetch(options) {
13721
13723
  const variables = this._variables;
13722
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatDocument, "chat", this._includes, variables);
13724
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ChatDocument, "chat", this._includes, variables);
13723
13725
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
13724
13726
  const data = response.chat;
13725
13727
  const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
@@ -13731,7 +13733,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13731
13733
  watch(options) {
13732
13734
  const variables = this._variables;
13733
13735
  const includes = this._includes;
13734
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatDocument, "chat", includes, variables);
13736
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ChatDocument, "chat", includes, variables);
13735
13737
  const raw = this._syncEngine.watch(
13736
13738
  queryDoc,
13737
13739
  mergedVars,
@@ -13761,7 +13763,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13761
13763
  }
13762
13764
  /** Include agents in this query (Smart Fetch — single HTTP request). */
13763
13765
  agents(variables, builder) {
13764
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_AgentsDocument, "agents", ["id"]);
13766
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Chat_AgentsDocument, "agents", ["id"]);
13765
13767
  let children;
13766
13768
  if (builder) {
13767
13769
  const sub = new AgentSubBuilder();
@@ -13770,7 +13772,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13770
13772
  }
13771
13773
  this._includes.push({
13772
13774
  fieldName: "agents",
13773
- fragmentDoc: chunkFNYE2ZMN_cjs.AgentConnectionFragmentDoc,
13775
+ fragmentDoc: chunkYMIRF4SC_cjs.AgentConnectionFragmentDoc,
13774
13776
  variables,
13775
13777
  isConnection: true,
13776
13778
  isList: false,
@@ -13788,7 +13790,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13788
13790
  }
13789
13791
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
13790
13792
  artifacts(variables, builder) {
13791
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
13793
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
13792
13794
  let children;
13793
13795
  if (builder) {
13794
13796
  const sub = new ArtifactSubBuilder();
@@ -13797,7 +13799,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13797
13799
  }
13798
13800
  this._includes.push({
13799
13801
  fieldName: "artifacts",
13800
- fragmentDoc: chunkFNYE2ZMN_cjs.ArtifactConnectionFragmentDoc,
13802
+ fragmentDoc: chunkYMIRF4SC_cjs.ArtifactConnectionFragmentDoc,
13801
13803
  variables,
13802
13804
  isConnection: true,
13803
13805
  isList: false,
@@ -13815,7 +13817,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13815
13817
  }
13816
13818
  /** Include insight in this query (Smart Fetch — single HTTP request). */
13817
13819
  insight(variables, builder) {
13818
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_InsightDocument, "insight", ["id"]);
13820
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Chat_InsightDocument, "insight", ["id"]);
13819
13821
  let children;
13820
13822
  if (builder) {
13821
13823
  const sub = new InsightSubBuilder();
@@ -13824,7 +13826,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13824
13826
  }
13825
13827
  this._includes.push({
13826
13828
  fieldName: "insight",
13827
- fragmentDoc: chunkFNYE2ZMN_cjs.InsightFragmentDoc,
13829
+ fragmentDoc: chunkYMIRF4SC_cjs.InsightFragmentDoc,
13828
13830
  variables,
13829
13831
  isConnection: false,
13830
13832
  isList: false,
@@ -13841,7 +13843,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13841
13843
  }
13842
13844
  /** Include messages in this query (Smart Fetch — single HTTP request). */
13843
13845
  messages(variables, builder) {
13844
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_MessagesDocument, "messages", ["id"]);
13846
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Chat_MessagesDocument, "messages", ["id"]);
13845
13847
  let children;
13846
13848
  if (builder) {
13847
13849
  const sub = new ChatMessageSubBuilder();
@@ -13850,7 +13852,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13850
13852
  }
13851
13853
  this._includes.push({
13852
13854
  fieldName: "messages",
13853
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatMessageConnectionFragmentDoc,
13855
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatMessageConnectionFragmentDoc,
13854
13856
  variables,
13855
13857
  isConnection: true,
13856
13858
  isList: false,
@@ -13875,18 +13877,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk4QKWHQT2_cjs.Request
13875
13877
  }
13876
13878
  async fetch(options) {
13877
13879
  const variables = this._variables;
13878
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Chat_AgentsDocument, variables, "chat");
13880
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Chat_AgentsDocument, variables, "chat");
13879
13881
  const data = response.chat?.agents;
13880
13882
  return new AgentConnection(this._request, (conn, opts) => new _Chat_AgentsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
13881
13883
  }
13882
13884
  watch(options) {
13883
13885
  const variables = this._variables;
13884
13886
  const raw = this._syncEngine.watch(
13885
- chunkFNYE2ZMN_cjs.Chat_AgentsDocument,
13887
+ chunkYMIRF4SC_cjs.Chat_AgentsDocument,
13886
13888
  variables,
13887
13889
  "chat",
13888
13890
  async (db) => {
13889
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkFNYE2ZMN_cjs.Chat_AgentsDocument));
13891
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkYMIRF4SC_cjs.Chat_AgentsDocument));
13890
13892
  const nodes = qr ? await db.table("agents").bulkGet(qr.entityIds) : [];
13891
13893
  return { chat: { agents: { __typename: "AgentConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
13892
13894
  }
@@ -13905,18 +13907,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk4QKWHQT2_cjs.R
13905
13907
  }
13906
13908
  async fetch(options) {
13907
13909
  const variables = this._variables;
13908
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Chat_ArtifactsDocument, variables, "chat");
13910
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Chat_ArtifactsDocument, variables, "chat");
13909
13911
  const data = response.chat?.artifacts;
13910
13912
  return new ArtifactConnection(this._request, (conn, opts) => new _Chat_ArtifactsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
13911
13913
  }
13912
13914
  watch(options) {
13913
13915
  const variables = this._variables;
13914
13916
  const raw = this._syncEngine.watch(
13915
- chunkFNYE2ZMN_cjs.Chat_ArtifactsDocument,
13917
+ chunkYMIRF4SC_cjs.Chat_ArtifactsDocument,
13916
13918
  variables,
13917
13919
  "chat",
13918
13920
  async (db) => {
13919
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkFNYE2ZMN_cjs.Chat_ArtifactsDocument));
13921
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkYMIRF4SC_cjs.Chat_ArtifactsDocument));
13920
13922
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
13921
13923
  return { chat: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
13922
13924
  }
@@ -13935,14 +13937,14 @@ var Chat_InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
13935
13937
  }
13936
13938
  async fetch(options) {
13937
13939
  const variables = this._variables;
13938
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Chat_InsightDocument, variables, "chat");
13940
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Chat_InsightDocument, variables, "chat");
13939
13941
  const data = response.chat?.insight;
13940
13942
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13941
13943
  }
13942
13944
  watch(options) {
13943
13945
  const variables = this._variables;
13944
13946
  const raw = this._syncEngine.watch(
13945
- chunkFNYE2ZMN_cjs.Chat_InsightDocument,
13947
+ chunkYMIRF4SC_cjs.Chat_InsightDocument,
13946
13948
  variables,
13947
13949
  "chat",
13948
13950
  async (db) => {
@@ -13964,7 +13966,7 @@ var Chat_Insight_ReportMembersQuery = class extends chunk4QKWHQT2_cjs.Request {
13964
13966
  this._variables = variables;
13965
13967
  }
13966
13968
  async fetch(options) {
13967
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
13969
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
13968
13970
  const data = response.chat?.insight?.reportMembers;
13969
13971
  if (!Array.isArray(data)) return [];
13970
13972
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -13978,18 +13980,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk4QKWHQT2_cjs.Req
13978
13980
  }
13979
13981
  async fetch(options) {
13980
13982
  const variables = this._variables;
13981
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Chat_MessagesDocument, variables, "chat");
13983
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Chat_MessagesDocument, variables, "chat");
13982
13984
  const data = response.chat?.messages;
13983
13985
  return new ChatMessageConnection(this._request, (conn, opts) => new _Chat_MessagesQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
13984
13986
  }
13985
13987
  watch(options) {
13986
13988
  const variables = this._variables;
13987
13989
  const raw = this._syncEngine.watch(
13988
- chunkFNYE2ZMN_cjs.Chat_MessagesDocument,
13990
+ chunkYMIRF4SC_cjs.Chat_MessagesDocument,
13989
13991
  variables,
13990
13992
  "chat",
13991
13993
  async (db) => {
13992
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkFNYE2ZMN_cjs.Chat_MessagesDocument));
13994
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkYMIRF4SC_cjs.Chat_MessagesDocument));
13993
13995
  const nodes = qr ? await db.table("chatMessages").bulkGet(qr.entityIds) : [];
13994
13996
  return { chat: { messages: { __typename: "ChatMessageConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
13995
13997
  }
@@ -14009,7 +14011,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
14009
14011
  }
14010
14012
  async fetch(options) {
14011
14013
  const variables = this._variables;
14012
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
14014
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
14013
14015
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
14014
14016
  const data = response.chatMessage;
14015
14017
  const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
@@ -14021,7 +14023,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
14021
14023
  watch(options) {
14022
14024
  const variables = this._variables;
14023
14025
  const includes = this._includes;
14024
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatMessageDocument, "chatMessage", includes, variables);
14026
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ChatMessageDocument, "chatMessage", includes, variables);
14025
14027
  const raw = this._syncEngine.watch(
14026
14028
  queryDoc,
14027
14029
  mergedVars,
@@ -14051,7 +14053,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
14051
14053
  }
14052
14054
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14053
14055
  artifacts(variables, builder) {
14054
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14056
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14055
14057
  let children;
14056
14058
  if (builder) {
14057
14059
  const sub = new ArtifactSubBuilder();
@@ -14060,7 +14062,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
14060
14062
  }
14061
14063
  this._includes.push({
14062
14064
  fieldName: "artifacts",
14063
- fragmentDoc: chunkFNYE2ZMN_cjs.ArtifactConnectionFragmentDoc,
14065
+ fragmentDoc: chunkYMIRF4SC_cjs.ArtifactConnectionFragmentDoc,
14064
14066
  variables,
14065
14067
  isConnection: true,
14066
14068
  isList: false,
@@ -14078,7 +14080,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
14078
14080
  }
14079
14081
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14080
14082
  chat(variables, builder) {
14081
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14083
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14082
14084
  let children;
14083
14085
  if (builder) {
14084
14086
  const sub = new ChatSubBuilder();
@@ -14087,7 +14089,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
14087
14089
  }
14088
14090
  this._includes.push({
14089
14091
  fieldName: "chat",
14090
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
14092
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatFragmentDoc,
14091
14093
  variables,
14092
14094
  isConnection: false,
14093
14095
  isList: false,
@@ -14104,10 +14106,10 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
14104
14106
  }
14105
14107
  /** Include contents in this query (Smart Fetch — single HTTP request). */
14106
14108
  contents(variables) {
14107
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14109
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14108
14110
  this._includes.push({
14109
14111
  fieldName: "contents",
14110
- fragmentDoc: chunkFNYE2ZMN_cjs.ContentBlockFragmentDoc,
14112
+ fragmentDoc: chunkYMIRF4SC_cjs.ContentBlockFragmentDoc,
14111
14113
  variables,
14112
14114
  isConnection: false,
14113
14115
  isList: true,
@@ -14123,10 +14125,10 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
14123
14125
  }
14124
14126
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
14125
14127
  feedback(variables) {
14126
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14128
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14127
14129
  this._includes.push({
14128
14130
  fieldName: "feedback",
14129
- fragmentDoc: chunkFNYE2ZMN_cjs.FeedbackFragmentDoc,
14131
+ fragmentDoc: chunkYMIRF4SC_cjs.FeedbackFragmentDoc,
14130
14132
  variables,
14131
14133
  isConnection: false,
14132
14134
  isList: false,
@@ -14149,18 +14151,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
14149
14151
  }
14150
14152
  async fetch(options) {
14151
14153
  const variables = this._variables;
14152
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
14154
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
14153
14155
  const data = response.chatMessage?.artifacts;
14154
14156
  return new ArtifactConnection(this._request, (conn, opts) => new _ChatMessage_ArtifactsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
14155
14157
  }
14156
14158
  watch(options) {
14157
14159
  const variables = this._variables;
14158
14160
  const raw = this._syncEngine.watch(
14159
- chunkFNYE2ZMN_cjs.ChatMessage_ArtifactsDocument,
14161
+ chunkYMIRF4SC_cjs.ChatMessage_ArtifactsDocument,
14160
14162
  variables,
14161
14163
  "chatMessage",
14162
14164
  async (db) => {
14163
- const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkFNYE2ZMN_cjs.ChatMessage_ArtifactsDocument));
14165
+ const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkYMIRF4SC_cjs.ChatMessage_ArtifactsDocument));
14164
14166
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
14165
14167
  return { chatMessage: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14166
14168
  }
@@ -14179,14 +14181,14 @@ var ChatMessage_ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
14179
14181
  }
14180
14182
  async fetch(options) {
14181
14183
  const variables = this._variables;
14182
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
14184
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
14183
14185
  const data = response.chatMessage?.chat;
14184
14186
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14185
14187
  }
14186
14188
  watch(options) {
14187
14189
  const variables = this._variables;
14188
14190
  const raw = this._syncEngine.watch(
14189
- chunkFNYE2ZMN_cjs.ChatMessage_ChatDocument,
14191
+ chunkYMIRF4SC_cjs.ChatMessage_ChatDocument,
14190
14192
  variables,
14191
14193
  "chatMessage",
14192
14194
  async (db) => {
@@ -14209,14 +14211,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
14209
14211
  }
14210
14212
  async fetch(options) {
14211
14213
  const variables = this._variables;
14212
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
14214
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
14213
14215
  const data = response.chatMessage?.chat?.insight;
14214
14216
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14215
14217
  }
14216
14218
  watch(options) {
14217
14219
  const variables = this._variables;
14218
14220
  const raw = this._syncEngine.watch(
14219
- chunkFNYE2ZMN_cjs.ChatMessage_Chat_InsightDocument,
14221
+ chunkYMIRF4SC_cjs.ChatMessage_Chat_InsightDocument,
14220
14222
  variables,
14221
14223
  "chatMessage",
14222
14224
  async (db) => {
@@ -14238,7 +14240,7 @@ var ChatMessage_ContentsQuery = class extends chunk4QKWHQT2_cjs.Request {
14238
14240
  this._variables = variables;
14239
14241
  }
14240
14242
  async fetch(options) {
14241
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
14243
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
14242
14244
  const data = response.chatMessage?.contents;
14243
14245
  if (!Array.isArray(data)) return [];
14244
14246
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -14252,14 +14254,14 @@ var ChatMessage_FeedbackQuery = class extends chunk4QKWHQT2_cjs.Request {
14252
14254
  }
14253
14255
  async fetch(options) {
14254
14256
  const variables = this._variables;
14255
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
14257
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
14256
14258
  const data = response.chatMessage?.feedback;
14257
14259
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14258
14260
  }
14259
14261
  watch(options) {
14260
14262
  const variables = this._variables;
14261
14263
  const raw = this._syncEngine.watch(
14262
- chunkFNYE2ZMN_cjs.ChatMessage_FeedbackDocument,
14264
+ chunkYMIRF4SC_cjs.ChatMessage_FeedbackDocument,
14263
14265
  variables,
14264
14266
  "chatMessage",
14265
14267
  async (db) => {
@@ -14283,7 +14285,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14283
14285
  }
14284
14286
  async fetch(options) {
14285
14287
  const variables = this._variables;
14286
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
14288
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
14287
14289
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
14288
14290
  const data = response.chatMessages;
14289
14291
  const connection = new ChatMessageConnection(this._request, (conn, opts) => new _ChatMessagesQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -14300,7 +14302,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14300
14302
  const subscriptionId = crypto.randomUUID();
14301
14303
  const includes = this._includes;
14302
14304
  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) }] : []);
14303
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
14305
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
14304
14306
  const raw = this._syncEngine.watch(
14305
14307
  queryDoc,
14306
14308
  mergedVars,
@@ -14335,7 +14337,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14335
14337
  }
14336
14338
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14337
14339
  artifacts(variables, builder) {
14338
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14340
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14339
14341
  let children;
14340
14342
  if (builder) {
14341
14343
  const sub = new ArtifactSubBuilder();
@@ -14344,7 +14346,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14344
14346
  }
14345
14347
  this._includes.push({
14346
14348
  fieldName: "artifacts",
14347
- fragmentDoc: chunkFNYE2ZMN_cjs.ArtifactConnectionFragmentDoc,
14349
+ fragmentDoc: chunkYMIRF4SC_cjs.ArtifactConnectionFragmentDoc,
14348
14350
  variables,
14349
14351
  isConnection: true,
14350
14352
  isList: false,
@@ -14362,7 +14364,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14362
14364
  }
14363
14365
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14364
14366
  chat(variables, builder) {
14365
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14367
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14366
14368
  let children;
14367
14369
  if (builder) {
14368
14370
  const sub = new ChatSubBuilder();
@@ -14371,7 +14373,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14371
14373
  }
14372
14374
  this._includes.push({
14373
14375
  fieldName: "chat",
14374
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
14376
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatFragmentDoc,
14375
14377
  variables,
14376
14378
  isConnection: false,
14377
14379
  isList: false,
@@ -14388,10 +14390,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14388
14390
  }
14389
14391
  /** Include contents in this query (Smart Fetch — single HTTP request). */
14390
14392
  contents(variables) {
14391
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14393
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14392
14394
  this._includes.push({
14393
14395
  fieldName: "contents",
14394
- fragmentDoc: chunkFNYE2ZMN_cjs.ContentBlockFragmentDoc,
14396
+ fragmentDoc: chunkYMIRF4SC_cjs.ContentBlockFragmentDoc,
14395
14397
  variables,
14396
14398
  isConnection: false,
14397
14399
  isList: true,
@@ -14407,10 +14409,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14407
14409
  }
14408
14410
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
14409
14411
  feedback(variables) {
14410
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14412
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14411
14413
  this._includes.push({
14412
14414
  fieldName: "feedback",
14413
- fragmentDoc: chunkFNYE2ZMN_cjs.FeedbackFragmentDoc,
14415
+ fragmentDoc: chunkYMIRF4SC_cjs.FeedbackFragmentDoc,
14414
14416
  variables,
14415
14417
  isConnection: false,
14416
14418
  isList: false,
@@ -14434,7 +14436,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14434
14436
  }
14435
14437
  async fetch(options) {
14436
14438
  const variables = this._variables;
14437
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatsDocument, "chats", this._includes, variables, true);
14439
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ChatsDocument, "chats", this._includes, variables, true);
14438
14440
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
14439
14441
  const data = response.chats;
14440
14442
  const connection = new ChatConnection(this._request, (conn, opts) => new _ChatsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -14451,7 +14453,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14451
14453
  const subscriptionId = crypto.randomUUID();
14452
14454
  const includes = this._includes;
14453
14455
  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) }] : []);
14454
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatsDocument, "chats", includes, variables, true);
14456
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ChatsDocument, "chats", includes, variables, true);
14455
14457
  const raw = this._syncEngine.watch(
14456
14458
  queryDoc,
14457
14459
  mergedVars,
@@ -14486,7 +14488,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14486
14488
  }
14487
14489
  /** Include agents in this query (Smart Fetch — single HTTP request). */
14488
14490
  agents(variables, builder) {
14489
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_AgentsDocument, "agents", ["id"]);
14491
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Chat_AgentsDocument, "agents", ["id"]);
14490
14492
  let children;
14491
14493
  if (builder) {
14492
14494
  const sub = new AgentSubBuilder();
@@ -14495,7 +14497,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14495
14497
  }
14496
14498
  this._includes.push({
14497
14499
  fieldName: "agents",
14498
- fragmentDoc: chunkFNYE2ZMN_cjs.AgentConnectionFragmentDoc,
14500
+ fragmentDoc: chunkYMIRF4SC_cjs.AgentConnectionFragmentDoc,
14499
14501
  variables,
14500
14502
  isConnection: true,
14501
14503
  isList: false,
@@ -14513,7 +14515,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14513
14515
  }
14514
14516
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14515
14517
  artifacts(variables, builder) {
14516
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14518
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14517
14519
  let children;
14518
14520
  if (builder) {
14519
14521
  const sub = new ArtifactSubBuilder();
@@ -14522,7 +14524,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14522
14524
  }
14523
14525
  this._includes.push({
14524
14526
  fieldName: "artifacts",
14525
- fragmentDoc: chunkFNYE2ZMN_cjs.ArtifactConnectionFragmentDoc,
14527
+ fragmentDoc: chunkYMIRF4SC_cjs.ArtifactConnectionFragmentDoc,
14526
14528
  variables,
14527
14529
  isConnection: true,
14528
14530
  isList: false,
@@ -14540,7 +14542,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14540
14542
  }
14541
14543
  /** Include insight in this query (Smart Fetch — single HTTP request). */
14542
14544
  insight(variables, builder) {
14543
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_InsightDocument, "insight", ["id"]);
14545
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Chat_InsightDocument, "insight", ["id"]);
14544
14546
  let children;
14545
14547
  if (builder) {
14546
14548
  const sub = new InsightSubBuilder();
@@ -14549,7 +14551,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14549
14551
  }
14550
14552
  this._includes.push({
14551
14553
  fieldName: "insight",
14552
- fragmentDoc: chunkFNYE2ZMN_cjs.InsightFragmentDoc,
14554
+ fragmentDoc: chunkYMIRF4SC_cjs.InsightFragmentDoc,
14553
14555
  variables,
14554
14556
  isConnection: false,
14555
14557
  isList: false,
@@ -14566,7 +14568,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14566
14568
  }
14567
14569
  /** Include messages in this query (Smart Fetch — single HTTP request). */
14568
14570
  messages(variables, builder) {
14569
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_MessagesDocument, "messages", ["id"]);
14571
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Chat_MessagesDocument, "messages", ["id"]);
14570
14572
  let children;
14571
14573
  if (builder) {
14572
14574
  const sub = new ChatMessageSubBuilder();
@@ -14575,7 +14577,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14575
14577
  }
14576
14578
  this._includes.push({
14577
14579
  fieldName: "messages",
14578
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatMessageConnectionFragmentDoc,
14580
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatMessageConnectionFragmentDoc,
14579
14581
  variables,
14580
14582
  isConnection: true,
14581
14583
  isList: false,
@@ -14601,7 +14603,7 @@ var DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
14601
14603
  }
14602
14604
  async fetch(options) {
14603
14605
  const variables = this._variables;
14604
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabaseDocument, "database", this._includes, variables);
14606
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DatabaseDocument, "database", this._includes, variables);
14605
14607
  const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
14606
14608
  const data = response.database;
14607
14609
  const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
@@ -14613,7 +14615,7 @@ var DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
14613
14615
  watch(options) {
14614
14616
  const variables = this._variables;
14615
14617
  const includes = this._includes;
14616
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabaseDocument, "database", includes, variables);
14618
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DatabaseDocument, "database", includes, variables);
14617
14619
  const raw = this._syncEngine.watch(
14618
14620
  queryDoc,
14619
14621
  mergedVars,
@@ -14643,10 +14645,10 @@ var DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
14643
14645
  }
14644
14646
  /** Include engine in this query (Smart Fetch — single HTTP request). */
14645
14647
  engine(variables) {
14646
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Database_EngineDocument, "engine", ["id"]);
14648
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Database_EngineDocument, "engine", ["id"]);
14647
14649
  this._includes.push({
14648
14650
  fieldName: "engine",
14649
- fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseEngineFragmentDoc,
14651
+ fragmentDoc: chunkYMIRF4SC_cjs.DatabaseEngineFragmentDoc,
14650
14652
  variables,
14651
14653
  isConnection: false,
14652
14654
  isList: false,
@@ -14662,7 +14664,7 @@ var DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
14662
14664
  }
14663
14665
  /** Include tables in this query (Smart Fetch — single HTTP request). */
14664
14666
  tables(variables, builder) {
14665
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Database_TablesDocument, "tables", ["id"]);
14667
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Database_TablesDocument, "tables", ["id"]);
14666
14668
  let children;
14667
14669
  if (builder) {
14668
14670
  const sub = new TableSubBuilder();
@@ -14671,7 +14673,7 @@ var DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
14671
14673
  }
14672
14674
  this._includes.push({
14673
14675
  fieldName: "tables",
14674
- fragmentDoc: chunkFNYE2ZMN_cjs.TableConnectionFragmentDoc,
14676
+ fragmentDoc: chunkYMIRF4SC_cjs.TableConnectionFragmentDoc,
14675
14677
  variables,
14676
14678
  isConnection: true,
14677
14679
  isList: false,
@@ -14696,14 +14698,14 @@ var Database_EngineQuery = class extends chunk4QKWHQT2_cjs.Request {
14696
14698
  }
14697
14699
  async fetch(options) {
14698
14700
  const variables = this._variables;
14699
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Database_EngineDocument, variables, "database");
14701
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Database_EngineDocument, variables, "database");
14700
14702
  const data = response.database?.engine;
14701
14703
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14702
14704
  }
14703
14705
  watch(options) {
14704
14706
  const variables = this._variables;
14705
14707
  const raw = this._syncEngine.watch(
14706
- chunkFNYE2ZMN_cjs.Database_EngineDocument,
14708
+ chunkYMIRF4SC_cjs.Database_EngineDocument,
14707
14709
  variables,
14708
14710
  "database",
14709
14711
  async (db) => {
@@ -14726,14 +14728,14 @@ var Database_Engine_CatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
14726
14728
  }
14727
14729
  async fetch(options) {
14728
14730
  const variables = this._variables;
14729
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Database_Engine_CatalogDocument, variables, "database");
14731
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Database_Engine_CatalogDocument, variables, "database");
14730
14732
  const data = response.database?.engine?.catalog;
14731
14733
  return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14732
14734
  }
14733
14735
  watch(options) {
14734
14736
  const variables = this._variables;
14735
14737
  const raw = this._syncEngine.watch(
14736
- chunkFNYE2ZMN_cjs.Database_Engine_CatalogDocument,
14738
+ chunkYMIRF4SC_cjs.Database_Engine_CatalogDocument,
14737
14739
  variables,
14738
14740
  "database",
14739
14741
  async (db) => {
@@ -14756,18 +14758,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk4QKWHQT2_cjs
14756
14758
  }
14757
14759
  async fetch(options) {
14758
14760
  const variables = this._variables;
14759
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Database_TablesDocument, variables, "database");
14761
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Database_TablesDocument, variables, "database");
14760
14762
  const data = response.database?.tables;
14761
14763
  return new TableConnection(this._request, (conn, opts) => new _Database_TablesQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
14762
14764
  }
14763
14765
  watch(options) {
14764
14766
  const variables = this._variables;
14765
14767
  const raw = this._syncEngine.watch(
14766
- chunkFNYE2ZMN_cjs.Database_TablesDocument,
14768
+ chunkYMIRF4SC_cjs.Database_TablesDocument,
14767
14769
  variables,
14768
14770
  "database",
14769
14771
  async (db) => {
14770
- const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkFNYE2ZMN_cjs.Database_TablesDocument));
14772
+ const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkYMIRF4SC_cjs.Database_TablesDocument));
14771
14773
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
14772
14774
  return { database: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14773
14775
  }
@@ -14787,7 +14789,7 @@ var DatabaseCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
14787
14789
  }
14788
14790
  async fetch(options) {
14789
14791
  const variables = this._variables;
14790
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
14792
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
14791
14793
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
14792
14794
  const data = response.databaseCatalog;
14793
14795
  const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -14799,7 +14801,7 @@ var DatabaseCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
14799
14801
  watch(options) {
14800
14802
  const variables = this._variables;
14801
14803
  const includes = this._includes;
14802
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
14804
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
14803
14805
  const raw = this._syncEngine.watch(
14804
14806
  queryDoc,
14805
14807
  mergedVars,
@@ -14829,10 +14831,10 @@ var DatabaseCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
14829
14831
  }
14830
14832
  /** Include engine in this query (Smart Fetch — single HTTP request). */
14831
14833
  engine(variables) {
14832
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.DatabaseCatalog_EngineDocument, "engine", []);
14834
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.DatabaseCatalog_EngineDocument, "engine", []);
14833
14835
  this._includes.push({
14834
14836
  fieldName: "engine",
14835
- fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseEngineFragmentDoc,
14837
+ fragmentDoc: chunkYMIRF4SC_cjs.DatabaseEngineFragmentDoc,
14836
14838
  variables,
14837
14839
  isConnection: false,
14838
14840
  isList: false,
@@ -14855,14 +14857,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk4QKWHQT2_cjs.Request {
14855
14857
  }
14856
14858
  async fetch(options) {
14857
14859
  const variables = this._variables;
14858
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
14860
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
14859
14861
  const data = response.databaseCatalog?.engine;
14860
14862
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14861
14863
  }
14862
14864
  watch(options) {
14863
14865
  const variables = this._variables;
14864
14866
  const raw = this._syncEngine.watch(
14865
- chunkFNYE2ZMN_cjs.DatabaseCatalog_EngineDocument,
14867
+ chunkYMIRF4SC_cjs.DatabaseCatalog_EngineDocument,
14866
14868
  variables,
14867
14869
  "databaseCatalog",
14868
14870
  async (db) => {
@@ -14886,7 +14888,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk4QKWHQT2_c
14886
14888
  }
14887
14889
  async fetch(options) {
14888
14890
  const variables = this._variables;
14889
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
14891
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
14890
14892
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
14891
14893
  const data = response.databaseCatalogs;
14892
14894
  const connection = new DatabaseCatalogConnection(this._request, (conn, opts) => new _DatabaseCatalogsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -14903,7 +14905,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk4QKWHQT2_c
14903
14905
  const subscriptionId = crypto.randomUUID();
14904
14906
  const includes = this._includes;
14905
14907
  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) }] : []);
14906
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
14908
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
14907
14909
  const raw = this._syncEngine.watch(
14908
14910
  queryDoc,
14909
14911
  mergedVars,
@@ -14938,10 +14940,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk4QKWHQT2_c
14938
14940
  }
14939
14941
  /** Include engine in this query (Smart Fetch — single HTTP request). */
14940
14942
  engine(variables) {
14941
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.DatabaseCatalog_EngineDocument, "engine", []);
14943
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.DatabaseCatalog_EngineDocument, "engine", []);
14942
14944
  this._includes.push({
14943
14945
  fieldName: "engine",
14944
- fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseEngineFragmentDoc,
14946
+ fragmentDoc: chunkYMIRF4SC_cjs.DatabaseEngineFragmentDoc,
14945
14947
  variables,
14946
14948
  isConnection: false,
14947
14949
  isList: false,
@@ -14958,7 +14960,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk4QKWHQT2_c
14958
14960
  };
14959
14961
  var DatabaseSchemaQuery = class extends chunk4QKWHQT2_cjs.Request {
14960
14962
  async fetch(variables) {
14961
- const response = await this._request(chunkFNYE2ZMN_cjs.DatabaseSchemaDocument, variables);
14963
+ const response = await this._request(chunkYMIRF4SC_cjs.DatabaseSchemaDocument, variables);
14962
14964
  return response.databaseSchema;
14963
14965
  }
14964
14966
  };
@@ -14971,7 +14973,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk4QKWHQT2_cjs.Request {
14971
14973
  }
14972
14974
  async fetch(options) {
14973
14975
  const variables = this._variables;
14974
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabasesDocument, "databases", this._includes, variables, true);
14976
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DatabasesDocument, "databases", this._includes, variables, true);
14975
14977
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
14976
14978
  const data = response.databases;
14977
14979
  const connection = new DatabaseConnection(this._request, (conn, opts) => new _DatabasesQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -14988,7 +14990,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk4QKWHQT2_cjs.Request {
14988
14990
  const subscriptionId = crypto.randomUUID();
14989
14991
  const includes = this._includes;
14990
14992
  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) }] : []);
14991
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabasesDocument, "databases", includes, variables, true);
14993
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DatabasesDocument, "databases", includes, variables, true);
14992
14994
  const raw = this._syncEngine.watch(
14993
14995
  queryDoc,
14994
14996
  mergedVars,
@@ -15023,10 +15025,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk4QKWHQT2_cjs.Request {
15023
15025
  }
15024
15026
  /** Include engine in this query (Smart Fetch — single HTTP request). */
15025
15027
  engine(variables) {
15026
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Database_EngineDocument, "engine", ["id"]);
15028
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Database_EngineDocument, "engine", ["id"]);
15027
15029
  this._includes.push({
15028
15030
  fieldName: "engine",
15029
- fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseEngineFragmentDoc,
15031
+ fragmentDoc: chunkYMIRF4SC_cjs.DatabaseEngineFragmentDoc,
15030
15032
  variables,
15031
15033
  isConnection: false,
15032
15034
  isList: false,
@@ -15042,7 +15044,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk4QKWHQT2_cjs.Request {
15042
15044
  }
15043
15045
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15044
15046
  tables(variables, builder) {
15045
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Database_TablesDocument, "tables", ["id"]);
15047
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Database_TablesDocument, "tables", ["id"]);
15046
15048
  let children;
15047
15049
  if (builder) {
15048
15050
  const sub = new TableSubBuilder();
@@ -15051,7 +15053,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk4QKWHQT2_cjs.Request {
15051
15053
  }
15052
15054
  this._includes.push({
15053
15055
  fieldName: "tables",
15054
- fragmentDoc: chunkFNYE2ZMN_cjs.TableConnectionFragmentDoc,
15056
+ fragmentDoc: chunkYMIRF4SC_cjs.TableConnectionFragmentDoc,
15055
15057
  variables,
15056
15058
  isConnection: true,
15057
15059
  isList: false,
@@ -15077,7 +15079,7 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
15077
15079
  }
15078
15080
  async fetch(options) {
15079
15081
  const variables = this._variables;
15080
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentDocument, "document", this._includes, variables);
15082
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DocumentDocument, "document", this._includes, variables);
15081
15083
  const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
15082
15084
  const data = response.document;
15083
15085
  const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
@@ -15089,7 +15091,7 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
15089
15091
  watch(options) {
15090
15092
  const variables = this._variables;
15091
15093
  const includes = this._includes;
15092
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentDocument, "document", includes, variables);
15094
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DocumentDocument, "document", includes, variables);
15093
15095
  const raw = this._syncEngine.watch(
15094
15096
  queryDoc,
15095
15097
  mergedVars,
@@ -15119,10 +15121,10 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
15119
15121
  }
15120
15122
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15121
15123
  contents(variables) {
15122
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_ContentsDocument, "contents", ["id"]);
15124
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Document_ContentsDocument, "contents", ["id"]);
15123
15125
  this._includes.push({
15124
15126
  fieldName: "contents",
15125
- fragmentDoc: chunkFNYE2ZMN_cjs.DocumentContentFragmentDoc,
15127
+ fragmentDoc: chunkYMIRF4SC_cjs.DocumentContentFragmentDoc,
15126
15128
  variables,
15127
15129
  isConnection: false,
15128
15130
  isList: true,
@@ -15138,10 +15140,10 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
15138
15140
  }
15139
15141
  /** Include file in this query (Smart Fetch — single HTTP request). */
15140
15142
  file(variables) {
15141
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_FileDocument, "file", ["id"]);
15143
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Document_FileDocument, "file", ["id"]);
15142
15144
  this._includes.push({
15143
15145
  fieldName: "file",
15144
- fragmentDoc: chunkFNYE2ZMN_cjs.FileFragmentDoc,
15146
+ fragmentDoc: chunkYMIRF4SC_cjs.FileFragmentDoc,
15145
15147
  variables,
15146
15148
  isConnection: false,
15147
15149
  isList: false,
@@ -15157,10 +15159,10 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
15157
15159
  }
15158
15160
  /** Include format in this query (Smart Fetch — single HTTP request). */
15159
15161
  format(variables) {
15160
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_FormatDocument, "format", ["id"]);
15162
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Document_FormatDocument, "format", ["id"]);
15161
15163
  this._includes.push({
15162
15164
  fieldName: "format",
15163
- fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFormatFragmentDoc,
15165
+ fragmentDoc: chunkYMIRF4SC_cjs.DocumentFormatFragmentDoc,
15164
15166
  variables,
15165
15167
  isConnection: false,
15166
15168
  isList: false,
@@ -15176,7 +15178,7 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
15176
15178
  }
15177
15179
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15178
15180
  tables(variables, builder) {
15179
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_TablesDocument, "tables", ["id"]);
15181
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Document_TablesDocument, "tables", ["id"]);
15180
15182
  let children;
15181
15183
  if (builder) {
15182
15184
  const sub = new TableSubBuilder();
@@ -15185,7 +15187,7 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
15185
15187
  }
15186
15188
  this._includes.push({
15187
15189
  fieldName: "tables",
15188
- fragmentDoc: chunkFNYE2ZMN_cjs.TableConnectionFragmentDoc,
15190
+ fragmentDoc: chunkYMIRF4SC_cjs.TableConnectionFragmentDoc,
15189
15191
  variables,
15190
15192
  isConnection: true,
15191
15193
  isList: false,
@@ -15209,7 +15211,7 @@ var Document_ContentsQuery = class extends chunk4QKWHQT2_cjs.Request {
15209
15211
  this._variables = variables;
15210
15212
  }
15211
15213
  async fetch(options) {
15212
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Document_ContentsDocument, this._variables, "document");
15214
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Document_ContentsDocument, this._variables, "document");
15213
15215
  const data = response.document?.contents;
15214
15216
  if (!Array.isArray(data)) return [];
15215
15217
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -15223,14 +15225,14 @@ var Document_FileQuery = class extends chunk4QKWHQT2_cjs.Request {
15223
15225
  }
15224
15226
  async fetch(options) {
15225
15227
  const variables = this._variables;
15226
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Document_FileDocument, variables, "document");
15228
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Document_FileDocument, variables, "document");
15227
15229
  const data = response.document?.file;
15228
15230
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15229
15231
  }
15230
15232
  watch(options) {
15231
15233
  const variables = this._variables;
15232
15234
  const raw = this._syncEngine.watch(
15233
- chunkFNYE2ZMN_cjs.Document_FileDocument,
15235
+ chunkYMIRF4SC_cjs.Document_FileDocument,
15234
15236
  variables,
15235
15237
  "document",
15236
15238
  async (db) => {
@@ -15253,14 +15255,14 @@ var Document_FormatQuery = class extends chunk4QKWHQT2_cjs.Request {
15253
15255
  }
15254
15256
  async fetch(options) {
15255
15257
  const variables = this._variables;
15256
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Document_FormatDocument, variables, "document");
15258
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Document_FormatDocument, variables, "document");
15257
15259
  const data = response.document?.format;
15258
15260
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15259
15261
  }
15260
15262
  watch(options) {
15261
15263
  const variables = this._variables;
15262
15264
  const raw = this._syncEngine.watch(
15263
- chunkFNYE2ZMN_cjs.Document_FormatDocument,
15265
+ chunkYMIRF4SC_cjs.Document_FormatDocument,
15264
15266
  variables,
15265
15267
  "document",
15266
15268
  async (db) => {
@@ -15283,14 +15285,14 @@ var Document_Format_CatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
15283
15285
  }
15284
15286
  async fetch(options) {
15285
15287
  const variables = this._variables;
15286
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Document_Format_CatalogDocument, variables, "document");
15288
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Document_Format_CatalogDocument, variables, "document");
15287
15289
  const data = response.document?.format?.catalog;
15288
15290
  return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15289
15291
  }
15290
15292
  watch(options) {
15291
15293
  const variables = this._variables;
15292
15294
  const raw = this._syncEngine.watch(
15293
- chunkFNYE2ZMN_cjs.Document_Format_CatalogDocument,
15295
+ chunkYMIRF4SC_cjs.Document_Format_CatalogDocument,
15294
15296
  variables,
15295
15297
  "document",
15296
15298
  async (db) => {
@@ -15313,18 +15315,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk4QKWHQT2_cjs
15313
15315
  }
15314
15316
  async fetch(options) {
15315
15317
  const variables = this._variables;
15316
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Document_TablesDocument, variables, "document");
15318
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Document_TablesDocument, variables, "document");
15317
15319
  const data = response.document?.tables;
15318
15320
  return new TableConnection(this._request, (conn, opts) => new _Document_TablesQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
15319
15321
  }
15320
15322
  watch(options) {
15321
15323
  const variables = this._variables;
15322
15324
  const raw = this._syncEngine.watch(
15323
- chunkFNYE2ZMN_cjs.Document_TablesDocument,
15325
+ chunkYMIRF4SC_cjs.Document_TablesDocument,
15324
15326
  variables,
15325
15327
  "document",
15326
15328
  async (db) => {
15327
- const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkFNYE2ZMN_cjs.Document_TablesDocument));
15329
+ const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkYMIRF4SC_cjs.Document_TablesDocument));
15328
15330
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
15329
15331
  return { document: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15330
15332
  }
@@ -15344,7 +15346,7 @@ var DocumentCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
15344
15346
  }
15345
15347
  async fetch(options) {
15346
15348
  const variables = this._variables;
15347
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
15349
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
15348
15350
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
15349
15351
  const data = response.documentCatalog;
15350
15352
  const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -15356,7 +15358,7 @@ var DocumentCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
15356
15358
  watch(options) {
15357
15359
  const variables = this._variables;
15358
15360
  const includes = this._includes;
15359
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
15361
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
15360
15362
  const raw = this._syncEngine.watch(
15361
15363
  queryDoc,
15362
15364
  mergedVars,
@@ -15386,10 +15388,10 @@ var DocumentCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
15386
15388
  }
15387
15389
  /** Include format in this query (Smart Fetch — single HTTP request). */
15388
15390
  format(variables) {
15389
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.DocumentCatalog_FormatDocument, "format", []);
15391
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.DocumentCatalog_FormatDocument, "format", []);
15390
15392
  this._includes.push({
15391
15393
  fieldName: "format",
15392
- fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFormatFragmentDoc,
15394
+ fragmentDoc: chunkYMIRF4SC_cjs.DocumentFormatFragmentDoc,
15393
15395
  variables,
15394
15396
  isConnection: false,
15395
15397
  isList: false,
@@ -15412,14 +15414,14 @@ var DocumentCatalog_FormatQuery = class extends chunk4QKWHQT2_cjs.Request {
15412
15414
  }
15413
15415
  async fetch(options) {
15414
15416
  const variables = this._variables;
15415
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
15417
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
15416
15418
  const data = response.documentCatalog?.format;
15417
15419
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15418
15420
  }
15419
15421
  watch(options) {
15420
15422
  const variables = this._variables;
15421
15423
  const raw = this._syncEngine.watch(
15422
- chunkFNYE2ZMN_cjs.DocumentCatalog_FormatDocument,
15424
+ chunkYMIRF4SC_cjs.DocumentCatalog_FormatDocument,
15423
15425
  variables,
15424
15426
  "documentCatalog",
15425
15427
  async (db) => {
@@ -15443,7 +15445,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk4QKWHQT2_c
15443
15445
  }
15444
15446
  async fetch(options) {
15445
15447
  const variables = this._variables;
15446
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
15448
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
15447
15449
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
15448
15450
  const data = response.documentCatalogs;
15449
15451
  const connection = new DocumentCatalogConnection(this._request, (conn, opts) => new _DocumentCatalogsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15460,7 +15462,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk4QKWHQT2_c
15460
15462
  const subscriptionId = crypto.randomUUID();
15461
15463
  const includes = this._includes;
15462
15464
  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) }] : []);
15463
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
15465
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
15464
15466
  const raw = this._syncEngine.watch(
15465
15467
  queryDoc,
15466
15468
  mergedVars,
@@ -15495,10 +15497,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk4QKWHQT2_c
15495
15497
  }
15496
15498
  /** Include format in this query (Smart Fetch — single HTTP request). */
15497
15499
  format(variables) {
15498
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.DocumentCatalog_FormatDocument, "format", []);
15500
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.DocumentCatalog_FormatDocument, "format", []);
15499
15501
  this._includes.push({
15500
15502
  fieldName: "format",
15501
- fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFormatFragmentDoc,
15503
+ fragmentDoc: chunkYMIRF4SC_cjs.DocumentFormatFragmentDoc,
15502
15504
  variables,
15503
15505
  isConnection: false,
15504
15506
  isList: false,
@@ -15522,7 +15524,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15522
15524
  }
15523
15525
  async fetch(options) {
15524
15526
  const variables = this._variables;
15525
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentsDocument, "documents", this._includes, variables, true);
15527
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DocumentsDocument, "documents", this._includes, variables, true);
15526
15528
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
15527
15529
  const data = response.documents;
15528
15530
  const connection = new DocumentConnection(this._request, (conn, opts) => new _DocumentsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15539,7 +15541,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15539
15541
  const subscriptionId = crypto.randomUUID();
15540
15542
  const includes = this._includes;
15541
15543
  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) }] : []);
15542
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentsDocument, "documents", includes, variables, true);
15544
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.DocumentsDocument, "documents", includes, variables, true);
15543
15545
  const raw = this._syncEngine.watch(
15544
15546
  queryDoc,
15545
15547
  mergedVars,
@@ -15574,10 +15576,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15574
15576
  }
15575
15577
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15576
15578
  contents(variables) {
15577
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_ContentsDocument, "contents", ["id"]);
15579
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Document_ContentsDocument, "contents", ["id"]);
15578
15580
  this._includes.push({
15579
15581
  fieldName: "contents",
15580
- fragmentDoc: chunkFNYE2ZMN_cjs.DocumentContentFragmentDoc,
15582
+ fragmentDoc: chunkYMIRF4SC_cjs.DocumentContentFragmentDoc,
15581
15583
  variables,
15582
15584
  isConnection: false,
15583
15585
  isList: true,
@@ -15593,10 +15595,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15593
15595
  }
15594
15596
  /** Include file in this query (Smart Fetch — single HTTP request). */
15595
15597
  file(variables) {
15596
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_FileDocument, "file", ["id"]);
15598
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Document_FileDocument, "file", ["id"]);
15597
15599
  this._includes.push({
15598
15600
  fieldName: "file",
15599
- fragmentDoc: chunkFNYE2ZMN_cjs.FileFragmentDoc,
15601
+ fragmentDoc: chunkYMIRF4SC_cjs.FileFragmentDoc,
15600
15602
  variables,
15601
15603
  isConnection: false,
15602
15604
  isList: false,
@@ -15612,10 +15614,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15612
15614
  }
15613
15615
  /** Include format in this query (Smart Fetch — single HTTP request). */
15614
15616
  format(variables) {
15615
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_FormatDocument, "format", ["id"]);
15617
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Document_FormatDocument, "format", ["id"]);
15616
15618
  this._includes.push({
15617
15619
  fieldName: "format",
15618
- fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFormatFragmentDoc,
15620
+ fragmentDoc: chunkYMIRF4SC_cjs.DocumentFormatFragmentDoc,
15619
15621
  variables,
15620
15622
  isConnection: false,
15621
15623
  isList: false,
@@ -15631,7 +15633,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15631
15633
  }
15632
15634
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15633
15635
  tables(variables, builder) {
15634
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_TablesDocument, "tables", ["id"]);
15636
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Document_TablesDocument, "tables", ["id"]);
15635
15637
  let children;
15636
15638
  if (builder) {
15637
15639
  const sub = new TableSubBuilder();
@@ -15640,7 +15642,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15640
15642
  }
15641
15643
  this._includes.push({
15642
15644
  fieldName: "tables",
15643
- fragmentDoc: chunkFNYE2ZMN_cjs.TableConnectionFragmentDoc,
15645
+ fragmentDoc: chunkYMIRF4SC_cjs.TableConnectionFragmentDoc,
15644
15646
  variables,
15645
15647
  isConnection: true,
15646
15648
  isList: false,
@@ -15659,19 +15661,19 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15659
15661
  };
15660
15662
  var ExportQuery = class extends chunk4QKWHQT2_cjs.Request {
15661
15663
  async fetch(variables) {
15662
- const response = await this._request(chunkFNYE2ZMN_cjs.ExportDocument, variables);
15664
+ const response = await this._request(chunkYMIRF4SC_cjs.ExportDocument, variables);
15663
15665
  return response.export;
15664
15666
  }
15665
15667
  };
15666
15668
  var ExportWithInsightIdQuery = class extends chunk4QKWHQT2_cjs.Request {
15667
15669
  async fetch(variables) {
15668
- const response = await this._request(chunkFNYE2ZMN_cjs.ExportWithInsightIdDocument, variables);
15670
+ const response = await this._request(chunkYMIRF4SC_cjs.ExportWithInsightIdDocument, variables);
15669
15671
  return response.exportWithInsightId;
15670
15672
  }
15671
15673
  };
15672
15674
  var FileQuery = class extends chunk4QKWHQT2_cjs.Request {
15673
15675
  async fetch(variables) {
15674
- const response = await this._request(chunkFNYE2ZMN_cjs.FileDocument, variables);
15676
+ const response = await this._request(chunkYMIRF4SC_cjs.FileDocument, variables);
15675
15677
  return response.file;
15676
15678
  }
15677
15679
  };
@@ -15684,7 +15686,7 @@ var FileMetaQuery = class extends chunk4QKWHQT2_cjs.Request {
15684
15686
  }
15685
15687
  async fetch(options) {
15686
15688
  const variables = this._variables;
15687
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
15689
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
15688
15690
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
15689
15691
  const data = response.fileMeta;
15690
15692
  if (!data) return void 0;
@@ -15697,7 +15699,7 @@ var FileMetaQuery = class extends chunk4QKWHQT2_cjs.Request {
15697
15699
  watch(options) {
15698
15700
  const variables = this._variables;
15699
15701
  const includes = this._includes;
15700
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.FileMetaDocument, "fileMeta", includes, variables);
15702
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.FileMetaDocument, "fileMeta", includes, variables);
15701
15703
  const raw = this._syncEngine.watch(
15702
15704
  queryDoc,
15703
15705
  mergedVars,
@@ -15735,7 +15737,7 @@ var FileUrlsQuery = class extends chunk4QKWHQT2_cjs.Request {
15735
15737
  this._variables = variables;
15736
15738
  }
15737
15739
  async fetch(options) {
15738
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
15740
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
15739
15741
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
15740
15742
  const data = response.fileUrls;
15741
15743
  if (!Array.isArray(data)) return [];
@@ -15744,7 +15746,7 @@ var FileUrlsQuery = class extends chunk4QKWHQT2_cjs.Request {
15744
15746
  };
15745
15747
  var FindFitTierQuery = class extends chunk4QKWHQT2_cjs.Request {
15746
15748
  async fetch(variables) {
15747
- const response = await this._request(chunkFNYE2ZMN_cjs.FindFitTierDocument, variables);
15749
+ const response = await this._request(chunkYMIRF4SC_cjs.FindFitTierDocument, variables);
15748
15750
  return response.findFitTier ?? void 0;
15749
15751
  }
15750
15752
  };
@@ -15757,7 +15759,7 @@ var FolderQuery = class extends chunk4QKWHQT2_cjs.Request {
15757
15759
  }
15758
15760
  async fetch(options) {
15759
15761
  const variables = this._variables;
15760
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.FolderDocument, "folder", this._includes, variables);
15762
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.FolderDocument, "folder", this._includes, variables);
15761
15763
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
15762
15764
  const data = response.folder;
15763
15765
  const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
@@ -15769,7 +15771,7 @@ var FolderQuery = class extends chunk4QKWHQT2_cjs.Request {
15769
15771
  watch(options) {
15770
15772
  const variables = this._variables;
15771
15773
  const includes = this._includes;
15772
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.FolderDocument, "folder", includes, variables);
15774
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.FolderDocument, "folder", includes, variables);
15773
15775
  const raw = this._syncEngine.watch(
15774
15776
  queryDoc,
15775
15777
  mergedVars,
@@ -15807,7 +15809,7 @@ var FoldersQuery = class _FoldersQuery extends chunk4QKWHQT2_cjs.Request {
15807
15809
  }
15808
15810
  async fetch(options) {
15809
15811
  const variables = this._variables;
15810
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.FoldersDocument, "folders", this._includes, variables, true);
15812
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.FoldersDocument, "folders", this._includes, variables, true);
15811
15813
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
15812
15814
  const data = response.folders;
15813
15815
  const connection = new FolderConnection(this._request, (conn, opts) => new _FoldersQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -15824,7 +15826,7 @@ var FoldersQuery = class _FoldersQuery extends chunk4QKWHQT2_cjs.Request {
15824
15826
  const subscriptionId = crypto.randomUUID();
15825
15827
  const includes = this._includes;
15826
15828
  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) }] : []);
15827
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.FoldersDocument, "folders", includes, variables, true);
15829
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.FoldersDocument, "folders", includes, variables, true);
15828
15830
  const raw = this._syncEngine.watch(
15829
15831
  queryDoc,
15830
15832
  mergedVars,
@@ -15860,7 +15862,7 @@ var FoldersQuery = class _FoldersQuery extends chunk4QKWHQT2_cjs.Request {
15860
15862
  };
15861
15863
  var GetCapabilityQuery = class extends chunk4QKWHQT2_cjs.Request {
15862
15864
  async fetch(variables) {
15863
- const response = await this._request(chunkFNYE2ZMN_cjs.GetCapabilityDocument, variables);
15865
+ const response = await this._request(chunkYMIRF4SC_cjs.GetCapabilityDocument, variables);
15864
15866
  return response.getCapability;
15865
15867
  }
15866
15868
  };
@@ -15873,7 +15875,7 @@ var GetDevAccessTokenQuery = class extends chunk4QKWHQT2_cjs.Request {
15873
15875
  }
15874
15876
  async fetch(options) {
15875
15877
  const variables = this._variables;
15876
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
15878
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
15877
15879
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
15878
15880
  const data = response.getDevAccessToken;
15879
15881
  const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
@@ -15885,7 +15887,7 @@ var GetDevAccessTokenQuery = class extends chunk4QKWHQT2_cjs.Request {
15885
15887
  watch(options) {
15886
15888
  const variables = this._variables;
15887
15889
  const includes = this._includes;
15888
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
15890
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
15889
15891
  const raw = this._syncEngine.watch(
15890
15892
  queryDoc,
15891
15893
  mergedVars,
@@ -15916,13 +15918,13 @@ var GetDevAccessTokenQuery = class extends chunk4QKWHQT2_cjs.Request {
15916
15918
  };
15917
15919
  var GetLimitQuery = class extends chunk4QKWHQT2_cjs.Request {
15918
15920
  async fetch(variables) {
15919
- const response = await this._request(chunkFNYE2ZMN_cjs.GetLimitDocument, variables);
15921
+ const response = await this._request(chunkYMIRF4SC_cjs.GetLimitDocument, variables);
15920
15922
  return response.getLimit ?? void 0;
15921
15923
  }
15922
15924
  };
15923
15925
  var GetRemainingQuery = class extends chunk4QKWHQT2_cjs.Request {
15924
15926
  async fetch(variables) {
15925
- const response = await this._request(chunkFNYE2ZMN_cjs.GetRemainingDocument, variables);
15927
+ const response = await this._request(chunkYMIRF4SC_cjs.GetRemainingDocument, variables);
15926
15928
  return response.getRemaining ?? void 0;
15927
15929
  }
15928
15930
  };
@@ -15934,7 +15936,7 @@ var GetTokenUsageByModelQuery = class extends chunk4QKWHQT2_cjs.Request {
15934
15936
  this._variables = variables;
15935
15937
  }
15936
15938
  async fetch(options) {
15937
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
15939
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
15938
15940
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
15939
15941
  const data = response.getTokenUsageByModel;
15940
15942
  if (!Array.isArray(data)) return [];
@@ -15949,7 +15951,7 @@ var GetTokenUsageHistoryQuery = class extends chunk4QKWHQT2_cjs.Request {
15949
15951
  this._variables = variables;
15950
15952
  }
15951
15953
  async fetch(options) {
15952
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
15954
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
15953
15955
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
15954
15956
  const data = response.getTokenUsageHistory;
15955
15957
  if (!Array.isArray(data)) return [];
@@ -15965,7 +15967,7 @@ var GetTokenUsageStatusQuery = class extends chunk4QKWHQT2_cjs.Request {
15965
15967
  }
15966
15968
  async fetch(options) {
15967
15969
  const variables = this._variables;
15968
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
15970
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
15969
15971
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
15970
15972
  const data = response.getTokenUsageStatus;
15971
15973
  const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
@@ -15977,7 +15979,7 @@ var GetTokenUsageStatusQuery = class extends chunk4QKWHQT2_cjs.Request {
15977
15979
  watch(options) {
15978
15980
  const variables = this._variables;
15979
15981
  const includes = this._includes;
15980
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
15982
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
15981
15983
  const raw = this._syncEngine.watch(
15982
15984
  queryDoc,
15983
15985
  mergedVars,
@@ -16007,10 +16009,10 @@ var GetTokenUsageStatusQuery = class extends chunk4QKWHQT2_cjs.Request {
16007
16009
  }
16008
16010
  /** Include windows in this query (Smart Fetch — single HTTP request). */
16009
16011
  windows(variables) {
16010
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
16012
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
16011
16013
  this._includes.push({
16012
16014
  fieldName: "windows",
16013
- fragmentDoc: chunkFNYE2ZMN_cjs.UsageWindowsStatusTypeFragmentDoc,
16015
+ fragmentDoc: chunkYMIRF4SC_cjs.UsageWindowsStatusTypeFragmentDoc,
16014
16016
  variables,
16015
16017
  isConnection: false,
16016
16018
  isList: false,
@@ -16033,14 +16035,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk4QKWHQT2_cjs.Request {
16033
16035
  }
16034
16036
  async fetch(options) {
16035
16037
  const variables = this._variables;
16036
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
16038
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
16037
16039
  const data = response.getTokenUsageStatus?.windows;
16038
16040
  return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16039
16041
  }
16040
16042
  watch(options) {
16041
16043
  const variables = this._variables;
16042
16044
  const raw = this._syncEngine.watch(
16043
- chunkFNYE2ZMN_cjs.GetTokenUsageStatus_WindowsDocument,
16045
+ chunkYMIRF4SC_cjs.GetTokenUsageStatus_WindowsDocument,
16044
16046
  variables,
16045
16047
  "getTokenUsageStatus",
16046
16048
  async (db) => {
@@ -16063,14 +16065,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk4QKWHQT2_cjs.Reque
16063
16065
  }
16064
16066
  async fetch(options) {
16065
16067
  const variables = this._variables;
16066
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
16068
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
16067
16069
  const data = response.getTokenUsageStatus?.windows?.day;
16068
16070
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16069
16071
  }
16070
16072
  watch(options) {
16071
16073
  const variables = this._variables;
16072
16074
  const raw = this._syncEngine.watch(
16073
- chunkFNYE2ZMN_cjs.GetTokenUsageStatus_Windows_DayDocument,
16075
+ chunkYMIRF4SC_cjs.GetTokenUsageStatus_Windows_DayDocument,
16074
16076
  variables,
16075
16077
  "getTokenUsageStatus",
16076
16078
  async (db) => {
@@ -16093,14 +16095,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk4QKWHQT2_cjs.
16093
16095
  }
16094
16096
  async fetch(options) {
16095
16097
  const variables = this._variables;
16096
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
16098
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
16097
16099
  const data = response.getTokenUsageStatus?.windows?.fiveHour;
16098
16100
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16099
16101
  }
16100
16102
  watch(options) {
16101
16103
  const variables = this._variables;
16102
16104
  const raw = this._syncEngine.watch(
16103
- chunkFNYE2ZMN_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
16105
+ chunkYMIRF4SC_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
16104
16106
  variables,
16105
16107
  "getTokenUsageStatus",
16106
16108
  async (db) => {
@@ -16123,14 +16125,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk4QKWHQT2_cjs.Requ
16123
16125
  }
16124
16126
  async fetch(options) {
16125
16127
  const variables = this._variables;
16126
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
16128
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
16127
16129
  const data = response.getTokenUsageStatus?.windows?.week;
16128
16130
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16129
16131
  }
16130
16132
  watch(options) {
16131
16133
  const variables = this._variables;
16132
16134
  const raw = this._syncEngine.watch(
16133
- chunkFNYE2ZMN_cjs.GetTokenUsageStatus_Windows_WeekDocument,
16135
+ chunkYMIRF4SC_cjs.GetTokenUsageStatus_Windows_WeekDocument,
16134
16136
  variables,
16135
16137
  "getTokenUsageStatus",
16136
16138
  async (db) => {
@@ -16147,7 +16149,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk4QKWHQT2_cjs.Requ
16147
16149
  };
16148
16150
  var GetUsageQuery = class extends chunk4QKWHQT2_cjs.Request {
16149
16151
  async fetch(variables) {
16150
- const response = await this._request(chunkFNYE2ZMN_cjs.GetUsageDocument, variables);
16152
+ const response = await this._request(chunkYMIRF4SC_cjs.GetUsageDocument, variables);
16151
16153
  return response.getUsage ?? void 0;
16152
16154
  }
16153
16155
  };
@@ -16160,7 +16162,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
16160
16162
  }
16161
16163
  async fetch(options) {
16162
16164
  const variables = this._variables;
16163
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.InsightDocument, "insight", this._includes, variables);
16165
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.InsightDocument, "insight", this._includes, variables);
16164
16166
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
16165
16167
  const data = response.insight;
16166
16168
  const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
@@ -16172,7 +16174,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
16172
16174
  watch(options) {
16173
16175
  const variables = this._variables;
16174
16176
  const includes = this._includes;
16175
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.InsightDocument, "insight", includes, variables);
16177
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.InsightDocument, "insight", includes, variables);
16176
16178
  const raw = this._syncEngine.watch(
16177
16179
  queryDoc,
16178
16180
  mergedVars,
@@ -16202,7 +16204,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
16202
16204
  }
16203
16205
  /** Include chat in this query (Smart Fetch — single HTTP request). */
16204
16206
  chat(variables, builder) {
16205
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ChatDocument, "chat", ["id"]);
16207
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Insight_ChatDocument, "chat", ["id"]);
16206
16208
  let children;
16207
16209
  if (builder) {
16208
16210
  const sub = new ChatSubBuilder();
@@ -16211,7 +16213,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
16211
16213
  }
16212
16214
  this._includes.push({
16213
16215
  fieldName: "chat",
16214
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
16216
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatFragmentDoc,
16215
16217
  variables,
16216
16218
  isConnection: false,
16217
16219
  isList: false,
@@ -16228,10 +16230,10 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
16228
16230
  }
16229
16231
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
16230
16232
  reportMembers(variables) {
16231
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16233
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16232
16234
  this._includes.push({
16233
16235
  fieldName: "reportMembers",
16234
- fragmentDoc: chunkFNYE2ZMN_cjs.ReportMemberFragmentDoc,
16236
+ fragmentDoc: chunkYMIRF4SC_cjs.ReportMemberFragmentDoc,
16235
16237
  variables,
16236
16238
  isConnection: false,
16237
16239
  isList: true,
@@ -16247,7 +16249,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
16247
16249
  }
16248
16250
  /** Include reports in this query (Smart Fetch — single HTTP request). */
16249
16251
  reports(variables, builder) {
16250
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ReportsDocument, "reports", ["id"]);
16252
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Insight_ReportsDocument, "reports", ["id"]);
16251
16253
  let children;
16252
16254
  if (builder) {
16253
16255
  const sub = new ReportSubBuilder();
@@ -16256,7 +16258,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
16256
16258
  }
16257
16259
  this._includes.push({
16258
16260
  fieldName: "reports",
16259
- fragmentDoc: chunkFNYE2ZMN_cjs.ReportConnectionFragmentDoc,
16261
+ fragmentDoc: chunkYMIRF4SC_cjs.ReportConnectionFragmentDoc,
16260
16262
  variables,
16261
16263
  isConnection: true,
16262
16264
  isList: false,
@@ -16281,14 +16283,14 @@ var Insight_ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
16281
16283
  }
16282
16284
  async fetch(options) {
16283
16285
  const variables = this._variables;
16284
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Insight_ChatDocument, variables, "insight");
16286
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Insight_ChatDocument, variables, "insight");
16285
16287
  const data = response.insight?.chat;
16286
16288
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16287
16289
  }
16288
16290
  watch(options) {
16289
16291
  const variables = this._variables;
16290
16292
  const raw = this._syncEngine.watch(
16291
- chunkFNYE2ZMN_cjs.Insight_ChatDocument,
16293
+ chunkYMIRF4SC_cjs.Insight_ChatDocument,
16292
16294
  variables,
16293
16295
  "insight",
16294
16296
  async (db) => {
@@ -16310,7 +16312,7 @@ var Insight_ReportMembersQuery = class extends chunk4QKWHQT2_cjs.Request {
16310
16312
  this._variables = variables;
16311
16313
  }
16312
16314
  async fetch(options) {
16313
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Insight_ReportMembersDocument, this._variables, "insight");
16315
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Insight_ReportMembersDocument, this._variables, "insight");
16314
16316
  const data = response.insight?.reportMembers;
16315
16317
  if (!Array.isArray(data)) return [];
16316
16318
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -16324,18 +16326,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk4QKWHQT2_cjs
16324
16326
  }
16325
16327
  async fetch(options) {
16326
16328
  const variables = this._variables;
16327
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Insight_ReportsDocument, variables, "insight");
16329
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Insight_ReportsDocument, variables, "insight");
16328
16330
  const data = response.insight?.reports;
16329
16331
  return new ReportConnection(this._request, (conn, opts) => new _Insight_ReportsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
16330
16332
  }
16331
16333
  watch(options) {
16332
16334
  const variables = this._variables;
16333
16335
  const raw = this._syncEngine.watch(
16334
- chunkFNYE2ZMN_cjs.Insight_ReportsDocument,
16336
+ chunkYMIRF4SC_cjs.Insight_ReportsDocument,
16335
16337
  variables,
16336
16338
  "insight",
16337
16339
  async (db) => {
16338
- const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkFNYE2ZMN_cjs.Insight_ReportsDocument));
16340
+ const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkYMIRF4SC_cjs.Insight_ReportsDocument));
16339
16341
  const nodes = qr ? await db.table("reports").bulkGet(qr.entityIds) : [];
16340
16342
  return { insight: { reports: { __typename: "ReportConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
16341
16343
  }
@@ -16355,7 +16357,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
16355
16357
  }
16356
16358
  async fetch(options) {
16357
16359
  const variables = this._variables;
16358
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.InsightsDocument, "insights", this._includes, variables, true);
16360
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.InsightsDocument, "insights", this._includes, variables, true);
16359
16361
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
16360
16362
  const data = response.insights;
16361
16363
  const connection = new InsightConnection(this._request, (conn, opts) => new _InsightsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16372,7 +16374,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
16372
16374
  const subscriptionId = crypto.randomUUID();
16373
16375
  const includes = this._includes;
16374
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) }] : []);
16375
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.InsightsDocument, "insights", includes, variables, true);
16377
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.InsightsDocument, "insights", includes, variables, true);
16376
16378
  const raw = this._syncEngine.watch(
16377
16379
  queryDoc,
16378
16380
  mergedVars,
@@ -16407,7 +16409,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
16407
16409
  }
16408
16410
  /** Include chat in this query (Smart Fetch — single HTTP request). */
16409
16411
  chat(variables, builder) {
16410
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ChatDocument, "chat", ["id"]);
16412
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Insight_ChatDocument, "chat", ["id"]);
16411
16413
  let children;
16412
16414
  if (builder) {
16413
16415
  const sub = new ChatSubBuilder();
@@ -16416,7 +16418,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
16416
16418
  }
16417
16419
  this._includes.push({
16418
16420
  fieldName: "chat",
16419
- fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
16421
+ fragmentDoc: chunkYMIRF4SC_cjs.ChatFragmentDoc,
16420
16422
  variables,
16421
16423
  isConnection: false,
16422
16424
  isList: false,
@@ -16433,10 +16435,10 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
16433
16435
  }
16434
16436
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
16435
16437
  reportMembers(variables) {
16436
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16438
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16437
16439
  this._includes.push({
16438
16440
  fieldName: "reportMembers",
16439
- fragmentDoc: chunkFNYE2ZMN_cjs.ReportMemberFragmentDoc,
16441
+ fragmentDoc: chunkYMIRF4SC_cjs.ReportMemberFragmentDoc,
16440
16442
  variables,
16441
16443
  isConnection: false,
16442
16444
  isList: true,
@@ -16452,7 +16454,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
16452
16454
  }
16453
16455
  /** Include reports in this query (Smart Fetch — single HTTP request). */
16454
16456
  reports(variables, builder) {
16455
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ReportsDocument, "reports", ["id"]);
16457
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Insight_ReportsDocument, "reports", ["id"]);
16456
16458
  let children;
16457
16459
  if (builder) {
16458
16460
  const sub = new ReportSubBuilder();
@@ -16461,7 +16463,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
16461
16463
  }
16462
16464
  this._includes.push({
16463
16465
  fieldName: "reports",
16464
- fragmentDoc: chunkFNYE2ZMN_cjs.ReportConnectionFragmentDoc,
16466
+ fragmentDoc: chunkYMIRF4SC_cjs.ReportConnectionFragmentDoc,
16465
16467
  variables,
16466
16468
  isConnection: true,
16467
16469
  isList: false,
@@ -16487,7 +16489,7 @@ var IntegrationQuery = class extends chunk4QKWHQT2_cjs.Request {
16487
16489
  }
16488
16490
  async fetch(options) {
16489
16491
  const variables = this._variables;
16490
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationDocument, "integration", this._includes, variables);
16492
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.IntegrationDocument, "integration", this._includes, variables);
16491
16493
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
16492
16494
  const data = response.integration;
16493
16495
  const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
@@ -16499,7 +16501,7 @@ var IntegrationQuery = class extends chunk4QKWHQT2_cjs.Request {
16499
16501
  watch(options) {
16500
16502
  const variables = this._variables;
16501
16503
  const includes = this._includes;
16502
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationDocument, "integration", includes, variables);
16504
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.IntegrationDocument, "integration", includes, variables);
16503
16505
  const raw = this._syncEngine.watch(
16504
16506
  queryDoc,
16505
16507
  mergedVars,
@@ -16529,10 +16531,10 @@ var IntegrationQuery = class extends chunk4QKWHQT2_cjs.Request {
16529
16531
  }
16530
16532
  /** Include provider in this query (Smart Fetch — single HTTP request). */
16531
16533
  provider(variables) {
16532
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Integration_ProviderDocument, "provider", ["id"]);
16534
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Integration_ProviderDocument, "provider", ["id"]);
16533
16535
  this._includes.push({
16534
16536
  fieldName: "provider",
16535
- fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationProviderFragmentDoc,
16537
+ fragmentDoc: chunkYMIRF4SC_cjs.IntegrationProviderFragmentDoc,
16536
16538
  variables,
16537
16539
  isConnection: false,
16538
16540
  isList: false,
@@ -16555,14 +16557,14 @@ var Integration_ProviderQuery = class extends chunk4QKWHQT2_cjs.Request {
16555
16557
  }
16556
16558
  async fetch(options) {
16557
16559
  const variables = this._variables;
16558
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Integration_ProviderDocument, variables, "integration");
16560
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Integration_ProviderDocument, variables, "integration");
16559
16561
  const data = response.integration?.provider;
16560
16562
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16561
16563
  }
16562
16564
  watch(options) {
16563
16565
  const variables = this._variables;
16564
16566
  const raw = this._syncEngine.watch(
16565
- chunkFNYE2ZMN_cjs.Integration_ProviderDocument,
16567
+ chunkYMIRF4SC_cjs.Integration_ProviderDocument,
16566
16568
  variables,
16567
16569
  "integration",
16568
16570
  async (db) => {
@@ -16585,14 +16587,14 @@ var Integration_Provider_CatalogQuery = class extends chunk4QKWHQT2_cjs.Request
16585
16587
  }
16586
16588
  async fetch(options) {
16587
16589
  const variables = this._variables;
16588
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Integration_Provider_CatalogDocument, variables, "integration");
16590
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Integration_Provider_CatalogDocument, variables, "integration");
16589
16591
  const data = response.integration?.provider?.catalog;
16590
16592
  return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16591
16593
  }
16592
16594
  watch(options) {
16593
16595
  const variables = this._variables;
16594
16596
  const raw = this._syncEngine.watch(
16595
- chunkFNYE2ZMN_cjs.Integration_Provider_CatalogDocument,
16597
+ chunkYMIRF4SC_cjs.Integration_Provider_CatalogDocument,
16596
16598
  variables,
16597
16599
  "integration",
16598
16600
  async (db) => {
@@ -16616,7 +16618,7 @@ var IntegrationCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
16616
16618
  }
16617
16619
  async fetch(options) {
16618
16620
  const variables = this._variables;
16619
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
16621
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
16620
16622
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
16621
16623
  const data = response.integrationCatalog;
16622
16624
  const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -16628,7 +16630,7 @@ var IntegrationCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
16628
16630
  watch(options) {
16629
16631
  const variables = this._variables;
16630
16632
  const includes = this._includes;
16631
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
16633
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
16632
16634
  const raw = this._syncEngine.watch(
16633
16635
  queryDoc,
16634
16636
  mergedVars,
@@ -16658,10 +16660,10 @@ var IntegrationCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
16658
16660
  }
16659
16661
  /** Include provider in this query (Smart Fetch — single HTTP request). */
16660
16662
  provider(variables) {
16661
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
16663
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
16662
16664
  this._includes.push({
16663
16665
  fieldName: "provider",
16664
- fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationProviderFragmentDoc,
16666
+ fragmentDoc: chunkYMIRF4SC_cjs.IntegrationProviderFragmentDoc,
16665
16667
  variables,
16666
16668
  isConnection: false,
16667
16669
  isList: false,
@@ -16684,14 +16686,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk4QKWHQT2_cjs.Request {
16684
16686
  }
16685
16687
  async fetch(options) {
16686
16688
  const variables = this._variables;
16687
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
16689
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
16688
16690
  const data = response.integrationCatalog?.provider;
16689
16691
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16690
16692
  }
16691
16693
  watch(options) {
16692
16694
  const variables = this._variables;
16693
16695
  const raw = this._syncEngine.watch(
16694
- chunkFNYE2ZMN_cjs.IntegrationCatalog_ProviderDocument,
16696
+ chunkYMIRF4SC_cjs.IntegrationCatalog_ProviderDocument,
16695
16697
  variables,
16696
16698
  "integrationCatalog",
16697
16699
  async (db) => {
@@ -16708,7 +16710,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk4QKWHQT2_cjs.Request {
16708
16710
  };
16709
16711
  var IntegrationCatalogToolsQuery = class extends chunk4QKWHQT2_cjs.Request {
16710
16712
  async fetch(variables) {
16711
- const response = await this._request(chunkFNYE2ZMN_cjs.IntegrationCatalogToolsDocument, variables);
16713
+ const response = await this._request(chunkYMIRF4SC_cjs.IntegrationCatalogToolsDocument, variables);
16712
16714
  return response.integrationCatalogTools;
16713
16715
  }
16714
16716
  };
@@ -16721,7 +16723,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk4QKW
16721
16723
  }
16722
16724
  async fetch(options) {
16723
16725
  const variables = this._variables;
16724
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
16726
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
16725
16727
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
16726
16728
  const data = response.integrationCatalogs;
16727
16729
  const connection = new IntegrationCatalogConnection(this._request, (conn, opts) => new _IntegrationCatalogsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16738,7 +16740,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk4QKW
16738
16740
  const subscriptionId = crypto.randomUUID();
16739
16741
  const includes = this._includes;
16740
16742
  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) }] : []);
16741
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
16743
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
16742
16744
  const raw = this._syncEngine.watch(
16743
16745
  queryDoc,
16744
16746
  mergedVars,
@@ -16773,10 +16775,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk4QKW
16773
16775
  }
16774
16776
  /** Include provider in this query (Smart Fetch — single HTTP request). */
16775
16777
  provider(variables) {
16776
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
16778
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
16777
16779
  this._includes.push({
16778
16780
  fieldName: "provider",
16779
- fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationProviderFragmentDoc,
16781
+ fragmentDoc: chunkYMIRF4SC_cjs.IntegrationProviderFragmentDoc,
16780
16782
  variables,
16781
16783
  isConnection: false,
16782
16784
  isList: false,
@@ -16800,7 +16802,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk4QKWHQT2_cjs.Reque
16800
16802
  }
16801
16803
  async fetch(options) {
16802
16804
  const variables = this._variables;
16803
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
16805
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
16804
16806
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
16805
16807
  const data = response.integrations;
16806
16808
  const connection = new IntegrationConnection(this._request, (conn, opts) => new _IntegrationsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16817,7 +16819,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk4QKWHQT2_cjs.Reque
16817
16819
  const subscriptionId = crypto.randomUUID();
16818
16820
  const includes = this._includes;
16819
16821
  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) }] : []);
16820
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationsDocument, "integrations", includes, variables, true);
16822
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.IntegrationsDocument, "integrations", includes, variables, true);
16821
16823
  const raw = this._syncEngine.watch(
16822
16824
  queryDoc,
16823
16825
  mergedVars,
@@ -16852,10 +16854,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk4QKWHQT2_cjs.Reque
16852
16854
  }
16853
16855
  /** Include provider in this query (Smart Fetch — single HTTP request). */
16854
16856
  provider(variables) {
16855
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Integration_ProviderDocument, "provider", ["id"]);
16857
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Integration_ProviderDocument, "provider", ["id"]);
16856
16858
  this._includes.push({
16857
16859
  fieldName: "provider",
16858
- fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationProviderFragmentDoc,
16860
+ fragmentDoc: chunkYMIRF4SC_cjs.IntegrationProviderFragmentDoc,
16859
16861
  variables,
16860
16862
  isConnection: false,
16861
16863
  isList: false,
@@ -16879,7 +16881,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk4QKWHQT2_cjs
16879
16881
  }
16880
16882
  async fetch(options) {
16881
16883
  const variables = this._variables;
16882
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
16884
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
16883
16885
  const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
16884
16886
  const data = response.interpretations;
16885
16887
  const connection = new InterpretationConnection(this._request, (conn, opts) => new _InterpretationsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -16896,7 +16898,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk4QKWHQT2_cjs
16896
16898
  const subscriptionId = crypto.randomUUID();
16897
16899
  const includes = this._includes;
16898
16900
  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) }] : []);
16899
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
16901
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
16900
16902
  const raw = this._syncEngine.watch(
16901
16903
  queryDoc,
16902
16904
  mergedVars,
@@ -16939,7 +16941,7 @@ var NotificationQuery = class extends chunk4QKWHQT2_cjs.Request {
16939
16941
  }
16940
16942
  async fetch(options) {
16941
16943
  const variables = this._variables;
16942
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.NotificationDocument, "notification", this._includes, variables);
16944
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.NotificationDocument, "notification", this._includes, variables);
16943
16945
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
16944
16946
  const data = response.notification;
16945
16947
  const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
@@ -16951,7 +16953,7 @@ var NotificationQuery = class extends chunk4QKWHQT2_cjs.Request {
16951
16953
  watch(options) {
16952
16954
  const variables = this._variables;
16953
16955
  const includes = this._includes;
16954
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.NotificationDocument, "notification", includes, variables);
16956
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.NotificationDocument, "notification", includes, variables);
16955
16957
  const raw = this._syncEngine.watch(
16956
16958
  queryDoc,
16957
16959
  mergedVars,
@@ -16989,7 +16991,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk4QKWHQT2_cjs.Req
16989
16991
  }
16990
16992
  async fetch(options) {
16991
16993
  const variables = this._variables;
16992
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
16994
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
16993
16995
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
16994
16996
  const data = response.notifications;
16995
16997
  const connection = new NotificationConnection(this._request, (conn, opts) => new _NotificationsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17006,7 +17008,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk4QKWHQT2_cjs.Req
17006
17008
  const subscriptionId = crypto.randomUUID();
17007
17009
  const includes = this._includes;
17008
17010
  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) }] : []);
17009
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.NotificationsDocument, "notifications", includes, variables, true);
17011
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.NotificationsDocument, "notifications", includes, variables, true);
17010
17012
  const raw = this._syncEngine.watch(
17011
17013
  queryDoc,
17012
17014
  mergedVars,
@@ -17048,7 +17050,7 @@ var NotificationsByReferenceQuery = class extends chunk4QKWHQT2_cjs.Request {
17048
17050
  this._variables = variables;
17049
17051
  }
17050
17052
  async fetch(options) {
17051
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
17053
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
17052
17054
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
17053
17055
  const data = response.notificationsByReference;
17054
17056
  if (!Array.isArray(data)) return [];
@@ -17064,7 +17066,7 @@ var PrivacyStatsQuery = class extends chunk4QKWHQT2_cjs.Request {
17064
17066
  }
17065
17067
  async fetch(options) {
17066
17068
  const variables = this._variables;
17067
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
17069
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
17068
17070
  const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
17069
17071
  const data = response.privacyStats;
17070
17072
  const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
@@ -17076,7 +17078,7 @@ var PrivacyStatsQuery = class extends chunk4QKWHQT2_cjs.Request {
17076
17078
  watch(options) {
17077
17079
  const variables = this._variables;
17078
17080
  const includes = this._includes;
17079
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
17081
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
17080
17082
  const raw = this._syncEngine.watch(
17081
17083
  queryDoc,
17082
17084
  mergedVars,
@@ -17114,7 +17116,7 @@ var PulseAppSummaryQuery = class extends chunk4QKWHQT2_cjs.Request {
17114
17116
  }
17115
17117
  async fetch(options) {
17116
17118
  const variables = this._variables;
17117
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
17119
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
17118
17120
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
17119
17121
  const data = response.pulseAppSummary;
17120
17122
  if (!data) return void 0;
@@ -17127,7 +17129,7 @@ var PulseAppSummaryQuery = class extends chunk4QKWHQT2_cjs.Request {
17127
17129
  watch(options) {
17128
17130
  const variables = this._variables;
17129
17131
  const includes = this._includes;
17130
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
17132
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
17131
17133
  const raw = this._syncEngine.watch(
17132
17134
  queryDoc,
17133
17135
  mergedVars,
@@ -17166,7 +17168,7 @@ var PulseEventQuery = class extends chunk4QKWHQT2_cjs.Request {
17166
17168
  }
17167
17169
  async fetch(options) {
17168
17170
  const variables = this._variables;
17169
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
17171
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
17170
17172
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
17171
17173
  const data = response.pulseEvent;
17172
17174
  const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
@@ -17178,7 +17180,7 @@ var PulseEventQuery = class extends chunk4QKWHQT2_cjs.Request {
17178
17180
  watch(options) {
17179
17181
  const variables = this._variables;
17180
17182
  const includes = this._includes;
17181
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseEventDocument, "pulseEvent", includes, variables);
17183
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.PulseEventDocument, "pulseEvent", includes, variables);
17182
17184
  const raw = this._syncEngine.watch(
17183
17185
  queryDoc,
17184
17186
  mergedVars,
@@ -17208,7 +17210,7 @@ var PulseEventQuery = class extends chunk4QKWHQT2_cjs.Request {
17208
17210
  }
17209
17211
  /** Include integration in this query (Smart Fetch — single HTTP request). */
17210
17212
  integration(variables, builder) {
17211
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17213
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17212
17214
  let children;
17213
17215
  if (builder) {
17214
17216
  const sub = new IntegrationSubBuilder();
@@ -17217,7 +17219,7 @@ var PulseEventQuery = class extends chunk4QKWHQT2_cjs.Request {
17217
17219
  }
17218
17220
  this._includes.push({
17219
17221
  fieldName: "integration",
17220
- fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationFragmentDoc,
17222
+ fragmentDoc: chunkYMIRF4SC_cjs.IntegrationFragmentDoc,
17221
17223
  variables,
17222
17224
  isConnection: false,
17223
17225
  isList: false,
@@ -17241,14 +17243,14 @@ var PulseEvent_IntegrationQuery = class extends chunk4QKWHQT2_cjs.Request {
17241
17243
  }
17242
17244
  async fetch(options) {
17243
17245
  const variables = this._variables;
17244
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
17246
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
17245
17247
  const data = response.pulseEvent?.integration;
17246
17248
  return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17247
17249
  }
17248
17250
  watch(options) {
17249
17251
  const variables = this._variables;
17250
17252
  const raw = this._syncEngine.watch(
17251
- chunkFNYE2ZMN_cjs.PulseEvent_IntegrationDocument,
17253
+ chunkYMIRF4SC_cjs.PulseEvent_IntegrationDocument,
17252
17254
  variables,
17253
17255
  "pulseEvent",
17254
17256
  async (db) => {
@@ -17271,14 +17273,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk4QKWHQT2_cjs.Reque
17271
17273
  }
17272
17274
  async fetch(options) {
17273
17275
  const variables = this._variables;
17274
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
17276
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
17275
17277
  const data = response.pulseEvent?.integration?.provider;
17276
17278
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17277
17279
  }
17278
17280
  watch(options) {
17279
17281
  const variables = this._variables;
17280
17282
  const raw = this._syncEngine.watch(
17281
- chunkFNYE2ZMN_cjs.PulseEvent_Integration_ProviderDocument,
17283
+ chunkYMIRF4SC_cjs.PulseEvent_Integration_ProviderDocument,
17282
17284
  variables,
17283
17285
  "pulseEvent",
17284
17286
  async (db) => {
@@ -17302,7 +17304,7 @@ var PulseEventStatsQuery = class extends chunk4QKWHQT2_cjs.Request {
17302
17304
  }
17303
17305
  async fetch(options) {
17304
17306
  const variables = this._variables;
17305
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseEventStatsDocument, "pulseEventStats", this._includes, variables);
17307
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.PulseEventStatsDocument, "pulseEventStats", this._includes, variables);
17306
17308
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEventStats");
17307
17309
  const data = response.pulseEventStats;
17308
17310
  const instance = new PulseEventStatsModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -17314,7 +17316,7 @@ var PulseEventStatsQuery = class extends chunk4QKWHQT2_cjs.Request {
17314
17316
  watch(options) {
17315
17317
  const variables = this._variables;
17316
17318
  const includes = this._includes;
17317
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseEventStatsDocument, "pulseEventStats", includes, variables);
17319
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.PulseEventStatsDocument, "pulseEventStats", includes, variables);
17318
17320
  const raw = this._syncEngine.watch(
17319
17321
  queryDoc,
17320
17322
  mergedVars,
@@ -17352,7 +17354,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk4QKWHQT2_cjs.Request
17352
17354
  }
17353
17355
  async fetch(options) {
17354
17356
  const variables = this._variables;
17355
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
17357
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
17356
17358
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
17357
17359
  const data = response.pulseEvents;
17358
17360
  const connection = new PulseEventConnection(this._request, (conn, opts) => new _PulseEventsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17369,7 +17371,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk4QKWHQT2_cjs.Request
17369
17371
  const subscriptionId = crypto.randomUUID();
17370
17372
  const includes = this._includes;
17371
17373
  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) }] : []);
17372
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
17374
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
17373
17375
  const raw = this._syncEngine.watch(
17374
17376
  queryDoc,
17375
17377
  mergedVars,
@@ -17404,7 +17406,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk4QKWHQT2_cjs.Request
17404
17406
  }
17405
17407
  /** Include integration in this query (Smart Fetch — single HTTP request). */
17406
17408
  integration(variables, builder) {
17407
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17409
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17408
17410
  let children;
17409
17411
  if (builder) {
17410
17412
  const sub = new IntegrationSubBuilder();
@@ -17413,7 +17415,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk4QKWHQT2_cjs.Request
17413
17415
  }
17414
17416
  this._includes.push({
17415
17417
  fieldName: "integration",
17416
- fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationFragmentDoc,
17418
+ fragmentDoc: chunkYMIRF4SC_cjs.IntegrationFragmentDoc,
17417
17419
  variables,
17418
17420
  isConnection: false,
17419
17421
  isList: false,
@@ -17437,7 +17439,7 @@ var PulseTriggerSettingsQuery = class extends chunk4QKWHQT2_cjs.Request {
17437
17439
  this._variables = variables;
17438
17440
  }
17439
17441
  async fetch(options) {
17440
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
17442
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
17441
17443
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
17442
17444
  const data = response.pulseTriggerSettings;
17443
17445
  if (!Array.isArray(data)) return [];
@@ -17446,19 +17448,19 @@ var PulseTriggerSettingsQuery = class extends chunk4QKWHQT2_cjs.Request {
17446
17448
  };
17447
17449
  var QueryQuery = class extends chunk4QKWHQT2_cjs.Request {
17448
17450
  async fetch(variables) {
17449
- const response = await this._request(chunkFNYE2ZMN_cjs.QueryDocument, variables);
17451
+ const response = await this._request(chunkYMIRF4SC_cjs.QueryDocument, variables);
17450
17452
  return response.query;
17451
17453
  }
17452
17454
  };
17453
17455
  var QueryWithInsightIdQuery = class extends chunk4QKWHQT2_cjs.Request {
17454
17456
  async fetch(variables) {
17455
- const response = await this._request(chunkFNYE2ZMN_cjs.QueryWithInsightIdDocument, variables);
17457
+ const response = await this._request(chunkYMIRF4SC_cjs.QueryWithInsightIdDocument, variables);
17456
17458
  return response.queryWithInsightId;
17457
17459
  }
17458
17460
  };
17459
17461
  var QueryWithMessageIdQuery = class extends chunk4QKWHQT2_cjs.Request {
17460
17462
  async fetch(variables) {
17461
- const response = await this._request(chunkFNYE2ZMN_cjs.QueryWithMessageIdDocument, variables);
17463
+ const response = await this._request(chunkYMIRF4SC_cjs.QueryWithMessageIdDocument, variables);
17462
17464
  return response.queryWithMessageId;
17463
17465
  }
17464
17466
  };
@@ -17471,7 +17473,7 @@ var ReportQuery = class extends chunk4QKWHQT2_cjs.Request {
17471
17473
  }
17472
17474
  async fetch(options) {
17473
17475
  const variables = this._variables;
17474
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ReportDocument, "report", this._includes, variables);
17476
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ReportDocument, "report", this._includes, variables);
17475
17477
  const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
17476
17478
  const data = response.report;
17477
17479
  const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
@@ -17483,7 +17485,7 @@ var ReportQuery = class extends chunk4QKWHQT2_cjs.Request {
17483
17485
  watch(options) {
17484
17486
  const variables = this._variables;
17485
17487
  const includes = this._includes;
17486
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ReportDocument, "report", includes, variables);
17488
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ReportDocument, "report", includes, variables);
17487
17489
  const raw = this._syncEngine.watch(
17488
17490
  queryDoc,
17489
17491
  mergedVars,
@@ -17513,7 +17515,7 @@ var ReportQuery = class extends chunk4QKWHQT2_cjs.Request {
17513
17515
  }
17514
17516
  /** Include insights in this query (Smart Fetch — single HTTP request). */
17515
17517
  insights(variables, builder) {
17516
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Report_InsightsDocument, "insights", ["id"]);
17518
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Report_InsightsDocument, "insights", ["id"]);
17517
17519
  let children;
17518
17520
  if (builder) {
17519
17521
  const sub = new InsightSubBuilder();
@@ -17522,7 +17524,7 @@ var ReportQuery = class extends chunk4QKWHQT2_cjs.Request {
17522
17524
  }
17523
17525
  this._includes.push({
17524
17526
  fieldName: "insights",
17525
- fragmentDoc: chunkFNYE2ZMN_cjs.InsightConnectionFragmentDoc,
17527
+ fragmentDoc: chunkYMIRF4SC_cjs.InsightConnectionFragmentDoc,
17526
17528
  variables,
17527
17529
  isConnection: true,
17528
17530
  isList: false,
@@ -17540,10 +17542,10 @@ var ReportQuery = class extends chunk4QKWHQT2_cjs.Request {
17540
17542
  }
17541
17543
  /** Include layout in this query (Smart Fetch — single HTTP request). */
17542
17544
  layout(variables) {
17543
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Report_LayoutDocument, "layout", ["id"]);
17545
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Report_LayoutDocument, "layout", ["id"]);
17544
17546
  this._includes.push({
17545
17547
  fieldName: "layout",
17546
- fragmentDoc: chunkFNYE2ZMN_cjs.ReportMemberFragmentDoc,
17548
+ fragmentDoc: chunkYMIRF4SC_cjs.ReportMemberFragmentDoc,
17547
17549
  variables,
17548
17550
  isConnection: false,
17549
17551
  isList: true,
@@ -17566,18 +17568,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk4QKWHQT2_cjs
17566
17568
  }
17567
17569
  async fetch(options) {
17568
17570
  const variables = this._variables;
17569
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Report_InsightsDocument, variables, "report");
17571
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Report_InsightsDocument, variables, "report");
17570
17572
  const data = response.report?.insights;
17571
17573
  return new InsightConnection(this._request, (conn, opts) => new _Report_InsightsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
17572
17574
  }
17573
17575
  watch(options) {
17574
17576
  const variables = this._variables;
17575
17577
  const raw = this._syncEngine.watch(
17576
- chunkFNYE2ZMN_cjs.Report_InsightsDocument,
17578
+ chunkYMIRF4SC_cjs.Report_InsightsDocument,
17577
17579
  variables,
17578
17580
  "report",
17579
17581
  async (db) => {
17580
- const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkFNYE2ZMN_cjs.Report_InsightsDocument));
17582
+ const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkYMIRF4SC_cjs.Report_InsightsDocument));
17581
17583
  const nodes = qr ? await db.table("insights").bulkGet(qr.entityIds) : [];
17582
17584
  return { report: { insights: { __typename: "InsightConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
17583
17585
  }
@@ -17595,7 +17597,7 @@ var Report_LayoutQuery = class extends chunk4QKWHQT2_cjs.Request {
17595
17597
  this._variables = variables;
17596
17598
  }
17597
17599
  async fetch(options) {
17598
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Report_LayoutDocument, this._variables, "report");
17600
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Report_LayoutDocument, this._variables, "report");
17599
17601
  const data = response.report?.layout;
17600
17602
  if (!Array.isArray(data)) return [];
17601
17603
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -17610,7 +17612,7 @@ var ReportsQuery = class _ReportsQuery extends chunk4QKWHQT2_cjs.Request {
17610
17612
  }
17611
17613
  async fetch(options) {
17612
17614
  const variables = this._variables;
17613
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ReportsDocument, "reports", this._includes, variables, true);
17615
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ReportsDocument, "reports", this._includes, variables, true);
17614
17616
  const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
17615
17617
  const data = response.reports;
17616
17618
  const connection = new ReportConnection(this._request, (conn, opts) => new _ReportsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -17627,7 +17629,7 @@ var ReportsQuery = class _ReportsQuery extends chunk4QKWHQT2_cjs.Request {
17627
17629
  const subscriptionId = crypto.randomUUID();
17628
17630
  const includes = this._includes;
17629
17631
  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) }] : []);
17630
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ReportsDocument, "reports", includes, variables, true);
17632
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.ReportsDocument, "reports", includes, variables, true);
17631
17633
  const raw = this._syncEngine.watch(
17632
17634
  queryDoc,
17633
17635
  mergedVars,
@@ -17662,7 +17664,7 @@ var ReportsQuery = class _ReportsQuery extends chunk4QKWHQT2_cjs.Request {
17662
17664
  }
17663
17665
  /** Include insights in this query (Smart Fetch — single HTTP request). */
17664
17666
  insights(variables, builder) {
17665
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Report_InsightsDocument, "insights", ["id"]);
17667
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Report_InsightsDocument, "insights", ["id"]);
17666
17668
  let children;
17667
17669
  if (builder) {
17668
17670
  const sub = new InsightSubBuilder();
@@ -17671,7 +17673,7 @@ var ReportsQuery = class _ReportsQuery extends chunk4QKWHQT2_cjs.Request {
17671
17673
  }
17672
17674
  this._includes.push({
17673
17675
  fieldName: "insights",
17674
- fragmentDoc: chunkFNYE2ZMN_cjs.InsightConnectionFragmentDoc,
17676
+ fragmentDoc: chunkYMIRF4SC_cjs.InsightConnectionFragmentDoc,
17675
17677
  variables,
17676
17678
  isConnection: true,
17677
17679
  isList: false,
@@ -17689,10 +17691,10 @@ var ReportsQuery = class _ReportsQuery extends chunk4QKWHQT2_cjs.Request {
17689
17691
  }
17690
17692
  /** Include layout in this query (Smart Fetch — single HTTP request). */
17691
17693
  layout(variables) {
17692
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Report_LayoutDocument, "layout", ["id"]);
17694
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Report_LayoutDocument, "layout", ["id"]);
17693
17695
  this._includes.push({
17694
17696
  fieldName: "layout",
17695
- fragmentDoc: chunkFNYE2ZMN_cjs.ReportMemberFragmentDoc,
17697
+ fragmentDoc: chunkYMIRF4SC_cjs.ReportMemberFragmentDoc,
17696
17698
  variables,
17697
17699
  isConnection: false,
17698
17700
  isList: true,
@@ -17715,7 +17717,7 @@ var SearchQuery = class extends chunk4QKWHQT2_cjs.Request {
17715
17717
  this._variables = variables;
17716
17718
  }
17717
17719
  async fetch(options) {
17718
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.SearchDocument, "search", this._includes, this._variables);
17720
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.SearchDocument, "search", this._includes, this._variables);
17719
17721
  const response = await this._syncEngine.query(queryDoc, mergedVars, "search");
17720
17722
  const data = response.search;
17721
17723
  if (!Array.isArray(data)) return [];
@@ -17731,7 +17733,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17731
17733
  }
17732
17734
  async fetch(options) {
17733
17735
  const variables = this._variables;
17734
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.TableDocument, "table", this._includes, variables);
17736
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.TableDocument, "table", this._includes, variables);
17735
17737
  const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
17736
17738
  const data = response.table;
17737
17739
  const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
@@ -17743,7 +17745,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17743
17745
  watch(options) {
17744
17746
  const variables = this._variables;
17745
17747
  const includes = this._includes;
17746
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.TableDocument, "table", includes, variables);
17748
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.TableDocument, "table", includes, variables);
17747
17749
  const raw = this._syncEngine.watch(
17748
17750
  queryDoc,
17749
17751
  mergedVars,
@@ -17773,7 +17775,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17773
17775
  }
17774
17776
  /** Include database in this query (Smart Fetch — single HTTP request). */
17775
17777
  database(variables, builder) {
17776
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_DatabaseDocument, "database", ["id"]);
17778
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Table_DatabaseDocument, "database", ["id"]);
17777
17779
  let children;
17778
17780
  if (builder) {
17779
17781
  const sub = new DatabaseSubBuilder();
@@ -17782,7 +17784,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17782
17784
  }
17783
17785
  this._includes.push({
17784
17786
  fieldName: "database",
17785
- fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseFragmentDoc,
17787
+ fragmentDoc: chunkYMIRF4SC_cjs.DatabaseFragmentDoc,
17786
17788
  variables,
17787
17789
  isConnection: false,
17788
17790
  isList: false,
@@ -17799,7 +17801,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17799
17801
  }
17800
17802
  /** Include document in this query (Smart Fetch — single HTTP request). */
17801
17803
  document(variables, builder) {
17802
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_DocumentDocument, "document", ["id"]);
17804
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Table_DocumentDocument, "document", ["id"]);
17803
17805
  let children;
17804
17806
  if (builder) {
17805
17807
  const sub = new DocumentSubBuilder();
@@ -17808,7 +17810,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17808
17810
  }
17809
17811
  this._includes.push({
17810
17812
  fieldName: "document",
17811
- fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFragmentDoc,
17813
+ fragmentDoc: chunkYMIRF4SC_cjs.DocumentFragmentDoc,
17812
17814
  variables,
17813
17815
  isConnection: false,
17814
17816
  isList: false,
@@ -17825,10 +17827,10 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17825
17827
  }
17826
17828
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
17827
17829
  fromRelations(variables) {
17828
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
17830
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
17829
17831
  this._includes.push({
17830
17832
  fieldName: "fromRelations",
17831
- fragmentDoc: chunkFNYE2ZMN_cjs.RelationFragmentDoc,
17833
+ fragmentDoc: chunkYMIRF4SC_cjs.RelationFragmentDoc,
17832
17834
  variables,
17833
17835
  isConnection: false,
17834
17836
  isList: true,
@@ -17844,10 +17846,10 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17844
17846
  }
17845
17847
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
17846
17848
  toRelations(variables) {
17847
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
17849
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
17848
17850
  this._includes.push({
17849
17851
  fieldName: "toRelations",
17850
- fragmentDoc: chunkFNYE2ZMN_cjs.RelationFragmentDoc,
17852
+ fragmentDoc: chunkYMIRF4SC_cjs.RelationFragmentDoc,
17851
17853
  variables,
17852
17854
  isConnection: false,
17853
17855
  isList: true,
@@ -17870,14 +17872,14 @@ var Table_DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
17870
17872
  }
17871
17873
  async fetch(options) {
17872
17874
  const variables = this._variables;
17873
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_DatabaseDocument, variables, "table");
17875
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Table_DatabaseDocument, variables, "table");
17874
17876
  const data = response.table?.database;
17875
17877
  return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17876
17878
  }
17877
17879
  watch(options) {
17878
17880
  const variables = this._variables;
17879
17881
  const raw = this._syncEngine.watch(
17880
- chunkFNYE2ZMN_cjs.Table_DatabaseDocument,
17882
+ chunkYMIRF4SC_cjs.Table_DatabaseDocument,
17881
17883
  variables,
17882
17884
  "table",
17883
17885
  async (db) => {
@@ -17900,14 +17902,14 @@ var Table_Database_EngineQuery = class extends chunk4QKWHQT2_cjs.Request {
17900
17902
  }
17901
17903
  async fetch(options) {
17902
17904
  const variables = this._variables;
17903
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_Database_EngineDocument, variables, "table");
17905
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Table_Database_EngineDocument, variables, "table");
17904
17906
  const data = response.table?.database?.engine;
17905
17907
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17906
17908
  }
17907
17909
  watch(options) {
17908
17910
  const variables = this._variables;
17909
17911
  const raw = this._syncEngine.watch(
17910
- chunkFNYE2ZMN_cjs.Table_Database_EngineDocument,
17912
+ chunkYMIRF4SC_cjs.Table_Database_EngineDocument,
17911
17913
  variables,
17912
17914
  "table",
17913
17915
  async (db) => {
@@ -17930,14 +17932,14 @@ var Table_DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
17930
17932
  }
17931
17933
  async fetch(options) {
17932
17934
  const variables = this._variables;
17933
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_DocumentDocument, variables, "table");
17935
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Table_DocumentDocument, variables, "table");
17934
17936
  const data = response.table?.document;
17935
17937
  return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17936
17938
  }
17937
17939
  watch(options) {
17938
17940
  const variables = this._variables;
17939
17941
  const raw = this._syncEngine.watch(
17940
- chunkFNYE2ZMN_cjs.Table_DocumentDocument,
17942
+ chunkYMIRF4SC_cjs.Table_DocumentDocument,
17941
17943
  variables,
17942
17944
  "table",
17943
17945
  async (db) => {
@@ -17959,7 +17961,7 @@ var Table_Document_ContentsQuery = class extends chunk4QKWHQT2_cjs.Request {
17959
17961
  this._variables = variables;
17960
17962
  }
17961
17963
  async fetch(options) {
17962
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_Document_ContentsDocument, this._variables, "table");
17964
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Table_Document_ContentsDocument, this._variables, "table");
17963
17965
  const data = response.table?.document?.contents;
17964
17966
  if (!Array.isArray(data)) return [];
17965
17967
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -17973,14 +17975,14 @@ var Table_Document_FileQuery = class extends chunk4QKWHQT2_cjs.Request {
17973
17975
  }
17974
17976
  async fetch(options) {
17975
17977
  const variables = this._variables;
17976
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_Document_FileDocument, variables, "table");
17978
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Table_Document_FileDocument, variables, "table");
17977
17979
  const data = response.table?.document?.file;
17978
17980
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17979
17981
  }
17980
17982
  watch(options) {
17981
17983
  const variables = this._variables;
17982
17984
  const raw = this._syncEngine.watch(
17983
- chunkFNYE2ZMN_cjs.Table_Document_FileDocument,
17985
+ chunkYMIRF4SC_cjs.Table_Document_FileDocument,
17984
17986
  variables,
17985
17987
  "table",
17986
17988
  async (db) => {
@@ -18003,14 +18005,14 @@ var Table_Document_FormatQuery = class extends chunk4QKWHQT2_cjs.Request {
18003
18005
  }
18004
18006
  async fetch(options) {
18005
18007
  const variables = this._variables;
18006
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_Document_FormatDocument, variables, "table");
18008
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Table_Document_FormatDocument, variables, "table");
18007
18009
  const data = response.table?.document?.format;
18008
18010
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
18009
18011
  }
18010
18012
  watch(options) {
18011
18013
  const variables = this._variables;
18012
18014
  const raw = this._syncEngine.watch(
18013
- chunkFNYE2ZMN_cjs.Table_Document_FormatDocument,
18015
+ chunkYMIRF4SC_cjs.Table_Document_FormatDocument,
18014
18016
  variables,
18015
18017
  "table",
18016
18018
  async (db) => {
@@ -18032,7 +18034,7 @@ var Table_FromRelationsQuery = class extends chunk4QKWHQT2_cjs.Request {
18032
18034
  this._variables = variables;
18033
18035
  }
18034
18036
  async fetch(options) {
18035
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_FromRelationsDocument, this._variables, "table");
18037
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Table_FromRelationsDocument, this._variables, "table");
18036
18038
  const data = response.table?.fromRelations;
18037
18039
  if (!Array.isArray(data)) return [];
18038
18040
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -18045,7 +18047,7 @@ var Table_ToRelationsQuery = class extends chunk4QKWHQT2_cjs.Request {
18045
18047
  this._variables = variables;
18046
18048
  }
18047
18049
  async fetch(options) {
18048
- const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_ToRelationsDocument, this._variables, "table");
18050
+ const response = await this._syncEngine.query(chunkYMIRF4SC_cjs.Table_ToRelationsDocument, this._variables, "table");
18049
18051
  const data = response.table?.toRelations;
18050
18052
  if (!Array.isArray(data)) return [];
18051
18053
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -18060,7 +18062,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18060
18062
  }
18061
18063
  async fetch(options) {
18062
18064
  const variables = this._variables;
18063
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.TablesDocument, "tables", this._includes, variables, true);
18065
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.TablesDocument, "tables", this._includes, variables, true);
18064
18066
  const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
18065
18067
  const data = response.tables;
18066
18068
  const connection = new TableConnection(this._request, (conn, opts) => new _TablesQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
@@ -18077,7 +18079,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18077
18079
  const subscriptionId = crypto.randomUUID();
18078
18080
  const includes = this._includes;
18079
18081
  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) }] : []);
18080
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.TablesDocument, "tables", includes, variables, true);
18082
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.TablesDocument, "tables", includes, variables, true);
18081
18083
  const raw = this._syncEngine.watch(
18082
18084
  queryDoc,
18083
18085
  mergedVars,
@@ -18112,7 +18114,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18112
18114
  }
18113
18115
  /** Include database in this query (Smart Fetch — single HTTP request). */
18114
18116
  database(variables, builder) {
18115
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_DatabaseDocument, "database", ["id"]);
18117
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Table_DatabaseDocument, "database", ["id"]);
18116
18118
  let children;
18117
18119
  if (builder) {
18118
18120
  const sub = new DatabaseSubBuilder();
@@ -18121,7 +18123,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18121
18123
  }
18122
18124
  this._includes.push({
18123
18125
  fieldName: "database",
18124
- fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseFragmentDoc,
18126
+ fragmentDoc: chunkYMIRF4SC_cjs.DatabaseFragmentDoc,
18125
18127
  variables,
18126
18128
  isConnection: false,
18127
18129
  isList: false,
@@ -18138,7 +18140,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18138
18140
  }
18139
18141
  /** Include document in this query (Smart Fetch — single HTTP request). */
18140
18142
  document(variables, builder) {
18141
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_DocumentDocument, "document", ["id"]);
18143
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Table_DocumentDocument, "document", ["id"]);
18142
18144
  let children;
18143
18145
  if (builder) {
18144
18146
  const sub = new DocumentSubBuilder();
@@ -18147,7 +18149,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18147
18149
  }
18148
18150
  this._includes.push({
18149
18151
  fieldName: "document",
18150
- fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFragmentDoc,
18152
+ fragmentDoc: chunkYMIRF4SC_cjs.DocumentFragmentDoc,
18151
18153
  variables,
18152
18154
  isConnection: false,
18153
18155
  isList: false,
@@ -18164,10 +18166,10 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18164
18166
  }
18165
18167
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
18166
18168
  fromRelations(variables) {
18167
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18169
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18168
18170
  this._includes.push({
18169
18171
  fieldName: "fromRelations",
18170
- fragmentDoc: chunkFNYE2ZMN_cjs.RelationFragmentDoc,
18172
+ fragmentDoc: chunkYMIRF4SC_cjs.RelationFragmentDoc,
18171
18173
  variables,
18172
18174
  isConnection: false,
18173
18175
  isList: true,
@@ -18183,10 +18185,10 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18183
18185
  }
18184
18186
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
18185
18187
  toRelations(variables) {
18186
- const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18188
+ const info = extractIncludeInfo(chunkYMIRF4SC_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18187
18189
  this._includes.push({
18188
18190
  fieldName: "toRelations",
18189
- fragmentDoc: chunkFNYE2ZMN_cjs.RelationFragmentDoc,
18191
+ fragmentDoc: chunkYMIRF4SC_cjs.RelationFragmentDoc,
18190
18192
  variables,
18191
18193
  isConnection: false,
18192
18194
  isList: true,
@@ -18210,7 +18212,7 @@ var UserSkillFileQuery = class extends chunk4QKWHQT2_cjs.Request {
18210
18212
  }
18211
18213
  async fetch(options) {
18212
18214
  const variables = this._variables;
18213
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
18215
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
18214
18216
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
18215
18217
  const data = response.userSkillFile;
18216
18218
  const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -18222,7 +18224,7 @@ var UserSkillFileQuery = class extends chunk4QKWHQT2_cjs.Request {
18222
18224
  watch(options) {
18223
18225
  const variables = this._variables;
18224
18226
  const includes = this._includes;
18225
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
18227
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
18226
18228
  const raw = this._syncEngine.watch(
18227
18229
  queryDoc,
18228
18230
  mergedVars,
@@ -18259,7 +18261,7 @@ var UserSkillFilesQuery = class extends chunk4QKWHQT2_cjs.Request {
18259
18261
  this._variables = variables;
18260
18262
  }
18261
18263
  async fetch(options) {
18262
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
18264
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
18263
18265
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
18264
18266
  const data = response.userSkillFiles;
18265
18267
  if (!Array.isArray(data)) return [];
@@ -18275,7 +18277,7 @@ var UserSkillFolderQuery = class extends chunk4QKWHQT2_cjs.Request {
18275
18277
  }
18276
18278
  async fetch(options) {
18277
18279
  const variables = this._variables;
18278
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
18280
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
18279
18281
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
18280
18282
  const data = response.userSkillFolder;
18281
18283
  const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -18287,7 +18289,7 @@ var UserSkillFolderQuery = class extends chunk4QKWHQT2_cjs.Request {
18287
18289
  watch(options) {
18288
18290
  const variables = this._variables;
18289
18291
  const includes = this._includes;
18290
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
18292
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
18291
18293
  const raw = this._syncEngine.watch(
18292
18294
  queryDoc,
18293
18295
  mergedVars,
@@ -18324,7 +18326,7 @@ var UserSkillFoldersQuery = class extends chunk4QKWHQT2_cjs.Request {
18324
18326
  this._variables = variables;
18325
18327
  }
18326
18328
  async fetch(options) {
18327
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
18329
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
18328
18330
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
18329
18331
  const data = response.userSkillFolders;
18330
18332
  if (!Array.isArray(data)) return [];
@@ -18340,7 +18342,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk4QKWHQT2_cjs.Request {
18340
18342
  }
18341
18343
  async fetch(options) {
18342
18344
  const variables = this._variables;
18343
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
18345
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
18344
18346
  const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
18345
18347
  const data = response.workspaceDeletionSchedule;
18346
18348
  if (!data) return void 0;
@@ -18353,7 +18355,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk4QKWHQT2_cjs.Request {
18353
18355
  watch(options) {
18354
18356
  const variables = this._variables;
18355
18357
  const includes = this._includes;
18356
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
18358
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkYMIRF4SC_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
18357
18359
  const raw = this._syncEngine.watch(
18358
18360
  queryDoc,
18359
18361
  mergedVars,
@@ -18385,7 +18387,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk4QKWHQT2_cjs.Request {
18385
18387
  };
18386
18388
  var McpAuthUpdatesSubscription = class extends chunk4QKWHQT2_cjs.Request {
18387
18389
  async *subscribe(variables) {
18388
- for await (const response of this._subscribe(chunkFNYE2ZMN_cjs.McpAuthUpdatesDocument, variables)) {
18390
+ for await (const response of this._subscribe(chunkYMIRF4SC_cjs.McpAuthUpdatesDocument, variables)) {
18389
18391
  const data = response.mcpAuthUpdates;
18390
18392
  yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
18391
18393
  }
@@ -18393,12 +18395,12 @@ var McpAuthUpdatesSubscription = class extends chunk4QKWHQT2_cjs.Request {
18393
18395
  };
18394
18396
  var SendMessageStreamSubscription = class extends chunk4QKWHQT2_cjs.Request {
18395
18397
  subscribe(variables) {
18396
- return this._subscribe(chunkFNYE2ZMN_cjs.SendMessageStreamDocument, variables);
18398
+ return this._subscribe(chunkYMIRF4SC_cjs.SendMessageStreamDocument, variables);
18397
18399
  }
18398
18400
  };
18399
18401
  var TokenUsageUpdatesSubscription = class extends chunk4QKWHQT2_cjs.Request {
18400
18402
  async *subscribe(variables) {
18401
- for await (const response of this._subscribe(chunkFNYE2ZMN_cjs.TokenUsageUpdatesDocument, variables)) {
18403
+ for await (const response of this._subscribe(chunkYMIRF4SC_cjs.TokenUsageUpdatesDocument, variables)) {
18402
18404
  const data = response.tokenUsageUpdates;
18403
18405
  yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
18404
18406
  }
@@ -19289,5 +19291,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
19289
19291
  exports.reconstructConnectionNodes = reconstructConnectionNodes;
19290
19292
  exports.reconstructEntity = reconstructEntity;
19291
19293
  exports.uploadFile = uploadFile;
19292
- //# sourceMappingURL=chunk-ZQQYRZ7N.cjs.map
19293
- //# sourceMappingURL=chunk-ZQQYRZ7N.cjs.map
19294
+ //# sourceMappingURL=chunk-UVFQIMJE.cjs.map
19295
+ //# sourceMappingURL=chunk-UVFQIMJE.cjs.map