@sunrise-upc/mobile-prod-card 4.7.8 → 4.8.1-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/Analytics/AnalyticsConstants.d.ts +27 -0
- package/dist/cjs/components/ReactInputSelect/ReactInputSelect.d.ts +3 -0
- package/dist/cjs/components/StaticLineTable/Product.utils.d.ts +2 -0
- package/dist/cjs/components/StaticLineTable/StaticProductDatatypes.d.ts +8 -0
- package/dist/cjs/components/index.d.ts +1 -1
- package/dist/cjs/components/lineTable/lineTable.types.d.ts +13 -0
- package/dist/cjs/components/login/Login.types.d.ts +27 -5
- package/dist/cjs/components/login/LoginModalV2.d.ts +5 -0
- package/dist/cjs/components/login/LoginV2.d.ts +4 -0
- package/dist/cjs/components/login/MFA/MfaChannelSelection.d.ts +3 -0
- package/dist/cjs/components/login/MFA/MfaOtp.d.ts +3 -0
- package/dist/cjs/components/login/TemporaryPasswordV2.d.ts +3 -0
- package/dist/cjs/components/login/index.d.ts +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/services/LineTableService.d.ts +2 -1
- package/dist/cjs/services/LoginBasicPropConfig.d.ts +16 -0
- package/dist/cjs/services/LoginServiceV2.d.ts +35 -0
- package/dist/cjs/services/api-constants.d.ts +2 -0
- package/dist/cjs/services/index.d.ts +1 -0
- package/dist/cjs/utils/AnalyticsUtils.d.ts +11 -1
- package/dist/cjs/utils/constants.d.ts +2 -0
- package/dist/esm/Analytics/AnalyticsConstants.d.ts +27 -0
- package/dist/esm/components/ReactInputSelect/ReactInputSelect.d.ts +3 -0
- package/dist/esm/components/StaticLineTable/Product.utils.d.ts +2 -0
- package/dist/esm/components/StaticLineTable/StaticProductDatatypes.d.ts +8 -0
- package/dist/esm/components/index.d.ts +1 -1
- package/dist/esm/components/lineTable/lineTable.types.d.ts +13 -0
- package/dist/esm/components/login/Login.types.d.ts +27 -5
- package/dist/esm/components/login/LoginModalV2.d.ts +5 -0
- package/dist/esm/components/login/LoginV2.d.ts +4 -0
- package/dist/esm/components/login/MFA/MfaChannelSelection.d.ts +3 -0
- package/dist/esm/components/login/MFA/MfaOtp.d.ts +3 -0
- package/dist/esm/components/login/TemporaryPasswordV2.d.ts +3 -0
- package/dist/esm/components/login/index.d.ts +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/services/LineTableService.d.ts +2 -1
- package/dist/esm/services/LoginBasicPropConfig.d.ts +16 -0
- package/dist/esm/services/LoginServiceV2.d.ts +35 -0
- package/dist/esm/services/api-constants.d.ts +2 -0
- package/dist/esm/services/index.d.ts +1 -0
- package/dist/esm/utils/AnalyticsUtils.d.ts +11 -1
- package/dist/esm/utils/constants.d.ts +2 -0
- package/dist/index.d.ts +27 -4
- package/package.json +5 -2
- package/dist/cjs/components/login/LoginModal.d.ts +0 -5
- package/dist/esm/components/login/LoginModal.d.ts +0 -5
@@ -32,6 +32,33 @@ export declare const ERRORMESSAGE = "Missing or Invalid Error";
|
|
32
32
|
export declare const ERRORTYPE = "error";
|
33
33
|
export declare const FIXNET = "fixnet";
|
34
34
|
export declare const AUTHCOOKIE = "sunriseAuth";
|
35
|
+
export declare const ERROR = "error";
|
36
|
+
export declare const LOGIN = "login";
|
37
|
+
export declare const LOGINSUCCESSFUL = "loginSuccessful";
|
38
|
+
export declare const PASSWORD = "Password";
|
39
|
+
export declare const PASSWORDSUCCESSFUL = "success via password";
|
40
|
+
export declare const REMMSELECTED = "Remember me | Selected";
|
41
|
+
export declare const REMMNOTSELECTED = "Remember me | not selected";
|
42
|
+
export declare const PASSWORDUNSUCCESSFUL = "unSuccess via password";
|
43
|
+
export declare const LOGINERROR = "LoginError";
|
44
|
+
export declare const SUCCESSFULL = "successful";
|
45
|
+
export declare const LOGINUNSUCCESSFUL = "loginUnSuccessful";
|
46
|
+
export declare const FAILED = "failed";
|
47
|
+
export declare const GETTEMPCODE = "get_temporary_code";
|
48
|
+
export declare const LOGINUSERVERIFIED = "userVerified";
|
49
|
+
export declare const SUCCESSFUL = "success";
|
50
|
+
export declare const LOGINUSERNOTVERIFIED = "userNotVerified";
|
51
|
+
export declare const UNSUCCESSFUL = "unSuccess";
|
52
|
+
export declare const OTP = "Enter the temporary code";
|
53
|
+
export declare const CHANNELSELECTION = "Get a temporary code via SMS/Email";
|
54
|
+
export declare const VIA = "via";
|
55
|
+
export declare const SENDOTP = "send_otp";
|
56
|
+
export declare const OTPLOGINSUCCESS = "otp_login_success";
|
57
|
+
export declare const OTPLOGINFAIL = "otp_login_fail";
|
58
|
+
export declare const VEIW = "view";
|
59
|
+
export declare const MTAN = "MTAN";
|
60
|
+
export declare const LOGINNEXT = "Next";
|
61
|
+
export declare const TEMPCODENEXT = "Login Get a temporary code";
|
35
62
|
export declare const EXISTINGCUSTOMER = "existing-customer";
|
36
63
|
export declare const NEWCUSTOMER = "new-customer";
|
37
64
|
export declare const DEFAULT = "default";
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import { SetStateAction } from 'react';
|
2
|
+
import { PegaProductRequestBase } from '../lineTable/lineTable.types';
|
2
3
|
export declare const fetchStaticProductIds: (productList: any, productId: any, bundle4PProduct?: boolean, tvOptionIds?: any) => any;
|
4
|
+
export declare const fetchPegaProducts: (content: any, pegaCustomerInterest?: string, placements?: string) => PegaProductRequestBase;
|
3
5
|
export declare const checkGiftOrCashback: (data: any) => any;
|
4
6
|
export declare const staticCreateCart: (setShowLoader: {
|
5
7
|
(value: SetStateAction<boolean>): void;
|
@@ -15,6 +15,9 @@ export interface StaticLinetableSchema {
|
|
15
15
|
deviceFlowCallBack?: any;
|
16
16
|
ubRatePlanObj?: any;
|
17
17
|
lineCheckOnClear?: any;
|
18
|
+
pegaIntegration?: boolean;
|
19
|
+
pegaCustomerInterest?: string;
|
20
|
+
useStoryblokOrder?: boolean;
|
18
21
|
}
|
19
22
|
export interface StaticProductSchema {
|
20
23
|
content: any;
|
@@ -77,6 +80,11 @@ export interface StaticProductContainerSchema {
|
|
77
80
|
deviceFlowCallBack?: any;
|
78
81
|
ubRatePlanObj?: any;
|
79
82
|
lineCheckOnClear?: any;
|
83
|
+
pegaIntegration?: boolean;
|
84
|
+
pegaCustomerInterest?: string;
|
85
|
+
useStoryblokOrder?: boolean;
|
86
|
+
isFetching?: boolean;
|
87
|
+
setIsFetching?: any;
|
80
88
|
}
|
81
89
|
export interface StaticProductDetailsSchema {
|
82
90
|
content: any;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export { default as Button } from './button';
|
2
|
-
export { default as
|
2
|
+
export { default as LoginModalV2 } from './login';
|
3
3
|
export { default as Card } from './CardComp';
|
4
4
|
export { default as CardEntitlement } from './CardEntitlement';
|
5
5
|
export { default as CarouselComp } from './CarouselComp';
|
@@ -13,6 +13,19 @@ export interface ProductRequestBase {
|
|
13
13
|
checkVoucher?: boolean;
|
14
14
|
promoIds: string[];
|
15
15
|
}
|
16
|
+
export interface OfferValidation {
|
17
|
+
key: string;
|
18
|
+
type: string;
|
19
|
+
value: string;
|
20
|
+
}
|
21
|
+
export interface AtlOffer {
|
22
|
+
index?: number;
|
23
|
+
placements?: string;
|
24
|
+
offerValidations: OfferValidation[];
|
25
|
+
}
|
26
|
+
export interface PegaProductRequestBase {
|
27
|
+
atlOffers: AtlOffer[];
|
28
|
+
}
|
16
29
|
export interface ProductContainerSchema extends ProductTableSchema {
|
17
30
|
activeIndex: any;
|
18
31
|
sbStaticConstants: any;
|
@@ -1,12 +1,34 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
export interface LoginModalSchema {
|
2
|
+
content: any;
|
3
|
+
closeLogin: () => void;
|
4
|
+
metadata: any;
|
5
|
+
onSuccess: () => void;
|
4
6
|
}
|
5
|
-
export
|
6
|
-
|
7
|
+
export interface LoginSchema {
|
8
|
+
content: any;
|
9
|
+
changeCurrentView: (view: string, userID: string, otpUseCase: number, response?: any, password?: any) => void;
|
10
|
+
metadata: any;
|
11
|
+
onSuccess: () => void;
|
12
|
+
loginIcons: any;
|
13
|
+
userID?: any;
|
14
|
+
password?: any;
|
15
|
+
otpUseCase?: any;
|
16
|
+
}
|
17
|
+
export type LinkTarget = '_self' | '_blank' | null;
|
18
|
+
export type LinkType = 'url' | 'story' | 'asset' | 'email';
|
7
19
|
export declare interface LinkAttributes {
|
8
20
|
href: string;
|
9
21
|
uuid: string | null;
|
10
22
|
target: LinkTarget;
|
11
23
|
linktype: LinkType;
|
12
24
|
}
|
25
|
+
export interface Mfa {
|
26
|
+
content: any;
|
27
|
+
changeCurrentView: (view: string, userID: string, otpUseCase: number, response?: any, password?: string) => void;
|
28
|
+
metadata: any;
|
29
|
+
onSuccess: () => void;
|
30
|
+
loginIcons: any;
|
31
|
+
userID?: any;
|
32
|
+
password?: any;
|
33
|
+
loginResponseMFA?: any;
|
34
|
+
}
|
@@ -1 +1 @@
|
|
1
|
-
export { default } from './
|
1
|
+
export { default } from './LoginModalV2';
|