@dvina/sdk 4.0.36 → 4.0.68

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 chunkZFR7CX4F_cjs = require('./chunk-ZFR7CX4F.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
@@ -6998,7 +6998,7 @@ function createWsTransport(options) {
6998
6998
  }
6999
6999
 
7000
7000
  // src/_generated_store.ts
7001
- var SCHEMA_HASH = "7a9391756acc38a6";
7001
+ var SCHEMA_HASH = "04e320a007a4cbc3";
7002
7002
  var DB_ENTITY_SCHEMA = {
7003
7003
  actions: "id",
7004
7004
  agents: "id",
@@ -7019,6 +7019,7 @@ var DB_ENTITY_SCHEMA = {
7019
7019
  feedback: "id, &chatMessageId",
7020
7020
  files: "id",
7021
7021
  folders: "id",
7022
+ inferenceRequestAudits: "id",
7022
7023
  insights: "id",
7023
7024
  integrationCatalogs: "providerKey",
7024
7025
  integrationProviders: "key",
@@ -7070,6 +7071,7 @@ var TYPENAME_TO_TABLE = {
7070
7071
  Feedback: "feedback",
7071
7072
  File: "files",
7072
7073
  Folder: "folders",
7074
+ InferenceRequestAudit: "inferenceRequestAudits",
7073
7075
  Insight: "insights",
7074
7076
  Integration: "integrations",
7075
7077
  IntegrationCatalog: "integrationCatalogs",
@@ -7121,6 +7123,7 @@ var TABLE_TO_TYPENAME = {
7121
7123
  feedback: "Feedback",
7122
7124
  files: "File",
7123
7125
  folders: "Folder",
7126
+ inferenceRequestAudits: "InferenceRequestAudit",
7124
7127
  insights: "Insight",
7125
7128
  integrationCatalogs: "IntegrationCatalog",
7126
7129
  integrationProviders: "IntegrationProvider",
@@ -9495,7 +9498,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
9495
9498
  var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
9496
9499
  var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
9497
9500
  async function uploadFile(request, getToken, file, name, options) {
9498
- const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-ZGDAJYZQ.cjs');
9501
+ const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-RUDN7QFR.cjs');
9499
9502
  const key = `upload_${Date.now()}`;
9500
9503
  const response = await request(
9501
9504
  GenerateUploadUriDocument2,
@@ -10742,6 +10745,53 @@ var IndexContentObject = class extends DvinaModel {
10742
10745
  this.metadata = data.metadata;
10743
10746
  }
10744
10747
  };
10748
+ var InferenceRequestAudit = class extends DvinaModel {
10749
+ assistantResponse;
10750
+ createdAt;
10751
+ deploymentId;
10752
+ errorMessage;
10753
+ gatewayRequestId;
10754
+ gatewayRequestIdHeader;
10755
+ httpStatus;
10756
+ id;
10757
+ model;
10758
+ operation;
10759
+ provider;
10760
+ providerRequestId;
10761
+ providerRequestIdHeader;
10762
+ requestCompletedAt;
10763
+ requestStartedAt;
10764
+ status;
10765
+ stream;
10766
+ updatedAt;
10767
+ userId;
10768
+ userMessage;
10769
+ workspaceId;
10770
+ constructor(request, data, syncEngine, baseUrl) {
10771
+ super(request, syncEngine, baseUrl);
10772
+ this.assistantResponse = data.assistantResponse ?? void 0;
10773
+ this.createdAt = new Date(data.createdAt);
10774
+ this.deploymentId = data.deploymentId ?? void 0;
10775
+ this.errorMessage = data.errorMessage ?? void 0;
10776
+ this.gatewayRequestId = data.gatewayRequestId ?? void 0;
10777
+ this.gatewayRequestIdHeader = data.gatewayRequestIdHeader ?? void 0;
10778
+ this.httpStatus = data.httpStatus ?? void 0;
10779
+ this.id = data.id;
10780
+ this.model = data.model ?? void 0;
10781
+ this.operation = data.operation ?? void 0;
10782
+ this.provider = data.provider ?? void 0;
10783
+ this.providerRequestId = data.providerRequestId ?? void 0;
10784
+ this.providerRequestIdHeader = data.providerRequestIdHeader ?? void 0;
10785
+ this.requestCompletedAt = data.requestCompletedAt ? new Date(data.requestCompletedAt) : void 0;
10786
+ this.requestStartedAt = data.requestStartedAt ? new Date(data.requestStartedAt) : void 0;
10787
+ this.status = data.status;
10788
+ this.stream = data.stream ?? void 0;
10789
+ this.updatedAt = new Date(data.updatedAt);
10790
+ this.userId = data.userId ?? void 0;
10791
+ this.userMessage = data.userMessage ?? void 0;
10792
+ this.workspaceId = data.workspaceId ?? void 0;
10793
+ }
10794
+ };
10745
10795
  var Insight = class extends DvinaModel {
10746
10796
  createdAt;
10747
10797
  description;
@@ -11812,7 +11862,7 @@ var AgentSubBuilder = class {
11812
11862
  _includes = [];
11813
11863
  /** Include chats in the parent query. */
11814
11864
  chats(variables, builder) {
11815
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Agent_ChatsDocument, "chats", ["id"]);
11865
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Agent_ChatsDocument, "chats", ["id"]);
11816
11866
  let children;
11817
11867
  if (builder) {
11818
11868
  const sub = new ChatSubBuilder();
@@ -11821,7 +11871,7 @@ var AgentSubBuilder = class {
11821
11871
  }
11822
11872
  this._includes.push({
11823
11873
  fieldName: "chats",
11824
- fragmentDoc: chunkZFR7CX4F_cjs.ChatConnectionFragmentDoc,
11874
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatConnectionFragmentDoc,
11825
11875
  variables,
11826
11876
  isConnection: true,
11827
11877
  isList: false,
@@ -11843,7 +11893,7 @@ var ArtifactSubBuilder = class {
11843
11893
  _includes = [];
11844
11894
  /** Include chat in the parent query. */
11845
11895
  chat(variables, builder) {
11846
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_ChatDocument, "chat", ["id"]);
11896
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_ChatDocument, "chat", ["id"]);
11847
11897
  let children;
11848
11898
  if (builder) {
11849
11899
  const sub = new ChatSubBuilder();
@@ -11852,7 +11902,7 @@ var ArtifactSubBuilder = class {
11852
11902
  }
11853
11903
  this._includes.push({
11854
11904
  fieldName: "chat",
11855
- fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
11905
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
11856
11906
  variables,
11857
11907
  isConnection: false,
11858
11908
  isList: false,
@@ -11869,10 +11919,10 @@ var ArtifactSubBuilder = class {
11869
11919
  }
11870
11920
  /** Include file in the parent query. */
11871
11921
  file(variables) {
11872
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_FileDocument, "file", ["id"]);
11922
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_FileDocument, "file", ["id"]);
11873
11923
  this._includes.push({
11874
11924
  fieldName: "file",
11875
- fragmentDoc: chunkZFR7CX4F_cjs.FileFragmentDoc,
11925
+ fragmentDoc: chunkFNYE2ZMN_cjs.FileFragmentDoc,
11876
11926
  variables,
11877
11927
  isConnection: false,
11878
11928
  isList: false,
@@ -11888,7 +11938,7 @@ var ArtifactSubBuilder = class {
11888
11938
  }
11889
11939
  /** Include message in the parent query. */
11890
11940
  message(variables, builder) {
11891
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_MessageDocument, "message", ["id"]);
11941
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_MessageDocument, "message", ["id"]);
11892
11942
  let children;
11893
11943
  if (builder) {
11894
11944
  const sub = new ChatMessageSubBuilder();
@@ -11897,7 +11947,7 @@ var ArtifactSubBuilder = class {
11897
11947
  }
11898
11948
  this._includes.push({
11899
11949
  fieldName: "message",
11900
- fragmentDoc: chunkZFR7CX4F_cjs.ChatMessageFragmentDoc,
11950
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatMessageFragmentDoc,
11901
11951
  variables,
11902
11952
  isConnection: false,
11903
11953
  isList: false,
@@ -11918,7 +11968,7 @@ var ChatSubBuilder = class {
11918
11968
  _includes = [];
11919
11969
  /** Include agents in the parent query. */
11920
11970
  agents(variables, builder) {
11921
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_AgentsDocument, "agents", ["id"]);
11971
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_AgentsDocument, "agents", ["id"]);
11922
11972
  let children;
11923
11973
  if (builder) {
11924
11974
  const sub = new AgentSubBuilder();
@@ -11927,7 +11977,7 @@ var ChatSubBuilder = class {
11927
11977
  }
11928
11978
  this._includes.push({
11929
11979
  fieldName: "agents",
11930
- fragmentDoc: chunkZFR7CX4F_cjs.AgentConnectionFragmentDoc,
11980
+ fragmentDoc: chunkFNYE2ZMN_cjs.AgentConnectionFragmentDoc,
11931
11981
  variables,
11932
11982
  isConnection: true,
11933
11983
  isList: false,
@@ -11945,7 +11995,7 @@ var ChatSubBuilder = class {
11945
11995
  }
11946
11996
  /** Include artifacts in the parent query. */
11947
11997
  artifacts(variables, builder) {
11948
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
11998
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
11949
11999
  let children;
11950
12000
  if (builder) {
11951
12001
  const sub = new ArtifactSubBuilder();
@@ -11954,7 +12004,7 @@ var ChatSubBuilder = class {
11954
12004
  }
11955
12005
  this._includes.push({
11956
12006
  fieldName: "artifacts",
11957
- fragmentDoc: chunkZFR7CX4F_cjs.ArtifactConnectionFragmentDoc,
12007
+ fragmentDoc: chunkFNYE2ZMN_cjs.ArtifactConnectionFragmentDoc,
11958
12008
  variables,
11959
12009
  isConnection: true,
11960
12010
  isList: false,
@@ -11972,7 +12022,7 @@ var ChatSubBuilder = class {
11972
12022
  }
11973
12023
  /** Include insight in the parent query. */
11974
12024
  insight(variables, builder) {
11975
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_InsightDocument, "insight", ["id"]);
12025
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_InsightDocument, "insight", ["id"]);
11976
12026
  let children;
11977
12027
  if (builder) {
11978
12028
  const sub = new InsightSubBuilder();
@@ -11981,7 +12031,7 @@ var ChatSubBuilder = class {
11981
12031
  }
11982
12032
  this._includes.push({
11983
12033
  fieldName: "insight",
11984
- fragmentDoc: chunkZFR7CX4F_cjs.InsightFragmentDoc,
12034
+ fragmentDoc: chunkFNYE2ZMN_cjs.InsightFragmentDoc,
11985
12035
  variables,
11986
12036
  isConnection: false,
11987
12037
  isList: false,
@@ -11998,7 +12048,7 @@ var ChatSubBuilder = class {
11998
12048
  }
11999
12049
  /** Include messages in the parent query. */
12000
12050
  messages(variables, builder) {
12001
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_MessagesDocument, "messages", ["id"]);
12051
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_MessagesDocument, "messages", ["id"]);
12002
12052
  let children;
12003
12053
  if (builder) {
12004
12054
  const sub = new ChatMessageSubBuilder();
@@ -12007,7 +12057,7 @@ var ChatSubBuilder = class {
12007
12057
  }
12008
12058
  this._includes.push({
12009
12059
  fieldName: "messages",
12010
- fragmentDoc: chunkZFR7CX4F_cjs.ChatMessageConnectionFragmentDoc,
12060
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatMessageConnectionFragmentDoc,
12011
12061
  variables,
12012
12062
  isConnection: true,
12013
12063
  isList: false,
@@ -12029,7 +12079,7 @@ var ChatMessageSubBuilder = class {
12029
12079
  _includes = [];
12030
12080
  /** Include artifacts in the parent query. */
12031
12081
  artifacts(variables, builder) {
12032
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
12082
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
12033
12083
  let children;
12034
12084
  if (builder) {
12035
12085
  const sub = new ArtifactSubBuilder();
@@ -12038,7 +12088,7 @@ var ChatMessageSubBuilder = class {
12038
12088
  }
12039
12089
  this._includes.push({
12040
12090
  fieldName: "artifacts",
12041
- fragmentDoc: chunkZFR7CX4F_cjs.ArtifactConnectionFragmentDoc,
12091
+ fragmentDoc: chunkFNYE2ZMN_cjs.ArtifactConnectionFragmentDoc,
12042
12092
  variables,
12043
12093
  isConnection: true,
12044
12094
  isList: false,
@@ -12056,7 +12106,7 @@ var ChatMessageSubBuilder = class {
12056
12106
  }
12057
12107
  /** Include chat in the parent query. */
12058
12108
  chat(variables, builder) {
12059
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
12109
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
12060
12110
  let children;
12061
12111
  if (builder) {
12062
12112
  const sub = new ChatSubBuilder();
@@ -12065,7 +12115,7 @@ var ChatMessageSubBuilder = class {
12065
12115
  }
12066
12116
  this._includes.push({
12067
12117
  fieldName: "chat",
12068
- fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
12118
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
12069
12119
  variables,
12070
12120
  isConnection: false,
12071
12121
  isList: false,
@@ -12082,10 +12132,10 @@ var ChatMessageSubBuilder = class {
12082
12132
  }
12083
12133
  /** Include contents in the parent query. */
12084
12134
  contents(variables) {
12085
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
12135
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
12086
12136
  this._includes.push({
12087
12137
  fieldName: "contents",
12088
- fragmentDoc: chunkZFR7CX4F_cjs.ContentBlockFragmentDoc,
12138
+ fragmentDoc: chunkFNYE2ZMN_cjs.ContentBlockFragmentDoc,
12089
12139
  variables,
12090
12140
  isConnection: false,
12091
12141
  isList: true,
@@ -12101,10 +12151,10 @@ var ChatMessageSubBuilder = class {
12101
12151
  }
12102
12152
  /** Include feedback in the parent query. */
12103
12153
  feedback(variables) {
12104
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
12154
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
12105
12155
  this._includes.push({
12106
12156
  fieldName: "feedback",
12107
- fragmentDoc: chunkZFR7CX4F_cjs.FeedbackFragmentDoc,
12157
+ fragmentDoc: chunkFNYE2ZMN_cjs.FeedbackFragmentDoc,
12108
12158
  variables,
12109
12159
  isConnection: false,
12110
12160
  isList: false,
@@ -12124,10 +12174,10 @@ var DatabaseSubBuilder = class {
12124
12174
  _includes = [];
12125
12175
  /** Include engine in the parent query. */
12126
12176
  engine(variables) {
12127
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Database_EngineDocument, "engine", ["id"]);
12177
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Database_EngineDocument, "engine", ["id"]);
12128
12178
  this._includes.push({
12129
12179
  fieldName: "engine",
12130
- fragmentDoc: chunkZFR7CX4F_cjs.DatabaseEngineFragmentDoc,
12180
+ fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseEngineFragmentDoc,
12131
12181
  variables,
12132
12182
  isConnection: false,
12133
12183
  isList: false,
@@ -12143,7 +12193,7 @@ var DatabaseSubBuilder = class {
12143
12193
  }
12144
12194
  /** Include tables in the parent query. */
12145
12195
  tables(variables, builder) {
12146
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Database_TablesDocument, "tables", ["id"]);
12196
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Database_TablesDocument, "tables", ["id"]);
12147
12197
  let children;
12148
12198
  if (builder) {
12149
12199
  const sub = new TableSubBuilder();
@@ -12152,7 +12202,7 @@ var DatabaseSubBuilder = class {
12152
12202
  }
12153
12203
  this._includes.push({
12154
12204
  fieldName: "tables",
12155
- fragmentDoc: chunkZFR7CX4F_cjs.TableConnectionFragmentDoc,
12205
+ fragmentDoc: chunkFNYE2ZMN_cjs.TableConnectionFragmentDoc,
12156
12206
  variables,
12157
12207
  isConnection: true,
12158
12208
  isList: false,
@@ -12174,10 +12224,10 @@ var DatabaseCatalogSubBuilder = class {
12174
12224
  _includes = [];
12175
12225
  /** Include engine in the parent query. */
12176
12226
  engine(variables) {
12177
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.DatabaseCatalog_EngineDocument, "engine", []);
12227
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.DatabaseCatalog_EngineDocument, "engine", []);
12178
12228
  this._includes.push({
12179
12229
  fieldName: "engine",
12180
- fragmentDoc: chunkZFR7CX4F_cjs.DatabaseEngineFragmentDoc,
12230
+ fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseEngineFragmentDoc,
12181
12231
  variables,
12182
12232
  isConnection: false,
12183
12233
  isList: false,
@@ -12197,10 +12247,10 @@ var DocumentSubBuilder = class {
12197
12247
  _includes = [];
12198
12248
  /** Include contents in the parent query. */
12199
12249
  contents(variables) {
12200
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_ContentsDocument, "contents", ["id"]);
12250
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_ContentsDocument, "contents", ["id"]);
12201
12251
  this._includes.push({
12202
12252
  fieldName: "contents",
12203
- fragmentDoc: chunkZFR7CX4F_cjs.DocumentContentFragmentDoc,
12253
+ fragmentDoc: chunkFNYE2ZMN_cjs.DocumentContentFragmentDoc,
12204
12254
  variables,
12205
12255
  isConnection: false,
12206
12256
  isList: true,
@@ -12216,10 +12266,10 @@ var DocumentSubBuilder = class {
12216
12266
  }
12217
12267
  /** Include file in the parent query. */
12218
12268
  file(variables) {
12219
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_FileDocument, "file", ["id"]);
12269
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_FileDocument, "file", ["id"]);
12220
12270
  this._includes.push({
12221
12271
  fieldName: "file",
12222
- fragmentDoc: chunkZFR7CX4F_cjs.FileFragmentDoc,
12272
+ fragmentDoc: chunkFNYE2ZMN_cjs.FileFragmentDoc,
12223
12273
  variables,
12224
12274
  isConnection: false,
12225
12275
  isList: false,
@@ -12235,10 +12285,10 @@ var DocumentSubBuilder = class {
12235
12285
  }
12236
12286
  /** Include format in the parent query. */
12237
12287
  format(variables) {
12238
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_FormatDocument, "format", ["id"]);
12288
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_FormatDocument, "format", ["id"]);
12239
12289
  this._includes.push({
12240
12290
  fieldName: "format",
12241
- fragmentDoc: chunkZFR7CX4F_cjs.DocumentFormatFragmentDoc,
12291
+ fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFormatFragmentDoc,
12242
12292
  variables,
12243
12293
  isConnection: false,
12244
12294
  isList: false,
@@ -12254,7 +12304,7 @@ var DocumentSubBuilder = class {
12254
12304
  }
12255
12305
  /** Include tables in the parent query. */
12256
12306
  tables(variables, builder) {
12257
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_TablesDocument, "tables", ["id"]);
12307
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_TablesDocument, "tables", ["id"]);
12258
12308
  let children;
12259
12309
  if (builder) {
12260
12310
  const sub = new TableSubBuilder();
@@ -12263,7 +12313,7 @@ var DocumentSubBuilder = class {
12263
12313
  }
12264
12314
  this._includes.push({
12265
12315
  fieldName: "tables",
12266
- fragmentDoc: chunkZFR7CX4F_cjs.TableConnectionFragmentDoc,
12316
+ fragmentDoc: chunkFNYE2ZMN_cjs.TableConnectionFragmentDoc,
12267
12317
  variables,
12268
12318
  isConnection: true,
12269
12319
  isList: false,
@@ -12285,10 +12335,10 @@ var DocumentCatalogSubBuilder = class {
12285
12335
  _includes = [];
12286
12336
  /** Include format in the parent query. */
12287
12337
  format(variables) {
12288
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.DocumentCatalog_FormatDocument, "format", []);
12338
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.DocumentCatalog_FormatDocument, "format", []);
12289
12339
  this._includes.push({
12290
12340
  fieldName: "format",
12291
- fragmentDoc: chunkZFR7CX4F_cjs.DocumentFormatFragmentDoc,
12341
+ fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFormatFragmentDoc,
12292
12342
  variables,
12293
12343
  isConnection: false,
12294
12344
  isList: false,
@@ -12308,7 +12358,7 @@ var InsightSubBuilder = class {
12308
12358
  _includes = [];
12309
12359
  /** Include chat in the parent query. */
12310
12360
  chat(variables, builder) {
12311
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ChatDocument, "chat", ["id"]);
12361
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ChatDocument, "chat", ["id"]);
12312
12362
  let children;
12313
12363
  if (builder) {
12314
12364
  const sub = new ChatSubBuilder();
@@ -12317,7 +12367,7 @@ var InsightSubBuilder = class {
12317
12367
  }
12318
12368
  this._includes.push({
12319
12369
  fieldName: "chat",
12320
- fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
12370
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
12321
12371
  variables,
12322
12372
  isConnection: false,
12323
12373
  isList: false,
@@ -12334,10 +12384,10 @@ var InsightSubBuilder = class {
12334
12384
  }
12335
12385
  /** Include reportMembers in the parent query. */
12336
12386
  reportMembers(variables) {
12337
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
12387
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
12338
12388
  this._includes.push({
12339
12389
  fieldName: "reportMembers",
12340
- fragmentDoc: chunkZFR7CX4F_cjs.ReportMemberFragmentDoc,
12390
+ fragmentDoc: chunkFNYE2ZMN_cjs.ReportMemberFragmentDoc,
12341
12391
  variables,
12342
12392
  isConnection: false,
12343
12393
  isList: true,
@@ -12353,7 +12403,7 @@ var InsightSubBuilder = class {
12353
12403
  }
12354
12404
  /** Include reports in the parent query. */
12355
12405
  reports(variables, builder) {
12356
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ReportsDocument, "reports", ["id"]);
12406
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ReportsDocument, "reports", ["id"]);
12357
12407
  let children;
12358
12408
  if (builder) {
12359
12409
  const sub = new ReportSubBuilder();
@@ -12362,7 +12412,7 @@ var InsightSubBuilder = class {
12362
12412
  }
12363
12413
  this._includes.push({
12364
12414
  fieldName: "reports",
12365
- fragmentDoc: chunkZFR7CX4F_cjs.ReportConnectionFragmentDoc,
12415
+ fragmentDoc: chunkFNYE2ZMN_cjs.ReportConnectionFragmentDoc,
12366
12416
  variables,
12367
12417
  isConnection: true,
12368
12418
  isList: false,
@@ -12384,10 +12434,10 @@ var IntegrationSubBuilder = class {
12384
12434
  _includes = [];
12385
12435
  /** Include provider in the parent query. */
12386
12436
  provider(variables) {
12387
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Integration_ProviderDocument, "provider", ["id"]);
12437
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Integration_ProviderDocument, "provider", ["id"]);
12388
12438
  this._includes.push({
12389
12439
  fieldName: "provider",
12390
- fragmentDoc: chunkZFR7CX4F_cjs.IntegrationProviderFragmentDoc,
12440
+ fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationProviderFragmentDoc,
12391
12441
  variables,
12392
12442
  isConnection: false,
12393
12443
  isList: false,
@@ -12407,10 +12457,10 @@ var IntegrationCatalogSubBuilder = class {
12407
12457
  _includes = [];
12408
12458
  /** Include provider in the parent query. */
12409
12459
  provider(variables) {
12410
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
12460
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
12411
12461
  this._includes.push({
12412
12462
  fieldName: "provider",
12413
- fragmentDoc: chunkZFR7CX4F_cjs.IntegrationProviderFragmentDoc,
12463
+ fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationProviderFragmentDoc,
12414
12464
  variables,
12415
12465
  isConnection: false,
12416
12466
  isList: false,
@@ -12430,7 +12480,7 @@ var PulseEventSubBuilder = class {
12430
12480
  _includes = [];
12431
12481
  /** Include integration in the parent query. */
12432
12482
  integration(variables, builder) {
12433
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
12483
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
12434
12484
  let children;
12435
12485
  if (builder) {
12436
12486
  const sub = new IntegrationSubBuilder();
@@ -12439,7 +12489,7 @@ var PulseEventSubBuilder = class {
12439
12489
  }
12440
12490
  this._includes.push({
12441
12491
  fieldName: "integration",
12442
- fragmentDoc: chunkZFR7CX4F_cjs.IntegrationFragmentDoc,
12492
+ fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationFragmentDoc,
12443
12493
  variables,
12444
12494
  isConnection: false,
12445
12495
  isList: false,
@@ -12460,7 +12510,7 @@ var ReportSubBuilder = class {
12460
12510
  _includes = [];
12461
12511
  /** Include insights in the parent query. */
12462
12512
  insights(variables, builder) {
12463
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Report_InsightsDocument, "insights", ["id"]);
12513
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Report_InsightsDocument, "insights", ["id"]);
12464
12514
  let children;
12465
12515
  if (builder) {
12466
12516
  const sub = new InsightSubBuilder();
@@ -12469,7 +12519,7 @@ var ReportSubBuilder = class {
12469
12519
  }
12470
12520
  this._includes.push({
12471
12521
  fieldName: "insights",
12472
- fragmentDoc: chunkZFR7CX4F_cjs.InsightConnectionFragmentDoc,
12522
+ fragmentDoc: chunkFNYE2ZMN_cjs.InsightConnectionFragmentDoc,
12473
12523
  variables,
12474
12524
  isConnection: true,
12475
12525
  isList: false,
@@ -12487,10 +12537,10 @@ var ReportSubBuilder = class {
12487
12537
  }
12488
12538
  /** Include layout in the parent query. */
12489
12539
  layout(variables) {
12490
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Report_LayoutDocument, "layout", ["id"]);
12540
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Report_LayoutDocument, "layout", ["id"]);
12491
12541
  this._includes.push({
12492
12542
  fieldName: "layout",
12493
- fragmentDoc: chunkZFR7CX4F_cjs.ReportMemberFragmentDoc,
12543
+ fragmentDoc: chunkFNYE2ZMN_cjs.ReportMemberFragmentDoc,
12494
12544
  variables,
12495
12545
  isConnection: false,
12496
12546
  isList: true,
@@ -12510,7 +12560,7 @@ var TableSubBuilder = class {
12510
12560
  _includes = [];
12511
12561
  /** Include database in the parent query. */
12512
12562
  database(variables, builder) {
12513
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_DatabaseDocument, "database", ["id"]);
12563
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_DatabaseDocument, "database", ["id"]);
12514
12564
  let children;
12515
12565
  if (builder) {
12516
12566
  const sub = new DatabaseSubBuilder();
@@ -12519,7 +12569,7 @@ var TableSubBuilder = class {
12519
12569
  }
12520
12570
  this._includes.push({
12521
12571
  fieldName: "database",
12522
- fragmentDoc: chunkZFR7CX4F_cjs.DatabaseFragmentDoc,
12572
+ fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseFragmentDoc,
12523
12573
  variables,
12524
12574
  isConnection: false,
12525
12575
  isList: false,
@@ -12536,7 +12586,7 @@ var TableSubBuilder = class {
12536
12586
  }
12537
12587
  /** Include document in the parent query. */
12538
12588
  document(variables, builder) {
12539
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_DocumentDocument, "document", ["id"]);
12589
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_DocumentDocument, "document", ["id"]);
12540
12590
  let children;
12541
12591
  if (builder) {
12542
12592
  const sub = new DocumentSubBuilder();
@@ -12545,7 +12595,7 @@ var TableSubBuilder = class {
12545
12595
  }
12546
12596
  this._includes.push({
12547
12597
  fieldName: "document",
12548
- fragmentDoc: chunkZFR7CX4F_cjs.DocumentFragmentDoc,
12598
+ fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFragmentDoc,
12549
12599
  variables,
12550
12600
  isConnection: false,
12551
12601
  isList: false,
@@ -12562,10 +12612,10 @@ var TableSubBuilder = class {
12562
12612
  }
12563
12613
  /** Include fromRelations in the parent query. */
12564
12614
  fromRelations(variables) {
12565
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
12615
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
12566
12616
  this._includes.push({
12567
12617
  fieldName: "fromRelations",
12568
- fragmentDoc: chunkZFR7CX4F_cjs.RelationFragmentDoc,
12618
+ fragmentDoc: chunkFNYE2ZMN_cjs.RelationFragmentDoc,
12569
12619
  variables,
12570
12620
  isConnection: false,
12571
12621
  isList: true,
@@ -12581,10 +12631,10 @@ var TableSubBuilder = class {
12581
12631
  }
12582
12632
  /** Include toRelations in the parent query. */
12583
12633
  toRelations(variables) {
12584
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
12634
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
12585
12635
  this._includes.push({
12586
12636
  fieldName: "toRelations",
12587
- fragmentDoc: chunkZFR7CX4F_cjs.RelationFragmentDoc,
12637
+ fragmentDoc: chunkFNYE2ZMN_cjs.RelationFragmentDoc,
12588
12638
  variables,
12589
12639
  isConnection: false,
12590
12640
  isList: true,
@@ -12601,422 +12651,422 @@ var TableSubBuilder = class {
12601
12651
  };
12602
12652
  var AcknowledgePulseEventMutation = class extends chunk4QKWHQT2_cjs.Request {
12603
12653
  async fetch(variables, options) {
12604
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.AcknowledgePulseEventDocument, variables, MUTATION_CACHE_RULES["acknowledgePulseEvent"]);
12654
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.AcknowledgePulseEventDocument, variables, MUTATION_CACHE_RULES["acknowledgePulseEvent"]);
12605
12655
  const data = response.acknowledgePulseEvent;
12606
12656
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12607
12657
  }
12608
12658
  };
12609
12659
  var AddInsightToReportMutation = class extends chunk4QKWHQT2_cjs.Request {
12610
12660
  async fetch(variables, options) {
12611
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
12661
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
12612
12662
  const data = response.addInsightToReport;
12613
12663
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
12614
12664
  }
12615
12665
  };
12616
12666
  var CancelOauthFlowMutation = class extends chunk4QKWHQT2_cjs.Request {
12617
12667
  async fetch(variables) {
12618
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
12668
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
12619
12669
  return response.cancelOauthFlow;
12620
12670
  }
12621
12671
  };
12622
12672
  var CancelWorkspaceDeletionMutation = class extends chunk4QKWHQT2_cjs.Request {
12623
12673
  async fetch(variables) {
12624
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
12674
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
12625
12675
  return response.cancelWorkspaceDeletion;
12626
12676
  }
12627
12677
  };
12628
12678
  var ConnectIntegrationMutation = class extends chunk4QKWHQT2_cjs.Request {
12629
12679
  async fetch(variables, options) {
12630
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
12680
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
12631
12681
  const data = response.connectIntegration;
12632
12682
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
12633
12683
  }
12634
12684
  };
12635
12685
  var ContinueImportedChatMutation = class extends chunk4QKWHQT2_cjs.Request {
12636
12686
  async fetch(variables) {
12637
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
12687
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
12638
12688
  return response.continueImportedChat;
12639
12689
  }
12640
12690
  };
12641
12691
  var ContinueInterpretationMutation = class extends chunk4QKWHQT2_cjs.Request {
12642
12692
  async fetch(variables) {
12643
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
12693
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
12644
12694
  return response.continueInterpretation;
12645
12695
  }
12646
12696
  };
12647
12697
  var CreateAgentMutation = class extends chunk4QKWHQT2_cjs.Request {
12648
12698
  async fetch(variables, options) {
12649
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
12699
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
12650
12700
  const data = response.createAgent;
12651
12701
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
12652
12702
  }
12653
12703
  };
12654
12704
  var CreateChatMutation = class extends chunk4QKWHQT2_cjs.Request {
12655
12705
  async fetch(variables, options) {
12656
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
12706
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
12657
12707
  const data = response.createChat;
12658
12708
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
12659
12709
  }
12660
12710
  };
12661
12711
  var CreateDatabaseMutation = class extends chunk4QKWHQT2_cjs.Request {
12662
12712
  async fetch(variables, options) {
12663
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
12713
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
12664
12714
  const data = response.createDatabase;
12665
12715
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
12666
12716
  }
12667
12717
  };
12668
12718
  var CreateDocumentMutation = class extends chunk4QKWHQT2_cjs.Request {
12669
12719
  async fetch(variables, options) {
12670
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
12720
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
12671
12721
  const data = response.createDocument;
12672
12722
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
12673
12723
  }
12674
12724
  };
12675
12725
  var CreateFeedbackMutation = class extends chunk4QKWHQT2_cjs.Request {
12676
12726
  async fetch(variables, options) {
12677
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
12727
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
12678
12728
  const data = response.createFeedback;
12679
12729
  return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
12680
12730
  }
12681
12731
  };
12682
12732
  var CreateFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
12683
12733
  async fetch(variables, options) {
12684
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
12734
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
12685
12735
  const data = response.createFolder;
12686
12736
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
12687
12737
  }
12688
12738
  };
12689
12739
  var CreateInsightMutation = class extends chunk4QKWHQT2_cjs.Request {
12690
12740
  async fetch(variables, options) {
12691
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
12741
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
12692
12742
  const data = response.createInsight;
12693
12743
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
12694
12744
  }
12695
12745
  };
12696
12746
  var CreateIntegrationMutation = class extends chunk4QKWHQT2_cjs.Request {
12697
12747
  async fetch(variables, options) {
12698
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
12748
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
12699
12749
  const data = response.createIntegration;
12700
12750
  return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
12701
12751
  }
12702
12752
  };
12703
12753
  var CreateReportMutation = class extends chunk4QKWHQT2_cjs.Request {
12704
12754
  async fetch(variables, options) {
12705
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
12755
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
12706
12756
  const data = response.createReport;
12707
12757
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
12708
12758
  }
12709
12759
  };
12710
12760
  var CreateTableMutation = class extends chunk4QKWHQT2_cjs.Request {
12711
12761
  async fetch(variables, options) {
12712
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
12762
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
12713
12763
  const data = response.createTable;
12714
12764
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
12715
12765
  }
12716
12766
  };
12717
12767
  var CreateUserSkillFileMutation = class extends chunk4QKWHQT2_cjs.Request {
12718
12768
  async fetch(variables, options) {
12719
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
12769
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
12720
12770
  const data = response.createUserSkillFile;
12721
12771
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
12722
12772
  }
12723
12773
  };
12724
12774
  var CreateUserSkillFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
12725
12775
  async fetch(variables, options) {
12726
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
12776
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
12727
12777
  const data = response.createUserSkillFolder;
12728
12778
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
12729
12779
  }
12730
12780
  };
12731
12781
  var DeleteAgentMutation = class extends chunk4QKWHQT2_cjs.Request {
12732
12782
  async fetch(variables, options) {
12733
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
12783
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
12734
12784
  const data = response.deleteAgent;
12735
12785
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
12736
12786
  }
12737
12787
  };
12738
12788
  var DeleteArtifactMutation = class extends chunk4QKWHQT2_cjs.Request {
12739
12789
  async fetch(variables, options) {
12740
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
12790
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
12741
12791
  const data = response.deleteArtifact;
12742
12792
  return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
12743
12793
  }
12744
12794
  };
12745
12795
  var DeleteChatMutation = class extends chunk4QKWHQT2_cjs.Request {
12746
12796
  async fetch(variables, options) {
12747
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
12797
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
12748
12798
  const data = response.deleteChat;
12749
12799
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
12750
12800
  }
12751
12801
  };
12752
12802
  var DeleteDatabaseMutation = class extends chunk4QKWHQT2_cjs.Request {
12753
12803
  async fetch(variables, options) {
12754
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
12804
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
12755
12805
  const data = response.deleteDatabase;
12756
12806
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
12757
12807
  }
12758
12808
  };
12759
12809
  var DeleteDocumentMutation = class extends chunk4QKWHQT2_cjs.Request {
12760
12810
  async fetch(variables, options) {
12761
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
12811
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
12762
12812
  const data = response.deleteDocument;
12763
12813
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
12764
12814
  }
12765
12815
  };
12766
12816
  var DeleteFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
12767
12817
  async fetch(variables, options) {
12768
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
12818
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
12769
12819
  const data = response.deleteFolder;
12770
12820
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
12771
12821
  }
12772
12822
  };
12773
12823
  var DeleteInsightMutation = class extends chunk4QKWHQT2_cjs.Request {
12774
12824
  async fetch(variables, options) {
12775
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
12825
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
12776
12826
  const data = response.deleteInsight;
12777
12827
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
12778
12828
  }
12779
12829
  };
12780
12830
  var DeleteInsightsMutation = class extends chunk4QKWHQT2_cjs.Request {
12781
12831
  async fetch(variables, options) {
12782
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
12832
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
12783
12833
  const data = response.deleteInsights;
12784
12834
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
12785
12835
  }
12786
12836
  };
12787
12837
  var DeleteIntegrationMutation = class extends chunk4QKWHQT2_cjs.Request {
12788
12838
  async fetch(variables) {
12789
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
12839
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
12790
12840
  return response.deleteIntegration;
12791
12841
  }
12792
12842
  };
12793
12843
  var DeleteReportMutation = class extends chunk4QKWHQT2_cjs.Request {
12794
12844
  async fetch(variables, options) {
12795
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
12845
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
12796
12846
  const data = response.deleteReport;
12797
12847
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
12798
12848
  }
12799
12849
  };
12800
12850
  var DeleteTableMutation = class extends chunk4QKWHQT2_cjs.Request {
12801
12851
  async fetch(variables, options) {
12802
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
12852
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
12803
12853
  const data = response.deleteTable;
12804
12854
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
12805
12855
  }
12806
12856
  };
12807
12857
  var DeleteUserSkillFileMutation = class extends chunk4QKWHQT2_cjs.Request {
12808
12858
  async fetch(variables, options) {
12809
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
12859
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
12810
12860
  const data = response.deleteUserSkillFile;
12811
12861
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
12812
12862
  }
12813
12863
  };
12814
12864
  var DeleteUserSkillFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
12815
12865
  async fetch(variables, options) {
12816
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
12866
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
12817
12867
  const data = response.deleteUserSkillFolder;
12818
12868
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
12819
12869
  }
12820
12870
  };
12821
12871
  var DisconnectIntegrationMutation = class extends chunk4QKWHQT2_cjs.Request {
12822
12872
  async fetch(variables) {
12823
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
12873
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
12824
12874
  return response.disconnectIntegration;
12825
12875
  }
12826
12876
  };
12827
12877
  var DismissPulseEventMutation = class extends chunk4QKWHQT2_cjs.Request {
12828
12878
  async fetch(variables, options) {
12829
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
12879
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
12830
12880
  const data = response.dismissPulseEvent;
12831
12881
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12832
12882
  }
12833
12883
  };
12834
12884
  var ExecuteChatImportMutation = class extends chunk4QKWHQT2_cjs.Request {
12835
12885
  async fetch(variables, options) {
12836
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
12886
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
12837
12887
  const data = response.executeChatImport;
12838
12888
  return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
12839
12889
  }
12840
12890
  };
12841
12891
  var GenerateUploadUriMutation = class extends chunk4QKWHQT2_cjs.Request {
12842
12892
  async fetch(variables, options) {
12843
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
12893
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
12844
12894
  const data = response.generateUploadUri;
12845
12895
  return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
12846
12896
  }
12847
12897
  };
12848
12898
  var MarkPulseEventSeenMutation = class extends chunk4QKWHQT2_cjs.Request {
12849
12899
  async fetch(variables, options) {
12850
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.MarkPulseEventSeenDocument, variables, MUTATION_CACHE_RULES["markPulseEventSeen"]);
12900
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.MarkPulseEventSeenDocument, variables, MUTATION_CACHE_RULES["markPulseEventSeen"]);
12851
12901
  const data = response.markPulseEventSeen;
12852
12902
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12853
12903
  }
12854
12904
  };
12855
12905
  var PreviewChatImportMutation = class extends chunk4QKWHQT2_cjs.Request {
12856
12906
  async fetch(variables, options) {
12857
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
12907
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
12858
12908
  const data = response.previewChatImport;
12859
12909
  return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
12860
12910
  }
12861
12911
  };
12862
12912
  var ReanalyzeDocumentMutation = class extends chunk4QKWHQT2_cjs.Request {
12863
12913
  async fetch(variables, options) {
12864
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
12914
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
12865
12915
  const data = response.reanalyzeDocument;
12866
12916
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
12867
12917
  }
12868
12918
  };
12869
12919
  var RefineMindInstructionMutation = class extends chunk4QKWHQT2_cjs.Request {
12870
12920
  async fetch(variables) {
12871
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
12921
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
12872
12922
  return response.refineMindInstruction;
12873
12923
  }
12874
12924
  };
12875
12925
  var RefreshDatabaseSchemaMutation = class extends chunk4QKWHQT2_cjs.Request {
12876
12926
  async fetch(variables) {
12877
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
12927
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
12878
12928
  return response.refreshDatabaseSchema;
12879
12929
  }
12880
12930
  };
12881
12931
  var ReinterpretSourceMutation = class extends chunk4QKWHQT2_cjs.Request {
12882
12932
  async fetch(variables) {
12883
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
12933
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
12884
12934
  return response.reinterpretSource;
12885
12935
  }
12886
12936
  };
12887
12937
  var ReinterpretSourcesOfuserMutation = class extends chunk4QKWHQT2_cjs.Request {
12888
12938
  async fetch(variables) {
12889
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
12939
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
12890
12940
  return response.reinterpretSourcesOfuser;
12891
12941
  }
12892
12942
  };
12893
12943
  var RelocateInsightMutation = class extends chunk4QKWHQT2_cjs.Request {
12894
12944
  async fetch(variables, options) {
12895
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
12945
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
12896
12946
  const data = response.relocateInsight;
12897
12947
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
12898
12948
  }
12899
12949
  };
12900
12950
  var RemoveInsightFromReportMutation = class extends chunk4QKWHQT2_cjs.Request {
12901
12951
  async fetch(variables, options) {
12902
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
12952
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
12903
12953
  const data = response.removeInsightFromReport;
12904
12954
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
12905
12955
  }
12906
12956
  };
12907
12957
  var ResetWorkspaceMutation = class extends chunk4QKWHQT2_cjs.Request {
12908
12958
  async fetch(variables) {
12909
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
12959
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
12910
12960
  return response.resetWorkspace;
12911
12961
  }
12912
12962
  };
12913
12963
  var ResolvePulseEventMutation = class extends chunk4QKWHQT2_cjs.Request {
12914
12964
  async fetch(variables, options) {
12915
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
12965
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
12916
12966
  const data = response.resolvePulseEvent;
12917
12967
  return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
12918
12968
  }
12919
12969
  };
12920
12970
  var ScheduleWorkspaceDeletionMutation = class extends chunk4QKWHQT2_cjs.Request {
12921
12971
  async fetch(variables, options) {
12922
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
12972
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
12923
12973
  const data = response.scheduleWorkspaceDeletion;
12924
12974
  return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
12925
12975
  }
12926
12976
  };
12927
12977
  var SetDatabasePrimaryKeyMutation = class extends chunk4QKWHQT2_cjs.Request {
12928
12978
  async fetch(variables) {
12929
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
12979
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
12930
12980
  return response.setDatabasePrimaryKey;
12931
12981
  }
12932
12982
  };
12933
12983
  var UpdateAgentMutation = class extends chunk4QKWHQT2_cjs.Request {
12934
12984
  async fetch(variables, options) {
12935
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
12985
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
12936
12986
  const data = response.updateAgent;
12937
12987
  return new Agent(this._request, data, this._syncEngine, this._baseUrl);
12938
12988
  }
12939
12989
  };
12940
12990
  var UpdateChatMutation = class extends chunk4QKWHQT2_cjs.Request {
12941
12991
  async fetch(variables, options) {
12942
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
12992
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
12943
12993
  const data = response.updateChat;
12944
12994
  return new Chat(this._request, data, this._syncEngine, this._baseUrl);
12945
12995
  }
12946
12996
  };
12947
12997
  var UpdateDatabaseMutation = class extends chunk4QKWHQT2_cjs.Request {
12948
12998
  async fetch(variables, options) {
12949
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
12999
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
12950
13000
  const data = response.updateDatabase;
12951
13001
  return new Database(this._request, data, this._syncEngine, this._baseUrl);
12952
13002
  }
12953
13003
  };
12954
13004
  var UpdateDocumentMutation = class extends chunk4QKWHQT2_cjs.Request {
12955
13005
  async fetch(variables, options) {
12956
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
13006
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
12957
13007
  const data = response.updateDocument;
12958
13008
  return new Document(this._request, data, this._syncEngine, this._baseUrl);
12959
13009
  }
12960
13010
  };
12961
13011
  var UpdateFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
12962
13012
  async fetch(variables, options) {
12963
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
13013
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
12964
13014
  const data = response.updateFolder;
12965
13015
  return new Folder(this._request, data, this._syncEngine, this._baseUrl);
12966
13016
  }
12967
13017
  };
12968
13018
  var UpdateInsightMutation = class extends chunk4QKWHQT2_cjs.Request {
12969
13019
  async fetch(variables, options) {
12970
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
13020
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
12971
13021
  const data = response.updateInsight;
12972
13022
  return new Insight(this._request, data, this._syncEngine, this._baseUrl);
12973
13023
  }
12974
13024
  };
12975
13025
  var UpdateInsightInReportMutation = class extends chunk4QKWHQT2_cjs.Request {
12976
13026
  async fetch(variables, options) {
12977
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
13027
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
12978
13028
  const data = response.updateInsightInReport;
12979
13029
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
12980
13030
  }
12981
13031
  };
12982
13032
  var UpdateInterpMutation = class extends chunk4QKWHQT2_cjs.Request {
12983
13033
  async fetch(variables, options) {
12984
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
13034
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
12985
13035
  const data = response.updateInterp;
12986
13036
  return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
12987
13037
  }
12988
13038
  };
12989
13039
  var UpdatePulseTriggerMutation = class extends chunk4QKWHQT2_cjs.Request {
12990
13040
  async fetch(variables, options) {
12991
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
13041
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
12992
13042
  const data = response.updatePulseTrigger;
12993
13043
  return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
12994
13044
  }
12995
13045
  };
12996
13046
  var UpdateReportMutation = class extends chunk4QKWHQT2_cjs.Request {
12997
13047
  async fetch(variables, options) {
12998
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
13048
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
12999
13049
  const data = response.updateReport;
13000
13050
  return new Report(this._request, data, this._syncEngine, this._baseUrl);
13001
13051
  }
13002
13052
  };
13003
13053
  var UpdateTableMutation = class extends chunk4QKWHQT2_cjs.Request {
13004
13054
  async fetch(variables, options) {
13005
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
13055
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
13006
13056
  const data = response.updateTable;
13007
13057
  return new Table(this._request, data, this._syncEngine, this._baseUrl);
13008
13058
  }
13009
13059
  };
13010
13060
  var UpdateUserSkillFileMutation = class extends chunk4QKWHQT2_cjs.Request {
13011
13061
  async fetch(variables, options) {
13012
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
13062
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
13013
13063
  const data = response.updateUserSkillFile;
13014
13064
  return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
13015
13065
  }
13016
13066
  };
13017
13067
  var UpdateUserSkillFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
13018
13068
  async fetch(variables, options) {
13019
- const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
13069
+ const response = await this._syncEngine.mutate(chunkFNYE2ZMN_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
13020
13070
  const data = response.updateUserSkillFolder;
13021
13071
  return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
13022
13072
  }
@@ -13030,7 +13080,7 @@ var AgentQuery = class extends chunk4QKWHQT2_cjs.Request {
13030
13080
  }
13031
13081
  async fetch(options) {
13032
13082
  const variables = this._variables;
13033
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.AgentDocument, "agent", this._includes, variables);
13083
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.AgentDocument, "agent", this._includes, variables);
13034
13084
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
13035
13085
  const data = response.agent;
13036
13086
  const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
@@ -13042,7 +13092,7 @@ var AgentQuery = class extends chunk4QKWHQT2_cjs.Request {
13042
13092
  watch(options) {
13043
13093
  const variables = this._variables;
13044
13094
  const includes = this._includes;
13045
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.AgentDocument, "agent", includes, variables);
13095
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.AgentDocument, "agent", includes, variables);
13046
13096
  const raw = this._syncEngine.watch(
13047
13097
  queryDoc,
13048
13098
  mergedVars,
@@ -13072,7 +13122,7 @@ var AgentQuery = class extends chunk4QKWHQT2_cjs.Request {
13072
13122
  }
13073
13123
  /** Include chats in this query (Smart Fetch — single HTTP request). */
13074
13124
  chats(variables, builder) {
13075
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Agent_ChatsDocument, "chats", ["id"]);
13125
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Agent_ChatsDocument, "chats", ["id"]);
13076
13126
  let children;
13077
13127
  if (builder) {
13078
13128
  const sub = new ChatSubBuilder();
@@ -13081,7 +13131,7 @@ var AgentQuery = class extends chunk4QKWHQT2_cjs.Request {
13081
13131
  }
13082
13132
  this._includes.push({
13083
13133
  fieldName: "chats",
13084
- fragmentDoc: chunkZFR7CX4F_cjs.ChatConnectionFragmentDoc,
13134
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatConnectionFragmentDoc,
13085
13135
  variables,
13086
13136
  isConnection: true,
13087
13137
  isList: false,
@@ -13106,18 +13156,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk4QKWHQT2_cjs.Request
13106
13156
  }
13107
13157
  async fetch(options) {
13108
13158
  const variables = this._variables;
13109
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Agent_ChatsDocument, variables, "agent");
13159
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Agent_ChatsDocument, variables, "agent");
13110
13160
  const data = response.agent?.chats;
13111
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);
13112
13162
  }
13113
13163
  watch(options) {
13114
13164
  const variables = this._variables;
13115
13165
  const raw = this._syncEngine.watch(
13116
- chunkZFR7CX4F_cjs.Agent_ChatsDocument,
13166
+ chunkFNYE2ZMN_cjs.Agent_ChatsDocument,
13117
13167
  variables,
13118
13168
  "agent",
13119
13169
  async (db) => {
13120
- const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkZFR7CX4F_cjs.Agent_ChatsDocument));
13170
+ const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkFNYE2ZMN_cjs.Agent_ChatsDocument));
13121
13171
  const nodes = qr ? await db.table("chats").bulkGet(qr.entityIds) : [];
13122
13172
  return { agent: { chats: { __typename: "ChatConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
13123
13173
  }
@@ -13137,7 +13187,7 @@ var AgentsQuery = class _AgentsQuery extends chunk4QKWHQT2_cjs.Request {
13137
13187
  }
13138
13188
  async fetch(options) {
13139
13189
  const variables = this._variables;
13140
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.AgentsDocument, "agents", this._includes, variables, true);
13190
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.AgentsDocument, "agents", this._includes, variables, true);
13141
13191
  const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
13142
13192
  const data = response.agents;
13143
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);
@@ -13154,7 +13204,7 @@ var AgentsQuery = class _AgentsQuery extends chunk4QKWHQT2_cjs.Request {
13154
13204
  const subscriptionId = crypto.randomUUID();
13155
13205
  const includes = this._includes;
13156
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) }] : []);
13157
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.AgentsDocument, "agents", includes, variables, true);
13207
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.AgentsDocument, "agents", includes, variables, true);
13158
13208
  const raw = this._syncEngine.watch(
13159
13209
  queryDoc,
13160
13210
  mergedVars,
@@ -13189,7 +13239,7 @@ var AgentsQuery = class _AgentsQuery extends chunk4QKWHQT2_cjs.Request {
13189
13239
  }
13190
13240
  /** Include chats in this query (Smart Fetch — single HTTP request). */
13191
13241
  chats(variables, builder) {
13192
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Agent_ChatsDocument, "chats", ["id"]);
13242
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Agent_ChatsDocument, "chats", ["id"]);
13193
13243
  let children;
13194
13244
  if (builder) {
13195
13245
  const sub = new ChatSubBuilder();
@@ -13198,7 +13248,7 @@ var AgentsQuery = class _AgentsQuery extends chunk4QKWHQT2_cjs.Request {
13198
13248
  }
13199
13249
  this._includes.push({
13200
13250
  fieldName: "chats",
13201
- fragmentDoc: chunkZFR7CX4F_cjs.ChatConnectionFragmentDoc,
13251
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatConnectionFragmentDoc,
13202
13252
  variables,
13203
13253
  isConnection: true,
13204
13254
  isList: false,
@@ -13224,7 +13274,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
13224
13274
  }
13225
13275
  async fetch(options) {
13226
13276
  const variables = this._variables;
13227
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ArtifactDocument, "artifact", this._includes, variables);
13277
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ArtifactDocument, "artifact", this._includes, variables);
13228
13278
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
13229
13279
  const data = response.artifact;
13230
13280
  const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
@@ -13236,7 +13286,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
13236
13286
  watch(options) {
13237
13287
  const variables = this._variables;
13238
13288
  const includes = this._includes;
13239
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ArtifactDocument, "artifact", includes, variables);
13289
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ArtifactDocument, "artifact", includes, variables);
13240
13290
  const raw = this._syncEngine.watch(
13241
13291
  queryDoc,
13242
13292
  mergedVars,
@@ -13266,7 +13316,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
13266
13316
  }
13267
13317
  /** Include chat in this query (Smart Fetch — single HTTP request). */
13268
13318
  chat(variables, builder) {
13269
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_ChatDocument, "chat", ["id"]);
13319
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_ChatDocument, "chat", ["id"]);
13270
13320
  let children;
13271
13321
  if (builder) {
13272
13322
  const sub = new ChatSubBuilder();
@@ -13275,7 +13325,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
13275
13325
  }
13276
13326
  this._includes.push({
13277
13327
  fieldName: "chat",
13278
- fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
13328
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
13279
13329
  variables,
13280
13330
  isConnection: false,
13281
13331
  isList: false,
@@ -13292,10 +13342,10 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
13292
13342
  }
13293
13343
  /** Include file in this query (Smart Fetch — single HTTP request). */
13294
13344
  file(variables) {
13295
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_FileDocument, "file", ["id"]);
13345
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_FileDocument, "file", ["id"]);
13296
13346
  this._includes.push({
13297
13347
  fieldName: "file",
13298
- fragmentDoc: chunkZFR7CX4F_cjs.FileFragmentDoc,
13348
+ fragmentDoc: chunkFNYE2ZMN_cjs.FileFragmentDoc,
13299
13349
  variables,
13300
13350
  isConnection: false,
13301
13351
  isList: false,
@@ -13311,7 +13361,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
13311
13361
  }
13312
13362
  /** Include message in this query (Smart Fetch — single HTTP request). */
13313
13363
  message(variables, builder) {
13314
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_MessageDocument, "message", ["id"]);
13364
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_MessageDocument, "message", ["id"]);
13315
13365
  let children;
13316
13366
  if (builder) {
13317
13367
  const sub = new ChatMessageSubBuilder();
@@ -13320,7 +13370,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
13320
13370
  }
13321
13371
  this._includes.push({
13322
13372
  fieldName: "message",
13323
- fragmentDoc: chunkZFR7CX4F_cjs.ChatMessageFragmentDoc,
13373
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatMessageFragmentDoc,
13324
13374
  variables,
13325
13375
  isConnection: false,
13326
13376
  isList: false,
@@ -13344,14 +13394,14 @@ var Artifact_ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13344
13394
  }
13345
13395
  async fetch(options) {
13346
13396
  const variables = this._variables;
13347
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Artifact_ChatDocument, variables, "artifact");
13397
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Artifact_ChatDocument, variables, "artifact");
13348
13398
  const data = response.artifact?.chat;
13349
13399
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13350
13400
  }
13351
13401
  watch(options) {
13352
13402
  const variables = this._variables;
13353
13403
  const raw = this._syncEngine.watch(
13354
- chunkZFR7CX4F_cjs.Artifact_ChatDocument,
13404
+ chunkFNYE2ZMN_cjs.Artifact_ChatDocument,
13355
13405
  variables,
13356
13406
  "artifact",
13357
13407
  async (db) => {
@@ -13374,14 +13424,14 @@ var Artifact_Chat_InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
13374
13424
  }
13375
13425
  async fetch(options) {
13376
13426
  const variables = this._variables;
13377
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
13427
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
13378
13428
  const data = response.artifact?.chat?.insight;
13379
13429
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13380
13430
  }
13381
13431
  watch(options) {
13382
13432
  const variables = this._variables;
13383
13433
  const raw = this._syncEngine.watch(
13384
- chunkZFR7CX4F_cjs.Artifact_Chat_InsightDocument,
13434
+ chunkFNYE2ZMN_cjs.Artifact_Chat_InsightDocument,
13385
13435
  variables,
13386
13436
  "artifact",
13387
13437
  async (db) => {
@@ -13404,14 +13454,14 @@ var Artifact_FileQuery = class extends chunk4QKWHQT2_cjs.Request {
13404
13454
  }
13405
13455
  async fetch(options) {
13406
13456
  const variables = this._variables;
13407
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Artifact_FileDocument, variables, "artifact");
13457
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Artifact_FileDocument, variables, "artifact");
13408
13458
  const data = response.artifact?.file;
13409
13459
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13410
13460
  }
13411
13461
  watch(options) {
13412
13462
  const variables = this._variables;
13413
13463
  const raw = this._syncEngine.watch(
13414
- chunkZFR7CX4F_cjs.Artifact_FileDocument,
13464
+ chunkFNYE2ZMN_cjs.Artifact_FileDocument,
13415
13465
  variables,
13416
13466
  "artifact",
13417
13467
  async (db) => {
@@ -13434,14 +13484,14 @@ var Artifact_MessageQuery = class extends chunk4QKWHQT2_cjs.Request {
13434
13484
  }
13435
13485
  async fetch(options) {
13436
13486
  const variables = this._variables;
13437
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Artifact_MessageDocument, variables, "artifact");
13487
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Artifact_MessageDocument, variables, "artifact");
13438
13488
  const data = response.artifact?.message;
13439
13489
  return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13440
13490
  }
13441
13491
  watch(options) {
13442
13492
  const variables = this._variables;
13443
13493
  const raw = this._syncEngine.watch(
13444
- chunkZFR7CX4F_cjs.Artifact_MessageDocument,
13494
+ chunkFNYE2ZMN_cjs.Artifact_MessageDocument,
13445
13495
  variables,
13446
13496
  "artifact",
13447
13497
  async (db) => {
@@ -13464,14 +13514,14 @@ var Artifact_Message_ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13464
13514
  }
13465
13515
  async fetch(options) {
13466
13516
  const variables = this._variables;
13467
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Artifact_Message_ChatDocument, variables, "artifact");
13517
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Artifact_Message_ChatDocument, variables, "artifact");
13468
13518
  const data = response.artifact?.message?.chat;
13469
13519
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13470
13520
  }
13471
13521
  watch(options) {
13472
13522
  const variables = this._variables;
13473
13523
  const raw = this._syncEngine.watch(
13474
- chunkZFR7CX4F_cjs.Artifact_Message_ChatDocument,
13524
+ chunkFNYE2ZMN_cjs.Artifact_Message_ChatDocument,
13475
13525
  variables,
13476
13526
  "artifact",
13477
13527
  async (db) => {
@@ -13493,7 +13543,7 @@ var Artifact_Message_ContentsQuery = class extends chunk4QKWHQT2_cjs.Request {
13493
13543
  this._variables = variables;
13494
13544
  }
13495
13545
  async fetch(options) {
13496
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
13546
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
13497
13547
  const data = response.artifact?.message?.contents;
13498
13548
  if (!Array.isArray(data)) return [];
13499
13549
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -13507,14 +13557,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk4QKWHQT2_cjs.Request {
13507
13557
  }
13508
13558
  async fetch(options) {
13509
13559
  const variables = this._variables;
13510
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
13560
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
13511
13561
  const data = response.artifact?.message?.feedback;
13512
13562
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13513
13563
  }
13514
13564
  watch(options) {
13515
13565
  const variables = this._variables;
13516
13566
  const raw = this._syncEngine.watch(
13517
- chunkZFR7CX4F_cjs.Artifact_Message_FeedbackDocument,
13567
+ chunkFNYE2ZMN_cjs.Artifact_Message_FeedbackDocument,
13518
13568
  variables,
13519
13569
  "artifact",
13520
13570
  async (db) => {
@@ -13538,7 +13588,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
13538
13588
  }
13539
13589
  async fetch(options) {
13540
13590
  const variables = this._variables;
13541
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
13591
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
13542
13592
  const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
13543
13593
  const data = response.artifacts;
13544
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);
@@ -13555,7 +13605,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
13555
13605
  const subscriptionId = crypto.randomUUID();
13556
13606
  const includes = this._includes;
13557
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) }] : []);
13558
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
13608
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
13559
13609
  const raw = this._syncEngine.watch(
13560
13610
  queryDoc,
13561
13611
  mergedVars,
@@ -13590,7 +13640,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
13590
13640
  }
13591
13641
  /** Include chat in this query (Smart Fetch — single HTTP request). */
13592
13642
  chat(variables, builder) {
13593
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_ChatDocument, "chat", ["id"]);
13643
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_ChatDocument, "chat", ["id"]);
13594
13644
  let children;
13595
13645
  if (builder) {
13596
13646
  const sub = new ChatSubBuilder();
@@ -13599,7 +13649,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
13599
13649
  }
13600
13650
  this._includes.push({
13601
13651
  fieldName: "chat",
13602
- fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
13652
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
13603
13653
  variables,
13604
13654
  isConnection: false,
13605
13655
  isList: false,
@@ -13616,10 +13666,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
13616
13666
  }
13617
13667
  /** Include file in this query (Smart Fetch — single HTTP request). */
13618
13668
  file(variables) {
13619
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_FileDocument, "file", ["id"]);
13669
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_FileDocument, "file", ["id"]);
13620
13670
  this._includes.push({
13621
13671
  fieldName: "file",
13622
- fragmentDoc: chunkZFR7CX4F_cjs.FileFragmentDoc,
13672
+ fragmentDoc: chunkFNYE2ZMN_cjs.FileFragmentDoc,
13623
13673
  variables,
13624
13674
  isConnection: false,
13625
13675
  isList: false,
@@ -13635,7 +13685,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
13635
13685
  }
13636
13686
  /** Include message in this query (Smart Fetch — single HTTP request). */
13637
13687
  message(variables, builder) {
13638
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_MessageDocument, "message", ["id"]);
13688
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Artifact_MessageDocument, "message", ["id"]);
13639
13689
  let children;
13640
13690
  if (builder) {
13641
13691
  const sub = new ChatMessageSubBuilder();
@@ -13644,7 +13694,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
13644
13694
  }
13645
13695
  this._includes.push({
13646
13696
  fieldName: "message",
13647
- fragmentDoc: chunkZFR7CX4F_cjs.ChatMessageFragmentDoc,
13697
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatMessageFragmentDoc,
13648
13698
  variables,
13649
13699
  isConnection: false,
13650
13700
  isList: false,
@@ -13669,7 +13719,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13669
13719
  }
13670
13720
  async fetch(options) {
13671
13721
  const variables = this._variables;
13672
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatDocument, "chat", this._includes, variables);
13722
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatDocument, "chat", this._includes, variables);
13673
13723
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
13674
13724
  const data = response.chat;
13675
13725
  const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
@@ -13681,7 +13731,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13681
13731
  watch(options) {
13682
13732
  const variables = this._variables;
13683
13733
  const includes = this._includes;
13684
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatDocument, "chat", includes, variables);
13734
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatDocument, "chat", includes, variables);
13685
13735
  const raw = this._syncEngine.watch(
13686
13736
  queryDoc,
13687
13737
  mergedVars,
@@ -13711,7 +13761,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13711
13761
  }
13712
13762
  /** Include agents in this query (Smart Fetch — single HTTP request). */
13713
13763
  agents(variables, builder) {
13714
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_AgentsDocument, "agents", ["id"]);
13764
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_AgentsDocument, "agents", ["id"]);
13715
13765
  let children;
13716
13766
  if (builder) {
13717
13767
  const sub = new AgentSubBuilder();
@@ -13720,7 +13770,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13720
13770
  }
13721
13771
  this._includes.push({
13722
13772
  fieldName: "agents",
13723
- fragmentDoc: chunkZFR7CX4F_cjs.AgentConnectionFragmentDoc,
13773
+ fragmentDoc: chunkFNYE2ZMN_cjs.AgentConnectionFragmentDoc,
13724
13774
  variables,
13725
13775
  isConnection: true,
13726
13776
  isList: false,
@@ -13738,7 +13788,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13738
13788
  }
13739
13789
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
13740
13790
  artifacts(variables, builder) {
13741
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
13791
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
13742
13792
  let children;
13743
13793
  if (builder) {
13744
13794
  const sub = new ArtifactSubBuilder();
@@ -13747,7 +13797,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13747
13797
  }
13748
13798
  this._includes.push({
13749
13799
  fieldName: "artifacts",
13750
- fragmentDoc: chunkZFR7CX4F_cjs.ArtifactConnectionFragmentDoc,
13800
+ fragmentDoc: chunkFNYE2ZMN_cjs.ArtifactConnectionFragmentDoc,
13751
13801
  variables,
13752
13802
  isConnection: true,
13753
13803
  isList: false,
@@ -13765,7 +13815,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13765
13815
  }
13766
13816
  /** Include insight in this query (Smart Fetch — single HTTP request). */
13767
13817
  insight(variables, builder) {
13768
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_InsightDocument, "insight", ["id"]);
13818
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_InsightDocument, "insight", ["id"]);
13769
13819
  let children;
13770
13820
  if (builder) {
13771
13821
  const sub = new InsightSubBuilder();
@@ -13774,7 +13824,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13774
13824
  }
13775
13825
  this._includes.push({
13776
13826
  fieldName: "insight",
13777
- fragmentDoc: chunkZFR7CX4F_cjs.InsightFragmentDoc,
13827
+ fragmentDoc: chunkFNYE2ZMN_cjs.InsightFragmentDoc,
13778
13828
  variables,
13779
13829
  isConnection: false,
13780
13830
  isList: false,
@@ -13791,7 +13841,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13791
13841
  }
13792
13842
  /** Include messages in this query (Smart Fetch — single HTTP request). */
13793
13843
  messages(variables, builder) {
13794
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_MessagesDocument, "messages", ["id"]);
13844
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_MessagesDocument, "messages", ["id"]);
13795
13845
  let children;
13796
13846
  if (builder) {
13797
13847
  const sub = new ChatMessageSubBuilder();
@@ -13800,7 +13850,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
13800
13850
  }
13801
13851
  this._includes.push({
13802
13852
  fieldName: "messages",
13803
- fragmentDoc: chunkZFR7CX4F_cjs.ChatMessageConnectionFragmentDoc,
13853
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatMessageConnectionFragmentDoc,
13804
13854
  variables,
13805
13855
  isConnection: true,
13806
13856
  isList: false,
@@ -13825,18 +13875,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk4QKWHQT2_cjs.Request
13825
13875
  }
13826
13876
  async fetch(options) {
13827
13877
  const variables = this._variables;
13828
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Chat_AgentsDocument, variables, "chat");
13878
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Chat_AgentsDocument, variables, "chat");
13829
13879
  const data = response.chat?.agents;
13830
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);
13831
13881
  }
13832
13882
  watch(options) {
13833
13883
  const variables = this._variables;
13834
13884
  const raw = this._syncEngine.watch(
13835
- chunkZFR7CX4F_cjs.Chat_AgentsDocument,
13885
+ chunkFNYE2ZMN_cjs.Chat_AgentsDocument,
13836
13886
  variables,
13837
13887
  "chat",
13838
13888
  async (db) => {
13839
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkZFR7CX4F_cjs.Chat_AgentsDocument));
13889
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkFNYE2ZMN_cjs.Chat_AgentsDocument));
13840
13890
  const nodes = qr ? await db.table("agents").bulkGet(qr.entityIds) : [];
13841
13891
  return { chat: { agents: { __typename: "AgentConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
13842
13892
  }
@@ -13855,18 +13905,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk4QKWHQT2_cjs.R
13855
13905
  }
13856
13906
  async fetch(options) {
13857
13907
  const variables = this._variables;
13858
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Chat_ArtifactsDocument, variables, "chat");
13908
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Chat_ArtifactsDocument, variables, "chat");
13859
13909
  const data = response.chat?.artifacts;
13860
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);
13861
13911
  }
13862
13912
  watch(options) {
13863
13913
  const variables = this._variables;
13864
13914
  const raw = this._syncEngine.watch(
13865
- chunkZFR7CX4F_cjs.Chat_ArtifactsDocument,
13915
+ chunkFNYE2ZMN_cjs.Chat_ArtifactsDocument,
13866
13916
  variables,
13867
13917
  "chat",
13868
13918
  async (db) => {
13869
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkZFR7CX4F_cjs.Chat_ArtifactsDocument));
13919
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkFNYE2ZMN_cjs.Chat_ArtifactsDocument));
13870
13920
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
13871
13921
  return { chat: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
13872
13922
  }
@@ -13885,14 +13935,14 @@ var Chat_InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
13885
13935
  }
13886
13936
  async fetch(options) {
13887
13937
  const variables = this._variables;
13888
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Chat_InsightDocument, variables, "chat");
13938
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Chat_InsightDocument, variables, "chat");
13889
13939
  const data = response.chat?.insight;
13890
13940
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
13891
13941
  }
13892
13942
  watch(options) {
13893
13943
  const variables = this._variables;
13894
13944
  const raw = this._syncEngine.watch(
13895
- chunkZFR7CX4F_cjs.Chat_InsightDocument,
13945
+ chunkFNYE2ZMN_cjs.Chat_InsightDocument,
13896
13946
  variables,
13897
13947
  "chat",
13898
13948
  async (db) => {
@@ -13914,7 +13964,7 @@ var Chat_Insight_ReportMembersQuery = class extends chunk4QKWHQT2_cjs.Request {
13914
13964
  this._variables = variables;
13915
13965
  }
13916
13966
  async fetch(options) {
13917
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
13967
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
13918
13968
  const data = response.chat?.insight?.reportMembers;
13919
13969
  if (!Array.isArray(data)) return [];
13920
13970
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -13928,18 +13978,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk4QKWHQT2_cjs.Req
13928
13978
  }
13929
13979
  async fetch(options) {
13930
13980
  const variables = this._variables;
13931
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Chat_MessagesDocument, variables, "chat");
13981
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Chat_MessagesDocument, variables, "chat");
13932
13982
  const data = response.chat?.messages;
13933
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);
13934
13984
  }
13935
13985
  watch(options) {
13936
13986
  const variables = this._variables;
13937
13987
  const raw = this._syncEngine.watch(
13938
- chunkZFR7CX4F_cjs.Chat_MessagesDocument,
13988
+ chunkFNYE2ZMN_cjs.Chat_MessagesDocument,
13939
13989
  variables,
13940
13990
  "chat",
13941
13991
  async (db) => {
13942
- const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkZFR7CX4F_cjs.Chat_MessagesDocument));
13992
+ const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkFNYE2ZMN_cjs.Chat_MessagesDocument));
13943
13993
  const nodes = qr ? await db.table("chatMessages").bulkGet(qr.entityIds) : [];
13944
13994
  return { chat: { messages: { __typename: "ChatMessageConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
13945
13995
  }
@@ -13959,7 +14009,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
13959
14009
  }
13960
14010
  async fetch(options) {
13961
14011
  const variables = this._variables;
13962
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
14012
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
13963
14013
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
13964
14014
  const data = response.chatMessage;
13965
14015
  const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
@@ -13971,7 +14021,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
13971
14021
  watch(options) {
13972
14022
  const variables = this._variables;
13973
14023
  const includes = this._includes;
13974
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatMessageDocument, "chatMessage", includes, variables);
14024
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatMessageDocument, "chatMessage", includes, variables);
13975
14025
  const raw = this._syncEngine.watch(
13976
14026
  queryDoc,
13977
14027
  mergedVars,
@@ -14001,7 +14051,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
14001
14051
  }
14002
14052
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14003
14053
  artifacts(variables, builder) {
14004
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14054
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14005
14055
  let children;
14006
14056
  if (builder) {
14007
14057
  const sub = new ArtifactSubBuilder();
@@ -14010,7 +14060,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
14010
14060
  }
14011
14061
  this._includes.push({
14012
14062
  fieldName: "artifacts",
14013
- fragmentDoc: chunkZFR7CX4F_cjs.ArtifactConnectionFragmentDoc,
14063
+ fragmentDoc: chunkFNYE2ZMN_cjs.ArtifactConnectionFragmentDoc,
14014
14064
  variables,
14015
14065
  isConnection: true,
14016
14066
  isList: false,
@@ -14028,7 +14078,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
14028
14078
  }
14029
14079
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14030
14080
  chat(variables, builder) {
14031
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14081
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14032
14082
  let children;
14033
14083
  if (builder) {
14034
14084
  const sub = new ChatSubBuilder();
@@ -14037,7 +14087,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
14037
14087
  }
14038
14088
  this._includes.push({
14039
14089
  fieldName: "chat",
14040
- fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
14090
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
14041
14091
  variables,
14042
14092
  isConnection: false,
14043
14093
  isList: false,
@@ -14054,10 +14104,10 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
14054
14104
  }
14055
14105
  /** Include contents in this query (Smart Fetch — single HTTP request). */
14056
14106
  contents(variables) {
14057
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14107
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14058
14108
  this._includes.push({
14059
14109
  fieldName: "contents",
14060
- fragmentDoc: chunkZFR7CX4F_cjs.ContentBlockFragmentDoc,
14110
+ fragmentDoc: chunkFNYE2ZMN_cjs.ContentBlockFragmentDoc,
14061
14111
  variables,
14062
14112
  isConnection: false,
14063
14113
  isList: true,
@@ -14073,10 +14123,10 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
14073
14123
  }
14074
14124
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
14075
14125
  feedback(variables) {
14076
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14126
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14077
14127
  this._includes.push({
14078
14128
  fieldName: "feedback",
14079
- fragmentDoc: chunkZFR7CX4F_cjs.FeedbackFragmentDoc,
14129
+ fragmentDoc: chunkFNYE2ZMN_cjs.FeedbackFragmentDoc,
14080
14130
  variables,
14081
14131
  isConnection: false,
14082
14132
  isList: false,
@@ -14099,18 +14149,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
14099
14149
  }
14100
14150
  async fetch(options) {
14101
14151
  const variables = this._variables;
14102
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
14152
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
14103
14153
  const data = response.chatMessage?.artifacts;
14104
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);
14105
14155
  }
14106
14156
  watch(options) {
14107
14157
  const variables = this._variables;
14108
14158
  const raw = this._syncEngine.watch(
14109
- chunkZFR7CX4F_cjs.ChatMessage_ArtifactsDocument,
14159
+ chunkFNYE2ZMN_cjs.ChatMessage_ArtifactsDocument,
14110
14160
  variables,
14111
14161
  "chatMessage",
14112
14162
  async (db) => {
14113
- const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkZFR7CX4F_cjs.ChatMessage_ArtifactsDocument));
14163
+ const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkFNYE2ZMN_cjs.ChatMessage_ArtifactsDocument));
14114
14164
  const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
14115
14165
  return { chatMessage: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14116
14166
  }
@@ -14129,14 +14179,14 @@ var ChatMessage_ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
14129
14179
  }
14130
14180
  async fetch(options) {
14131
14181
  const variables = this._variables;
14132
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
14182
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
14133
14183
  const data = response.chatMessage?.chat;
14134
14184
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14135
14185
  }
14136
14186
  watch(options) {
14137
14187
  const variables = this._variables;
14138
14188
  const raw = this._syncEngine.watch(
14139
- chunkZFR7CX4F_cjs.ChatMessage_ChatDocument,
14189
+ chunkFNYE2ZMN_cjs.ChatMessage_ChatDocument,
14140
14190
  variables,
14141
14191
  "chatMessage",
14142
14192
  async (db) => {
@@ -14159,14 +14209,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
14159
14209
  }
14160
14210
  async fetch(options) {
14161
14211
  const variables = this._variables;
14162
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
14212
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
14163
14213
  const data = response.chatMessage?.chat?.insight;
14164
14214
  return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14165
14215
  }
14166
14216
  watch(options) {
14167
14217
  const variables = this._variables;
14168
14218
  const raw = this._syncEngine.watch(
14169
- chunkZFR7CX4F_cjs.ChatMessage_Chat_InsightDocument,
14219
+ chunkFNYE2ZMN_cjs.ChatMessage_Chat_InsightDocument,
14170
14220
  variables,
14171
14221
  "chatMessage",
14172
14222
  async (db) => {
@@ -14188,7 +14238,7 @@ var ChatMessage_ContentsQuery = class extends chunk4QKWHQT2_cjs.Request {
14188
14238
  this._variables = variables;
14189
14239
  }
14190
14240
  async fetch(options) {
14191
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
14241
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
14192
14242
  const data = response.chatMessage?.contents;
14193
14243
  if (!Array.isArray(data)) return [];
14194
14244
  return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
@@ -14202,14 +14252,14 @@ var ChatMessage_FeedbackQuery = class extends chunk4QKWHQT2_cjs.Request {
14202
14252
  }
14203
14253
  async fetch(options) {
14204
14254
  const variables = this._variables;
14205
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
14255
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
14206
14256
  const data = response.chatMessage?.feedback;
14207
14257
  return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14208
14258
  }
14209
14259
  watch(options) {
14210
14260
  const variables = this._variables;
14211
14261
  const raw = this._syncEngine.watch(
14212
- chunkZFR7CX4F_cjs.ChatMessage_FeedbackDocument,
14262
+ chunkFNYE2ZMN_cjs.ChatMessage_FeedbackDocument,
14213
14263
  variables,
14214
14264
  "chatMessage",
14215
14265
  async (db) => {
@@ -14233,7 +14283,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14233
14283
  }
14234
14284
  async fetch(options) {
14235
14285
  const variables = this._variables;
14236
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
14286
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
14237
14287
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
14238
14288
  const data = response.chatMessages;
14239
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);
@@ -14250,7 +14300,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14250
14300
  const subscriptionId = crypto.randomUUID();
14251
14301
  const includes = this._includes;
14252
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) }] : []);
14253
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
14303
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
14254
14304
  const raw = this._syncEngine.watch(
14255
14305
  queryDoc,
14256
14306
  mergedVars,
@@ -14285,7 +14335,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14285
14335
  }
14286
14336
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14287
14337
  artifacts(variables, builder) {
14288
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14338
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
14289
14339
  let children;
14290
14340
  if (builder) {
14291
14341
  const sub = new ArtifactSubBuilder();
@@ -14294,7 +14344,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14294
14344
  }
14295
14345
  this._includes.push({
14296
14346
  fieldName: "artifacts",
14297
- fragmentDoc: chunkZFR7CX4F_cjs.ArtifactConnectionFragmentDoc,
14347
+ fragmentDoc: chunkFNYE2ZMN_cjs.ArtifactConnectionFragmentDoc,
14298
14348
  variables,
14299
14349
  isConnection: true,
14300
14350
  isList: false,
@@ -14312,7 +14362,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14312
14362
  }
14313
14363
  /** Include chat in this query (Smart Fetch — single HTTP request). */
14314
14364
  chat(variables, builder) {
14315
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14365
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
14316
14366
  let children;
14317
14367
  if (builder) {
14318
14368
  const sub = new ChatSubBuilder();
@@ -14321,7 +14371,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14321
14371
  }
14322
14372
  this._includes.push({
14323
14373
  fieldName: "chat",
14324
- fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
14374
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
14325
14375
  variables,
14326
14376
  isConnection: false,
14327
14377
  isList: false,
@@ -14338,10 +14388,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14338
14388
  }
14339
14389
  /** Include contents in this query (Smart Fetch — single HTTP request). */
14340
14390
  contents(variables) {
14341
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14391
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
14342
14392
  this._includes.push({
14343
14393
  fieldName: "contents",
14344
- fragmentDoc: chunkZFR7CX4F_cjs.ContentBlockFragmentDoc,
14394
+ fragmentDoc: chunkFNYE2ZMN_cjs.ContentBlockFragmentDoc,
14345
14395
  variables,
14346
14396
  isConnection: false,
14347
14397
  isList: true,
@@ -14357,10 +14407,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
14357
14407
  }
14358
14408
  /** Include feedback in this query (Smart Fetch — single HTTP request). */
14359
14409
  feedback(variables) {
14360
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14410
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
14361
14411
  this._includes.push({
14362
14412
  fieldName: "feedback",
14363
- fragmentDoc: chunkZFR7CX4F_cjs.FeedbackFragmentDoc,
14413
+ fragmentDoc: chunkFNYE2ZMN_cjs.FeedbackFragmentDoc,
14364
14414
  variables,
14365
14415
  isConnection: false,
14366
14416
  isList: false,
@@ -14384,7 +14434,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14384
14434
  }
14385
14435
  async fetch(options) {
14386
14436
  const variables = this._variables;
14387
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatsDocument, "chats", this._includes, variables, true);
14437
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatsDocument, "chats", this._includes, variables, true);
14388
14438
  const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
14389
14439
  const data = response.chats;
14390
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);
@@ -14401,7 +14451,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14401
14451
  const subscriptionId = crypto.randomUUID();
14402
14452
  const includes = this._includes;
14403
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) }] : []);
14404
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatsDocument, "chats", includes, variables, true);
14454
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ChatsDocument, "chats", includes, variables, true);
14405
14455
  const raw = this._syncEngine.watch(
14406
14456
  queryDoc,
14407
14457
  mergedVars,
@@ -14436,7 +14486,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14436
14486
  }
14437
14487
  /** Include agents in this query (Smart Fetch — single HTTP request). */
14438
14488
  agents(variables, builder) {
14439
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_AgentsDocument, "agents", ["id"]);
14489
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_AgentsDocument, "agents", ["id"]);
14440
14490
  let children;
14441
14491
  if (builder) {
14442
14492
  const sub = new AgentSubBuilder();
@@ -14445,7 +14495,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14445
14495
  }
14446
14496
  this._includes.push({
14447
14497
  fieldName: "agents",
14448
- fragmentDoc: chunkZFR7CX4F_cjs.AgentConnectionFragmentDoc,
14498
+ fragmentDoc: chunkFNYE2ZMN_cjs.AgentConnectionFragmentDoc,
14449
14499
  variables,
14450
14500
  isConnection: true,
14451
14501
  isList: false,
@@ -14463,7 +14513,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14463
14513
  }
14464
14514
  /** Include artifacts in this query (Smart Fetch — single HTTP request). */
14465
14515
  artifacts(variables, builder) {
14466
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14516
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
14467
14517
  let children;
14468
14518
  if (builder) {
14469
14519
  const sub = new ArtifactSubBuilder();
@@ -14472,7 +14522,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14472
14522
  }
14473
14523
  this._includes.push({
14474
14524
  fieldName: "artifacts",
14475
- fragmentDoc: chunkZFR7CX4F_cjs.ArtifactConnectionFragmentDoc,
14525
+ fragmentDoc: chunkFNYE2ZMN_cjs.ArtifactConnectionFragmentDoc,
14476
14526
  variables,
14477
14527
  isConnection: true,
14478
14528
  isList: false,
@@ -14490,7 +14540,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14490
14540
  }
14491
14541
  /** Include insight in this query (Smart Fetch — single HTTP request). */
14492
14542
  insight(variables, builder) {
14493
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_InsightDocument, "insight", ["id"]);
14543
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_InsightDocument, "insight", ["id"]);
14494
14544
  let children;
14495
14545
  if (builder) {
14496
14546
  const sub = new InsightSubBuilder();
@@ -14499,7 +14549,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14499
14549
  }
14500
14550
  this._includes.push({
14501
14551
  fieldName: "insight",
14502
- fragmentDoc: chunkZFR7CX4F_cjs.InsightFragmentDoc,
14552
+ fragmentDoc: chunkFNYE2ZMN_cjs.InsightFragmentDoc,
14503
14553
  variables,
14504
14554
  isConnection: false,
14505
14555
  isList: false,
@@ -14516,7 +14566,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14516
14566
  }
14517
14567
  /** Include messages in this query (Smart Fetch — single HTTP request). */
14518
14568
  messages(variables, builder) {
14519
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_MessagesDocument, "messages", ["id"]);
14569
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Chat_MessagesDocument, "messages", ["id"]);
14520
14570
  let children;
14521
14571
  if (builder) {
14522
14572
  const sub = new ChatMessageSubBuilder();
@@ -14525,7 +14575,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
14525
14575
  }
14526
14576
  this._includes.push({
14527
14577
  fieldName: "messages",
14528
- fragmentDoc: chunkZFR7CX4F_cjs.ChatMessageConnectionFragmentDoc,
14578
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatMessageConnectionFragmentDoc,
14529
14579
  variables,
14530
14580
  isConnection: true,
14531
14581
  isList: false,
@@ -14551,7 +14601,7 @@ var DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
14551
14601
  }
14552
14602
  async fetch(options) {
14553
14603
  const variables = this._variables;
14554
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabaseDocument, "database", this._includes, variables);
14604
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabaseDocument, "database", this._includes, variables);
14555
14605
  const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
14556
14606
  const data = response.database;
14557
14607
  const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
@@ -14563,7 +14613,7 @@ var DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
14563
14613
  watch(options) {
14564
14614
  const variables = this._variables;
14565
14615
  const includes = this._includes;
14566
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabaseDocument, "database", includes, variables);
14616
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabaseDocument, "database", includes, variables);
14567
14617
  const raw = this._syncEngine.watch(
14568
14618
  queryDoc,
14569
14619
  mergedVars,
@@ -14593,10 +14643,10 @@ var DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
14593
14643
  }
14594
14644
  /** Include engine in this query (Smart Fetch — single HTTP request). */
14595
14645
  engine(variables) {
14596
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Database_EngineDocument, "engine", ["id"]);
14646
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Database_EngineDocument, "engine", ["id"]);
14597
14647
  this._includes.push({
14598
14648
  fieldName: "engine",
14599
- fragmentDoc: chunkZFR7CX4F_cjs.DatabaseEngineFragmentDoc,
14649
+ fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseEngineFragmentDoc,
14600
14650
  variables,
14601
14651
  isConnection: false,
14602
14652
  isList: false,
@@ -14612,7 +14662,7 @@ var DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
14612
14662
  }
14613
14663
  /** Include tables in this query (Smart Fetch — single HTTP request). */
14614
14664
  tables(variables, builder) {
14615
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Database_TablesDocument, "tables", ["id"]);
14665
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Database_TablesDocument, "tables", ["id"]);
14616
14666
  let children;
14617
14667
  if (builder) {
14618
14668
  const sub = new TableSubBuilder();
@@ -14621,7 +14671,7 @@ var DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
14621
14671
  }
14622
14672
  this._includes.push({
14623
14673
  fieldName: "tables",
14624
- fragmentDoc: chunkZFR7CX4F_cjs.TableConnectionFragmentDoc,
14674
+ fragmentDoc: chunkFNYE2ZMN_cjs.TableConnectionFragmentDoc,
14625
14675
  variables,
14626
14676
  isConnection: true,
14627
14677
  isList: false,
@@ -14646,14 +14696,14 @@ var Database_EngineQuery = class extends chunk4QKWHQT2_cjs.Request {
14646
14696
  }
14647
14697
  async fetch(options) {
14648
14698
  const variables = this._variables;
14649
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Database_EngineDocument, variables, "database");
14699
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Database_EngineDocument, variables, "database");
14650
14700
  const data = response.database?.engine;
14651
14701
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14652
14702
  }
14653
14703
  watch(options) {
14654
14704
  const variables = this._variables;
14655
14705
  const raw = this._syncEngine.watch(
14656
- chunkZFR7CX4F_cjs.Database_EngineDocument,
14706
+ chunkFNYE2ZMN_cjs.Database_EngineDocument,
14657
14707
  variables,
14658
14708
  "database",
14659
14709
  async (db) => {
@@ -14676,14 +14726,14 @@ var Database_Engine_CatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
14676
14726
  }
14677
14727
  async fetch(options) {
14678
14728
  const variables = this._variables;
14679
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Database_Engine_CatalogDocument, variables, "database");
14729
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Database_Engine_CatalogDocument, variables, "database");
14680
14730
  const data = response.database?.engine?.catalog;
14681
14731
  return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14682
14732
  }
14683
14733
  watch(options) {
14684
14734
  const variables = this._variables;
14685
14735
  const raw = this._syncEngine.watch(
14686
- chunkZFR7CX4F_cjs.Database_Engine_CatalogDocument,
14736
+ chunkFNYE2ZMN_cjs.Database_Engine_CatalogDocument,
14687
14737
  variables,
14688
14738
  "database",
14689
14739
  async (db) => {
@@ -14706,18 +14756,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk4QKWHQT2_cjs
14706
14756
  }
14707
14757
  async fetch(options) {
14708
14758
  const variables = this._variables;
14709
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Database_TablesDocument, variables, "database");
14759
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Database_TablesDocument, variables, "database");
14710
14760
  const data = response.database?.tables;
14711
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);
14712
14762
  }
14713
14763
  watch(options) {
14714
14764
  const variables = this._variables;
14715
14765
  const raw = this._syncEngine.watch(
14716
- chunkZFR7CX4F_cjs.Database_TablesDocument,
14766
+ chunkFNYE2ZMN_cjs.Database_TablesDocument,
14717
14767
  variables,
14718
14768
  "database",
14719
14769
  async (db) => {
14720
- const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkZFR7CX4F_cjs.Database_TablesDocument));
14770
+ const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkFNYE2ZMN_cjs.Database_TablesDocument));
14721
14771
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
14722
14772
  return { database: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
14723
14773
  }
@@ -14737,7 +14787,7 @@ var DatabaseCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
14737
14787
  }
14738
14788
  async fetch(options) {
14739
14789
  const variables = this._variables;
14740
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
14790
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
14741
14791
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
14742
14792
  const data = response.databaseCatalog;
14743
14793
  const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -14749,7 +14799,7 @@ var DatabaseCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
14749
14799
  watch(options) {
14750
14800
  const variables = this._variables;
14751
14801
  const includes = this._includes;
14752
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
14802
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
14753
14803
  const raw = this._syncEngine.watch(
14754
14804
  queryDoc,
14755
14805
  mergedVars,
@@ -14779,10 +14829,10 @@ var DatabaseCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
14779
14829
  }
14780
14830
  /** Include engine in this query (Smart Fetch — single HTTP request). */
14781
14831
  engine(variables) {
14782
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.DatabaseCatalog_EngineDocument, "engine", []);
14832
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.DatabaseCatalog_EngineDocument, "engine", []);
14783
14833
  this._includes.push({
14784
14834
  fieldName: "engine",
14785
- fragmentDoc: chunkZFR7CX4F_cjs.DatabaseEngineFragmentDoc,
14835
+ fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseEngineFragmentDoc,
14786
14836
  variables,
14787
14837
  isConnection: false,
14788
14838
  isList: false,
@@ -14805,14 +14855,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk4QKWHQT2_cjs.Request {
14805
14855
  }
14806
14856
  async fetch(options) {
14807
14857
  const variables = this._variables;
14808
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
14858
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
14809
14859
  const data = response.databaseCatalog?.engine;
14810
14860
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
14811
14861
  }
14812
14862
  watch(options) {
14813
14863
  const variables = this._variables;
14814
14864
  const raw = this._syncEngine.watch(
14815
- chunkZFR7CX4F_cjs.DatabaseCatalog_EngineDocument,
14865
+ chunkFNYE2ZMN_cjs.DatabaseCatalog_EngineDocument,
14816
14866
  variables,
14817
14867
  "databaseCatalog",
14818
14868
  async (db) => {
@@ -14836,7 +14886,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk4QKWHQT2_c
14836
14886
  }
14837
14887
  async fetch(options) {
14838
14888
  const variables = this._variables;
14839
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
14889
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
14840
14890
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
14841
14891
  const data = response.databaseCatalogs;
14842
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);
@@ -14853,7 +14903,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk4QKWHQT2_c
14853
14903
  const subscriptionId = crypto.randomUUID();
14854
14904
  const includes = this._includes;
14855
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) }] : []);
14856
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
14906
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
14857
14907
  const raw = this._syncEngine.watch(
14858
14908
  queryDoc,
14859
14909
  mergedVars,
@@ -14888,10 +14938,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk4QKWHQT2_c
14888
14938
  }
14889
14939
  /** Include engine in this query (Smart Fetch — single HTTP request). */
14890
14940
  engine(variables) {
14891
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.DatabaseCatalog_EngineDocument, "engine", []);
14941
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.DatabaseCatalog_EngineDocument, "engine", []);
14892
14942
  this._includes.push({
14893
14943
  fieldName: "engine",
14894
- fragmentDoc: chunkZFR7CX4F_cjs.DatabaseEngineFragmentDoc,
14944
+ fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseEngineFragmentDoc,
14895
14945
  variables,
14896
14946
  isConnection: false,
14897
14947
  isList: false,
@@ -14908,7 +14958,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk4QKWHQT2_c
14908
14958
  };
14909
14959
  var DatabaseSchemaQuery = class extends chunk4QKWHQT2_cjs.Request {
14910
14960
  async fetch(variables) {
14911
- const response = await this._request(chunkZFR7CX4F_cjs.DatabaseSchemaDocument, variables);
14961
+ const response = await this._request(chunkFNYE2ZMN_cjs.DatabaseSchemaDocument, variables);
14912
14962
  return response.databaseSchema;
14913
14963
  }
14914
14964
  };
@@ -14921,7 +14971,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk4QKWHQT2_cjs.Request {
14921
14971
  }
14922
14972
  async fetch(options) {
14923
14973
  const variables = this._variables;
14924
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabasesDocument, "databases", this._includes, variables, true);
14974
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabasesDocument, "databases", this._includes, variables, true);
14925
14975
  const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
14926
14976
  const data = response.databases;
14927
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);
@@ -14938,7 +14988,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk4QKWHQT2_cjs.Request {
14938
14988
  const subscriptionId = crypto.randomUUID();
14939
14989
  const includes = this._includes;
14940
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) }] : []);
14941
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabasesDocument, "databases", includes, variables, true);
14991
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DatabasesDocument, "databases", includes, variables, true);
14942
14992
  const raw = this._syncEngine.watch(
14943
14993
  queryDoc,
14944
14994
  mergedVars,
@@ -14973,10 +15023,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk4QKWHQT2_cjs.Request {
14973
15023
  }
14974
15024
  /** Include engine in this query (Smart Fetch — single HTTP request). */
14975
15025
  engine(variables) {
14976
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Database_EngineDocument, "engine", ["id"]);
15026
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Database_EngineDocument, "engine", ["id"]);
14977
15027
  this._includes.push({
14978
15028
  fieldName: "engine",
14979
- fragmentDoc: chunkZFR7CX4F_cjs.DatabaseEngineFragmentDoc,
15029
+ fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseEngineFragmentDoc,
14980
15030
  variables,
14981
15031
  isConnection: false,
14982
15032
  isList: false,
@@ -14992,7 +15042,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk4QKWHQT2_cjs.Request {
14992
15042
  }
14993
15043
  /** Include tables in this query (Smart Fetch — single HTTP request). */
14994
15044
  tables(variables, builder) {
14995
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Database_TablesDocument, "tables", ["id"]);
15045
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Database_TablesDocument, "tables", ["id"]);
14996
15046
  let children;
14997
15047
  if (builder) {
14998
15048
  const sub = new TableSubBuilder();
@@ -15001,7 +15051,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk4QKWHQT2_cjs.Request {
15001
15051
  }
15002
15052
  this._includes.push({
15003
15053
  fieldName: "tables",
15004
- fragmentDoc: chunkZFR7CX4F_cjs.TableConnectionFragmentDoc,
15054
+ fragmentDoc: chunkFNYE2ZMN_cjs.TableConnectionFragmentDoc,
15005
15055
  variables,
15006
15056
  isConnection: true,
15007
15057
  isList: false,
@@ -15027,7 +15077,7 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
15027
15077
  }
15028
15078
  async fetch(options) {
15029
15079
  const variables = this._variables;
15030
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentDocument, "document", this._includes, variables);
15080
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentDocument, "document", this._includes, variables);
15031
15081
  const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
15032
15082
  const data = response.document;
15033
15083
  const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
@@ -15039,7 +15089,7 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
15039
15089
  watch(options) {
15040
15090
  const variables = this._variables;
15041
15091
  const includes = this._includes;
15042
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentDocument, "document", includes, variables);
15092
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentDocument, "document", includes, variables);
15043
15093
  const raw = this._syncEngine.watch(
15044
15094
  queryDoc,
15045
15095
  mergedVars,
@@ -15069,10 +15119,10 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
15069
15119
  }
15070
15120
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15071
15121
  contents(variables) {
15072
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_ContentsDocument, "contents", ["id"]);
15122
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_ContentsDocument, "contents", ["id"]);
15073
15123
  this._includes.push({
15074
15124
  fieldName: "contents",
15075
- fragmentDoc: chunkZFR7CX4F_cjs.DocumentContentFragmentDoc,
15125
+ fragmentDoc: chunkFNYE2ZMN_cjs.DocumentContentFragmentDoc,
15076
15126
  variables,
15077
15127
  isConnection: false,
15078
15128
  isList: true,
@@ -15088,10 +15138,10 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
15088
15138
  }
15089
15139
  /** Include file in this query (Smart Fetch — single HTTP request). */
15090
15140
  file(variables) {
15091
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_FileDocument, "file", ["id"]);
15141
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_FileDocument, "file", ["id"]);
15092
15142
  this._includes.push({
15093
15143
  fieldName: "file",
15094
- fragmentDoc: chunkZFR7CX4F_cjs.FileFragmentDoc,
15144
+ fragmentDoc: chunkFNYE2ZMN_cjs.FileFragmentDoc,
15095
15145
  variables,
15096
15146
  isConnection: false,
15097
15147
  isList: false,
@@ -15107,10 +15157,10 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
15107
15157
  }
15108
15158
  /** Include format in this query (Smart Fetch — single HTTP request). */
15109
15159
  format(variables) {
15110
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_FormatDocument, "format", ["id"]);
15160
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_FormatDocument, "format", ["id"]);
15111
15161
  this._includes.push({
15112
15162
  fieldName: "format",
15113
- fragmentDoc: chunkZFR7CX4F_cjs.DocumentFormatFragmentDoc,
15163
+ fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFormatFragmentDoc,
15114
15164
  variables,
15115
15165
  isConnection: false,
15116
15166
  isList: false,
@@ -15126,7 +15176,7 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
15126
15176
  }
15127
15177
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15128
15178
  tables(variables, builder) {
15129
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_TablesDocument, "tables", ["id"]);
15179
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_TablesDocument, "tables", ["id"]);
15130
15180
  let children;
15131
15181
  if (builder) {
15132
15182
  const sub = new TableSubBuilder();
@@ -15135,7 +15185,7 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
15135
15185
  }
15136
15186
  this._includes.push({
15137
15187
  fieldName: "tables",
15138
- fragmentDoc: chunkZFR7CX4F_cjs.TableConnectionFragmentDoc,
15188
+ fragmentDoc: chunkFNYE2ZMN_cjs.TableConnectionFragmentDoc,
15139
15189
  variables,
15140
15190
  isConnection: true,
15141
15191
  isList: false,
@@ -15159,7 +15209,7 @@ var Document_ContentsQuery = class extends chunk4QKWHQT2_cjs.Request {
15159
15209
  this._variables = variables;
15160
15210
  }
15161
15211
  async fetch(options) {
15162
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Document_ContentsDocument, this._variables, "document");
15212
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Document_ContentsDocument, this._variables, "document");
15163
15213
  const data = response.document?.contents;
15164
15214
  if (!Array.isArray(data)) return [];
15165
15215
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -15173,14 +15223,14 @@ var Document_FileQuery = class extends chunk4QKWHQT2_cjs.Request {
15173
15223
  }
15174
15224
  async fetch(options) {
15175
15225
  const variables = this._variables;
15176
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Document_FileDocument, variables, "document");
15226
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Document_FileDocument, variables, "document");
15177
15227
  const data = response.document?.file;
15178
15228
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15179
15229
  }
15180
15230
  watch(options) {
15181
15231
  const variables = this._variables;
15182
15232
  const raw = this._syncEngine.watch(
15183
- chunkZFR7CX4F_cjs.Document_FileDocument,
15233
+ chunkFNYE2ZMN_cjs.Document_FileDocument,
15184
15234
  variables,
15185
15235
  "document",
15186
15236
  async (db) => {
@@ -15203,14 +15253,14 @@ var Document_FormatQuery = class extends chunk4QKWHQT2_cjs.Request {
15203
15253
  }
15204
15254
  async fetch(options) {
15205
15255
  const variables = this._variables;
15206
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Document_FormatDocument, variables, "document");
15256
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Document_FormatDocument, variables, "document");
15207
15257
  const data = response.document?.format;
15208
15258
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15209
15259
  }
15210
15260
  watch(options) {
15211
15261
  const variables = this._variables;
15212
15262
  const raw = this._syncEngine.watch(
15213
- chunkZFR7CX4F_cjs.Document_FormatDocument,
15263
+ chunkFNYE2ZMN_cjs.Document_FormatDocument,
15214
15264
  variables,
15215
15265
  "document",
15216
15266
  async (db) => {
@@ -15233,14 +15283,14 @@ var Document_Format_CatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
15233
15283
  }
15234
15284
  async fetch(options) {
15235
15285
  const variables = this._variables;
15236
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Document_Format_CatalogDocument, variables, "document");
15286
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Document_Format_CatalogDocument, variables, "document");
15237
15287
  const data = response.document?.format?.catalog;
15238
15288
  return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15239
15289
  }
15240
15290
  watch(options) {
15241
15291
  const variables = this._variables;
15242
15292
  const raw = this._syncEngine.watch(
15243
- chunkZFR7CX4F_cjs.Document_Format_CatalogDocument,
15293
+ chunkFNYE2ZMN_cjs.Document_Format_CatalogDocument,
15244
15294
  variables,
15245
15295
  "document",
15246
15296
  async (db) => {
@@ -15263,18 +15313,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk4QKWHQT2_cjs
15263
15313
  }
15264
15314
  async fetch(options) {
15265
15315
  const variables = this._variables;
15266
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Document_TablesDocument, variables, "document");
15316
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Document_TablesDocument, variables, "document");
15267
15317
  const data = response.document?.tables;
15268
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);
15269
15319
  }
15270
15320
  watch(options) {
15271
15321
  const variables = this._variables;
15272
15322
  const raw = this._syncEngine.watch(
15273
- chunkZFR7CX4F_cjs.Document_TablesDocument,
15323
+ chunkFNYE2ZMN_cjs.Document_TablesDocument,
15274
15324
  variables,
15275
15325
  "document",
15276
15326
  async (db) => {
15277
- const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkZFR7CX4F_cjs.Document_TablesDocument));
15327
+ const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkFNYE2ZMN_cjs.Document_TablesDocument));
15278
15328
  const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
15279
15329
  return { document: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
15280
15330
  }
@@ -15294,7 +15344,7 @@ var DocumentCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
15294
15344
  }
15295
15345
  async fetch(options) {
15296
15346
  const variables = this._variables;
15297
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
15347
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
15298
15348
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
15299
15349
  const data = response.documentCatalog;
15300
15350
  const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -15306,7 +15356,7 @@ var DocumentCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
15306
15356
  watch(options) {
15307
15357
  const variables = this._variables;
15308
15358
  const includes = this._includes;
15309
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
15359
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
15310
15360
  const raw = this._syncEngine.watch(
15311
15361
  queryDoc,
15312
15362
  mergedVars,
@@ -15336,10 +15386,10 @@ var DocumentCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
15336
15386
  }
15337
15387
  /** Include format in this query (Smart Fetch — single HTTP request). */
15338
15388
  format(variables) {
15339
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.DocumentCatalog_FormatDocument, "format", []);
15389
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.DocumentCatalog_FormatDocument, "format", []);
15340
15390
  this._includes.push({
15341
15391
  fieldName: "format",
15342
- fragmentDoc: chunkZFR7CX4F_cjs.DocumentFormatFragmentDoc,
15392
+ fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFormatFragmentDoc,
15343
15393
  variables,
15344
15394
  isConnection: false,
15345
15395
  isList: false,
@@ -15362,14 +15412,14 @@ var DocumentCatalog_FormatQuery = class extends chunk4QKWHQT2_cjs.Request {
15362
15412
  }
15363
15413
  async fetch(options) {
15364
15414
  const variables = this._variables;
15365
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
15415
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
15366
15416
  const data = response.documentCatalog?.format;
15367
15417
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15368
15418
  }
15369
15419
  watch(options) {
15370
15420
  const variables = this._variables;
15371
15421
  const raw = this._syncEngine.watch(
15372
- chunkZFR7CX4F_cjs.DocumentCatalog_FormatDocument,
15422
+ chunkFNYE2ZMN_cjs.DocumentCatalog_FormatDocument,
15373
15423
  variables,
15374
15424
  "documentCatalog",
15375
15425
  async (db) => {
@@ -15393,7 +15443,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk4QKWHQT2_c
15393
15443
  }
15394
15444
  async fetch(options) {
15395
15445
  const variables = this._variables;
15396
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
15446
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
15397
15447
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
15398
15448
  const data = response.documentCatalogs;
15399
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);
@@ -15410,7 +15460,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk4QKWHQT2_c
15410
15460
  const subscriptionId = crypto.randomUUID();
15411
15461
  const includes = this._includes;
15412
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) }] : []);
15413
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
15463
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
15414
15464
  const raw = this._syncEngine.watch(
15415
15465
  queryDoc,
15416
15466
  mergedVars,
@@ -15445,10 +15495,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk4QKWHQT2_c
15445
15495
  }
15446
15496
  /** Include format in this query (Smart Fetch — single HTTP request). */
15447
15497
  format(variables) {
15448
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.DocumentCatalog_FormatDocument, "format", []);
15498
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.DocumentCatalog_FormatDocument, "format", []);
15449
15499
  this._includes.push({
15450
15500
  fieldName: "format",
15451
- fragmentDoc: chunkZFR7CX4F_cjs.DocumentFormatFragmentDoc,
15501
+ fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFormatFragmentDoc,
15452
15502
  variables,
15453
15503
  isConnection: false,
15454
15504
  isList: false,
@@ -15472,7 +15522,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15472
15522
  }
15473
15523
  async fetch(options) {
15474
15524
  const variables = this._variables;
15475
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentsDocument, "documents", this._includes, variables, true);
15525
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentsDocument, "documents", this._includes, variables, true);
15476
15526
  const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
15477
15527
  const data = response.documents;
15478
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);
@@ -15489,7 +15539,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15489
15539
  const subscriptionId = crypto.randomUUID();
15490
15540
  const includes = this._includes;
15491
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) }] : []);
15492
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentsDocument, "documents", includes, variables, true);
15542
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.DocumentsDocument, "documents", includes, variables, true);
15493
15543
  const raw = this._syncEngine.watch(
15494
15544
  queryDoc,
15495
15545
  mergedVars,
@@ -15524,10 +15574,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15524
15574
  }
15525
15575
  /** Include contents in this query (Smart Fetch — single HTTP request). */
15526
15576
  contents(variables) {
15527
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_ContentsDocument, "contents", ["id"]);
15577
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_ContentsDocument, "contents", ["id"]);
15528
15578
  this._includes.push({
15529
15579
  fieldName: "contents",
15530
- fragmentDoc: chunkZFR7CX4F_cjs.DocumentContentFragmentDoc,
15580
+ fragmentDoc: chunkFNYE2ZMN_cjs.DocumentContentFragmentDoc,
15531
15581
  variables,
15532
15582
  isConnection: false,
15533
15583
  isList: true,
@@ -15543,10 +15593,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15543
15593
  }
15544
15594
  /** Include file in this query (Smart Fetch — single HTTP request). */
15545
15595
  file(variables) {
15546
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_FileDocument, "file", ["id"]);
15596
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_FileDocument, "file", ["id"]);
15547
15597
  this._includes.push({
15548
15598
  fieldName: "file",
15549
- fragmentDoc: chunkZFR7CX4F_cjs.FileFragmentDoc,
15599
+ fragmentDoc: chunkFNYE2ZMN_cjs.FileFragmentDoc,
15550
15600
  variables,
15551
15601
  isConnection: false,
15552
15602
  isList: false,
@@ -15562,10 +15612,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15562
15612
  }
15563
15613
  /** Include format in this query (Smart Fetch — single HTTP request). */
15564
15614
  format(variables) {
15565
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_FormatDocument, "format", ["id"]);
15615
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_FormatDocument, "format", ["id"]);
15566
15616
  this._includes.push({
15567
15617
  fieldName: "format",
15568
- fragmentDoc: chunkZFR7CX4F_cjs.DocumentFormatFragmentDoc,
15618
+ fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFormatFragmentDoc,
15569
15619
  variables,
15570
15620
  isConnection: false,
15571
15621
  isList: false,
@@ -15581,7 +15631,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15581
15631
  }
15582
15632
  /** Include tables in this query (Smart Fetch — single HTTP request). */
15583
15633
  tables(variables, builder) {
15584
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_TablesDocument, "tables", ["id"]);
15634
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Document_TablesDocument, "tables", ["id"]);
15585
15635
  let children;
15586
15636
  if (builder) {
15587
15637
  const sub = new TableSubBuilder();
@@ -15590,7 +15640,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15590
15640
  }
15591
15641
  this._includes.push({
15592
15642
  fieldName: "tables",
15593
- fragmentDoc: chunkZFR7CX4F_cjs.TableConnectionFragmentDoc,
15643
+ fragmentDoc: chunkFNYE2ZMN_cjs.TableConnectionFragmentDoc,
15594
15644
  variables,
15595
15645
  isConnection: true,
15596
15646
  isList: false,
@@ -15609,19 +15659,19 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
15609
15659
  };
15610
15660
  var ExportQuery = class extends chunk4QKWHQT2_cjs.Request {
15611
15661
  async fetch(variables) {
15612
- const response = await this._request(chunkZFR7CX4F_cjs.ExportDocument, variables);
15662
+ const response = await this._request(chunkFNYE2ZMN_cjs.ExportDocument, variables);
15613
15663
  return response.export;
15614
15664
  }
15615
15665
  };
15616
15666
  var ExportWithInsightIdQuery = class extends chunk4QKWHQT2_cjs.Request {
15617
15667
  async fetch(variables) {
15618
- const response = await this._request(chunkZFR7CX4F_cjs.ExportWithInsightIdDocument, variables);
15668
+ const response = await this._request(chunkFNYE2ZMN_cjs.ExportWithInsightIdDocument, variables);
15619
15669
  return response.exportWithInsightId;
15620
15670
  }
15621
15671
  };
15622
15672
  var FileQuery = class extends chunk4QKWHQT2_cjs.Request {
15623
15673
  async fetch(variables) {
15624
- const response = await this._request(chunkZFR7CX4F_cjs.FileDocument, variables);
15674
+ const response = await this._request(chunkFNYE2ZMN_cjs.FileDocument, variables);
15625
15675
  return response.file;
15626
15676
  }
15627
15677
  };
@@ -15634,7 +15684,7 @@ var FileMetaQuery = class extends chunk4QKWHQT2_cjs.Request {
15634
15684
  }
15635
15685
  async fetch(options) {
15636
15686
  const variables = this._variables;
15637
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
15687
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
15638
15688
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
15639
15689
  const data = response.fileMeta;
15640
15690
  if (!data) return void 0;
@@ -15647,7 +15697,7 @@ var FileMetaQuery = class extends chunk4QKWHQT2_cjs.Request {
15647
15697
  watch(options) {
15648
15698
  const variables = this._variables;
15649
15699
  const includes = this._includes;
15650
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.FileMetaDocument, "fileMeta", includes, variables);
15700
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.FileMetaDocument, "fileMeta", includes, variables);
15651
15701
  const raw = this._syncEngine.watch(
15652
15702
  queryDoc,
15653
15703
  mergedVars,
@@ -15685,7 +15735,7 @@ var FileUrlsQuery = class extends chunk4QKWHQT2_cjs.Request {
15685
15735
  this._variables = variables;
15686
15736
  }
15687
15737
  async fetch(options) {
15688
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
15738
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
15689
15739
  const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
15690
15740
  const data = response.fileUrls;
15691
15741
  if (!Array.isArray(data)) return [];
@@ -15694,7 +15744,7 @@ var FileUrlsQuery = class extends chunk4QKWHQT2_cjs.Request {
15694
15744
  };
15695
15745
  var FindFitTierQuery = class extends chunk4QKWHQT2_cjs.Request {
15696
15746
  async fetch(variables) {
15697
- const response = await this._request(chunkZFR7CX4F_cjs.FindFitTierDocument, variables);
15747
+ const response = await this._request(chunkFNYE2ZMN_cjs.FindFitTierDocument, variables);
15698
15748
  return response.findFitTier ?? void 0;
15699
15749
  }
15700
15750
  };
@@ -15707,7 +15757,7 @@ var FolderQuery = class extends chunk4QKWHQT2_cjs.Request {
15707
15757
  }
15708
15758
  async fetch(options) {
15709
15759
  const variables = this._variables;
15710
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.FolderDocument, "folder", this._includes, variables);
15760
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.FolderDocument, "folder", this._includes, variables);
15711
15761
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
15712
15762
  const data = response.folder;
15713
15763
  const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
@@ -15719,7 +15769,7 @@ var FolderQuery = class extends chunk4QKWHQT2_cjs.Request {
15719
15769
  watch(options) {
15720
15770
  const variables = this._variables;
15721
15771
  const includes = this._includes;
15722
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.FolderDocument, "folder", includes, variables);
15772
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.FolderDocument, "folder", includes, variables);
15723
15773
  const raw = this._syncEngine.watch(
15724
15774
  queryDoc,
15725
15775
  mergedVars,
@@ -15757,7 +15807,7 @@ var FoldersQuery = class _FoldersQuery extends chunk4QKWHQT2_cjs.Request {
15757
15807
  }
15758
15808
  async fetch(options) {
15759
15809
  const variables = this._variables;
15760
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.FoldersDocument, "folders", this._includes, variables, true);
15810
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.FoldersDocument, "folders", this._includes, variables, true);
15761
15811
  const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
15762
15812
  const data = response.folders;
15763
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);
@@ -15774,7 +15824,7 @@ var FoldersQuery = class _FoldersQuery extends chunk4QKWHQT2_cjs.Request {
15774
15824
  const subscriptionId = crypto.randomUUID();
15775
15825
  const includes = this._includes;
15776
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) }] : []);
15777
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.FoldersDocument, "folders", includes, variables, true);
15827
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.FoldersDocument, "folders", includes, variables, true);
15778
15828
  const raw = this._syncEngine.watch(
15779
15829
  queryDoc,
15780
15830
  mergedVars,
@@ -15810,7 +15860,7 @@ var FoldersQuery = class _FoldersQuery extends chunk4QKWHQT2_cjs.Request {
15810
15860
  };
15811
15861
  var GetCapabilityQuery = class extends chunk4QKWHQT2_cjs.Request {
15812
15862
  async fetch(variables) {
15813
- const response = await this._request(chunkZFR7CX4F_cjs.GetCapabilityDocument, variables);
15863
+ const response = await this._request(chunkFNYE2ZMN_cjs.GetCapabilityDocument, variables);
15814
15864
  return response.getCapability;
15815
15865
  }
15816
15866
  };
@@ -15823,7 +15873,7 @@ var GetDevAccessTokenQuery = class extends chunk4QKWHQT2_cjs.Request {
15823
15873
  }
15824
15874
  async fetch(options) {
15825
15875
  const variables = this._variables;
15826
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
15876
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
15827
15877
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
15828
15878
  const data = response.getDevAccessToken;
15829
15879
  const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
@@ -15835,7 +15885,7 @@ var GetDevAccessTokenQuery = class extends chunk4QKWHQT2_cjs.Request {
15835
15885
  watch(options) {
15836
15886
  const variables = this._variables;
15837
15887
  const includes = this._includes;
15838
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
15888
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
15839
15889
  const raw = this._syncEngine.watch(
15840
15890
  queryDoc,
15841
15891
  mergedVars,
@@ -15866,13 +15916,13 @@ var GetDevAccessTokenQuery = class extends chunk4QKWHQT2_cjs.Request {
15866
15916
  };
15867
15917
  var GetLimitQuery = class extends chunk4QKWHQT2_cjs.Request {
15868
15918
  async fetch(variables) {
15869
- const response = await this._request(chunkZFR7CX4F_cjs.GetLimitDocument, variables);
15919
+ const response = await this._request(chunkFNYE2ZMN_cjs.GetLimitDocument, variables);
15870
15920
  return response.getLimit ?? void 0;
15871
15921
  }
15872
15922
  };
15873
15923
  var GetRemainingQuery = class extends chunk4QKWHQT2_cjs.Request {
15874
15924
  async fetch(variables) {
15875
- const response = await this._request(chunkZFR7CX4F_cjs.GetRemainingDocument, variables);
15925
+ const response = await this._request(chunkFNYE2ZMN_cjs.GetRemainingDocument, variables);
15876
15926
  return response.getRemaining ?? void 0;
15877
15927
  }
15878
15928
  };
@@ -15884,7 +15934,7 @@ var GetTokenUsageByModelQuery = class extends chunk4QKWHQT2_cjs.Request {
15884
15934
  this._variables = variables;
15885
15935
  }
15886
15936
  async fetch(options) {
15887
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
15937
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
15888
15938
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
15889
15939
  const data = response.getTokenUsageByModel;
15890
15940
  if (!Array.isArray(data)) return [];
@@ -15899,7 +15949,7 @@ var GetTokenUsageHistoryQuery = class extends chunk4QKWHQT2_cjs.Request {
15899
15949
  this._variables = variables;
15900
15950
  }
15901
15951
  async fetch(options) {
15902
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
15952
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
15903
15953
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
15904
15954
  const data = response.getTokenUsageHistory;
15905
15955
  if (!Array.isArray(data)) return [];
@@ -15915,7 +15965,7 @@ var GetTokenUsageStatusQuery = class extends chunk4QKWHQT2_cjs.Request {
15915
15965
  }
15916
15966
  async fetch(options) {
15917
15967
  const variables = this._variables;
15918
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
15968
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
15919
15969
  const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
15920
15970
  const data = response.getTokenUsageStatus;
15921
15971
  const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
@@ -15927,7 +15977,7 @@ var GetTokenUsageStatusQuery = class extends chunk4QKWHQT2_cjs.Request {
15927
15977
  watch(options) {
15928
15978
  const variables = this._variables;
15929
15979
  const includes = this._includes;
15930
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
15980
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
15931
15981
  const raw = this._syncEngine.watch(
15932
15982
  queryDoc,
15933
15983
  mergedVars,
@@ -15957,10 +16007,10 @@ var GetTokenUsageStatusQuery = class extends chunk4QKWHQT2_cjs.Request {
15957
16007
  }
15958
16008
  /** Include windows in this query (Smart Fetch — single HTTP request). */
15959
16009
  windows(variables) {
15960
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
16010
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
15961
16011
  this._includes.push({
15962
16012
  fieldName: "windows",
15963
- fragmentDoc: chunkZFR7CX4F_cjs.UsageWindowsStatusTypeFragmentDoc,
16013
+ fragmentDoc: chunkFNYE2ZMN_cjs.UsageWindowsStatusTypeFragmentDoc,
15964
16014
  variables,
15965
16015
  isConnection: false,
15966
16016
  isList: false,
@@ -15983,14 +16033,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk4QKWHQT2_cjs.Request {
15983
16033
  }
15984
16034
  async fetch(options) {
15985
16035
  const variables = this._variables;
15986
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
16036
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
15987
16037
  const data = response.getTokenUsageStatus?.windows;
15988
16038
  return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
15989
16039
  }
15990
16040
  watch(options) {
15991
16041
  const variables = this._variables;
15992
16042
  const raw = this._syncEngine.watch(
15993
- chunkZFR7CX4F_cjs.GetTokenUsageStatus_WindowsDocument,
16043
+ chunkFNYE2ZMN_cjs.GetTokenUsageStatus_WindowsDocument,
15994
16044
  variables,
15995
16045
  "getTokenUsageStatus",
15996
16046
  async (db) => {
@@ -16013,14 +16063,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk4QKWHQT2_cjs.Reque
16013
16063
  }
16014
16064
  async fetch(options) {
16015
16065
  const variables = this._variables;
16016
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
16066
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
16017
16067
  const data = response.getTokenUsageStatus?.windows?.day;
16018
16068
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16019
16069
  }
16020
16070
  watch(options) {
16021
16071
  const variables = this._variables;
16022
16072
  const raw = this._syncEngine.watch(
16023
- chunkZFR7CX4F_cjs.GetTokenUsageStatus_Windows_DayDocument,
16073
+ chunkFNYE2ZMN_cjs.GetTokenUsageStatus_Windows_DayDocument,
16024
16074
  variables,
16025
16075
  "getTokenUsageStatus",
16026
16076
  async (db) => {
@@ -16043,14 +16093,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk4QKWHQT2_cjs.
16043
16093
  }
16044
16094
  async fetch(options) {
16045
16095
  const variables = this._variables;
16046
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
16096
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
16047
16097
  const data = response.getTokenUsageStatus?.windows?.fiveHour;
16048
16098
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16049
16099
  }
16050
16100
  watch(options) {
16051
16101
  const variables = this._variables;
16052
16102
  const raw = this._syncEngine.watch(
16053
- chunkZFR7CX4F_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
16103
+ chunkFNYE2ZMN_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
16054
16104
  variables,
16055
16105
  "getTokenUsageStatus",
16056
16106
  async (db) => {
@@ -16073,14 +16123,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk4QKWHQT2_cjs.Requ
16073
16123
  }
16074
16124
  async fetch(options) {
16075
16125
  const variables = this._variables;
16076
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
16126
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
16077
16127
  const data = response.getTokenUsageStatus?.windows?.week;
16078
16128
  return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16079
16129
  }
16080
16130
  watch(options) {
16081
16131
  const variables = this._variables;
16082
16132
  const raw = this._syncEngine.watch(
16083
- chunkZFR7CX4F_cjs.GetTokenUsageStatus_Windows_WeekDocument,
16133
+ chunkFNYE2ZMN_cjs.GetTokenUsageStatus_Windows_WeekDocument,
16084
16134
  variables,
16085
16135
  "getTokenUsageStatus",
16086
16136
  async (db) => {
@@ -16097,7 +16147,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk4QKWHQT2_cjs.Requ
16097
16147
  };
16098
16148
  var GetUsageQuery = class extends chunk4QKWHQT2_cjs.Request {
16099
16149
  async fetch(variables) {
16100
- const response = await this._request(chunkZFR7CX4F_cjs.GetUsageDocument, variables);
16150
+ const response = await this._request(chunkFNYE2ZMN_cjs.GetUsageDocument, variables);
16101
16151
  return response.getUsage ?? void 0;
16102
16152
  }
16103
16153
  };
@@ -16110,7 +16160,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
16110
16160
  }
16111
16161
  async fetch(options) {
16112
16162
  const variables = this._variables;
16113
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.InsightDocument, "insight", this._includes, variables);
16163
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.InsightDocument, "insight", this._includes, variables);
16114
16164
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
16115
16165
  const data = response.insight;
16116
16166
  const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
@@ -16122,7 +16172,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
16122
16172
  watch(options) {
16123
16173
  const variables = this._variables;
16124
16174
  const includes = this._includes;
16125
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.InsightDocument, "insight", includes, variables);
16175
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.InsightDocument, "insight", includes, variables);
16126
16176
  const raw = this._syncEngine.watch(
16127
16177
  queryDoc,
16128
16178
  mergedVars,
@@ -16152,7 +16202,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
16152
16202
  }
16153
16203
  /** Include chat in this query (Smart Fetch — single HTTP request). */
16154
16204
  chat(variables, builder) {
16155
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ChatDocument, "chat", ["id"]);
16205
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ChatDocument, "chat", ["id"]);
16156
16206
  let children;
16157
16207
  if (builder) {
16158
16208
  const sub = new ChatSubBuilder();
@@ -16161,7 +16211,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
16161
16211
  }
16162
16212
  this._includes.push({
16163
16213
  fieldName: "chat",
16164
- fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
16214
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
16165
16215
  variables,
16166
16216
  isConnection: false,
16167
16217
  isList: false,
@@ -16178,10 +16228,10 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
16178
16228
  }
16179
16229
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
16180
16230
  reportMembers(variables) {
16181
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16231
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16182
16232
  this._includes.push({
16183
16233
  fieldName: "reportMembers",
16184
- fragmentDoc: chunkZFR7CX4F_cjs.ReportMemberFragmentDoc,
16234
+ fragmentDoc: chunkFNYE2ZMN_cjs.ReportMemberFragmentDoc,
16185
16235
  variables,
16186
16236
  isConnection: false,
16187
16237
  isList: true,
@@ -16197,7 +16247,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
16197
16247
  }
16198
16248
  /** Include reports in this query (Smart Fetch — single HTTP request). */
16199
16249
  reports(variables, builder) {
16200
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ReportsDocument, "reports", ["id"]);
16250
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ReportsDocument, "reports", ["id"]);
16201
16251
  let children;
16202
16252
  if (builder) {
16203
16253
  const sub = new ReportSubBuilder();
@@ -16206,7 +16256,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
16206
16256
  }
16207
16257
  this._includes.push({
16208
16258
  fieldName: "reports",
16209
- fragmentDoc: chunkZFR7CX4F_cjs.ReportConnectionFragmentDoc,
16259
+ fragmentDoc: chunkFNYE2ZMN_cjs.ReportConnectionFragmentDoc,
16210
16260
  variables,
16211
16261
  isConnection: true,
16212
16262
  isList: false,
@@ -16231,14 +16281,14 @@ var Insight_ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
16231
16281
  }
16232
16282
  async fetch(options) {
16233
16283
  const variables = this._variables;
16234
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Insight_ChatDocument, variables, "insight");
16284
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Insight_ChatDocument, variables, "insight");
16235
16285
  const data = response.insight?.chat;
16236
16286
  return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16237
16287
  }
16238
16288
  watch(options) {
16239
16289
  const variables = this._variables;
16240
16290
  const raw = this._syncEngine.watch(
16241
- chunkZFR7CX4F_cjs.Insight_ChatDocument,
16291
+ chunkFNYE2ZMN_cjs.Insight_ChatDocument,
16242
16292
  variables,
16243
16293
  "insight",
16244
16294
  async (db) => {
@@ -16260,7 +16310,7 @@ var Insight_ReportMembersQuery = class extends chunk4QKWHQT2_cjs.Request {
16260
16310
  this._variables = variables;
16261
16311
  }
16262
16312
  async fetch(options) {
16263
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Insight_ReportMembersDocument, this._variables, "insight");
16313
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Insight_ReportMembersDocument, this._variables, "insight");
16264
16314
  const data = response.insight?.reportMembers;
16265
16315
  if (!Array.isArray(data)) return [];
16266
16316
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -16274,18 +16324,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk4QKWHQT2_cjs
16274
16324
  }
16275
16325
  async fetch(options) {
16276
16326
  const variables = this._variables;
16277
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Insight_ReportsDocument, variables, "insight");
16327
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Insight_ReportsDocument, variables, "insight");
16278
16328
  const data = response.insight?.reports;
16279
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);
16280
16330
  }
16281
16331
  watch(options) {
16282
16332
  const variables = this._variables;
16283
16333
  const raw = this._syncEngine.watch(
16284
- chunkZFR7CX4F_cjs.Insight_ReportsDocument,
16334
+ chunkFNYE2ZMN_cjs.Insight_ReportsDocument,
16285
16335
  variables,
16286
16336
  "insight",
16287
16337
  async (db) => {
16288
- const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkZFR7CX4F_cjs.Insight_ReportsDocument));
16338
+ const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkFNYE2ZMN_cjs.Insight_ReportsDocument));
16289
16339
  const nodes = qr ? await db.table("reports").bulkGet(qr.entityIds) : [];
16290
16340
  return { insight: { reports: { __typename: "ReportConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
16291
16341
  }
@@ -16305,7 +16355,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
16305
16355
  }
16306
16356
  async fetch(options) {
16307
16357
  const variables = this._variables;
16308
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.InsightsDocument, "insights", this._includes, variables, true);
16358
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.InsightsDocument, "insights", this._includes, variables, true);
16309
16359
  const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
16310
16360
  const data = response.insights;
16311
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);
@@ -16322,7 +16372,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
16322
16372
  const subscriptionId = crypto.randomUUID();
16323
16373
  const includes = this._includes;
16324
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) }] : []);
16325
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.InsightsDocument, "insights", includes, variables, true);
16375
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.InsightsDocument, "insights", includes, variables, true);
16326
16376
  const raw = this._syncEngine.watch(
16327
16377
  queryDoc,
16328
16378
  mergedVars,
@@ -16357,7 +16407,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
16357
16407
  }
16358
16408
  /** Include chat in this query (Smart Fetch — single HTTP request). */
16359
16409
  chat(variables, builder) {
16360
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ChatDocument, "chat", ["id"]);
16410
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ChatDocument, "chat", ["id"]);
16361
16411
  let children;
16362
16412
  if (builder) {
16363
16413
  const sub = new ChatSubBuilder();
@@ -16366,7 +16416,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
16366
16416
  }
16367
16417
  this._includes.push({
16368
16418
  fieldName: "chat",
16369
- fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
16419
+ fragmentDoc: chunkFNYE2ZMN_cjs.ChatFragmentDoc,
16370
16420
  variables,
16371
16421
  isConnection: false,
16372
16422
  isList: false,
@@ -16383,10 +16433,10 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
16383
16433
  }
16384
16434
  /** Include reportMembers in this query (Smart Fetch — single HTTP request). */
16385
16435
  reportMembers(variables) {
16386
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16436
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
16387
16437
  this._includes.push({
16388
16438
  fieldName: "reportMembers",
16389
- fragmentDoc: chunkZFR7CX4F_cjs.ReportMemberFragmentDoc,
16439
+ fragmentDoc: chunkFNYE2ZMN_cjs.ReportMemberFragmentDoc,
16390
16440
  variables,
16391
16441
  isConnection: false,
16392
16442
  isList: true,
@@ -16402,7 +16452,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
16402
16452
  }
16403
16453
  /** Include reports in this query (Smart Fetch — single HTTP request). */
16404
16454
  reports(variables, builder) {
16405
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ReportsDocument, "reports", ["id"]);
16455
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Insight_ReportsDocument, "reports", ["id"]);
16406
16456
  let children;
16407
16457
  if (builder) {
16408
16458
  const sub = new ReportSubBuilder();
@@ -16411,7 +16461,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
16411
16461
  }
16412
16462
  this._includes.push({
16413
16463
  fieldName: "reports",
16414
- fragmentDoc: chunkZFR7CX4F_cjs.ReportConnectionFragmentDoc,
16464
+ fragmentDoc: chunkFNYE2ZMN_cjs.ReportConnectionFragmentDoc,
16415
16465
  variables,
16416
16466
  isConnection: true,
16417
16467
  isList: false,
@@ -16437,7 +16487,7 @@ var IntegrationQuery = class extends chunk4QKWHQT2_cjs.Request {
16437
16487
  }
16438
16488
  async fetch(options) {
16439
16489
  const variables = this._variables;
16440
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationDocument, "integration", this._includes, variables);
16490
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationDocument, "integration", this._includes, variables);
16441
16491
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
16442
16492
  const data = response.integration;
16443
16493
  const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
@@ -16449,7 +16499,7 @@ var IntegrationQuery = class extends chunk4QKWHQT2_cjs.Request {
16449
16499
  watch(options) {
16450
16500
  const variables = this._variables;
16451
16501
  const includes = this._includes;
16452
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationDocument, "integration", includes, variables);
16502
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationDocument, "integration", includes, variables);
16453
16503
  const raw = this._syncEngine.watch(
16454
16504
  queryDoc,
16455
16505
  mergedVars,
@@ -16479,10 +16529,10 @@ var IntegrationQuery = class extends chunk4QKWHQT2_cjs.Request {
16479
16529
  }
16480
16530
  /** Include provider in this query (Smart Fetch — single HTTP request). */
16481
16531
  provider(variables) {
16482
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Integration_ProviderDocument, "provider", ["id"]);
16532
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Integration_ProviderDocument, "provider", ["id"]);
16483
16533
  this._includes.push({
16484
16534
  fieldName: "provider",
16485
- fragmentDoc: chunkZFR7CX4F_cjs.IntegrationProviderFragmentDoc,
16535
+ fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationProviderFragmentDoc,
16486
16536
  variables,
16487
16537
  isConnection: false,
16488
16538
  isList: false,
@@ -16505,14 +16555,14 @@ var Integration_ProviderQuery = class extends chunk4QKWHQT2_cjs.Request {
16505
16555
  }
16506
16556
  async fetch(options) {
16507
16557
  const variables = this._variables;
16508
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Integration_ProviderDocument, variables, "integration");
16558
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Integration_ProviderDocument, variables, "integration");
16509
16559
  const data = response.integration?.provider;
16510
16560
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16511
16561
  }
16512
16562
  watch(options) {
16513
16563
  const variables = this._variables;
16514
16564
  const raw = this._syncEngine.watch(
16515
- chunkZFR7CX4F_cjs.Integration_ProviderDocument,
16565
+ chunkFNYE2ZMN_cjs.Integration_ProviderDocument,
16516
16566
  variables,
16517
16567
  "integration",
16518
16568
  async (db) => {
@@ -16535,14 +16585,14 @@ var Integration_Provider_CatalogQuery = class extends chunk4QKWHQT2_cjs.Request
16535
16585
  }
16536
16586
  async fetch(options) {
16537
16587
  const variables = this._variables;
16538
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Integration_Provider_CatalogDocument, variables, "integration");
16588
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Integration_Provider_CatalogDocument, variables, "integration");
16539
16589
  const data = response.integration?.provider?.catalog;
16540
16590
  return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16541
16591
  }
16542
16592
  watch(options) {
16543
16593
  const variables = this._variables;
16544
16594
  const raw = this._syncEngine.watch(
16545
- chunkZFR7CX4F_cjs.Integration_Provider_CatalogDocument,
16595
+ chunkFNYE2ZMN_cjs.Integration_Provider_CatalogDocument,
16546
16596
  variables,
16547
16597
  "integration",
16548
16598
  async (db) => {
@@ -16566,7 +16616,7 @@ var IntegrationCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
16566
16616
  }
16567
16617
  async fetch(options) {
16568
16618
  const variables = this._variables;
16569
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
16619
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
16570
16620
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
16571
16621
  const data = response.integrationCatalog;
16572
16622
  const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
@@ -16578,7 +16628,7 @@ var IntegrationCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
16578
16628
  watch(options) {
16579
16629
  const variables = this._variables;
16580
16630
  const includes = this._includes;
16581
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
16631
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
16582
16632
  const raw = this._syncEngine.watch(
16583
16633
  queryDoc,
16584
16634
  mergedVars,
@@ -16608,10 +16658,10 @@ var IntegrationCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
16608
16658
  }
16609
16659
  /** Include provider in this query (Smart Fetch — single HTTP request). */
16610
16660
  provider(variables) {
16611
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
16661
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
16612
16662
  this._includes.push({
16613
16663
  fieldName: "provider",
16614
- fragmentDoc: chunkZFR7CX4F_cjs.IntegrationProviderFragmentDoc,
16664
+ fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationProviderFragmentDoc,
16615
16665
  variables,
16616
16666
  isConnection: false,
16617
16667
  isList: false,
@@ -16634,14 +16684,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk4QKWHQT2_cjs.Request {
16634
16684
  }
16635
16685
  async fetch(options) {
16636
16686
  const variables = this._variables;
16637
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
16687
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
16638
16688
  const data = response.integrationCatalog?.provider;
16639
16689
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
16640
16690
  }
16641
16691
  watch(options) {
16642
16692
  const variables = this._variables;
16643
16693
  const raw = this._syncEngine.watch(
16644
- chunkZFR7CX4F_cjs.IntegrationCatalog_ProviderDocument,
16694
+ chunkFNYE2ZMN_cjs.IntegrationCatalog_ProviderDocument,
16645
16695
  variables,
16646
16696
  "integrationCatalog",
16647
16697
  async (db) => {
@@ -16658,7 +16708,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk4QKWHQT2_cjs.Request {
16658
16708
  };
16659
16709
  var IntegrationCatalogToolsQuery = class extends chunk4QKWHQT2_cjs.Request {
16660
16710
  async fetch(variables) {
16661
- const response = await this._request(chunkZFR7CX4F_cjs.IntegrationCatalogToolsDocument, variables);
16711
+ const response = await this._request(chunkFNYE2ZMN_cjs.IntegrationCatalogToolsDocument, variables);
16662
16712
  return response.integrationCatalogTools;
16663
16713
  }
16664
16714
  };
@@ -16671,7 +16721,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk4QKW
16671
16721
  }
16672
16722
  async fetch(options) {
16673
16723
  const variables = this._variables;
16674
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
16724
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
16675
16725
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
16676
16726
  const data = response.integrationCatalogs;
16677
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);
@@ -16688,7 +16738,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk4QKW
16688
16738
  const subscriptionId = crypto.randomUUID();
16689
16739
  const includes = this._includes;
16690
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) }] : []);
16691
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
16741
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
16692
16742
  const raw = this._syncEngine.watch(
16693
16743
  queryDoc,
16694
16744
  mergedVars,
@@ -16723,10 +16773,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk4QKW
16723
16773
  }
16724
16774
  /** Include provider in this query (Smart Fetch — single HTTP request). */
16725
16775
  provider(variables) {
16726
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
16776
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
16727
16777
  this._includes.push({
16728
16778
  fieldName: "provider",
16729
- fragmentDoc: chunkZFR7CX4F_cjs.IntegrationProviderFragmentDoc,
16779
+ fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationProviderFragmentDoc,
16730
16780
  variables,
16731
16781
  isConnection: false,
16732
16782
  isList: false,
@@ -16750,7 +16800,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk4QKWHQT2_cjs.Reque
16750
16800
  }
16751
16801
  async fetch(options) {
16752
16802
  const variables = this._variables;
16753
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
16803
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
16754
16804
  const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
16755
16805
  const data = response.integrations;
16756
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);
@@ -16767,7 +16817,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk4QKWHQT2_cjs.Reque
16767
16817
  const subscriptionId = crypto.randomUUID();
16768
16818
  const includes = this._includes;
16769
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) }] : []);
16770
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationsDocument, "integrations", includes, variables, true);
16820
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.IntegrationsDocument, "integrations", includes, variables, true);
16771
16821
  const raw = this._syncEngine.watch(
16772
16822
  queryDoc,
16773
16823
  mergedVars,
@@ -16802,10 +16852,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk4QKWHQT2_cjs.Reque
16802
16852
  }
16803
16853
  /** Include provider in this query (Smart Fetch — single HTTP request). */
16804
16854
  provider(variables) {
16805
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Integration_ProviderDocument, "provider", ["id"]);
16855
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Integration_ProviderDocument, "provider", ["id"]);
16806
16856
  this._includes.push({
16807
16857
  fieldName: "provider",
16808
- fragmentDoc: chunkZFR7CX4F_cjs.IntegrationProviderFragmentDoc,
16858
+ fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationProviderFragmentDoc,
16809
16859
  variables,
16810
16860
  isConnection: false,
16811
16861
  isList: false,
@@ -16829,7 +16879,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk4QKWHQT2_cjs
16829
16879
  }
16830
16880
  async fetch(options) {
16831
16881
  const variables = this._variables;
16832
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
16882
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
16833
16883
  const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
16834
16884
  const data = response.interpretations;
16835
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);
@@ -16846,7 +16896,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk4QKWHQT2_cjs
16846
16896
  const subscriptionId = crypto.randomUUID();
16847
16897
  const includes = this._includes;
16848
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) }] : []);
16849
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
16899
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
16850
16900
  const raw = this._syncEngine.watch(
16851
16901
  queryDoc,
16852
16902
  mergedVars,
@@ -16889,7 +16939,7 @@ var NotificationQuery = class extends chunk4QKWHQT2_cjs.Request {
16889
16939
  }
16890
16940
  async fetch(options) {
16891
16941
  const variables = this._variables;
16892
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.NotificationDocument, "notification", this._includes, variables);
16942
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.NotificationDocument, "notification", this._includes, variables);
16893
16943
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
16894
16944
  const data = response.notification;
16895
16945
  const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
@@ -16901,7 +16951,7 @@ var NotificationQuery = class extends chunk4QKWHQT2_cjs.Request {
16901
16951
  watch(options) {
16902
16952
  const variables = this._variables;
16903
16953
  const includes = this._includes;
16904
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.NotificationDocument, "notification", includes, variables);
16954
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.NotificationDocument, "notification", includes, variables);
16905
16955
  const raw = this._syncEngine.watch(
16906
16956
  queryDoc,
16907
16957
  mergedVars,
@@ -16939,7 +16989,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk4QKWHQT2_cjs.Req
16939
16989
  }
16940
16990
  async fetch(options) {
16941
16991
  const variables = this._variables;
16942
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
16992
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
16943
16993
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
16944
16994
  const data = response.notifications;
16945
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);
@@ -16956,7 +17006,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk4QKWHQT2_cjs.Req
16956
17006
  const subscriptionId = crypto.randomUUID();
16957
17007
  const includes = this._includes;
16958
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) }] : []);
16959
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.NotificationsDocument, "notifications", includes, variables, true);
17009
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.NotificationsDocument, "notifications", includes, variables, true);
16960
17010
  const raw = this._syncEngine.watch(
16961
17011
  queryDoc,
16962
17012
  mergedVars,
@@ -16998,7 +17048,7 @@ var NotificationsByReferenceQuery = class extends chunk4QKWHQT2_cjs.Request {
16998
17048
  this._variables = variables;
16999
17049
  }
17000
17050
  async fetch(options) {
17001
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
17051
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
17002
17052
  const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
17003
17053
  const data = response.notificationsByReference;
17004
17054
  if (!Array.isArray(data)) return [];
@@ -17014,7 +17064,7 @@ var PrivacyStatsQuery = class extends chunk4QKWHQT2_cjs.Request {
17014
17064
  }
17015
17065
  async fetch(options) {
17016
17066
  const variables = this._variables;
17017
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
17067
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
17018
17068
  const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
17019
17069
  const data = response.privacyStats;
17020
17070
  const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
@@ -17026,7 +17076,7 @@ var PrivacyStatsQuery = class extends chunk4QKWHQT2_cjs.Request {
17026
17076
  watch(options) {
17027
17077
  const variables = this._variables;
17028
17078
  const includes = this._includes;
17029
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
17079
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
17030
17080
  const raw = this._syncEngine.watch(
17031
17081
  queryDoc,
17032
17082
  mergedVars,
@@ -17064,7 +17114,7 @@ var PulseAppSummaryQuery = class extends chunk4QKWHQT2_cjs.Request {
17064
17114
  }
17065
17115
  async fetch(options) {
17066
17116
  const variables = this._variables;
17067
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
17117
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
17068
17118
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
17069
17119
  const data = response.pulseAppSummary;
17070
17120
  if (!data) return void 0;
@@ -17077,7 +17127,7 @@ var PulseAppSummaryQuery = class extends chunk4QKWHQT2_cjs.Request {
17077
17127
  watch(options) {
17078
17128
  const variables = this._variables;
17079
17129
  const includes = this._includes;
17080
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
17130
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
17081
17131
  const raw = this._syncEngine.watch(
17082
17132
  queryDoc,
17083
17133
  mergedVars,
@@ -17116,7 +17166,7 @@ var PulseEventQuery = class extends chunk4QKWHQT2_cjs.Request {
17116
17166
  }
17117
17167
  async fetch(options) {
17118
17168
  const variables = this._variables;
17119
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
17169
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
17120
17170
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
17121
17171
  const data = response.pulseEvent;
17122
17172
  const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
@@ -17128,7 +17178,7 @@ var PulseEventQuery = class extends chunk4QKWHQT2_cjs.Request {
17128
17178
  watch(options) {
17129
17179
  const variables = this._variables;
17130
17180
  const includes = this._includes;
17131
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseEventDocument, "pulseEvent", includes, variables);
17181
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseEventDocument, "pulseEvent", includes, variables);
17132
17182
  const raw = this._syncEngine.watch(
17133
17183
  queryDoc,
17134
17184
  mergedVars,
@@ -17158,7 +17208,7 @@ var PulseEventQuery = class extends chunk4QKWHQT2_cjs.Request {
17158
17208
  }
17159
17209
  /** Include integration in this query (Smart Fetch — single HTTP request). */
17160
17210
  integration(variables, builder) {
17161
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17211
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17162
17212
  let children;
17163
17213
  if (builder) {
17164
17214
  const sub = new IntegrationSubBuilder();
@@ -17167,7 +17217,7 @@ var PulseEventQuery = class extends chunk4QKWHQT2_cjs.Request {
17167
17217
  }
17168
17218
  this._includes.push({
17169
17219
  fieldName: "integration",
17170
- fragmentDoc: chunkZFR7CX4F_cjs.IntegrationFragmentDoc,
17220
+ fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationFragmentDoc,
17171
17221
  variables,
17172
17222
  isConnection: false,
17173
17223
  isList: false,
@@ -17191,14 +17241,14 @@ var PulseEvent_IntegrationQuery = class extends chunk4QKWHQT2_cjs.Request {
17191
17241
  }
17192
17242
  async fetch(options) {
17193
17243
  const variables = this._variables;
17194
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
17244
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
17195
17245
  const data = response.pulseEvent?.integration;
17196
17246
  return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17197
17247
  }
17198
17248
  watch(options) {
17199
17249
  const variables = this._variables;
17200
17250
  const raw = this._syncEngine.watch(
17201
- chunkZFR7CX4F_cjs.PulseEvent_IntegrationDocument,
17251
+ chunkFNYE2ZMN_cjs.PulseEvent_IntegrationDocument,
17202
17252
  variables,
17203
17253
  "pulseEvent",
17204
17254
  async (db) => {
@@ -17221,14 +17271,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk4QKWHQT2_cjs.Reque
17221
17271
  }
17222
17272
  async fetch(options) {
17223
17273
  const variables = this._variables;
17224
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
17274
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
17225
17275
  const data = response.pulseEvent?.integration?.provider;
17226
17276
  return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17227
17277
  }
17228
17278
  watch(options) {
17229
17279
  const variables = this._variables;
17230
17280
  const raw = this._syncEngine.watch(
17231
- chunkZFR7CX4F_cjs.PulseEvent_Integration_ProviderDocument,
17281
+ chunkFNYE2ZMN_cjs.PulseEvent_Integration_ProviderDocument,
17232
17282
  variables,
17233
17283
  "pulseEvent",
17234
17284
  async (db) => {
@@ -17252,7 +17302,7 @@ var PulseEventStatsQuery = class extends chunk4QKWHQT2_cjs.Request {
17252
17302
  }
17253
17303
  async fetch(options) {
17254
17304
  const variables = this._variables;
17255
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseEventStatsDocument, "pulseEventStats", this._includes, variables);
17305
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseEventStatsDocument, "pulseEventStats", this._includes, variables);
17256
17306
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEventStats");
17257
17307
  const data = response.pulseEventStats;
17258
17308
  const instance = new PulseEventStatsModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -17264,7 +17314,7 @@ var PulseEventStatsQuery = class extends chunk4QKWHQT2_cjs.Request {
17264
17314
  watch(options) {
17265
17315
  const variables = this._variables;
17266
17316
  const includes = this._includes;
17267
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseEventStatsDocument, "pulseEventStats", includes, variables);
17317
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseEventStatsDocument, "pulseEventStats", includes, variables);
17268
17318
  const raw = this._syncEngine.watch(
17269
17319
  queryDoc,
17270
17320
  mergedVars,
@@ -17302,7 +17352,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk4QKWHQT2_cjs.Request
17302
17352
  }
17303
17353
  async fetch(options) {
17304
17354
  const variables = this._variables;
17305
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
17355
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
17306
17356
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
17307
17357
  const data = response.pulseEvents;
17308
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);
@@ -17319,7 +17369,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk4QKWHQT2_cjs.Request
17319
17369
  const subscriptionId = crypto.randomUUID();
17320
17370
  const includes = this._includes;
17321
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) }] : []);
17322
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
17372
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
17323
17373
  const raw = this._syncEngine.watch(
17324
17374
  queryDoc,
17325
17375
  mergedVars,
@@ -17354,7 +17404,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk4QKWHQT2_cjs.Request
17354
17404
  }
17355
17405
  /** Include integration in this query (Smart Fetch — single HTTP request). */
17356
17406
  integration(variables, builder) {
17357
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17407
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
17358
17408
  let children;
17359
17409
  if (builder) {
17360
17410
  const sub = new IntegrationSubBuilder();
@@ -17363,7 +17413,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk4QKWHQT2_cjs.Request
17363
17413
  }
17364
17414
  this._includes.push({
17365
17415
  fieldName: "integration",
17366
- fragmentDoc: chunkZFR7CX4F_cjs.IntegrationFragmentDoc,
17416
+ fragmentDoc: chunkFNYE2ZMN_cjs.IntegrationFragmentDoc,
17367
17417
  variables,
17368
17418
  isConnection: false,
17369
17419
  isList: false,
@@ -17387,7 +17437,7 @@ var PulseTriggerSettingsQuery = class extends chunk4QKWHQT2_cjs.Request {
17387
17437
  this._variables = variables;
17388
17438
  }
17389
17439
  async fetch(options) {
17390
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
17440
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
17391
17441
  const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
17392
17442
  const data = response.pulseTriggerSettings;
17393
17443
  if (!Array.isArray(data)) return [];
@@ -17396,19 +17446,19 @@ var PulseTriggerSettingsQuery = class extends chunk4QKWHQT2_cjs.Request {
17396
17446
  };
17397
17447
  var QueryQuery = class extends chunk4QKWHQT2_cjs.Request {
17398
17448
  async fetch(variables) {
17399
- const response = await this._request(chunkZFR7CX4F_cjs.QueryDocument, variables);
17449
+ const response = await this._request(chunkFNYE2ZMN_cjs.QueryDocument, variables);
17400
17450
  return response.query;
17401
17451
  }
17402
17452
  };
17403
17453
  var QueryWithInsightIdQuery = class extends chunk4QKWHQT2_cjs.Request {
17404
17454
  async fetch(variables) {
17405
- const response = await this._request(chunkZFR7CX4F_cjs.QueryWithInsightIdDocument, variables);
17455
+ const response = await this._request(chunkFNYE2ZMN_cjs.QueryWithInsightIdDocument, variables);
17406
17456
  return response.queryWithInsightId;
17407
17457
  }
17408
17458
  };
17409
17459
  var QueryWithMessageIdQuery = class extends chunk4QKWHQT2_cjs.Request {
17410
17460
  async fetch(variables) {
17411
- const response = await this._request(chunkZFR7CX4F_cjs.QueryWithMessageIdDocument, variables);
17461
+ const response = await this._request(chunkFNYE2ZMN_cjs.QueryWithMessageIdDocument, variables);
17412
17462
  return response.queryWithMessageId;
17413
17463
  }
17414
17464
  };
@@ -17421,7 +17471,7 @@ var ReportQuery = class extends chunk4QKWHQT2_cjs.Request {
17421
17471
  }
17422
17472
  async fetch(options) {
17423
17473
  const variables = this._variables;
17424
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ReportDocument, "report", this._includes, variables);
17474
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ReportDocument, "report", this._includes, variables);
17425
17475
  const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
17426
17476
  const data = response.report;
17427
17477
  const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
@@ -17433,7 +17483,7 @@ var ReportQuery = class extends chunk4QKWHQT2_cjs.Request {
17433
17483
  watch(options) {
17434
17484
  const variables = this._variables;
17435
17485
  const includes = this._includes;
17436
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ReportDocument, "report", includes, variables);
17486
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ReportDocument, "report", includes, variables);
17437
17487
  const raw = this._syncEngine.watch(
17438
17488
  queryDoc,
17439
17489
  mergedVars,
@@ -17463,7 +17513,7 @@ var ReportQuery = class extends chunk4QKWHQT2_cjs.Request {
17463
17513
  }
17464
17514
  /** Include insights in this query (Smart Fetch — single HTTP request). */
17465
17515
  insights(variables, builder) {
17466
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Report_InsightsDocument, "insights", ["id"]);
17516
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Report_InsightsDocument, "insights", ["id"]);
17467
17517
  let children;
17468
17518
  if (builder) {
17469
17519
  const sub = new InsightSubBuilder();
@@ -17472,7 +17522,7 @@ var ReportQuery = class extends chunk4QKWHQT2_cjs.Request {
17472
17522
  }
17473
17523
  this._includes.push({
17474
17524
  fieldName: "insights",
17475
- fragmentDoc: chunkZFR7CX4F_cjs.InsightConnectionFragmentDoc,
17525
+ fragmentDoc: chunkFNYE2ZMN_cjs.InsightConnectionFragmentDoc,
17476
17526
  variables,
17477
17527
  isConnection: true,
17478
17528
  isList: false,
@@ -17490,10 +17540,10 @@ var ReportQuery = class extends chunk4QKWHQT2_cjs.Request {
17490
17540
  }
17491
17541
  /** Include layout in this query (Smart Fetch — single HTTP request). */
17492
17542
  layout(variables) {
17493
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Report_LayoutDocument, "layout", ["id"]);
17543
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Report_LayoutDocument, "layout", ["id"]);
17494
17544
  this._includes.push({
17495
17545
  fieldName: "layout",
17496
- fragmentDoc: chunkZFR7CX4F_cjs.ReportMemberFragmentDoc,
17546
+ fragmentDoc: chunkFNYE2ZMN_cjs.ReportMemberFragmentDoc,
17497
17547
  variables,
17498
17548
  isConnection: false,
17499
17549
  isList: true,
@@ -17516,18 +17566,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk4QKWHQT2_cjs
17516
17566
  }
17517
17567
  async fetch(options) {
17518
17568
  const variables = this._variables;
17519
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Report_InsightsDocument, variables, "report");
17569
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Report_InsightsDocument, variables, "report");
17520
17570
  const data = response.report?.insights;
17521
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);
17522
17572
  }
17523
17573
  watch(options) {
17524
17574
  const variables = this._variables;
17525
17575
  const raw = this._syncEngine.watch(
17526
- chunkZFR7CX4F_cjs.Report_InsightsDocument,
17576
+ chunkFNYE2ZMN_cjs.Report_InsightsDocument,
17527
17577
  variables,
17528
17578
  "report",
17529
17579
  async (db) => {
17530
- const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkZFR7CX4F_cjs.Report_InsightsDocument));
17580
+ const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkFNYE2ZMN_cjs.Report_InsightsDocument));
17531
17581
  const nodes = qr ? await db.table("insights").bulkGet(qr.entityIds) : [];
17532
17582
  return { report: { insights: { __typename: "InsightConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
17533
17583
  }
@@ -17545,7 +17595,7 @@ var Report_LayoutQuery = class extends chunk4QKWHQT2_cjs.Request {
17545
17595
  this._variables = variables;
17546
17596
  }
17547
17597
  async fetch(options) {
17548
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Report_LayoutDocument, this._variables, "report");
17598
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Report_LayoutDocument, this._variables, "report");
17549
17599
  const data = response.report?.layout;
17550
17600
  if (!Array.isArray(data)) return [];
17551
17601
  return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
@@ -17560,7 +17610,7 @@ var ReportsQuery = class _ReportsQuery extends chunk4QKWHQT2_cjs.Request {
17560
17610
  }
17561
17611
  async fetch(options) {
17562
17612
  const variables = this._variables;
17563
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ReportsDocument, "reports", this._includes, variables, true);
17613
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ReportsDocument, "reports", this._includes, variables, true);
17564
17614
  const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
17565
17615
  const data = response.reports;
17566
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);
@@ -17577,7 +17627,7 @@ var ReportsQuery = class _ReportsQuery extends chunk4QKWHQT2_cjs.Request {
17577
17627
  const subscriptionId = crypto.randomUUID();
17578
17628
  const includes = this._includes;
17579
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) }] : []);
17580
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ReportsDocument, "reports", includes, variables, true);
17630
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.ReportsDocument, "reports", includes, variables, true);
17581
17631
  const raw = this._syncEngine.watch(
17582
17632
  queryDoc,
17583
17633
  mergedVars,
@@ -17612,7 +17662,7 @@ var ReportsQuery = class _ReportsQuery extends chunk4QKWHQT2_cjs.Request {
17612
17662
  }
17613
17663
  /** Include insights in this query (Smart Fetch — single HTTP request). */
17614
17664
  insights(variables, builder) {
17615
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Report_InsightsDocument, "insights", ["id"]);
17665
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Report_InsightsDocument, "insights", ["id"]);
17616
17666
  let children;
17617
17667
  if (builder) {
17618
17668
  const sub = new InsightSubBuilder();
@@ -17621,7 +17671,7 @@ var ReportsQuery = class _ReportsQuery extends chunk4QKWHQT2_cjs.Request {
17621
17671
  }
17622
17672
  this._includes.push({
17623
17673
  fieldName: "insights",
17624
- fragmentDoc: chunkZFR7CX4F_cjs.InsightConnectionFragmentDoc,
17674
+ fragmentDoc: chunkFNYE2ZMN_cjs.InsightConnectionFragmentDoc,
17625
17675
  variables,
17626
17676
  isConnection: true,
17627
17677
  isList: false,
@@ -17639,10 +17689,10 @@ var ReportsQuery = class _ReportsQuery extends chunk4QKWHQT2_cjs.Request {
17639
17689
  }
17640
17690
  /** Include layout in this query (Smart Fetch — single HTTP request). */
17641
17691
  layout(variables) {
17642
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Report_LayoutDocument, "layout", ["id"]);
17692
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Report_LayoutDocument, "layout", ["id"]);
17643
17693
  this._includes.push({
17644
17694
  fieldName: "layout",
17645
- fragmentDoc: chunkZFR7CX4F_cjs.ReportMemberFragmentDoc,
17695
+ fragmentDoc: chunkFNYE2ZMN_cjs.ReportMemberFragmentDoc,
17646
17696
  variables,
17647
17697
  isConnection: false,
17648
17698
  isList: true,
@@ -17665,7 +17715,7 @@ var SearchQuery = class extends chunk4QKWHQT2_cjs.Request {
17665
17715
  this._variables = variables;
17666
17716
  }
17667
17717
  async fetch(options) {
17668
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.SearchDocument, "search", this._includes, this._variables);
17718
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.SearchDocument, "search", this._includes, this._variables);
17669
17719
  const response = await this._syncEngine.query(queryDoc, mergedVars, "search");
17670
17720
  const data = response.search;
17671
17721
  if (!Array.isArray(data)) return [];
@@ -17681,7 +17731,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17681
17731
  }
17682
17732
  async fetch(options) {
17683
17733
  const variables = this._variables;
17684
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.TableDocument, "table", this._includes, variables);
17734
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.TableDocument, "table", this._includes, variables);
17685
17735
  const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
17686
17736
  const data = response.table;
17687
17737
  const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
@@ -17693,7 +17743,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17693
17743
  watch(options) {
17694
17744
  const variables = this._variables;
17695
17745
  const includes = this._includes;
17696
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.TableDocument, "table", includes, variables);
17746
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.TableDocument, "table", includes, variables);
17697
17747
  const raw = this._syncEngine.watch(
17698
17748
  queryDoc,
17699
17749
  mergedVars,
@@ -17723,7 +17773,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17723
17773
  }
17724
17774
  /** Include database in this query (Smart Fetch — single HTTP request). */
17725
17775
  database(variables, builder) {
17726
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_DatabaseDocument, "database", ["id"]);
17776
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_DatabaseDocument, "database", ["id"]);
17727
17777
  let children;
17728
17778
  if (builder) {
17729
17779
  const sub = new DatabaseSubBuilder();
@@ -17732,7 +17782,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17732
17782
  }
17733
17783
  this._includes.push({
17734
17784
  fieldName: "database",
17735
- fragmentDoc: chunkZFR7CX4F_cjs.DatabaseFragmentDoc,
17785
+ fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseFragmentDoc,
17736
17786
  variables,
17737
17787
  isConnection: false,
17738
17788
  isList: false,
@@ -17749,7 +17799,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17749
17799
  }
17750
17800
  /** Include document in this query (Smart Fetch — single HTTP request). */
17751
17801
  document(variables, builder) {
17752
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_DocumentDocument, "document", ["id"]);
17802
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_DocumentDocument, "document", ["id"]);
17753
17803
  let children;
17754
17804
  if (builder) {
17755
17805
  const sub = new DocumentSubBuilder();
@@ -17758,7 +17808,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17758
17808
  }
17759
17809
  this._includes.push({
17760
17810
  fieldName: "document",
17761
- fragmentDoc: chunkZFR7CX4F_cjs.DocumentFragmentDoc,
17811
+ fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFragmentDoc,
17762
17812
  variables,
17763
17813
  isConnection: false,
17764
17814
  isList: false,
@@ -17775,10 +17825,10 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17775
17825
  }
17776
17826
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
17777
17827
  fromRelations(variables) {
17778
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
17828
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
17779
17829
  this._includes.push({
17780
17830
  fieldName: "fromRelations",
17781
- fragmentDoc: chunkZFR7CX4F_cjs.RelationFragmentDoc,
17831
+ fragmentDoc: chunkFNYE2ZMN_cjs.RelationFragmentDoc,
17782
17832
  variables,
17783
17833
  isConnection: false,
17784
17834
  isList: true,
@@ -17794,10 +17844,10 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
17794
17844
  }
17795
17845
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
17796
17846
  toRelations(variables) {
17797
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
17847
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
17798
17848
  this._includes.push({
17799
17849
  fieldName: "toRelations",
17800
- fragmentDoc: chunkZFR7CX4F_cjs.RelationFragmentDoc,
17850
+ fragmentDoc: chunkFNYE2ZMN_cjs.RelationFragmentDoc,
17801
17851
  variables,
17802
17852
  isConnection: false,
17803
17853
  isList: true,
@@ -17820,14 +17870,14 @@ var Table_DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
17820
17870
  }
17821
17871
  async fetch(options) {
17822
17872
  const variables = this._variables;
17823
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_DatabaseDocument, variables, "table");
17873
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_DatabaseDocument, variables, "table");
17824
17874
  const data = response.table?.database;
17825
17875
  return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17826
17876
  }
17827
17877
  watch(options) {
17828
17878
  const variables = this._variables;
17829
17879
  const raw = this._syncEngine.watch(
17830
- chunkZFR7CX4F_cjs.Table_DatabaseDocument,
17880
+ chunkFNYE2ZMN_cjs.Table_DatabaseDocument,
17831
17881
  variables,
17832
17882
  "table",
17833
17883
  async (db) => {
@@ -17850,14 +17900,14 @@ var Table_Database_EngineQuery = class extends chunk4QKWHQT2_cjs.Request {
17850
17900
  }
17851
17901
  async fetch(options) {
17852
17902
  const variables = this._variables;
17853
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_Database_EngineDocument, variables, "table");
17903
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_Database_EngineDocument, variables, "table");
17854
17904
  const data = response.table?.database?.engine;
17855
17905
  return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17856
17906
  }
17857
17907
  watch(options) {
17858
17908
  const variables = this._variables;
17859
17909
  const raw = this._syncEngine.watch(
17860
- chunkZFR7CX4F_cjs.Table_Database_EngineDocument,
17910
+ chunkFNYE2ZMN_cjs.Table_Database_EngineDocument,
17861
17911
  variables,
17862
17912
  "table",
17863
17913
  async (db) => {
@@ -17880,14 +17930,14 @@ var Table_DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
17880
17930
  }
17881
17931
  async fetch(options) {
17882
17932
  const variables = this._variables;
17883
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_DocumentDocument, variables, "table");
17933
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_DocumentDocument, variables, "table");
17884
17934
  const data = response.table?.document;
17885
17935
  return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17886
17936
  }
17887
17937
  watch(options) {
17888
17938
  const variables = this._variables;
17889
17939
  const raw = this._syncEngine.watch(
17890
- chunkZFR7CX4F_cjs.Table_DocumentDocument,
17940
+ chunkFNYE2ZMN_cjs.Table_DocumentDocument,
17891
17941
  variables,
17892
17942
  "table",
17893
17943
  async (db) => {
@@ -17909,7 +17959,7 @@ var Table_Document_ContentsQuery = class extends chunk4QKWHQT2_cjs.Request {
17909
17959
  this._variables = variables;
17910
17960
  }
17911
17961
  async fetch(options) {
17912
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_Document_ContentsDocument, this._variables, "table");
17962
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_Document_ContentsDocument, this._variables, "table");
17913
17963
  const data = response.table?.document?.contents;
17914
17964
  if (!Array.isArray(data)) return [];
17915
17965
  return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
@@ -17923,14 +17973,14 @@ var Table_Document_FileQuery = class extends chunk4QKWHQT2_cjs.Request {
17923
17973
  }
17924
17974
  async fetch(options) {
17925
17975
  const variables = this._variables;
17926
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_Document_FileDocument, variables, "table");
17976
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_Document_FileDocument, variables, "table");
17927
17977
  const data = response.table?.document?.file;
17928
17978
  return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17929
17979
  }
17930
17980
  watch(options) {
17931
17981
  const variables = this._variables;
17932
17982
  const raw = this._syncEngine.watch(
17933
- chunkZFR7CX4F_cjs.Table_Document_FileDocument,
17983
+ chunkFNYE2ZMN_cjs.Table_Document_FileDocument,
17934
17984
  variables,
17935
17985
  "table",
17936
17986
  async (db) => {
@@ -17953,14 +18003,14 @@ var Table_Document_FormatQuery = class extends chunk4QKWHQT2_cjs.Request {
17953
18003
  }
17954
18004
  async fetch(options) {
17955
18005
  const variables = this._variables;
17956
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_Document_FormatDocument, variables, "table");
18006
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_Document_FormatDocument, variables, "table");
17957
18007
  const data = response.table?.document?.format;
17958
18008
  return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
17959
18009
  }
17960
18010
  watch(options) {
17961
18011
  const variables = this._variables;
17962
18012
  const raw = this._syncEngine.watch(
17963
- chunkZFR7CX4F_cjs.Table_Document_FormatDocument,
18013
+ chunkFNYE2ZMN_cjs.Table_Document_FormatDocument,
17964
18014
  variables,
17965
18015
  "table",
17966
18016
  async (db) => {
@@ -17982,7 +18032,7 @@ var Table_FromRelationsQuery = class extends chunk4QKWHQT2_cjs.Request {
17982
18032
  this._variables = variables;
17983
18033
  }
17984
18034
  async fetch(options) {
17985
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_FromRelationsDocument, this._variables, "table");
18035
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_FromRelationsDocument, this._variables, "table");
17986
18036
  const data = response.table?.fromRelations;
17987
18037
  if (!Array.isArray(data)) return [];
17988
18038
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -17995,7 +18045,7 @@ var Table_ToRelationsQuery = class extends chunk4QKWHQT2_cjs.Request {
17995
18045
  this._variables = variables;
17996
18046
  }
17997
18047
  async fetch(options) {
17998
- const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_ToRelationsDocument, this._variables, "table");
18048
+ const response = await this._syncEngine.query(chunkFNYE2ZMN_cjs.Table_ToRelationsDocument, this._variables, "table");
17999
18049
  const data = response.table?.toRelations;
18000
18050
  if (!Array.isArray(data)) return [];
18001
18051
  return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
@@ -18010,7 +18060,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18010
18060
  }
18011
18061
  async fetch(options) {
18012
18062
  const variables = this._variables;
18013
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.TablesDocument, "tables", this._includes, variables, true);
18063
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.TablesDocument, "tables", this._includes, variables, true);
18014
18064
  const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
18015
18065
  const data = response.tables;
18016
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);
@@ -18027,7 +18077,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18027
18077
  const subscriptionId = crypto.randomUUID();
18028
18078
  const includes = this._includes;
18029
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) }] : []);
18030
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.TablesDocument, "tables", includes, variables, true);
18080
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.TablesDocument, "tables", includes, variables, true);
18031
18081
  const raw = this._syncEngine.watch(
18032
18082
  queryDoc,
18033
18083
  mergedVars,
@@ -18062,7 +18112,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18062
18112
  }
18063
18113
  /** Include database in this query (Smart Fetch — single HTTP request). */
18064
18114
  database(variables, builder) {
18065
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_DatabaseDocument, "database", ["id"]);
18115
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_DatabaseDocument, "database", ["id"]);
18066
18116
  let children;
18067
18117
  if (builder) {
18068
18118
  const sub = new DatabaseSubBuilder();
@@ -18071,7 +18121,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18071
18121
  }
18072
18122
  this._includes.push({
18073
18123
  fieldName: "database",
18074
- fragmentDoc: chunkZFR7CX4F_cjs.DatabaseFragmentDoc,
18124
+ fragmentDoc: chunkFNYE2ZMN_cjs.DatabaseFragmentDoc,
18075
18125
  variables,
18076
18126
  isConnection: false,
18077
18127
  isList: false,
@@ -18088,7 +18138,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18088
18138
  }
18089
18139
  /** Include document in this query (Smart Fetch — single HTTP request). */
18090
18140
  document(variables, builder) {
18091
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_DocumentDocument, "document", ["id"]);
18141
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_DocumentDocument, "document", ["id"]);
18092
18142
  let children;
18093
18143
  if (builder) {
18094
18144
  const sub = new DocumentSubBuilder();
@@ -18097,7 +18147,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18097
18147
  }
18098
18148
  this._includes.push({
18099
18149
  fieldName: "document",
18100
- fragmentDoc: chunkZFR7CX4F_cjs.DocumentFragmentDoc,
18150
+ fragmentDoc: chunkFNYE2ZMN_cjs.DocumentFragmentDoc,
18101
18151
  variables,
18102
18152
  isConnection: false,
18103
18153
  isList: false,
@@ -18114,10 +18164,10 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18114
18164
  }
18115
18165
  /** Include fromRelations in this query (Smart Fetch — single HTTP request). */
18116
18166
  fromRelations(variables) {
18117
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18167
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
18118
18168
  this._includes.push({
18119
18169
  fieldName: "fromRelations",
18120
- fragmentDoc: chunkZFR7CX4F_cjs.RelationFragmentDoc,
18170
+ fragmentDoc: chunkFNYE2ZMN_cjs.RelationFragmentDoc,
18121
18171
  variables,
18122
18172
  isConnection: false,
18123
18173
  isList: true,
@@ -18133,10 +18183,10 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
18133
18183
  }
18134
18184
  /** Include toRelations in this query (Smart Fetch — single HTTP request). */
18135
18185
  toRelations(variables) {
18136
- const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18186
+ const info = extractIncludeInfo(chunkFNYE2ZMN_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
18137
18187
  this._includes.push({
18138
18188
  fieldName: "toRelations",
18139
- fragmentDoc: chunkZFR7CX4F_cjs.RelationFragmentDoc,
18189
+ fragmentDoc: chunkFNYE2ZMN_cjs.RelationFragmentDoc,
18140
18190
  variables,
18141
18191
  isConnection: false,
18142
18192
  isList: true,
@@ -18160,7 +18210,7 @@ var UserSkillFileQuery = class extends chunk4QKWHQT2_cjs.Request {
18160
18210
  }
18161
18211
  async fetch(options) {
18162
18212
  const variables = this._variables;
18163
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
18213
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
18164
18214
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
18165
18215
  const data = response.userSkillFile;
18166
18216
  const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -18172,7 +18222,7 @@ var UserSkillFileQuery = class extends chunk4QKWHQT2_cjs.Request {
18172
18222
  watch(options) {
18173
18223
  const variables = this._variables;
18174
18224
  const includes = this._includes;
18175
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
18225
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
18176
18226
  const raw = this._syncEngine.watch(
18177
18227
  queryDoc,
18178
18228
  mergedVars,
@@ -18209,7 +18259,7 @@ var UserSkillFilesQuery = class extends chunk4QKWHQT2_cjs.Request {
18209
18259
  this._variables = variables;
18210
18260
  }
18211
18261
  async fetch(options) {
18212
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
18262
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
18213
18263
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
18214
18264
  const data = response.userSkillFiles;
18215
18265
  if (!Array.isArray(data)) return [];
@@ -18225,7 +18275,7 @@ var UserSkillFolderQuery = class extends chunk4QKWHQT2_cjs.Request {
18225
18275
  }
18226
18276
  async fetch(options) {
18227
18277
  const variables = this._variables;
18228
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
18278
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
18229
18279
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
18230
18280
  const data = response.userSkillFolder;
18231
18281
  const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
@@ -18237,7 +18287,7 @@ var UserSkillFolderQuery = class extends chunk4QKWHQT2_cjs.Request {
18237
18287
  watch(options) {
18238
18288
  const variables = this._variables;
18239
18289
  const includes = this._includes;
18240
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
18290
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
18241
18291
  const raw = this._syncEngine.watch(
18242
18292
  queryDoc,
18243
18293
  mergedVars,
@@ -18274,7 +18324,7 @@ var UserSkillFoldersQuery = class extends chunk4QKWHQT2_cjs.Request {
18274
18324
  this._variables = variables;
18275
18325
  }
18276
18326
  async fetch(options) {
18277
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
18327
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
18278
18328
  const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
18279
18329
  const data = response.userSkillFolders;
18280
18330
  if (!Array.isArray(data)) return [];
@@ -18290,7 +18340,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk4QKWHQT2_cjs.Request {
18290
18340
  }
18291
18341
  async fetch(options) {
18292
18342
  const variables = this._variables;
18293
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
18343
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
18294
18344
  const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
18295
18345
  const data = response.workspaceDeletionSchedule;
18296
18346
  if (!data) return void 0;
@@ -18303,7 +18353,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk4QKWHQT2_cjs.Request {
18303
18353
  watch(options) {
18304
18354
  const variables = this._variables;
18305
18355
  const includes = this._includes;
18306
- const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
18356
+ const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkFNYE2ZMN_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
18307
18357
  const raw = this._syncEngine.watch(
18308
18358
  queryDoc,
18309
18359
  mergedVars,
@@ -18335,7 +18385,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk4QKWHQT2_cjs.Request {
18335
18385
  };
18336
18386
  var McpAuthUpdatesSubscription = class extends chunk4QKWHQT2_cjs.Request {
18337
18387
  async *subscribe(variables) {
18338
- for await (const response of this._subscribe(chunkZFR7CX4F_cjs.McpAuthUpdatesDocument, variables)) {
18388
+ for await (const response of this._subscribe(chunkFNYE2ZMN_cjs.McpAuthUpdatesDocument, variables)) {
18339
18389
  const data = response.mcpAuthUpdates;
18340
18390
  yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
18341
18391
  }
@@ -18343,12 +18393,12 @@ var McpAuthUpdatesSubscription = class extends chunk4QKWHQT2_cjs.Request {
18343
18393
  };
18344
18394
  var SendMessageStreamSubscription = class extends chunk4QKWHQT2_cjs.Request {
18345
18395
  subscribe(variables) {
18346
- return this._subscribe(chunkZFR7CX4F_cjs.SendMessageStreamDocument, variables);
18396
+ return this._subscribe(chunkFNYE2ZMN_cjs.SendMessageStreamDocument, variables);
18347
18397
  }
18348
18398
  };
18349
18399
  var TokenUsageUpdatesSubscription = class extends chunk4QKWHQT2_cjs.Request {
18350
18400
  async *subscribe(variables) {
18351
- for await (const response of this._subscribe(chunkZFR7CX4F_cjs.TokenUsageUpdatesDocument, variables)) {
18401
+ for await (const response of this._subscribe(chunkFNYE2ZMN_cjs.TokenUsageUpdatesDocument, variables)) {
18352
18402
  const data = response.tokenUsageUpdates;
18353
18403
  yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
18354
18404
  }
@@ -19085,6 +19135,7 @@ exports.GetTokenUsageStatus_Windows_WeekQuery = GetTokenUsageStatus_Windows_Week
19085
19135
  exports.GetUsageQuery = GetUsageQuery;
19086
19136
  exports.ImportedChatSummaryOutput = ImportedChatSummaryOutput;
19087
19137
  exports.IndexContentObject = IndexContentObject;
19138
+ exports.InferenceRequestAudit = InferenceRequestAudit;
19088
19139
  exports.Insight = Insight;
19089
19140
  exports.InsightConnection = InsightConnection;
19090
19141
  exports.InsightQuery = InsightQuery;
@@ -19238,5 +19289,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
19238
19289
  exports.reconstructConnectionNodes = reconstructConnectionNodes;
19239
19290
  exports.reconstructEntity = reconstructEntity;
19240
19291
  exports.uploadFile = uploadFile;
19241
- //# sourceMappingURL=chunk-LQFZEQHL.cjs.map
19242
- //# sourceMappingURL=chunk-LQFZEQHL.cjs.map
19292
+ //# sourceMappingURL=chunk-ZQQYRZ7N.cjs.map
19293
+ //# sourceMappingURL=chunk-ZQQYRZ7N.cjs.map