@sunrise-upc/mobile-prod-card 6.0.0-beta.0 → 6.0.0-beta.2

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.
@@ -7,7 +7,7 @@ export interface LoginModalSchema {
7
7
  }
8
8
  export interface LoginSchema {
9
9
  content: any;
10
- changeCurrentView: (view: string, userID: string, otpUseCase: number, response?: any, password?: any) => void;
10
+ changeCurrentView: (userID: string, response?: any, password?: any) => void;
11
11
  metadata: any;
12
12
  onSuccess: () => void;
13
13
  loginIcons: any;
@@ -26,7 +26,7 @@ export declare interface LinkAttributes {
26
26
  }
27
27
  export interface Mfa {
28
28
  content: any;
29
- changeCurrentView: (view: string, userID: string, otpUseCase: number, response?: any, password?: string) => void;
29
+ changeCurrentView: (userID: string, response?: any, password?: string) => void;
30
30
  metadata: any;
31
31
  onSuccess: () => void;
32
32
  loginIcons: any;
@@ -34,3 +34,38 @@ export interface Mfa {
34
34
  password?: any;
35
35
  loginResponseMFA?: any;
36
36
  }
37
+ export interface DepricatingChannelSchema {
38
+ useCase: string;
39
+ mainContent: Record<string, any>;
40
+ changeCurrentView: (userID: string, response?: any, password?: any) => void;
41
+ response: Record<string, any>;
42
+ resetPwdSuccessContent: Record<string, any>;
43
+ loginIcons: any;
44
+ errorContent: Record<string, any>;
45
+ }
46
+ export interface OtpValidationScahema {
47
+ useCase: string;
48
+ mainContent: Record<string, any>;
49
+ response: Record<string, any>;
50
+ loginIcons: any;
51
+ errorContent: Record<string, any>;
52
+ changeCurrentView: (userID: string, response?: any, password?: any) => void;
53
+ onSuccess: () => void;
54
+ }
55
+ export interface NewNumberSchema {
56
+ useCase: string;
57
+ content: Record<string, any>;
58
+ changeCurrentView: (userID: string, response?: any, password?: any) => void;
59
+ metadata?: any;
60
+ userID?: string;
61
+ loginIcons: any;
62
+ response?: Record<string, any>;
63
+ errorContent: Record<string, any>;
64
+ }
65
+ export interface ResetPwdSchema {
66
+ content: Record<string, any>;
67
+ useCase: string;
68
+ loginIcons: any;
69
+ changeCurrentView: (userID: string, response?: any, password?: any) => void;
70
+ errorContent: Record<string, any>;
71
+ }
@@ -1,5 +1,4 @@
1
1
  import { FC } from 'react';
2
2
  import { LoginModalSchema } from './Login.types';
3
- import './Login.css';
4
3
  declare const LoginModal: FC<LoginModalSchema>;
5
4
  export default LoginModal;
@@ -1,3 +1,4 @@
1
- /// <reference types="react" />
2
- declare const DepricatingChannels: ({ useCase, mainContent, changeCurrentView, assets, response, resetPwdSuccessContent, loginIcons, errorContent }: any) => JSX.Element;
1
+ import React from 'react';
2
+ import { DepricatingChannelSchema } from '../Login.types';
3
+ declare const DepricatingChannels: React.FC<DepricatingChannelSchema>;
3
4
  export default DepricatingChannels;
@@ -1,3 +1,4 @@
1
- /// <reference types="react" />
2
- declare const NewNumber: ({ useCase, content, changeCurrentView, metadata, userID, loginIcons, response, errorContent }: any) => JSX.Element;
1
+ import React from 'react';
2
+ import { NewNumberSchema } from '../Login.types';
3
+ declare const NewNumber: React.FC<NewNumberSchema>;
3
4
  export default NewNumber;
@@ -1,3 +1,4 @@
1
- /// <reference types="react" />
2
- declare const OtpValidation: ({ useCase, mainContent, changeCurrentView, response, loginIcons, onSuccess, errorContent }: any) => JSX.Element;
1
+ import React from 'react';
2
+ import { OtpValidationScahema } from '../Login.types';
3
+ declare const OtpValidation: React.FC<OtpValidationScahema>;
3
4
  export default OtpValidation;
@@ -1,3 +1,4 @@
1
- /// <reference types="react" />
2
- declare const ResetPwdModal: ({ content, useCase, loginIcons, changeCurrentView, errorContent }: any) => JSX.Element;
1
+ import React from 'react';
2
+ import { ResetPwdSchema } from '../Login.types';
3
+ declare const ResetPwdModal: React.FC<ResetPwdSchema>;
3
4
  export default ResetPwdModal;