@dvina/sdk 4.0.170 → 4.0.172
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-4WIHZZLW.cjs → _generated_documents-4M7HM6CW.cjs} +546 -542
- package/dist/{_generated_documents-4WIHZZLW.cjs.map → _generated_documents-4M7HM6CW.cjs.map} +1 -1
- package/dist/{_generated_documents-36ZYXZ66.js → _generated_documents-IQN37P3X.js} +3 -3
- package/dist/{_generated_documents-36ZYXZ66.js.map → _generated_documents-IQN37P3X.js.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-EPBZUR7O.cjs → chunk-7Q2QYIF6.cjs} +521 -501
- package/dist/chunk-7Q2QYIF6.cjs.map +1 -0
- package/dist/{chunk-WPBTVJKH.cjs → chunk-GMBMIL5U.cjs} +5 -3
- package/dist/chunk-GMBMIL5U.cjs.map +1 -0
- package/dist/{chunk-GSDBWMKI.js → chunk-H6YNVP5R.js} +5 -4
- package/dist/chunk-H6YNVP5R.js.map +1 -0
- package/dist/{chunk-SCU64JSH.js → chunk-KFKQQFBI.js} +24 -5
- package/dist/chunk-KFKQQFBI.js.map +1 -0
- package/dist/{client-DPkc8UWv.d.ts → client-CMLCF01U.d.ts} +28 -2
- package/dist/{client-PERalzV3.d.cts → client-DPQN--1s.d.cts} +28 -2
- package/dist/index.cjs +400 -396
- package/dist/index.d.cts +13 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-EPBZUR7O.cjs.map +0 -1
- package/dist/chunk-GSDBWMKI.js.map +0 -1
- package/dist/chunk-SCU64JSH.js.map +0 -1
- package/dist/chunk-WPBTVJKH.cjs.map +0 -1
|
@@ -4,7 +4,7 @@ var chunk342BFYZZ_cjs = require('./chunk-342BFYZZ.cjs');
|
|
|
4
4
|
var chunkUELAE75E_cjs = require('./chunk-UELAE75E.cjs');
|
|
5
5
|
var chunkBL3GFOZR_cjs = require('./chunk-BL3GFOZR.cjs');
|
|
6
6
|
var chunkKV5SP7RP_cjs = require('./chunk-KV5SP7RP.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkGMBMIL5U_cjs = require('./chunk-GMBMIL5U.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
|
|
@@ -10341,7 +10341,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
|
|
|
10341
10341
|
var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
|
|
10342
10342
|
var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
|
|
10343
10343
|
async function uploadFile(request, getToken, file, name, options) {
|
|
10344
|
-
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-
|
|
10344
|
+
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-4M7HM6CW.cjs');
|
|
10345
10345
|
const key = `upload_${Date.now()}`;
|
|
10346
10346
|
const response = await request(
|
|
10347
10347
|
GenerateUploadUriDocument2,
|
|
@@ -12377,6 +12377,23 @@ var PrivacyStats = class extends DvinaModel {
|
|
|
12377
12377
|
this.automaticallyMaskedData = data.automaticallyMaskedData ?? void 0;
|
|
12378
12378
|
}
|
|
12379
12379
|
};
|
|
12380
|
+
var ProgressSummaryEventOutput = class extends DvinaModel {
|
|
12381
|
+
type;
|
|
12382
|
+
kind;
|
|
12383
|
+
labelSummary;
|
|
12384
|
+
liveSummary;
|
|
12385
|
+
targetMessageId;
|
|
12386
|
+
targetToolCallId;
|
|
12387
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
12388
|
+
super(request, syncEngine, baseUrl);
|
|
12389
|
+
this.type = data.type;
|
|
12390
|
+
this.kind = data.kind;
|
|
12391
|
+
this.labelSummary = data.labelSummary;
|
|
12392
|
+
this.liveSummary = data.liveSummary;
|
|
12393
|
+
this.targetMessageId = data.targetMessageId ?? void 0;
|
|
12394
|
+
this.targetToolCallId = data.targetToolCallId ?? void 0;
|
|
12395
|
+
}
|
|
12396
|
+
};
|
|
12380
12397
|
var PulseAppSummaryModel = class extends DvinaModel {
|
|
12381
12398
|
activeTriggerCount;
|
|
12382
12399
|
integrationId;
|
|
@@ -12576,6 +12593,8 @@ var StreamEventSchemaAnchor = class extends DvinaModel {
|
|
|
12576
12593
|
return new ToolResultEventOutput(request, value, syncEngine, baseUrl);
|
|
12577
12594
|
case "ReasoningEventOutput":
|
|
12578
12595
|
return new ReasoningEventOutput(request, value, syncEngine, baseUrl);
|
|
12596
|
+
case "ProgressSummaryEventOutput":
|
|
12597
|
+
return new ProgressSummaryEventOutput(request, value, syncEngine, baseUrl);
|
|
12579
12598
|
case "FinalContentEventOutput":
|
|
12580
12599
|
return new FinalContentEventOutput(request, value, syncEngine, baseUrl);
|
|
12581
12600
|
default:
|
|
@@ -13214,7 +13233,7 @@ var AgentSubBuilder = class {
|
|
|
13214
13233
|
_includes = [];
|
|
13215
13234
|
/** Include chats in the parent query. */
|
|
13216
13235
|
chats(variables, builder) {
|
|
13217
|
-
const info = extractIncludeInfo(
|
|
13236
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
13218
13237
|
let children;
|
|
13219
13238
|
if (builder) {
|
|
13220
13239
|
const sub = new ChatSubBuilder();
|
|
@@ -13223,7 +13242,7 @@ var AgentSubBuilder = class {
|
|
|
13223
13242
|
}
|
|
13224
13243
|
this._includes.push({
|
|
13225
13244
|
fieldName: "chats",
|
|
13226
|
-
fragmentDoc:
|
|
13245
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatConnectionFragmentDoc,
|
|
13227
13246
|
variables,
|
|
13228
13247
|
isConnection: true,
|
|
13229
13248
|
isList: false,
|
|
@@ -13245,7 +13264,7 @@ var ArtifactSubBuilder = class {
|
|
|
13245
13264
|
_includes = [];
|
|
13246
13265
|
/** Include chat in the parent query. */
|
|
13247
13266
|
chat(variables, builder) {
|
|
13248
|
-
const info = extractIncludeInfo(
|
|
13267
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
13249
13268
|
let children;
|
|
13250
13269
|
if (builder) {
|
|
13251
13270
|
const sub = new ChatSubBuilder();
|
|
@@ -13254,7 +13273,7 @@ var ArtifactSubBuilder = class {
|
|
|
13254
13273
|
}
|
|
13255
13274
|
this._includes.push({
|
|
13256
13275
|
fieldName: "chat",
|
|
13257
|
-
fragmentDoc:
|
|
13276
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatFragmentDoc,
|
|
13258
13277
|
variables,
|
|
13259
13278
|
isConnection: false,
|
|
13260
13279
|
isList: false,
|
|
@@ -13271,10 +13290,10 @@ var ArtifactSubBuilder = class {
|
|
|
13271
13290
|
}
|
|
13272
13291
|
/** Include file in the parent query. */
|
|
13273
13292
|
file(variables) {
|
|
13274
|
-
const info = extractIncludeInfo(
|
|
13293
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
13275
13294
|
this._includes.push({
|
|
13276
13295
|
fieldName: "file",
|
|
13277
|
-
fragmentDoc:
|
|
13296
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FileFragmentDoc,
|
|
13278
13297
|
variables,
|
|
13279
13298
|
isConnection: false,
|
|
13280
13299
|
isList: false,
|
|
@@ -13290,7 +13309,7 @@ var ArtifactSubBuilder = class {
|
|
|
13290
13309
|
}
|
|
13291
13310
|
/** Include message in the parent query. */
|
|
13292
13311
|
message(variables, builder) {
|
|
13293
|
-
const info = extractIncludeInfo(
|
|
13312
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
13294
13313
|
let children;
|
|
13295
13314
|
if (builder) {
|
|
13296
13315
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -13299,7 +13318,7 @@ var ArtifactSubBuilder = class {
|
|
|
13299
13318
|
}
|
|
13300
13319
|
this._includes.push({
|
|
13301
13320
|
fieldName: "message",
|
|
13302
|
-
fragmentDoc:
|
|
13321
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatMessageFragmentDoc,
|
|
13303
13322
|
variables,
|
|
13304
13323
|
isConnection: false,
|
|
13305
13324
|
isList: false,
|
|
@@ -13320,7 +13339,7 @@ var ChatSubBuilder = class {
|
|
|
13320
13339
|
_includes = [];
|
|
13321
13340
|
/** Include agents in the parent query. */
|
|
13322
13341
|
agents(variables, builder) {
|
|
13323
|
-
const info = extractIncludeInfo(
|
|
13342
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
13324
13343
|
let children;
|
|
13325
13344
|
if (builder) {
|
|
13326
13345
|
const sub = new AgentSubBuilder();
|
|
@@ -13329,7 +13348,7 @@ var ChatSubBuilder = class {
|
|
|
13329
13348
|
}
|
|
13330
13349
|
this._includes.push({
|
|
13331
13350
|
fieldName: "agents",
|
|
13332
|
-
fragmentDoc:
|
|
13351
|
+
fragmentDoc: chunkGMBMIL5U_cjs.AgentConnectionFragmentDoc,
|
|
13333
13352
|
variables,
|
|
13334
13353
|
isConnection: true,
|
|
13335
13354
|
isList: false,
|
|
@@ -13347,7 +13366,7 @@ var ChatSubBuilder = class {
|
|
|
13347
13366
|
}
|
|
13348
13367
|
/** Include artifacts in the parent query. */
|
|
13349
13368
|
artifacts(variables, builder) {
|
|
13350
|
-
const info = extractIncludeInfo(
|
|
13369
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
13351
13370
|
let children;
|
|
13352
13371
|
if (builder) {
|
|
13353
13372
|
const sub = new ArtifactSubBuilder();
|
|
@@ -13356,7 +13375,7 @@ var ChatSubBuilder = class {
|
|
|
13356
13375
|
}
|
|
13357
13376
|
this._includes.push({
|
|
13358
13377
|
fieldName: "artifacts",
|
|
13359
|
-
fragmentDoc:
|
|
13378
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ArtifactConnectionFragmentDoc,
|
|
13360
13379
|
variables,
|
|
13361
13380
|
isConnection: true,
|
|
13362
13381
|
isList: false,
|
|
@@ -13374,7 +13393,7 @@ var ChatSubBuilder = class {
|
|
|
13374
13393
|
}
|
|
13375
13394
|
/** Include insight in the parent query. */
|
|
13376
13395
|
insight(variables, builder) {
|
|
13377
|
-
const info = extractIncludeInfo(
|
|
13396
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
13378
13397
|
let children;
|
|
13379
13398
|
if (builder) {
|
|
13380
13399
|
const sub = new InsightSubBuilder();
|
|
@@ -13383,7 +13402,7 @@ var ChatSubBuilder = class {
|
|
|
13383
13402
|
}
|
|
13384
13403
|
this._includes.push({
|
|
13385
13404
|
fieldName: "insight",
|
|
13386
|
-
fragmentDoc:
|
|
13405
|
+
fragmentDoc: chunkGMBMIL5U_cjs.InsightFragmentDoc,
|
|
13387
13406
|
variables,
|
|
13388
13407
|
isConnection: false,
|
|
13389
13408
|
isList: false,
|
|
@@ -13400,7 +13419,7 @@ var ChatSubBuilder = class {
|
|
|
13400
13419
|
}
|
|
13401
13420
|
/** Include messages in the parent query. */
|
|
13402
13421
|
messages(variables, builder) {
|
|
13403
|
-
const info = extractIncludeInfo(
|
|
13422
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
13404
13423
|
let children;
|
|
13405
13424
|
if (builder) {
|
|
13406
13425
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -13409,7 +13428,7 @@ var ChatSubBuilder = class {
|
|
|
13409
13428
|
}
|
|
13410
13429
|
this._includes.push({
|
|
13411
13430
|
fieldName: "messages",
|
|
13412
|
-
fragmentDoc:
|
|
13431
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatMessageConnectionFragmentDoc,
|
|
13413
13432
|
variables,
|
|
13414
13433
|
isConnection: true,
|
|
13415
13434
|
isList: false,
|
|
@@ -13431,7 +13450,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13431
13450
|
_includes = [];
|
|
13432
13451
|
/** Include artifacts in the parent query. */
|
|
13433
13452
|
artifacts(variables, builder) {
|
|
13434
|
-
const info = extractIncludeInfo(
|
|
13453
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
13435
13454
|
let children;
|
|
13436
13455
|
if (builder) {
|
|
13437
13456
|
const sub = new ArtifactSubBuilder();
|
|
@@ -13440,7 +13459,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13440
13459
|
}
|
|
13441
13460
|
this._includes.push({
|
|
13442
13461
|
fieldName: "artifacts",
|
|
13443
|
-
fragmentDoc:
|
|
13462
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ArtifactConnectionFragmentDoc,
|
|
13444
13463
|
variables,
|
|
13445
13464
|
isConnection: true,
|
|
13446
13465
|
isList: false,
|
|
@@ -13458,7 +13477,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13458
13477
|
}
|
|
13459
13478
|
/** Include chat in the parent query. */
|
|
13460
13479
|
chat(variables, builder) {
|
|
13461
|
-
const info = extractIncludeInfo(
|
|
13480
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
13462
13481
|
let children;
|
|
13463
13482
|
if (builder) {
|
|
13464
13483
|
const sub = new ChatSubBuilder();
|
|
@@ -13467,7 +13486,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13467
13486
|
}
|
|
13468
13487
|
this._includes.push({
|
|
13469
13488
|
fieldName: "chat",
|
|
13470
|
-
fragmentDoc:
|
|
13489
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatFragmentDoc,
|
|
13471
13490
|
variables,
|
|
13472
13491
|
isConnection: false,
|
|
13473
13492
|
isList: false,
|
|
@@ -13484,10 +13503,10 @@ var ChatMessageSubBuilder = class {
|
|
|
13484
13503
|
}
|
|
13485
13504
|
/** Include contents in the parent query. */
|
|
13486
13505
|
contents(variables) {
|
|
13487
|
-
const info = extractIncludeInfo(
|
|
13506
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
13488
13507
|
this._includes.push({
|
|
13489
13508
|
fieldName: "contents",
|
|
13490
|
-
fragmentDoc:
|
|
13509
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ContentBlockFragmentDoc,
|
|
13491
13510
|
variables,
|
|
13492
13511
|
isConnection: false,
|
|
13493
13512
|
isList: true,
|
|
@@ -13503,10 +13522,10 @@ var ChatMessageSubBuilder = class {
|
|
|
13503
13522
|
}
|
|
13504
13523
|
/** Include feedback in the parent query. */
|
|
13505
13524
|
feedback(variables) {
|
|
13506
|
-
const info = extractIncludeInfo(
|
|
13525
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
13507
13526
|
this._includes.push({
|
|
13508
13527
|
fieldName: "feedback",
|
|
13509
|
-
fragmentDoc:
|
|
13528
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FeedbackFragmentDoc,
|
|
13510
13529
|
variables,
|
|
13511
13530
|
isConnection: false,
|
|
13512
13531
|
isList: false,
|
|
@@ -13526,10 +13545,10 @@ var DatabaseSubBuilder = class {
|
|
|
13526
13545
|
_includes = [];
|
|
13527
13546
|
/** Include engine in the parent query. */
|
|
13528
13547
|
engine(variables) {
|
|
13529
|
-
const info = extractIncludeInfo(
|
|
13548
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
13530
13549
|
this._includes.push({
|
|
13531
13550
|
fieldName: "engine",
|
|
13532
|
-
fragmentDoc:
|
|
13551
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DatabaseEngineFragmentDoc,
|
|
13533
13552
|
variables,
|
|
13534
13553
|
isConnection: false,
|
|
13535
13554
|
isList: false,
|
|
@@ -13545,7 +13564,7 @@ var DatabaseSubBuilder = class {
|
|
|
13545
13564
|
}
|
|
13546
13565
|
/** Include tables in the parent query. */
|
|
13547
13566
|
tables(variables, builder) {
|
|
13548
|
-
const info = extractIncludeInfo(
|
|
13567
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
13549
13568
|
let children;
|
|
13550
13569
|
if (builder) {
|
|
13551
13570
|
const sub = new TableSubBuilder();
|
|
@@ -13554,7 +13573,7 @@ var DatabaseSubBuilder = class {
|
|
|
13554
13573
|
}
|
|
13555
13574
|
this._includes.push({
|
|
13556
13575
|
fieldName: "tables",
|
|
13557
|
-
fragmentDoc:
|
|
13576
|
+
fragmentDoc: chunkGMBMIL5U_cjs.TableConnectionFragmentDoc,
|
|
13558
13577
|
variables,
|
|
13559
13578
|
isConnection: true,
|
|
13560
13579
|
isList: false,
|
|
@@ -13576,10 +13595,10 @@ var DatabaseCatalogSubBuilder = class {
|
|
|
13576
13595
|
_includes = [];
|
|
13577
13596
|
/** Include engine in the parent query. */
|
|
13578
13597
|
engine(variables) {
|
|
13579
|
-
const info = extractIncludeInfo(
|
|
13598
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
13580
13599
|
this._includes.push({
|
|
13581
13600
|
fieldName: "engine",
|
|
13582
|
-
fragmentDoc:
|
|
13601
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DatabaseEngineFragmentDoc,
|
|
13583
13602
|
variables,
|
|
13584
13603
|
isConnection: false,
|
|
13585
13604
|
isList: false,
|
|
@@ -13599,10 +13618,10 @@ var DocumentSubBuilder = class {
|
|
|
13599
13618
|
_includes = [];
|
|
13600
13619
|
/** Include contents in the parent query. */
|
|
13601
13620
|
contents(variables) {
|
|
13602
|
-
const info = extractIncludeInfo(
|
|
13621
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
13603
13622
|
this._includes.push({
|
|
13604
13623
|
fieldName: "contents",
|
|
13605
|
-
fragmentDoc:
|
|
13624
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DocumentContentFragmentDoc,
|
|
13606
13625
|
variables,
|
|
13607
13626
|
isConnection: false,
|
|
13608
13627
|
isList: true,
|
|
@@ -13618,10 +13637,10 @@ var DocumentSubBuilder = class {
|
|
|
13618
13637
|
}
|
|
13619
13638
|
/** Include file in the parent query. */
|
|
13620
13639
|
file(variables) {
|
|
13621
|
-
const info = extractIncludeInfo(
|
|
13640
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Document_FileDocument, "file", ["id"]);
|
|
13622
13641
|
this._includes.push({
|
|
13623
13642
|
fieldName: "file",
|
|
13624
|
-
fragmentDoc:
|
|
13643
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FileFragmentDoc,
|
|
13625
13644
|
variables,
|
|
13626
13645
|
isConnection: false,
|
|
13627
13646
|
isList: false,
|
|
@@ -13637,10 +13656,10 @@ var DocumentSubBuilder = class {
|
|
|
13637
13656
|
}
|
|
13638
13657
|
/** Include format in the parent query. */
|
|
13639
13658
|
format(variables) {
|
|
13640
|
-
const info = extractIncludeInfo(
|
|
13659
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Document_FormatDocument, "format", ["id"]);
|
|
13641
13660
|
this._includes.push({
|
|
13642
13661
|
fieldName: "format",
|
|
13643
|
-
fragmentDoc:
|
|
13662
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DocumentFormatFragmentDoc,
|
|
13644
13663
|
variables,
|
|
13645
13664
|
isConnection: false,
|
|
13646
13665
|
isList: false,
|
|
@@ -13656,7 +13675,7 @@ var DocumentSubBuilder = class {
|
|
|
13656
13675
|
}
|
|
13657
13676
|
/** Include tables in the parent query. */
|
|
13658
13677
|
tables(variables, builder) {
|
|
13659
|
-
const info = extractIncludeInfo(
|
|
13678
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
13660
13679
|
let children;
|
|
13661
13680
|
if (builder) {
|
|
13662
13681
|
const sub = new TableSubBuilder();
|
|
@@ -13665,7 +13684,7 @@ var DocumentSubBuilder = class {
|
|
|
13665
13684
|
}
|
|
13666
13685
|
this._includes.push({
|
|
13667
13686
|
fieldName: "tables",
|
|
13668
|
-
fragmentDoc:
|
|
13687
|
+
fragmentDoc: chunkGMBMIL5U_cjs.TableConnectionFragmentDoc,
|
|
13669
13688
|
variables,
|
|
13670
13689
|
isConnection: true,
|
|
13671
13690
|
isList: false,
|
|
@@ -13687,10 +13706,10 @@ var DocumentCatalogSubBuilder = class {
|
|
|
13687
13706
|
_includes = [];
|
|
13688
13707
|
/** Include format in the parent query. */
|
|
13689
13708
|
format(variables) {
|
|
13690
|
-
const info = extractIncludeInfo(
|
|
13709
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
13691
13710
|
this._includes.push({
|
|
13692
13711
|
fieldName: "format",
|
|
13693
|
-
fragmentDoc:
|
|
13712
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DocumentFormatFragmentDoc,
|
|
13694
13713
|
variables,
|
|
13695
13714
|
isConnection: false,
|
|
13696
13715
|
isList: false,
|
|
@@ -13710,10 +13729,10 @@ var FeedItemSubBuilder = class {
|
|
|
13710
13729
|
_includes = [];
|
|
13711
13730
|
/** Include action in the parent query. */
|
|
13712
13731
|
action(variables) {
|
|
13713
|
-
const info = extractIncludeInfo(
|
|
13732
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
13714
13733
|
this._includes.push({
|
|
13715
13734
|
fieldName: "action",
|
|
13716
|
-
fragmentDoc:
|
|
13735
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FeedSendMessageActionFragmentDoc,
|
|
13717
13736
|
variables,
|
|
13718
13737
|
isConnection: false,
|
|
13719
13738
|
isList: false,
|
|
@@ -13729,10 +13748,10 @@ var FeedItemSubBuilder = class {
|
|
|
13729
13748
|
}
|
|
13730
13749
|
/** Include data in the parent query. */
|
|
13731
13750
|
data(variables) {
|
|
13732
|
-
const info = extractIncludeInfo(
|
|
13751
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
13733
13752
|
this._includes.push({
|
|
13734
13753
|
fieldName: "data",
|
|
13735
|
-
fragmentDoc:
|
|
13754
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FeedArtifactDataFragmentDoc,
|
|
13736
13755
|
variables,
|
|
13737
13756
|
isConnection: false,
|
|
13738
13757
|
isList: true,
|
|
@@ -13752,7 +13771,7 @@ var InsightSubBuilder = class {
|
|
|
13752
13771
|
_includes = [];
|
|
13753
13772
|
/** Include chat in the parent query. */
|
|
13754
13773
|
chat(variables, builder) {
|
|
13755
|
-
const info = extractIncludeInfo(
|
|
13774
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
13756
13775
|
let children;
|
|
13757
13776
|
if (builder) {
|
|
13758
13777
|
const sub = new ChatSubBuilder();
|
|
@@ -13761,7 +13780,7 @@ var InsightSubBuilder = class {
|
|
|
13761
13780
|
}
|
|
13762
13781
|
this._includes.push({
|
|
13763
13782
|
fieldName: "chat",
|
|
13764
|
-
fragmentDoc:
|
|
13783
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatFragmentDoc,
|
|
13765
13784
|
variables,
|
|
13766
13785
|
isConnection: false,
|
|
13767
13786
|
isList: false,
|
|
@@ -13778,10 +13797,10 @@ var InsightSubBuilder = class {
|
|
|
13778
13797
|
}
|
|
13779
13798
|
/** Include reportMembers in the parent query. */
|
|
13780
13799
|
reportMembers(variables) {
|
|
13781
|
-
const info = extractIncludeInfo(
|
|
13800
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
13782
13801
|
this._includes.push({
|
|
13783
13802
|
fieldName: "reportMembers",
|
|
13784
|
-
fragmentDoc:
|
|
13803
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ReportMemberFragmentDoc,
|
|
13785
13804
|
variables,
|
|
13786
13805
|
isConnection: false,
|
|
13787
13806
|
isList: true,
|
|
@@ -13797,7 +13816,7 @@ var InsightSubBuilder = class {
|
|
|
13797
13816
|
}
|
|
13798
13817
|
/** Include reports in the parent query. */
|
|
13799
13818
|
reports(variables, builder) {
|
|
13800
|
-
const info = extractIncludeInfo(
|
|
13819
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
13801
13820
|
let children;
|
|
13802
13821
|
if (builder) {
|
|
13803
13822
|
const sub = new ReportSubBuilder();
|
|
@@ -13806,7 +13825,7 @@ var InsightSubBuilder = class {
|
|
|
13806
13825
|
}
|
|
13807
13826
|
this._includes.push({
|
|
13808
13827
|
fieldName: "reports",
|
|
13809
|
-
fragmentDoc:
|
|
13828
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ReportConnectionFragmentDoc,
|
|
13810
13829
|
variables,
|
|
13811
13830
|
isConnection: true,
|
|
13812
13831
|
isList: false,
|
|
@@ -13824,10 +13843,10 @@ var InsightSubBuilder = class {
|
|
|
13824
13843
|
}
|
|
13825
13844
|
/** Include thumbnailFile in the parent query. */
|
|
13826
13845
|
thumbnailFile(variables) {
|
|
13827
|
-
const info = extractIncludeInfo(
|
|
13846
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
13828
13847
|
this._includes.push({
|
|
13829
13848
|
fieldName: "thumbnailFile",
|
|
13830
|
-
fragmentDoc:
|
|
13849
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FileFragmentDoc,
|
|
13831
13850
|
variables,
|
|
13832
13851
|
isConnection: false,
|
|
13833
13852
|
isList: false,
|
|
@@ -13847,10 +13866,10 @@ var IntegrationSubBuilder = class {
|
|
|
13847
13866
|
_includes = [];
|
|
13848
13867
|
/** Include provider in the parent query. */
|
|
13849
13868
|
provider(variables) {
|
|
13850
|
-
const info = extractIncludeInfo(
|
|
13869
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
13851
13870
|
this._includes.push({
|
|
13852
13871
|
fieldName: "provider",
|
|
13853
|
-
fragmentDoc:
|
|
13872
|
+
fragmentDoc: chunkGMBMIL5U_cjs.IntegrationProviderFragmentDoc,
|
|
13854
13873
|
variables,
|
|
13855
13874
|
isConnection: false,
|
|
13856
13875
|
isList: false,
|
|
@@ -13870,10 +13889,10 @@ var IntegrationCatalogSubBuilder = class {
|
|
|
13870
13889
|
_includes = [];
|
|
13871
13890
|
/** Include provider in the parent query. */
|
|
13872
13891
|
provider(variables) {
|
|
13873
|
-
const info = extractIncludeInfo(
|
|
13892
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
13874
13893
|
this._includes.push({
|
|
13875
13894
|
fieldName: "provider",
|
|
13876
|
-
fragmentDoc:
|
|
13895
|
+
fragmentDoc: chunkGMBMIL5U_cjs.IntegrationProviderFragmentDoc,
|
|
13877
13896
|
variables,
|
|
13878
13897
|
isConnection: false,
|
|
13879
13898
|
isList: false,
|
|
@@ -13893,7 +13912,7 @@ var PulseEventSubBuilder = class {
|
|
|
13893
13912
|
_includes = [];
|
|
13894
13913
|
/** Include integration in the parent query. */
|
|
13895
13914
|
integration(variables, builder) {
|
|
13896
|
-
const info = extractIncludeInfo(
|
|
13915
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
13897
13916
|
let children;
|
|
13898
13917
|
if (builder) {
|
|
13899
13918
|
const sub = new IntegrationSubBuilder();
|
|
@@ -13902,7 +13921,7 @@ var PulseEventSubBuilder = class {
|
|
|
13902
13921
|
}
|
|
13903
13922
|
this._includes.push({
|
|
13904
13923
|
fieldName: "integration",
|
|
13905
|
-
fragmentDoc:
|
|
13924
|
+
fragmentDoc: chunkGMBMIL5U_cjs.IntegrationFragmentDoc,
|
|
13906
13925
|
variables,
|
|
13907
13926
|
isConnection: false,
|
|
13908
13927
|
isList: false,
|
|
@@ -13923,7 +13942,7 @@ var ReportSubBuilder = class {
|
|
|
13923
13942
|
_includes = [];
|
|
13924
13943
|
/** Include insights in the parent query. */
|
|
13925
13944
|
insights(variables, builder) {
|
|
13926
|
-
const info = extractIncludeInfo(
|
|
13945
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
13927
13946
|
let children;
|
|
13928
13947
|
if (builder) {
|
|
13929
13948
|
const sub = new InsightSubBuilder();
|
|
@@ -13932,7 +13951,7 @@ var ReportSubBuilder = class {
|
|
|
13932
13951
|
}
|
|
13933
13952
|
this._includes.push({
|
|
13934
13953
|
fieldName: "insights",
|
|
13935
|
-
fragmentDoc:
|
|
13954
|
+
fragmentDoc: chunkGMBMIL5U_cjs.InsightConnectionFragmentDoc,
|
|
13936
13955
|
variables,
|
|
13937
13956
|
isConnection: true,
|
|
13938
13957
|
isList: false,
|
|
@@ -13950,10 +13969,10 @@ var ReportSubBuilder = class {
|
|
|
13950
13969
|
}
|
|
13951
13970
|
/** Include layout in the parent query. */
|
|
13952
13971
|
layout(variables) {
|
|
13953
|
-
const info = extractIncludeInfo(
|
|
13972
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
13954
13973
|
this._includes.push({
|
|
13955
13974
|
fieldName: "layout",
|
|
13956
|
-
fragmentDoc:
|
|
13975
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ReportMemberFragmentDoc,
|
|
13957
13976
|
variables,
|
|
13958
13977
|
isConnection: false,
|
|
13959
13978
|
isList: true,
|
|
@@ -13973,7 +13992,7 @@ var TableSubBuilder = class {
|
|
|
13973
13992
|
_includes = [];
|
|
13974
13993
|
/** Include database in the parent query. */
|
|
13975
13994
|
database(variables, builder) {
|
|
13976
|
-
const info = extractIncludeInfo(
|
|
13995
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
13977
13996
|
let children;
|
|
13978
13997
|
if (builder) {
|
|
13979
13998
|
const sub = new DatabaseSubBuilder();
|
|
@@ -13982,7 +14001,7 @@ var TableSubBuilder = class {
|
|
|
13982
14001
|
}
|
|
13983
14002
|
this._includes.push({
|
|
13984
14003
|
fieldName: "database",
|
|
13985
|
-
fragmentDoc:
|
|
14004
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DatabaseFragmentDoc,
|
|
13986
14005
|
variables,
|
|
13987
14006
|
isConnection: false,
|
|
13988
14007
|
isList: false,
|
|
@@ -13999,7 +14018,7 @@ var TableSubBuilder = class {
|
|
|
13999
14018
|
}
|
|
14000
14019
|
/** Include document in the parent query. */
|
|
14001
14020
|
document(variables, builder) {
|
|
14002
|
-
const info = extractIncludeInfo(
|
|
14021
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
14003
14022
|
let children;
|
|
14004
14023
|
if (builder) {
|
|
14005
14024
|
const sub = new DocumentSubBuilder();
|
|
@@ -14008,7 +14027,7 @@ var TableSubBuilder = class {
|
|
|
14008
14027
|
}
|
|
14009
14028
|
this._includes.push({
|
|
14010
14029
|
fieldName: "document",
|
|
14011
|
-
fragmentDoc:
|
|
14030
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DocumentFragmentDoc,
|
|
14012
14031
|
variables,
|
|
14013
14032
|
isConnection: false,
|
|
14014
14033
|
isList: false,
|
|
@@ -14025,10 +14044,10 @@ var TableSubBuilder = class {
|
|
|
14025
14044
|
}
|
|
14026
14045
|
/** Include fromRelations in the parent query. */
|
|
14027
14046
|
fromRelations(variables) {
|
|
14028
|
-
const info = extractIncludeInfo(
|
|
14047
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
14029
14048
|
this._includes.push({
|
|
14030
14049
|
fieldName: "fromRelations",
|
|
14031
|
-
fragmentDoc:
|
|
14050
|
+
fragmentDoc: chunkGMBMIL5U_cjs.RelationFragmentDoc,
|
|
14032
14051
|
variables,
|
|
14033
14052
|
isConnection: false,
|
|
14034
14053
|
isList: true,
|
|
@@ -14044,10 +14063,10 @@ var TableSubBuilder = class {
|
|
|
14044
14063
|
}
|
|
14045
14064
|
/** Include toRelations in the parent query. */
|
|
14046
14065
|
toRelations(variables) {
|
|
14047
|
-
const info = extractIncludeInfo(
|
|
14066
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
14048
14067
|
this._includes.push({
|
|
14049
14068
|
fieldName: "toRelations",
|
|
14050
|
-
fragmentDoc:
|
|
14069
|
+
fragmentDoc: chunkGMBMIL5U_cjs.RelationFragmentDoc,
|
|
14051
14070
|
variables,
|
|
14052
14071
|
isConnection: false,
|
|
14053
14072
|
isList: true,
|
|
@@ -14064,460 +14083,460 @@ var TableSubBuilder = class {
|
|
|
14064
14083
|
};
|
|
14065
14084
|
var AbortChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14066
14085
|
async fetch(variables) {
|
|
14067
|
-
const response = await this._syncEngine.mutate(
|
|
14086
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.AbortChatDocument, variables, MUTATION_CACHE_RULES["abortChat"]);
|
|
14068
14087
|
return response.abortChat;
|
|
14069
14088
|
}
|
|
14070
14089
|
};
|
|
14071
14090
|
var AddInsightToReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14072
14091
|
async fetch(variables, options) {
|
|
14073
|
-
const response = await this._syncEngine.mutate(
|
|
14092
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
|
|
14074
14093
|
const data = response.addInsightToReport;
|
|
14075
14094
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14076
14095
|
}
|
|
14077
14096
|
};
|
|
14078
14097
|
var CancelOauthFlowMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14079
14098
|
async fetch(variables) {
|
|
14080
|
-
const response = await this._syncEngine.mutate(
|
|
14099
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
|
|
14081
14100
|
return response.cancelOauthFlow;
|
|
14082
14101
|
}
|
|
14083
14102
|
};
|
|
14084
14103
|
var CancelWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14085
14104
|
async fetch(variables) {
|
|
14086
|
-
const response = await this._syncEngine.mutate(
|
|
14105
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
|
|
14087
14106
|
return response.cancelWorkspaceDeletion;
|
|
14088
14107
|
}
|
|
14089
14108
|
};
|
|
14090
14109
|
var ConnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14091
14110
|
async fetch(variables, options) {
|
|
14092
|
-
const response = await this._syncEngine.mutate(
|
|
14111
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
|
|
14093
14112
|
const data = response.connectIntegration;
|
|
14094
14113
|
return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14095
14114
|
}
|
|
14096
14115
|
};
|
|
14097
14116
|
var ConsumePulseEventsMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14098
14117
|
async fetch(variables) {
|
|
14099
|
-
const response = await this._syncEngine.mutate(
|
|
14118
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
|
|
14100
14119
|
return response.consumePulseEvents;
|
|
14101
14120
|
}
|
|
14102
14121
|
};
|
|
14103
14122
|
var ContinueImportedChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14104
14123
|
async fetch(variables) {
|
|
14105
|
-
const response = await this._syncEngine.mutate(
|
|
14124
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
|
|
14106
14125
|
return response.continueImportedChat;
|
|
14107
14126
|
}
|
|
14108
14127
|
};
|
|
14109
14128
|
var ContinueInterpretationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14110
14129
|
async fetch(variables) {
|
|
14111
|
-
const response = await this._syncEngine.mutate(
|
|
14130
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
|
|
14112
14131
|
return response.continueInterpretation;
|
|
14113
14132
|
}
|
|
14114
14133
|
};
|
|
14115
14134
|
var CreateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14116
14135
|
async fetch(variables, options) {
|
|
14117
|
-
const response = await this._syncEngine.mutate(
|
|
14136
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
|
|
14118
14137
|
const data = response.createAgent;
|
|
14119
14138
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14120
14139
|
}
|
|
14121
14140
|
};
|
|
14122
14141
|
var CreateChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14123
14142
|
async fetch(variables, options) {
|
|
14124
|
-
const response = await this._syncEngine.mutate(
|
|
14143
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
|
|
14125
14144
|
const data = response.createChat;
|
|
14126
14145
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14127
14146
|
}
|
|
14128
14147
|
};
|
|
14129
14148
|
var CreateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14130
14149
|
async fetch(variables, options) {
|
|
14131
|
-
const response = await this._syncEngine.mutate(
|
|
14150
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
|
|
14132
14151
|
const data = response.createDatabase;
|
|
14133
14152
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14134
14153
|
}
|
|
14135
14154
|
};
|
|
14136
14155
|
var CreateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14137
14156
|
async fetch(variables, options) {
|
|
14138
|
-
const response = await this._syncEngine.mutate(
|
|
14157
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
|
|
14139
14158
|
const data = response.createDocument;
|
|
14140
14159
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14141
14160
|
}
|
|
14142
14161
|
};
|
|
14143
14162
|
var CreateFeedbackMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14144
14163
|
async fetch(variables, options) {
|
|
14145
|
-
const response = await this._syncEngine.mutate(
|
|
14164
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
|
|
14146
14165
|
const data = response.createFeedback;
|
|
14147
14166
|
return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
|
|
14148
14167
|
}
|
|
14149
14168
|
};
|
|
14150
14169
|
var CreateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14151
14170
|
async fetch(variables, options) {
|
|
14152
|
-
const response = await this._syncEngine.mutate(
|
|
14171
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
|
|
14153
14172
|
const data = response.createFolder;
|
|
14154
14173
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14155
14174
|
}
|
|
14156
14175
|
};
|
|
14157
14176
|
var CreateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14158
14177
|
async fetch(variables, options) {
|
|
14159
|
-
const response = await this._syncEngine.mutate(
|
|
14178
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
|
|
14160
14179
|
const data = response.createInsight;
|
|
14161
14180
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14162
14181
|
}
|
|
14163
14182
|
};
|
|
14164
14183
|
var CreateIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14165
14184
|
async fetch(variables, options) {
|
|
14166
|
-
const response = await this._syncEngine.mutate(
|
|
14185
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
|
|
14167
14186
|
const data = response.createIntegration;
|
|
14168
14187
|
return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14169
14188
|
}
|
|
14170
14189
|
};
|
|
14171
14190
|
var CreateReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14172
14191
|
async fetch(variables, options) {
|
|
14173
|
-
const response = await this._syncEngine.mutate(
|
|
14192
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
|
|
14174
14193
|
const data = response.createReport;
|
|
14175
14194
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14176
14195
|
}
|
|
14177
14196
|
};
|
|
14178
14197
|
var CreateTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14179
14198
|
async fetch(variables, options) {
|
|
14180
|
-
const response = await this._syncEngine.mutate(
|
|
14199
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
|
|
14181
14200
|
const data = response.createTable;
|
|
14182
14201
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14183
14202
|
}
|
|
14184
14203
|
};
|
|
14185
14204
|
var CreateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14186
14205
|
async fetch(variables, options) {
|
|
14187
|
-
const response = await this._syncEngine.mutate(
|
|
14206
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
|
|
14188
14207
|
const data = response.createUserSkillFile;
|
|
14189
14208
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14190
14209
|
}
|
|
14191
14210
|
};
|
|
14192
14211
|
var CreateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14193
14212
|
async fetch(variables, options) {
|
|
14194
|
-
const response = await this._syncEngine.mutate(
|
|
14213
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
|
|
14195
14214
|
const data = response.createUserSkillFolder;
|
|
14196
14215
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14197
14216
|
}
|
|
14198
14217
|
};
|
|
14199
14218
|
var DeleteAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14200
14219
|
async fetch(variables, options) {
|
|
14201
|
-
const response = await this._syncEngine.mutate(
|
|
14220
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
|
|
14202
14221
|
const data = response.deleteAgent;
|
|
14203
14222
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14204
14223
|
}
|
|
14205
14224
|
};
|
|
14206
14225
|
var DeleteArtifactMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14207
14226
|
async fetch(variables, options) {
|
|
14208
|
-
const response = await this._syncEngine.mutate(
|
|
14227
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
|
|
14209
14228
|
const data = response.deleteArtifact;
|
|
14210
14229
|
return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
14211
14230
|
}
|
|
14212
14231
|
};
|
|
14213
14232
|
var DeleteChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14214
14233
|
async fetch(variables, options) {
|
|
14215
|
-
const response = await this._syncEngine.mutate(
|
|
14234
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
|
|
14216
14235
|
const data = response.deleteChat;
|
|
14217
14236
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14218
14237
|
}
|
|
14219
14238
|
};
|
|
14220
14239
|
var DeleteDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14221
14240
|
async fetch(variables, options) {
|
|
14222
|
-
const response = await this._syncEngine.mutate(
|
|
14241
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
|
|
14223
14242
|
const data = response.deleteDatabase;
|
|
14224
14243
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14225
14244
|
}
|
|
14226
14245
|
};
|
|
14227
14246
|
var DeleteDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14228
14247
|
async fetch(variables, options) {
|
|
14229
|
-
const response = await this._syncEngine.mutate(
|
|
14248
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
|
|
14230
14249
|
const data = response.deleteDocument;
|
|
14231
14250
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14232
14251
|
}
|
|
14233
14252
|
};
|
|
14234
14253
|
var DeleteFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14235
14254
|
async fetch(variables, options) {
|
|
14236
|
-
const response = await this._syncEngine.mutate(
|
|
14255
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
|
|
14237
14256
|
const data = response.deleteFolder;
|
|
14238
14257
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14239
14258
|
}
|
|
14240
14259
|
};
|
|
14241
14260
|
var DeleteInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14242
14261
|
async fetch(variables, options) {
|
|
14243
|
-
const response = await this._syncEngine.mutate(
|
|
14262
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
|
|
14244
14263
|
const data = response.deleteInsight;
|
|
14245
14264
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14246
14265
|
}
|
|
14247
14266
|
};
|
|
14248
14267
|
var DeleteInsightsMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14249
14268
|
async fetch(variables, options) {
|
|
14250
|
-
const response = await this._syncEngine.mutate(
|
|
14269
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
|
|
14251
14270
|
const data = response.deleteInsights;
|
|
14252
14271
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14253
14272
|
}
|
|
14254
14273
|
};
|
|
14255
14274
|
var DeleteIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14256
14275
|
async fetch(variables) {
|
|
14257
|
-
const response = await this._syncEngine.mutate(
|
|
14276
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
|
|
14258
14277
|
return response.deleteIntegration;
|
|
14259
14278
|
}
|
|
14260
14279
|
};
|
|
14261
14280
|
var DeleteReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14262
14281
|
async fetch(variables, options) {
|
|
14263
|
-
const response = await this._syncEngine.mutate(
|
|
14282
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
|
|
14264
14283
|
const data = response.deleteReport;
|
|
14265
14284
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14266
14285
|
}
|
|
14267
14286
|
};
|
|
14268
14287
|
var DeleteTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14269
14288
|
async fetch(variables, options) {
|
|
14270
|
-
const response = await this._syncEngine.mutate(
|
|
14289
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
|
|
14271
14290
|
const data = response.deleteTable;
|
|
14272
14291
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14273
14292
|
}
|
|
14274
14293
|
};
|
|
14275
14294
|
var DeleteUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14276
14295
|
async fetch(variables, options) {
|
|
14277
|
-
const response = await this._syncEngine.mutate(
|
|
14296
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
|
|
14278
14297
|
const data = response.deleteUserSkillFile;
|
|
14279
14298
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14280
14299
|
}
|
|
14281
14300
|
};
|
|
14282
14301
|
var DeleteUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14283
14302
|
async fetch(variables, options) {
|
|
14284
|
-
const response = await this._syncEngine.mutate(
|
|
14303
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
|
|
14285
14304
|
const data = response.deleteUserSkillFolder;
|
|
14286
14305
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14287
14306
|
}
|
|
14288
14307
|
};
|
|
14289
14308
|
var DisconnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14290
14309
|
async fetch(variables) {
|
|
14291
|
-
const response = await this._syncEngine.mutate(
|
|
14310
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
|
|
14292
14311
|
return response.disconnectIntegration;
|
|
14293
14312
|
}
|
|
14294
14313
|
};
|
|
14295
14314
|
var DismissPulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14296
14315
|
async fetch(variables, options) {
|
|
14297
|
-
const response = await this._syncEngine.mutate(
|
|
14316
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
|
|
14298
14317
|
const data = response.dismissPulseEvent;
|
|
14299
14318
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14300
14319
|
}
|
|
14301
14320
|
};
|
|
14302
14321
|
var ExecuteChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14303
14322
|
async fetch(variables, options) {
|
|
14304
|
-
const response = await this._syncEngine.mutate(
|
|
14323
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
|
|
14305
14324
|
const data = response.executeChatImport;
|
|
14306
14325
|
return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14307
14326
|
}
|
|
14308
14327
|
};
|
|
14309
14328
|
var GenerateUploadUriMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14310
14329
|
async fetch(variables, options) {
|
|
14311
|
-
const response = await this._syncEngine.mutate(
|
|
14330
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
|
|
14312
14331
|
const data = response.generateUploadUri;
|
|
14313
14332
|
return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14314
14333
|
}
|
|
14315
14334
|
};
|
|
14316
14335
|
var PreviewChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14317
14336
|
async fetch(variables, options) {
|
|
14318
|
-
const response = await this._syncEngine.mutate(
|
|
14337
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
|
|
14319
14338
|
const data = response.previewChatImport;
|
|
14320
14339
|
return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14321
14340
|
}
|
|
14322
14341
|
};
|
|
14323
14342
|
var ReanalyzeDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14324
14343
|
async fetch(variables, options) {
|
|
14325
|
-
const response = await this._syncEngine.mutate(
|
|
14344
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
|
|
14326
14345
|
const data = response.reanalyzeDocument;
|
|
14327
14346
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14328
14347
|
}
|
|
14329
14348
|
};
|
|
14330
14349
|
var RefineAgentInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14331
14350
|
async fetch(variables) {
|
|
14332
|
-
const response = await this._syncEngine.mutate(
|
|
14351
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.RefineAgentInstructionDocument, variables, MUTATION_CACHE_RULES["refineAgentInstruction"]);
|
|
14333
14352
|
return response.refineAgentInstruction;
|
|
14334
14353
|
}
|
|
14335
14354
|
};
|
|
14336
14355
|
var RefineSkillInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14337
14356
|
async fetch(variables) {
|
|
14338
|
-
const response = await this._syncEngine.mutate(
|
|
14357
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.RefineSkillInstructionDocument, variables, MUTATION_CACHE_RULES["refineSkillInstruction"]);
|
|
14339
14358
|
return response.refineSkillInstruction;
|
|
14340
14359
|
}
|
|
14341
14360
|
};
|
|
14342
14361
|
var RefreshDatabaseSchemaMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14343
14362
|
async fetch(variables) {
|
|
14344
|
-
const response = await this._syncEngine.mutate(
|
|
14363
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
|
|
14345
14364
|
return response.refreshDatabaseSchema;
|
|
14346
14365
|
}
|
|
14347
14366
|
};
|
|
14348
14367
|
var RefreshInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14349
14368
|
async fetch(variables, options) {
|
|
14350
|
-
const response = await this._syncEngine.mutate(
|
|
14369
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
|
|
14351
14370
|
const data = response.refreshInsight;
|
|
14352
14371
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14353
14372
|
}
|
|
14354
14373
|
};
|
|
14355
14374
|
var ReinterpretSourceMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14356
14375
|
async fetch(variables) {
|
|
14357
|
-
const response = await this._syncEngine.mutate(
|
|
14376
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
|
|
14358
14377
|
return response.reinterpretSource;
|
|
14359
14378
|
}
|
|
14360
14379
|
};
|
|
14361
14380
|
var ReinterpretSourcesOfuserMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14362
14381
|
async fetch(variables) {
|
|
14363
|
-
const response = await this._syncEngine.mutate(
|
|
14382
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
|
|
14364
14383
|
return response.reinterpretSourcesOfuser;
|
|
14365
14384
|
}
|
|
14366
14385
|
};
|
|
14367
14386
|
var RelocateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14368
14387
|
async fetch(variables, options) {
|
|
14369
|
-
const response = await this._syncEngine.mutate(
|
|
14388
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
|
|
14370
14389
|
const data = response.relocateInsight;
|
|
14371
14390
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14372
14391
|
}
|
|
14373
14392
|
};
|
|
14374
14393
|
var RemoveInsightFromReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14375
14394
|
async fetch(variables, options) {
|
|
14376
|
-
const response = await this._syncEngine.mutate(
|
|
14395
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
|
|
14377
14396
|
const data = response.removeInsightFromReport;
|
|
14378
14397
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14379
14398
|
}
|
|
14380
14399
|
};
|
|
14381
14400
|
var ResetWorkspaceMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14382
14401
|
async fetch(variables) {
|
|
14383
|
-
const response = await this._syncEngine.mutate(
|
|
14402
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
|
|
14384
14403
|
return response.resetWorkspace;
|
|
14385
14404
|
}
|
|
14386
14405
|
};
|
|
14387
14406
|
var ResolvePulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14388
14407
|
async fetch(variables, options) {
|
|
14389
|
-
const response = await this._syncEngine.mutate(
|
|
14408
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
|
|
14390
14409
|
const data = response.resolvePulseEvent;
|
|
14391
14410
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14392
14411
|
}
|
|
14393
14412
|
};
|
|
14394
14413
|
var ScheduleWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14395
14414
|
async fetch(variables, options) {
|
|
14396
|
-
const response = await this._syncEngine.mutate(
|
|
14415
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
|
|
14397
14416
|
const data = response.scheduleWorkspaceDeletion;
|
|
14398
14417
|
return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
|
|
14399
14418
|
}
|
|
14400
14419
|
};
|
|
14401
14420
|
var SendMessageMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14402
14421
|
async fetch(variables, options) {
|
|
14403
|
-
const response = await this._syncEngine.mutate(
|
|
14422
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.SendMessageDocument, variables, MUTATION_CACHE_RULES["sendMessage"]);
|
|
14404
14423
|
const data = response.sendMessage;
|
|
14405
14424
|
return new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
|
|
14406
14425
|
}
|
|
14407
14426
|
};
|
|
14408
14427
|
var SetDatabasePrimaryKeyMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14409
14428
|
async fetch(variables) {
|
|
14410
|
-
const response = await this._syncEngine.mutate(
|
|
14429
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
|
|
14411
14430
|
return response.setDatabasePrimaryKey;
|
|
14412
14431
|
}
|
|
14413
14432
|
};
|
|
14414
14433
|
var UpdateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14415
14434
|
async fetch(variables, options) {
|
|
14416
|
-
const response = await this._syncEngine.mutate(
|
|
14435
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
|
|
14417
14436
|
const data = response.updateAgent;
|
|
14418
14437
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14419
14438
|
}
|
|
14420
14439
|
};
|
|
14421
14440
|
var UpdateArtifactNameMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14422
14441
|
async fetch(variables, options) {
|
|
14423
|
-
const response = await this._syncEngine.mutate(
|
|
14442
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"]);
|
|
14424
14443
|
const data = response.updateArtifactName;
|
|
14425
14444
|
return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
14426
14445
|
}
|
|
14427
14446
|
};
|
|
14428
14447
|
var UpdateChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14429
14448
|
async fetch(variables, options) {
|
|
14430
|
-
const response = await this._syncEngine.mutate(
|
|
14449
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
|
|
14431
14450
|
const data = response.updateChat;
|
|
14432
14451
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14433
14452
|
}
|
|
14434
14453
|
};
|
|
14435
14454
|
var UpdateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14436
14455
|
async fetch(variables, options) {
|
|
14437
|
-
const response = await this._syncEngine.mutate(
|
|
14456
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
|
|
14438
14457
|
const data = response.updateDatabase;
|
|
14439
14458
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14440
14459
|
}
|
|
14441
14460
|
};
|
|
14442
14461
|
var UpdateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14443
14462
|
async fetch(variables, options) {
|
|
14444
|
-
const response = await this._syncEngine.mutate(
|
|
14463
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
|
|
14445
14464
|
const data = response.updateDocument;
|
|
14446
14465
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14447
14466
|
}
|
|
14448
14467
|
};
|
|
14449
14468
|
var UpdateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14450
14469
|
async fetch(variables, options) {
|
|
14451
|
-
const response = await this._syncEngine.mutate(
|
|
14470
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
|
|
14452
14471
|
const data = response.updateFolder;
|
|
14453
14472
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14454
14473
|
}
|
|
14455
14474
|
};
|
|
14456
14475
|
var UpdateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14457
14476
|
async fetch(variables, options) {
|
|
14458
|
-
const response = await this._syncEngine.mutate(
|
|
14477
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
|
|
14459
14478
|
const data = response.updateInsight;
|
|
14460
14479
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14461
14480
|
}
|
|
14462
14481
|
};
|
|
14463
14482
|
var UpdateInsightInReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14464
14483
|
async fetch(variables, options) {
|
|
14465
|
-
const response = await this._syncEngine.mutate(
|
|
14484
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
|
|
14466
14485
|
const data = response.updateInsightInReport;
|
|
14467
14486
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14468
14487
|
}
|
|
14469
14488
|
};
|
|
14470
14489
|
var UpdateInsightThumbnailMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14471
14490
|
async fetch(variables) {
|
|
14472
|
-
const response = await this._syncEngine.mutate(
|
|
14491
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
|
|
14473
14492
|
return response.updateInsightThumbnail;
|
|
14474
14493
|
}
|
|
14475
14494
|
};
|
|
14476
14495
|
var UpdateInterpMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14477
14496
|
async fetch(variables, options) {
|
|
14478
|
-
const response = await this._syncEngine.mutate(
|
|
14497
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
|
|
14479
14498
|
const data = response.updateInterp;
|
|
14480
14499
|
return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
|
|
14481
14500
|
}
|
|
14482
14501
|
};
|
|
14483
14502
|
var UpdateLiveContextMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14484
14503
|
async fetch(variables, options) {
|
|
14485
|
-
const response = await this._syncEngine.mutate(
|
|
14504
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdateLiveContextDocument, variables, MUTATION_CACHE_RULES["updateLiveContext"]);
|
|
14486
14505
|
const data = response.updateLiveContext;
|
|
14487
14506
|
return new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
|
|
14488
14507
|
}
|
|
14489
14508
|
};
|
|
14490
14509
|
var UpdatePulseTriggerMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14491
14510
|
async fetch(variables, options) {
|
|
14492
|
-
const response = await this._syncEngine.mutate(
|
|
14511
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
|
|
14493
14512
|
const data = response.updatePulseTrigger;
|
|
14494
14513
|
return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14495
14514
|
}
|
|
14496
14515
|
};
|
|
14497
14516
|
var UpdateReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14498
14517
|
async fetch(variables, options) {
|
|
14499
|
-
const response = await this._syncEngine.mutate(
|
|
14518
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
|
|
14500
14519
|
const data = response.updateReport;
|
|
14501
14520
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14502
14521
|
}
|
|
14503
14522
|
};
|
|
14504
14523
|
var UpdateTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14505
14524
|
async fetch(variables, options) {
|
|
14506
|
-
const response = await this._syncEngine.mutate(
|
|
14525
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
|
|
14507
14526
|
const data = response.updateTable;
|
|
14508
14527
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14509
14528
|
}
|
|
14510
14529
|
};
|
|
14511
14530
|
var UpdateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14512
14531
|
async fetch(variables, options) {
|
|
14513
|
-
const response = await this._syncEngine.mutate(
|
|
14532
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
|
|
14514
14533
|
const data = response.updateUserSkillFile;
|
|
14515
14534
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14516
14535
|
}
|
|
14517
14536
|
};
|
|
14518
14537
|
var UpdateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14519
14538
|
async fetch(variables, options) {
|
|
14520
|
-
const response = await this._syncEngine.mutate(
|
|
14539
|
+
const response = await this._syncEngine.mutate(chunkGMBMIL5U_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
|
|
14521
14540
|
const data = response.updateUserSkillFolder;
|
|
14522
14541
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14523
14542
|
}
|
|
@@ -14531,7 +14550,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14531
14550
|
}
|
|
14532
14551
|
async fetch(options) {
|
|
14533
14552
|
const variables = this._variables;
|
|
14534
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14553
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.AgentDocument, "agent", this._includes, variables);
|
|
14535
14554
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
|
|
14536
14555
|
const data = response.agent;
|
|
14537
14556
|
const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -14543,7 +14562,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14543
14562
|
watch(options) {
|
|
14544
14563
|
const variables = this._variables;
|
|
14545
14564
|
const includes = this._includes;
|
|
14546
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14565
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.AgentDocument, "agent", includes, variables);
|
|
14547
14566
|
const raw = this._syncEngine.watch(
|
|
14548
14567
|
queryDoc,
|
|
14549
14568
|
mergedVars,
|
|
@@ -14573,7 +14592,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14573
14592
|
}
|
|
14574
14593
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
14575
14594
|
chats(variables, builder) {
|
|
14576
|
-
const info = extractIncludeInfo(
|
|
14595
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
14577
14596
|
let children;
|
|
14578
14597
|
if (builder) {
|
|
14579
14598
|
const sub = new ChatSubBuilder();
|
|
@@ -14582,7 +14601,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14582
14601
|
}
|
|
14583
14602
|
this._includes.push({
|
|
14584
14603
|
fieldName: "chats",
|
|
14585
|
-
fragmentDoc:
|
|
14604
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatConnectionFragmentDoc,
|
|
14586
14605
|
variables,
|
|
14587
14606
|
isConnection: true,
|
|
14588
14607
|
isList: false,
|
|
@@ -14607,18 +14626,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
14607
14626
|
}
|
|
14608
14627
|
async fetch(options) {
|
|
14609
14628
|
const variables = this._variables;
|
|
14610
|
-
const response = await this._syncEngine.query(
|
|
14629
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Agent_ChatsDocument, variables, "agent");
|
|
14611
14630
|
const data = response.agent?.chats;
|
|
14612
14631
|
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);
|
|
14613
14632
|
}
|
|
14614
14633
|
watch(options) {
|
|
14615
14634
|
const variables = this._variables;
|
|
14616
14635
|
const raw = this._syncEngine.watch(
|
|
14617
|
-
|
|
14636
|
+
chunkGMBMIL5U_cjs.Agent_ChatsDocument,
|
|
14618
14637
|
variables,
|
|
14619
14638
|
"agent",
|
|
14620
14639
|
async (db) => {
|
|
14621
|
-
const queryKey = buildQueryKey("agent", variables,
|
|
14640
|
+
const queryKey = buildQueryKey("agent", variables, chunkGMBMIL5U_cjs.Agent_ChatsDocument);
|
|
14622
14641
|
const qr = await db._queryResults.get(queryKey);
|
|
14623
14642
|
if (!qr) {
|
|
14624
14643
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -14646,7 +14665,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14646
14665
|
}
|
|
14647
14666
|
async fetch(options) {
|
|
14648
14667
|
const variables = this._variables;
|
|
14649
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14668
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.AgentsDocument, "agents", this._includes, variables, true);
|
|
14650
14669
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
|
|
14651
14670
|
const data = response.agents;
|
|
14652
14671
|
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);
|
|
@@ -14663,7 +14682,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14663
14682
|
const subscriptionId = crypto.randomUUID();
|
|
14664
14683
|
const includes = this._includes;
|
|
14665
14684
|
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) }] : []);
|
|
14666
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14685
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.AgentsDocument, "agents", includes, variables, true);
|
|
14667
14686
|
const raw = this._syncEngine.watch(
|
|
14668
14687
|
queryDoc,
|
|
14669
14688
|
mergedVars,
|
|
@@ -14705,7 +14724,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14705
14724
|
}
|
|
14706
14725
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
14707
14726
|
chats(variables, builder) {
|
|
14708
|
-
const info = extractIncludeInfo(
|
|
14727
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
14709
14728
|
let children;
|
|
14710
14729
|
if (builder) {
|
|
14711
14730
|
const sub = new ChatSubBuilder();
|
|
@@ -14714,7 +14733,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14714
14733
|
}
|
|
14715
14734
|
this._includes.push({
|
|
14716
14735
|
fieldName: "chats",
|
|
14717
|
-
fragmentDoc:
|
|
14736
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatConnectionFragmentDoc,
|
|
14718
14737
|
variables,
|
|
14719
14738
|
isConnection: true,
|
|
14720
14739
|
isList: false,
|
|
@@ -14740,7 +14759,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14740
14759
|
}
|
|
14741
14760
|
async fetch(options) {
|
|
14742
14761
|
const variables = this._variables;
|
|
14743
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14762
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ArtifactDocument, "artifact", this._includes, variables);
|
|
14744
14763
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
|
|
14745
14764
|
const data = response.artifact;
|
|
14746
14765
|
const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -14752,7 +14771,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14752
14771
|
watch(options) {
|
|
14753
14772
|
const variables = this._variables;
|
|
14754
14773
|
const includes = this._includes;
|
|
14755
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14774
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ArtifactDocument, "artifact", includes, variables);
|
|
14756
14775
|
const raw = this._syncEngine.watch(
|
|
14757
14776
|
queryDoc,
|
|
14758
14777
|
mergedVars,
|
|
@@ -14782,7 +14801,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14782
14801
|
}
|
|
14783
14802
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
14784
14803
|
chat(variables, builder) {
|
|
14785
|
-
const info = extractIncludeInfo(
|
|
14804
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
14786
14805
|
let children;
|
|
14787
14806
|
if (builder) {
|
|
14788
14807
|
const sub = new ChatSubBuilder();
|
|
@@ -14791,7 +14810,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14791
14810
|
}
|
|
14792
14811
|
this._includes.push({
|
|
14793
14812
|
fieldName: "chat",
|
|
14794
|
-
fragmentDoc:
|
|
14813
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatFragmentDoc,
|
|
14795
14814
|
variables,
|
|
14796
14815
|
isConnection: false,
|
|
14797
14816
|
isList: false,
|
|
@@ -14808,10 +14827,10 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14808
14827
|
}
|
|
14809
14828
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
14810
14829
|
file(variables) {
|
|
14811
|
-
const info = extractIncludeInfo(
|
|
14830
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
14812
14831
|
this._includes.push({
|
|
14813
14832
|
fieldName: "file",
|
|
14814
|
-
fragmentDoc:
|
|
14833
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FileFragmentDoc,
|
|
14815
14834
|
variables,
|
|
14816
14835
|
isConnection: false,
|
|
14817
14836
|
isList: false,
|
|
@@ -14827,7 +14846,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14827
14846
|
}
|
|
14828
14847
|
/** Include message in this query (Smart Fetch — single HTTP request). */
|
|
14829
14848
|
message(variables, builder) {
|
|
14830
|
-
const info = extractIncludeInfo(
|
|
14849
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
14831
14850
|
let children;
|
|
14832
14851
|
if (builder) {
|
|
14833
14852
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -14836,7 +14855,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14836
14855
|
}
|
|
14837
14856
|
this._includes.push({
|
|
14838
14857
|
fieldName: "message",
|
|
14839
|
-
fragmentDoc:
|
|
14858
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatMessageFragmentDoc,
|
|
14840
14859
|
variables,
|
|
14841
14860
|
isConnection: false,
|
|
14842
14861
|
isList: false,
|
|
@@ -14860,14 +14879,14 @@ var Artifact_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14860
14879
|
}
|
|
14861
14880
|
async fetch(options) {
|
|
14862
14881
|
const variables = this._variables;
|
|
14863
|
-
const response = await this._syncEngine.query(
|
|
14882
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Artifact_ChatDocument, variables, "artifact");
|
|
14864
14883
|
const data = response.artifact?.chat;
|
|
14865
14884
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14866
14885
|
}
|
|
14867
14886
|
watch(options) {
|
|
14868
14887
|
const variables = this._variables;
|
|
14869
14888
|
const raw = this._syncEngine.watch(
|
|
14870
|
-
|
|
14889
|
+
chunkGMBMIL5U_cjs.Artifact_ChatDocument,
|
|
14871
14890
|
variables,
|
|
14872
14891
|
"artifact",
|
|
14873
14892
|
async (db) => {
|
|
@@ -14890,14 +14909,14 @@ var Artifact_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14890
14909
|
}
|
|
14891
14910
|
async fetch(options) {
|
|
14892
14911
|
const variables = this._variables;
|
|
14893
|
-
const response = await this._syncEngine.query(
|
|
14912
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
|
|
14894
14913
|
const data = response.artifact?.chat?.insight;
|
|
14895
14914
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14896
14915
|
}
|
|
14897
14916
|
watch(options) {
|
|
14898
14917
|
const variables = this._variables;
|
|
14899
14918
|
const raw = this._syncEngine.watch(
|
|
14900
|
-
|
|
14919
|
+
chunkGMBMIL5U_cjs.Artifact_Chat_InsightDocument,
|
|
14901
14920
|
variables,
|
|
14902
14921
|
"artifact",
|
|
14903
14922
|
async (db) => {
|
|
@@ -14920,14 +14939,14 @@ var Artifact_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14920
14939
|
}
|
|
14921
14940
|
async fetch(options) {
|
|
14922
14941
|
const variables = this._variables;
|
|
14923
|
-
const response = await this._syncEngine.query(
|
|
14942
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Artifact_FileDocument, variables, "artifact");
|
|
14924
14943
|
const data = response.artifact?.file;
|
|
14925
14944
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14926
14945
|
}
|
|
14927
14946
|
watch(options) {
|
|
14928
14947
|
const variables = this._variables;
|
|
14929
14948
|
const raw = this._syncEngine.watch(
|
|
14930
|
-
|
|
14949
|
+
chunkGMBMIL5U_cjs.Artifact_FileDocument,
|
|
14931
14950
|
variables,
|
|
14932
14951
|
"artifact",
|
|
14933
14952
|
async (db) => {
|
|
@@ -14950,14 +14969,14 @@ var Artifact_MessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14950
14969
|
}
|
|
14951
14970
|
async fetch(options) {
|
|
14952
14971
|
const variables = this._variables;
|
|
14953
|
-
const response = await this._syncEngine.query(
|
|
14972
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Artifact_MessageDocument, variables, "artifact");
|
|
14954
14973
|
const data = response.artifact?.message;
|
|
14955
14974
|
return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14956
14975
|
}
|
|
14957
14976
|
watch(options) {
|
|
14958
14977
|
const variables = this._variables;
|
|
14959
14978
|
const raw = this._syncEngine.watch(
|
|
14960
|
-
|
|
14979
|
+
chunkGMBMIL5U_cjs.Artifact_MessageDocument,
|
|
14961
14980
|
variables,
|
|
14962
14981
|
"artifact",
|
|
14963
14982
|
async (db) => {
|
|
@@ -14980,14 +14999,14 @@ var Artifact_Message_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14980
14999
|
}
|
|
14981
15000
|
async fetch(options) {
|
|
14982
15001
|
const variables = this._variables;
|
|
14983
|
-
const response = await this._syncEngine.query(
|
|
15002
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Artifact_Message_ChatDocument, variables, "artifact");
|
|
14984
15003
|
const data = response.artifact?.message?.chat;
|
|
14985
15004
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14986
15005
|
}
|
|
14987
15006
|
watch(options) {
|
|
14988
15007
|
const variables = this._variables;
|
|
14989
15008
|
const raw = this._syncEngine.watch(
|
|
14990
|
-
|
|
15009
|
+
chunkGMBMIL5U_cjs.Artifact_Message_ChatDocument,
|
|
14991
15010
|
variables,
|
|
14992
15011
|
"artifact",
|
|
14993
15012
|
async (db) => {
|
|
@@ -15009,7 +15028,7 @@ var Artifact_Message_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15009
15028
|
this._variables = variables;
|
|
15010
15029
|
}
|
|
15011
15030
|
async fetch(options) {
|
|
15012
|
-
const response = await this._syncEngine.query(
|
|
15031
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
|
|
15013
15032
|
const data = response.artifact?.message?.contents;
|
|
15014
15033
|
if (!Array.isArray(data)) return [];
|
|
15015
15034
|
return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -15023,14 +15042,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15023
15042
|
}
|
|
15024
15043
|
async fetch(options) {
|
|
15025
15044
|
const variables = this._variables;
|
|
15026
|
-
const response = await this._syncEngine.query(
|
|
15045
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
|
|
15027
15046
|
const data = response.artifact?.message?.feedback;
|
|
15028
15047
|
return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15029
15048
|
}
|
|
15030
15049
|
watch(options) {
|
|
15031
15050
|
const variables = this._variables;
|
|
15032
15051
|
const raw = this._syncEngine.watch(
|
|
15033
|
-
|
|
15052
|
+
chunkGMBMIL5U_cjs.Artifact_Message_FeedbackDocument,
|
|
15034
15053
|
variables,
|
|
15035
15054
|
"artifact",
|
|
15036
15055
|
async (db) => {
|
|
@@ -15054,7 +15073,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15054
15073
|
}
|
|
15055
15074
|
async fetch(options) {
|
|
15056
15075
|
const variables = this._variables;
|
|
15057
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15076
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
|
|
15058
15077
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
|
|
15059
15078
|
const data = response.artifacts;
|
|
15060
15079
|
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);
|
|
@@ -15071,7 +15090,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15071
15090
|
const subscriptionId = crypto.randomUUID();
|
|
15072
15091
|
const includes = this._includes;
|
|
15073
15092
|
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) }] : []);
|
|
15074
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15093
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
|
|
15075
15094
|
const raw = this._syncEngine.watch(
|
|
15076
15095
|
queryDoc,
|
|
15077
15096
|
mergedVars,
|
|
@@ -15113,7 +15132,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15113
15132
|
}
|
|
15114
15133
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15115
15134
|
chat(variables, builder) {
|
|
15116
|
-
const info = extractIncludeInfo(
|
|
15135
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
15117
15136
|
let children;
|
|
15118
15137
|
if (builder) {
|
|
15119
15138
|
const sub = new ChatSubBuilder();
|
|
@@ -15122,7 +15141,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15122
15141
|
}
|
|
15123
15142
|
this._includes.push({
|
|
15124
15143
|
fieldName: "chat",
|
|
15125
|
-
fragmentDoc:
|
|
15144
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatFragmentDoc,
|
|
15126
15145
|
variables,
|
|
15127
15146
|
isConnection: false,
|
|
15128
15147
|
isList: false,
|
|
@@ -15139,10 +15158,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15139
15158
|
}
|
|
15140
15159
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
15141
15160
|
file(variables) {
|
|
15142
|
-
const info = extractIncludeInfo(
|
|
15161
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
15143
15162
|
this._includes.push({
|
|
15144
15163
|
fieldName: "file",
|
|
15145
|
-
fragmentDoc:
|
|
15164
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FileFragmentDoc,
|
|
15146
15165
|
variables,
|
|
15147
15166
|
isConnection: false,
|
|
15148
15167
|
isList: false,
|
|
@@ -15158,7 +15177,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15158
15177
|
}
|
|
15159
15178
|
/** Include message in this query (Smart Fetch — single HTTP request). */
|
|
15160
15179
|
message(variables, builder) {
|
|
15161
|
-
const info = extractIncludeInfo(
|
|
15180
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
15162
15181
|
let children;
|
|
15163
15182
|
if (builder) {
|
|
15164
15183
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -15167,7 +15186,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15167
15186
|
}
|
|
15168
15187
|
this._includes.push({
|
|
15169
15188
|
fieldName: "message",
|
|
15170
|
-
fragmentDoc:
|
|
15189
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatMessageFragmentDoc,
|
|
15171
15190
|
variables,
|
|
15172
15191
|
isConnection: false,
|
|
15173
15192
|
isList: false,
|
|
@@ -15192,7 +15211,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15192
15211
|
}
|
|
15193
15212
|
async fetch(options) {
|
|
15194
15213
|
const variables = this._variables;
|
|
15195
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15214
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ChatDocument, "chat", this._includes, variables);
|
|
15196
15215
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
|
|
15197
15216
|
const data = response.chat;
|
|
15198
15217
|
const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15204,7 +15223,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15204
15223
|
watch(options) {
|
|
15205
15224
|
const variables = this._variables;
|
|
15206
15225
|
const includes = this._includes;
|
|
15207
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15226
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ChatDocument, "chat", includes, variables);
|
|
15208
15227
|
const raw = this._syncEngine.watch(
|
|
15209
15228
|
queryDoc,
|
|
15210
15229
|
mergedVars,
|
|
@@ -15234,7 +15253,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15234
15253
|
}
|
|
15235
15254
|
/** Include agents in this query (Smart Fetch — single HTTP request). */
|
|
15236
15255
|
agents(variables, builder) {
|
|
15237
|
-
const info = extractIncludeInfo(
|
|
15256
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
15238
15257
|
let children;
|
|
15239
15258
|
if (builder) {
|
|
15240
15259
|
const sub = new AgentSubBuilder();
|
|
@@ -15243,7 +15262,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15243
15262
|
}
|
|
15244
15263
|
this._includes.push({
|
|
15245
15264
|
fieldName: "agents",
|
|
15246
|
-
fragmentDoc:
|
|
15265
|
+
fragmentDoc: chunkGMBMIL5U_cjs.AgentConnectionFragmentDoc,
|
|
15247
15266
|
variables,
|
|
15248
15267
|
isConnection: true,
|
|
15249
15268
|
isList: false,
|
|
@@ -15261,7 +15280,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15261
15280
|
}
|
|
15262
15281
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15263
15282
|
artifacts(variables, builder) {
|
|
15264
|
-
const info = extractIncludeInfo(
|
|
15283
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
15265
15284
|
let children;
|
|
15266
15285
|
if (builder) {
|
|
15267
15286
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15270,7 +15289,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15270
15289
|
}
|
|
15271
15290
|
this._includes.push({
|
|
15272
15291
|
fieldName: "artifacts",
|
|
15273
|
-
fragmentDoc:
|
|
15292
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ArtifactConnectionFragmentDoc,
|
|
15274
15293
|
variables,
|
|
15275
15294
|
isConnection: true,
|
|
15276
15295
|
isList: false,
|
|
@@ -15288,7 +15307,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15288
15307
|
}
|
|
15289
15308
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
15290
15309
|
insight(variables, builder) {
|
|
15291
|
-
const info = extractIncludeInfo(
|
|
15310
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
15292
15311
|
let children;
|
|
15293
15312
|
if (builder) {
|
|
15294
15313
|
const sub = new InsightSubBuilder();
|
|
@@ -15297,7 +15316,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15297
15316
|
}
|
|
15298
15317
|
this._includes.push({
|
|
15299
15318
|
fieldName: "insight",
|
|
15300
|
-
fragmentDoc:
|
|
15319
|
+
fragmentDoc: chunkGMBMIL5U_cjs.InsightFragmentDoc,
|
|
15301
15320
|
variables,
|
|
15302
15321
|
isConnection: false,
|
|
15303
15322
|
isList: false,
|
|
@@ -15314,7 +15333,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15314
15333
|
}
|
|
15315
15334
|
/** Include messages in this query (Smart Fetch — single HTTP request). */
|
|
15316
15335
|
messages(variables, builder) {
|
|
15317
|
-
const info = extractIncludeInfo(
|
|
15336
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
15318
15337
|
let children;
|
|
15319
15338
|
if (builder) {
|
|
15320
15339
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -15323,7 +15342,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15323
15342
|
}
|
|
15324
15343
|
this._includes.push({
|
|
15325
15344
|
fieldName: "messages",
|
|
15326
|
-
fragmentDoc:
|
|
15345
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatMessageConnectionFragmentDoc,
|
|
15327
15346
|
variables,
|
|
15328
15347
|
isConnection: true,
|
|
15329
15348
|
isList: false,
|
|
@@ -15348,18 +15367,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
15348
15367
|
}
|
|
15349
15368
|
async fetch(options) {
|
|
15350
15369
|
const variables = this._variables;
|
|
15351
|
-
const response = await this._syncEngine.query(
|
|
15370
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Chat_AgentsDocument, variables, "chat");
|
|
15352
15371
|
const data = response.chat?.agents;
|
|
15353
15372
|
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);
|
|
15354
15373
|
}
|
|
15355
15374
|
watch(options) {
|
|
15356
15375
|
const variables = this._variables;
|
|
15357
15376
|
const raw = this._syncEngine.watch(
|
|
15358
|
-
|
|
15377
|
+
chunkGMBMIL5U_cjs.Chat_AgentsDocument,
|
|
15359
15378
|
variables,
|
|
15360
15379
|
"chat",
|
|
15361
15380
|
async (db) => {
|
|
15362
|
-
const queryKey = buildQueryKey("chat", variables,
|
|
15381
|
+
const queryKey = buildQueryKey("chat", variables, chunkGMBMIL5U_cjs.Chat_AgentsDocument);
|
|
15363
15382
|
const qr = await db._queryResults.get(queryKey);
|
|
15364
15383
|
if (!qr) {
|
|
15365
15384
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -15386,18 +15405,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk342BFYZZ_cjs.R
|
|
|
15386
15405
|
}
|
|
15387
15406
|
async fetch(options) {
|
|
15388
15407
|
const variables = this._variables;
|
|
15389
|
-
const response = await this._syncEngine.query(
|
|
15408
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Chat_ArtifactsDocument, variables, "chat");
|
|
15390
15409
|
const data = response.chat?.artifacts;
|
|
15391
15410
|
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);
|
|
15392
15411
|
}
|
|
15393
15412
|
watch(options) {
|
|
15394
15413
|
const variables = this._variables;
|
|
15395
15414
|
const raw = this._syncEngine.watch(
|
|
15396
|
-
|
|
15415
|
+
chunkGMBMIL5U_cjs.Chat_ArtifactsDocument,
|
|
15397
15416
|
variables,
|
|
15398
15417
|
"chat",
|
|
15399
15418
|
async (db) => {
|
|
15400
|
-
const queryKey = buildQueryKey("chat", variables,
|
|
15419
|
+
const queryKey = buildQueryKey("chat", variables, chunkGMBMIL5U_cjs.Chat_ArtifactsDocument);
|
|
15401
15420
|
const qr = await db._queryResults.get(queryKey);
|
|
15402
15421
|
if (!qr) {
|
|
15403
15422
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -15424,14 +15443,14 @@ var Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15424
15443
|
}
|
|
15425
15444
|
async fetch(options) {
|
|
15426
15445
|
const variables = this._variables;
|
|
15427
|
-
const response = await this._syncEngine.query(
|
|
15446
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Chat_InsightDocument, variables, "chat");
|
|
15428
15447
|
const data = response.chat?.insight;
|
|
15429
15448
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15430
15449
|
}
|
|
15431
15450
|
watch(options) {
|
|
15432
15451
|
const variables = this._variables;
|
|
15433
15452
|
const raw = this._syncEngine.watch(
|
|
15434
|
-
|
|
15453
|
+
chunkGMBMIL5U_cjs.Chat_InsightDocument,
|
|
15435
15454
|
variables,
|
|
15436
15455
|
"chat",
|
|
15437
15456
|
async (db) => {
|
|
@@ -15453,7 +15472,7 @@ var Chat_Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15453
15472
|
this._variables = variables;
|
|
15454
15473
|
}
|
|
15455
15474
|
async fetch(options) {
|
|
15456
|
-
const response = await this._syncEngine.query(
|
|
15475
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
|
|
15457
15476
|
const data = response.chat?.insight?.reportMembers;
|
|
15458
15477
|
if (!Array.isArray(data)) return [];
|
|
15459
15478
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -15467,14 +15486,14 @@ var Chat_Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15467
15486
|
}
|
|
15468
15487
|
async fetch(options) {
|
|
15469
15488
|
const variables = this._variables;
|
|
15470
|
-
const response = await this._syncEngine.query(
|
|
15489
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
|
|
15471
15490
|
const data = response.chat?.insight?.thumbnailFile;
|
|
15472
15491
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15473
15492
|
}
|
|
15474
15493
|
watch(options) {
|
|
15475
15494
|
const variables = this._variables;
|
|
15476
15495
|
const raw = this._syncEngine.watch(
|
|
15477
|
-
|
|
15496
|
+
chunkGMBMIL5U_cjs.Chat_Insight_ThumbnailFileDocument,
|
|
15478
15497
|
variables,
|
|
15479
15498
|
"chat",
|
|
15480
15499
|
async (db) => {
|
|
@@ -15497,18 +15516,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk342BFYZZ_cjs.Req
|
|
|
15497
15516
|
}
|
|
15498
15517
|
async fetch(options) {
|
|
15499
15518
|
const variables = this._variables;
|
|
15500
|
-
const response = await this._syncEngine.query(
|
|
15519
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Chat_MessagesDocument, variables, "chat");
|
|
15501
15520
|
const data = response.chat?.messages;
|
|
15502
15521
|
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);
|
|
15503
15522
|
}
|
|
15504
15523
|
watch(options) {
|
|
15505
15524
|
const variables = this._variables;
|
|
15506
15525
|
const raw = this._syncEngine.watch(
|
|
15507
|
-
|
|
15526
|
+
chunkGMBMIL5U_cjs.Chat_MessagesDocument,
|
|
15508
15527
|
variables,
|
|
15509
15528
|
"chat",
|
|
15510
15529
|
async (db) => {
|
|
15511
|
-
const queryKey = buildQueryKey("chat", variables,
|
|
15530
|
+
const queryKey = buildQueryKey("chat", variables, chunkGMBMIL5U_cjs.Chat_MessagesDocument);
|
|
15512
15531
|
const qr = await db._queryResults.get(queryKey);
|
|
15513
15532
|
if (!qr) {
|
|
15514
15533
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -15536,7 +15555,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15536
15555
|
}
|
|
15537
15556
|
async fetch(options) {
|
|
15538
15557
|
const variables = this._variables;
|
|
15539
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15558
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
|
|
15540
15559
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
|
|
15541
15560
|
const data = response.chatMessage;
|
|
15542
15561
|
const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15548,7 +15567,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15548
15567
|
watch(options) {
|
|
15549
15568
|
const variables = this._variables;
|
|
15550
15569
|
const includes = this._includes;
|
|
15551
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15570
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ChatMessageDocument, "chatMessage", includes, variables);
|
|
15552
15571
|
const raw = this._syncEngine.watch(
|
|
15553
15572
|
queryDoc,
|
|
15554
15573
|
mergedVars,
|
|
@@ -15578,7 +15597,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15578
15597
|
}
|
|
15579
15598
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15580
15599
|
artifacts(variables, builder) {
|
|
15581
|
-
const info = extractIncludeInfo(
|
|
15600
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
15582
15601
|
let children;
|
|
15583
15602
|
if (builder) {
|
|
15584
15603
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15587,7 +15606,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15587
15606
|
}
|
|
15588
15607
|
this._includes.push({
|
|
15589
15608
|
fieldName: "artifacts",
|
|
15590
|
-
fragmentDoc:
|
|
15609
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ArtifactConnectionFragmentDoc,
|
|
15591
15610
|
variables,
|
|
15592
15611
|
isConnection: true,
|
|
15593
15612
|
isList: false,
|
|
@@ -15605,7 +15624,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15605
15624
|
}
|
|
15606
15625
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15607
15626
|
chat(variables, builder) {
|
|
15608
|
-
const info = extractIncludeInfo(
|
|
15627
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
15609
15628
|
let children;
|
|
15610
15629
|
if (builder) {
|
|
15611
15630
|
const sub = new ChatSubBuilder();
|
|
@@ -15614,7 +15633,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15614
15633
|
}
|
|
15615
15634
|
this._includes.push({
|
|
15616
15635
|
fieldName: "chat",
|
|
15617
|
-
fragmentDoc:
|
|
15636
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatFragmentDoc,
|
|
15618
15637
|
variables,
|
|
15619
15638
|
isConnection: false,
|
|
15620
15639
|
isList: false,
|
|
@@ -15631,10 +15650,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15631
15650
|
}
|
|
15632
15651
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
15633
15652
|
contents(variables) {
|
|
15634
|
-
const info = extractIncludeInfo(
|
|
15653
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
15635
15654
|
this._includes.push({
|
|
15636
15655
|
fieldName: "contents",
|
|
15637
|
-
fragmentDoc:
|
|
15656
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ContentBlockFragmentDoc,
|
|
15638
15657
|
variables,
|
|
15639
15658
|
isConnection: false,
|
|
15640
15659
|
isList: true,
|
|
@@ -15650,10 +15669,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15650
15669
|
}
|
|
15651
15670
|
/** Include feedback in this query (Smart Fetch — single HTTP request). */
|
|
15652
15671
|
feedback(variables) {
|
|
15653
|
-
const info = extractIncludeInfo(
|
|
15672
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
15654
15673
|
this._includes.push({
|
|
15655
15674
|
fieldName: "feedback",
|
|
15656
|
-
fragmentDoc:
|
|
15675
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FeedbackFragmentDoc,
|
|
15657
15676
|
variables,
|
|
15658
15677
|
isConnection: false,
|
|
15659
15678
|
isList: false,
|
|
@@ -15676,18 +15695,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
|
|
|
15676
15695
|
}
|
|
15677
15696
|
async fetch(options) {
|
|
15678
15697
|
const variables = this._variables;
|
|
15679
|
-
const response = await this._syncEngine.query(
|
|
15698
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
|
|
15680
15699
|
const data = response.chatMessage?.artifacts;
|
|
15681
15700
|
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);
|
|
15682
15701
|
}
|
|
15683
15702
|
watch(options) {
|
|
15684
15703
|
const variables = this._variables;
|
|
15685
15704
|
const raw = this._syncEngine.watch(
|
|
15686
|
-
|
|
15705
|
+
chunkGMBMIL5U_cjs.ChatMessage_ArtifactsDocument,
|
|
15687
15706
|
variables,
|
|
15688
15707
|
"chatMessage",
|
|
15689
15708
|
async (db) => {
|
|
15690
|
-
const queryKey = buildQueryKey("chatMessage", variables,
|
|
15709
|
+
const queryKey = buildQueryKey("chatMessage", variables, chunkGMBMIL5U_cjs.ChatMessage_ArtifactsDocument);
|
|
15691
15710
|
const qr = await db._queryResults.get(queryKey);
|
|
15692
15711
|
if (!qr) {
|
|
15693
15712
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -15714,14 +15733,14 @@ var ChatMessage_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15714
15733
|
}
|
|
15715
15734
|
async fetch(options) {
|
|
15716
15735
|
const variables = this._variables;
|
|
15717
|
-
const response = await this._syncEngine.query(
|
|
15736
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
|
|
15718
15737
|
const data = response.chatMessage?.chat;
|
|
15719
15738
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15720
15739
|
}
|
|
15721
15740
|
watch(options) {
|
|
15722
15741
|
const variables = this._variables;
|
|
15723
15742
|
const raw = this._syncEngine.watch(
|
|
15724
|
-
|
|
15743
|
+
chunkGMBMIL5U_cjs.ChatMessage_ChatDocument,
|
|
15725
15744
|
variables,
|
|
15726
15745
|
"chatMessage",
|
|
15727
15746
|
async (db) => {
|
|
@@ -15744,14 +15763,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15744
15763
|
}
|
|
15745
15764
|
async fetch(options) {
|
|
15746
15765
|
const variables = this._variables;
|
|
15747
|
-
const response = await this._syncEngine.query(
|
|
15766
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
|
|
15748
15767
|
const data = response.chatMessage?.chat?.insight;
|
|
15749
15768
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15750
15769
|
}
|
|
15751
15770
|
watch(options) {
|
|
15752
15771
|
const variables = this._variables;
|
|
15753
15772
|
const raw = this._syncEngine.watch(
|
|
15754
|
-
|
|
15773
|
+
chunkGMBMIL5U_cjs.ChatMessage_Chat_InsightDocument,
|
|
15755
15774
|
variables,
|
|
15756
15775
|
"chatMessage",
|
|
15757
15776
|
async (db) => {
|
|
@@ -15773,7 +15792,7 @@ var ChatMessage_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15773
15792
|
this._variables = variables;
|
|
15774
15793
|
}
|
|
15775
15794
|
async fetch(options) {
|
|
15776
|
-
const response = await this._syncEngine.query(
|
|
15795
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
|
|
15777
15796
|
const data = response.chatMessage?.contents;
|
|
15778
15797
|
if (!Array.isArray(data)) return [];
|
|
15779
15798
|
return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -15787,14 +15806,14 @@ var ChatMessage_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15787
15806
|
}
|
|
15788
15807
|
async fetch(options) {
|
|
15789
15808
|
const variables = this._variables;
|
|
15790
|
-
const response = await this._syncEngine.query(
|
|
15809
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
|
|
15791
15810
|
const data = response.chatMessage?.feedback;
|
|
15792
15811
|
return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15793
15812
|
}
|
|
15794
15813
|
watch(options) {
|
|
15795
15814
|
const variables = this._variables;
|
|
15796
15815
|
const raw = this._syncEngine.watch(
|
|
15797
|
-
|
|
15816
|
+
chunkGMBMIL5U_cjs.ChatMessage_FeedbackDocument,
|
|
15798
15817
|
variables,
|
|
15799
15818
|
"chatMessage",
|
|
15800
15819
|
async (db) => {
|
|
@@ -15818,7 +15837,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15818
15837
|
}
|
|
15819
15838
|
async fetch(options) {
|
|
15820
15839
|
const variables = this._variables;
|
|
15821
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15840
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
|
|
15822
15841
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
|
|
15823
15842
|
const data = response.chatMessages;
|
|
15824
15843
|
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);
|
|
@@ -15835,7 +15854,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15835
15854
|
const subscriptionId = crypto.randomUUID();
|
|
15836
15855
|
const includes = this._includes;
|
|
15837
15856
|
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) }] : []);
|
|
15838
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15857
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
|
|
15839
15858
|
const raw = this._syncEngine.watch(
|
|
15840
15859
|
queryDoc,
|
|
15841
15860
|
mergedVars,
|
|
@@ -15877,7 +15896,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15877
15896
|
}
|
|
15878
15897
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15879
15898
|
artifacts(variables, builder) {
|
|
15880
|
-
const info = extractIncludeInfo(
|
|
15899
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
15881
15900
|
let children;
|
|
15882
15901
|
if (builder) {
|
|
15883
15902
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15886,7 +15905,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15886
15905
|
}
|
|
15887
15906
|
this._includes.push({
|
|
15888
15907
|
fieldName: "artifacts",
|
|
15889
|
-
fragmentDoc:
|
|
15908
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ArtifactConnectionFragmentDoc,
|
|
15890
15909
|
variables,
|
|
15891
15910
|
isConnection: true,
|
|
15892
15911
|
isList: false,
|
|
@@ -15904,7 +15923,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15904
15923
|
}
|
|
15905
15924
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15906
15925
|
chat(variables, builder) {
|
|
15907
|
-
const info = extractIncludeInfo(
|
|
15926
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
15908
15927
|
let children;
|
|
15909
15928
|
if (builder) {
|
|
15910
15929
|
const sub = new ChatSubBuilder();
|
|
@@ -15913,7 +15932,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15913
15932
|
}
|
|
15914
15933
|
this._includes.push({
|
|
15915
15934
|
fieldName: "chat",
|
|
15916
|
-
fragmentDoc:
|
|
15935
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatFragmentDoc,
|
|
15917
15936
|
variables,
|
|
15918
15937
|
isConnection: false,
|
|
15919
15938
|
isList: false,
|
|
@@ -15930,10 +15949,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15930
15949
|
}
|
|
15931
15950
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
15932
15951
|
contents(variables) {
|
|
15933
|
-
const info = extractIncludeInfo(
|
|
15952
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
15934
15953
|
this._includes.push({
|
|
15935
15954
|
fieldName: "contents",
|
|
15936
|
-
fragmentDoc:
|
|
15955
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ContentBlockFragmentDoc,
|
|
15937
15956
|
variables,
|
|
15938
15957
|
isConnection: false,
|
|
15939
15958
|
isList: true,
|
|
@@ -15949,10 +15968,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15949
15968
|
}
|
|
15950
15969
|
/** Include feedback in this query (Smart Fetch — single HTTP request). */
|
|
15951
15970
|
feedback(variables) {
|
|
15952
|
-
const info = extractIncludeInfo(
|
|
15971
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
15953
15972
|
this._includes.push({
|
|
15954
15973
|
fieldName: "feedback",
|
|
15955
|
-
fragmentDoc:
|
|
15974
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FeedbackFragmentDoc,
|
|
15956
15975
|
variables,
|
|
15957
15976
|
isConnection: false,
|
|
15958
15977
|
isList: false,
|
|
@@ -15976,7 +15995,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15976
15995
|
}
|
|
15977
15996
|
async fetch(options) {
|
|
15978
15997
|
const variables = this._variables;
|
|
15979
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15998
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ChatsDocument, "chats", this._includes, variables, true);
|
|
15980
15999
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
|
|
15981
16000
|
const data = response.chats;
|
|
15982
16001
|
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);
|
|
@@ -15993,7 +16012,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15993
16012
|
const subscriptionId = crypto.randomUUID();
|
|
15994
16013
|
const includes = this._includes;
|
|
15995
16014
|
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) }] : []);
|
|
15996
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16015
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ChatsDocument, "chats", includes, variables, true);
|
|
15997
16016
|
const raw = this._syncEngine.watch(
|
|
15998
16017
|
queryDoc,
|
|
15999
16018
|
mergedVars,
|
|
@@ -16035,7 +16054,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16035
16054
|
}
|
|
16036
16055
|
/** Include agents in this query (Smart Fetch — single HTTP request). */
|
|
16037
16056
|
agents(variables, builder) {
|
|
16038
|
-
const info = extractIncludeInfo(
|
|
16057
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
16039
16058
|
let children;
|
|
16040
16059
|
if (builder) {
|
|
16041
16060
|
const sub = new AgentSubBuilder();
|
|
@@ -16044,7 +16063,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16044
16063
|
}
|
|
16045
16064
|
this._includes.push({
|
|
16046
16065
|
fieldName: "agents",
|
|
16047
|
-
fragmentDoc:
|
|
16066
|
+
fragmentDoc: chunkGMBMIL5U_cjs.AgentConnectionFragmentDoc,
|
|
16048
16067
|
variables,
|
|
16049
16068
|
isConnection: true,
|
|
16050
16069
|
isList: false,
|
|
@@ -16062,7 +16081,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16062
16081
|
}
|
|
16063
16082
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
16064
16083
|
artifacts(variables, builder) {
|
|
16065
|
-
const info = extractIncludeInfo(
|
|
16084
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
16066
16085
|
let children;
|
|
16067
16086
|
if (builder) {
|
|
16068
16087
|
const sub = new ArtifactSubBuilder();
|
|
@@ -16071,7 +16090,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16071
16090
|
}
|
|
16072
16091
|
this._includes.push({
|
|
16073
16092
|
fieldName: "artifacts",
|
|
16074
|
-
fragmentDoc:
|
|
16093
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ArtifactConnectionFragmentDoc,
|
|
16075
16094
|
variables,
|
|
16076
16095
|
isConnection: true,
|
|
16077
16096
|
isList: false,
|
|
@@ -16089,7 +16108,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16089
16108
|
}
|
|
16090
16109
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
16091
16110
|
insight(variables, builder) {
|
|
16092
|
-
const info = extractIncludeInfo(
|
|
16111
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
16093
16112
|
let children;
|
|
16094
16113
|
if (builder) {
|
|
16095
16114
|
const sub = new InsightSubBuilder();
|
|
@@ -16098,7 +16117,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16098
16117
|
}
|
|
16099
16118
|
this._includes.push({
|
|
16100
16119
|
fieldName: "insight",
|
|
16101
|
-
fragmentDoc:
|
|
16120
|
+
fragmentDoc: chunkGMBMIL5U_cjs.InsightFragmentDoc,
|
|
16102
16121
|
variables,
|
|
16103
16122
|
isConnection: false,
|
|
16104
16123
|
isList: false,
|
|
@@ -16115,7 +16134,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16115
16134
|
}
|
|
16116
16135
|
/** Include messages in this query (Smart Fetch — single HTTP request). */
|
|
16117
16136
|
messages(variables, builder) {
|
|
16118
|
-
const info = extractIncludeInfo(
|
|
16137
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
16119
16138
|
let children;
|
|
16120
16139
|
if (builder) {
|
|
16121
16140
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -16124,7 +16143,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16124
16143
|
}
|
|
16125
16144
|
this._includes.push({
|
|
16126
16145
|
fieldName: "messages",
|
|
16127
|
-
fragmentDoc:
|
|
16146
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatMessageConnectionFragmentDoc,
|
|
16128
16147
|
variables,
|
|
16129
16148
|
isConnection: true,
|
|
16130
16149
|
isList: false,
|
|
@@ -16150,7 +16169,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16150
16169
|
}
|
|
16151
16170
|
async fetch(options) {
|
|
16152
16171
|
const variables = this._variables;
|
|
16153
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16172
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DatabaseDocument, "database", this._includes, variables);
|
|
16154
16173
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
|
|
16155
16174
|
const data = response.database;
|
|
16156
16175
|
const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16162,7 +16181,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16162
16181
|
watch(options) {
|
|
16163
16182
|
const variables = this._variables;
|
|
16164
16183
|
const includes = this._includes;
|
|
16165
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16184
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DatabaseDocument, "database", includes, variables);
|
|
16166
16185
|
const raw = this._syncEngine.watch(
|
|
16167
16186
|
queryDoc,
|
|
16168
16187
|
mergedVars,
|
|
@@ -16192,10 +16211,10 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16192
16211
|
}
|
|
16193
16212
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16194
16213
|
engine(variables) {
|
|
16195
|
-
const info = extractIncludeInfo(
|
|
16214
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
16196
16215
|
this._includes.push({
|
|
16197
16216
|
fieldName: "engine",
|
|
16198
|
-
fragmentDoc:
|
|
16217
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DatabaseEngineFragmentDoc,
|
|
16199
16218
|
variables,
|
|
16200
16219
|
isConnection: false,
|
|
16201
16220
|
isList: false,
|
|
@@ -16211,7 +16230,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16211
16230
|
}
|
|
16212
16231
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16213
16232
|
tables(variables, builder) {
|
|
16214
|
-
const info = extractIncludeInfo(
|
|
16233
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
16215
16234
|
let children;
|
|
16216
16235
|
if (builder) {
|
|
16217
16236
|
const sub = new TableSubBuilder();
|
|
@@ -16220,7 +16239,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16220
16239
|
}
|
|
16221
16240
|
this._includes.push({
|
|
16222
16241
|
fieldName: "tables",
|
|
16223
|
-
fragmentDoc:
|
|
16242
|
+
fragmentDoc: chunkGMBMIL5U_cjs.TableConnectionFragmentDoc,
|
|
16224
16243
|
variables,
|
|
16225
16244
|
isConnection: true,
|
|
16226
16245
|
isList: false,
|
|
@@ -16245,14 +16264,14 @@ var Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16245
16264
|
}
|
|
16246
16265
|
async fetch(options) {
|
|
16247
16266
|
const variables = this._variables;
|
|
16248
|
-
const response = await this._syncEngine.query(
|
|
16267
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Database_EngineDocument, variables, "database");
|
|
16249
16268
|
const data = response.database?.engine;
|
|
16250
16269
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16251
16270
|
}
|
|
16252
16271
|
watch(options) {
|
|
16253
16272
|
const variables = this._variables;
|
|
16254
16273
|
const raw = this._syncEngine.watch(
|
|
16255
|
-
|
|
16274
|
+
chunkGMBMIL5U_cjs.Database_EngineDocument,
|
|
16256
16275
|
variables,
|
|
16257
16276
|
"database",
|
|
16258
16277
|
async (db) => {
|
|
@@ -16275,14 +16294,14 @@ var Database_Engine_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16275
16294
|
}
|
|
16276
16295
|
async fetch(options) {
|
|
16277
16296
|
const variables = this._variables;
|
|
16278
|
-
const response = await this._syncEngine.query(
|
|
16297
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Database_Engine_CatalogDocument, variables, "database");
|
|
16279
16298
|
const data = response.database?.engine?.catalog;
|
|
16280
16299
|
return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16281
16300
|
}
|
|
16282
16301
|
watch(options) {
|
|
16283
16302
|
const variables = this._variables;
|
|
16284
16303
|
const raw = this._syncEngine.watch(
|
|
16285
|
-
|
|
16304
|
+
chunkGMBMIL5U_cjs.Database_Engine_CatalogDocument,
|
|
16286
16305
|
variables,
|
|
16287
16306
|
"database",
|
|
16288
16307
|
async (db) => {
|
|
@@ -16305,18 +16324,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk342BFYZZ_cjs
|
|
|
16305
16324
|
}
|
|
16306
16325
|
async fetch(options) {
|
|
16307
16326
|
const variables = this._variables;
|
|
16308
|
-
const response = await this._syncEngine.query(
|
|
16327
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Database_TablesDocument, variables, "database");
|
|
16309
16328
|
const data = response.database?.tables;
|
|
16310
16329
|
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);
|
|
16311
16330
|
}
|
|
16312
16331
|
watch(options) {
|
|
16313
16332
|
const variables = this._variables;
|
|
16314
16333
|
const raw = this._syncEngine.watch(
|
|
16315
|
-
|
|
16334
|
+
chunkGMBMIL5U_cjs.Database_TablesDocument,
|
|
16316
16335
|
variables,
|
|
16317
16336
|
"database",
|
|
16318
16337
|
async (db) => {
|
|
16319
|
-
const queryKey = buildQueryKey("database", variables,
|
|
16338
|
+
const queryKey = buildQueryKey("database", variables, chunkGMBMIL5U_cjs.Database_TablesDocument);
|
|
16320
16339
|
const qr = await db._queryResults.get(queryKey);
|
|
16321
16340
|
if (!qr) {
|
|
16322
16341
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -16344,7 +16363,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16344
16363
|
}
|
|
16345
16364
|
async fetch(options) {
|
|
16346
16365
|
const variables = this._variables;
|
|
16347
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16366
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
|
|
16348
16367
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
|
|
16349
16368
|
const data = response.databaseCatalog;
|
|
16350
16369
|
const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16356,7 +16375,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16356
16375
|
watch(options) {
|
|
16357
16376
|
const variables = this._variables;
|
|
16358
16377
|
const includes = this._includes;
|
|
16359
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16378
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
|
|
16360
16379
|
const raw = this._syncEngine.watch(
|
|
16361
16380
|
queryDoc,
|
|
16362
16381
|
mergedVars,
|
|
@@ -16386,10 +16405,10 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16386
16405
|
}
|
|
16387
16406
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16388
16407
|
engine(variables) {
|
|
16389
|
-
const info = extractIncludeInfo(
|
|
16408
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
16390
16409
|
this._includes.push({
|
|
16391
16410
|
fieldName: "engine",
|
|
16392
|
-
fragmentDoc:
|
|
16411
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DatabaseEngineFragmentDoc,
|
|
16393
16412
|
variables,
|
|
16394
16413
|
isConnection: false,
|
|
16395
16414
|
isList: false,
|
|
@@ -16412,14 +16431,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16412
16431
|
}
|
|
16413
16432
|
async fetch(options) {
|
|
16414
16433
|
const variables = this._variables;
|
|
16415
|
-
const response = await this._syncEngine.query(
|
|
16434
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
|
|
16416
16435
|
const data = response.databaseCatalog?.engine;
|
|
16417
16436
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16418
16437
|
}
|
|
16419
16438
|
watch(options) {
|
|
16420
16439
|
const variables = this._variables;
|
|
16421
16440
|
const raw = this._syncEngine.watch(
|
|
16422
|
-
|
|
16441
|
+
chunkGMBMIL5U_cjs.DatabaseCatalog_EngineDocument,
|
|
16423
16442
|
variables,
|
|
16424
16443
|
"databaseCatalog",
|
|
16425
16444
|
async (db) => {
|
|
@@ -16443,7 +16462,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16443
16462
|
}
|
|
16444
16463
|
async fetch(options) {
|
|
16445
16464
|
const variables = this._variables;
|
|
16446
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16465
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
|
|
16447
16466
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
|
|
16448
16467
|
const data = response.databaseCatalogs;
|
|
16449
16468
|
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);
|
|
@@ -16460,7 +16479,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16460
16479
|
const subscriptionId = crypto.randomUUID();
|
|
16461
16480
|
const includes = this._includes;
|
|
16462
16481
|
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) }] : []);
|
|
16463
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16482
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
|
|
16464
16483
|
const raw = this._syncEngine.watch(
|
|
16465
16484
|
queryDoc,
|
|
16466
16485
|
mergedVars,
|
|
@@ -16502,10 +16521,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16502
16521
|
}
|
|
16503
16522
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16504
16523
|
engine(variables) {
|
|
16505
|
-
const info = extractIncludeInfo(
|
|
16524
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
16506
16525
|
this._includes.push({
|
|
16507
16526
|
fieldName: "engine",
|
|
16508
|
-
fragmentDoc:
|
|
16527
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DatabaseEngineFragmentDoc,
|
|
16509
16528
|
variables,
|
|
16510
16529
|
isConnection: false,
|
|
16511
16530
|
isList: false,
|
|
@@ -16522,7 +16541,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16522
16541
|
};
|
|
16523
16542
|
var DatabaseSchemaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
16524
16543
|
async fetch(variables) {
|
|
16525
|
-
const response = await this._request(
|
|
16544
|
+
const response = await this._request(chunkGMBMIL5U_cjs.DatabaseSchemaDocument, variables);
|
|
16526
16545
|
return response.databaseSchema;
|
|
16527
16546
|
}
|
|
16528
16547
|
};
|
|
@@ -16535,7 +16554,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16535
16554
|
}
|
|
16536
16555
|
async fetch(options) {
|
|
16537
16556
|
const variables = this._variables;
|
|
16538
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16557
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DatabasesDocument, "databases", this._includes, variables, true);
|
|
16539
16558
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
|
|
16540
16559
|
const data = response.databases;
|
|
16541
16560
|
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);
|
|
@@ -16552,7 +16571,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16552
16571
|
const subscriptionId = crypto.randomUUID();
|
|
16553
16572
|
const includes = this._includes;
|
|
16554
16573
|
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) }] : []);
|
|
16555
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16574
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DatabasesDocument, "databases", includes, variables, true);
|
|
16556
16575
|
const raw = this._syncEngine.watch(
|
|
16557
16576
|
queryDoc,
|
|
16558
16577
|
mergedVars,
|
|
@@ -16594,10 +16613,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16594
16613
|
}
|
|
16595
16614
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16596
16615
|
engine(variables) {
|
|
16597
|
-
const info = extractIncludeInfo(
|
|
16616
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
16598
16617
|
this._includes.push({
|
|
16599
16618
|
fieldName: "engine",
|
|
16600
|
-
fragmentDoc:
|
|
16619
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DatabaseEngineFragmentDoc,
|
|
16601
16620
|
variables,
|
|
16602
16621
|
isConnection: false,
|
|
16603
16622
|
isList: false,
|
|
@@ -16613,7 +16632,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16613
16632
|
}
|
|
16614
16633
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16615
16634
|
tables(variables, builder) {
|
|
16616
|
-
const info = extractIncludeInfo(
|
|
16635
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
16617
16636
|
let children;
|
|
16618
16637
|
if (builder) {
|
|
16619
16638
|
const sub = new TableSubBuilder();
|
|
@@ -16622,7 +16641,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16622
16641
|
}
|
|
16623
16642
|
this._includes.push({
|
|
16624
16643
|
fieldName: "tables",
|
|
16625
|
-
fragmentDoc:
|
|
16644
|
+
fragmentDoc: chunkGMBMIL5U_cjs.TableConnectionFragmentDoc,
|
|
16626
16645
|
variables,
|
|
16627
16646
|
isConnection: true,
|
|
16628
16647
|
isList: false,
|
|
@@ -16648,7 +16667,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16648
16667
|
}
|
|
16649
16668
|
async fetch(options) {
|
|
16650
16669
|
const variables = this._variables;
|
|
16651
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16670
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DocumentDocument, "document", this._includes, variables);
|
|
16652
16671
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
|
|
16653
16672
|
const data = response.document;
|
|
16654
16673
|
const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16660,7 +16679,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16660
16679
|
watch(options) {
|
|
16661
16680
|
const variables = this._variables;
|
|
16662
16681
|
const includes = this._includes;
|
|
16663
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16682
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DocumentDocument, "document", includes, variables);
|
|
16664
16683
|
const raw = this._syncEngine.watch(
|
|
16665
16684
|
queryDoc,
|
|
16666
16685
|
mergedVars,
|
|
@@ -16690,10 +16709,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16690
16709
|
}
|
|
16691
16710
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
16692
16711
|
contents(variables) {
|
|
16693
|
-
const info = extractIncludeInfo(
|
|
16712
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
16694
16713
|
this._includes.push({
|
|
16695
16714
|
fieldName: "contents",
|
|
16696
|
-
fragmentDoc:
|
|
16715
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DocumentContentFragmentDoc,
|
|
16697
16716
|
variables,
|
|
16698
16717
|
isConnection: false,
|
|
16699
16718
|
isList: true,
|
|
@@ -16709,10 +16728,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16709
16728
|
}
|
|
16710
16729
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
16711
16730
|
file(variables) {
|
|
16712
|
-
const info = extractIncludeInfo(
|
|
16731
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Document_FileDocument, "file", ["id"]);
|
|
16713
16732
|
this._includes.push({
|
|
16714
16733
|
fieldName: "file",
|
|
16715
|
-
fragmentDoc:
|
|
16734
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FileFragmentDoc,
|
|
16716
16735
|
variables,
|
|
16717
16736
|
isConnection: false,
|
|
16718
16737
|
isList: false,
|
|
@@ -16728,10 +16747,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16728
16747
|
}
|
|
16729
16748
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
16730
16749
|
format(variables) {
|
|
16731
|
-
const info = extractIncludeInfo(
|
|
16750
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Document_FormatDocument, "format", ["id"]);
|
|
16732
16751
|
this._includes.push({
|
|
16733
16752
|
fieldName: "format",
|
|
16734
|
-
fragmentDoc:
|
|
16753
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DocumentFormatFragmentDoc,
|
|
16735
16754
|
variables,
|
|
16736
16755
|
isConnection: false,
|
|
16737
16756
|
isList: false,
|
|
@@ -16747,7 +16766,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16747
16766
|
}
|
|
16748
16767
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16749
16768
|
tables(variables, builder) {
|
|
16750
|
-
const info = extractIncludeInfo(
|
|
16769
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
16751
16770
|
let children;
|
|
16752
16771
|
if (builder) {
|
|
16753
16772
|
const sub = new TableSubBuilder();
|
|
@@ -16756,7 +16775,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16756
16775
|
}
|
|
16757
16776
|
this._includes.push({
|
|
16758
16777
|
fieldName: "tables",
|
|
16759
|
-
fragmentDoc:
|
|
16778
|
+
fragmentDoc: chunkGMBMIL5U_cjs.TableConnectionFragmentDoc,
|
|
16760
16779
|
variables,
|
|
16761
16780
|
isConnection: true,
|
|
16762
16781
|
isList: false,
|
|
@@ -16780,7 +16799,7 @@ var Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16780
16799
|
this._variables = variables;
|
|
16781
16800
|
}
|
|
16782
16801
|
async fetch(options) {
|
|
16783
|
-
const response = await this._syncEngine.query(
|
|
16802
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Document_ContentsDocument, this._variables, "document");
|
|
16784
16803
|
const data = response.document?.contents;
|
|
16785
16804
|
if (!Array.isArray(data)) return [];
|
|
16786
16805
|
return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -16794,14 +16813,14 @@ var Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16794
16813
|
}
|
|
16795
16814
|
async fetch(options) {
|
|
16796
16815
|
const variables = this._variables;
|
|
16797
|
-
const response = await this._syncEngine.query(
|
|
16816
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Document_FileDocument, variables, "document");
|
|
16798
16817
|
const data = response.document?.file;
|
|
16799
16818
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16800
16819
|
}
|
|
16801
16820
|
watch(options) {
|
|
16802
16821
|
const variables = this._variables;
|
|
16803
16822
|
const raw = this._syncEngine.watch(
|
|
16804
|
-
|
|
16823
|
+
chunkGMBMIL5U_cjs.Document_FileDocument,
|
|
16805
16824
|
variables,
|
|
16806
16825
|
"document",
|
|
16807
16826
|
async (db) => {
|
|
@@ -16824,14 +16843,14 @@ var Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16824
16843
|
}
|
|
16825
16844
|
async fetch(options) {
|
|
16826
16845
|
const variables = this._variables;
|
|
16827
|
-
const response = await this._syncEngine.query(
|
|
16846
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Document_FormatDocument, variables, "document");
|
|
16828
16847
|
const data = response.document?.format;
|
|
16829
16848
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16830
16849
|
}
|
|
16831
16850
|
watch(options) {
|
|
16832
16851
|
const variables = this._variables;
|
|
16833
16852
|
const raw = this._syncEngine.watch(
|
|
16834
|
-
|
|
16853
|
+
chunkGMBMIL5U_cjs.Document_FormatDocument,
|
|
16835
16854
|
variables,
|
|
16836
16855
|
"document",
|
|
16837
16856
|
async (db) => {
|
|
@@ -16854,14 +16873,14 @@ var Document_Format_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16854
16873
|
}
|
|
16855
16874
|
async fetch(options) {
|
|
16856
16875
|
const variables = this._variables;
|
|
16857
|
-
const response = await this._syncEngine.query(
|
|
16876
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Document_Format_CatalogDocument, variables, "document");
|
|
16858
16877
|
const data = response.document?.format?.catalog;
|
|
16859
16878
|
return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16860
16879
|
}
|
|
16861
16880
|
watch(options) {
|
|
16862
16881
|
const variables = this._variables;
|
|
16863
16882
|
const raw = this._syncEngine.watch(
|
|
16864
|
-
|
|
16883
|
+
chunkGMBMIL5U_cjs.Document_Format_CatalogDocument,
|
|
16865
16884
|
variables,
|
|
16866
16885
|
"document",
|
|
16867
16886
|
async (db) => {
|
|
@@ -16884,18 +16903,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk342BFYZZ_cjs
|
|
|
16884
16903
|
}
|
|
16885
16904
|
async fetch(options) {
|
|
16886
16905
|
const variables = this._variables;
|
|
16887
|
-
const response = await this._syncEngine.query(
|
|
16906
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Document_TablesDocument, variables, "document");
|
|
16888
16907
|
const data = response.document?.tables;
|
|
16889
16908
|
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);
|
|
16890
16909
|
}
|
|
16891
16910
|
watch(options) {
|
|
16892
16911
|
const variables = this._variables;
|
|
16893
16912
|
const raw = this._syncEngine.watch(
|
|
16894
|
-
|
|
16913
|
+
chunkGMBMIL5U_cjs.Document_TablesDocument,
|
|
16895
16914
|
variables,
|
|
16896
16915
|
"document",
|
|
16897
16916
|
async (db) => {
|
|
16898
|
-
const queryKey = buildQueryKey("document", variables,
|
|
16917
|
+
const queryKey = buildQueryKey("document", variables, chunkGMBMIL5U_cjs.Document_TablesDocument);
|
|
16899
16918
|
const qr = await db._queryResults.get(queryKey);
|
|
16900
16919
|
if (!qr) {
|
|
16901
16920
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -16923,7 +16942,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16923
16942
|
}
|
|
16924
16943
|
async fetch(options) {
|
|
16925
16944
|
const variables = this._variables;
|
|
16926
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16945
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
|
|
16927
16946
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
|
|
16928
16947
|
const data = response.documentCatalog;
|
|
16929
16948
|
const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16935,7 +16954,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16935
16954
|
watch(options) {
|
|
16936
16955
|
const variables = this._variables;
|
|
16937
16956
|
const includes = this._includes;
|
|
16938
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16957
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
|
|
16939
16958
|
const raw = this._syncEngine.watch(
|
|
16940
16959
|
queryDoc,
|
|
16941
16960
|
mergedVars,
|
|
@@ -16965,10 +16984,10 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16965
16984
|
}
|
|
16966
16985
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
16967
16986
|
format(variables) {
|
|
16968
|
-
const info = extractIncludeInfo(
|
|
16987
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
16969
16988
|
this._includes.push({
|
|
16970
16989
|
fieldName: "format",
|
|
16971
|
-
fragmentDoc:
|
|
16990
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DocumentFormatFragmentDoc,
|
|
16972
16991
|
variables,
|
|
16973
16992
|
isConnection: false,
|
|
16974
16993
|
isList: false,
|
|
@@ -16991,14 +17010,14 @@ var DocumentCatalog_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16991
17010
|
}
|
|
16992
17011
|
async fetch(options) {
|
|
16993
17012
|
const variables = this._variables;
|
|
16994
|
-
const response = await this._syncEngine.query(
|
|
17013
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
|
|
16995
17014
|
const data = response.documentCatalog?.format;
|
|
16996
17015
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16997
17016
|
}
|
|
16998
17017
|
watch(options) {
|
|
16999
17018
|
const variables = this._variables;
|
|
17000
17019
|
const raw = this._syncEngine.watch(
|
|
17001
|
-
|
|
17020
|
+
chunkGMBMIL5U_cjs.DocumentCatalog_FormatDocument,
|
|
17002
17021
|
variables,
|
|
17003
17022
|
"documentCatalog",
|
|
17004
17023
|
async (db) => {
|
|
@@ -17022,7 +17041,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
17022
17041
|
}
|
|
17023
17042
|
async fetch(options) {
|
|
17024
17043
|
const variables = this._variables;
|
|
17025
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17044
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
|
|
17026
17045
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
|
|
17027
17046
|
const data = response.documentCatalogs;
|
|
17028
17047
|
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);
|
|
@@ -17039,7 +17058,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
17039
17058
|
const subscriptionId = crypto.randomUUID();
|
|
17040
17059
|
const includes = this._includes;
|
|
17041
17060
|
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) }] : []);
|
|
17042
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17061
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
|
|
17043
17062
|
const raw = this._syncEngine.watch(
|
|
17044
17063
|
queryDoc,
|
|
17045
17064
|
mergedVars,
|
|
@@ -17081,10 +17100,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
17081
17100
|
}
|
|
17082
17101
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
17083
17102
|
format(variables) {
|
|
17084
|
-
const info = extractIncludeInfo(
|
|
17103
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
17085
17104
|
this._includes.push({
|
|
17086
17105
|
fieldName: "format",
|
|
17087
|
-
fragmentDoc:
|
|
17106
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DocumentFormatFragmentDoc,
|
|
17088
17107
|
variables,
|
|
17089
17108
|
isConnection: false,
|
|
17090
17109
|
isList: false,
|
|
@@ -17108,7 +17127,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17108
17127
|
}
|
|
17109
17128
|
async fetch(options) {
|
|
17110
17129
|
const variables = this._variables;
|
|
17111
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17130
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DocumentsDocument, "documents", this._includes, variables, true);
|
|
17112
17131
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
|
|
17113
17132
|
const data = response.documents;
|
|
17114
17133
|
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);
|
|
@@ -17125,7 +17144,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17125
17144
|
const subscriptionId = crypto.randomUUID();
|
|
17126
17145
|
const includes = this._includes;
|
|
17127
17146
|
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) }] : []);
|
|
17128
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17147
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.DocumentsDocument, "documents", includes, variables, true);
|
|
17129
17148
|
const raw = this._syncEngine.watch(
|
|
17130
17149
|
queryDoc,
|
|
17131
17150
|
mergedVars,
|
|
@@ -17167,10 +17186,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17167
17186
|
}
|
|
17168
17187
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
17169
17188
|
contents(variables) {
|
|
17170
|
-
const info = extractIncludeInfo(
|
|
17189
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
17171
17190
|
this._includes.push({
|
|
17172
17191
|
fieldName: "contents",
|
|
17173
|
-
fragmentDoc:
|
|
17192
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DocumentContentFragmentDoc,
|
|
17174
17193
|
variables,
|
|
17175
17194
|
isConnection: false,
|
|
17176
17195
|
isList: true,
|
|
@@ -17186,10 +17205,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17186
17205
|
}
|
|
17187
17206
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
17188
17207
|
file(variables) {
|
|
17189
|
-
const info = extractIncludeInfo(
|
|
17208
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Document_FileDocument, "file", ["id"]);
|
|
17190
17209
|
this._includes.push({
|
|
17191
17210
|
fieldName: "file",
|
|
17192
|
-
fragmentDoc:
|
|
17211
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FileFragmentDoc,
|
|
17193
17212
|
variables,
|
|
17194
17213
|
isConnection: false,
|
|
17195
17214
|
isList: false,
|
|
@@ -17205,10 +17224,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17205
17224
|
}
|
|
17206
17225
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
17207
17226
|
format(variables) {
|
|
17208
|
-
const info = extractIncludeInfo(
|
|
17227
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Document_FormatDocument, "format", ["id"]);
|
|
17209
17228
|
this._includes.push({
|
|
17210
17229
|
fieldName: "format",
|
|
17211
|
-
fragmentDoc:
|
|
17230
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DocumentFormatFragmentDoc,
|
|
17212
17231
|
variables,
|
|
17213
17232
|
isConnection: false,
|
|
17214
17233
|
isList: false,
|
|
@@ -17224,7 +17243,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17224
17243
|
}
|
|
17225
17244
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
17226
17245
|
tables(variables, builder) {
|
|
17227
|
-
const info = extractIncludeInfo(
|
|
17246
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
17228
17247
|
let children;
|
|
17229
17248
|
if (builder) {
|
|
17230
17249
|
const sub = new TableSubBuilder();
|
|
@@ -17233,7 +17252,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17233
17252
|
}
|
|
17234
17253
|
this._includes.push({
|
|
17235
17254
|
fieldName: "tables",
|
|
17236
|
-
fragmentDoc:
|
|
17255
|
+
fragmentDoc: chunkGMBMIL5U_cjs.TableConnectionFragmentDoc,
|
|
17237
17256
|
variables,
|
|
17238
17257
|
isConnection: true,
|
|
17239
17258
|
isList: false,
|
|
@@ -17252,13 +17271,13 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17252
17271
|
};
|
|
17253
17272
|
var ExportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17254
17273
|
async fetch(variables) {
|
|
17255
|
-
const response = await this._request(
|
|
17274
|
+
const response = await this._request(chunkGMBMIL5U_cjs.ExportDocument, variables);
|
|
17256
17275
|
return response.export;
|
|
17257
17276
|
}
|
|
17258
17277
|
};
|
|
17259
17278
|
var ExportWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17260
17279
|
async fetch(variables) {
|
|
17261
|
-
const response = await this._request(
|
|
17280
|
+
const response = await this._request(chunkGMBMIL5U_cjs.ExportWithInsightIdDocument, variables);
|
|
17262
17281
|
return response.exportWithInsightId;
|
|
17263
17282
|
}
|
|
17264
17283
|
};
|
|
@@ -17271,7 +17290,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17271
17290
|
}
|
|
17272
17291
|
async fetch(options) {
|
|
17273
17292
|
const variables = this._variables;
|
|
17274
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17293
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.FeedItemDocument, "feedItem", this._includes, variables);
|
|
17275
17294
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItem");
|
|
17276
17295
|
const data = response.feedItem;
|
|
17277
17296
|
if (!data) return void 0;
|
|
@@ -17284,7 +17303,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17284
17303
|
watch(options) {
|
|
17285
17304
|
const variables = this._variables;
|
|
17286
17305
|
const includes = this._includes;
|
|
17287
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17306
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.FeedItemDocument, "feedItem", includes, variables);
|
|
17288
17307
|
const raw = this._syncEngine.watch(
|
|
17289
17308
|
queryDoc,
|
|
17290
17309
|
mergedVars,
|
|
@@ -17315,10 +17334,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17315
17334
|
}
|
|
17316
17335
|
/** Include action in this query (Smart Fetch — single HTTP request). */
|
|
17317
17336
|
action(variables) {
|
|
17318
|
-
const info = extractIncludeInfo(
|
|
17337
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
17319
17338
|
this._includes.push({
|
|
17320
17339
|
fieldName: "action",
|
|
17321
|
-
fragmentDoc:
|
|
17340
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FeedSendMessageActionFragmentDoc,
|
|
17322
17341
|
variables,
|
|
17323
17342
|
isConnection: false,
|
|
17324
17343
|
isList: false,
|
|
@@ -17334,10 +17353,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17334
17353
|
}
|
|
17335
17354
|
/** Include data in this query (Smart Fetch — single HTTP request). */
|
|
17336
17355
|
data(variables) {
|
|
17337
|
-
const info = extractIncludeInfo(
|
|
17356
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
17338
17357
|
this._includes.push({
|
|
17339
17358
|
fieldName: "data",
|
|
17340
|
-
fragmentDoc:
|
|
17359
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FeedArtifactDataFragmentDoc,
|
|
17341
17360
|
variables,
|
|
17342
17361
|
isConnection: false,
|
|
17343
17362
|
isList: true,
|
|
@@ -17360,14 +17379,14 @@ var FeedItem_ActionQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17360
17379
|
}
|
|
17361
17380
|
async fetch(options) {
|
|
17362
17381
|
const variables = this._variables;
|
|
17363
|
-
const response = await this._syncEngine.query(
|
|
17382
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.FeedItem_ActionDocument, variables, "feedItem");
|
|
17364
17383
|
const data = response.feedItem?.action;
|
|
17365
17384
|
return data ? new FeedSendMessageAction(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17366
17385
|
}
|
|
17367
17386
|
watch(options) {
|
|
17368
17387
|
const variables = this._variables;
|
|
17369
17388
|
const raw = this._syncEngine.watch(
|
|
17370
|
-
|
|
17389
|
+
chunkGMBMIL5U_cjs.FeedItem_ActionDocument,
|
|
17371
17390
|
variables,
|
|
17372
17391
|
"feedItem",
|
|
17373
17392
|
async (db) => {
|
|
@@ -17389,7 +17408,7 @@ var FeedItem_DataQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17389
17408
|
this._variables = variables;
|
|
17390
17409
|
}
|
|
17391
17410
|
async fetch(options) {
|
|
17392
|
-
const response = await this._syncEngine.query(
|
|
17411
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.FeedItem_DataDocument, this._variables, "feedItem");
|
|
17393
17412
|
const data = response.feedItem?.data;
|
|
17394
17413
|
if (!Array.isArray(data)) return [];
|
|
17395
17414
|
return data.map((item) => new FeedArtifactData(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -17404,7 +17423,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17404
17423
|
}
|
|
17405
17424
|
async fetch(options) {
|
|
17406
17425
|
const variables = this._variables;
|
|
17407
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17426
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
|
|
17408
17427
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItems");
|
|
17409
17428
|
const data = response.feedItems;
|
|
17410
17429
|
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);
|
|
@@ -17421,7 +17440,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17421
17440
|
const subscriptionId = crypto.randomUUID();
|
|
17422
17441
|
const includes = this._includes;
|
|
17423
17442
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
17424
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17443
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
|
|
17425
17444
|
const raw = this._syncEngine.watch(
|
|
17426
17445
|
queryDoc,
|
|
17427
17446
|
mergedVars,
|
|
@@ -17463,10 +17482,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17463
17482
|
}
|
|
17464
17483
|
/** Include action in this query (Smart Fetch — single HTTP request). */
|
|
17465
17484
|
action(variables) {
|
|
17466
|
-
const info = extractIncludeInfo(
|
|
17485
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
17467
17486
|
this._includes.push({
|
|
17468
17487
|
fieldName: "action",
|
|
17469
|
-
fragmentDoc:
|
|
17488
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FeedSendMessageActionFragmentDoc,
|
|
17470
17489
|
variables,
|
|
17471
17490
|
isConnection: false,
|
|
17472
17491
|
isList: false,
|
|
@@ -17482,10 +17501,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17482
17501
|
}
|
|
17483
17502
|
/** Include data in this query (Smart Fetch — single HTTP request). */
|
|
17484
17503
|
data(variables) {
|
|
17485
|
-
const info = extractIncludeInfo(
|
|
17504
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
17486
17505
|
this._includes.push({
|
|
17487
17506
|
fieldName: "data",
|
|
17488
|
-
fragmentDoc:
|
|
17507
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FeedArtifactDataFragmentDoc,
|
|
17489
17508
|
variables,
|
|
17490
17509
|
isConnection: false,
|
|
17491
17510
|
isList: true,
|
|
@@ -17502,7 +17521,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17502
17521
|
};
|
|
17503
17522
|
var FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17504
17523
|
async fetch(variables) {
|
|
17505
|
-
const response = await this._request(
|
|
17524
|
+
const response = await this._request(chunkGMBMIL5U_cjs.FileDocument, variables);
|
|
17506
17525
|
return response.file;
|
|
17507
17526
|
}
|
|
17508
17527
|
};
|
|
@@ -17515,7 +17534,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17515
17534
|
}
|
|
17516
17535
|
async fetch(options) {
|
|
17517
17536
|
const variables = this._variables;
|
|
17518
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17537
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
|
|
17519
17538
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
|
|
17520
17539
|
const data = response.fileMeta;
|
|
17521
17540
|
if (!data) return void 0;
|
|
@@ -17528,7 +17547,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17528
17547
|
watch(options) {
|
|
17529
17548
|
const variables = this._variables;
|
|
17530
17549
|
const includes = this._includes;
|
|
17531
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17550
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.FileMetaDocument, "fileMeta", includes, variables);
|
|
17532
17551
|
const raw = this._syncEngine.watch(
|
|
17533
17552
|
queryDoc,
|
|
17534
17553
|
mergedVars,
|
|
@@ -17566,7 +17585,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17566
17585
|
this._variables = variables;
|
|
17567
17586
|
}
|
|
17568
17587
|
async fetch(options) {
|
|
17569
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17588
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
|
|
17570
17589
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
|
|
17571
17590
|
const data = response.fileUrls;
|
|
17572
17591
|
if (!Array.isArray(data)) return [];
|
|
@@ -17575,7 +17594,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17575
17594
|
};
|
|
17576
17595
|
var FindFitTierQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17577
17596
|
async fetch(variables) {
|
|
17578
|
-
const response = await this._request(
|
|
17597
|
+
const response = await this._request(chunkGMBMIL5U_cjs.FindFitTierDocument, variables);
|
|
17579
17598
|
return response.findFitTier ?? void 0;
|
|
17580
17599
|
}
|
|
17581
17600
|
};
|
|
@@ -17588,7 +17607,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17588
17607
|
}
|
|
17589
17608
|
async fetch(options) {
|
|
17590
17609
|
const variables = this._variables;
|
|
17591
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17610
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.FolderDocument, "folder", this._includes, variables);
|
|
17592
17611
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
|
|
17593
17612
|
const data = response.folder;
|
|
17594
17613
|
const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17600,7 +17619,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17600
17619
|
watch(options) {
|
|
17601
17620
|
const variables = this._variables;
|
|
17602
17621
|
const includes = this._includes;
|
|
17603
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17622
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.FolderDocument, "folder", includes, variables);
|
|
17604
17623
|
const raw = this._syncEngine.watch(
|
|
17605
17624
|
queryDoc,
|
|
17606
17625
|
mergedVars,
|
|
@@ -17638,7 +17657,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17638
17657
|
}
|
|
17639
17658
|
async fetch(options) {
|
|
17640
17659
|
const variables = this._variables;
|
|
17641
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17660
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.FoldersDocument, "folders", this._includes, variables, true);
|
|
17642
17661
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
|
|
17643
17662
|
const data = response.folders;
|
|
17644
17663
|
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);
|
|
@@ -17655,7 +17674,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17655
17674
|
const subscriptionId = crypto.randomUUID();
|
|
17656
17675
|
const includes = this._includes;
|
|
17657
17676
|
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) }] : []);
|
|
17658
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17677
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.FoldersDocument, "folders", includes, variables, true);
|
|
17659
17678
|
const raw = this._syncEngine.watch(
|
|
17660
17679
|
queryDoc,
|
|
17661
17680
|
mergedVars,
|
|
@@ -17698,7 +17717,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17698
17717
|
};
|
|
17699
17718
|
var GetCapabilityQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17700
17719
|
async fetch(variables) {
|
|
17701
|
-
const response = await this._request(
|
|
17720
|
+
const response = await this._request(chunkGMBMIL5U_cjs.GetCapabilityDocument, variables);
|
|
17702
17721
|
return response.getCapability;
|
|
17703
17722
|
}
|
|
17704
17723
|
};
|
|
@@ -17711,7 +17730,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17711
17730
|
}
|
|
17712
17731
|
async fetch(options) {
|
|
17713
17732
|
const variables = this._variables;
|
|
17714
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17733
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
|
|
17715
17734
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
|
|
17716
17735
|
const data = response.getDevAccessToken;
|
|
17717
17736
|
const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17723,7 +17742,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17723
17742
|
watch(options) {
|
|
17724
17743
|
const variables = this._variables;
|
|
17725
17744
|
const includes = this._includes;
|
|
17726
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17745
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
|
|
17727
17746
|
const raw = this._syncEngine.watch(
|
|
17728
17747
|
queryDoc,
|
|
17729
17748
|
mergedVars,
|
|
@@ -17754,13 +17773,13 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17754
17773
|
};
|
|
17755
17774
|
var GetLimitQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17756
17775
|
async fetch(variables) {
|
|
17757
|
-
const response = await this._request(
|
|
17776
|
+
const response = await this._request(chunkGMBMIL5U_cjs.GetLimitDocument, variables);
|
|
17758
17777
|
return response.getLimit ?? void 0;
|
|
17759
17778
|
}
|
|
17760
17779
|
};
|
|
17761
17780
|
var GetRemainingQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17762
17781
|
async fetch(variables) {
|
|
17763
|
-
const response = await this._request(
|
|
17782
|
+
const response = await this._request(chunkGMBMIL5U_cjs.GetRemainingDocument, variables);
|
|
17764
17783
|
return response.getRemaining ?? void 0;
|
|
17765
17784
|
}
|
|
17766
17785
|
};
|
|
@@ -17772,7 +17791,7 @@ var GetTokenUsageByModelQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17772
17791
|
this._variables = variables;
|
|
17773
17792
|
}
|
|
17774
17793
|
async fetch(options) {
|
|
17775
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17794
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
|
|
17776
17795
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
|
|
17777
17796
|
const data = response.getTokenUsageByModel;
|
|
17778
17797
|
if (!Array.isArray(data)) return [];
|
|
@@ -17787,7 +17806,7 @@ var GetTokenUsageHistoryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17787
17806
|
this._variables = variables;
|
|
17788
17807
|
}
|
|
17789
17808
|
async fetch(options) {
|
|
17790
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17809
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
|
|
17791
17810
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
|
|
17792
17811
|
const data = response.getTokenUsageHistory;
|
|
17793
17812
|
if (!Array.isArray(data)) return [];
|
|
@@ -17803,7 +17822,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17803
17822
|
}
|
|
17804
17823
|
async fetch(options) {
|
|
17805
17824
|
const variables = this._variables;
|
|
17806
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17825
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
|
|
17807
17826
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
|
|
17808
17827
|
const data = response.getTokenUsageStatus;
|
|
17809
17828
|
const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17815,7 +17834,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17815
17834
|
watch(options) {
|
|
17816
17835
|
const variables = this._variables;
|
|
17817
17836
|
const includes = this._includes;
|
|
17818
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17837
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
|
|
17819
17838
|
const raw = this._syncEngine.watch(
|
|
17820
17839
|
queryDoc,
|
|
17821
17840
|
mergedVars,
|
|
@@ -17845,10 +17864,10 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17845
17864
|
}
|
|
17846
17865
|
/** Include windows in this query (Smart Fetch — single HTTP request). */
|
|
17847
17866
|
windows(variables) {
|
|
17848
|
-
const info = extractIncludeInfo(
|
|
17867
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
|
|
17849
17868
|
this._includes.push({
|
|
17850
17869
|
fieldName: "windows",
|
|
17851
|
-
fragmentDoc:
|
|
17870
|
+
fragmentDoc: chunkGMBMIL5U_cjs.UsageWindowsStatusTypeFragmentDoc,
|
|
17852
17871
|
variables,
|
|
17853
17872
|
isConnection: false,
|
|
17854
17873
|
isList: false,
|
|
@@ -17871,14 +17890,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17871
17890
|
}
|
|
17872
17891
|
async fetch(options) {
|
|
17873
17892
|
const variables = this._variables;
|
|
17874
|
-
const response = await this._syncEngine.query(
|
|
17893
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
|
|
17875
17894
|
const data = response.getTokenUsageStatus?.windows;
|
|
17876
17895
|
return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17877
17896
|
}
|
|
17878
17897
|
watch(options) {
|
|
17879
17898
|
const variables = this._variables;
|
|
17880
17899
|
const raw = this._syncEngine.watch(
|
|
17881
|
-
|
|
17900
|
+
chunkGMBMIL5U_cjs.GetTokenUsageStatus_WindowsDocument,
|
|
17882
17901
|
variables,
|
|
17883
17902
|
"getTokenUsageStatus",
|
|
17884
17903
|
async (db) => {
|
|
@@ -17901,14 +17920,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk342BFYZZ_cjs.Reque
|
|
|
17901
17920
|
}
|
|
17902
17921
|
async fetch(options) {
|
|
17903
17922
|
const variables = this._variables;
|
|
17904
|
-
const response = await this._syncEngine.query(
|
|
17923
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
|
|
17905
17924
|
const data = response.getTokenUsageStatus?.windows?.day;
|
|
17906
17925
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17907
17926
|
}
|
|
17908
17927
|
watch(options) {
|
|
17909
17928
|
const variables = this._variables;
|
|
17910
17929
|
const raw = this._syncEngine.watch(
|
|
17911
|
-
|
|
17930
|
+
chunkGMBMIL5U_cjs.GetTokenUsageStatus_Windows_DayDocument,
|
|
17912
17931
|
variables,
|
|
17913
17932
|
"getTokenUsageStatus",
|
|
17914
17933
|
async (db) => {
|
|
@@ -17931,14 +17950,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk342BFYZZ_cjs.
|
|
|
17931
17950
|
}
|
|
17932
17951
|
async fetch(options) {
|
|
17933
17952
|
const variables = this._variables;
|
|
17934
|
-
const response = await this._syncEngine.query(
|
|
17953
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
|
|
17935
17954
|
const data = response.getTokenUsageStatus?.windows?.fiveHour;
|
|
17936
17955
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17937
17956
|
}
|
|
17938
17957
|
watch(options) {
|
|
17939
17958
|
const variables = this._variables;
|
|
17940
17959
|
const raw = this._syncEngine.watch(
|
|
17941
|
-
|
|
17960
|
+
chunkGMBMIL5U_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
|
|
17942
17961
|
variables,
|
|
17943
17962
|
"getTokenUsageStatus",
|
|
17944
17963
|
async (db) => {
|
|
@@ -17961,14 +17980,14 @@ var GetTokenUsageStatus_Windows_MonthQuery = class extends chunk342BFYZZ_cjs.Req
|
|
|
17961
17980
|
}
|
|
17962
17981
|
async fetch(options) {
|
|
17963
17982
|
const variables = this._variables;
|
|
17964
|
-
const response = await this._syncEngine.query(
|
|
17983
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.GetTokenUsageStatus_Windows_MonthDocument, variables, "getTokenUsageStatus");
|
|
17965
17984
|
const data = response.getTokenUsageStatus?.windows?.month;
|
|
17966
17985
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17967
17986
|
}
|
|
17968
17987
|
watch(options) {
|
|
17969
17988
|
const variables = this._variables;
|
|
17970
17989
|
const raw = this._syncEngine.watch(
|
|
17971
|
-
|
|
17990
|
+
chunkGMBMIL5U_cjs.GetTokenUsageStatus_Windows_MonthDocument,
|
|
17972
17991
|
variables,
|
|
17973
17992
|
"getTokenUsageStatus",
|
|
17974
17993
|
async (db) => {
|
|
@@ -17991,14 +18010,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
|
|
|
17991
18010
|
}
|
|
17992
18011
|
async fetch(options) {
|
|
17993
18012
|
const variables = this._variables;
|
|
17994
|
-
const response = await this._syncEngine.query(
|
|
18013
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
|
|
17995
18014
|
const data = response.getTokenUsageStatus?.windows?.week;
|
|
17996
18015
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17997
18016
|
}
|
|
17998
18017
|
watch(options) {
|
|
17999
18018
|
const variables = this._variables;
|
|
18000
18019
|
const raw = this._syncEngine.watch(
|
|
18001
|
-
|
|
18020
|
+
chunkGMBMIL5U_cjs.GetTokenUsageStatus_Windows_WeekDocument,
|
|
18002
18021
|
variables,
|
|
18003
18022
|
"getTokenUsageStatus",
|
|
18004
18023
|
async (db) => {
|
|
@@ -18015,7 +18034,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
|
|
|
18015
18034
|
};
|
|
18016
18035
|
var GetUsageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18017
18036
|
async fetch(variables) {
|
|
18018
|
-
const response = await this._request(
|
|
18037
|
+
const response = await this._request(chunkGMBMIL5U_cjs.GetUsageDocument, variables);
|
|
18019
18038
|
return response.getUsage ?? void 0;
|
|
18020
18039
|
}
|
|
18021
18040
|
};
|
|
@@ -18028,7 +18047,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18028
18047
|
}
|
|
18029
18048
|
async fetch(options) {
|
|
18030
18049
|
const variables = this._variables;
|
|
18031
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18050
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.InsightDocument, "insight", this._includes, variables);
|
|
18032
18051
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
|
|
18033
18052
|
const data = response.insight;
|
|
18034
18053
|
const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18040,7 +18059,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18040
18059
|
watch(options) {
|
|
18041
18060
|
const variables = this._variables;
|
|
18042
18061
|
const includes = this._includes;
|
|
18043
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18062
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.InsightDocument, "insight", includes, variables);
|
|
18044
18063
|
const raw = this._syncEngine.watch(
|
|
18045
18064
|
queryDoc,
|
|
18046
18065
|
mergedVars,
|
|
@@ -18070,7 +18089,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18070
18089
|
}
|
|
18071
18090
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
18072
18091
|
chat(variables, builder) {
|
|
18073
|
-
const info = extractIncludeInfo(
|
|
18092
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
18074
18093
|
let children;
|
|
18075
18094
|
if (builder) {
|
|
18076
18095
|
const sub = new ChatSubBuilder();
|
|
@@ -18079,7 +18098,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18079
18098
|
}
|
|
18080
18099
|
this._includes.push({
|
|
18081
18100
|
fieldName: "chat",
|
|
18082
|
-
fragmentDoc:
|
|
18101
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatFragmentDoc,
|
|
18083
18102
|
variables,
|
|
18084
18103
|
isConnection: false,
|
|
18085
18104
|
isList: false,
|
|
@@ -18096,10 +18115,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18096
18115
|
}
|
|
18097
18116
|
/** Include reportMembers in this query (Smart Fetch — single HTTP request). */
|
|
18098
18117
|
reportMembers(variables) {
|
|
18099
|
-
const info = extractIncludeInfo(
|
|
18118
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
18100
18119
|
this._includes.push({
|
|
18101
18120
|
fieldName: "reportMembers",
|
|
18102
|
-
fragmentDoc:
|
|
18121
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ReportMemberFragmentDoc,
|
|
18103
18122
|
variables,
|
|
18104
18123
|
isConnection: false,
|
|
18105
18124
|
isList: true,
|
|
@@ -18115,7 +18134,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18115
18134
|
}
|
|
18116
18135
|
/** Include reports in this query (Smart Fetch — single HTTP request). */
|
|
18117
18136
|
reports(variables, builder) {
|
|
18118
|
-
const info = extractIncludeInfo(
|
|
18137
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
18119
18138
|
let children;
|
|
18120
18139
|
if (builder) {
|
|
18121
18140
|
const sub = new ReportSubBuilder();
|
|
@@ -18124,7 +18143,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18124
18143
|
}
|
|
18125
18144
|
this._includes.push({
|
|
18126
18145
|
fieldName: "reports",
|
|
18127
|
-
fragmentDoc:
|
|
18146
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ReportConnectionFragmentDoc,
|
|
18128
18147
|
variables,
|
|
18129
18148
|
isConnection: true,
|
|
18130
18149
|
isList: false,
|
|
@@ -18142,10 +18161,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18142
18161
|
}
|
|
18143
18162
|
/** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
|
|
18144
18163
|
thumbnailFile(variables) {
|
|
18145
|
-
const info = extractIncludeInfo(
|
|
18164
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
18146
18165
|
this._includes.push({
|
|
18147
18166
|
fieldName: "thumbnailFile",
|
|
18148
|
-
fragmentDoc:
|
|
18167
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FileFragmentDoc,
|
|
18149
18168
|
variables,
|
|
18150
18169
|
isConnection: false,
|
|
18151
18170
|
isList: false,
|
|
@@ -18168,14 +18187,14 @@ var Insight_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18168
18187
|
}
|
|
18169
18188
|
async fetch(options) {
|
|
18170
18189
|
const variables = this._variables;
|
|
18171
|
-
const response = await this._syncEngine.query(
|
|
18190
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Insight_ChatDocument, variables, "insight");
|
|
18172
18191
|
const data = response.insight?.chat;
|
|
18173
18192
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18174
18193
|
}
|
|
18175
18194
|
watch(options) {
|
|
18176
18195
|
const variables = this._variables;
|
|
18177
18196
|
const raw = this._syncEngine.watch(
|
|
18178
|
-
|
|
18197
|
+
chunkGMBMIL5U_cjs.Insight_ChatDocument,
|
|
18179
18198
|
variables,
|
|
18180
18199
|
"insight",
|
|
18181
18200
|
async (db) => {
|
|
@@ -18197,7 +18216,7 @@ var Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18197
18216
|
this._variables = variables;
|
|
18198
18217
|
}
|
|
18199
18218
|
async fetch(options) {
|
|
18200
|
-
const response = await this._syncEngine.query(
|
|
18219
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Insight_ReportMembersDocument, this._variables, "insight");
|
|
18201
18220
|
const data = response.insight?.reportMembers;
|
|
18202
18221
|
if (!Array.isArray(data)) return [];
|
|
18203
18222
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -18211,18 +18230,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk342BFYZZ_cjs
|
|
|
18211
18230
|
}
|
|
18212
18231
|
async fetch(options) {
|
|
18213
18232
|
const variables = this._variables;
|
|
18214
|
-
const response = await this._syncEngine.query(
|
|
18233
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Insight_ReportsDocument, variables, "insight");
|
|
18215
18234
|
const data = response.insight?.reports;
|
|
18216
18235
|
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);
|
|
18217
18236
|
}
|
|
18218
18237
|
watch(options) {
|
|
18219
18238
|
const variables = this._variables;
|
|
18220
18239
|
const raw = this._syncEngine.watch(
|
|
18221
|
-
|
|
18240
|
+
chunkGMBMIL5U_cjs.Insight_ReportsDocument,
|
|
18222
18241
|
variables,
|
|
18223
18242
|
"insight",
|
|
18224
18243
|
async (db) => {
|
|
18225
|
-
const queryKey = buildQueryKey("insight", variables,
|
|
18244
|
+
const queryKey = buildQueryKey("insight", variables, chunkGMBMIL5U_cjs.Insight_ReportsDocument);
|
|
18226
18245
|
const qr = await db._queryResults.get(queryKey);
|
|
18227
18246
|
if (!qr) {
|
|
18228
18247
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -18249,14 +18268,14 @@ var Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18249
18268
|
}
|
|
18250
18269
|
async fetch(options) {
|
|
18251
18270
|
const variables = this._variables;
|
|
18252
|
-
const response = await this._syncEngine.query(
|
|
18271
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Insight_ThumbnailFileDocument, variables, "insight");
|
|
18253
18272
|
const data = response.insight?.thumbnailFile;
|
|
18254
18273
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18255
18274
|
}
|
|
18256
18275
|
watch(options) {
|
|
18257
18276
|
const variables = this._variables;
|
|
18258
18277
|
const raw = this._syncEngine.watch(
|
|
18259
|
-
|
|
18278
|
+
chunkGMBMIL5U_cjs.Insight_ThumbnailFileDocument,
|
|
18260
18279
|
variables,
|
|
18261
18280
|
"insight",
|
|
18262
18281
|
async (db) => {
|
|
@@ -18280,7 +18299,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18280
18299
|
}
|
|
18281
18300
|
async fetch(options) {
|
|
18282
18301
|
const variables = this._variables;
|
|
18283
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18302
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.InsightsDocument, "insights", this._includes, variables, true);
|
|
18284
18303
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
|
|
18285
18304
|
const data = response.insights;
|
|
18286
18305
|
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);
|
|
@@ -18297,7 +18316,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18297
18316
|
const subscriptionId = crypto.randomUUID();
|
|
18298
18317
|
const includes = this._includes;
|
|
18299
18318
|
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) }] : []);
|
|
18300
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18319
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.InsightsDocument, "insights", includes, variables, true);
|
|
18301
18320
|
const raw = this._syncEngine.watch(
|
|
18302
18321
|
queryDoc,
|
|
18303
18322
|
mergedVars,
|
|
@@ -18339,7 +18358,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18339
18358
|
}
|
|
18340
18359
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
18341
18360
|
chat(variables, builder) {
|
|
18342
|
-
const info = extractIncludeInfo(
|
|
18361
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
18343
18362
|
let children;
|
|
18344
18363
|
if (builder) {
|
|
18345
18364
|
const sub = new ChatSubBuilder();
|
|
@@ -18348,7 +18367,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18348
18367
|
}
|
|
18349
18368
|
this._includes.push({
|
|
18350
18369
|
fieldName: "chat",
|
|
18351
|
-
fragmentDoc:
|
|
18370
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ChatFragmentDoc,
|
|
18352
18371
|
variables,
|
|
18353
18372
|
isConnection: false,
|
|
18354
18373
|
isList: false,
|
|
@@ -18365,10 +18384,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18365
18384
|
}
|
|
18366
18385
|
/** Include reportMembers in this query (Smart Fetch — single HTTP request). */
|
|
18367
18386
|
reportMembers(variables) {
|
|
18368
|
-
const info = extractIncludeInfo(
|
|
18387
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
18369
18388
|
this._includes.push({
|
|
18370
18389
|
fieldName: "reportMembers",
|
|
18371
|
-
fragmentDoc:
|
|
18390
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ReportMemberFragmentDoc,
|
|
18372
18391
|
variables,
|
|
18373
18392
|
isConnection: false,
|
|
18374
18393
|
isList: true,
|
|
@@ -18384,7 +18403,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18384
18403
|
}
|
|
18385
18404
|
/** Include reports in this query (Smart Fetch — single HTTP request). */
|
|
18386
18405
|
reports(variables, builder) {
|
|
18387
|
-
const info = extractIncludeInfo(
|
|
18406
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
18388
18407
|
let children;
|
|
18389
18408
|
if (builder) {
|
|
18390
18409
|
const sub = new ReportSubBuilder();
|
|
@@ -18393,7 +18412,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18393
18412
|
}
|
|
18394
18413
|
this._includes.push({
|
|
18395
18414
|
fieldName: "reports",
|
|
18396
|
-
fragmentDoc:
|
|
18415
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ReportConnectionFragmentDoc,
|
|
18397
18416
|
variables,
|
|
18398
18417
|
isConnection: true,
|
|
18399
18418
|
isList: false,
|
|
@@ -18411,10 +18430,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18411
18430
|
}
|
|
18412
18431
|
/** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
|
|
18413
18432
|
thumbnailFile(variables) {
|
|
18414
|
-
const info = extractIncludeInfo(
|
|
18433
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
18415
18434
|
this._includes.push({
|
|
18416
18435
|
fieldName: "thumbnailFile",
|
|
18417
|
-
fragmentDoc:
|
|
18436
|
+
fragmentDoc: chunkGMBMIL5U_cjs.FileFragmentDoc,
|
|
18418
18437
|
variables,
|
|
18419
18438
|
isConnection: false,
|
|
18420
18439
|
isList: false,
|
|
@@ -18438,7 +18457,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18438
18457
|
}
|
|
18439
18458
|
async fetch(options) {
|
|
18440
18459
|
const variables = this._variables;
|
|
18441
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18460
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.IntegrationDocument, "integration", this._includes, variables);
|
|
18442
18461
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
|
|
18443
18462
|
const data = response.integration;
|
|
18444
18463
|
const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18450,7 +18469,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18450
18469
|
watch(options) {
|
|
18451
18470
|
const variables = this._variables;
|
|
18452
18471
|
const includes = this._includes;
|
|
18453
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18472
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.IntegrationDocument, "integration", includes, variables);
|
|
18454
18473
|
const raw = this._syncEngine.watch(
|
|
18455
18474
|
queryDoc,
|
|
18456
18475
|
mergedVars,
|
|
@@ -18480,10 +18499,10 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18480
18499
|
}
|
|
18481
18500
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18482
18501
|
provider(variables) {
|
|
18483
|
-
const info = extractIncludeInfo(
|
|
18502
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
18484
18503
|
this._includes.push({
|
|
18485
18504
|
fieldName: "provider",
|
|
18486
|
-
fragmentDoc:
|
|
18505
|
+
fragmentDoc: chunkGMBMIL5U_cjs.IntegrationProviderFragmentDoc,
|
|
18487
18506
|
variables,
|
|
18488
18507
|
isConnection: false,
|
|
18489
18508
|
isList: false,
|
|
@@ -18506,14 +18525,14 @@ var Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18506
18525
|
}
|
|
18507
18526
|
async fetch(options) {
|
|
18508
18527
|
const variables = this._variables;
|
|
18509
|
-
const response = await this._syncEngine.query(
|
|
18528
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Integration_ProviderDocument, variables, "integration");
|
|
18510
18529
|
const data = response.integration?.provider;
|
|
18511
18530
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18512
18531
|
}
|
|
18513
18532
|
watch(options) {
|
|
18514
18533
|
const variables = this._variables;
|
|
18515
18534
|
const raw = this._syncEngine.watch(
|
|
18516
|
-
|
|
18535
|
+
chunkGMBMIL5U_cjs.Integration_ProviderDocument,
|
|
18517
18536
|
variables,
|
|
18518
18537
|
"integration",
|
|
18519
18538
|
async (db) => {
|
|
@@ -18536,14 +18555,14 @@ var Integration_Provider_CatalogQuery = class extends chunk342BFYZZ_cjs.Request
|
|
|
18536
18555
|
}
|
|
18537
18556
|
async fetch(options) {
|
|
18538
18557
|
const variables = this._variables;
|
|
18539
|
-
const response = await this._syncEngine.query(
|
|
18558
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Integration_Provider_CatalogDocument, variables, "integration");
|
|
18540
18559
|
const data = response.integration?.provider?.catalog;
|
|
18541
18560
|
return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18542
18561
|
}
|
|
18543
18562
|
watch(options) {
|
|
18544
18563
|
const variables = this._variables;
|
|
18545
18564
|
const raw = this._syncEngine.watch(
|
|
18546
|
-
|
|
18565
|
+
chunkGMBMIL5U_cjs.Integration_Provider_CatalogDocument,
|
|
18547
18566
|
variables,
|
|
18548
18567
|
"integration",
|
|
18549
18568
|
async (db) => {
|
|
@@ -18567,7 +18586,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18567
18586
|
}
|
|
18568
18587
|
async fetch(options) {
|
|
18569
18588
|
const variables = this._variables;
|
|
18570
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18589
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
|
|
18571
18590
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
|
|
18572
18591
|
const data = response.integrationCatalog;
|
|
18573
18592
|
const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18579,7 +18598,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18579
18598
|
watch(options) {
|
|
18580
18599
|
const variables = this._variables;
|
|
18581
18600
|
const includes = this._includes;
|
|
18582
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18601
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
|
|
18583
18602
|
const raw = this._syncEngine.watch(
|
|
18584
18603
|
queryDoc,
|
|
18585
18604
|
mergedVars,
|
|
@@ -18609,10 +18628,10 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18609
18628
|
}
|
|
18610
18629
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18611
18630
|
provider(variables) {
|
|
18612
|
-
const info = extractIncludeInfo(
|
|
18631
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
18613
18632
|
this._includes.push({
|
|
18614
18633
|
fieldName: "provider",
|
|
18615
|
-
fragmentDoc:
|
|
18634
|
+
fragmentDoc: chunkGMBMIL5U_cjs.IntegrationProviderFragmentDoc,
|
|
18616
18635
|
variables,
|
|
18617
18636
|
isConnection: false,
|
|
18618
18637
|
isList: false,
|
|
@@ -18635,14 +18654,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18635
18654
|
}
|
|
18636
18655
|
async fetch(options) {
|
|
18637
18656
|
const variables = this._variables;
|
|
18638
|
-
const response = await this._syncEngine.query(
|
|
18657
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
|
|
18639
18658
|
const data = response.integrationCatalog?.provider;
|
|
18640
18659
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18641
18660
|
}
|
|
18642
18661
|
watch(options) {
|
|
18643
18662
|
const variables = this._variables;
|
|
18644
18663
|
const raw = this._syncEngine.watch(
|
|
18645
|
-
|
|
18664
|
+
chunkGMBMIL5U_cjs.IntegrationCatalog_ProviderDocument,
|
|
18646
18665
|
variables,
|
|
18647
18666
|
"integrationCatalog",
|
|
18648
18667
|
async (db) => {
|
|
@@ -18659,7 +18678,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18659
18678
|
};
|
|
18660
18679
|
var IntegrationCatalogToolsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18661
18680
|
async fetch(variables) {
|
|
18662
|
-
const response = await this._request(
|
|
18681
|
+
const response = await this._request(chunkGMBMIL5U_cjs.IntegrationCatalogToolsDocument, variables);
|
|
18663
18682
|
return response.integrationCatalogTools;
|
|
18664
18683
|
}
|
|
18665
18684
|
};
|
|
@@ -18672,7 +18691,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
18672
18691
|
}
|
|
18673
18692
|
async fetch(options) {
|
|
18674
18693
|
const variables = this._variables;
|
|
18675
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18694
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
|
|
18676
18695
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
|
|
18677
18696
|
const data = response.integrationCatalogs;
|
|
18678
18697
|
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);
|
|
@@ -18689,7 +18708,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
18689
18708
|
const subscriptionId = crypto.randomUUID();
|
|
18690
18709
|
const includes = this._includes;
|
|
18691
18710
|
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) }] : []);
|
|
18692
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18711
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
|
|
18693
18712
|
const raw = this._syncEngine.watch(
|
|
18694
18713
|
queryDoc,
|
|
18695
18714
|
mergedVars,
|
|
@@ -18731,10 +18750,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
18731
18750
|
}
|
|
18732
18751
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18733
18752
|
provider(variables) {
|
|
18734
|
-
const info = extractIncludeInfo(
|
|
18753
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
18735
18754
|
this._includes.push({
|
|
18736
18755
|
fieldName: "provider",
|
|
18737
|
-
fragmentDoc:
|
|
18756
|
+
fragmentDoc: chunkGMBMIL5U_cjs.IntegrationProviderFragmentDoc,
|
|
18738
18757
|
variables,
|
|
18739
18758
|
isConnection: false,
|
|
18740
18759
|
isList: false,
|
|
@@ -18758,7 +18777,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
18758
18777
|
}
|
|
18759
18778
|
async fetch(options) {
|
|
18760
18779
|
const variables = this._variables;
|
|
18761
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18780
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
|
|
18762
18781
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
|
|
18763
18782
|
const data = response.integrations;
|
|
18764
18783
|
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);
|
|
@@ -18775,7 +18794,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
18775
18794
|
const subscriptionId = crypto.randomUUID();
|
|
18776
18795
|
const includes = this._includes;
|
|
18777
18796
|
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) }] : []);
|
|
18778
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18797
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.IntegrationsDocument, "integrations", includes, variables, true);
|
|
18779
18798
|
const raw = this._syncEngine.watch(
|
|
18780
18799
|
queryDoc,
|
|
18781
18800
|
mergedVars,
|
|
@@ -18817,10 +18836,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
18817
18836
|
}
|
|
18818
18837
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18819
18838
|
provider(variables) {
|
|
18820
|
-
const info = extractIncludeInfo(
|
|
18839
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
18821
18840
|
this._includes.push({
|
|
18822
18841
|
fieldName: "provider",
|
|
18823
|
-
fragmentDoc:
|
|
18842
|
+
fragmentDoc: chunkGMBMIL5U_cjs.IntegrationProviderFragmentDoc,
|
|
18824
18843
|
variables,
|
|
18825
18844
|
isConnection: false,
|
|
18826
18845
|
isList: false,
|
|
@@ -18844,7 +18863,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
|
|
|
18844
18863
|
}
|
|
18845
18864
|
async fetch(options) {
|
|
18846
18865
|
const variables = this._variables;
|
|
18847
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18866
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
|
|
18848
18867
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
|
|
18849
18868
|
const data = response.interpretations;
|
|
18850
18869
|
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);
|
|
@@ -18861,7 +18880,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
|
|
|
18861
18880
|
const subscriptionId = crypto.randomUUID();
|
|
18862
18881
|
const includes = this._includes;
|
|
18863
18882
|
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) }] : []);
|
|
18864
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18883
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
|
|
18865
18884
|
const raw = this._syncEngine.watch(
|
|
18866
18885
|
queryDoc,
|
|
18867
18886
|
mergedVars,
|
|
@@ -18911,7 +18930,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18911
18930
|
}
|
|
18912
18931
|
async fetch(options) {
|
|
18913
18932
|
const variables = this._variables;
|
|
18914
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18933
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.NotificationDocument, "notification", this._includes, variables);
|
|
18915
18934
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
|
|
18916
18935
|
const data = response.notification;
|
|
18917
18936
|
const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18923,7 +18942,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18923
18942
|
watch(options) {
|
|
18924
18943
|
const variables = this._variables;
|
|
18925
18944
|
const includes = this._includes;
|
|
18926
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18945
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.NotificationDocument, "notification", includes, variables);
|
|
18927
18946
|
const raw = this._syncEngine.watch(
|
|
18928
18947
|
queryDoc,
|
|
18929
18948
|
mergedVars,
|
|
@@ -18961,7 +18980,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
|
|
|
18961
18980
|
}
|
|
18962
18981
|
async fetch(options) {
|
|
18963
18982
|
const variables = this._variables;
|
|
18964
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18983
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
|
|
18965
18984
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
|
|
18966
18985
|
const data = response.notifications;
|
|
18967
18986
|
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);
|
|
@@ -18978,7 +18997,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
|
|
|
18978
18997
|
const subscriptionId = crypto.randomUUID();
|
|
18979
18998
|
const includes = this._includes;
|
|
18980
18999
|
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) }] : []);
|
|
18981
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19000
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.NotificationsDocument, "notifications", includes, variables, true);
|
|
18982
19001
|
const raw = this._syncEngine.watch(
|
|
18983
19002
|
queryDoc,
|
|
18984
19003
|
mergedVars,
|
|
@@ -19027,7 +19046,7 @@ var NotificationsByReferenceQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19027
19046
|
this._variables = variables;
|
|
19028
19047
|
}
|
|
19029
19048
|
async fetch(options) {
|
|
19030
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19049
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
|
|
19031
19050
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
|
|
19032
19051
|
const data = response.notificationsByReference;
|
|
19033
19052
|
if (!Array.isArray(data)) return [];
|
|
@@ -19043,7 +19062,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19043
19062
|
}
|
|
19044
19063
|
async fetch(options) {
|
|
19045
19064
|
const variables = this._variables;
|
|
19046
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19065
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
|
|
19047
19066
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
|
|
19048
19067
|
const data = response.privacyStats;
|
|
19049
19068
|
const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19055,7 +19074,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19055
19074
|
watch(options) {
|
|
19056
19075
|
const variables = this._variables;
|
|
19057
19076
|
const includes = this._includes;
|
|
19058
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19077
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
|
|
19059
19078
|
const raw = this._syncEngine.watch(
|
|
19060
19079
|
queryDoc,
|
|
19061
19080
|
mergedVars,
|
|
@@ -19093,7 +19112,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19093
19112
|
}
|
|
19094
19113
|
async fetch(options) {
|
|
19095
19114
|
const variables = this._variables;
|
|
19096
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19115
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
|
|
19097
19116
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
|
|
19098
19117
|
const data = response.pulseAppSummary;
|
|
19099
19118
|
if (!data) return void 0;
|
|
@@ -19106,7 +19125,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19106
19125
|
watch(options) {
|
|
19107
19126
|
const variables = this._variables;
|
|
19108
19127
|
const includes = this._includes;
|
|
19109
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19128
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
|
|
19110
19129
|
const raw = this._syncEngine.watch(
|
|
19111
19130
|
queryDoc,
|
|
19112
19131
|
mergedVars,
|
|
@@ -19145,7 +19164,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19145
19164
|
}
|
|
19146
19165
|
async fetch(options) {
|
|
19147
19166
|
const variables = this._variables;
|
|
19148
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19167
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
|
|
19149
19168
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
|
|
19150
19169
|
const data = response.pulseEvent;
|
|
19151
19170
|
const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19157,7 +19176,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19157
19176
|
watch(options) {
|
|
19158
19177
|
const variables = this._variables;
|
|
19159
19178
|
const includes = this._includes;
|
|
19160
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19179
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.PulseEventDocument, "pulseEvent", includes, variables);
|
|
19161
19180
|
const raw = this._syncEngine.watch(
|
|
19162
19181
|
queryDoc,
|
|
19163
19182
|
mergedVars,
|
|
@@ -19187,7 +19206,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19187
19206
|
}
|
|
19188
19207
|
/** Include integration in this query (Smart Fetch — single HTTP request). */
|
|
19189
19208
|
integration(variables, builder) {
|
|
19190
|
-
const info = extractIncludeInfo(
|
|
19209
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
19191
19210
|
let children;
|
|
19192
19211
|
if (builder) {
|
|
19193
19212
|
const sub = new IntegrationSubBuilder();
|
|
@@ -19196,7 +19215,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19196
19215
|
}
|
|
19197
19216
|
this._includes.push({
|
|
19198
19217
|
fieldName: "integration",
|
|
19199
|
-
fragmentDoc:
|
|
19218
|
+
fragmentDoc: chunkGMBMIL5U_cjs.IntegrationFragmentDoc,
|
|
19200
19219
|
variables,
|
|
19201
19220
|
isConnection: false,
|
|
19202
19221
|
isList: false,
|
|
@@ -19220,14 +19239,14 @@ var PulseEvent_IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19220
19239
|
}
|
|
19221
19240
|
async fetch(options) {
|
|
19222
19241
|
const variables = this._variables;
|
|
19223
|
-
const response = await this._syncEngine.query(
|
|
19242
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
|
|
19224
19243
|
const data = response.pulseEvent?.integration;
|
|
19225
19244
|
return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19226
19245
|
}
|
|
19227
19246
|
watch(options) {
|
|
19228
19247
|
const variables = this._variables;
|
|
19229
19248
|
const raw = this._syncEngine.watch(
|
|
19230
|
-
|
|
19249
|
+
chunkGMBMIL5U_cjs.PulseEvent_IntegrationDocument,
|
|
19231
19250
|
variables,
|
|
19232
19251
|
"pulseEvent",
|
|
19233
19252
|
async (db) => {
|
|
@@ -19250,14 +19269,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Reque
|
|
|
19250
19269
|
}
|
|
19251
19270
|
async fetch(options) {
|
|
19252
19271
|
const variables = this._variables;
|
|
19253
|
-
const response = await this._syncEngine.query(
|
|
19272
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
|
|
19254
19273
|
const data = response.pulseEvent?.integration?.provider;
|
|
19255
19274
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19256
19275
|
}
|
|
19257
19276
|
watch(options) {
|
|
19258
19277
|
const variables = this._variables;
|
|
19259
19278
|
const raw = this._syncEngine.watch(
|
|
19260
|
-
|
|
19279
|
+
chunkGMBMIL5U_cjs.PulseEvent_Integration_ProviderDocument,
|
|
19261
19280
|
variables,
|
|
19262
19281
|
"pulseEvent",
|
|
19263
19282
|
async (db) => {
|
|
@@ -19281,7 +19300,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19281
19300
|
}
|
|
19282
19301
|
async fetch(options) {
|
|
19283
19302
|
const variables = this._variables;
|
|
19284
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19303
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
|
|
19285
19304
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
|
|
19286
19305
|
const data = response.pulseEvents;
|
|
19287
19306
|
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);
|
|
@@ -19298,7 +19317,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19298
19317
|
const subscriptionId = crypto.randomUUID();
|
|
19299
19318
|
const includes = this._includes;
|
|
19300
19319
|
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) }] : []);
|
|
19301
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19320
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
|
|
19302
19321
|
const raw = this._syncEngine.watch(
|
|
19303
19322
|
queryDoc,
|
|
19304
19323
|
mergedVars,
|
|
@@ -19340,7 +19359,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19340
19359
|
}
|
|
19341
19360
|
/** Include integration in this query (Smart Fetch — single HTTP request). */
|
|
19342
19361
|
integration(variables, builder) {
|
|
19343
|
-
const info = extractIncludeInfo(
|
|
19362
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
19344
19363
|
let children;
|
|
19345
19364
|
if (builder) {
|
|
19346
19365
|
const sub = new IntegrationSubBuilder();
|
|
@@ -19349,7 +19368,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19349
19368
|
}
|
|
19350
19369
|
this._includes.push({
|
|
19351
19370
|
fieldName: "integration",
|
|
19352
|
-
fragmentDoc:
|
|
19371
|
+
fragmentDoc: chunkGMBMIL5U_cjs.IntegrationFragmentDoc,
|
|
19353
19372
|
variables,
|
|
19354
19373
|
isConnection: false,
|
|
19355
19374
|
isList: false,
|
|
@@ -19373,7 +19392,7 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19373
19392
|
this._variables = variables;
|
|
19374
19393
|
}
|
|
19375
19394
|
async fetch(options) {
|
|
19376
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19395
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
|
|
19377
19396
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
|
|
19378
19397
|
const data = response.pulseTriggerSettings;
|
|
19379
19398
|
if (!Array.isArray(data)) return [];
|
|
@@ -19382,19 +19401,19 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19382
19401
|
};
|
|
19383
19402
|
var QueryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19384
19403
|
async fetch(variables) {
|
|
19385
|
-
const response = await this._request(
|
|
19404
|
+
const response = await this._request(chunkGMBMIL5U_cjs.QueryDocument, variables);
|
|
19386
19405
|
return response.query;
|
|
19387
19406
|
}
|
|
19388
19407
|
};
|
|
19389
19408
|
var QueryWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19390
19409
|
async fetch(variables) {
|
|
19391
|
-
const response = await this._request(
|
|
19410
|
+
const response = await this._request(chunkGMBMIL5U_cjs.QueryWithInsightIdDocument, variables);
|
|
19392
19411
|
return response.queryWithInsightId;
|
|
19393
19412
|
}
|
|
19394
19413
|
};
|
|
19395
19414
|
var QueryWithMessageIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19396
19415
|
async fetch(variables) {
|
|
19397
|
-
const response = await this._request(
|
|
19416
|
+
const response = await this._request(chunkGMBMIL5U_cjs.QueryWithMessageIdDocument, variables);
|
|
19398
19417
|
return response.queryWithMessageId;
|
|
19399
19418
|
}
|
|
19400
19419
|
};
|
|
@@ -19407,7 +19426,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19407
19426
|
}
|
|
19408
19427
|
async fetch(options) {
|
|
19409
19428
|
const variables = this._variables;
|
|
19410
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19429
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ReportDocument, "report", this._includes, variables);
|
|
19411
19430
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
|
|
19412
19431
|
const data = response.report;
|
|
19413
19432
|
const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19419,7 +19438,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19419
19438
|
watch(options) {
|
|
19420
19439
|
const variables = this._variables;
|
|
19421
19440
|
const includes = this._includes;
|
|
19422
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19441
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ReportDocument, "report", includes, variables);
|
|
19423
19442
|
const raw = this._syncEngine.watch(
|
|
19424
19443
|
queryDoc,
|
|
19425
19444
|
mergedVars,
|
|
@@ -19449,7 +19468,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19449
19468
|
}
|
|
19450
19469
|
/** Include insights in this query (Smart Fetch — single HTTP request). */
|
|
19451
19470
|
insights(variables, builder) {
|
|
19452
|
-
const info = extractIncludeInfo(
|
|
19471
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
19453
19472
|
let children;
|
|
19454
19473
|
if (builder) {
|
|
19455
19474
|
const sub = new InsightSubBuilder();
|
|
@@ -19458,7 +19477,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19458
19477
|
}
|
|
19459
19478
|
this._includes.push({
|
|
19460
19479
|
fieldName: "insights",
|
|
19461
|
-
fragmentDoc:
|
|
19480
|
+
fragmentDoc: chunkGMBMIL5U_cjs.InsightConnectionFragmentDoc,
|
|
19462
19481
|
variables,
|
|
19463
19482
|
isConnection: true,
|
|
19464
19483
|
isList: false,
|
|
@@ -19476,10 +19495,10 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19476
19495
|
}
|
|
19477
19496
|
/** Include layout in this query (Smart Fetch — single HTTP request). */
|
|
19478
19497
|
layout(variables) {
|
|
19479
|
-
const info = extractIncludeInfo(
|
|
19498
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
19480
19499
|
this._includes.push({
|
|
19481
19500
|
fieldName: "layout",
|
|
19482
|
-
fragmentDoc:
|
|
19501
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ReportMemberFragmentDoc,
|
|
19483
19502
|
variables,
|
|
19484
19503
|
isConnection: false,
|
|
19485
19504
|
isList: true,
|
|
@@ -19502,18 +19521,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk342BFYZZ_cjs
|
|
|
19502
19521
|
}
|
|
19503
19522
|
async fetch(options) {
|
|
19504
19523
|
const variables = this._variables;
|
|
19505
|
-
const response = await this._syncEngine.query(
|
|
19524
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Report_InsightsDocument, variables, "report");
|
|
19506
19525
|
const data = response.report?.insights;
|
|
19507
19526
|
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);
|
|
19508
19527
|
}
|
|
19509
19528
|
watch(options) {
|
|
19510
19529
|
const variables = this._variables;
|
|
19511
19530
|
const raw = this._syncEngine.watch(
|
|
19512
|
-
|
|
19531
|
+
chunkGMBMIL5U_cjs.Report_InsightsDocument,
|
|
19513
19532
|
variables,
|
|
19514
19533
|
"report",
|
|
19515
19534
|
async (db) => {
|
|
19516
|
-
const queryKey = buildQueryKey("report", variables,
|
|
19535
|
+
const queryKey = buildQueryKey("report", variables, chunkGMBMIL5U_cjs.Report_InsightsDocument);
|
|
19517
19536
|
const qr = await db._queryResults.get(queryKey);
|
|
19518
19537
|
if (!qr) {
|
|
19519
19538
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -19539,7 +19558,7 @@ var Report_LayoutQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19539
19558
|
this._variables = variables;
|
|
19540
19559
|
}
|
|
19541
19560
|
async fetch(options) {
|
|
19542
|
-
const response = await this._syncEngine.query(
|
|
19561
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Report_LayoutDocument, this._variables, "report");
|
|
19543
19562
|
const data = response.report?.layout;
|
|
19544
19563
|
if (!Array.isArray(data)) return [];
|
|
19545
19564
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19554,7 +19573,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19554
19573
|
}
|
|
19555
19574
|
async fetch(options) {
|
|
19556
19575
|
const variables = this._variables;
|
|
19557
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19576
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ReportsDocument, "reports", this._includes, variables, true);
|
|
19558
19577
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
|
|
19559
19578
|
const data = response.reports;
|
|
19560
19579
|
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);
|
|
@@ -19571,7 +19590,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19571
19590
|
const subscriptionId = crypto.randomUUID();
|
|
19572
19591
|
const includes = this._includes;
|
|
19573
19592
|
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) }] : []);
|
|
19574
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19593
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.ReportsDocument, "reports", includes, variables, true);
|
|
19575
19594
|
const raw = this._syncEngine.watch(
|
|
19576
19595
|
queryDoc,
|
|
19577
19596
|
mergedVars,
|
|
@@ -19613,7 +19632,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19613
19632
|
}
|
|
19614
19633
|
/** Include insights in this query (Smart Fetch — single HTTP request). */
|
|
19615
19634
|
insights(variables, builder) {
|
|
19616
|
-
const info = extractIncludeInfo(
|
|
19635
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
19617
19636
|
let children;
|
|
19618
19637
|
if (builder) {
|
|
19619
19638
|
const sub = new InsightSubBuilder();
|
|
@@ -19622,7 +19641,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19622
19641
|
}
|
|
19623
19642
|
this._includes.push({
|
|
19624
19643
|
fieldName: "insights",
|
|
19625
|
-
fragmentDoc:
|
|
19644
|
+
fragmentDoc: chunkGMBMIL5U_cjs.InsightConnectionFragmentDoc,
|
|
19626
19645
|
variables,
|
|
19627
19646
|
isConnection: true,
|
|
19628
19647
|
isList: false,
|
|
@@ -19640,10 +19659,10 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19640
19659
|
}
|
|
19641
19660
|
/** Include layout in this query (Smart Fetch — single HTTP request). */
|
|
19642
19661
|
layout(variables) {
|
|
19643
|
-
const info = extractIncludeInfo(
|
|
19662
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
19644
19663
|
this._includes.push({
|
|
19645
19664
|
fieldName: "layout",
|
|
19646
|
-
fragmentDoc:
|
|
19665
|
+
fragmentDoc: chunkGMBMIL5U_cjs.ReportMemberFragmentDoc,
|
|
19647
19666
|
variables,
|
|
19648
19667
|
isConnection: false,
|
|
19649
19668
|
isList: true,
|
|
@@ -19667,7 +19686,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19667
19686
|
}
|
|
19668
19687
|
async fetch(options) {
|
|
19669
19688
|
const variables = this._variables;
|
|
19670
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19689
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.TableDocument, "table", this._includes, variables);
|
|
19671
19690
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
|
|
19672
19691
|
const data = response.table;
|
|
19673
19692
|
const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19679,7 +19698,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19679
19698
|
watch(options) {
|
|
19680
19699
|
const variables = this._variables;
|
|
19681
19700
|
const includes = this._includes;
|
|
19682
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19701
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.TableDocument, "table", includes, variables);
|
|
19683
19702
|
const raw = this._syncEngine.watch(
|
|
19684
19703
|
queryDoc,
|
|
19685
19704
|
mergedVars,
|
|
@@ -19709,7 +19728,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19709
19728
|
}
|
|
19710
19729
|
/** Include database in this query (Smart Fetch — single HTTP request). */
|
|
19711
19730
|
database(variables, builder) {
|
|
19712
|
-
const info = extractIncludeInfo(
|
|
19731
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
19713
19732
|
let children;
|
|
19714
19733
|
if (builder) {
|
|
19715
19734
|
const sub = new DatabaseSubBuilder();
|
|
@@ -19718,7 +19737,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19718
19737
|
}
|
|
19719
19738
|
this._includes.push({
|
|
19720
19739
|
fieldName: "database",
|
|
19721
|
-
fragmentDoc:
|
|
19740
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DatabaseFragmentDoc,
|
|
19722
19741
|
variables,
|
|
19723
19742
|
isConnection: false,
|
|
19724
19743
|
isList: false,
|
|
@@ -19735,7 +19754,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19735
19754
|
}
|
|
19736
19755
|
/** Include document in this query (Smart Fetch — single HTTP request). */
|
|
19737
19756
|
document(variables, builder) {
|
|
19738
|
-
const info = extractIncludeInfo(
|
|
19757
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
19739
19758
|
let children;
|
|
19740
19759
|
if (builder) {
|
|
19741
19760
|
const sub = new DocumentSubBuilder();
|
|
@@ -19744,7 +19763,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19744
19763
|
}
|
|
19745
19764
|
this._includes.push({
|
|
19746
19765
|
fieldName: "document",
|
|
19747
|
-
fragmentDoc:
|
|
19766
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DocumentFragmentDoc,
|
|
19748
19767
|
variables,
|
|
19749
19768
|
isConnection: false,
|
|
19750
19769
|
isList: false,
|
|
@@ -19761,10 +19780,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19761
19780
|
}
|
|
19762
19781
|
/** Include fromRelations in this query (Smart Fetch — single HTTP request). */
|
|
19763
19782
|
fromRelations(variables) {
|
|
19764
|
-
const info = extractIncludeInfo(
|
|
19783
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
19765
19784
|
this._includes.push({
|
|
19766
19785
|
fieldName: "fromRelations",
|
|
19767
|
-
fragmentDoc:
|
|
19786
|
+
fragmentDoc: chunkGMBMIL5U_cjs.RelationFragmentDoc,
|
|
19768
19787
|
variables,
|
|
19769
19788
|
isConnection: false,
|
|
19770
19789
|
isList: true,
|
|
@@ -19780,10 +19799,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19780
19799
|
}
|
|
19781
19800
|
/** Include toRelations in this query (Smart Fetch — single HTTP request). */
|
|
19782
19801
|
toRelations(variables) {
|
|
19783
|
-
const info = extractIncludeInfo(
|
|
19802
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
19784
19803
|
this._includes.push({
|
|
19785
19804
|
fieldName: "toRelations",
|
|
19786
|
-
fragmentDoc:
|
|
19805
|
+
fragmentDoc: chunkGMBMIL5U_cjs.RelationFragmentDoc,
|
|
19787
19806
|
variables,
|
|
19788
19807
|
isConnection: false,
|
|
19789
19808
|
isList: true,
|
|
@@ -19806,14 +19825,14 @@ var Table_DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19806
19825
|
}
|
|
19807
19826
|
async fetch(options) {
|
|
19808
19827
|
const variables = this._variables;
|
|
19809
|
-
const response = await this._syncEngine.query(
|
|
19828
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Table_DatabaseDocument, variables, "table");
|
|
19810
19829
|
const data = response.table?.database;
|
|
19811
19830
|
return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19812
19831
|
}
|
|
19813
19832
|
watch(options) {
|
|
19814
19833
|
const variables = this._variables;
|
|
19815
19834
|
const raw = this._syncEngine.watch(
|
|
19816
|
-
|
|
19835
|
+
chunkGMBMIL5U_cjs.Table_DatabaseDocument,
|
|
19817
19836
|
variables,
|
|
19818
19837
|
"table",
|
|
19819
19838
|
async (db) => {
|
|
@@ -19836,14 +19855,14 @@ var Table_Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19836
19855
|
}
|
|
19837
19856
|
async fetch(options) {
|
|
19838
19857
|
const variables = this._variables;
|
|
19839
|
-
const response = await this._syncEngine.query(
|
|
19858
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Table_Database_EngineDocument, variables, "table");
|
|
19840
19859
|
const data = response.table?.database?.engine;
|
|
19841
19860
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19842
19861
|
}
|
|
19843
19862
|
watch(options) {
|
|
19844
19863
|
const variables = this._variables;
|
|
19845
19864
|
const raw = this._syncEngine.watch(
|
|
19846
|
-
|
|
19865
|
+
chunkGMBMIL5U_cjs.Table_Database_EngineDocument,
|
|
19847
19866
|
variables,
|
|
19848
19867
|
"table",
|
|
19849
19868
|
async (db) => {
|
|
@@ -19866,14 +19885,14 @@ var Table_DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19866
19885
|
}
|
|
19867
19886
|
async fetch(options) {
|
|
19868
19887
|
const variables = this._variables;
|
|
19869
|
-
const response = await this._syncEngine.query(
|
|
19888
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Table_DocumentDocument, variables, "table");
|
|
19870
19889
|
const data = response.table?.document;
|
|
19871
19890
|
return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19872
19891
|
}
|
|
19873
19892
|
watch(options) {
|
|
19874
19893
|
const variables = this._variables;
|
|
19875
19894
|
const raw = this._syncEngine.watch(
|
|
19876
|
-
|
|
19895
|
+
chunkGMBMIL5U_cjs.Table_DocumentDocument,
|
|
19877
19896
|
variables,
|
|
19878
19897
|
"table",
|
|
19879
19898
|
async (db) => {
|
|
@@ -19895,7 +19914,7 @@ var Table_Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19895
19914
|
this._variables = variables;
|
|
19896
19915
|
}
|
|
19897
19916
|
async fetch(options) {
|
|
19898
|
-
const response = await this._syncEngine.query(
|
|
19917
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Table_Document_ContentsDocument, this._variables, "table");
|
|
19899
19918
|
const data = response.table?.document?.contents;
|
|
19900
19919
|
if (!Array.isArray(data)) return [];
|
|
19901
19920
|
return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19909,14 +19928,14 @@ var Table_Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19909
19928
|
}
|
|
19910
19929
|
async fetch(options) {
|
|
19911
19930
|
const variables = this._variables;
|
|
19912
|
-
const response = await this._syncEngine.query(
|
|
19931
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Table_Document_FileDocument, variables, "table");
|
|
19913
19932
|
const data = response.table?.document?.file;
|
|
19914
19933
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19915
19934
|
}
|
|
19916
19935
|
watch(options) {
|
|
19917
19936
|
const variables = this._variables;
|
|
19918
19937
|
const raw = this._syncEngine.watch(
|
|
19919
|
-
|
|
19938
|
+
chunkGMBMIL5U_cjs.Table_Document_FileDocument,
|
|
19920
19939
|
variables,
|
|
19921
19940
|
"table",
|
|
19922
19941
|
async (db) => {
|
|
@@ -19939,14 +19958,14 @@ var Table_Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19939
19958
|
}
|
|
19940
19959
|
async fetch(options) {
|
|
19941
19960
|
const variables = this._variables;
|
|
19942
|
-
const response = await this._syncEngine.query(
|
|
19961
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Table_Document_FormatDocument, variables, "table");
|
|
19943
19962
|
const data = response.table?.document?.format;
|
|
19944
19963
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19945
19964
|
}
|
|
19946
19965
|
watch(options) {
|
|
19947
19966
|
const variables = this._variables;
|
|
19948
19967
|
const raw = this._syncEngine.watch(
|
|
19949
|
-
|
|
19968
|
+
chunkGMBMIL5U_cjs.Table_Document_FormatDocument,
|
|
19950
19969
|
variables,
|
|
19951
19970
|
"table",
|
|
19952
19971
|
async (db) => {
|
|
@@ -19968,7 +19987,7 @@ var Table_FromRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19968
19987
|
this._variables = variables;
|
|
19969
19988
|
}
|
|
19970
19989
|
async fetch(options) {
|
|
19971
|
-
const response = await this._syncEngine.query(
|
|
19990
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Table_FromRelationsDocument, this._variables, "table");
|
|
19972
19991
|
const data = response.table?.fromRelations;
|
|
19973
19992
|
if (!Array.isArray(data)) return [];
|
|
19974
19993
|
return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19981,7 +20000,7 @@ var Table_ToRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19981
20000
|
this._variables = variables;
|
|
19982
20001
|
}
|
|
19983
20002
|
async fetch(options) {
|
|
19984
|
-
const response = await this._syncEngine.query(
|
|
20003
|
+
const response = await this._syncEngine.query(chunkGMBMIL5U_cjs.Table_ToRelationsDocument, this._variables, "table");
|
|
19985
20004
|
const data = response.table?.toRelations;
|
|
19986
20005
|
if (!Array.isArray(data)) return [];
|
|
19987
20006
|
return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19996,7 +20015,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19996
20015
|
}
|
|
19997
20016
|
async fetch(options) {
|
|
19998
20017
|
const variables = this._variables;
|
|
19999
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20018
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.TablesDocument, "tables", this._includes, variables, true);
|
|
20000
20019
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
|
|
20001
20020
|
const data = response.tables;
|
|
20002
20021
|
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);
|
|
@@ -20013,7 +20032,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20013
20032
|
const subscriptionId = crypto.randomUUID();
|
|
20014
20033
|
const includes = this._includes;
|
|
20015
20034
|
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) }] : []);
|
|
20016
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20035
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.TablesDocument, "tables", includes, variables, true);
|
|
20017
20036
|
const raw = this._syncEngine.watch(
|
|
20018
20037
|
queryDoc,
|
|
20019
20038
|
mergedVars,
|
|
@@ -20055,7 +20074,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20055
20074
|
}
|
|
20056
20075
|
/** Include database in this query (Smart Fetch — single HTTP request). */
|
|
20057
20076
|
database(variables, builder) {
|
|
20058
|
-
const info = extractIncludeInfo(
|
|
20077
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
20059
20078
|
let children;
|
|
20060
20079
|
if (builder) {
|
|
20061
20080
|
const sub = new DatabaseSubBuilder();
|
|
@@ -20064,7 +20083,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20064
20083
|
}
|
|
20065
20084
|
this._includes.push({
|
|
20066
20085
|
fieldName: "database",
|
|
20067
|
-
fragmentDoc:
|
|
20086
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DatabaseFragmentDoc,
|
|
20068
20087
|
variables,
|
|
20069
20088
|
isConnection: false,
|
|
20070
20089
|
isList: false,
|
|
@@ -20081,7 +20100,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20081
20100
|
}
|
|
20082
20101
|
/** Include document in this query (Smart Fetch — single HTTP request). */
|
|
20083
20102
|
document(variables, builder) {
|
|
20084
|
-
const info = extractIncludeInfo(
|
|
20103
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
20085
20104
|
let children;
|
|
20086
20105
|
if (builder) {
|
|
20087
20106
|
const sub = new DocumentSubBuilder();
|
|
@@ -20090,7 +20109,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20090
20109
|
}
|
|
20091
20110
|
this._includes.push({
|
|
20092
20111
|
fieldName: "document",
|
|
20093
|
-
fragmentDoc:
|
|
20112
|
+
fragmentDoc: chunkGMBMIL5U_cjs.DocumentFragmentDoc,
|
|
20094
20113
|
variables,
|
|
20095
20114
|
isConnection: false,
|
|
20096
20115
|
isList: false,
|
|
@@ -20107,10 +20126,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20107
20126
|
}
|
|
20108
20127
|
/** Include fromRelations in this query (Smart Fetch — single HTTP request). */
|
|
20109
20128
|
fromRelations(variables) {
|
|
20110
|
-
const info = extractIncludeInfo(
|
|
20129
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
20111
20130
|
this._includes.push({
|
|
20112
20131
|
fieldName: "fromRelations",
|
|
20113
|
-
fragmentDoc:
|
|
20132
|
+
fragmentDoc: chunkGMBMIL5U_cjs.RelationFragmentDoc,
|
|
20114
20133
|
variables,
|
|
20115
20134
|
isConnection: false,
|
|
20116
20135
|
isList: true,
|
|
@@ -20126,10 +20145,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20126
20145
|
}
|
|
20127
20146
|
/** Include toRelations in this query (Smart Fetch — single HTTP request). */
|
|
20128
20147
|
toRelations(variables) {
|
|
20129
|
-
const info = extractIncludeInfo(
|
|
20148
|
+
const info = extractIncludeInfo(chunkGMBMIL5U_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
20130
20149
|
this._includes.push({
|
|
20131
20150
|
fieldName: "toRelations",
|
|
20132
|
-
fragmentDoc:
|
|
20151
|
+
fragmentDoc: chunkGMBMIL5U_cjs.RelationFragmentDoc,
|
|
20133
20152
|
variables,
|
|
20134
20153
|
isConnection: false,
|
|
20135
20154
|
isList: true,
|
|
@@ -20153,7 +20172,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20153
20172
|
}
|
|
20154
20173
|
async fetch(options) {
|
|
20155
20174
|
const variables = this._variables;
|
|
20156
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20175
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
|
|
20157
20176
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
|
|
20158
20177
|
const data = response.userSkillFile;
|
|
20159
20178
|
const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -20165,7 +20184,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20165
20184
|
watch(options) {
|
|
20166
20185
|
const variables = this._variables;
|
|
20167
20186
|
const includes = this._includes;
|
|
20168
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20187
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
|
|
20169
20188
|
const raw = this._syncEngine.watch(
|
|
20170
20189
|
queryDoc,
|
|
20171
20190
|
mergedVars,
|
|
@@ -20202,7 +20221,7 @@ var UserSkillFilesQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20202
20221
|
this._variables = variables;
|
|
20203
20222
|
}
|
|
20204
20223
|
async fetch(options) {
|
|
20205
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20224
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
|
|
20206
20225
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
|
|
20207
20226
|
const data = response.userSkillFiles;
|
|
20208
20227
|
if (!Array.isArray(data)) return [];
|
|
@@ -20218,7 +20237,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20218
20237
|
}
|
|
20219
20238
|
async fetch(options) {
|
|
20220
20239
|
const variables = this._variables;
|
|
20221
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20240
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
|
|
20222
20241
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
|
|
20223
20242
|
const data = response.userSkillFolder;
|
|
20224
20243
|
const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -20230,7 +20249,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20230
20249
|
watch(options) {
|
|
20231
20250
|
const variables = this._variables;
|
|
20232
20251
|
const includes = this._includes;
|
|
20233
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20252
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
|
|
20234
20253
|
const raw = this._syncEngine.watch(
|
|
20235
20254
|
queryDoc,
|
|
20236
20255
|
mergedVars,
|
|
@@ -20267,7 +20286,7 @@ var UserSkillFoldersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20267
20286
|
this._variables = variables;
|
|
20268
20287
|
}
|
|
20269
20288
|
async fetch(options) {
|
|
20270
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20289
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
|
|
20271
20290
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
|
|
20272
20291
|
const data = response.userSkillFolders;
|
|
20273
20292
|
if (!Array.isArray(data)) return [];
|
|
@@ -20283,7 +20302,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20283
20302
|
}
|
|
20284
20303
|
async fetch(options) {
|
|
20285
20304
|
const variables = this._variables;
|
|
20286
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20305
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
|
|
20287
20306
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
|
|
20288
20307
|
const data = response.workspaceDeletionSchedule;
|
|
20289
20308
|
if (!data) return void 0;
|
|
@@ -20296,7 +20315,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20296
20315
|
watch(options) {
|
|
20297
20316
|
const variables = this._variables;
|
|
20298
20317
|
const includes = this._includes;
|
|
20299
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20318
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkGMBMIL5U_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
|
|
20300
20319
|
const raw = this._syncEngine.watch(
|
|
20301
20320
|
queryDoc,
|
|
20302
20321
|
mergedVars,
|
|
@@ -20328,7 +20347,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20328
20347
|
};
|
|
20329
20348
|
var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
20330
20349
|
async *subscribe(variables) {
|
|
20331
|
-
for await (const response of this._subscribe(
|
|
20350
|
+
for await (const response of this._subscribe(chunkGMBMIL5U_cjs.McpAuthUpdatesDocument, variables)) {
|
|
20332
20351
|
const data = response.mcpAuthUpdates;
|
|
20333
20352
|
yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
20334
20353
|
}
|
|
@@ -20336,7 +20355,7 @@ var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20336
20355
|
};
|
|
20337
20356
|
var TokenUsageUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
20338
20357
|
async *subscribe(variables) {
|
|
20339
|
-
for await (const response of this._subscribe(
|
|
20358
|
+
for await (const response of this._subscribe(chunkGMBMIL5U_cjs.TokenUsageUpdatesDocument, variables)) {
|
|
20340
20359
|
const data = response.tokenUsageUpdates;
|
|
20341
20360
|
yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
|
|
20342
20361
|
}
|
|
@@ -21170,6 +21189,7 @@ exports.PRIMARY_KEY_CONFIG = PRIMARY_KEY_CONFIG;
|
|
|
21170
21189
|
exports.PreviewChatImportMutation = PreviewChatImportMutation;
|
|
21171
21190
|
exports.PrivacyStats = PrivacyStats;
|
|
21172
21191
|
exports.PrivacyStatsQuery = PrivacyStatsQuery;
|
|
21192
|
+
exports.ProgressSummaryEventOutput = ProgressSummaryEventOutput;
|
|
21173
21193
|
exports.PulseAppSummaryModel = PulseAppSummaryModel;
|
|
21174
21194
|
exports.PulseAppSummaryQuery = PulseAppSummaryQuery;
|
|
21175
21195
|
exports.PulseEvent = PulseEvent;
|
|
@@ -21283,5 +21303,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
|
|
|
21283
21303
|
exports.reconstructConnectionNodes = reconstructConnectionNodes;
|
|
21284
21304
|
exports.reconstructEntity = reconstructEntity;
|
|
21285
21305
|
exports.uploadFile = uploadFile;
|
|
21286
|
-
//# sourceMappingURL=chunk-
|
|
21287
|
-
//# sourceMappingURL=chunk-
|
|
21306
|
+
//# sourceMappingURL=chunk-7Q2QYIF6.cjs.map
|
|
21307
|
+
//# sourceMappingURL=chunk-7Q2QYIF6.cjs.map
|