@dvina/sdk 4.0.154 → 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-U6OTURUL.js → _generated_documents-74CN3SRN.js} +3 -3
- package/dist/{_generated_documents-U6OTURUL.js.map → _generated_documents-74CN3SRN.js.map} +1 -1
- package/dist/{_generated_documents-PLPR22NI.cjs → _generated_documents-BMEC6UQQ.cjs} +552 -540
- package/dist/{_generated_documents-PLPR22NI.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-PF553ECC.js → chunk-4URBIIA3.js} +67 -20
- package/dist/chunk-4URBIIA3.js.map +1 -0
- package/dist/{chunk-DQJSHM4W.js → chunk-7XSFNAV6.js} +8 -5
- package/dist/chunk-7XSFNAV6.js.map +1 -0
- package/dist/{chunk-OCCUM5WH.cjs → chunk-EL37Q6V6.cjs} +11 -5
- package/dist/chunk-EL37Q6V6.cjs.map +1 -0
- package/dist/{chunk-J7JMEYUZ.cjs → chunk-JI734QZE.cjs} +566 -516
- package/dist/chunk-JI734QZE.cjs.map +1 -0
- package/dist/{client-DmEn_b5w.d.cts → client-CGpx9L9A.d.cts} +85 -22
- package/dist/{client-CD_6CdSh.d.ts → client-COXtGG0M.d.ts} +85 -22
- package/dist/index.cjs +406 -394
- package/dist/index.d.cts +33 -11
- package/dist/index.d.ts +33 -11
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-DQJSHM4W.js.map +0 -1
- package/dist/chunk-J7JMEYUZ.cjs.map +0 -1
- package/dist/chunk-OCCUM5WH.cjs.map +0 -1
- package/dist/chunk-PF553ECC.js.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
|
|
@@ -10297,7 +10297,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
|
|
|
10297
10297
|
var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
|
|
10298
10298
|
var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
|
|
10299
10299
|
async function uploadFile(request, getToken, file, name, options) {
|
|
10300
|
-
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-
|
|
10300
|
+
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-BMEC6UQQ.cjs');
|
|
10301
10301
|
const key = `upload_${Date.now()}`;
|
|
10302
10302
|
const response = await request(
|
|
10303
10303
|
GenerateUploadUriDocument2,
|
|
@@ -12518,8 +12518,6 @@ var StreamEventSchemaAnchor = class extends DvinaModel {
|
|
|
12518
12518
|
return new MessageStartEventOutput(request, value, syncEngine, baseUrl);
|
|
12519
12519
|
case "ReasoningEventOutput":
|
|
12520
12520
|
return new ReasoningEventOutput(request, value, syncEngine, baseUrl);
|
|
12521
|
-
case "StreamableUiDeltaEventOutput":
|
|
12522
|
-
return new StreamableUiDeltaEventOutput(request, value, syncEngine, baseUrl);
|
|
12523
12521
|
case "TextBlockEventOutput":
|
|
12524
12522
|
return new TextBlockEventOutput(request, value, syncEngine, baseUrl);
|
|
12525
12523
|
case "TextDeltaEventOutput":
|
|
@@ -12530,6 +12528,14 @@ var StreamEventSchemaAnchor = class extends DvinaModel {
|
|
|
12530
12528
|
return new ToolResultEventOutput(request, value, syncEngine, baseUrl);
|
|
12531
12529
|
case "ToolStartEventOutput":
|
|
12532
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);
|
|
12533
12539
|
default:
|
|
12534
12540
|
throw new Error("Unknown AgentStreamEvent member for StreamEventSchemaAnchor.event.");
|
|
12535
12541
|
}
|
|
@@ -12570,19 +12576,6 @@ var StreamMessageOutput = class extends DvinaModel {
|
|
|
12570
12576
|
this.contents = Array.isArray(data.contents) ? data.contents.filter(Boolean).map((item) => new StreamMessageContentOutput(request, item, syncEngine, baseUrl)) : [];
|
|
12571
12577
|
}
|
|
12572
12578
|
};
|
|
12573
|
-
var StreamableUiDeltaEventOutput = class extends DvinaModel {
|
|
12574
|
-
delta;
|
|
12575
|
-
index;
|
|
12576
|
-
toolCallId;
|
|
12577
|
-
type;
|
|
12578
|
-
constructor(request, data, syncEngine, baseUrl) {
|
|
12579
|
-
super(request, syncEngine, baseUrl);
|
|
12580
|
-
this.delta = data.delta;
|
|
12581
|
-
this.index = data.index;
|
|
12582
|
-
this.toolCallId = data.toolCallId;
|
|
12583
|
-
this.type = data.type;
|
|
12584
|
-
}
|
|
12585
|
-
};
|
|
12586
12579
|
var SyncEvent = class extends DvinaModel {
|
|
12587
12580
|
createdAt;
|
|
12588
12581
|
entityId;
|
|
@@ -12892,6 +12885,60 @@ var UserSkillFolderModel = class extends DvinaModel {
|
|
|
12892
12885
|
this.updatedAt = new Date(data.updatedAt);
|
|
12893
12886
|
}
|
|
12894
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
|
+
};
|
|
12895
12942
|
var WindowDetailType = class extends DvinaModel {
|
|
12896
12943
|
cost;
|
|
12897
12944
|
isExceeded;
|
|
@@ -13125,7 +13172,7 @@ var AgentSubBuilder = class {
|
|
|
13125
13172
|
_includes = [];
|
|
13126
13173
|
/** Include chats in the parent query. */
|
|
13127
13174
|
chats(variables, builder) {
|
|
13128
|
-
const info = extractIncludeInfo(
|
|
13175
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
13129
13176
|
let children;
|
|
13130
13177
|
if (builder) {
|
|
13131
13178
|
const sub = new ChatSubBuilder();
|
|
@@ -13134,7 +13181,7 @@ var AgentSubBuilder = class {
|
|
|
13134
13181
|
}
|
|
13135
13182
|
this._includes.push({
|
|
13136
13183
|
fieldName: "chats",
|
|
13137
|
-
fragmentDoc:
|
|
13184
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatConnectionFragmentDoc,
|
|
13138
13185
|
variables,
|
|
13139
13186
|
isConnection: true,
|
|
13140
13187
|
isList: false,
|
|
@@ -13156,7 +13203,7 @@ var ArtifactSubBuilder = class {
|
|
|
13156
13203
|
_includes = [];
|
|
13157
13204
|
/** Include chat in the parent query. */
|
|
13158
13205
|
chat(variables, builder) {
|
|
13159
|
-
const info = extractIncludeInfo(
|
|
13206
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
13160
13207
|
let children;
|
|
13161
13208
|
if (builder) {
|
|
13162
13209
|
const sub = new ChatSubBuilder();
|
|
@@ -13165,7 +13212,7 @@ var ArtifactSubBuilder = class {
|
|
|
13165
13212
|
}
|
|
13166
13213
|
this._includes.push({
|
|
13167
13214
|
fieldName: "chat",
|
|
13168
|
-
fragmentDoc:
|
|
13215
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
13169
13216
|
variables,
|
|
13170
13217
|
isConnection: false,
|
|
13171
13218
|
isList: false,
|
|
@@ -13182,10 +13229,10 @@ var ArtifactSubBuilder = class {
|
|
|
13182
13229
|
}
|
|
13183
13230
|
/** Include file in the parent query. */
|
|
13184
13231
|
file(variables) {
|
|
13185
|
-
const info = extractIncludeInfo(
|
|
13232
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
13186
13233
|
this._includes.push({
|
|
13187
13234
|
fieldName: "file",
|
|
13188
|
-
fragmentDoc:
|
|
13235
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
13189
13236
|
variables,
|
|
13190
13237
|
isConnection: false,
|
|
13191
13238
|
isList: false,
|
|
@@ -13201,7 +13248,7 @@ var ArtifactSubBuilder = class {
|
|
|
13201
13248
|
}
|
|
13202
13249
|
/** Include message in the parent query. */
|
|
13203
13250
|
message(variables, builder) {
|
|
13204
|
-
const info = extractIncludeInfo(
|
|
13251
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
13205
13252
|
let children;
|
|
13206
13253
|
if (builder) {
|
|
13207
13254
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -13210,7 +13257,7 @@ var ArtifactSubBuilder = class {
|
|
|
13210
13257
|
}
|
|
13211
13258
|
this._includes.push({
|
|
13212
13259
|
fieldName: "message",
|
|
13213
|
-
fragmentDoc:
|
|
13260
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageFragmentDoc,
|
|
13214
13261
|
variables,
|
|
13215
13262
|
isConnection: false,
|
|
13216
13263
|
isList: false,
|
|
@@ -13231,7 +13278,7 @@ var ChatSubBuilder = class {
|
|
|
13231
13278
|
_includes = [];
|
|
13232
13279
|
/** Include agents in the parent query. */
|
|
13233
13280
|
agents(variables, builder) {
|
|
13234
|
-
const info = extractIncludeInfo(
|
|
13281
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
13235
13282
|
let children;
|
|
13236
13283
|
if (builder) {
|
|
13237
13284
|
const sub = new AgentSubBuilder();
|
|
@@ -13240,7 +13287,7 @@ var ChatSubBuilder = class {
|
|
|
13240
13287
|
}
|
|
13241
13288
|
this._includes.push({
|
|
13242
13289
|
fieldName: "agents",
|
|
13243
|
-
fragmentDoc:
|
|
13290
|
+
fragmentDoc: chunkEL37Q6V6_cjs.AgentConnectionFragmentDoc,
|
|
13244
13291
|
variables,
|
|
13245
13292
|
isConnection: true,
|
|
13246
13293
|
isList: false,
|
|
@@ -13258,7 +13305,7 @@ var ChatSubBuilder = class {
|
|
|
13258
13305
|
}
|
|
13259
13306
|
/** Include artifacts in the parent query. */
|
|
13260
13307
|
artifacts(variables, builder) {
|
|
13261
|
-
const info = extractIncludeInfo(
|
|
13308
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
13262
13309
|
let children;
|
|
13263
13310
|
if (builder) {
|
|
13264
13311
|
const sub = new ArtifactSubBuilder();
|
|
@@ -13267,7 +13314,7 @@ var ChatSubBuilder = class {
|
|
|
13267
13314
|
}
|
|
13268
13315
|
this._includes.push({
|
|
13269
13316
|
fieldName: "artifacts",
|
|
13270
|
-
fragmentDoc:
|
|
13317
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
|
|
13271
13318
|
variables,
|
|
13272
13319
|
isConnection: true,
|
|
13273
13320
|
isList: false,
|
|
@@ -13285,7 +13332,7 @@ var ChatSubBuilder = class {
|
|
|
13285
13332
|
}
|
|
13286
13333
|
/** Include insight in the parent query. */
|
|
13287
13334
|
insight(variables, builder) {
|
|
13288
|
-
const info = extractIncludeInfo(
|
|
13335
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
13289
13336
|
let children;
|
|
13290
13337
|
if (builder) {
|
|
13291
13338
|
const sub = new InsightSubBuilder();
|
|
@@ -13294,7 +13341,7 @@ var ChatSubBuilder = class {
|
|
|
13294
13341
|
}
|
|
13295
13342
|
this._includes.push({
|
|
13296
13343
|
fieldName: "insight",
|
|
13297
|
-
fragmentDoc:
|
|
13344
|
+
fragmentDoc: chunkEL37Q6V6_cjs.InsightFragmentDoc,
|
|
13298
13345
|
variables,
|
|
13299
13346
|
isConnection: false,
|
|
13300
13347
|
isList: false,
|
|
@@ -13311,7 +13358,7 @@ var ChatSubBuilder = class {
|
|
|
13311
13358
|
}
|
|
13312
13359
|
/** Include messages in the parent query. */
|
|
13313
13360
|
messages(variables, builder) {
|
|
13314
|
-
const info = extractIncludeInfo(
|
|
13361
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
13315
13362
|
let children;
|
|
13316
13363
|
if (builder) {
|
|
13317
13364
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -13320,7 +13367,7 @@ var ChatSubBuilder = class {
|
|
|
13320
13367
|
}
|
|
13321
13368
|
this._includes.push({
|
|
13322
13369
|
fieldName: "messages",
|
|
13323
|
-
fragmentDoc:
|
|
13370
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageConnectionFragmentDoc,
|
|
13324
13371
|
variables,
|
|
13325
13372
|
isConnection: true,
|
|
13326
13373
|
isList: false,
|
|
@@ -13342,7 +13389,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13342
13389
|
_includes = [];
|
|
13343
13390
|
/** Include artifacts in the parent query. */
|
|
13344
13391
|
artifacts(variables, builder) {
|
|
13345
|
-
const info = extractIncludeInfo(
|
|
13392
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
13346
13393
|
let children;
|
|
13347
13394
|
if (builder) {
|
|
13348
13395
|
const sub = new ArtifactSubBuilder();
|
|
@@ -13351,7 +13398,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13351
13398
|
}
|
|
13352
13399
|
this._includes.push({
|
|
13353
13400
|
fieldName: "artifacts",
|
|
13354
|
-
fragmentDoc:
|
|
13401
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
|
|
13355
13402
|
variables,
|
|
13356
13403
|
isConnection: true,
|
|
13357
13404
|
isList: false,
|
|
@@ -13369,7 +13416,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13369
13416
|
}
|
|
13370
13417
|
/** Include chat in the parent query. */
|
|
13371
13418
|
chat(variables, builder) {
|
|
13372
|
-
const info = extractIncludeInfo(
|
|
13419
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
13373
13420
|
let children;
|
|
13374
13421
|
if (builder) {
|
|
13375
13422
|
const sub = new ChatSubBuilder();
|
|
@@ -13378,7 +13425,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13378
13425
|
}
|
|
13379
13426
|
this._includes.push({
|
|
13380
13427
|
fieldName: "chat",
|
|
13381
|
-
fragmentDoc:
|
|
13428
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
13382
13429
|
variables,
|
|
13383
13430
|
isConnection: false,
|
|
13384
13431
|
isList: false,
|
|
@@ -13395,10 +13442,10 @@ var ChatMessageSubBuilder = class {
|
|
|
13395
13442
|
}
|
|
13396
13443
|
/** Include contents in the parent query. */
|
|
13397
13444
|
contents(variables) {
|
|
13398
|
-
const info = extractIncludeInfo(
|
|
13445
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
13399
13446
|
this._includes.push({
|
|
13400
13447
|
fieldName: "contents",
|
|
13401
|
-
fragmentDoc:
|
|
13448
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ContentBlockFragmentDoc,
|
|
13402
13449
|
variables,
|
|
13403
13450
|
isConnection: false,
|
|
13404
13451
|
isList: true,
|
|
@@ -13414,10 +13461,10 @@ var ChatMessageSubBuilder = class {
|
|
|
13414
13461
|
}
|
|
13415
13462
|
/** Include feedback in the parent query. */
|
|
13416
13463
|
feedback(variables) {
|
|
13417
|
-
const info = extractIncludeInfo(
|
|
13464
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
13418
13465
|
this._includes.push({
|
|
13419
13466
|
fieldName: "feedback",
|
|
13420
|
-
fragmentDoc:
|
|
13467
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedbackFragmentDoc,
|
|
13421
13468
|
variables,
|
|
13422
13469
|
isConnection: false,
|
|
13423
13470
|
isList: false,
|
|
@@ -13437,10 +13484,10 @@ var DatabaseSubBuilder = class {
|
|
|
13437
13484
|
_includes = [];
|
|
13438
13485
|
/** Include engine in the parent query. */
|
|
13439
13486
|
engine(variables) {
|
|
13440
|
-
const info = extractIncludeInfo(
|
|
13487
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
13441
13488
|
this._includes.push({
|
|
13442
13489
|
fieldName: "engine",
|
|
13443
|
-
fragmentDoc:
|
|
13490
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
|
|
13444
13491
|
variables,
|
|
13445
13492
|
isConnection: false,
|
|
13446
13493
|
isList: false,
|
|
@@ -13456,7 +13503,7 @@ var DatabaseSubBuilder = class {
|
|
|
13456
13503
|
}
|
|
13457
13504
|
/** Include tables in the parent query. */
|
|
13458
13505
|
tables(variables, builder) {
|
|
13459
|
-
const info = extractIncludeInfo(
|
|
13506
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
13460
13507
|
let children;
|
|
13461
13508
|
if (builder) {
|
|
13462
13509
|
const sub = new TableSubBuilder();
|
|
@@ -13465,7 +13512,7 @@ var DatabaseSubBuilder = class {
|
|
|
13465
13512
|
}
|
|
13466
13513
|
this._includes.push({
|
|
13467
13514
|
fieldName: "tables",
|
|
13468
|
-
fragmentDoc:
|
|
13515
|
+
fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
|
|
13469
13516
|
variables,
|
|
13470
13517
|
isConnection: true,
|
|
13471
13518
|
isList: false,
|
|
@@ -13487,10 +13534,10 @@ var DatabaseCatalogSubBuilder = class {
|
|
|
13487
13534
|
_includes = [];
|
|
13488
13535
|
/** Include engine in the parent query. */
|
|
13489
13536
|
engine(variables) {
|
|
13490
|
-
const info = extractIncludeInfo(
|
|
13537
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
13491
13538
|
this._includes.push({
|
|
13492
13539
|
fieldName: "engine",
|
|
13493
|
-
fragmentDoc:
|
|
13540
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
|
|
13494
13541
|
variables,
|
|
13495
13542
|
isConnection: false,
|
|
13496
13543
|
isList: false,
|
|
@@ -13510,10 +13557,10 @@ var DocumentSubBuilder = class {
|
|
|
13510
13557
|
_includes = [];
|
|
13511
13558
|
/** Include contents in the parent query. */
|
|
13512
13559
|
contents(variables) {
|
|
13513
|
-
const info = extractIncludeInfo(
|
|
13560
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
13514
13561
|
this._includes.push({
|
|
13515
13562
|
fieldName: "contents",
|
|
13516
|
-
fragmentDoc:
|
|
13563
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentContentFragmentDoc,
|
|
13517
13564
|
variables,
|
|
13518
13565
|
isConnection: false,
|
|
13519
13566
|
isList: true,
|
|
@@ -13529,10 +13576,10 @@ var DocumentSubBuilder = class {
|
|
|
13529
13576
|
}
|
|
13530
13577
|
/** Include file in the parent query. */
|
|
13531
13578
|
file(variables) {
|
|
13532
|
-
const info = extractIncludeInfo(
|
|
13579
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FileDocument, "file", ["id"]);
|
|
13533
13580
|
this._includes.push({
|
|
13534
13581
|
fieldName: "file",
|
|
13535
|
-
fragmentDoc:
|
|
13582
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
13536
13583
|
variables,
|
|
13537
13584
|
isConnection: false,
|
|
13538
13585
|
isList: false,
|
|
@@ -13548,10 +13595,10 @@ var DocumentSubBuilder = class {
|
|
|
13548
13595
|
}
|
|
13549
13596
|
/** Include format in the parent query. */
|
|
13550
13597
|
format(variables) {
|
|
13551
|
-
const info = extractIncludeInfo(
|
|
13598
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FormatDocument, "format", ["id"]);
|
|
13552
13599
|
this._includes.push({
|
|
13553
13600
|
fieldName: "format",
|
|
13554
|
-
fragmentDoc:
|
|
13601
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
|
|
13555
13602
|
variables,
|
|
13556
13603
|
isConnection: false,
|
|
13557
13604
|
isList: false,
|
|
@@ -13567,7 +13614,7 @@ var DocumentSubBuilder = class {
|
|
|
13567
13614
|
}
|
|
13568
13615
|
/** Include tables in the parent query. */
|
|
13569
13616
|
tables(variables, builder) {
|
|
13570
|
-
const info = extractIncludeInfo(
|
|
13617
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
13571
13618
|
let children;
|
|
13572
13619
|
if (builder) {
|
|
13573
13620
|
const sub = new TableSubBuilder();
|
|
@@ -13576,7 +13623,7 @@ var DocumentSubBuilder = class {
|
|
|
13576
13623
|
}
|
|
13577
13624
|
this._includes.push({
|
|
13578
13625
|
fieldName: "tables",
|
|
13579
|
-
fragmentDoc:
|
|
13626
|
+
fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
|
|
13580
13627
|
variables,
|
|
13581
13628
|
isConnection: true,
|
|
13582
13629
|
isList: false,
|
|
@@ -13598,10 +13645,10 @@ var DocumentCatalogSubBuilder = class {
|
|
|
13598
13645
|
_includes = [];
|
|
13599
13646
|
/** Include format in the parent query. */
|
|
13600
13647
|
format(variables) {
|
|
13601
|
-
const info = extractIncludeInfo(
|
|
13648
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
13602
13649
|
this._includes.push({
|
|
13603
13650
|
fieldName: "format",
|
|
13604
|
-
fragmentDoc:
|
|
13651
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
|
|
13605
13652
|
variables,
|
|
13606
13653
|
isConnection: false,
|
|
13607
13654
|
isList: false,
|
|
@@ -13621,10 +13668,10 @@ var FeedItemSubBuilder = class {
|
|
|
13621
13668
|
_includes = [];
|
|
13622
13669
|
/** Include action in the parent query. */
|
|
13623
13670
|
action(variables) {
|
|
13624
|
-
const info = extractIncludeInfo(
|
|
13671
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
13625
13672
|
this._includes.push({
|
|
13626
13673
|
fieldName: "action",
|
|
13627
|
-
fragmentDoc:
|
|
13674
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedSendMessageActionFragmentDoc,
|
|
13628
13675
|
variables,
|
|
13629
13676
|
isConnection: false,
|
|
13630
13677
|
isList: false,
|
|
@@ -13640,10 +13687,10 @@ var FeedItemSubBuilder = class {
|
|
|
13640
13687
|
}
|
|
13641
13688
|
/** Include data in the parent query. */
|
|
13642
13689
|
data(variables) {
|
|
13643
|
-
const info = extractIncludeInfo(
|
|
13690
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
13644
13691
|
this._includes.push({
|
|
13645
13692
|
fieldName: "data",
|
|
13646
|
-
fragmentDoc:
|
|
13693
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedArtifactDataFragmentDoc,
|
|
13647
13694
|
variables,
|
|
13648
13695
|
isConnection: false,
|
|
13649
13696
|
isList: true,
|
|
@@ -13663,7 +13710,7 @@ var InsightSubBuilder = class {
|
|
|
13663
13710
|
_includes = [];
|
|
13664
13711
|
/** Include chat in the parent query. */
|
|
13665
13712
|
chat(variables, builder) {
|
|
13666
|
-
const info = extractIncludeInfo(
|
|
13713
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
13667
13714
|
let children;
|
|
13668
13715
|
if (builder) {
|
|
13669
13716
|
const sub = new ChatSubBuilder();
|
|
@@ -13672,7 +13719,7 @@ var InsightSubBuilder = class {
|
|
|
13672
13719
|
}
|
|
13673
13720
|
this._includes.push({
|
|
13674
13721
|
fieldName: "chat",
|
|
13675
|
-
fragmentDoc:
|
|
13722
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
13676
13723
|
variables,
|
|
13677
13724
|
isConnection: false,
|
|
13678
13725
|
isList: false,
|
|
@@ -13689,10 +13736,10 @@ var InsightSubBuilder = class {
|
|
|
13689
13736
|
}
|
|
13690
13737
|
/** Include reportMembers in the parent query. */
|
|
13691
13738
|
reportMembers(variables) {
|
|
13692
|
-
const info = extractIncludeInfo(
|
|
13739
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
13693
13740
|
this._includes.push({
|
|
13694
13741
|
fieldName: "reportMembers",
|
|
13695
|
-
fragmentDoc:
|
|
13742
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
|
|
13696
13743
|
variables,
|
|
13697
13744
|
isConnection: false,
|
|
13698
13745
|
isList: true,
|
|
@@ -13708,7 +13755,7 @@ var InsightSubBuilder = class {
|
|
|
13708
13755
|
}
|
|
13709
13756
|
/** Include reports in the parent query. */
|
|
13710
13757
|
reports(variables, builder) {
|
|
13711
|
-
const info = extractIncludeInfo(
|
|
13758
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
13712
13759
|
let children;
|
|
13713
13760
|
if (builder) {
|
|
13714
13761
|
const sub = new ReportSubBuilder();
|
|
@@ -13717,7 +13764,7 @@ var InsightSubBuilder = class {
|
|
|
13717
13764
|
}
|
|
13718
13765
|
this._includes.push({
|
|
13719
13766
|
fieldName: "reports",
|
|
13720
|
-
fragmentDoc:
|
|
13767
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportConnectionFragmentDoc,
|
|
13721
13768
|
variables,
|
|
13722
13769
|
isConnection: true,
|
|
13723
13770
|
isList: false,
|
|
@@ -13735,10 +13782,10 @@ var InsightSubBuilder = class {
|
|
|
13735
13782
|
}
|
|
13736
13783
|
/** Include thumbnailFile in the parent query. */
|
|
13737
13784
|
thumbnailFile(variables) {
|
|
13738
|
-
const info = extractIncludeInfo(
|
|
13785
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
13739
13786
|
this._includes.push({
|
|
13740
13787
|
fieldName: "thumbnailFile",
|
|
13741
|
-
fragmentDoc:
|
|
13788
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
13742
13789
|
variables,
|
|
13743
13790
|
isConnection: false,
|
|
13744
13791
|
isList: false,
|
|
@@ -13758,10 +13805,10 @@ var IntegrationSubBuilder = class {
|
|
|
13758
13805
|
_includes = [];
|
|
13759
13806
|
/** Include provider in the parent query. */
|
|
13760
13807
|
provider(variables) {
|
|
13761
|
-
const info = extractIncludeInfo(
|
|
13808
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
13762
13809
|
this._includes.push({
|
|
13763
13810
|
fieldName: "provider",
|
|
13764
|
-
fragmentDoc:
|
|
13811
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
|
|
13765
13812
|
variables,
|
|
13766
13813
|
isConnection: false,
|
|
13767
13814
|
isList: false,
|
|
@@ -13781,10 +13828,10 @@ var IntegrationCatalogSubBuilder = class {
|
|
|
13781
13828
|
_includes = [];
|
|
13782
13829
|
/** Include provider in the parent query. */
|
|
13783
13830
|
provider(variables) {
|
|
13784
|
-
const info = extractIncludeInfo(
|
|
13831
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
13785
13832
|
this._includes.push({
|
|
13786
13833
|
fieldName: "provider",
|
|
13787
|
-
fragmentDoc:
|
|
13834
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
|
|
13788
13835
|
variables,
|
|
13789
13836
|
isConnection: false,
|
|
13790
13837
|
isList: false,
|
|
@@ -13804,7 +13851,7 @@ var PulseEventSubBuilder = class {
|
|
|
13804
13851
|
_includes = [];
|
|
13805
13852
|
/** Include integration in the parent query. */
|
|
13806
13853
|
integration(variables, builder) {
|
|
13807
|
-
const info = extractIncludeInfo(
|
|
13854
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
13808
13855
|
let children;
|
|
13809
13856
|
if (builder) {
|
|
13810
13857
|
const sub = new IntegrationSubBuilder();
|
|
@@ -13813,7 +13860,7 @@ var PulseEventSubBuilder = class {
|
|
|
13813
13860
|
}
|
|
13814
13861
|
this._includes.push({
|
|
13815
13862
|
fieldName: "integration",
|
|
13816
|
-
fragmentDoc:
|
|
13863
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationFragmentDoc,
|
|
13817
13864
|
variables,
|
|
13818
13865
|
isConnection: false,
|
|
13819
13866
|
isList: false,
|
|
@@ -13834,7 +13881,7 @@ var ReportSubBuilder = class {
|
|
|
13834
13881
|
_includes = [];
|
|
13835
13882
|
/** Include insights in the parent query. */
|
|
13836
13883
|
insights(variables, builder) {
|
|
13837
|
-
const info = extractIncludeInfo(
|
|
13884
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
13838
13885
|
let children;
|
|
13839
13886
|
if (builder) {
|
|
13840
13887
|
const sub = new InsightSubBuilder();
|
|
@@ -13843,7 +13890,7 @@ var ReportSubBuilder = class {
|
|
|
13843
13890
|
}
|
|
13844
13891
|
this._includes.push({
|
|
13845
13892
|
fieldName: "insights",
|
|
13846
|
-
fragmentDoc:
|
|
13893
|
+
fragmentDoc: chunkEL37Q6V6_cjs.InsightConnectionFragmentDoc,
|
|
13847
13894
|
variables,
|
|
13848
13895
|
isConnection: true,
|
|
13849
13896
|
isList: false,
|
|
@@ -13861,10 +13908,10 @@ var ReportSubBuilder = class {
|
|
|
13861
13908
|
}
|
|
13862
13909
|
/** Include layout in the parent query. */
|
|
13863
13910
|
layout(variables) {
|
|
13864
|
-
const info = extractIncludeInfo(
|
|
13911
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
13865
13912
|
this._includes.push({
|
|
13866
13913
|
fieldName: "layout",
|
|
13867
|
-
fragmentDoc:
|
|
13914
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
|
|
13868
13915
|
variables,
|
|
13869
13916
|
isConnection: false,
|
|
13870
13917
|
isList: true,
|
|
@@ -13884,7 +13931,7 @@ var TableSubBuilder = class {
|
|
|
13884
13931
|
_includes = [];
|
|
13885
13932
|
/** Include database in the parent query. */
|
|
13886
13933
|
database(variables, builder) {
|
|
13887
|
-
const info = extractIncludeInfo(
|
|
13934
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
13888
13935
|
let children;
|
|
13889
13936
|
if (builder) {
|
|
13890
13937
|
const sub = new DatabaseSubBuilder();
|
|
@@ -13893,7 +13940,7 @@ var TableSubBuilder = class {
|
|
|
13893
13940
|
}
|
|
13894
13941
|
this._includes.push({
|
|
13895
13942
|
fieldName: "database",
|
|
13896
|
-
fragmentDoc:
|
|
13943
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseFragmentDoc,
|
|
13897
13944
|
variables,
|
|
13898
13945
|
isConnection: false,
|
|
13899
13946
|
isList: false,
|
|
@@ -13910,7 +13957,7 @@ var TableSubBuilder = class {
|
|
|
13910
13957
|
}
|
|
13911
13958
|
/** Include document in the parent query. */
|
|
13912
13959
|
document(variables, builder) {
|
|
13913
|
-
const info = extractIncludeInfo(
|
|
13960
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
13914
13961
|
let children;
|
|
13915
13962
|
if (builder) {
|
|
13916
13963
|
const sub = new DocumentSubBuilder();
|
|
@@ -13919,7 +13966,7 @@ var TableSubBuilder = class {
|
|
|
13919
13966
|
}
|
|
13920
13967
|
this._includes.push({
|
|
13921
13968
|
fieldName: "document",
|
|
13922
|
-
fragmentDoc:
|
|
13969
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFragmentDoc,
|
|
13923
13970
|
variables,
|
|
13924
13971
|
isConnection: false,
|
|
13925
13972
|
isList: false,
|
|
@@ -13936,10 +13983,10 @@ var TableSubBuilder = class {
|
|
|
13936
13983
|
}
|
|
13937
13984
|
/** Include fromRelations in the parent query. */
|
|
13938
13985
|
fromRelations(variables) {
|
|
13939
|
-
const info = extractIncludeInfo(
|
|
13986
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
13940
13987
|
this._includes.push({
|
|
13941
13988
|
fieldName: "fromRelations",
|
|
13942
|
-
fragmentDoc:
|
|
13989
|
+
fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
|
|
13943
13990
|
variables,
|
|
13944
13991
|
isConnection: false,
|
|
13945
13992
|
isList: true,
|
|
@@ -13955,10 +14002,10 @@ var TableSubBuilder = class {
|
|
|
13955
14002
|
}
|
|
13956
14003
|
/** Include toRelations in the parent query. */
|
|
13957
14004
|
toRelations(variables) {
|
|
13958
|
-
const info = extractIncludeInfo(
|
|
14005
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
13959
14006
|
this._includes.push({
|
|
13960
14007
|
fieldName: "toRelations",
|
|
13961
|
-
fragmentDoc:
|
|
14008
|
+
fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
|
|
13962
14009
|
variables,
|
|
13963
14010
|
isConnection: false,
|
|
13964
14011
|
isList: true,
|
|
@@ -13975,454 +14022,454 @@ var TableSubBuilder = class {
|
|
|
13975
14022
|
};
|
|
13976
14023
|
var AbortChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
13977
14024
|
async fetch(variables) {
|
|
13978
|
-
const response = await this._syncEngine.mutate(
|
|
14025
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.AbortChatDocument, variables, MUTATION_CACHE_RULES["abortChat"]);
|
|
13979
14026
|
return response.abortChat;
|
|
13980
14027
|
}
|
|
13981
14028
|
};
|
|
13982
14029
|
var AddInsightToReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
13983
14030
|
async fetch(variables, options) {
|
|
13984
|
-
const response = await this._syncEngine.mutate(
|
|
14031
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
|
|
13985
14032
|
const data = response.addInsightToReport;
|
|
13986
14033
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
13987
14034
|
}
|
|
13988
14035
|
};
|
|
13989
14036
|
var CancelOauthFlowMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
13990
14037
|
async fetch(variables) {
|
|
13991
|
-
const response = await this._syncEngine.mutate(
|
|
14038
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
|
|
13992
14039
|
return response.cancelOauthFlow;
|
|
13993
14040
|
}
|
|
13994
14041
|
};
|
|
13995
14042
|
var CancelWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
13996
14043
|
async fetch(variables) {
|
|
13997
|
-
const response = await this._syncEngine.mutate(
|
|
14044
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
|
|
13998
14045
|
return response.cancelWorkspaceDeletion;
|
|
13999
14046
|
}
|
|
14000
14047
|
};
|
|
14001
14048
|
var ConnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14002
14049
|
async fetch(variables, options) {
|
|
14003
|
-
const response = await this._syncEngine.mutate(
|
|
14050
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
|
|
14004
14051
|
const data = response.connectIntegration;
|
|
14005
14052
|
return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14006
14053
|
}
|
|
14007
14054
|
};
|
|
14008
14055
|
var ConsumePulseEventsMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14009
14056
|
async fetch(variables) {
|
|
14010
|
-
const response = await this._syncEngine.mutate(
|
|
14057
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
|
|
14011
14058
|
return response.consumePulseEvents;
|
|
14012
14059
|
}
|
|
14013
14060
|
};
|
|
14014
14061
|
var ContinueImportedChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14015
14062
|
async fetch(variables) {
|
|
14016
|
-
const response = await this._syncEngine.mutate(
|
|
14063
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
|
|
14017
14064
|
return response.continueImportedChat;
|
|
14018
14065
|
}
|
|
14019
14066
|
};
|
|
14020
14067
|
var ContinueInterpretationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14021
14068
|
async fetch(variables) {
|
|
14022
|
-
const response = await this._syncEngine.mutate(
|
|
14069
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
|
|
14023
14070
|
return response.continueInterpretation;
|
|
14024
14071
|
}
|
|
14025
14072
|
};
|
|
14026
14073
|
var CreateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14027
14074
|
async fetch(variables, options) {
|
|
14028
|
-
const response = await this._syncEngine.mutate(
|
|
14075
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
|
|
14029
14076
|
const data = response.createAgent;
|
|
14030
14077
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14031
14078
|
}
|
|
14032
14079
|
};
|
|
14033
14080
|
var CreateChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14034
14081
|
async fetch(variables, options) {
|
|
14035
|
-
const response = await this._syncEngine.mutate(
|
|
14082
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
|
|
14036
14083
|
const data = response.createChat;
|
|
14037
14084
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14038
14085
|
}
|
|
14039
14086
|
};
|
|
14040
14087
|
var CreateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14041
14088
|
async fetch(variables, options) {
|
|
14042
|
-
const response = await this._syncEngine.mutate(
|
|
14089
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
|
|
14043
14090
|
const data = response.createDatabase;
|
|
14044
14091
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14045
14092
|
}
|
|
14046
14093
|
};
|
|
14047
14094
|
var CreateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14048
14095
|
async fetch(variables, options) {
|
|
14049
|
-
const response = await this._syncEngine.mutate(
|
|
14096
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
|
|
14050
14097
|
const data = response.createDocument;
|
|
14051
14098
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14052
14099
|
}
|
|
14053
14100
|
};
|
|
14054
14101
|
var CreateFeedbackMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14055
14102
|
async fetch(variables, options) {
|
|
14056
|
-
const response = await this._syncEngine.mutate(
|
|
14103
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
|
|
14057
14104
|
const data = response.createFeedback;
|
|
14058
14105
|
return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
|
|
14059
14106
|
}
|
|
14060
14107
|
};
|
|
14061
14108
|
var CreateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14062
14109
|
async fetch(variables, options) {
|
|
14063
|
-
const response = await this._syncEngine.mutate(
|
|
14110
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
|
|
14064
14111
|
const data = response.createFolder;
|
|
14065
14112
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14066
14113
|
}
|
|
14067
14114
|
};
|
|
14068
14115
|
var CreateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14069
14116
|
async fetch(variables, options) {
|
|
14070
|
-
const response = await this._syncEngine.mutate(
|
|
14117
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
|
|
14071
14118
|
const data = response.createInsight;
|
|
14072
14119
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14073
14120
|
}
|
|
14074
14121
|
};
|
|
14075
14122
|
var CreateIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14076
14123
|
async fetch(variables, options) {
|
|
14077
|
-
const response = await this._syncEngine.mutate(
|
|
14124
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
|
|
14078
14125
|
const data = response.createIntegration;
|
|
14079
14126
|
return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14080
14127
|
}
|
|
14081
14128
|
};
|
|
14082
14129
|
var CreateReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14083
14130
|
async fetch(variables, options) {
|
|
14084
|
-
const response = await this._syncEngine.mutate(
|
|
14131
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
|
|
14085
14132
|
const data = response.createReport;
|
|
14086
14133
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14087
14134
|
}
|
|
14088
14135
|
};
|
|
14089
14136
|
var CreateTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14090
14137
|
async fetch(variables, options) {
|
|
14091
|
-
const response = await this._syncEngine.mutate(
|
|
14138
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
|
|
14092
14139
|
const data = response.createTable;
|
|
14093
14140
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14094
14141
|
}
|
|
14095
14142
|
};
|
|
14096
14143
|
var CreateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14097
14144
|
async fetch(variables, options) {
|
|
14098
|
-
const response = await this._syncEngine.mutate(
|
|
14145
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
|
|
14099
14146
|
const data = response.createUserSkillFile;
|
|
14100
14147
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14101
14148
|
}
|
|
14102
14149
|
};
|
|
14103
14150
|
var CreateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14104
14151
|
async fetch(variables, options) {
|
|
14105
|
-
const response = await this._syncEngine.mutate(
|
|
14152
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
|
|
14106
14153
|
const data = response.createUserSkillFolder;
|
|
14107
14154
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14108
14155
|
}
|
|
14109
14156
|
};
|
|
14110
14157
|
var DeleteAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14111
14158
|
async fetch(variables, options) {
|
|
14112
|
-
const response = await this._syncEngine.mutate(
|
|
14159
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
|
|
14113
14160
|
const data = response.deleteAgent;
|
|
14114
14161
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14115
14162
|
}
|
|
14116
14163
|
};
|
|
14117
14164
|
var DeleteArtifactMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14118
14165
|
async fetch(variables, options) {
|
|
14119
|
-
const response = await this._syncEngine.mutate(
|
|
14166
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
|
|
14120
14167
|
const data = response.deleteArtifact;
|
|
14121
14168
|
return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
14122
14169
|
}
|
|
14123
14170
|
};
|
|
14124
14171
|
var DeleteChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14125
14172
|
async fetch(variables, options) {
|
|
14126
|
-
const response = await this._syncEngine.mutate(
|
|
14173
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
|
|
14127
14174
|
const data = response.deleteChat;
|
|
14128
14175
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14129
14176
|
}
|
|
14130
14177
|
};
|
|
14131
14178
|
var DeleteDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14132
14179
|
async fetch(variables, options) {
|
|
14133
|
-
const response = await this._syncEngine.mutate(
|
|
14180
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
|
|
14134
14181
|
const data = response.deleteDatabase;
|
|
14135
14182
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14136
14183
|
}
|
|
14137
14184
|
};
|
|
14138
14185
|
var DeleteDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14139
14186
|
async fetch(variables, options) {
|
|
14140
|
-
const response = await this._syncEngine.mutate(
|
|
14187
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
|
|
14141
14188
|
const data = response.deleteDocument;
|
|
14142
14189
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14143
14190
|
}
|
|
14144
14191
|
};
|
|
14145
14192
|
var DeleteFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14146
14193
|
async fetch(variables, options) {
|
|
14147
|
-
const response = await this._syncEngine.mutate(
|
|
14194
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
|
|
14148
14195
|
const data = response.deleteFolder;
|
|
14149
14196
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14150
14197
|
}
|
|
14151
14198
|
};
|
|
14152
14199
|
var DeleteInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14153
14200
|
async fetch(variables, options) {
|
|
14154
|
-
const response = await this._syncEngine.mutate(
|
|
14201
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
|
|
14155
14202
|
const data = response.deleteInsight;
|
|
14156
14203
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14157
14204
|
}
|
|
14158
14205
|
};
|
|
14159
14206
|
var DeleteInsightsMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14160
14207
|
async fetch(variables, options) {
|
|
14161
|
-
const response = await this._syncEngine.mutate(
|
|
14208
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
|
|
14162
14209
|
const data = response.deleteInsights;
|
|
14163
14210
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14164
14211
|
}
|
|
14165
14212
|
};
|
|
14166
14213
|
var DeleteIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14167
14214
|
async fetch(variables) {
|
|
14168
|
-
const response = await this._syncEngine.mutate(
|
|
14215
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
|
|
14169
14216
|
return response.deleteIntegration;
|
|
14170
14217
|
}
|
|
14171
14218
|
};
|
|
14172
14219
|
var DeleteReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14173
14220
|
async fetch(variables, options) {
|
|
14174
|
-
const response = await this._syncEngine.mutate(
|
|
14221
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
|
|
14175
14222
|
const data = response.deleteReport;
|
|
14176
14223
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14177
14224
|
}
|
|
14178
14225
|
};
|
|
14179
14226
|
var DeleteTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14180
14227
|
async fetch(variables, options) {
|
|
14181
|
-
const response = await this._syncEngine.mutate(
|
|
14228
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
|
|
14182
14229
|
const data = response.deleteTable;
|
|
14183
14230
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14184
14231
|
}
|
|
14185
14232
|
};
|
|
14186
14233
|
var DeleteUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14187
14234
|
async fetch(variables, options) {
|
|
14188
|
-
const response = await this._syncEngine.mutate(
|
|
14235
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
|
|
14189
14236
|
const data = response.deleteUserSkillFile;
|
|
14190
14237
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14191
14238
|
}
|
|
14192
14239
|
};
|
|
14193
14240
|
var DeleteUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14194
14241
|
async fetch(variables, options) {
|
|
14195
|
-
const response = await this._syncEngine.mutate(
|
|
14242
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
|
|
14196
14243
|
const data = response.deleteUserSkillFolder;
|
|
14197
14244
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14198
14245
|
}
|
|
14199
14246
|
};
|
|
14200
14247
|
var DisconnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14201
14248
|
async fetch(variables) {
|
|
14202
|
-
const response = await this._syncEngine.mutate(
|
|
14249
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
|
|
14203
14250
|
return response.disconnectIntegration;
|
|
14204
14251
|
}
|
|
14205
14252
|
};
|
|
14206
14253
|
var DismissPulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14207
14254
|
async fetch(variables, options) {
|
|
14208
|
-
const response = await this._syncEngine.mutate(
|
|
14255
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
|
|
14209
14256
|
const data = response.dismissPulseEvent;
|
|
14210
14257
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14211
14258
|
}
|
|
14212
14259
|
};
|
|
14213
14260
|
var ExecuteChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14214
14261
|
async fetch(variables, options) {
|
|
14215
|
-
const response = await this._syncEngine.mutate(
|
|
14262
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
|
|
14216
14263
|
const data = response.executeChatImport;
|
|
14217
14264
|
return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14218
14265
|
}
|
|
14219
14266
|
};
|
|
14220
14267
|
var GenerateUploadUriMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14221
14268
|
async fetch(variables, options) {
|
|
14222
|
-
const response = await this._syncEngine.mutate(
|
|
14269
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
|
|
14223
14270
|
const data = response.generateUploadUri;
|
|
14224
14271
|
return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14225
14272
|
}
|
|
14226
14273
|
};
|
|
14227
14274
|
var PreviewChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14228
14275
|
async fetch(variables, options) {
|
|
14229
|
-
const response = await this._syncEngine.mutate(
|
|
14276
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
|
|
14230
14277
|
const data = response.previewChatImport;
|
|
14231
14278
|
return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14232
14279
|
}
|
|
14233
14280
|
};
|
|
14234
14281
|
var ReanalyzeDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14235
14282
|
async fetch(variables, options) {
|
|
14236
|
-
const response = await this._syncEngine.mutate(
|
|
14283
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
|
|
14237
14284
|
const data = response.reanalyzeDocument;
|
|
14238
14285
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14239
14286
|
}
|
|
14240
14287
|
};
|
|
14241
14288
|
var RefineMindInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14242
14289
|
async fetch(variables) {
|
|
14243
|
-
const response = await this._syncEngine.mutate(
|
|
14290
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
|
|
14244
14291
|
return response.refineMindInstruction;
|
|
14245
14292
|
}
|
|
14246
14293
|
};
|
|
14247
14294
|
var RefreshDatabaseSchemaMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14248
14295
|
async fetch(variables) {
|
|
14249
|
-
const response = await this._syncEngine.mutate(
|
|
14296
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
|
|
14250
14297
|
return response.refreshDatabaseSchema;
|
|
14251
14298
|
}
|
|
14252
14299
|
};
|
|
14253
14300
|
var RefreshInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14254
14301
|
async fetch(variables, options) {
|
|
14255
|
-
const response = await this._syncEngine.mutate(
|
|
14302
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
|
|
14256
14303
|
const data = response.refreshInsight;
|
|
14257
14304
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14258
14305
|
}
|
|
14259
14306
|
};
|
|
14260
14307
|
var ReinterpretSourceMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14261
14308
|
async fetch(variables) {
|
|
14262
|
-
const response = await this._syncEngine.mutate(
|
|
14309
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
|
|
14263
14310
|
return response.reinterpretSource;
|
|
14264
14311
|
}
|
|
14265
14312
|
};
|
|
14266
14313
|
var ReinterpretSourcesOfuserMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14267
14314
|
async fetch(variables) {
|
|
14268
|
-
const response = await this._syncEngine.mutate(
|
|
14315
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
|
|
14269
14316
|
return response.reinterpretSourcesOfuser;
|
|
14270
14317
|
}
|
|
14271
14318
|
};
|
|
14272
14319
|
var RelocateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14273
14320
|
async fetch(variables, options) {
|
|
14274
|
-
const response = await this._syncEngine.mutate(
|
|
14321
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
|
|
14275
14322
|
const data = response.relocateInsight;
|
|
14276
14323
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14277
14324
|
}
|
|
14278
14325
|
};
|
|
14279
14326
|
var RemoveInsightFromReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14280
14327
|
async fetch(variables, options) {
|
|
14281
|
-
const response = await this._syncEngine.mutate(
|
|
14328
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
|
|
14282
14329
|
const data = response.removeInsightFromReport;
|
|
14283
14330
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14284
14331
|
}
|
|
14285
14332
|
};
|
|
14286
14333
|
var ResetWorkspaceMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14287
14334
|
async fetch(variables) {
|
|
14288
|
-
const response = await this._syncEngine.mutate(
|
|
14335
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
|
|
14289
14336
|
return response.resetWorkspace;
|
|
14290
14337
|
}
|
|
14291
14338
|
};
|
|
14292
14339
|
var ResolvePulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14293
14340
|
async fetch(variables, options) {
|
|
14294
|
-
const response = await this._syncEngine.mutate(
|
|
14341
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
|
|
14295
14342
|
const data = response.resolvePulseEvent;
|
|
14296
14343
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14297
14344
|
}
|
|
14298
14345
|
};
|
|
14299
14346
|
var ScheduleWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14300
14347
|
async fetch(variables, options) {
|
|
14301
|
-
const response = await this._syncEngine.mutate(
|
|
14348
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
|
|
14302
14349
|
const data = response.scheduleWorkspaceDeletion;
|
|
14303
14350
|
return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
|
|
14304
14351
|
}
|
|
14305
14352
|
};
|
|
14306
14353
|
var SendMessageMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14307
14354
|
async fetch(variables, options) {
|
|
14308
|
-
const response = await this._syncEngine.mutate(
|
|
14355
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.SendMessageDocument, variables, MUTATION_CACHE_RULES["sendMessage"]);
|
|
14309
14356
|
const data = response.sendMessage;
|
|
14310
14357
|
return new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
|
|
14311
14358
|
}
|
|
14312
14359
|
};
|
|
14313
14360
|
var SetDatabasePrimaryKeyMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14314
14361
|
async fetch(variables) {
|
|
14315
|
-
const response = await this._syncEngine.mutate(
|
|
14362
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
|
|
14316
14363
|
return response.setDatabasePrimaryKey;
|
|
14317
14364
|
}
|
|
14318
14365
|
};
|
|
14319
14366
|
var UpdateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14320
14367
|
async fetch(variables, options) {
|
|
14321
|
-
const response = await this._syncEngine.mutate(
|
|
14368
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
|
|
14322
14369
|
const data = response.updateAgent;
|
|
14323
14370
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14324
14371
|
}
|
|
14325
14372
|
};
|
|
14326
14373
|
var UpdateArtifactNameMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14327
14374
|
async fetch(variables, options) {
|
|
14328
|
-
const response = await this._syncEngine.mutate(
|
|
14375
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"]);
|
|
14329
14376
|
const data = response.updateArtifactName;
|
|
14330
14377
|
return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
14331
14378
|
}
|
|
14332
14379
|
};
|
|
14333
14380
|
var UpdateChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14334
14381
|
async fetch(variables, options) {
|
|
14335
|
-
const response = await this._syncEngine.mutate(
|
|
14382
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
|
|
14336
14383
|
const data = response.updateChat;
|
|
14337
14384
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14338
14385
|
}
|
|
14339
14386
|
};
|
|
14340
14387
|
var UpdateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14341
14388
|
async fetch(variables, options) {
|
|
14342
|
-
const response = await this._syncEngine.mutate(
|
|
14389
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
|
|
14343
14390
|
const data = response.updateDatabase;
|
|
14344
14391
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14345
14392
|
}
|
|
14346
14393
|
};
|
|
14347
14394
|
var UpdateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14348
14395
|
async fetch(variables, options) {
|
|
14349
|
-
const response = await this._syncEngine.mutate(
|
|
14396
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
|
|
14350
14397
|
const data = response.updateDocument;
|
|
14351
14398
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14352
14399
|
}
|
|
14353
14400
|
};
|
|
14354
14401
|
var UpdateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14355
14402
|
async fetch(variables, options) {
|
|
14356
|
-
const response = await this._syncEngine.mutate(
|
|
14403
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
|
|
14357
14404
|
const data = response.updateFolder;
|
|
14358
14405
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14359
14406
|
}
|
|
14360
14407
|
};
|
|
14361
14408
|
var UpdateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14362
14409
|
async fetch(variables, options) {
|
|
14363
|
-
const response = await this._syncEngine.mutate(
|
|
14410
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
|
|
14364
14411
|
const data = response.updateInsight;
|
|
14365
14412
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14366
14413
|
}
|
|
14367
14414
|
};
|
|
14368
14415
|
var UpdateInsightInReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14369
14416
|
async fetch(variables, options) {
|
|
14370
|
-
const response = await this._syncEngine.mutate(
|
|
14417
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
|
|
14371
14418
|
const data = response.updateInsightInReport;
|
|
14372
14419
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14373
14420
|
}
|
|
14374
14421
|
};
|
|
14375
14422
|
var UpdateInsightThumbnailMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14376
14423
|
async fetch(variables) {
|
|
14377
|
-
const response = await this._syncEngine.mutate(
|
|
14424
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
|
|
14378
14425
|
return response.updateInsightThumbnail;
|
|
14379
14426
|
}
|
|
14380
14427
|
};
|
|
14381
14428
|
var UpdateInterpMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14382
14429
|
async fetch(variables, options) {
|
|
14383
|
-
const response = await this._syncEngine.mutate(
|
|
14430
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
|
|
14384
14431
|
const data = response.updateInterp;
|
|
14385
14432
|
return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
|
|
14386
14433
|
}
|
|
14387
14434
|
};
|
|
14388
14435
|
var UpdateLiveContextMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14389
14436
|
async fetch(variables, options) {
|
|
14390
|
-
const response = await this._syncEngine.mutate(
|
|
14437
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateLiveContextDocument, variables, MUTATION_CACHE_RULES["updateLiveContext"]);
|
|
14391
14438
|
const data = response.updateLiveContext;
|
|
14392
14439
|
return new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
|
|
14393
14440
|
}
|
|
14394
14441
|
};
|
|
14395
14442
|
var UpdatePulseTriggerMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14396
14443
|
async fetch(variables, options) {
|
|
14397
|
-
const response = await this._syncEngine.mutate(
|
|
14444
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
|
|
14398
14445
|
const data = response.updatePulseTrigger;
|
|
14399
14446
|
return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14400
14447
|
}
|
|
14401
14448
|
};
|
|
14402
14449
|
var UpdateReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14403
14450
|
async fetch(variables, options) {
|
|
14404
|
-
const response = await this._syncEngine.mutate(
|
|
14451
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
|
|
14405
14452
|
const data = response.updateReport;
|
|
14406
14453
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14407
14454
|
}
|
|
14408
14455
|
};
|
|
14409
14456
|
var UpdateTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14410
14457
|
async fetch(variables, options) {
|
|
14411
|
-
const response = await this._syncEngine.mutate(
|
|
14458
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
|
|
14412
14459
|
const data = response.updateTable;
|
|
14413
14460
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14414
14461
|
}
|
|
14415
14462
|
};
|
|
14416
14463
|
var UpdateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14417
14464
|
async fetch(variables, options) {
|
|
14418
|
-
const response = await this._syncEngine.mutate(
|
|
14465
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
|
|
14419
14466
|
const data = response.updateUserSkillFile;
|
|
14420
14467
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14421
14468
|
}
|
|
14422
14469
|
};
|
|
14423
14470
|
var UpdateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14424
14471
|
async fetch(variables, options) {
|
|
14425
|
-
const response = await this._syncEngine.mutate(
|
|
14472
|
+
const response = await this._syncEngine.mutate(chunkEL37Q6V6_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
|
|
14426
14473
|
const data = response.updateUserSkillFolder;
|
|
14427
14474
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14428
14475
|
}
|
|
@@ -14436,7 +14483,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14436
14483
|
}
|
|
14437
14484
|
async fetch(options) {
|
|
14438
14485
|
const variables = this._variables;
|
|
14439
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14486
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentDocument, "agent", this._includes, variables);
|
|
14440
14487
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
|
|
14441
14488
|
const data = response.agent;
|
|
14442
14489
|
const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -14448,7 +14495,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14448
14495
|
watch(options) {
|
|
14449
14496
|
const variables = this._variables;
|
|
14450
14497
|
const includes = this._includes;
|
|
14451
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14498
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentDocument, "agent", includes, variables);
|
|
14452
14499
|
const raw = this._syncEngine.watch(
|
|
14453
14500
|
queryDoc,
|
|
14454
14501
|
mergedVars,
|
|
@@ -14478,7 +14525,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14478
14525
|
}
|
|
14479
14526
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
14480
14527
|
chats(variables, builder) {
|
|
14481
|
-
const info = extractIncludeInfo(
|
|
14528
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
14482
14529
|
let children;
|
|
14483
14530
|
if (builder) {
|
|
14484
14531
|
const sub = new ChatSubBuilder();
|
|
@@ -14487,7 +14534,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14487
14534
|
}
|
|
14488
14535
|
this._includes.push({
|
|
14489
14536
|
fieldName: "chats",
|
|
14490
|
-
fragmentDoc:
|
|
14537
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatConnectionFragmentDoc,
|
|
14491
14538
|
variables,
|
|
14492
14539
|
isConnection: true,
|
|
14493
14540
|
isList: false,
|
|
@@ -14512,18 +14559,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
14512
14559
|
}
|
|
14513
14560
|
async fetch(options) {
|
|
14514
14561
|
const variables = this._variables;
|
|
14515
|
-
const response = await this._syncEngine.query(
|
|
14562
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Agent_ChatsDocument, variables, "agent");
|
|
14516
14563
|
const data = response.agent?.chats;
|
|
14517
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);
|
|
14518
14565
|
}
|
|
14519
14566
|
watch(options) {
|
|
14520
14567
|
const variables = this._variables;
|
|
14521
14568
|
const raw = this._syncEngine.watch(
|
|
14522
|
-
|
|
14569
|
+
chunkEL37Q6V6_cjs.Agent_ChatsDocument,
|
|
14523
14570
|
variables,
|
|
14524
14571
|
"agent",
|
|
14525
14572
|
async (db) => {
|
|
14526
|
-
const qr = await db._queryResults.get(buildQueryKey("agent", variables,
|
|
14573
|
+
const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkEL37Q6V6_cjs.Agent_ChatsDocument));
|
|
14527
14574
|
const nodes = qr ? await db.table("chats").bulkGet(qr.entityIds) : [];
|
|
14528
14575
|
return { agent: { chats: { __typename: "ChatConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
14529
14576
|
}
|
|
@@ -14543,7 +14590,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14543
14590
|
}
|
|
14544
14591
|
async fetch(options) {
|
|
14545
14592
|
const variables = this._variables;
|
|
14546
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14593
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentsDocument, "agents", this._includes, variables, true);
|
|
14547
14594
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
|
|
14548
14595
|
const data = response.agents;
|
|
14549
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);
|
|
@@ -14560,7 +14607,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14560
14607
|
const subscriptionId = crypto.randomUUID();
|
|
14561
14608
|
const includes = this._includes;
|
|
14562
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) }] : []);
|
|
14563
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14610
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.AgentsDocument, "agents", includes, variables, true);
|
|
14564
14611
|
const raw = this._syncEngine.watch(
|
|
14565
14612
|
queryDoc,
|
|
14566
14613
|
mergedVars,
|
|
@@ -14595,7 +14642,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14595
14642
|
}
|
|
14596
14643
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
14597
14644
|
chats(variables, builder) {
|
|
14598
|
-
const info = extractIncludeInfo(
|
|
14645
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
14599
14646
|
let children;
|
|
14600
14647
|
if (builder) {
|
|
14601
14648
|
const sub = new ChatSubBuilder();
|
|
@@ -14604,7 +14651,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14604
14651
|
}
|
|
14605
14652
|
this._includes.push({
|
|
14606
14653
|
fieldName: "chats",
|
|
14607
|
-
fragmentDoc:
|
|
14654
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatConnectionFragmentDoc,
|
|
14608
14655
|
variables,
|
|
14609
14656
|
isConnection: true,
|
|
14610
14657
|
isList: false,
|
|
@@ -14630,7 +14677,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14630
14677
|
}
|
|
14631
14678
|
async fetch(options) {
|
|
14632
14679
|
const variables = this._variables;
|
|
14633
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14680
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactDocument, "artifact", this._includes, variables);
|
|
14634
14681
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
|
|
14635
14682
|
const data = response.artifact;
|
|
14636
14683
|
const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -14642,7 +14689,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14642
14689
|
watch(options) {
|
|
14643
14690
|
const variables = this._variables;
|
|
14644
14691
|
const includes = this._includes;
|
|
14645
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14692
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactDocument, "artifact", includes, variables);
|
|
14646
14693
|
const raw = this._syncEngine.watch(
|
|
14647
14694
|
queryDoc,
|
|
14648
14695
|
mergedVars,
|
|
@@ -14672,7 +14719,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14672
14719
|
}
|
|
14673
14720
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
14674
14721
|
chat(variables, builder) {
|
|
14675
|
-
const info = extractIncludeInfo(
|
|
14722
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
14676
14723
|
let children;
|
|
14677
14724
|
if (builder) {
|
|
14678
14725
|
const sub = new ChatSubBuilder();
|
|
@@ -14681,7 +14728,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14681
14728
|
}
|
|
14682
14729
|
this._includes.push({
|
|
14683
14730
|
fieldName: "chat",
|
|
14684
|
-
fragmentDoc:
|
|
14731
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
14685
14732
|
variables,
|
|
14686
14733
|
isConnection: false,
|
|
14687
14734
|
isList: false,
|
|
@@ -14698,10 +14745,10 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14698
14745
|
}
|
|
14699
14746
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
14700
14747
|
file(variables) {
|
|
14701
|
-
const info = extractIncludeInfo(
|
|
14748
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
14702
14749
|
this._includes.push({
|
|
14703
14750
|
fieldName: "file",
|
|
14704
|
-
fragmentDoc:
|
|
14751
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
14705
14752
|
variables,
|
|
14706
14753
|
isConnection: false,
|
|
14707
14754
|
isList: false,
|
|
@@ -14717,7 +14764,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14717
14764
|
}
|
|
14718
14765
|
/** Include message in this query (Smart Fetch — single HTTP request). */
|
|
14719
14766
|
message(variables, builder) {
|
|
14720
|
-
const info = extractIncludeInfo(
|
|
14767
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
14721
14768
|
let children;
|
|
14722
14769
|
if (builder) {
|
|
14723
14770
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -14726,7 +14773,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14726
14773
|
}
|
|
14727
14774
|
this._includes.push({
|
|
14728
14775
|
fieldName: "message",
|
|
14729
|
-
fragmentDoc:
|
|
14776
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageFragmentDoc,
|
|
14730
14777
|
variables,
|
|
14731
14778
|
isConnection: false,
|
|
14732
14779
|
isList: false,
|
|
@@ -14750,14 +14797,14 @@ var Artifact_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14750
14797
|
}
|
|
14751
14798
|
async fetch(options) {
|
|
14752
14799
|
const variables = this._variables;
|
|
14753
|
-
const response = await this._syncEngine.query(
|
|
14800
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_ChatDocument, variables, "artifact");
|
|
14754
14801
|
const data = response.artifact?.chat;
|
|
14755
14802
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14756
14803
|
}
|
|
14757
14804
|
watch(options) {
|
|
14758
14805
|
const variables = this._variables;
|
|
14759
14806
|
const raw = this._syncEngine.watch(
|
|
14760
|
-
|
|
14807
|
+
chunkEL37Q6V6_cjs.Artifact_ChatDocument,
|
|
14761
14808
|
variables,
|
|
14762
14809
|
"artifact",
|
|
14763
14810
|
async (db) => {
|
|
@@ -14780,14 +14827,14 @@ var Artifact_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14780
14827
|
}
|
|
14781
14828
|
async fetch(options) {
|
|
14782
14829
|
const variables = this._variables;
|
|
14783
|
-
const response = await this._syncEngine.query(
|
|
14830
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
|
|
14784
14831
|
const data = response.artifact?.chat?.insight;
|
|
14785
14832
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14786
14833
|
}
|
|
14787
14834
|
watch(options) {
|
|
14788
14835
|
const variables = this._variables;
|
|
14789
14836
|
const raw = this._syncEngine.watch(
|
|
14790
|
-
|
|
14837
|
+
chunkEL37Q6V6_cjs.Artifact_Chat_InsightDocument,
|
|
14791
14838
|
variables,
|
|
14792
14839
|
"artifact",
|
|
14793
14840
|
async (db) => {
|
|
@@ -14810,14 +14857,14 @@ var Artifact_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14810
14857
|
}
|
|
14811
14858
|
async fetch(options) {
|
|
14812
14859
|
const variables = this._variables;
|
|
14813
|
-
const response = await this._syncEngine.query(
|
|
14860
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_FileDocument, variables, "artifact");
|
|
14814
14861
|
const data = response.artifact?.file;
|
|
14815
14862
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14816
14863
|
}
|
|
14817
14864
|
watch(options) {
|
|
14818
14865
|
const variables = this._variables;
|
|
14819
14866
|
const raw = this._syncEngine.watch(
|
|
14820
|
-
|
|
14867
|
+
chunkEL37Q6V6_cjs.Artifact_FileDocument,
|
|
14821
14868
|
variables,
|
|
14822
14869
|
"artifact",
|
|
14823
14870
|
async (db) => {
|
|
@@ -14840,14 +14887,14 @@ var Artifact_MessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14840
14887
|
}
|
|
14841
14888
|
async fetch(options) {
|
|
14842
14889
|
const variables = this._variables;
|
|
14843
|
-
const response = await this._syncEngine.query(
|
|
14890
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_MessageDocument, variables, "artifact");
|
|
14844
14891
|
const data = response.artifact?.message;
|
|
14845
14892
|
return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14846
14893
|
}
|
|
14847
14894
|
watch(options) {
|
|
14848
14895
|
const variables = this._variables;
|
|
14849
14896
|
const raw = this._syncEngine.watch(
|
|
14850
|
-
|
|
14897
|
+
chunkEL37Q6V6_cjs.Artifact_MessageDocument,
|
|
14851
14898
|
variables,
|
|
14852
14899
|
"artifact",
|
|
14853
14900
|
async (db) => {
|
|
@@ -14870,14 +14917,14 @@ var Artifact_Message_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14870
14917
|
}
|
|
14871
14918
|
async fetch(options) {
|
|
14872
14919
|
const variables = this._variables;
|
|
14873
|
-
const response = await this._syncEngine.query(
|
|
14920
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Message_ChatDocument, variables, "artifact");
|
|
14874
14921
|
const data = response.artifact?.message?.chat;
|
|
14875
14922
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14876
14923
|
}
|
|
14877
14924
|
watch(options) {
|
|
14878
14925
|
const variables = this._variables;
|
|
14879
14926
|
const raw = this._syncEngine.watch(
|
|
14880
|
-
|
|
14927
|
+
chunkEL37Q6V6_cjs.Artifact_Message_ChatDocument,
|
|
14881
14928
|
variables,
|
|
14882
14929
|
"artifact",
|
|
14883
14930
|
async (db) => {
|
|
@@ -14899,7 +14946,7 @@ var Artifact_Message_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14899
14946
|
this._variables = variables;
|
|
14900
14947
|
}
|
|
14901
14948
|
async fetch(options) {
|
|
14902
|
-
const response = await this._syncEngine.query(
|
|
14949
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
|
|
14903
14950
|
const data = response.artifact?.message?.contents;
|
|
14904
14951
|
if (!Array.isArray(data)) return [];
|
|
14905
14952
|
return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -14913,14 +14960,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14913
14960
|
}
|
|
14914
14961
|
async fetch(options) {
|
|
14915
14962
|
const variables = this._variables;
|
|
14916
|
-
const response = await this._syncEngine.query(
|
|
14963
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
|
|
14917
14964
|
const data = response.artifact?.message?.feedback;
|
|
14918
14965
|
return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14919
14966
|
}
|
|
14920
14967
|
watch(options) {
|
|
14921
14968
|
const variables = this._variables;
|
|
14922
14969
|
const raw = this._syncEngine.watch(
|
|
14923
|
-
|
|
14970
|
+
chunkEL37Q6V6_cjs.Artifact_Message_FeedbackDocument,
|
|
14924
14971
|
variables,
|
|
14925
14972
|
"artifact",
|
|
14926
14973
|
async (db) => {
|
|
@@ -14944,7 +14991,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14944
14991
|
}
|
|
14945
14992
|
async fetch(options) {
|
|
14946
14993
|
const variables = this._variables;
|
|
14947
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14994
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
|
|
14948
14995
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
|
|
14949
14996
|
const data = response.artifacts;
|
|
14950
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);
|
|
@@ -14961,7 +15008,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14961
15008
|
const subscriptionId = crypto.randomUUID();
|
|
14962
15009
|
const includes = this._includes;
|
|
14963
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) }] : []);
|
|
14964
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15011
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
|
|
14965
15012
|
const raw = this._syncEngine.watch(
|
|
14966
15013
|
queryDoc,
|
|
14967
15014
|
mergedVars,
|
|
@@ -14996,7 +15043,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14996
15043
|
}
|
|
14997
15044
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
14998
15045
|
chat(variables, builder) {
|
|
14999
|
-
const info = extractIncludeInfo(
|
|
15046
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
15000
15047
|
let children;
|
|
15001
15048
|
if (builder) {
|
|
15002
15049
|
const sub = new ChatSubBuilder();
|
|
@@ -15005,7 +15052,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15005
15052
|
}
|
|
15006
15053
|
this._includes.push({
|
|
15007
15054
|
fieldName: "chat",
|
|
15008
|
-
fragmentDoc:
|
|
15055
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
15009
15056
|
variables,
|
|
15010
15057
|
isConnection: false,
|
|
15011
15058
|
isList: false,
|
|
@@ -15022,10 +15069,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15022
15069
|
}
|
|
15023
15070
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
15024
15071
|
file(variables) {
|
|
15025
|
-
const info = extractIncludeInfo(
|
|
15072
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
15026
15073
|
this._includes.push({
|
|
15027
15074
|
fieldName: "file",
|
|
15028
|
-
fragmentDoc:
|
|
15075
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
15029
15076
|
variables,
|
|
15030
15077
|
isConnection: false,
|
|
15031
15078
|
isList: false,
|
|
@@ -15041,7 +15088,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15041
15088
|
}
|
|
15042
15089
|
/** Include message in this query (Smart Fetch — single HTTP request). */
|
|
15043
15090
|
message(variables, builder) {
|
|
15044
|
-
const info = extractIncludeInfo(
|
|
15091
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
15045
15092
|
let children;
|
|
15046
15093
|
if (builder) {
|
|
15047
15094
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -15050,7 +15097,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15050
15097
|
}
|
|
15051
15098
|
this._includes.push({
|
|
15052
15099
|
fieldName: "message",
|
|
15053
|
-
fragmentDoc:
|
|
15100
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageFragmentDoc,
|
|
15054
15101
|
variables,
|
|
15055
15102
|
isConnection: false,
|
|
15056
15103
|
isList: false,
|
|
@@ -15075,7 +15122,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15075
15122
|
}
|
|
15076
15123
|
async fetch(options) {
|
|
15077
15124
|
const variables = this._variables;
|
|
15078
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15125
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatDocument, "chat", this._includes, variables);
|
|
15079
15126
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
|
|
15080
15127
|
const data = response.chat;
|
|
15081
15128
|
const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15087,7 +15134,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15087
15134
|
watch(options) {
|
|
15088
15135
|
const variables = this._variables;
|
|
15089
15136
|
const includes = this._includes;
|
|
15090
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15137
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatDocument, "chat", includes, variables);
|
|
15091
15138
|
const raw = this._syncEngine.watch(
|
|
15092
15139
|
queryDoc,
|
|
15093
15140
|
mergedVars,
|
|
@@ -15117,7 +15164,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15117
15164
|
}
|
|
15118
15165
|
/** Include agents in this query (Smart Fetch — single HTTP request). */
|
|
15119
15166
|
agents(variables, builder) {
|
|
15120
|
-
const info = extractIncludeInfo(
|
|
15167
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
15121
15168
|
let children;
|
|
15122
15169
|
if (builder) {
|
|
15123
15170
|
const sub = new AgentSubBuilder();
|
|
@@ -15126,7 +15173,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15126
15173
|
}
|
|
15127
15174
|
this._includes.push({
|
|
15128
15175
|
fieldName: "agents",
|
|
15129
|
-
fragmentDoc:
|
|
15176
|
+
fragmentDoc: chunkEL37Q6V6_cjs.AgentConnectionFragmentDoc,
|
|
15130
15177
|
variables,
|
|
15131
15178
|
isConnection: true,
|
|
15132
15179
|
isList: false,
|
|
@@ -15144,7 +15191,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15144
15191
|
}
|
|
15145
15192
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15146
15193
|
artifacts(variables, builder) {
|
|
15147
|
-
const info = extractIncludeInfo(
|
|
15194
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
15148
15195
|
let children;
|
|
15149
15196
|
if (builder) {
|
|
15150
15197
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15153,7 +15200,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15153
15200
|
}
|
|
15154
15201
|
this._includes.push({
|
|
15155
15202
|
fieldName: "artifacts",
|
|
15156
|
-
fragmentDoc:
|
|
15203
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
|
|
15157
15204
|
variables,
|
|
15158
15205
|
isConnection: true,
|
|
15159
15206
|
isList: false,
|
|
@@ -15171,7 +15218,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15171
15218
|
}
|
|
15172
15219
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
15173
15220
|
insight(variables, builder) {
|
|
15174
|
-
const info = extractIncludeInfo(
|
|
15221
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
15175
15222
|
let children;
|
|
15176
15223
|
if (builder) {
|
|
15177
15224
|
const sub = new InsightSubBuilder();
|
|
@@ -15180,7 +15227,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15180
15227
|
}
|
|
15181
15228
|
this._includes.push({
|
|
15182
15229
|
fieldName: "insight",
|
|
15183
|
-
fragmentDoc:
|
|
15230
|
+
fragmentDoc: chunkEL37Q6V6_cjs.InsightFragmentDoc,
|
|
15184
15231
|
variables,
|
|
15185
15232
|
isConnection: false,
|
|
15186
15233
|
isList: false,
|
|
@@ -15197,7 +15244,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15197
15244
|
}
|
|
15198
15245
|
/** Include messages in this query (Smart Fetch — single HTTP request). */
|
|
15199
15246
|
messages(variables, builder) {
|
|
15200
|
-
const info = extractIncludeInfo(
|
|
15247
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
15201
15248
|
let children;
|
|
15202
15249
|
if (builder) {
|
|
15203
15250
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -15206,7 +15253,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15206
15253
|
}
|
|
15207
15254
|
this._includes.push({
|
|
15208
15255
|
fieldName: "messages",
|
|
15209
|
-
fragmentDoc:
|
|
15256
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageConnectionFragmentDoc,
|
|
15210
15257
|
variables,
|
|
15211
15258
|
isConnection: true,
|
|
15212
15259
|
isList: false,
|
|
@@ -15231,18 +15278,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
15231
15278
|
}
|
|
15232
15279
|
async fetch(options) {
|
|
15233
15280
|
const variables = this._variables;
|
|
15234
|
-
const response = await this._syncEngine.query(
|
|
15281
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_AgentsDocument, variables, "chat");
|
|
15235
15282
|
const data = response.chat?.agents;
|
|
15236
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);
|
|
15237
15284
|
}
|
|
15238
15285
|
watch(options) {
|
|
15239
15286
|
const variables = this._variables;
|
|
15240
15287
|
const raw = this._syncEngine.watch(
|
|
15241
|
-
|
|
15288
|
+
chunkEL37Q6V6_cjs.Chat_AgentsDocument,
|
|
15242
15289
|
variables,
|
|
15243
15290
|
"chat",
|
|
15244
15291
|
async (db) => {
|
|
15245
|
-
const qr = await db._queryResults.get(buildQueryKey("chat", variables,
|
|
15292
|
+
const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkEL37Q6V6_cjs.Chat_AgentsDocument));
|
|
15246
15293
|
const nodes = qr ? await db.table("agents").bulkGet(qr.entityIds) : [];
|
|
15247
15294
|
return { chat: { agents: { __typename: "AgentConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
15248
15295
|
}
|
|
@@ -15261,18 +15308,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk342BFYZZ_cjs.R
|
|
|
15261
15308
|
}
|
|
15262
15309
|
async fetch(options) {
|
|
15263
15310
|
const variables = this._variables;
|
|
15264
|
-
const response = await this._syncEngine.query(
|
|
15311
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, variables, "chat");
|
|
15265
15312
|
const data = response.chat?.artifacts;
|
|
15266
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);
|
|
15267
15314
|
}
|
|
15268
15315
|
watch(options) {
|
|
15269
15316
|
const variables = this._variables;
|
|
15270
15317
|
const raw = this._syncEngine.watch(
|
|
15271
|
-
|
|
15318
|
+
chunkEL37Q6V6_cjs.Chat_ArtifactsDocument,
|
|
15272
15319
|
variables,
|
|
15273
15320
|
"chat",
|
|
15274
15321
|
async (db) => {
|
|
15275
|
-
const qr = await db._queryResults.get(buildQueryKey("chat", variables,
|
|
15322
|
+
const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkEL37Q6V6_cjs.Chat_ArtifactsDocument));
|
|
15276
15323
|
const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
|
|
15277
15324
|
return { chat: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
15278
15325
|
}
|
|
@@ -15291,14 +15338,14 @@ var Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15291
15338
|
}
|
|
15292
15339
|
async fetch(options) {
|
|
15293
15340
|
const variables = this._variables;
|
|
15294
|
-
const response = await this._syncEngine.query(
|
|
15341
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_InsightDocument, variables, "chat");
|
|
15295
15342
|
const data = response.chat?.insight;
|
|
15296
15343
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15297
15344
|
}
|
|
15298
15345
|
watch(options) {
|
|
15299
15346
|
const variables = this._variables;
|
|
15300
15347
|
const raw = this._syncEngine.watch(
|
|
15301
|
-
|
|
15348
|
+
chunkEL37Q6V6_cjs.Chat_InsightDocument,
|
|
15302
15349
|
variables,
|
|
15303
15350
|
"chat",
|
|
15304
15351
|
async (db) => {
|
|
@@ -15320,7 +15367,7 @@ var Chat_Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15320
15367
|
this._variables = variables;
|
|
15321
15368
|
}
|
|
15322
15369
|
async fetch(options) {
|
|
15323
|
-
const response = await this._syncEngine.query(
|
|
15370
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
|
|
15324
15371
|
const data = response.chat?.insight?.reportMembers;
|
|
15325
15372
|
if (!Array.isArray(data)) return [];
|
|
15326
15373
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -15334,14 +15381,14 @@ var Chat_Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15334
15381
|
}
|
|
15335
15382
|
async fetch(options) {
|
|
15336
15383
|
const variables = this._variables;
|
|
15337
|
-
const response = await this._syncEngine.query(
|
|
15384
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
|
|
15338
15385
|
const data = response.chat?.insight?.thumbnailFile;
|
|
15339
15386
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15340
15387
|
}
|
|
15341
15388
|
watch(options) {
|
|
15342
15389
|
const variables = this._variables;
|
|
15343
15390
|
const raw = this._syncEngine.watch(
|
|
15344
|
-
|
|
15391
|
+
chunkEL37Q6V6_cjs.Chat_Insight_ThumbnailFileDocument,
|
|
15345
15392
|
variables,
|
|
15346
15393
|
"chat",
|
|
15347
15394
|
async (db) => {
|
|
@@ -15364,18 +15411,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk342BFYZZ_cjs.Req
|
|
|
15364
15411
|
}
|
|
15365
15412
|
async fetch(options) {
|
|
15366
15413
|
const variables = this._variables;
|
|
15367
|
-
const response = await this._syncEngine.query(
|
|
15414
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Chat_MessagesDocument, variables, "chat");
|
|
15368
15415
|
const data = response.chat?.messages;
|
|
15369
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);
|
|
15370
15417
|
}
|
|
15371
15418
|
watch(options) {
|
|
15372
15419
|
const variables = this._variables;
|
|
15373
15420
|
const raw = this._syncEngine.watch(
|
|
15374
|
-
|
|
15421
|
+
chunkEL37Q6V6_cjs.Chat_MessagesDocument,
|
|
15375
15422
|
variables,
|
|
15376
15423
|
"chat",
|
|
15377
15424
|
async (db) => {
|
|
15378
|
-
const qr = await db._queryResults.get(buildQueryKey("chat", variables,
|
|
15425
|
+
const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkEL37Q6V6_cjs.Chat_MessagesDocument));
|
|
15379
15426
|
const nodes = qr ? await db.table("chatMessages").bulkGet(qr.entityIds) : [];
|
|
15380
15427
|
return { chat: { messages: { __typename: "ChatMessageConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
15381
15428
|
}
|
|
@@ -15395,7 +15442,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15395
15442
|
}
|
|
15396
15443
|
async fetch(options) {
|
|
15397
15444
|
const variables = this._variables;
|
|
15398
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15445
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
|
|
15399
15446
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
|
|
15400
15447
|
const data = response.chatMessage;
|
|
15401
15448
|
const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15407,7 +15454,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15407
15454
|
watch(options) {
|
|
15408
15455
|
const variables = this._variables;
|
|
15409
15456
|
const includes = this._includes;
|
|
15410
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15457
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessageDocument, "chatMessage", includes, variables);
|
|
15411
15458
|
const raw = this._syncEngine.watch(
|
|
15412
15459
|
queryDoc,
|
|
15413
15460
|
mergedVars,
|
|
@@ -15437,7 +15484,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15437
15484
|
}
|
|
15438
15485
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15439
15486
|
artifacts(variables, builder) {
|
|
15440
|
-
const info = extractIncludeInfo(
|
|
15487
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
15441
15488
|
let children;
|
|
15442
15489
|
if (builder) {
|
|
15443
15490
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15446,7 +15493,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15446
15493
|
}
|
|
15447
15494
|
this._includes.push({
|
|
15448
15495
|
fieldName: "artifacts",
|
|
15449
|
-
fragmentDoc:
|
|
15496
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
|
|
15450
15497
|
variables,
|
|
15451
15498
|
isConnection: true,
|
|
15452
15499
|
isList: false,
|
|
@@ -15464,7 +15511,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15464
15511
|
}
|
|
15465
15512
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15466
15513
|
chat(variables, builder) {
|
|
15467
|
-
const info = extractIncludeInfo(
|
|
15514
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
15468
15515
|
let children;
|
|
15469
15516
|
if (builder) {
|
|
15470
15517
|
const sub = new ChatSubBuilder();
|
|
@@ -15473,7 +15520,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15473
15520
|
}
|
|
15474
15521
|
this._includes.push({
|
|
15475
15522
|
fieldName: "chat",
|
|
15476
|
-
fragmentDoc:
|
|
15523
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
15477
15524
|
variables,
|
|
15478
15525
|
isConnection: false,
|
|
15479
15526
|
isList: false,
|
|
@@ -15490,10 +15537,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15490
15537
|
}
|
|
15491
15538
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
15492
15539
|
contents(variables) {
|
|
15493
|
-
const info = extractIncludeInfo(
|
|
15540
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
15494
15541
|
this._includes.push({
|
|
15495
15542
|
fieldName: "contents",
|
|
15496
|
-
fragmentDoc:
|
|
15543
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ContentBlockFragmentDoc,
|
|
15497
15544
|
variables,
|
|
15498
15545
|
isConnection: false,
|
|
15499
15546
|
isList: true,
|
|
@@ -15509,10 +15556,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15509
15556
|
}
|
|
15510
15557
|
/** Include feedback in this query (Smart Fetch — single HTTP request). */
|
|
15511
15558
|
feedback(variables) {
|
|
15512
|
-
const info = extractIncludeInfo(
|
|
15559
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
15513
15560
|
this._includes.push({
|
|
15514
15561
|
fieldName: "feedback",
|
|
15515
|
-
fragmentDoc:
|
|
15562
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedbackFragmentDoc,
|
|
15516
15563
|
variables,
|
|
15517
15564
|
isConnection: false,
|
|
15518
15565
|
isList: false,
|
|
@@ -15535,18 +15582,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
|
|
|
15535
15582
|
}
|
|
15536
15583
|
async fetch(options) {
|
|
15537
15584
|
const variables = this._variables;
|
|
15538
|
-
const response = await this._syncEngine.query(
|
|
15585
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
|
|
15539
15586
|
const data = response.chatMessage?.artifacts;
|
|
15540
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);
|
|
15541
15588
|
}
|
|
15542
15589
|
watch(options) {
|
|
15543
15590
|
const variables = this._variables;
|
|
15544
15591
|
const raw = this._syncEngine.watch(
|
|
15545
|
-
|
|
15592
|
+
chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument,
|
|
15546
15593
|
variables,
|
|
15547
15594
|
"chatMessage",
|
|
15548
15595
|
async (db) => {
|
|
15549
|
-
const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables,
|
|
15596
|
+
const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument));
|
|
15550
15597
|
const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
|
|
15551
15598
|
return { chatMessage: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
15552
15599
|
}
|
|
@@ -15565,14 +15612,14 @@ var ChatMessage_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15565
15612
|
}
|
|
15566
15613
|
async fetch(options) {
|
|
15567
15614
|
const variables = this._variables;
|
|
15568
|
-
const response = await this._syncEngine.query(
|
|
15615
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
|
|
15569
15616
|
const data = response.chatMessage?.chat;
|
|
15570
15617
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15571
15618
|
}
|
|
15572
15619
|
watch(options) {
|
|
15573
15620
|
const variables = this._variables;
|
|
15574
15621
|
const raw = this._syncEngine.watch(
|
|
15575
|
-
|
|
15622
|
+
chunkEL37Q6V6_cjs.ChatMessage_ChatDocument,
|
|
15576
15623
|
variables,
|
|
15577
15624
|
"chatMessage",
|
|
15578
15625
|
async (db) => {
|
|
@@ -15595,14 +15642,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15595
15642
|
}
|
|
15596
15643
|
async fetch(options) {
|
|
15597
15644
|
const variables = this._variables;
|
|
15598
|
-
const response = await this._syncEngine.query(
|
|
15645
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
|
|
15599
15646
|
const data = response.chatMessage?.chat?.insight;
|
|
15600
15647
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15601
15648
|
}
|
|
15602
15649
|
watch(options) {
|
|
15603
15650
|
const variables = this._variables;
|
|
15604
15651
|
const raw = this._syncEngine.watch(
|
|
15605
|
-
|
|
15652
|
+
chunkEL37Q6V6_cjs.ChatMessage_Chat_InsightDocument,
|
|
15606
15653
|
variables,
|
|
15607
15654
|
"chatMessage",
|
|
15608
15655
|
async (db) => {
|
|
@@ -15624,7 +15671,7 @@ var ChatMessage_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15624
15671
|
this._variables = variables;
|
|
15625
15672
|
}
|
|
15626
15673
|
async fetch(options) {
|
|
15627
|
-
const response = await this._syncEngine.query(
|
|
15674
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
|
|
15628
15675
|
const data = response.chatMessage?.contents;
|
|
15629
15676
|
if (!Array.isArray(data)) return [];
|
|
15630
15677
|
return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -15638,14 +15685,14 @@ var ChatMessage_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15638
15685
|
}
|
|
15639
15686
|
async fetch(options) {
|
|
15640
15687
|
const variables = this._variables;
|
|
15641
|
-
const response = await this._syncEngine.query(
|
|
15688
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
|
|
15642
15689
|
const data = response.chatMessage?.feedback;
|
|
15643
15690
|
return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15644
15691
|
}
|
|
15645
15692
|
watch(options) {
|
|
15646
15693
|
const variables = this._variables;
|
|
15647
15694
|
const raw = this._syncEngine.watch(
|
|
15648
|
-
|
|
15695
|
+
chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument,
|
|
15649
15696
|
variables,
|
|
15650
15697
|
"chatMessage",
|
|
15651
15698
|
async (db) => {
|
|
@@ -15669,7 +15716,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15669
15716
|
}
|
|
15670
15717
|
async fetch(options) {
|
|
15671
15718
|
const variables = this._variables;
|
|
15672
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15719
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
|
|
15673
15720
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
|
|
15674
15721
|
const data = response.chatMessages;
|
|
15675
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);
|
|
@@ -15686,7 +15733,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15686
15733
|
const subscriptionId = crypto.randomUUID();
|
|
15687
15734
|
const includes = this._includes;
|
|
15688
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) }] : []);
|
|
15689
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15736
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
|
|
15690
15737
|
const raw = this._syncEngine.watch(
|
|
15691
15738
|
queryDoc,
|
|
15692
15739
|
mergedVars,
|
|
@@ -15721,7 +15768,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15721
15768
|
}
|
|
15722
15769
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15723
15770
|
artifacts(variables, builder) {
|
|
15724
|
-
const info = extractIncludeInfo(
|
|
15771
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
15725
15772
|
let children;
|
|
15726
15773
|
if (builder) {
|
|
15727
15774
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15730,7 +15777,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15730
15777
|
}
|
|
15731
15778
|
this._includes.push({
|
|
15732
15779
|
fieldName: "artifacts",
|
|
15733
|
-
fragmentDoc:
|
|
15780
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
|
|
15734
15781
|
variables,
|
|
15735
15782
|
isConnection: true,
|
|
15736
15783
|
isList: false,
|
|
@@ -15748,7 +15795,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15748
15795
|
}
|
|
15749
15796
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15750
15797
|
chat(variables, builder) {
|
|
15751
|
-
const info = extractIncludeInfo(
|
|
15798
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
15752
15799
|
let children;
|
|
15753
15800
|
if (builder) {
|
|
15754
15801
|
const sub = new ChatSubBuilder();
|
|
@@ -15757,7 +15804,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15757
15804
|
}
|
|
15758
15805
|
this._includes.push({
|
|
15759
15806
|
fieldName: "chat",
|
|
15760
|
-
fragmentDoc:
|
|
15807
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
15761
15808
|
variables,
|
|
15762
15809
|
isConnection: false,
|
|
15763
15810
|
isList: false,
|
|
@@ -15774,10 +15821,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15774
15821
|
}
|
|
15775
15822
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
15776
15823
|
contents(variables) {
|
|
15777
|
-
const info = extractIncludeInfo(
|
|
15824
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
15778
15825
|
this._includes.push({
|
|
15779
15826
|
fieldName: "contents",
|
|
15780
|
-
fragmentDoc:
|
|
15827
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ContentBlockFragmentDoc,
|
|
15781
15828
|
variables,
|
|
15782
15829
|
isConnection: false,
|
|
15783
15830
|
isList: true,
|
|
@@ -15793,10 +15840,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15793
15840
|
}
|
|
15794
15841
|
/** Include feedback in this query (Smart Fetch — single HTTP request). */
|
|
15795
15842
|
feedback(variables) {
|
|
15796
|
-
const info = extractIncludeInfo(
|
|
15843
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
15797
15844
|
this._includes.push({
|
|
15798
15845
|
fieldName: "feedback",
|
|
15799
|
-
fragmentDoc:
|
|
15846
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedbackFragmentDoc,
|
|
15800
15847
|
variables,
|
|
15801
15848
|
isConnection: false,
|
|
15802
15849
|
isList: false,
|
|
@@ -15820,7 +15867,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15820
15867
|
}
|
|
15821
15868
|
async fetch(options) {
|
|
15822
15869
|
const variables = this._variables;
|
|
15823
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15870
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatsDocument, "chats", this._includes, variables, true);
|
|
15824
15871
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
|
|
15825
15872
|
const data = response.chats;
|
|
15826
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);
|
|
@@ -15837,7 +15884,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15837
15884
|
const subscriptionId = crypto.randomUUID();
|
|
15838
15885
|
const includes = this._includes;
|
|
15839
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) }] : []);
|
|
15840
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15887
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ChatsDocument, "chats", includes, variables, true);
|
|
15841
15888
|
const raw = this._syncEngine.watch(
|
|
15842
15889
|
queryDoc,
|
|
15843
15890
|
mergedVars,
|
|
@@ -15872,7 +15919,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15872
15919
|
}
|
|
15873
15920
|
/** Include agents in this query (Smart Fetch — single HTTP request). */
|
|
15874
15921
|
agents(variables, builder) {
|
|
15875
|
-
const info = extractIncludeInfo(
|
|
15922
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
15876
15923
|
let children;
|
|
15877
15924
|
if (builder) {
|
|
15878
15925
|
const sub = new AgentSubBuilder();
|
|
@@ -15881,7 +15928,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15881
15928
|
}
|
|
15882
15929
|
this._includes.push({
|
|
15883
15930
|
fieldName: "agents",
|
|
15884
|
-
fragmentDoc:
|
|
15931
|
+
fragmentDoc: chunkEL37Q6V6_cjs.AgentConnectionFragmentDoc,
|
|
15885
15932
|
variables,
|
|
15886
15933
|
isConnection: true,
|
|
15887
15934
|
isList: false,
|
|
@@ -15899,7 +15946,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15899
15946
|
}
|
|
15900
15947
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15901
15948
|
artifacts(variables, builder) {
|
|
15902
|
-
const info = extractIncludeInfo(
|
|
15949
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
15903
15950
|
let children;
|
|
15904
15951
|
if (builder) {
|
|
15905
15952
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15908,7 +15955,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15908
15955
|
}
|
|
15909
15956
|
this._includes.push({
|
|
15910
15957
|
fieldName: "artifacts",
|
|
15911
|
-
fragmentDoc:
|
|
15958
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ArtifactConnectionFragmentDoc,
|
|
15912
15959
|
variables,
|
|
15913
15960
|
isConnection: true,
|
|
15914
15961
|
isList: false,
|
|
@@ -15926,7 +15973,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15926
15973
|
}
|
|
15927
15974
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
15928
15975
|
insight(variables, builder) {
|
|
15929
|
-
const info = extractIncludeInfo(
|
|
15976
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
15930
15977
|
let children;
|
|
15931
15978
|
if (builder) {
|
|
15932
15979
|
const sub = new InsightSubBuilder();
|
|
@@ -15935,7 +15982,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15935
15982
|
}
|
|
15936
15983
|
this._includes.push({
|
|
15937
15984
|
fieldName: "insight",
|
|
15938
|
-
fragmentDoc:
|
|
15985
|
+
fragmentDoc: chunkEL37Q6V6_cjs.InsightFragmentDoc,
|
|
15939
15986
|
variables,
|
|
15940
15987
|
isConnection: false,
|
|
15941
15988
|
isList: false,
|
|
@@ -15952,7 +15999,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15952
15999
|
}
|
|
15953
16000
|
/** Include messages in this query (Smart Fetch — single HTTP request). */
|
|
15954
16001
|
messages(variables, builder) {
|
|
15955
|
-
const info = extractIncludeInfo(
|
|
16002
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
15956
16003
|
let children;
|
|
15957
16004
|
if (builder) {
|
|
15958
16005
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -15961,7 +16008,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15961
16008
|
}
|
|
15962
16009
|
this._includes.push({
|
|
15963
16010
|
fieldName: "messages",
|
|
15964
|
-
fragmentDoc:
|
|
16011
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatMessageConnectionFragmentDoc,
|
|
15965
16012
|
variables,
|
|
15966
16013
|
isConnection: true,
|
|
15967
16014
|
isList: false,
|
|
@@ -15987,7 +16034,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15987
16034
|
}
|
|
15988
16035
|
async fetch(options) {
|
|
15989
16036
|
const variables = this._variables;
|
|
15990
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16037
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseDocument, "database", this._includes, variables);
|
|
15991
16038
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
|
|
15992
16039
|
const data = response.database;
|
|
15993
16040
|
const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15999,7 +16046,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15999
16046
|
watch(options) {
|
|
16000
16047
|
const variables = this._variables;
|
|
16001
16048
|
const includes = this._includes;
|
|
16002
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16049
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseDocument, "database", includes, variables);
|
|
16003
16050
|
const raw = this._syncEngine.watch(
|
|
16004
16051
|
queryDoc,
|
|
16005
16052
|
mergedVars,
|
|
@@ -16029,10 +16076,10 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16029
16076
|
}
|
|
16030
16077
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16031
16078
|
engine(variables) {
|
|
16032
|
-
const info = extractIncludeInfo(
|
|
16079
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
16033
16080
|
this._includes.push({
|
|
16034
16081
|
fieldName: "engine",
|
|
16035
|
-
fragmentDoc:
|
|
16082
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
|
|
16036
16083
|
variables,
|
|
16037
16084
|
isConnection: false,
|
|
16038
16085
|
isList: false,
|
|
@@ -16048,7 +16095,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16048
16095
|
}
|
|
16049
16096
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16050
16097
|
tables(variables, builder) {
|
|
16051
|
-
const info = extractIncludeInfo(
|
|
16098
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
16052
16099
|
let children;
|
|
16053
16100
|
if (builder) {
|
|
16054
16101
|
const sub = new TableSubBuilder();
|
|
@@ -16057,7 +16104,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16057
16104
|
}
|
|
16058
16105
|
this._includes.push({
|
|
16059
16106
|
fieldName: "tables",
|
|
16060
|
-
fragmentDoc:
|
|
16107
|
+
fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
|
|
16061
16108
|
variables,
|
|
16062
16109
|
isConnection: true,
|
|
16063
16110
|
isList: false,
|
|
@@ -16082,14 +16129,14 @@ var Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16082
16129
|
}
|
|
16083
16130
|
async fetch(options) {
|
|
16084
16131
|
const variables = this._variables;
|
|
16085
|
-
const response = await this._syncEngine.query(
|
|
16132
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Database_EngineDocument, variables, "database");
|
|
16086
16133
|
const data = response.database?.engine;
|
|
16087
16134
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16088
16135
|
}
|
|
16089
16136
|
watch(options) {
|
|
16090
16137
|
const variables = this._variables;
|
|
16091
16138
|
const raw = this._syncEngine.watch(
|
|
16092
|
-
|
|
16139
|
+
chunkEL37Q6V6_cjs.Database_EngineDocument,
|
|
16093
16140
|
variables,
|
|
16094
16141
|
"database",
|
|
16095
16142
|
async (db) => {
|
|
@@ -16112,14 +16159,14 @@ var Database_Engine_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16112
16159
|
}
|
|
16113
16160
|
async fetch(options) {
|
|
16114
16161
|
const variables = this._variables;
|
|
16115
|
-
const response = await this._syncEngine.query(
|
|
16162
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Database_Engine_CatalogDocument, variables, "database");
|
|
16116
16163
|
const data = response.database?.engine?.catalog;
|
|
16117
16164
|
return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16118
16165
|
}
|
|
16119
16166
|
watch(options) {
|
|
16120
16167
|
const variables = this._variables;
|
|
16121
16168
|
const raw = this._syncEngine.watch(
|
|
16122
|
-
|
|
16169
|
+
chunkEL37Q6V6_cjs.Database_Engine_CatalogDocument,
|
|
16123
16170
|
variables,
|
|
16124
16171
|
"database",
|
|
16125
16172
|
async (db) => {
|
|
@@ -16142,18 +16189,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk342BFYZZ_cjs
|
|
|
16142
16189
|
}
|
|
16143
16190
|
async fetch(options) {
|
|
16144
16191
|
const variables = this._variables;
|
|
16145
|
-
const response = await this._syncEngine.query(
|
|
16192
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Database_TablesDocument, variables, "database");
|
|
16146
16193
|
const data = response.database?.tables;
|
|
16147
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);
|
|
16148
16195
|
}
|
|
16149
16196
|
watch(options) {
|
|
16150
16197
|
const variables = this._variables;
|
|
16151
16198
|
const raw = this._syncEngine.watch(
|
|
16152
|
-
|
|
16199
|
+
chunkEL37Q6V6_cjs.Database_TablesDocument,
|
|
16153
16200
|
variables,
|
|
16154
16201
|
"database",
|
|
16155
16202
|
async (db) => {
|
|
16156
|
-
const qr = await db._queryResults.get(buildQueryKey("database", variables,
|
|
16203
|
+
const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkEL37Q6V6_cjs.Database_TablesDocument));
|
|
16157
16204
|
const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
|
|
16158
16205
|
return { database: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
16159
16206
|
}
|
|
@@ -16173,7 +16220,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16173
16220
|
}
|
|
16174
16221
|
async fetch(options) {
|
|
16175
16222
|
const variables = this._variables;
|
|
16176
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16223
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
|
|
16177
16224
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
|
|
16178
16225
|
const data = response.databaseCatalog;
|
|
16179
16226
|
const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16185,7 +16232,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16185
16232
|
watch(options) {
|
|
16186
16233
|
const variables = this._variables;
|
|
16187
16234
|
const includes = this._includes;
|
|
16188
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16235
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
|
|
16189
16236
|
const raw = this._syncEngine.watch(
|
|
16190
16237
|
queryDoc,
|
|
16191
16238
|
mergedVars,
|
|
@@ -16215,10 +16262,10 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16215
16262
|
}
|
|
16216
16263
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16217
16264
|
engine(variables) {
|
|
16218
|
-
const info = extractIncludeInfo(
|
|
16265
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
16219
16266
|
this._includes.push({
|
|
16220
16267
|
fieldName: "engine",
|
|
16221
|
-
fragmentDoc:
|
|
16268
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
|
|
16222
16269
|
variables,
|
|
16223
16270
|
isConnection: false,
|
|
16224
16271
|
isList: false,
|
|
@@ -16241,14 +16288,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16241
16288
|
}
|
|
16242
16289
|
async fetch(options) {
|
|
16243
16290
|
const variables = this._variables;
|
|
16244
|
-
const response = await this._syncEngine.query(
|
|
16291
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
|
|
16245
16292
|
const data = response.databaseCatalog?.engine;
|
|
16246
16293
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16247
16294
|
}
|
|
16248
16295
|
watch(options) {
|
|
16249
16296
|
const variables = this._variables;
|
|
16250
16297
|
const raw = this._syncEngine.watch(
|
|
16251
|
-
|
|
16298
|
+
chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument,
|
|
16252
16299
|
variables,
|
|
16253
16300
|
"databaseCatalog",
|
|
16254
16301
|
async (db) => {
|
|
@@ -16272,7 +16319,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16272
16319
|
}
|
|
16273
16320
|
async fetch(options) {
|
|
16274
16321
|
const variables = this._variables;
|
|
16275
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16322
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
|
|
16276
16323
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
|
|
16277
16324
|
const data = response.databaseCatalogs;
|
|
16278
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);
|
|
@@ -16289,7 +16336,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16289
16336
|
const subscriptionId = crypto.randomUUID();
|
|
16290
16337
|
const includes = this._includes;
|
|
16291
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) }] : []);
|
|
16292
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16339
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
|
|
16293
16340
|
const raw = this._syncEngine.watch(
|
|
16294
16341
|
queryDoc,
|
|
16295
16342
|
mergedVars,
|
|
@@ -16324,10 +16371,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16324
16371
|
}
|
|
16325
16372
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16326
16373
|
engine(variables) {
|
|
16327
|
-
const info = extractIncludeInfo(
|
|
16374
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
16328
16375
|
this._includes.push({
|
|
16329
16376
|
fieldName: "engine",
|
|
16330
|
-
fragmentDoc:
|
|
16377
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
|
|
16331
16378
|
variables,
|
|
16332
16379
|
isConnection: false,
|
|
16333
16380
|
isList: false,
|
|
@@ -16344,7 +16391,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16344
16391
|
};
|
|
16345
16392
|
var DatabaseSchemaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
16346
16393
|
async fetch(variables) {
|
|
16347
|
-
const response = await this._request(
|
|
16394
|
+
const response = await this._request(chunkEL37Q6V6_cjs.DatabaseSchemaDocument, variables);
|
|
16348
16395
|
return response.databaseSchema;
|
|
16349
16396
|
}
|
|
16350
16397
|
};
|
|
@@ -16357,7 +16404,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16357
16404
|
}
|
|
16358
16405
|
async fetch(options) {
|
|
16359
16406
|
const variables = this._variables;
|
|
16360
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16407
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabasesDocument, "databases", this._includes, variables, true);
|
|
16361
16408
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
|
|
16362
16409
|
const data = response.databases;
|
|
16363
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);
|
|
@@ -16374,7 +16421,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16374
16421
|
const subscriptionId = crypto.randomUUID();
|
|
16375
16422
|
const includes = this._includes;
|
|
16376
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) }] : []);
|
|
16377
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16424
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DatabasesDocument, "databases", includes, variables, true);
|
|
16378
16425
|
const raw = this._syncEngine.watch(
|
|
16379
16426
|
queryDoc,
|
|
16380
16427
|
mergedVars,
|
|
@@ -16409,10 +16456,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16409
16456
|
}
|
|
16410
16457
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16411
16458
|
engine(variables) {
|
|
16412
|
-
const info = extractIncludeInfo(
|
|
16459
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
16413
16460
|
this._includes.push({
|
|
16414
16461
|
fieldName: "engine",
|
|
16415
|
-
fragmentDoc:
|
|
16462
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseEngineFragmentDoc,
|
|
16416
16463
|
variables,
|
|
16417
16464
|
isConnection: false,
|
|
16418
16465
|
isList: false,
|
|
@@ -16428,7 +16475,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16428
16475
|
}
|
|
16429
16476
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16430
16477
|
tables(variables, builder) {
|
|
16431
|
-
const info = extractIncludeInfo(
|
|
16478
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
16432
16479
|
let children;
|
|
16433
16480
|
if (builder) {
|
|
16434
16481
|
const sub = new TableSubBuilder();
|
|
@@ -16437,7 +16484,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16437
16484
|
}
|
|
16438
16485
|
this._includes.push({
|
|
16439
16486
|
fieldName: "tables",
|
|
16440
|
-
fragmentDoc:
|
|
16487
|
+
fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
|
|
16441
16488
|
variables,
|
|
16442
16489
|
isConnection: true,
|
|
16443
16490
|
isList: false,
|
|
@@ -16463,7 +16510,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16463
16510
|
}
|
|
16464
16511
|
async fetch(options) {
|
|
16465
16512
|
const variables = this._variables;
|
|
16466
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16513
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentDocument, "document", this._includes, variables);
|
|
16467
16514
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
|
|
16468
16515
|
const data = response.document;
|
|
16469
16516
|
const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16475,7 +16522,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16475
16522
|
watch(options) {
|
|
16476
16523
|
const variables = this._variables;
|
|
16477
16524
|
const includes = this._includes;
|
|
16478
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16525
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentDocument, "document", includes, variables);
|
|
16479
16526
|
const raw = this._syncEngine.watch(
|
|
16480
16527
|
queryDoc,
|
|
16481
16528
|
mergedVars,
|
|
@@ -16505,10 +16552,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16505
16552
|
}
|
|
16506
16553
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
16507
16554
|
contents(variables) {
|
|
16508
|
-
const info = extractIncludeInfo(
|
|
16555
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
16509
16556
|
this._includes.push({
|
|
16510
16557
|
fieldName: "contents",
|
|
16511
|
-
fragmentDoc:
|
|
16558
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentContentFragmentDoc,
|
|
16512
16559
|
variables,
|
|
16513
16560
|
isConnection: false,
|
|
16514
16561
|
isList: true,
|
|
@@ -16524,10 +16571,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16524
16571
|
}
|
|
16525
16572
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
16526
16573
|
file(variables) {
|
|
16527
|
-
const info = extractIncludeInfo(
|
|
16574
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FileDocument, "file", ["id"]);
|
|
16528
16575
|
this._includes.push({
|
|
16529
16576
|
fieldName: "file",
|
|
16530
|
-
fragmentDoc:
|
|
16577
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
16531
16578
|
variables,
|
|
16532
16579
|
isConnection: false,
|
|
16533
16580
|
isList: false,
|
|
@@ -16543,10 +16590,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16543
16590
|
}
|
|
16544
16591
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
16545
16592
|
format(variables) {
|
|
16546
|
-
const info = extractIncludeInfo(
|
|
16593
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FormatDocument, "format", ["id"]);
|
|
16547
16594
|
this._includes.push({
|
|
16548
16595
|
fieldName: "format",
|
|
16549
|
-
fragmentDoc:
|
|
16596
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
|
|
16550
16597
|
variables,
|
|
16551
16598
|
isConnection: false,
|
|
16552
16599
|
isList: false,
|
|
@@ -16562,7 +16609,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16562
16609
|
}
|
|
16563
16610
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16564
16611
|
tables(variables, builder) {
|
|
16565
|
-
const info = extractIncludeInfo(
|
|
16612
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
16566
16613
|
let children;
|
|
16567
16614
|
if (builder) {
|
|
16568
16615
|
const sub = new TableSubBuilder();
|
|
@@ -16571,7 +16618,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16571
16618
|
}
|
|
16572
16619
|
this._includes.push({
|
|
16573
16620
|
fieldName: "tables",
|
|
16574
|
-
fragmentDoc:
|
|
16621
|
+
fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
|
|
16575
16622
|
variables,
|
|
16576
16623
|
isConnection: true,
|
|
16577
16624
|
isList: false,
|
|
@@ -16595,7 +16642,7 @@ var Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16595
16642
|
this._variables = variables;
|
|
16596
16643
|
}
|
|
16597
16644
|
async fetch(options) {
|
|
16598
|
-
const response = await this._syncEngine.query(
|
|
16645
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_ContentsDocument, this._variables, "document");
|
|
16599
16646
|
const data = response.document?.contents;
|
|
16600
16647
|
if (!Array.isArray(data)) return [];
|
|
16601
16648
|
return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -16609,14 +16656,14 @@ var Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16609
16656
|
}
|
|
16610
16657
|
async fetch(options) {
|
|
16611
16658
|
const variables = this._variables;
|
|
16612
|
-
const response = await this._syncEngine.query(
|
|
16659
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_FileDocument, variables, "document");
|
|
16613
16660
|
const data = response.document?.file;
|
|
16614
16661
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16615
16662
|
}
|
|
16616
16663
|
watch(options) {
|
|
16617
16664
|
const variables = this._variables;
|
|
16618
16665
|
const raw = this._syncEngine.watch(
|
|
16619
|
-
|
|
16666
|
+
chunkEL37Q6V6_cjs.Document_FileDocument,
|
|
16620
16667
|
variables,
|
|
16621
16668
|
"document",
|
|
16622
16669
|
async (db) => {
|
|
@@ -16639,14 +16686,14 @@ var Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16639
16686
|
}
|
|
16640
16687
|
async fetch(options) {
|
|
16641
16688
|
const variables = this._variables;
|
|
16642
|
-
const response = await this._syncEngine.query(
|
|
16689
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_FormatDocument, variables, "document");
|
|
16643
16690
|
const data = response.document?.format;
|
|
16644
16691
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16645
16692
|
}
|
|
16646
16693
|
watch(options) {
|
|
16647
16694
|
const variables = this._variables;
|
|
16648
16695
|
const raw = this._syncEngine.watch(
|
|
16649
|
-
|
|
16696
|
+
chunkEL37Q6V6_cjs.Document_FormatDocument,
|
|
16650
16697
|
variables,
|
|
16651
16698
|
"document",
|
|
16652
16699
|
async (db) => {
|
|
@@ -16669,14 +16716,14 @@ var Document_Format_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16669
16716
|
}
|
|
16670
16717
|
async fetch(options) {
|
|
16671
16718
|
const variables = this._variables;
|
|
16672
|
-
const response = await this._syncEngine.query(
|
|
16719
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_Format_CatalogDocument, variables, "document");
|
|
16673
16720
|
const data = response.document?.format?.catalog;
|
|
16674
16721
|
return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16675
16722
|
}
|
|
16676
16723
|
watch(options) {
|
|
16677
16724
|
const variables = this._variables;
|
|
16678
16725
|
const raw = this._syncEngine.watch(
|
|
16679
|
-
|
|
16726
|
+
chunkEL37Q6V6_cjs.Document_Format_CatalogDocument,
|
|
16680
16727
|
variables,
|
|
16681
16728
|
"document",
|
|
16682
16729
|
async (db) => {
|
|
@@ -16699,18 +16746,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk342BFYZZ_cjs
|
|
|
16699
16746
|
}
|
|
16700
16747
|
async fetch(options) {
|
|
16701
16748
|
const variables = this._variables;
|
|
16702
|
-
const response = await this._syncEngine.query(
|
|
16749
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Document_TablesDocument, variables, "document");
|
|
16703
16750
|
const data = response.document?.tables;
|
|
16704
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);
|
|
16705
16752
|
}
|
|
16706
16753
|
watch(options) {
|
|
16707
16754
|
const variables = this._variables;
|
|
16708
16755
|
const raw = this._syncEngine.watch(
|
|
16709
|
-
|
|
16756
|
+
chunkEL37Q6V6_cjs.Document_TablesDocument,
|
|
16710
16757
|
variables,
|
|
16711
16758
|
"document",
|
|
16712
16759
|
async (db) => {
|
|
16713
|
-
const qr = await db._queryResults.get(buildQueryKey("document", variables,
|
|
16760
|
+
const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkEL37Q6V6_cjs.Document_TablesDocument));
|
|
16714
16761
|
const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
|
|
16715
16762
|
return { document: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
16716
16763
|
}
|
|
@@ -16730,7 +16777,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16730
16777
|
}
|
|
16731
16778
|
async fetch(options) {
|
|
16732
16779
|
const variables = this._variables;
|
|
16733
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16780
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
|
|
16734
16781
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
|
|
16735
16782
|
const data = response.documentCatalog;
|
|
16736
16783
|
const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16742,7 +16789,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16742
16789
|
watch(options) {
|
|
16743
16790
|
const variables = this._variables;
|
|
16744
16791
|
const includes = this._includes;
|
|
16745
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16792
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
|
|
16746
16793
|
const raw = this._syncEngine.watch(
|
|
16747
16794
|
queryDoc,
|
|
16748
16795
|
mergedVars,
|
|
@@ -16772,10 +16819,10 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16772
16819
|
}
|
|
16773
16820
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
16774
16821
|
format(variables) {
|
|
16775
|
-
const info = extractIncludeInfo(
|
|
16822
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
16776
16823
|
this._includes.push({
|
|
16777
16824
|
fieldName: "format",
|
|
16778
|
-
fragmentDoc:
|
|
16825
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
|
|
16779
16826
|
variables,
|
|
16780
16827
|
isConnection: false,
|
|
16781
16828
|
isList: false,
|
|
@@ -16798,14 +16845,14 @@ var DocumentCatalog_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16798
16845
|
}
|
|
16799
16846
|
async fetch(options) {
|
|
16800
16847
|
const variables = this._variables;
|
|
16801
|
-
const response = await this._syncEngine.query(
|
|
16848
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
|
|
16802
16849
|
const data = response.documentCatalog?.format;
|
|
16803
16850
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16804
16851
|
}
|
|
16805
16852
|
watch(options) {
|
|
16806
16853
|
const variables = this._variables;
|
|
16807
16854
|
const raw = this._syncEngine.watch(
|
|
16808
|
-
|
|
16855
|
+
chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument,
|
|
16809
16856
|
variables,
|
|
16810
16857
|
"documentCatalog",
|
|
16811
16858
|
async (db) => {
|
|
@@ -16829,7 +16876,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16829
16876
|
}
|
|
16830
16877
|
async fetch(options) {
|
|
16831
16878
|
const variables = this._variables;
|
|
16832
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16879
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
|
|
16833
16880
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
|
|
16834
16881
|
const data = response.documentCatalogs;
|
|
16835
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);
|
|
@@ -16846,7 +16893,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16846
16893
|
const subscriptionId = crypto.randomUUID();
|
|
16847
16894
|
const includes = this._includes;
|
|
16848
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) }] : []);
|
|
16849
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16896
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
|
|
16850
16897
|
const raw = this._syncEngine.watch(
|
|
16851
16898
|
queryDoc,
|
|
16852
16899
|
mergedVars,
|
|
@@ -16881,10 +16928,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16881
16928
|
}
|
|
16882
16929
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
16883
16930
|
format(variables) {
|
|
16884
|
-
const info = extractIncludeInfo(
|
|
16931
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
16885
16932
|
this._includes.push({
|
|
16886
16933
|
fieldName: "format",
|
|
16887
|
-
fragmentDoc:
|
|
16934
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
|
|
16888
16935
|
variables,
|
|
16889
16936
|
isConnection: false,
|
|
16890
16937
|
isList: false,
|
|
@@ -16908,7 +16955,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16908
16955
|
}
|
|
16909
16956
|
async fetch(options) {
|
|
16910
16957
|
const variables = this._variables;
|
|
16911
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16958
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentsDocument, "documents", this._includes, variables, true);
|
|
16912
16959
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
|
|
16913
16960
|
const data = response.documents;
|
|
16914
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);
|
|
@@ -16925,7 +16972,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16925
16972
|
const subscriptionId = crypto.randomUUID();
|
|
16926
16973
|
const includes = this._includes;
|
|
16927
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) }] : []);
|
|
16928
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16975
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.DocumentsDocument, "documents", includes, variables, true);
|
|
16929
16976
|
const raw = this._syncEngine.watch(
|
|
16930
16977
|
queryDoc,
|
|
16931
16978
|
mergedVars,
|
|
@@ -16960,10 +17007,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16960
17007
|
}
|
|
16961
17008
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
16962
17009
|
contents(variables) {
|
|
16963
|
-
const info = extractIncludeInfo(
|
|
17010
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
16964
17011
|
this._includes.push({
|
|
16965
17012
|
fieldName: "contents",
|
|
16966
|
-
fragmentDoc:
|
|
17013
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentContentFragmentDoc,
|
|
16967
17014
|
variables,
|
|
16968
17015
|
isConnection: false,
|
|
16969
17016
|
isList: true,
|
|
@@ -16979,10 +17026,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16979
17026
|
}
|
|
16980
17027
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
16981
17028
|
file(variables) {
|
|
16982
|
-
const info = extractIncludeInfo(
|
|
17029
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FileDocument, "file", ["id"]);
|
|
16983
17030
|
this._includes.push({
|
|
16984
17031
|
fieldName: "file",
|
|
16985
|
-
fragmentDoc:
|
|
17032
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
16986
17033
|
variables,
|
|
16987
17034
|
isConnection: false,
|
|
16988
17035
|
isList: false,
|
|
@@ -16998,10 +17045,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16998
17045
|
}
|
|
16999
17046
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
17000
17047
|
format(variables) {
|
|
17001
|
-
const info = extractIncludeInfo(
|
|
17048
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_FormatDocument, "format", ["id"]);
|
|
17002
17049
|
this._includes.push({
|
|
17003
17050
|
fieldName: "format",
|
|
17004
|
-
fragmentDoc:
|
|
17051
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFormatFragmentDoc,
|
|
17005
17052
|
variables,
|
|
17006
17053
|
isConnection: false,
|
|
17007
17054
|
isList: false,
|
|
@@ -17017,7 +17064,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17017
17064
|
}
|
|
17018
17065
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
17019
17066
|
tables(variables, builder) {
|
|
17020
|
-
const info = extractIncludeInfo(
|
|
17067
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
17021
17068
|
let children;
|
|
17022
17069
|
if (builder) {
|
|
17023
17070
|
const sub = new TableSubBuilder();
|
|
@@ -17026,7 +17073,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17026
17073
|
}
|
|
17027
17074
|
this._includes.push({
|
|
17028
17075
|
fieldName: "tables",
|
|
17029
|
-
fragmentDoc:
|
|
17076
|
+
fragmentDoc: chunkEL37Q6V6_cjs.TableConnectionFragmentDoc,
|
|
17030
17077
|
variables,
|
|
17031
17078
|
isConnection: true,
|
|
17032
17079
|
isList: false,
|
|
@@ -17045,13 +17092,13 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17045
17092
|
};
|
|
17046
17093
|
var ExportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17047
17094
|
async fetch(variables) {
|
|
17048
|
-
const response = await this._request(
|
|
17095
|
+
const response = await this._request(chunkEL37Q6V6_cjs.ExportDocument, variables);
|
|
17049
17096
|
return response.export;
|
|
17050
17097
|
}
|
|
17051
17098
|
};
|
|
17052
17099
|
var ExportWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17053
17100
|
async fetch(variables) {
|
|
17054
|
-
const response = await this._request(
|
|
17101
|
+
const response = await this._request(chunkEL37Q6V6_cjs.ExportWithInsightIdDocument, variables);
|
|
17055
17102
|
return response.exportWithInsightId;
|
|
17056
17103
|
}
|
|
17057
17104
|
};
|
|
@@ -17064,7 +17111,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17064
17111
|
}
|
|
17065
17112
|
async fetch(options) {
|
|
17066
17113
|
const variables = this._variables;
|
|
17067
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17114
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemDocument, "feedItem", this._includes, variables);
|
|
17068
17115
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItem");
|
|
17069
17116
|
const data = response.feedItem;
|
|
17070
17117
|
if (!data) return void 0;
|
|
@@ -17077,7 +17124,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17077
17124
|
watch(options) {
|
|
17078
17125
|
const variables = this._variables;
|
|
17079
17126
|
const includes = this._includes;
|
|
17080
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17127
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemDocument, "feedItem", includes, variables);
|
|
17081
17128
|
const raw = this._syncEngine.watch(
|
|
17082
17129
|
queryDoc,
|
|
17083
17130
|
mergedVars,
|
|
@@ -17108,10 +17155,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17108
17155
|
}
|
|
17109
17156
|
/** Include action in this query (Smart Fetch — single HTTP request). */
|
|
17110
17157
|
action(variables) {
|
|
17111
|
-
const info = extractIncludeInfo(
|
|
17158
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
17112
17159
|
this._includes.push({
|
|
17113
17160
|
fieldName: "action",
|
|
17114
|
-
fragmentDoc:
|
|
17161
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedSendMessageActionFragmentDoc,
|
|
17115
17162
|
variables,
|
|
17116
17163
|
isConnection: false,
|
|
17117
17164
|
isList: false,
|
|
@@ -17127,10 +17174,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17127
17174
|
}
|
|
17128
17175
|
/** Include data in this query (Smart Fetch — single HTTP request). */
|
|
17129
17176
|
data(variables) {
|
|
17130
|
-
const info = extractIncludeInfo(
|
|
17177
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
17131
17178
|
this._includes.push({
|
|
17132
17179
|
fieldName: "data",
|
|
17133
|
-
fragmentDoc:
|
|
17180
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedArtifactDataFragmentDoc,
|
|
17134
17181
|
variables,
|
|
17135
17182
|
isConnection: false,
|
|
17136
17183
|
isList: true,
|
|
@@ -17153,14 +17200,14 @@ var FeedItem_ActionQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17153
17200
|
}
|
|
17154
17201
|
async fetch(options) {
|
|
17155
17202
|
const variables = this._variables;
|
|
17156
|
-
const response = await this._syncEngine.query(
|
|
17203
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, variables, "feedItem");
|
|
17157
17204
|
const data = response.feedItem?.action;
|
|
17158
17205
|
return data ? new FeedSendMessageAction(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17159
17206
|
}
|
|
17160
17207
|
watch(options) {
|
|
17161
17208
|
const variables = this._variables;
|
|
17162
17209
|
const raw = this._syncEngine.watch(
|
|
17163
|
-
|
|
17210
|
+
chunkEL37Q6V6_cjs.FeedItem_ActionDocument,
|
|
17164
17211
|
variables,
|
|
17165
17212
|
"feedItem",
|
|
17166
17213
|
async (db) => {
|
|
@@ -17182,7 +17229,7 @@ var FeedItem_DataQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17182
17229
|
this._variables = variables;
|
|
17183
17230
|
}
|
|
17184
17231
|
async fetch(options) {
|
|
17185
|
-
const response = await this._syncEngine.query(
|
|
17232
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.FeedItem_DataDocument, this._variables, "feedItem");
|
|
17186
17233
|
const data = response.feedItem?.data;
|
|
17187
17234
|
if (!Array.isArray(data)) return [];
|
|
17188
17235
|
return data.map((item) => new FeedArtifactData(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -17197,7 +17244,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17197
17244
|
}
|
|
17198
17245
|
async fetch(options) {
|
|
17199
17246
|
const variables = this._variables;
|
|
17200
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17247
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
|
|
17201
17248
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItems");
|
|
17202
17249
|
const data = response.feedItems;
|
|
17203
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);
|
|
@@ -17214,7 +17261,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17214
17261
|
const subscriptionId = crypto.randomUUID();
|
|
17215
17262
|
const includes = this._includes;
|
|
17216
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) }] : []);
|
|
17217
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17264
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
|
|
17218
17265
|
const raw = this._syncEngine.watch(
|
|
17219
17266
|
queryDoc,
|
|
17220
17267
|
mergedVars,
|
|
@@ -17249,10 +17296,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17249
17296
|
}
|
|
17250
17297
|
/** Include action in this query (Smart Fetch — single HTTP request). */
|
|
17251
17298
|
action(variables) {
|
|
17252
|
-
const info = extractIncludeInfo(
|
|
17299
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
17253
17300
|
this._includes.push({
|
|
17254
17301
|
fieldName: "action",
|
|
17255
|
-
fragmentDoc:
|
|
17302
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedSendMessageActionFragmentDoc,
|
|
17256
17303
|
variables,
|
|
17257
17304
|
isConnection: false,
|
|
17258
17305
|
isList: false,
|
|
@@ -17268,10 +17315,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17268
17315
|
}
|
|
17269
17316
|
/** Include data in this query (Smart Fetch — single HTTP request). */
|
|
17270
17317
|
data(variables) {
|
|
17271
|
-
const info = extractIncludeInfo(
|
|
17318
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
17272
17319
|
this._includes.push({
|
|
17273
17320
|
fieldName: "data",
|
|
17274
|
-
fragmentDoc:
|
|
17321
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FeedArtifactDataFragmentDoc,
|
|
17275
17322
|
variables,
|
|
17276
17323
|
isConnection: false,
|
|
17277
17324
|
isList: true,
|
|
@@ -17288,7 +17335,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17288
17335
|
};
|
|
17289
17336
|
var FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17290
17337
|
async fetch(variables) {
|
|
17291
|
-
const response = await this._request(
|
|
17338
|
+
const response = await this._request(chunkEL37Q6V6_cjs.FileDocument, variables);
|
|
17292
17339
|
return response.file;
|
|
17293
17340
|
}
|
|
17294
17341
|
};
|
|
@@ -17301,7 +17348,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17301
17348
|
}
|
|
17302
17349
|
async fetch(options) {
|
|
17303
17350
|
const variables = this._variables;
|
|
17304
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17351
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
|
|
17305
17352
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
|
|
17306
17353
|
const data = response.fileMeta;
|
|
17307
17354
|
if (!data) return void 0;
|
|
@@ -17314,7 +17361,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17314
17361
|
watch(options) {
|
|
17315
17362
|
const variables = this._variables;
|
|
17316
17363
|
const includes = this._includes;
|
|
17317
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17364
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FileMetaDocument, "fileMeta", includes, variables);
|
|
17318
17365
|
const raw = this._syncEngine.watch(
|
|
17319
17366
|
queryDoc,
|
|
17320
17367
|
mergedVars,
|
|
@@ -17352,7 +17399,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17352
17399
|
this._variables = variables;
|
|
17353
17400
|
}
|
|
17354
17401
|
async fetch(options) {
|
|
17355
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17402
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
|
|
17356
17403
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
|
|
17357
17404
|
const data = response.fileUrls;
|
|
17358
17405
|
if (!Array.isArray(data)) return [];
|
|
@@ -17361,7 +17408,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17361
17408
|
};
|
|
17362
17409
|
var FindFitTierQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17363
17410
|
async fetch(variables) {
|
|
17364
|
-
const response = await this._request(
|
|
17411
|
+
const response = await this._request(chunkEL37Q6V6_cjs.FindFitTierDocument, variables);
|
|
17365
17412
|
return response.findFitTier ?? void 0;
|
|
17366
17413
|
}
|
|
17367
17414
|
};
|
|
@@ -17374,7 +17421,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17374
17421
|
}
|
|
17375
17422
|
async fetch(options) {
|
|
17376
17423
|
const variables = this._variables;
|
|
17377
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17424
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FolderDocument, "folder", this._includes, variables);
|
|
17378
17425
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
|
|
17379
17426
|
const data = response.folder;
|
|
17380
17427
|
const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17386,7 +17433,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17386
17433
|
watch(options) {
|
|
17387
17434
|
const variables = this._variables;
|
|
17388
17435
|
const includes = this._includes;
|
|
17389
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17436
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FolderDocument, "folder", includes, variables);
|
|
17390
17437
|
const raw = this._syncEngine.watch(
|
|
17391
17438
|
queryDoc,
|
|
17392
17439
|
mergedVars,
|
|
@@ -17424,7 +17471,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17424
17471
|
}
|
|
17425
17472
|
async fetch(options) {
|
|
17426
17473
|
const variables = this._variables;
|
|
17427
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17474
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FoldersDocument, "folders", this._includes, variables, true);
|
|
17428
17475
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
|
|
17429
17476
|
const data = response.folders;
|
|
17430
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);
|
|
@@ -17441,7 +17488,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17441
17488
|
const subscriptionId = crypto.randomUUID();
|
|
17442
17489
|
const includes = this._includes;
|
|
17443
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) }] : []);
|
|
17444
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17491
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.FoldersDocument, "folders", includes, variables, true);
|
|
17445
17492
|
const raw = this._syncEngine.watch(
|
|
17446
17493
|
queryDoc,
|
|
17447
17494
|
mergedVars,
|
|
@@ -17477,7 +17524,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17477
17524
|
};
|
|
17478
17525
|
var GetCapabilityQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17479
17526
|
async fetch(variables) {
|
|
17480
|
-
const response = await this._request(
|
|
17527
|
+
const response = await this._request(chunkEL37Q6V6_cjs.GetCapabilityDocument, variables);
|
|
17481
17528
|
return response.getCapability;
|
|
17482
17529
|
}
|
|
17483
17530
|
};
|
|
@@ -17490,7 +17537,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17490
17537
|
}
|
|
17491
17538
|
async fetch(options) {
|
|
17492
17539
|
const variables = this._variables;
|
|
17493
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17540
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
|
|
17494
17541
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
|
|
17495
17542
|
const data = response.getDevAccessToken;
|
|
17496
17543
|
const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17502,7 +17549,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17502
17549
|
watch(options) {
|
|
17503
17550
|
const variables = this._variables;
|
|
17504
17551
|
const includes = this._includes;
|
|
17505
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17552
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
|
|
17506
17553
|
const raw = this._syncEngine.watch(
|
|
17507
17554
|
queryDoc,
|
|
17508
17555
|
mergedVars,
|
|
@@ -17533,13 +17580,13 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17533
17580
|
};
|
|
17534
17581
|
var GetLimitQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17535
17582
|
async fetch(variables) {
|
|
17536
|
-
const response = await this._request(
|
|
17583
|
+
const response = await this._request(chunkEL37Q6V6_cjs.GetLimitDocument, variables);
|
|
17537
17584
|
return response.getLimit ?? void 0;
|
|
17538
17585
|
}
|
|
17539
17586
|
};
|
|
17540
17587
|
var GetRemainingQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17541
17588
|
async fetch(variables) {
|
|
17542
|
-
const response = await this._request(
|
|
17589
|
+
const response = await this._request(chunkEL37Q6V6_cjs.GetRemainingDocument, variables);
|
|
17543
17590
|
return response.getRemaining ?? void 0;
|
|
17544
17591
|
}
|
|
17545
17592
|
};
|
|
@@ -17551,7 +17598,7 @@ var GetTokenUsageByModelQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17551
17598
|
this._variables = variables;
|
|
17552
17599
|
}
|
|
17553
17600
|
async fetch(options) {
|
|
17554
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17601
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
|
|
17555
17602
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
|
|
17556
17603
|
const data = response.getTokenUsageByModel;
|
|
17557
17604
|
if (!Array.isArray(data)) return [];
|
|
@@ -17566,7 +17613,7 @@ var GetTokenUsageHistoryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17566
17613
|
this._variables = variables;
|
|
17567
17614
|
}
|
|
17568
17615
|
async fetch(options) {
|
|
17569
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17616
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
|
|
17570
17617
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
|
|
17571
17618
|
const data = response.getTokenUsageHistory;
|
|
17572
17619
|
if (!Array.isArray(data)) return [];
|
|
@@ -17582,7 +17629,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17582
17629
|
}
|
|
17583
17630
|
async fetch(options) {
|
|
17584
17631
|
const variables = this._variables;
|
|
17585
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17632
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
|
|
17586
17633
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
|
|
17587
17634
|
const data = response.getTokenUsageStatus;
|
|
17588
17635
|
const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17594,7 +17641,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17594
17641
|
watch(options) {
|
|
17595
17642
|
const variables = this._variables;
|
|
17596
17643
|
const includes = this._includes;
|
|
17597
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17644
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
|
|
17598
17645
|
const raw = this._syncEngine.watch(
|
|
17599
17646
|
queryDoc,
|
|
17600
17647
|
mergedVars,
|
|
@@ -17624,10 +17671,10 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17624
17671
|
}
|
|
17625
17672
|
/** Include windows in this query (Smart Fetch — single HTTP request). */
|
|
17626
17673
|
windows(variables) {
|
|
17627
|
-
const info = extractIncludeInfo(
|
|
17674
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
|
|
17628
17675
|
this._includes.push({
|
|
17629
17676
|
fieldName: "windows",
|
|
17630
|
-
fragmentDoc:
|
|
17677
|
+
fragmentDoc: chunkEL37Q6V6_cjs.UsageWindowsStatusTypeFragmentDoc,
|
|
17631
17678
|
variables,
|
|
17632
17679
|
isConnection: false,
|
|
17633
17680
|
isList: false,
|
|
@@ -17650,14 +17697,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17650
17697
|
}
|
|
17651
17698
|
async fetch(options) {
|
|
17652
17699
|
const variables = this._variables;
|
|
17653
|
-
const response = await this._syncEngine.query(
|
|
17700
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
|
|
17654
17701
|
const data = response.getTokenUsageStatus?.windows;
|
|
17655
17702
|
return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17656
17703
|
}
|
|
17657
17704
|
watch(options) {
|
|
17658
17705
|
const variables = this._variables;
|
|
17659
17706
|
const raw = this._syncEngine.watch(
|
|
17660
|
-
|
|
17707
|
+
chunkEL37Q6V6_cjs.GetTokenUsageStatus_WindowsDocument,
|
|
17661
17708
|
variables,
|
|
17662
17709
|
"getTokenUsageStatus",
|
|
17663
17710
|
async (db) => {
|
|
@@ -17680,14 +17727,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk342BFYZZ_cjs.Reque
|
|
|
17680
17727
|
}
|
|
17681
17728
|
async fetch(options) {
|
|
17682
17729
|
const variables = this._variables;
|
|
17683
|
-
const response = await this._syncEngine.query(
|
|
17730
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
|
|
17684
17731
|
const data = response.getTokenUsageStatus?.windows?.day;
|
|
17685
17732
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17686
17733
|
}
|
|
17687
17734
|
watch(options) {
|
|
17688
17735
|
const variables = this._variables;
|
|
17689
17736
|
const raw = this._syncEngine.watch(
|
|
17690
|
-
|
|
17737
|
+
chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_DayDocument,
|
|
17691
17738
|
variables,
|
|
17692
17739
|
"getTokenUsageStatus",
|
|
17693
17740
|
async (db) => {
|
|
@@ -17710,14 +17757,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk342BFYZZ_cjs.
|
|
|
17710
17757
|
}
|
|
17711
17758
|
async fetch(options) {
|
|
17712
17759
|
const variables = this._variables;
|
|
17713
|
-
const response = await this._syncEngine.query(
|
|
17760
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
|
|
17714
17761
|
const data = response.getTokenUsageStatus?.windows?.fiveHour;
|
|
17715
17762
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17716
17763
|
}
|
|
17717
17764
|
watch(options) {
|
|
17718
17765
|
const variables = this._variables;
|
|
17719
17766
|
const raw = this._syncEngine.watch(
|
|
17720
|
-
|
|
17767
|
+
chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
|
|
17721
17768
|
variables,
|
|
17722
17769
|
"getTokenUsageStatus",
|
|
17723
17770
|
async (db) => {
|
|
@@ -17740,14 +17787,14 @@ var GetTokenUsageStatus_Windows_MonthQuery = class extends chunk342BFYZZ_cjs.Req
|
|
|
17740
17787
|
}
|
|
17741
17788
|
async fetch(options) {
|
|
17742
17789
|
const variables = this._variables;
|
|
17743
|
-
const response = await this._syncEngine.query(
|
|
17790
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_MonthDocument, variables, "getTokenUsageStatus");
|
|
17744
17791
|
const data = response.getTokenUsageStatus?.windows?.month;
|
|
17745
17792
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17746
17793
|
}
|
|
17747
17794
|
watch(options) {
|
|
17748
17795
|
const variables = this._variables;
|
|
17749
17796
|
const raw = this._syncEngine.watch(
|
|
17750
|
-
|
|
17797
|
+
chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_MonthDocument,
|
|
17751
17798
|
variables,
|
|
17752
17799
|
"getTokenUsageStatus",
|
|
17753
17800
|
async (db) => {
|
|
@@ -17770,14 +17817,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
|
|
|
17770
17817
|
}
|
|
17771
17818
|
async fetch(options) {
|
|
17772
17819
|
const variables = this._variables;
|
|
17773
|
-
const response = await this._syncEngine.query(
|
|
17820
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
|
|
17774
17821
|
const data = response.getTokenUsageStatus?.windows?.week;
|
|
17775
17822
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17776
17823
|
}
|
|
17777
17824
|
watch(options) {
|
|
17778
17825
|
const variables = this._variables;
|
|
17779
17826
|
const raw = this._syncEngine.watch(
|
|
17780
|
-
|
|
17827
|
+
chunkEL37Q6V6_cjs.GetTokenUsageStatus_Windows_WeekDocument,
|
|
17781
17828
|
variables,
|
|
17782
17829
|
"getTokenUsageStatus",
|
|
17783
17830
|
async (db) => {
|
|
@@ -17794,7 +17841,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
|
|
|
17794
17841
|
};
|
|
17795
17842
|
var GetUsageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17796
17843
|
async fetch(variables) {
|
|
17797
|
-
const response = await this._request(
|
|
17844
|
+
const response = await this._request(chunkEL37Q6V6_cjs.GetUsageDocument, variables);
|
|
17798
17845
|
return response.getUsage ?? void 0;
|
|
17799
17846
|
}
|
|
17800
17847
|
};
|
|
@@ -17807,7 +17854,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17807
17854
|
}
|
|
17808
17855
|
async fetch(options) {
|
|
17809
17856
|
const variables = this._variables;
|
|
17810
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17857
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightDocument, "insight", this._includes, variables);
|
|
17811
17858
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
|
|
17812
17859
|
const data = response.insight;
|
|
17813
17860
|
const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17819,7 +17866,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17819
17866
|
watch(options) {
|
|
17820
17867
|
const variables = this._variables;
|
|
17821
17868
|
const includes = this._includes;
|
|
17822
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17869
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightDocument, "insight", includes, variables);
|
|
17823
17870
|
const raw = this._syncEngine.watch(
|
|
17824
17871
|
queryDoc,
|
|
17825
17872
|
mergedVars,
|
|
@@ -17849,7 +17896,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17849
17896
|
}
|
|
17850
17897
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
17851
17898
|
chat(variables, builder) {
|
|
17852
|
-
const info = extractIncludeInfo(
|
|
17899
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
17853
17900
|
let children;
|
|
17854
17901
|
if (builder) {
|
|
17855
17902
|
const sub = new ChatSubBuilder();
|
|
@@ -17858,7 +17905,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17858
17905
|
}
|
|
17859
17906
|
this._includes.push({
|
|
17860
17907
|
fieldName: "chat",
|
|
17861
|
-
fragmentDoc:
|
|
17908
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
17862
17909
|
variables,
|
|
17863
17910
|
isConnection: false,
|
|
17864
17911
|
isList: false,
|
|
@@ -17875,10 +17922,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17875
17922
|
}
|
|
17876
17923
|
/** Include reportMembers in this query (Smart Fetch — single HTTP request). */
|
|
17877
17924
|
reportMembers(variables) {
|
|
17878
|
-
const info = extractIncludeInfo(
|
|
17925
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
17879
17926
|
this._includes.push({
|
|
17880
17927
|
fieldName: "reportMembers",
|
|
17881
|
-
fragmentDoc:
|
|
17928
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
|
|
17882
17929
|
variables,
|
|
17883
17930
|
isConnection: false,
|
|
17884
17931
|
isList: true,
|
|
@@ -17894,7 +17941,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17894
17941
|
}
|
|
17895
17942
|
/** Include reports in this query (Smart Fetch — single HTTP request). */
|
|
17896
17943
|
reports(variables, builder) {
|
|
17897
|
-
const info = extractIncludeInfo(
|
|
17944
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
17898
17945
|
let children;
|
|
17899
17946
|
if (builder) {
|
|
17900
17947
|
const sub = new ReportSubBuilder();
|
|
@@ -17903,7 +17950,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17903
17950
|
}
|
|
17904
17951
|
this._includes.push({
|
|
17905
17952
|
fieldName: "reports",
|
|
17906
|
-
fragmentDoc:
|
|
17953
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportConnectionFragmentDoc,
|
|
17907
17954
|
variables,
|
|
17908
17955
|
isConnection: true,
|
|
17909
17956
|
isList: false,
|
|
@@ -17921,10 +17968,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17921
17968
|
}
|
|
17922
17969
|
/** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
|
|
17923
17970
|
thumbnailFile(variables) {
|
|
17924
|
-
const info = extractIncludeInfo(
|
|
17971
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
17925
17972
|
this._includes.push({
|
|
17926
17973
|
fieldName: "thumbnailFile",
|
|
17927
|
-
fragmentDoc:
|
|
17974
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
17928
17975
|
variables,
|
|
17929
17976
|
isConnection: false,
|
|
17930
17977
|
isList: false,
|
|
@@ -17947,14 +17994,14 @@ var Insight_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17947
17994
|
}
|
|
17948
17995
|
async fetch(options) {
|
|
17949
17996
|
const variables = this._variables;
|
|
17950
|
-
const response = await this._syncEngine.query(
|
|
17997
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ChatDocument, variables, "insight");
|
|
17951
17998
|
const data = response.insight?.chat;
|
|
17952
17999
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17953
18000
|
}
|
|
17954
18001
|
watch(options) {
|
|
17955
18002
|
const variables = this._variables;
|
|
17956
18003
|
const raw = this._syncEngine.watch(
|
|
17957
|
-
|
|
18004
|
+
chunkEL37Q6V6_cjs.Insight_ChatDocument,
|
|
17958
18005
|
variables,
|
|
17959
18006
|
"insight",
|
|
17960
18007
|
async (db) => {
|
|
@@ -17976,7 +18023,7 @@ var Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17976
18023
|
this._variables = variables;
|
|
17977
18024
|
}
|
|
17978
18025
|
async fetch(options) {
|
|
17979
|
-
const response = await this._syncEngine.query(
|
|
18026
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, this._variables, "insight");
|
|
17980
18027
|
const data = response.insight?.reportMembers;
|
|
17981
18028
|
if (!Array.isArray(data)) return [];
|
|
17982
18029
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -17990,18 +18037,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk342BFYZZ_cjs
|
|
|
17990
18037
|
}
|
|
17991
18038
|
async fetch(options) {
|
|
17992
18039
|
const variables = this._variables;
|
|
17993
|
-
const response = await this._syncEngine.query(
|
|
18040
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ReportsDocument, variables, "insight");
|
|
17994
18041
|
const data = response.insight?.reports;
|
|
17995
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);
|
|
17996
18043
|
}
|
|
17997
18044
|
watch(options) {
|
|
17998
18045
|
const variables = this._variables;
|
|
17999
18046
|
const raw = this._syncEngine.watch(
|
|
18000
|
-
|
|
18047
|
+
chunkEL37Q6V6_cjs.Insight_ReportsDocument,
|
|
18001
18048
|
variables,
|
|
18002
18049
|
"insight",
|
|
18003
18050
|
async (db) => {
|
|
18004
|
-
const qr = await db._queryResults.get(buildQueryKey("insight", variables,
|
|
18051
|
+
const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkEL37Q6V6_cjs.Insight_ReportsDocument));
|
|
18005
18052
|
const nodes = qr ? await db.table("reports").bulkGet(qr.entityIds) : [];
|
|
18006
18053
|
return { insight: { reports: { __typename: "ReportConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
18007
18054
|
}
|
|
@@ -18020,14 +18067,14 @@ var Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18020
18067
|
}
|
|
18021
18068
|
async fetch(options) {
|
|
18022
18069
|
const variables = this._variables;
|
|
18023
|
-
const response = await this._syncEngine.query(
|
|
18070
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, variables, "insight");
|
|
18024
18071
|
const data = response.insight?.thumbnailFile;
|
|
18025
18072
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18026
18073
|
}
|
|
18027
18074
|
watch(options) {
|
|
18028
18075
|
const variables = this._variables;
|
|
18029
18076
|
const raw = this._syncEngine.watch(
|
|
18030
|
-
|
|
18077
|
+
chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument,
|
|
18031
18078
|
variables,
|
|
18032
18079
|
"insight",
|
|
18033
18080
|
async (db) => {
|
|
@@ -18051,7 +18098,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18051
18098
|
}
|
|
18052
18099
|
async fetch(options) {
|
|
18053
18100
|
const variables = this._variables;
|
|
18054
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18101
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightsDocument, "insights", this._includes, variables, true);
|
|
18055
18102
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
|
|
18056
18103
|
const data = response.insights;
|
|
18057
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);
|
|
@@ -18068,7 +18115,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18068
18115
|
const subscriptionId = crypto.randomUUID();
|
|
18069
18116
|
const includes = this._includes;
|
|
18070
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) }] : []);
|
|
18071
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18118
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InsightsDocument, "insights", includes, variables, true);
|
|
18072
18119
|
const raw = this._syncEngine.watch(
|
|
18073
18120
|
queryDoc,
|
|
18074
18121
|
mergedVars,
|
|
@@ -18103,7 +18150,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18103
18150
|
}
|
|
18104
18151
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
18105
18152
|
chat(variables, builder) {
|
|
18106
|
-
const info = extractIncludeInfo(
|
|
18153
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
18107
18154
|
let children;
|
|
18108
18155
|
if (builder) {
|
|
18109
18156
|
const sub = new ChatSubBuilder();
|
|
@@ -18112,7 +18159,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18112
18159
|
}
|
|
18113
18160
|
this._includes.push({
|
|
18114
18161
|
fieldName: "chat",
|
|
18115
|
-
fragmentDoc:
|
|
18162
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ChatFragmentDoc,
|
|
18116
18163
|
variables,
|
|
18117
18164
|
isConnection: false,
|
|
18118
18165
|
isList: false,
|
|
@@ -18129,10 +18176,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18129
18176
|
}
|
|
18130
18177
|
/** Include reportMembers in this query (Smart Fetch — single HTTP request). */
|
|
18131
18178
|
reportMembers(variables) {
|
|
18132
|
-
const info = extractIncludeInfo(
|
|
18179
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
18133
18180
|
this._includes.push({
|
|
18134
18181
|
fieldName: "reportMembers",
|
|
18135
|
-
fragmentDoc:
|
|
18182
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
|
|
18136
18183
|
variables,
|
|
18137
18184
|
isConnection: false,
|
|
18138
18185
|
isList: true,
|
|
@@ -18148,7 +18195,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18148
18195
|
}
|
|
18149
18196
|
/** Include reports in this query (Smart Fetch — single HTTP request). */
|
|
18150
18197
|
reports(variables, builder) {
|
|
18151
|
-
const info = extractIncludeInfo(
|
|
18198
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
18152
18199
|
let children;
|
|
18153
18200
|
if (builder) {
|
|
18154
18201
|
const sub = new ReportSubBuilder();
|
|
@@ -18157,7 +18204,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18157
18204
|
}
|
|
18158
18205
|
this._includes.push({
|
|
18159
18206
|
fieldName: "reports",
|
|
18160
|
-
fragmentDoc:
|
|
18207
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportConnectionFragmentDoc,
|
|
18161
18208
|
variables,
|
|
18162
18209
|
isConnection: true,
|
|
18163
18210
|
isList: false,
|
|
@@ -18175,10 +18222,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18175
18222
|
}
|
|
18176
18223
|
/** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
|
|
18177
18224
|
thumbnailFile(variables) {
|
|
18178
|
-
const info = extractIncludeInfo(
|
|
18225
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
18179
18226
|
this._includes.push({
|
|
18180
18227
|
fieldName: "thumbnailFile",
|
|
18181
|
-
fragmentDoc:
|
|
18228
|
+
fragmentDoc: chunkEL37Q6V6_cjs.FileFragmentDoc,
|
|
18182
18229
|
variables,
|
|
18183
18230
|
isConnection: false,
|
|
18184
18231
|
isList: false,
|
|
@@ -18202,7 +18249,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18202
18249
|
}
|
|
18203
18250
|
async fetch(options) {
|
|
18204
18251
|
const variables = this._variables;
|
|
18205
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18252
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationDocument, "integration", this._includes, variables);
|
|
18206
18253
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
|
|
18207
18254
|
const data = response.integration;
|
|
18208
18255
|
const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18214,7 +18261,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18214
18261
|
watch(options) {
|
|
18215
18262
|
const variables = this._variables;
|
|
18216
18263
|
const includes = this._includes;
|
|
18217
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18264
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationDocument, "integration", includes, variables);
|
|
18218
18265
|
const raw = this._syncEngine.watch(
|
|
18219
18266
|
queryDoc,
|
|
18220
18267
|
mergedVars,
|
|
@@ -18244,10 +18291,10 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18244
18291
|
}
|
|
18245
18292
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18246
18293
|
provider(variables) {
|
|
18247
|
-
const info = extractIncludeInfo(
|
|
18294
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
18248
18295
|
this._includes.push({
|
|
18249
18296
|
fieldName: "provider",
|
|
18250
|
-
fragmentDoc:
|
|
18297
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
|
|
18251
18298
|
variables,
|
|
18252
18299
|
isConnection: false,
|
|
18253
18300
|
isList: false,
|
|
@@ -18270,14 +18317,14 @@ var Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18270
18317
|
}
|
|
18271
18318
|
async fetch(options) {
|
|
18272
18319
|
const variables = this._variables;
|
|
18273
|
-
const response = await this._syncEngine.query(
|
|
18320
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Integration_ProviderDocument, variables, "integration");
|
|
18274
18321
|
const data = response.integration?.provider;
|
|
18275
18322
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18276
18323
|
}
|
|
18277
18324
|
watch(options) {
|
|
18278
18325
|
const variables = this._variables;
|
|
18279
18326
|
const raw = this._syncEngine.watch(
|
|
18280
|
-
|
|
18327
|
+
chunkEL37Q6V6_cjs.Integration_ProviderDocument,
|
|
18281
18328
|
variables,
|
|
18282
18329
|
"integration",
|
|
18283
18330
|
async (db) => {
|
|
@@ -18300,14 +18347,14 @@ var Integration_Provider_CatalogQuery = class extends chunk342BFYZZ_cjs.Request
|
|
|
18300
18347
|
}
|
|
18301
18348
|
async fetch(options) {
|
|
18302
18349
|
const variables = this._variables;
|
|
18303
|
-
const response = await this._syncEngine.query(
|
|
18350
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Integration_Provider_CatalogDocument, variables, "integration");
|
|
18304
18351
|
const data = response.integration?.provider?.catalog;
|
|
18305
18352
|
return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18306
18353
|
}
|
|
18307
18354
|
watch(options) {
|
|
18308
18355
|
const variables = this._variables;
|
|
18309
18356
|
const raw = this._syncEngine.watch(
|
|
18310
|
-
|
|
18357
|
+
chunkEL37Q6V6_cjs.Integration_Provider_CatalogDocument,
|
|
18311
18358
|
variables,
|
|
18312
18359
|
"integration",
|
|
18313
18360
|
async (db) => {
|
|
@@ -18331,7 +18378,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18331
18378
|
}
|
|
18332
18379
|
async fetch(options) {
|
|
18333
18380
|
const variables = this._variables;
|
|
18334
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18381
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
|
|
18335
18382
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
|
|
18336
18383
|
const data = response.integrationCatalog;
|
|
18337
18384
|
const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18343,7 +18390,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18343
18390
|
watch(options) {
|
|
18344
18391
|
const variables = this._variables;
|
|
18345
18392
|
const includes = this._includes;
|
|
18346
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18393
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
|
|
18347
18394
|
const raw = this._syncEngine.watch(
|
|
18348
18395
|
queryDoc,
|
|
18349
18396
|
mergedVars,
|
|
@@ -18373,10 +18420,10 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18373
18420
|
}
|
|
18374
18421
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18375
18422
|
provider(variables) {
|
|
18376
|
-
const info = extractIncludeInfo(
|
|
18423
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
18377
18424
|
this._includes.push({
|
|
18378
18425
|
fieldName: "provider",
|
|
18379
|
-
fragmentDoc:
|
|
18426
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
|
|
18380
18427
|
variables,
|
|
18381
18428
|
isConnection: false,
|
|
18382
18429
|
isList: false,
|
|
@@ -18399,14 +18446,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18399
18446
|
}
|
|
18400
18447
|
async fetch(options) {
|
|
18401
18448
|
const variables = this._variables;
|
|
18402
|
-
const response = await this._syncEngine.query(
|
|
18449
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
|
|
18403
18450
|
const data = response.integrationCatalog?.provider;
|
|
18404
18451
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18405
18452
|
}
|
|
18406
18453
|
watch(options) {
|
|
18407
18454
|
const variables = this._variables;
|
|
18408
18455
|
const raw = this._syncEngine.watch(
|
|
18409
|
-
|
|
18456
|
+
chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument,
|
|
18410
18457
|
variables,
|
|
18411
18458
|
"integrationCatalog",
|
|
18412
18459
|
async (db) => {
|
|
@@ -18423,7 +18470,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18423
18470
|
};
|
|
18424
18471
|
var IntegrationCatalogToolsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18425
18472
|
async fetch(variables) {
|
|
18426
|
-
const response = await this._request(
|
|
18473
|
+
const response = await this._request(chunkEL37Q6V6_cjs.IntegrationCatalogToolsDocument, variables);
|
|
18427
18474
|
return response.integrationCatalogTools;
|
|
18428
18475
|
}
|
|
18429
18476
|
};
|
|
@@ -18436,7 +18483,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
18436
18483
|
}
|
|
18437
18484
|
async fetch(options) {
|
|
18438
18485
|
const variables = this._variables;
|
|
18439
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18486
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
|
|
18440
18487
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
|
|
18441
18488
|
const data = response.integrationCatalogs;
|
|
18442
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);
|
|
@@ -18453,7 +18500,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
18453
18500
|
const subscriptionId = crypto.randomUUID();
|
|
18454
18501
|
const includes = this._includes;
|
|
18455
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) }] : []);
|
|
18456
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18503
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
|
|
18457
18504
|
const raw = this._syncEngine.watch(
|
|
18458
18505
|
queryDoc,
|
|
18459
18506
|
mergedVars,
|
|
@@ -18488,10 +18535,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
18488
18535
|
}
|
|
18489
18536
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18490
18537
|
provider(variables) {
|
|
18491
|
-
const info = extractIncludeInfo(
|
|
18538
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
18492
18539
|
this._includes.push({
|
|
18493
18540
|
fieldName: "provider",
|
|
18494
|
-
fragmentDoc:
|
|
18541
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
|
|
18495
18542
|
variables,
|
|
18496
18543
|
isConnection: false,
|
|
18497
18544
|
isList: false,
|
|
@@ -18515,7 +18562,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
18515
18562
|
}
|
|
18516
18563
|
async fetch(options) {
|
|
18517
18564
|
const variables = this._variables;
|
|
18518
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18565
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
|
|
18519
18566
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
|
|
18520
18567
|
const data = response.integrations;
|
|
18521
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);
|
|
@@ -18532,7 +18579,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
18532
18579
|
const subscriptionId = crypto.randomUUID();
|
|
18533
18580
|
const includes = this._includes;
|
|
18534
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) }] : []);
|
|
18535
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18582
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.IntegrationsDocument, "integrations", includes, variables, true);
|
|
18536
18583
|
const raw = this._syncEngine.watch(
|
|
18537
18584
|
queryDoc,
|
|
18538
18585
|
mergedVars,
|
|
@@ -18567,10 +18614,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
18567
18614
|
}
|
|
18568
18615
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18569
18616
|
provider(variables) {
|
|
18570
|
-
const info = extractIncludeInfo(
|
|
18617
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
18571
18618
|
this._includes.push({
|
|
18572
18619
|
fieldName: "provider",
|
|
18573
|
-
fragmentDoc:
|
|
18620
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationProviderFragmentDoc,
|
|
18574
18621
|
variables,
|
|
18575
18622
|
isConnection: false,
|
|
18576
18623
|
isList: false,
|
|
@@ -18594,7 +18641,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
|
|
|
18594
18641
|
}
|
|
18595
18642
|
async fetch(options) {
|
|
18596
18643
|
const variables = this._variables;
|
|
18597
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18644
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
|
|
18598
18645
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
|
|
18599
18646
|
const data = response.interpretations;
|
|
18600
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);
|
|
@@ -18611,7 +18658,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
|
|
|
18611
18658
|
const subscriptionId = crypto.randomUUID();
|
|
18612
18659
|
const includes = this._includes;
|
|
18613
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) }] : []);
|
|
18614
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18661
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
|
|
18615
18662
|
const raw = this._syncEngine.watch(
|
|
18616
18663
|
queryDoc,
|
|
18617
18664
|
mergedVars,
|
|
@@ -18654,7 +18701,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18654
18701
|
}
|
|
18655
18702
|
async fetch(options) {
|
|
18656
18703
|
const variables = this._variables;
|
|
18657
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18704
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationDocument, "notification", this._includes, variables);
|
|
18658
18705
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
|
|
18659
18706
|
const data = response.notification;
|
|
18660
18707
|
const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18666,7 +18713,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18666
18713
|
watch(options) {
|
|
18667
18714
|
const variables = this._variables;
|
|
18668
18715
|
const includes = this._includes;
|
|
18669
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18716
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationDocument, "notification", includes, variables);
|
|
18670
18717
|
const raw = this._syncEngine.watch(
|
|
18671
18718
|
queryDoc,
|
|
18672
18719
|
mergedVars,
|
|
@@ -18704,7 +18751,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
|
|
|
18704
18751
|
}
|
|
18705
18752
|
async fetch(options) {
|
|
18706
18753
|
const variables = this._variables;
|
|
18707
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18754
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
|
|
18708
18755
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
|
|
18709
18756
|
const data = response.notifications;
|
|
18710
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);
|
|
@@ -18721,7 +18768,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
|
|
|
18721
18768
|
const subscriptionId = crypto.randomUUID();
|
|
18722
18769
|
const includes = this._includes;
|
|
18723
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) }] : []);
|
|
18724
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18771
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationsDocument, "notifications", includes, variables, true);
|
|
18725
18772
|
const raw = this._syncEngine.watch(
|
|
18726
18773
|
queryDoc,
|
|
18727
18774
|
mergedVars,
|
|
@@ -18763,7 +18810,7 @@ var NotificationsByReferenceQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18763
18810
|
this._variables = variables;
|
|
18764
18811
|
}
|
|
18765
18812
|
async fetch(options) {
|
|
18766
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18813
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
|
|
18767
18814
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
|
|
18768
18815
|
const data = response.notificationsByReference;
|
|
18769
18816
|
if (!Array.isArray(data)) return [];
|
|
@@ -18779,7 +18826,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18779
18826
|
}
|
|
18780
18827
|
async fetch(options) {
|
|
18781
18828
|
const variables = this._variables;
|
|
18782
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18829
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
|
|
18783
18830
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
|
|
18784
18831
|
const data = response.privacyStats;
|
|
18785
18832
|
const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18791,7 +18838,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18791
18838
|
watch(options) {
|
|
18792
18839
|
const variables = this._variables;
|
|
18793
18840
|
const includes = this._includes;
|
|
18794
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18841
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
|
|
18795
18842
|
const raw = this._syncEngine.watch(
|
|
18796
18843
|
queryDoc,
|
|
18797
18844
|
mergedVars,
|
|
@@ -18829,7 +18876,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18829
18876
|
}
|
|
18830
18877
|
async fetch(options) {
|
|
18831
18878
|
const variables = this._variables;
|
|
18832
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18879
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
|
|
18833
18880
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
|
|
18834
18881
|
const data = response.pulseAppSummary;
|
|
18835
18882
|
if (!data) return void 0;
|
|
@@ -18842,7 +18889,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18842
18889
|
watch(options) {
|
|
18843
18890
|
const variables = this._variables;
|
|
18844
18891
|
const includes = this._includes;
|
|
18845
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18892
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
|
|
18846
18893
|
const raw = this._syncEngine.watch(
|
|
18847
18894
|
queryDoc,
|
|
18848
18895
|
mergedVars,
|
|
@@ -18881,7 +18928,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18881
18928
|
}
|
|
18882
18929
|
async fetch(options) {
|
|
18883
18930
|
const variables = this._variables;
|
|
18884
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18931
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
|
|
18885
18932
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
|
|
18886
18933
|
const data = response.pulseEvent;
|
|
18887
18934
|
const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18893,7 +18940,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18893
18940
|
watch(options) {
|
|
18894
18941
|
const variables = this._variables;
|
|
18895
18942
|
const includes = this._includes;
|
|
18896
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18943
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventDocument, "pulseEvent", includes, variables);
|
|
18897
18944
|
const raw = this._syncEngine.watch(
|
|
18898
18945
|
queryDoc,
|
|
18899
18946
|
mergedVars,
|
|
@@ -18923,7 +18970,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18923
18970
|
}
|
|
18924
18971
|
/** Include integration in this query (Smart Fetch — single HTTP request). */
|
|
18925
18972
|
integration(variables, builder) {
|
|
18926
|
-
const info = extractIncludeInfo(
|
|
18973
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
18927
18974
|
let children;
|
|
18928
18975
|
if (builder) {
|
|
18929
18976
|
const sub = new IntegrationSubBuilder();
|
|
@@ -18932,7 +18979,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18932
18979
|
}
|
|
18933
18980
|
this._includes.push({
|
|
18934
18981
|
fieldName: "integration",
|
|
18935
|
-
fragmentDoc:
|
|
18982
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationFragmentDoc,
|
|
18936
18983
|
variables,
|
|
18937
18984
|
isConnection: false,
|
|
18938
18985
|
isList: false,
|
|
@@ -18956,14 +19003,14 @@ var PulseEvent_IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18956
19003
|
}
|
|
18957
19004
|
async fetch(options) {
|
|
18958
19005
|
const variables = this._variables;
|
|
18959
|
-
const response = await this._syncEngine.query(
|
|
19006
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
|
|
18960
19007
|
const data = response.pulseEvent?.integration;
|
|
18961
19008
|
return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18962
19009
|
}
|
|
18963
19010
|
watch(options) {
|
|
18964
19011
|
const variables = this._variables;
|
|
18965
19012
|
const raw = this._syncEngine.watch(
|
|
18966
|
-
|
|
19013
|
+
chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument,
|
|
18967
19014
|
variables,
|
|
18968
19015
|
"pulseEvent",
|
|
18969
19016
|
async (db) => {
|
|
@@ -18986,14 +19033,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Reque
|
|
|
18986
19033
|
}
|
|
18987
19034
|
async fetch(options) {
|
|
18988
19035
|
const variables = this._variables;
|
|
18989
|
-
const response = await this._syncEngine.query(
|
|
19036
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
|
|
18990
19037
|
const data = response.pulseEvent?.integration?.provider;
|
|
18991
19038
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18992
19039
|
}
|
|
18993
19040
|
watch(options) {
|
|
18994
19041
|
const variables = this._variables;
|
|
18995
19042
|
const raw = this._syncEngine.watch(
|
|
18996
|
-
|
|
19043
|
+
chunkEL37Q6V6_cjs.PulseEvent_Integration_ProviderDocument,
|
|
18997
19044
|
variables,
|
|
18998
19045
|
"pulseEvent",
|
|
18999
19046
|
async (db) => {
|
|
@@ -19017,7 +19064,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19017
19064
|
}
|
|
19018
19065
|
async fetch(options) {
|
|
19019
19066
|
const variables = this._variables;
|
|
19020
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19067
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
|
|
19021
19068
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
|
|
19022
19069
|
const data = response.pulseEvents;
|
|
19023
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);
|
|
@@ -19034,7 +19081,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19034
19081
|
const subscriptionId = crypto.randomUUID();
|
|
19035
19082
|
const includes = this._includes;
|
|
19036
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) }] : []);
|
|
19037
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19084
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
|
|
19038
19085
|
const raw = this._syncEngine.watch(
|
|
19039
19086
|
queryDoc,
|
|
19040
19087
|
mergedVars,
|
|
@@ -19069,7 +19116,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19069
19116
|
}
|
|
19070
19117
|
/** Include integration in this query (Smart Fetch — single HTTP request). */
|
|
19071
19118
|
integration(variables, builder) {
|
|
19072
|
-
const info = extractIncludeInfo(
|
|
19119
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
19073
19120
|
let children;
|
|
19074
19121
|
if (builder) {
|
|
19075
19122
|
const sub = new IntegrationSubBuilder();
|
|
@@ -19078,7 +19125,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19078
19125
|
}
|
|
19079
19126
|
this._includes.push({
|
|
19080
19127
|
fieldName: "integration",
|
|
19081
|
-
fragmentDoc:
|
|
19128
|
+
fragmentDoc: chunkEL37Q6V6_cjs.IntegrationFragmentDoc,
|
|
19082
19129
|
variables,
|
|
19083
19130
|
isConnection: false,
|
|
19084
19131
|
isList: false,
|
|
@@ -19102,7 +19149,7 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19102
19149
|
this._variables = variables;
|
|
19103
19150
|
}
|
|
19104
19151
|
async fetch(options) {
|
|
19105
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19152
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
|
|
19106
19153
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
|
|
19107
19154
|
const data = response.pulseTriggerSettings;
|
|
19108
19155
|
if (!Array.isArray(data)) return [];
|
|
@@ -19111,19 +19158,19 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19111
19158
|
};
|
|
19112
19159
|
var QueryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19113
19160
|
async fetch(variables) {
|
|
19114
|
-
const response = await this._request(
|
|
19161
|
+
const response = await this._request(chunkEL37Q6V6_cjs.QueryDocument, variables);
|
|
19115
19162
|
return response.query;
|
|
19116
19163
|
}
|
|
19117
19164
|
};
|
|
19118
19165
|
var QueryWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19119
19166
|
async fetch(variables) {
|
|
19120
|
-
const response = await this._request(
|
|
19167
|
+
const response = await this._request(chunkEL37Q6V6_cjs.QueryWithInsightIdDocument, variables);
|
|
19121
19168
|
return response.queryWithInsightId;
|
|
19122
19169
|
}
|
|
19123
19170
|
};
|
|
19124
19171
|
var QueryWithMessageIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19125
19172
|
async fetch(variables) {
|
|
19126
|
-
const response = await this._request(
|
|
19173
|
+
const response = await this._request(chunkEL37Q6V6_cjs.QueryWithMessageIdDocument, variables);
|
|
19127
19174
|
return response.queryWithMessageId;
|
|
19128
19175
|
}
|
|
19129
19176
|
};
|
|
@@ -19136,7 +19183,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19136
19183
|
}
|
|
19137
19184
|
async fetch(options) {
|
|
19138
19185
|
const variables = this._variables;
|
|
19139
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19186
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportDocument, "report", this._includes, variables);
|
|
19140
19187
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
|
|
19141
19188
|
const data = response.report;
|
|
19142
19189
|
const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19148,7 +19195,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19148
19195
|
watch(options) {
|
|
19149
19196
|
const variables = this._variables;
|
|
19150
19197
|
const includes = this._includes;
|
|
19151
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19198
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportDocument, "report", includes, variables);
|
|
19152
19199
|
const raw = this._syncEngine.watch(
|
|
19153
19200
|
queryDoc,
|
|
19154
19201
|
mergedVars,
|
|
@@ -19178,7 +19225,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19178
19225
|
}
|
|
19179
19226
|
/** Include insights in this query (Smart Fetch — single HTTP request). */
|
|
19180
19227
|
insights(variables, builder) {
|
|
19181
|
-
const info = extractIncludeInfo(
|
|
19228
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
19182
19229
|
let children;
|
|
19183
19230
|
if (builder) {
|
|
19184
19231
|
const sub = new InsightSubBuilder();
|
|
@@ -19187,7 +19234,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19187
19234
|
}
|
|
19188
19235
|
this._includes.push({
|
|
19189
19236
|
fieldName: "insights",
|
|
19190
|
-
fragmentDoc:
|
|
19237
|
+
fragmentDoc: chunkEL37Q6V6_cjs.InsightConnectionFragmentDoc,
|
|
19191
19238
|
variables,
|
|
19192
19239
|
isConnection: true,
|
|
19193
19240
|
isList: false,
|
|
@@ -19205,10 +19252,10 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19205
19252
|
}
|
|
19206
19253
|
/** Include layout in this query (Smart Fetch — single HTTP request). */
|
|
19207
19254
|
layout(variables) {
|
|
19208
|
-
const info = extractIncludeInfo(
|
|
19255
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
19209
19256
|
this._includes.push({
|
|
19210
19257
|
fieldName: "layout",
|
|
19211
|
-
fragmentDoc:
|
|
19258
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
|
|
19212
19259
|
variables,
|
|
19213
19260
|
isConnection: false,
|
|
19214
19261
|
isList: true,
|
|
@@ -19231,18 +19278,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk342BFYZZ_cjs
|
|
|
19231
19278
|
}
|
|
19232
19279
|
async fetch(options) {
|
|
19233
19280
|
const variables = this._variables;
|
|
19234
|
-
const response = await this._syncEngine.query(
|
|
19281
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Report_InsightsDocument, variables, "report");
|
|
19235
19282
|
const data = response.report?.insights;
|
|
19236
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);
|
|
19237
19284
|
}
|
|
19238
19285
|
watch(options) {
|
|
19239
19286
|
const variables = this._variables;
|
|
19240
19287
|
const raw = this._syncEngine.watch(
|
|
19241
|
-
|
|
19288
|
+
chunkEL37Q6V6_cjs.Report_InsightsDocument,
|
|
19242
19289
|
variables,
|
|
19243
19290
|
"report",
|
|
19244
19291
|
async (db) => {
|
|
19245
|
-
const qr = await db._queryResults.get(buildQueryKey("report", variables,
|
|
19292
|
+
const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkEL37Q6V6_cjs.Report_InsightsDocument));
|
|
19246
19293
|
const nodes = qr ? await db.table("insights").bulkGet(qr.entityIds) : [];
|
|
19247
19294
|
return { report: { insights: { __typename: "InsightConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
19248
19295
|
}
|
|
@@ -19260,7 +19307,7 @@ var Report_LayoutQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19260
19307
|
this._variables = variables;
|
|
19261
19308
|
}
|
|
19262
19309
|
async fetch(options) {
|
|
19263
|
-
const response = await this._syncEngine.query(
|
|
19310
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Report_LayoutDocument, this._variables, "report");
|
|
19264
19311
|
const data = response.report?.layout;
|
|
19265
19312
|
if (!Array.isArray(data)) return [];
|
|
19266
19313
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19275,7 +19322,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19275
19322
|
}
|
|
19276
19323
|
async fetch(options) {
|
|
19277
19324
|
const variables = this._variables;
|
|
19278
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19325
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportsDocument, "reports", this._includes, variables, true);
|
|
19279
19326
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
|
|
19280
19327
|
const data = response.reports;
|
|
19281
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);
|
|
@@ -19292,7 +19339,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19292
19339
|
const subscriptionId = crypto.randomUUID();
|
|
19293
19340
|
const includes = this._includes;
|
|
19294
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) }] : []);
|
|
19295
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19342
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.ReportsDocument, "reports", includes, variables, true);
|
|
19296
19343
|
const raw = this._syncEngine.watch(
|
|
19297
19344
|
queryDoc,
|
|
19298
19345
|
mergedVars,
|
|
@@ -19327,7 +19374,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19327
19374
|
}
|
|
19328
19375
|
/** Include insights in this query (Smart Fetch — single HTTP request). */
|
|
19329
19376
|
insights(variables, builder) {
|
|
19330
|
-
const info = extractIncludeInfo(
|
|
19377
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
19331
19378
|
let children;
|
|
19332
19379
|
if (builder) {
|
|
19333
19380
|
const sub = new InsightSubBuilder();
|
|
@@ -19336,7 +19383,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19336
19383
|
}
|
|
19337
19384
|
this._includes.push({
|
|
19338
19385
|
fieldName: "insights",
|
|
19339
|
-
fragmentDoc:
|
|
19386
|
+
fragmentDoc: chunkEL37Q6V6_cjs.InsightConnectionFragmentDoc,
|
|
19340
19387
|
variables,
|
|
19341
19388
|
isConnection: true,
|
|
19342
19389
|
isList: false,
|
|
@@ -19354,10 +19401,10 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19354
19401
|
}
|
|
19355
19402
|
/** Include layout in this query (Smart Fetch — single HTTP request). */
|
|
19356
19403
|
layout(variables) {
|
|
19357
|
-
const info = extractIncludeInfo(
|
|
19404
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
19358
19405
|
this._includes.push({
|
|
19359
19406
|
fieldName: "layout",
|
|
19360
|
-
fragmentDoc:
|
|
19407
|
+
fragmentDoc: chunkEL37Q6V6_cjs.ReportMemberFragmentDoc,
|
|
19361
19408
|
variables,
|
|
19362
19409
|
isConnection: false,
|
|
19363
19410
|
isList: true,
|
|
@@ -19381,7 +19428,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19381
19428
|
}
|
|
19382
19429
|
async fetch(options) {
|
|
19383
19430
|
const variables = this._variables;
|
|
19384
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19431
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TableDocument, "table", this._includes, variables);
|
|
19385
19432
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
|
|
19386
19433
|
const data = response.table;
|
|
19387
19434
|
const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19393,7 +19440,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19393
19440
|
watch(options) {
|
|
19394
19441
|
const variables = this._variables;
|
|
19395
19442
|
const includes = this._includes;
|
|
19396
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19443
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TableDocument, "table", includes, variables);
|
|
19397
19444
|
const raw = this._syncEngine.watch(
|
|
19398
19445
|
queryDoc,
|
|
19399
19446
|
mergedVars,
|
|
@@ -19423,7 +19470,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19423
19470
|
}
|
|
19424
19471
|
/** Include database in this query (Smart Fetch — single HTTP request). */
|
|
19425
19472
|
database(variables, builder) {
|
|
19426
|
-
const info = extractIncludeInfo(
|
|
19473
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
19427
19474
|
let children;
|
|
19428
19475
|
if (builder) {
|
|
19429
19476
|
const sub = new DatabaseSubBuilder();
|
|
@@ -19432,7 +19479,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19432
19479
|
}
|
|
19433
19480
|
this._includes.push({
|
|
19434
19481
|
fieldName: "database",
|
|
19435
|
-
fragmentDoc:
|
|
19482
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseFragmentDoc,
|
|
19436
19483
|
variables,
|
|
19437
19484
|
isConnection: false,
|
|
19438
19485
|
isList: false,
|
|
@@ -19449,7 +19496,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19449
19496
|
}
|
|
19450
19497
|
/** Include document in this query (Smart Fetch — single HTTP request). */
|
|
19451
19498
|
document(variables, builder) {
|
|
19452
|
-
const info = extractIncludeInfo(
|
|
19499
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
19453
19500
|
let children;
|
|
19454
19501
|
if (builder) {
|
|
19455
19502
|
const sub = new DocumentSubBuilder();
|
|
@@ -19458,7 +19505,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19458
19505
|
}
|
|
19459
19506
|
this._includes.push({
|
|
19460
19507
|
fieldName: "document",
|
|
19461
|
-
fragmentDoc:
|
|
19508
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFragmentDoc,
|
|
19462
19509
|
variables,
|
|
19463
19510
|
isConnection: false,
|
|
19464
19511
|
isList: false,
|
|
@@ -19475,10 +19522,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19475
19522
|
}
|
|
19476
19523
|
/** Include fromRelations in this query (Smart Fetch — single HTTP request). */
|
|
19477
19524
|
fromRelations(variables) {
|
|
19478
|
-
const info = extractIncludeInfo(
|
|
19525
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
19479
19526
|
this._includes.push({
|
|
19480
19527
|
fieldName: "fromRelations",
|
|
19481
|
-
fragmentDoc:
|
|
19528
|
+
fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
|
|
19482
19529
|
variables,
|
|
19483
19530
|
isConnection: false,
|
|
19484
19531
|
isList: true,
|
|
@@ -19494,10 +19541,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19494
19541
|
}
|
|
19495
19542
|
/** Include toRelations in this query (Smart Fetch — single HTTP request). */
|
|
19496
19543
|
toRelations(variables) {
|
|
19497
|
-
const info = extractIncludeInfo(
|
|
19544
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
19498
19545
|
this._includes.push({
|
|
19499
19546
|
fieldName: "toRelations",
|
|
19500
|
-
fragmentDoc:
|
|
19547
|
+
fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
|
|
19501
19548
|
variables,
|
|
19502
19549
|
isConnection: false,
|
|
19503
19550
|
isList: true,
|
|
@@ -19520,14 +19567,14 @@ var Table_DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19520
19567
|
}
|
|
19521
19568
|
async fetch(options) {
|
|
19522
19569
|
const variables = this._variables;
|
|
19523
|
-
const response = await this._syncEngine.query(
|
|
19570
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_DatabaseDocument, variables, "table");
|
|
19524
19571
|
const data = response.table?.database;
|
|
19525
19572
|
return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19526
19573
|
}
|
|
19527
19574
|
watch(options) {
|
|
19528
19575
|
const variables = this._variables;
|
|
19529
19576
|
const raw = this._syncEngine.watch(
|
|
19530
|
-
|
|
19577
|
+
chunkEL37Q6V6_cjs.Table_DatabaseDocument,
|
|
19531
19578
|
variables,
|
|
19532
19579
|
"table",
|
|
19533
19580
|
async (db) => {
|
|
@@ -19550,14 +19597,14 @@ var Table_Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19550
19597
|
}
|
|
19551
19598
|
async fetch(options) {
|
|
19552
19599
|
const variables = this._variables;
|
|
19553
|
-
const response = await this._syncEngine.query(
|
|
19600
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Database_EngineDocument, variables, "table");
|
|
19554
19601
|
const data = response.table?.database?.engine;
|
|
19555
19602
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19556
19603
|
}
|
|
19557
19604
|
watch(options) {
|
|
19558
19605
|
const variables = this._variables;
|
|
19559
19606
|
const raw = this._syncEngine.watch(
|
|
19560
|
-
|
|
19607
|
+
chunkEL37Q6V6_cjs.Table_Database_EngineDocument,
|
|
19561
19608
|
variables,
|
|
19562
19609
|
"table",
|
|
19563
19610
|
async (db) => {
|
|
@@ -19580,14 +19627,14 @@ var Table_DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19580
19627
|
}
|
|
19581
19628
|
async fetch(options) {
|
|
19582
19629
|
const variables = this._variables;
|
|
19583
|
-
const response = await this._syncEngine.query(
|
|
19630
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_DocumentDocument, variables, "table");
|
|
19584
19631
|
const data = response.table?.document;
|
|
19585
19632
|
return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19586
19633
|
}
|
|
19587
19634
|
watch(options) {
|
|
19588
19635
|
const variables = this._variables;
|
|
19589
19636
|
const raw = this._syncEngine.watch(
|
|
19590
|
-
|
|
19637
|
+
chunkEL37Q6V6_cjs.Table_DocumentDocument,
|
|
19591
19638
|
variables,
|
|
19592
19639
|
"table",
|
|
19593
19640
|
async (db) => {
|
|
@@ -19609,7 +19656,7 @@ var Table_Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19609
19656
|
this._variables = variables;
|
|
19610
19657
|
}
|
|
19611
19658
|
async fetch(options) {
|
|
19612
|
-
const response = await this._syncEngine.query(
|
|
19659
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Document_ContentsDocument, this._variables, "table");
|
|
19613
19660
|
const data = response.table?.document?.contents;
|
|
19614
19661
|
if (!Array.isArray(data)) return [];
|
|
19615
19662
|
return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19623,14 +19670,14 @@ var Table_Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19623
19670
|
}
|
|
19624
19671
|
async fetch(options) {
|
|
19625
19672
|
const variables = this._variables;
|
|
19626
|
-
const response = await this._syncEngine.query(
|
|
19673
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Document_FileDocument, variables, "table");
|
|
19627
19674
|
const data = response.table?.document?.file;
|
|
19628
19675
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19629
19676
|
}
|
|
19630
19677
|
watch(options) {
|
|
19631
19678
|
const variables = this._variables;
|
|
19632
19679
|
const raw = this._syncEngine.watch(
|
|
19633
|
-
|
|
19680
|
+
chunkEL37Q6V6_cjs.Table_Document_FileDocument,
|
|
19634
19681
|
variables,
|
|
19635
19682
|
"table",
|
|
19636
19683
|
async (db) => {
|
|
@@ -19653,14 +19700,14 @@ var Table_Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19653
19700
|
}
|
|
19654
19701
|
async fetch(options) {
|
|
19655
19702
|
const variables = this._variables;
|
|
19656
|
-
const response = await this._syncEngine.query(
|
|
19703
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_Document_FormatDocument, variables, "table");
|
|
19657
19704
|
const data = response.table?.document?.format;
|
|
19658
19705
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19659
19706
|
}
|
|
19660
19707
|
watch(options) {
|
|
19661
19708
|
const variables = this._variables;
|
|
19662
19709
|
const raw = this._syncEngine.watch(
|
|
19663
|
-
|
|
19710
|
+
chunkEL37Q6V6_cjs.Table_Document_FormatDocument,
|
|
19664
19711
|
variables,
|
|
19665
19712
|
"table",
|
|
19666
19713
|
async (db) => {
|
|
@@ -19682,7 +19729,7 @@ var Table_FromRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19682
19729
|
this._variables = variables;
|
|
19683
19730
|
}
|
|
19684
19731
|
async fetch(options) {
|
|
19685
|
-
const response = await this._syncEngine.query(
|
|
19732
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, this._variables, "table");
|
|
19686
19733
|
const data = response.table?.fromRelations;
|
|
19687
19734
|
if (!Array.isArray(data)) return [];
|
|
19688
19735
|
return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19695,7 +19742,7 @@ var Table_ToRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19695
19742
|
this._variables = variables;
|
|
19696
19743
|
}
|
|
19697
19744
|
async fetch(options) {
|
|
19698
|
-
const response = await this._syncEngine.query(
|
|
19745
|
+
const response = await this._syncEngine.query(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, this._variables, "table");
|
|
19699
19746
|
const data = response.table?.toRelations;
|
|
19700
19747
|
if (!Array.isArray(data)) return [];
|
|
19701
19748
|
return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19710,7 +19757,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19710
19757
|
}
|
|
19711
19758
|
async fetch(options) {
|
|
19712
19759
|
const variables = this._variables;
|
|
19713
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19760
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TablesDocument, "tables", this._includes, variables, true);
|
|
19714
19761
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
|
|
19715
19762
|
const data = response.tables;
|
|
19716
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);
|
|
@@ -19727,7 +19774,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19727
19774
|
const subscriptionId = crypto.randomUUID();
|
|
19728
19775
|
const includes = this._includes;
|
|
19729
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) }] : []);
|
|
19730
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19777
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.TablesDocument, "tables", includes, variables, true);
|
|
19731
19778
|
const raw = this._syncEngine.watch(
|
|
19732
19779
|
queryDoc,
|
|
19733
19780
|
mergedVars,
|
|
@@ -19762,7 +19809,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19762
19809
|
}
|
|
19763
19810
|
/** Include database in this query (Smart Fetch — single HTTP request). */
|
|
19764
19811
|
database(variables, builder) {
|
|
19765
|
-
const info = extractIncludeInfo(
|
|
19812
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
19766
19813
|
let children;
|
|
19767
19814
|
if (builder) {
|
|
19768
19815
|
const sub = new DatabaseSubBuilder();
|
|
@@ -19771,7 +19818,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19771
19818
|
}
|
|
19772
19819
|
this._includes.push({
|
|
19773
19820
|
fieldName: "database",
|
|
19774
|
-
fragmentDoc:
|
|
19821
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DatabaseFragmentDoc,
|
|
19775
19822
|
variables,
|
|
19776
19823
|
isConnection: false,
|
|
19777
19824
|
isList: false,
|
|
@@ -19788,7 +19835,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19788
19835
|
}
|
|
19789
19836
|
/** Include document in this query (Smart Fetch — single HTTP request). */
|
|
19790
19837
|
document(variables, builder) {
|
|
19791
|
-
const info = extractIncludeInfo(
|
|
19838
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
19792
19839
|
let children;
|
|
19793
19840
|
if (builder) {
|
|
19794
19841
|
const sub = new DocumentSubBuilder();
|
|
@@ -19797,7 +19844,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19797
19844
|
}
|
|
19798
19845
|
this._includes.push({
|
|
19799
19846
|
fieldName: "document",
|
|
19800
|
-
fragmentDoc:
|
|
19847
|
+
fragmentDoc: chunkEL37Q6V6_cjs.DocumentFragmentDoc,
|
|
19801
19848
|
variables,
|
|
19802
19849
|
isConnection: false,
|
|
19803
19850
|
isList: false,
|
|
@@ -19814,10 +19861,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19814
19861
|
}
|
|
19815
19862
|
/** Include fromRelations in this query (Smart Fetch — single HTTP request). */
|
|
19816
19863
|
fromRelations(variables) {
|
|
19817
|
-
const info = extractIncludeInfo(
|
|
19864
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
19818
19865
|
this._includes.push({
|
|
19819
19866
|
fieldName: "fromRelations",
|
|
19820
|
-
fragmentDoc:
|
|
19867
|
+
fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
|
|
19821
19868
|
variables,
|
|
19822
19869
|
isConnection: false,
|
|
19823
19870
|
isList: true,
|
|
@@ -19833,10 +19880,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19833
19880
|
}
|
|
19834
19881
|
/** Include toRelations in this query (Smart Fetch — single HTTP request). */
|
|
19835
19882
|
toRelations(variables) {
|
|
19836
|
-
const info = extractIncludeInfo(
|
|
19883
|
+
const info = extractIncludeInfo(chunkEL37Q6V6_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
19837
19884
|
this._includes.push({
|
|
19838
19885
|
fieldName: "toRelations",
|
|
19839
|
-
fragmentDoc:
|
|
19886
|
+
fragmentDoc: chunkEL37Q6V6_cjs.RelationFragmentDoc,
|
|
19840
19887
|
variables,
|
|
19841
19888
|
isConnection: false,
|
|
19842
19889
|
isList: true,
|
|
@@ -19860,7 +19907,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19860
19907
|
}
|
|
19861
19908
|
async fetch(options) {
|
|
19862
19909
|
const variables = this._variables;
|
|
19863
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19910
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
|
|
19864
19911
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
|
|
19865
19912
|
const data = response.userSkillFile;
|
|
19866
19913
|
const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19872,7 +19919,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19872
19919
|
watch(options) {
|
|
19873
19920
|
const variables = this._variables;
|
|
19874
19921
|
const includes = this._includes;
|
|
19875
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19922
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
|
|
19876
19923
|
const raw = this._syncEngine.watch(
|
|
19877
19924
|
queryDoc,
|
|
19878
19925
|
mergedVars,
|
|
@@ -19909,7 +19956,7 @@ var UserSkillFilesQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19909
19956
|
this._variables = variables;
|
|
19910
19957
|
}
|
|
19911
19958
|
async fetch(options) {
|
|
19912
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19959
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
|
|
19913
19960
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
|
|
19914
19961
|
const data = response.userSkillFiles;
|
|
19915
19962
|
if (!Array.isArray(data)) return [];
|
|
@@ -19925,7 +19972,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19925
19972
|
}
|
|
19926
19973
|
async fetch(options) {
|
|
19927
19974
|
const variables = this._variables;
|
|
19928
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19975
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
|
|
19929
19976
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
|
|
19930
19977
|
const data = response.userSkillFolder;
|
|
19931
19978
|
const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19937,7 +19984,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19937
19984
|
watch(options) {
|
|
19938
19985
|
const variables = this._variables;
|
|
19939
19986
|
const includes = this._includes;
|
|
19940
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19987
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
|
|
19941
19988
|
const raw = this._syncEngine.watch(
|
|
19942
19989
|
queryDoc,
|
|
19943
19990
|
mergedVars,
|
|
@@ -19974,7 +20021,7 @@ var UserSkillFoldersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19974
20021
|
this._variables = variables;
|
|
19975
20022
|
}
|
|
19976
20023
|
async fetch(options) {
|
|
19977
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20024
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
|
|
19978
20025
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
|
|
19979
20026
|
const data = response.userSkillFolders;
|
|
19980
20027
|
if (!Array.isArray(data)) return [];
|
|
@@ -19990,7 +20037,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19990
20037
|
}
|
|
19991
20038
|
async fetch(options) {
|
|
19992
20039
|
const variables = this._variables;
|
|
19993
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20040
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
|
|
19994
20041
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
|
|
19995
20042
|
const data = response.workspaceDeletionSchedule;
|
|
19996
20043
|
if (!data) return void 0;
|
|
@@ -20003,7 +20050,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20003
20050
|
watch(options) {
|
|
20004
20051
|
const variables = this._variables;
|
|
20005
20052
|
const includes = this._includes;
|
|
20006
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20053
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkEL37Q6V6_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
|
|
20007
20054
|
const raw = this._syncEngine.watch(
|
|
20008
20055
|
queryDoc,
|
|
20009
20056
|
mergedVars,
|
|
@@ -20035,7 +20082,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20035
20082
|
};
|
|
20036
20083
|
var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
20037
20084
|
async *subscribe(variables) {
|
|
20038
|
-
for await (const response of this._subscribe(
|
|
20085
|
+
for await (const response of this._subscribe(chunkEL37Q6V6_cjs.McpAuthUpdatesDocument, variables)) {
|
|
20039
20086
|
const data = response.mcpAuthUpdates;
|
|
20040
20087
|
yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
20041
20088
|
}
|
|
@@ -20043,7 +20090,7 @@ var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20043
20090
|
};
|
|
20044
20091
|
var TokenUsageUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
20045
20092
|
async *subscribe(variables) {
|
|
20046
|
-
for await (const response of this._subscribe(
|
|
20093
|
+
for await (const response of this._subscribe(chunkEL37Q6V6_cjs.TokenUsageUpdatesDocument, variables)) {
|
|
20047
20094
|
const data = response.tokenUsageUpdates;
|
|
20048
20095
|
yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
|
|
20049
20096
|
}
|
|
@@ -20914,7 +20961,6 @@ exports.SetDatabasePrimaryKeyMutation = SetDatabasePrimaryKeyMutation;
|
|
|
20914
20961
|
exports.StreamEventSchemaAnchor = StreamEventSchemaAnchor;
|
|
20915
20962
|
exports.StreamMessageContentOutput = StreamMessageContentOutput;
|
|
20916
20963
|
exports.StreamMessageOutput = StreamMessageOutput;
|
|
20917
|
-
exports.StreamableUiDeltaEventOutput = StreamableUiDeltaEventOutput;
|
|
20918
20964
|
exports.SyncEngine = SyncEngine;
|
|
20919
20965
|
exports.SyncEvent = SyncEvent;
|
|
20920
20966
|
exports.SyncEventCursor = SyncEventCursor;
|
|
@@ -20968,6 +21014,10 @@ exports.UserSkillFolder = UserSkillFolder;
|
|
|
20968
21014
|
exports.UserSkillFolderModel = UserSkillFolderModel;
|
|
20969
21015
|
exports.UserSkillFolderQuery = UserSkillFolderQuery;
|
|
20970
21016
|
exports.UserSkillFoldersQuery = UserSkillFoldersQuery;
|
|
21017
|
+
exports.WidgetBlockCompleteEventOutput = WidgetBlockCompleteEventOutput;
|
|
21018
|
+
exports.WidgetBlockErrorEventOutput = WidgetBlockErrorEventOutput;
|
|
21019
|
+
exports.WidgetBlockStartEventOutput = WidgetBlockStartEventOutput;
|
|
21020
|
+
exports.WidgetHtmlDeltaEventOutput = WidgetHtmlDeltaEventOutput;
|
|
20971
21021
|
exports.WindowDetailType = WindowDetailType;
|
|
20972
21022
|
exports.WorkspaceDeleteSchedule = WorkspaceDeleteSchedule;
|
|
20973
21023
|
exports.WorkspaceDeletionScheduleQuery = WorkspaceDeletionScheduleQuery;
|
|
@@ -20982,5 +21032,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
|
|
|
20982
21032
|
exports.reconstructConnectionNodes = reconstructConnectionNodes;
|
|
20983
21033
|
exports.reconstructEntity = reconstructEntity;
|
|
20984
21034
|
exports.uploadFile = uploadFile;
|
|
20985
|
-
//# sourceMappingURL=chunk-
|
|
20986
|
-
//# sourceMappingURL=chunk-
|
|
21035
|
+
//# sourceMappingURL=chunk-JI734QZE.cjs.map
|
|
21036
|
+
//# sourceMappingURL=chunk-JI734QZE.cjs.map
|