@aakash58/chatbot 1.1.15 → 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/index.d.ts CHANGED
@@ -34,6 +34,7 @@ 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;
@@ -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, TenantConfig };
375
+ export type { DialogData, DoohbotApiConfig, DoohbotThemeConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aakash58/chatbot",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "multi tenancy chatbot",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.3.0",