minerva-plexus-csd 1.0.5 → 1.0.6

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/index.d.ts CHANGED
@@ -2,7 +2,6 @@ import { BackgroundGraphicMinerva } from 'minerva-components-library';
2
2
  import { default as default_2 } from 'react';
3
3
  import { default as i18n } from 'i18next';
4
4
  import { JSX as JSX_2 } from 'react/jsx-runtime';
5
- import * as React_2 from 'react';
6
5
  import { ReactNode } from 'react';
7
6
 
8
7
  export declare const ApiConfigProvider: ({ children, initialConfig, }: {
@@ -16,42 +15,6 @@ declare interface ApiConfigType {
16
15
  service?: string;
17
16
  }
18
17
 
19
- declare interface AuthContextType {
20
- isAuthenticated: boolean;
21
- loadingAuth: boolean;
22
- loadingData: boolean;
23
- login: (username: string, password: string) => Promise<void>;
24
- logout: () => void;
25
- isManualLogin: boolean;
26
- setIsManualLogin: React.Dispatch<React.SetStateAction<boolean>>;
27
- callbackUrl: string;
28
- tokenUrl: string;
29
- clientId: string;
30
- clientSecret: string;
31
- keycloakUrl: string;
32
- jwksUrl: string;
33
- isLoggingOut: boolean;
34
- updateAuth: () => Promise<void>;
35
- keycloakLogoutUrl: string;
36
- microsoftLogoutUrl: string;
37
- services: Service[];
38
- fetchServices: () => Promise<void>;
39
- loadingServices: boolean;
40
- loginRedirectPath: string;
41
- }
42
-
43
- export declare const AuthProvider: ({ children, callbackUrl, tokenUrl, clientId, clientSecret, keycloakUrl, keycloakLogoutUrl, microsoftLogoutUrl, loginRedirectPath, }: {
44
- children: ReactNode;
45
- callbackUrl: string;
46
- tokenUrl: string;
47
- clientId: string;
48
- clientSecret: string;
49
- keycloakUrl: string;
50
- keycloakLogoutUrl: string;
51
- microsoftLogoutUrl: string;
52
- loginRedirectPath?: string;
53
- }) => JSX_2.Element;
54
-
55
18
  declare interface AutoCreateConversationParams {
56
19
  enableAutoCreate: boolean;
57
20
  enableAutoCreateCsd: boolean;
@@ -63,8 +26,6 @@ declare interface AutoCreateConversationParams {
63
26
 
64
27
  export { BackgroundGraphicMinerva }
65
28
 
66
- export declare const CallbackPage: React.FC;
67
-
68
29
  export declare const ChatBoard: default_2.FC<ChatProps>;
69
30
 
70
31
  declare interface ChatProps {
@@ -129,26 +90,6 @@ export declare const getApiConfig: () => {
129
90
 
130
91
  export { i18n }
131
92
 
132
- export declare const Login: React_2.FC<LoginProps>;
133
-
134
- export declare const LoginLDAP: () => JSX_2.Element;
135
-
136
- export declare const LoginMixto: React_2.FC<LoginProps_2>;
137
-
138
- declare interface LoginProps {
139
- customLogo?: React_2.ReactNode;
140
- chatVersion?: string;
141
- miniVersionHeight?: string;
142
- miniVersionWidth?: string;
143
- className?: string;
144
- }
145
-
146
- declare interface LoginProps_2 {
147
- customLogo?: React_2.ReactNode;
148
- chatVersion?: string;
149
- className?: string;
150
- }
151
-
152
93
  export declare const MessageInteractionProvider: React.FC<{
153
94
  children: React.ReactNode;
154
95
  typeWritterSpeed: number;
@@ -289,18 +230,9 @@ export declare const minervaLocales: {
289
230
  };
290
231
  };
291
232
 
292
- declare interface Service {
293
- alias: string;
294
- service: string;
295
- }
296
-
297
233
  declare type ServiceContextType = {
298
234
  service: string;
299
235
  setService: (service: string) => void;
300
- availableServices: {
301
- alias: string;
302
- service: string;
303
- }[];
304
236
  };
305
237
 
306
238
  export declare const ServiceProvider: ({ children, usedService, }: {
@@ -320,10 +252,7 @@ export declare const setAssetsBasePath: (path: string) => void;
320
252
 
321
253
  export declare const useApiConfig: () => ApiConfigType;
322
254
 
323
- export declare const useAuth: () => AuthContextType;
324
-
325
255
  export declare const useAutoCreateConversation: ({ enableAutoCreate, enableAutoCreateCsd, addConversation, selectConversation, service, conversations, }: AutoCreateConversationParams) => {
326
- autoCreateConversation: () => Promise<void>;
327
256
  autoCreateConversationCsd: () => Promise<void>;
328
257
  };
329
258