@dvina/sdk 4.0.31 → 4.0.36
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-ELTXQJUU.js +4 -0
- package/dist/{_generated_documents-BUDHKOOE.js.map → _generated_documents-ELTXQJUU.js.map} +1 -1
- package/dist/{_generated_documents-YYWUEFO6.cjs → _generated_documents-ZGDAJYZQ.cjs} +563 -447
- package/dist/{_generated_documents-YYWUEFO6.cjs.map → _generated_documents-ZGDAJYZQ.cjs.map} +1 -1
- package/dist/adapters/angular/index.cjs +4 -4
- package/dist/adapters/angular/index.js +2 -2
- package/dist/{chunk-KGSFT3KV.js → chunk-B6DO72PH.js} +433 -10
- package/dist/chunk-B6DO72PH.js.map +1 -0
- package/dist/{chunk-R25LNOGL.js → chunk-E2BA2ELL.js} +68 -27
- package/dist/chunk-E2BA2ELL.js.map +1 -0
- package/dist/{chunk-J4D5NNBG.cjs → chunk-LQFZEQHL.cjs} +901 -458
- package/dist/chunk-LQFZEQHL.cjs.map +1 -0
- package/dist/{chunk-NVBJ6NKK.cjs → chunk-ZFR7CX4F.cjs} +96 -26
- package/dist/chunk-ZFR7CX4F.cjs.map +1 -0
- package/dist/index.cjs +429 -337
- package/dist/index.d.cts +328 -1
- package/dist/index.d.ts +328 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/_generated_documents-BUDHKOOE.js +0 -4
- package/dist/chunk-J4D5NNBG.cjs.map +0 -1
- package/dist/chunk-KGSFT3KV.js.map +0 -1
- package/dist/chunk-NVBJ6NKK.cjs.map +0 -1
- package/dist/chunk-R25LNOGL.js.map +0 -1
|
@@ -4,7 +4,7 @@ var chunk4QKWHQT2_cjs = require('./chunk-4QKWHQT2.cjs');
|
|
|
4
4
|
var chunkUELAE75E_cjs = require('./chunk-UELAE75E.cjs');
|
|
5
5
|
var chunkBL3GFOZR_cjs = require('./chunk-BL3GFOZR.cjs');
|
|
6
6
|
var chunkKV5SP7RP_cjs = require('./chunk-KV5SP7RP.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkZFR7CX4F_cjs = require('./chunk-ZFR7CX4F.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
|
|
@@ -6790,6 +6790,18 @@ function createWsTransport(options) {
|
|
|
6790
6790
|
}
|
|
6791
6791
|
return refreshPromise;
|
|
6792
6792
|
}
|
|
6793
|
+
async function prepareSubscriptionConnection() {
|
|
6794
|
+
const token = nextToken ?? await options.getToken();
|
|
6795
|
+
if (!currentToken) {
|
|
6796
|
+
nextToken = token;
|
|
6797
|
+
return;
|
|
6798
|
+
}
|
|
6799
|
+
if (token === currentToken) {
|
|
6800
|
+
return;
|
|
6801
|
+
}
|
|
6802
|
+
nextToken = token;
|
|
6803
|
+
client.terminate();
|
|
6804
|
+
}
|
|
6793
6805
|
const client = createClient({
|
|
6794
6806
|
url: options.url,
|
|
6795
6807
|
connectionParams: async () => {
|
|
@@ -6915,12 +6927,24 @@ function createWsTransport(options) {
|
|
|
6915
6927
|
[Symbol.asyncIterator]() {
|
|
6916
6928
|
let authRetryCount = 0;
|
|
6917
6929
|
let attemptYieldedValue = false;
|
|
6918
|
-
let currentIterator =
|
|
6930
|
+
let currentIterator = null;
|
|
6931
|
+
const ensureIterator = async () => {
|
|
6932
|
+
if (currentIterator) {
|
|
6933
|
+
return;
|
|
6934
|
+
}
|
|
6935
|
+
await prepareSubscriptionConnection();
|
|
6936
|
+
currentIterator = subscribeOnce()[Symbol.asyncIterator]();
|
|
6937
|
+
};
|
|
6919
6938
|
return {
|
|
6920
6939
|
async next() {
|
|
6921
6940
|
while (true) {
|
|
6941
|
+
await ensureIterator();
|
|
6942
|
+
const iterator = currentIterator;
|
|
6943
|
+
if (!iterator) {
|
|
6944
|
+
throw new chunkKV5SP7RP_cjs.DvinaAuthenticationError("Subscription iterator could not be initialized");
|
|
6945
|
+
}
|
|
6922
6946
|
try {
|
|
6923
|
-
const result = await
|
|
6947
|
+
const result = await iterator.next();
|
|
6924
6948
|
if (!result.done) {
|
|
6925
6949
|
attemptYieldedValue = true;
|
|
6926
6950
|
}
|
|
@@ -6957,7 +6981,7 @@ function createWsTransport(options) {
|
|
|
6957
6981
|
}
|
|
6958
6982
|
},
|
|
6959
6983
|
async return() {
|
|
6960
|
-
if (typeof currentIterator.return === "function") {
|
|
6984
|
+
if (currentIterator && typeof currentIterator.return === "function") {
|
|
6961
6985
|
return currentIterator.return();
|
|
6962
6986
|
}
|
|
6963
6987
|
return { value: void 0, done: true };
|
|
@@ -6974,7 +6998,7 @@ function createWsTransport(options) {
|
|
|
6974
6998
|
}
|
|
6975
6999
|
|
|
6976
7000
|
// src/_generated_store.ts
|
|
6977
|
-
var SCHEMA_HASH = "
|
|
7001
|
+
var SCHEMA_HASH = "7a9391756acc38a6";
|
|
6978
7002
|
var DB_ENTITY_SCHEMA = {
|
|
6979
7003
|
actions: "id",
|
|
6980
7004
|
agents: "id",
|
|
@@ -7020,6 +7044,10 @@ var DB_ENTITY_SCHEMA = {
|
|
|
7020
7044
|
tables: "id",
|
|
7021
7045
|
tokenUsages: "id",
|
|
7022
7046
|
usageWindowsStatusTypes: "id",
|
|
7047
|
+
userSkillFileModels: "id",
|
|
7048
|
+
userSkillFiles: "id",
|
|
7049
|
+
userSkillFolderModels: "id",
|
|
7050
|
+
userSkillFolders: "id",
|
|
7023
7051
|
windowDetailTypes: "id"
|
|
7024
7052
|
};
|
|
7025
7053
|
var TYPENAME_TO_TABLE = {
|
|
@@ -7067,6 +7095,10 @@ var TYPENAME_TO_TABLE = {
|
|
|
7067
7095
|
Table: "tables",
|
|
7068
7096
|
TokenUsage: "tokenUsages",
|
|
7069
7097
|
UsageWindowsStatusType: "usageWindowsStatusTypes",
|
|
7098
|
+
UserSkillFile: "userSkillFiles",
|
|
7099
|
+
UserSkillFileModel: "userSkillFileModels",
|
|
7100
|
+
UserSkillFolder: "userSkillFolders",
|
|
7101
|
+
UserSkillFolderModel: "userSkillFolderModels",
|
|
7070
7102
|
WindowDetailType: "windowDetailTypes"
|
|
7071
7103
|
};
|
|
7072
7104
|
var TABLE_TO_TYPENAME = {
|
|
@@ -7114,6 +7146,10 @@ var TABLE_TO_TYPENAME = {
|
|
|
7114
7146
|
tables: "Table",
|
|
7115
7147
|
tokenUsages: "TokenUsage",
|
|
7116
7148
|
usageWindowsStatusTypes: "UsageWindowsStatusType",
|
|
7149
|
+
userSkillFileModels: "UserSkillFileModel",
|
|
7150
|
+
userSkillFiles: "UserSkillFile",
|
|
7151
|
+
userSkillFolderModels: "UserSkillFolderModel",
|
|
7152
|
+
userSkillFolders: "UserSkillFolder",
|
|
7117
7153
|
windowDetailTypes: "WindowDetailType"
|
|
7118
7154
|
};
|
|
7119
7155
|
var PRIMARY_KEY_CONFIG = {
|
|
@@ -7138,6 +7174,8 @@ var MUTATION_CACHE_RULES = {
|
|
|
7138
7174
|
createIntegration: { type: "create", entityType: "integrations", connectionFields: ["integrations"] },
|
|
7139
7175
|
createReport: { type: "create", entityType: "reports", connectionFields: ["reports"] },
|
|
7140
7176
|
createTable: { type: "create", entityType: "tables", connectionFields: ["tables"] },
|
|
7177
|
+
createUserSkillFile: { type: "create", entityType: "userSkillFiles", connectionFields: ["userSkillFiles"] },
|
|
7178
|
+
createUserSkillFolder: { type: "create", entityType: "userSkillFolders", connectionFields: ["userSkillFolders"] },
|
|
7141
7179
|
deleteAgent: { type: "delete", entityType: "agents", connectionFields: ["agents"] },
|
|
7142
7180
|
deleteArtifact: { type: "delete", entityType: "artifacts", connectionFields: ["artifacts"] },
|
|
7143
7181
|
deleteChat: { type: "delete", entityType: "chats", connectionFields: ["chats"], cascadeDelete: [{ entityType: "chatMessages", cascadeDelete: [{ entityType: "contentBlocks", cascadeDelete: [{ entityType: "contentMasks" }] }, { entityType: "feedback", relationFields: ["chatMessageId"] }] }] },
|
|
@@ -7149,6 +7187,8 @@ var MUTATION_CACHE_RULES = {
|
|
|
7149
7187
|
deleteIntegration: { type: "delete", entityType: "integrations", connectionFields: ["integrations"] },
|
|
7150
7188
|
deleteReport: { type: "delete", entityType: "reports", connectionFields: ["reports"], cascadeDelete: [{ entityType: "reportMembers" }] },
|
|
7151
7189
|
deleteTable: { type: "delete", entityType: "tables", connectionFields: ["tables"], cascadeDelete: [{ entityType: "relations", relationFields: ["fromTableId", "toTableId"] }, { entityType: "cubeModels", relationFields: ["id"] }] },
|
|
7190
|
+
deleteUserSkillFile: { type: "delete", entityType: "userSkillFiles", connectionFields: ["userSkillFiles"] },
|
|
7191
|
+
deleteUserSkillFolder: { type: "delete", entityType: "userSkillFolders", connectionFields: ["userSkillFolders"] },
|
|
7152
7192
|
updateAgent: { type: "update", entityType: "agents" },
|
|
7153
7193
|
updateChat: { type: "update", entityType: "chats" },
|
|
7154
7194
|
updateDatabase: { type: "update", entityType: "databases" },
|
|
@@ -7156,7 +7196,9 @@ var MUTATION_CACHE_RULES = {
|
|
|
7156
7196
|
updateFolder: { type: "update", entityType: "folders" },
|
|
7157
7197
|
updateInsight: { type: "update", entityType: "insights" },
|
|
7158
7198
|
updateReport: { type: "update", entityType: "reports" },
|
|
7159
|
-
updateTable: { type: "update", entityType: "tables" }
|
|
7199
|
+
updateTable: { type: "update", entityType: "tables" },
|
|
7200
|
+
updateUserSkillFile: { type: "update", entityType: "userSkillFiles" },
|
|
7201
|
+
updateUserSkillFolder: { type: "update", entityType: "userSkillFolders" }
|
|
7160
7202
|
};
|
|
7161
7203
|
|
|
7162
7204
|
// ../../node_modules/.pnpm/dexie@4.3.0/node_modules/dexie/import-wrapper.mjs
|
|
@@ -9453,7 +9495,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
|
|
|
9453
9495
|
var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
|
|
9454
9496
|
var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
|
|
9455
9497
|
async function uploadFile(request, getToken, file, name, options) {
|
|
9456
|
-
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-
|
|
9498
|
+
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-ZGDAJYZQ.cjs');
|
|
9457
9499
|
const key = `upload_${Date.now()}`;
|
|
9458
9500
|
const response = await request(
|
|
9459
9501
|
GenerateUploadUriDocument2,
|
|
@@ -10209,6 +10251,7 @@ var Chat = class extends DvinaModel {
|
|
|
10209
10251
|
id;
|
|
10210
10252
|
insightId;
|
|
10211
10253
|
name;
|
|
10254
|
+
originMeta;
|
|
10212
10255
|
piiMaskRules;
|
|
10213
10256
|
piiSanitizationEnabled;
|
|
10214
10257
|
updatedAt;
|
|
@@ -10219,6 +10262,7 @@ var Chat = class extends DvinaModel {
|
|
|
10219
10262
|
this.id = data.id;
|
|
10220
10263
|
this.insightId = data.insightId ?? void 0;
|
|
10221
10264
|
this.name = data.name;
|
|
10265
|
+
this.originMeta = data.originMeta ?? void 0;
|
|
10222
10266
|
this.piiMaskRules = data.piiMaskRules ?? void 0;
|
|
10223
10267
|
this.piiSanitizationEnabled = data.piiSanitizationEnabled;
|
|
10224
10268
|
this.updatedAt = new Date(data.updatedAt);
|
|
@@ -10240,11 +10284,54 @@ var Chat = class extends DvinaModel {
|
|
|
10240
10284
|
return new Chat_MessagesQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
|
|
10241
10285
|
}
|
|
10242
10286
|
};
|
|
10287
|
+
var ChatImportExecuteOutput = class extends DvinaModel {
|
|
10288
|
+
archiveHash;
|
|
10289
|
+
createdChatCount;
|
|
10290
|
+
createdMessageCount;
|
|
10291
|
+
duplicateConversationCount;
|
|
10292
|
+
provider;
|
|
10293
|
+
warnings;
|
|
10294
|
+
chats;
|
|
10295
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
10296
|
+
super(request, syncEngine, baseUrl);
|
|
10297
|
+
this.archiveHash = data.archiveHash;
|
|
10298
|
+
this.createdChatCount = data.createdChatCount;
|
|
10299
|
+
this.createdMessageCount = data.createdMessageCount;
|
|
10300
|
+
this.duplicateConversationCount = data.duplicateConversationCount;
|
|
10301
|
+
this.provider = data.provider;
|
|
10302
|
+
this.warnings = data.warnings ?? [];
|
|
10303
|
+
this.chats = Array.isArray(data.chats) ? data.chats.filter(Boolean).map((item) => new ImportedChatSummaryOutput(request, item, syncEngine, baseUrl)) : [];
|
|
10304
|
+
}
|
|
10305
|
+
};
|
|
10306
|
+
var ChatImportPreviewOutput = class extends DvinaModel {
|
|
10307
|
+
archiveHash;
|
|
10308
|
+
chatCount;
|
|
10309
|
+
duplicateConversationCount;
|
|
10310
|
+
fidelity;
|
|
10311
|
+
hasAttachments;
|
|
10312
|
+
messageCount;
|
|
10313
|
+
mode;
|
|
10314
|
+
provider;
|
|
10315
|
+
warnings;
|
|
10316
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
10317
|
+
super(request, syncEngine, baseUrl);
|
|
10318
|
+
this.archiveHash = data.archiveHash;
|
|
10319
|
+
this.chatCount = data.chatCount;
|
|
10320
|
+
this.duplicateConversationCount = data.duplicateConversationCount;
|
|
10321
|
+
this.fidelity = data.fidelity;
|
|
10322
|
+
this.hasAttachments = data.hasAttachments;
|
|
10323
|
+
this.messageCount = data.messageCount;
|
|
10324
|
+
this.mode = data.mode;
|
|
10325
|
+
this.provider = data.provider;
|
|
10326
|
+
this.warnings = data.warnings ?? [];
|
|
10327
|
+
}
|
|
10328
|
+
};
|
|
10243
10329
|
var ChatMessage = class extends DvinaModel {
|
|
10244
10330
|
actions;
|
|
10245
10331
|
chatId;
|
|
10246
10332
|
from;
|
|
10247
10333
|
id;
|
|
10334
|
+
originMeta;
|
|
10248
10335
|
sentAt;
|
|
10249
10336
|
constructor(request, data, syncEngine, baseUrl) {
|
|
10250
10337
|
super(request, syncEngine, baseUrl);
|
|
@@ -10252,6 +10339,7 @@ var ChatMessage = class extends DvinaModel {
|
|
|
10252
10339
|
this.chatId = data.chatId;
|
|
10253
10340
|
this.from = data.from;
|
|
10254
10341
|
this.id = data.id;
|
|
10342
|
+
this.originMeta = data.originMeta ?? void 0;
|
|
10255
10343
|
this.sentAt = new Date(data.sentAt);
|
|
10256
10344
|
}
|
|
10257
10345
|
/** Query the artifacts relation for this ChatMessage. Call .fetch() or .watch() to execute. */
|
|
@@ -10630,6 +10718,21 @@ var Folder = class extends DvinaModel {
|
|
|
10630
10718
|
this.updatedAt = new Date(data.updatedAt);
|
|
10631
10719
|
}
|
|
10632
10720
|
};
|
|
10721
|
+
var ImportedChatSummaryOutput = class extends DvinaModel {
|
|
10722
|
+
chatId;
|
|
10723
|
+
externalConversationId;
|
|
10724
|
+
messageCount;
|
|
10725
|
+
name;
|
|
10726
|
+
provider;
|
|
10727
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
10728
|
+
super(request, syncEngine, baseUrl);
|
|
10729
|
+
this.chatId = data.chatId;
|
|
10730
|
+
this.externalConversationId = data.externalConversationId;
|
|
10731
|
+
this.messageCount = data.messageCount;
|
|
10732
|
+
this.name = data.name;
|
|
10733
|
+
this.provider = data.provider;
|
|
10734
|
+
}
|
|
10735
|
+
};
|
|
10633
10736
|
var IndexContentObject = class extends DvinaModel {
|
|
10634
10737
|
content;
|
|
10635
10738
|
metadata;
|
|
@@ -11179,6 +11282,7 @@ var StreamMessageOutput = class extends DvinaModel {
|
|
|
11179
11282
|
chatId;
|
|
11180
11283
|
from;
|
|
11181
11284
|
id;
|
|
11285
|
+
originMeta;
|
|
11182
11286
|
sentAt;
|
|
11183
11287
|
contents;
|
|
11184
11288
|
constructor(request, data, syncEngine, baseUrl) {
|
|
@@ -11187,6 +11291,7 @@ var StreamMessageOutput = class extends DvinaModel {
|
|
|
11187
11291
|
this.chatId = data.chatId;
|
|
11188
11292
|
this.from = data.from;
|
|
11189
11293
|
this.id = data.id;
|
|
11294
|
+
this.originMeta = data.originMeta ?? void 0;
|
|
11190
11295
|
this.sentAt = new Date(data.sentAt);
|
|
11191
11296
|
this.contents = Array.isArray(data.contents) ? data.contents.filter(Boolean).map((item) => new StreamMessageContentOutput(request, item, syncEngine, baseUrl)) : [];
|
|
11192
11297
|
}
|
|
@@ -11411,6 +11516,80 @@ var UsageWindowsStatusType = class extends DvinaModel {
|
|
|
11411
11516
|
this.week = new WindowDetailType(request, data.week, syncEngine, baseUrl);
|
|
11412
11517
|
}
|
|
11413
11518
|
};
|
|
11519
|
+
var UserSkillFile = class extends DvinaModel {
|
|
11520
|
+
createdAt;
|
|
11521
|
+
fileId;
|
|
11522
|
+
formatKey;
|
|
11523
|
+
id;
|
|
11524
|
+
name;
|
|
11525
|
+
path;
|
|
11526
|
+
updatedAt;
|
|
11527
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
11528
|
+
super(request, syncEngine, baseUrl);
|
|
11529
|
+
this.createdAt = new Date(data.createdAt);
|
|
11530
|
+
this.fileId = data.fileId;
|
|
11531
|
+
this.formatKey = data.formatKey;
|
|
11532
|
+
this.id = data.id;
|
|
11533
|
+
this.name = data.name;
|
|
11534
|
+
this.path = data.path;
|
|
11535
|
+
this.updatedAt = new Date(data.updatedAt);
|
|
11536
|
+
}
|
|
11537
|
+
/** Lazy-fetch the file relation. Call .fetch() or .watch() to execute. */
|
|
11538
|
+
file() {
|
|
11539
|
+
return new FileMetaQuery(this._request, this._syncEngine, { id: this.fileId }, this._baseUrl);
|
|
11540
|
+
}
|
|
11541
|
+
};
|
|
11542
|
+
var UserSkillFileModel = class extends DvinaModel {
|
|
11543
|
+
createdAt;
|
|
11544
|
+
fileId;
|
|
11545
|
+
formatKey;
|
|
11546
|
+
id;
|
|
11547
|
+
mimeType;
|
|
11548
|
+
name;
|
|
11549
|
+
path;
|
|
11550
|
+
size;
|
|
11551
|
+
updatedAt;
|
|
11552
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
11553
|
+
super(request, syncEngine, baseUrl);
|
|
11554
|
+
this.createdAt = new Date(data.createdAt);
|
|
11555
|
+
this.fileId = data.fileId;
|
|
11556
|
+
this.formatKey = data.formatKey;
|
|
11557
|
+
this.id = data.id;
|
|
11558
|
+
this.mimeType = data.mimeType ?? void 0;
|
|
11559
|
+
this.name = data.name;
|
|
11560
|
+
this.path = data.path;
|
|
11561
|
+
this.size = data.size ?? void 0;
|
|
11562
|
+
this.updatedAt = new Date(data.updatedAt);
|
|
11563
|
+
}
|
|
11564
|
+
};
|
|
11565
|
+
var UserSkillFolder = class extends DvinaModel {
|
|
11566
|
+
createdAt;
|
|
11567
|
+
id;
|
|
11568
|
+
path;
|
|
11569
|
+
updatedAt;
|
|
11570
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
11571
|
+
super(request, syncEngine, baseUrl);
|
|
11572
|
+
this.createdAt = new Date(data.createdAt);
|
|
11573
|
+
this.id = data.id;
|
|
11574
|
+
this.path = data.path;
|
|
11575
|
+
this.updatedAt = new Date(data.updatedAt);
|
|
11576
|
+
}
|
|
11577
|
+
};
|
|
11578
|
+
var UserSkillFolderModel = class extends DvinaModel {
|
|
11579
|
+
createdAt;
|
|
11580
|
+
id;
|
|
11581
|
+
itemCount;
|
|
11582
|
+
path;
|
|
11583
|
+
updatedAt;
|
|
11584
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
11585
|
+
super(request, syncEngine, baseUrl);
|
|
11586
|
+
this.createdAt = new Date(data.createdAt);
|
|
11587
|
+
this.id = data.id;
|
|
11588
|
+
this.itemCount = data.itemCount;
|
|
11589
|
+
this.path = data.path;
|
|
11590
|
+
this.updatedAt = new Date(data.updatedAt);
|
|
11591
|
+
}
|
|
11592
|
+
};
|
|
11414
11593
|
var WindowDetailType = class extends DvinaModel {
|
|
11415
11594
|
cost;
|
|
11416
11595
|
isExceeded;
|
|
@@ -11633,7 +11812,7 @@ var AgentSubBuilder = class {
|
|
|
11633
11812
|
_includes = [];
|
|
11634
11813
|
/** Include chats in the parent query. */
|
|
11635
11814
|
chats(variables, builder) {
|
|
11636
|
-
const info = extractIncludeInfo(
|
|
11815
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
11637
11816
|
let children;
|
|
11638
11817
|
if (builder) {
|
|
11639
11818
|
const sub = new ChatSubBuilder();
|
|
@@ -11642,7 +11821,7 @@ var AgentSubBuilder = class {
|
|
|
11642
11821
|
}
|
|
11643
11822
|
this._includes.push({
|
|
11644
11823
|
fieldName: "chats",
|
|
11645
|
-
fragmentDoc:
|
|
11824
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatConnectionFragmentDoc,
|
|
11646
11825
|
variables,
|
|
11647
11826
|
isConnection: true,
|
|
11648
11827
|
isList: false,
|
|
@@ -11664,7 +11843,7 @@ var ArtifactSubBuilder = class {
|
|
|
11664
11843
|
_includes = [];
|
|
11665
11844
|
/** Include chat in the parent query. */
|
|
11666
11845
|
chat(variables, builder) {
|
|
11667
|
-
const info = extractIncludeInfo(
|
|
11846
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
11668
11847
|
let children;
|
|
11669
11848
|
if (builder) {
|
|
11670
11849
|
const sub = new ChatSubBuilder();
|
|
@@ -11673,7 +11852,7 @@ var ArtifactSubBuilder = class {
|
|
|
11673
11852
|
}
|
|
11674
11853
|
this._includes.push({
|
|
11675
11854
|
fieldName: "chat",
|
|
11676
|
-
fragmentDoc:
|
|
11855
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
|
|
11677
11856
|
variables,
|
|
11678
11857
|
isConnection: false,
|
|
11679
11858
|
isList: false,
|
|
@@ -11690,10 +11869,10 @@ var ArtifactSubBuilder = class {
|
|
|
11690
11869
|
}
|
|
11691
11870
|
/** Include file in the parent query. */
|
|
11692
11871
|
file(variables) {
|
|
11693
|
-
const info = extractIncludeInfo(
|
|
11872
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
11694
11873
|
this._includes.push({
|
|
11695
11874
|
fieldName: "file",
|
|
11696
|
-
fragmentDoc:
|
|
11875
|
+
fragmentDoc: chunkZFR7CX4F_cjs.FileFragmentDoc,
|
|
11697
11876
|
variables,
|
|
11698
11877
|
isConnection: false,
|
|
11699
11878
|
isList: false,
|
|
@@ -11709,7 +11888,7 @@ var ArtifactSubBuilder = class {
|
|
|
11709
11888
|
}
|
|
11710
11889
|
/** Include message in the parent query. */
|
|
11711
11890
|
message(variables, builder) {
|
|
11712
|
-
const info = extractIncludeInfo(
|
|
11891
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
11713
11892
|
let children;
|
|
11714
11893
|
if (builder) {
|
|
11715
11894
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -11718,7 +11897,7 @@ var ArtifactSubBuilder = class {
|
|
|
11718
11897
|
}
|
|
11719
11898
|
this._includes.push({
|
|
11720
11899
|
fieldName: "message",
|
|
11721
|
-
fragmentDoc:
|
|
11900
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatMessageFragmentDoc,
|
|
11722
11901
|
variables,
|
|
11723
11902
|
isConnection: false,
|
|
11724
11903
|
isList: false,
|
|
@@ -11739,7 +11918,7 @@ var ChatSubBuilder = class {
|
|
|
11739
11918
|
_includes = [];
|
|
11740
11919
|
/** Include agents in the parent query. */
|
|
11741
11920
|
agents(variables, builder) {
|
|
11742
|
-
const info = extractIncludeInfo(
|
|
11921
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
11743
11922
|
let children;
|
|
11744
11923
|
if (builder) {
|
|
11745
11924
|
const sub = new AgentSubBuilder();
|
|
@@ -11748,7 +11927,7 @@ var ChatSubBuilder = class {
|
|
|
11748
11927
|
}
|
|
11749
11928
|
this._includes.push({
|
|
11750
11929
|
fieldName: "agents",
|
|
11751
|
-
fragmentDoc:
|
|
11930
|
+
fragmentDoc: chunkZFR7CX4F_cjs.AgentConnectionFragmentDoc,
|
|
11752
11931
|
variables,
|
|
11753
11932
|
isConnection: true,
|
|
11754
11933
|
isList: false,
|
|
@@ -11766,7 +11945,7 @@ var ChatSubBuilder = class {
|
|
|
11766
11945
|
}
|
|
11767
11946
|
/** Include artifacts in the parent query. */
|
|
11768
11947
|
artifacts(variables, builder) {
|
|
11769
|
-
const info = extractIncludeInfo(
|
|
11948
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
11770
11949
|
let children;
|
|
11771
11950
|
if (builder) {
|
|
11772
11951
|
const sub = new ArtifactSubBuilder();
|
|
@@ -11775,7 +11954,7 @@ var ChatSubBuilder = class {
|
|
|
11775
11954
|
}
|
|
11776
11955
|
this._includes.push({
|
|
11777
11956
|
fieldName: "artifacts",
|
|
11778
|
-
fragmentDoc:
|
|
11957
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ArtifactConnectionFragmentDoc,
|
|
11779
11958
|
variables,
|
|
11780
11959
|
isConnection: true,
|
|
11781
11960
|
isList: false,
|
|
@@ -11793,7 +11972,7 @@ var ChatSubBuilder = class {
|
|
|
11793
11972
|
}
|
|
11794
11973
|
/** Include insight in the parent query. */
|
|
11795
11974
|
insight(variables, builder) {
|
|
11796
|
-
const info = extractIncludeInfo(
|
|
11975
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
11797
11976
|
let children;
|
|
11798
11977
|
if (builder) {
|
|
11799
11978
|
const sub = new InsightSubBuilder();
|
|
@@ -11802,7 +11981,7 @@ var ChatSubBuilder = class {
|
|
|
11802
11981
|
}
|
|
11803
11982
|
this._includes.push({
|
|
11804
11983
|
fieldName: "insight",
|
|
11805
|
-
fragmentDoc:
|
|
11984
|
+
fragmentDoc: chunkZFR7CX4F_cjs.InsightFragmentDoc,
|
|
11806
11985
|
variables,
|
|
11807
11986
|
isConnection: false,
|
|
11808
11987
|
isList: false,
|
|
@@ -11819,7 +11998,7 @@ var ChatSubBuilder = class {
|
|
|
11819
11998
|
}
|
|
11820
11999
|
/** Include messages in the parent query. */
|
|
11821
12000
|
messages(variables, builder) {
|
|
11822
|
-
const info = extractIncludeInfo(
|
|
12001
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
11823
12002
|
let children;
|
|
11824
12003
|
if (builder) {
|
|
11825
12004
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -11828,7 +12007,7 @@ var ChatSubBuilder = class {
|
|
|
11828
12007
|
}
|
|
11829
12008
|
this._includes.push({
|
|
11830
12009
|
fieldName: "messages",
|
|
11831
|
-
fragmentDoc:
|
|
12010
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatMessageConnectionFragmentDoc,
|
|
11832
12011
|
variables,
|
|
11833
12012
|
isConnection: true,
|
|
11834
12013
|
isList: false,
|
|
@@ -11850,7 +12029,7 @@ var ChatMessageSubBuilder = class {
|
|
|
11850
12029
|
_includes = [];
|
|
11851
12030
|
/** Include artifacts in the parent query. */
|
|
11852
12031
|
artifacts(variables, builder) {
|
|
11853
|
-
const info = extractIncludeInfo(
|
|
12032
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
11854
12033
|
let children;
|
|
11855
12034
|
if (builder) {
|
|
11856
12035
|
const sub = new ArtifactSubBuilder();
|
|
@@ -11859,7 +12038,7 @@ var ChatMessageSubBuilder = class {
|
|
|
11859
12038
|
}
|
|
11860
12039
|
this._includes.push({
|
|
11861
12040
|
fieldName: "artifacts",
|
|
11862
|
-
fragmentDoc:
|
|
12041
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ArtifactConnectionFragmentDoc,
|
|
11863
12042
|
variables,
|
|
11864
12043
|
isConnection: true,
|
|
11865
12044
|
isList: false,
|
|
@@ -11877,7 +12056,7 @@ var ChatMessageSubBuilder = class {
|
|
|
11877
12056
|
}
|
|
11878
12057
|
/** Include chat in the parent query. */
|
|
11879
12058
|
chat(variables, builder) {
|
|
11880
|
-
const info = extractIncludeInfo(
|
|
12059
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
11881
12060
|
let children;
|
|
11882
12061
|
if (builder) {
|
|
11883
12062
|
const sub = new ChatSubBuilder();
|
|
@@ -11886,7 +12065,7 @@ var ChatMessageSubBuilder = class {
|
|
|
11886
12065
|
}
|
|
11887
12066
|
this._includes.push({
|
|
11888
12067
|
fieldName: "chat",
|
|
11889
|
-
fragmentDoc:
|
|
12068
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
|
|
11890
12069
|
variables,
|
|
11891
12070
|
isConnection: false,
|
|
11892
12071
|
isList: false,
|
|
@@ -11903,10 +12082,10 @@ var ChatMessageSubBuilder = class {
|
|
|
11903
12082
|
}
|
|
11904
12083
|
/** Include contents in the parent query. */
|
|
11905
12084
|
contents(variables) {
|
|
11906
|
-
const info = extractIncludeInfo(
|
|
12085
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
11907
12086
|
this._includes.push({
|
|
11908
12087
|
fieldName: "contents",
|
|
11909
|
-
fragmentDoc:
|
|
12088
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ContentBlockFragmentDoc,
|
|
11910
12089
|
variables,
|
|
11911
12090
|
isConnection: false,
|
|
11912
12091
|
isList: true,
|
|
@@ -11922,10 +12101,10 @@ var ChatMessageSubBuilder = class {
|
|
|
11922
12101
|
}
|
|
11923
12102
|
/** Include feedback in the parent query. */
|
|
11924
12103
|
feedback(variables) {
|
|
11925
|
-
const info = extractIncludeInfo(
|
|
12104
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
11926
12105
|
this._includes.push({
|
|
11927
12106
|
fieldName: "feedback",
|
|
11928
|
-
fragmentDoc:
|
|
12107
|
+
fragmentDoc: chunkZFR7CX4F_cjs.FeedbackFragmentDoc,
|
|
11929
12108
|
variables,
|
|
11930
12109
|
isConnection: false,
|
|
11931
12110
|
isList: false,
|
|
@@ -11945,10 +12124,10 @@ var DatabaseSubBuilder = class {
|
|
|
11945
12124
|
_includes = [];
|
|
11946
12125
|
/** Include engine in the parent query. */
|
|
11947
12126
|
engine(variables) {
|
|
11948
|
-
const info = extractIncludeInfo(
|
|
12127
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
11949
12128
|
this._includes.push({
|
|
11950
12129
|
fieldName: "engine",
|
|
11951
|
-
fragmentDoc:
|
|
12130
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DatabaseEngineFragmentDoc,
|
|
11952
12131
|
variables,
|
|
11953
12132
|
isConnection: false,
|
|
11954
12133
|
isList: false,
|
|
@@ -11964,7 +12143,7 @@ var DatabaseSubBuilder = class {
|
|
|
11964
12143
|
}
|
|
11965
12144
|
/** Include tables in the parent query. */
|
|
11966
12145
|
tables(variables, builder) {
|
|
11967
|
-
const info = extractIncludeInfo(
|
|
12146
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
11968
12147
|
let children;
|
|
11969
12148
|
if (builder) {
|
|
11970
12149
|
const sub = new TableSubBuilder();
|
|
@@ -11973,7 +12152,7 @@ var DatabaseSubBuilder = class {
|
|
|
11973
12152
|
}
|
|
11974
12153
|
this._includes.push({
|
|
11975
12154
|
fieldName: "tables",
|
|
11976
|
-
fragmentDoc:
|
|
12155
|
+
fragmentDoc: chunkZFR7CX4F_cjs.TableConnectionFragmentDoc,
|
|
11977
12156
|
variables,
|
|
11978
12157
|
isConnection: true,
|
|
11979
12158
|
isList: false,
|
|
@@ -11995,10 +12174,10 @@ var DatabaseCatalogSubBuilder = class {
|
|
|
11995
12174
|
_includes = [];
|
|
11996
12175
|
/** Include engine in the parent query. */
|
|
11997
12176
|
engine(variables) {
|
|
11998
|
-
const info = extractIncludeInfo(
|
|
12177
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
11999
12178
|
this._includes.push({
|
|
12000
12179
|
fieldName: "engine",
|
|
12001
|
-
fragmentDoc:
|
|
12180
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DatabaseEngineFragmentDoc,
|
|
12002
12181
|
variables,
|
|
12003
12182
|
isConnection: false,
|
|
12004
12183
|
isList: false,
|
|
@@ -12018,10 +12197,10 @@ var DocumentSubBuilder = class {
|
|
|
12018
12197
|
_includes = [];
|
|
12019
12198
|
/** Include contents in the parent query. */
|
|
12020
12199
|
contents(variables) {
|
|
12021
|
-
const info = extractIncludeInfo(
|
|
12200
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
12022
12201
|
this._includes.push({
|
|
12023
12202
|
fieldName: "contents",
|
|
12024
|
-
fragmentDoc:
|
|
12203
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DocumentContentFragmentDoc,
|
|
12025
12204
|
variables,
|
|
12026
12205
|
isConnection: false,
|
|
12027
12206
|
isList: true,
|
|
@@ -12037,10 +12216,10 @@ var DocumentSubBuilder = class {
|
|
|
12037
12216
|
}
|
|
12038
12217
|
/** Include file in the parent query. */
|
|
12039
12218
|
file(variables) {
|
|
12040
|
-
const info = extractIncludeInfo(
|
|
12219
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_FileDocument, "file", ["id"]);
|
|
12041
12220
|
this._includes.push({
|
|
12042
12221
|
fieldName: "file",
|
|
12043
|
-
fragmentDoc:
|
|
12222
|
+
fragmentDoc: chunkZFR7CX4F_cjs.FileFragmentDoc,
|
|
12044
12223
|
variables,
|
|
12045
12224
|
isConnection: false,
|
|
12046
12225
|
isList: false,
|
|
@@ -12056,10 +12235,10 @@ var DocumentSubBuilder = class {
|
|
|
12056
12235
|
}
|
|
12057
12236
|
/** Include format in the parent query. */
|
|
12058
12237
|
format(variables) {
|
|
12059
|
-
const info = extractIncludeInfo(
|
|
12238
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_FormatDocument, "format", ["id"]);
|
|
12060
12239
|
this._includes.push({
|
|
12061
12240
|
fieldName: "format",
|
|
12062
|
-
fragmentDoc:
|
|
12241
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DocumentFormatFragmentDoc,
|
|
12063
12242
|
variables,
|
|
12064
12243
|
isConnection: false,
|
|
12065
12244
|
isList: false,
|
|
@@ -12075,7 +12254,7 @@ var DocumentSubBuilder = class {
|
|
|
12075
12254
|
}
|
|
12076
12255
|
/** Include tables in the parent query. */
|
|
12077
12256
|
tables(variables, builder) {
|
|
12078
|
-
const info = extractIncludeInfo(
|
|
12257
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
12079
12258
|
let children;
|
|
12080
12259
|
if (builder) {
|
|
12081
12260
|
const sub = new TableSubBuilder();
|
|
@@ -12084,7 +12263,7 @@ var DocumentSubBuilder = class {
|
|
|
12084
12263
|
}
|
|
12085
12264
|
this._includes.push({
|
|
12086
12265
|
fieldName: "tables",
|
|
12087
|
-
fragmentDoc:
|
|
12266
|
+
fragmentDoc: chunkZFR7CX4F_cjs.TableConnectionFragmentDoc,
|
|
12088
12267
|
variables,
|
|
12089
12268
|
isConnection: true,
|
|
12090
12269
|
isList: false,
|
|
@@ -12106,10 +12285,10 @@ var DocumentCatalogSubBuilder = class {
|
|
|
12106
12285
|
_includes = [];
|
|
12107
12286
|
/** Include format in the parent query. */
|
|
12108
12287
|
format(variables) {
|
|
12109
|
-
const info = extractIncludeInfo(
|
|
12288
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
12110
12289
|
this._includes.push({
|
|
12111
12290
|
fieldName: "format",
|
|
12112
|
-
fragmentDoc:
|
|
12291
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DocumentFormatFragmentDoc,
|
|
12113
12292
|
variables,
|
|
12114
12293
|
isConnection: false,
|
|
12115
12294
|
isList: false,
|
|
@@ -12129,7 +12308,7 @@ var InsightSubBuilder = class {
|
|
|
12129
12308
|
_includes = [];
|
|
12130
12309
|
/** Include chat in the parent query. */
|
|
12131
12310
|
chat(variables, builder) {
|
|
12132
|
-
const info = extractIncludeInfo(
|
|
12311
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
12133
12312
|
let children;
|
|
12134
12313
|
if (builder) {
|
|
12135
12314
|
const sub = new ChatSubBuilder();
|
|
@@ -12138,7 +12317,7 @@ var InsightSubBuilder = class {
|
|
|
12138
12317
|
}
|
|
12139
12318
|
this._includes.push({
|
|
12140
12319
|
fieldName: "chat",
|
|
12141
|
-
fragmentDoc:
|
|
12320
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
|
|
12142
12321
|
variables,
|
|
12143
12322
|
isConnection: false,
|
|
12144
12323
|
isList: false,
|
|
@@ -12155,10 +12334,10 @@ var InsightSubBuilder = class {
|
|
|
12155
12334
|
}
|
|
12156
12335
|
/** Include reportMembers in the parent query. */
|
|
12157
12336
|
reportMembers(variables) {
|
|
12158
|
-
const info = extractIncludeInfo(
|
|
12337
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
12159
12338
|
this._includes.push({
|
|
12160
12339
|
fieldName: "reportMembers",
|
|
12161
|
-
fragmentDoc:
|
|
12340
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ReportMemberFragmentDoc,
|
|
12162
12341
|
variables,
|
|
12163
12342
|
isConnection: false,
|
|
12164
12343
|
isList: true,
|
|
@@ -12174,7 +12353,7 @@ var InsightSubBuilder = class {
|
|
|
12174
12353
|
}
|
|
12175
12354
|
/** Include reports in the parent query. */
|
|
12176
12355
|
reports(variables, builder) {
|
|
12177
|
-
const info = extractIncludeInfo(
|
|
12356
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
12178
12357
|
let children;
|
|
12179
12358
|
if (builder) {
|
|
12180
12359
|
const sub = new ReportSubBuilder();
|
|
@@ -12183,7 +12362,7 @@ var InsightSubBuilder = class {
|
|
|
12183
12362
|
}
|
|
12184
12363
|
this._includes.push({
|
|
12185
12364
|
fieldName: "reports",
|
|
12186
|
-
fragmentDoc:
|
|
12365
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ReportConnectionFragmentDoc,
|
|
12187
12366
|
variables,
|
|
12188
12367
|
isConnection: true,
|
|
12189
12368
|
isList: false,
|
|
@@ -12205,10 +12384,10 @@ var IntegrationSubBuilder = class {
|
|
|
12205
12384
|
_includes = [];
|
|
12206
12385
|
/** Include provider in the parent query. */
|
|
12207
12386
|
provider(variables) {
|
|
12208
|
-
const info = extractIncludeInfo(
|
|
12387
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
12209
12388
|
this._includes.push({
|
|
12210
12389
|
fieldName: "provider",
|
|
12211
|
-
fragmentDoc:
|
|
12390
|
+
fragmentDoc: chunkZFR7CX4F_cjs.IntegrationProviderFragmentDoc,
|
|
12212
12391
|
variables,
|
|
12213
12392
|
isConnection: false,
|
|
12214
12393
|
isList: false,
|
|
@@ -12228,10 +12407,10 @@ var IntegrationCatalogSubBuilder = class {
|
|
|
12228
12407
|
_includes = [];
|
|
12229
12408
|
/** Include provider in the parent query. */
|
|
12230
12409
|
provider(variables) {
|
|
12231
|
-
const info = extractIncludeInfo(
|
|
12410
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
12232
12411
|
this._includes.push({
|
|
12233
12412
|
fieldName: "provider",
|
|
12234
|
-
fragmentDoc:
|
|
12413
|
+
fragmentDoc: chunkZFR7CX4F_cjs.IntegrationProviderFragmentDoc,
|
|
12235
12414
|
variables,
|
|
12236
12415
|
isConnection: false,
|
|
12237
12416
|
isList: false,
|
|
@@ -12251,7 +12430,7 @@ var PulseEventSubBuilder = class {
|
|
|
12251
12430
|
_includes = [];
|
|
12252
12431
|
/** Include integration in the parent query. */
|
|
12253
12432
|
integration(variables, builder) {
|
|
12254
|
-
const info = extractIncludeInfo(
|
|
12433
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
12255
12434
|
let children;
|
|
12256
12435
|
if (builder) {
|
|
12257
12436
|
const sub = new IntegrationSubBuilder();
|
|
@@ -12260,7 +12439,7 @@ var PulseEventSubBuilder = class {
|
|
|
12260
12439
|
}
|
|
12261
12440
|
this._includes.push({
|
|
12262
12441
|
fieldName: "integration",
|
|
12263
|
-
fragmentDoc:
|
|
12442
|
+
fragmentDoc: chunkZFR7CX4F_cjs.IntegrationFragmentDoc,
|
|
12264
12443
|
variables,
|
|
12265
12444
|
isConnection: false,
|
|
12266
12445
|
isList: false,
|
|
@@ -12281,7 +12460,7 @@ var ReportSubBuilder = class {
|
|
|
12281
12460
|
_includes = [];
|
|
12282
12461
|
/** Include insights in the parent query. */
|
|
12283
12462
|
insights(variables, builder) {
|
|
12284
|
-
const info = extractIncludeInfo(
|
|
12463
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
12285
12464
|
let children;
|
|
12286
12465
|
if (builder) {
|
|
12287
12466
|
const sub = new InsightSubBuilder();
|
|
@@ -12290,7 +12469,7 @@ var ReportSubBuilder = class {
|
|
|
12290
12469
|
}
|
|
12291
12470
|
this._includes.push({
|
|
12292
12471
|
fieldName: "insights",
|
|
12293
|
-
fragmentDoc:
|
|
12472
|
+
fragmentDoc: chunkZFR7CX4F_cjs.InsightConnectionFragmentDoc,
|
|
12294
12473
|
variables,
|
|
12295
12474
|
isConnection: true,
|
|
12296
12475
|
isList: false,
|
|
@@ -12308,10 +12487,10 @@ var ReportSubBuilder = class {
|
|
|
12308
12487
|
}
|
|
12309
12488
|
/** Include layout in the parent query. */
|
|
12310
12489
|
layout(variables) {
|
|
12311
|
-
const info = extractIncludeInfo(
|
|
12490
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
12312
12491
|
this._includes.push({
|
|
12313
12492
|
fieldName: "layout",
|
|
12314
|
-
fragmentDoc:
|
|
12493
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ReportMemberFragmentDoc,
|
|
12315
12494
|
variables,
|
|
12316
12495
|
isConnection: false,
|
|
12317
12496
|
isList: true,
|
|
@@ -12331,7 +12510,7 @@ var TableSubBuilder = class {
|
|
|
12331
12510
|
_includes = [];
|
|
12332
12511
|
/** Include database in the parent query. */
|
|
12333
12512
|
database(variables, builder) {
|
|
12334
|
-
const info = extractIncludeInfo(
|
|
12513
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
12335
12514
|
let children;
|
|
12336
12515
|
if (builder) {
|
|
12337
12516
|
const sub = new DatabaseSubBuilder();
|
|
@@ -12340,7 +12519,7 @@ var TableSubBuilder = class {
|
|
|
12340
12519
|
}
|
|
12341
12520
|
this._includes.push({
|
|
12342
12521
|
fieldName: "database",
|
|
12343
|
-
fragmentDoc:
|
|
12522
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DatabaseFragmentDoc,
|
|
12344
12523
|
variables,
|
|
12345
12524
|
isConnection: false,
|
|
12346
12525
|
isList: false,
|
|
@@ -12357,7 +12536,7 @@ var TableSubBuilder = class {
|
|
|
12357
12536
|
}
|
|
12358
12537
|
/** Include document in the parent query. */
|
|
12359
12538
|
document(variables, builder) {
|
|
12360
|
-
const info = extractIncludeInfo(
|
|
12539
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
12361
12540
|
let children;
|
|
12362
12541
|
if (builder) {
|
|
12363
12542
|
const sub = new DocumentSubBuilder();
|
|
@@ -12366,7 +12545,7 @@ var TableSubBuilder = class {
|
|
|
12366
12545
|
}
|
|
12367
12546
|
this._includes.push({
|
|
12368
12547
|
fieldName: "document",
|
|
12369
|
-
fragmentDoc:
|
|
12548
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DocumentFragmentDoc,
|
|
12370
12549
|
variables,
|
|
12371
12550
|
isConnection: false,
|
|
12372
12551
|
isList: false,
|
|
@@ -12383,10 +12562,10 @@ var TableSubBuilder = class {
|
|
|
12383
12562
|
}
|
|
12384
12563
|
/** Include fromRelations in the parent query. */
|
|
12385
12564
|
fromRelations(variables) {
|
|
12386
|
-
const info = extractIncludeInfo(
|
|
12565
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
12387
12566
|
this._includes.push({
|
|
12388
12567
|
fieldName: "fromRelations",
|
|
12389
|
-
fragmentDoc:
|
|
12568
|
+
fragmentDoc: chunkZFR7CX4F_cjs.RelationFragmentDoc,
|
|
12390
12569
|
variables,
|
|
12391
12570
|
isConnection: false,
|
|
12392
12571
|
isList: true,
|
|
@@ -12402,10 +12581,10 @@ var TableSubBuilder = class {
|
|
|
12402
12581
|
}
|
|
12403
12582
|
/** Include toRelations in the parent query. */
|
|
12404
12583
|
toRelations(variables) {
|
|
12405
|
-
const info = extractIncludeInfo(
|
|
12584
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
12406
12585
|
this._includes.push({
|
|
12407
12586
|
fieldName: "toRelations",
|
|
12408
|
-
fragmentDoc:
|
|
12587
|
+
fragmentDoc: chunkZFR7CX4F_cjs.RelationFragmentDoc,
|
|
12409
12588
|
variables,
|
|
12410
12589
|
isConnection: false,
|
|
12411
12590
|
isList: true,
|
|
@@ -12422,364 +12601,426 @@ var TableSubBuilder = class {
|
|
|
12422
12601
|
};
|
|
12423
12602
|
var AcknowledgePulseEventMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12424
12603
|
async fetch(variables, options) {
|
|
12425
|
-
const response = await this._syncEngine.mutate(
|
|
12604
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.AcknowledgePulseEventDocument, variables, MUTATION_CACHE_RULES["acknowledgePulseEvent"]);
|
|
12426
12605
|
const data = response.acknowledgePulseEvent;
|
|
12427
12606
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
12428
12607
|
}
|
|
12429
12608
|
};
|
|
12430
12609
|
var AddInsightToReportMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12431
12610
|
async fetch(variables, options) {
|
|
12432
|
-
const response = await this._syncEngine.mutate(
|
|
12611
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
|
|
12433
12612
|
const data = response.addInsightToReport;
|
|
12434
12613
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
12435
12614
|
}
|
|
12436
12615
|
};
|
|
12437
12616
|
var CancelOauthFlowMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12438
12617
|
async fetch(variables) {
|
|
12439
|
-
const response = await this._syncEngine.mutate(
|
|
12618
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
|
|
12440
12619
|
return response.cancelOauthFlow;
|
|
12441
12620
|
}
|
|
12442
12621
|
};
|
|
12443
12622
|
var CancelWorkspaceDeletionMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12444
12623
|
async fetch(variables) {
|
|
12445
|
-
const response = await this._syncEngine.mutate(
|
|
12624
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
|
|
12446
12625
|
return response.cancelWorkspaceDeletion;
|
|
12447
12626
|
}
|
|
12448
12627
|
};
|
|
12449
12628
|
var ConnectIntegrationMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12450
12629
|
async fetch(variables, options) {
|
|
12451
|
-
const response = await this._syncEngine.mutate(
|
|
12630
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
|
|
12452
12631
|
const data = response.connectIntegration;
|
|
12453
12632
|
return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
12454
12633
|
}
|
|
12455
12634
|
};
|
|
12635
|
+
var ContinueImportedChatMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12636
|
+
async fetch(variables) {
|
|
12637
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
|
|
12638
|
+
return response.continueImportedChat;
|
|
12639
|
+
}
|
|
12640
|
+
};
|
|
12456
12641
|
var ContinueInterpretationMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12457
12642
|
async fetch(variables) {
|
|
12458
|
-
const response = await this._syncEngine.mutate(
|
|
12643
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
|
|
12459
12644
|
return response.continueInterpretation;
|
|
12460
12645
|
}
|
|
12461
12646
|
};
|
|
12462
12647
|
var CreateAgentMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12463
12648
|
async fetch(variables, options) {
|
|
12464
|
-
const response = await this._syncEngine.mutate(
|
|
12649
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
|
|
12465
12650
|
const data = response.createAgent;
|
|
12466
12651
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
12467
12652
|
}
|
|
12468
12653
|
};
|
|
12469
12654
|
var CreateChatMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12470
12655
|
async fetch(variables, options) {
|
|
12471
|
-
const response = await this._syncEngine.mutate(
|
|
12656
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
|
|
12472
12657
|
const data = response.createChat;
|
|
12473
12658
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
12474
12659
|
}
|
|
12475
12660
|
};
|
|
12476
12661
|
var CreateDatabaseMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12477
12662
|
async fetch(variables, options) {
|
|
12478
|
-
const response = await this._syncEngine.mutate(
|
|
12663
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
|
|
12479
12664
|
const data = response.createDatabase;
|
|
12480
12665
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
12481
12666
|
}
|
|
12482
12667
|
};
|
|
12483
12668
|
var CreateDocumentMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12484
12669
|
async fetch(variables, options) {
|
|
12485
|
-
const response = await this._syncEngine.mutate(
|
|
12670
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
|
|
12486
12671
|
const data = response.createDocument;
|
|
12487
12672
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
12488
12673
|
}
|
|
12489
12674
|
};
|
|
12490
12675
|
var CreateFeedbackMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12491
12676
|
async fetch(variables, options) {
|
|
12492
|
-
const response = await this._syncEngine.mutate(
|
|
12677
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
|
|
12493
12678
|
const data = response.createFeedback;
|
|
12494
12679
|
return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
|
|
12495
12680
|
}
|
|
12496
12681
|
};
|
|
12497
12682
|
var CreateFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12498
12683
|
async fetch(variables, options) {
|
|
12499
|
-
const response = await this._syncEngine.mutate(
|
|
12684
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
|
|
12500
12685
|
const data = response.createFolder;
|
|
12501
12686
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
12502
12687
|
}
|
|
12503
12688
|
};
|
|
12504
12689
|
var CreateInsightMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12505
12690
|
async fetch(variables, options) {
|
|
12506
|
-
const response = await this._syncEngine.mutate(
|
|
12691
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
|
|
12507
12692
|
const data = response.createInsight;
|
|
12508
12693
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
12509
12694
|
}
|
|
12510
12695
|
};
|
|
12511
12696
|
var CreateIntegrationMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12512
12697
|
async fetch(variables, options) {
|
|
12513
|
-
const response = await this._syncEngine.mutate(
|
|
12698
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
|
|
12514
12699
|
const data = response.createIntegration;
|
|
12515
12700
|
return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
12516
12701
|
}
|
|
12517
12702
|
};
|
|
12518
12703
|
var CreateReportMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12519
12704
|
async fetch(variables, options) {
|
|
12520
|
-
const response = await this._syncEngine.mutate(
|
|
12705
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
|
|
12521
12706
|
const data = response.createReport;
|
|
12522
12707
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
12523
12708
|
}
|
|
12524
12709
|
};
|
|
12525
12710
|
var CreateTableMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12526
12711
|
async fetch(variables, options) {
|
|
12527
|
-
const response = await this._syncEngine.mutate(
|
|
12712
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
|
|
12528
12713
|
const data = response.createTable;
|
|
12529
12714
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
12530
12715
|
}
|
|
12531
12716
|
};
|
|
12717
|
+
var CreateUserSkillFileMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12718
|
+
async fetch(variables, options) {
|
|
12719
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
|
|
12720
|
+
const data = response.createUserSkillFile;
|
|
12721
|
+
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
12722
|
+
}
|
|
12723
|
+
};
|
|
12724
|
+
var CreateUserSkillFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12725
|
+
async fetch(variables, options) {
|
|
12726
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
|
|
12727
|
+
const data = response.createUserSkillFolder;
|
|
12728
|
+
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
12729
|
+
}
|
|
12730
|
+
};
|
|
12532
12731
|
var DeleteAgentMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12533
12732
|
async fetch(variables, options) {
|
|
12534
|
-
const response = await this._syncEngine.mutate(
|
|
12733
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
|
|
12535
12734
|
const data = response.deleteAgent;
|
|
12536
12735
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
12537
12736
|
}
|
|
12538
12737
|
};
|
|
12539
12738
|
var DeleteArtifactMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12540
12739
|
async fetch(variables, options) {
|
|
12541
|
-
const response = await this._syncEngine.mutate(
|
|
12740
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
|
|
12542
12741
|
const data = response.deleteArtifact;
|
|
12543
12742
|
return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
12544
12743
|
}
|
|
12545
12744
|
};
|
|
12546
12745
|
var DeleteChatMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12547
12746
|
async fetch(variables, options) {
|
|
12548
|
-
const response = await this._syncEngine.mutate(
|
|
12747
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
|
|
12549
12748
|
const data = response.deleteChat;
|
|
12550
12749
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
12551
12750
|
}
|
|
12552
12751
|
};
|
|
12553
12752
|
var DeleteDatabaseMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12554
12753
|
async fetch(variables, options) {
|
|
12555
|
-
const response = await this._syncEngine.mutate(
|
|
12754
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
|
|
12556
12755
|
const data = response.deleteDatabase;
|
|
12557
12756
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
12558
12757
|
}
|
|
12559
12758
|
};
|
|
12560
12759
|
var DeleteDocumentMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12561
12760
|
async fetch(variables, options) {
|
|
12562
|
-
const response = await this._syncEngine.mutate(
|
|
12761
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
|
|
12563
12762
|
const data = response.deleteDocument;
|
|
12564
12763
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
12565
12764
|
}
|
|
12566
12765
|
};
|
|
12567
12766
|
var DeleteFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12568
12767
|
async fetch(variables, options) {
|
|
12569
|
-
const response = await this._syncEngine.mutate(
|
|
12768
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
|
|
12570
12769
|
const data = response.deleteFolder;
|
|
12571
12770
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
12572
12771
|
}
|
|
12573
12772
|
};
|
|
12574
12773
|
var DeleteInsightMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12575
12774
|
async fetch(variables, options) {
|
|
12576
|
-
const response = await this._syncEngine.mutate(
|
|
12775
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
|
|
12577
12776
|
const data = response.deleteInsight;
|
|
12578
12777
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
12579
12778
|
}
|
|
12580
12779
|
};
|
|
12581
12780
|
var DeleteInsightsMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12582
12781
|
async fetch(variables, options) {
|
|
12583
|
-
const response = await this._syncEngine.mutate(
|
|
12782
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
|
|
12584
12783
|
const data = response.deleteInsights;
|
|
12585
12784
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
12586
12785
|
}
|
|
12587
12786
|
};
|
|
12588
12787
|
var DeleteIntegrationMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12589
12788
|
async fetch(variables) {
|
|
12590
|
-
const response = await this._syncEngine.mutate(
|
|
12789
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
|
|
12591
12790
|
return response.deleteIntegration;
|
|
12592
12791
|
}
|
|
12593
12792
|
};
|
|
12594
12793
|
var DeleteReportMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12595
12794
|
async fetch(variables, options) {
|
|
12596
|
-
const response = await this._syncEngine.mutate(
|
|
12795
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
|
|
12597
12796
|
const data = response.deleteReport;
|
|
12598
12797
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
12599
12798
|
}
|
|
12600
12799
|
};
|
|
12601
12800
|
var DeleteTableMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12602
12801
|
async fetch(variables, options) {
|
|
12603
|
-
const response = await this._syncEngine.mutate(
|
|
12802
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
|
|
12604
12803
|
const data = response.deleteTable;
|
|
12605
12804
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
12606
12805
|
}
|
|
12607
12806
|
};
|
|
12807
|
+
var DeleteUserSkillFileMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12808
|
+
async fetch(variables, options) {
|
|
12809
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
|
|
12810
|
+
const data = response.deleteUserSkillFile;
|
|
12811
|
+
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
12812
|
+
}
|
|
12813
|
+
};
|
|
12814
|
+
var DeleteUserSkillFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12815
|
+
async fetch(variables, options) {
|
|
12816
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
|
|
12817
|
+
const data = response.deleteUserSkillFolder;
|
|
12818
|
+
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
12819
|
+
}
|
|
12820
|
+
};
|
|
12608
12821
|
var DisconnectIntegrationMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12609
12822
|
async fetch(variables) {
|
|
12610
|
-
const response = await this._syncEngine.mutate(
|
|
12823
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
|
|
12611
12824
|
return response.disconnectIntegration;
|
|
12612
12825
|
}
|
|
12613
12826
|
};
|
|
12614
12827
|
var DismissPulseEventMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12615
12828
|
async fetch(variables, options) {
|
|
12616
|
-
const response = await this._syncEngine.mutate(
|
|
12829
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
|
|
12617
12830
|
const data = response.dismissPulseEvent;
|
|
12618
12831
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
12619
12832
|
}
|
|
12620
12833
|
};
|
|
12834
|
+
var ExecuteChatImportMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12835
|
+
async fetch(variables, options) {
|
|
12836
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
|
|
12837
|
+
const data = response.executeChatImport;
|
|
12838
|
+
return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
12839
|
+
}
|
|
12840
|
+
};
|
|
12621
12841
|
var GenerateUploadUriMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12622
12842
|
async fetch(variables, options) {
|
|
12623
|
-
const response = await this._syncEngine.mutate(
|
|
12843
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
|
|
12624
12844
|
const data = response.generateUploadUri;
|
|
12625
12845
|
return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
12626
12846
|
}
|
|
12627
12847
|
};
|
|
12628
12848
|
var MarkPulseEventSeenMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12629
12849
|
async fetch(variables, options) {
|
|
12630
|
-
const response = await this._syncEngine.mutate(
|
|
12850
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.MarkPulseEventSeenDocument, variables, MUTATION_CACHE_RULES["markPulseEventSeen"]);
|
|
12631
12851
|
const data = response.markPulseEventSeen;
|
|
12632
12852
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
12633
12853
|
}
|
|
12634
12854
|
};
|
|
12855
|
+
var PreviewChatImportMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12856
|
+
async fetch(variables, options) {
|
|
12857
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
|
|
12858
|
+
const data = response.previewChatImport;
|
|
12859
|
+
return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
12860
|
+
}
|
|
12861
|
+
};
|
|
12635
12862
|
var ReanalyzeDocumentMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12636
12863
|
async fetch(variables, options) {
|
|
12637
|
-
const response = await this._syncEngine.mutate(
|
|
12864
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
|
|
12638
12865
|
const data = response.reanalyzeDocument;
|
|
12639
12866
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
12640
12867
|
}
|
|
12641
12868
|
};
|
|
12642
12869
|
var RefineMindInstructionMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12643
12870
|
async fetch(variables) {
|
|
12644
|
-
const response = await this._syncEngine.mutate(
|
|
12871
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.RefineMindInstructionDocument, variables, MUTATION_CACHE_RULES["refineMindInstruction"]);
|
|
12645
12872
|
return response.refineMindInstruction;
|
|
12646
12873
|
}
|
|
12647
12874
|
};
|
|
12648
12875
|
var RefreshDatabaseSchemaMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12649
12876
|
async fetch(variables) {
|
|
12650
|
-
const response = await this._syncEngine.mutate(
|
|
12877
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
|
|
12651
12878
|
return response.refreshDatabaseSchema;
|
|
12652
12879
|
}
|
|
12653
12880
|
};
|
|
12654
12881
|
var ReinterpretSourceMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12655
12882
|
async fetch(variables) {
|
|
12656
|
-
const response = await this._syncEngine.mutate(
|
|
12883
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
|
|
12657
12884
|
return response.reinterpretSource;
|
|
12658
12885
|
}
|
|
12659
12886
|
};
|
|
12660
12887
|
var ReinterpretSourcesOfuserMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12661
12888
|
async fetch(variables) {
|
|
12662
|
-
const response = await this._syncEngine.mutate(
|
|
12889
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
|
|
12663
12890
|
return response.reinterpretSourcesOfuser;
|
|
12664
12891
|
}
|
|
12665
12892
|
};
|
|
12666
12893
|
var RelocateInsightMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12667
12894
|
async fetch(variables, options) {
|
|
12668
|
-
const response = await this._syncEngine.mutate(
|
|
12895
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
|
|
12669
12896
|
const data = response.relocateInsight;
|
|
12670
12897
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
12671
12898
|
}
|
|
12672
12899
|
};
|
|
12673
12900
|
var RemoveInsightFromReportMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12674
12901
|
async fetch(variables, options) {
|
|
12675
|
-
const response = await this._syncEngine.mutate(
|
|
12902
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
|
|
12676
12903
|
const data = response.removeInsightFromReport;
|
|
12677
12904
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
12678
12905
|
}
|
|
12679
12906
|
};
|
|
12680
12907
|
var ResetWorkspaceMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12681
12908
|
async fetch(variables) {
|
|
12682
|
-
const response = await this._syncEngine.mutate(
|
|
12909
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
|
|
12683
12910
|
return response.resetWorkspace;
|
|
12684
12911
|
}
|
|
12685
12912
|
};
|
|
12686
12913
|
var ResolvePulseEventMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12687
12914
|
async fetch(variables, options) {
|
|
12688
|
-
const response = await this._syncEngine.mutate(
|
|
12915
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
|
|
12689
12916
|
const data = response.resolvePulseEvent;
|
|
12690
12917
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
12691
12918
|
}
|
|
12692
12919
|
};
|
|
12693
12920
|
var ScheduleWorkspaceDeletionMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12694
12921
|
async fetch(variables, options) {
|
|
12695
|
-
const response = await this._syncEngine.mutate(
|
|
12922
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
|
|
12696
12923
|
const data = response.scheduleWorkspaceDeletion;
|
|
12697
12924
|
return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
|
|
12698
12925
|
}
|
|
12699
12926
|
};
|
|
12700
12927
|
var SetDatabasePrimaryKeyMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12701
12928
|
async fetch(variables) {
|
|
12702
|
-
const response = await this._syncEngine.mutate(
|
|
12929
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
|
|
12703
12930
|
return response.setDatabasePrimaryKey;
|
|
12704
12931
|
}
|
|
12705
12932
|
};
|
|
12706
12933
|
var UpdateAgentMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12707
12934
|
async fetch(variables, options) {
|
|
12708
|
-
const response = await this._syncEngine.mutate(
|
|
12935
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
|
|
12709
12936
|
const data = response.updateAgent;
|
|
12710
12937
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
12711
12938
|
}
|
|
12712
12939
|
};
|
|
12713
12940
|
var UpdateChatMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12714
12941
|
async fetch(variables, options) {
|
|
12715
|
-
const response = await this._syncEngine.mutate(
|
|
12942
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
|
|
12716
12943
|
const data = response.updateChat;
|
|
12717
12944
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
12718
12945
|
}
|
|
12719
12946
|
};
|
|
12720
12947
|
var UpdateDatabaseMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12721
12948
|
async fetch(variables, options) {
|
|
12722
|
-
const response = await this._syncEngine.mutate(
|
|
12949
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
|
|
12723
12950
|
const data = response.updateDatabase;
|
|
12724
12951
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
12725
12952
|
}
|
|
12726
12953
|
};
|
|
12727
12954
|
var UpdateDocumentMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12728
12955
|
async fetch(variables, options) {
|
|
12729
|
-
const response = await this._syncEngine.mutate(
|
|
12956
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
|
|
12730
12957
|
const data = response.updateDocument;
|
|
12731
12958
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
12732
12959
|
}
|
|
12733
12960
|
};
|
|
12734
12961
|
var UpdateFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12735
12962
|
async fetch(variables, options) {
|
|
12736
|
-
const response = await this._syncEngine.mutate(
|
|
12963
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
|
|
12737
12964
|
const data = response.updateFolder;
|
|
12738
12965
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
12739
12966
|
}
|
|
12740
12967
|
};
|
|
12741
12968
|
var UpdateInsightMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12742
12969
|
async fetch(variables, options) {
|
|
12743
|
-
const response = await this._syncEngine.mutate(
|
|
12970
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
|
|
12744
12971
|
const data = response.updateInsight;
|
|
12745
12972
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
12746
12973
|
}
|
|
12747
12974
|
};
|
|
12748
12975
|
var UpdateInsightInReportMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12749
12976
|
async fetch(variables, options) {
|
|
12750
|
-
const response = await this._syncEngine.mutate(
|
|
12977
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
|
|
12751
12978
|
const data = response.updateInsightInReport;
|
|
12752
12979
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
12753
12980
|
}
|
|
12754
12981
|
};
|
|
12755
12982
|
var UpdateInterpMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12756
12983
|
async fetch(variables, options) {
|
|
12757
|
-
const response = await this._syncEngine.mutate(
|
|
12984
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
|
|
12758
12985
|
const data = response.updateInterp;
|
|
12759
12986
|
return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
|
|
12760
12987
|
}
|
|
12761
12988
|
};
|
|
12762
12989
|
var UpdatePulseTriggerMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12763
12990
|
async fetch(variables, options) {
|
|
12764
|
-
const response = await this._syncEngine.mutate(
|
|
12991
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
|
|
12765
12992
|
const data = response.updatePulseTrigger;
|
|
12766
12993
|
return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
12767
12994
|
}
|
|
12768
12995
|
};
|
|
12769
12996
|
var UpdateReportMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12770
12997
|
async fetch(variables, options) {
|
|
12771
|
-
const response = await this._syncEngine.mutate(
|
|
12998
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
|
|
12772
12999
|
const data = response.updateReport;
|
|
12773
13000
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
12774
13001
|
}
|
|
12775
13002
|
};
|
|
12776
13003
|
var UpdateTableMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
12777
13004
|
async fetch(variables, options) {
|
|
12778
|
-
const response = await this._syncEngine.mutate(
|
|
13005
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
|
|
12779
13006
|
const data = response.updateTable;
|
|
12780
13007
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
12781
13008
|
}
|
|
12782
13009
|
};
|
|
13010
|
+
var UpdateUserSkillFileMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
13011
|
+
async fetch(variables, options) {
|
|
13012
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
|
|
13013
|
+
const data = response.updateUserSkillFile;
|
|
13014
|
+
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
13015
|
+
}
|
|
13016
|
+
};
|
|
13017
|
+
var UpdateUserSkillFolderMutation = class extends chunk4QKWHQT2_cjs.Request {
|
|
13018
|
+
async fetch(variables, options) {
|
|
13019
|
+
const response = await this._syncEngine.mutate(chunkZFR7CX4F_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
|
|
13020
|
+
const data = response.updateUserSkillFolder;
|
|
13021
|
+
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
13022
|
+
}
|
|
13023
|
+
};
|
|
12783
13024
|
var AgentQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
12784
13025
|
_variables;
|
|
12785
13026
|
_includes = [];
|
|
@@ -12789,7 +13030,7 @@ var AgentQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
12789
13030
|
}
|
|
12790
13031
|
async fetch(options) {
|
|
12791
13032
|
const variables = this._variables;
|
|
12792
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
13033
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.AgentDocument, "agent", this._includes, variables);
|
|
12793
13034
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
|
|
12794
13035
|
const data = response.agent;
|
|
12795
13036
|
const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -12801,7 +13042,7 @@ var AgentQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
12801
13042
|
watch(options) {
|
|
12802
13043
|
const variables = this._variables;
|
|
12803
13044
|
const includes = this._includes;
|
|
12804
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
13045
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.AgentDocument, "agent", includes, variables);
|
|
12805
13046
|
const raw = this._syncEngine.watch(
|
|
12806
13047
|
queryDoc,
|
|
12807
13048
|
mergedVars,
|
|
@@ -12831,7 +13072,7 @@ var AgentQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
12831
13072
|
}
|
|
12832
13073
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
12833
13074
|
chats(variables, builder) {
|
|
12834
|
-
const info = extractIncludeInfo(
|
|
13075
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
12835
13076
|
let children;
|
|
12836
13077
|
if (builder) {
|
|
12837
13078
|
const sub = new ChatSubBuilder();
|
|
@@ -12840,7 +13081,7 @@ var AgentQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
12840
13081
|
}
|
|
12841
13082
|
this._includes.push({
|
|
12842
13083
|
fieldName: "chats",
|
|
12843
|
-
fragmentDoc:
|
|
13084
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatConnectionFragmentDoc,
|
|
12844
13085
|
variables,
|
|
12845
13086
|
isConnection: true,
|
|
12846
13087
|
isList: false,
|
|
@@ -12865,18 +13106,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk4QKWHQT2_cjs.Request
|
|
|
12865
13106
|
}
|
|
12866
13107
|
async fetch(options) {
|
|
12867
13108
|
const variables = this._variables;
|
|
12868
|
-
const response = await this._syncEngine.query(
|
|
13109
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Agent_ChatsDocument, variables, "agent");
|
|
12869
13110
|
const data = response.agent?.chats;
|
|
12870
13111
|
return new ChatConnection(this._request, (conn, opts) => new _Agent_ChatsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
12871
13112
|
}
|
|
12872
13113
|
watch(options) {
|
|
12873
13114
|
const variables = this._variables;
|
|
12874
13115
|
const raw = this._syncEngine.watch(
|
|
12875
|
-
|
|
13116
|
+
chunkZFR7CX4F_cjs.Agent_ChatsDocument,
|
|
12876
13117
|
variables,
|
|
12877
13118
|
"agent",
|
|
12878
13119
|
async (db) => {
|
|
12879
|
-
const qr = await db._queryResults.get(buildQueryKey("agent", variables,
|
|
13120
|
+
const qr = await db._queryResults.get(buildQueryKey("agent", variables, chunkZFR7CX4F_cjs.Agent_ChatsDocument));
|
|
12880
13121
|
const nodes = qr ? await db.table("chats").bulkGet(qr.entityIds) : [];
|
|
12881
13122
|
return { agent: { chats: { __typename: "ChatConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
12882
13123
|
}
|
|
@@ -12896,7 +13137,7 @@ var AgentsQuery = class _AgentsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
12896
13137
|
}
|
|
12897
13138
|
async fetch(options) {
|
|
12898
13139
|
const variables = this._variables;
|
|
12899
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
13140
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.AgentsDocument, "agents", this._includes, variables, true);
|
|
12900
13141
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
|
|
12901
13142
|
const data = response.agents;
|
|
12902
13143
|
const connection = new AgentConnection(this._request, (conn, opts) => new _AgentsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -12913,7 +13154,7 @@ var AgentsQuery = class _AgentsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
12913
13154
|
const subscriptionId = crypto.randomUUID();
|
|
12914
13155
|
const includes = this._includes;
|
|
12915
13156
|
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) }] : []);
|
|
12916
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
13157
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.AgentsDocument, "agents", includes, variables, true);
|
|
12917
13158
|
const raw = this._syncEngine.watch(
|
|
12918
13159
|
queryDoc,
|
|
12919
13160
|
mergedVars,
|
|
@@ -12948,7 +13189,7 @@ var AgentsQuery = class _AgentsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
12948
13189
|
}
|
|
12949
13190
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
12950
13191
|
chats(variables, builder) {
|
|
12951
|
-
const info = extractIncludeInfo(
|
|
13192
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
12952
13193
|
let children;
|
|
12953
13194
|
if (builder) {
|
|
12954
13195
|
const sub = new ChatSubBuilder();
|
|
@@ -12957,7 +13198,7 @@ var AgentsQuery = class _AgentsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
12957
13198
|
}
|
|
12958
13199
|
this._includes.push({
|
|
12959
13200
|
fieldName: "chats",
|
|
12960
|
-
fragmentDoc:
|
|
13201
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatConnectionFragmentDoc,
|
|
12961
13202
|
variables,
|
|
12962
13203
|
isConnection: true,
|
|
12963
13204
|
isList: false,
|
|
@@ -12983,7 +13224,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
12983
13224
|
}
|
|
12984
13225
|
async fetch(options) {
|
|
12985
13226
|
const variables = this._variables;
|
|
12986
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
13227
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ArtifactDocument, "artifact", this._includes, variables);
|
|
12987
13228
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
|
|
12988
13229
|
const data = response.artifact;
|
|
12989
13230
|
const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -12995,7 +13236,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
12995
13236
|
watch(options) {
|
|
12996
13237
|
const variables = this._variables;
|
|
12997
13238
|
const includes = this._includes;
|
|
12998
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
13239
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ArtifactDocument, "artifact", includes, variables);
|
|
12999
13240
|
const raw = this._syncEngine.watch(
|
|
13000
13241
|
queryDoc,
|
|
13001
13242
|
mergedVars,
|
|
@@ -13025,7 +13266,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13025
13266
|
}
|
|
13026
13267
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
13027
13268
|
chat(variables, builder) {
|
|
13028
|
-
const info = extractIncludeInfo(
|
|
13269
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
13029
13270
|
let children;
|
|
13030
13271
|
if (builder) {
|
|
13031
13272
|
const sub = new ChatSubBuilder();
|
|
@@ -13034,7 +13275,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13034
13275
|
}
|
|
13035
13276
|
this._includes.push({
|
|
13036
13277
|
fieldName: "chat",
|
|
13037
|
-
fragmentDoc:
|
|
13278
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
|
|
13038
13279
|
variables,
|
|
13039
13280
|
isConnection: false,
|
|
13040
13281
|
isList: false,
|
|
@@ -13051,10 +13292,10 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13051
13292
|
}
|
|
13052
13293
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
13053
13294
|
file(variables) {
|
|
13054
|
-
const info = extractIncludeInfo(
|
|
13295
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
13055
13296
|
this._includes.push({
|
|
13056
13297
|
fieldName: "file",
|
|
13057
|
-
fragmentDoc:
|
|
13298
|
+
fragmentDoc: chunkZFR7CX4F_cjs.FileFragmentDoc,
|
|
13058
13299
|
variables,
|
|
13059
13300
|
isConnection: false,
|
|
13060
13301
|
isList: false,
|
|
@@ -13070,7 +13311,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13070
13311
|
}
|
|
13071
13312
|
/** Include message in this query (Smart Fetch — single HTTP request). */
|
|
13072
13313
|
message(variables, builder) {
|
|
13073
|
-
const info = extractIncludeInfo(
|
|
13314
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
13074
13315
|
let children;
|
|
13075
13316
|
if (builder) {
|
|
13076
13317
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -13079,7 +13320,7 @@ var ArtifactQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13079
13320
|
}
|
|
13080
13321
|
this._includes.push({
|
|
13081
13322
|
fieldName: "message",
|
|
13082
|
-
fragmentDoc:
|
|
13323
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatMessageFragmentDoc,
|
|
13083
13324
|
variables,
|
|
13084
13325
|
isConnection: false,
|
|
13085
13326
|
isList: false,
|
|
@@ -13103,14 +13344,14 @@ var Artifact_ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13103
13344
|
}
|
|
13104
13345
|
async fetch(options) {
|
|
13105
13346
|
const variables = this._variables;
|
|
13106
|
-
const response = await this._syncEngine.query(
|
|
13347
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Artifact_ChatDocument, variables, "artifact");
|
|
13107
13348
|
const data = response.artifact?.chat;
|
|
13108
13349
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
13109
13350
|
}
|
|
13110
13351
|
watch(options) {
|
|
13111
13352
|
const variables = this._variables;
|
|
13112
13353
|
const raw = this._syncEngine.watch(
|
|
13113
|
-
|
|
13354
|
+
chunkZFR7CX4F_cjs.Artifact_ChatDocument,
|
|
13114
13355
|
variables,
|
|
13115
13356
|
"artifact",
|
|
13116
13357
|
async (db) => {
|
|
@@ -13133,14 +13374,14 @@ var Artifact_Chat_InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13133
13374
|
}
|
|
13134
13375
|
async fetch(options) {
|
|
13135
13376
|
const variables = this._variables;
|
|
13136
|
-
const response = await this._syncEngine.query(
|
|
13377
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
|
|
13137
13378
|
const data = response.artifact?.chat?.insight;
|
|
13138
13379
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
13139
13380
|
}
|
|
13140
13381
|
watch(options) {
|
|
13141
13382
|
const variables = this._variables;
|
|
13142
13383
|
const raw = this._syncEngine.watch(
|
|
13143
|
-
|
|
13384
|
+
chunkZFR7CX4F_cjs.Artifact_Chat_InsightDocument,
|
|
13144
13385
|
variables,
|
|
13145
13386
|
"artifact",
|
|
13146
13387
|
async (db) => {
|
|
@@ -13163,14 +13404,14 @@ var Artifact_FileQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13163
13404
|
}
|
|
13164
13405
|
async fetch(options) {
|
|
13165
13406
|
const variables = this._variables;
|
|
13166
|
-
const response = await this._syncEngine.query(
|
|
13407
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Artifact_FileDocument, variables, "artifact");
|
|
13167
13408
|
const data = response.artifact?.file;
|
|
13168
13409
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
13169
13410
|
}
|
|
13170
13411
|
watch(options) {
|
|
13171
13412
|
const variables = this._variables;
|
|
13172
13413
|
const raw = this._syncEngine.watch(
|
|
13173
|
-
|
|
13414
|
+
chunkZFR7CX4F_cjs.Artifact_FileDocument,
|
|
13174
13415
|
variables,
|
|
13175
13416
|
"artifact",
|
|
13176
13417
|
async (db) => {
|
|
@@ -13193,14 +13434,14 @@ var Artifact_MessageQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13193
13434
|
}
|
|
13194
13435
|
async fetch(options) {
|
|
13195
13436
|
const variables = this._variables;
|
|
13196
|
-
const response = await this._syncEngine.query(
|
|
13437
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Artifact_MessageDocument, variables, "artifact");
|
|
13197
13438
|
const data = response.artifact?.message;
|
|
13198
13439
|
return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
13199
13440
|
}
|
|
13200
13441
|
watch(options) {
|
|
13201
13442
|
const variables = this._variables;
|
|
13202
13443
|
const raw = this._syncEngine.watch(
|
|
13203
|
-
|
|
13444
|
+
chunkZFR7CX4F_cjs.Artifact_MessageDocument,
|
|
13204
13445
|
variables,
|
|
13205
13446
|
"artifact",
|
|
13206
13447
|
async (db) => {
|
|
@@ -13223,14 +13464,14 @@ var Artifact_Message_ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13223
13464
|
}
|
|
13224
13465
|
async fetch(options) {
|
|
13225
13466
|
const variables = this._variables;
|
|
13226
|
-
const response = await this._syncEngine.query(
|
|
13467
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Artifact_Message_ChatDocument, variables, "artifact");
|
|
13227
13468
|
const data = response.artifact?.message?.chat;
|
|
13228
13469
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
13229
13470
|
}
|
|
13230
13471
|
watch(options) {
|
|
13231
13472
|
const variables = this._variables;
|
|
13232
13473
|
const raw = this._syncEngine.watch(
|
|
13233
|
-
|
|
13474
|
+
chunkZFR7CX4F_cjs.Artifact_Message_ChatDocument,
|
|
13234
13475
|
variables,
|
|
13235
13476
|
"artifact",
|
|
13236
13477
|
async (db) => {
|
|
@@ -13252,7 +13493,7 @@ var Artifact_Message_ContentsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13252
13493
|
this._variables = variables;
|
|
13253
13494
|
}
|
|
13254
13495
|
async fetch(options) {
|
|
13255
|
-
const response = await this._syncEngine.query(
|
|
13496
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
|
|
13256
13497
|
const data = response.artifact?.message?.contents;
|
|
13257
13498
|
if (!Array.isArray(data)) return [];
|
|
13258
13499
|
return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -13266,14 +13507,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13266
13507
|
}
|
|
13267
13508
|
async fetch(options) {
|
|
13268
13509
|
const variables = this._variables;
|
|
13269
|
-
const response = await this._syncEngine.query(
|
|
13510
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
|
|
13270
13511
|
const data = response.artifact?.message?.feedback;
|
|
13271
13512
|
return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
13272
13513
|
}
|
|
13273
13514
|
watch(options) {
|
|
13274
13515
|
const variables = this._variables;
|
|
13275
13516
|
const raw = this._syncEngine.watch(
|
|
13276
|
-
|
|
13517
|
+
chunkZFR7CX4F_cjs.Artifact_Message_FeedbackDocument,
|
|
13277
13518
|
variables,
|
|
13278
13519
|
"artifact",
|
|
13279
13520
|
async (db) => {
|
|
@@ -13297,7 +13538,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
13297
13538
|
}
|
|
13298
13539
|
async fetch(options) {
|
|
13299
13540
|
const variables = this._variables;
|
|
13300
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
13541
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
|
|
13301
13542
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
|
|
13302
13543
|
const data = response.artifacts;
|
|
13303
13544
|
const connection = new ArtifactConnection(this._request, (conn, opts) => new _ArtifactsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -13314,7 +13555,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
13314
13555
|
const subscriptionId = crypto.randomUUID();
|
|
13315
13556
|
const includes = this._includes;
|
|
13316
13557
|
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) }] : []);
|
|
13317
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
13558
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
|
|
13318
13559
|
const raw = this._syncEngine.watch(
|
|
13319
13560
|
queryDoc,
|
|
13320
13561
|
mergedVars,
|
|
@@ -13349,7 +13590,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
13349
13590
|
}
|
|
13350
13591
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
13351
13592
|
chat(variables, builder) {
|
|
13352
|
-
const info = extractIncludeInfo(
|
|
13593
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
13353
13594
|
let children;
|
|
13354
13595
|
if (builder) {
|
|
13355
13596
|
const sub = new ChatSubBuilder();
|
|
@@ -13358,7 +13599,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
13358
13599
|
}
|
|
13359
13600
|
this._includes.push({
|
|
13360
13601
|
fieldName: "chat",
|
|
13361
|
-
fragmentDoc:
|
|
13602
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
|
|
13362
13603
|
variables,
|
|
13363
13604
|
isConnection: false,
|
|
13364
13605
|
isList: false,
|
|
@@ -13375,10 +13616,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
13375
13616
|
}
|
|
13376
13617
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
13377
13618
|
file(variables) {
|
|
13378
|
-
const info = extractIncludeInfo(
|
|
13619
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
13379
13620
|
this._includes.push({
|
|
13380
13621
|
fieldName: "file",
|
|
13381
|
-
fragmentDoc:
|
|
13622
|
+
fragmentDoc: chunkZFR7CX4F_cjs.FileFragmentDoc,
|
|
13382
13623
|
variables,
|
|
13383
13624
|
isConnection: false,
|
|
13384
13625
|
isList: false,
|
|
@@ -13394,7 +13635,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
13394
13635
|
}
|
|
13395
13636
|
/** Include message in this query (Smart Fetch — single HTTP request). */
|
|
13396
13637
|
message(variables, builder) {
|
|
13397
|
-
const info = extractIncludeInfo(
|
|
13638
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
13398
13639
|
let children;
|
|
13399
13640
|
if (builder) {
|
|
13400
13641
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -13403,7 +13644,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
13403
13644
|
}
|
|
13404
13645
|
this._includes.push({
|
|
13405
13646
|
fieldName: "message",
|
|
13406
|
-
fragmentDoc:
|
|
13647
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatMessageFragmentDoc,
|
|
13407
13648
|
variables,
|
|
13408
13649
|
isConnection: false,
|
|
13409
13650
|
isList: false,
|
|
@@ -13428,7 +13669,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13428
13669
|
}
|
|
13429
13670
|
async fetch(options) {
|
|
13430
13671
|
const variables = this._variables;
|
|
13431
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
13672
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatDocument, "chat", this._includes, variables);
|
|
13432
13673
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
|
|
13433
13674
|
const data = response.chat;
|
|
13434
13675
|
const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -13440,7 +13681,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13440
13681
|
watch(options) {
|
|
13441
13682
|
const variables = this._variables;
|
|
13442
13683
|
const includes = this._includes;
|
|
13443
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
13684
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatDocument, "chat", includes, variables);
|
|
13444
13685
|
const raw = this._syncEngine.watch(
|
|
13445
13686
|
queryDoc,
|
|
13446
13687
|
mergedVars,
|
|
@@ -13470,7 +13711,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13470
13711
|
}
|
|
13471
13712
|
/** Include agents in this query (Smart Fetch — single HTTP request). */
|
|
13472
13713
|
agents(variables, builder) {
|
|
13473
|
-
const info = extractIncludeInfo(
|
|
13714
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
13474
13715
|
let children;
|
|
13475
13716
|
if (builder) {
|
|
13476
13717
|
const sub = new AgentSubBuilder();
|
|
@@ -13479,7 +13720,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13479
13720
|
}
|
|
13480
13721
|
this._includes.push({
|
|
13481
13722
|
fieldName: "agents",
|
|
13482
|
-
fragmentDoc:
|
|
13723
|
+
fragmentDoc: chunkZFR7CX4F_cjs.AgentConnectionFragmentDoc,
|
|
13483
13724
|
variables,
|
|
13484
13725
|
isConnection: true,
|
|
13485
13726
|
isList: false,
|
|
@@ -13497,7 +13738,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13497
13738
|
}
|
|
13498
13739
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
13499
13740
|
artifacts(variables, builder) {
|
|
13500
|
-
const info = extractIncludeInfo(
|
|
13741
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
13501
13742
|
let children;
|
|
13502
13743
|
if (builder) {
|
|
13503
13744
|
const sub = new ArtifactSubBuilder();
|
|
@@ -13506,7 +13747,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13506
13747
|
}
|
|
13507
13748
|
this._includes.push({
|
|
13508
13749
|
fieldName: "artifacts",
|
|
13509
|
-
fragmentDoc:
|
|
13750
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ArtifactConnectionFragmentDoc,
|
|
13510
13751
|
variables,
|
|
13511
13752
|
isConnection: true,
|
|
13512
13753
|
isList: false,
|
|
@@ -13524,7 +13765,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13524
13765
|
}
|
|
13525
13766
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
13526
13767
|
insight(variables, builder) {
|
|
13527
|
-
const info = extractIncludeInfo(
|
|
13768
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
13528
13769
|
let children;
|
|
13529
13770
|
if (builder) {
|
|
13530
13771
|
const sub = new InsightSubBuilder();
|
|
@@ -13533,7 +13774,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13533
13774
|
}
|
|
13534
13775
|
this._includes.push({
|
|
13535
13776
|
fieldName: "insight",
|
|
13536
|
-
fragmentDoc:
|
|
13777
|
+
fragmentDoc: chunkZFR7CX4F_cjs.InsightFragmentDoc,
|
|
13537
13778
|
variables,
|
|
13538
13779
|
isConnection: false,
|
|
13539
13780
|
isList: false,
|
|
@@ -13550,7 +13791,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13550
13791
|
}
|
|
13551
13792
|
/** Include messages in this query (Smart Fetch — single HTTP request). */
|
|
13552
13793
|
messages(variables, builder) {
|
|
13553
|
-
const info = extractIncludeInfo(
|
|
13794
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
13554
13795
|
let children;
|
|
13555
13796
|
if (builder) {
|
|
13556
13797
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -13559,7 +13800,7 @@ var ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13559
13800
|
}
|
|
13560
13801
|
this._includes.push({
|
|
13561
13802
|
fieldName: "messages",
|
|
13562
|
-
fragmentDoc:
|
|
13803
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatMessageConnectionFragmentDoc,
|
|
13563
13804
|
variables,
|
|
13564
13805
|
isConnection: true,
|
|
13565
13806
|
isList: false,
|
|
@@ -13584,18 +13825,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk4QKWHQT2_cjs.Request
|
|
|
13584
13825
|
}
|
|
13585
13826
|
async fetch(options) {
|
|
13586
13827
|
const variables = this._variables;
|
|
13587
|
-
const response = await this._syncEngine.query(
|
|
13828
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Chat_AgentsDocument, variables, "chat");
|
|
13588
13829
|
const data = response.chat?.agents;
|
|
13589
13830
|
return new AgentConnection(this._request, (conn, opts) => new _Chat_AgentsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
13590
13831
|
}
|
|
13591
13832
|
watch(options) {
|
|
13592
13833
|
const variables = this._variables;
|
|
13593
13834
|
const raw = this._syncEngine.watch(
|
|
13594
|
-
|
|
13835
|
+
chunkZFR7CX4F_cjs.Chat_AgentsDocument,
|
|
13595
13836
|
variables,
|
|
13596
13837
|
"chat",
|
|
13597
13838
|
async (db) => {
|
|
13598
|
-
const qr = await db._queryResults.get(buildQueryKey("chat", variables,
|
|
13839
|
+
const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkZFR7CX4F_cjs.Chat_AgentsDocument));
|
|
13599
13840
|
const nodes = qr ? await db.table("agents").bulkGet(qr.entityIds) : [];
|
|
13600
13841
|
return { chat: { agents: { __typename: "AgentConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
13601
13842
|
}
|
|
@@ -13614,18 +13855,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk4QKWHQT2_cjs.R
|
|
|
13614
13855
|
}
|
|
13615
13856
|
async fetch(options) {
|
|
13616
13857
|
const variables = this._variables;
|
|
13617
|
-
const response = await this._syncEngine.query(
|
|
13858
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Chat_ArtifactsDocument, variables, "chat");
|
|
13618
13859
|
const data = response.chat?.artifacts;
|
|
13619
13860
|
return new ArtifactConnection(this._request, (conn, opts) => new _Chat_ArtifactsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
13620
13861
|
}
|
|
13621
13862
|
watch(options) {
|
|
13622
13863
|
const variables = this._variables;
|
|
13623
13864
|
const raw = this._syncEngine.watch(
|
|
13624
|
-
|
|
13865
|
+
chunkZFR7CX4F_cjs.Chat_ArtifactsDocument,
|
|
13625
13866
|
variables,
|
|
13626
13867
|
"chat",
|
|
13627
13868
|
async (db) => {
|
|
13628
|
-
const qr = await db._queryResults.get(buildQueryKey("chat", variables,
|
|
13869
|
+
const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkZFR7CX4F_cjs.Chat_ArtifactsDocument));
|
|
13629
13870
|
const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
|
|
13630
13871
|
return { chat: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
13631
13872
|
}
|
|
@@ -13644,14 +13885,14 @@ var Chat_InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13644
13885
|
}
|
|
13645
13886
|
async fetch(options) {
|
|
13646
13887
|
const variables = this._variables;
|
|
13647
|
-
const response = await this._syncEngine.query(
|
|
13888
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Chat_InsightDocument, variables, "chat");
|
|
13648
13889
|
const data = response.chat?.insight;
|
|
13649
13890
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
13650
13891
|
}
|
|
13651
13892
|
watch(options) {
|
|
13652
13893
|
const variables = this._variables;
|
|
13653
13894
|
const raw = this._syncEngine.watch(
|
|
13654
|
-
|
|
13895
|
+
chunkZFR7CX4F_cjs.Chat_InsightDocument,
|
|
13655
13896
|
variables,
|
|
13656
13897
|
"chat",
|
|
13657
13898
|
async (db) => {
|
|
@@ -13673,7 +13914,7 @@ var Chat_Insight_ReportMembersQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13673
13914
|
this._variables = variables;
|
|
13674
13915
|
}
|
|
13675
13916
|
async fetch(options) {
|
|
13676
|
-
const response = await this._syncEngine.query(
|
|
13917
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
|
|
13677
13918
|
const data = response.chat?.insight?.reportMembers;
|
|
13678
13919
|
if (!Array.isArray(data)) return [];
|
|
13679
13920
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -13687,18 +13928,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk4QKWHQT2_cjs.Req
|
|
|
13687
13928
|
}
|
|
13688
13929
|
async fetch(options) {
|
|
13689
13930
|
const variables = this._variables;
|
|
13690
|
-
const response = await this._syncEngine.query(
|
|
13931
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Chat_MessagesDocument, variables, "chat");
|
|
13691
13932
|
const data = response.chat?.messages;
|
|
13692
13933
|
return new ChatMessageConnection(this._request, (conn, opts) => new _Chat_MessagesQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
13693
13934
|
}
|
|
13694
13935
|
watch(options) {
|
|
13695
13936
|
const variables = this._variables;
|
|
13696
13937
|
const raw = this._syncEngine.watch(
|
|
13697
|
-
|
|
13938
|
+
chunkZFR7CX4F_cjs.Chat_MessagesDocument,
|
|
13698
13939
|
variables,
|
|
13699
13940
|
"chat",
|
|
13700
13941
|
async (db) => {
|
|
13701
|
-
const qr = await db._queryResults.get(buildQueryKey("chat", variables,
|
|
13942
|
+
const qr = await db._queryResults.get(buildQueryKey("chat", variables, chunkZFR7CX4F_cjs.Chat_MessagesDocument));
|
|
13702
13943
|
const nodes = qr ? await db.table("chatMessages").bulkGet(qr.entityIds) : [];
|
|
13703
13944
|
return { chat: { messages: { __typename: "ChatMessageConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
13704
13945
|
}
|
|
@@ -13718,7 +13959,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13718
13959
|
}
|
|
13719
13960
|
async fetch(options) {
|
|
13720
13961
|
const variables = this._variables;
|
|
13721
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
13962
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
|
|
13722
13963
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
|
|
13723
13964
|
const data = response.chatMessage;
|
|
13724
13965
|
const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -13730,7 +13971,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13730
13971
|
watch(options) {
|
|
13731
13972
|
const variables = this._variables;
|
|
13732
13973
|
const includes = this._includes;
|
|
13733
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
13974
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatMessageDocument, "chatMessage", includes, variables);
|
|
13734
13975
|
const raw = this._syncEngine.watch(
|
|
13735
13976
|
queryDoc,
|
|
13736
13977
|
mergedVars,
|
|
@@ -13760,7 +14001,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13760
14001
|
}
|
|
13761
14002
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
13762
14003
|
artifacts(variables, builder) {
|
|
13763
|
-
const info = extractIncludeInfo(
|
|
14004
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
13764
14005
|
let children;
|
|
13765
14006
|
if (builder) {
|
|
13766
14007
|
const sub = new ArtifactSubBuilder();
|
|
@@ -13769,7 +14010,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13769
14010
|
}
|
|
13770
14011
|
this._includes.push({
|
|
13771
14012
|
fieldName: "artifacts",
|
|
13772
|
-
fragmentDoc:
|
|
14013
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ArtifactConnectionFragmentDoc,
|
|
13773
14014
|
variables,
|
|
13774
14015
|
isConnection: true,
|
|
13775
14016
|
isList: false,
|
|
@@ -13787,7 +14028,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13787
14028
|
}
|
|
13788
14029
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
13789
14030
|
chat(variables, builder) {
|
|
13790
|
-
const info = extractIncludeInfo(
|
|
14031
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
13791
14032
|
let children;
|
|
13792
14033
|
if (builder) {
|
|
13793
14034
|
const sub = new ChatSubBuilder();
|
|
@@ -13796,7 +14037,7 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13796
14037
|
}
|
|
13797
14038
|
this._includes.push({
|
|
13798
14039
|
fieldName: "chat",
|
|
13799
|
-
fragmentDoc:
|
|
14040
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
|
|
13800
14041
|
variables,
|
|
13801
14042
|
isConnection: false,
|
|
13802
14043
|
isList: false,
|
|
@@ -13813,10 +14054,10 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13813
14054
|
}
|
|
13814
14055
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
13815
14056
|
contents(variables) {
|
|
13816
|
-
const info = extractIncludeInfo(
|
|
14057
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
13817
14058
|
this._includes.push({
|
|
13818
14059
|
fieldName: "contents",
|
|
13819
|
-
fragmentDoc:
|
|
14060
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ContentBlockFragmentDoc,
|
|
13820
14061
|
variables,
|
|
13821
14062
|
isConnection: false,
|
|
13822
14063
|
isList: true,
|
|
@@ -13832,10 +14073,10 @@ var ChatMessageQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13832
14073
|
}
|
|
13833
14074
|
/** Include feedback in this query (Smart Fetch — single HTTP request). */
|
|
13834
14075
|
feedback(variables) {
|
|
13835
|
-
const info = extractIncludeInfo(
|
|
14076
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
13836
14077
|
this._includes.push({
|
|
13837
14078
|
fieldName: "feedback",
|
|
13838
|
-
fragmentDoc:
|
|
14079
|
+
fragmentDoc: chunkZFR7CX4F_cjs.FeedbackFragmentDoc,
|
|
13839
14080
|
variables,
|
|
13840
14081
|
isConnection: false,
|
|
13841
14082
|
isList: false,
|
|
@@ -13858,18 +14099,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
|
|
|
13858
14099
|
}
|
|
13859
14100
|
async fetch(options) {
|
|
13860
14101
|
const variables = this._variables;
|
|
13861
|
-
const response = await this._syncEngine.query(
|
|
14102
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
|
|
13862
14103
|
const data = response.chatMessage?.artifacts;
|
|
13863
14104
|
return new ArtifactConnection(this._request, (conn, opts) => new _ChatMessage_ArtifactsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
13864
14105
|
}
|
|
13865
14106
|
watch(options) {
|
|
13866
14107
|
const variables = this._variables;
|
|
13867
14108
|
const raw = this._syncEngine.watch(
|
|
13868
|
-
|
|
14109
|
+
chunkZFR7CX4F_cjs.ChatMessage_ArtifactsDocument,
|
|
13869
14110
|
variables,
|
|
13870
14111
|
"chatMessage",
|
|
13871
14112
|
async (db) => {
|
|
13872
|
-
const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables,
|
|
14113
|
+
const qr = await db._queryResults.get(buildQueryKey("chatMessage", variables, chunkZFR7CX4F_cjs.ChatMessage_ArtifactsDocument));
|
|
13873
14114
|
const nodes = qr ? await db.table("artifacts").bulkGet(qr.entityIds) : [];
|
|
13874
14115
|
return { chatMessage: { artifacts: { __typename: "ArtifactConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
13875
14116
|
}
|
|
@@ -13888,14 +14129,14 @@ var ChatMessage_ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13888
14129
|
}
|
|
13889
14130
|
async fetch(options) {
|
|
13890
14131
|
const variables = this._variables;
|
|
13891
|
-
const response = await this._syncEngine.query(
|
|
14132
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
|
|
13892
14133
|
const data = response.chatMessage?.chat;
|
|
13893
14134
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
13894
14135
|
}
|
|
13895
14136
|
watch(options) {
|
|
13896
14137
|
const variables = this._variables;
|
|
13897
14138
|
const raw = this._syncEngine.watch(
|
|
13898
|
-
|
|
14139
|
+
chunkZFR7CX4F_cjs.ChatMessage_ChatDocument,
|
|
13899
14140
|
variables,
|
|
13900
14141
|
"chatMessage",
|
|
13901
14142
|
async (db) => {
|
|
@@ -13918,14 +14159,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13918
14159
|
}
|
|
13919
14160
|
async fetch(options) {
|
|
13920
14161
|
const variables = this._variables;
|
|
13921
|
-
const response = await this._syncEngine.query(
|
|
14162
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
|
|
13922
14163
|
const data = response.chatMessage?.chat?.insight;
|
|
13923
14164
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
13924
14165
|
}
|
|
13925
14166
|
watch(options) {
|
|
13926
14167
|
const variables = this._variables;
|
|
13927
14168
|
const raw = this._syncEngine.watch(
|
|
13928
|
-
|
|
14169
|
+
chunkZFR7CX4F_cjs.ChatMessage_Chat_InsightDocument,
|
|
13929
14170
|
variables,
|
|
13930
14171
|
"chatMessage",
|
|
13931
14172
|
async (db) => {
|
|
@@ -13947,7 +14188,7 @@ var ChatMessage_ContentsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13947
14188
|
this._variables = variables;
|
|
13948
14189
|
}
|
|
13949
14190
|
async fetch(options) {
|
|
13950
|
-
const response = await this._syncEngine.query(
|
|
14191
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
|
|
13951
14192
|
const data = response.chatMessage?.contents;
|
|
13952
14193
|
if (!Array.isArray(data)) return [];
|
|
13953
14194
|
return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -13961,14 +14202,14 @@ var ChatMessage_FeedbackQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
13961
14202
|
}
|
|
13962
14203
|
async fetch(options) {
|
|
13963
14204
|
const variables = this._variables;
|
|
13964
|
-
const response = await this._syncEngine.query(
|
|
14205
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
|
|
13965
14206
|
const data = response.chatMessage?.feedback;
|
|
13966
14207
|
return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
13967
14208
|
}
|
|
13968
14209
|
watch(options) {
|
|
13969
14210
|
const variables = this._variables;
|
|
13970
14211
|
const raw = this._syncEngine.watch(
|
|
13971
|
-
|
|
14212
|
+
chunkZFR7CX4F_cjs.ChatMessage_FeedbackDocument,
|
|
13972
14213
|
variables,
|
|
13973
14214
|
"chatMessage",
|
|
13974
14215
|
async (db) => {
|
|
@@ -13992,7 +14233,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
|
|
|
13992
14233
|
}
|
|
13993
14234
|
async fetch(options) {
|
|
13994
14235
|
const variables = this._variables;
|
|
13995
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14236
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
|
|
13996
14237
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
|
|
13997
14238
|
const data = response.chatMessages;
|
|
13998
14239
|
const connection = new ChatMessageConnection(this._request, (conn, opts) => new _ChatMessagesQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -14009,7 +14250,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
|
|
|
14009
14250
|
const subscriptionId = crypto.randomUUID();
|
|
14010
14251
|
const includes = this._includes;
|
|
14011
14252
|
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) }] : []);
|
|
14012
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14253
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
|
|
14013
14254
|
const raw = this._syncEngine.watch(
|
|
14014
14255
|
queryDoc,
|
|
14015
14256
|
mergedVars,
|
|
@@ -14044,7 +14285,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
|
|
|
14044
14285
|
}
|
|
14045
14286
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
14046
14287
|
artifacts(variables, builder) {
|
|
14047
|
-
const info = extractIncludeInfo(
|
|
14288
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
14048
14289
|
let children;
|
|
14049
14290
|
if (builder) {
|
|
14050
14291
|
const sub = new ArtifactSubBuilder();
|
|
@@ -14053,7 +14294,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
|
|
|
14053
14294
|
}
|
|
14054
14295
|
this._includes.push({
|
|
14055
14296
|
fieldName: "artifacts",
|
|
14056
|
-
fragmentDoc:
|
|
14297
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ArtifactConnectionFragmentDoc,
|
|
14057
14298
|
variables,
|
|
14058
14299
|
isConnection: true,
|
|
14059
14300
|
isList: false,
|
|
@@ -14071,7 +14312,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
|
|
|
14071
14312
|
}
|
|
14072
14313
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
14073
14314
|
chat(variables, builder) {
|
|
14074
|
-
const info = extractIncludeInfo(
|
|
14315
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
14075
14316
|
let children;
|
|
14076
14317
|
if (builder) {
|
|
14077
14318
|
const sub = new ChatSubBuilder();
|
|
@@ -14080,7 +14321,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
|
|
|
14080
14321
|
}
|
|
14081
14322
|
this._includes.push({
|
|
14082
14323
|
fieldName: "chat",
|
|
14083
|
-
fragmentDoc:
|
|
14324
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
|
|
14084
14325
|
variables,
|
|
14085
14326
|
isConnection: false,
|
|
14086
14327
|
isList: false,
|
|
@@ -14097,10 +14338,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
|
|
|
14097
14338
|
}
|
|
14098
14339
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
14099
14340
|
contents(variables) {
|
|
14100
|
-
const info = extractIncludeInfo(
|
|
14341
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
14101
14342
|
this._includes.push({
|
|
14102
14343
|
fieldName: "contents",
|
|
14103
|
-
fragmentDoc:
|
|
14344
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ContentBlockFragmentDoc,
|
|
14104
14345
|
variables,
|
|
14105
14346
|
isConnection: false,
|
|
14106
14347
|
isList: true,
|
|
@@ -14116,10 +14357,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk4QKWHQT2_cjs.Reque
|
|
|
14116
14357
|
}
|
|
14117
14358
|
/** Include feedback in this query (Smart Fetch — single HTTP request). */
|
|
14118
14359
|
feedback(variables) {
|
|
14119
|
-
const info = extractIncludeInfo(
|
|
14360
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
14120
14361
|
this._includes.push({
|
|
14121
14362
|
fieldName: "feedback",
|
|
14122
|
-
fragmentDoc:
|
|
14363
|
+
fragmentDoc: chunkZFR7CX4F_cjs.FeedbackFragmentDoc,
|
|
14123
14364
|
variables,
|
|
14124
14365
|
isConnection: false,
|
|
14125
14366
|
isList: false,
|
|
@@ -14143,7 +14384,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
14143
14384
|
}
|
|
14144
14385
|
async fetch(options) {
|
|
14145
14386
|
const variables = this._variables;
|
|
14146
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14387
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatsDocument, "chats", this._includes, variables, true);
|
|
14147
14388
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
|
|
14148
14389
|
const data = response.chats;
|
|
14149
14390
|
const connection = new ChatConnection(this._request, (conn, opts) => new _ChatsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -14160,7 +14401,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
14160
14401
|
const subscriptionId = crypto.randomUUID();
|
|
14161
14402
|
const includes = this._includes;
|
|
14162
14403
|
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) }] : []);
|
|
14163
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14404
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ChatsDocument, "chats", includes, variables, true);
|
|
14164
14405
|
const raw = this._syncEngine.watch(
|
|
14165
14406
|
queryDoc,
|
|
14166
14407
|
mergedVars,
|
|
@@ -14195,7 +14436,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
14195
14436
|
}
|
|
14196
14437
|
/** Include agents in this query (Smart Fetch — single HTTP request). */
|
|
14197
14438
|
agents(variables, builder) {
|
|
14198
|
-
const info = extractIncludeInfo(
|
|
14439
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
14199
14440
|
let children;
|
|
14200
14441
|
if (builder) {
|
|
14201
14442
|
const sub = new AgentSubBuilder();
|
|
@@ -14204,7 +14445,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
14204
14445
|
}
|
|
14205
14446
|
this._includes.push({
|
|
14206
14447
|
fieldName: "agents",
|
|
14207
|
-
fragmentDoc:
|
|
14448
|
+
fragmentDoc: chunkZFR7CX4F_cjs.AgentConnectionFragmentDoc,
|
|
14208
14449
|
variables,
|
|
14209
14450
|
isConnection: true,
|
|
14210
14451
|
isList: false,
|
|
@@ -14222,7 +14463,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
14222
14463
|
}
|
|
14223
14464
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
14224
14465
|
artifacts(variables, builder) {
|
|
14225
|
-
const info = extractIncludeInfo(
|
|
14466
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
14226
14467
|
let children;
|
|
14227
14468
|
if (builder) {
|
|
14228
14469
|
const sub = new ArtifactSubBuilder();
|
|
@@ -14231,7 +14472,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
14231
14472
|
}
|
|
14232
14473
|
this._includes.push({
|
|
14233
14474
|
fieldName: "artifacts",
|
|
14234
|
-
fragmentDoc:
|
|
14475
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ArtifactConnectionFragmentDoc,
|
|
14235
14476
|
variables,
|
|
14236
14477
|
isConnection: true,
|
|
14237
14478
|
isList: false,
|
|
@@ -14249,7 +14490,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
14249
14490
|
}
|
|
14250
14491
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
14251
14492
|
insight(variables, builder) {
|
|
14252
|
-
const info = extractIncludeInfo(
|
|
14493
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
14253
14494
|
let children;
|
|
14254
14495
|
if (builder) {
|
|
14255
14496
|
const sub = new InsightSubBuilder();
|
|
@@ -14258,7 +14499,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
14258
14499
|
}
|
|
14259
14500
|
this._includes.push({
|
|
14260
14501
|
fieldName: "insight",
|
|
14261
|
-
fragmentDoc:
|
|
14502
|
+
fragmentDoc: chunkZFR7CX4F_cjs.InsightFragmentDoc,
|
|
14262
14503
|
variables,
|
|
14263
14504
|
isConnection: false,
|
|
14264
14505
|
isList: false,
|
|
@@ -14275,7 +14516,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
14275
14516
|
}
|
|
14276
14517
|
/** Include messages in this query (Smart Fetch — single HTTP request). */
|
|
14277
14518
|
messages(variables, builder) {
|
|
14278
|
-
const info = extractIncludeInfo(
|
|
14519
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
14279
14520
|
let children;
|
|
14280
14521
|
if (builder) {
|
|
14281
14522
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -14284,7 +14525,7 @@ var ChatsQuery = class _ChatsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
14284
14525
|
}
|
|
14285
14526
|
this._includes.push({
|
|
14286
14527
|
fieldName: "messages",
|
|
14287
|
-
fragmentDoc:
|
|
14528
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatMessageConnectionFragmentDoc,
|
|
14288
14529
|
variables,
|
|
14289
14530
|
isConnection: true,
|
|
14290
14531
|
isList: false,
|
|
@@ -14310,7 +14551,7 @@ var DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14310
14551
|
}
|
|
14311
14552
|
async fetch(options) {
|
|
14312
14553
|
const variables = this._variables;
|
|
14313
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14554
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabaseDocument, "database", this._includes, variables);
|
|
14314
14555
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
|
|
14315
14556
|
const data = response.database;
|
|
14316
14557
|
const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -14322,7 +14563,7 @@ var DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14322
14563
|
watch(options) {
|
|
14323
14564
|
const variables = this._variables;
|
|
14324
14565
|
const includes = this._includes;
|
|
14325
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14566
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabaseDocument, "database", includes, variables);
|
|
14326
14567
|
const raw = this._syncEngine.watch(
|
|
14327
14568
|
queryDoc,
|
|
14328
14569
|
mergedVars,
|
|
@@ -14352,10 +14593,10 @@ var DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14352
14593
|
}
|
|
14353
14594
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
14354
14595
|
engine(variables) {
|
|
14355
|
-
const info = extractIncludeInfo(
|
|
14596
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
14356
14597
|
this._includes.push({
|
|
14357
14598
|
fieldName: "engine",
|
|
14358
|
-
fragmentDoc:
|
|
14599
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DatabaseEngineFragmentDoc,
|
|
14359
14600
|
variables,
|
|
14360
14601
|
isConnection: false,
|
|
14361
14602
|
isList: false,
|
|
@@ -14371,7 +14612,7 @@ var DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14371
14612
|
}
|
|
14372
14613
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
14373
14614
|
tables(variables, builder) {
|
|
14374
|
-
const info = extractIncludeInfo(
|
|
14615
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
14375
14616
|
let children;
|
|
14376
14617
|
if (builder) {
|
|
14377
14618
|
const sub = new TableSubBuilder();
|
|
@@ -14380,7 +14621,7 @@ var DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14380
14621
|
}
|
|
14381
14622
|
this._includes.push({
|
|
14382
14623
|
fieldName: "tables",
|
|
14383
|
-
fragmentDoc:
|
|
14624
|
+
fragmentDoc: chunkZFR7CX4F_cjs.TableConnectionFragmentDoc,
|
|
14384
14625
|
variables,
|
|
14385
14626
|
isConnection: true,
|
|
14386
14627
|
isList: false,
|
|
@@ -14405,14 +14646,14 @@ var Database_EngineQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14405
14646
|
}
|
|
14406
14647
|
async fetch(options) {
|
|
14407
14648
|
const variables = this._variables;
|
|
14408
|
-
const response = await this._syncEngine.query(
|
|
14649
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Database_EngineDocument, variables, "database");
|
|
14409
14650
|
const data = response.database?.engine;
|
|
14410
14651
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14411
14652
|
}
|
|
14412
14653
|
watch(options) {
|
|
14413
14654
|
const variables = this._variables;
|
|
14414
14655
|
const raw = this._syncEngine.watch(
|
|
14415
|
-
|
|
14656
|
+
chunkZFR7CX4F_cjs.Database_EngineDocument,
|
|
14416
14657
|
variables,
|
|
14417
14658
|
"database",
|
|
14418
14659
|
async (db) => {
|
|
@@ -14435,14 +14676,14 @@ var Database_Engine_CatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14435
14676
|
}
|
|
14436
14677
|
async fetch(options) {
|
|
14437
14678
|
const variables = this._variables;
|
|
14438
|
-
const response = await this._syncEngine.query(
|
|
14679
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Database_Engine_CatalogDocument, variables, "database");
|
|
14439
14680
|
const data = response.database?.engine?.catalog;
|
|
14440
14681
|
return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14441
14682
|
}
|
|
14442
14683
|
watch(options) {
|
|
14443
14684
|
const variables = this._variables;
|
|
14444
14685
|
const raw = this._syncEngine.watch(
|
|
14445
|
-
|
|
14686
|
+
chunkZFR7CX4F_cjs.Database_Engine_CatalogDocument,
|
|
14446
14687
|
variables,
|
|
14447
14688
|
"database",
|
|
14448
14689
|
async (db) => {
|
|
@@ -14465,18 +14706,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk4QKWHQT2_cjs
|
|
|
14465
14706
|
}
|
|
14466
14707
|
async fetch(options) {
|
|
14467
14708
|
const variables = this._variables;
|
|
14468
|
-
const response = await this._syncEngine.query(
|
|
14709
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Database_TablesDocument, variables, "database");
|
|
14469
14710
|
const data = response.database?.tables;
|
|
14470
14711
|
return new TableConnection(this._request, (conn, opts) => new _Database_TablesQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
14471
14712
|
}
|
|
14472
14713
|
watch(options) {
|
|
14473
14714
|
const variables = this._variables;
|
|
14474
14715
|
const raw = this._syncEngine.watch(
|
|
14475
|
-
|
|
14716
|
+
chunkZFR7CX4F_cjs.Database_TablesDocument,
|
|
14476
14717
|
variables,
|
|
14477
14718
|
"database",
|
|
14478
14719
|
async (db) => {
|
|
14479
|
-
const qr = await db._queryResults.get(buildQueryKey("database", variables,
|
|
14720
|
+
const qr = await db._queryResults.get(buildQueryKey("database", variables, chunkZFR7CX4F_cjs.Database_TablesDocument));
|
|
14480
14721
|
const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
|
|
14481
14722
|
return { database: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
14482
14723
|
}
|
|
@@ -14496,7 +14737,7 @@ var DatabaseCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14496
14737
|
}
|
|
14497
14738
|
async fetch(options) {
|
|
14498
14739
|
const variables = this._variables;
|
|
14499
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14740
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
|
|
14500
14741
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
|
|
14501
14742
|
const data = response.databaseCatalog;
|
|
14502
14743
|
const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -14508,7 +14749,7 @@ var DatabaseCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14508
14749
|
watch(options) {
|
|
14509
14750
|
const variables = this._variables;
|
|
14510
14751
|
const includes = this._includes;
|
|
14511
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14752
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
|
|
14512
14753
|
const raw = this._syncEngine.watch(
|
|
14513
14754
|
queryDoc,
|
|
14514
14755
|
mergedVars,
|
|
@@ -14538,10 +14779,10 @@ var DatabaseCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14538
14779
|
}
|
|
14539
14780
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
14540
14781
|
engine(variables) {
|
|
14541
|
-
const info = extractIncludeInfo(
|
|
14782
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
14542
14783
|
this._includes.push({
|
|
14543
14784
|
fieldName: "engine",
|
|
14544
|
-
fragmentDoc:
|
|
14785
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DatabaseEngineFragmentDoc,
|
|
14545
14786
|
variables,
|
|
14546
14787
|
isConnection: false,
|
|
14547
14788
|
isList: false,
|
|
@@ -14564,14 +14805,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14564
14805
|
}
|
|
14565
14806
|
async fetch(options) {
|
|
14566
14807
|
const variables = this._variables;
|
|
14567
|
-
const response = await this._syncEngine.query(
|
|
14808
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
|
|
14568
14809
|
const data = response.databaseCatalog?.engine;
|
|
14569
14810
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14570
14811
|
}
|
|
14571
14812
|
watch(options) {
|
|
14572
14813
|
const variables = this._variables;
|
|
14573
14814
|
const raw = this._syncEngine.watch(
|
|
14574
|
-
|
|
14815
|
+
chunkZFR7CX4F_cjs.DatabaseCatalog_EngineDocument,
|
|
14575
14816
|
variables,
|
|
14576
14817
|
"databaseCatalog",
|
|
14577
14818
|
async (db) => {
|
|
@@ -14595,7 +14836,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk4QKWHQT2_c
|
|
|
14595
14836
|
}
|
|
14596
14837
|
async fetch(options) {
|
|
14597
14838
|
const variables = this._variables;
|
|
14598
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14839
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
|
|
14599
14840
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
|
|
14600
14841
|
const data = response.databaseCatalogs;
|
|
14601
14842
|
const connection = new DatabaseCatalogConnection(this._request, (conn, opts) => new _DatabaseCatalogsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -14612,7 +14853,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk4QKWHQT2_c
|
|
|
14612
14853
|
const subscriptionId = crypto.randomUUID();
|
|
14613
14854
|
const includes = this._includes;
|
|
14614
14855
|
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) }] : []);
|
|
14615
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14856
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
|
|
14616
14857
|
const raw = this._syncEngine.watch(
|
|
14617
14858
|
queryDoc,
|
|
14618
14859
|
mergedVars,
|
|
@@ -14647,10 +14888,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk4QKWHQT2_c
|
|
|
14647
14888
|
}
|
|
14648
14889
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
14649
14890
|
engine(variables) {
|
|
14650
|
-
const info = extractIncludeInfo(
|
|
14891
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
14651
14892
|
this._includes.push({
|
|
14652
14893
|
fieldName: "engine",
|
|
14653
|
-
fragmentDoc:
|
|
14894
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DatabaseEngineFragmentDoc,
|
|
14654
14895
|
variables,
|
|
14655
14896
|
isConnection: false,
|
|
14656
14897
|
isList: false,
|
|
@@ -14667,7 +14908,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk4QKWHQT2_c
|
|
|
14667
14908
|
};
|
|
14668
14909
|
var DatabaseSchemaQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
14669
14910
|
async fetch(variables) {
|
|
14670
|
-
const response = await this._request(
|
|
14911
|
+
const response = await this._request(chunkZFR7CX4F_cjs.DatabaseSchemaDocument, variables);
|
|
14671
14912
|
return response.databaseSchema;
|
|
14672
14913
|
}
|
|
14673
14914
|
};
|
|
@@ -14680,7 +14921,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
14680
14921
|
}
|
|
14681
14922
|
async fetch(options) {
|
|
14682
14923
|
const variables = this._variables;
|
|
14683
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14924
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabasesDocument, "databases", this._includes, variables, true);
|
|
14684
14925
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
|
|
14685
14926
|
const data = response.databases;
|
|
14686
14927
|
const connection = new DatabaseConnection(this._request, (conn, opts) => new _DatabasesQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -14697,7 +14938,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
14697
14938
|
const subscriptionId = crypto.randomUUID();
|
|
14698
14939
|
const includes = this._includes;
|
|
14699
14940
|
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) }] : []);
|
|
14700
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14941
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DatabasesDocument, "databases", includes, variables, true);
|
|
14701
14942
|
const raw = this._syncEngine.watch(
|
|
14702
14943
|
queryDoc,
|
|
14703
14944
|
mergedVars,
|
|
@@ -14732,10 +14973,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
14732
14973
|
}
|
|
14733
14974
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
14734
14975
|
engine(variables) {
|
|
14735
|
-
const info = extractIncludeInfo(
|
|
14976
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
14736
14977
|
this._includes.push({
|
|
14737
14978
|
fieldName: "engine",
|
|
14738
|
-
fragmentDoc:
|
|
14979
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DatabaseEngineFragmentDoc,
|
|
14739
14980
|
variables,
|
|
14740
14981
|
isConnection: false,
|
|
14741
14982
|
isList: false,
|
|
@@ -14751,7 +14992,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
14751
14992
|
}
|
|
14752
14993
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
14753
14994
|
tables(variables, builder) {
|
|
14754
|
-
const info = extractIncludeInfo(
|
|
14995
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
14755
14996
|
let children;
|
|
14756
14997
|
if (builder) {
|
|
14757
14998
|
const sub = new TableSubBuilder();
|
|
@@ -14760,7 +15001,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
14760
15001
|
}
|
|
14761
15002
|
this._includes.push({
|
|
14762
15003
|
fieldName: "tables",
|
|
14763
|
-
fragmentDoc:
|
|
15004
|
+
fragmentDoc: chunkZFR7CX4F_cjs.TableConnectionFragmentDoc,
|
|
14764
15005
|
variables,
|
|
14765
15006
|
isConnection: true,
|
|
14766
15007
|
isList: false,
|
|
@@ -14786,7 +15027,7 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14786
15027
|
}
|
|
14787
15028
|
async fetch(options) {
|
|
14788
15029
|
const variables = this._variables;
|
|
14789
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15030
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentDocument, "document", this._includes, variables);
|
|
14790
15031
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
|
|
14791
15032
|
const data = response.document;
|
|
14792
15033
|
const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -14798,7 +15039,7 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14798
15039
|
watch(options) {
|
|
14799
15040
|
const variables = this._variables;
|
|
14800
15041
|
const includes = this._includes;
|
|
14801
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15042
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentDocument, "document", includes, variables);
|
|
14802
15043
|
const raw = this._syncEngine.watch(
|
|
14803
15044
|
queryDoc,
|
|
14804
15045
|
mergedVars,
|
|
@@ -14828,10 +15069,10 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14828
15069
|
}
|
|
14829
15070
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
14830
15071
|
contents(variables) {
|
|
14831
|
-
const info = extractIncludeInfo(
|
|
15072
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
14832
15073
|
this._includes.push({
|
|
14833
15074
|
fieldName: "contents",
|
|
14834
|
-
fragmentDoc:
|
|
15075
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DocumentContentFragmentDoc,
|
|
14835
15076
|
variables,
|
|
14836
15077
|
isConnection: false,
|
|
14837
15078
|
isList: true,
|
|
@@ -14847,10 +15088,10 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14847
15088
|
}
|
|
14848
15089
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
14849
15090
|
file(variables) {
|
|
14850
|
-
const info = extractIncludeInfo(
|
|
15091
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_FileDocument, "file", ["id"]);
|
|
14851
15092
|
this._includes.push({
|
|
14852
15093
|
fieldName: "file",
|
|
14853
|
-
fragmentDoc:
|
|
15094
|
+
fragmentDoc: chunkZFR7CX4F_cjs.FileFragmentDoc,
|
|
14854
15095
|
variables,
|
|
14855
15096
|
isConnection: false,
|
|
14856
15097
|
isList: false,
|
|
@@ -14866,10 +15107,10 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14866
15107
|
}
|
|
14867
15108
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
14868
15109
|
format(variables) {
|
|
14869
|
-
const info = extractIncludeInfo(
|
|
15110
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_FormatDocument, "format", ["id"]);
|
|
14870
15111
|
this._includes.push({
|
|
14871
15112
|
fieldName: "format",
|
|
14872
|
-
fragmentDoc:
|
|
15113
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DocumentFormatFragmentDoc,
|
|
14873
15114
|
variables,
|
|
14874
15115
|
isConnection: false,
|
|
14875
15116
|
isList: false,
|
|
@@ -14885,7 +15126,7 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14885
15126
|
}
|
|
14886
15127
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
14887
15128
|
tables(variables, builder) {
|
|
14888
|
-
const info = extractIncludeInfo(
|
|
15129
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
14889
15130
|
let children;
|
|
14890
15131
|
if (builder) {
|
|
14891
15132
|
const sub = new TableSubBuilder();
|
|
@@ -14894,7 +15135,7 @@ var DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14894
15135
|
}
|
|
14895
15136
|
this._includes.push({
|
|
14896
15137
|
fieldName: "tables",
|
|
14897
|
-
fragmentDoc:
|
|
15138
|
+
fragmentDoc: chunkZFR7CX4F_cjs.TableConnectionFragmentDoc,
|
|
14898
15139
|
variables,
|
|
14899
15140
|
isConnection: true,
|
|
14900
15141
|
isList: false,
|
|
@@ -14918,7 +15159,7 @@ var Document_ContentsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14918
15159
|
this._variables = variables;
|
|
14919
15160
|
}
|
|
14920
15161
|
async fetch(options) {
|
|
14921
|
-
const response = await this._syncEngine.query(
|
|
15162
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Document_ContentsDocument, this._variables, "document");
|
|
14922
15163
|
const data = response.document?.contents;
|
|
14923
15164
|
if (!Array.isArray(data)) return [];
|
|
14924
15165
|
return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -14932,14 +15173,14 @@ var Document_FileQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14932
15173
|
}
|
|
14933
15174
|
async fetch(options) {
|
|
14934
15175
|
const variables = this._variables;
|
|
14935
|
-
const response = await this._syncEngine.query(
|
|
15176
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Document_FileDocument, variables, "document");
|
|
14936
15177
|
const data = response.document?.file;
|
|
14937
15178
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14938
15179
|
}
|
|
14939
15180
|
watch(options) {
|
|
14940
15181
|
const variables = this._variables;
|
|
14941
15182
|
const raw = this._syncEngine.watch(
|
|
14942
|
-
|
|
15183
|
+
chunkZFR7CX4F_cjs.Document_FileDocument,
|
|
14943
15184
|
variables,
|
|
14944
15185
|
"document",
|
|
14945
15186
|
async (db) => {
|
|
@@ -14962,14 +15203,14 @@ var Document_FormatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14962
15203
|
}
|
|
14963
15204
|
async fetch(options) {
|
|
14964
15205
|
const variables = this._variables;
|
|
14965
|
-
const response = await this._syncEngine.query(
|
|
15206
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Document_FormatDocument, variables, "document");
|
|
14966
15207
|
const data = response.document?.format;
|
|
14967
15208
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14968
15209
|
}
|
|
14969
15210
|
watch(options) {
|
|
14970
15211
|
const variables = this._variables;
|
|
14971
15212
|
const raw = this._syncEngine.watch(
|
|
14972
|
-
|
|
15213
|
+
chunkZFR7CX4F_cjs.Document_FormatDocument,
|
|
14973
15214
|
variables,
|
|
14974
15215
|
"document",
|
|
14975
15216
|
async (db) => {
|
|
@@ -14992,14 +15233,14 @@ var Document_Format_CatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
14992
15233
|
}
|
|
14993
15234
|
async fetch(options) {
|
|
14994
15235
|
const variables = this._variables;
|
|
14995
|
-
const response = await this._syncEngine.query(
|
|
15236
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Document_Format_CatalogDocument, variables, "document");
|
|
14996
15237
|
const data = response.document?.format?.catalog;
|
|
14997
15238
|
return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14998
15239
|
}
|
|
14999
15240
|
watch(options) {
|
|
15000
15241
|
const variables = this._variables;
|
|
15001
15242
|
const raw = this._syncEngine.watch(
|
|
15002
|
-
|
|
15243
|
+
chunkZFR7CX4F_cjs.Document_Format_CatalogDocument,
|
|
15003
15244
|
variables,
|
|
15004
15245
|
"document",
|
|
15005
15246
|
async (db) => {
|
|
@@ -15022,18 +15263,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk4QKWHQT2_cjs
|
|
|
15022
15263
|
}
|
|
15023
15264
|
async fetch(options) {
|
|
15024
15265
|
const variables = this._variables;
|
|
15025
|
-
const response = await this._syncEngine.query(
|
|
15266
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Document_TablesDocument, variables, "document");
|
|
15026
15267
|
const data = response.document?.tables;
|
|
15027
15268
|
return new TableConnection(this._request, (conn, opts) => new _Document_TablesQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
15028
15269
|
}
|
|
15029
15270
|
watch(options) {
|
|
15030
15271
|
const variables = this._variables;
|
|
15031
15272
|
const raw = this._syncEngine.watch(
|
|
15032
|
-
|
|
15273
|
+
chunkZFR7CX4F_cjs.Document_TablesDocument,
|
|
15033
15274
|
variables,
|
|
15034
15275
|
"document",
|
|
15035
15276
|
async (db) => {
|
|
15036
|
-
const qr = await db._queryResults.get(buildQueryKey("document", variables,
|
|
15277
|
+
const qr = await db._queryResults.get(buildQueryKey("document", variables, chunkZFR7CX4F_cjs.Document_TablesDocument));
|
|
15037
15278
|
const nodes = qr ? await db.table("tables").bulkGet(qr.entityIds) : [];
|
|
15038
15279
|
return { document: { tables: { __typename: "TableConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
15039
15280
|
}
|
|
@@ -15053,7 +15294,7 @@ var DocumentCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15053
15294
|
}
|
|
15054
15295
|
async fetch(options) {
|
|
15055
15296
|
const variables = this._variables;
|
|
15056
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15297
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
|
|
15057
15298
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
|
|
15058
15299
|
const data = response.documentCatalog;
|
|
15059
15300
|
const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15065,7 +15306,7 @@ var DocumentCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15065
15306
|
watch(options) {
|
|
15066
15307
|
const variables = this._variables;
|
|
15067
15308
|
const includes = this._includes;
|
|
15068
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15309
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
|
|
15069
15310
|
const raw = this._syncEngine.watch(
|
|
15070
15311
|
queryDoc,
|
|
15071
15312
|
mergedVars,
|
|
@@ -15095,10 +15336,10 @@ var DocumentCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15095
15336
|
}
|
|
15096
15337
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
15097
15338
|
format(variables) {
|
|
15098
|
-
const info = extractIncludeInfo(
|
|
15339
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
15099
15340
|
this._includes.push({
|
|
15100
15341
|
fieldName: "format",
|
|
15101
|
-
fragmentDoc:
|
|
15342
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DocumentFormatFragmentDoc,
|
|
15102
15343
|
variables,
|
|
15103
15344
|
isConnection: false,
|
|
15104
15345
|
isList: false,
|
|
@@ -15121,14 +15362,14 @@ var DocumentCatalog_FormatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15121
15362
|
}
|
|
15122
15363
|
async fetch(options) {
|
|
15123
15364
|
const variables = this._variables;
|
|
15124
|
-
const response = await this._syncEngine.query(
|
|
15365
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
|
|
15125
15366
|
const data = response.documentCatalog?.format;
|
|
15126
15367
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15127
15368
|
}
|
|
15128
15369
|
watch(options) {
|
|
15129
15370
|
const variables = this._variables;
|
|
15130
15371
|
const raw = this._syncEngine.watch(
|
|
15131
|
-
|
|
15372
|
+
chunkZFR7CX4F_cjs.DocumentCatalog_FormatDocument,
|
|
15132
15373
|
variables,
|
|
15133
15374
|
"documentCatalog",
|
|
15134
15375
|
async (db) => {
|
|
@@ -15152,7 +15393,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk4QKWHQT2_c
|
|
|
15152
15393
|
}
|
|
15153
15394
|
async fetch(options) {
|
|
15154
15395
|
const variables = this._variables;
|
|
15155
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15396
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
|
|
15156
15397
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
|
|
15157
15398
|
const data = response.documentCatalogs;
|
|
15158
15399
|
const connection = new DocumentCatalogConnection(this._request, (conn, opts) => new _DocumentCatalogsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -15169,7 +15410,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk4QKWHQT2_c
|
|
|
15169
15410
|
const subscriptionId = crypto.randomUUID();
|
|
15170
15411
|
const includes = this._includes;
|
|
15171
15412
|
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) }] : []);
|
|
15172
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15413
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
|
|
15173
15414
|
const raw = this._syncEngine.watch(
|
|
15174
15415
|
queryDoc,
|
|
15175
15416
|
mergedVars,
|
|
@@ -15204,10 +15445,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk4QKWHQT2_c
|
|
|
15204
15445
|
}
|
|
15205
15446
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
15206
15447
|
format(variables) {
|
|
15207
|
-
const info = extractIncludeInfo(
|
|
15448
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
15208
15449
|
this._includes.push({
|
|
15209
15450
|
fieldName: "format",
|
|
15210
|
-
fragmentDoc:
|
|
15451
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DocumentFormatFragmentDoc,
|
|
15211
15452
|
variables,
|
|
15212
15453
|
isConnection: false,
|
|
15213
15454
|
isList: false,
|
|
@@ -15231,7 +15472,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
15231
15472
|
}
|
|
15232
15473
|
async fetch(options) {
|
|
15233
15474
|
const variables = this._variables;
|
|
15234
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15475
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentsDocument, "documents", this._includes, variables, true);
|
|
15235
15476
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
|
|
15236
15477
|
const data = response.documents;
|
|
15237
15478
|
const connection = new DocumentConnection(this._request, (conn, opts) => new _DocumentsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -15248,7 +15489,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
15248
15489
|
const subscriptionId = crypto.randomUUID();
|
|
15249
15490
|
const includes = this._includes;
|
|
15250
15491
|
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) }] : []);
|
|
15251
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15492
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.DocumentsDocument, "documents", includes, variables, true);
|
|
15252
15493
|
const raw = this._syncEngine.watch(
|
|
15253
15494
|
queryDoc,
|
|
15254
15495
|
mergedVars,
|
|
@@ -15283,10 +15524,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
15283
15524
|
}
|
|
15284
15525
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
15285
15526
|
contents(variables) {
|
|
15286
|
-
const info = extractIncludeInfo(
|
|
15527
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
15287
15528
|
this._includes.push({
|
|
15288
15529
|
fieldName: "contents",
|
|
15289
|
-
fragmentDoc:
|
|
15530
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DocumentContentFragmentDoc,
|
|
15290
15531
|
variables,
|
|
15291
15532
|
isConnection: false,
|
|
15292
15533
|
isList: true,
|
|
@@ -15302,10 +15543,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
15302
15543
|
}
|
|
15303
15544
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
15304
15545
|
file(variables) {
|
|
15305
|
-
const info = extractIncludeInfo(
|
|
15546
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_FileDocument, "file", ["id"]);
|
|
15306
15547
|
this._includes.push({
|
|
15307
15548
|
fieldName: "file",
|
|
15308
|
-
fragmentDoc:
|
|
15549
|
+
fragmentDoc: chunkZFR7CX4F_cjs.FileFragmentDoc,
|
|
15309
15550
|
variables,
|
|
15310
15551
|
isConnection: false,
|
|
15311
15552
|
isList: false,
|
|
@@ -15321,10 +15562,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
15321
15562
|
}
|
|
15322
15563
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
15323
15564
|
format(variables) {
|
|
15324
|
-
const info = extractIncludeInfo(
|
|
15565
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_FormatDocument, "format", ["id"]);
|
|
15325
15566
|
this._includes.push({
|
|
15326
15567
|
fieldName: "format",
|
|
15327
|
-
fragmentDoc:
|
|
15568
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DocumentFormatFragmentDoc,
|
|
15328
15569
|
variables,
|
|
15329
15570
|
isConnection: false,
|
|
15330
15571
|
isList: false,
|
|
@@ -15340,7 +15581,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
15340
15581
|
}
|
|
15341
15582
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
15342
15583
|
tables(variables, builder) {
|
|
15343
|
-
const info = extractIncludeInfo(
|
|
15584
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
15344
15585
|
let children;
|
|
15345
15586
|
if (builder) {
|
|
15346
15587
|
const sub = new TableSubBuilder();
|
|
@@ -15349,7 +15590,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
15349
15590
|
}
|
|
15350
15591
|
this._includes.push({
|
|
15351
15592
|
fieldName: "tables",
|
|
15352
|
-
fragmentDoc:
|
|
15593
|
+
fragmentDoc: chunkZFR7CX4F_cjs.TableConnectionFragmentDoc,
|
|
15353
15594
|
variables,
|
|
15354
15595
|
isConnection: true,
|
|
15355
15596
|
isList: false,
|
|
@@ -15368,19 +15609,19 @@ var DocumentsQuery = class _DocumentsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
15368
15609
|
};
|
|
15369
15610
|
var ExportQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
15370
15611
|
async fetch(variables) {
|
|
15371
|
-
const response = await this._request(
|
|
15612
|
+
const response = await this._request(chunkZFR7CX4F_cjs.ExportDocument, variables);
|
|
15372
15613
|
return response.export;
|
|
15373
15614
|
}
|
|
15374
15615
|
};
|
|
15375
15616
|
var ExportWithInsightIdQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
15376
15617
|
async fetch(variables) {
|
|
15377
|
-
const response = await this._request(
|
|
15618
|
+
const response = await this._request(chunkZFR7CX4F_cjs.ExportWithInsightIdDocument, variables);
|
|
15378
15619
|
return response.exportWithInsightId;
|
|
15379
15620
|
}
|
|
15380
15621
|
};
|
|
15381
15622
|
var FileQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
15382
15623
|
async fetch(variables) {
|
|
15383
|
-
const response = await this._request(
|
|
15624
|
+
const response = await this._request(chunkZFR7CX4F_cjs.FileDocument, variables);
|
|
15384
15625
|
return response.file;
|
|
15385
15626
|
}
|
|
15386
15627
|
};
|
|
@@ -15393,7 +15634,7 @@ var FileMetaQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15393
15634
|
}
|
|
15394
15635
|
async fetch(options) {
|
|
15395
15636
|
const variables = this._variables;
|
|
15396
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15637
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
|
|
15397
15638
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
|
|
15398
15639
|
const data = response.fileMeta;
|
|
15399
15640
|
if (!data) return void 0;
|
|
@@ -15406,7 +15647,7 @@ var FileMetaQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15406
15647
|
watch(options) {
|
|
15407
15648
|
const variables = this._variables;
|
|
15408
15649
|
const includes = this._includes;
|
|
15409
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15650
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.FileMetaDocument, "fileMeta", includes, variables);
|
|
15410
15651
|
const raw = this._syncEngine.watch(
|
|
15411
15652
|
queryDoc,
|
|
15412
15653
|
mergedVars,
|
|
@@ -15444,7 +15685,7 @@ var FileUrlsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15444
15685
|
this._variables = variables;
|
|
15445
15686
|
}
|
|
15446
15687
|
async fetch(options) {
|
|
15447
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15688
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
|
|
15448
15689
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
|
|
15449
15690
|
const data = response.fileUrls;
|
|
15450
15691
|
if (!Array.isArray(data)) return [];
|
|
@@ -15453,7 +15694,7 @@ var FileUrlsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15453
15694
|
};
|
|
15454
15695
|
var FindFitTierQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
15455
15696
|
async fetch(variables) {
|
|
15456
|
-
const response = await this._request(
|
|
15697
|
+
const response = await this._request(chunkZFR7CX4F_cjs.FindFitTierDocument, variables);
|
|
15457
15698
|
return response.findFitTier ?? void 0;
|
|
15458
15699
|
}
|
|
15459
15700
|
};
|
|
@@ -15466,7 +15707,7 @@ var FolderQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15466
15707
|
}
|
|
15467
15708
|
async fetch(options) {
|
|
15468
15709
|
const variables = this._variables;
|
|
15469
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15710
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.FolderDocument, "folder", this._includes, variables);
|
|
15470
15711
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
|
|
15471
15712
|
const data = response.folder;
|
|
15472
15713
|
const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15478,7 +15719,7 @@ var FolderQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15478
15719
|
watch(options) {
|
|
15479
15720
|
const variables = this._variables;
|
|
15480
15721
|
const includes = this._includes;
|
|
15481
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15722
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.FolderDocument, "folder", includes, variables);
|
|
15482
15723
|
const raw = this._syncEngine.watch(
|
|
15483
15724
|
queryDoc,
|
|
15484
15725
|
mergedVars,
|
|
@@ -15516,7 +15757,7 @@ var FoldersQuery = class _FoldersQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
15516
15757
|
}
|
|
15517
15758
|
async fetch(options) {
|
|
15518
15759
|
const variables = this._variables;
|
|
15519
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15760
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.FoldersDocument, "folders", this._includes, variables, true);
|
|
15520
15761
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
|
|
15521
15762
|
const data = response.folders;
|
|
15522
15763
|
const connection = new FolderConnection(this._request, (conn, opts) => new _FoldersQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -15533,7 +15774,7 @@ var FoldersQuery = class _FoldersQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
15533
15774
|
const subscriptionId = crypto.randomUUID();
|
|
15534
15775
|
const includes = this._includes;
|
|
15535
15776
|
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) }] : []);
|
|
15536
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15777
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.FoldersDocument, "folders", includes, variables, true);
|
|
15537
15778
|
const raw = this._syncEngine.watch(
|
|
15538
15779
|
queryDoc,
|
|
15539
15780
|
mergedVars,
|
|
@@ -15569,7 +15810,7 @@ var FoldersQuery = class _FoldersQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
15569
15810
|
};
|
|
15570
15811
|
var GetCapabilityQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
15571
15812
|
async fetch(variables) {
|
|
15572
|
-
const response = await this._request(
|
|
15813
|
+
const response = await this._request(chunkZFR7CX4F_cjs.GetCapabilityDocument, variables);
|
|
15573
15814
|
return response.getCapability;
|
|
15574
15815
|
}
|
|
15575
15816
|
};
|
|
@@ -15582,7 +15823,7 @@ var GetDevAccessTokenQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15582
15823
|
}
|
|
15583
15824
|
async fetch(options) {
|
|
15584
15825
|
const variables = this._variables;
|
|
15585
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15826
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
|
|
15586
15827
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
|
|
15587
15828
|
const data = response.getDevAccessToken;
|
|
15588
15829
|
const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15594,7 +15835,7 @@ var GetDevAccessTokenQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15594
15835
|
watch(options) {
|
|
15595
15836
|
const variables = this._variables;
|
|
15596
15837
|
const includes = this._includes;
|
|
15597
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15838
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
|
|
15598
15839
|
const raw = this._syncEngine.watch(
|
|
15599
15840
|
queryDoc,
|
|
15600
15841
|
mergedVars,
|
|
@@ -15625,13 +15866,13 @@ var GetDevAccessTokenQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15625
15866
|
};
|
|
15626
15867
|
var GetLimitQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
15627
15868
|
async fetch(variables) {
|
|
15628
|
-
const response = await this._request(
|
|
15869
|
+
const response = await this._request(chunkZFR7CX4F_cjs.GetLimitDocument, variables);
|
|
15629
15870
|
return response.getLimit ?? void 0;
|
|
15630
15871
|
}
|
|
15631
15872
|
};
|
|
15632
15873
|
var GetRemainingQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
15633
15874
|
async fetch(variables) {
|
|
15634
|
-
const response = await this._request(
|
|
15875
|
+
const response = await this._request(chunkZFR7CX4F_cjs.GetRemainingDocument, variables);
|
|
15635
15876
|
return response.getRemaining ?? void 0;
|
|
15636
15877
|
}
|
|
15637
15878
|
};
|
|
@@ -15643,7 +15884,7 @@ var GetTokenUsageByModelQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15643
15884
|
this._variables = variables;
|
|
15644
15885
|
}
|
|
15645
15886
|
async fetch(options) {
|
|
15646
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15887
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
|
|
15647
15888
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
|
|
15648
15889
|
const data = response.getTokenUsageByModel;
|
|
15649
15890
|
if (!Array.isArray(data)) return [];
|
|
@@ -15658,7 +15899,7 @@ var GetTokenUsageHistoryQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15658
15899
|
this._variables = variables;
|
|
15659
15900
|
}
|
|
15660
15901
|
async fetch(options) {
|
|
15661
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15902
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
|
|
15662
15903
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
|
|
15663
15904
|
const data = response.getTokenUsageHistory;
|
|
15664
15905
|
if (!Array.isArray(data)) return [];
|
|
@@ -15674,7 +15915,7 @@ var GetTokenUsageStatusQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15674
15915
|
}
|
|
15675
15916
|
async fetch(options) {
|
|
15676
15917
|
const variables = this._variables;
|
|
15677
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15918
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
|
|
15678
15919
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
|
|
15679
15920
|
const data = response.getTokenUsageStatus;
|
|
15680
15921
|
const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15686,7 +15927,7 @@ var GetTokenUsageStatusQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15686
15927
|
watch(options) {
|
|
15687
15928
|
const variables = this._variables;
|
|
15688
15929
|
const includes = this._includes;
|
|
15689
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15930
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
|
|
15690
15931
|
const raw = this._syncEngine.watch(
|
|
15691
15932
|
queryDoc,
|
|
15692
15933
|
mergedVars,
|
|
@@ -15716,10 +15957,10 @@ var GetTokenUsageStatusQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15716
15957
|
}
|
|
15717
15958
|
/** Include windows in this query (Smart Fetch — single HTTP request). */
|
|
15718
15959
|
windows(variables) {
|
|
15719
|
-
const info = extractIncludeInfo(
|
|
15960
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
|
|
15720
15961
|
this._includes.push({
|
|
15721
15962
|
fieldName: "windows",
|
|
15722
|
-
fragmentDoc:
|
|
15963
|
+
fragmentDoc: chunkZFR7CX4F_cjs.UsageWindowsStatusTypeFragmentDoc,
|
|
15723
15964
|
variables,
|
|
15724
15965
|
isConnection: false,
|
|
15725
15966
|
isList: false,
|
|
@@ -15742,14 +15983,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15742
15983
|
}
|
|
15743
15984
|
async fetch(options) {
|
|
15744
15985
|
const variables = this._variables;
|
|
15745
|
-
const response = await this._syncEngine.query(
|
|
15986
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
|
|
15746
15987
|
const data = response.getTokenUsageStatus?.windows;
|
|
15747
15988
|
return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15748
15989
|
}
|
|
15749
15990
|
watch(options) {
|
|
15750
15991
|
const variables = this._variables;
|
|
15751
15992
|
const raw = this._syncEngine.watch(
|
|
15752
|
-
|
|
15993
|
+
chunkZFR7CX4F_cjs.GetTokenUsageStatus_WindowsDocument,
|
|
15753
15994
|
variables,
|
|
15754
15995
|
"getTokenUsageStatus",
|
|
15755
15996
|
async (db) => {
|
|
@@ -15772,14 +16013,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk4QKWHQT2_cjs.Reque
|
|
|
15772
16013
|
}
|
|
15773
16014
|
async fetch(options) {
|
|
15774
16015
|
const variables = this._variables;
|
|
15775
|
-
const response = await this._syncEngine.query(
|
|
16016
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
|
|
15776
16017
|
const data = response.getTokenUsageStatus?.windows?.day;
|
|
15777
16018
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15778
16019
|
}
|
|
15779
16020
|
watch(options) {
|
|
15780
16021
|
const variables = this._variables;
|
|
15781
16022
|
const raw = this._syncEngine.watch(
|
|
15782
|
-
|
|
16023
|
+
chunkZFR7CX4F_cjs.GetTokenUsageStatus_Windows_DayDocument,
|
|
15783
16024
|
variables,
|
|
15784
16025
|
"getTokenUsageStatus",
|
|
15785
16026
|
async (db) => {
|
|
@@ -15802,14 +16043,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk4QKWHQT2_cjs.
|
|
|
15802
16043
|
}
|
|
15803
16044
|
async fetch(options) {
|
|
15804
16045
|
const variables = this._variables;
|
|
15805
|
-
const response = await this._syncEngine.query(
|
|
16046
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
|
|
15806
16047
|
const data = response.getTokenUsageStatus?.windows?.fiveHour;
|
|
15807
16048
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15808
16049
|
}
|
|
15809
16050
|
watch(options) {
|
|
15810
16051
|
const variables = this._variables;
|
|
15811
16052
|
const raw = this._syncEngine.watch(
|
|
15812
|
-
|
|
16053
|
+
chunkZFR7CX4F_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
|
|
15813
16054
|
variables,
|
|
15814
16055
|
"getTokenUsageStatus",
|
|
15815
16056
|
async (db) => {
|
|
@@ -15832,14 +16073,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk4QKWHQT2_cjs.Requ
|
|
|
15832
16073
|
}
|
|
15833
16074
|
async fetch(options) {
|
|
15834
16075
|
const variables = this._variables;
|
|
15835
|
-
const response = await this._syncEngine.query(
|
|
16076
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
|
|
15836
16077
|
const data = response.getTokenUsageStatus?.windows?.week;
|
|
15837
16078
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15838
16079
|
}
|
|
15839
16080
|
watch(options) {
|
|
15840
16081
|
const variables = this._variables;
|
|
15841
16082
|
const raw = this._syncEngine.watch(
|
|
15842
|
-
|
|
16083
|
+
chunkZFR7CX4F_cjs.GetTokenUsageStatus_Windows_WeekDocument,
|
|
15843
16084
|
variables,
|
|
15844
16085
|
"getTokenUsageStatus",
|
|
15845
16086
|
async (db) => {
|
|
@@ -15856,7 +16097,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk4QKWHQT2_cjs.Requ
|
|
|
15856
16097
|
};
|
|
15857
16098
|
var GetUsageQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
15858
16099
|
async fetch(variables) {
|
|
15859
|
-
const response = await this._request(
|
|
16100
|
+
const response = await this._request(chunkZFR7CX4F_cjs.GetUsageDocument, variables);
|
|
15860
16101
|
return response.getUsage ?? void 0;
|
|
15861
16102
|
}
|
|
15862
16103
|
};
|
|
@@ -15869,7 +16110,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15869
16110
|
}
|
|
15870
16111
|
async fetch(options) {
|
|
15871
16112
|
const variables = this._variables;
|
|
15872
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16113
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.InsightDocument, "insight", this._includes, variables);
|
|
15873
16114
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
|
|
15874
16115
|
const data = response.insight;
|
|
15875
16116
|
const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15881,7 +16122,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15881
16122
|
watch(options) {
|
|
15882
16123
|
const variables = this._variables;
|
|
15883
16124
|
const includes = this._includes;
|
|
15884
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16125
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.InsightDocument, "insight", includes, variables);
|
|
15885
16126
|
const raw = this._syncEngine.watch(
|
|
15886
16127
|
queryDoc,
|
|
15887
16128
|
mergedVars,
|
|
@@ -15911,7 +16152,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15911
16152
|
}
|
|
15912
16153
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15913
16154
|
chat(variables, builder) {
|
|
15914
|
-
const info = extractIncludeInfo(
|
|
16155
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
15915
16156
|
let children;
|
|
15916
16157
|
if (builder) {
|
|
15917
16158
|
const sub = new ChatSubBuilder();
|
|
@@ -15920,7 +16161,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15920
16161
|
}
|
|
15921
16162
|
this._includes.push({
|
|
15922
16163
|
fieldName: "chat",
|
|
15923
|
-
fragmentDoc:
|
|
16164
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
|
|
15924
16165
|
variables,
|
|
15925
16166
|
isConnection: false,
|
|
15926
16167
|
isList: false,
|
|
@@ -15937,10 +16178,10 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15937
16178
|
}
|
|
15938
16179
|
/** Include reportMembers in this query (Smart Fetch — single HTTP request). */
|
|
15939
16180
|
reportMembers(variables) {
|
|
15940
|
-
const info = extractIncludeInfo(
|
|
16181
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
15941
16182
|
this._includes.push({
|
|
15942
16183
|
fieldName: "reportMembers",
|
|
15943
|
-
fragmentDoc:
|
|
16184
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ReportMemberFragmentDoc,
|
|
15944
16185
|
variables,
|
|
15945
16186
|
isConnection: false,
|
|
15946
16187
|
isList: true,
|
|
@@ -15956,7 +16197,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15956
16197
|
}
|
|
15957
16198
|
/** Include reports in this query (Smart Fetch — single HTTP request). */
|
|
15958
16199
|
reports(variables, builder) {
|
|
15959
|
-
const info = extractIncludeInfo(
|
|
16200
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
15960
16201
|
let children;
|
|
15961
16202
|
if (builder) {
|
|
15962
16203
|
const sub = new ReportSubBuilder();
|
|
@@ -15965,7 +16206,7 @@ var InsightQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15965
16206
|
}
|
|
15966
16207
|
this._includes.push({
|
|
15967
16208
|
fieldName: "reports",
|
|
15968
|
-
fragmentDoc:
|
|
16209
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ReportConnectionFragmentDoc,
|
|
15969
16210
|
variables,
|
|
15970
16211
|
isConnection: true,
|
|
15971
16212
|
isList: false,
|
|
@@ -15990,14 +16231,14 @@ var Insight_ChatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
15990
16231
|
}
|
|
15991
16232
|
async fetch(options) {
|
|
15992
16233
|
const variables = this._variables;
|
|
15993
|
-
const response = await this._syncEngine.query(
|
|
16234
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Insight_ChatDocument, variables, "insight");
|
|
15994
16235
|
const data = response.insight?.chat;
|
|
15995
16236
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15996
16237
|
}
|
|
15997
16238
|
watch(options) {
|
|
15998
16239
|
const variables = this._variables;
|
|
15999
16240
|
const raw = this._syncEngine.watch(
|
|
16000
|
-
|
|
16241
|
+
chunkZFR7CX4F_cjs.Insight_ChatDocument,
|
|
16001
16242
|
variables,
|
|
16002
16243
|
"insight",
|
|
16003
16244
|
async (db) => {
|
|
@@ -16019,7 +16260,7 @@ var Insight_ReportMembersQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16019
16260
|
this._variables = variables;
|
|
16020
16261
|
}
|
|
16021
16262
|
async fetch(options) {
|
|
16022
|
-
const response = await this._syncEngine.query(
|
|
16263
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Insight_ReportMembersDocument, this._variables, "insight");
|
|
16023
16264
|
const data = response.insight?.reportMembers;
|
|
16024
16265
|
if (!Array.isArray(data)) return [];
|
|
16025
16266
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -16033,18 +16274,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk4QKWHQT2_cjs
|
|
|
16033
16274
|
}
|
|
16034
16275
|
async fetch(options) {
|
|
16035
16276
|
const variables = this._variables;
|
|
16036
|
-
const response = await this._syncEngine.query(
|
|
16277
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Insight_ReportsDocument, variables, "insight");
|
|
16037
16278
|
const data = response.insight?.reports;
|
|
16038
16279
|
return new ReportConnection(this._request, (conn, opts) => new _Insight_ReportsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
16039
16280
|
}
|
|
16040
16281
|
watch(options) {
|
|
16041
16282
|
const variables = this._variables;
|
|
16042
16283
|
const raw = this._syncEngine.watch(
|
|
16043
|
-
|
|
16284
|
+
chunkZFR7CX4F_cjs.Insight_ReportsDocument,
|
|
16044
16285
|
variables,
|
|
16045
16286
|
"insight",
|
|
16046
16287
|
async (db) => {
|
|
16047
|
-
const qr = await db._queryResults.get(buildQueryKey("insight", variables,
|
|
16288
|
+
const qr = await db._queryResults.get(buildQueryKey("insight", variables, chunkZFR7CX4F_cjs.Insight_ReportsDocument));
|
|
16048
16289
|
const nodes = qr ? await db.table("reports").bulkGet(qr.entityIds) : [];
|
|
16049
16290
|
return { insight: { reports: { __typename: "ReportConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
16050
16291
|
}
|
|
@@ -16064,7 +16305,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
16064
16305
|
}
|
|
16065
16306
|
async fetch(options) {
|
|
16066
16307
|
const variables = this._variables;
|
|
16067
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16308
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.InsightsDocument, "insights", this._includes, variables, true);
|
|
16068
16309
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
|
|
16069
16310
|
const data = response.insights;
|
|
16070
16311
|
const connection = new InsightConnection(this._request, (conn, opts) => new _InsightsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -16081,7 +16322,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
16081
16322
|
const subscriptionId = crypto.randomUUID();
|
|
16082
16323
|
const includes = this._includes;
|
|
16083
16324
|
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) }] : []);
|
|
16084
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16325
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.InsightsDocument, "insights", includes, variables, true);
|
|
16085
16326
|
const raw = this._syncEngine.watch(
|
|
16086
16327
|
queryDoc,
|
|
16087
16328
|
mergedVars,
|
|
@@ -16116,7 +16357,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
16116
16357
|
}
|
|
16117
16358
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
16118
16359
|
chat(variables, builder) {
|
|
16119
|
-
const info = extractIncludeInfo(
|
|
16360
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
16120
16361
|
let children;
|
|
16121
16362
|
if (builder) {
|
|
16122
16363
|
const sub = new ChatSubBuilder();
|
|
@@ -16125,7 +16366,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
16125
16366
|
}
|
|
16126
16367
|
this._includes.push({
|
|
16127
16368
|
fieldName: "chat",
|
|
16128
|
-
fragmentDoc:
|
|
16369
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ChatFragmentDoc,
|
|
16129
16370
|
variables,
|
|
16130
16371
|
isConnection: false,
|
|
16131
16372
|
isList: false,
|
|
@@ -16142,10 +16383,10 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
16142
16383
|
}
|
|
16143
16384
|
/** Include reportMembers in this query (Smart Fetch — single HTTP request). */
|
|
16144
16385
|
reportMembers(variables) {
|
|
16145
|
-
const info = extractIncludeInfo(
|
|
16386
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
16146
16387
|
this._includes.push({
|
|
16147
16388
|
fieldName: "reportMembers",
|
|
16148
|
-
fragmentDoc:
|
|
16389
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ReportMemberFragmentDoc,
|
|
16149
16390
|
variables,
|
|
16150
16391
|
isConnection: false,
|
|
16151
16392
|
isList: true,
|
|
@@ -16161,7 +16402,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
16161
16402
|
}
|
|
16162
16403
|
/** Include reports in this query (Smart Fetch — single HTTP request). */
|
|
16163
16404
|
reports(variables, builder) {
|
|
16164
|
-
const info = extractIncludeInfo(
|
|
16405
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
16165
16406
|
let children;
|
|
16166
16407
|
if (builder) {
|
|
16167
16408
|
const sub = new ReportSubBuilder();
|
|
@@ -16170,7 +16411,7 @@ var InsightsQuery = class _InsightsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
16170
16411
|
}
|
|
16171
16412
|
this._includes.push({
|
|
16172
16413
|
fieldName: "reports",
|
|
16173
|
-
fragmentDoc:
|
|
16414
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ReportConnectionFragmentDoc,
|
|
16174
16415
|
variables,
|
|
16175
16416
|
isConnection: true,
|
|
16176
16417
|
isList: false,
|
|
@@ -16196,7 +16437,7 @@ var IntegrationQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16196
16437
|
}
|
|
16197
16438
|
async fetch(options) {
|
|
16198
16439
|
const variables = this._variables;
|
|
16199
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16440
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationDocument, "integration", this._includes, variables);
|
|
16200
16441
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
|
|
16201
16442
|
const data = response.integration;
|
|
16202
16443
|
const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16208,7 +16449,7 @@ var IntegrationQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16208
16449
|
watch(options) {
|
|
16209
16450
|
const variables = this._variables;
|
|
16210
16451
|
const includes = this._includes;
|
|
16211
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16452
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationDocument, "integration", includes, variables);
|
|
16212
16453
|
const raw = this._syncEngine.watch(
|
|
16213
16454
|
queryDoc,
|
|
16214
16455
|
mergedVars,
|
|
@@ -16238,10 +16479,10 @@ var IntegrationQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16238
16479
|
}
|
|
16239
16480
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
16240
16481
|
provider(variables) {
|
|
16241
|
-
const info = extractIncludeInfo(
|
|
16482
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
16242
16483
|
this._includes.push({
|
|
16243
16484
|
fieldName: "provider",
|
|
16244
|
-
fragmentDoc:
|
|
16485
|
+
fragmentDoc: chunkZFR7CX4F_cjs.IntegrationProviderFragmentDoc,
|
|
16245
16486
|
variables,
|
|
16246
16487
|
isConnection: false,
|
|
16247
16488
|
isList: false,
|
|
@@ -16264,14 +16505,14 @@ var Integration_ProviderQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16264
16505
|
}
|
|
16265
16506
|
async fetch(options) {
|
|
16266
16507
|
const variables = this._variables;
|
|
16267
|
-
const response = await this._syncEngine.query(
|
|
16508
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Integration_ProviderDocument, variables, "integration");
|
|
16268
16509
|
const data = response.integration?.provider;
|
|
16269
16510
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16270
16511
|
}
|
|
16271
16512
|
watch(options) {
|
|
16272
16513
|
const variables = this._variables;
|
|
16273
16514
|
const raw = this._syncEngine.watch(
|
|
16274
|
-
|
|
16515
|
+
chunkZFR7CX4F_cjs.Integration_ProviderDocument,
|
|
16275
16516
|
variables,
|
|
16276
16517
|
"integration",
|
|
16277
16518
|
async (db) => {
|
|
@@ -16294,14 +16535,14 @@ var Integration_Provider_CatalogQuery = class extends chunk4QKWHQT2_cjs.Request
|
|
|
16294
16535
|
}
|
|
16295
16536
|
async fetch(options) {
|
|
16296
16537
|
const variables = this._variables;
|
|
16297
|
-
const response = await this._syncEngine.query(
|
|
16538
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Integration_Provider_CatalogDocument, variables, "integration");
|
|
16298
16539
|
const data = response.integration?.provider?.catalog;
|
|
16299
16540
|
return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16300
16541
|
}
|
|
16301
16542
|
watch(options) {
|
|
16302
16543
|
const variables = this._variables;
|
|
16303
16544
|
const raw = this._syncEngine.watch(
|
|
16304
|
-
|
|
16545
|
+
chunkZFR7CX4F_cjs.Integration_Provider_CatalogDocument,
|
|
16305
16546
|
variables,
|
|
16306
16547
|
"integration",
|
|
16307
16548
|
async (db) => {
|
|
@@ -16325,7 +16566,7 @@ var IntegrationCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16325
16566
|
}
|
|
16326
16567
|
async fetch(options) {
|
|
16327
16568
|
const variables = this._variables;
|
|
16328
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16569
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
|
|
16329
16570
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
|
|
16330
16571
|
const data = response.integrationCatalog;
|
|
16331
16572
|
const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16337,7 +16578,7 @@ var IntegrationCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16337
16578
|
watch(options) {
|
|
16338
16579
|
const variables = this._variables;
|
|
16339
16580
|
const includes = this._includes;
|
|
16340
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16581
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
|
|
16341
16582
|
const raw = this._syncEngine.watch(
|
|
16342
16583
|
queryDoc,
|
|
16343
16584
|
mergedVars,
|
|
@@ -16367,10 +16608,10 @@ var IntegrationCatalogQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16367
16608
|
}
|
|
16368
16609
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
16369
16610
|
provider(variables) {
|
|
16370
|
-
const info = extractIncludeInfo(
|
|
16611
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
16371
16612
|
this._includes.push({
|
|
16372
16613
|
fieldName: "provider",
|
|
16373
|
-
fragmentDoc:
|
|
16614
|
+
fragmentDoc: chunkZFR7CX4F_cjs.IntegrationProviderFragmentDoc,
|
|
16374
16615
|
variables,
|
|
16375
16616
|
isConnection: false,
|
|
16376
16617
|
isList: false,
|
|
@@ -16393,14 +16634,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16393
16634
|
}
|
|
16394
16635
|
async fetch(options) {
|
|
16395
16636
|
const variables = this._variables;
|
|
16396
|
-
const response = await this._syncEngine.query(
|
|
16637
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
|
|
16397
16638
|
const data = response.integrationCatalog?.provider;
|
|
16398
16639
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16399
16640
|
}
|
|
16400
16641
|
watch(options) {
|
|
16401
16642
|
const variables = this._variables;
|
|
16402
16643
|
const raw = this._syncEngine.watch(
|
|
16403
|
-
|
|
16644
|
+
chunkZFR7CX4F_cjs.IntegrationCatalog_ProviderDocument,
|
|
16404
16645
|
variables,
|
|
16405
16646
|
"integrationCatalog",
|
|
16406
16647
|
async (db) => {
|
|
@@ -16417,7 +16658,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16417
16658
|
};
|
|
16418
16659
|
var IntegrationCatalogToolsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
16419
16660
|
async fetch(variables) {
|
|
16420
|
-
const response = await this._request(
|
|
16661
|
+
const response = await this._request(chunkZFR7CX4F_cjs.IntegrationCatalogToolsDocument, variables);
|
|
16421
16662
|
return response.integrationCatalogTools;
|
|
16422
16663
|
}
|
|
16423
16664
|
};
|
|
@@ -16430,7 +16671,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk4QKW
|
|
|
16430
16671
|
}
|
|
16431
16672
|
async fetch(options) {
|
|
16432
16673
|
const variables = this._variables;
|
|
16433
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16674
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
|
|
16434
16675
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
|
|
16435
16676
|
const data = response.integrationCatalogs;
|
|
16436
16677
|
const connection = new IntegrationCatalogConnection(this._request, (conn, opts) => new _IntegrationCatalogsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -16447,7 +16688,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk4QKW
|
|
|
16447
16688
|
const subscriptionId = crypto.randomUUID();
|
|
16448
16689
|
const includes = this._includes;
|
|
16449
16690
|
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(
|
|
16691
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
|
|
16451
16692
|
const raw = this._syncEngine.watch(
|
|
16452
16693
|
queryDoc,
|
|
16453
16694
|
mergedVars,
|
|
@@ -16482,10 +16723,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk4QKW
|
|
|
16482
16723
|
}
|
|
16483
16724
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
16484
16725
|
provider(variables) {
|
|
16485
|
-
const info = extractIncludeInfo(
|
|
16726
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
16486
16727
|
this._includes.push({
|
|
16487
16728
|
fieldName: "provider",
|
|
16488
|
-
fragmentDoc:
|
|
16729
|
+
fragmentDoc: chunkZFR7CX4F_cjs.IntegrationProviderFragmentDoc,
|
|
16489
16730
|
variables,
|
|
16490
16731
|
isConnection: false,
|
|
16491
16732
|
isList: false,
|
|
@@ -16509,7 +16750,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk4QKWHQT2_cjs.Reque
|
|
|
16509
16750
|
}
|
|
16510
16751
|
async fetch(options) {
|
|
16511
16752
|
const variables = this._variables;
|
|
16512
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16753
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
|
|
16513
16754
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
|
|
16514
16755
|
const data = response.integrations;
|
|
16515
16756
|
const connection = new IntegrationConnection(this._request, (conn, opts) => new _IntegrationsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -16526,7 +16767,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk4QKWHQT2_cjs.Reque
|
|
|
16526
16767
|
const subscriptionId = crypto.randomUUID();
|
|
16527
16768
|
const includes = this._includes;
|
|
16528
16769
|
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) }] : []);
|
|
16529
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16770
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.IntegrationsDocument, "integrations", includes, variables, true);
|
|
16530
16771
|
const raw = this._syncEngine.watch(
|
|
16531
16772
|
queryDoc,
|
|
16532
16773
|
mergedVars,
|
|
@@ -16561,10 +16802,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk4QKWHQT2_cjs.Reque
|
|
|
16561
16802
|
}
|
|
16562
16803
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
16563
16804
|
provider(variables) {
|
|
16564
|
-
const info = extractIncludeInfo(
|
|
16805
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
16565
16806
|
this._includes.push({
|
|
16566
16807
|
fieldName: "provider",
|
|
16567
|
-
fragmentDoc:
|
|
16808
|
+
fragmentDoc: chunkZFR7CX4F_cjs.IntegrationProviderFragmentDoc,
|
|
16568
16809
|
variables,
|
|
16569
16810
|
isConnection: false,
|
|
16570
16811
|
isList: false,
|
|
@@ -16588,7 +16829,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk4QKWHQT2_cjs
|
|
|
16588
16829
|
}
|
|
16589
16830
|
async fetch(options) {
|
|
16590
16831
|
const variables = this._variables;
|
|
16591
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16832
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
|
|
16592
16833
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
|
|
16593
16834
|
const data = response.interpretations;
|
|
16594
16835
|
const connection = new InterpretationConnection(this._request, (conn, opts) => new _InterpretationsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -16605,7 +16846,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk4QKWHQT2_cjs
|
|
|
16605
16846
|
const subscriptionId = crypto.randomUUID();
|
|
16606
16847
|
const includes = this._includes;
|
|
16607
16848
|
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) }] : []);
|
|
16608
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16849
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
|
|
16609
16850
|
const raw = this._syncEngine.watch(
|
|
16610
16851
|
queryDoc,
|
|
16611
16852
|
mergedVars,
|
|
@@ -16648,7 +16889,7 @@ var NotificationQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16648
16889
|
}
|
|
16649
16890
|
async fetch(options) {
|
|
16650
16891
|
const variables = this._variables;
|
|
16651
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16892
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.NotificationDocument, "notification", this._includes, variables);
|
|
16652
16893
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
|
|
16653
16894
|
const data = response.notification;
|
|
16654
16895
|
const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16660,7 +16901,7 @@ var NotificationQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16660
16901
|
watch(options) {
|
|
16661
16902
|
const variables = this._variables;
|
|
16662
16903
|
const includes = this._includes;
|
|
16663
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16904
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.NotificationDocument, "notification", includes, variables);
|
|
16664
16905
|
const raw = this._syncEngine.watch(
|
|
16665
16906
|
queryDoc,
|
|
16666
16907
|
mergedVars,
|
|
@@ -16698,7 +16939,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk4QKWHQT2_cjs.Req
|
|
|
16698
16939
|
}
|
|
16699
16940
|
async fetch(options) {
|
|
16700
16941
|
const variables = this._variables;
|
|
16701
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16942
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
|
|
16702
16943
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
|
|
16703
16944
|
const data = response.notifications;
|
|
16704
16945
|
const connection = new NotificationConnection(this._request, (conn, opts) => new _NotificationsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -16715,7 +16956,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk4QKWHQT2_cjs.Req
|
|
|
16715
16956
|
const subscriptionId = crypto.randomUUID();
|
|
16716
16957
|
const includes = this._includes;
|
|
16717
16958
|
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) }] : []);
|
|
16718
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16959
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.NotificationsDocument, "notifications", includes, variables, true);
|
|
16719
16960
|
const raw = this._syncEngine.watch(
|
|
16720
16961
|
queryDoc,
|
|
16721
16962
|
mergedVars,
|
|
@@ -16757,7 +16998,7 @@ var NotificationsByReferenceQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16757
16998
|
this._variables = variables;
|
|
16758
16999
|
}
|
|
16759
17000
|
async fetch(options) {
|
|
16760
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17001
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
|
|
16761
17002
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
|
|
16762
17003
|
const data = response.notificationsByReference;
|
|
16763
17004
|
if (!Array.isArray(data)) return [];
|
|
@@ -16773,7 +17014,7 @@ var PrivacyStatsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16773
17014
|
}
|
|
16774
17015
|
async fetch(options) {
|
|
16775
17016
|
const variables = this._variables;
|
|
16776
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17017
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
|
|
16777
17018
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
|
|
16778
17019
|
const data = response.privacyStats;
|
|
16779
17020
|
const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16785,7 +17026,7 @@ var PrivacyStatsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16785
17026
|
watch(options) {
|
|
16786
17027
|
const variables = this._variables;
|
|
16787
17028
|
const includes = this._includes;
|
|
16788
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17029
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
|
|
16789
17030
|
const raw = this._syncEngine.watch(
|
|
16790
17031
|
queryDoc,
|
|
16791
17032
|
mergedVars,
|
|
@@ -16823,7 +17064,7 @@ var PulseAppSummaryQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16823
17064
|
}
|
|
16824
17065
|
async fetch(options) {
|
|
16825
17066
|
const variables = this._variables;
|
|
16826
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17067
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
|
|
16827
17068
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
|
|
16828
17069
|
const data = response.pulseAppSummary;
|
|
16829
17070
|
if (!data) return void 0;
|
|
@@ -16836,7 +17077,7 @@ var PulseAppSummaryQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16836
17077
|
watch(options) {
|
|
16837
17078
|
const variables = this._variables;
|
|
16838
17079
|
const includes = this._includes;
|
|
16839
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17080
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
|
|
16840
17081
|
const raw = this._syncEngine.watch(
|
|
16841
17082
|
queryDoc,
|
|
16842
17083
|
mergedVars,
|
|
@@ -16875,7 +17116,7 @@ var PulseEventQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16875
17116
|
}
|
|
16876
17117
|
async fetch(options) {
|
|
16877
17118
|
const variables = this._variables;
|
|
16878
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17119
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
|
|
16879
17120
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
|
|
16880
17121
|
const data = response.pulseEvent;
|
|
16881
17122
|
const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16887,7 +17128,7 @@ var PulseEventQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16887
17128
|
watch(options) {
|
|
16888
17129
|
const variables = this._variables;
|
|
16889
17130
|
const includes = this._includes;
|
|
16890
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17131
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseEventDocument, "pulseEvent", includes, variables);
|
|
16891
17132
|
const raw = this._syncEngine.watch(
|
|
16892
17133
|
queryDoc,
|
|
16893
17134
|
mergedVars,
|
|
@@ -16917,7 +17158,7 @@ var PulseEventQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16917
17158
|
}
|
|
16918
17159
|
/** Include integration in this query (Smart Fetch — single HTTP request). */
|
|
16919
17160
|
integration(variables, builder) {
|
|
16920
|
-
const info = extractIncludeInfo(
|
|
17161
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
16921
17162
|
let children;
|
|
16922
17163
|
if (builder) {
|
|
16923
17164
|
const sub = new IntegrationSubBuilder();
|
|
@@ -16926,7 +17167,7 @@ var PulseEventQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16926
17167
|
}
|
|
16927
17168
|
this._includes.push({
|
|
16928
17169
|
fieldName: "integration",
|
|
16929
|
-
fragmentDoc:
|
|
17170
|
+
fragmentDoc: chunkZFR7CX4F_cjs.IntegrationFragmentDoc,
|
|
16930
17171
|
variables,
|
|
16931
17172
|
isConnection: false,
|
|
16932
17173
|
isList: false,
|
|
@@ -16950,14 +17191,14 @@ var PulseEvent_IntegrationQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
16950
17191
|
}
|
|
16951
17192
|
async fetch(options) {
|
|
16952
17193
|
const variables = this._variables;
|
|
16953
|
-
const response = await this._syncEngine.query(
|
|
17194
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
|
|
16954
17195
|
const data = response.pulseEvent?.integration;
|
|
16955
17196
|
return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16956
17197
|
}
|
|
16957
17198
|
watch(options) {
|
|
16958
17199
|
const variables = this._variables;
|
|
16959
17200
|
const raw = this._syncEngine.watch(
|
|
16960
|
-
|
|
17201
|
+
chunkZFR7CX4F_cjs.PulseEvent_IntegrationDocument,
|
|
16961
17202
|
variables,
|
|
16962
17203
|
"pulseEvent",
|
|
16963
17204
|
async (db) => {
|
|
@@ -16980,14 +17221,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk4QKWHQT2_cjs.Reque
|
|
|
16980
17221
|
}
|
|
16981
17222
|
async fetch(options) {
|
|
16982
17223
|
const variables = this._variables;
|
|
16983
|
-
const response = await this._syncEngine.query(
|
|
17224
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
|
|
16984
17225
|
const data = response.pulseEvent?.integration?.provider;
|
|
16985
17226
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16986
17227
|
}
|
|
16987
17228
|
watch(options) {
|
|
16988
17229
|
const variables = this._variables;
|
|
16989
17230
|
const raw = this._syncEngine.watch(
|
|
16990
|
-
|
|
17231
|
+
chunkZFR7CX4F_cjs.PulseEvent_Integration_ProviderDocument,
|
|
16991
17232
|
variables,
|
|
16992
17233
|
"pulseEvent",
|
|
16993
17234
|
async (db) => {
|
|
@@ -17011,7 +17252,7 @@ var PulseEventStatsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17011
17252
|
}
|
|
17012
17253
|
async fetch(options) {
|
|
17013
17254
|
const variables = this._variables;
|
|
17014
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17255
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseEventStatsDocument, "pulseEventStats", this._includes, variables);
|
|
17015
17256
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEventStats");
|
|
17016
17257
|
const data = response.pulseEventStats;
|
|
17017
17258
|
const instance = new PulseEventStatsModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17023,7 +17264,7 @@ var PulseEventStatsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17023
17264
|
watch(options) {
|
|
17024
17265
|
const variables = this._variables;
|
|
17025
17266
|
const includes = this._includes;
|
|
17026
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17267
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseEventStatsDocument, "pulseEventStats", includes, variables);
|
|
17027
17268
|
const raw = this._syncEngine.watch(
|
|
17028
17269
|
queryDoc,
|
|
17029
17270
|
mergedVars,
|
|
@@ -17061,7 +17302,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk4QKWHQT2_cjs.Request
|
|
|
17061
17302
|
}
|
|
17062
17303
|
async fetch(options) {
|
|
17063
17304
|
const variables = this._variables;
|
|
17064
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17305
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
|
|
17065
17306
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
|
|
17066
17307
|
const data = response.pulseEvents;
|
|
17067
17308
|
const connection = new PulseEventConnection(this._request, (conn, opts) => new _PulseEventsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -17078,7 +17319,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk4QKWHQT2_cjs.Request
|
|
|
17078
17319
|
const subscriptionId = crypto.randomUUID();
|
|
17079
17320
|
const includes = this._includes;
|
|
17080
17321
|
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) }] : []);
|
|
17081
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17322
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
|
|
17082
17323
|
const raw = this._syncEngine.watch(
|
|
17083
17324
|
queryDoc,
|
|
17084
17325
|
mergedVars,
|
|
@@ -17113,7 +17354,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk4QKWHQT2_cjs.Request
|
|
|
17113
17354
|
}
|
|
17114
17355
|
/** Include integration in this query (Smart Fetch — single HTTP request). */
|
|
17115
17356
|
integration(variables, builder) {
|
|
17116
|
-
const info = extractIncludeInfo(
|
|
17357
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
17117
17358
|
let children;
|
|
17118
17359
|
if (builder) {
|
|
17119
17360
|
const sub = new IntegrationSubBuilder();
|
|
@@ -17122,7 +17363,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk4QKWHQT2_cjs.Request
|
|
|
17122
17363
|
}
|
|
17123
17364
|
this._includes.push({
|
|
17124
17365
|
fieldName: "integration",
|
|
17125
|
-
fragmentDoc:
|
|
17366
|
+
fragmentDoc: chunkZFR7CX4F_cjs.IntegrationFragmentDoc,
|
|
17126
17367
|
variables,
|
|
17127
17368
|
isConnection: false,
|
|
17128
17369
|
isList: false,
|
|
@@ -17146,7 +17387,7 @@ var PulseTriggerSettingsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17146
17387
|
this._variables = variables;
|
|
17147
17388
|
}
|
|
17148
17389
|
async fetch(options) {
|
|
17149
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17390
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
|
|
17150
17391
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
|
|
17151
17392
|
const data = response.pulseTriggerSettings;
|
|
17152
17393
|
if (!Array.isArray(data)) return [];
|
|
@@ -17155,19 +17396,19 @@ var PulseTriggerSettingsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17155
17396
|
};
|
|
17156
17397
|
var QueryQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
17157
17398
|
async fetch(variables) {
|
|
17158
|
-
const response = await this._request(
|
|
17399
|
+
const response = await this._request(chunkZFR7CX4F_cjs.QueryDocument, variables);
|
|
17159
17400
|
return response.query;
|
|
17160
17401
|
}
|
|
17161
17402
|
};
|
|
17162
17403
|
var QueryWithInsightIdQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
17163
17404
|
async fetch(variables) {
|
|
17164
|
-
const response = await this._request(
|
|
17405
|
+
const response = await this._request(chunkZFR7CX4F_cjs.QueryWithInsightIdDocument, variables);
|
|
17165
17406
|
return response.queryWithInsightId;
|
|
17166
17407
|
}
|
|
17167
17408
|
};
|
|
17168
17409
|
var QueryWithMessageIdQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
17169
17410
|
async fetch(variables) {
|
|
17170
|
-
const response = await this._request(
|
|
17411
|
+
const response = await this._request(chunkZFR7CX4F_cjs.QueryWithMessageIdDocument, variables);
|
|
17171
17412
|
return response.queryWithMessageId;
|
|
17172
17413
|
}
|
|
17173
17414
|
};
|
|
@@ -17180,7 +17421,7 @@ var ReportQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17180
17421
|
}
|
|
17181
17422
|
async fetch(options) {
|
|
17182
17423
|
const variables = this._variables;
|
|
17183
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17424
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ReportDocument, "report", this._includes, variables);
|
|
17184
17425
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
|
|
17185
17426
|
const data = response.report;
|
|
17186
17427
|
const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17192,7 +17433,7 @@ var ReportQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17192
17433
|
watch(options) {
|
|
17193
17434
|
const variables = this._variables;
|
|
17194
17435
|
const includes = this._includes;
|
|
17195
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17436
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ReportDocument, "report", includes, variables);
|
|
17196
17437
|
const raw = this._syncEngine.watch(
|
|
17197
17438
|
queryDoc,
|
|
17198
17439
|
mergedVars,
|
|
@@ -17222,7 +17463,7 @@ var ReportQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17222
17463
|
}
|
|
17223
17464
|
/** Include insights in this query (Smart Fetch — single HTTP request). */
|
|
17224
17465
|
insights(variables, builder) {
|
|
17225
|
-
const info = extractIncludeInfo(
|
|
17466
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
17226
17467
|
let children;
|
|
17227
17468
|
if (builder) {
|
|
17228
17469
|
const sub = new InsightSubBuilder();
|
|
@@ -17231,7 +17472,7 @@ var ReportQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17231
17472
|
}
|
|
17232
17473
|
this._includes.push({
|
|
17233
17474
|
fieldName: "insights",
|
|
17234
|
-
fragmentDoc:
|
|
17475
|
+
fragmentDoc: chunkZFR7CX4F_cjs.InsightConnectionFragmentDoc,
|
|
17235
17476
|
variables,
|
|
17236
17477
|
isConnection: true,
|
|
17237
17478
|
isList: false,
|
|
@@ -17249,10 +17490,10 @@ var ReportQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17249
17490
|
}
|
|
17250
17491
|
/** Include layout in this query (Smart Fetch — single HTTP request). */
|
|
17251
17492
|
layout(variables) {
|
|
17252
|
-
const info = extractIncludeInfo(
|
|
17493
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
17253
17494
|
this._includes.push({
|
|
17254
17495
|
fieldName: "layout",
|
|
17255
|
-
fragmentDoc:
|
|
17496
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ReportMemberFragmentDoc,
|
|
17256
17497
|
variables,
|
|
17257
17498
|
isConnection: false,
|
|
17258
17499
|
isList: true,
|
|
@@ -17275,18 +17516,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk4QKWHQT2_cjs
|
|
|
17275
17516
|
}
|
|
17276
17517
|
async fetch(options) {
|
|
17277
17518
|
const variables = this._variables;
|
|
17278
|
-
const response = await this._syncEngine.query(
|
|
17519
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Report_InsightsDocument, variables, "report");
|
|
17279
17520
|
const data = response.report?.insights;
|
|
17280
17521
|
return new InsightConnection(this._request, (conn, opts) => new _Report_InsightsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
17281
17522
|
}
|
|
17282
17523
|
watch(options) {
|
|
17283
17524
|
const variables = this._variables;
|
|
17284
17525
|
const raw = this._syncEngine.watch(
|
|
17285
|
-
|
|
17526
|
+
chunkZFR7CX4F_cjs.Report_InsightsDocument,
|
|
17286
17527
|
variables,
|
|
17287
17528
|
"report",
|
|
17288
17529
|
async (db) => {
|
|
17289
|
-
const qr = await db._queryResults.get(buildQueryKey("report", variables,
|
|
17530
|
+
const qr = await db._queryResults.get(buildQueryKey("report", variables, chunkZFR7CX4F_cjs.Report_InsightsDocument));
|
|
17290
17531
|
const nodes = qr ? await db.table("insights").bulkGet(qr.entityIds) : [];
|
|
17291
17532
|
return { report: { insights: { __typename: "InsightConnection", nodes: nodes.filter(Boolean), pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } } };
|
|
17292
17533
|
}
|
|
@@ -17304,7 +17545,7 @@ var Report_LayoutQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17304
17545
|
this._variables = variables;
|
|
17305
17546
|
}
|
|
17306
17547
|
async fetch(options) {
|
|
17307
|
-
const response = await this._syncEngine.query(
|
|
17548
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Report_LayoutDocument, this._variables, "report");
|
|
17308
17549
|
const data = response.report?.layout;
|
|
17309
17550
|
if (!Array.isArray(data)) return [];
|
|
17310
17551
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -17319,7 +17560,7 @@ var ReportsQuery = class _ReportsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
17319
17560
|
}
|
|
17320
17561
|
async fetch(options) {
|
|
17321
17562
|
const variables = this._variables;
|
|
17322
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17563
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ReportsDocument, "reports", this._includes, variables, true);
|
|
17323
17564
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
|
|
17324
17565
|
const data = response.reports;
|
|
17325
17566
|
const connection = new ReportConnection(this._request, (conn, opts) => new _ReportsQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -17336,7 +17577,7 @@ var ReportsQuery = class _ReportsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
17336
17577
|
const subscriptionId = crypto.randomUUID();
|
|
17337
17578
|
const includes = this._includes;
|
|
17338
17579
|
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) }] : []);
|
|
17339
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17580
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.ReportsDocument, "reports", includes, variables, true);
|
|
17340
17581
|
const raw = this._syncEngine.watch(
|
|
17341
17582
|
queryDoc,
|
|
17342
17583
|
mergedVars,
|
|
@@ -17371,7 +17612,7 @@ var ReportsQuery = class _ReportsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
17371
17612
|
}
|
|
17372
17613
|
/** Include insights in this query (Smart Fetch — single HTTP request). */
|
|
17373
17614
|
insights(variables, builder) {
|
|
17374
|
-
const info = extractIncludeInfo(
|
|
17615
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
17375
17616
|
let children;
|
|
17376
17617
|
if (builder) {
|
|
17377
17618
|
const sub = new InsightSubBuilder();
|
|
@@ -17380,7 +17621,7 @@ var ReportsQuery = class _ReportsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
17380
17621
|
}
|
|
17381
17622
|
this._includes.push({
|
|
17382
17623
|
fieldName: "insights",
|
|
17383
|
-
fragmentDoc:
|
|
17624
|
+
fragmentDoc: chunkZFR7CX4F_cjs.InsightConnectionFragmentDoc,
|
|
17384
17625
|
variables,
|
|
17385
17626
|
isConnection: true,
|
|
17386
17627
|
isList: false,
|
|
@@ -17398,10 +17639,10 @@ var ReportsQuery = class _ReportsQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
17398
17639
|
}
|
|
17399
17640
|
/** Include layout in this query (Smart Fetch — single HTTP request). */
|
|
17400
17641
|
layout(variables) {
|
|
17401
|
-
const info = extractIncludeInfo(
|
|
17642
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
17402
17643
|
this._includes.push({
|
|
17403
17644
|
fieldName: "layout",
|
|
17404
|
-
fragmentDoc:
|
|
17645
|
+
fragmentDoc: chunkZFR7CX4F_cjs.ReportMemberFragmentDoc,
|
|
17405
17646
|
variables,
|
|
17406
17647
|
isConnection: false,
|
|
17407
17648
|
isList: true,
|
|
@@ -17424,7 +17665,7 @@ var SearchQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17424
17665
|
this._variables = variables;
|
|
17425
17666
|
}
|
|
17426
17667
|
async fetch(options) {
|
|
17427
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17668
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.SearchDocument, "search", this._includes, this._variables);
|
|
17428
17669
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "search");
|
|
17429
17670
|
const data = response.search;
|
|
17430
17671
|
if (!Array.isArray(data)) return [];
|
|
@@ -17440,7 +17681,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17440
17681
|
}
|
|
17441
17682
|
async fetch(options) {
|
|
17442
17683
|
const variables = this._variables;
|
|
17443
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17684
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.TableDocument, "table", this._includes, variables);
|
|
17444
17685
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
|
|
17445
17686
|
const data = response.table;
|
|
17446
17687
|
const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17452,7 +17693,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17452
17693
|
watch(options) {
|
|
17453
17694
|
const variables = this._variables;
|
|
17454
17695
|
const includes = this._includes;
|
|
17455
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17696
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.TableDocument, "table", includes, variables);
|
|
17456
17697
|
const raw = this._syncEngine.watch(
|
|
17457
17698
|
queryDoc,
|
|
17458
17699
|
mergedVars,
|
|
@@ -17482,7 +17723,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17482
17723
|
}
|
|
17483
17724
|
/** Include database in this query (Smart Fetch — single HTTP request). */
|
|
17484
17725
|
database(variables, builder) {
|
|
17485
|
-
const info = extractIncludeInfo(
|
|
17726
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
17486
17727
|
let children;
|
|
17487
17728
|
if (builder) {
|
|
17488
17729
|
const sub = new DatabaseSubBuilder();
|
|
@@ -17491,7 +17732,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17491
17732
|
}
|
|
17492
17733
|
this._includes.push({
|
|
17493
17734
|
fieldName: "database",
|
|
17494
|
-
fragmentDoc:
|
|
17735
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DatabaseFragmentDoc,
|
|
17495
17736
|
variables,
|
|
17496
17737
|
isConnection: false,
|
|
17497
17738
|
isList: false,
|
|
@@ -17508,7 +17749,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17508
17749
|
}
|
|
17509
17750
|
/** Include document in this query (Smart Fetch — single HTTP request). */
|
|
17510
17751
|
document(variables, builder) {
|
|
17511
|
-
const info = extractIncludeInfo(
|
|
17752
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
17512
17753
|
let children;
|
|
17513
17754
|
if (builder) {
|
|
17514
17755
|
const sub = new DocumentSubBuilder();
|
|
@@ -17517,7 +17758,7 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17517
17758
|
}
|
|
17518
17759
|
this._includes.push({
|
|
17519
17760
|
fieldName: "document",
|
|
17520
|
-
fragmentDoc:
|
|
17761
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DocumentFragmentDoc,
|
|
17521
17762
|
variables,
|
|
17522
17763
|
isConnection: false,
|
|
17523
17764
|
isList: false,
|
|
@@ -17534,10 +17775,10 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17534
17775
|
}
|
|
17535
17776
|
/** Include fromRelations in this query (Smart Fetch — single HTTP request). */
|
|
17536
17777
|
fromRelations(variables) {
|
|
17537
|
-
const info = extractIncludeInfo(
|
|
17778
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
17538
17779
|
this._includes.push({
|
|
17539
17780
|
fieldName: "fromRelations",
|
|
17540
|
-
fragmentDoc:
|
|
17781
|
+
fragmentDoc: chunkZFR7CX4F_cjs.RelationFragmentDoc,
|
|
17541
17782
|
variables,
|
|
17542
17783
|
isConnection: false,
|
|
17543
17784
|
isList: true,
|
|
@@ -17553,10 +17794,10 @@ var TableQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17553
17794
|
}
|
|
17554
17795
|
/** Include toRelations in this query (Smart Fetch — single HTTP request). */
|
|
17555
17796
|
toRelations(variables) {
|
|
17556
|
-
const info = extractIncludeInfo(
|
|
17797
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
17557
17798
|
this._includes.push({
|
|
17558
17799
|
fieldName: "toRelations",
|
|
17559
|
-
fragmentDoc:
|
|
17800
|
+
fragmentDoc: chunkZFR7CX4F_cjs.RelationFragmentDoc,
|
|
17560
17801
|
variables,
|
|
17561
17802
|
isConnection: false,
|
|
17562
17803
|
isList: true,
|
|
@@ -17579,14 +17820,14 @@ var Table_DatabaseQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17579
17820
|
}
|
|
17580
17821
|
async fetch(options) {
|
|
17581
17822
|
const variables = this._variables;
|
|
17582
|
-
const response = await this._syncEngine.query(
|
|
17823
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_DatabaseDocument, variables, "table");
|
|
17583
17824
|
const data = response.table?.database;
|
|
17584
17825
|
return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17585
17826
|
}
|
|
17586
17827
|
watch(options) {
|
|
17587
17828
|
const variables = this._variables;
|
|
17588
17829
|
const raw = this._syncEngine.watch(
|
|
17589
|
-
|
|
17830
|
+
chunkZFR7CX4F_cjs.Table_DatabaseDocument,
|
|
17590
17831
|
variables,
|
|
17591
17832
|
"table",
|
|
17592
17833
|
async (db) => {
|
|
@@ -17609,14 +17850,14 @@ var Table_Database_EngineQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17609
17850
|
}
|
|
17610
17851
|
async fetch(options) {
|
|
17611
17852
|
const variables = this._variables;
|
|
17612
|
-
const response = await this._syncEngine.query(
|
|
17853
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_Database_EngineDocument, variables, "table");
|
|
17613
17854
|
const data = response.table?.database?.engine;
|
|
17614
17855
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17615
17856
|
}
|
|
17616
17857
|
watch(options) {
|
|
17617
17858
|
const variables = this._variables;
|
|
17618
17859
|
const raw = this._syncEngine.watch(
|
|
17619
|
-
|
|
17860
|
+
chunkZFR7CX4F_cjs.Table_Database_EngineDocument,
|
|
17620
17861
|
variables,
|
|
17621
17862
|
"table",
|
|
17622
17863
|
async (db) => {
|
|
@@ -17639,14 +17880,14 @@ var Table_DocumentQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17639
17880
|
}
|
|
17640
17881
|
async fetch(options) {
|
|
17641
17882
|
const variables = this._variables;
|
|
17642
|
-
const response = await this._syncEngine.query(
|
|
17883
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_DocumentDocument, variables, "table");
|
|
17643
17884
|
const data = response.table?.document;
|
|
17644
17885
|
return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17645
17886
|
}
|
|
17646
17887
|
watch(options) {
|
|
17647
17888
|
const variables = this._variables;
|
|
17648
17889
|
const raw = this._syncEngine.watch(
|
|
17649
|
-
|
|
17890
|
+
chunkZFR7CX4F_cjs.Table_DocumentDocument,
|
|
17650
17891
|
variables,
|
|
17651
17892
|
"table",
|
|
17652
17893
|
async (db) => {
|
|
@@ -17668,7 +17909,7 @@ var Table_Document_ContentsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17668
17909
|
this._variables = variables;
|
|
17669
17910
|
}
|
|
17670
17911
|
async fetch(options) {
|
|
17671
|
-
const response = await this._syncEngine.query(
|
|
17912
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_Document_ContentsDocument, this._variables, "table");
|
|
17672
17913
|
const data = response.table?.document?.contents;
|
|
17673
17914
|
if (!Array.isArray(data)) return [];
|
|
17674
17915
|
return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -17682,14 +17923,14 @@ var Table_Document_FileQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17682
17923
|
}
|
|
17683
17924
|
async fetch(options) {
|
|
17684
17925
|
const variables = this._variables;
|
|
17685
|
-
const response = await this._syncEngine.query(
|
|
17926
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_Document_FileDocument, variables, "table");
|
|
17686
17927
|
const data = response.table?.document?.file;
|
|
17687
17928
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17688
17929
|
}
|
|
17689
17930
|
watch(options) {
|
|
17690
17931
|
const variables = this._variables;
|
|
17691
17932
|
const raw = this._syncEngine.watch(
|
|
17692
|
-
|
|
17933
|
+
chunkZFR7CX4F_cjs.Table_Document_FileDocument,
|
|
17693
17934
|
variables,
|
|
17694
17935
|
"table",
|
|
17695
17936
|
async (db) => {
|
|
@@ -17712,14 +17953,14 @@ var Table_Document_FormatQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17712
17953
|
}
|
|
17713
17954
|
async fetch(options) {
|
|
17714
17955
|
const variables = this._variables;
|
|
17715
|
-
const response = await this._syncEngine.query(
|
|
17956
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_Document_FormatDocument, variables, "table");
|
|
17716
17957
|
const data = response.table?.document?.format;
|
|
17717
17958
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17718
17959
|
}
|
|
17719
17960
|
watch(options) {
|
|
17720
17961
|
const variables = this._variables;
|
|
17721
17962
|
const raw = this._syncEngine.watch(
|
|
17722
|
-
|
|
17963
|
+
chunkZFR7CX4F_cjs.Table_Document_FormatDocument,
|
|
17723
17964
|
variables,
|
|
17724
17965
|
"table",
|
|
17725
17966
|
async (db) => {
|
|
@@ -17741,7 +17982,7 @@ var Table_FromRelationsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17741
17982
|
this._variables = variables;
|
|
17742
17983
|
}
|
|
17743
17984
|
async fetch(options) {
|
|
17744
|
-
const response = await this._syncEngine.query(
|
|
17985
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_FromRelationsDocument, this._variables, "table");
|
|
17745
17986
|
const data = response.table?.fromRelations;
|
|
17746
17987
|
if (!Array.isArray(data)) return [];
|
|
17747
17988
|
return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -17754,7 +17995,7 @@ var Table_ToRelationsQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17754
17995
|
this._variables = variables;
|
|
17755
17996
|
}
|
|
17756
17997
|
async fetch(options) {
|
|
17757
|
-
const response = await this._syncEngine.query(
|
|
17998
|
+
const response = await this._syncEngine.query(chunkZFR7CX4F_cjs.Table_ToRelationsDocument, this._variables, "table");
|
|
17758
17999
|
const data = response.table?.toRelations;
|
|
17759
18000
|
if (!Array.isArray(data)) return [];
|
|
17760
18001
|
return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -17769,7 +18010,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
17769
18010
|
}
|
|
17770
18011
|
async fetch(options) {
|
|
17771
18012
|
const variables = this._variables;
|
|
17772
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18013
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.TablesDocument, "tables", this._includes, variables, true);
|
|
17773
18014
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
|
|
17774
18015
|
const data = response.tables;
|
|
17775
18016
|
const connection = new TableConnection(this._request, (conn, opts) => new _TablesQuery(this._request, this._syncEngine, chunk4QKWHQT2_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -17786,7 +18027,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
17786
18027
|
const subscriptionId = crypto.randomUUID();
|
|
17787
18028
|
const includes = this._includes;
|
|
17788
18029
|
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) }] : []);
|
|
17789
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18030
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.TablesDocument, "tables", includes, variables, true);
|
|
17790
18031
|
const raw = this._syncEngine.watch(
|
|
17791
18032
|
queryDoc,
|
|
17792
18033
|
mergedVars,
|
|
@@ -17821,7 +18062,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
17821
18062
|
}
|
|
17822
18063
|
/** Include database in this query (Smart Fetch — single HTTP request). */
|
|
17823
18064
|
database(variables, builder) {
|
|
17824
|
-
const info = extractIncludeInfo(
|
|
18065
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
17825
18066
|
let children;
|
|
17826
18067
|
if (builder) {
|
|
17827
18068
|
const sub = new DatabaseSubBuilder();
|
|
@@ -17830,7 +18071,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
17830
18071
|
}
|
|
17831
18072
|
this._includes.push({
|
|
17832
18073
|
fieldName: "database",
|
|
17833
|
-
fragmentDoc:
|
|
18074
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DatabaseFragmentDoc,
|
|
17834
18075
|
variables,
|
|
17835
18076
|
isConnection: false,
|
|
17836
18077
|
isList: false,
|
|
@@ -17847,7 +18088,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
17847
18088
|
}
|
|
17848
18089
|
/** Include document in this query (Smart Fetch — single HTTP request). */
|
|
17849
18090
|
document(variables, builder) {
|
|
17850
|
-
const info = extractIncludeInfo(
|
|
18091
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
17851
18092
|
let children;
|
|
17852
18093
|
if (builder) {
|
|
17853
18094
|
const sub = new DocumentSubBuilder();
|
|
@@ -17856,7 +18097,7 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
17856
18097
|
}
|
|
17857
18098
|
this._includes.push({
|
|
17858
18099
|
fieldName: "document",
|
|
17859
|
-
fragmentDoc:
|
|
18100
|
+
fragmentDoc: chunkZFR7CX4F_cjs.DocumentFragmentDoc,
|
|
17860
18101
|
variables,
|
|
17861
18102
|
isConnection: false,
|
|
17862
18103
|
isList: false,
|
|
@@ -17873,10 +18114,10 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
17873
18114
|
}
|
|
17874
18115
|
/** Include fromRelations in this query (Smart Fetch — single HTTP request). */
|
|
17875
18116
|
fromRelations(variables) {
|
|
17876
|
-
const info = extractIncludeInfo(
|
|
18117
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
17877
18118
|
this._includes.push({
|
|
17878
18119
|
fieldName: "fromRelations",
|
|
17879
|
-
fragmentDoc:
|
|
18120
|
+
fragmentDoc: chunkZFR7CX4F_cjs.RelationFragmentDoc,
|
|
17880
18121
|
variables,
|
|
17881
18122
|
isConnection: false,
|
|
17882
18123
|
isList: true,
|
|
@@ -17892,10 +18133,10 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
17892
18133
|
}
|
|
17893
18134
|
/** Include toRelations in this query (Smart Fetch — single HTTP request). */
|
|
17894
18135
|
toRelations(variables) {
|
|
17895
|
-
const info = extractIncludeInfo(
|
|
18136
|
+
const info = extractIncludeInfo(chunkZFR7CX4F_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
17896
18137
|
this._includes.push({
|
|
17897
18138
|
fieldName: "toRelations",
|
|
17898
|
-
fragmentDoc:
|
|
18139
|
+
fragmentDoc: chunkZFR7CX4F_cjs.RelationFragmentDoc,
|
|
17899
18140
|
variables,
|
|
17900
18141
|
isConnection: false,
|
|
17901
18142
|
isList: true,
|
|
@@ -17910,6 +18151,136 @@ var TablesQuery = class _TablesQuery extends chunk4QKWHQT2_cjs.Request {
|
|
|
17910
18151
|
return this;
|
|
17911
18152
|
}
|
|
17912
18153
|
};
|
|
18154
|
+
var UserSkillFileQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
18155
|
+
_variables;
|
|
18156
|
+
_includes = [];
|
|
18157
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
18158
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
18159
|
+
this._variables = variables;
|
|
18160
|
+
}
|
|
18161
|
+
async fetch(options) {
|
|
18162
|
+
const variables = this._variables;
|
|
18163
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
|
|
18164
|
+
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
|
|
18165
|
+
const data = response.userSkillFile;
|
|
18166
|
+
const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
18167
|
+
if (this._includes.length > 0) {
|
|
18168
|
+
hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
|
|
18169
|
+
}
|
|
18170
|
+
return instance;
|
|
18171
|
+
}
|
|
18172
|
+
watch(options) {
|
|
18173
|
+
const variables = this._variables;
|
|
18174
|
+
const includes = this._includes;
|
|
18175
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
|
|
18176
|
+
const raw = this._syncEngine.watch(
|
|
18177
|
+
queryDoc,
|
|
18178
|
+
mergedVars,
|
|
18179
|
+
"userSkillFile",
|
|
18180
|
+
async (db) => {
|
|
18181
|
+
const vars = variables;
|
|
18182
|
+
const pkField = getPrimaryKeyField("userSkillFileModels");
|
|
18183
|
+
const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
|
|
18184
|
+
const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
|
|
18185
|
+
const entity = hasEntityKey ? await db.table("userSkillFileModels").get(entityKey) : void 0;
|
|
18186
|
+
if (includes.length > 0 && entity) {
|
|
18187
|
+
const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
|
|
18188
|
+
const result = await reconstructEntity(db, "userSkillFileModels", parentId, includes);
|
|
18189
|
+
return { userSkillFile: result };
|
|
18190
|
+
}
|
|
18191
|
+
return { userSkillFile: entity ?? null };
|
|
18192
|
+
}
|
|
18193
|
+
);
|
|
18194
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
18195
|
+
const data = response.userSkillFile;
|
|
18196
|
+
const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
18197
|
+
if (includes.length > 0) {
|
|
18198
|
+
hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
|
|
18199
|
+
}
|
|
18200
|
+
return instance;
|
|
18201
|
+
});
|
|
18202
|
+
}
|
|
18203
|
+
};
|
|
18204
|
+
var UserSkillFilesQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
18205
|
+
_variables;
|
|
18206
|
+
_includes = [];
|
|
18207
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
18208
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
18209
|
+
this._variables = variables;
|
|
18210
|
+
}
|
|
18211
|
+
async fetch(options) {
|
|
18212
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
|
|
18213
|
+
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
|
|
18214
|
+
const data = response.userSkillFiles;
|
|
18215
|
+
if (!Array.isArray(data)) return [];
|
|
18216
|
+
return data.map((item) => new UserSkillFileModel(this._request, item, this._syncEngine, this._baseUrl));
|
|
18217
|
+
}
|
|
18218
|
+
};
|
|
18219
|
+
var UserSkillFolderQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
18220
|
+
_variables;
|
|
18221
|
+
_includes = [];
|
|
18222
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
18223
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
18224
|
+
this._variables = variables;
|
|
18225
|
+
}
|
|
18226
|
+
async fetch(options) {
|
|
18227
|
+
const variables = this._variables;
|
|
18228
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
|
|
18229
|
+
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
|
|
18230
|
+
const data = response.userSkillFolder;
|
|
18231
|
+
const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
18232
|
+
if (this._includes.length > 0) {
|
|
18233
|
+
hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
|
|
18234
|
+
}
|
|
18235
|
+
return instance;
|
|
18236
|
+
}
|
|
18237
|
+
watch(options) {
|
|
18238
|
+
const variables = this._variables;
|
|
18239
|
+
const includes = this._includes;
|
|
18240
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
|
|
18241
|
+
const raw = this._syncEngine.watch(
|
|
18242
|
+
queryDoc,
|
|
18243
|
+
mergedVars,
|
|
18244
|
+
"userSkillFolder",
|
|
18245
|
+
async (db) => {
|
|
18246
|
+
const vars = variables;
|
|
18247
|
+
const pkField = getPrimaryKeyField("userSkillFolderModels");
|
|
18248
|
+
const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
|
|
18249
|
+
const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
|
|
18250
|
+
const entity = hasEntityKey ? await db.table("userSkillFolderModels").get(entityKey) : void 0;
|
|
18251
|
+
if (includes.length > 0 && entity) {
|
|
18252
|
+
const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
|
|
18253
|
+
const result = await reconstructEntity(db, "userSkillFolderModels", parentId, includes);
|
|
18254
|
+
return { userSkillFolder: result };
|
|
18255
|
+
}
|
|
18256
|
+
return { userSkillFolder: entity ?? null };
|
|
18257
|
+
}
|
|
18258
|
+
);
|
|
18259
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
18260
|
+
const data = response.userSkillFolder;
|
|
18261
|
+
const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
18262
|
+
if (includes.length > 0) {
|
|
18263
|
+
hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
|
|
18264
|
+
}
|
|
18265
|
+
return instance;
|
|
18266
|
+
});
|
|
18267
|
+
}
|
|
18268
|
+
};
|
|
18269
|
+
var UserSkillFoldersQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
18270
|
+
_variables;
|
|
18271
|
+
_includes = [];
|
|
18272
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
18273
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
18274
|
+
this._variables = variables;
|
|
18275
|
+
}
|
|
18276
|
+
async fetch(options) {
|
|
18277
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
|
|
18278
|
+
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
|
|
18279
|
+
const data = response.userSkillFolders;
|
|
18280
|
+
if (!Array.isArray(data)) return [];
|
|
18281
|
+
return data.map((item) => new UserSkillFolderModel(this._request, item, this._syncEngine, this._baseUrl));
|
|
18282
|
+
}
|
|
18283
|
+
};
|
|
17913
18284
|
var WorkspaceDeletionScheduleQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
17914
18285
|
_variables;
|
|
17915
18286
|
_includes = [];
|
|
@@ -17919,7 +18290,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17919
18290
|
}
|
|
17920
18291
|
async fetch(options) {
|
|
17921
18292
|
const variables = this._variables;
|
|
17922
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18293
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
|
|
17923
18294
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
|
|
17924
18295
|
const data = response.workspaceDeletionSchedule;
|
|
17925
18296
|
if (!data) return void 0;
|
|
@@ -17932,7 +18303,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17932
18303
|
watch(options) {
|
|
17933
18304
|
const variables = this._variables;
|
|
17934
18305
|
const includes = this._includes;
|
|
17935
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18306
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkZFR7CX4F_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
|
|
17936
18307
|
const raw = this._syncEngine.watch(
|
|
17937
18308
|
queryDoc,
|
|
17938
18309
|
mergedVars,
|
|
@@ -17964,7 +18335,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17964
18335
|
};
|
|
17965
18336
|
var McpAuthUpdatesSubscription = class extends chunk4QKWHQT2_cjs.Request {
|
|
17966
18337
|
async *subscribe(variables) {
|
|
17967
|
-
for await (const response of this._subscribe(
|
|
18338
|
+
for await (const response of this._subscribe(chunkZFR7CX4F_cjs.McpAuthUpdatesDocument, variables)) {
|
|
17968
18339
|
const data = response.mcpAuthUpdates;
|
|
17969
18340
|
yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
17970
18341
|
}
|
|
@@ -17972,12 +18343,12 @@ var McpAuthUpdatesSubscription = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
17972
18343
|
};
|
|
17973
18344
|
var SendMessageStreamSubscription = class extends chunk4QKWHQT2_cjs.Request {
|
|
17974
18345
|
subscribe(variables) {
|
|
17975
|
-
return this._subscribe(
|
|
18346
|
+
return this._subscribe(chunkZFR7CX4F_cjs.SendMessageStreamDocument, variables);
|
|
17976
18347
|
}
|
|
17977
18348
|
};
|
|
17978
18349
|
var TokenUsageUpdatesSubscription = class extends chunk4QKWHQT2_cjs.Request {
|
|
17979
18350
|
async *subscribe(variables) {
|
|
17980
|
-
for await (const response of this._subscribe(
|
|
18351
|
+
for await (const response of this._subscribe(chunkZFR7CX4F_cjs.TokenUsageUpdatesDocument, variables)) {
|
|
17981
18352
|
const data = response.tokenUsageUpdates;
|
|
17982
18353
|
yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
|
|
17983
18354
|
}
|
|
@@ -18023,6 +18394,10 @@ var DvinaSdk = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
18023
18394
|
connectIntegration(variables) {
|
|
18024
18395
|
return new ConnectIntegrationMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
18025
18396
|
}
|
|
18397
|
+
/** Mutation: continueImportedChat (scalar) */
|
|
18398
|
+
continueImportedChat(variables) {
|
|
18399
|
+
return new ContinueImportedChatMutation(this._request, this._syncEngine).fetch(variables);
|
|
18400
|
+
}
|
|
18026
18401
|
/** Mutation: continueInterpretation (scalar) */
|
|
18027
18402
|
continueInterpretation(variables) {
|
|
18028
18403
|
return new ContinueInterpretationMutation(this._request, this._syncEngine).fetch(variables);
|
|
@@ -18067,6 +18442,14 @@ var DvinaSdk = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
18067
18442
|
createTable(variables) {
|
|
18068
18443
|
return new CreateTableMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
18069
18444
|
}
|
|
18445
|
+
/** Mutation: createUserSkillFile */
|
|
18446
|
+
createUserSkillFile(variables) {
|
|
18447
|
+
return new CreateUserSkillFileMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
18448
|
+
}
|
|
18449
|
+
/** Mutation: createUserSkillFolder */
|
|
18450
|
+
createUserSkillFolder(variables) {
|
|
18451
|
+
return new CreateUserSkillFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
18452
|
+
}
|
|
18070
18453
|
/** Mutation: deleteAgent */
|
|
18071
18454
|
deleteAgent(variables) {
|
|
18072
18455
|
return new DeleteAgentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
@@ -18111,6 +18494,14 @@ var DvinaSdk = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
18111
18494
|
deleteTable(variables) {
|
|
18112
18495
|
return new DeleteTableMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
18113
18496
|
}
|
|
18497
|
+
/** Mutation: deleteUserSkillFile */
|
|
18498
|
+
deleteUserSkillFile(variables) {
|
|
18499
|
+
return new DeleteUserSkillFileMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
18500
|
+
}
|
|
18501
|
+
/** Mutation: deleteUserSkillFolder */
|
|
18502
|
+
deleteUserSkillFolder(variables) {
|
|
18503
|
+
return new DeleteUserSkillFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
18504
|
+
}
|
|
18114
18505
|
/** Mutation: disconnectIntegration (scalar) */
|
|
18115
18506
|
disconnectIntegration(variables) {
|
|
18116
18507
|
return new DisconnectIntegrationMutation(this._request, this._syncEngine).fetch(variables);
|
|
@@ -18119,6 +18510,10 @@ var DvinaSdk = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
18119
18510
|
dismissPulseEvent(variables) {
|
|
18120
18511
|
return new DismissPulseEventMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
18121
18512
|
}
|
|
18513
|
+
/** Mutation: executeChatImport */
|
|
18514
|
+
executeChatImport(variables) {
|
|
18515
|
+
return new ExecuteChatImportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
18516
|
+
}
|
|
18122
18517
|
/** Mutation: generateUploadUri */
|
|
18123
18518
|
generateUploadUri(variables) {
|
|
18124
18519
|
return new GenerateUploadUriMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
@@ -18127,6 +18522,10 @@ var DvinaSdk = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
18127
18522
|
markPulseEventSeen(variables) {
|
|
18128
18523
|
return new MarkPulseEventSeenMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
18129
18524
|
}
|
|
18525
|
+
/** Mutation: previewChatImport */
|
|
18526
|
+
previewChatImport(variables) {
|
|
18527
|
+
return new PreviewChatImportMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
18528
|
+
}
|
|
18130
18529
|
/** Mutation: reanalyzeDocument */
|
|
18131
18530
|
reanalyzeDocument(variables) {
|
|
18132
18531
|
return new ReanalyzeDocumentMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
@@ -18215,6 +18614,14 @@ var DvinaSdk = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
18215
18614
|
updateTable(variables) {
|
|
18216
18615
|
return new UpdateTableMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
18217
18616
|
}
|
|
18617
|
+
/** Mutation: updateUserSkillFile */
|
|
18618
|
+
updateUserSkillFile(variables) {
|
|
18619
|
+
return new UpdateUserSkillFileMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
18620
|
+
}
|
|
18621
|
+
/** Mutation: updateUserSkillFolder */
|
|
18622
|
+
updateUserSkillFolder(variables) {
|
|
18623
|
+
return new UpdateUserSkillFolderMutation(this._request, this._syncEngine, void 0, this._baseUrl).fetch(variables);
|
|
18624
|
+
}
|
|
18218
18625
|
/** Query: agent — call .fetch() or .watch() to execute. */
|
|
18219
18626
|
agent(variables) {
|
|
18220
18627
|
return new AgentQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
@@ -18447,6 +18854,22 @@ var DvinaSdk = class extends chunk4QKWHQT2_cjs.Request {
|
|
|
18447
18854
|
tables(variables) {
|
|
18448
18855
|
return new TablesQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
18449
18856
|
}
|
|
18857
|
+
/** Query: userSkillFile — call .fetch() or .watch() to execute. */
|
|
18858
|
+
userSkillFile(variables) {
|
|
18859
|
+
return new UserSkillFileQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
18860
|
+
}
|
|
18861
|
+
/** Query: userSkillFiles — call .fetch() or .watch() to execute. */
|
|
18862
|
+
userSkillFiles(variables) {
|
|
18863
|
+
return new UserSkillFilesQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
18864
|
+
}
|
|
18865
|
+
/** Query: userSkillFolder — call .fetch() or .watch() to execute. */
|
|
18866
|
+
userSkillFolder(variables) {
|
|
18867
|
+
return new UserSkillFolderQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
18868
|
+
}
|
|
18869
|
+
/** Query: userSkillFolders — call .fetch() or .watch() to execute. */
|
|
18870
|
+
userSkillFolders(variables) {
|
|
18871
|
+
return new UserSkillFoldersQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
18872
|
+
}
|
|
18450
18873
|
/** Query: workspaceDeletionSchedule — call .fetch() or .watch() to execute. */
|
|
18451
18874
|
workspaceDeletionSchedule() {
|
|
18452
18875
|
return new WorkspaceDeletionScheduleQuery(this._request, this._syncEngine, {}, this._baseUrl);
|
|
@@ -18535,6 +18958,8 @@ exports.CancelOauthFlowMutation = CancelOauthFlowMutation;
|
|
|
18535
18958
|
exports.CancelWorkspaceDeletionMutation = CancelWorkspaceDeletionMutation;
|
|
18536
18959
|
exports.Chat = Chat;
|
|
18537
18960
|
exports.ChatConnection = ChatConnection;
|
|
18961
|
+
exports.ChatImportExecuteOutput = ChatImportExecuteOutput;
|
|
18962
|
+
exports.ChatImportPreviewOutput = ChatImportPreviewOutput;
|
|
18538
18963
|
exports.ChatMessage = ChatMessage;
|
|
18539
18964
|
exports.ChatMessageConnection = ChatMessageConnection;
|
|
18540
18965
|
exports.ChatMessageQuery = ChatMessageQuery;
|
|
@@ -18557,6 +18982,7 @@ exports.ChatsQuery = ChatsQuery;
|
|
|
18557
18982
|
exports.ConnectIntegrationMutation = ConnectIntegrationMutation;
|
|
18558
18983
|
exports.ContentBlock = ContentBlock;
|
|
18559
18984
|
exports.ContentMask = ContentMask;
|
|
18985
|
+
exports.ContinueImportedChatMutation = ContinueImportedChatMutation;
|
|
18560
18986
|
exports.ContinueInterpretationMutation = ContinueInterpretationMutation;
|
|
18561
18987
|
exports.CreateAgentMutation = CreateAgentMutation;
|
|
18562
18988
|
exports.CreateChatMutation = CreateChatMutation;
|
|
@@ -18569,6 +18995,8 @@ exports.CreateIntegrationMutation = CreateIntegrationMutation;
|
|
|
18569
18995
|
exports.CreateIntegrationOutput = CreateIntegrationOutput;
|
|
18570
18996
|
exports.CreateReportMutation = CreateReportMutation;
|
|
18571
18997
|
exports.CreateTableMutation = CreateTableMutation;
|
|
18998
|
+
exports.CreateUserSkillFileMutation = CreateUserSkillFileMutation;
|
|
18999
|
+
exports.CreateUserSkillFolderMutation = CreateUserSkillFolderMutation;
|
|
18572
19000
|
exports.CubeModel = CubeModel;
|
|
18573
19001
|
exports.DB_ENTITY_SCHEMA = DB_ENTITY_SCHEMA;
|
|
18574
19002
|
exports.Database = Database;
|
|
@@ -18600,6 +19028,8 @@ exports.DeleteInsightsMutation = DeleteInsightsMutation;
|
|
|
18600
19028
|
exports.DeleteIntegrationMutation = DeleteIntegrationMutation;
|
|
18601
19029
|
exports.DeleteReportMutation = DeleteReportMutation;
|
|
18602
19030
|
exports.DeleteTableMutation = DeleteTableMutation;
|
|
19031
|
+
exports.DeleteUserSkillFileMutation = DeleteUserSkillFileMutation;
|
|
19032
|
+
exports.DeleteUserSkillFolderMutation = DeleteUserSkillFolderMutation;
|
|
18603
19033
|
exports.DevAccessTokenOutput = DevAccessTokenOutput;
|
|
18604
19034
|
exports.DexieLiveQueryRef = DexieLiveQueryRef;
|
|
18605
19035
|
exports.DisconnectIntegrationMutation = DisconnectIntegrationMutation;
|
|
@@ -18625,6 +19055,7 @@ exports.DocumentsQuery = DocumentsQuery;
|
|
|
18625
19055
|
exports.DvinaDatabase = DvinaDatabase;
|
|
18626
19056
|
exports.DvinaModel = DvinaModel;
|
|
18627
19057
|
exports.DvinaSdk = DvinaSdk;
|
|
19058
|
+
exports.ExecuteChatImportMutation = ExecuteChatImportMutation;
|
|
18628
19059
|
exports.ExportQuery = ExportQuery;
|
|
18629
19060
|
exports.ExportWithInsightIdQuery = ExportWithInsightIdQuery;
|
|
18630
19061
|
exports.Feedback = Feedback;
|
|
@@ -18652,6 +19083,7 @@ exports.GetTokenUsageStatus_Windows_DayQuery = GetTokenUsageStatus_Windows_DayQu
|
|
|
18652
19083
|
exports.GetTokenUsageStatus_Windows_FiveHourQuery = GetTokenUsageStatus_Windows_FiveHourQuery;
|
|
18653
19084
|
exports.GetTokenUsageStatus_Windows_WeekQuery = GetTokenUsageStatus_Windows_WeekQuery;
|
|
18654
19085
|
exports.GetUsageQuery = GetUsageQuery;
|
|
19086
|
+
exports.ImportedChatSummaryOutput = ImportedChatSummaryOutput;
|
|
18655
19087
|
exports.IndexContentObject = IndexContentObject;
|
|
18656
19088
|
exports.Insight = Insight;
|
|
18657
19089
|
exports.InsightConnection = InsightConnection;
|
|
@@ -18699,6 +19131,7 @@ exports.NotificationQuery = NotificationQuery;
|
|
|
18699
19131
|
exports.NotificationsByReferenceQuery = NotificationsByReferenceQuery;
|
|
18700
19132
|
exports.NotificationsQuery = NotificationsQuery;
|
|
18701
19133
|
exports.PRIMARY_KEY_CONFIG = PRIMARY_KEY_CONFIG;
|
|
19134
|
+
exports.PreviewChatImportMutation = PreviewChatImportMutation;
|
|
18702
19135
|
exports.PrivacyStats = PrivacyStats;
|
|
18703
19136
|
exports.PrivacyStatsQuery = PrivacyStatsQuery;
|
|
18704
19137
|
exports.PulseAppSummaryModel = PulseAppSummaryModel;
|
|
@@ -18779,9 +19212,19 @@ exports.UpdateInterpMutation = UpdateInterpMutation;
|
|
|
18779
19212
|
exports.UpdatePulseTriggerMutation = UpdatePulseTriggerMutation;
|
|
18780
19213
|
exports.UpdateReportMutation = UpdateReportMutation;
|
|
18781
19214
|
exports.UpdateTableMutation = UpdateTableMutation;
|
|
19215
|
+
exports.UpdateUserSkillFileMutation = UpdateUserSkillFileMutation;
|
|
19216
|
+
exports.UpdateUserSkillFolderMutation = UpdateUserSkillFolderMutation;
|
|
18782
19217
|
exports.UsageMetaOutput = UsageMetaOutput;
|
|
18783
19218
|
exports.UsageStatus = UsageStatus;
|
|
18784
19219
|
exports.UsageWindowsStatusType = UsageWindowsStatusType;
|
|
19220
|
+
exports.UserSkillFile = UserSkillFile;
|
|
19221
|
+
exports.UserSkillFileModel = UserSkillFileModel;
|
|
19222
|
+
exports.UserSkillFileQuery = UserSkillFileQuery;
|
|
19223
|
+
exports.UserSkillFilesQuery = UserSkillFilesQuery;
|
|
19224
|
+
exports.UserSkillFolder = UserSkillFolder;
|
|
19225
|
+
exports.UserSkillFolderModel = UserSkillFolderModel;
|
|
19226
|
+
exports.UserSkillFolderQuery = UserSkillFolderQuery;
|
|
19227
|
+
exports.UserSkillFoldersQuery = UserSkillFoldersQuery;
|
|
18785
19228
|
exports.WindowDetailType = WindowDetailType;
|
|
18786
19229
|
exports.WorkspaceDeleteSchedule = WorkspaceDeleteSchedule;
|
|
18787
19230
|
exports.WorkspaceDeletionScheduleQuery = WorkspaceDeletionScheduleQuery;
|
|
@@ -18795,5 +19238,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
|
|
|
18795
19238
|
exports.reconstructConnectionNodes = reconstructConnectionNodes;
|
|
18796
19239
|
exports.reconstructEntity = reconstructEntity;
|
|
18797
19240
|
exports.uploadFile = uploadFile;
|
|
18798
|
-
//# sourceMappingURL=chunk-
|
|
18799
|
-
//# sourceMappingURL=chunk-
|
|
19241
|
+
//# sourceMappingURL=chunk-LQFZEQHL.cjs.map
|
|
19242
|
+
//# sourceMappingURL=chunk-LQFZEQHL.cjs.map
|