@rlvt/intelligence-openapi-client 1.0.6 → 1.0.7
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/build/definitions.d.ts +114 -6
- package/build/definitions.js +19 -2
- package/package.json +1 -1
package/build/definitions.d.ts
CHANGED
|
@@ -93,6 +93,13 @@ export declare type AskToHuman = {
|
|
|
93
93
|
};
|
|
94
94
|
key: string;
|
|
95
95
|
};
|
|
96
|
+
pendingWriteBatch?: {
|
|
97
|
+
tool: string;
|
|
98
|
+
args: {
|
|
99
|
+
[key: string]: AnyValue;
|
|
100
|
+
};
|
|
101
|
+
key: string;
|
|
102
|
+
}[];
|
|
96
103
|
confirmation?: boolean;
|
|
97
104
|
returnTo?: string;
|
|
98
105
|
kind?: "human-blocking" | "agent-answerable";
|
|
@@ -129,6 +136,47 @@ export declare type CaseState = {
|
|
|
129
136
|
turnBudget: number;
|
|
130
137
|
costUsd?: number;
|
|
131
138
|
approvedWriteScopes?: string[];
|
|
139
|
+
executedWriteCache?: {
|
|
140
|
+
tool: string;
|
|
141
|
+
key: string;
|
|
142
|
+
args: {
|
|
143
|
+
[key: string]: AnyValue;
|
|
144
|
+
};
|
|
145
|
+
scopes: string[];
|
|
146
|
+
resultText: string;
|
|
147
|
+
cachedAtTurn: number;
|
|
148
|
+
}[];
|
|
149
|
+
artifacts?: {
|
|
150
|
+
contentIds?: string[];
|
|
151
|
+
workflowIds?: string[];
|
|
152
|
+
sessionIds?: string[];
|
|
153
|
+
};
|
|
154
|
+
datasourceFacts?: {
|
|
155
|
+
tables: {
|
|
156
|
+
name: string;
|
|
157
|
+
datasourceId?: string;
|
|
158
|
+
columns: {
|
|
159
|
+
name: string;
|
|
160
|
+
type?: string;
|
|
161
|
+
}[];
|
|
162
|
+
sampledValues?: {
|
|
163
|
+
[key: string]: string[];
|
|
164
|
+
};
|
|
165
|
+
relations?: {
|
|
166
|
+
from: string;
|
|
167
|
+
to: string;
|
|
168
|
+
via?: string;
|
|
169
|
+
}[];
|
|
170
|
+
}[];
|
|
171
|
+
chosenUseCase?: string;
|
|
172
|
+
entrypointTypes?: string[];
|
|
173
|
+
};
|
|
174
|
+
channelUi?: {
|
|
175
|
+
slack?: {
|
|
176
|
+
approvalMessageTs?: string;
|
|
177
|
+
processedMessageIds?: string[];
|
|
178
|
+
};
|
|
179
|
+
};
|
|
132
180
|
pendingBuild?: PendingBuild;
|
|
133
181
|
openHandoff?: HandoffContract & {
|
|
134
182
|
issuedBy: string;
|
|
@@ -170,6 +218,13 @@ export declare type AskToHuman_Without_Turn = {
|
|
|
170
218
|
};
|
|
171
219
|
key: string;
|
|
172
220
|
};
|
|
221
|
+
pendingWriteBatch?: {
|
|
222
|
+
tool: string;
|
|
223
|
+
args: {
|
|
224
|
+
[key: string]: AnyValue;
|
|
225
|
+
};
|
|
226
|
+
key: string;
|
|
227
|
+
}[];
|
|
173
228
|
confirmation?: boolean;
|
|
174
229
|
returnTo?: string;
|
|
175
230
|
options?: string[];
|
|
@@ -258,6 +313,52 @@ export declare enum AnalysisReportGenerationKind {
|
|
|
258
313
|
INITIAL = "initial",
|
|
259
314
|
"FOLLOW-UP" = "follow-up"
|
|
260
315
|
}
|
|
316
|
+
export declare enum AnalysisReportActorType {
|
|
317
|
+
USER = "user",
|
|
318
|
+
PLATFORM = "platform",
|
|
319
|
+
UNKNOWN = "unknown"
|
|
320
|
+
}
|
|
321
|
+
export declare type AnalysisReportActor_Without_UserId = {
|
|
322
|
+
type: AnalysisReportActorType;
|
|
323
|
+
};
|
|
324
|
+
export declare enum AnalysisReportCadence {
|
|
325
|
+
MONTHLY = "monthly",
|
|
326
|
+
QUARTERLY = "quarterly",
|
|
327
|
+
YEARLY = "yearly"
|
|
328
|
+
}
|
|
329
|
+
export declare type AnalysisReportDateWindow = {
|
|
330
|
+
start: string;
|
|
331
|
+
end: string;
|
|
332
|
+
};
|
|
333
|
+
export declare type AnalysisReportComparisonWindows = {
|
|
334
|
+
previousPeriod: AnalysisReportDateWindow;
|
|
335
|
+
previousYear?: AnalysisReportDateWindow;
|
|
336
|
+
};
|
|
337
|
+
export declare type AnalysisReportPeriod = {
|
|
338
|
+
key: string;
|
|
339
|
+
start: string;
|
|
340
|
+
end: string;
|
|
341
|
+
timezone: string;
|
|
342
|
+
comparisonWindows: AnalysisReportComparisonWindows;
|
|
343
|
+
};
|
|
344
|
+
export declare enum AnalysisReportPromptSource {
|
|
345
|
+
"PLATFORM-DEFAULT" = "platform-default",
|
|
346
|
+
"COMPANY-CUSTOM" = "company-custom"
|
|
347
|
+
}
|
|
348
|
+
export declare type AnalysisReportPromptSnapshot = {
|
|
349
|
+
templateKey: string;
|
|
350
|
+
defaultVersion: number;
|
|
351
|
+
settingsRevision: number;
|
|
352
|
+
locale: string;
|
|
353
|
+
source: AnalysisReportPromptSource;
|
|
354
|
+
text: string;
|
|
355
|
+
};
|
|
356
|
+
export declare type AnalysisReportAutomatic_Without_SettingsId_SupersedesReportId_With_Slug_Cadence_Period_PromptSnapshot = {
|
|
357
|
+
slug: string;
|
|
358
|
+
cadence: AnalysisReportCadence;
|
|
359
|
+
period: AnalysisReportPeriod;
|
|
360
|
+
promptSnapshot: AnalysisReportPromptSnapshot;
|
|
361
|
+
};
|
|
261
362
|
export declare enum AnalysisReportGuidedAnalysis {
|
|
262
363
|
IMPACT = "impact",
|
|
263
364
|
REVENUE = "revenue",
|
|
@@ -285,11 +386,6 @@ export declare type AnalysisReportContext = {
|
|
|
285
386
|
filters: BinaryFilter[];
|
|
286
387
|
timeDimensions: ((TimeDimensionBase & TimeDimensionComparisonFields) | (TimeDimensionBase & TimeDimensionRangedFields))[];
|
|
287
388
|
};
|
|
288
|
-
export declare type AnalysisReportSection_With_Name_Question_Id = {
|
|
289
|
-
name: string;
|
|
290
|
-
question: string;
|
|
291
|
-
id: string;
|
|
292
|
-
};
|
|
293
389
|
export declare type AnalysisReportGenerationPolicy = {
|
|
294
390
|
maxQueries: number;
|
|
295
391
|
maxRowsPerQuery: number;
|
|
@@ -302,14 +398,26 @@ export declare type AnalysisReportGenerationPolicy = {
|
|
|
302
398
|
export declare type AnalysisReportGenerationRequest = {
|
|
303
399
|
reportId: string;
|
|
304
400
|
generationId: string;
|
|
401
|
+
executionId: string;
|
|
402
|
+
deadlineAt: string;
|
|
305
403
|
sectionId: string;
|
|
306
404
|
idempotencyKey: string;
|
|
307
405
|
kind: AnalysisReportGenerationKind;
|
|
308
406
|
question: string;
|
|
407
|
+
requestedBy: AnalysisReportActor_Without_UserId & {
|
|
408
|
+
userId?: string;
|
|
409
|
+
};
|
|
410
|
+
automatic?: AnalysisReportAutomatic_Without_SettingsId_SupersedesReportId_With_Slug_Cadence_Period_PromptSnapshot & {
|
|
411
|
+
settingsId: string;
|
|
412
|
+
};
|
|
309
413
|
title?: string;
|
|
310
414
|
guidedAnalysis?: AnalysisReportGuidedAnalysis;
|
|
311
415
|
context: AnalysisReportContext;
|
|
312
|
-
previousSections: (
|
|
416
|
+
previousSections: ({
|
|
417
|
+
name: string;
|
|
418
|
+
question: string;
|
|
419
|
+
id: string;
|
|
420
|
+
} & {
|
|
313
421
|
evidenceIds: string[];
|
|
314
422
|
})[];
|
|
315
423
|
generationPolicy: AnalysisReportGenerationPolicy;
|
package/build/definitions.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.AnalysisReportGuidedAnalysis = exports.AnalysisReportGenerationKind = exports.SessionStatus = exports.SessionSurface = void 0;
|
|
5
|
+
exports.AnalysisReportGuidedAnalysis = exports.AnalysisReportPromptSource = exports.AnalysisReportCadence = exports.AnalysisReportActorType = exports.AnalysisReportGenerationKind = exports.SessionStatus = exports.SessionSurface = void 0;
|
|
6
6
|
var SessionSurface;
|
|
7
7
|
(function (SessionSurface) {
|
|
8
8
|
SessionSurface["MCP"] = "mcp";
|
|
@@ -23,6 +23,23 @@ var AnalysisReportGenerationKind;
|
|
|
23
23
|
AnalysisReportGenerationKind["INITIAL"] = "initial";
|
|
24
24
|
AnalysisReportGenerationKind["FOLLOW-UP"] = "follow-up";
|
|
25
25
|
})(AnalysisReportGenerationKind = exports.AnalysisReportGenerationKind || (exports.AnalysisReportGenerationKind = {}));
|
|
26
|
+
var AnalysisReportActorType;
|
|
27
|
+
(function (AnalysisReportActorType) {
|
|
28
|
+
AnalysisReportActorType["USER"] = "user";
|
|
29
|
+
AnalysisReportActorType["PLATFORM"] = "platform";
|
|
30
|
+
AnalysisReportActorType["UNKNOWN"] = "unknown";
|
|
31
|
+
})(AnalysisReportActorType = exports.AnalysisReportActorType || (exports.AnalysisReportActorType = {}));
|
|
32
|
+
var AnalysisReportCadence;
|
|
33
|
+
(function (AnalysisReportCadence) {
|
|
34
|
+
AnalysisReportCadence["MONTHLY"] = "monthly";
|
|
35
|
+
AnalysisReportCadence["QUARTERLY"] = "quarterly";
|
|
36
|
+
AnalysisReportCadence["YEARLY"] = "yearly";
|
|
37
|
+
})(AnalysisReportCadence = exports.AnalysisReportCadence || (exports.AnalysisReportCadence = {}));
|
|
38
|
+
var AnalysisReportPromptSource;
|
|
39
|
+
(function (AnalysisReportPromptSource) {
|
|
40
|
+
AnalysisReportPromptSource["PLATFORM-DEFAULT"] = "platform-default";
|
|
41
|
+
AnalysisReportPromptSource["COMPANY-CUSTOM"] = "company-custom";
|
|
42
|
+
})(AnalysisReportPromptSource = exports.AnalysisReportPromptSource || (exports.AnalysisReportPromptSource = {}));
|
|
26
43
|
var AnalysisReportGuidedAnalysis;
|
|
27
44
|
(function (AnalysisReportGuidedAnalysis) {
|
|
28
45
|
AnalysisReportGuidedAnalysis["IMPACT"] = "impact";
|
|
@@ -30,4 +47,4 @@ var AnalysisReportGuidedAnalysis;
|
|
|
30
47
|
AnalysisReportGuidedAnalysis["ENGAGEMENT"] = "engagement";
|
|
31
48
|
AnalysisReportGuidedAnalysis["RETENTION"] = "retention";
|
|
32
49
|
})(AnalysisReportGuidedAnalysis = exports.AnalysisReportGuidedAnalysis || (exports.AnalysisReportGuidedAnalysis = {}));
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBRXBCLElBQVksY0FLWDtBQUxELFdBQVksY0FBYztJQUN0Qiw2QkFBVyxDQUFBO0lBQ1gsaUNBQWUsQ0FBQTtJQUNmLGlDQUFlLENBQUE7SUFDZix1Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBTFcsY0FBYyxHQUFkLHNCQUFjLEtBQWQsc0JBQWMsUUFLekI7QUFFRCxJQUFZLGFBTVg7QUFORCxXQUFZLGFBQWE7SUFDckIsOEJBQWEsQ0FBQTtJQUNiLHNDQUFxQixDQUFBO0lBQ3JCLDRDQUE2QixDQUFBO0lBQzdCLG9EQUFxQyxDQUFBO0lBQ3JDLGtDQUFpQixDQUFBO0FBQ3JCLENBQUMsRUFOVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQU14QjtBQTZTRCxJQUFZLDRCQUdYO0FBSEQsV0FBWSw0QkFBNEI7SUFDcEMsbURBQW1CLENBQUE7SUFDbkIsdURBQXlCLENBQUE7QUFDN0IsQ0FBQyxFQUhXLDRCQUE0QixHQUE1QixvQ0FBNEIsS0FBNUIsb0NBQTRCLFFBR3ZDO0FBRUQsSUFBWSx1QkFJWDtBQUpELFdBQVksdUJBQXVCO0lBQy9CLHdDQUFhLENBQUE7SUFDYixnREFBcUIsQ0FBQTtJQUNyQiw4Q0FBbUIsQ0FBQTtBQUN2QixDQUFDLEVBSlcsdUJBQXVCLEdBQXZCLCtCQUF1QixLQUF2QiwrQkFBdUIsUUFJbEM7QUFNRCxJQUFZLHFCQUlYO0FBSkQsV0FBWSxxQkFBcUI7SUFDN0IsNENBQW1CLENBQUE7SUFDbkIsZ0RBQXVCLENBQUE7SUFDdkIsMENBQWlCLENBQUE7QUFDckIsQ0FBQyxFQUpXLHFCQUFxQixHQUFyQiw2QkFBcUIsS0FBckIsNkJBQXFCLFFBSWhDO0FBa0JELElBQVksMEJBR1g7QUFIRCxXQUFZLDBCQUEwQjtJQUNsQyxtRUFBdUMsQ0FBQTtJQUN2QywrREFBbUMsQ0FBQTtBQUN2QyxDQUFDLEVBSFcsMEJBQTBCLEdBQTFCLGtDQUEwQixLQUExQixrQ0FBMEIsUUFHckM7QUFpQkQsSUFBWSw0QkFLWDtBQUxELFdBQVksNEJBQTRCO0lBQ3BDLGlEQUFpQixDQUFBO0lBQ2pCLG1EQUFtQixDQUFBO0lBQ25CLHlEQUF5QixDQUFBO0lBQ3pCLHVEQUF1QixDQUFBO0FBQzNCLENBQUMsRUFMVyw0QkFBNEIsR0FBNUIsb0NBQTRCLEtBQTVCLG9DQUE0QixRQUt2QyJ9
|
package/package.json
CHANGED