@dvina/sdk 4.0.55 → 4.0.75

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