@sunrise-upc/mobile-prod-card 6.0.0-beta.1 → 6.0.0
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/cjs/components/StaticLineTable/OttServiceOptions/OttServiceOptionsSmallPopup.d.ts +3 -0
- package/dist/cjs/components/StaticLineTable/Product.utils.d.ts +4 -2
- package/dist/cjs/components/StaticLineTable/StaticProductDatatypes.d.ts +9 -0
- package/dist/cjs/components/lineTable/lineTable.types.d.ts +13 -0
- package/dist/cjs/components/login/Login.types.d.ts +37 -2
- package/dist/cjs/components/login/LoginModalV2.d.ts +0 -1
- package/dist/cjs/components/login/MfaPhase2/DepricatingChannels.d.ts +3 -2
- package/dist/cjs/components/login/MfaPhase2/NewNumber.d.ts +3 -2
- package/dist/cjs/components/login/MfaPhase2/OtpValidation.d.ts +3 -2
- package/dist/cjs/components/login/MfaPhase2/ResetPwdModal.d.ts +3 -2
- package/dist/cjs/index.js +4 -2
- package/dist/cjs/models/Analytics/items.d.ts +1 -1
- package/dist/cjs/services/LineTableService.d.ts +3 -2
- package/dist/cjs/services/LoginServiceV2.d.ts +0 -6
- package/dist/cjs/services/api-constants.d.ts +2 -0
- package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsSmallPopup.d.ts +3 -0
- package/dist/esm/components/StaticLineTable/Product.utils.d.ts +4 -2
- package/dist/esm/components/StaticLineTable/StaticProductDatatypes.d.ts +9 -0
- package/dist/esm/components/lineTable/lineTable.types.d.ts +13 -0
- package/dist/esm/components/login/Login.types.d.ts +37 -2
- package/dist/esm/components/login/LoginModalV2.d.ts +0 -1
- package/dist/esm/components/login/MfaPhase2/DepricatingChannels.d.ts +3 -2
- package/dist/esm/components/login/MfaPhase2/NewNumber.d.ts +3 -2
- package/dist/esm/components/login/MfaPhase2/OtpValidation.d.ts +3 -2
- package/dist/esm/components/login/MfaPhase2/ResetPwdModal.d.ts +3 -2
- package/dist/esm/index.js +4 -2
- package/dist/esm/models/Analytics/items.d.ts +1 -1
- package/dist/esm/services/LineTableService.d.ts +3 -2
- package/dist/esm/services/LoginServiceV2.d.ts +0 -6
- package/dist/esm/services/api-constants.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/package.json +4 -1
- package/dist/cjs/components/login/MFA/MfaChannelSelection.d.ts +0 -3
- package/dist/cjs/components/login/MFA/MfaOtp.d.ts +0 -3
- package/dist/cjs/components/login/TemporaryPasswordV2.d.ts +0 -3
- package/dist/esm/components/login/MFA/MfaChannelSelection.d.ts +0 -3
- package/dist/esm/components/login/MFA/MfaOtp.d.ts +0 -3
- package/dist/esm/components/login/TemporaryPasswordV2.d.ts +0 -3
package/dist/cjs/components/StaticLineTable/OttServiceOptions/OttServiceOptionsSmallPopup.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const OttServiceOptionsPopup: ({ content, addOptionsCallBack, metadata, constants, mainContent, preSelectedOptions, optionsResponse, updateResponseList, showPrice, productData, offeringData, uniqueId, deviceFlow }: any) => JSX.Element;
|
|
3
|
+
export default OttServiceOptionsPopup;
|
|
@@ -1,12 +1,14 @@
|
|
|
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;
|
|
6
8
|
(arg0: boolean): void;
|
|
7
|
-
}, cartEndPoint: string, giftItem: any, uniqueProductData: any, mainContent: any, showPrice: any, isMobileFlow: boolean, radioValue: any, eligibleBundle: any, address: any, setShowLinecheck: any, showLinecheck: any, lineCheckCallBack: any, enableP2P: any, P2PData: any, content: any, tvOptions?: any) => any;
|
|
9
|
+
}, cartEndPoint: string, giftItem: any, uniqueProductData: any, mainContent: any, showPrice: any, isMobileFlow: boolean, radioValue: any, eligibleBundle: any, address: any, setShowLinecheck: any, showLinecheck: any, lineCheckCallBack: any, enableP2P: any, P2PData: any, content: any, tvOptions?: any, discountRef?: string) => any;
|
|
8
10
|
export declare const findHeight: (tabIndex: number, cardsLength: number) => void;
|
|
9
11
|
export declare const combineWithSmartPhone: (showPrice: any, storyContent: any, uniqueProductData: any, responseData?: any, product?: any) => void;
|
|
10
12
|
export declare const fetchServiceOptions: (entitlement: any, isMobileFlow: boolean) => any;
|
|
11
|
-
export declare const fetchPrice: (product: any, isMobileFlow: boolean, pageType?: string, isConfigurator?: boolean, tvOptions?: any[]) => any;
|
|
13
|
+
export declare const fetchPrice: (product: any, isMobileFlow: boolean, pageType?: string, isConfigurator?: boolean, tvOptions?: any[], pegaIntegration?: boolean) => any;
|
|
12
14
|
export declare const fetchFilteredProducts: (productList: any, toggleState: any) => any[];
|
|
@@ -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;
|
|
@@ -46,6 +49,7 @@ export interface StaticProductSchema {
|
|
|
46
49
|
selectedRP?: any;
|
|
47
50
|
continueCart?: any;
|
|
48
51
|
lineCheckOnClear?: any;
|
|
52
|
+
pegaIntegration?: boolean;
|
|
49
53
|
}
|
|
50
54
|
export interface DynamicPriceSchema {
|
|
51
55
|
priceCollection: any;
|
|
@@ -80,6 +84,11 @@ export interface StaticProductContainerSchema {
|
|
|
80
84
|
deviceFlowCallBack?: any;
|
|
81
85
|
ubRatePlanObj?: any;
|
|
82
86
|
lineCheckOnClear?: any;
|
|
87
|
+
pegaIntegration?: boolean;
|
|
88
|
+
pegaCustomerInterest?: string;
|
|
89
|
+
useStoryblokOrder?: boolean;
|
|
90
|
+
isFetching?: boolean;
|
|
91
|
+
setIsFetching?: any;
|
|
83
92
|
}
|
|
84
93
|
export interface StaticProductDetailsSchema {
|
|
85
94
|
content: any;
|
|
@@ -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;
|
|
@@ -7,7 +7,7 @@ export interface LoginModalSchema {
|
|
|
7
7
|
}
|
|
8
8
|
export interface LoginSchema {
|
|
9
9
|
content: any;
|
|
10
|
-
changeCurrentView: (
|
|
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: (
|
|
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,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
|
|
2
|
-
|
|
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
|
-
|
|
2
|
-
|
|
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
|
-
|
|
2
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ResetPwdSchema } from '../Login.types';
|
|
3
|
+
declare const ResetPwdModal: React.FC<ResetPwdSchema>;
|
|
3
4
|
export default ResetPwdModal;
|