@aakash58/chatbot 1.1.14 → 1.1.16
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/fesm2022/aakash58-chatbot.mjs +88 -51
- package/fesm2022/aakash58-chatbot.mjs.map +1 -1
- package/index.d.ts +6 -10
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -34,11 +34,12 @@ declare class LoginRequest {
|
|
|
34
34
|
declare class DoohbotInput {
|
|
35
35
|
username: string;
|
|
36
36
|
password: string;
|
|
37
|
+
rememberMe?: boolean;
|
|
37
38
|
authToken?: string;
|
|
38
39
|
license?: string;
|
|
39
40
|
licenseCode?: string;
|
|
40
41
|
licenseKey?: string;
|
|
41
|
-
|
|
42
|
+
licenseFilePath?: string;
|
|
42
43
|
apiBaseUrl?: string;
|
|
43
44
|
apiSegment?: string;
|
|
44
45
|
tenancyName?: string;
|
|
@@ -219,11 +220,12 @@ declare class Doohbot extends DoohbotInput implements OnInit, OnDestroy {
|
|
|
219
220
|
chatWindowRef: ElementRef;
|
|
220
221
|
fullscreenDirective: FullscreenDirective;
|
|
221
222
|
constructor(elementRef: ElementRef, renderer: Renderer2);
|
|
222
|
-
ngOnInit(): void
|
|
223
|
+
ngOnInit(): Promise<void>;
|
|
224
|
+
private canAttemptFederatedLogin;
|
|
223
225
|
private initializeUI;
|
|
224
226
|
ngOnChanges(changes: SimpleChanges): void;
|
|
225
227
|
onNormalLogin(credentials: LoginRequest): void;
|
|
226
|
-
onFederatedLogin(token?: string): void
|
|
228
|
+
onFederatedLogin(token?: string): Promise<void>;
|
|
227
229
|
performLogout(): void;
|
|
228
230
|
toggleChat(): void;
|
|
229
231
|
sendMessage(text: string): Promise<void>;
|
|
@@ -272,12 +274,6 @@ declare const DoohbotConst: {
|
|
|
272
274
|
botAvatar: string;
|
|
273
275
|
};
|
|
274
276
|
|
|
275
|
-
interface TenantConfig {
|
|
276
|
-
id: string;
|
|
277
|
-
displayName: string;
|
|
278
|
-
config?: Partial<DoohbotInput>;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
277
|
interface DialogData {
|
|
282
278
|
title: string;
|
|
283
279
|
message: string;
|
|
@@ -376,4 +372,4 @@ declare class DropdownMenu implements AfterContentInit {
|
|
|
376
372
|
declare function provideDoohbot(): EnvironmentProviders;
|
|
377
373
|
|
|
378
374
|
export { Chips, DOOHBOT_API_CONFIG, DialogComponent, DialogService, Doohbot, DoohbotConst, DoohbotInput, DropdownMenu, MenuItem, SnackBar, provideDoohbot };
|
|
379
|
-
export type { DialogData, DoohbotApiConfig, DoohbotThemeConfig
|
|
375
|
+
export type { DialogData, DoohbotApiConfig, DoohbotThemeConfig };
|