@dvina/sdk 4.0.160 → 4.0.163
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-ARBWVGVI.js → _generated_documents-GBXPBIEJ.js} +3 -3
- package/dist/{_generated_documents-ARBWVGVI.js.map → _generated_documents-GBXPBIEJ.js.map} +1 -1
- package/dist/{_generated_documents-GO2SFQK3.cjs → _generated_documents-QQXURV5T.cjs} +541 -541
- package/dist/{_generated_documents-GO2SFQK3.cjs.map → _generated_documents-QQXURV5T.cjs.map} +1 -1
- package/dist/adapters/angular/index.cjs +4 -4
- package/dist/adapters/angular/index.d.cts +1 -1
- package/dist/adapters/angular/index.d.ts +1 -1
- package/dist/adapters/angular/index.js +2 -2
- package/dist/{chunk-GT77UAEG.js → chunk-3QH7N6AT.js} +2 -2
- package/dist/{chunk-GT77UAEG.js.map → chunk-3QH7N6AT.js.map} +1 -1
- package/dist/{chunk-YZOCWEFU.cjs → chunk-MFVKPMD4.cjs} +2 -2
- package/dist/{chunk-YZOCWEFU.cjs.map → chunk-MFVKPMD4.cjs.map} +1 -1
- package/dist/{chunk-ZVME5CNQ.js → chunk-NEAQRDPR.js} +5 -5
- package/dist/chunk-NEAQRDPR.js.map +1 -0
- package/dist/{chunk-3I3SFD7O.cjs → chunk-VYYPPIWZ.cjs} +501 -501
- package/dist/chunk-VYYPPIWZ.cjs.map +1 -0
- package/dist/{client-CnDwhx8_.d.cts → client-DLtMCNRg.d.cts} +1 -1
- package/dist/{client-DyBMomqg.d.ts → client-Dly4UNbO.d.ts} +1 -1
- package/dist/index.cjs +395 -395
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-3I3SFD7O.cjs.map +0 -1
- package/dist/chunk-ZVME5CNQ.js.map +0 -1
|
@@ -4,7 +4,7 @@ var chunk342BFYZZ_cjs = require('./chunk-342BFYZZ.cjs');
|
|
|
4
4
|
var chunkUELAE75E_cjs = require('./chunk-UELAE75E.cjs');
|
|
5
5
|
var chunkBL3GFOZR_cjs = require('./chunk-BL3GFOZR.cjs');
|
|
6
6
|
var chunkKV5SP7RP_cjs = require('./chunk-KV5SP7RP.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkMFVKPMD4_cjs = require('./chunk-MFVKPMD4.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
|
|
@@ -10321,7 +10321,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
|
|
|
10321
10321
|
var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
|
|
10322
10322
|
var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
|
|
10323
10323
|
async function uploadFile(request, getToken, file, name, options) {
|
|
10324
|
-
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-
|
|
10324
|
+
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-QQXURV5T.cjs');
|
|
10325
10325
|
const key = `upload_${Date.now()}`;
|
|
10326
10326
|
const response = await request(
|
|
10327
10327
|
GenerateUploadUriDocument2,
|
|
@@ -12522,7 +12522,7 @@ var ResolvedFileUrl = class extends DvinaModel {
|
|
|
12522
12522
|
constructor(request, data, syncEngine, baseUrl) {
|
|
12523
12523
|
super(request, syncEngine, baseUrl);
|
|
12524
12524
|
this.id = data.id;
|
|
12525
|
-
this.url = data.url;
|
|
12525
|
+
this.url = data.url ?? void 0;
|
|
12526
12526
|
}
|
|
12527
12527
|
};
|
|
12528
12528
|
var StreamEventSchemaAnchor = class extends DvinaModel {
|
|
@@ -13198,7 +13198,7 @@ var AgentSubBuilder = class {
|
|
|
13198
13198
|
_includes = [];
|
|
13199
13199
|
/** Include chats in the parent query. */
|
|
13200
13200
|
chats(variables, builder) {
|
|
13201
|
-
const info = extractIncludeInfo(
|
|
13201
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
13202
13202
|
let children;
|
|
13203
13203
|
if (builder) {
|
|
13204
13204
|
const sub = new ChatSubBuilder();
|
|
@@ -13207,7 +13207,7 @@ var AgentSubBuilder = class {
|
|
|
13207
13207
|
}
|
|
13208
13208
|
this._includes.push({
|
|
13209
13209
|
fieldName: "chats",
|
|
13210
|
-
fragmentDoc:
|
|
13210
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatConnectionFragmentDoc,
|
|
13211
13211
|
variables,
|
|
13212
13212
|
isConnection: true,
|
|
13213
13213
|
isList: false,
|
|
@@ -13229,7 +13229,7 @@ var ArtifactSubBuilder = class {
|
|
|
13229
13229
|
_includes = [];
|
|
13230
13230
|
/** Include chat in the parent query. */
|
|
13231
13231
|
chat(variables, builder) {
|
|
13232
|
-
const info = extractIncludeInfo(
|
|
13232
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
13233
13233
|
let children;
|
|
13234
13234
|
if (builder) {
|
|
13235
13235
|
const sub = new ChatSubBuilder();
|
|
@@ -13238,7 +13238,7 @@ var ArtifactSubBuilder = class {
|
|
|
13238
13238
|
}
|
|
13239
13239
|
this._includes.push({
|
|
13240
13240
|
fieldName: "chat",
|
|
13241
|
-
fragmentDoc:
|
|
13241
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatFragmentDoc,
|
|
13242
13242
|
variables,
|
|
13243
13243
|
isConnection: false,
|
|
13244
13244
|
isList: false,
|
|
@@ -13255,10 +13255,10 @@ var ArtifactSubBuilder = class {
|
|
|
13255
13255
|
}
|
|
13256
13256
|
/** Include file in the parent query. */
|
|
13257
13257
|
file(variables) {
|
|
13258
|
-
const info = extractIncludeInfo(
|
|
13258
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
13259
13259
|
this._includes.push({
|
|
13260
13260
|
fieldName: "file",
|
|
13261
|
-
fragmentDoc:
|
|
13261
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FileFragmentDoc,
|
|
13262
13262
|
variables,
|
|
13263
13263
|
isConnection: false,
|
|
13264
13264
|
isList: false,
|
|
@@ -13274,7 +13274,7 @@ var ArtifactSubBuilder = class {
|
|
|
13274
13274
|
}
|
|
13275
13275
|
/** Include message in the parent query. */
|
|
13276
13276
|
message(variables, builder) {
|
|
13277
|
-
const info = extractIncludeInfo(
|
|
13277
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
13278
13278
|
let children;
|
|
13279
13279
|
if (builder) {
|
|
13280
13280
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -13283,7 +13283,7 @@ var ArtifactSubBuilder = class {
|
|
|
13283
13283
|
}
|
|
13284
13284
|
this._includes.push({
|
|
13285
13285
|
fieldName: "message",
|
|
13286
|
-
fragmentDoc:
|
|
13286
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatMessageFragmentDoc,
|
|
13287
13287
|
variables,
|
|
13288
13288
|
isConnection: false,
|
|
13289
13289
|
isList: false,
|
|
@@ -13304,7 +13304,7 @@ var ChatSubBuilder = class {
|
|
|
13304
13304
|
_includes = [];
|
|
13305
13305
|
/** Include agents in the parent query. */
|
|
13306
13306
|
agents(variables, builder) {
|
|
13307
|
-
const info = extractIncludeInfo(
|
|
13307
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
13308
13308
|
let children;
|
|
13309
13309
|
if (builder) {
|
|
13310
13310
|
const sub = new AgentSubBuilder();
|
|
@@ -13313,7 +13313,7 @@ var ChatSubBuilder = class {
|
|
|
13313
13313
|
}
|
|
13314
13314
|
this._includes.push({
|
|
13315
13315
|
fieldName: "agents",
|
|
13316
|
-
fragmentDoc:
|
|
13316
|
+
fragmentDoc: chunkMFVKPMD4_cjs.AgentConnectionFragmentDoc,
|
|
13317
13317
|
variables,
|
|
13318
13318
|
isConnection: true,
|
|
13319
13319
|
isList: false,
|
|
@@ -13331,7 +13331,7 @@ var ChatSubBuilder = class {
|
|
|
13331
13331
|
}
|
|
13332
13332
|
/** Include artifacts in the parent query. */
|
|
13333
13333
|
artifacts(variables, builder) {
|
|
13334
|
-
const info = extractIncludeInfo(
|
|
13334
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
13335
13335
|
let children;
|
|
13336
13336
|
if (builder) {
|
|
13337
13337
|
const sub = new ArtifactSubBuilder();
|
|
@@ -13340,7 +13340,7 @@ var ChatSubBuilder = class {
|
|
|
13340
13340
|
}
|
|
13341
13341
|
this._includes.push({
|
|
13342
13342
|
fieldName: "artifacts",
|
|
13343
|
-
fragmentDoc:
|
|
13343
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ArtifactConnectionFragmentDoc,
|
|
13344
13344
|
variables,
|
|
13345
13345
|
isConnection: true,
|
|
13346
13346
|
isList: false,
|
|
@@ -13358,7 +13358,7 @@ var ChatSubBuilder = class {
|
|
|
13358
13358
|
}
|
|
13359
13359
|
/** Include insight in the parent query. */
|
|
13360
13360
|
insight(variables, builder) {
|
|
13361
|
-
const info = extractIncludeInfo(
|
|
13361
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
13362
13362
|
let children;
|
|
13363
13363
|
if (builder) {
|
|
13364
13364
|
const sub = new InsightSubBuilder();
|
|
@@ -13367,7 +13367,7 @@ var ChatSubBuilder = class {
|
|
|
13367
13367
|
}
|
|
13368
13368
|
this._includes.push({
|
|
13369
13369
|
fieldName: "insight",
|
|
13370
|
-
fragmentDoc:
|
|
13370
|
+
fragmentDoc: chunkMFVKPMD4_cjs.InsightFragmentDoc,
|
|
13371
13371
|
variables,
|
|
13372
13372
|
isConnection: false,
|
|
13373
13373
|
isList: false,
|
|
@@ -13384,7 +13384,7 @@ var ChatSubBuilder = class {
|
|
|
13384
13384
|
}
|
|
13385
13385
|
/** Include messages in the parent query. */
|
|
13386
13386
|
messages(variables, builder) {
|
|
13387
|
-
const info = extractIncludeInfo(
|
|
13387
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
13388
13388
|
let children;
|
|
13389
13389
|
if (builder) {
|
|
13390
13390
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -13393,7 +13393,7 @@ var ChatSubBuilder = class {
|
|
|
13393
13393
|
}
|
|
13394
13394
|
this._includes.push({
|
|
13395
13395
|
fieldName: "messages",
|
|
13396
|
-
fragmentDoc:
|
|
13396
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatMessageConnectionFragmentDoc,
|
|
13397
13397
|
variables,
|
|
13398
13398
|
isConnection: true,
|
|
13399
13399
|
isList: false,
|
|
@@ -13415,7 +13415,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13415
13415
|
_includes = [];
|
|
13416
13416
|
/** Include artifacts in the parent query. */
|
|
13417
13417
|
artifacts(variables, builder) {
|
|
13418
|
-
const info = extractIncludeInfo(
|
|
13418
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
13419
13419
|
let children;
|
|
13420
13420
|
if (builder) {
|
|
13421
13421
|
const sub = new ArtifactSubBuilder();
|
|
@@ -13424,7 +13424,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13424
13424
|
}
|
|
13425
13425
|
this._includes.push({
|
|
13426
13426
|
fieldName: "artifacts",
|
|
13427
|
-
fragmentDoc:
|
|
13427
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ArtifactConnectionFragmentDoc,
|
|
13428
13428
|
variables,
|
|
13429
13429
|
isConnection: true,
|
|
13430
13430
|
isList: false,
|
|
@@ -13442,7 +13442,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13442
13442
|
}
|
|
13443
13443
|
/** Include chat in the parent query. */
|
|
13444
13444
|
chat(variables, builder) {
|
|
13445
|
-
const info = extractIncludeInfo(
|
|
13445
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
13446
13446
|
let children;
|
|
13447
13447
|
if (builder) {
|
|
13448
13448
|
const sub = new ChatSubBuilder();
|
|
@@ -13451,7 +13451,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13451
13451
|
}
|
|
13452
13452
|
this._includes.push({
|
|
13453
13453
|
fieldName: "chat",
|
|
13454
|
-
fragmentDoc:
|
|
13454
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatFragmentDoc,
|
|
13455
13455
|
variables,
|
|
13456
13456
|
isConnection: false,
|
|
13457
13457
|
isList: false,
|
|
@@ -13468,10 +13468,10 @@ var ChatMessageSubBuilder = class {
|
|
|
13468
13468
|
}
|
|
13469
13469
|
/** Include contents in the parent query. */
|
|
13470
13470
|
contents(variables) {
|
|
13471
|
-
const info = extractIncludeInfo(
|
|
13471
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
13472
13472
|
this._includes.push({
|
|
13473
13473
|
fieldName: "contents",
|
|
13474
|
-
fragmentDoc:
|
|
13474
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ContentBlockFragmentDoc,
|
|
13475
13475
|
variables,
|
|
13476
13476
|
isConnection: false,
|
|
13477
13477
|
isList: true,
|
|
@@ -13487,10 +13487,10 @@ var ChatMessageSubBuilder = class {
|
|
|
13487
13487
|
}
|
|
13488
13488
|
/** Include feedback in the parent query. */
|
|
13489
13489
|
feedback(variables) {
|
|
13490
|
-
const info = extractIncludeInfo(
|
|
13490
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
13491
13491
|
this._includes.push({
|
|
13492
13492
|
fieldName: "feedback",
|
|
13493
|
-
fragmentDoc:
|
|
13493
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FeedbackFragmentDoc,
|
|
13494
13494
|
variables,
|
|
13495
13495
|
isConnection: false,
|
|
13496
13496
|
isList: false,
|
|
@@ -13510,10 +13510,10 @@ var DatabaseSubBuilder = class {
|
|
|
13510
13510
|
_includes = [];
|
|
13511
13511
|
/** Include engine in the parent query. */
|
|
13512
13512
|
engine(variables) {
|
|
13513
|
-
const info = extractIncludeInfo(
|
|
13513
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
13514
13514
|
this._includes.push({
|
|
13515
13515
|
fieldName: "engine",
|
|
13516
|
-
fragmentDoc:
|
|
13516
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DatabaseEngineFragmentDoc,
|
|
13517
13517
|
variables,
|
|
13518
13518
|
isConnection: false,
|
|
13519
13519
|
isList: false,
|
|
@@ -13529,7 +13529,7 @@ var DatabaseSubBuilder = class {
|
|
|
13529
13529
|
}
|
|
13530
13530
|
/** Include tables in the parent query. */
|
|
13531
13531
|
tables(variables, builder) {
|
|
13532
|
-
const info = extractIncludeInfo(
|
|
13532
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
13533
13533
|
let children;
|
|
13534
13534
|
if (builder) {
|
|
13535
13535
|
const sub = new TableSubBuilder();
|
|
@@ -13538,7 +13538,7 @@ var DatabaseSubBuilder = class {
|
|
|
13538
13538
|
}
|
|
13539
13539
|
this._includes.push({
|
|
13540
13540
|
fieldName: "tables",
|
|
13541
|
-
fragmentDoc:
|
|
13541
|
+
fragmentDoc: chunkMFVKPMD4_cjs.TableConnectionFragmentDoc,
|
|
13542
13542
|
variables,
|
|
13543
13543
|
isConnection: true,
|
|
13544
13544
|
isList: false,
|
|
@@ -13560,10 +13560,10 @@ var DatabaseCatalogSubBuilder = class {
|
|
|
13560
13560
|
_includes = [];
|
|
13561
13561
|
/** Include engine in the parent query. */
|
|
13562
13562
|
engine(variables) {
|
|
13563
|
-
const info = extractIncludeInfo(
|
|
13563
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
13564
13564
|
this._includes.push({
|
|
13565
13565
|
fieldName: "engine",
|
|
13566
|
-
fragmentDoc:
|
|
13566
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DatabaseEngineFragmentDoc,
|
|
13567
13567
|
variables,
|
|
13568
13568
|
isConnection: false,
|
|
13569
13569
|
isList: false,
|
|
@@ -13583,10 +13583,10 @@ var DocumentSubBuilder = class {
|
|
|
13583
13583
|
_includes = [];
|
|
13584
13584
|
/** Include contents in the parent query. */
|
|
13585
13585
|
contents(variables) {
|
|
13586
|
-
const info = extractIncludeInfo(
|
|
13586
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
13587
13587
|
this._includes.push({
|
|
13588
13588
|
fieldName: "contents",
|
|
13589
|
-
fragmentDoc:
|
|
13589
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DocumentContentFragmentDoc,
|
|
13590
13590
|
variables,
|
|
13591
13591
|
isConnection: false,
|
|
13592
13592
|
isList: true,
|
|
@@ -13602,10 +13602,10 @@ var DocumentSubBuilder = class {
|
|
|
13602
13602
|
}
|
|
13603
13603
|
/** Include file in the parent query. */
|
|
13604
13604
|
file(variables) {
|
|
13605
|
-
const info = extractIncludeInfo(
|
|
13605
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Document_FileDocument, "file", ["id"]);
|
|
13606
13606
|
this._includes.push({
|
|
13607
13607
|
fieldName: "file",
|
|
13608
|
-
fragmentDoc:
|
|
13608
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FileFragmentDoc,
|
|
13609
13609
|
variables,
|
|
13610
13610
|
isConnection: false,
|
|
13611
13611
|
isList: false,
|
|
@@ -13621,10 +13621,10 @@ var DocumentSubBuilder = class {
|
|
|
13621
13621
|
}
|
|
13622
13622
|
/** Include format in the parent query. */
|
|
13623
13623
|
format(variables) {
|
|
13624
|
-
const info = extractIncludeInfo(
|
|
13624
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Document_FormatDocument, "format", ["id"]);
|
|
13625
13625
|
this._includes.push({
|
|
13626
13626
|
fieldName: "format",
|
|
13627
|
-
fragmentDoc:
|
|
13627
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DocumentFormatFragmentDoc,
|
|
13628
13628
|
variables,
|
|
13629
13629
|
isConnection: false,
|
|
13630
13630
|
isList: false,
|
|
@@ -13640,7 +13640,7 @@ var DocumentSubBuilder = class {
|
|
|
13640
13640
|
}
|
|
13641
13641
|
/** Include tables in the parent query. */
|
|
13642
13642
|
tables(variables, builder) {
|
|
13643
|
-
const info = extractIncludeInfo(
|
|
13643
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
13644
13644
|
let children;
|
|
13645
13645
|
if (builder) {
|
|
13646
13646
|
const sub = new TableSubBuilder();
|
|
@@ -13649,7 +13649,7 @@ var DocumentSubBuilder = class {
|
|
|
13649
13649
|
}
|
|
13650
13650
|
this._includes.push({
|
|
13651
13651
|
fieldName: "tables",
|
|
13652
|
-
fragmentDoc:
|
|
13652
|
+
fragmentDoc: chunkMFVKPMD4_cjs.TableConnectionFragmentDoc,
|
|
13653
13653
|
variables,
|
|
13654
13654
|
isConnection: true,
|
|
13655
13655
|
isList: false,
|
|
@@ -13671,10 +13671,10 @@ var DocumentCatalogSubBuilder = class {
|
|
|
13671
13671
|
_includes = [];
|
|
13672
13672
|
/** Include format in the parent query. */
|
|
13673
13673
|
format(variables) {
|
|
13674
|
-
const info = extractIncludeInfo(
|
|
13674
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
13675
13675
|
this._includes.push({
|
|
13676
13676
|
fieldName: "format",
|
|
13677
|
-
fragmentDoc:
|
|
13677
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DocumentFormatFragmentDoc,
|
|
13678
13678
|
variables,
|
|
13679
13679
|
isConnection: false,
|
|
13680
13680
|
isList: false,
|
|
@@ -13694,10 +13694,10 @@ var FeedItemSubBuilder = class {
|
|
|
13694
13694
|
_includes = [];
|
|
13695
13695
|
/** Include action in the parent query. */
|
|
13696
13696
|
action(variables) {
|
|
13697
|
-
const info = extractIncludeInfo(
|
|
13697
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
13698
13698
|
this._includes.push({
|
|
13699
13699
|
fieldName: "action",
|
|
13700
|
-
fragmentDoc:
|
|
13700
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FeedSendMessageActionFragmentDoc,
|
|
13701
13701
|
variables,
|
|
13702
13702
|
isConnection: false,
|
|
13703
13703
|
isList: false,
|
|
@@ -13713,10 +13713,10 @@ var FeedItemSubBuilder = class {
|
|
|
13713
13713
|
}
|
|
13714
13714
|
/** Include data in the parent query. */
|
|
13715
13715
|
data(variables) {
|
|
13716
|
-
const info = extractIncludeInfo(
|
|
13716
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
13717
13717
|
this._includes.push({
|
|
13718
13718
|
fieldName: "data",
|
|
13719
|
-
fragmentDoc:
|
|
13719
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FeedArtifactDataFragmentDoc,
|
|
13720
13720
|
variables,
|
|
13721
13721
|
isConnection: false,
|
|
13722
13722
|
isList: true,
|
|
@@ -13736,7 +13736,7 @@ var InsightSubBuilder = class {
|
|
|
13736
13736
|
_includes = [];
|
|
13737
13737
|
/** Include chat in the parent query. */
|
|
13738
13738
|
chat(variables, builder) {
|
|
13739
|
-
const info = extractIncludeInfo(
|
|
13739
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
13740
13740
|
let children;
|
|
13741
13741
|
if (builder) {
|
|
13742
13742
|
const sub = new ChatSubBuilder();
|
|
@@ -13745,7 +13745,7 @@ var InsightSubBuilder = class {
|
|
|
13745
13745
|
}
|
|
13746
13746
|
this._includes.push({
|
|
13747
13747
|
fieldName: "chat",
|
|
13748
|
-
fragmentDoc:
|
|
13748
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatFragmentDoc,
|
|
13749
13749
|
variables,
|
|
13750
13750
|
isConnection: false,
|
|
13751
13751
|
isList: false,
|
|
@@ -13762,10 +13762,10 @@ var InsightSubBuilder = class {
|
|
|
13762
13762
|
}
|
|
13763
13763
|
/** Include reportMembers in the parent query. */
|
|
13764
13764
|
reportMembers(variables) {
|
|
13765
|
-
const info = extractIncludeInfo(
|
|
13765
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
13766
13766
|
this._includes.push({
|
|
13767
13767
|
fieldName: "reportMembers",
|
|
13768
|
-
fragmentDoc:
|
|
13768
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ReportMemberFragmentDoc,
|
|
13769
13769
|
variables,
|
|
13770
13770
|
isConnection: false,
|
|
13771
13771
|
isList: true,
|
|
@@ -13781,7 +13781,7 @@ var InsightSubBuilder = class {
|
|
|
13781
13781
|
}
|
|
13782
13782
|
/** Include reports in the parent query. */
|
|
13783
13783
|
reports(variables, builder) {
|
|
13784
|
-
const info = extractIncludeInfo(
|
|
13784
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
13785
13785
|
let children;
|
|
13786
13786
|
if (builder) {
|
|
13787
13787
|
const sub = new ReportSubBuilder();
|
|
@@ -13790,7 +13790,7 @@ var InsightSubBuilder = class {
|
|
|
13790
13790
|
}
|
|
13791
13791
|
this._includes.push({
|
|
13792
13792
|
fieldName: "reports",
|
|
13793
|
-
fragmentDoc:
|
|
13793
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ReportConnectionFragmentDoc,
|
|
13794
13794
|
variables,
|
|
13795
13795
|
isConnection: true,
|
|
13796
13796
|
isList: false,
|
|
@@ -13808,10 +13808,10 @@ var InsightSubBuilder = class {
|
|
|
13808
13808
|
}
|
|
13809
13809
|
/** Include thumbnailFile in the parent query. */
|
|
13810
13810
|
thumbnailFile(variables) {
|
|
13811
|
-
const info = extractIncludeInfo(
|
|
13811
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
13812
13812
|
this._includes.push({
|
|
13813
13813
|
fieldName: "thumbnailFile",
|
|
13814
|
-
fragmentDoc:
|
|
13814
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FileFragmentDoc,
|
|
13815
13815
|
variables,
|
|
13816
13816
|
isConnection: false,
|
|
13817
13817
|
isList: false,
|
|
@@ -13831,10 +13831,10 @@ var IntegrationSubBuilder = class {
|
|
|
13831
13831
|
_includes = [];
|
|
13832
13832
|
/** Include provider in the parent query. */
|
|
13833
13833
|
provider(variables) {
|
|
13834
|
-
const info = extractIncludeInfo(
|
|
13834
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
13835
13835
|
this._includes.push({
|
|
13836
13836
|
fieldName: "provider",
|
|
13837
|
-
fragmentDoc:
|
|
13837
|
+
fragmentDoc: chunkMFVKPMD4_cjs.IntegrationProviderFragmentDoc,
|
|
13838
13838
|
variables,
|
|
13839
13839
|
isConnection: false,
|
|
13840
13840
|
isList: false,
|
|
@@ -13854,10 +13854,10 @@ var IntegrationCatalogSubBuilder = class {
|
|
|
13854
13854
|
_includes = [];
|
|
13855
13855
|
/** Include provider in the parent query. */
|
|
13856
13856
|
provider(variables) {
|
|
13857
|
-
const info = extractIncludeInfo(
|
|
13857
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
13858
13858
|
this._includes.push({
|
|
13859
13859
|
fieldName: "provider",
|
|
13860
|
-
fragmentDoc:
|
|
13860
|
+
fragmentDoc: chunkMFVKPMD4_cjs.IntegrationProviderFragmentDoc,
|
|
13861
13861
|
variables,
|
|
13862
13862
|
isConnection: false,
|
|
13863
13863
|
isList: false,
|
|
@@ -13877,7 +13877,7 @@ var PulseEventSubBuilder = class {
|
|
|
13877
13877
|
_includes = [];
|
|
13878
13878
|
/** Include integration in the parent query. */
|
|
13879
13879
|
integration(variables, builder) {
|
|
13880
|
-
const info = extractIncludeInfo(
|
|
13880
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
13881
13881
|
let children;
|
|
13882
13882
|
if (builder) {
|
|
13883
13883
|
const sub = new IntegrationSubBuilder();
|
|
@@ -13886,7 +13886,7 @@ var PulseEventSubBuilder = class {
|
|
|
13886
13886
|
}
|
|
13887
13887
|
this._includes.push({
|
|
13888
13888
|
fieldName: "integration",
|
|
13889
|
-
fragmentDoc:
|
|
13889
|
+
fragmentDoc: chunkMFVKPMD4_cjs.IntegrationFragmentDoc,
|
|
13890
13890
|
variables,
|
|
13891
13891
|
isConnection: false,
|
|
13892
13892
|
isList: false,
|
|
@@ -13907,7 +13907,7 @@ var ReportSubBuilder = class {
|
|
|
13907
13907
|
_includes = [];
|
|
13908
13908
|
/** Include insights in the parent query. */
|
|
13909
13909
|
insights(variables, builder) {
|
|
13910
|
-
const info = extractIncludeInfo(
|
|
13910
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
13911
13911
|
let children;
|
|
13912
13912
|
if (builder) {
|
|
13913
13913
|
const sub = new InsightSubBuilder();
|
|
@@ -13916,7 +13916,7 @@ var ReportSubBuilder = class {
|
|
|
13916
13916
|
}
|
|
13917
13917
|
this._includes.push({
|
|
13918
13918
|
fieldName: "insights",
|
|
13919
|
-
fragmentDoc:
|
|
13919
|
+
fragmentDoc: chunkMFVKPMD4_cjs.InsightConnectionFragmentDoc,
|
|
13920
13920
|
variables,
|
|
13921
13921
|
isConnection: true,
|
|
13922
13922
|
isList: false,
|
|
@@ -13934,10 +13934,10 @@ var ReportSubBuilder = class {
|
|
|
13934
13934
|
}
|
|
13935
13935
|
/** Include layout in the parent query. */
|
|
13936
13936
|
layout(variables) {
|
|
13937
|
-
const info = extractIncludeInfo(
|
|
13937
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
13938
13938
|
this._includes.push({
|
|
13939
13939
|
fieldName: "layout",
|
|
13940
|
-
fragmentDoc:
|
|
13940
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ReportMemberFragmentDoc,
|
|
13941
13941
|
variables,
|
|
13942
13942
|
isConnection: false,
|
|
13943
13943
|
isList: true,
|
|
@@ -13957,7 +13957,7 @@ var TableSubBuilder = class {
|
|
|
13957
13957
|
_includes = [];
|
|
13958
13958
|
/** Include database in the parent query. */
|
|
13959
13959
|
database(variables, builder) {
|
|
13960
|
-
const info = extractIncludeInfo(
|
|
13960
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
13961
13961
|
let children;
|
|
13962
13962
|
if (builder) {
|
|
13963
13963
|
const sub = new DatabaseSubBuilder();
|
|
@@ -13966,7 +13966,7 @@ var TableSubBuilder = class {
|
|
|
13966
13966
|
}
|
|
13967
13967
|
this._includes.push({
|
|
13968
13968
|
fieldName: "database",
|
|
13969
|
-
fragmentDoc:
|
|
13969
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DatabaseFragmentDoc,
|
|
13970
13970
|
variables,
|
|
13971
13971
|
isConnection: false,
|
|
13972
13972
|
isList: false,
|
|
@@ -13983,7 +13983,7 @@ var TableSubBuilder = class {
|
|
|
13983
13983
|
}
|
|
13984
13984
|
/** Include document in the parent query. */
|
|
13985
13985
|
document(variables, builder) {
|
|
13986
|
-
const info = extractIncludeInfo(
|
|
13986
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
13987
13987
|
let children;
|
|
13988
13988
|
if (builder) {
|
|
13989
13989
|
const sub = new DocumentSubBuilder();
|
|
@@ -13992,7 +13992,7 @@ var TableSubBuilder = class {
|
|
|
13992
13992
|
}
|
|
13993
13993
|
this._includes.push({
|
|
13994
13994
|
fieldName: "document",
|
|
13995
|
-
fragmentDoc:
|
|
13995
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DocumentFragmentDoc,
|
|
13996
13996
|
variables,
|
|
13997
13997
|
isConnection: false,
|
|
13998
13998
|
isList: false,
|
|
@@ -14009,10 +14009,10 @@ var TableSubBuilder = class {
|
|
|
14009
14009
|
}
|
|
14010
14010
|
/** Include fromRelations in the parent query. */
|
|
14011
14011
|
fromRelations(variables) {
|
|
14012
|
-
const info = extractIncludeInfo(
|
|
14012
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
14013
14013
|
this._includes.push({
|
|
14014
14014
|
fieldName: "fromRelations",
|
|
14015
|
-
fragmentDoc:
|
|
14015
|
+
fragmentDoc: chunkMFVKPMD4_cjs.RelationFragmentDoc,
|
|
14016
14016
|
variables,
|
|
14017
14017
|
isConnection: false,
|
|
14018
14018
|
isList: true,
|
|
@@ -14028,10 +14028,10 @@ var TableSubBuilder = class {
|
|
|
14028
14028
|
}
|
|
14029
14029
|
/** Include toRelations in the parent query. */
|
|
14030
14030
|
toRelations(variables) {
|
|
14031
|
-
const info = extractIncludeInfo(
|
|
14031
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
14032
14032
|
this._includes.push({
|
|
14033
14033
|
fieldName: "toRelations",
|
|
14034
|
-
fragmentDoc:
|
|
14034
|
+
fragmentDoc: chunkMFVKPMD4_cjs.RelationFragmentDoc,
|
|
14035
14035
|
variables,
|
|
14036
14036
|
isConnection: false,
|
|
14037
14037
|
isList: true,
|
|
@@ -14048,454 +14048,454 @@ var TableSubBuilder = class {
|
|
|
14048
14048
|
};
|
|
14049
14049
|
var AbortChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14050
14050
|
async fetch(variables) {
|
|
14051
|
-
const response = await this._syncEngine.mutate(
|
|
14051
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.AbortChatDocument, variables, MUTATION_CACHE_RULES["abortChat"]);
|
|
14052
14052
|
return response.abortChat;
|
|
14053
14053
|
}
|
|
14054
14054
|
};
|
|
14055
14055
|
var AddInsightToReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14056
14056
|
async fetch(variables, options) {
|
|
14057
|
-
const response = await this._syncEngine.mutate(
|
|
14057
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
|
|
14058
14058
|
const data = response.addInsightToReport;
|
|
14059
14059
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14060
14060
|
}
|
|
14061
14061
|
};
|
|
14062
14062
|
var CancelOauthFlowMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14063
14063
|
async fetch(variables) {
|
|
14064
|
-
const response = await this._syncEngine.mutate(
|
|
14064
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
|
|
14065
14065
|
return response.cancelOauthFlow;
|
|
14066
14066
|
}
|
|
14067
14067
|
};
|
|
14068
14068
|
var CancelWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14069
14069
|
async fetch(variables) {
|
|
14070
|
-
const response = await this._syncEngine.mutate(
|
|
14070
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
|
|
14071
14071
|
return response.cancelWorkspaceDeletion;
|
|
14072
14072
|
}
|
|
14073
14073
|
};
|
|
14074
14074
|
var ConnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14075
14075
|
async fetch(variables, options) {
|
|
14076
|
-
const response = await this._syncEngine.mutate(
|
|
14076
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
|
|
14077
14077
|
const data = response.connectIntegration;
|
|
14078
14078
|
return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14079
14079
|
}
|
|
14080
14080
|
};
|
|
14081
14081
|
var ConsumePulseEventsMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14082
14082
|
async fetch(variables) {
|
|
14083
|
-
const response = await this._syncEngine.mutate(
|
|
14083
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
|
|
14084
14084
|
return response.consumePulseEvents;
|
|
14085
14085
|
}
|
|
14086
14086
|
};
|
|
14087
14087
|
var ContinueImportedChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14088
14088
|
async fetch(variables) {
|
|
14089
|
-
const response = await this._syncEngine.mutate(
|
|
14089
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
|
|
14090
14090
|
return response.continueImportedChat;
|
|
14091
14091
|
}
|
|
14092
14092
|
};
|
|
14093
14093
|
var ContinueInterpretationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14094
14094
|
async fetch(variables) {
|
|
14095
|
-
const response = await this._syncEngine.mutate(
|
|
14095
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
|
|
14096
14096
|
return response.continueInterpretation;
|
|
14097
14097
|
}
|
|
14098
14098
|
};
|
|
14099
14099
|
var CreateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14100
14100
|
async fetch(variables, options) {
|
|
14101
|
-
const response = await this._syncEngine.mutate(
|
|
14101
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
|
|
14102
14102
|
const data = response.createAgent;
|
|
14103
14103
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14104
14104
|
}
|
|
14105
14105
|
};
|
|
14106
14106
|
var CreateChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14107
14107
|
async fetch(variables, options) {
|
|
14108
|
-
const response = await this._syncEngine.mutate(
|
|
14108
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
|
|
14109
14109
|
const data = response.createChat;
|
|
14110
14110
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14111
14111
|
}
|
|
14112
14112
|
};
|
|
14113
14113
|
var CreateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14114
14114
|
async fetch(variables, options) {
|
|
14115
|
-
const response = await this._syncEngine.mutate(
|
|
14115
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
|
|
14116
14116
|
const data = response.createDatabase;
|
|
14117
14117
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14118
14118
|
}
|
|
14119
14119
|
};
|
|
14120
14120
|
var CreateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14121
14121
|
async fetch(variables, options) {
|
|
14122
|
-
const response = await this._syncEngine.mutate(
|
|
14122
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
|
|
14123
14123
|
const data = response.createDocument;
|
|
14124
14124
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14125
14125
|
}
|
|
14126
14126
|
};
|
|
14127
14127
|
var CreateFeedbackMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14128
14128
|
async fetch(variables, options) {
|
|
14129
|
-
const response = await this._syncEngine.mutate(
|
|
14129
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
|
|
14130
14130
|
const data = response.createFeedback;
|
|
14131
14131
|
return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
|
|
14132
14132
|
}
|
|
14133
14133
|
};
|
|
14134
14134
|
var CreateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14135
14135
|
async fetch(variables, options) {
|
|
14136
|
-
const response = await this._syncEngine.mutate(
|
|
14136
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
|
|
14137
14137
|
const data = response.createFolder;
|
|
14138
14138
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14139
14139
|
}
|
|
14140
14140
|
};
|
|
14141
14141
|
var CreateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14142
14142
|
async fetch(variables, options) {
|
|
14143
|
-
const response = await this._syncEngine.mutate(
|
|
14143
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
|
|
14144
14144
|
const data = response.createInsight;
|
|
14145
14145
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14146
14146
|
}
|
|
14147
14147
|
};
|
|
14148
14148
|
var CreateIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14149
14149
|
async fetch(variables, options) {
|
|
14150
|
-
const response = await this._syncEngine.mutate(
|
|
14150
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
|
|
14151
14151
|
const data = response.createIntegration;
|
|
14152
14152
|
return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14153
14153
|
}
|
|
14154
14154
|
};
|
|
14155
14155
|
var CreateReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14156
14156
|
async fetch(variables, options) {
|
|
14157
|
-
const response = await this._syncEngine.mutate(
|
|
14157
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
|
|
14158
14158
|
const data = response.createReport;
|
|
14159
14159
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14160
14160
|
}
|
|
14161
14161
|
};
|
|
14162
14162
|
var CreateTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14163
14163
|
async fetch(variables, options) {
|
|
14164
|
-
const response = await this._syncEngine.mutate(
|
|
14164
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
|
|
14165
14165
|
const data = response.createTable;
|
|
14166
14166
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14167
14167
|
}
|
|
14168
14168
|
};
|
|
14169
14169
|
var CreateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14170
14170
|
async fetch(variables, options) {
|
|
14171
|
-
const response = await this._syncEngine.mutate(
|
|
14171
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
|
|
14172
14172
|
const data = response.createUserSkillFile;
|
|
14173
14173
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14174
14174
|
}
|
|
14175
14175
|
};
|
|
14176
14176
|
var CreateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14177
14177
|
async fetch(variables, options) {
|
|
14178
|
-
const response = await this._syncEngine.mutate(
|
|
14178
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
|
|
14179
14179
|
const data = response.createUserSkillFolder;
|
|
14180
14180
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14181
14181
|
}
|
|
14182
14182
|
};
|
|
14183
14183
|
var DeleteAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14184
14184
|
async fetch(variables, options) {
|
|
14185
|
-
const response = await this._syncEngine.mutate(
|
|
14185
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
|
|
14186
14186
|
const data = response.deleteAgent;
|
|
14187
14187
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14188
14188
|
}
|
|
14189
14189
|
};
|
|
14190
14190
|
var DeleteArtifactMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14191
14191
|
async fetch(variables, options) {
|
|
14192
|
-
const response = await this._syncEngine.mutate(
|
|
14192
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
|
|
14193
14193
|
const data = response.deleteArtifact;
|
|
14194
14194
|
return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
14195
14195
|
}
|
|
14196
14196
|
};
|
|
14197
14197
|
var DeleteChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14198
14198
|
async fetch(variables, options) {
|
|
14199
|
-
const response = await this._syncEngine.mutate(
|
|
14199
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
|
|
14200
14200
|
const data = response.deleteChat;
|
|
14201
14201
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14202
14202
|
}
|
|
14203
14203
|
};
|
|
14204
14204
|
var DeleteDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14205
14205
|
async fetch(variables, options) {
|
|
14206
|
-
const response = await this._syncEngine.mutate(
|
|
14206
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
|
|
14207
14207
|
const data = response.deleteDatabase;
|
|
14208
14208
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14209
14209
|
}
|
|
14210
14210
|
};
|
|
14211
14211
|
var DeleteDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14212
14212
|
async fetch(variables, options) {
|
|
14213
|
-
const response = await this._syncEngine.mutate(
|
|
14213
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
|
|
14214
14214
|
const data = response.deleteDocument;
|
|
14215
14215
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14216
14216
|
}
|
|
14217
14217
|
};
|
|
14218
14218
|
var DeleteFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14219
14219
|
async fetch(variables, options) {
|
|
14220
|
-
const response = await this._syncEngine.mutate(
|
|
14220
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
|
|
14221
14221
|
const data = response.deleteFolder;
|
|
14222
14222
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14223
14223
|
}
|
|
14224
14224
|
};
|
|
14225
14225
|
var DeleteInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14226
14226
|
async fetch(variables, options) {
|
|
14227
|
-
const response = await this._syncEngine.mutate(
|
|
14227
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
|
|
14228
14228
|
const data = response.deleteInsight;
|
|
14229
14229
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14230
14230
|
}
|
|
14231
14231
|
};
|
|
14232
14232
|
var DeleteInsightsMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14233
14233
|
async fetch(variables, options) {
|
|
14234
|
-
const response = await this._syncEngine.mutate(
|
|
14234
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
|
|
14235
14235
|
const data = response.deleteInsights;
|
|
14236
14236
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14237
14237
|
}
|
|
14238
14238
|
};
|
|
14239
14239
|
var DeleteIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14240
14240
|
async fetch(variables) {
|
|
14241
|
-
const response = await this._syncEngine.mutate(
|
|
14241
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
|
|
14242
14242
|
return response.deleteIntegration;
|
|
14243
14243
|
}
|
|
14244
14244
|
};
|
|
14245
14245
|
var DeleteReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14246
14246
|
async fetch(variables, options) {
|
|
14247
|
-
const response = await this._syncEngine.mutate(
|
|
14247
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
|
|
14248
14248
|
const data = response.deleteReport;
|
|
14249
14249
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14250
14250
|
}
|
|
14251
14251
|
};
|
|
14252
14252
|
var DeleteTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14253
14253
|
async fetch(variables, options) {
|
|
14254
|
-
const response = await this._syncEngine.mutate(
|
|
14254
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
|
|
14255
14255
|
const data = response.deleteTable;
|
|
14256
14256
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14257
14257
|
}
|
|
14258
14258
|
};
|
|
14259
14259
|
var DeleteUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14260
14260
|
async fetch(variables, options) {
|
|
14261
|
-
const response = await this._syncEngine.mutate(
|
|
14261
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
|
|
14262
14262
|
const data = response.deleteUserSkillFile;
|
|
14263
14263
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14264
14264
|
}
|
|
14265
14265
|
};
|
|
14266
14266
|
var DeleteUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14267
14267
|
async fetch(variables, options) {
|
|
14268
|
-
const response = await this._syncEngine.mutate(
|
|
14268
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
|
|
14269
14269
|
const data = response.deleteUserSkillFolder;
|
|
14270
14270
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14271
14271
|
}
|
|
14272
14272
|
};
|
|
14273
14273
|
var DisconnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14274
14274
|
async fetch(variables) {
|
|
14275
|
-
const response = await this._syncEngine.mutate(
|
|
14275
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
|
|
14276
14276
|
return response.disconnectIntegration;
|
|
14277
14277
|
}
|
|
14278
14278
|
};
|
|
14279
14279
|
var DismissPulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14280
14280
|
async fetch(variables, options) {
|
|
14281
|
-
const response = await this._syncEngine.mutate(
|
|
14281
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
|
|
14282
14282
|
const data = response.dismissPulseEvent;
|
|
14283
14283
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14284
14284
|
}
|
|
14285
14285
|
};
|
|
14286
14286
|
var ExecuteChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14287
14287
|
async fetch(variables, options) {
|
|
14288
|
-
const response = await this._syncEngine.mutate(
|
|
14288
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
|
|
14289
14289
|
const data = response.executeChatImport;
|
|
14290
14290
|
return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14291
14291
|
}
|
|
14292
14292
|
};
|
|
14293
14293
|
var GenerateUploadUriMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14294
14294
|
async fetch(variables, options) {
|
|
14295
|
-
const response = await this._syncEngine.mutate(
|
|
14295
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
|
|
14296
14296
|
const data = response.generateUploadUri;
|
|
14297
14297
|
return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14298
14298
|
}
|
|
14299
14299
|
};
|
|
14300
14300
|
var PreviewChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14301
14301
|
async fetch(variables, options) {
|
|
14302
|
-
const response = await this._syncEngine.mutate(
|
|
14302
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
|
|
14303
14303
|
const data = response.previewChatImport;
|
|
14304
14304
|
return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14305
14305
|
}
|
|
14306
14306
|
};
|
|
14307
14307
|
var ReanalyzeDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14308
14308
|
async fetch(variables, options) {
|
|
14309
|
-
const response = await this._syncEngine.mutate(
|
|
14309
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
|
|
14310
14310
|
const data = response.reanalyzeDocument;
|
|
14311
14311
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14312
14312
|
}
|
|
14313
14313
|
};
|
|
14314
14314
|
var RefineMindInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14315
14315
|
async fetch(variables) {
|
|
14316
|
-
const response = await this._syncEngine.mutate(
|
|
14316
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
|
|
14317
14317
|
return response.refineMindInstruction;
|
|
14318
14318
|
}
|
|
14319
14319
|
};
|
|
14320
14320
|
var RefreshDatabaseSchemaMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14321
14321
|
async fetch(variables) {
|
|
14322
|
-
const response = await this._syncEngine.mutate(
|
|
14322
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
|
|
14323
14323
|
return response.refreshDatabaseSchema;
|
|
14324
14324
|
}
|
|
14325
14325
|
};
|
|
14326
14326
|
var RefreshInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14327
14327
|
async fetch(variables, options) {
|
|
14328
|
-
const response = await this._syncEngine.mutate(
|
|
14328
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
|
|
14329
14329
|
const data = response.refreshInsight;
|
|
14330
14330
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14331
14331
|
}
|
|
14332
14332
|
};
|
|
14333
14333
|
var ReinterpretSourceMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14334
14334
|
async fetch(variables) {
|
|
14335
|
-
const response = await this._syncEngine.mutate(
|
|
14335
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
|
|
14336
14336
|
return response.reinterpretSource;
|
|
14337
14337
|
}
|
|
14338
14338
|
};
|
|
14339
14339
|
var ReinterpretSourcesOfuserMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14340
14340
|
async fetch(variables) {
|
|
14341
|
-
const response = await this._syncEngine.mutate(
|
|
14341
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
|
|
14342
14342
|
return response.reinterpretSourcesOfuser;
|
|
14343
14343
|
}
|
|
14344
14344
|
};
|
|
14345
14345
|
var RelocateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14346
14346
|
async fetch(variables, options) {
|
|
14347
|
-
const response = await this._syncEngine.mutate(
|
|
14347
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
|
|
14348
14348
|
const data = response.relocateInsight;
|
|
14349
14349
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14350
14350
|
}
|
|
14351
14351
|
};
|
|
14352
14352
|
var RemoveInsightFromReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14353
14353
|
async fetch(variables, options) {
|
|
14354
|
-
const response = await this._syncEngine.mutate(
|
|
14354
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
|
|
14355
14355
|
const data = response.removeInsightFromReport;
|
|
14356
14356
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14357
14357
|
}
|
|
14358
14358
|
};
|
|
14359
14359
|
var ResetWorkspaceMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14360
14360
|
async fetch(variables) {
|
|
14361
|
-
const response = await this._syncEngine.mutate(
|
|
14361
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
|
|
14362
14362
|
return response.resetWorkspace;
|
|
14363
14363
|
}
|
|
14364
14364
|
};
|
|
14365
14365
|
var ResolvePulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14366
14366
|
async fetch(variables, options) {
|
|
14367
|
-
const response = await this._syncEngine.mutate(
|
|
14367
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
|
|
14368
14368
|
const data = response.resolvePulseEvent;
|
|
14369
14369
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14370
14370
|
}
|
|
14371
14371
|
};
|
|
14372
14372
|
var ScheduleWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14373
14373
|
async fetch(variables, options) {
|
|
14374
|
-
const response = await this._syncEngine.mutate(
|
|
14374
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
|
|
14375
14375
|
const data = response.scheduleWorkspaceDeletion;
|
|
14376
14376
|
return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
|
|
14377
14377
|
}
|
|
14378
14378
|
};
|
|
14379
14379
|
var SendMessageMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14380
14380
|
async fetch(variables, options) {
|
|
14381
|
-
const response = await this._syncEngine.mutate(
|
|
14381
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.SendMessageDocument, variables, MUTATION_CACHE_RULES["sendMessage"]);
|
|
14382
14382
|
const data = response.sendMessage;
|
|
14383
14383
|
return new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
|
|
14384
14384
|
}
|
|
14385
14385
|
};
|
|
14386
14386
|
var SetDatabasePrimaryKeyMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14387
14387
|
async fetch(variables) {
|
|
14388
|
-
const response = await this._syncEngine.mutate(
|
|
14388
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
|
|
14389
14389
|
return response.setDatabasePrimaryKey;
|
|
14390
14390
|
}
|
|
14391
14391
|
};
|
|
14392
14392
|
var UpdateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14393
14393
|
async fetch(variables, options) {
|
|
14394
|
-
const response = await this._syncEngine.mutate(
|
|
14394
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
|
|
14395
14395
|
const data = response.updateAgent;
|
|
14396
14396
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14397
14397
|
}
|
|
14398
14398
|
};
|
|
14399
14399
|
var UpdateArtifactNameMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14400
14400
|
async fetch(variables, options) {
|
|
14401
|
-
const response = await this._syncEngine.mutate(
|
|
14401
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"]);
|
|
14402
14402
|
const data = response.updateArtifactName;
|
|
14403
14403
|
return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
14404
14404
|
}
|
|
14405
14405
|
};
|
|
14406
14406
|
var UpdateChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14407
14407
|
async fetch(variables, options) {
|
|
14408
|
-
const response = await this._syncEngine.mutate(
|
|
14408
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
|
|
14409
14409
|
const data = response.updateChat;
|
|
14410
14410
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14411
14411
|
}
|
|
14412
14412
|
};
|
|
14413
14413
|
var UpdateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14414
14414
|
async fetch(variables, options) {
|
|
14415
|
-
const response = await this._syncEngine.mutate(
|
|
14415
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
|
|
14416
14416
|
const data = response.updateDatabase;
|
|
14417
14417
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14418
14418
|
}
|
|
14419
14419
|
};
|
|
14420
14420
|
var UpdateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14421
14421
|
async fetch(variables, options) {
|
|
14422
|
-
const response = await this._syncEngine.mutate(
|
|
14422
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
|
|
14423
14423
|
const data = response.updateDocument;
|
|
14424
14424
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14425
14425
|
}
|
|
14426
14426
|
};
|
|
14427
14427
|
var UpdateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14428
14428
|
async fetch(variables, options) {
|
|
14429
|
-
const response = await this._syncEngine.mutate(
|
|
14429
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
|
|
14430
14430
|
const data = response.updateFolder;
|
|
14431
14431
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14432
14432
|
}
|
|
14433
14433
|
};
|
|
14434
14434
|
var UpdateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14435
14435
|
async fetch(variables, options) {
|
|
14436
|
-
const response = await this._syncEngine.mutate(
|
|
14436
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
|
|
14437
14437
|
const data = response.updateInsight;
|
|
14438
14438
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14439
14439
|
}
|
|
14440
14440
|
};
|
|
14441
14441
|
var UpdateInsightInReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14442
14442
|
async fetch(variables, options) {
|
|
14443
|
-
const response = await this._syncEngine.mutate(
|
|
14443
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
|
|
14444
14444
|
const data = response.updateInsightInReport;
|
|
14445
14445
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14446
14446
|
}
|
|
14447
14447
|
};
|
|
14448
14448
|
var UpdateInsightThumbnailMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14449
14449
|
async fetch(variables) {
|
|
14450
|
-
const response = await this._syncEngine.mutate(
|
|
14450
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
|
|
14451
14451
|
return response.updateInsightThumbnail;
|
|
14452
14452
|
}
|
|
14453
14453
|
};
|
|
14454
14454
|
var UpdateInterpMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14455
14455
|
async fetch(variables, options) {
|
|
14456
|
-
const response = await this._syncEngine.mutate(
|
|
14456
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
|
|
14457
14457
|
const data = response.updateInterp;
|
|
14458
14458
|
return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
|
|
14459
14459
|
}
|
|
14460
14460
|
};
|
|
14461
14461
|
var UpdateLiveContextMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14462
14462
|
async fetch(variables, options) {
|
|
14463
|
-
const response = await this._syncEngine.mutate(
|
|
14463
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdateLiveContextDocument, variables, MUTATION_CACHE_RULES["updateLiveContext"]);
|
|
14464
14464
|
const data = response.updateLiveContext;
|
|
14465
14465
|
return new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
|
|
14466
14466
|
}
|
|
14467
14467
|
};
|
|
14468
14468
|
var UpdatePulseTriggerMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14469
14469
|
async fetch(variables, options) {
|
|
14470
|
-
const response = await this._syncEngine.mutate(
|
|
14470
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
|
|
14471
14471
|
const data = response.updatePulseTrigger;
|
|
14472
14472
|
return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14473
14473
|
}
|
|
14474
14474
|
};
|
|
14475
14475
|
var UpdateReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14476
14476
|
async fetch(variables, options) {
|
|
14477
|
-
const response = await this._syncEngine.mutate(
|
|
14477
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
|
|
14478
14478
|
const data = response.updateReport;
|
|
14479
14479
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14480
14480
|
}
|
|
14481
14481
|
};
|
|
14482
14482
|
var UpdateTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14483
14483
|
async fetch(variables, options) {
|
|
14484
|
-
const response = await this._syncEngine.mutate(
|
|
14484
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
|
|
14485
14485
|
const data = response.updateTable;
|
|
14486
14486
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14487
14487
|
}
|
|
14488
14488
|
};
|
|
14489
14489
|
var UpdateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14490
14490
|
async fetch(variables, options) {
|
|
14491
|
-
const response = await this._syncEngine.mutate(
|
|
14491
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
|
|
14492
14492
|
const data = response.updateUserSkillFile;
|
|
14493
14493
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14494
14494
|
}
|
|
14495
14495
|
};
|
|
14496
14496
|
var UpdateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14497
14497
|
async fetch(variables, options) {
|
|
14498
|
-
const response = await this._syncEngine.mutate(
|
|
14498
|
+
const response = await this._syncEngine.mutate(chunkMFVKPMD4_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
|
|
14499
14499
|
const data = response.updateUserSkillFolder;
|
|
14500
14500
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14501
14501
|
}
|
|
@@ -14509,7 +14509,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14509
14509
|
}
|
|
14510
14510
|
async fetch(options) {
|
|
14511
14511
|
const variables = this._variables;
|
|
14512
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14512
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.AgentDocument, "agent", this._includes, variables);
|
|
14513
14513
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
|
|
14514
14514
|
const data = response.agent;
|
|
14515
14515
|
const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -14521,7 +14521,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14521
14521
|
watch(options) {
|
|
14522
14522
|
const variables = this._variables;
|
|
14523
14523
|
const includes = this._includes;
|
|
14524
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14524
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.AgentDocument, "agent", includes, variables);
|
|
14525
14525
|
const raw = this._syncEngine.watch(
|
|
14526
14526
|
queryDoc,
|
|
14527
14527
|
mergedVars,
|
|
@@ -14551,7 +14551,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14551
14551
|
}
|
|
14552
14552
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
14553
14553
|
chats(variables, builder) {
|
|
14554
|
-
const info = extractIncludeInfo(
|
|
14554
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
14555
14555
|
let children;
|
|
14556
14556
|
if (builder) {
|
|
14557
14557
|
const sub = new ChatSubBuilder();
|
|
@@ -14560,7 +14560,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14560
14560
|
}
|
|
14561
14561
|
this._includes.push({
|
|
14562
14562
|
fieldName: "chats",
|
|
14563
|
-
fragmentDoc:
|
|
14563
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatConnectionFragmentDoc,
|
|
14564
14564
|
variables,
|
|
14565
14565
|
isConnection: true,
|
|
14566
14566
|
isList: false,
|
|
@@ -14585,18 +14585,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
14585
14585
|
}
|
|
14586
14586
|
async fetch(options) {
|
|
14587
14587
|
const variables = this._variables;
|
|
14588
|
-
const response = await this._syncEngine.query(
|
|
14588
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Agent_ChatsDocument, variables, "agent");
|
|
14589
14589
|
const data = response.agent?.chats;
|
|
14590
14590
|
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);
|
|
14591
14591
|
}
|
|
14592
14592
|
watch(options) {
|
|
14593
14593
|
const variables = this._variables;
|
|
14594
14594
|
const raw = this._syncEngine.watch(
|
|
14595
|
-
|
|
14595
|
+
chunkMFVKPMD4_cjs.Agent_ChatsDocument,
|
|
14596
14596
|
variables,
|
|
14597
14597
|
"agent",
|
|
14598
14598
|
async (db) => {
|
|
14599
|
-
const qr = await db._queryResults.get(buildQueryKey("agent", variables,
|
|
14599
|
+
const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkMFVKPMD4_cjs.Agent_ChatsDocument));
|
|
14600
14600
|
const nodes = qr ? await db.table("chats").bulkGet(qr.entityIds) : [];
|
|
14601
14601
|
return { agent: { chats: { __typename: "ChatConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
14602
14602
|
}
|
|
@@ -14616,7 +14616,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14616
14616
|
}
|
|
14617
14617
|
async fetch(options) {
|
|
14618
14618
|
const variables = this._variables;
|
|
14619
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14619
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.AgentsDocument, "agents", this._includes, variables, true);
|
|
14620
14620
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
|
|
14621
14621
|
const data = response.agents;
|
|
14622
14622
|
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);
|
|
@@ -14633,7 +14633,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14633
14633
|
const subscriptionId = crypto.randomUUID();
|
|
14634
14634
|
const includes = this._includes;
|
|
14635
14635
|
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) }] : []);
|
|
14636
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14636
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.AgentsDocument, "agents", includes, variables, true);
|
|
14637
14637
|
const raw = this._syncEngine.watch(
|
|
14638
14638
|
queryDoc,
|
|
14639
14639
|
mergedVars,
|
|
@@ -14668,7 +14668,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14668
14668
|
}
|
|
14669
14669
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
14670
14670
|
chats(variables, builder) {
|
|
14671
|
-
const info = extractIncludeInfo(
|
|
14671
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
14672
14672
|
let children;
|
|
14673
14673
|
if (builder) {
|
|
14674
14674
|
const sub = new ChatSubBuilder();
|
|
@@ -14677,7 +14677,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14677
14677
|
}
|
|
14678
14678
|
this._includes.push({
|
|
14679
14679
|
fieldName: "chats",
|
|
14680
|
-
fragmentDoc:
|
|
14680
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatConnectionFragmentDoc,
|
|
14681
14681
|
variables,
|
|
14682
14682
|
isConnection: true,
|
|
14683
14683
|
isList: false,
|
|
@@ -14703,7 +14703,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14703
14703
|
}
|
|
14704
14704
|
async fetch(options) {
|
|
14705
14705
|
const variables = this._variables;
|
|
14706
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14706
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ArtifactDocument, "artifact", this._includes, variables);
|
|
14707
14707
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
|
|
14708
14708
|
const data = response.artifact;
|
|
14709
14709
|
const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -14715,7 +14715,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14715
14715
|
watch(options) {
|
|
14716
14716
|
const variables = this._variables;
|
|
14717
14717
|
const includes = this._includes;
|
|
14718
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14718
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ArtifactDocument, "artifact", includes, variables);
|
|
14719
14719
|
const raw = this._syncEngine.watch(
|
|
14720
14720
|
queryDoc,
|
|
14721
14721
|
mergedVars,
|
|
@@ -14745,7 +14745,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14745
14745
|
}
|
|
14746
14746
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
14747
14747
|
chat(variables, builder) {
|
|
14748
|
-
const info = extractIncludeInfo(
|
|
14748
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
14749
14749
|
let children;
|
|
14750
14750
|
if (builder) {
|
|
14751
14751
|
const sub = new ChatSubBuilder();
|
|
@@ -14754,7 +14754,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14754
14754
|
}
|
|
14755
14755
|
this._includes.push({
|
|
14756
14756
|
fieldName: "chat",
|
|
14757
|
-
fragmentDoc:
|
|
14757
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatFragmentDoc,
|
|
14758
14758
|
variables,
|
|
14759
14759
|
isConnection: false,
|
|
14760
14760
|
isList: false,
|
|
@@ -14771,10 +14771,10 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14771
14771
|
}
|
|
14772
14772
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
14773
14773
|
file(variables) {
|
|
14774
|
-
const info = extractIncludeInfo(
|
|
14774
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
14775
14775
|
this._includes.push({
|
|
14776
14776
|
fieldName: "file",
|
|
14777
|
-
fragmentDoc:
|
|
14777
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FileFragmentDoc,
|
|
14778
14778
|
variables,
|
|
14779
14779
|
isConnection: false,
|
|
14780
14780
|
isList: false,
|
|
@@ -14790,7 +14790,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14790
14790
|
}
|
|
14791
14791
|
/** Include message in this query (Smart Fetch — single HTTP request). */
|
|
14792
14792
|
message(variables, builder) {
|
|
14793
|
-
const info = extractIncludeInfo(
|
|
14793
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
14794
14794
|
let children;
|
|
14795
14795
|
if (builder) {
|
|
14796
14796
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -14799,7 +14799,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14799
14799
|
}
|
|
14800
14800
|
this._includes.push({
|
|
14801
14801
|
fieldName: "message",
|
|
14802
|
-
fragmentDoc:
|
|
14802
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatMessageFragmentDoc,
|
|
14803
14803
|
variables,
|
|
14804
14804
|
isConnection: false,
|
|
14805
14805
|
isList: false,
|
|
@@ -14823,14 +14823,14 @@ var Artifact_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14823
14823
|
}
|
|
14824
14824
|
async fetch(options) {
|
|
14825
14825
|
const variables = this._variables;
|
|
14826
|
-
const response = await this._syncEngine.query(
|
|
14826
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Artifact_ChatDocument, variables, "artifact");
|
|
14827
14827
|
const data = response.artifact?.chat;
|
|
14828
14828
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14829
14829
|
}
|
|
14830
14830
|
watch(options) {
|
|
14831
14831
|
const variables = this._variables;
|
|
14832
14832
|
const raw = this._syncEngine.watch(
|
|
14833
|
-
|
|
14833
|
+
chunkMFVKPMD4_cjs.Artifact_ChatDocument,
|
|
14834
14834
|
variables,
|
|
14835
14835
|
"artifact",
|
|
14836
14836
|
async (db) => {
|
|
@@ -14853,14 +14853,14 @@ var Artifact_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14853
14853
|
}
|
|
14854
14854
|
async fetch(options) {
|
|
14855
14855
|
const variables = this._variables;
|
|
14856
|
-
const response = await this._syncEngine.query(
|
|
14856
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
|
|
14857
14857
|
const data = response.artifact?.chat?.insight;
|
|
14858
14858
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14859
14859
|
}
|
|
14860
14860
|
watch(options) {
|
|
14861
14861
|
const variables = this._variables;
|
|
14862
14862
|
const raw = this._syncEngine.watch(
|
|
14863
|
-
|
|
14863
|
+
chunkMFVKPMD4_cjs.Artifact_Chat_InsightDocument,
|
|
14864
14864
|
variables,
|
|
14865
14865
|
"artifact",
|
|
14866
14866
|
async (db) => {
|
|
@@ -14883,14 +14883,14 @@ var Artifact_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14883
14883
|
}
|
|
14884
14884
|
async fetch(options) {
|
|
14885
14885
|
const variables = this._variables;
|
|
14886
|
-
const response = await this._syncEngine.query(
|
|
14886
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Artifact_FileDocument, variables, "artifact");
|
|
14887
14887
|
const data = response.artifact?.file;
|
|
14888
14888
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14889
14889
|
}
|
|
14890
14890
|
watch(options) {
|
|
14891
14891
|
const variables = this._variables;
|
|
14892
14892
|
const raw = this._syncEngine.watch(
|
|
14893
|
-
|
|
14893
|
+
chunkMFVKPMD4_cjs.Artifact_FileDocument,
|
|
14894
14894
|
variables,
|
|
14895
14895
|
"artifact",
|
|
14896
14896
|
async (db) => {
|
|
@@ -14913,14 +14913,14 @@ var Artifact_MessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14913
14913
|
}
|
|
14914
14914
|
async fetch(options) {
|
|
14915
14915
|
const variables = this._variables;
|
|
14916
|
-
const response = await this._syncEngine.query(
|
|
14916
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Artifact_MessageDocument, variables, "artifact");
|
|
14917
14917
|
const data = response.artifact?.message;
|
|
14918
14918
|
return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14919
14919
|
}
|
|
14920
14920
|
watch(options) {
|
|
14921
14921
|
const variables = this._variables;
|
|
14922
14922
|
const raw = this._syncEngine.watch(
|
|
14923
|
-
|
|
14923
|
+
chunkMFVKPMD4_cjs.Artifact_MessageDocument,
|
|
14924
14924
|
variables,
|
|
14925
14925
|
"artifact",
|
|
14926
14926
|
async (db) => {
|
|
@@ -14943,14 +14943,14 @@ var Artifact_Message_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14943
14943
|
}
|
|
14944
14944
|
async fetch(options) {
|
|
14945
14945
|
const variables = this._variables;
|
|
14946
|
-
const response = await this._syncEngine.query(
|
|
14946
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Artifact_Message_ChatDocument, variables, "artifact");
|
|
14947
14947
|
const data = response.artifact?.message?.chat;
|
|
14948
14948
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14949
14949
|
}
|
|
14950
14950
|
watch(options) {
|
|
14951
14951
|
const variables = this._variables;
|
|
14952
14952
|
const raw = this._syncEngine.watch(
|
|
14953
|
-
|
|
14953
|
+
chunkMFVKPMD4_cjs.Artifact_Message_ChatDocument,
|
|
14954
14954
|
variables,
|
|
14955
14955
|
"artifact",
|
|
14956
14956
|
async (db) => {
|
|
@@ -14972,7 +14972,7 @@ var Artifact_Message_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14972
14972
|
this._variables = variables;
|
|
14973
14973
|
}
|
|
14974
14974
|
async fetch(options) {
|
|
14975
|
-
const response = await this._syncEngine.query(
|
|
14975
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
|
|
14976
14976
|
const data = response.artifact?.message?.contents;
|
|
14977
14977
|
if (!Array.isArray(data)) return [];
|
|
14978
14978
|
return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -14986,14 +14986,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14986
14986
|
}
|
|
14987
14987
|
async fetch(options) {
|
|
14988
14988
|
const variables = this._variables;
|
|
14989
|
-
const response = await this._syncEngine.query(
|
|
14989
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
|
|
14990
14990
|
const data = response.artifact?.message?.feedback;
|
|
14991
14991
|
return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14992
14992
|
}
|
|
14993
14993
|
watch(options) {
|
|
14994
14994
|
const variables = this._variables;
|
|
14995
14995
|
const raw = this._syncEngine.watch(
|
|
14996
|
-
|
|
14996
|
+
chunkMFVKPMD4_cjs.Artifact_Message_FeedbackDocument,
|
|
14997
14997
|
variables,
|
|
14998
14998
|
"artifact",
|
|
14999
14999
|
async (db) => {
|
|
@@ -15017,7 +15017,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15017
15017
|
}
|
|
15018
15018
|
async fetch(options) {
|
|
15019
15019
|
const variables = this._variables;
|
|
15020
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15020
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
|
|
15021
15021
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
|
|
15022
15022
|
const data = response.artifacts;
|
|
15023
15023
|
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);
|
|
@@ -15034,7 +15034,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15034
15034
|
const subscriptionId = crypto.randomUUID();
|
|
15035
15035
|
const includes = this._includes;
|
|
15036
15036
|
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) }] : []);
|
|
15037
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15037
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
|
|
15038
15038
|
const raw = this._syncEngine.watch(
|
|
15039
15039
|
queryDoc,
|
|
15040
15040
|
mergedVars,
|
|
@@ -15069,7 +15069,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15069
15069
|
}
|
|
15070
15070
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15071
15071
|
chat(variables, builder) {
|
|
15072
|
-
const info = extractIncludeInfo(
|
|
15072
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
15073
15073
|
let children;
|
|
15074
15074
|
if (builder) {
|
|
15075
15075
|
const sub = new ChatSubBuilder();
|
|
@@ -15078,7 +15078,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15078
15078
|
}
|
|
15079
15079
|
this._includes.push({
|
|
15080
15080
|
fieldName: "chat",
|
|
15081
|
-
fragmentDoc:
|
|
15081
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatFragmentDoc,
|
|
15082
15082
|
variables,
|
|
15083
15083
|
isConnection: false,
|
|
15084
15084
|
isList: false,
|
|
@@ -15095,10 +15095,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15095
15095
|
}
|
|
15096
15096
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
15097
15097
|
file(variables) {
|
|
15098
|
-
const info = extractIncludeInfo(
|
|
15098
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
15099
15099
|
this._includes.push({
|
|
15100
15100
|
fieldName: "file",
|
|
15101
|
-
fragmentDoc:
|
|
15101
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FileFragmentDoc,
|
|
15102
15102
|
variables,
|
|
15103
15103
|
isConnection: false,
|
|
15104
15104
|
isList: false,
|
|
@@ -15114,7 +15114,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15114
15114
|
}
|
|
15115
15115
|
/** Include message in this query (Smart Fetch — single HTTP request). */
|
|
15116
15116
|
message(variables, builder) {
|
|
15117
|
-
const info = extractIncludeInfo(
|
|
15117
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
15118
15118
|
let children;
|
|
15119
15119
|
if (builder) {
|
|
15120
15120
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -15123,7 +15123,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15123
15123
|
}
|
|
15124
15124
|
this._includes.push({
|
|
15125
15125
|
fieldName: "message",
|
|
15126
|
-
fragmentDoc:
|
|
15126
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatMessageFragmentDoc,
|
|
15127
15127
|
variables,
|
|
15128
15128
|
isConnection: false,
|
|
15129
15129
|
isList: false,
|
|
@@ -15148,7 +15148,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15148
15148
|
}
|
|
15149
15149
|
async fetch(options) {
|
|
15150
15150
|
const variables = this._variables;
|
|
15151
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15151
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ChatDocument, "chat", this._includes, variables);
|
|
15152
15152
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
|
|
15153
15153
|
const data = response.chat;
|
|
15154
15154
|
const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15160,7 +15160,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15160
15160
|
watch(options) {
|
|
15161
15161
|
const variables = this._variables;
|
|
15162
15162
|
const includes = this._includes;
|
|
15163
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15163
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ChatDocument, "chat", includes, variables);
|
|
15164
15164
|
const raw = this._syncEngine.watch(
|
|
15165
15165
|
queryDoc,
|
|
15166
15166
|
mergedVars,
|
|
@@ -15190,7 +15190,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15190
15190
|
}
|
|
15191
15191
|
/** Include agents in this query (Smart Fetch — single HTTP request). */
|
|
15192
15192
|
agents(variables, builder) {
|
|
15193
|
-
const info = extractIncludeInfo(
|
|
15193
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
15194
15194
|
let children;
|
|
15195
15195
|
if (builder) {
|
|
15196
15196
|
const sub = new AgentSubBuilder();
|
|
@@ -15199,7 +15199,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15199
15199
|
}
|
|
15200
15200
|
this._includes.push({
|
|
15201
15201
|
fieldName: "agents",
|
|
15202
|
-
fragmentDoc:
|
|
15202
|
+
fragmentDoc: chunkMFVKPMD4_cjs.AgentConnectionFragmentDoc,
|
|
15203
15203
|
variables,
|
|
15204
15204
|
isConnection: true,
|
|
15205
15205
|
isList: false,
|
|
@@ -15217,7 +15217,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15217
15217
|
}
|
|
15218
15218
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15219
15219
|
artifacts(variables, builder) {
|
|
15220
|
-
const info = extractIncludeInfo(
|
|
15220
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
15221
15221
|
let children;
|
|
15222
15222
|
if (builder) {
|
|
15223
15223
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15226,7 +15226,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15226
15226
|
}
|
|
15227
15227
|
this._includes.push({
|
|
15228
15228
|
fieldName: "artifacts",
|
|
15229
|
-
fragmentDoc:
|
|
15229
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ArtifactConnectionFragmentDoc,
|
|
15230
15230
|
variables,
|
|
15231
15231
|
isConnection: true,
|
|
15232
15232
|
isList: false,
|
|
@@ -15244,7 +15244,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15244
15244
|
}
|
|
15245
15245
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
15246
15246
|
insight(variables, builder) {
|
|
15247
|
-
const info = extractIncludeInfo(
|
|
15247
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
15248
15248
|
let children;
|
|
15249
15249
|
if (builder) {
|
|
15250
15250
|
const sub = new InsightSubBuilder();
|
|
@@ -15253,7 +15253,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15253
15253
|
}
|
|
15254
15254
|
this._includes.push({
|
|
15255
15255
|
fieldName: "insight",
|
|
15256
|
-
fragmentDoc:
|
|
15256
|
+
fragmentDoc: chunkMFVKPMD4_cjs.InsightFragmentDoc,
|
|
15257
15257
|
variables,
|
|
15258
15258
|
isConnection: false,
|
|
15259
15259
|
isList: false,
|
|
@@ -15270,7 +15270,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15270
15270
|
}
|
|
15271
15271
|
/** Include messages in this query (Smart Fetch — single HTTP request). */
|
|
15272
15272
|
messages(variables, builder) {
|
|
15273
|
-
const info = extractIncludeInfo(
|
|
15273
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
15274
15274
|
let children;
|
|
15275
15275
|
if (builder) {
|
|
15276
15276
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -15279,7 +15279,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15279
15279
|
}
|
|
15280
15280
|
this._includes.push({
|
|
15281
15281
|
fieldName: "messages",
|
|
15282
|
-
fragmentDoc:
|
|
15282
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatMessageConnectionFragmentDoc,
|
|
15283
15283
|
variables,
|
|
15284
15284
|
isConnection: true,
|
|
15285
15285
|
isList: false,
|
|
@@ -15304,18 +15304,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
15304
15304
|
}
|
|
15305
15305
|
async fetch(options) {
|
|
15306
15306
|
const variables = this._variables;
|
|
15307
|
-
const response = await this._syncEngine.query(
|
|
15307
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Chat_AgentsDocument, variables, "chat");
|
|
15308
15308
|
const data = response.chat?.agents;
|
|
15309
15309
|
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);
|
|
15310
15310
|
}
|
|
15311
15311
|
watch(options) {
|
|
15312
15312
|
const variables = this._variables;
|
|
15313
15313
|
const raw = this._syncEngine.watch(
|
|
15314
|
-
|
|
15314
|
+
chunkMFVKPMD4_cjs.Chat_AgentsDocument,
|
|
15315
15315
|
variables,
|
|
15316
15316
|
"chat",
|
|
15317
15317
|
async (db) => {
|
|
15318
|
-
const qr = await db._queryResults.get(buildQueryKey("chat", variables,
|
|
15318
|
+
const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkMFVKPMD4_cjs.Chat_AgentsDocument));
|
|
15319
15319
|
const nodes = qr ? await db.table("agents").bulkGet(qr.entityIds) : [];
|
|
15320
15320
|
return { chat: { agents: { __typename: "AgentConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
15321
15321
|
}
|
|
@@ -15334,18 +15334,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk342BFYZZ_cjs.R
|
|
|
15334
15334
|
}
|
|
15335
15335
|
async fetch(options) {
|
|
15336
15336
|
const variables = this._variables;
|
|
15337
|
-
const response = await this._syncEngine.query(
|
|
15337
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Chat_ArtifactsDocument, variables, "chat");
|
|
15338
15338
|
const data = response.chat?.artifacts;
|
|
15339
15339
|
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);
|
|
15340
15340
|
}
|
|
15341
15341
|
watch(options) {
|
|
15342
15342
|
const variables = this._variables;
|
|
15343
15343
|
const raw = this._syncEngine.watch(
|
|
15344
|
-
|
|
15344
|
+
chunkMFVKPMD4_cjs.Chat_ArtifactsDocument,
|
|
15345
15345
|
variables,
|
|
15346
15346
|
"chat",
|
|
15347
15347
|
async (db) => {
|
|
15348
|
-
const qr = await db._queryResults.get(buildQueryKey("chat", variables,
|
|
15348
|
+
const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkMFVKPMD4_cjs.Chat_ArtifactsDocument));
|
|
15349
15349
|
const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
|
|
15350
15350
|
return { chat: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
15351
15351
|
}
|
|
@@ -15364,14 +15364,14 @@ var Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15364
15364
|
}
|
|
15365
15365
|
async fetch(options) {
|
|
15366
15366
|
const variables = this._variables;
|
|
15367
|
-
const response = await this._syncEngine.query(
|
|
15367
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Chat_InsightDocument, variables, "chat");
|
|
15368
15368
|
const data = response.chat?.insight;
|
|
15369
15369
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15370
15370
|
}
|
|
15371
15371
|
watch(options) {
|
|
15372
15372
|
const variables = this._variables;
|
|
15373
15373
|
const raw = this._syncEngine.watch(
|
|
15374
|
-
|
|
15374
|
+
chunkMFVKPMD4_cjs.Chat_InsightDocument,
|
|
15375
15375
|
variables,
|
|
15376
15376
|
"chat",
|
|
15377
15377
|
async (db) => {
|
|
@@ -15393,7 +15393,7 @@ var Chat_Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15393
15393
|
this._variables = variables;
|
|
15394
15394
|
}
|
|
15395
15395
|
async fetch(options) {
|
|
15396
|
-
const response = await this._syncEngine.query(
|
|
15396
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
|
|
15397
15397
|
const data = response.chat?.insight?.reportMembers;
|
|
15398
15398
|
if (!Array.isArray(data)) return [];
|
|
15399
15399
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -15407,14 +15407,14 @@ var Chat_Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15407
15407
|
}
|
|
15408
15408
|
async fetch(options) {
|
|
15409
15409
|
const variables = this._variables;
|
|
15410
|
-
const response = await this._syncEngine.query(
|
|
15410
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
|
|
15411
15411
|
const data = response.chat?.insight?.thumbnailFile;
|
|
15412
15412
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15413
15413
|
}
|
|
15414
15414
|
watch(options) {
|
|
15415
15415
|
const variables = this._variables;
|
|
15416
15416
|
const raw = this._syncEngine.watch(
|
|
15417
|
-
|
|
15417
|
+
chunkMFVKPMD4_cjs.Chat_Insight_ThumbnailFileDocument,
|
|
15418
15418
|
variables,
|
|
15419
15419
|
"chat",
|
|
15420
15420
|
async (db) => {
|
|
@@ -15437,18 +15437,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk342BFYZZ_cjs.Req
|
|
|
15437
15437
|
}
|
|
15438
15438
|
async fetch(options) {
|
|
15439
15439
|
const variables = this._variables;
|
|
15440
|
-
const response = await this._syncEngine.query(
|
|
15440
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Chat_MessagesDocument, variables, "chat");
|
|
15441
15441
|
const data = response.chat?.messages;
|
|
15442
15442
|
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);
|
|
15443
15443
|
}
|
|
15444
15444
|
watch(options) {
|
|
15445
15445
|
const variables = this._variables;
|
|
15446
15446
|
const raw = this._syncEngine.watch(
|
|
15447
|
-
|
|
15447
|
+
chunkMFVKPMD4_cjs.Chat_MessagesDocument,
|
|
15448
15448
|
variables,
|
|
15449
15449
|
"chat",
|
|
15450
15450
|
async (db) => {
|
|
15451
|
-
const qr = await db._queryResults.get(buildQueryKey("chat", variables,
|
|
15451
|
+
const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkMFVKPMD4_cjs.Chat_MessagesDocument));
|
|
15452
15452
|
const nodes = qr ? await db.table("chatMessages").bulkGet(qr.entityIds) : [];
|
|
15453
15453
|
return { chat: { messages: { __typename: "ChatMessageConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
15454
15454
|
}
|
|
@@ -15468,7 +15468,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15468
15468
|
}
|
|
15469
15469
|
async fetch(options) {
|
|
15470
15470
|
const variables = this._variables;
|
|
15471
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15471
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
|
|
15472
15472
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
|
|
15473
15473
|
const data = response.chatMessage;
|
|
15474
15474
|
const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15480,7 +15480,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15480
15480
|
watch(options) {
|
|
15481
15481
|
const variables = this._variables;
|
|
15482
15482
|
const includes = this._includes;
|
|
15483
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15483
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ChatMessageDocument, "chatMessage", includes, variables);
|
|
15484
15484
|
const raw = this._syncEngine.watch(
|
|
15485
15485
|
queryDoc,
|
|
15486
15486
|
mergedVars,
|
|
@@ -15510,7 +15510,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15510
15510
|
}
|
|
15511
15511
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15512
15512
|
artifacts(variables, builder) {
|
|
15513
|
-
const info = extractIncludeInfo(
|
|
15513
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
15514
15514
|
let children;
|
|
15515
15515
|
if (builder) {
|
|
15516
15516
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15519,7 +15519,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15519
15519
|
}
|
|
15520
15520
|
this._includes.push({
|
|
15521
15521
|
fieldName: "artifacts",
|
|
15522
|
-
fragmentDoc:
|
|
15522
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ArtifactConnectionFragmentDoc,
|
|
15523
15523
|
variables,
|
|
15524
15524
|
isConnection: true,
|
|
15525
15525
|
isList: false,
|
|
@@ -15537,7 +15537,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15537
15537
|
}
|
|
15538
15538
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15539
15539
|
chat(variables, builder) {
|
|
15540
|
-
const info = extractIncludeInfo(
|
|
15540
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
15541
15541
|
let children;
|
|
15542
15542
|
if (builder) {
|
|
15543
15543
|
const sub = new ChatSubBuilder();
|
|
@@ -15546,7 +15546,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15546
15546
|
}
|
|
15547
15547
|
this._includes.push({
|
|
15548
15548
|
fieldName: "chat",
|
|
15549
|
-
fragmentDoc:
|
|
15549
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatFragmentDoc,
|
|
15550
15550
|
variables,
|
|
15551
15551
|
isConnection: false,
|
|
15552
15552
|
isList: false,
|
|
@@ -15563,10 +15563,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15563
15563
|
}
|
|
15564
15564
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
15565
15565
|
contents(variables) {
|
|
15566
|
-
const info = extractIncludeInfo(
|
|
15566
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
15567
15567
|
this._includes.push({
|
|
15568
15568
|
fieldName: "contents",
|
|
15569
|
-
fragmentDoc:
|
|
15569
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ContentBlockFragmentDoc,
|
|
15570
15570
|
variables,
|
|
15571
15571
|
isConnection: false,
|
|
15572
15572
|
isList: true,
|
|
@@ -15582,10 +15582,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15582
15582
|
}
|
|
15583
15583
|
/** Include feedback in this query (Smart Fetch — single HTTP request). */
|
|
15584
15584
|
feedback(variables) {
|
|
15585
|
-
const info = extractIncludeInfo(
|
|
15585
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
15586
15586
|
this._includes.push({
|
|
15587
15587
|
fieldName: "feedback",
|
|
15588
|
-
fragmentDoc:
|
|
15588
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FeedbackFragmentDoc,
|
|
15589
15589
|
variables,
|
|
15590
15590
|
isConnection: false,
|
|
15591
15591
|
isList: false,
|
|
@@ -15608,18 +15608,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
|
|
|
15608
15608
|
}
|
|
15609
15609
|
async fetch(options) {
|
|
15610
15610
|
const variables = this._variables;
|
|
15611
|
-
const response = await this._syncEngine.query(
|
|
15611
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
|
|
15612
15612
|
const data = response.chatMessage?.artifacts;
|
|
15613
15613
|
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);
|
|
15614
15614
|
}
|
|
15615
15615
|
watch(options) {
|
|
15616
15616
|
const variables = this._variables;
|
|
15617
15617
|
const raw = this._syncEngine.watch(
|
|
15618
|
-
|
|
15618
|
+
chunkMFVKPMD4_cjs.ChatMessage_ArtifactsDocument,
|
|
15619
15619
|
variables,
|
|
15620
15620
|
"chatMessage",
|
|
15621
15621
|
async (db) => {
|
|
15622
|
-
const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables,
|
|
15622
|
+
const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkMFVKPMD4_cjs.ChatMessage_ArtifactsDocument));
|
|
15623
15623
|
const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
|
|
15624
15624
|
return { chatMessage: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
15625
15625
|
}
|
|
@@ -15638,14 +15638,14 @@ var ChatMessage_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15638
15638
|
}
|
|
15639
15639
|
async fetch(options) {
|
|
15640
15640
|
const variables = this._variables;
|
|
15641
|
-
const response = await this._syncEngine.query(
|
|
15641
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
|
|
15642
15642
|
const data = response.chatMessage?.chat;
|
|
15643
15643
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15644
15644
|
}
|
|
15645
15645
|
watch(options) {
|
|
15646
15646
|
const variables = this._variables;
|
|
15647
15647
|
const raw = this._syncEngine.watch(
|
|
15648
|
-
|
|
15648
|
+
chunkMFVKPMD4_cjs.ChatMessage_ChatDocument,
|
|
15649
15649
|
variables,
|
|
15650
15650
|
"chatMessage",
|
|
15651
15651
|
async (db) => {
|
|
@@ -15668,14 +15668,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15668
15668
|
}
|
|
15669
15669
|
async fetch(options) {
|
|
15670
15670
|
const variables = this._variables;
|
|
15671
|
-
const response = await this._syncEngine.query(
|
|
15671
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
|
|
15672
15672
|
const data = response.chatMessage?.chat?.insight;
|
|
15673
15673
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15674
15674
|
}
|
|
15675
15675
|
watch(options) {
|
|
15676
15676
|
const variables = this._variables;
|
|
15677
15677
|
const raw = this._syncEngine.watch(
|
|
15678
|
-
|
|
15678
|
+
chunkMFVKPMD4_cjs.ChatMessage_Chat_InsightDocument,
|
|
15679
15679
|
variables,
|
|
15680
15680
|
"chatMessage",
|
|
15681
15681
|
async (db) => {
|
|
@@ -15697,7 +15697,7 @@ var ChatMessage_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15697
15697
|
this._variables = variables;
|
|
15698
15698
|
}
|
|
15699
15699
|
async fetch(options) {
|
|
15700
|
-
const response = await this._syncEngine.query(
|
|
15700
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
|
|
15701
15701
|
const data = response.chatMessage?.contents;
|
|
15702
15702
|
if (!Array.isArray(data)) return [];
|
|
15703
15703
|
return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -15711,14 +15711,14 @@ var ChatMessage_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15711
15711
|
}
|
|
15712
15712
|
async fetch(options) {
|
|
15713
15713
|
const variables = this._variables;
|
|
15714
|
-
const response = await this._syncEngine.query(
|
|
15714
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
|
|
15715
15715
|
const data = response.chatMessage?.feedback;
|
|
15716
15716
|
return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15717
15717
|
}
|
|
15718
15718
|
watch(options) {
|
|
15719
15719
|
const variables = this._variables;
|
|
15720
15720
|
const raw = this._syncEngine.watch(
|
|
15721
|
-
|
|
15721
|
+
chunkMFVKPMD4_cjs.ChatMessage_FeedbackDocument,
|
|
15722
15722
|
variables,
|
|
15723
15723
|
"chatMessage",
|
|
15724
15724
|
async (db) => {
|
|
@@ -15742,7 +15742,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15742
15742
|
}
|
|
15743
15743
|
async fetch(options) {
|
|
15744
15744
|
const variables = this._variables;
|
|
15745
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15745
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
|
|
15746
15746
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
|
|
15747
15747
|
const data = response.chatMessages;
|
|
15748
15748
|
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);
|
|
@@ -15759,7 +15759,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15759
15759
|
const subscriptionId = crypto.randomUUID();
|
|
15760
15760
|
const includes = this._includes;
|
|
15761
15761
|
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) }] : []);
|
|
15762
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15762
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
|
|
15763
15763
|
const raw = this._syncEngine.watch(
|
|
15764
15764
|
queryDoc,
|
|
15765
15765
|
mergedVars,
|
|
@@ -15794,7 +15794,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15794
15794
|
}
|
|
15795
15795
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15796
15796
|
artifacts(variables, builder) {
|
|
15797
|
-
const info = extractIncludeInfo(
|
|
15797
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
15798
15798
|
let children;
|
|
15799
15799
|
if (builder) {
|
|
15800
15800
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15803,7 +15803,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15803
15803
|
}
|
|
15804
15804
|
this._includes.push({
|
|
15805
15805
|
fieldName: "artifacts",
|
|
15806
|
-
fragmentDoc:
|
|
15806
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ArtifactConnectionFragmentDoc,
|
|
15807
15807
|
variables,
|
|
15808
15808
|
isConnection: true,
|
|
15809
15809
|
isList: false,
|
|
@@ -15821,7 +15821,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15821
15821
|
}
|
|
15822
15822
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15823
15823
|
chat(variables, builder) {
|
|
15824
|
-
const info = extractIncludeInfo(
|
|
15824
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
15825
15825
|
let children;
|
|
15826
15826
|
if (builder) {
|
|
15827
15827
|
const sub = new ChatSubBuilder();
|
|
@@ -15830,7 +15830,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15830
15830
|
}
|
|
15831
15831
|
this._includes.push({
|
|
15832
15832
|
fieldName: "chat",
|
|
15833
|
-
fragmentDoc:
|
|
15833
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatFragmentDoc,
|
|
15834
15834
|
variables,
|
|
15835
15835
|
isConnection: false,
|
|
15836
15836
|
isList: false,
|
|
@@ -15847,10 +15847,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15847
15847
|
}
|
|
15848
15848
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
15849
15849
|
contents(variables) {
|
|
15850
|
-
const info = extractIncludeInfo(
|
|
15850
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
15851
15851
|
this._includes.push({
|
|
15852
15852
|
fieldName: "contents",
|
|
15853
|
-
fragmentDoc:
|
|
15853
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ContentBlockFragmentDoc,
|
|
15854
15854
|
variables,
|
|
15855
15855
|
isConnection: false,
|
|
15856
15856
|
isList: true,
|
|
@@ -15866,10 +15866,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15866
15866
|
}
|
|
15867
15867
|
/** Include feedback in this query (Smart Fetch — single HTTP request). */
|
|
15868
15868
|
feedback(variables) {
|
|
15869
|
-
const info = extractIncludeInfo(
|
|
15869
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
15870
15870
|
this._includes.push({
|
|
15871
15871
|
fieldName: "feedback",
|
|
15872
|
-
fragmentDoc:
|
|
15872
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FeedbackFragmentDoc,
|
|
15873
15873
|
variables,
|
|
15874
15874
|
isConnection: false,
|
|
15875
15875
|
isList: false,
|
|
@@ -15893,7 +15893,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15893
15893
|
}
|
|
15894
15894
|
async fetch(options) {
|
|
15895
15895
|
const variables = this._variables;
|
|
15896
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15896
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ChatsDocument, "chats", this._includes, variables, true);
|
|
15897
15897
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
|
|
15898
15898
|
const data = response.chats;
|
|
15899
15899
|
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);
|
|
@@ -15910,7 +15910,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15910
15910
|
const subscriptionId = crypto.randomUUID();
|
|
15911
15911
|
const includes = this._includes;
|
|
15912
15912
|
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) }] : []);
|
|
15913
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15913
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ChatsDocument, "chats", includes, variables, true);
|
|
15914
15914
|
const raw = this._syncEngine.watch(
|
|
15915
15915
|
queryDoc,
|
|
15916
15916
|
mergedVars,
|
|
@@ -15945,7 +15945,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15945
15945
|
}
|
|
15946
15946
|
/** Include agents in this query (Smart Fetch — single HTTP request). */
|
|
15947
15947
|
agents(variables, builder) {
|
|
15948
|
-
const info = extractIncludeInfo(
|
|
15948
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
15949
15949
|
let children;
|
|
15950
15950
|
if (builder) {
|
|
15951
15951
|
const sub = new AgentSubBuilder();
|
|
@@ -15954,7 +15954,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15954
15954
|
}
|
|
15955
15955
|
this._includes.push({
|
|
15956
15956
|
fieldName: "agents",
|
|
15957
|
-
fragmentDoc:
|
|
15957
|
+
fragmentDoc: chunkMFVKPMD4_cjs.AgentConnectionFragmentDoc,
|
|
15958
15958
|
variables,
|
|
15959
15959
|
isConnection: true,
|
|
15960
15960
|
isList: false,
|
|
@@ -15972,7 +15972,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15972
15972
|
}
|
|
15973
15973
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15974
15974
|
artifacts(variables, builder) {
|
|
15975
|
-
const info = extractIncludeInfo(
|
|
15975
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
15976
15976
|
let children;
|
|
15977
15977
|
if (builder) {
|
|
15978
15978
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15981,7 +15981,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15981
15981
|
}
|
|
15982
15982
|
this._includes.push({
|
|
15983
15983
|
fieldName: "artifacts",
|
|
15984
|
-
fragmentDoc:
|
|
15984
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ArtifactConnectionFragmentDoc,
|
|
15985
15985
|
variables,
|
|
15986
15986
|
isConnection: true,
|
|
15987
15987
|
isList: false,
|
|
@@ -15999,7 +15999,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15999
15999
|
}
|
|
16000
16000
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
16001
16001
|
insight(variables, builder) {
|
|
16002
|
-
const info = extractIncludeInfo(
|
|
16002
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
16003
16003
|
let children;
|
|
16004
16004
|
if (builder) {
|
|
16005
16005
|
const sub = new InsightSubBuilder();
|
|
@@ -16008,7 +16008,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16008
16008
|
}
|
|
16009
16009
|
this._includes.push({
|
|
16010
16010
|
fieldName: "insight",
|
|
16011
|
-
fragmentDoc:
|
|
16011
|
+
fragmentDoc: chunkMFVKPMD4_cjs.InsightFragmentDoc,
|
|
16012
16012
|
variables,
|
|
16013
16013
|
isConnection: false,
|
|
16014
16014
|
isList: false,
|
|
@@ -16025,7 +16025,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16025
16025
|
}
|
|
16026
16026
|
/** Include messages in this query (Smart Fetch — single HTTP request). */
|
|
16027
16027
|
messages(variables, builder) {
|
|
16028
|
-
const info = extractIncludeInfo(
|
|
16028
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
16029
16029
|
let children;
|
|
16030
16030
|
if (builder) {
|
|
16031
16031
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -16034,7 +16034,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16034
16034
|
}
|
|
16035
16035
|
this._includes.push({
|
|
16036
16036
|
fieldName: "messages",
|
|
16037
|
-
fragmentDoc:
|
|
16037
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatMessageConnectionFragmentDoc,
|
|
16038
16038
|
variables,
|
|
16039
16039
|
isConnection: true,
|
|
16040
16040
|
isList: false,
|
|
@@ -16060,7 +16060,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16060
16060
|
}
|
|
16061
16061
|
async fetch(options) {
|
|
16062
16062
|
const variables = this._variables;
|
|
16063
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16063
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DatabaseDocument, "database", this._includes, variables);
|
|
16064
16064
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
|
|
16065
16065
|
const data = response.database;
|
|
16066
16066
|
const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16072,7 +16072,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16072
16072
|
watch(options) {
|
|
16073
16073
|
const variables = this._variables;
|
|
16074
16074
|
const includes = this._includes;
|
|
16075
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16075
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DatabaseDocument, "database", includes, variables);
|
|
16076
16076
|
const raw = this._syncEngine.watch(
|
|
16077
16077
|
queryDoc,
|
|
16078
16078
|
mergedVars,
|
|
@@ -16102,10 +16102,10 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16102
16102
|
}
|
|
16103
16103
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16104
16104
|
engine(variables) {
|
|
16105
|
-
const info = extractIncludeInfo(
|
|
16105
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
16106
16106
|
this._includes.push({
|
|
16107
16107
|
fieldName: "engine",
|
|
16108
|
-
fragmentDoc:
|
|
16108
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DatabaseEngineFragmentDoc,
|
|
16109
16109
|
variables,
|
|
16110
16110
|
isConnection: false,
|
|
16111
16111
|
isList: false,
|
|
@@ -16121,7 +16121,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16121
16121
|
}
|
|
16122
16122
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16123
16123
|
tables(variables, builder) {
|
|
16124
|
-
const info = extractIncludeInfo(
|
|
16124
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
16125
16125
|
let children;
|
|
16126
16126
|
if (builder) {
|
|
16127
16127
|
const sub = new TableSubBuilder();
|
|
@@ -16130,7 +16130,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16130
16130
|
}
|
|
16131
16131
|
this._includes.push({
|
|
16132
16132
|
fieldName: "tables",
|
|
16133
|
-
fragmentDoc:
|
|
16133
|
+
fragmentDoc: chunkMFVKPMD4_cjs.TableConnectionFragmentDoc,
|
|
16134
16134
|
variables,
|
|
16135
16135
|
isConnection: true,
|
|
16136
16136
|
isList: false,
|
|
@@ -16155,14 +16155,14 @@ var Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16155
16155
|
}
|
|
16156
16156
|
async fetch(options) {
|
|
16157
16157
|
const variables = this._variables;
|
|
16158
|
-
const response = await this._syncEngine.query(
|
|
16158
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Database_EngineDocument, variables, "database");
|
|
16159
16159
|
const data = response.database?.engine;
|
|
16160
16160
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16161
16161
|
}
|
|
16162
16162
|
watch(options) {
|
|
16163
16163
|
const variables = this._variables;
|
|
16164
16164
|
const raw = this._syncEngine.watch(
|
|
16165
|
-
|
|
16165
|
+
chunkMFVKPMD4_cjs.Database_EngineDocument,
|
|
16166
16166
|
variables,
|
|
16167
16167
|
"database",
|
|
16168
16168
|
async (db) => {
|
|
@@ -16185,14 +16185,14 @@ var Database_Engine_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16185
16185
|
}
|
|
16186
16186
|
async fetch(options) {
|
|
16187
16187
|
const variables = this._variables;
|
|
16188
|
-
const response = await this._syncEngine.query(
|
|
16188
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Database_Engine_CatalogDocument, variables, "database");
|
|
16189
16189
|
const data = response.database?.engine?.catalog;
|
|
16190
16190
|
return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16191
16191
|
}
|
|
16192
16192
|
watch(options) {
|
|
16193
16193
|
const variables = this._variables;
|
|
16194
16194
|
const raw = this._syncEngine.watch(
|
|
16195
|
-
|
|
16195
|
+
chunkMFVKPMD4_cjs.Database_Engine_CatalogDocument,
|
|
16196
16196
|
variables,
|
|
16197
16197
|
"database",
|
|
16198
16198
|
async (db) => {
|
|
@@ -16215,18 +16215,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk342BFYZZ_cjs
|
|
|
16215
16215
|
}
|
|
16216
16216
|
async fetch(options) {
|
|
16217
16217
|
const variables = this._variables;
|
|
16218
|
-
const response = await this._syncEngine.query(
|
|
16218
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Database_TablesDocument, variables, "database");
|
|
16219
16219
|
const data = response.database?.tables;
|
|
16220
16220
|
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);
|
|
16221
16221
|
}
|
|
16222
16222
|
watch(options) {
|
|
16223
16223
|
const variables = this._variables;
|
|
16224
16224
|
const raw = this._syncEngine.watch(
|
|
16225
|
-
|
|
16225
|
+
chunkMFVKPMD4_cjs.Database_TablesDocument,
|
|
16226
16226
|
variables,
|
|
16227
16227
|
"database",
|
|
16228
16228
|
async (db) => {
|
|
16229
|
-
const qr = await db._queryResults.get(buildQueryKey("database", variables,
|
|
16229
|
+
const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkMFVKPMD4_cjs.Database_TablesDocument));
|
|
16230
16230
|
const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
|
|
16231
16231
|
return { database: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
16232
16232
|
}
|
|
@@ -16246,7 +16246,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16246
16246
|
}
|
|
16247
16247
|
async fetch(options) {
|
|
16248
16248
|
const variables = this._variables;
|
|
16249
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16249
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
|
|
16250
16250
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
|
|
16251
16251
|
const data = response.databaseCatalog;
|
|
16252
16252
|
const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16258,7 +16258,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16258
16258
|
watch(options) {
|
|
16259
16259
|
const variables = this._variables;
|
|
16260
16260
|
const includes = this._includes;
|
|
16261
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16261
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
|
|
16262
16262
|
const raw = this._syncEngine.watch(
|
|
16263
16263
|
queryDoc,
|
|
16264
16264
|
mergedVars,
|
|
@@ -16288,10 +16288,10 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16288
16288
|
}
|
|
16289
16289
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16290
16290
|
engine(variables) {
|
|
16291
|
-
const info = extractIncludeInfo(
|
|
16291
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
16292
16292
|
this._includes.push({
|
|
16293
16293
|
fieldName: "engine",
|
|
16294
|
-
fragmentDoc:
|
|
16294
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DatabaseEngineFragmentDoc,
|
|
16295
16295
|
variables,
|
|
16296
16296
|
isConnection: false,
|
|
16297
16297
|
isList: false,
|
|
@@ -16314,14 +16314,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16314
16314
|
}
|
|
16315
16315
|
async fetch(options) {
|
|
16316
16316
|
const variables = this._variables;
|
|
16317
|
-
const response = await this._syncEngine.query(
|
|
16317
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
|
|
16318
16318
|
const data = response.databaseCatalog?.engine;
|
|
16319
16319
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16320
16320
|
}
|
|
16321
16321
|
watch(options) {
|
|
16322
16322
|
const variables = this._variables;
|
|
16323
16323
|
const raw = this._syncEngine.watch(
|
|
16324
|
-
|
|
16324
|
+
chunkMFVKPMD4_cjs.DatabaseCatalog_EngineDocument,
|
|
16325
16325
|
variables,
|
|
16326
16326
|
"databaseCatalog",
|
|
16327
16327
|
async (db) => {
|
|
@@ -16345,7 +16345,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16345
16345
|
}
|
|
16346
16346
|
async fetch(options) {
|
|
16347
16347
|
const variables = this._variables;
|
|
16348
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16348
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
|
|
16349
16349
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
|
|
16350
16350
|
const data = response.databaseCatalogs;
|
|
16351
16351
|
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);
|
|
@@ -16362,7 +16362,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16362
16362
|
const subscriptionId = crypto.randomUUID();
|
|
16363
16363
|
const includes = this._includes;
|
|
16364
16364
|
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) }] : []);
|
|
16365
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16365
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
|
|
16366
16366
|
const raw = this._syncEngine.watch(
|
|
16367
16367
|
queryDoc,
|
|
16368
16368
|
mergedVars,
|
|
@@ -16397,10 +16397,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16397
16397
|
}
|
|
16398
16398
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16399
16399
|
engine(variables) {
|
|
16400
|
-
const info = extractIncludeInfo(
|
|
16400
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
16401
16401
|
this._includes.push({
|
|
16402
16402
|
fieldName: "engine",
|
|
16403
|
-
fragmentDoc:
|
|
16403
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DatabaseEngineFragmentDoc,
|
|
16404
16404
|
variables,
|
|
16405
16405
|
isConnection: false,
|
|
16406
16406
|
isList: false,
|
|
@@ -16417,7 +16417,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16417
16417
|
};
|
|
16418
16418
|
var DatabaseSchemaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
16419
16419
|
async fetch(variables) {
|
|
16420
|
-
const response = await this._request(
|
|
16420
|
+
const response = await this._request(chunkMFVKPMD4_cjs.DatabaseSchemaDocument, variables);
|
|
16421
16421
|
return response.databaseSchema;
|
|
16422
16422
|
}
|
|
16423
16423
|
};
|
|
@@ -16430,7 +16430,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16430
16430
|
}
|
|
16431
16431
|
async fetch(options) {
|
|
16432
16432
|
const variables = this._variables;
|
|
16433
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16433
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DatabasesDocument, "databases", this._includes, variables, true);
|
|
16434
16434
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
|
|
16435
16435
|
const data = response.databases;
|
|
16436
16436
|
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);
|
|
@@ -16447,7 +16447,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16447
16447
|
const subscriptionId = crypto.randomUUID();
|
|
16448
16448
|
const includes = this._includes;
|
|
16449
16449
|
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) }] : []);
|
|
16450
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16450
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DatabasesDocument, "databases", includes, variables, true);
|
|
16451
16451
|
const raw = this._syncEngine.watch(
|
|
16452
16452
|
queryDoc,
|
|
16453
16453
|
mergedVars,
|
|
@@ -16482,10 +16482,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16482
16482
|
}
|
|
16483
16483
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16484
16484
|
engine(variables) {
|
|
16485
|
-
const info = extractIncludeInfo(
|
|
16485
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
16486
16486
|
this._includes.push({
|
|
16487
16487
|
fieldName: "engine",
|
|
16488
|
-
fragmentDoc:
|
|
16488
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DatabaseEngineFragmentDoc,
|
|
16489
16489
|
variables,
|
|
16490
16490
|
isConnection: false,
|
|
16491
16491
|
isList: false,
|
|
@@ -16501,7 +16501,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16501
16501
|
}
|
|
16502
16502
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16503
16503
|
tables(variables, builder) {
|
|
16504
|
-
const info = extractIncludeInfo(
|
|
16504
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
16505
16505
|
let children;
|
|
16506
16506
|
if (builder) {
|
|
16507
16507
|
const sub = new TableSubBuilder();
|
|
@@ -16510,7 +16510,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16510
16510
|
}
|
|
16511
16511
|
this._includes.push({
|
|
16512
16512
|
fieldName: "tables",
|
|
16513
|
-
fragmentDoc:
|
|
16513
|
+
fragmentDoc: chunkMFVKPMD4_cjs.TableConnectionFragmentDoc,
|
|
16514
16514
|
variables,
|
|
16515
16515
|
isConnection: true,
|
|
16516
16516
|
isList: false,
|
|
@@ -16536,7 +16536,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16536
16536
|
}
|
|
16537
16537
|
async fetch(options) {
|
|
16538
16538
|
const variables = this._variables;
|
|
16539
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16539
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DocumentDocument, "document", this._includes, variables);
|
|
16540
16540
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
|
|
16541
16541
|
const data = response.document;
|
|
16542
16542
|
const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16548,7 +16548,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16548
16548
|
watch(options) {
|
|
16549
16549
|
const variables = this._variables;
|
|
16550
16550
|
const includes = this._includes;
|
|
16551
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16551
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DocumentDocument, "document", includes, variables);
|
|
16552
16552
|
const raw = this._syncEngine.watch(
|
|
16553
16553
|
queryDoc,
|
|
16554
16554
|
mergedVars,
|
|
@@ -16578,10 +16578,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16578
16578
|
}
|
|
16579
16579
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
16580
16580
|
contents(variables) {
|
|
16581
|
-
const info = extractIncludeInfo(
|
|
16581
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
16582
16582
|
this._includes.push({
|
|
16583
16583
|
fieldName: "contents",
|
|
16584
|
-
fragmentDoc:
|
|
16584
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DocumentContentFragmentDoc,
|
|
16585
16585
|
variables,
|
|
16586
16586
|
isConnection: false,
|
|
16587
16587
|
isList: true,
|
|
@@ -16597,10 +16597,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16597
16597
|
}
|
|
16598
16598
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
16599
16599
|
file(variables) {
|
|
16600
|
-
const info = extractIncludeInfo(
|
|
16600
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Document_FileDocument, "file", ["id"]);
|
|
16601
16601
|
this._includes.push({
|
|
16602
16602
|
fieldName: "file",
|
|
16603
|
-
fragmentDoc:
|
|
16603
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FileFragmentDoc,
|
|
16604
16604
|
variables,
|
|
16605
16605
|
isConnection: false,
|
|
16606
16606
|
isList: false,
|
|
@@ -16616,10 +16616,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16616
16616
|
}
|
|
16617
16617
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
16618
16618
|
format(variables) {
|
|
16619
|
-
const info = extractIncludeInfo(
|
|
16619
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Document_FormatDocument, "format", ["id"]);
|
|
16620
16620
|
this._includes.push({
|
|
16621
16621
|
fieldName: "format",
|
|
16622
|
-
fragmentDoc:
|
|
16622
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DocumentFormatFragmentDoc,
|
|
16623
16623
|
variables,
|
|
16624
16624
|
isConnection: false,
|
|
16625
16625
|
isList: false,
|
|
@@ -16635,7 +16635,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16635
16635
|
}
|
|
16636
16636
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16637
16637
|
tables(variables, builder) {
|
|
16638
|
-
const info = extractIncludeInfo(
|
|
16638
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
16639
16639
|
let children;
|
|
16640
16640
|
if (builder) {
|
|
16641
16641
|
const sub = new TableSubBuilder();
|
|
@@ -16644,7 +16644,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16644
16644
|
}
|
|
16645
16645
|
this._includes.push({
|
|
16646
16646
|
fieldName: "tables",
|
|
16647
|
-
fragmentDoc:
|
|
16647
|
+
fragmentDoc: chunkMFVKPMD4_cjs.TableConnectionFragmentDoc,
|
|
16648
16648
|
variables,
|
|
16649
16649
|
isConnection: true,
|
|
16650
16650
|
isList: false,
|
|
@@ -16668,7 +16668,7 @@ var Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16668
16668
|
this._variables = variables;
|
|
16669
16669
|
}
|
|
16670
16670
|
async fetch(options) {
|
|
16671
|
-
const response = await this._syncEngine.query(
|
|
16671
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Document_ContentsDocument, this._variables, "document");
|
|
16672
16672
|
const data = response.document?.contents;
|
|
16673
16673
|
if (!Array.isArray(data)) return [];
|
|
16674
16674
|
return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -16682,14 +16682,14 @@ var Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16682
16682
|
}
|
|
16683
16683
|
async fetch(options) {
|
|
16684
16684
|
const variables = this._variables;
|
|
16685
|
-
const response = await this._syncEngine.query(
|
|
16685
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Document_FileDocument, variables, "document");
|
|
16686
16686
|
const data = response.document?.file;
|
|
16687
16687
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16688
16688
|
}
|
|
16689
16689
|
watch(options) {
|
|
16690
16690
|
const variables = this._variables;
|
|
16691
16691
|
const raw = this._syncEngine.watch(
|
|
16692
|
-
|
|
16692
|
+
chunkMFVKPMD4_cjs.Document_FileDocument,
|
|
16693
16693
|
variables,
|
|
16694
16694
|
"document",
|
|
16695
16695
|
async (db) => {
|
|
@@ -16712,14 +16712,14 @@ var Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16712
16712
|
}
|
|
16713
16713
|
async fetch(options) {
|
|
16714
16714
|
const variables = this._variables;
|
|
16715
|
-
const response = await this._syncEngine.query(
|
|
16715
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Document_FormatDocument, variables, "document");
|
|
16716
16716
|
const data = response.document?.format;
|
|
16717
16717
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16718
16718
|
}
|
|
16719
16719
|
watch(options) {
|
|
16720
16720
|
const variables = this._variables;
|
|
16721
16721
|
const raw = this._syncEngine.watch(
|
|
16722
|
-
|
|
16722
|
+
chunkMFVKPMD4_cjs.Document_FormatDocument,
|
|
16723
16723
|
variables,
|
|
16724
16724
|
"document",
|
|
16725
16725
|
async (db) => {
|
|
@@ -16742,14 +16742,14 @@ var Document_Format_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16742
16742
|
}
|
|
16743
16743
|
async fetch(options) {
|
|
16744
16744
|
const variables = this._variables;
|
|
16745
|
-
const response = await this._syncEngine.query(
|
|
16745
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Document_Format_CatalogDocument, variables, "document");
|
|
16746
16746
|
const data = response.document?.format?.catalog;
|
|
16747
16747
|
return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16748
16748
|
}
|
|
16749
16749
|
watch(options) {
|
|
16750
16750
|
const variables = this._variables;
|
|
16751
16751
|
const raw = this._syncEngine.watch(
|
|
16752
|
-
|
|
16752
|
+
chunkMFVKPMD4_cjs.Document_Format_CatalogDocument,
|
|
16753
16753
|
variables,
|
|
16754
16754
|
"document",
|
|
16755
16755
|
async (db) => {
|
|
@@ -16772,18 +16772,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk342BFYZZ_cjs
|
|
|
16772
16772
|
}
|
|
16773
16773
|
async fetch(options) {
|
|
16774
16774
|
const variables = this._variables;
|
|
16775
|
-
const response = await this._syncEngine.query(
|
|
16775
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Document_TablesDocument, variables, "document");
|
|
16776
16776
|
const data = response.document?.tables;
|
|
16777
16777
|
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);
|
|
16778
16778
|
}
|
|
16779
16779
|
watch(options) {
|
|
16780
16780
|
const variables = this._variables;
|
|
16781
16781
|
const raw = this._syncEngine.watch(
|
|
16782
|
-
|
|
16782
|
+
chunkMFVKPMD4_cjs.Document_TablesDocument,
|
|
16783
16783
|
variables,
|
|
16784
16784
|
"document",
|
|
16785
16785
|
async (db) => {
|
|
16786
|
-
const qr = await db._queryResults.get(buildQueryKey("document", variables,
|
|
16786
|
+
const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkMFVKPMD4_cjs.Document_TablesDocument));
|
|
16787
16787
|
const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
|
|
16788
16788
|
return { document: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
16789
16789
|
}
|
|
@@ -16803,7 +16803,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16803
16803
|
}
|
|
16804
16804
|
async fetch(options) {
|
|
16805
16805
|
const variables = this._variables;
|
|
16806
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16806
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
|
|
16807
16807
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
|
|
16808
16808
|
const data = response.documentCatalog;
|
|
16809
16809
|
const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16815,7 +16815,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16815
16815
|
watch(options) {
|
|
16816
16816
|
const variables = this._variables;
|
|
16817
16817
|
const includes = this._includes;
|
|
16818
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16818
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
|
|
16819
16819
|
const raw = this._syncEngine.watch(
|
|
16820
16820
|
queryDoc,
|
|
16821
16821
|
mergedVars,
|
|
@@ -16845,10 +16845,10 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16845
16845
|
}
|
|
16846
16846
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
16847
16847
|
format(variables) {
|
|
16848
|
-
const info = extractIncludeInfo(
|
|
16848
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
16849
16849
|
this._includes.push({
|
|
16850
16850
|
fieldName: "format",
|
|
16851
|
-
fragmentDoc:
|
|
16851
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DocumentFormatFragmentDoc,
|
|
16852
16852
|
variables,
|
|
16853
16853
|
isConnection: false,
|
|
16854
16854
|
isList: false,
|
|
@@ -16871,14 +16871,14 @@ var DocumentCatalog_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16871
16871
|
}
|
|
16872
16872
|
async fetch(options) {
|
|
16873
16873
|
const variables = this._variables;
|
|
16874
|
-
const response = await this._syncEngine.query(
|
|
16874
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
|
|
16875
16875
|
const data = response.documentCatalog?.format;
|
|
16876
16876
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16877
16877
|
}
|
|
16878
16878
|
watch(options) {
|
|
16879
16879
|
const variables = this._variables;
|
|
16880
16880
|
const raw = this._syncEngine.watch(
|
|
16881
|
-
|
|
16881
|
+
chunkMFVKPMD4_cjs.DocumentCatalog_FormatDocument,
|
|
16882
16882
|
variables,
|
|
16883
16883
|
"documentCatalog",
|
|
16884
16884
|
async (db) => {
|
|
@@ -16902,7 +16902,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16902
16902
|
}
|
|
16903
16903
|
async fetch(options) {
|
|
16904
16904
|
const variables = this._variables;
|
|
16905
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16905
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
|
|
16906
16906
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
|
|
16907
16907
|
const data = response.documentCatalogs;
|
|
16908
16908
|
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);
|
|
@@ -16919,7 +16919,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16919
16919
|
const subscriptionId = crypto.randomUUID();
|
|
16920
16920
|
const includes = this._includes;
|
|
16921
16921
|
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) }] : []);
|
|
16922
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16922
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
|
|
16923
16923
|
const raw = this._syncEngine.watch(
|
|
16924
16924
|
queryDoc,
|
|
16925
16925
|
mergedVars,
|
|
@@ -16954,10 +16954,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16954
16954
|
}
|
|
16955
16955
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
16956
16956
|
format(variables) {
|
|
16957
|
-
const info = extractIncludeInfo(
|
|
16957
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
16958
16958
|
this._includes.push({
|
|
16959
16959
|
fieldName: "format",
|
|
16960
|
-
fragmentDoc:
|
|
16960
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DocumentFormatFragmentDoc,
|
|
16961
16961
|
variables,
|
|
16962
16962
|
isConnection: false,
|
|
16963
16963
|
isList: false,
|
|
@@ -16981,7 +16981,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16981
16981
|
}
|
|
16982
16982
|
async fetch(options) {
|
|
16983
16983
|
const variables = this._variables;
|
|
16984
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16984
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DocumentsDocument, "documents", this._includes, variables, true);
|
|
16985
16985
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
|
|
16986
16986
|
const data = response.documents;
|
|
16987
16987
|
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);
|
|
@@ -16998,7 +16998,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16998
16998
|
const subscriptionId = crypto.randomUUID();
|
|
16999
16999
|
const includes = this._includes;
|
|
17000
17000
|
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) }] : []);
|
|
17001
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17001
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.DocumentsDocument, "documents", includes, variables, true);
|
|
17002
17002
|
const raw = this._syncEngine.watch(
|
|
17003
17003
|
queryDoc,
|
|
17004
17004
|
mergedVars,
|
|
@@ -17033,10 +17033,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17033
17033
|
}
|
|
17034
17034
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
17035
17035
|
contents(variables) {
|
|
17036
|
-
const info = extractIncludeInfo(
|
|
17036
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
17037
17037
|
this._includes.push({
|
|
17038
17038
|
fieldName: "contents",
|
|
17039
|
-
fragmentDoc:
|
|
17039
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DocumentContentFragmentDoc,
|
|
17040
17040
|
variables,
|
|
17041
17041
|
isConnection: false,
|
|
17042
17042
|
isList: true,
|
|
@@ -17052,10 +17052,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17052
17052
|
}
|
|
17053
17053
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
17054
17054
|
file(variables) {
|
|
17055
|
-
const info = extractIncludeInfo(
|
|
17055
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Document_FileDocument, "file", ["id"]);
|
|
17056
17056
|
this._includes.push({
|
|
17057
17057
|
fieldName: "file",
|
|
17058
|
-
fragmentDoc:
|
|
17058
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FileFragmentDoc,
|
|
17059
17059
|
variables,
|
|
17060
17060
|
isConnection: false,
|
|
17061
17061
|
isList: false,
|
|
@@ -17071,10 +17071,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17071
17071
|
}
|
|
17072
17072
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
17073
17073
|
format(variables) {
|
|
17074
|
-
const info = extractIncludeInfo(
|
|
17074
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Document_FormatDocument, "format", ["id"]);
|
|
17075
17075
|
this._includes.push({
|
|
17076
17076
|
fieldName: "format",
|
|
17077
|
-
fragmentDoc:
|
|
17077
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DocumentFormatFragmentDoc,
|
|
17078
17078
|
variables,
|
|
17079
17079
|
isConnection: false,
|
|
17080
17080
|
isList: false,
|
|
@@ -17090,7 +17090,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17090
17090
|
}
|
|
17091
17091
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
17092
17092
|
tables(variables, builder) {
|
|
17093
|
-
const info = extractIncludeInfo(
|
|
17093
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
17094
17094
|
let children;
|
|
17095
17095
|
if (builder) {
|
|
17096
17096
|
const sub = new TableSubBuilder();
|
|
@@ -17099,7 +17099,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17099
17099
|
}
|
|
17100
17100
|
this._includes.push({
|
|
17101
17101
|
fieldName: "tables",
|
|
17102
|
-
fragmentDoc:
|
|
17102
|
+
fragmentDoc: chunkMFVKPMD4_cjs.TableConnectionFragmentDoc,
|
|
17103
17103
|
variables,
|
|
17104
17104
|
isConnection: true,
|
|
17105
17105
|
isList: false,
|
|
@@ -17118,13 +17118,13 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17118
17118
|
};
|
|
17119
17119
|
var ExportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17120
17120
|
async fetch(variables) {
|
|
17121
|
-
const response = await this._request(
|
|
17121
|
+
const response = await this._request(chunkMFVKPMD4_cjs.ExportDocument, variables);
|
|
17122
17122
|
return response.export;
|
|
17123
17123
|
}
|
|
17124
17124
|
};
|
|
17125
17125
|
var ExportWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17126
17126
|
async fetch(variables) {
|
|
17127
|
-
const response = await this._request(
|
|
17127
|
+
const response = await this._request(chunkMFVKPMD4_cjs.ExportWithInsightIdDocument, variables);
|
|
17128
17128
|
return response.exportWithInsightId;
|
|
17129
17129
|
}
|
|
17130
17130
|
};
|
|
@@ -17137,7 +17137,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17137
17137
|
}
|
|
17138
17138
|
async fetch(options) {
|
|
17139
17139
|
const variables = this._variables;
|
|
17140
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17140
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.FeedItemDocument, "feedItem", this._includes, variables);
|
|
17141
17141
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItem");
|
|
17142
17142
|
const data = response.feedItem;
|
|
17143
17143
|
if (!data) return void 0;
|
|
@@ -17150,7 +17150,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17150
17150
|
watch(options) {
|
|
17151
17151
|
const variables = this._variables;
|
|
17152
17152
|
const includes = this._includes;
|
|
17153
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17153
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.FeedItemDocument, "feedItem", includes, variables);
|
|
17154
17154
|
const raw = this._syncEngine.watch(
|
|
17155
17155
|
queryDoc,
|
|
17156
17156
|
mergedVars,
|
|
@@ -17181,10 +17181,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17181
17181
|
}
|
|
17182
17182
|
/** Include action in this query (Smart Fetch — single HTTP request). */
|
|
17183
17183
|
action(variables) {
|
|
17184
|
-
const info = extractIncludeInfo(
|
|
17184
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
17185
17185
|
this._includes.push({
|
|
17186
17186
|
fieldName: "action",
|
|
17187
|
-
fragmentDoc:
|
|
17187
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FeedSendMessageActionFragmentDoc,
|
|
17188
17188
|
variables,
|
|
17189
17189
|
isConnection: false,
|
|
17190
17190
|
isList: false,
|
|
@@ -17200,10 +17200,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17200
17200
|
}
|
|
17201
17201
|
/** Include data in this query (Smart Fetch — single HTTP request). */
|
|
17202
17202
|
data(variables) {
|
|
17203
|
-
const info = extractIncludeInfo(
|
|
17203
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
17204
17204
|
this._includes.push({
|
|
17205
17205
|
fieldName: "data",
|
|
17206
|
-
fragmentDoc:
|
|
17206
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FeedArtifactDataFragmentDoc,
|
|
17207
17207
|
variables,
|
|
17208
17208
|
isConnection: false,
|
|
17209
17209
|
isList: true,
|
|
@@ -17226,14 +17226,14 @@ var FeedItem_ActionQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17226
17226
|
}
|
|
17227
17227
|
async fetch(options) {
|
|
17228
17228
|
const variables = this._variables;
|
|
17229
|
-
const response = await this._syncEngine.query(
|
|
17229
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.FeedItem_ActionDocument, variables, "feedItem");
|
|
17230
17230
|
const data = response.feedItem?.action;
|
|
17231
17231
|
return data ? new FeedSendMessageAction(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17232
17232
|
}
|
|
17233
17233
|
watch(options) {
|
|
17234
17234
|
const variables = this._variables;
|
|
17235
17235
|
const raw = this._syncEngine.watch(
|
|
17236
|
-
|
|
17236
|
+
chunkMFVKPMD4_cjs.FeedItem_ActionDocument,
|
|
17237
17237
|
variables,
|
|
17238
17238
|
"feedItem",
|
|
17239
17239
|
async (db) => {
|
|
@@ -17255,7 +17255,7 @@ var FeedItem_DataQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17255
17255
|
this._variables = variables;
|
|
17256
17256
|
}
|
|
17257
17257
|
async fetch(options) {
|
|
17258
|
-
const response = await this._syncEngine.query(
|
|
17258
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.FeedItem_DataDocument, this._variables, "feedItem");
|
|
17259
17259
|
const data = response.feedItem?.data;
|
|
17260
17260
|
if (!Array.isArray(data)) return [];
|
|
17261
17261
|
return data.map((item) => new FeedArtifactData(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -17270,7 +17270,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17270
17270
|
}
|
|
17271
17271
|
async fetch(options) {
|
|
17272
17272
|
const variables = this._variables;
|
|
17273
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17273
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
|
|
17274
17274
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItems");
|
|
17275
17275
|
const data = response.feedItems;
|
|
17276
17276
|
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);
|
|
@@ -17287,7 +17287,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17287
17287
|
const subscriptionId = crypto.randomUUID();
|
|
17288
17288
|
const includes = this._includes;
|
|
17289
17289
|
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) }] : []);
|
|
17290
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17290
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
|
|
17291
17291
|
const raw = this._syncEngine.watch(
|
|
17292
17292
|
queryDoc,
|
|
17293
17293
|
mergedVars,
|
|
@@ -17322,10 +17322,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17322
17322
|
}
|
|
17323
17323
|
/** Include action in this query (Smart Fetch — single HTTP request). */
|
|
17324
17324
|
action(variables) {
|
|
17325
|
-
const info = extractIncludeInfo(
|
|
17325
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
17326
17326
|
this._includes.push({
|
|
17327
17327
|
fieldName: "action",
|
|
17328
|
-
fragmentDoc:
|
|
17328
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FeedSendMessageActionFragmentDoc,
|
|
17329
17329
|
variables,
|
|
17330
17330
|
isConnection: false,
|
|
17331
17331
|
isList: false,
|
|
@@ -17341,10 +17341,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17341
17341
|
}
|
|
17342
17342
|
/** Include data in this query (Smart Fetch — single HTTP request). */
|
|
17343
17343
|
data(variables) {
|
|
17344
|
-
const info = extractIncludeInfo(
|
|
17344
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
17345
17345
|
this._includes.push({
|
|
17346
17346
|
fieldName: "data",
|
|
17347
|
-
fragmentDoc:
|
|
17347
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FeedArtifactDataFragmentDoc,
|
|
17348
17348
|
variables,
|
|
17349
17349
|
isConnection: false,
|
|
17350
17350
|
isList: true,
|
|
@@ -17361,7 +17361,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17361
17361
|
};
|
|
17362
17362
|
var FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17363
17363
|
async fetch(variables) {
|
|
17364
|
-
const response = await this._request(
|
|
17364
|
+
const response = await this._request(chunkMFVKPMD4_cjs.FileDocument, variables);
|
|
17365
17365
|
return response.file;
|
|
17366
17366
|
}
|
|
17367
17367
|
};
|
|
@@ -17374,7 +17374,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17374
17374
|
}
|
|
17375
17375
|
async fetch(options) {
|
|
17376
17376
|
const variables = this._variables;
|
|
17377
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17377
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
|
|
17378
17378
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
|
|
17379
17379
|
const data = response.fileMeta;
|
|
17380
17380
|
if (!data) return void 0;
|
|
@@ -17387,7 +17387,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17387
17387
|
watch(options) {
|
|
17388
17388
|
const variables = this._variables;
|
|
17389
17389
|
const includes = this._includes;
|
|
17390
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17390
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.FileMetaDocument, "fileMeta", includes, variables);
|
|
17391
17391
|
const raw = this._syncEngine.watch(
|
|
17392
17392
|
queryDoc,
|
|
17393
17393
|
mergedVars,
|
|
@@ -17425,7 +17425,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17425
17425
|
this._variables = variables;
|
|
17426
17426
|
}
|
|
17427
17427
|
async fetch(options) {
|
|
17428
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17428
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
|
|
17429
17429
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
|
|
17430
17430
|
const data = response.fileUrls;
|
|
17431
17431
|
if (!Array.isArray(data)) return [];
|
|
@@ -17434,7 +17434,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17434
17434
|
};
|
|
17435
17435
|
var FindFitTierQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17436
17436
|
async fetch(variables) {
|
|
17437
|
-
const response = await this._request(
|
|
17437
|
+
const response = await this._request(chunkMFVKPMD4_cjs.FindFitTierDocument, variables);
|
|
17438
17438
|
return response.findFitTier ?? void 0;
|
|
17439
17439
|
}
|
|
17440
17440
|
};
|
|
@@ -17447,7 +17447,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17447
17447
|
}
|
|
17448
17448
|
async fetch(options) {
|
|
17449
17449
|
const variables = this._variables;
|
|
17450
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17450
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.FolderDocument, "folder", this._includes, variables);
|
|
17451
17451
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
|
|
17452
17452
|
const data = response.folder;
|
|
17453
17453
|
const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17459,7 +17459,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17459
17459
|
watch(options) {
|
|
17460
17460
|
const variables = this._variables;
|
|
17461
17461
|
const includes = this._includes;
|
|
17462
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17462
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.FolderDocument, "folder", includes, variables);
|
|
17463
17463
|
const raw = this._syncEngine.watch(
|
|
17464
17464
|
queryDoc,
|
|
17465
17465
|
mergedVars,
|
|
@@ -17497,7 +17497,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17497
17497
|
}
|
|
17498
17498
|
async fetch(options) {
|
|
17499
17499
|
const variables = this._variables;
|
|
17500
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17500
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.FoldersDocument, "folders", this._includes, variables, true);
|
|
17501
17501
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
|
|
17502
17502
|
const data = response.folders;
|
|
17503
17503
|
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);
|
|
@@ -17514,7 +17514,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17514
17514
|
const subscriptionId = crypto.randomUUID();
|
|
17515
17515
|
const includes = this._includes;
|
|
17516
17516
|
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) }] : []);
|
|
17517
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17517
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.FoldersDocument, "folders", includes, variables, true);
|
|
17518
17518
|
const raw = this._syncEngine.watch(
|
|
17519
17519
|
queryDoc,
|
|
17520
17520
|
mergedVars,
|
|
@@ -17550,7 +17550,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17550
17550
|
};
|
|
17551
17551
|
var GetCapabilityQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17552
17552
|
async fetch(variables) {
|
|
17553
|
-
const response = await this._request(
|
|
17553
|
+
const response = await this._request(chunkMFVKPMD4_cjs.GetCapabilityDocument, variables);
|
|
17554
17554
|
return response.getCapability;
|
|
17555
17555
|
}
|
|
17556
17556
|
};
|
|
@@ -17563,7 +17563,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17563
17563
|
}
|
|
17564
17564
|
async fetch(options) {
|
|
17565
17565
|
const variables = this._variables;
|
|
17566
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17566
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
|
|
17567
17567
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
|
|
17568
17568
|
const data = response.getDevAccessToken;
|
|
17569
17569
|
const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17575,7 +17575,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17575
17575
|
watch(options) {
|
|
17576
17576
|
const variables = this._variables;
|
|
17577
17577
|
const includes = this._includes;
|
|
17578
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17578
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
|
|
17579
17579
|
const raw = this._syncEngine.watch(
|
|
17580
17580
|
queryDoc,
|
|
17581
17581
|
mergedVars,
|
|
@@ -17606,13 +17606,13 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17606
17606
|
};
|
|
17607
17607
|
var GetLimitQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17608
17608
|
async fetch(variables) {
|
|
17609
|
-
const response = await this._request(
|
|
17609
|
+
const response = await this._request(chunkMFVKPMD4_cjs.GetLimitDocument, variables);
|
|
17610
17610
|
return response.getLimit ?? void 0;
|
|
17611
17611
|
}
|
|
17612
17612
|
};
|
|
17613
17613
|
var GetRemainingQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17614
17614
|
async fetch(variables) {
|
|
17615
|
-
const response = await this._request(
|
|
17615
|
+
const response = await this._request(chunkMFVKPMD4_cjs.GetRemainingDocument, variables);
|
|
17616
17616
|
return response.getRemaining ?? void 0;
|
|
17617
17617
|
}
|
|
17618
17618
|
};
|
|
@@ -17624,7 +17624,7 @@ var GetTokenUsageByModelQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17624
17624
|
this._variables = variables;
|
|
17625
17625
|
}
|
|
17626
17626
|
async fetch(options) {
|
|
17627
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17627
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
|
|
17628
17628
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
|
|
17629
17629
|
const data = response.getTokenUsageByModel;
|
|
17630
17630
|
if (!Array.isArray(data)) return [];
|
|
@@ -17639,7 +17639,7 @@ var GetTokenUsageHistoryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17639
17639
|
this._variables = variables;
|
|
17640
17640
|
}
|
|
17641
17641
|
async fetch(options) {
|
|
17642
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17642
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
|
|
17643
17643
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
|
|
17644
17644
|
const data = response.getTokenUsageHistory;
|
|
17645
17645
|
if (!Array.isArray(data)) return [];
|
|
@@ -17655,7 +17655,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17655
17655
|
}
|
|
17656
17656
|
async fetch(options) {
|
|
17657
17657
|
const variables = this._variables;
|
|
17658
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17658
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
|
|
17659
17659
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
|
|
17660
17660
|
const data = response.getTokenUsageStatus;
|
|
17661
17661
|
const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17667,7 +17667,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17667
17667
|
watch(options) {
|
|
17668
17668
|
const variables = this._variables;
|
|
17669
17669
|
const includes = this._includes;
|
|
17670
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17670
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
|
|
17671
17671
|
const raw = this._syncEngine.watch(
|
|
17672
17672
|
queryDoc,
|
|
17673
17673
|
mergedVars,
|
|
@@ -17697,10 +17697,10 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17697
17697
|
}
|
|
17698
17698
|
/** Include windows in this query (Smart Fetch — single HTTP request). */
|
|
17699
17699
|
windows(variables) {
|
|
17700
|
-
const info = extractIncludeInfo(
|
|
17700
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
|
|
17701
17701
|
this._includes.push({
|
|
17702
17702
|
fieldName: "windows",
|
|
17703
|
-
fragmentDoc:
|
|
17703
|
+
fragmentDoc: chunkMFVKPMD4_cjs.UsageWindowsStatusTypeFragmentDoc,
|
|
17704
17704
|
variables,
|
|
17705
17705
|
isConnection: false,
|
|
17706
17706
|
isList: false,
|
|
@@ -17723,14 +17723,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17723
17723
|
}
|
|
17724
17724
|
async fetch(options) {
|
|
17725
17725
|
const variables = this._variables;
|
|
17726
|
-
const response = await this._syncEngine.query(
|
|
17726
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
|
|
17727
17727
|
const data = response.getTokenUsageStatus?.windows;
|
|
17728
17728
|
return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17729
17729
|
}
|
|
17730
17730
|
watch(options) {
|
|
17731
17731
|
const variables = this._variables;
|
|
17732
17732
|
const raw = this._syncEngine.watch(
|
|
17733
|
-
|
|
17733
|
+
chunkMFVKPMD4_cjs.GetTokenUsageStatus_WindowsDocument,
|
|
17734
17734
|
variables,
|
|
17735
17735
|
"getTokenUsageStatus",
|
|
17736
17736
|
async (db) => {
|
|
@@ -17753,14 +17753,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk342BFYZZ_cjs.Reque
|
|
|
17753
17753
|
}
|
|
17754
17754
|
async fetch(options) {
|
|
17755
17755
|
const variables = this._variables;
|
|
17756
|
-
const response = await this._syncEngine.query(
|
|
17756
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
|
|
17757
17757
|
const data = response.getTokenUsageStatus?.windows?.day;
|
|
17758
17758
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17759
17759
|
}
|
|
17760
17760
|
watch(options) {
|
|
17761
17761
|
const variables = this._variables;
|
|
17762
17762
|
const raw = this._syncEngine.watch(
|
|
17763
|
-
|
|
17763
|
+
chunkMFVKPMD4_cjs.GetTokenUsageStatus_Windows_DayDocument,
|
|
17764
17764
|
variables,
|
|
17765
17765
|
"getTokenUsageStatus",
|
|
17766
17766
|
async (db) => {
|
|
@@ -17783,14 +17783,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk342BFYZZ_cjs.
|
|
|
17783
17783
|
}
|
|
17784
17784
|
async fetch(options) {
|
|
17785
17785
|
const variables = this._variables;
|
|
17786
|
-
const response = await this._syncEngine.query(
|
|
17786
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
|
|
17787
17787
|
const data = response.getTokenUsageStatus?.windows?.fiveHour;
|
|
17788
17788
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17789
17789
|
}
|
|
17790
17790
|
watch(options) {
|
|
17791
17791
|
const variables = this._variables;
|
|
17792
17792
|
const raw = this._syncEngine.watch(
|
|
17793
|
-
|
|
17793
|
+
chunkMFVKPMD4_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
|
|
17794
17794
|
variables,
|
|
17795
17795
|
"getTokenUsageStatus",
|
|
17796
17796
|
async (db) => {
|
|
@@ -17813,14 +17813,14 @@ var GetTokenUsageStatus_Windows_MonthQuery = class extends chunk342BFYZZ_cjs.Req
|
|
|
17813
17813
|
}
|
|
17814
17814
|
async fetch(options) {
|
|
17815
17815
|
const variables = this._variables;
|
|
17816
|
-
const response = await this._syncEngine.query(
|
|
17816
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.GetTokenUsageStatus_Windows_MonthDocument, variables, "getTokenUsageStatus");
|
|
17817
17817
|
const data = response.getTokenUsageStatus?.windows?.month;
|
|
17818
17818
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17819
17819
|
}
|
|
17820
17820
|
watch(options) {
|
|
17821
17821
|
const variables = this._variables;
|
|
17822
17822
|
const raw = this._syncEngine.watch(
|
|
17823
|
-
|
|
17823
|
+
chunkMFVKPMD4_cjs.GetTokenUsageStatus_Windows_MonthDocument,
|
|
17824
17824
|
variables,
|
|
17825
17825
|
"getTokenUsageStatus",
|
|
17826
17826
|
async (db) => {
|
|
@@ -17843,14 +17843,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
|
|
|
17843
17843
|
}
|
|
17844
17844
|
async fetch(options) {
|
|
17845
17845
|
const variables = this._variables;
|
|
17846
|
-
const response = await this._syncEngine.query(
|
|
17846
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
|
|
17847
17847
|
const data = response.getTokenUsageStatus?.windows?.week;
|
|
17848
17848
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17849
17849
|
}
|
|
17850
17850
|
watch(options) {
|
|
17851
17851
|
const variables = this._variables;
|
|
17852
17852
|
const raw = this._syncEngine.watch(
|
|
17853
|
-
|
|
17853
|
+
chunkMFVKPMD4_cjs.GetTokenUsageStatus_Windows_WeekDocument,
|
|
17854
17854
|
variables,
|
|
17855
17855
|
"getTokenUsageStatus",
|
|
17856
17856
|
async (db) => {
|
|
@@ -17867,7 +17867,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
|
|
|
17867
17867
|
};
|
|
17868
17868
|
var GetUsageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17869
17869
|
async fetch(variables) {
|
|
17870
|
-
const response = await this._request(
|
|
17870
|
+
const response = await this._request(chunkMFVKPMD4_cjs.GetUsageDocument, variables);
|
|
17871
17871
|
return response.getUsage ?? void 0;
|
|
17872
17872
|
}
|
|
17873
17873
|
};
|
|
@@ -17880,7 +17880,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17880
17880
|
}
|
|
17881
17881
|
async fetch(options) {
|
|
17882
17882
|
const variables = this._variables;
|
|
17883
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17883
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.InsightDocument, "insight", this._includes, variables);
|
|
17884
17884
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
|
|
17885
17885
|
const data = response.insight;
|
|
17886
17886
|
const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17892,7 +17892,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17892
17892
|
watch(options) {
|
|
17893
17893
|
const variables = this._variables;
|
|
17894
17894
|
const includes = this._includes;
|
|
17895
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17895
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.InsightDocument, "insight", includes, variables);
|
|
17896
17896
|
const raw = this._syncEngine.watch(
|
|
17897
17897
|
queryDoc,
|
|
17898
17898
|
mergedVars,
|
|
@@ -17922,7 +17922,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17922
17922
|
}
|
|
17923
17923
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
17924
17924
|
chat(variables, builder) {
|
|
17925
|
-
const info = extractIncludeInfo(
|
|
17925
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
17926
17926
|
let children;
|
|
17927
17927
|
if (builder) {
|
|
17928
17928
|
const sub = new ChatSubBuilder();
|
|
@@ -17931,7 +17931,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17931
17931
|
}
|
|
17932
17932
|
this._includes.push({
|
|
17933
17933
|
fieldName: "chat",
|
|
17934
|
-
fragmentDoc:
|
|
17934
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatFragmentDoc,
|
|
17935
17935
|
variables,
|
|
17936
17936
|
isConnection: false,
|
|
17937
17937
|
isList: false,
|
|
@@ -17948,10 +17948,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17948
17948
|
}
|
|
17949
17949
|
/** Include reportMembers in this query (Smart Fetch — single HTTP request). */
|
|
17950
17950
|
reportMembers(variables) {
|
|
17951
|
-
const info = extractIncludeInfo(
|
|
17951
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
17952
17952
|
this._includes.push({
|
|
17953
17953
|
fieldName: "reportMembers",
|
|
17954
|
-
fragmentDoc:
|
|
17954
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ReportMemberFragmentDoc,
|
|
17955
17955
|
variables,
|
|
17956
17956
|
isConnection: false,
|
|
17957
17957
|
isList: true,
|
|
@@ -17967,7 +17967,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17967
17967
|
}
|
|
17968
17968
|
/** Include reports in this query (Smart Fetch — single HTTP request). */
|
|
17969
17969
|
reports(variables, builder) {
|
|
17970
|
-
const info = extractIncludeInfo(
|
|
17970
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
17971
17971
|
let children;
|
|
17972
17972
|
if (builder) {
|
|
17973
17973
|
const sub = new ReportSubBuilder();
|
|
@@ -17976,7 +17976,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17976
17976
|
}
|
|
17977
17977
|
this._includes.push({
|
|
17978
17978
|
fieldName: "reports",
|
|
17979
|
-
fragmentDoc:
|
|
17979
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ReportConnectionFragmentDoc,
|
|
17980
17980
|
variables,
|
|
17981
17981
|
isConnection: true,
|
|
17982
17982
|
isList: false,
|
|
@@ -17994,10 +17994,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17994
17994
|
}
|
|
17995
17995
|
/** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
|
|
17996
17996
|
thumbnailFile(variables) {
|
|
17997
|
-
const info = extractIncludeInfo(
|
|
17997
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
17998
17998
|
this._includes.push({
|
|
17999
17999
|
fieldName: "thumbnailFile",
|
|
18000
|
-
fragmentDoc:
|
|
18000
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FileFragmentDoc,
|
|
18001
18001
|
variables,
|
|
18002
18002
|
isConnection: false,
|
|
18003
18003
|
isList: false,
|
|
@@ -18020,14 +18020,14 @@ var Insight_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18020
18020
|
}
|
|
18021
18021
|
async fetch(options) {
|
|
18022
18022
|
const variables = this._variables;
|
|
18023
|
-
const response = await this._syncEngine.query(
|
|
18023
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Insight_ChatDocument, variables, "insight");
|
|
18024
18024
|
const data = response.insight?.chat;
|
|
18025
18025
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18026
18026
|
}
|
|
18027
18027
|
watch(options) {
|
|
18028
18028
|
const variables = this._variables;
|
|
18029
18029
|
const raw = this._syncEngine.watch(
|
|
18030
|
-
|
|
18030
|
+
chunkMFVKPMD4_cjs.Insight_ChatDocument,
|
|
18031
18031
|
variables,
|
|
18032
18032
|
"insight",
|
|
18033
18033
|
async (db) => {
|
|
@@ -18049,7 +18049,7 @@ var Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18049
18049
|
this._variables = variables;
|
|
18050
18050
|
}
|
|
18051
18051
|
async fetch(options) {
|
|
18052
|
-
const response = await this._syncEngine.query(
|
|
18052
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Insight_ReportMembersDocument, this._variables, "insight");
|
|
18053
18053
|
const data = response.insight?.reportMembers;
|
|
18054
18054
|
if (!Array.isArray(data)) return [];
|
|
18055
18055
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -18063,18 +18063,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk342BFYZZ_cjs
|
|
|
18063
18063
|
}
|
|
18064
18064
|
async fetch(options) {
|
|
18065
18065
|
const variables = this._variables;
|
|
18066
|
-
const response = await this._syncEngine.query(
|
|
18066
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Insight_ReportsDocument, variables, "insight");
|
|
18067
18067
|
const data = response.insight?.reports;
|
|
18068
18068
|
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);
|
|
18069
18069
|
}
|
|
18070
18070
|
watch(options) {
|
|
18071
18071
|
const variables = this._variables;
|
|
18072
18072
|
const raw = this._syncEngine.watch(
|
|
18073
|
-
|
|
18073
|
+
chunkMFVKPMD4_cjs.Insight_ReportsDocument,
|
|
18074
18074
|
variables,
|
|
18075
18075
|
"insight",
|
|
18076
18076
|
async (db) => {
|
|
18077
|
-
const qr = await db._queryResults.get(buildQueryKey("insight", variables,
|
|
18077
|
+
const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkMFVKPMD4_cjs.Insight_ReportsDocument));
|
|
18078
18078
|
const nodes = qr ? await db.table("reports").bulkGet(qr.entityIds) : [];
|
|
18079
18079
|
return { insight: { reports: { __typename: "ReportConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
18080
18080
|
}
|
|
@@ -18093,14 +18093,14 @@ var Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18093
18093
|
}
|
|
18094
18094
|
async fetch(options) {
|
|
18095
18095
|
const variables = this._variables;
|
|
18096
|
-
const response = await this._syncEngine.query(
|
|
18096
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Insight_ThumbnailFileDocument, variables, "insight");
|
|
18097
18097
|
const data = response.insight?.thumbnailFile;
|
|
18098
18098
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18099
18099
|
}
|
|
18100
18100
|
watch(options) {
|
|
18101
18101
|
const variables = this._variables;
|
|
18102
18102
|
const raw = this._syncEngine.watch(
|
|
18103
|
-
|
|
18103
|
+
chunkMFVKPMD4_cjs.Insight_ThumbnailFileDocument,
|
|
18104
18104
|
variables,
|
|
18105
18105
|
"insight",
|
|
18106
18106
|
async (db) => {
|
|
@@ -18124,7 +18124,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18124
18124
|
}
|
|
18125
18125
|
async fetch(options) {
|
|
18126
18126
|
const variables = this._variables;
|
|
18127
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18127
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.InsightsDocument, "insights", this._includes, variables, true);
|
|
18128
18128
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
|
|
18129
18129
|
const data = response.insights;
|
|
18130
18130
|
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);
|
|
@@ -18141,7 +18141,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18141
18141
|
const subscriptionId = crypto.randomUUID();
|
|
18142
18142
|
const includes = this._includes;
|
|
18143
18143
|
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) }] : []);
|
|
18144
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18144
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.InsightsDocument, "insights", includes, variables, true);
|
|
18145
18145
|
const raw = this._syncEngine.watch(
|
|
18146
18146
|
queryDoc,
|
|
18147
18147
|
mergedVars,
|
|
@@ -18176,7 +18176,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18176
18176
|
}
|
|
18177
18177
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
18178
18178
|
chat(variables, builder) {
|
|
18179
|
-
const info = extractIncludeInfo(
|
|
18179
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
18180
18180
|
let children;
|
|
18181
18181
|
if (builder) {
|
|
18182
18182
|
const sub = new ChatSubBuilder();
|
|
@@ -18185,7 +18185,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18185
18185
|
}
|
|
18186
18186
|
this._includes.push({
|
|
18187
18187
|
fieldName: "chat",
|
|
18188
|
-
fragmentDoc:
|
|
18188
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ChatFragmentDoc,
|
|
18189
18189
|
variables,
|
|
18190
18190
|
isConnection: false,
|
|
18191
18191
|
isList: false,
|
|
@@ -18202,10 +18202,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18202
18202
|
}
|
|
18203
18203
|
/** Include reportMembers in this query (Smart Fetch — single HTTP request). */
|
|
18204
18204
|
reportMembers(variables) {
|
|
18205
|
-
const info = extractIncludeInfo(
|
|
18205
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
18206
18206
|
this._includes.push({
|
|
18207
18207
|
fieldName: "reportMembers",
|
|
18208
|
-
fragmentDoc:
|
|
18208
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ReportMemberFragmentDoc,
|
|
18209
18209
|
variables,
|
|
18210
18210
|
isConnection: false,
|
|
18211
18211
|
isList: true,
|
|
@@ -18221,7 +18221,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18221
18221
|
}
|
|
18222
18222
|
/** Include reports in this query (Smart Fetch — single HTTP request). */
|
|
18223
18223
|
reports(variables, builder) {
|
|
18224
|
-
const info = extractIncludeInfo(
|
|
18224
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
18225
18225
|
let children;
|
|
18226
18226
|
if (builder) {
|
|
18227
18227
|
const sub = new ReportSubBuilder();
|
|
@@ -18230,7 +18230,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18230
18230
|
}
|
|
18231
18231
|
this._includes.push({
|
|
18232
18232
|
fieldName: "reports",
|
|
18233
|
-
fragmentDoc:
|
|
18233
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ReportConnectionFragmentDoc,
|
|
18234
18234
|
variables,
|
|
18235
18235
|
isConnection: true,
|
|
18236
18236
|
isList: false,
|
|
@@ -18248,10 +18248,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18248
18248
|
}
|
|
18249
18249
|
/** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
|
|
18250
18250
|
thumbnailFile(variables) {
|
|
18251
|
-
const info = extractIncludeInfo(
|
|
18251
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
18252
18252
|
this._includes.push({
|
|
18253
18253
|
fieldName: "thumbnailFile",
|
|
18254
|
-
fragmentDoc:
|
|
18254
|
+
fragmentDoc: chunkMFVKPMD4_cjs.FileFragmentDoc,
|
|
18255
18255
|
variables,
|
|
18256
18256
|
isConnection: false,
|
|
18257
18257
|
isList: false,
|
|
@@ -18275,7 +18275,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18275
18275
|
}
|
|
18276
18276
|
async fetch(options) {
|
|
18277
18277
|
const variables = this._variables;
|
|
18278
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18278
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.IntegrationDocument, "integration", this._includes, variables);
|
|
18279
18279
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
|
|
18280
18280
|
const data = response.integration;
|
|
18281
18281
|
const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18287,7 +18287,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18287
18287
|
watch(options) {
|
|
18288
18288
|
const variables = this._variables;
|
|
18289
18289
|
const includes = this._includes;
|
|
18290
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18290
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.IntegrationDocument, "integration", includes, variables);
|
|
18291
18291
|
const raw = this._syncEngine.watch(
|
|
18292
18292
|
queryDoc,
|
|
18293
18293
|
mergedVars,
|
|
@@ -18317,10 +18317,10 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18317
18317
|
}
|
|
18318
18318
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18319
18319
|
provider(variables) {
|
|
18320
|
-
const info = extractIncludeInfo(
|
|
18320
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
18321
18321
|
this._includes.push({
|
|
18322
18322
|
fieldName: "provider",
|
|
18323
|
-
fragmentDoc:
|
|
18323
|
+
fragmentDoc: chunkMFVKPMD4_cjs.IntegrationProviderFragmentDoc,
|
|
18324
18324
|
variables,
|
|
18325
18325
|
isConnection: false,
|
|
18326
18326
|
isList: false,
|
|
@@ -18343,14 +18343,14 @@ var Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18343
18343
|
}
|
|
18344
18344
|
async fetch(options) {
|
|
18345
18345
|
const variables = this._variables;
|
|
18346
|
-
const response = await this._syncEngine.query(
|
|
18346
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Integration_ProviderDocument, variables, "integration");
|
|
18347
18347
|
const data = response.integration?.provider;
|
|
18348
18348
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18349
18349
|
}
|
|
18350
18350
|
watch(options) {
|
|
18351
18351
|
const variables = this._variables;
|
|
18352
18352
|
const raw = this._syncEngine.watch(
|
|
18353
|
-
|
|
18353
|
+
chunkMFVKPMD4_cjs.Integration_ProviderDocument,
|
|
18354
18354
|
variables,
|
|
18355
18355
|
"integration",
|
|
18356
18356
|
async (db) => {
|
|
@@ -18373,14 +18373,14 @@ var Integration_Provider_CatalogQuery = class extends chunk342BFYZZ_cjs.Request
|
|
|
18373
18373
|
}
|
|
18374
18374
|
async fetch(options) {
|
|
18375
18375
|
const variables = this._variables;
|
|
18376
|
-
const response = await this._syncEngine.query(
|
|
18376
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Integration_Provider_CatalogDocument, variables, "integration");
|
|
18377
18377
|
const data = response.integration?.provider?.catalog;
|
|
18378
18378
|
return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18379
18379
|
}
|
|
18380
18380
|
watch(options) {
|
|
18381
18381
|
const variables = this._variables;
|
|
18382
18382
|
const raw = this._syncEngine.watch(
|
|
18383
|
-
|
|
18383
|
+
chunkMFVKPMD4_cjs.Integration_Provider_CatalogDocument,
|
|
18384
18384
|
variables,
|
|
18385
18385
|
"integration",
|
|
18386
18386
|
async (db) => {
|
|
@@ -18404,7 +18404,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18404
18404
|
}
|
|
18405
18405
|
async fetch(options) {
|
|
18406
18406
|
const variables = this._variables;
|
|
18407
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18407
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
|
|
18408
18408
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
|
|
18409
18409
|
const data = response.integrationCatalog;
|
|
18410
18410
|
const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18416,7 +18416,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18416
18416
|
watch(options) {
|
|
18417
18417
|
const variables = this._variables;
|
|
18418
18418
|
const includes = this._includes;
|
|
18419
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18419
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
|
|
18420
18420
|
const raw = this._syncEngine.watch(
|
|
18421
18421
|
queryDoc,
|
|
18422
18422
|
mergedVars,
|
|
@@ -18446,10 +18446,10 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18446
18446
|
}
|
|
18447
18447
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18448
18448
|
provider(variables) {
|
|
18449
|
-
const info = extractIncludeInfo(
|
|
18449
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
18450
18450
|
this._includes.push({
|
|
18451
18451
|
fieldName: "provider",
|
|
18452
|
-
fragmentDoc:
|
|
18452
|
+
fragmentDoc: chunkMFVKPMD4_cjs.IntegrationProviderFragmentDoc,
|
|
18453
18453
|
variables,
|
|
18454
18454
|
isConnection: false,
|
|
18455
18455
|
isList: false,
|
|
@@ -18472,14 +18472,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18472
18472
|
}
|
|
18473
18473
|
async fetch(options) {
|
|
18474
18474
|
const variables = this._variables;
|
|
18475
|
-
const response = await this._syncEngine.query(
|
|
18475
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
|
|
18476
18476
|
const data = response.integrationCatalog?.provider;
|
|
18477
18477
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18478
18478
|
}
|
|
18479
18479
|
watch(options) {
|
|
18480
18480
|
const variables = this._variables;
|
|
18481
18481
|
const raw = this._syncEngine.watch(
|
|
18482
|
-
|
|
18482
|
+
chunkMFVKPMD4_cjs.IntegrationCatalog_ProviderDocument,
|
|
18483
18483
|
variables,
|
|
18484
18484
|
"integrationCatalog",
|
|
18485
18485
|
async (db) => {
|
|
@@ -18496,7 +18496,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18496
18496
|
};
|
|
18497
18497
|
var IntegrationCatalogToolsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18498
18498
|
async fetch(variables) {
|
|
18499
|
-
const response = await this._request(
|
|
18499
|
+
const response = await this._request(chunkMFVKPMD4_cjs.IntegrationCatalogToolsDocument, variables);
|
|
18500
18500
|
return response.integrationCatalogTools;
|
|
18501
18501
|
}
|
|
18502
18502
|
};
|
|
@@ -18509,7 +18509,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
18509
18509
|
}
|
|
18510
18510
|
async fetch(options) {
|
|
18511
18511
|
const variables = this._variables;
|
|
18512
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18512
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
|
|
18513
18513
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
|
|
18514
18514
|
const data = response.integrationCatalogs;
|
|
18515
18515
|
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);
|
|
@@ -18526,7 +18526,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
18526
18526
|
const subscriptionId = crypto.randomUUID();
|
|
18527
18527
|
const includes = this._includes;
|
|
18528
18528
|
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) }] : []);
|
|
18529
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18529
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
|
|
18530
18530
|
const raw = this._syncEngine.watch(
|
|
18531
18531
|
queryDoc,
|
|
18532
18532
|
mergedVars,
|
|
@@ -18561,10 +18561,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
18561
18561
|
}
|
|
18562
18562
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18563
18563
|
provider(variables) {
|
|
18564
|
-
const info = extractIncludeInfo(
|
|
18564
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
18565
18565
|
this._includes.push({
|
|
18566
18566
|
fieldName: "provider",
|
|
18567
|
-
fragmentDoc:
|
|
18567
|
+
fragmentDoc: chunkMFVKPMD4_cjs.IntegrationProviderFragmentDoc,
|
|
18568
18568
|
variables,
|
|
18569
18569
|
isConnection: false,
|
|
18570
18570
|
isList: false,
|
|
@@ -18588,7 +18588,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
18588
18588
|
}
|
|
18589
18589
|
async fetch(options) {
|
|
18590
18590
|
const variables = this._variables;
|
|
18591
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18591
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
|
|
18592
18592
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
|
|
18593
18593
|
const data = response.integrations;
|
|
18594
18594
|
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);
|
|
@@ -18605,7 +18605,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
18605
18605
|
const subscriptionId = crypto.randomUUID();
|
|
18606
18606
|
const includes = this._includes;
|
|
18607
18607
|
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) }] : []);
|
|
18608
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18608
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.IntegrationsDocument, "integrations", includes, variables, true);
|
|
18609
18609
|
const raw = this._syncEngine.watch(
|
|
18610
18610
|
queryDoc,
|
|
18611
18611
|
mergedVars,
|
|
@@ -18640,10 +18640,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
18640
18640
|
}
|
|
18641
18641
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18642
18642
|
provider(variables) {
|
|
18643
|
-
const info = extractIncludeInfo(
|
|
18643
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
18644
18644
|
this._includes.push({
|
|
18645
18645
|
fieldName: "provider",
|
|
18646
|
-
fragmentDoc:
|
|
18646
|
+
fragmentDoc: chunkMFVKPMD4_cjs.IntegrationProviderFragmentDoc,
|
|
18647
18647
|
variables,
|
|
18648
18648
|
isConnection: false,
|
|
18649
18649
|
isList: false,
|
|
@@ -18667,7 +18667,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
|
|
|
18667
18667
|
}
|
|
18668
18668
|
async fetch(options) {
|
|
18669
18669
|
const variables = this._variables;
|
|
18670
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18670
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
|
|
18671
18671
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
|
|
18672
18672
|
const data = response.interpretations;
|
|
18673
18673
|
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);
|
|
@@ -18684,7 +18684,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
|
|
|
18684
18684
|
const subscriptionId = crypto.randomUUID();
|
|
18685
18685
|
const includes = this._includes;
|
|
18686
18686
|
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) }] : []);
|
|
18687
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18687
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
|
|
18688
18688
|
const raw = this._syncEngine.watch(
|
|
18689
18689
|
queryDoc,
|
|
18690
18690
|
mergedVars,
|
|
@@ -18727,7 +18727,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18727
18727
|
}
|
|
18728
18728
|
async fetch(options) {
|
|
18729
18729
|
const variables = this._variables;
|
|
18730
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18730
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.NotificationDocument, "notification", this._includes, variables);
|
|
18731
18731
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
|
|
18732
18732
|
const data = response.notification;
|
|
18733
18733
|
const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18739,7 +18739,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18739
18739
|
watch(options) {
|
|
18740
18740
|
const variables = this._variables;
|
|
18741
18741
|
const includes = this._includes;
|
|
18742
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18742
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.NotificationDocument, "notification", includes, variables);
|
|
18743
18743
|
const raw = this._syncEngine.watch(
|
|
18744
18744
|
queryDoc,
|
|
18745
18745
|
mergedVars,
|
|
@@ -18777,7 +18777,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
|
|
|
18777
18777
|
}
|
|
18778
18778
|
async fetch(options) {
|
|
18779
18779
|
const variables = this._variables;
|
|
18780
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18780
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
|
|
18781
18781
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
|
|
18782
18782
|
const data = response.notifications;
|
|
18783
18783
|
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);
|
|
@@ -18794,7 +18794,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
|
|
|
18794
18794
|
const subscriptionId = crypto.randomUUID();
|
|
18795
18795
|
const includes = this._includes;
|
|
18796
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) }] : []);
|
|
18797
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18797
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.NotificationsDocument, "notifications", includes, variables, true);
|
|
18798
18798
|
const raw = this._syncEngine.watch(
|
|
18799
18799
|
queryDoc,
|
|
18800
18800
|
mergedVars,
|
|
@@ -18836,7 +18836,7 @@ var NotificationsByReferenceQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18836
18836
|
this._variables = variables;
|
|
18837
18837
|
}
|
|
18838
18838
|
async fetch(options) {
|
|
18839
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18839
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
|
|
18840
18840
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
|
|
18841
18841
|
const data = response.notificationsByReference;
|
|
18842
18842
|
if (!Array.isArray(data)) return [];
|
|
@@ -18852,7 +18852,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18852
18852
|
}
|
|
18853
18853
|
async fetch(options) {
|
|
18854
18854
|
const variables = this._variables;
|
|
18855
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18855
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
|
|
18856
18856
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
|
|
18857
18857
|
const data = response.privacyStats;
|
|
18858
18858
|
const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18864,7 +18864,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18864
18864
|
watch(options) {
|
|
18865
18865
|
const variables = this._variables;
|
|
18866
18866
|
const includes = this._includes;
|
|
18867
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18867
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
|
|
18868
18868
|
const raw = this._syncEngine.watch(
|
|
18869
18869
|
queryDoc,
|
|
18870
18870
|
mergedVars,
|
|
@@ -18902,7 +18902,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18902
18902
|
}
|
|
18903
18903
|
async fetch(options) {
|
|
18904
18904
|
const variables = this._variables;
|
|
18905
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18905
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
|
|
18906
18906
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
|
|
18907
18907
|
const data = response.pulseAppSummary;
|
|
18908
18908
|
if (!data) return void 0;
|
|
@@ -18915,7 +18915,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18915
18915
|
watch(options) {
|
|
18916
18916
|
const variables = this._variables;
|
|
18917
18917
|
const includes = this._includes;
|
|
18918
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18918
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
|
|
18919
18919
|
const raw = this._syncEngine.watch(
|
|
18920
18920
|
queryDoc,
|
|
18921
18921
|
mergedVars,
|
|
@@ -18954,7 +18954,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18954
18954
|
}
|
|
18955
18955
|
async fetch(options) {
|
|
18956
18956
|
const variables = this._variables;
|
|
18957
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18957
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
|
|
18958
18958
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
|
|
18959
18959
|
const data = response.pulseEvent;
|
|
18960
18960
|
const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18966,7 +18966,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18966
18966
|
watch(options) {
|
|
18967
18967
|
const variables = this._variables;
|
|
18968
18968
|
const includes = this._includes;
|
|
18969
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18969
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.PulseEventDocument, "pulseEvent", includes, variables);
|
|
18970
18970
|
const raw = this._syncEngine.watch(
|
|
18971
18971
|
queryDoc,
|
|
18972
18972
|
mergedVars,
|
|
@@ -18996,7 +18996,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18996
18996
|
}
|
|
18997
18997
|
/** Include integration in this query (Smart Fetch — single HTTP request). */
|
|
18998
18998
|
integration(variables, builder) {
|
|
18999
|
-
const info = extractIncludeInfo(
|
|
18999
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
19000
19000
|
let children;
|
|
19001
19001
|
if (builder) {
|
|
19002
19002
|
const sub = new IntegrationSubBuilder();
|
|
@@ -19005,7 +19005,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19005
19005
|
}
|
|
19006
19006
|
this._includes.push({
|
|
19007
19007
|
fieldName: "integration",
|
|
19008
|
-
fragmentDoc:
|
|
19008
|
+
fragmentDoc: chunkMFVKPMD4_cjs.IntegrationFragmentDoc,
|
|
19009
19009
|
variables,
|
|
19010
19010
|
isConnection: false,
|
|
19011
19011
|
isList: false,
|
|
@@ -19029,14 +19029,14 @@ var PulseEvent_IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19029
19029
|
}
|
|
19030
19030
|
async fetch(options) {
|
|
19031
19031
|
const variables = this._variables;
|
|
19032
|
-
const response = await this._syncEngine.query(
|
|
19032
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
|
|
19033
19033
|
const data = response.pulseEvent?.integration;
|
|
19034
19034
|
return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19035
19035
|
}
|
|
19036
19036
|
watch(options) {
|
|
19037
19037
|
const variables = this._variables;
|
|
19038
19038
|
const raw = this._syncEngine.watch(
|
|
19039
|
-
|
|
19039
|
+
chunkMFVKPMD4_cjs.PulseEvent_IntegrationDocument,
|
|
19040
19040
|
variables,
|
|
19041
19041
|
"pulseEvent",
|
|
19042
19042
|
async (db) => {
|
|
@@ -19059,14 +19059,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Reque
|
|
|
19059
19059
|
}
|
|
19060
19060
|
async fetch(options) {
|
|
19061
19061
|
const variables = this._variables;
|
|
19062
|
-
const response = await this._syncEngine.query(
|
|
19062
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
|
|
19063
19063
|
const data = response.pulseEvent?.integration?.provider;
|
|
19064
19064
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19065
19065
|
}
|
|
19066
19066
|
watch(options) {
|
|
19067
19067
|
const variables = this._variables;
|
|
19068
19068
|
const raw = this._syncEngine.watch(
|
|
19069
|
-
|
|
19069
|
+
chunkMFVKPMD4_cjs.PulseEvent_Integration_ProviderDocument,
|
|
19070
19070
|
variables,
|
|
19071
19071
|
"pulseEvent",
|
|
19072
19072
|
async (db) => {
|
|
@@ -19090,7 +19090,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19090
19090
|
}
|
|
19091
19091
|
async fetch(options) {
|
|
19092
19092
|
const variables = this._variables;
|
|
19093
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19093
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
|
|
19094
19094
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
|
|
19095
19095
|
const data = response.pulseEvents;
|
|
19096
19096
|
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);
|
|
@@ -19107,7 +19107,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19107
19107
|
const subscriptionId = crypto.randomUUID();
|
|
19108
19108
|
const includes = this._includes;
|
|
19109
19109
|
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) }] : []);
|
|
19110
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19110
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
|
|
19111
19111
|
const raw = this._syncEngine.watch(
|
|
19112
19112
|
queryDoc,
|
|
19113
19113
|
mergedVars,
|
|
@@ -19142,7 +19142,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19142
19142
|
}
|
|
19143
19143
|
/** Include integration in this query (Smart Fetch — single HTTP request). */
|
|
19144
19144
|
integration(variables, builder) {
|
|
19145
|
-
const info = extractIncludeInfo(
|
|
19145
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
19146
19146
|
let children;
|
|
19147
19147
|
if (builder) {
|
|
19148
19148
|
const sub = new IntegrationSubBuilder();
|
|
@@ -19151,7 +19151,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19151
19151
|
}
|
|
19152
19152
|
this._includes.push({
|
|
19153
19153
|
fieldName: "integration",
|
|
19154
|
-
fragmentDoc:
|
|
19154
|
+
fragmentDoc: chunkMFVKPMD4_cjs.IntegrationFragmentDoc,
|
|
19155
19155
|
variables,
|
|
19156
19156
|
isConnection: false,
|
|
19157
19157
|
isList: false,
|
|
@@ -19175,7 +19175,7 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19175
19175
|
this._variables = variables;
|
|
19176
19176
|
}
|
|
19177
19177
|
async fetch(options) {
|
|
19178
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19178
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
|
|
19179
19179
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
|
|
19180
19180
|
const data = response.pulseTriggerSettings;
|
|
19181
19181
|
if (!Array.isArray(data)) return [];
|
|
@@ -19184,19 +19184,19 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19184
19184
|
};
|
|
19185
19185
|
var QueryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19186
19186
|
async fetch(variables) {
|
|
19187
|
-
const response = await this._request(
|
|
19187
|
+
const response = await this._request(chunkMFVKPMD4_cjs.QueryDocument, variables);
|
|
19188
19188
|
return response.query;
|
|
19189
19189
|
}
|
|
19190
19190
|
};
|
|
19191
19191
|
var QueryWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19192
19192
|
async fetch(variables) {
|
|
19193
|
-
const response = await this._request(
|
|
19193
|
+
const response = await this._request(chunkMFVKPMD4_cjs.QueryWithInsightIdDocument, variables);
|
|
19194
19194
|
return response.queryWithInsightId;
|
|
19195
19195
|
}
|
|
19196
19196
|
};
|
|
19197
19197
|
var QueryWithMessageIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19198
19198
|
async fetch(variables) {
|
|
19199
|
-
const response = await this._request(
|
|
19199
|
+
const response = await this._request(chunkMFVKPMD4_cjs.QueryWithMessageIdDocument, variables);
|
|
19200
19200
|
return response.queryWithMessageId;
|
|
19201
19201
|
}
|
|
19202
19202
|
};
|
|
@@ -19209,7 +19209,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19209
19209
|
}
|
|
19210
19210
|
async fetch(options) {
|
|
19211
19211
|
const variables = this._variables;
|
|
19212
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19212
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ReportDocument, "report", this._includes, variables);
|
|
19213
19213
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
|
|
19214
19214
|
const data = response.report;
|
|
19215
19215
|
const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19221,7 +19221,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19221
19221
|
watch(options) {
|
|
19222
19222
|
const variables = this._variables;
|
|
19223
19223
|
const includes = this._includes;
|
|
19224
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19224
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ReportDocument, "report", includes, variables);
|
|
19225
19225
|
const raw = this._syncEngine.watch(
|
|
19226
19226
|
queryDoc,
|
|
19227
19227
|
mergedVars,
|
|
@@ -19251,7 +19251,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19251
19251
|
}
|
|
19252
19252
|
/** Include insights in this query (Smart Fetch — single HTTP request). */
|
|
19253
19253
|
insights(variables, builder) {
|
|
19254
|
-
const info = extractIncludeInfo(
|
|
19254
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
19255
19255
|
let children;
|
|
19256
19256
|
if (builder) {
|
|
19257
19257
|
const sub = new InsightSubBuilder();
|
|
@@ -19260,7 +19260,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19260
19260
|
}
|
|
19261
19261
|
this._includes.push({
|
|
19262
19262
|
fieldName: "insights",
|
|
19263
|
-
fragmentDoc:
|
|
19263
|
+
fragmentDoc: chunkMFVKPMD4_cjs.InsightConnectionFragmentDoc,
|
|
19264
19264
|
variables,
|
|
19265
19265
|
isConnection: true,
|
|
19266
19266
|
isList: false,
|
|
@@ -19278,10 +19278,10 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19278
19278
|
}
|
|
19279
19279
|
/** Include layout in this query (Smart Fetch — single HTTP request). */
|
|
19280
19280
|
layout(variables) {
|
|
19281
|
-
const info = extractIncludeInfo(
|
|
19281
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
19282
19282
|
this._includes.push({
|
|
19283
19283
|
fieldName: "layout",
|
|
19284
|
-
fragmentDoc:
|
|
19284
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ReportMemberFragmentDoc,
|
|
19285
19285
|
variables,
|
|
19286
19286
|
isConnection: false,
|
|
19287
19287
|
isList: true,
|
|
@@ -19304,18 +19304,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk342BFYZZ_cjs
|
|
|
19304
19304
|
}
|
|
19305
19305
|
async fetch(options) {
|
|
19306
19306
|
const variables = this._variables;
|
|
19307
|
-
const response = await this._syncEngine.query(
|
|
19307
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Report_InsightsDocument, variables, "report");
|
|
19308
19308
|
const data = response.report?.insights;
|
|
19309
19309
|
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);
|
|
19310
19310
|
}
|
|
19311
19311
|
watch(options) {
|
|
19312
19312
|
const variables = this._variables;
|
|
19313
19313
|
const raw = this._syncEngine.watch(
|
|
19314
|
-
|
|
19314
|
+
chunkMFVKPMD4_cjs.Report_InsightsDocument,
|
|
19315
19315
|
variables,
|
|
19316
19316
|
"report",
|
|
19317
19317
|
async (db) => {
|
|
19318
|
-
const qr = await db._queryResults.get(buildQueryKey("report", variables,
|
|
19318
|
+
const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkMFVKPMD4_cjs.Report_InsightsDocument));
|
|
19319
19319
|
const nodes = qr ? await db.table("insights").bulkGet(qr.entityIds) : [];
|
|
19320
19320
|
return { report: { insights: { __typename: "InsightConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
19321
19321
|
}
|
|
@@ -19333,7 +19333,7 @@ var Report_LayoutQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19333
19333
|
this._variables = variables;
|
|
19334
19334
|
}
|
|
19335
19335
|
async fetch(options) {
|
|
19336
|
-
const response = await this._syncEngine.query(
|
|
19336
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Report_LayoutDocument, this._variables, "report");
|
|
19337
19337
|
const data = response.report?.layout;
|
|
19338
19338
|
if (!Array.isArray(data)) return [];
|
|
19339
19339
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19348,7 +19348,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19348
19348
|
}
|
|
19349
19349
|
async fetch(options) {
|
|
19350
19350
|
const variables = this._variables;
|
|
19351
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19351
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ReportsDocument, "reports", this._includes, variables, true);
|
|
19352
19352
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
|
|
19353
19353
|
const data = response.reports;
|
|
19354
19354
|
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);
|
|
@@ -19365,7 +19365,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19365
19365
|
const subscriptionId = crypto.randomUUID();
|
|
19366
19366
|
const includes = this._includes;
|
|
19367
19367
|
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) }] : []);
|
|
19368
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19368
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.ReportsDocument, "reports", includes, variables, true);
|
|
19369
19369
|
const raw = this._syncEngine.watch(
|
|
19370
19370
|
queryDoc,
|
|
19371
19371
|
mergedVars,
|
|
@@ -19400,7 +19400,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19400
19400
|
}
|
|
19401
19401
|
/** Include insights in this query (Smart Fetch — single HTTP request). */
|
|
19402
19402
|
insights(variables, builder) {
|
|
19403
|
-
const info = extractIncludeInfo(
|
|
19403
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
19404
19404
|
let children;
|
|
19405
19405
|
if (builder) {
|
|
19406
19406
|
const sub = new InsightSubBuilder();
|
|
@@ -19409,7 +19409,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19409
19409
|
}
|
|
19410
19410
|
this._includes.push({
|
|
19411
19411
|
fieldName: "insights",
|
|
19412
|
-
fragmentDoc:
|
|
19412
|
+
fragmentDoc: chunkMFVKPMD4_cjs.InsightConnectionFragmentDoc,
|
|
19413
19413
|
variables,
|
|
19414
19414
|
isConnection: true,
|
|
19415
19415
|
isList: false,
|
|
@@ -19427,10 +19427,10 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19427
19427
|
}
|
|
19428
19428
|
/** Include layout in this query (Smart Fetch — single HTTP request). */
|
|
19429
19429
|
layout(variables) {
|
|
19430
|
-
const info = extractIncludeInfo(
|
|
19430
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
19431
19431
|
this._includes.push({
|
|
19432
19432
|
fieldName: "layout",
|
|
19433
|
-
fragmentDoc:
|
|
19433
|
+
fragmentDoc: chunkMFVKPMD4_cjs.ReportMemberFragmentDoc,
|
|
19434
19434
|
variables,
|
|
19435
19435
|
isConnection: false,
|
|
19436
19436
|
isList: true,
|
|
@@ -19454,7 +19454,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19454
19454
|
}
|
|
19455
19455
|
async fetch(options) {
|
|
19456
19456
|
const variables = this._variables;
|
|
19457
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19457
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.TableDocument, "table", this._includes, variables);
|
|
19458
19458
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
|
|
19459
19459
|
const data = response.table;
|
|
19460
19460
|
const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19466,7 +19466,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19466
19466
|
watch(options) {
|
|
19467
19467
|
const variables = this._variables;
|
|
19468
19468
|
const includes = this._includes;
|
|
19469
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19469
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.TableDocument, "table", includes, variables);
|
|
19470
19470
|
const raw = this._syncEngine.watch(
|
|
19471
19471
|
queryDoc,
|
|
19472
19472
|
mergedVars,
|
|
@@ -19496,7 +19496,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19496
19496
|
}
|
|
19497
19497
|
/** Include database in this query (Smart Fetch — single HTTP request). */
|
|
19498
19498
|
database(variables, builder) {
|
|
19499
|
-
const info = extractIncludeInfo(
|
|
19499
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
19500
19500
|
let children;
|
|
19501
19501
|
if (builder) {
|
|
19502
19502
|
const sub = new DatabaseSubBuilder();
|
|
@@ -19505,7 +19505,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19505
19505
|
}
|
|
19506
19506
|
this._includes.push({
|
|
19507
19507
|
fieldName: "database",
|
|
19508
|
-
fragmentDoc:
|
|
19508
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DatabaseFragmentDoc,
|
|
19509
19509
|
variables,
|
|
19510
19510
|
isConnection: false,
|
|
19511
19511
|
isList: false,
|
|
@@ -19522,7 +19522,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19522
19522
|
}
|
|
19523
19523
|
/** Include document in this query (Smart Fetch — single HTTP request). */
|
|
19524
19524
|
document(variables, builder) {
|
|
19525
|
-
const info = extractIncludeInfo(
|
|
19525
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
19526
19526
|
let children;
|
|
19527
19527
|
if (builder) {
|
|
19528
19528
|
const sub = new DocumentSubBuilder();
|
|
@@ -19531,7 +19531,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19531
19531
|
}
|
|
19532
19532
|
this._includes.push({
|
|
19533
19533
|
fieldName: "document",
|
|
19534
|
-
fragmentDoc:
|
|
19534
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DocumentFragmentDoc,
|
|
19535
19535
|
variables,
|
|
19536
19536
|
isConnection: false,
|
|
19537
19537
|
isList: false,
|
|
@@ -19548,10 +19548,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19548
19548
|
}
|
|
19549
19549
|
/** Include fromRelations in this query (Smart Fetch — single HTTP request). */
|
|
19550
19550
|
fromRelations(variables) {
|
|
19551
|
-
const info = extractIncludeInfo(
|
|
19551
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
19552
19552
|
this._includes.push({
|
|
19553
19553
|
fieldName: "fromRelations",
|
|
19554
|
-
fragmentDoc:
|
|
19554
|
+
fragmentDoc: chunkMFVKPMD4_cjs.RelationFragmentDoc,
|
|
19555
19555
|
variables,
|
|
19556
19556
|
isConnection: false,
|
|
19557
19557
|
isList: true,
|
|
@@ -19567,10 +19567,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19567
19567
|
}
|
|
19568
19568
|
/** Include toRelations in this query (Smart Fetch — single HTTP request). */
|
|
19569
19569
|
toRelations(variables) {
|
|
19570
|
-
const info = extractIncludeInfo(
|
|
19570
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
19571
19571
|
this._includes.push({
|
|
19572
19572
|
fieldName: "toRelations",
|
|
19573
|
-
fragmentDoc:
|
|
19573
|
+
fragmentDoc: chunkMFVKPMD4_cjs.RelationFragmentDoc,
|
|
19574
19574
|
variables,
|
|
19575
19575
|
isConnection: false,
|
|
19576
19576
|
isList: true,
|
|
@@ -19593,14 +19593,14 @@ var Table_DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19593
19593
|
}
|
|
19594
19594
|
async fetch(options) {
|
|
19595
19595
|
const variables = this._variables;
|
|
19596
|
-
const response = await this._syncEngine.query(
|
|
19596
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Table_DatabaseDocument, variables, "table");
|
|
19597
19597
|
const data = response.table?.database;
|
|
19598
19598
|
return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19599
19599
|
}
|
|
19600
19600
|
watch(options) {
|
|
19601
19601
|
const variables = this._variables;
|
|
19602
19602
|
const raw = this._syncEngine.watch(
|
|
19603
|
-
|
|
19603
|
+
chunkMFVKPMD4_cjs.Table_DatabaseDocument,
|
|
19604
19604
|
variables,
|
|
19605
19605
|
"table",
|
|
19606
19606
|
async (db) => {
|
|
@@ -19623,14 +19623,14 @@ var Table_Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19623
19623
|
}
|
|
19624
19624
|
async fetch(options) {
|
|
19625
19625
|
const variables = this._variables;
|
|
19626
|
-
const response = await this._syncEngine.query(
|
|
19626
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Table_Database_EngineDocument, variables, "table");
|
|
19627
19627
|
const data = response.table?.database?.engine;
|
|
19628
19628
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19629
19629
|
}
|
|
19630
19630
|
watch(options) {
|
|
19631
19631
|
const variables = this._variables;
|
|
19632
19632
|
const raw = this._syncEngine.watch(
|
|
19633
|
-
|
|
19633
|
+
chunkMFVKPMD4_cjs.Table_Database_EngineDocument,
|
|
19634
19634
|
variables,
|
|
19635
19635
|
"table",
|
|
19636
19636
|
async (db) => {
|
|
@@ -19653,14 +19653,14 @@ var Table_DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19653
19653
|
}
|
|
19654
19654
|
async fetch(options) {
|
|
19655
19655
|
const variables = this._variables;
|
|
19656
|
-
const response = await this._syncEngine.query(
|
|
19656
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Table_DocumentDocument, variables, "table");
|
|
19657
19657
|
const data = response.table?.document;
|
|
19658
19658
|
return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19659
19659
|
}
|
|
19660
19660
|
watch(options) {
|
|
19661
19661
|
const variables = this._variables;
|
|
19662
19662
|
const raw = this._syncEngine.watch(
|
|
19663
|
-
|
|
19663
|
+
chunkMFVKPMD4_cjs.Table_DocumentDocument,
|
|
19664
19664
|
variables,
|
|
19665
19665
|
"table",
|
|
19666
19666
|
async (db) => {
|
|
@@ -19682,7 +19682,7 @@ var Table_Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19682
19682
|
this._variables = variables;
|
|
19683
19683
|
}
|
|
19684
19684
|
async fetch(options) {
|
|
19685
|
-
const response = await this._syncEngine.query(
|
|
19685
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Table_Document_ContentsDocument, this._variables, "table");
|
|
19686
19686
|
const data = response.table?.document?.contents;
|
|
19687
19687
|
if (!Array.isArray(data)) return [];
|
|
19688
19688
|
return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19696,14 +19696,14 @@ var Table_Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19696
19696
|
}
|
|
19697
19697
|
async fetch(options) {
|
|
19698
19698
|
const variables = this._variables;
|
|
19699
|
-
const response = await this._syncEngine.query(
|
|
19699
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Table_Document_FileDocument, variables, "table");
|
|
19700
19700
|
const data = response.table?.document?.file;
|
|
19701
19701
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19702
19702
|
}
|
|
19703
19703
|
watch(options) {
|
|
19704
19704
|
const variables = this._variables;
|
|
19705
19705
|
const raw = this._syncEngine.watch(
|
|
19706
|
-
|
|
19706
|
+
chunkMFVKPMD4_cjs.Table_Document_FileDocument,
|
|
19707
19707
|
variables,
|
|
19708
19708
|
"table",
|
|
19709
19709
|
async (db) => {
|
|
@@ -19726,14 +19726,14 @@ var Table_Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19726
19726
|
}
|
|
19727
19727
|
async fetch(options) {
|
|
19728
19728
|
const variables = this._variables;
|
|
19729
|
-
const response = await this._syncEngine.query(
|
|
19729
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Table_Document_FormatDocument, variables, "table");
|
|
19730
19730
|
const data = response.table?.document?.format;
|
|
19731
19731
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19732
19732
|
}
|
|
19733
19733
|
watch(options) {
|
|
19734
19734
|
const variables = this._variables;
|
|
19735
19735
|
const raw = this._syncEngine.watch(
|
|
19736
|
-
|
|
19736
|
+
chunkMFVKPMD4_cjs.Table_Document_FormatDocument,
|
|
19737
19737
|
variables,
|
|
19738
19738
|
"table",
|
|
19739
19739
|
async (db) => {
|
|
@@ -19755,7 +19755,7 @@ var Table_FromRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19755
19755
|
this._variables = variables;
|
|
19756
19756
|
}
|
|
19757
19757
|
async fetch(options) {
|
|
19758
|
-
const response = await this._syncEngine.query(
|
|
19758
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Table_FromRelationsDocument, this._variables, "table");
|
|
19759
19759
|
const data = response.table?.fromRelations;
|
|
19760
19760
|
if (!Array.isArray(data)) return [];
|
|
19761
19761
|
return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19768,7 +19768,7 @@ var Table_ToRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19768
19768
|
this._variables = variables;
|
|
19769
19769
|
}
|
|
19770
19770
|
async fetch(options) {
|
|
19771
|
-
const response = await this._syncEngine.query(
|
|
19771
|
+
const response = await this._syncEngine.query(chunkMFVKPMD4_cjs.Table_ToRelationsDocument, this._variables, "table");
|
|
19772
19772
|
const data = response.table?.toRelations;
|
|
19773
19773
|
if (!Array.isArray(data)) return [];
|
|
19774
19774
|
return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19783,7 +19783,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19783
19783
|
}
|
|
19784
19784
|
async fetch(options) {
|
|
19785
19785
|
const variables = this._variables;
|
|
19786
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19786
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.TablesDocument, "tables", this._includes, variables, true);
|
|
19787
19787
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
|
|
19788
19788
|
const data = response.tables;
|
|
19789
19789
|
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);
|
|
@@ -19800,7 +19800,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19800
19800
|
const subscriptionId = crypto.randomUUID();
|
|
19801
19801
|
const includes = this._includes;
|
|
19802
19802
|
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) }] : []);
|
|
19803
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19803
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.TablesDocument, "tables", includes, variables, true);
|
|
19804
19804
|
const raw = this._syncEngine.watch(
|
|
19805
19805
|
queryDoc,
|
|
19806
19806
|
mergedVars,
|
|
@@ -19835,7 +19835,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19835
19835
|
}
|
|
19836
19836
|
/** Include database in this query (Smart Fetch — single HTTP request). */
|
|
19837
19837
|
database(variables, builder) {
|
|
19838
|
-
const info = extractIncludeInfo(
|
|
19838
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
19839
19839
|
let children;
|
|
19840
19840
|
if (builder) {
|
|
19841
19841
|
const sub = new DatabaseSubBuilder();
|
|
@@ -19844,7 +19844,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19844
19844
|
}
|
|
19845
19845
|
this._includes.push({
|
|
19846
19846
|
fieldName: "database",
|
|
19847
|
-
fragmentDoc:
|
|
19847
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DatabaseFragmentDoc,
|
|
19848
19848
|
variables,
|
|
19849
19849
|
isConnection: false,
|
|
19850
19850
|
isList: false,
|
|
@@ -19861,7 +19861,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19861
19861
|
}
|
|
19862
19862
|
/** Include document in this query (Smart Fetch — single HTTP request). */
|
|
19863
19863
|
document(variables, builder) {
|
|
19864
|
-
const info = extractIncludeInfo(
|
|
19864
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
19865
19865
|
let children;
|
|
19866
19866
|
if (builder) {
|
|
19867
19867
|
const sub = new DocumentSubBuilder();
|
|
@@ -19870,7 +19870,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19870
19870
|
}
|
|
19871
19871
|
this._includes.push({
|
|
19872
19872
|
fieldName: "document",
|
|
19873
|
-
fragmentDoc:
|
|
19873
|
+
fragmentDoc: chunkMFVKPMD4_cjs.DocumentFragmentDoc,
|
|
19874
19874
|
variables,
|
|
19875
19875
|
isConnection: false,
|
|
19876
19876
|
isList: false,
|
|
@@ -19887,10 +19887,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19887
19887
|
}
|
|
19888
19888
|
/** Include fromRelations in this query (Smart Fetch — single HTTP request). */
|
|
19889
19889
|
fromRelations(variables) {
|
|
19890
|
-
const info = extractIncludeInfo(
|
|
19890
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
19891
19891
|
this._includes.push({
|
|
19892
19892
|
fieldName: "fromRelations",
|
|
19893
|
-
fragmentDoc:
|
|
19893
|
+
fragmentDoc: chunkMFVKPMD4_cjs.RelationFragmentDoc,
|
|
19894
19894
|
variables,
|
|
19895
19895
|
isConnection: false,
|
|
19896
19896
|
isList: true,
|
|
@@ -19906,10 +19906,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19906
19906
|
}
|
|
19907
19907
|
/** Include toRelations in this query (Smart Fetch — single HTTP request). */
|
|
19908
19908
|
toRelations(variables) {
|
|
19909
|
-
const info = extractIncludeInfo(
|
|
19909
|
+
const info = extractIncludeInfo(chunkMFVKPMD4_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
19910
19910
|
this._includes.push({
|
|
19911
19911
|
fieldName: "toRelations",
|
|
19912
|
-
fragmentDoc:
|
|
19912
|
+
fragmentDoc: chunkMFVKPMD4_cjs.RelationFragmentDoc,
|
|
19913
19913
|
variables,
|
|
19914
19914
|
isConnection: false,
|
|
19915
19915
|
isList: true,
|
|
@@ -19933,7 +19933,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19933
19933
|
}
|
|
19934
19934
|
async fetch(options) {
|
|
19935
19935
|
const variables = this._variables;
|
|
19936
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19936
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
|
|
19937
19937
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
|
|
19938
19938
|
const data = response.userSkillFile;
|
|
19939
19939
|
const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19945,7 +19945,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19945
19945
|
watch(options) {
|
|
19946
19946
|
const variables = this._variables;
|
|
19947
19947
|
const includes = this._includes;
|
|
19948
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19948
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
|
|
19949
19949
|
const raw = this._syncEngine.watch(
|
|
19950
19950
|
queryDoc,
|
|
19951
19951
|
mergedVars,
|
|
@@ -19982,7 +19982,7 @@ var UserSkillFilesQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19982
19982
|
this._variables = variables;
|
|
19983
19983
|
}
|
|
19984
19984
|
async fetch(options) {
|
|
19985
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19985
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
|
|
19986
19986
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
|
|
19987
19987
|
const data = response.userSkillFiles;
|
|
19988
19988
|
if (!Array.isArray(data)) return [];
|
|
@@ -19998,7 +19998,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19998
19998
|
}
|
|
19999
19999
|
async fetch(options) {
|
|
20000
20000
|
const variables = this._variables;
|
|
20001
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20001
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
|
|
20002
20002
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
|
|
20003
20003
|
const data = response.userSkillFolder;
|
|
20004
20004
|
const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -20010,7 +20010,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20010
20010
|
watch(options) {
|
|
20011
20011
|
const variables = this._variables;
|
|
20012
20012
|
const includes = this._includes;
|
|
20013
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20013
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
|
|
20014
20014
|
const raw = this._syncEngine.watch(
|
|
20015
20015
|
queryDoc,
|
|
20016
20016
|
mergedVars,
|
|
@@ -20047,7 +20047,7 @@ var UserSkillFoldersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20047
20047
|
this._variables = variables;
|
|
20048
20048
|
}
|
|
20049
20049
|
async fetch(options) {
|
|
20050
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20050
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
|
|
20051
20051
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
|
|
20052
20052
|
const data = response.userSkillFolders;
|
|
20053
20053
|
if (!Array.isArray(data)) return [];
|
|
@@ -20063,7 +20063,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20063
20063
|
}
|
|
20064
20064
|
async fetch(options) {
|
|
20065
20065
|
const variables = this._variables;
|
|
20066
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20066
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
|
|
20067
20067
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
|
|
20068
20068
|
const data = response.workspaceDeletionSchedule;
|
|
20069
20069
|
if (!data) return void 0;
|
|
@@ -20076,7 +20076,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20076
20076
|
watch(options) {
|
|
20077
20077
|
const variables = this._variables;
|
|
20078
20078
|
const includes = this._includes;
|
|
20079
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20079
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkMFVKPMD4_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
|
|
20080
20080
|
const raw = this._syncEngine.watch(
|
|
20081
20081
|
queryDoc,
|
|
20082
20082
|
mergedVars,
|
|
@@ -20108,7 +20108,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20108
20108
|
};
|
|
20109
20109
|
var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
20110
20110
|
async *subscribe(variables) {
|
|
20111
|
-
for await (const response of this._subscribe(
|
|
20111
|
+
for await (const response of this._subscribe(chunkMFVKPMD4_cjs.McpAuthUpdatesDocument, variables)) {
|
|
20112
20112
|
const data = response.mcpAuthUpdates;
|
|
20113
20113
|
yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
20114
20114
|
}
|
|
@@ -20116,7 +20116,7 @@ var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20116
20116
|
};
|
|
20117
20117
|
var TokenUsageUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
20118
20118
|
async *subscribe(variables) {
|
|
20119
|
-
for await (const response of this._subscribe(
|
|
20119
|
+
for await (const response of this._subscribe(chunkMFVKPMD4_cjs.TokenUsageUpdatesDocument, variables)) {
|
|
20120
20120
|
const data = response.tokenUsageUpdates;
|
|
20121
20121
|
yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
|
|
20122
20122
|
}
|
|
@@ -21058,5 +21058,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
|
|
|
21058
21058
|
exports.reconstructConnectionNodes = reconstructConnectionNodes;
|
|
21059
21059
|
exports.reconstructEntity = reconstructEntity;
|
|
21060
21060
|
exports.uploadFile = uploadFile;
|
|
21061
|
-
//# sourceMappingURL=chunk-
|
|
21062
|
-
//# sourceMappingURL=chunk-
|
|
21061
|
+
//# sourceMappingURL=chunk-VYYPPIWZ.cjs.map
|
|
21062
|
+
//# sourceMappingURL=chunk-VYYPPIWZ.cjs.map
|