@dvina/sdk 4.0.151 → 4.0.156
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.
- package/dist/_generated_documents-74CN3SRN.js +4 -0
- package/dist/{_generated_documents-3N6BQ5SR.js.map → _generated_documents-74CN3SRN.js.map} +1 -1
- package/dist/{_generated_documents-R4Q64XRB.cjs → _generated_documents-BMEC6UQQ.cjs} +555 -539
- package/dist/{_generated_documents-R4Q64XRB.cjs.map → _generated_documents-BMEC6UQQ.cjs.map} +1 -1
- package/dist/adapters/angular/index.cjs +4 -4
- package/dist/adapters/angular/index.d.cts +1 -1
- package/dist/adapters/angular/index.d.ts +1 -1
- package/dist/adapters/angular/index.js +2 -2
- package/dist/{chunk-N64A3FWK.js → chunk-4URBIIA3.js} +88 -21
- package/dist/chunk-4URBIIA3.js.map +1 -0
- package/dist/{chunk-4BKKU67P.js → chunk-7XSFNAV6.js} +15 -10
- package/dist/chunk-7XSFNAV6.js.map +1 -0
- package/dist/{chunk-D7AKD4KG.cjs → chunk-EL37Q6V6.cjs} +19 -10
- package/dist/chunk-EL37Q6V6.cjs.map +1 -0
- package/dist/{chunk-RSSJCKVR.cjs → chunk-JI734QZE.cjs} +588 -517
- package/dist/chunk-JI734QZE.cjs.map +1 -0
- package/dist/{client-Bqg_UhDO.d.cts → client-CGpx9L9A.d.cts} +108 -22
- package/dist/{client-BK4gb0rI.d.ts → client-COXtGG0M.d.ts} +108 -22
- package/dist/index.cjs +409 -393
- package/dist/index.d.cts +42 -12
- package/dist/index.d.ts +42 -12
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/_generated_documents-3N6BQ5SR.js +0 -4
- package/dist/chunk-4BKKU67P.js.map +0 -1
- package/dist/chunk-D7AKD4KG.cjs.map +0 -1
- package/dist/chunk-N64A3FWK.js.map +0 -1
- package/dist/chunk-RSSJCKVR.cjs.map +0 -1
|
@@ -4,7 +4,7 @@ var chunk342BFYZZ_cjs = require('./chunk-342BFYZZ.cjs');
|
|
|
4
4
|
var chunkUELAE75E_cjs = require('./chunk-UELAE75E.cjs');
|
|
5
5
|
var chunkBL3GFOZR_cjs = require('./chunk-BL3GFOZR.cjs');
|
|
6
6
|
var chunkKV5SP7RP_cjs = require('./chunk-KV5SP7RP.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkEL37Q6V6_cjs = require('./chunk-EL37Q6V6.cjs');
|
|
8
8
|
var chunkDZUJEN5N_cjs = require('./chunk-DZUJEN5N.cjs');
|
|
9
9
|
|
|
10
10
|
// ../../node_modules/.pnpm/dexie@4.3.0/node_modules/dexie/dist/dexie.js
|
|
@@ -7561,7 +7561,7 @@ function createWsTransport(options) {
|
|
|
7561
7561
|
}
|
|
7562
7562
|
|
|
7563
7563
|
// src/_generated_store.ts
|
|
7564
|
-
var SCHEMA_HASH = "
|
|
7564
|
+
var SCHEMA_HASH = "fb892580cf13df3b";
|
|
7565
7565
|
var DB_ENTITY_SCHEMA = {
|
|
7566
7566
|
actions: "id",
|
|
7567
7567
|
agents: "id",
|
|
@@ -7587,6 +7587,7 @@ var DB_ENTITY_SCHEMA = {
|
|
|
7587
7587
|
feedback: "id, &chatMessageId",
|
|
7588
7588
|
feedDatabaseDatas: "id",
|
|
7589
7589
|
feedDocumentDatas: "id",
|
|
7590
|
+
feedInsightDatas: "id",
|
|
7590
7591
|
feedIntegrationDatas: "id",
|
|
7591
7592
|
feedItemGenerateds: "id",
|
|
7592
7593
|
feedItems: "id",
|
|
@@ -7654,6 +7655,7 @@ var TYPENAME_TO_TABLE = {
|
|
|
7654
7655
|
Feedback: "feedback",
|
|
7655
7656
|
FeedDatabaseData: "feedDatabaseDatas",
|
|
7656
7657
|
FeedDocumentData: "feedDocumentDatas",
|
|
7658
|
+
FeedInsightData: "feedInsightDatas",
|
|
7657
7659
|
FeedIntegrationData: "feedIntegrationDatas",
|
|
7658
7660
|
FeedItem: "feedItems",
|
|
7659
7661
|
FeedItemGenerated: "feedItemGenerateds",
|
|
@@ -7721,6 +7723,7 @@ var TABLE_TO_TYPENAME = {
|
|
|
7721
7723
|
feedback: "Feedback",
|
|
7722
7724
|
feedDatabaseDatas: "FeedDatabaseData",
|
|
7723
7725
|
feedDocumentDatas: "FeedDocumentData",
|
|
7726
|
+
feedInsightDatas: "FeedInsightData",
|
|
7724
7727
|
feedIntegrationDatas: "FeedIntegrationData",
|
|
7725
7728
|
feedItemGenerateds: "FeedItemGenerated",
|
|
7726
7729
|
feedItems: "FeedItem",
|
|
@@ -10294,7 +10297,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
|
|
|
10294
10297
|
var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
|
|
10295
10298
|
var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
|
|
10296
10299
|
async function uploadFile(request, getToken, file, name, options) {
|
|
10297
|
-
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-
|
|
10300
|
+
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-BMEC6UQQ.cjs');
|
|
10298
10301
|
const key = `upload_${Date.now()}`;
|
|
10299
10302
|
const response = await request(
|
|
10300
10303
|
GenerateUploadUriDocument2,
|
|
@@ -11692,6 +11695,21 @@ var FeedDocumentData = class extends DvinaModel {
|
|
|
11692
11695
|
this.kind = data.kind;
|
|
11693
11696
|
}
|
|
11694
11697
|
};
|
|
11698
|
+
var FeedInsightData = class extends DvinaModel {
|
|
11699
|
+
kind;
|
|
11700
|
+
output;
|
|
11701
|
+
pivotConfig;
|
|
11702
|
+
presentation;
|
|
11703
|
+
query;
|
|
11704
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
11705
|
+
super(request, syncEngine, baseUrl);
|
|
11706
|
+
this.kind = data.kind;
|
|
11707
|
+
this.output = data.output ?? void 0;
|
|
11708
|
+
this.pivotConfig = data.pivotConfig ?? void 0;
|
|
11709
|
+
this.presentation = data.presentation;
|
|
11710
|
+
this.query = data.query;
|
|
11711
|
+
}
|
|
11712
|
+
};
|
|
11695
11713
|
var FeedIntegrationData = class extends DvinaModel {
|
|
11696
11714
|
integrationProviderKey;
|
|
11697
11715
|
kind;
|
|
@@ -11734,6 +11752,8 @@ var FeedItem = class extends DvinaModel {
|
|
|
11734
11752
|
return new FeedDatabaseData(request, value, syncEngine, baseUrl);
|
|
11735
11753
|
case "FeedDocumentData":
|
|
11736
11754
|
return new FeedDocumentData(request, value, syncEngine, baseUrl);
|
|
11755
|
+
case "FeedInsightData":
|
|
11756
|
+
return new FeedInsightData(request, value, syncEngine, baseUrl);
|
|
11737
11757
|
case "FeedIntegrationData":
|
|
11738
11758
|
return new FeedIntegrationData(request, value, syncEngine, baseUrl);
|
|
11739
11759
|
case "FeedLiveContextData":
|
|
@@ -12498,8 +12518,6 @@ var StreamEventSchemaAnchor = class extends DvinaModel {
|
|
|
12498
12518
|
return new MessageStartEventOutput(request, value, syncEngine, baseUrl);
|
|
12499
12519
|
case "ReasoningEventOutput":
|
|
12500
12520
|
return new ReasoningEventOutput(request, value, syncEngine, baseUrl);
|
|
12501
|
-
case "StreamableUiDeltaEventOutput":
|
|
12502
|
-
return new StreamableUiDeltaEventOutput(request, value, syncEngine, baseUrl);
|
|
12503
12521
|
case "TextBlockEventOutput":
|
|
12504
12522
|
return new TextBlockEventOutput(request, value, syncEngine, baseUrl);
|
|
12505
12523
|
case "TextDeltaEventOutput":
|
|
@@ -12510,6 +12528,14 @@ var StreamEventSchemaAnchor = class extends DvinaModel {
|
|
|
12510
12528
|
return new ToolResultEventOutput(request, value, syncEngine, baseUrl);
|
|
12511
12529
|
case "ToolStartEventOutput":
|
|
12512
12530
|
return new ToolStartEventOutput(request, value, syncEngine, baseUrl);
|
|
12531
|
+
case "WidgetBlockCompleteEventOutput":
|
|
12532
|
+
return new WidgetBlockCompleteEventOutput(request, value, syncEngine, baseUrl);
|
|
12533
|
+
case "WidgetBlockErrorEventOutput":
|
|
12534
|
+
return new WidgetBlockErrorEventOutput(request, value, syncEngine, baseUrl);
|
|
12535
|
+
case "WidgetBlockStartEventOutput":
|
|
12536
|
+
return new WidgetBlockStartEventOutput(request, value, syncEngine, baseUrl);
|
|
12537
|
+
case "WidgetHtmlDeltaEventOutput":
|
|
12538
|
+
return new WidgetHtmlDeltaEventOutput(request, value, syncEngine, baseUrl);
|
|
12513
12539
|
default:
|
|
12514
12540
|
throw new Error("Unknown AgentStreamEvent member for StreamEventSchemaAnchor.event.");
|
|
12515
12541
|
}
|
|
@@ -12550,19 +12576,6 @@ var StreamMessageOutput = class extends DvinaModel {
|
|
|
12550
12576
|
this.contents = Array.isArray(data.contents) ? data.contents.filter(Boolean).map((item) => new StreamMessageContentOutput(request, item, syncEngine, baseUrl)) : [];
|
|
12551
12577
|
}
|
|
12552
12578
|
};
|
|
12553
|
-
var StreamableUiDeltaEventOutput = class extends DvinaModel {
|
|
12554
|
-
delta;
|
|
12555
|
-
index;
|
|
12556
|
-
toolCallId;
|
|
12557
|
-
type;
|
|
12558
|
-
constructor(request, data, syncEngine, baseUrl) {
|
|
12559
|
-
super(request, syncEngine, baseUrl);
|
|
12560
|
-
this.delta = data.delta;
|
|
12561
|
-
this.index = data.index;
|
|
12562
|
-
this.toolCallId = data.toolCallId;
|
|
12563
|
-
this.type = data.type;
|
|
12564
|
-
}
|
|
12565
|
-
};
|
|
12566
12579
|
var SyncEvent = class extends DvinaModel {
|
|
12567
12580
|
createdAt;
|
|
12568
12581
|
entityId;
|
|
@@ -12872,6 +12885,60 @@ var UserSkillFolderModel = class extends DvinaModel {
|
|
|
12872
12885
|
this.updatedAt = new Date(data.updatedAt);
|
|
12873
12886
|
}
|
|
12874
12887
|
};
|
|
12888
|
+
var WidgetBlockCompleteEventOutput = class extends DvinaModel {
|
|
12889
|
+
index;
|
|
12890
|
+
summary;
|
|
12891
|
+
toolCallId;
|
|
12892
|
+
type;
|
|
12893
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
12894
|
+
super(request, syncEngine, baseUrl);
|
|
12895
|
+
this.index = data.index;
|
|
12896
|
+
this.summary = data.summary ?? void 0;
|
|
12897
|
+
this.toolCallId = data.toolCallId;
|
|
12898
|
+
this.type = data.type;
|
|
12899
|
+
}
|
|
12900
|
+
};
|
|
12901
|
+
var WidgetBlockErrorEventOutput = class extends DvinaModel {
|
|
12902
|
+
errorMessage;
|
|
12903
|
+
index;
|
|
12904
|
+
toolCallId;
|
|
12905
|
+
type;
|
|
12906
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
12907
|
+
super(request, syncEngine, baseUrl);
|
|
12908
|
+
this.errorMessage = data.errorMessage;
|
|
12909
|
+
this.index = data.index;
|
|
12910
|
+
this.toolCallId = data.toolCallId;
|
|
12911
|
+
this.type = data.type;
|
|
12912
|
+
}
|
|
12913
|
+
};
|
|
12914
|
+
var WidgetBlockStartEventOutput = class extends DvinaModel {
|
|
12915
|
+
index;
|
|
12916
|
+
summary;
|
|
12917
|
+
toolCallId;
|
|
12918
|
+
type;
|
|
12919
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
12920
|
+
super(request, syncEngine, baseUrl);
|
|
12921
|
+
this.index = data.index;
|
|
12922
|
+
this.summary = data.summary ?? void 0;
|
|
12923
|
+
this.toolCallId = data.toolCallId;
|
|
12924
|
+
this.type = data.type;
|
|
12925
|
+
}
|
|
12926
|
+
};
|
|
12927
|
+
var WidgetHtmlDeltaEventOutput = class extends DvinaModel {
|
|
12928
|
+
delta;
|
|
12929
|
+
index;
|
|
12930
|
+
summary;
|
|
12931
|
+
toolCallId;
|
|
12932
|
+
type;
|
|
12933
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
12934
|
+
super(request, syncEngine, baseUrl);
|
|
12935
|
+
this.delta = data.delta;
|
|
12936
|
+
this.index = data.index;
|
|
12937
|
+
this.summary = data.summary ?? void 0;
|
|
12938
|
+
this.toolCallId = data.toolCallId;
|
|
12939
|
+
this.type = data.type;
|
|
12940
|
+
}
|
|
12941
|
+
};
|
|
12875
12942
|
var WindowDetailType = class extends DvinaModel {
|
|
12876
12943
|
cost;
|
|
12877
12944
|
isExceeded;
|
|
@@ -13105,7 +13172,7 @@ var AgentSubBuilder = class {
|
|
|
13105
13172
|
_includes = [];
|
|
13106
13173
|
/** Include chats in the parent query. */
|
|
13107
13174
|
chats(variables, builder) {
|
|
13108
|
-
const info = extractIncludeInfo(
|
|
13175
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
13109
13176
|
let children;
|
|
13110
13177
|
if (builder) {
|
|
13111
13178
|
const sub = new ChatSubBuilder();
|
|
@@ -13114,7 +13181,7 @@ var AgentSubBuilder = class {
|
|
|
13114
13181
|
}
|
|
13115
13182
|
this._includes.push({
|
|
13116
13183
|
fieldName: "chats",
|
|
13117
|
-
fragmentDoc:
|
|
13184
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatConnectionFragmentDoc,
|
|
13118
13185
|
variables,
|
|
13119
13186
|
isConnection: true,
|
|
13120
13187
|
isList: false,
|
|
@@ -13136,7 +13203,7 @@ var ArtifactSubBuilder = class {
|
|
|
13136
13203
|
_includes = [];
|
|
13137
13204
|
/** Include chat in the parent query. */
|
|
13138
13205
|
chat(variables, builder) {
|
|
13139
|
-
const info = extractIncludeInfo(
|
|
13206
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
13140
13207
|
let children;
|
|
13141
13208
|
if (builder) {
|
|
13142
13209
|
const sub = new ChatSubBuilder();
|
|
@@ -13145,7 +13212,7 @@ var ArtifactSubBuilder = class {
|
|
|
13145
13212
|
}
|
|
13146
13213
|
this._includes.push({
|
|
13147
13214
|
fieldName: "chat",
|
|
13148
|
-
fragmentDoc:
|
|
13215
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
13149
13216
|
variables,
|
|
13150
13217
|
isConnection: false,
|
|
13151
13218
|
isList: false,
|
|
@@ -13162,10 +13229,10 @@ var ArtifactSubBuilder = class {
|
|
|
13162
13229
|
}
|
|
13163
13230
|
/** Include file in the parent query. */
|
|
13164
13231
|
file(variables) {
|
|
13165
|
-
const info = extractIncludeInfo(
|
|
13232
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
13166
13233
|
this._includes.push({
|
|
13167
13234
|
fieldName: "file",
|
|
13168
|
-
fragmentDoc:
|
|
13235
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
13169
13236
|
variables,
|
|
13170
13237
|
isConnection: false,
|
|
13171
13238
|
isList: false,
|
|
@@ -13181,7 +13248,7 @@ var ArtifactSubBuilder = class {
|
|
|
13181
13248
|
}
|
|
13182
13249
|
/** Include message in the parent query. */
|
|
13183
13250
|
message(variables, builder) {
|
|
13184
|
-
const info = extractIncludeInfo(
|
|
13251
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
13185
13252
|
let children;
|
|
13186
13253
|
if (builder) {
|
|
13187
13254
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -13190,7 +13257,7 @@ var ArtifactSubBuilder = class {
|
|
|
13190
13257
|
}
|
|
13191
13258
|
this._includes.push({
|
|
13192
13259
|
fieldName: "message",
|
|
13193
|
-
fragmentDoc:
|
|
13260
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageFragmentDoc,
|
|
13194
13261
|
variables,
|
|
13195
13262
|
isConnection: false,
|
|
13196
13263
|
isList: false,
|
|
@@ -13211,7 +13278,7 @@ var ChatSubBuilder = class {
|
|
|
13211
13278
|
_includes = [];
|
|
13212
13279
|
/** Include agents in the parent query. */
|
|
13213
13280
|
agents(variables, builder) {
|
|
13214
|
-
const info = extractIncludeInfo(
|
|
13281
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
13215
13282
|
let children;
|
|
13216
13283
|
if (builder) {
|
|
13217
13284
|
const sub = new AgentSubBuilder();
|
|
@@ -13220,7 +13287,7 @@ var ChatSubBuilder = class {
|
|
|
13220
13287
|
}
|
|
13221
13288
|
this._includes.push({
|
|
13222
13289
|
fieldName: "agents",
|
|
13223
|
-
fragmentDoc:
|
|
13290
|
+
fragmentDoc: chunkEL37Q6V6_cjs.AgentConnectionFragmentDoc,
|
|
13224
13291
|
variables,
|
|
13225
13292
|
isConnection: true,
|
|
13226
13293
|
isList: false,
|
|
@@ -13238,7 +13305,7 @@ var ChatSubBuilder = class {
|
|
|
13238
13305
|
}
|
|
13239
13306
|
/** Include artifacts in the parent query. */
|
|
13240
13307
|
artifacts(variables, builder) {
|
|
13241
|
-
const info = extractIncludeInfo(
|
|
13308
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
13242
13309
|
let children;
|
|
13243
13310
|
if (builder) {
|
|
13244
13311
|
const sub = new ArtifactSubBuilder();
|
|
@@ -13247,7 +13314,7 @@ var ChatSubBuilder = class {
|
|
|
13247
13314
|
}
|
|
13248
13315
|
this._includes.push({
|
|
13249
13316
|
fieldName: "artifacts",
|
|
13250
|
-
fragmentDoc:
|
|
13317
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
|
|
13251
13318
|
variables,
|
|
13252
13319
|
isConnection: true,
|
|
13253
13320
|
isList: false,
|
|
@@ -13265,7 +13332,7 @@ var ChatSubBuilder = class {
|
|
|
13265
13332
|
}
|
|
13266
13333
|
/** Include insight in the parent query. */
|
|
13267
13334
|
insight(variables, builder) {
|
|
13268
|
-
const info = extractIncludeInfo(
|
|
13335
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
13269
13336
|
let children;
|
|
13270
13337
|
if (builder) {
|
|
13271
13338
|
const sub = new InsightSubBuilder();
|
|
@@ -13274,7 +13341,7 @@ var ChatSubBuilder = class {
|
|
|
13274
13341
|
}
|
|
13275
13342
|
this._includes.push({
|
|
13276
13343
|
fieldName: "insight",
|
|
13277
|
-
fragmentDoc:
|
|
13344
|
+
fragmentDoc: chunkEL37Q6V6_cjs.InsightFragmentDoc,
|
|
13278
13345
|
variables,
|
|
13279
13346
|
isConnection: false,
|
|
13280
13347
|
isList: false,
|
|
@@ -13291,7 +13358,7 @@ var ChatSubBuilder = class {
|
|
|
13291
13358
|
}
|
|
13292
13359
|
/** Include messages in the parent query. */
|
|
13293
13360
|
messages(variables, builder) {
|
|
13294
|
-
const info = extractIncludeInfo(
|
|
13361
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
13295
13362
|
let children;
|
|
13296
13363
|
if (builder) {
|
|
13297
13364
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -13300,7 +13367,7 @@ var ChatSubBuilder = class {
|
|
|
13300
13367
|
}
|
|
13301
13368
|
this._includes.push({
|
|
13302
13369
|
fieldName: "messages",
|
|
13303
|
-
fragmentDoc:
|
|
13370
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageConnectionFragmentDoc,
|
|
13304
13371
|
variables,
|
|
13305
13372
|
isConnection: true,
|
|
13306
13373
|
isList: false,
|
|
@@ -13322,7 +13389,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13322
13389
|
_includes = [];
|
|
13323
13390
|
/** Include artifacts in the parent query. */
|
|
13324
13391
|
artifacts(variables, builder) {
|
|
13325
|
-
const info = extractIncludeInfo(
|
|
13392
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
13326
13393
|
let children;
|
|
13327
13394
|
if (builder) {
|
|
13328
13395
|
const sub = new ArtifactSubBuilder();
|
|
@@ -13331,7 +13398,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13331
13398
|
}
|
|
13332
13399
|
this._includes.push({
|
|
13333
13400
|
fieldName: "artifacts",
|
|
13334
|
-
fragmentDoc:
|
|
13401
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
|
|
13335
13402
|
variables,
|
|
13336
13403
|
isConnection: true,
|
|
13337
13404
|
isList: false,
|
|
@@ -13349,7 +13416,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13349
13416
|
}
|
|
13350
13417
|
/** Include chat in the parent query. */
|
|
13351
13418
|
chat(variables, builder) {
|
|
13352
|
-
const info = extractIncludeInfo(
|
|
13419
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
13353
13420
|
let children;
|
|
13354
13421
|
if (builder) {
|
|
13355
13422
|
const sub = new ChatSubBuilder();
|
|
@@ -13358,7 +13425,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13358
13425
|
}
|
|
13359
13426
|
this._includes.push({
|
|
13360
13427
|
fieldName: "chat",
|
|
13361
|
-
fragmentDoc:
|
|
13428
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
13362
13429
|
variables,
|
|
13363
13430
|
isConnection: false,
|
|
13364
13431
|
isList: false,
|
|
@@ -13375,10 +13442,10 @@ var ChatMessageSubBuilder = class {
|
|
|
13375
13442
|
}
|
|
13376
13443
|
/** Include contents in the parent query. */
|
|
13377
13444
|
contents(variables) {
|
|
13378
|
-
const info = extractIncludeInfo(
|
|
13445
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
13379
13446
|
this._includes.push({
|
|
13380
13447
|
fieldName: "contents",
|
|
13381
|
-
fragmentDoc:
|
|
13448
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ContentBlockFragmentDoc,
|
|
13382
13449
|
variables,
|
|
13383
13450
|
isConnection: false,
|
|
13384
13451
|
isList: true,
|
|
@@ -13394,10 +13461,10 @@ var ChatMessageSubBuilder = class {
|
|
|
13394
13461
|
}
|
|
13395
13462
|
/** Include feedback in the parent query. */
|
|
13396
13463
|
feedback(variables) {
|
|
13397
|
-
const info = extractIncludeInfo(
|
|
13464
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
13398
13465
|
this._includes.push({
|
|
13399
13466
|
fieldName: "feedback",
|
|
13400
|
-
fragmentDoc:
|
|
13467
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedbackFragmentDoc,
|
|
13401
13468
|
variables,
|
|
13402
13469
|
isConnection: false,
|
|
13403
13470
|
isList: false,
|
|
@@ -13417,10 +13484,10 @@ var DatabaseSubBuilder = class {
|
|
|
13417
13484
|
_includes = [];
|
|
13418
13485
|
/** Include engine in the parent query. */
|
|
13419
13486
|
engine(variables) {
|
|
13420
|
-
const info = extractIncludeInfo(
|
|
13487
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
13421
13488
|
this._includes.push({
|
|
13422
13489
|
fieldName: "engine",
|
|
13423
|
-
fragmentDoc:
|
|
13490
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
|
|
13424
13491
|
variables,
|
|
13425
13492
|
isConnection: false,
|
|
13426
13493
|
isList: false,
|
|
@@ -13436,7 +13503,7 @@ var DatabaseSubBuilder = class {
|
|
|
13436
13503
|
}
|
|
13437
13504
|
/** Include tables in the parent query. */
|
|
13438
13505
|
tables(variables, builder) {
|
|
13439
|
-
const info = extractIncludeInfo(
|
|
13506
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
13440
13507
|
let children;
|
|
13441
13508
|
if (builder) {
|
|
13442
13509
|
const sub = new TableSubBuilder();
|
|
@@ -13445,7 +13512,7 @@ var DatabaseSubBuilder = class {
|
|
|
13445
13512
|
}
|
|
13446
13513
|
this._includes.push({
|
|
13447
13514
|
fieldName: "tables",
|
|
13448
|
-
fragmentDoc:
|
|
13515
|
+
fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
|
|
13449
13516
|
variables,
|
|
13450
13517
|
isConnection: true,
|
|
13451
13518
|
isList: false,
|
|
@@ -13467,10 +13534,10 @@ var DatabaseCatalogSubBuilder = class {
|
|
|
13467
13534
|
_includes = [];
|
|
13468
13535
|
/** Include engine in the parent query. */
|
|
13469
13536
|
engine(variables) {
|
|
13470
|
-
const info = extractIncludeInfo(
|
|
13537
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
13471
13538
|
this._includes.push({
|
|
13472
13539
|
fieldName: "engine",
|
|
13473
|
-
fragmentDoc:
|
|
13540
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
|
|
13474
13541
|
variables,
|
|
13475
13542
|
isConnection: false,
|
|
13476
13543
|
isList: false,
|
|
@@ -13490,10 +13557,10 @@ var DocumentSubBuilder = class {
|
|
|
13490
13557
|
_includes = [];
|
|
13491
13558
|
/** Include contents in the parent query. */
|
|
13492
13559
|
contents(variables) {
|
|
13493
|
-
const info = extractIncludeInfo(
|
|
13560
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
13494
13561
|
this._includes.push({
|
|
13495
13562
|
fieldName: "contents",
|
|
13496
|
-
fragmentDoc:
|
|
13563
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentContentFragmentDoc,
|
|
13497
13564
|
variables,
|
|
13498
13565
|
isConnection: false,
|
|
13499
13566
|
isList: true,
|
|
@@ -13509,10 +13576,10 @@ var DocumentSubBuilder = class {
|
|
|
13509
13576
|
}
|
|
13510
13577
|
/** Include file in the parent query. */
|
|
13511
13578
|
file(variables) {
|
|
13512
|
-
const info = extractIncludeInfo(
|
|
13579
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FileDocument, "file", ["id"]);
|
|
13513
13580
|
this._includes.push({
|
|
13514
13581
|
fieldName: "file",
|
|
13515
|
-
fragmentDoc:
|
|
13582
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
13516
13583
|
variables,
|
|
13517
13584
|
isConnection: false,
|
|
13518
13585
|
isList: false,
|
|
@@ -13528,10 +13595,10 @@ var DocumentSubBuilder = class {
|
|
|
13528
13595
|
}
|
|
13529
13596
|
/** Include format in the parent query. */
|
|
13530
13597
|
format(variables) {
|
|
13531
|
-
const info = extractIncludeInfo(
|
|
13598
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FormatDocument, "format", ["id"]);
|
|
13532
13599
|
this._includes.push({
|
|
13533
13600
|
fieldName: "format",
|
|
13534
|
-
fragmentDoc:
|
|
13601
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
|
|
13535
13602
|
variables,
|
|
13536
13603
|
isConnection: false,
|
|
13537
13604
|
isList: false,
|
|
@@ -13547,7 +13614,7 @@ var DocumentSubBuilder = class {
|
|
|
13547
13614
|
}
|
|
13548
13615
|
/** Include tables in the parent query. */
|
|
13549
13616
|
tables(variables, builder) {
|
|
13550
|
-
const info = extractIncludeInfo(
|
|
13617
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
13551
13618
|
let children;
|
|
13552
13619
|
if (builder) {
|
|
13553
13620
|
const sub = new TableSubBuilder();
|
|
@@ -13556,7 +13623,7 @@ var DocumentSubBuilder = class {
|
|
|
13556
13623
|
}
|
|
13557
13624
|
this._includes.push({
|
|
13558
13625
|
fieldName: "tables",
|
|
13559
|
-
fragmentDoc:
|
|
13626
|
+
fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
|
|
13560
13627
|
variables,
|
|
13561
13628
|
isConnection: true,
|
|
13562
13629
|
isList: false,
|
|
@@ -13578,10 +13645,10 @@ var DocumentCatalogSubBuilder = class {
|
|
|
13578
13645
|
_includes = [];
|
|
13579
13646
|
/** Include format in the parent query. */
|
|
13580
13647
|
format(variables) {
|
|
13581
|
-
const info = extractIncludeInfo(
|
|
13648
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
13582
13649
|
this._includes.push({
|
|
13583
13650
|
fieldName: "format",
|
|
13584
|
-
fragmentDoc:
|
|
13651
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
|
|
13585
13652
|
variables,
|
|
13586
13653
|
isConnection: false,
|
|
13587
13654
|
isList: false,
|
|
@@ -13601,10 +13668,10 @@ var FeedItemSubBuilder = class {
|
|
|
13601
13668
|
_includes = [];
|
|
13602
13669
|
/** Include action in the parent query. */
|
|
13603
13670
|
action(variables) {
|
|
13604
|
-
const info = extractIncludeInfo(
|
|
13671
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
13605
13672
|
this._includes.push({
|
|
13606
13673
|
fieldName: "action",
|
|
13607
|
-
fragmentDoc:
|
|
13674
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedSendMessageActionFragmentDoc,
|
|
13608
13675
|
variables,
|
|
13609
13676
|
isConnection: false,
|
|
13610
13677
|
isList: false,
|
|
@@ -13620,10 +13687,10 @@ var FeedItemSubBuilder = class {
|
|
|
13620
13687
|
}
|
|
13621
13688
|
/** Include data in the parent query. */
|
|
13622
13689
|
data(variables) {
|
|
13623
|
-
const info = extractIncludeInfo(
|
|
13690
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
13624
13691
|
this._includes.push({
|
|
13625
13692
|
fieldName: "data",
|
|
13626
|
-
fragmentDoc:
|
|
13693
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedArtifactDataFragmentDoc,
|
|
13627
13694
|
variables,
|
|
13628
13695
|
isConnection: false,
|
|
13629
13696
|
isList: true,
|
|
@@ -13643,7 +13710,7 @@ var InsightSubBuilder = class {
|
|
|
13643
13710
|
_includes = [];
|
|
13644
13711
|
/** Include chat in the parent query. */
|
|
13645
13712
|
chat(variables, builder) {
|
|
13646
|
-
const info = extractIncludeInfo(
|
|
13713
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
13647
13714
|
let children;
|
|
13648
13715
|
if (builder) {
|
|
13649
13716
|
const sub = new ChatSubBuilder();
|
|
@@ -13652,7 +13719,7 @@ var InsightSubBuilder = class {
|
|
|
13652
13719
|
}
|
|
13653
13720
|
this._includes.push({
|
|
13654
13721
|
fieldName: "chat",
|
|
13655
|
-
fragmentDoc:
|
|
13722
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
13656
13723
|
variables,
|
|
13657
13724
|
isConnection: false,
|
|
13658
13725
|
isList: false,
|
|
@@ -13669,10 +13736,10 @@ var InsightSubBuilder = class {
|
|
|
13669
13736
|
}
|
|
13670
13737
|
/** Include reportMembers in the parent query. */
|
|
13671
13738
|
reportMembers(variables) {
|
|
13672
|
-
const info = extractIncludeInfo(
|
|
13739
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
13673
13740
|
this._includes.push({
|
|
13674
13741
|
fieldName: "reportMembers",
|
|
13675
|
-
fragmentDoc:
|
|
13742
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
|
|
13676
13743
|
variables,
|
|
13677
13744
|
isConnection: false,
|
|
13678
13745
|
isList: true,
|
|
@@ -13688,7 +13755,7 @@ var InsightSubBuilder = class {
|
|
|
13688
13755
|
}
|
|
13689
13756
|
/** Include reports in the parent query. */
|
|
13690
13757
|
reports(variables, builder) {
|
|
13691
|
-
const info = extractIncludeInfo(
|
|
13758
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
13692
13759
|
let children;
|
|
13693
13760
|
if (builder) {
|
|
13694
13761
|
const sub = new ReportSubBuilder();
|
|
@@ -13697,7 +13764,7 @@ var InsightSubBuilder = class {
|
|
|
13697
13764
|
}
|
|
13698
13765
|
this._includes.push({
|
|
13699
13766
|
fieldName: "reports",
|
|
13700
|
-
fragmentDoc:
|
|
13767
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportConnectionFragmentDoc,
|
|
13701
13768
|
variables,
|
|
13702
13769
|
isConnection: true,
|
|
13703
13770
|
isList: false,
|
|
@@ -13715,10 +13782,10 @@ var InsightSubBuilder = class {
|
|
|
13715
13782
|
}
|
|
13716
13783
|
/** Include thumbnailFile in the parent query. */
|
|
13717
13784
|
thumbnailFile(variables) {
|
|
13718
|
-
const info = extractIncludeInfo(
|
|
13785
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
13719
13786
|
this._includes.push({
|
|
13720
13787
|
fieldName: "thumbnailFile",
|
|
13721
|
-
fragmentDoc:
|
|
13788
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
13722
13789
|
variables,
|
|
13723
13790
|
isConnection: false,
|
|
13724
13791
|
isList: false,
|
|
@@ -13738,10 +13805,10 @@ var IntegrationSubBuilder = class {
|
|
|
13738
13805
|
_includes = [];
|
|
13739
13806
|
/** Include provider in the parent query. */
|
|
13740
13807
|
provider(variables) {
|
|
13741
|
-
const info = extractIncludeInfo(
|
|
13808
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
13742
13809
|
this._includes.push({
|
|
13743
13810
|
fieldName: "provider",
|
|
13744
|
-
fragmentDoc:
|
|
13811
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
|
|
13745
13812
|
variables,
|
|
13746
13813
|
isConnection: false,
|
|
13747
13814
|
isList: false,
|
|
@@ -13761,10 +13828,10 @@ var IntegrationCatalogSubBuilder = class {
|
|
|
13761
13828
|
_includes = [];
|
|
13762
13829
|
/** Include provider in the parent query. */
|
|
13763
13830
|
provider(variables) {
|
|
13764
|
-
const info = extractIncludeInfo(
|
|
13831
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
13765
13832
|
this._includes.push({
|
|
13766
13833
|
fieldName: "provider",
|
|
13767
|
-
fragmentDoc:
|
|
13834
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
|
|
13768
13835
|
variables,
|
|
13769
13836
|
isConnection: false,
|
|
13770
13837
|
isList: false,
|
|
@@ -13784,7 +13851,7 @@ var PulseEventSubBuilder = class {
|
|
|
13784
13851
|
_includes = [];
|
|
13785
13852
|
/** Include integration in the parent query. */
|
|
13786
13853
|
integration(variables, builder) {
|
|
13787
|
-
const info = extractIncludeInfo(
|
|
13854
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
13788
13855
|
let children;
|
|
13789
13856
|
if (builder) {
|
|
13790
13857
|
const sub = new IntegrationSubBuilder();
|
|
@@ -13793,7 +13860,7 @@ var PulseEventSubBuilder = class {
|
|
|
13793
13860
|
}
|
|
13794
13861
|
this._includes.push({
|
|
13795
13862
|
fieldName: "integration",
|
|
13796
|
-
fragmentDoc:
|
|
13863
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationFragmentDoc,
|
|
13797
13864
|
variables,
|
|
13798
13865
|
isConnection: false,
|
|
13799
13866
|
isList: false,
|
|
@@ -13814,7 +13881,7 @@ var ReportSubBuilder = class {
|
|
|
13814
13881
|
_includes = [];
|
|
13815
13882
|
/** Include insights in the parent query. */
|
|
13816
13883
|
insights(variables, builder) {
|
|
13817
|
-
const info = extractIncludeInfo(
|
|
13884
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
13818
13885
|
let children;
|
|
13819
13886
|
if (builder) {
|
|
13820
13887
|
const sub = new InsightSubBuilder();
|
|
@@ -13823,7 +13890,7 @@ var ReportSubBuilder = class {
|
|
|
13823
13890
|
}
|
|
13824
13891
|
this._includes.push({
|
|
13825
13892
|
fieldName: "insights",
|
|
13826
|
-
fragmentDoc:
|
|
13893
|
+
fragmentDoc: chunkEL37Q6V6_cjs.InsightConnectionFragmentDoc,
|
|
13827
13894
|
variables,
|
|
13828
13895
|
isConnection: true,
|
|
13829
13896
|
isList: false,
|
|
@@ -13841,10 +13908,10 @@ var ReportSubBuilder = class {
|
|
|
13841
13908
|
}
|
|
13842
13909
|
/** Include layout in the parent query. */
|
|
13843
13910
|
layout(variables) {
|
|
13844
|
-
const info = extractIncludeInfo(
|
|
13911
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
13845
13912
|
this._includes.push({
|
|
13846
13913
|
fieldName: "layout",
|
|
13847
|
-
fragmentDoc:
|
|
13914
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
|
|
13848
13915
|
variables,
|
|
13849
13916
|
isConnection: false,
|
|
13850
13917
|
isList: true,
|
|
@@ -13864,7 +13931,7 @@ var TableSubBuilder = class {
|
|
|
13864
13931
|
_includes = [];
|
|
13865
13932
|
/** Include database in the parent query. */
|
|
13866
13933
|
database(variables, builder) {
|
|
13867
|
-
const info = extractIncludeInfo(
|
|
13934
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
13868
13935
|
let children;
|
|
13869
13936
|
if (builder) {
|
|
13870
13937
|
const sub = new DatabaseSubBuilder();
|
|
@@ -13873,7 +13940,7 @@ var TableSubBuilder = class {
|
|
|
13873
13940
|
}
|
|
13874
13941
|
this._includes.push({
|
|
13875
13942
|
fieldName: "database",
|
|
13876
|
-
fragmentDoc:
|
|
13943
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseFragmentDoc,
|
|
13877
13944
|
variables,
|
|
13878
13945
|
isConnection: false,
|
|
13879
13946
|
isList: false,
|
|
@@ -13890,7 +13957,7 @@ var TableSubBuilder = class {
|
|
|
13890
13957
|
}
|
|
13891
13958
|
/** Include document in the parent query. */
|
|
13892
13959
|
document(variables, builder) {
|
|
13893
|
-
const info = extractIncludeInfo(
|
|
13960
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
13894
13961
|
let children;
|
|
13895
13962
|
if (builder) {
|
|
13896
13963
|
const sub = new DocumentSubBuilder();
|
|
@@ -13899,7 +13966,7 @@ var TableSubBuilder = class {
|
|
|
13899
13966
|
}
|
|
13900
13967
|
this._includes.push({
|
|
13901
13968
|
fieldName: "document",
|
|
13902
|
-
fragmentDoc:
|
|
13969
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFragmentDoc,
|
|
13903
13970
|
variables,
|
|
13904
13971
|
isConnection: false,
|
|
13905
13972
|
isList: false,
|
|
@@ -13916,10 +13983,10 @@ var TableSubBuilder = class {
|
|
|
13916
13983
|
}
|
|
13917
13984
|
/** Include fromRelations in the parent query. */
|
|
13918
13985
|
fromRelations(variables) {
|
|
13919
|
-
const info = extractIncludeInfo(
|
|
13986
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
13920
13987
|
this._includes.push({
|
|
13921
13988
|
fieldName: "fromRelations",
|
|
13922
|
-
fragmentDoc:
|
|
13989
|
+
fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
|
|
13923
13990
|
variables,
|
|
13924
13991
|
isConnection: false,
|
|
13925
13992
|
isList: true,
|
|
@@ -13935,10 +14002,10 @@ var TableSubBuilder = class {
|
|
|
13935
14002
|
}
|
|
13936
14003
|
/** Include toRelations in the parent query. */
|
|
13937
14004
|
toRelations(variables) {
|
|
13938
|
-
const info = extractIncludeInfo(
|
|
14005
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
13939
14006
|
this._includes.push({
|
|
13940
14007
|
fieldName: "toRelations",
|
|
13941
|
-
fragmentDoc:
|
|
14008
|
+
fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
|
|
13942
14009
|
variables,
|
|
13943
14010
|
isConnection: false,
|
|
13944
14011
|
isList: true,
|
|
@@ -13955,454 +14022,454 @@ var TableSubBuilder = class {
|
|
|
13955
14022
|
};
|
|
13956
14023
|
var AbortChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
13957
14024
|
async fetch(variables) {
|
|
13958
|
-
const response = await this._syncEngine.mutate(
|
|
14025
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.AbortChatDocument, variables, MUTATION_CACHE_RULES["abortChat"]);
|
|
13959
14026
|
return response.abortChat;
|
|
13960
14027
|
}
|
|
13961
14028
|
};
|
|
13962
14029
|
var AddInsightToReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
13963
14030
|
async fetch(variables, options) {
|
|
13964
|
-
const response = await this._syncEngine.mutate(
|
|
14031
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
|
|
13965
14032
|
const data = response.addInsightToReport;
|
|
13966
14033
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
13967
14034
|
}
|
|
13968
14035
|
};
|
|
13969
14036
|
var CancelOauthFlowMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
13970
14037
|
async fetch(variables) {
|
|
13971
|
-
const response = await this._syncEngine.mutate(
|
|
14038
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
|
|
13972
14039
|
return response.cancelOauthFlow;
|
|
13973
14040
|
}
|
|
13974
14041
|
};
|
|
13975
14042
|
var CancelWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
13976
14043
|
async fetch(variables) {
|
|
13977
|
-
const response = await this._syncEngine.mutate(
|
|
14044
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
|
|
13978
14045
|
return response.cancelWorkspaceDeletion;
|
|
13979
14046
|
}
|
|
13980
14047
|
};
|
|
13981
14048
|
var ConnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
13982
14049
|
async fetch(variables, options) {
|
|
13983
|
-
const response = await this._syncEngine.mutate(
|
|
14050
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
|
|
13984
14051
|
const data = response.connectIntegration;
|
|
13985
14052
|
return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
13986
14053
|
}
|
|
13987
14054
|
};
|
|
13988
14055
|
var ConsumePulseEventsMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
13989
14056
|
async fetch(variables) {
|
|
13990
|
-
const response = await this._syncEngine.mutate(
|
|
14057
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
|
|
13991
14058
|
return response.consumePulseEvents;
|
|
13992
14059
|
}
|
|
13993
14060
|
};
|
|
13994
14061
|
var ContinueImportedChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
13995
14062
|
async fetch(variables) {
|
|
13996
|
-
const response = await this._syncEngine.mutate(
|
|
14063
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
|
|
13997
14064
|
return response.continueImportedChat;
|
|
13998
14065
|
}
|
|
13999
14066
|
};
|
|
14000
14067
|
var ContinueInterpretationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14001
14068
|
async fetch(variables) {
|
|
14002
|
-
const response = await this._syncEngine.mutate(
|
|
14069
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
|
|
14003
14070
|
return response.continueInterpretation;
|
|
14004
14071
|
}
|
|
14005
14072
|
};
|
|
14006
14073
|
var CreateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14007
14074
|
async fetch(variables, options) {
|
|
14008
|
-
const response = await this._syncEngine.mutate(
|
|
14075
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
|
|
14009
14076
|
const data = response.createAgent;
|
|
14010
14077
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14011
14078
|
}
|
|
14012
14079
|
};
|
|
14013
14080
|
var CreateChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14014
14081
|
async fetch(variables, options) {
|
|
14015
|
-
const response = await this._syncEngine.mutate(
|
|
14082
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
|
|
14016
14083
|
const data = response.createChat;
|
|
14017
14084
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14018
14085
|
}
|
|
14019
14086
|
};
|
|
14020
14087
|
var CreateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14021
14088
|
async fetch(variables, options) {
|
|
14022
|
-
const response = await this._syncEngine.mutate(
|
|
14089
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
|
|
14023
14090
|
const data = response.createDatabase;
|
|
14024
14091
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14025
14092
|
}
|
|
14026
14093
|
};
|
|
14027
14094
|
var CreateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14028
14095
|
async fetch(variables, options) {
|
|
14029
|
-
const response = await this._syncEngine.mutate(
|
|
14096
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
|
|
14030
14097
|
const data = response.createDocument;
|
|
14031
14098
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14032
14099
|
}
|
|
14033
14100
|
};
|
|
14034
14101
|
var CreateFeedbackMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14035
14102
|
async fetch(variables, options) {
|
|
14036
|
-
const response = await this._syncEngine.mutate(
|
|
14103
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
|
|
14037
14104
|
const data = response.createFeedback;
|
|
14038
14105
|
return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
|
|
14039
14106
|
}
|
|
14040
14107
|
};
|
|
14041
14108
|
var CreateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14042
14109
|
async fetch(variables, options) {
|
|
14043
|
-
const response = await this._syncEngine.mutate(
|
|
14110
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
|
|
14044
14111
|
const data = response.createFolder;
|
|
14045
14112
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14046
14113
|
}
|
|
14047
14114
|
};
|
|
14048
14115
|
var CreateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14049
14116
|
async fetch(variables, options) {
|
|
14050
|
-
const response = await this._syncEngine.mutate(
|
|
14117
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
|
|
14051
14118
|
const data = response.createInsight;
|
|
14052
14119
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14053
14120
|
}
|
|
14054
14121
|
};
|
|
14055
14122
|
var CreateIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14056
14123
|
async fetch(variables, options) {
|
|
14057
|
-
const response = await this._syncEngine.mutate(
|
|
14124
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
|
|
14058
14125
|
const data = response.createIntegration;
|
|
14059
14126
|
return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14060
14127
|
}
|
|
14061
14128
|
};
|
|
14062
14129
|
var CreateReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14063
14130
|
async fetch(variables, options) {
|
|
14064
|
-
const response = await this._syncEngine.mutate(
|
|
14131
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
|
|
14065
14132
|
const data = response.createReport;
|
|
14066
14133
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14067
14134
|
}
|
|
14068
14135
|
};
|
|
14069
14136
|
var CreateTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14070
14137
|
async fetch(variables, options) {
|
|
14071
|
-
const response = await this._syncEngine.mutate(
|
|
14138
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
|
|
14072
14139
|
const data = response.createTable;
|
|
14073
14140
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14074
14141
|
}
|
|
14075
14142
|
};
|
|
14076
14143
|
var CreateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14077
14144
|
async fetch(variables, options) {
|
|
14078
|
-
const response = await this._syncEngine.mutate(
|
|
14145
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
|
|
14079
14146
|
const data = response.createUserSkillFile;
|
|
14080
14147
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14081
14148
|
}
|
|
14082
14149
|
};
|
|
14083
14150
|
var CreateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14084
14151
|
async fetch(variables, options) {
|
|
14085
|
-
const response = await this._syncEngine.mutate(
|
|
14152
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
|
|
14086
14153
|
const data = response.createUserSkillFolder;
|
|
14087
14154
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14088
14155
|
}
|
|
14089
14156
|
};
|
|
14090
14157
|
var DeleteAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14091
14158
|
async fetch(variables, options) {
|
|
14092
|
-
const response = await this._syncEngine.mutate(
|
|
14159
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
|
|
14093
14160
|
const data = response.deleteAgent;
|
|
14094
14161
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14095
14162
|
}
|
|
14096
14163
|
};
|
|
14097
14164
|
var DeleteArtifactMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14098
14165
|
async fetch(variables, options) {
|
|
14099
|
-
const response = await this._syncEngine.mutate(
|
|
14166
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
|
|
14100
14167
|
const data = response.deleteArtifact;
|
|
14101
14168
|
return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
14102
14169
|
}
|
|
14103
14170
|
};
|
|
14104
14171
|
var DeleteChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14105
14172
|
async fetch(variables, options) {
|
|
14106
|
-
const response = await this._syncEngine.mutate(
|
|
14173
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
|
|
14107
14174
|
const data = response.deleteChat;
|
|
14108
14175
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14109
14176
|
}
|
|
14110
14177
|
};
|
|
14111
14178
|
var DeleteDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14112
14179
|
async fetch(variables, options) {
|
|
14113
|
-
const response = await this._syncEngine.mutate(
|
|
14180
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
|
|
14114
14181
|
const data = response.deleteDatabase;
|
|
14115
14182
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14116
14183
|
}
|
|
14117
14184
|
};
|
|
14118
14185
|
var DeleteDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14119
14186
|
async fetch(variables, options) {
|
|
14120
|
-
const response = await this._syncEngine.mutate(
|
|
14187
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
|
|
14121
14188
|
const data = response.deleteDocument;
|
|
14122
14189
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14123
14190
|
}
|
|
14124
14191
|
};
|
|
14125
14192
|
var DeleteFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14126
14193
|
async fetch(variables, options) {
|
|
14127
|
-
const response = await this._syncEngine.mutate(
|
|
14194
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
|
|
14128
14195
|
const data = response.deleteFolder;
|
|
14129
14196
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14130
14197
|
}
|
|
14131
14198
|
};
|
|
14132
14199
|
var DeleteInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14133
14200
|
async fetch(variables, options) {
|
|
14134
|
-
const response = await this._syncEngine.mutate(
|
|
14201
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
|
|
14135
14202
|
const data = response.deleteInsight;
|
|
14136
14203
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14137
14204
|
}
|
|
14138
14205
|
};
|
|
14139
14206
|
var DeleteInsightsMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14140
14207
|
async fetch(variables, options) {
|
|
14141
|
-
const response = await this._syncEngine.mutate(
|
|
14208
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
|
|
14142
14209
|
const data = response.deleteInsights;
|
|
14143
14210
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14144
14211
|
}
|
|
14145
14212
|
};
|
|
14146
14213
|
var DeleteIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14147
14214
|
async fetch(variables) {
|
|
14148
|
-
const response = await this._syncEngine.mutate(
|
|
14215
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
|
|
14149
14216
|
return response.deleteIntegration;
|
|
14150
14217
|
}
|
|
14151
14218
|
};
|
|
14152
14219
|
var DeleteReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14153
14220
|
async fetch(variables, options) {
|
|
14154
|
-
const response = await this._syncEngine.mutate(
|
|
14221
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
|
|
14155
14222
|
const data = response.deleteReport;
|
|
14156
14223
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14157
14224
|
}
|
|
14158
14225
|
};
|
|
14159
14226
|
var DeleteTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14160
14227
|
async fetch(variables, options) {
|
|
14161
|
-
const response = await this._syncEngine.mutate(
|
|
14228
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
|
|
14162
14229
|
const data = response.deleteTable;
|
|
14163
14230
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14164
14231
|
}
|
|
14165
14232
|
};
|
|
14166
14233
|
var DeleteUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14167
14234
|
async fetch(variables, options) {
|
|
14168
|
-
const response = await this._syncEngine.mutate(
|
|
14235
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
|
|
14169
14236
|
const data = response.deleteUserSkillFile;
|
|
14170
14237
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14171
14238
|
}
|
|
14172
14239
|
};
|
|
14173
14240
|
var DeleteUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14174
14241
|
async fetch(variables, options) {
|
|
14175
|
-
const response = await this._syncEngine.mutate(
|
|
14242
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
|
|
14176
14243
|
const data = response.deleteUserSkillFolder;
|
|
14177
14244
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14178
14245
|
}
|
|
14179
14246
|
};
|
|
14180
14247
|
var DisconnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14181
14248
|
async fetch(variables) {
|
|
14182
|
-
const response = await this._syncEngine.mutate(
|
|
14249
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
|
|
14183
14250
|
return response.disconnectIntegration;
|
|
14184
14251
|
}
|
|
14185
14252
|
};
|
|
14186
14253
|
var DismissPulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14187
14254
|
async fetch(variables, options) {
|
|
14188
|
-
const response = await this._syncEngine.mutate(
|
|
14255
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
|
|
14189
14256
|
const data = response.dismissPulseEvent;
|
|
14190
14257
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14191
14258
|
}
|
|
14192
14259
|
};
|
|
14193
14260
|
var ExecuteChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14194
14261
|
async fetch(variables, options) {
|
|
14195
|
-
const response = await this._syncEngine.mutate(
|
|
14262
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
|
|
14196
14263
|
const data = response.executeChatImport;
|
|
14197
14264
|
return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14198
14265
|
}
|
|
14199
14266
|
};
|
|
14200
14267
|
var GenerateUploadUriMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14201
14268
|
async fetch(variables, options) {
|
|
14202
|
-
const response = await this._syncEngine.mutate(
|
|
14269
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
|
|
14203
14270
|
const data = response.generateUploadUri;
|
|
14204
14271
|
return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14205
14272
|
}
|
|
14206
14273
|
};
|
|
14207
14274
|
var PreviewChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14208
14275
|
async fetch(variables, options) {
|
|
14209
|
-
const response = await this._syncEngine.mutate(
|
|
14276
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
|
|
14210
14277
|
const data = response.previewChatImport;
|
|
14211
14278
|
return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14212
14279
|
}
|
|
14213
14280
|
};
|
|
14214
14281
|
var ReanalyzeDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14215
14282
|
async fetch(variables, options) {
|
|
14216
|
-
const response = await this._syncEngine.mutate(
|
|
14283
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
|
|
14217
14284
|
const data = response.reanalyzeDocument;
|
|
14218
14285
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14219
14286
|
}
|
|
14220
14287
|
};
|
|
14221
14288
|
var RefineMindInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14222
14289
|
async fetch(variables) {
|
|
14223
|
-
const response = await this._syncEngine.mutate(
|
|
14290
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
|
|
14224
14291
|
return response.refineMindInstruction;
|
|
14225
14292
|
}
|
|
14226
14293
|
};
|
|
14227
14294
|
var RefreshDatabaseSchemaMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14228
14295
|
async fetch(variables) {
|
|
14229
|
-
const response = await this._syncEngine.mutate(
|
|
14296
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
|
|
14230
14297
|
return response.refreshDatabaseSchema;
|
|
14231
14298
|
}
|
|
14232
14299
|
};
|
|
14233
14300
|
var RefreshInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14234
14301
|
async fetch(variables, options) {
|
|
14235
|
-
const response = await this._syncEngine.mutate(
|
|
14302
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
|
|
14236
14303
|
const data = response.refreshInsight;
|
|
14237
14304
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14238
14305
|
}
|
|
14239
14306
|
};
|
|
14240
14307
|
var ReinterpretSourceMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14241
14308
|
async fetch(variables) {
|
|
14242
|
-
const response = await this._syncEngine.mutate(
|
|
14309
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
|
|
14243
14310
|
return response.reinterpretSource;
|
|
14244
14311
|
}
|
|
14245
14312
|
};
|
|
14246
14313
|
var ReinterpretSourcesOfuserMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14247
14314
|
async fetch(variables) {
|
|
14248
|
-
const response = await this._syncEngine.mutate(
|
|
14315
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
|
|
14249
14316
|
return response.reinterpretSourcesOfuser;
|
|
14250
14317
|
}
|
|
14251
14318
|
};
|
|
14252
14319
|
var RelocateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14253
14320
|
async fetch(variables, options) {
|
|
14254
|
-
const response = await this._syncEngine.mutate(
|
|
14321
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
|
|
14255
14322
|
const data = response.relocateInsight;
|
|
14256
14323
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14257
14324
|
}
|
|
14258
14325
|
};
|
|
14259
14326
|
var RemoveInsightFromReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14260
14327
|
async fetch(variables, options) {
|
|
14261
|
-
const response = await this._syncEngine.mutate(
|
|
14328
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
|
|
14262
14329
|
const data = response.removeInsightFromReport;
|
|
14263
14330
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14264
14331
|
}
|
|
14265
14332
|
};
|
|
14266
14333
|
var ResetWorkspaceMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14267
14334
|
async fetch(variables) {
|
|
14268
|
-
const response = await this._syncEngine.mutate(
|
|
14335
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
|
|
14269
14336
|
return response.resetWorkspace;
|
|
14270
14337
|
}
|
|
14271
14338
|
};
|
|
14272
14339
|
var ResolvePulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14273
14340
|
async fetch(variables, options) {
|
|
14274
|
-
const response = await this._syncEngine.mutate(
|
|
14341
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
|
|
14275
14342
|
const data = response.resolvePulseEvent;
|
|
14276
14343
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14277
14344
|
}
|
|
14278
14345
|
};
|
|
14279
14346
|
var ScheduleWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14280
14347
|
async fetch(variables, options) {
|
|
14281
|
-
const response = await this._syncEngine.mutate(
|
|
14348
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
|
|
14282
14349
|
const data = response.scheduleWorkspaceDeletion;
|
|
14283
14350
|
return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
|
|
14284
14351
|
}
|
|
14285
14352
|
};
|
|
14286
14353
|
var SendMessageMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14287
14354
|
async fetch(variables, options) {
|
|
14288
|
-
const response = await this._syncEngine.mutate(
|
|
14355
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.SendMessageDocument, variables, MUTATION_CACHE_RULES["sendMessage"]);
|
|
14289
14356
|
const data = response.sendMessage;
|
|
14290
14357
|
return new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
|
|
14291
14358
|
}
|
|
14292
14359
|
};
|
|
14293
14360
|
var SetDatabasePrimaryKeyMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14294
14361
|
async fetch(variables) {
|
|
14295
|
-
const response = await this._syncEngine.mutate(
|
|
14362
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
|
|
14296
14363
|
return response.setDatabasePrimaryKey;
|
|
14297
14364
|
}
|
|
14298
14365
|
};
|
|
14299
14366
|
var UpdateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14300
14367
|
async fetch(variables, options) {
|
|
14301
|
-
const response = await this._syncEngine.mutate(
|
|
14368
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
|
|
14302
14369
|
const data = response.updateAgent;
|
|
14303
14370
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14304
14371
|
}
|
|
14305
14372
|
};
|
|
14306
14373
|
var UpdateArtifactNameMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14307
14374
|
async fetch(variables, options) {
|
|
14308
|
-
const response = await this._syncEngine.mutate(
|
|
14375
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"]);
|
|
14309
14376
|
const data = response.updateArtifactName;
|
|
14310
14377
|
return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
14311
14378
|
}
|
|
14312
14379
|
};
|
|
14313
14380
|
var UpdateChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14314
14381
|
async fetch(variables, options) {
|
|
14315
|
-
const response = await this._syncEngine.mutate(
|
|
14382
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
|
|
14316
14383
|
const data = response.updateChat;
|
|
14317
14384
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14318
14385
|
}
|
|
14319
14386
|
};
|
|
14320
14387
|
var UpdateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14321
14388
|
async fetch(variables, options) {
|
|
14322
|
-
const response = await this._syncEngine.mutate(
|
|
14389
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
|
|
14323
14390
|
const data = response.updateDatabase;
|
|
14324
14391
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14325
14392
|
}
|
|
14326
14393
|
};
|
|
14327
14394
|
var UpdateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14328
14395
|
async fetch(variables, options) {
|
|
14329
|
-
const response = await this._syncEngine.mutate(
|
|
14396
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
|
|
14330
14397
|
const data = response.updateDocument;
|
|
14331
14398
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14332
14399
|
}
|
|
14333
14400
|
};
|
|
14334
14401
|
var UpdateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14335
14402
|
async fetch(variables, options) {
|
|
14336
|
-
const response = await this._syncEngine.mutate(
|
|
14403
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
|
|
14337
14404
|
const data = response.updateFolder;
|
|
14338
14405
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14339
14406
|
}
|
|
14340
14407
|
};
|
|
14341
14408
|
var UpdateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14342
14409
|
async fetch(variables, options) {
|
|
14343
|
-
const response = await this._syncEngine.mutate(
|
|
14410
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
|
|
14344
14411
|
const data = response.updateInsight;
|
|
14345
14412
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14346
14413
|
}
|
|
14347
14414
|
};
|
|
14348
14415
|
var UpdateInsightInReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14349
14416
|
async fetch(variables, options) {
|
|
14350
|
-
const response = await this._syncEngine.mutate(
|
|
14417
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
|
|
14351
14418
|
const data = response.updateInsightInReport;
|
|
14352
14419
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14353
14420
|
}
|
|
14354
14421
|
};
|
|
14355
14422
|
var UpdateInsightThumbnailMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14356
14423
|
async fetch(variables) {
|
|
14357
|
-
const response = await this._syncEngine.mutate(
|
|
14424
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
|
|
14358
14425
|
return response.updateInsightThumbnail;
|
|
14359
14426
|
}
|
|
14360
14427
|
};
|
|
14361
14428
|
var UpdateInterpMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14362
14429
|
async fetch(variables, options) {
|
|
14363
|
-
const response = await this._syncEngine.mutate(
|
|
14430
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
|
|
14364
14431
|
const data = response.updateInterp;
|
|
14365
14432
|
return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
|
|
14366
14433
|
}
|
|
14367
14434
|
};
|
|
14368
14435
|
var UpdateLiveContextMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14369
14436
|
async fetch(variables, options) {
|
|
14370
|
-
const response = await this._syncEngine.mutate(
|
|
14437
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateLiveContextDocument, variables, MUTATION_CACHE_RULES["updateLiveContext"]);
|
|
14371
14438
|
const data = response.updateLiveContext;
|
|
14372
14439
|
return new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
|
|
14373
14440
|
}
|
|
14374
14441
|
};
|
|
14375
14442
|
var UpdatePulseTriggerMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14376
14443
|
async fetch(variables, options) {
|
|
14377
|
-
const response = await this._syncEngine.mutate(
|
|
14444
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
|
|
14378
14445
|
const data = response.updatePulseTrigger;
|
|
14379
14446
|
return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14380
14447
|
}
|
|
14381
14448
|
};
|
|
14382
14449
|
var UpdateReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14383
14450
|
async fetch(variables, options) {
|
|
14384
|
-
const response = await this._syncEngine.mutate(
|
|
14451
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
|
|
14385
14452
|
const data = response.updateReport;
|
|
14386
14453
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14387
14454
|
}
|
|
14388
14455
|
};
|
|
14389
14456
|
var UpdateTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14390
14457
|
async fetch(variables, options) {
|
|
14391
|
-
const response = await this._syncEngine.mutate(
|
|
14458
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
|
|
14392
14459
|
const data = response.updateTable;
|
|
14393
14460
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14394
14461
|
}
|
|
14395
14462
|
};
|
|
14396
14463
|
var UpdateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14397
14464
|
async fetch(variables, options) {
|
|
14398
|
-
const response = await this._syncEngine.mutate(
|
|
14465
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
|
|
14399
14466
|
const data = response.updateUserSkillFile;
|
|
14400
14467
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14401
14468
|
}
|
|
14402
14469
|
};
|
|
14403
14470
|
var UpdateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14404
14471
|
async fetch(variables, options) {
|
|
14405
|
-
const response = await this._syncEngine.mutate(
|
|
14472
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
|
|
14406
14473
|
const data = response.updateUserSkillFolder;
|
|
14407
14474
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14408
14475
|
}
|
|
@@ -14416,7 +14483,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14416
14483
|
}
|
|
14417
14484
|
async fetch(options) {
|
|
14418
14485
|
const variables = this._variables;
|
|
14419
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14486
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentDocument, "agent", this._includes, variables);
|
|
14420
14487
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
|
|
14421
14488
|
const data = response.agent;
|
|
14422
14489
|
const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -14428,7 +14495,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14428
14495
|
watch(options) {
|
|
14429
14496
|
const variables = this._variables;
|
|
14430
14497
|
const includes = this._includes;
|
|
14431
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14498
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentDocument, "agent", includes, variables);
|
|
14432
14499
|
const raw = this._syncEngine.watch(
|
|
14433
14500
|
queryDoc,
|
|
14434
14501
|
mergedVars,
|
|
@@ -14458,7 +14525,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14458
14525
|
}
|
|
14459
14526
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
14460
14527
|
chats(variables, builder) {
|
|
14461
|
-
const info = extractIncludeInfo(
|
|
14528
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
14462
14529
|
let children;
|
|
14463
14530
|
if (builder) {
|
|
14464
14531
|
const sub = new ChatSubBuilder();
|
|
@@ -14467,7 +14534,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14467
14534
|
}
|
|
14468
14535
|
this._includes.push({
|
|
14469
14536
|
fieldName: "chats",
|
|
14470
|
-
fragmentDoc:
|
|
14537
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatConnectionFragmentDoc,
|
|
14471
14538
|
variables,
|
|
14472
14539
|
isConnection: true,
|
|
14473
14540
|
isList: false,
|
|
@@ -14492,18 +14559,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
14492
14559
|
}
|
|
14493
14560
|
async fetch(options) {
|
|
14494
14561
|
const variables = this._variables;
|
|
14495
|
-
const response = await this._syncEngine.query(
|
|
14562
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Agent_ChatsDocument, variables, "agent");
|
|
14496
14563
|
const data = response.agent?.chats;
|
|
14497
14564
|
return new ChatConnection(this._request, (conn, opts) => new _Agent_ChatsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
14498
14565
|
}
|
|
14499
14566
|
watch(options) {
|
|
14500
14567
|
const variables = this._variables;
|
|
14501
14568
|
const raw = this._syncEngine.watch(
|
|
14502
|
-
|
|
14569
|
+
chunkEL37Q6V6_cjs.Agent_ChatsDocument,
|
|
14503
14570
|
variables,
|
|
14504
14571
|
"agent",
|
|
14505
14572
|
async (db) => {
|
|
14506
|
-
const qr = await db._queryResults.get(buildQueryKey("agent", variables,
|
|
14573
|
+
const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkEL37Q6V6_cjs.Agent_ChatsDocument));
|
|
14507
14574
|
const nodes = qr ? await db.table("chats").bulkGet(qr.entityIds) : [];
|
|
14508
14575
|
return { agent: { chats: { __typename: "ChatConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
14509
14576
|
}
|
|
@@ -14523,7 +14590,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14523
14590
|
}
|
|
14524
14591
|
async fetch(options) {
|
|
14525
14592
|
const variables = this._variables;
|
|
14526
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14593
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentsDocument, "agents", this._includes, variables, true);
|
|
14527
14594
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
|
|
14528
14595
|
const data = response.agents;
|
|
14529
14596
|
const connection = new AgentConnection(this._request, (conn, opts) => new _AgentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -14540,7 +14607,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14540
14607
|
const subscriptionId = crypto.randomUUID();
|
|
14541
14608
|
const includes = this._includes;
|
|
14542
14609
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
14543
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14610
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentsDocument, "agents", includes, variables, true);
|
|
14544
14611
|
const raw = this._syncEngine.watch(
|
|
14545
14612
|
queryDoc,
|
|
14546
14613
|
mergedVars,
|
|
@@ -14575,7 +14642,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14575
14642
|
}
|
|
14576
14643
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
14577
14644
|
chats(variables, builder) {
|
|
14578
|
-
const info = extractIncludeInfo(
|
|
14645
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
14579
14646
|
let children;
|
|
14580
14647
|
if (builder) {
|
|
14581
14648
|
const sub = new ChatSubBuilder();
|
|
@@ -14584,7 +14651,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14584
14651
|
}
|
|
14585
14652
|
this._includes.push({
|
|
14586
14653
|
fieldName: "chats",
|
|
14587
|
-
fragmentDoc:
|
|
14654
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatConnectionFragmentDoc,
|
|
14588
14655
|
variables,
|
|
14589
14656
|
isConnection: true,
|
|
14590
14657
|
isList: false,
|
|
@@ -14610,7 +14677,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14610
14677
|
}
|
|
14611
14678
|
async fetch(options) {
|
|
14612
14679
|
const variables = this._variables;
|
|
14613
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14680
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactDocument, "artifact", this._includes, variables);
|
|
14614
14681
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
|
|
14615
14682
|
const data = response.artifact;
|
|
14616
14683
|
const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -14622,7 +14689,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14622
14689
|
watch(options) {
|
|
14623
14690
|
const variables = this._variables;
|
|
14624
14691
|
const includes = this._includes;
|
|
14625
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14692
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactDocument, "artifact", includes, variables);
|
|
14626
14693
|
const raw = this._syncEngine.watch(
|
|
14627
14694
|
queryDoc,
|
|
14628
14695
|
mergedVars,
|
|
@@ -14652,7 +14719,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14652
14719
|
}
|
|
14653
14720
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
14654
14721
|
chat(variables, builder) {
|
|
14655
|
-
const info = extractIncludeInfo(
|
|
14722
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
14656
14723
|
let children;
|
|
14657
14724
|
if (builder) {
|
|
14658
14725
|
const sub = new ChatSubBuilder();
|
|
@@ -14661,7 +14728,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14661
14728
|
}
|
|
14662
14729
|
this._includes.push({
|
|
14663
14730
|
fieldName: "chat",
|
|
14664
|
-
fragmentDoc:
|
|
14731
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
14665
14732
|
variables,
|
|
14666
14733
|
isConnection: false,
|
|
14667
14734
|
isList: false,
|
|
@@ -14678,10 +14745,10 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14678
14745
|
}
|
|
14679
14746
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
14680
14747
|
file(variables) {
|
|
14681
|
-
const info = extractIncludeInfo(
|
|
14748
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
14682
14749
|
this._includes.push({
|
|
14683
14750
|
fieldName: "file",
|
|
14684
|
-
fragmentDoc:
|
|
14751
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
14685
14752
|
variables,
|
|
14686
14753
|
isConnection: false,
|
|
14687
14754
|
isList: false,
|
|
@@ -14697,7 +14764,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14697
14764
|
}
|
|
14698
14765
|
/** Include message in this query (Smart Fetch — single HTTP request). */
|
|
14699
14766
|
message(variables, builder) {
|
|
14700
|
-
const info = extractIncludeInfo(
|
|
14767
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
14701
14768
|
let children;
|
|
14702
14769
|
if (builder) {
|
|
14703
14770
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -14706,7 +14773,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14706
14773
|
}
|
|
14707
14774
|
this._includes.push({
|
|
14708
14775
|
fieldName: "message",
|
|
14709
|
-
fragmentDoc:
|
|
14776
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageFragmentDoc,
|
|
14710
14777
|
variables,
|
|
14711
14778
|
isConnection: false,
|
|
14712
14779
|
isList: false,
|
|
@@ -14730,14 +14797,14 @@ var Artifact_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14730
14797
|
}
|
|
14731
14798
|
async fetch(options) {
|
|
14732
14799
|
const variables = this._variables;
|
|
14733
|
-
const response = await this._syncEngine.query(
|
|
14800
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_ChatDocument, variables, "artifact");
|
|
14734
14801
|
const data = response.artifact?.chat;
|
|
14735
14802
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14736
14803
|
}
|
|
14737
14804
|
watch(options) {
|
|
14738
14805
|
const variables = this._variables;
|
|
14739
14806
|
const raw = this._syncEngine.watch(
|
|
14740
|
-
|
|
14807
|
+
chunkEL37Q6V6_cjs.Artifact_ChatDocument,
|
|
14741
14808
|
variables,
|
|
14742
14809
|
"artifact",
|
|
14743
14810
|
async (db) => {
|
|
@@ -14760,14 +14827,14 @@ var Artifact_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14760
14827
|
}
|
|
14761
14828
|
async fetch(options) {
|
|
14762
14829
|
const variables = this._variables;
|
|
14763
|
-
const response = await this._syncEngine.query(
|
|
14830
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
|
|
14764
14831
|
const data = response.artifact?.chat?.insight;
|
|
14765
14832
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14766
14833
|
}
|
|
14767
14834
|
watch(options) {
|
|
14768
14835
|
const variables = this._variables;
|
|
14769
14836
|
const raw = this._syncEngine.watch(
|
|
14770
|
-
|
|
14837
|
+
chunkEL37Q6V6_cjs.Artifact_Chat_InsightDocument,
|
|
14771
14838
|
variables,
|
|
14772
14839
|
"artifact",
|
|
14773
14840
|
async (db) => {
|
|
@@ -14790,14 +14857,14 @@ var Artifact_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14790
14857
|
}
|
|
14791
14858
|
async fetch(options) {
|
|
14792
14859
|
const variables = this._variables;
|
|
14793
|
-
const response = await this._syncEngine.query(
|
|
14860
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_FileDocument, variables, "artifact");
|
|
14794
14861
|
const data = response.artifact?.file;
|
|
14795
14862
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14796
14863
|
}
|
|
14797
14864
|
watch(options) {
|
|
14798
14865
|
const variables = this._variables;
|
|
14799
14866
|
const raw = this._syncEngine.watch(
|
|
14800
|
-
|
|
14867
|
+
chunkEL37Q6V6_cjs.Artifact_FileDocument,
|
|
14801
14868
|
variables,
|
|
14802
14869
|
"artifact",
|
|
14803
14870
|
async (db) => {
|
|
@@ -14820,14 +14887,14 @@ var Artifact_MessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14820
14887
|
}
|
|
14821
14888
|
async fetch(options) {
|
|
14822
14889
|
const variables = this._variables;
|
|
14823
|
-
const response = await this._syncEngine.query(
|
|
14890
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_MessageDocument, variables, "artifact");
|
|
14824
14891
|
const data = response.artifact?.message;
|
|
14825
14892
|
return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14826
14893
|
}
|
|
14827
14894
|
watch(options) {
|
|
14828
14895
|
const variables = this._variables;
|
|
14829
14896
|
const raw = this._syncEngine.watch(
|
|
14830
|
-
|
|
14897
|
+
chunkEL37Q6V6_cjs.Artifact_MessageDocument,
|
|
14831
14898
|
variables,
|
|
14832
14899
|
"artifact",
|
|
14833
14900
|
async (db) => {
|
|
@@ -14850,14 +14917,14 @@ var Artifact_Message_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14850
14917
|
}
|
|
14851
14918
|
async fetch(options) {
|
|
14852
14919
|
const variables = this._variables;
|
|
14853
|
-
const response = await this._syncEngine.query(
|
|
14920
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Message_ChatDocument, variables, "artifact");
|
|
14854
14921
|
const data = response.artifact?.message?.chat;
|
|
14855
14922
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14856
14923
|
}
|
|
14857
14924
|
watch(options) {
|
|
14858
14925
|
const variables = this._variables;
|
|
14859
14926
|
const raw = this._syncEngine.watch(
|
|
14860
|
-
|
|
14927
|
+
chunkEL37Q6V6_cjs.Artifact_Message_ChatDocument,
|
|
14861
14928
|
variables,
|
|
14862
14929
|
"artifact",
|
|
14863
14930
|
async (db) => {
|
|
@@ -14879,7 +14946,7 @@ var Artifact_Message_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14879
14946
|
this._variables = variables;
|
|
14880
14947
|
}
|
|
14881
14948
|
async fetch(options) {
|
|
14882
|
-
const response = await this._syncEngine.query(
|
|
14949
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
|
|
14883
14950
|
const data = response.artifact?.message?.contents;
|
|
14884
14951
|
if (!Array.isArray(data)) return [];
|
|
14885
14952
|
return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -14893,14 +14960,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14893
14960
|
}
|
|
14894
14961
|
async fetch(options) {
|
|
14895
14962
|
const variables = this._variables;
|
|
14896
|
-
const response = await this._syncEngine.query(
|
|
14963
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
|
|
14897
14964
|
const data = response.artifact?.message?.feedback;
|
|
14898
14965
|
return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14899
14966
|
}
|
|
14900
14967
|
watch(options) {
|
|
14901
14968
|
const variables = this._variables;
|
|
14902
14969
|
const raw = this._syncEngine.watch(
|
|
14903
|
-
|
|
14970
|
+
chunkEL37Q6V6_cjs.Artifact_Message_FeedbackDocument,
|
|
14904
14971
|
variables,
|
|
14905
14972
|
"artifact",
|
|
14906
14973
|
async (db) => {
|
|
@@ -14924,7 +14991,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14924
14991
|
}
|
|
14925
14992
|
async fetch(options) {
|
|
14926
14993
|
const variables = this._variables;
|
|
14927
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14994
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
|
|
14928
14995
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
|
|
14929
14996
|
const data = response.artifacts;
|
|
14930
14997
|
const connection = new ArtifactConnection(this._request, (conn, opts) => new _ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -14941,7 +15008,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14941
15008
|
const subscriptionId = crypto.randomUUID();
|
|
14942
15009
|
const includes = this._includes;
|
|
14943
15010
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
14944
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15011
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
|
|
14945
15012
|
const raw = this._syncEngine.watch(
|
|
14946
15013
|
queryDoc,
|
|
14947
15014
|
mergedVars,
|
|
@@ -14976,7 +15043,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14976
15043
|
}
|
|
14977
15044
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
14978
15045
|
chat(variables, builder) {
|
|
14979
|
-
const info = extractIncludeInfo(
|
|
15046
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
14980
15047
|
let children;
|
|
14981
15048
|
if (builder) {
|
|
14982
15049
|
const sub = new ChatSubBuilder();
|
|
@@ -14985,7 +15052,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14985
15052
|
}
|
|
14986
15053
|
this._includes.push({
|
|
14987
15054
|
fieldName: "chat",
|
|
14988
|
-
fragmentDoc:
|
|
15055
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
14989
15056
|
variables,
|
|
14990
15057
|
isConnection: false,
|
|
14991
15058
|
isList: false,
|
|
@@ -15002,10 +15069,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15002
15069
|
}
|
|
15003
15070
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
15004
15071
|
file(variables) {
|
|
15005
|
-
const info = extractIncludeInfo(
|
|
15072
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
15006
15073
|
this._includes.push({
|
|
15007
15074
|
fieldName: "file",
|
|
15008
|
-
fragmentDoc:
|
|
15075
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
15009
15076
|
variables,
|
|
15010
15077
|
isConnection: false,
|
|
15011
15078
|
isList: false,
|
|
@@ -15021,7 +15088,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15021
15088
|
}
|
|
15022
15089
|
/** Include message in this query (Smart Fetch — single HTTP request). */
|
|
15023
15090
|
message(variables, builder) {
|
|
15024
|
-
const info = extractIncludeInfo(
|
|
15091
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
15025
15092
|
let children;
|
|
15026
15093
|
if (builder) {
|
|
15027
15094
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -15030,7 +15097,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15030
15097
|
}
|
|
15031
15098
|
this._includes.push({
|
|
15032
15099
|
fieldName: "message",
|
|
15033
|
-
fragmentDoc:
|
|
15100
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageFragmentDoc,
|
|
15034
15101
|
variables,
|
|
15035
15102
|
isConnection: false,
|
|
15036
15103
|
isList: false,
|
|
@@ -15055,7 +15122,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15055
15122
|
}
|
|
15056
15123
|
async fetch(options) {
|
|
15057
15124
|
const variables = this._variables;
|
|
15058
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15125
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatDocument, "chat", this._includes, variables);
|
|
15059
15126
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
|
|
15060
15127
|
const data = response.chat;
|
|
15061
15128
|
const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15067,7 +15134,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15067
15134
|
watch(options) {
|
|
15068
15135
|
const variables = this._variables;
|
|
15069
15136
|
const includes = this._includes;
|
|
15070
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15137
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatDocument, "chat", includes, variables);
|
|
15071
15138
|
const raw = this._syncEngine.watch(
|
|
15072
15139
|
queryDoc,
|
|
15073
15140
|
mergedVars,
|
|
@@ -15097,7 +15164,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15097
15164
|
}
|
|
15098
15165
|
/** Include agents in this query (Smart Fetch — single HTTP request). */
|
|
15099
15166
|
agents(variables, builder) {
|
|
15100
|
-
const info = extractIncludeInfo(
|
|
15167
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
15101
15168
|
let children;
|
|
15102
15169
|
if (builder) {
|
|
15103
15170
|
const sub = new AgentSubBuilder();
|
|
@@ -15106,7 +15173,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15106
15173
|
}
|
|
15107
15174
|
this._includes.push({
|
|
15108
15175
|
fieldName: "agents",
|
|
15109
|
-
fragmentDoc:
|
|
15176
|
+
fragmentDoc: chunkEL37Q6V6_cjs.AgentConnectionFragmentDoc,
|
|
15110
15177
|
variables,
|
|
15111
15178
|
isConnection: true,
|
|
15112
15179
|
isList: false,
|
|
@@ -15124,7 +15191,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15124
15191
|
}
|
|
15125
15192
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15126
15193
|
artifacts(variables, builder) {
|
|
15127
|
-
const info = extractIncludeInfo(
|
|
15194
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
15128
15195
|
let children;
|
|
15129
15196
|
if (builder) {
|
|
15130
15197
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15133,7 +15200,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15133
15200
|
}
|
|
15134
15201
|
this._includes.push({
|
|
15135
15202
|
fieldName: "artifacts",
|
|
15136
|
-
fragmentDoc:
|
|
15203
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
|
|
15137
15204
|
variables,
|
|
15138
15205
|
isConnection: true,
|
|
15139
15206
|
isList: false,
|
|
@@ -15151,7 +15218,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15151
15218
|
}
|
|
15152
15219
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
15153
15220
|
insight(variables, builder) {
|
|
15154
|
-
const info = extractIncludeInfo(
|
|
15221
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
15155
15222
|
let children;
|
|
15156
15223
|
if (builder) {
|
|
15157
15224
|
const sub = new InsightSubBuilder();
|
|
@@ -15160,7 +15227,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15160
15227
|
}
|
|
15161
15228
|
this._includes.push({
|
|
15162
15229
|
fieldName: "insight",
|
|
15163
|
-
fragmentDoc:
|
|
15230
|
+
fragmentDoc: chunkEL37Q6V6_cjs.InsightFragmentDoc,
|
|
15164
15231
|
variables,
|
|
15165
15232
|
isConnection: false,
|
|
15166
15233
|
isList: false,
|
|
@@ -15177,7 +15244,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15177
15244
|
}
|
|
15178
15245
|
/** Include messages in this query (Smart Fetch — single HTTP request). */
|
|
15179
15246
|
messages(variables, builder) {
|
|
15180
|
-
const info = extractIncludeInfo(
|
|
15247
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
15181
15248
|
let children;
|
|
15182
15249
|
if (builder) {
|
|
15183
15250
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -15186,7 +15253,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15186
15253
|
}
|
|
15187
15254
|
this._includes.push({
|
|
15188
15255
|
fieldName: "messages",
|
|
15189
|
-
fragmentDoc:
|
|
15256
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageConnectionFragmentDoc,
|
|
15190
15257
|
variables,
|
|
15191
15258
|
isConnection: true,
|
|
15192
15259
|
isList: false,
|
|
@@ -15211,18 +15278,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
15211
15278
|
}
|
|
15212
15279
|
async fetch(options) {
|
|
15213
15280
|
const variables = this._variables;
|
|
15214
|
-
const response = await this._syncEngine.query(
|
|
15281
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_AgentsDocument, variables, "chat");
|
|
15215
15282
|
const data = response.chat?.agents;
|
|
15216
15283
|
return new AgentConnection(this._request, (conn, opts) => new _Chat_AgentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
15217
15284
|
}
|
|
15218
15285
|
watch(options) {
|
|
15219
15286
|
const variables = this._variables;
|
|
15220
15287
|
const raw = this._syncEngine.watch(
|
|
15221
|
-
|
|
15288
|
+
chunkEL37Q6V6_cjs.Chat_AgentsDocument,
|
|
15222
15289
|
variables,
|
|
15223
15290
|
"chat",
|
|
15224
15291
|
async (db) => {
|
|
15225
|
-
const qr = await db._queryResults.get(buildQueryKey("chat", variables,
|
|
15292
|
+
const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkEL37Q6V6_cjs.Chat_AgentsDocument));
|
|
15226
15293
|
const nodes = qr ? await db.table("agents").bulkGet(qr.entityIds) : [];
|
|
15227
15294
|
return { chat: { agents: { __typename: "AgentConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
15228
15295
|
}
|
|
@@ -15241,18 +15308,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk342BFYZZ_cjs.R
|
|
|
15241
15308
|
}
|
|
15242
15309
|
async fetch(options) {
|
|
15243
15310
|
const variables = this._variables;
|
|
15244
|
-
const response = await this._syncEngine.query(
|
|
15311
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, variables, "chat");
|
|
15245
15312
|
const data = response.chat?.artifacts;
|
|
15246
15313
|
return new ArtifactConnection(this._request, (conn, opts) => new _Chat_ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
15247
15314
|
}
|
|
15248
15315
|
watch(options) {
|
|
15249
15316
|
const variables = this._variables;
|
|
15250
15317
|
const raw = this._syncEngine.watch(
|
|
15251
|
-
|
|
15318
|
+
chunkEL37Q6V6_cjs.Chat_ArtifactsDocument,
|
|
15252
15319
|
variables,
|
|
15253
15320
|
"chat",
|
|
15254
15321
|
async (db) => {
|
|
15255
|
-
const qr = await db._queryResults.get(buildQueryKey("chat", variables,
|
|
15322
|
+
const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkEL37Q6V6_cjs.Chat_ArtifactsDocument));
|
|
15256
15323
|
const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
|
|
15257
15324
|
return { chat: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
15258
15325
|
}
|
|
@@ -15271,14 +15338,14 @@ var Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15271
15338
|
}
|
|
15272
15339
|
async fetch(options) {
|
|
15273
15340
|
const variables = this._variables;
|
|
15274
|
-
const response = await this._syncEngine.query(
|
|
15341
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_InsightDocument, variables, "chat");
|
|
15275
15342
|
const data = response.chat?.insight;
|
|
15276
15343
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15277
15344
|
}
|
|
15278
15345
|
watch(options) {
|
|
15279
15346
|
const variables = this._variables;
|
|
15280
15347
|
const raw = this._syncEngine.watch(
|
|
15281
|
-
|
|
15348
|
+
chunkEL37Q6V6_cjs.Chat_InsightDocument,
|
|
15282
15349
|
variables,
|
|
15283
15350
|
"chat",
|
|
15284
15351
|
async (db) => {
|
|
@@ -15300,7 +15367,7 @@ var Chat_Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15300
15367
|
this._variables = variables;
|
|
15301
15368
|
}
|
|
15302
15369
|
async fetch(options) {
|
|
15303
|
-
const response = await this._syncEngine.query(
|
|
15370
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
|
|
15304
15371
|
const data = response.chat?.insight?.reportMembers;
|
|
15305
15372
|
if (!Array.isArray(data)) return [];
|
|
15306
15373
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -15314,14 +15381,14 @@ var Chat_Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15314
15381
|
}
|
|
15315
15382
|
async fetch(options) {
|
|
15316
15383
|
const variables = this._variables;
|
|
15317
|
-
const response = await this._syncEngine.query(
|
|
15384
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
|
|
15318
15385
|
const data = response.chat?.insight?.thumbnailFile;
|
|
15319
15386
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15320
15387
|
}
|
|
15321
15388
|
watch(options) {
|
|
15322
15389
|
const variables = this._variables;
|
|
15323
15390
|
const raw = this._syncEngine.watch(
|
|
15324
|
-
|
|
15391
|
+
chunkEL37Q6V6_cjs.Chat_Insight_ThumbnailFileDocument,
|
|
15325
15392
|
variables,
|
|
15326
15393
|
"chat",
|
|
15327
15394
|
async (db) => {
|
|
@@ -15344,18 +15411,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk342BFYZZ_cjs.Req
|
|
|
15344
15411
|
}
|
|
15345
15412
|
async fetch(options) {
|
|
15346
15413
|
const variables = this._variables;
|
|
15347
|
-
const response = await this._syncEngine.query(
|
|
15414
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_MessagesDocument, variables, "chat");
|
|
15348
15415
|
const data = response.chat?.messages;
|
|
15349
15416
|
return new ChatMessageConnection(this._request, (conn, opts) => new _Chat_MessagesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
15350
15417
|
}
|
|
15351
15418
|
watch(options) {
|
|
15352
15419
|
const variables = this._variables;
|
|
15353
15420
|
const raw = this._syncEngine.watch(
|
|
15354
|
-
|
|
15421
|
+
chunkEL37Q6V6_cjs.Chat_MessagesDocument,
|
|
15355
15422
|
variables,
|
|
15356
15423
|
"chat",
|
|
15357
15424
|
async (db) => {
|
|
15358
|
-
const qr = await db._queryResults.get(buildQueryKey("chat", variables,
|
|
15425
|
+
const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkEL37Q6V6_cjs.Chat_MessagesDocument));
|
|
15359
15426
|
const nodes = qr ? await db.table("chatMessages").bulkGet(qr.entityIds) : [];
|
|
15360
15427
|
return { chat: { messages: { __typename: "ChatMessageConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
15361
15428
|
}
|
|
@@ -15375,7 +15442,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15375
15442
|
}
|
|
15376
15443
|
async fetch(options) {
|
|
15377
15444
|
const variables = this._variables;
|
|
15378
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15445
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
|
|
15379
15446
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
|
|
15380
15447
|
const data = response.chatMessage;
|
|
15381
15448
|
const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15387,7 +15454,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15387
15454
|
watch(options) {
|
|
15388
15455
|
const variables = this._variables;
|
|
15389
15456
|
const includes = this._includes;
|
|
15390
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15457
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessageDocument, "chatMessage", includes, variables);
|
|
15391
15458
|
const raw = this._syncEngine.watch(
|
|
15392
15459
|
queryDoc,
|
|
15393
15460
|
mergedVars,
|
|
@@ -15417,7 +15484,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15417
15484
|
}
|
|
15418
15485
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15419
15486
|
artifacts(variables, builder) {
|
|
15420
|
-
const info = extractIncludeInfo(
|
|
15487
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
15421
15488
|
let children;
|
|
15422
15489
|
if (builder) {
|
|
15423
15490
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15426,7 +15493,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15426
15493
|
}
|
|
15427
15494
|
this._includes.push({
|
|
15428
15495
|
fieldName: "artifacts",
|
|
15429
|
-
fragmentDoc:
|
|
15496
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
|
|
15430
15497
|
variables,
|
|
15431
15498
|
isConnection: true,
|
|
15432
15499
|
isList: false,
|
|
@@ -15444,7 +15511,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15444
15511
|
}
|
|
15445
15512
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15446
15513
|
chat(variables, builder) {
|
|
15447
|
-
const info = extractIncludeInfo(
|
|
15514
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
15448
15515
|
let children;
|
|
15449
15516
|
if (builder) {
|
|
15450
15517
|
const sub = new ChatSubBuilder();
|
|
@@ -15453,7 +15520,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15453
15520
|
}
|
|
15454
15521
|
this._includes.push({
|
|
15455
15522
|
fieldName: "chat",
|
|
15456
|
-
fragmentDoc:
|
|
15523
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
15457
15524
|
variables,
|
|
15458
15525
|
isConnection: false,
|
|
15459
15526
|
isList: false,
|
|
@@ -15470,10 +15537,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15470
15537
|
}
|
|
15471
15538
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
15472
15539
|
contents(variables) {
|
|
15473
|
-
const info = extractIncludeInfo(
|
|
15540
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
15474
15541
|
this._includes.push({
|
|
15475
15542
|
fieldName: "contents",
|
|
15476
|
-
fragmentDoc:
|
|
15543
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ContentBlockFragmentDoc,
|
|
15477
15544
|
variables,
|
|
15478
15545
|
isConnection: false,
|
|
15479
15546
|
isList: true,
|
|
@@ -15489,10 +15556,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15489
15556
|
}
|
|
15490
15557
|
/** Include feedback in this query (Smart Fetch — single HTTP request). */
|
|
15491
15558
|
feedback(variables) {
|
|
15492
|
-
const info = extractIncludeInfo(
|
|
15559
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
15493
15560
|
this._includes.push({
|
|
15494
15561
|
fieldName: "feedback",
|
|
15495
|
-
fragmentDoc:
|
|
15562
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedbackFragmentDoc,
|
|
15496
15563
|
variables,
|
|
15497
15564
|
isConnection: false,
|
|
15498
15565
|
isList: false,
|
|
@@ -15515,18 +15582,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
|
|
|
15515
15582
|
}
|
|
15516
15583
|
async fetch(options) {
|
|
15517
15584
|
const variables = this._variables;
|
|
15518
|
-
const response = await this._syncEngine.query(
|
|
15585
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
|
|
15519
15586
|
const data = response.chatMessage?.artifacts;
|
|
15520
15587
|
return new ArtifactConnection(this._request, (conn, opts) => new _ChatMessage_ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
15521
15588
|
}
|
|
15522
15589
|
watch(options) {
|
|
15523
15590
|
const variables = this._variables;
|
|
15524
15591
|
const raw = this._syncEngine.watch(
|
|
15525
|
-
|
|
15592
|
+
chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument,
|
|
15526
15593
|
variables,
|
|
15527
15594
|
"chatMessage",
|
|
15528
15595
|
async (db) => {
|
|
15529
|
-
const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables,
|
|
15596
|
+
const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument));
|
|
15530
15597
|
const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
|
|
15531
15598
|
return { chatMessage: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
15532
15599
|
}
|
|
@@ -15545,14 +15612,14 @@ var ChatMessage_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15545
15612
|
}
|
|
15546
15613
|
async fetch(options) {
|
|
15547
15614
|
const variables = this._variables;
|
|
15548
|
-
const response = await this._syncEngine.query(
|
|
15615
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
|
|
15549
15616
|
const data = response.chatMessage?.chat;
|
|
15550
15617
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15551
15618
|
}
|
|
15552
15619
|
watch(options) {
|
|
15553
15620
|
const variables = this._variables;
|
|
15554
15621
|
const raw = this._syncEngine.watch(
|
|
15555
|
-
|
|
15622
|
+
chunkEL37Q6V6_cjs.ChatMessage_ChatDocument,
|
|
15556
15623
|
variables,
|
|
15557
15624
|
"chatMessage",
|
|
15558
15625
|
async (db) => {
|
|
@@ -15575,14 +15642,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15575
15642
|
}
|
|
15576
15643
|
async fetch(options) {
|
|
15577
15644
|
const variables = this._variables;
|
|
15578
|
-
const response = await this._syncEngine.query(
|
|
15645
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
|
|
15579
15646
|
const data = response.chatMessage?.chat?.insight;
|
|
15580
15647
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15581
15648
|
}
|
|
15582
15649
|
watch(options) {
|
|
15583
15650
|
const variables = this._variables;
|
|
15584
15651
|
const raw = this._syncEngine.watch(
|
|
15585
|
-
|
|
15652
|
+
chunkEL37Q6V6_cjs.ChatMessage_Chat_InsightDocument,
|
|
15586
15653
|
variables,
|
|
15587
15654
|
"chatMessage",
|
|
15588
15655
|
async (db) => {
|
|
@@ -15604,7 +15671,7 @@ var ChatMessage_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15604
15671
|
this._variables = variables;
|
|
15605
15672
|
}
|
|
15606
15673
|
async fetch(options) {
|
|
15607
|
-
const response = await this._syncEngine.query(
|
|
15674
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
|
|
15608
15675
|
const data = response.chatMessage?.contents;
|
|
15609
15676
|
if (!Array.isArray(data)) return [];
|
|
15610
15677
|
return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -15618,14 +15685,14 @@ var ChatMessage_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15618
15685
|
}
|
|
15619
15686
|
async fetch(options) {
|
|
15620
15687
|
const variables = this._variables;
|
|
15621
|
-
const response = await this._syncEngine.query(
|
|
15688
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
|
|
15622
15689
|
const data = response.chatMessage?.feedback;
|
|
15623
15690
|
return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15624
15691
|
}
|
|
15625
15692
|
watch(options) {
|
|
15626
15693
|
const variables = this._variables;
|
|
15627
15694
|
const raw = this._syncEngine.watch(
|
|
15628
|
-
|
|
15695
|
+
chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument,
|
|
15629
15696
|
variables,
|
|
15630
15697
|
"chatMessage",
|
|
15631
15698
|
async (db) => {
|
|
@@ -15649,7 +15716,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15649
15716
|
}
|
|
15650
15717
|
async fetch(options) {
|
|
15651
15718
|
const variables = this._variables;
|
|
15652
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15719
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
|
|
15653
15720
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
|
|
15654
15721
|
const data = response.chatMessages;
|
|
15655
15722
|
const connection = new ChatMessageConnection(this._request, (conn, opts) => new _ChatMessagesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -15666,7 +15733,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15666
15733
|
const subscriptionId = crypto.randomUUID();
|
|
15667
15734
|
const includes = this._includes;
|
|
15668
15735
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
15669
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15736
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
|
|
15670
15737
|
const raw = this._syncEngine.watch(
|
|
15671
15738
|
queryDoc,
|
|
15672
15739
|
mergedVars,
|
|
@@ -15701,7 +15768,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15701
15768
|
}
|
|
15702
15769
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15703
15770
|
artifacts(variables, builder) {
|
|
15704
|
-
const info = extractIncludeInfo(
|
|
15771
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
15705
15772
|
let children;
|
|
15706
15773
|
if (builder) {
|
|
15707
15774
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15710,7 +15777,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15710
15777
|
}
|
|
15711
15778
|
this._includes.push({
|
|
15712
15779
|
fieldName: "artifacts",
|
|
15713
|
-
fragmentDoc:
|
|
15780
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
|
|
15714
15781
|
variables,
|
|
15715
15782
|
isConnection: true,
|
|
15716
15783
|
isList: false,
|
|
@@ -15728,7 +15795,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15728
15795
|
}
|
|
15729
15796
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15730
15797
|
chat(variables, builder) {
|
|
15731
|
-
const info = extractIncludeInfo(
|
|
15798
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
15732
15799
|
let children;
|
|
15733
15800
|
if (builder) {
|
|
15734
15801
|
const sub = new ChatSubBuilder();
|
|
@@ -15737,7 +15804,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15737
15804
|
}
|
|
15738
15805
|
this._includes.push({
|
|
15739
15806
|
fieldName: "chat",
|
|
15740
|
-
fragmentDoc:
|
|
15807
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
15741
15808
|
variables,
|
|
15742
15809
|
isConnection: false,
|
|
15743
15810
|
isList: false,
|
|
@@ -15754,10 +15821,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15754
15821
|
}
|
|
15755
15822
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
15756
15823
|
contents(variables) {
|
|
15757
|
-
const info = extractIncludeInfo(
|
|
15824
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
15758
15825
|
this._includes.push({
|
|
15759
15826
|
fieldName: "contents",
|
|
15760
|
-
fragmentDoc:
|
|
15827
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ContentBlockFragmentDoc,
|
|
15761
15828
|
variables,
|
|
15762
15829
|
isConnection: false,
|
|
15763
15830
|
isList: true,
|
|
@@ -15773,10 +15840,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15773
15840
|
}
|
|
15774
15841
|
/** Include feedback in this query (Smart Fetch — single HTTP request). */
|
|
15775
15842
|
feedback(variables) {
|
|
15776
|
-
const info = extractIncludeInfo(
|
|
15843
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
15777
15844
|
this._includes.push({
|
|
15778
15845
|
fieldName: "feedback",
|
|
15779
|
-
fragmentDoc:
|
|
15846
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedbackFragmentDoc,
|
|
15780
15847
|
variables,
|
|
15781
15848
|
isConnection: false,
|
|
15782
15849
|
isList: false,
|
|
@@ -15800,7 +15867,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15800
15867
|
}
|
|
15801
15868
|
async fetch(options) {
|
|
15802
15869
|
const variables = this._variables;
|
|
15803
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15870
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatsDocument, "chats", this._includes, variables, true);
|
|
15804
15871
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
|
|
15805
15872
|
const data = response.chats;
|
|
15806
15873
|
const connection = new ChatConnection(this._request, (conn, opts) => new _ChatsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -15817,7 +15884,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15817
15884
|
const subscriptionId = crypto.randomUUID();
|
|
15818
15885
|
const includes = this._includes;
|
|
15819
15886
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
15820
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15887
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatsDocument, "chats", includes, variables, true);
|
|
15821
15888
|
const raw = this._syncEngine.watch(
|
|
15822
15889
|
queryDoc,
|
|
15823
15890
|
mergedVars,
|
|
@@ -15852,7 +15919,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15852
15919
|
}
|
|
15853
15920
|
/** Include agents in this query (Smart Fetch — single HTTP request). */
|
|
15854
15921
|
agents(variables, builder) {
|
|
15855
|
-
const info = extractIncludeInfo(
|
|
15922
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
15856
15923
|
let children;
|
|
15857
15924
|
if (builder) {
|
|
15858
15925
|
const sub = new AgentSubBuilder();
|
|
@@ -15861,7 +15928,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15861
15928
|
}
|
|
15862
15929
|
this._includes.push({
|
|
15863
15930
|
fieldName: "agents",
|
|
15864
|
-
fragmentDoc:
|
|
15931
|
+
fragmentDoc: chunkEL37Q6V6_cjs.AgentConnectionFragmentDoc,
|
|
15865
15932
|
variables,
|
|
15866
15933
|
isConnection: true,
|
|
15867
15934
|
isList: false,
|
|
@@ -15879,7 +15946,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15879
15946
|
}
|
|
15880
15947
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15881
15948
|
artifacts(variables, builder) {
|
|
15882
|
-
const info = extractIncludeInfo(
|
|
15949
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
15883
15950
|
let children;
|
|
15884
15951
|
if (builder) {
|
|
15885
15952
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15888,7 +15955,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15888
15955
|
}
|
|
15889
15956
|
this._includes.push({
|
|
15890
15957
|
fieldName: "artifacts",
|
|
15891
|
-
fragmentDoc:
|
|
15958
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
|
|
15892
15959
|
variables,
|
|
15893
15960
|
isConnection: true,
|
|
15894
15961
|
isList: false,
|
|
@@ -15906,7 +15973,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15906
15973
|
}
|
|
15907
15974
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
15908
15975
|
insight(variables, builder) {
|
|
15909
|
-
const info = extractIncludeInfo(
|
|
15976
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
15910
15977
|
let children;
|
|
15911
15978
|
if (builder) {
|
|
15912
15979
|
const sub = new InsightSubBuilder();
|
|
@@ -15915,7 +15982,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15915
15982
|
}
|
|
15916
15983
|
this._includes.push({
|
|
15917
15984
|
fieldName: "insight",
|
|
15918
|
-
fragmentDoc:
|
|
15985
|
+
fragmentDoc: chunkEL37Q6V6_cjs.InsightFragmentDoc,
|
|
15919
15986
|
variables,
|
|
15920
15987
|
isConnection: false,
|
|
15921
15988
|
isList: false,
|
|
@@ -15932,7 +15999,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15932
15999
|
}
|
|
15933
16000
|
/** Include messages in this query (Smart Fetch — single HTTP request). */
|
|
15934
16001
|
messages(variables, builder) {
|
|
15935
|
-
const info = extractIncludeInfo(
|
|
16002
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
15936
16003
|
let children;
|
|
15937
16004
|
if (builder) {
|
|
15938
16005
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -15941,7 +16008,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15941
16008
|
}
|
|
15942
16009
|
this._includes.push({
|
|
15943
16010
|
fieldName: "messages",
|
|
15944
|
-
fragmentDoc:
|
|
16011
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageConnectionFragmentDoc,
|
|
15945
16012
|
variables,
|
|
15946
16013
|
isConnection: true,
|
|
15947
16014
|
isList: false,
|
|
@@ -15967,7 +16034,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15967
16034
|
}
|
|
15968
16035
|
async fetch(options) {
|
|
15969
16036
|
const variables = this._variables;
|
|
15970
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16037
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseDocument, "database", this._includes, variables);
|
|
15971
16038
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
|
|
15972
16039
|
const data = response.database;
|
|
15973
16040
|
const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15979,7 +16046,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15979
16046
|
watch(options) {
|
|
15980
16047
|
const variables = this._variables;
|
|
15981
16048
|
const includes = this._includes;
|
|
15982
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16049
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseDocument, "database", includes, variables);
|
|
15983
16050
|
const raw = this._syncEngine.watch(
|
|
15984
16051
|
queryDoc,
|
|
15985
16052
|
mergedVars,
|
|
@@ -16009,10 +16076,10 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16009
16076
|
}
|
|
16010
16077
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16011
16078
|
engine(variables) {
|
|
16012
|
-
const info = extractIncludeInfo(
|
|
16079
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
16013
16080
|
this._includes.push({
|
|
16014
16081
|
fieldName: "engine",
|
|
16015
|
-
fragmentDoc:
|
|
16082
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
|
|
16016
16083
|
variables,
|
|
16017
16084
|
isConnection: false,
|
|
16018
16085
|
isList: false,
|
|
@@ -16028,7 +16095,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16028
16095
|
}
|
|
16029
16096
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16030
16097
|
tables(variables, builder) {
|
|
16031
|
-
const info = extractIncludeInfo(
|
|
16098
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
16032
16099
|
let children;
|
|
16033
16100
|
if (builder) {
|
|
16034
16101
|
const sub = new TableSubBuilder();
|
|
@@ -16037,7 +16104,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16037
16104
|
}
|
|
16038
16105
|
this._includes.push({
|
|
16039
16106
|
fieldName: "tables",
|
|
16040
|
-
fragmentDoc:
|
|
16107
|
+
fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
|
|
16041
16108
|
variables,
|
|
16042
16109
|
isConnection: true,
|
|
16043
16110
|
isList: false,
|
|
@@ -16062,14 +16129,14 @@ var Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16062
16129
|
}
|
|
16063
16130
|
async fetch(options) {
|
|
16064
16131
|
const variables = this._variables;
|
|
16065
|
-
const response = await this._syncEngine.query(
|
|
16132
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Database_EngineDocument, variables, "database");
|
|
16066
16133
|
const data = response.database?.engine;
|
|
16067
16134
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16068
16135
|
}
|
|
16069
16136
|
watch(options) {
|
|
16070
16137
|
const variables = this._variables;
|
|
16071
16138
|
const raw = this._syncEngine.watch(
|
|
16072
|
-
|
|
16139
|
+
chunkEL37Q6V6_cjs.Database_EngineDocument,
|
|
16073
16140
|
variables,
|
|
16074
16141
|
"database",
|
|
16075
16142
|
async (db) => {
|
|
@@ -16092,14 +16159,14 @@ var Database_Engine_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16092
16159
|
}
|
|
16093
16160
|
async fetch(options) {
|
|
16094
16161
|
const variables = this._variables;
|
|
16095
|
-
const response = await this._syncEngine.query(
|
|
16162
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Database_Engine_CatalogDocument, variables, "database");
|
|
16096
16163
|
const data = response.database?.engine?.catalog;
|
|
16097
16164
|
return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16098
16165
|
}
|
|
16099
16166
|
watch(options) {
|
|
16100
16167
|
const variables = this._variables;
|
|
16101
16168
|
const raw = this._syncEngine.watch(
|
|
16102
|
-
|
|
16169
|
+
chunkEL37Q6V6_cjs.Database_Engine_CatalogDocument,
|
|
16103
16170
|
variables,
|
|
16104
16171
|
"database",
|
|
16105
16172
|
async (db) => {
|
|
@@ -16122,18 +16189,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk342BFYZZ_cjs
|
|
|
16122
16189
|
}
|
|
16123
16190
|
async fetch(options) {
|
|
16124
16191
|
const variables = this._variables;
|
|
16125
|
-
const response = await this._syncEngine.query(
|
|
16192
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Database_TablesDocument, variables, "database");
|
|
16126
16193
|
const data = response.database?.tables;
|
|
16127
16194
|
return new TableConnection(this._request, (conn, opts) => new _Database_TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
16128
16195
|
}
|
|
16129
16196
|
watch(options) {
|
|
16130
16197
|
const variables = this._variables;
|
|
16131
16198
|
const raw = this._syncEngine.watch(
|
|
16132
|
-
|
|
16199
|
+
chunkEL37Q6V6_cjs.Database_TablesDocument,
|
|
16133
16200
|
variables,
|
|
16134
16201
|
"database",
|
|
16135
16202
|
async (db) => {
|
|
16136
|
-
const qr = await db._queryResults.get(buildQueryKey("database", variables,
|
|
16203
|
+
const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkEL37Q6V6_cjs.Database_TablesDocument));
|
|
16137
16204
|
const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
|
|
16138
16205
|
return { database: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
16139
16206
|
}
|
|
@@ -16153,7 +16220,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16153
16220
|
}
|
|
16154
16221
|
async fetch(options) {
|
|
16155
16222
|
const variables = this._variables;
|
|
16156
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16223
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
|
|
16157
16224
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
|
|
16158
16225
|
const data = response.databaseCatalog;
|
|
16159
16226
|
const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16165,7 +16232,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16165
16232
|
watch(options) {
|
|
16166
16233
|
const variables = this._variables;
|
|
16167
16234
|
const includes = this._includes;
|
|
16168
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16235
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
|
|
16169
16236
|
const raw = this._syncEngine.watch(
|
|
16170
16237
|
queryDoc,
|
|
16171
16238
|
mergedVars,
|
|
@@ -16195,10 +16262,10 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16195
16262
|
}
|
|
16196
16263
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16197
16264
|
engine(variables) {
|
|
16198
|
-
const info = extractIncludeInfo(
|
|
16265
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
16199
16266
|
this._includes.push({
|
|
16200
16267
|
fieldName: "engine",
|
|
16201
|
-
fragmentDoc:
|
|
16268
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
|
|
16202
16269
|
variables,
|
|
16203
16270
|
isConnection: false,
|
|
16204
16271
|
isList: false,
|
|
@@ -16221,14 +16288,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16221
16288
|
}
|
|
16222
16289
|
async fetch(options) {
|
|
16223
16290
|
const variables = this._variables;
|
|
16224
|
-
const response = await this._syncEngine.query(
|
|
16291
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
|
|
16225
16292
|
const data = response.databaseCatalog?.engine;
|
|
16226
16293
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16227
16294
|
}
|
|
16228
16295
|
watch(options) {
|
|
16229
16296
|
const variables = this._variables;
|
|
16230
16297
|
const raw = this._syncEngine.watch(
|
|
16231
|
-
|
|
16298
|
+
chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument,
|
|
16232
16299
|
variables,
|
|
16233
16300
|
"databaseCatalog",
|
|
16234
16301
|
async (db) => {
|
|
@@ -16252,7 +16319,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16252
16319
|
}
|
|
16253
16320
|
async fetch(options) {
|
|
16254
16321
|
const variables = this._variables;
|
|
16255
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16322
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
|
|
16256
16323
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
|
|
16257
16324
|
const data = response.databaseCatalogs;
|
|
16258
16325
|
const connection = new DatabaseCatalogConnection(this._request, (conn, opts) => new _DatabaseCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -16269,7 +16336,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16269
16336
|
const subscriptionId = crypto.randomUUID();
|
|
16270
16337
|
const includes = this._includes;
|
|
16271
16338
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
16272
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16339
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
|
|
16273
16340
|
const raw = this._syncEngine.watch(
|
|
16274
16341
|
queryDoc,
|
|
16275
16342
|
mergedVars,
|
|
@@ -16304,10 +16371,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16304
16371
|
}
|
|
16305
16372
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16306
16373
|
engine(variables) {
|
|
16307
|
-
const info = extractIncludeInfo(
|
|
16374
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
16308
16375
|
this._includes.push({
|
|
16309
16376
|
fieldName: "engine",
|
|
16310
|
-
fragmentDoc:
|
|
16377
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
|
|
16311
16378
|
variables,
|
|
16312
16379
|
isConnection: false,
|
|
16313
16380
|
isList: false,
|
|
@@ -16324,7 +16391,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16324
16391
|
};
|
|
16325
16392
|
var DatabaseSchemaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
16326
16393
|
async fetch(variables) {
|
|
16327
|
-
const response = await this._request(
|
|
16394
|
+
const response = await this._request(chunkEL37Q6V6_cjs.DatabaseSchemaDocument, variables);
|
|
16328
16395
|
return response.databaseSchema;
|
|
16329
16396
|
}
|
|
16330
16397
|
};
|
|
@@ -16337,7 +16404,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16337
16404
|
}
|
|
16338
16405
|
async fetch(options) {
|
|
16339
16406
|
const variables = this._variables;
|
|
16340
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16407
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabasesDocument, "databases", this._includes, variables, true);
|
|
16341
16408
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
|
|
16342
16409
|
const data = response.databases;
|
|
16343
16410
|
const connection = new DatabaseConnection(this._request, (conn, opts) => new _DatabasesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -16354,7 +16421,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16354
16421
|
const subscriptionId = crypto.randomUUID();
|
|
16355
16422
|
const includes = this._includes;
|
|
16356
16423
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
16357
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16424
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabasesDocument, "databases", includes, variables, true);
|
|
16358
16425
|
const raw = this._syncEngine.watch(
|
|
16359
16426
|
queryDoc,
|
|
16360
16427
|
mergedVars,
|
|
@@ -16389,10 +16456,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16389
16456
|
}
|
|
16390
16457
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16391
16458
|
engine(variables) {
|
|
16392
|
-
const info = extractIncludeInfo(
|
|
16459
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
16393
16460
|
this._includes.push({
|
|
16394
16461
|
fieldName: "engine",
|
|
16395
|
-
fragmentDoc:
|
|
16462
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
|
|
16396
16463
|
variables,
|
|
16397
16464
|
isConnection: false,
|
|
16398
16465
|
isList: false,
|
|
@@ -16408,7 +16475,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16408
16475
|
}
|
|
16409
16476
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16410
16477
|
tables(variables, builder) {
|
|
16411
|
-
const info = extractIncludeInfo(
|
|
16478
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
16412
16479
|
let children;
|
|
16413
16480
|
if (builder) {
|
|
16414
16481
|
const sub = new TableSubBuilder();
|
|
@@ -16417,7 +16484,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16417
16484
|
}
|
|
16418
16485
|
this._includes.push({
|
|
16419
16486
|
fieldName: "tables",
|
|
16420
|
-
fragmentDoc:
|
|
16487
|
+
fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
|
|
16421
16488
|
variables,
|
|
16422
16489
|
isConnection: true,
|
|
16423
16490
|
isList: false,
|
|
@@ -16443,7 +16510,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16443
16510
|
}
|
|
16444
16511
|
async fetch(options) {
|
|
16445
16512
|
const variables = this._variables;
|
|
16446
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16513
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentDocument, "document", this._includes, variables);
|
|
16447
16514
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
|
|
16448
16515
|
const data = response.document;
|
|
16449
16516
|
const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16455,7 +16522,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16455
16522
|
watch(options) {
|
|
16456
16523
|
const variables = this._variables;
|
|
16457
16524
|
const includes = this._includes;
|
|
16458
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16525
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentDocument, "document", includes, variables);
|
|
16459
16526
|
const raw = this._syncEngine.watch(
|
|
16460
16527
|
queryDoc,
|
|
16461
16528
|
mergedVars,
|
|
@@ -16485,10 +16552,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16485
16552
|
}
|
|
16486
16553
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
16487
16554
|
contents(variables) {
|
|
16488
|
-
const info = extractIncludeInfo(
|
|
16555
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
16489
16556
|
this._includes.push({
|
|
16490
16557
|
fieldName: "contents",
|
|
16491
|
-
fragmentDoc:
|
|
16558
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentContentFragmentDoc,
|
|
16492
16559
|
variables,
|
|
16493
16560
|
isConnection: false,
|
|
16494
16561
|
isList: true,
|
|
@@ -16504,10 +16571,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16504
16571
|
}
|
|
16505
16572
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
16506
16573
|
file(variables) {
|
|
16507
|
-
const info = extractIncludeInfo(
|
|
16574
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FileDocument, "file", ["id"]);
|
|
16508
16575
|
this._includes.push({
|
|
16509
16576
|
fieldName: "file",
|
|
16510
|
-
fragmentDoc:
|
|
16577
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
16511
16578
|
variables,
|
|
16512
16579
|
isConnection: false,
|
|
16513
16580
|
isList: false,
|
|
@@ -16523,10 +16590,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16523
16590
|
}
|
|
16524
16591
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
16525
16592
|
format(variables) {
|
|
16526
|
-
const info = extractIncludeInfo(
|
|
16593
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FormatDocument, "format", ["id"]);
|
|
16527
16594
|
this._includes.push({
|
|
16528
16595
|
fieldName: "format",
|
|
16529
|
-
fragmentDoc:
|
|
16596
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
|
|
16530
16597
|
variables,
|
|
16531
16598
|
isConnection: false,
|
|
16532
16599
|
isList: false,
|
|
@@ -16542,7 +16609,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16542
16609
|
}
|
|
16543
16610
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16544
16611
|
tables(variables, builder) {
|
|
16545
|
-
const info = extractIncludeInfo(
|
|
16612
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
16546
16613
|
let children;
|
|
16547
16614
|
if (builder) {
|
|
16548
16615
|
const sub = new TableSubBuilder();
|
|
@@ -16551,7 +16618,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16551
16618
|
}
|
|
16552
16619
|
this._includes.push({
|
|
16553
16620
|
fieldName: "tables",
|
|
16554
|
-
fragmentDoc:
|
|
16621
|
+
fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
|
|
16555
16622
|
variables,
|
|
16556
16623
|
isConnection: true,
|
|
16557
16624
|
isList: false,
|
|
@@ -16575,7 +16642,7 @@ var Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16575
16642
|
this._variables = variables;
|
|
16576
16643
|
}
|
|
16577
16644
|
async fetch(options) {
|
|
16578
|
-
const response = await this._syncEngine.query(
|
|
16645
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_ContentsDocument, this._variables, "document");
|
|
16579
16646
|
const data = response.document?.contents;
|
|
16580
16647
|
if (!Array.isArray(data)) return [];
|
|
16581
16648
|
return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -16589,14 +16656,14 @@ var Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16589
16656
|
}
|
|
16590
16657
|
async fetch(options) {
|
|
16591
16658
|
const variables = this._variables;
|
|
16592
|
-
const response = await this._syncEngine.query(
|
|
16659
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_FileDocument, variables, "document");
|
|
16593
16660
|
const data = response.document?.file;
|
|
16594
16661
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16595
16662
|
}
|
|
16596
16663
|
watch(options) {
|
|
16597
16664
|
const variables = this._variables;
|
|
16598
16665
|
const raw = this._syncEngine.watch(
|
|
16599
|
-
|
|
16666
|
+
chunkEL37Q6V6_cjs.Document_FileDocument,
|
|
16600
16667
|
variables,
|
|
16601
16668
|
"document",
|
|
16602
16669
|
async (db) => {
|
|
@@ -16619,14 +16686,14 @@ var Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16619
16686
|
}
|
|
16620
16687
|
async fetch(options) {
|
|
16621
16688
|
const variables = this._variables;
|
|
16622
|
-
const response = await this._syncEngine.query(
|
|
16689
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_FormatDocument, variables, "document");
|
|
16623
16690
|
const data = response.document?.format;
|
|
16624
16691
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16625
16692
|
}
|
|
16626
16693
|
watch(options) {
|
|
16627
16694
|
const variables = this._variables;
|
|
16628
16695
|
const raw = this._syncEngine.watch(
|
|
16629
|
-
|
|
16696
|
+
chunkEL37Q6V6_cjs.Document_FormatDocument,
|
|
16630
16697
|
variables,
|
|
16631
16698
|
"document",
|
|
16632
16699
|
async (db) => {
|
|
@@ -16649,14 +16716,14 @@ var Document_Format_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16649
16716
|
}
|
|
16650
16717
|
async fetch(options) {
|
|
16651
16718
|
const variables = this._variables;
|
|
16652
|
-
const response = await this._syncEngine.query(
|
|
16719
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_Format_CatalogDocument, variables, "document");
|
|
16653
16720
|
const data = response.document?.format?.catalog;
|
|
16654
16721
|
return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16655
16722
|
}
|
|
16656
16723
|
watch(options) {
|
|
16657
16724
|
const variables = this._variables;
|
|
16658
16725
|
const raw = this._syncEngine.watch(
|
|
16659
|
-
|
|
16726
|
+
chunkEL37Q6V6_cjs.Document_Format_CatalogDocument,
|
|
16660
16727
|
variables,
|
|
16661
16728
|
"document",
|
|
16662
16729
|
async (db) => {
|
|
@@ -16679,18 +16746,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk342BFYZZ_cjs
|
|
|
16679
16746
|
}
|
|
16680
16747
|
async fetch(options) {
|
|
16681
16748
|
const variables = this._variables;
|
|
16682
|
-
const response = await this._syncEngine.query(
|
|
16749
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_TablesDocument, variables, "document");
|
|
16683
16750
|
const data = response.document?.tables;
|
|
16684
16751
|
return new TableConnection(this._request, (conn, opts) => new _Document_TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
16685
16752
|
}
|
|
16686
16753
|
watch(options) {
|
|
16687
16754
|
const variables = this._variables;
|
|
16688
16755
|
const raw = this._syncEngine.watch(
|
|
16689
|
-
|
|
16756
|
+
chunkEL37Q6V6_cjs.Document_TablesDocument,
|
|
16690
16757
|
variables,
|
|
16691
16758
|
"document",
|
|
16692
16759
|
async (db) => {
|
|
16693
|
-
const qr = await db._queryResults.get(buildQueryKey("document", variables,
|
|
16760
|
+
const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkEL37Q6V6_cjs.Document_TablesDocument));
|
|
16694
16761
|
const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
|
|
16695
16762
|
return { document: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
16696
16763
|
}
|
|
@@ -16710,7 +16777,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16710
16777
|
}
|
|
16711
16778
|
async fetch(options) {
|
|
16712
16779
|
const variables = this._variables;
|
|
16713
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16780
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
|
|
16714
16781
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
|
|
16715
16782
|
const data = response.documentCatalog;
|
|
16716
16783
|
const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16722,7 +16789,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16722
16789
|
watch(options) {
|
|
16723
16790
|
const variables = this._variables;
|
|
16724
16791
|
const includes = this._includes;
|
|
16725
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16792
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
|
|
16726
16793
|
const raw = this._syncEngine.watch(
|
|
16727
16794
|
queryDoc,
|
|
16728
16795
|
mergedVars,
|
|
@@ -16752,10 +16819,10 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16752
16819
|
}
|
|
16753
16820
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
16754
16821
|
format(variables) {
|
|
16755
|
-
const info = extractIncludeInfo(
|
|
16822
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
16756
16823
|
this._includes.push({
|
|
16757
16824
|
fieldName: "format",
|
|
16758
|
-
fragmentDoc:
|
|
16825
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
|
|
16759
16826
|
variables,
|
|
16760
16827
|
isConnection: false,
|
|
16761
16828
|
isList: false,
|
|
@@ -16778,14 +16845,14 @@ var DocumentCatalog_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16778
16845
|
}
|
|
16779
16846
|
async fetch(options) {
|
|
16780
16847
|
const variables = this._variables;
|
|
16781
|
-
const response = await this._syncEngine.query(
|
|
16848
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
|
|
16782
16849
|
const data = response.documentCatalog?.format;
|
|
16783
16850
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16784
16851
|
}
|
|
16785
16852
|
watch(options) {
|
|
16786
16853
|
const variables = this._variables;
|
|
16787
16854
|
const raw = this._syncEngine.watch(
|
|
16788
|
-
|
|
16855
|
+
chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument,
|
|
16789
16856
|
variables,
|
|
16790
16857
|
"documentCatalog",
|
|
16791
16858
|
async (db) => {
|
|
@@ -16809,7 +16876,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16809
16876
|
}
|
|
16810
16877
|
async fetch(options) {
|
|
16811
16878
|
const variables = this._variables;
|
|
16812
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16879
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
|
|
16813
16880
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
|
|
16814
16881
|
const data = response.documentCatalogs;
|
|
16815
16882
|
const connection = new DocumentCatalogConnection(this._request, (conn, opts) => new _DocumentCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -16826,7 +16893,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16826
16893
|
const subscriptionId = crypto.randomUUID();
|
|
16827
16894
|
const includes = this._includes;
|
|
16828
16895
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
16829
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16896
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
|
|
16830
16897
|
const raw = this._syncEngine.watch(
|
|
16831
16898
|
queryDoc,
|
|
16832
16899
|
mergedVars,
|
|
@@ -16861,10 +16928,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16861
16928
|
}
|
|
16862
16929
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
16863
16930
|
format(variables) {
|
|
16864
|
-
const info = extractIncludeInfo(
|
|
16931
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
16865
16932
|
this._includes.push({
|
|
16866
16933
|
fieldName: "format",
|
|
16867
|
-
fragmentDoc:
|
|
16934
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
|
|
16868
16935
|
variables,
|
|
16869
16936
|
isConnection: false,
|
|
16870
16937
|
isList: false,
|
|
@@ -16888,7 +16955,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16888
16955
|
}
|
|
16889
16956
|
async fetch(options) {
|
|
16890
16957
|
const variables = this._variables;
|
|
16891
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16958
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentsDocument, "documents", this._includes, variables, true);
|
|
16892
16959
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
|
|
16893
16960
|
const data = response.documents;
|
|
16894
16961
|
const connection = new DocumentConnection(this._request, (conn, opts) => new _DocumentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -16905,7 +16972,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16905
16972
|
const subscriptionId = crypto.randomUUID();
|
|
16906
16973
|
const includes = this._includes;
|
|
16907
16974
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
16908
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16975
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentsDocument, "documents", includes, variables, true);
|
|
16909
16976
|
const raw = this._syncEngine.watch(
|
|
16910
16977
|
queryDoc,
|
|
16911
16978
|
mergedVars,
|
|
@@ -16940,10 +17007,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16940
17007
|
}
|
|
16941
17008
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
16942
17009
|
contents(variables) {
|
|
16943
|
-
const info = extractIncludeInfo(
|
|
17010
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
16944
17011
|
this._includes.push({
|
|
16945
17012
|
fieldName: "contents",
|
|
16946
|
-
fragmentDoc:
|
|
17013
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentContentFragmentDoc,
|
|
16947
17014
|
variables,
|
|
16948
17015
|
isConnection: false,
|
|
16949
17016
|
isList: true,
|
|
@@ -16959,10 +17026,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16959
17026
|
}
|
|
16960
17027
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
16961
17028
|
file(variables) {
|
|
16962
|
-
const info = extractIncludeInfo(
|
|
17029
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FileDocument, "file", ["id"]);
|
|
16963
17030
|
this._includes.push({
|
|
16964
17031
|
fieldName: "file",
|
|
16965
|
-
fragmentDoc:
|
|
17032
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
16966
17033
|
variables,
|
|
16967
17034
|
isConnection: false,
|
|
16968
17035
|
isList: false,
|
|
@@ -16978,10 +17045,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16978
17045
|
}
|
|
16979
17046
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
16980
17047
|
format(variables) {
|
|
16981
|
-
const info = extractIncludeInfo(
|
|
17048
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FormatDocument, "format", ["id"]);
|
|
16982
17049
|
this._includes.push({
|
|
16983
17050
|
fieldName: "format",
|
|
16984
|
-
fragmentDoc:
|
|
17051
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
|
|
16985
17052
|
variables,
|
|
16986
17053
|
isConnection: false,
|
|
16987
17054
|
isList: false,
|
|
@@ -16997,7 +17064,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16997
17064
|
}
|
|
16998
17065
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16999
17066
|
tables(variables, builder) {
|
|
17000
|
-
const info = extractIncludeInfo(
|
|
17067
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
17001
17068
|
let children;
|
|
17002
17069
|
if (builder) {
|
|
17003
17070
|
const sub = new TableSubBuilder();
|
|
@@ -17006,7 +17073,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17006
17073
|
}
|
|
17007
17074
|
this._includes.push({
|
|
17008
17075
|
fieldName: "tables",
|
|
17009
|
-
fragmentDoc:
|
|
17076
|
+
fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
|
|
17010
17077
|
variables,
|
|
17011
17078
|
isConnection: true,
|
|
17012
17079
|
isList: false,
|
|
@@ -17025,13 +17092,13 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17025
17092
|
};
|
|
17026
17093
|
var ExportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17027
17094
|
async fetch(variables) {
|
|
17028
|
-
const response = await this._request(
|
|
17095
|
+
const response = await this._request(chunkEL37Q6V6_cjs.ExportDocument, variables);
|
|
17029
17096
|
return response.export;
|
|
17030
17097
|
}
|
|
17031
17098
|
};
|
|
17032
17099
|
var ExportWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17033
17100
|
async fetch(variables) {
|
|
17034
|
-
const response = await this._request(
|
|
17101
|
+
const response = await this._request(chunkEL37Q6V6_cjs.ExportWithInsightIdDocument, variables);
|
|
17035
17102
|
return response.exportWithInsightId;
|
|
17036
17103
|
}
|
|
17037
17104
|
};
|
|
@@ -17044,7 +17111,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17044
17111
|
}
|
|
17045
17112
|
async fetch(options) {
|
|
17046
17113
|
const variables = this._variables;
|
|
17047
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17114
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemDocument, "feedItem", this._includes, variables);
|
|
17048
17115
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItem");
|
|
17049
17116
|
const data = response.feedItem;
|
|
17050
17117
|
if (!data) return void 0;
|
|
@@ -17057,7 +17124,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17057
17124
|
watch(options) {
|
|
17058
17125
|
const variables = this._variables;
|
|
17059
17126
|
const includes = this._includes;
|
|
17060
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17127
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemDocument, "feedItem", includes, variables);
|
|
17061
17128
|
const raw = this._syncEngine.watch(
|
|
17062
17129
|
queryDoc,
|
|
17063
17130
|
mergedVars,
|
|
@@ -17088,10 +17155,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17088
17155
|
}
|
|
17089
17156
|
/** Include action in this query (Smart Fetch — single HTTP request). */
|
|
17090
17157
|
action(variables) {
|
|
17091
|
-
const info = extractIncludeInfo(
|
|
17158
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
17092
17159
|
this._includes.push({
|
|
17093
17160
|
fieldName: "action",
|
|
17094
|
-
fragmentDoc:
|
|
17161
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedSendMessageActionFragmentDoc,
|
|
17095
17162
|
variables,
|
|
17096
17163
|
isConnection: false,
|
|
17097
17164
|
isList: false,
|
|
@@ -17107,10 +17174,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17107
17174
|
}
|
|
17108
17175
|
/** Include data in this query (Smart Fetch — single HTTP request). */
|
|
17109
17176
|
data(variables) {
|
|
17110
|
-
const info = extractIncludeInfo(
|
|
17177
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
17111
17178
|
this._includes.push({
|
|
17112
17179
|
fieldName: "data",
|
|
17113
|
-
fragmentDoc:
|
|
17180
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedArtifactDataFragmentDoc,
|
|
17114
17181
|
variables,
|
|
17115
17182
|
isConnection: false,
|
|
17116
17183
|
isList: true,
|
|
@@ -17133,14 +17200,14 @@ var FeedItem_ActionQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17133
17200
|
}
|
|
17134
17201
|
async fetch(options) {
|
|
17135
17202
|
const variables = this._variables;
|
|
17136
|
-
const response = await this._syncEngine.query(
|
|
17203
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, variables, "feedItem");
|
|
17137
17204
|
const data = response.feedItem?.action;
|
|
17138
17205
|
return data ? new FeedSendMessageAction(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17139
17206
|
}
|
|
17140
17207
|
watch(options) {
|
|
17141
17208
|
const variables = this._variables;
|
|
17142
17209
|
const raw = this._syncEngine.watch(
|
|
17143
|
-
|
|
17210
|
+
chunkEL37Q6V6_cjs.FeedItem_ActionDocument,
|
|
17144
17211
|
variables,
|
|
17145
17212
|
"feedItem",
|
|
17146
17213
|
async (db) => {
|
|
@@ -17162,7 +17229,7 @@ var FeedItem_DataQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17162
17229
|
this._variables = variables;
|
|
17163
17230
|
}
|
|
17164
17231
|
async fetch(options) {
|
|
17165
|
-
const response = await this._syncEngine.query(
|
|
17232
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.FeedItem_DataDocument, this._variables, "feedItem");
|
|
17166
17233
|
const data = response.feedItem?.data;
|
|
17167
17234
|
if (!Array.isArray(data)) return [];
|
|
17168
17235
|
return data.map((item) => new FeedArtifactData(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -17177,7 +17244,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17177
17244
|
}
|
|
17178
17245
|
async fetch(options) {
|
|
17179
17246
|
const variables = this._variables;
|
|
17180
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17247
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
|
|
17181
17248
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItems");
|
|
17182
17249
|
const data = response.feedItems;
|
|
17183
17250
|
const connection = new FeedConnection(this._request, (conn, opts) => new _FeedItemsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -17194,7 +17261,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17194
17261
|
const subscriptionId = crypto.randomUUID();
|
|
17195
17262
|
const includes = this._includes;
|
|
17196
17263
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
17197
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17264
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
|
|
17198
17265
|
const raw = this._syncEngine.watch(
|
|
17199
17266
|
queryDoc,
|
|
17200
17267
|
mergedVars,
|
|
@@ -17229,10 +17296,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17229
17296
|
}
|
|
17230
17297
|
/** Include action in this query (Smart Fetch — single HTTP request). */
|
|
17231
17298
|
action(variables) {
|
|
17232
|
-
const info = extractIncludeInfo(
|
|
17299
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
17233
17300
|
this._includes.push({
|
|
17234
17301
|
fieldName: "action",
|
|
17235
|
-
fragmentDoc:
|
|
17302
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedSendMessageActionFragmentDoc,
|
|
17236
17303
|
variables,
|
|
17237
17304
|
isConnection: false,
|
|
17238
17305
|
isList: false,
|
|
@@ -17248,10 +17315,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17248
17315
|
}
|
|
17249
17316
|
/** Include data in this query (Smart Fetch — single HTTP request). */
|
|
17250
17317
|
data(variables) {
|
|
17251
|
-
const info = extractIncludeInfo(
|
|
17318
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
17252
17319
|
this._includes.push({
|
|
17253
17320
|
fieldName: "data",
|
|
17254
|
-
fragmentDoc:
|
|
17321
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedArtifactDataFragmentDoc,
|
|
17255
17322
|
variables,
|
|
17256
17323
|
isConnection: false,
|
|
17257
17324
|
isList: true,
|
|
@@ -17268,7 +17335,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17268
17335
|
};
|
|
17269
17336
|
var FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17270
17337
|
async fetch(variables) {
|
|
17271
|
-
const response = await this._request(
|
|
17338
|
+
const response = await this._request(chunkEL37Q6V6_cjs.FileDocument, variables);
|
|
17272
17339
|
return response.file;
|
|
17273
17340
|
}
|
|
17274
17341
|
};
|
|
@@ -17281,7 +17348,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17281
17348
|
}
|
|
17282
17349
|
async fetch(options) {
|
|
17283
17350
|
const variables = this._variables;
|
|
17284
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17351
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
|
|
17285
17352
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
|
|
17286
17353
|
const data = response.fileMeta;
|
|
17287
17354
|
if (!data) return void 0;
|
|
@@ -17294,7 +17361,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17294
17361
|
watch(options) {
|
|
17295
17362
|
const variables = this._variables;
|
|
17296
17363
|
const includes = this._includes;
|
|
17297
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17364
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FileMetaDocument, "fileMeta", includes, variables);
|
|
17298
17365
|
const raw = this._syncEngine.watch(
|
|
17299
17366
|
queryDoc,
|
|
17300
17367
|
mergedVars,
|
|
@@ -17332,7 +17399,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17332
17399
|
this._variables = variables;
|
|
17333
17400
|
}
|
|
17334
17401
|
async fetch(options) {
|
|
17335
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17402
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
|
|
17336
17403
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
|
|
17337
17404
|
const data = response.fileUrls;
|
|
17338
17405
|
if (!Array.isArray(data)) return [];
|
|
@@ -17341,7 +17408,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17341
17408
|
};
|
|
17342
17409
|
var FindFitTierQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17343
17410
|
async fetch(variables) {
|
|
17344
|
-
const response = await this._request(
|
|
17411
|
+
const response = await this._request(chunkEL37Q6V6_cjs.FindFitTierDocument, variables);
|
|
17345
17412
|
return response.findFitTier ?? void 0;
|
|
17346
17413
|
}
|
|
17347
17414
|
};
|
|
@@ -17354,7 +17421,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17354
17421
|
}
|
|
17355
17422
|
async fetch(options) {
|
|
17356
17423
|
const variables = this._variables;
|
|
17357
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17424
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FolderDocument, "folder", this._includes, variables);
|
|
17358
17425
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
|
|
17359
17426
|
const data = response.folder;
|
|
17360
17427
|
const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17366,7 +17433,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17366
17433
|
watch(options) {
|
|
17367
17434
|
const variables = this._variables;
|
|
17368
17435
|
const includes = this._includes;
|
|
17369
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17436
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FolderDocument, "folder", includes, variables);
|
|
17370
17437
|
const raw = this._syncEngine.watch(
|
|
17371
17438
|
queryDoc,
|
|
17372
17439
|
mergedVars,
|
|
@@ -17404,7 +17471,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17404
17471
|
}
|
|
17405
17472
|
async fetch(options) {
|
|
17406
17473
|
const variables = this._variables;
|
|
17407
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17474
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FoldersDocument, "folders", this._includes, variables, true);
|
|
17408
17475
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
|
|
17409
17476
|
const data = response.folders;
|
|
17410
17477
|
const connection = new FolderConnection(this._request, (conn, opts) => new _FoldersQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -17421,7 +17488,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17421
17488
|
const subscriptionId = crypto.randomUUID();
|
|
17422
17489
|
const includes = this._includes;
|
|
17423
17490
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
17424
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17491
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FoldersDocument, "folders", includes, variables, true);
|
|
17425
17492
|
const raw = this._syncEngine.watch(
|
|
17426
17493
|
queryDoc,
|
|
17427
17494
|
mergedVars,
|
|
@@ -17457,7 +17524,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17457
17524
|
};
|
|
17458
17525
|
var GetCapabilityQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17459
17526
|
async fetch(variables) {
|
|
17460
|
-
const response = await this._request(
|
|
17527
|
+
const response = await this._request(chunkEL37Q6V6_cjs.GetCapabilityDocument, variables);
|
|
17461
17528
|
return response.getCapability;
|
|
17462
17529
|
}
|
|
17463
17530
|
};
|
|
@@ -17470,7 +17537,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17470
17537
|
}
|
|
17471
17538
|
async fetch(options) {
|
|
17472
17539
|
const variables = this._variables;
|
|
17473
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17540
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
|
|
17474
17541
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
|
|
17475
17542
|
const data = response.getDevAccessToken;
|
|
17476
17543
|
const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17482,7 +17549,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17482
17549
|
watch(options) {
|
|
17483
17550
|
const variables = this._variables;
|
|
17484
17551
|
const includes = this._includes;
|
|
17485
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17552
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
|
|
17486
17553
|
const raw = this._syncEngine.watch(
|
|
17487
17554
|
queryDoc,
|
|
17488
17555
|
mergedVars,
|
|
@@ -17513,13 +17580,13 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17513
17580
|
};
|
|
17514
17581
|
var GetLimitQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17515
17582
|
async fetch(variables) {
|
|
17516
|
-
const response = await this._request(
|
|
17583
|
+
const response = await this._request(chunkEL37Q6V6_cjs.GetLimitDocument, variables);
|
|
17517
17584
|
return response.getLimit ?? void 0;
|
|
17518
17585
|
}
|
|
17519
17586
|
};
|
|
17520
17587
|
var GetRemainingQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17521
17588
|
async fetch(variables) {
|
|
17522
|
-
const response = await this._request(
|
|
17589
|
+
const response = await this._request(chunkEL37Q6V6_cjs.GetRemainingDocument, variables);
|
|
17523
17590
|
return response.getRemaining ?? void 0;
|
|
17524
17591
|
}
|
|
17525
17592
|
};
|
|
@@ -17531,7 +17598,7 @@ var GetTokenUsageByModelQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17531
17598
|
this._variables = variables;
|
|
17532
17599
|
}
|
|
17533
17600
|
async fetch(options) {
|
|
17534
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17601
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
|
|
17535
17602
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
|
|
17536
17603
|
const data = response.getTokenUsageByModel;
|
|
17537
17604
|
if (!Array.isArray(data)) return [];
|
|
@@ -17546,7 +17613,7 @@ var GetTokenUsageHistoryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17546
17613
|
this._variables = variables;
|
|
17547
17614
|
}
|
|
17548
17615
|
async fetch(options) {
|
|
17549
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17616
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
|
|
17550
17617
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
|
|
17551
17618
|
const data = response.getTokenUsageHistory;
|
|
17552
17619
|
if (!Array.isArray(data)) return [];
|
|
@@ -17562,7 +17629,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17562
17629
|
}
|
|
17563
17630
|
async fetch(options) {
|
|
17564
17631
|
const variables = this._variables;
|
|
17565
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17632
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
|
|
17566
17633
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
|
|
17567
17634
|
const data = response.getTokenUsageStatus;
|
|
17568
17635
|
const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17574,7 +17641,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17574
17641
|
watch(options) {
|
|
17575
17642
|
const variables = this._variables;
|
|
17576
17643
|
const includes = this._includes;
|
|
17577
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17644
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
|
|
17578
17645
|
const raw = this._syncEngine.watch(
|
|
17579
17646
|
queryDoc,
|
|
17580
17647
|
mergedVars,
|
|
@@ -17604,10 +17671,10 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17604
17671
|
}
|
|
17605
17672
|
/** Include windows in this query (Smart Fetch — single HTTP request). */
|
|
17606
17673
|
windows(variables) {
|
|
17607
|
-
const info = extractIncludeInfo(
|
|
17674
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
|
|
17608
17675
|
this._includes.push({
|
|
17609
17676
|
fieldName: "windows",
|
|
17610
|
-
fragmentDoc:
|
|
17677
|
+
fragmentDoc: chunkEL37Q6V6_cjs.UsageWindowsStatusTypeFragmentDoc,
|
|
17611
17678
|
variables,
|
|
17612
17679
|
isConnection: false,
|
|
17613
17680
|
isList: false,
|
|
@@ -17630,14 +17697,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17630
17697
|
}
|
|
17631
17698
|
async fetch(options) {
|
|
17632
17699
|
const variables = this._variables;
|
|
17633
|
-
const response = await this._syncEngine.query(
|
|
17700
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
|
|
17634
17701
|
const data = response.getTokenUsageStatus?.windows;
|
|
17635
17702
|
return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17636
17703
|
}
|
|
17637
17704
|
watch(options) {
|
|
17638
17705
|
const variables = this._variables;
|
|
17639
17706
|
const raw = this._syncEngine.watch(
|
|
17640
|
-
|
|
17707
|
+
chunkEL37Q6V6_cjs.GetTokenUsageStatus_WindowsDocument,
|
|
17641
17708
|
variables,
|
|
17642
17709
|
"getTokenUsageStatus",
|
|
17643
17710
|
async (db) => {
|
|
@@ -17660,14 +17727,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk342BFYZZ_cjs.Reque
|
|
|
17660
17727
|
}
|
|
17661
17728
|
async fetch(options) {
|
|
17662
17729
|
const variables = this._variables;
|
|
17663
|
-
const response = await this._syncEngine.query(
|
|
17730
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
|
|
17664
17731
|
const data = response.getTokenUsageStatus?.windows?.day;
|
|
17665
17732
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17666
17733
|
}
|
|
17667
17734
|
watch(options) {
|
|
17668
17735
|
const variables = this._variables;
|
|
17669
17736
|
const raw = this._syncEngine.watch(
|
|
17670
|
-
|
|
17737
|
+
chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_DayDocument,
|
|
17671
17738
|
variables,
|
|
17672
17739
|
"getTokenUsageStatus",
|
|
17673
17740
|
async (db) => {
|
|
@@ -17690,14 +17757,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk342BFYZZ_cjs.
|
|
|
17690
17757
|
}
|
|
17691
17758
|
async fetch(options) {
|
|
17692
17759
|
const variables = this._variables;
|
|
17693
|
-
const response = await this._syncEngine.query(
|
|
17760
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
|
|
17694
17761
|
const data = response.getTokenUsageStatus?.windows?.fiveHour;
|
|
17695
17762
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17696
17763
|
}
|
|
17697
17764
|
watch(options) {
|
|
17698
17765
|
const variables = this._variables;
|
|
17699
17766
|
const raw = this._syncEngine.watch(
|
|
17700
|
-
|
|
17767
|
+
chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
|
|
17701
17768
|
variables,
|
|
17702
17769
|
"getTokenUsageStatus",
|
|
17703
17770
|
async (db) => {
|
|
@@ -17720,14 +17787,14 @@ var GetTokenUsageStatus_Windows_MonthQuery = class extends chunk342BFYZZ_cjs.Req
|
|
|
17720
17787
|
}
|
|
17721
17788
|
async fetch(options) {
|
|
17722
17789
|
const variables = this._variables;
|
|
17723
|
-
const response = await this._syncEngine.query(
|
|
17790
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_MonthDocument, variables, "getTokenUsageStatus");
|
|
17724
17791
|
const data = response.getTokenUsageStatus?.windows?.month;
|
|
17725
17792
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17726
17793
|
}
|
|
17727
17794
|
watch(options) {
|
|
17728
17795
|
const variables = this._variables;
|
|
17729
17796
|
const raw = this._syncEngine.watch(
|
|
17730
|
-
|
|
17797
|
+
chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_MonthDocument,
|
|
17731
17798
|
variables,
|
|
17732
17799
|
"getTokenUsageStatus",
|
|
17733
17800
|
async (db) => {
|
|
@@ -17750,14 +17817,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
|
|
|
17750
17817
|
}
|
|
17751
17818
|
async fetch(options) {
|
|
17752
17819
|
const variables = this._variables;
|
|
17753
|
-
const response = await this._syncEngine.query(
|
|
17820
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
|
|
17754
17821
|
const data = response.getTokenUsageStatus?.windows?.week;
|
|
17755
17822
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17756
17823
|
}
|
|
17757
17824
|
watch(options) {
|
|
17758
17825
|
const variables = this._variables;
|
|
17759
17826
|
const raw = this._syncEngine.watch(
|
|
17760
|
-
|
|
17827
|
+
chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_WeekDocument,
|
|
17761
17828
|
variables,
|
|
17762
17829
|
"getTokenUsageStatus",
|
|
17763
17830
|
async (db) => {
|
|
@@ -17774,7 +17841,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
|
|
|
17774
17841
|
};
|
|
17775
17842
|
var GetUsageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17776
17843
|
async fetch(variables) {
|
|
17777
|
-
const response = await this._request(
|
|
17844
|
+
const response = await this._request(chunkEL37Q6V6_cjs.GetUsageDocument, variables);
|
|
17778
17845
|
return response.getUsage ?? void 0;
|
|
17779
17846
|
}
|
|
17780
17847
|
};
|
|
@@ -17787,7 +17854,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17787
17854
|
}
|
|
17788
17855
|
async fetch(options) {
|
|
17789
17856
|
const variables = this._variables;
|
|
17790
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17857
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightDocument, "insight", this._includes, variables);
|
|
17791
17858
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
|
|
17792
17859
|
const data = response.insight;
|
|
17793
17860
|
const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17799,7 +17866,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17799
17866
|
watch(options) {
|
|
17800
17867
|
const variables = this._variables;
|
|
17801
17868
|
const includes = this._includes;
|
|
17802
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17869
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightDocument, "insight", includes, variables);
|
|
17803
17870
|
const raw = this._syncEngine.watch(
|
|
17804
17871
|
queryDoc,
|
|
17805
17872
|
mergedVars,
|
|
@@ -17829,7 +17896,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17829
17896
|
}
|
|
17830
17897
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
17831
17898
|
chat(variables, builder) {
|
|
17832
|
-
const info = extractIncludeInfo(
|
|
17899
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
17833
17900
|
let children;
|
|
17834
17901
|
if (builder) {
|
|
17835
17902
|
const sub = new ChatSubBuilder();
|
|
@@ -17838,7 +17905,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17838
17905
|
}
|
|
17839
17906
|
this._includes.push({
|
|
17840
17907
|
fieldName: "chat",
|
|
17841
|
-
fragmentDoc:
|
|
17908
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
17842
17909
|
variables,
|
|
17843
17910
|
isConnection: false,
|
|
17844
17911
|
isList: false,
|
|
@@ -17855,10 +17922,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17855
17922
|
}
|
|
17856
17923
|
/** Include reportMembers in this query (Smart Fetch — single HTTP request). */
|
|
17857
17924
|
reportMembers(variables) {
|
|
17858
|
-
const info = extractIncludeInfo(
|
|
17925
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
17859
17926
|
this._includes.push({
|
|
17860
17927
|
fieldName: "reportMembers",
|
|
17861
|
-
fragmentDoc:
|
|
17928
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
|
|
17862
17929
|
variables,
|
|
17863
17930
|
isConnection: false,
|
|
17864
17931
|
isList: true,
|
|
@@ -17874,7 +17941,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17874
17941
|
}
|
|
17875
17942
|
/** Include reports in this query (Smart Fetch — single HTTP request). */
|
|
17876
17943
|
reports(variables, builder) {
|
|
17877
|
-
const info = extractIncludeInfo(
|
|
17944
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
17878
17945
|
let children;
|
|
17879
17946
|
if (builder) {
|
|
17880
17947
|
const sub = new ReportSubBuilder();
|
|
@@ -17883,7 +17950,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17883
17950
|
}
|
|
17884
17951
|
this._includes.push({
|
|
17885
17952
|
fieldName: "reports",
|
|
17886
|
-
fragmentDoc:
|
|
17953
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportConnectionFragmentDoc,
|
|
17887
17954
|
variables,
|
|
17888
17955
|
isConnection: true,
|
|
17889
17956
|
isList: false,
|
|
@@ -17901,10 +17968,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17901
17968
|
}
|
|
17902
17969
|
/** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
|
|
17903
17970
|
thumbnailFile(variables) {
|
|
17904
|
-
const info = extractIncludeInfo(
|
|
17971
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
17905
17972
|
this._includes.push({
|
|
17906
17973
|
fieldName: "thumbnailFile",
|
|
17907
|
-
fragmentDoc:
|
|
17974
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
17908
17975
|
variables,
|
|
17909
17976
|
isConnection: false,
|
|
17910
17977
|
isList: false,
|
|
@@ -17927,14 +17994,14 @@ var Insight_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17927
17994
|
}
|
|
17928
17995
|
async fetch(options) {
|
|
17929
17996
|
const variables = this._variables;
|
|
17930
|
-
const response = await this._syncEngine.query(
|
|
17997
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ChatDocument, variables, "insight");
|
|
17931
17998
|
const data = response.insight?.chat;
|
|
17932
17999
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17933
18000
|
}
|
|
17934
18001
|
watch(options) {
|
|
17935
18002
|
const variables = this._variables;
|
|
17936
18003
|
const raw = this._syncEngine.watch(
|
|
17937
|
-
|
|
18004
|
+
chunkEL37Q6V6_cjs.Insight_ChatDocument,
|
|
17938
18005
|
variables,
|
|
17939
18006
|
"insight",
|
|
17940
18007
|
async (db) => {
|
|
@@ -17956,7 +18023,7 @@ var Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17956
18023
|
this._variables = variables;
|
|
17957
18024
|
}
|
|
17958
18025
|
async fetch(options) {
|
|
17959
|
-
const response = await this._syncEngine.query(
|
|
18026
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, this._variables, "insight");
|
|
17960
18027
|
const data = response.insight?.reportMembers;
|
|
17961
18028
|
if (!Array.isArray(data)) return [];
|
|
17962
18029
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -17970,18 +18037,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk342BFYZZ_cjs
|
|
|
17970
18037
|
}
|
|
17971
18038
|
async fetch(options) {
|
|
17972
18039
|
const variables = this._variables;
|
|
17973
|
-
const response = await this._syncEngine.query(
|
|
18040
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ReportsDocument, variables, "insight");
|
|
17974
18041
|
const data = response.insight?.reports;
|
|
17975
18042
|
return new ReportConnection(this._request, (conn, opts) => new _Insight_ReportsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
17976
18043
|
}
|
|
17977
18044
|
watch(options) {
|
|
17978
18045
|
const variables = this._variables;
|
|
17979
18046
|
const raw = this._syncEngine.watch(
|
|
17980
|
-
|
|
18047
|
+
chunkEL37Q6V6_cjs.Insight_ReportsDocument,
|
|
17981
18048
|
variables,
|
|
17982
18049
|
"insight",
|
|
17983
18050
|
async (db) => {
|
|
17984
|
-
const qr = await db._queryResults.get(buildQueryKey("insight", variables,
|
|
18051
|
+
const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkEL37Q6V6_cjs.Insight_ReportsDocument));
|
|
17985
18052
|
const nodes = qr ? await db.table("reports").bulkGet(qr.entityIds) : [];
|
|
17986
18053
|
return { insight: { reports: { __typename: "ReportConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
17987
18054
|
}
|
|
@@ -18000,14 +18067,14 @@ var Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18000
18067
|
}
|
|
18001
18068
|
async fetch(options) {
|
|
18002
18069
|
const variables = this._variables;
|
|
18003
|
-
const response = await this._syncEngine.query(
|
|
18070
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, variables, "insight");
|
|
18004
18071
|
const data = response.insight?.thumbnailFile;
|
|
18005
18072
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18006
18073
|
}
|
|
18007
18074
|
watch(options) {
|
|
18008
18075
|
const variables = this._variables;
|
|
18009
18076
|
const raw = this._syncEngine.watch(
|
|
18010
|
-
|
|
18077
|
+
chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument,
|
|
18011
18078
|
variables,
|
|
18012
18079
|
"insight",
|
|
18013
18080
|
async (db) => {
|
|
@@ -18031,7 +18098,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18031
18098
|
}
|
|
18032
18099
|
async fetch(options) {
|
|
18033
18100
|
const variables = this._variables;
|
|
18034
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18101
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightsDocument, "insights", this._includes, variables, true);
|
|
18035
18102
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
|
|
18036
18103
|
const data = response.insights;
|
|
18037
18104
|
const connection = new InsightConnection(this._request, (conn, opts) => new _InsightsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -18048,7 +18115,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18048
18115
|
const subscriptionId = crypto.randomUUID();
|
|
18049
18116
|
const includes = this._includes;
|
|
18050
18117
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
18051
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18118
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightsDocument, "insights", includes, variables, true);
|
|
18052
18119
|
const raw = this._syncEngine.watch(
|
|
18053
18120
|
queryDoc,
|
|
18054
18121
|
mergedVars,
|
|
@@ -18083,7 +18150,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18083
18150
|
}
|
|
18084
18151
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
18085
18152
|
chat(variables, builder) {
|
|
18086
|
-
const info = extractIncludeInfo(
|
|
18153
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
18087
18154
|
let children;
|
|
18088
18155
|
if (builder) {
|
|
18089
18156
|
const sub = new ChatSubBuilder();
|
|
@@ -18092,7 +18159,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18092
18159
|
}
|
|
18093
18160
|
this._includes.push({
|
|
18094
18161
|
fieldName: "chat",
|
|
18095
|
-
fragmentDoc:
|
|
18162
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
18096
18163
|
variables,
|
|
18097
18164
|
isConnection: false,
|
|
18098
18165
|
isList: false,
|
|
@@ -18109,10 +18176,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18109
18176
|
}
|
|
18110
18177
|
/** Include reportMembers in this query (Smart Fetch — single HTTP request). */
|
|
18111
18178
|
reportMembers(variables) {
|
|
18112
|
-
const info = extractIncludeInfo(
|
|
18179
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
18113
18180
|
this._includes.push({
|
|
18114
18181
|
fieldName: "reportMembers",
|
|
18115
|
-
fragmentDoc:
|
|
18182
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
|
|
18116
18183
|
variables,
|
|
18117
18184
|
isConnection: false,
|
|
18118
18185
|
isList: true,
|
|
@@ -18128,7 +18195,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18128
18195
|
}
|
|
18129
18196
|
/** Include reports in this query (Smart Fetch — single HTTP request). */
|
|
18130
18197
|
reports(variables, builder) {
|
|
18131
|
-
const info = extractIncludeInfo(
|
|
18198
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
18132
18199
|
let children;
|
|
18133
18200
|
if (builder) {
|
|
18134
18201
|
const sub = new ReportSubBuilder();
|
|
@@ -18137,7 +18204,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18137
18204
|
}
|
|
18138
18205
|
this._includes.push({
|
|
18139
18206
|
fieldName: "reports",
|
|
18140
|
-
fragmentDoc:
|
|
18207
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportConnectionFragmentDoc,
|
|
18141
18208
|
variables,
|
|
18142
18209
|
isConnection: true,
|
|
18143
18210
|
isList: false,
|
|
@@ -18155,10 +18222,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18155
18222
|
}
|
|
18156
18223
|
/** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
|
|
18157
18224
|
thumbnailFile(variables) {
|
|
18158
|
-
const info = extractIncludeInfo(
|
|
18225
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
18159
18226
|
this._includes.push({
|
|
18160
18227
|
fieldName: "thumbnailFile",
|
|
18161
|
-
fragmentDoc:
|
|
18228
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
18162
18229
|
variables,
|
|
18163
18230
|
isConnection: false,
|
|
18164
18231
|
isList: false,
|
|
@@ -18182,7 +18249,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18182
18249
|
}
|
|
18183
18250
|
async fetch(options) {
|
|
18184
18251
|
const variables = this._variables;
|
|
18185
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18252
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationDocument, "integration", this._includes, variables);
|
|
18186
18253
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
|
|
18187
18254
|
const data = response.integration;
|
|
18188
18255
|
const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18194,7 +18261,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18194
18261
|
watch(options) {
|
|
18195
18262
|
const variables = this._variables;
|
|
18196
18263
|
const includes = this._includes;
|
|
18197
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18264
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationDocument, "integration", includes, variables);
|
|
18198
18265
|
const raw = this._syncEngine.watch(
|
|
18199
18266
|
queryDoc,
|
|
18200
18267
|
mergedVars,
|
|
@@ -18224,10 +18291,10 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18224
18291
|
}
|
|
18225
18292
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18226
18293
|
provider(variables) {
|
|
18227
|
-
const info = extractIncludeInfo(
|
|
18294
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
18228
18295
|
this._includes.push({
|
|
18229
18296
|
fieldName: "provider",
|
|
18230
|
-
fragmentDoc:
|
|
18297
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
|
|
18231
18298
|
variables,
|
|
18232
18299
|
isConnection: false,
|
|
18233
18300
|
isList: false,
|
|
@@ -18250,14 +18317,14 @@ var Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18250
18317
|
}
|
|
18251
18318
|
async fetch(options) {
|
|
18252
18319
|
const variables = this._variables;
|
|
18253
|
-
const response = await this._syncEngine.query(
|
|
18320
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Integration_ProviderDocument, variables, "integration");
|
|
18254
18321
|
const data = response.integration?.provider;
|
|
18255
18322
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18256
18323
|
}
|
|
18257
18324
|
watch(options) {
|
|
18258
18325
|
const variables = this._variables;
|
|
18259
18326
|
const raw = this._syncEngine.watch(
|
|
18260
|
-
|
|
18327
|
+
chunkEL37Q6V6_cjs.Integration_ProviderDocument,
|
|
18261
18328
|
variables,
|
|
18262
18329
|
"integration",
|
|
18263
18330
|
async (db) => {
|
|
@@ -18280,14 +18347,14 @@ var Integration_Provider_CatalogQuery = class extends chunk342BFYZZ_cjs.Request
|
|
|
18280
18347
|
}
|
|
18281
18348
|
async fetch(options) {
|
|
18282
18349
|
const variables = this._variables;
|
|
18283
|
-
const response = await this._syncEngine.query(
|
|
18350
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Integration_Provider_CatalogDocument, variables, "integration");
|
|
18284
18351
|
const data = response.integration?.provider?.catalog;
|
|
18285
18352
|
return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18286
18353
|
}
|
|
18287
18354
|
watch(options) {
|
|
18288
18355
|
const variables = this._variables;
|
|
18289
18356
|
const raw = this._syncEngine.watch(
|
|
18290
|
-
|
|
18357
|
+
chunkEL37Q6V6_cjs.Integration_Provider_CatalogDocument,
|
|
18291
18358
|
variables,
|
|
18292
18359
|
"integration",
|
|
18293
18360
|
async (db) => {
|
|
@@ -18311,7 +18378,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18311
18378
|
}
|
|
18312
18379
|
async fetch(options) {
|
|
18313
18380
|
const variables = this._variables;
|
|
18314
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18381
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
|
|
18315
18382
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
|
|
18316
18383
|
const data = response.integrationCatalog;
|
|
18317
18384
|
const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18323,7 +18390,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18323
18390
|
watch(options) {
|
|
18324
18391
|
const variables = this._variables;
|
|
18325
18392
|
const includes = this._includes;
|
|
18326
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18393
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
|
|
18327
18394
|
const raw = this._syncEngine.watch(
|
|
18328
18395
|
queryDoc,
|
|
18329
18396
|
mergedVars,
|
|
@@ -18353,10 +18420,10 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18353
18420
|
}
|
|
18354
18421
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18355
18422
|
provider(variables) {
|
|
18356
|
-
const info = extractIncludeInfo(
|
|
18423
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
18357
18424
|
this._includes.push({
|
|
18358
18425
|
fieldName: "provider",
|
|
18359
|
-
fragmentDoc:
|
|
18426
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
|
|
18360
18427
|
variables,
|
|
18361
18428
|
isConnection: false,
|
|
18362
18429
|
isList: false,
|
|
@@ -18379,14 +18446,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18379
18446
|
}
|
|
18380
18447
|
async fetch(options) {
|
|
18381
18448
|
const variables = this._variables;
|
|
18382
|
-
const response = await this._syncEngine.query(
|
|
18449
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
|
|
18383
18450
|
const data = response.integrationCatalog?.provider;
|
|
18384
18451
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18385
18452
|
}
|
|
18386
18453
|
watch(options) {
|
|
18387
18454
|
const variables = this._variables;
|
|
18388
18455
|
const raw = this._syncEngine.watch(
|
|
18389
|
-
|
|
18456
|
+
chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument,
|
|
18390
18457
|
variables,
|
|
18391
18458
|
"integrationCatalog",
|
|
18392
18459
|
async (db) => {
|
|
@@ -18403,7 +18470,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18403
18470
|
};
|
|
18404
18471
|
var IntegrationCatalogToolsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18405
18472
|
async fetch(variables) {
|
|
18406
|
-
const response = await this._request(
|
|
18473
|
+
const response = await this._request(chunkEL37Q6V6_cjs.IntegrationCatalogToolsDocument, variables);
|
|
18407
18474
|
return response.integrationCatalogTools;
|
|
18408
18475
|
}
|
|
18409
18476
|
};
|
|
@@ -18416,7 +18483,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
18416
18483
|
}
|
|
18417
18484
|
async fetch(options) {
|
|
18418
18485
|
const variables = this._variables;
|
|
18419
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18486
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
|
|
18420
18487
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
|
|
18421
18488
|
const data = response.integrationCatalogs;
|
|
18422
18489
|
const connection = new IntegrationCatalogConnection(this._request, (conn, opts) => new _IntegrationCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -18433,7 +18500,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
18433
18500
|
const subscriptionId = crypto.randomUUID();
|
|
18434
18501
|
const includes = this._includes;
|
|
18435
18502
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
18436
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18503
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
|
|
18437
18504
|
const raw = this._syncEngine.watch(
|
|
18438
18505
|
queryDoc,
|
|
18439
18506
|
mergedVars,
|
|
@@ -18468,10 +18535,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
18468
18535
|
}
|
|
18469
18536
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18470
18537
|
provider(variables) {
|
|
18471
|
-
const info = extractIncludeInfo(
|
|
18538
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
18472
18539
|
this._includes.push({
|
|
18473
18540
|
fieldName: "provider",
|
|
18474
|
-
fragmentDoc:
|
|
18541
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
|
|
18475
18542
|
variables,
|
|
18476
18543
|
isConnection: false,
|
|
18477
18544
|
isList: false,
|
|
@@ -18495,7 +18562,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
18495
18562
|
}
|
|
18496
18563
|
async fetch(options) {
|
|
18497
18564
|
const variables = this._variables;
|
|
18498
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18565
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
|
|
18499
18566
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
|
|
18500
18567
|
const data = response.integrations;
|
|
18501
18568
|
const connection = new IntegrationConnection(this._request, (conn, opts) => new _IntegrationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -18512,7 +18579,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
18512
18579
|
const subscriptionId = crypto.randomUUID();
|
|
18513
18580
|
const includes = this._includes;
|
|
18514
18581
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
18515
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18582
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationsDocument, "integrations", includes, variables, true);
|
|
18516
18583
|
const raw = this._syncEngine.watch(
|
|
18517
18584
|
queryDoc,
|
|
18518
18585
|
mergedVars,
|
|
@@ -18547,10 +18614,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
18547
18614
|
}
|
|
18548
18615
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18549
18616
|
provider(variables) {
|
|
18550
|
-
const info = extractIncludeInfo(
|
|
18617
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
18551
18618
|
this._includes.push({
|
|
18552
18619
|
fieldName: "provider",
|
|
18553
|
-
fragmentDoc:
|
|
18620
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
|
|
18554
18621
|
variables,
|
|
18555
18622
|
isConnection: false,
|
|
18556
18623
|
isList: false,
|
|
@@ -18574,7 +18641,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
|
|
|
18574
18641
|
}
|
|
18575
18642
|
async fetch(options) {
|
|
18576
18643
|
const variables = this._variables;
|
|
18577
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18644
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
|
|
18578
18645
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
|
|
18579
18646
|
const data = response.interpretations;
|
|
18580
18647
|
const connection = new InterpretationConnection(this._request, (conn, opts) => new _InterpretationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -18591,7 +18658,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
|
|
|
18591
18658
|
const subscriptionId = crypto.randomUUID();
|
|
18592
18659
|
const includes = this._includes;
|
|
18593
18660
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
18594
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18661
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
|
|
18595
18662
|
const raw = this._syncEngine.watch(
|
|
18596
18663
|
queryDoc,
|
|
18597
18664
|
mergedVars,
|
|
@@ -18634,7 +18701,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18634
18701
|
}
|
|
18635
18702
|
async fetch(options) {
|
|
18636
18703
|
const variables = this._variables;
|
|
18637
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18704
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationDocument, "notification", this._includes, variables);
|
|
18638
18705
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
|
|
18639
18706
|
const data = response.notification;
|
|
18640
18707
|
const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18646,7 +18713,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18646
18713
|
watch(options) {
|
|
18647
18714
|
const variables = this._variables;
|
|
18648
18715
|
const includes = this._includes;
|
|
18649
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18716
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationDocument, "notification", includes, variables);
|
|
18650
18717
|
const raw = this._syncEngine.watch(
|
|
18651
18718
|
queryDoc,
|
|
18652
18719
|
mergedVars,
|
|
@@ -18684,7 +18751,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
|
|
|
18684
18751
|
}
|
|
18685
18752
|
async fetch(options) {
|
|
18686
18753
|
const variables = this._variables;
|
|
18687
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18754
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
|
|
18688
18755
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
|
|
18689
18756
|
const data = response.notifications;
|
|
18690
18757
|
const connection = new NotificationConnection(this._request, (conn, opts) => new _NotificationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -18701,7 +18768,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
|
|
|
18701
18768
|
const subscriptionId = crypto.randomUUID();
|
|
18702
18769
|
const includes = this._includes;
|
|
18703
18770
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
18704
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18771
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationsDocument, "notifications", includes, variables, true);
|
|
18705
18772
|
const raw = this._syncEngine.watch(
|
|
18706
18773
|
queryDoc,
|
|
18707
18774
|
mergedVars,
|
|
@@ -18743,7 +18810,7 @@ var NotificationsByReferenceQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18743
18810
|
this._variables = variables;
|
|
18744
18811
|
}
|
|
18745
18812
|
async fetch(options) {
|
|
18746
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18813
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
|
|
18747
18814
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
|
|
18748
18815
|
const data = response.notificationsByReference;
|
|
18749
18816
|
if (!Array.isArray(data)) return [];
|
|
@@ -18759,7 +18826,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18759
18826
|
}
|
|
18760
18827
|
async fetch(options) {
|
|
18761
18828
|
const variables = this._variables;
|
|
18762
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18829
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
|
|
18763
18830
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
|
|
18764
18831
|
const data = response.privacyStats;
|
|
18765
18832
|
const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18771,7 +18838,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18771
18838
|
watch(options) {
|
|
18772
18839
|
const variables = this._variables;
|
|
18773
18840
|
const includes = this._includes;
|
|
18774
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18841
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
|
|
18775
18842
|
const raw = this._syncEngine.watch(
|
|
18776
18843
|
queryDoc,
|
|
18777
18844
|
mergedVars,
|
|
@@ -18809,7 +18876,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18809
18876
|
}
|
|
18810
18877
|
async fetch(options) {
|
|
18811
18878
|
const variables = this._variables;
|
|
18812
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18879
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
|
|
18813
18880
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
|
|
18814
18881
|
const data = response.pulseAppSummary;
|
|
18815
18882
|
if (!data) return void 0;
|
|
@@ -18822,7 +18889,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18822
18889
|
watch(options) {
|
|
18823
18890
|
const variables = this._variables;
|
|
18824
18891
|
const includes = this._includes;
|
|
18825
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18892
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
|
|
18826
18893
|
const raw = this._syncEngine.watch(
|
|
18827
18894
|
queryDoc,
|
|
18828
18895
|
mergedVars,
|
|
@@ -18861,7 +18928,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18861
18928
|
}
|
|
18862
18929
|
async fetch(options) {
|
|
18863
18930
|
const variables = this._variables;
|
|
18864
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18931
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
|
|
18865
18932
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
|
|
18866
18933
|
const data = response.pulseEvent;
|
|
18867
18934
|
const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18873,7 +18940,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18873
18940
|
watch(options) {
|
|
18874
18941
|
const variables = this._variables;
|
|
18875
18942
|
const includes = this._includes;
|
|
18876
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18943
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventDocument, "pulseEvent", includes, variables);
|
|
18877
18944
|
const raw = this._syncEngine.watch(
|
|
18878
18945
|
queryDoc,
|
|
18879
18946
|
mergedVars,
|
|
@@ -18903,7 +18970,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18903
18970
|
}
|
|
18904
18971
|
/** Include integration in this query (Smart Fetch — single HTTP request). */
|
|
18905
18972
|
integration(variables, builder) {
|
|
18906
|
-
const info = extractIncludeInfo(
|
|
18973
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
18907
18974
|
let children;
|
|
18908
18975
|
if (builder) {
|
|
18909
18976
|
const sub = new IntegrationSubBuilder();
|
|
@@ -18912,7 +18979,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18912
18979
|
}
|
|
18913
18980
|
this._includes.push({
|
|
18914
18981
|
fieldName: "integration",
|
|
18915
|
-
fragmentDoc:
|
|
18982
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationFragmentDoc,
|
|
18916
18983
|
variables,
|
|
18917
18984
|
isConnection: false,
|
|
18918
18985
|
isList: false,
|
|
@@ -18936,14 +19003,14 @@ var PulseEvent_IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18936
19003
|
}
|
|
18937
19004
|
async fetch(options) {
|
|
18938
19005
|
const variables = this._variables;
|
|
18939
|
-
const response = await this._syncEngine.query(
|
|
19006
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
|
|
18940
19007
|
const data = response.pulseEvent?.integration;
|
|
18941
19008
|
return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18942
19009
|
}
|
|
18943
19010
|
watch(options) {
|
|
18944
19011
|
const variables = this._variables;
|
|
18945
19012
|
const raw = this._syncEngine.watch(
|
|
18946
|
-
|
|
19013
|
+
chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument,
|
|
18947
19014
|
variables,
|
|
18948
19015
|
"pulseEvent",
|
|
18949
19016
|
async (db) => {
|
|
@@ -18966,14 +19033,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Reque
|
|
|
18966
19033
|
}
|
|
18967
19034
|
async fetch(options) {
|
|
18968
19035
|
const variables = this._variables;
|
|
18969
|
-
const response = await this._syncEngine.query(
|
|
19036
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
|
|
18970
19037
|
const data = response.pulseEvent?.integration?.provider;
|
|
18971
19038
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18972
19039
|
}
|
|
18973
19040
|
watch(options) {
|
|
18974
19041
|
const variables = this._variables;
|
|
18975
19042
|
const raw = this._syncEngine.watch(
|
|
18976
|
-
|
|
19043
|
+
chunkEL37Q6V6_cjs.PulseEvent_Integration_ProviderDocument,
|
|
18977
19044
|
variables,
|
|
18978
19045
|
"pulseEvent",
|
|
18979
19046
|
async (db) => {
|
|
@@ -18997,7 +19064,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
18997
19064
|
}
|
|
18998
19065
|
async fetch(options) {
|
|
18999
19066
|
const variables = this._variables;
|
|
19000
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19067
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
|
|
19001
19068
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
|
|
19002
19069
|
const data = response.pulseEvents;
|
|
19003
19070
|
const connection = new PulseEventConnection(this._request, (conn, opts) => new _PulseEventsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -19014,7 +19081,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19014
19081
|
const subscriptionId = crypto.randomUUID();
|
|
19015
19082
|
const includes = this._includes;
|
|
19016
19083
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
19017
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19084
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
|
|
19018
19085
|
const raw = this._syncEngine.watch(
|
|
19019
19086
|
queryDoc,
|
|
19020
19087
|
mergedVars,
|
|
@@ -19049,7 +19116,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19049
19116
|
}
|
|
19050
19117
|
/** Include integration in this query (Smart Fetch — single HTTP request). */
|
|
19051
19118
|
integration(variables, builder) {
|
|
19052
|
-
const info = extractIncludeInfo(
|
|
19119
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
19053
19120
|
let children;
|
|
19054
19121
|
if (builder) {
|
|
19055
19122
|
const sub = new IntegrationSubBuilder();
|
|
@@ -19058,7 +19125,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19058
19125
|
}
|
|
19059
19126
|
this._includes.push({
|
|
19060
19127
|
fieldName: "integration",
|
|
19061
|
-
fragmentDoc:
|
|
19128
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationFragmentDoc,
|
|
19062
19129
|
variables,
|
|
19063
19130
|
isConnection: false,
|
|
19064
19131
|
isList: false,
|
|
@@ -19082,7 +19149,7 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19082
19149
|
this._variables = variables;
|
|
19083
19150
|
}
|
|
19084
19151
|
async fetch(options) {
|
|
19085
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19152
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
|
|
19086
19153
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
|
|
19087
19154
|
const data = response.pulseTriggerSettings;
|
|
19088
19155
|
if (!Array.isArray(data)) return [];
|
|
@@ -19091,19 +19158,19 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19091
19158
|
};
|
|
19092
19159
|
var QueryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19093
19160
|
async fetch(variables) {
|
|
19094
|
-
const response = await this._request(
|
|
19161
|
+
const response = await this._request(chunkEL37Q6V6_cjs.QueryDocument, variables);
|
|
19095
19162
|
return response.query;
|
|
19096
19163
|
}
|
|
19097
19164
|
};
|
|
19098
19165
|
var QueryWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19099
19166
|
async fetch(variables) {
|
|
19100
|
-
const response = await this._request(
|
|
19167
|
+
const response = await this._request(chunkEL37Q6V6_cjs.QueryWithInsightIdDocument, variables);
|
|
19101
19168
|
return response.queryWithInsightId;
|
|
19102
19169
|
}
|
|
19103
19170
|
};
|
|
19104
19171
|
var QueryWithMessageIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19105
19172
|
async fetch(variables) {
|
|
19106
|
-
const response = await this._request(
|
|
19173
|
+
const response = await this._request(chunkEL37Q6V6_cjs.QueryWithMessageIdDocument, variables);
|
|
19107
19174
|
return response.queryWithMessageId;
|
|
19108
19175
|
}
|
|
19109
19176
|
};
|
|
@@ -19116,7 +19183,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19116
19183
|
}
|
|
19117
19184
|
async fetch(options) {
|
|
19118
19185
|
const variables = this._variables;
|
|
19119
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19186
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportDocument, "report", this._includes, variables);
|
|
19120
19187
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
|
|
19121
19188
|
const data = response.report;
|
|
19122
19189
|
const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19128,7 +19195,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19128
19195
|
watch(options) {
|
|
19129
19196
|
const variables = this._variables;
|
|
19130
19197
|
const includes = this._includes;
|
|
19131
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19198
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportDocument, "report", includes, variables);
|
|
19132
19199
|
const raw = this._syncEngine.watch(
|
|
19133
19200
|
queryDoc,
|
|
19134
19201
|
mergedVars,
|
|
@@ -19158,7 +19225,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19158
19225
|
}
|
|
19159
19226
|
/** Include insights in this query (Smart Fetch — single HTTP request). */
|
|
19160
19227
|
insights(variables, builder) {
|
|
19161
|
-
const info = extractIncludeInfo(
|
|
19228
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
19162
19229
|
let children;
|
|
19163
19230
|
if (builder) {
|
|
19164
19231
|
const sub = new InsightSubBuilder();
|
|
@@ -19167,7 +19234,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19167
19234
|
}
|
|
19168
19235
|
this._includes.push({
|
|
19169
19236
|
fieldName: "insights",
|
|
19170
|
-
fragmentDoc:
|
|
19237
|
+
fragmentDoc: chunkEL37Q6V6_cjs.InsightConnectionFragmentDoc,
|
|
19171
19238
|
variables,
|
|
19172
19239
|
isConnection: true,
|
|
19173
19240
|
isList: false,
|
|
@@ -19185,10 +19252,10 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19185
19252
|
}
|
|
19186
19253
|
/** Include layout in this query (Smart Fetch — single HTTP request). */
|
|
19187
19254
|
layout(variables) {
|
|
19188
|
-
const info = extractIncludeInfo(
|
|
19255
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
19189
19256
|
this._includes.push({
|
|
19190
19257
|
fieldName: "layout",
|
|
19191
|
-
fragmentDoc:
|
|
19258
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
|
|
19192
19259
|
variables,
|
|
19193
19260
|
isConnection: false,
|
|
19194
19261
|
isList: true,
|
|
@@ -19211,18 +19278,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk342BFYZZ_cjs
|
|
|
19211
19278
|
}
|
|
19212
19279
|
async fetch(options) {
|
|
19213
19280
|
const variables = this._variables;
|
|
19214
|
-
const response = await this._syncEngine.query(
|
|
19281
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Report_InsightsDocument, variables, "report");
|
|
19215
19282
|
const data = response.report?.insights;
|
|
19216
19283
|
return new InsightConnection(this._request, (conn, opts) => new _Report_InsightsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
19217
19284
|
}
|
|
19218
19285
|
watch(options) {
|
|
19219
19286
|
const variables = this._variables;
|
|
19220
19287
|
const raw = this._syncEngine.watch(
|
|
19221
|
-
|
|
19288
|
+
chunkEL37Q6V6_cjs.Report_InsightsDocument,
|
|
19222
19289
|
variables,
|
|
19223
19290
|
"report",
|
|
19224
19291
|
async (db) => {
|
|
19225
|
-
const qr = await db._queryResults.get(buildQueryKey("report", variables,
|
|
19292
|
+
const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkEL37Q6V6_cjs.Report_InsightsDocument));
|
|
19226
19293
|
const nodes = qr ? await db.table("insights").bulkGet(qr.entityIds) : [];
|
|
19227
19294
|
return { report: { insights: { __typename: "InsightConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
19228
19295
|
}
|
|
@@ -19240,7 +19307,7 @@ var Report_LayoutQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19240
19307
|
this._variables = variables;
|
|
19241
19308
|
}
|
|
19242
19309
|
async fetch(options) {
|
|
19243
|
-
const response = await this._syncEngine.query(
|
|
19310
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Report_LayoutDocument, this._variables, "report");
|
|
19244
19311
|
const data = response.report?.layout;
|
|
19245
19312
|
if (!Array.isArray(data)) return [];
|
|
19246
19313
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19255,7 +19322,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19255
19322
|
}
|
|
19256
19323
|
async fetch(options) {
|
|
19257
19324
|
const variables = this._variables;
|
|
19258
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19325
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportsDocument, "reports", this._includes, variables, true);
|
|
19259
19326
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
|
|
19260
19327
|
const data = response.reports;
|
|
19261
19328
|
const connection = new ReportConnection(this._request, (conn, opts) => new _ReportsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -19272,7 +19339,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19272
19339
|
const subscriptionId = crypto.randomUUID();
|
|
19273
19340
|
const includes = this._includes;
|
|
19274
19341
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
19275
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19342
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportsDocument, "reports", includes, variables, true);
|
|
19276
19343
|
const raw = this._syncEngine.watch(
|
|
19277
19344
|
queryDoc,
|
|
19278
19345
|
mergedVars,
|
|
@@ -19307,7 +19374,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19307
19374
|
}
|
|
19308
19375
|
/** Include insights in this query (Smart Fetch — single HTTP request). */
|
|
19309
19376
|
insights(variables, builder) {
|
|
19310
|
-
const info = extractIncludeInfo(
|
|
19377
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
19311
19378
|
let children;
|
|
19312
19379
|
if (builder) {
|
|
19313
19380
|
const sub = new InsightSubBuilder();
|
|
@@ -19316,7 +19383,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19316
19383
|
}
|
|
19317
19384
|
this._includes.push({
|
|
19318
19385
|
fieldName: "insights",
|
|
19319
|
-
fragmentDoc:
|
|
19386
|
+
fragmentDoc: chunkEL37Q6V6_cjs.InsightConnectionFragmentDoc,
|
|
19320
19387
|
variables,
|
|
19321
19388
|
isConnection: true,
|
|
19322
19389
|
isList: false,
|
|
@@ -19334,10 +19401,10 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19334
19401
|
}
|
|
19335
19402
|
/** Include layout in this query (Smart Fetch — single HTTP request). */
|
|
19336
19403
|
layout(variables) {
|
|
19337
|
-
const info = extractIncludeInfo(
|
|
19404
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
19338
19405
|
this._includes.push({
|
|
19339
19406
|
fieldName: "layout",
|
|
19340
|
-
fragmentDoc:
|
|
19407
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
|
|
19341
19408
|
variables,
|
|
19342
19409
|
isConnection: false,
|
|
19343
19410
|
isList: true,
|
|
@@ -19361,7 +19428,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19361
19428
|
}
|
|
19362
19429
|
async fetch(options) {
|
|
19363
19430
|
const variables = this._variables;
|
|
19364
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19431
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TableDocument, "table", this._includes, variables);
|
|
19365
19432
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
|
|
19366
19433
|
const data = response.table;
|
|
19367
19434
|
const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19373,7 +19440,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19373
19440
|
watch(options) {
|
|
19374
19441
|
const variables = this._variables;
|
|
19375
19442
|
const includes = this._includes;
|
|
19376
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19443
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TableDocument, "table", includes, variables);
|
|
19377
19444
|
const raw = this._syncEngine.watch(
|
|
19378
19445
|
queryDoc,
|
|
19379
19446
|
mergedVars,
|
|
@@ -19403,7 +19470,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19403
19470
|
}
|
|
19404
19471
|
/** Include database in this query (Smart Fetch — single HTTP request). */
|
|
19405
19472
|
database(variables, builder) {
|
|
19406
|
-
const info = extractIncludeInfo(
|
|
19473
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
19407
19474
|
let children;
|
|
19408
19475
|
if (builder) {
|
|
19409
19476
|
const sub = new DatabaseSubBuilder();
|
|
@@ -19412,7 +19479,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19412
19479
|
}
|
|
19413
19480
|
this._includes.push({
|
|
19414
19481
|
fieldName: "database",
|
|
19415
|
-
fragmentDoc:
|
|
19482
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseFragmentDoc,
|
|
19416
19483
|
variables,
|
|
19417
19484
|
isConnection: false,
|
|
19418
19485
|
isList: false,
|
|
@@ -19429,7 +19496,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19429
19496
|
}
|
|
19430
19497
|
/** Include document in this query (Smart Fetch — single HTTP request). */
|
|
19431
19498
|
document(variables, builder) {
|
|
19432
|
-
const info = extractIncludeInfo(
|
|
19499
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
19433
19500
|
let children;
|
|
19434
19501
|
if (builder) {
|
|
19435
19502
|
const sub = new DocumentSubBuilder();
|
|
@@ -19438,7 +19505,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19438
19505
|
}
|
|
19439
19506
|
this._includes.push({
|
|
19440
19507
|
fieldName: "document",
|
|
19441
|
-
fragmentDoc:
|
|
19508
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFragmentDoc,
|
|
19442
19509
|
variables,
|
|
19443
19510
|
isConnection: false,
|
|
19444
19511
|
isList: false,
|
|
@@ -19455,10 +19522,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19455
19522
|
}
|
|
19456
19523
|
/** Include fromRelations in this query (Smart Fetch — single HTTP request). */
|
|
19457
19524
|
fromRelations(variables) {
|
|
19458
|
-
const info = extractIncludeInfo(
|
|
19525
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
19459
19526
|
this._includes.push({
|
|
19460
19527
|
fieldName: "fromRelations",
|
|
19461
|
-
fragmentDoc:
|
|
19528
|
+
fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
|
|
19462
19529
|
variables,
|
|
19463
19530
|
isConnection: false,
|
|
19464
19531
|
isList: true,
|
|
@@ -19474,10 +19541,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19474
19541
|
}
|
|
19475
19542
|
/** Include toRelations in this query (Smart Fetch — single HTTP request). */
|
|
19476
19543
|
toRelations(variables) {
|
|
19477
|
-
const info = extractIncludeInfo(
|
|
19544
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
19478
19545
|
this._includes.push({
|
|
19479
19546
|
fieldName: "toRelations",
|
|
19480
|
-
fragmentDoc:
|
|
19547
|
+
fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
|
|
19481
19548
|
variables,
|
|
19482
19549
|
isConnection: false,
|
|
19483
19550
|
isList: true,
|
|
@@ -19500,14 +19567,14 @@ var Table_DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19500
19567
|
}
|
|
19501
19568
|
async fetch(options) {
|
|
19502
19569
|
const variables = this._variables;
|
|
19503
|
-
const response = await this._syncEngine.query(
|
|
19570
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_DatabaseDocument, variables, "table");
|
|
19504
19571
|
const data = response.table?.database;
|
|
19505
19572
|
return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19506
19573
|
}
|
|
19507
19574
|
watch(options) {
|
|
19508
19575
|
const variables = this._variables;
|
|
19509
19576
|
const raw = this._syncEngine.watch(
|
|
19510
|
-
|
|
19577
|
+
chunkEL37Q6V6_cjs.Table_DatabaseDocument,
|
|
19511
19578
|
variables,
|
|
19512
19579
|
"table",
|
|
19513
19580
|
async (db) => {
|
|
@@ -19530,14 +19597,14 @@ var Table_Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19530
19597
|
}
|
|
19531
19598
|
async fetch(options) {
|
|
19532
19599
|
const variables = this._variables;
|
|
19533
|
-
const response = await this._syncEngine.query(
|
|
19600
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Database_EngineDocument, variables, "table");
|
|
19534
19601
|
const data = response.table?.database?.engine;
|
|
19535
19602
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19536
19603
|
}
|
|
19537
19604
|
watch(options) {
|
|
19538
19605
|
const variables = this._variables;
|
|
19539
19606
|
const raw = this._syncEngine.watch(
|
|
19540
|
-
|
|
19607
|
+
chunkEL37Q6V6_cjs.Table_Database_EngineDocument,
|
|
19541
19608
|
variables,
|
|
19542
19609
|
"table",
|
|
19543
19610
|
async (db) => {
|
|
@@ -19560,14 +19627,14 @@ var Table_DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19560
19627
|
}
|
|
19561
19628
|
async fetch(options) {
|
|
19562
19629
|
const variables = this._variables;
|
|
19563
|
-
const response = await this._syncEngine.query(
|
|
19630
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_DocumentDocument, variables, "table");
|
|
19564
19631
|
const data = response.table?.document;
|
|
19565
19632
|
return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19566
19633
|
}
|
|
19567
19634
|
watch(options) {
|
|
19568
19635
|
const variables = this._variables;
|
|
19569
19636
|
const raw = this._syncEngine.watch(
|
|
19570
|
-
|
|
19637
|
+
chunkEL37Q6V6_cjs.Table_DocumentDocument,
|
|
19571
19638
|
variables,
|
|
19572
19639
|
"table",
|
|
19573
19640
|
async (db) => {
|
|
@@ -19589,7 +19656,7 @@ var Table_Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19589
19656
|
this._variables = variables;
|
|
19590
19657
|
}
|
|
19591
19658
|
async fetch(options) {
|
|
19592
|
-
const response = await this._syncEngine.query(
|
|
19659
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Document_ContentsDocument, this._variables, "table");
|
|
19593
19660
|
const data = response.table?.document?.contents;
|
|
19594
19661
|
if (!Array.isArray(data)) return [];
|
|
19595
19662
|
return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19603,14 +19670,14 @@ var Table_Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19603
19670
|
}
|
|
19604
19671
|
async fetch(options) {
|
|
19605
19672
|
const variables = this._variables;
|
|
19606
|
-
const response = await this._syncEngine.query(
|
|
19673
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Document_FileDocument, variables, "table");
|
|
19607
19674
|
const data = response.table?.document?.file;
|
|
19608
19675
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19609
19676
|
}
|
|
19610
19677
|
watch(options) {
|
|
19611
19678
|
const variables = this._variables;
|
|
19612
19679
|
const raw = this._syncEngine.watch(
|
|
19613
|
-
|
|
19680
|
+
chunkEL37Q6V6_cjs.Table_Document_FileDocument,
|
|
19614
19681
|
variables,
|
|
19615
19682
|
"table",
|
|
19616
19683
|
async (db) => {
|
|
@@ -19633,14 +19700,14 @@ var Table_Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19633
19700
|
}
|
|
19634
19701
|
async fetch(options) {
|
|
19635
19702
|
const variables = this._variables;
|
|
19636
|
-
const response = await this._syncEngine.query(
|
|
19703
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Document_FormatDocument, variables, "table");
|
|
19637
19704
|
const data = response.table?.document?.format;
|
|
19638
19705
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19639
19706
|
}
|
|
19640
19707
|
watch(options) {
|
|
19641
19708
|
const variables = this._variables;
|
|
19642
19709
|
const raw = this._syncEngine.watch(
|
|
19643
|
-
|
|
19710
|
+
chunkEL37Q6V6_cjs.Table_Document_FormatDocument,
|
|
19644
19711
|
variables,
|
|
19645
19712
|
"table",
|
|
19646
19713
|
async (db) => {
|
|
@@ -19662,7 +19729,7 @@ var Table_FromRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19662
19729
|
this._variables = variables;
|
|
19663
19730
|
}
|
|
19664
19731
|
async fetch(options) {
|
|
19665
|
-
const response = await this._syncEngine.query(
|
|
19732
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, this._variables, "table");
|
|
19666
19733
|
const data = response.table?.fromRelations;
|
|
19667
19734
|
if (!Array.isArray(data)) return [];
|
|
19668
19735
|
return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19675,7 +19742,7 @@ var Table_ToRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19675
19742
|
this._variables = variables;
|
|
19676
19743
|
}
|
|
19677
19744
|
async fetch(options) {
|
|
19678
|
-
const response = await this._syncEngine.query(
|
|
19745
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, this._variables, "table");
|
|
19679
19746
|
const data = response.table?.toRelations;
|
|
19680
19747
|
if (!Array.isArray(data)) return [];
|
|
19681
19748
|
return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19690,7 +19757,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19690
19757
|
}
|
|
19691
19758
|
async fetch(options) {
|
|
19692
19759
|
const variables = this._variables;
|
|
19693
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19760
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TablesDocument, "tables", this._includes, variables, true);
|
|
19694
19761
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
|
|
19695
19762
|
const data = response.tables;
|
|
19696
19763
|
const connection = new TableConnection(this._request, (conn, opts) => new _TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -19707,7 +19774,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19707
19774
|
const subscriptionId = crypto.randomUUID();
|
|
19708
19775
|
const includes = this._includes;
|
|
19709
19776
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
19710
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19777
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TablesDocument, "tables", includes, variables, true);
|
|
19711
19778
|
const raw = this._syncEngine.watch(
|
|
19712
19779
|
queryDoc,
|
|
19713
19780
|
mergedVars,
|
|
@@ -19742,7 +19809,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19742
19809
|
}
|
|
19743
19810
|
/** Include database in this query (Smart Fetch — single HTTP request). */
|
|
19744
19811
|
database(variables, builder) {
|
|
19745
|
-
const info = extractIncludeInfo(
|
|
19812
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
19746
19813
|
let children;
|
|
19747
19814
|
if (builder) {
|
|
19748
19815
|
const sub = new DatabaseSubBuilder();
|
|
@@ -19751,7 +19818,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19751
19818
|
}
|
|
19752
19819
|
this._includes.push({
|
|
19753
19820
|
fieldName: "database",
|
|
19754
|
-
fragmentDoc:
|
|
19821
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseFragmentDoc,
|
|
19755
19822
|
variables,
|
|
19756
19823
|
isConnection: false,
|
|
19757
19824
|
isList: false,
|
|
@@ -19768,7 +19835,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19768
19835
|
}
|
|
19769
19836
|
/** Include document in this query (Smart Fetch — single HTTP request). */
|
|
19770
19837
|
document(variables, builder) {
|
|
19771
|
-
const info = extractIncludeInfo(
|
|
19838
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
19772
19839
|
let children;
|
|
19773
19840
|
if (builder) {
|
|
19774
19841
|
const sub = new DocumentSubBuilder();
|
|
@@ -19777,7 +19844,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19777
19844
|
}
|
|
19778
19845
|
this._includes.push({
|
|
19779
19846
|
fieldName: "document",
|
|
19780
|
-
fragmentDoc:
|
|
19847
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFragmentDoc,
|
|
19781
19848
|
variables,
|
|
19782
19849
|
isConnection: false,
|
|
19783
19850
|
isList: false,
|
|
@@ -19794,10 +19861,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19794
19861
|
}
|
|
19795
19862
|
/** Include fromRelations in this query (Smart Fetch — single HTTP request). */
|
|
19796
19863
|
fromRelations(variables) {
|
|
19797
|
-
const info = extractIncludeInfo(
|
|
19864
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
19798
19865
|
this._includes.push({
|
|
19799
19866
|
fieldName: "fromRelations",
|
|
19800
|
-
fragmentDoc:
|
|
19867
|
+
fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
|
|
19801
19868
|
variables,
|
|
19802
19869
|
isConnection: false,
|
|
19803
19870
|
isList: true,
|
|
@@ -19813,10 +19880,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19813
19880
|
}
|
|
19814
19881
|
/** Include toRelations in this query (Smart Fetch — single HTTP request). */
|
|
19815
19882
|
toRelations(variables) {
|
|
19816
|
-
const info = extractIncludeInfo(
|
|
19883
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
19817
19884
|
this._includes.push({
|
|
19818
19885
|
fieldName: "toRelations",
|
|
19819
|
-
fragmentDoc:
|
|
19886
|
+
fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
|
|
19820
19887
|
variables,
|
|
19821
19888
|
isConnection: false,
|
|
19822
19889
|
isList: true,
|
|
@@ -19840,7 +19907,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19840
19907
|
}
|
|
19841
19908
|
async fetch(options) {
|
|
19842
19909
|
const variables = this._variables;
|
|
19843
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19910
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
|
|
19844
19911
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
|
|
19845
19912
|
const data = response.userSkillFile;
|
|
19846
19913
|
const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19852,7 +19919,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19852
19919
|
watch(options) {
|
|
19853
19920
|
const variables = this._variables;
|
|
19854
19921
|
const includes = this._includes;
|
|
19855
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19922
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
|
|
19856
19923
|
const raw = this._syncEngine.watch(
|
|
19857
19924
|
queryDoc,
|
|
19858
19925
|
mergedVars,
|
|
@@ -19889,7 +19956,7 @@ var UserSkillFilesQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19889
19956
|
this._variables = variables;
|
|
19890
19957
|
}
|
|
19891
19958
|
async fetch(options) {
|
|
19892
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19959
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
|
|
19893
19960
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
|
|
19894
19961
|
const data = response.userSkillFiles;
|
|
19895
19962
|
if (!Array.isArray(data)) return [];
|
|
@@ -19905,7 +19972,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19905
19972
|
}
|
|
19906
19973
|
async fetch(options) {
|
|
19907
19974
|
const variables = this._variables;
|
|
19908
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19975
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
|
|
19909
19976
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
|
|
19910
19977
|
const data = response.userSkillFolder;
|
|
19911
19978
|
const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19917,7 +19984,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19917
19984
|
watch(options) {
|
|
19918
19985
|
const variables = this._variables;
|
|
19919
19986
|
const includes = this._includes;
|
|
19920
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19987
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
|
|
19921
19988
|
const raw = this._syncEngine.watch(
|
|
19922
19989
|
queryDoc,
|
|
19923
19990
|
mergedVars,
|
|
@@ -19954,7 +20021,7 @@ var UserSkillFoldersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19954
20021
|
this._variables = variables;
|
|
19955
20022
|
}
|
|
19956
20023
|
async fetch(options) {
|
|
19957
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20024
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
|
|
19958
20025
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
|
|
19959
20026
|
const data = response.userSkillFolders;
|
|
19960
20027
|
if (!Array.isArray(data)) return [];
|
|
@@ -19970,7 +20037,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19970
20037
|
}
|
|
19971
20038
|
async fetch(options) {
|
|
19972
20039
|
const variables = this._variables;
|
|
19973
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20040
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
|
|
19974
20041
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
|
|
19975
20042
|
const data = response.workspaceDeletionSchedule;
|
|
19976
20043
|
if (!data) return void 0;
|
|
@@ -19983,7 +20050,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19983
20050
|
watch(options) {
|
|
19984
20051
|
const variables = this._variables;
|
|
19985
20052
|
const includes = this._includes;
|
|
19986
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20053
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
|
|
19987
20054
|
const raw = this._syncEngine.watch(
|
|
19988
20055
|
queryDoc,
|
|
19989
20056
|
mergedVars,
|
|
@@ -20015,7 +20082,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20015
20082
|
};
|
|
20016
20083
|
var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
20017
20084
|
async *subscribe(variables) {
|
|
20018
|
-
for await (const response of this._subscribe(
|
|
20085
|
+
for await (const response of this._subscribe(chunkEL37Q6V6_cjs.McpAuthUpdatesDocument, variables)) {
|
|
20019
20086
|
const data = response.mcpAuthUpdates;
|
|
20020
20087
|
yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
20021
20088
|
}
|
|
@@ -20023,7 +20090,7 @@ var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20023
20090
|
};
|
|
20024
20091
|
var TokenUsageUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
20025
20092
|
async *subscribe(variables) {
|
|
20026
|
-
for await (const response of this._subscribe(
|
|
20093
|
+
for await (const response of this._subscribe(chunkEL37Q6V6_cjs.TokenUsageUpdatesDocument, variables)) {
|
|
20027
20094
|
const data = response.tokenUsageUpdates;
|
|
20028
20095
|
yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
|
|
20029
20096
|
}
|
|
@@ -20763,6 +20830,7 @@ exports.FeedArtifactData = FeedArtifactData;
|
|
|
20763
20830
|
exports.FeedConnection = FeedConnection;
|
|
20764
20831
|
exports.FeedDatabaseData = FeedDatabaseData;
|
|
20765
20832
|
exports.FeedDocumentData = FeedDocumentData;
|
|
20833
|
+
exports.FeedInsightData = FeedInsightData;
|
|
20766
20834
|
exports.FeedIntegrationData = FeedIntegrationData;
|
|
20767
20835
|
exports.FeedItem = FeedItem;
|
|
20768
20836
|
exports.FeedItemGenerated = FeedItemGenerated;
|
|
@@ -20893,7 +20961,6 @@ exports.SetDatabasePrimaryKeyMutation = SetDatabasePrimaryKeyMutation;
|
|
|
20893
20961
|
exports.StreamEventSchemaAnchor = StreamEventSchemaAnchor;
|
|
20894
20962
|
exports.StreamMessageContentOutput = StreamMessageContentOutput;
|
|
20895
20963
|
exports.StreamMessageOutput = StreamMessageOutput;
|
|
20896
|
-
exports.StreamableUiDeltaEventOutput = StreamableUiDeltaEventOutput;
|
|
20897
20964
|
exports.SyncEngine = SyncEngine;
|
|
20898
20965
|
exports.SyncEvent = SyncEvent;
|
|
20899
20966
|
exports.SyncEventCursor = SyncEventCursor;
|
|
@@ -20947,6 +21014,10 @@ exports.UserSkillFolder = UserSkillFolder;
|
|
|
20947
21014
|
exports.UserSkillFolderModel = UserSkillFolderModel;
|
|
20948
21015
|
exports.UserSkillFolderQuery = UserSkillFolderQuery;
|
|
20949
21016
|
exports.UserSkillFoldersQuery = UserSkillFoldersQuery;
|
|
21017
|
+
exports.WidgetBlockCompleteEventOutput = WidgetBlockCompleteEventOutput;
|
|
21018
|
+
exports.WidgetBlockErrorEventOutput = WidgetBlockErrorEventOutput;
|
|
21019
|
+
exports.WidgetBlockStartEventOutput = WidgetBlockStartEventOutput;
|
|
21020
|
+
exports.WidgetHtmlDeltaEventOutput = WidgetHtmlDeltaEventOutput;
|
|
20950
21021
|
exports.WindowDetailType = WindowDetailType;
|
|
20951
21022
|
exports.WorkspaceDeleteSchedule = WorkspaceDeleteSchedule;
|
|
20952
21023
|
exports.WorkspaceDeletionScheduleQuery = WorkspaceDeletionScheduleQuery;
|
|
@@ -20961,5 +21032,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
|
|
|
20961
21032
|
exports.reconstructConnectionNodes = reconstructConnectionNodes;
|
|
20962
21033
|
exports.reconstructEntity = reconstructEntity;
|
|
20963
21034
|
exports.uploadFile = uploadFile;
|
|
20964
|
-
//# sourceMappingURL=chunk-
|
|
20965
|
-
//# sourceMappingURL=chunk-
|
|
21035
|
+
//# sourceMappingURL=chunk-JI734QZE.cjs.map
|
|
21036
|
+
//# sourceMappingURL=chunk-JI734QZE.cjs.map
|