@sunrise-upc/mobile-prod-card 7.2.2 → 8.0.1
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/LineCheckV3/LinecheckService.d.ts +1 -1
- package/dist/cjs/components/NewLineCheck/CoverageCheckUtils.d.ts +1 -1
- package/dist/cjs/components/StaticLineTable/StaticExclusiveBenefit.d.ts +4 -0
- package/dist/cjs/components/StaticLineTable/StaticProductDatatypes.d.ts +6 -0
- package/dist/cjs/components/StaticLineTable/WorldPassPopup.d.ts +9 -0
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/services/LineTableService.d.ts +2 -2
- package/dist/cjs/utils/constants.d.ts +6 -0
- package/dist/cjs/utils/utils.d.ts +1 -0
- package/dist/esm/components/LineCheckV3/LinecheckService.d.ts +1 -1
- package/dist/esm/components/NewLineCheck/CoverageCheckUtils.d.ts +1 -1
- package/dist/esm/components/StaticLineTable/StaticExclusiveBenefit.d.ts +4 -0
- package/dist/esm/components/StaticLineTable/StaticProductDatatypes.d.ts +6 -0
- package/dist/esm/components/StaticLineTable/WorldPassPopup.d.ts +9 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/services/LineTableService.d.ts +2 -2
- package/dist/esm/utils/constants.d.ts +6 -0
- package/dist/esm/utils/utils.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2,8 +2,8 @@ export declare const fetchCountryList: (name: string, lang: string, url: string,
|
|
|
2
2
|
export declare const fetchOfferingDataV2: (requestBody: any, url: any, returnPromo?: boolean) => Promise<any>;
|
|
3
3
|
export declare const createCartV2: (productData: any, radioValue: string, defaultPromo: string, cartUrl: string, productType: string, chooseGift?: any, enabledP2P?: any, P2PData?: any, isQoqaFlow?: boolean, qVoucher?: any, deviceDetails?: any, tvOptions?: any, discountRef?: string, discountVersion?: string) => Promise<any>;
|
|
4
4
|
export declare const fetchLinetableContent: (slugurl: string, params: any) => Promise<any>;
|
|
5
|
-
export declare const getStaticContent: (language: any, endPoints: any) =>
|
|
6
|
-
export declare const fetchOfferingDataLineTableV2: (params: any, uniqueId: any, endpoint: any, existingCustomer?: boolean, subscriptionType?: string, enableReturnPromo?: boolean, P2PEnabled?: boolean, pegaIntegration?: boolean) => Promise<any>;
|
|
5
|
+
export declare const getStaticContent: (language: any, endPoints: any) => any;
|
|
6
|
+
export declare const fetchOfferingDataLineTableV2: (params: any, uniqueId: any, endpoint: any, existingCustomer?: boolean, subscriptionType?: string, enableReturnPromo?: boolean, P2PEnabled?: boolean, pegaIntegration?: boolean, deviceUltimateBundle?: boolean) => Promise<any>;
|
|
7
7
|
export declare const fetchSubscriptionData: (category: any, endpoint: any) => Promise<any>;
|
|
8
8
|
export declare const getVocherPromotion: (productID: string, voucher: string) => Promise<void>;
|
|
9
9
|
export declare const validateP2P: (msisdn: any, endpoint: any) => Promise<any>;
|
|
@@ -30,6 +30,12 @@ export declare const HARDWARE = "HARDWARE";
|
|
|
30
30
|
export declare const DEFAULT_AVAILABILITY_TEXT = "dd_delivery_details";
|
|
31
31
|
export declare const DEVICE_INSURANCE = "DEVICE_INSURANCE";
|
|
32
32
|
export declare const NOT_AVAILABLE = "NOT_AVAILABLE";
|
|
33
|
+
export declare const EPIC_FLEX_UPGRADE_BENEFIT = "EPIC_FLEX_UPGRADE_BENEFIT";
|
|
34
|
+
export declare const FLEX_UPGRADE = "Flex Upgrade";
|
|
35
|
+
export declare const WP_FLEX_UPGRADE = "FLEX_UPGRADE";
|
|
36
|
+
export declare const WP_FLEX_UPGRADE_NOT = "FLEX_UPGRADE_NOT";
|
|
37
|
+
export declare const EXCLUSIVE_BENEFIT_COLOR = "#008187";
|
|
38
|
+
export declare const ULTIMATEBUNDLE = "ultimateBundle";
|
|
33
39
|
export declare const MOBILE = "mobile";
|
|
34
40
|
export declare const DESKTOP = "desktop";
|
|
35
41
|
export declare const LARGE_DESKTOP = "large-desktop";
|
|
@@ -15,3 +15,4 @@ export declare const isModemPresent: () => boolean;
|
|
|
15
15
|
export declare const iconHandler: (type: string) => string;
|
|
16
16
|
export declare const checkLinkWithLang: (url: string) => string | undefined;
|
|
17
17
|
export declare const getSBAssetUrl: (wafIdentifier: any, image?: string) => string;
|
|
18
|
+
export declare const getNoteValues: (hardwareProducts: any, key: string) => undefined;
|
|
@@ -5,7 +5,7 @@ export declare const fetchAddress: (address: any, controllerRef: any, setAddErr:
|
|
|
5
5
|
error: boolean;
|
|
6
6
|
abortError?: undefined;
|
|
7
7
|
} | undefined>;
|
|
8
|
-
export declare const getLineCheckService: (selectedAdd: any, setLcData: any, lcData: any) =>
|
|
8
|
+
export declare const getLineCheckService: (selectedAdd: any, setLcData: any, lcData: any) => any;
|
|
9
9
|
export declare const fetchLineCheck: (payload: any, setLcData: any, lcData: any) => Promise<{
|
|
10
10
|
corelationaId: any;
|
|
11
11
|
lineCheckResponse: any;
|
|
@@ -52,6 +52,7 @@ export interface StaticProductSchema {
|
|
|
52
52
|
lineCheckOnClear?: any;
|
|
53
53
|
pegaIntegration?: boolean;
|
|
54
54
|
isProdEnv?: boolean;
|
|
55
|
+
deviceUltimateBundle?: boolean;
|
|
55
56
|
toggleContent?: toggleContentSchema;
|
|
56
57
|
pricesToggleState?: boolean;
|
|
57
58
|
}
|
|
@@ -115,6 +116,9 @@ export interface StaticBenefitsSchema {
|
|
|
115
116
|
pricesToggleState?: boolean;
|
|
116
117
|
togglePriceLabel?: string;
|
|
117
118
|
}
|
|
119
|
+
export interface StaticExclusiveBenefitsSchema {
|
|
120
|
+
content: any;
|
|
121
|
+
}
|
|
118
122
|
export interface CheckoutButtonSchema {
|
|
119
123
|
isMobileFlow: boolean;
|
|
120
124
|
createCartCall: any;
|
|
@@ -126,6 +130,8 @@ export interface CheckoutButtonSchema {
|
|
|
126
130
|
deviceFlow?: any;
|
|
127
131
|
deviceFlowCallBack?: any;
|
|
128
132
|
alwaysActive?: boolean;
|
|
133
|
+
uniqueProductBenefits?: any;
|
|
134
|
+
flexUpgradeFreePopup: any;
|
|
129
135
|
}
|
|
130
136
|
export interface toggleContentSchema {
|
|
131
137
|
enableLoggedInPrice: string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface WorldPassPopupSchema {
|
|
3
|
+
storyContent: any;
|
|
4
|
+
createCartCall: () => void;
|
|
5
|
+
setShowFlexPopUp: (a: boolean) => void;
|
|
6
|
+
sessionFlexData: any;
|
|
7
|
+
}
|
|
8
|
+
declare const WorldPassPopup: FC<WorldPassPopupSchema>;
|
|
9
|
+
export default WorldPassPopup;
|