@resolveio/client-lib-core 21.6.20 → 21.6.22
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/package.json
CHANGED
|
@@ -60,6 +60,7 @@ declare class CoreService {
|
|
|
60
60
|
isInvalidSW: BehaviorSubject<boolean>;
|
|
61
61
|
environment: BehaviorSubject<any>;
|
|
62
62
|
client: BehaviorSubject<string>;
|
|
63
|
+
aiAssistantEnabled: BehaviorSubject<boolean>;
|
|
63
64
|
publicProgram: BehaviorSubject<boolean>;
|
|
64
65
|
navTabs: BehaviorSubject<any[]>;
|
|
65
66
|
tourStops: BehaviorSubject<IStepOption[]>;
|
|
@@ -76,6 +77,7 @@ declare class CoreService {
|
|
|
76
77
|
setIsInvalidSW(data: boolean): void;
|
|
77
78
|
setEnvironment(env: any): void;
|
|
78
79
|
setClient(client: any): void;
|
|
80
|
+
setAiAssistantEnabled(enabled: boolean): void;
|
|
79
81
|
setPublicProgram(publicProgram: any): void;
|
|
80
82
|
setNavTabs(navTabs: any): void;
|
|
81
83
|
setTourStops(tourStops: IStepOption[]): void;
|
|
@@ -1253,6 +1255,17 @@ type AiTerminalMessagePart = {
|
|
|
1253
1255
|
text: string;
|
|
1254
1256
|
route?: string;
|
|
1255
1257
|
};
|
|
1258
|
+
type AiTerminalPlanUpgradeCode = 'PLAN_UPGRADE_REQUIRED' | 'PLAN_ENTERPRISE_REQUIRED';
|
|
1259
|
+
type AiTerminalPlanUpgradeError = {
|
|
1260
|
+
code: AiTerminalPlanUpgradeCode;
|
|
1261
|
+
message: string;
|
|
1262
|
+
currentTier: string;
|
|
1263
|
+
requiredTier: string;
|
|
1264
|
+
reasons: string[];
|
|
1265
|
+
upgradeUrl: string;
|
|
1266
|
+
currentModuleCredits: number | null;
|
|
1267
|
+
requestedModuleCredits: number | null;
|
|
1268
|
+
};
|
|
1256
1269
|
declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
1257
1270
|
private terminal;
|
|
1258
1271
|
private services;
|
|
@@ -1286,6 +1299,7 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1286
1299
|
isDeployingLive: boolean;
|
|
1287
1300
|
isLoading: boolean;
|
|
1288
1301
|
errorMessage: string;
|
|
1302
|
+
planUpgradeError: AiTerminalPlanUpgradeError | null;
|
|
1289
1303
|
infoMessage: string;
|
|
1290
1304
|
editingConversationId: string;
|
|
1291
1305
|
editingTitle: string;
|
|
@@ -1388,6 +1402,8 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1388
1402
|
saveRename(conversation: AiTerminalConversationModel): Promise<void>;
|
|
1389
1403
|
deleteConversation(conversation: AiTerminalConversationModel): Promise<void>;
|
|
1390
1404
|
sendMessage(): Promise<void>;
|
|
1405
|
+
formatPlanTierLabel(value: string): string;
|
|
1406
|
+
activePlanUpgradeError(): AiTerminalPlanUpgradeError | null;
|
|
1391
1407
|
startNewConversation(): Promise<void>;
|
|
1392
1408
|
deployTest(): Promise<void>;
|
|
1393
1409
|
deployLive(): Promise<void>;
|
|
@@ -1559,6 +1575,14 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1559
1575
|
private resolveSupportTicketIssue;
|
|
1560
1576
|
private buildSupportTicketPayload;
|
|
1561
1577
|
private buildSupportTicketAiRecommendations;
|
|
1578
|
+
private setTerminalError;
|
|
1579
|
+
private extractPlanUpgradeError;
|
|
1580
|
+
private resolvePlanUpgradePayload;
|
|
1581
|
+
private normalizePlanUpgradeCode;
|
|
1582
|
+
private normalizePlanUpgradeReasons;
|
|
1583
|
+
private parseOptionalCount;
|
|
1584
|
+
private buildPlanUpgradeMessage;
|
|
1585
|
+
private parseJsonObject;
|
|
1562
1586
|
private truncateText;
|
|
1563
1587
|
private shouldLinkRoute;
|
|
1564
1588
|
private unsubscribeAll;
|
|
@@ -2253,7 +2277,7 @@ declare class AiTerminalModule {
|
|
|
2253
2277
|
}
|
|
2254
2278
|
|
|
2255
2279
|
declare function rioDatePickerConfigFactory(_account: AccountManagerService, _app: CoreService): {
|
|
2256
|
-
resolveFirstDayOfWeek: () => "
|
|
2280
|
+
resolveFirstDayOfWeek: () => "M" | "S";
|
|
2257
2281
|
resolveTimezone: () => any;
|
|
2258
2282
|
};
|
|
2259
2283
|
declare class CoreServicesModule {
|
|
@@ -3198,7 +3222,7 @@ interface CanComponentDeactivate {
|
|
|
3198
3222
|
canDeactivate: () => Observable<boolean> | Promise<boolean> | boolean;
|
|
3199
3223
|
}
|
|
3200
3224
|
declare class CanDeactivateGuard {
|
|
3201
|
-
canDeactivate(component: CanComponentDeactivate): boolean |
|
|
3225
|
+
canDeactivate(component: CanComponentDeactivate): boolean | Promise<boolean> | Observable<boolean>;
|
|
3202
3226
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanDeactivateGuard, never>;
|
|
3203
3227
|
static ɵprov: i0.ɵɵInjectableDeclaration<CanDeactivateGuard>;
|
|
3204
3228
|
}
|