@sunrise-upc/mobile-prod-card 4.4.0 → 4.4.1-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/components/FalconButtonV2/FalconButtonV2.d.ts +3 -0
- package/dist/cjs/components/UltimateBundleLinetable/CheckoutRedirectionPopup/checkoutRedirectionPopup.d.ts +11 -0
- package/dist/cjs/components/UltimateBundleLinetable/DpTableDeviceSection/DpTableDeviceSection.d.ts +3 -0
- package/dist/cjs/components/UltimateBundleLinetable/DpTableFlexSection/DpTableFlexSection.d.ts +3 -0
- package/dist/cjs/components/UltimateBundleLinetable/DpTableMobileSection/DpTableMobileSection.d.ts +3 -0
- package/dist/cjs/components/UltimateBundleLinetable/DpTableUtils.d.ts +44 -0
- package/dist/cjs/components/UltimateBundleLinetable/UbTabContainer.d.ts +3 -0
- package/dist/cjs/components/UltimateBundleLinetable/UltimateBundleLinetableContainer.d.ts +3 -0
- package/dist/cjs/components/UltimateBundleLinetable/UltimateBundleProduct.d.ts +3 -0
- package/dist/cjs/components/UltimateBundleLinetable/index.d.ts +1 -0
- package/dist/cjs/components/index.d.ts +1 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/services/LineTableService.d.ts +4 -2
- package/dist/cjs/services/api-constants.d.ts +2 -0
- package/dist/cjs/utils/constants.d.ts +12 -0
- package/dist/esm/components/FalconButtonV2/FalconButtonV2.d.ts +3 -0
- package/dist/esm/components/UltimateBundleLinetable/CheckoutRedirectionPopup/checkoutRedirectionPopup.d.ts +11 -0
- package/dist/esm/components/UltimateBundleLinetable/DpTableDeviceSection/DpTableDeviceSection.d.ts +3 -0
- package/dist/esm/components/UltimateBundleLinetable/DpTableFlexSection/DpTableFlexSection.d.ts +3 -0
- package/dist/esm/components/UltimateBundleLinetable/DpTableMobileSection/DpTableMobileSection.d.ts +3 -0
- package/dist/esm/components/UltimateBundleLinetable/DpTableUtils.d.ts +44 -0
- package/dist/esm/components/UltimateBundleLinetable/UbTabContainer.d.ts +3 -0
- package/dist/esm/components/UltimateBundleLinetable/UltimateBundleLinetableContainer.d.ts +3 -0
- package/dist/esm/components/UltimateBundleLinetable/UltimateBundleProduct.d.ts +3 -0
- package/dist/esm/components/UltimateBundleLinetable/index.d.ts +1 -0
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/services/LineTableService.d.ts +4 -2
- package/dist/esm/services/api-constants.d.ts +2 -0
- package/dist/esm/utils/constants.d.ts +12 -0
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
@@ -1,9 +1,11 @@
|
|
1
1
|
export declare const fetchCountryList: (name: string, lang: string, url: string, TTL: number) => Promise<any>;
|
2
|
-
export declare const fetchOfferingDataV2: (
|
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) => Promise<any>;
|
2
|
+
export declare const fetchOfferingDataV2: (requestBody: any, url: any, returnPromo?: boolean) => Promise<any>;
|
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) => Promise<any>;
|
4
4
|
export declare const fetchLinetableContent: (slugurl: string, params: any) => Promise<any>;
|
5
5
|
export declare const getStaticContent: (language: any, endPoints: any) => Promise<any>;
|
6
6
|
export declare const fetchOfferingDataLineTableV2: (params: any, uniqueId: any, endpoint: any, existingCustomer?: boolean, subscriptionType?: string, enableReturnPromo?: boolean, P2PEnabled?: 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>;
|
10
|
+
export declare const getDeviceDetails: (deviceID: any, endpoint: any) => Promise<any>;
|
11
|
+
export declare const getDeviceModelsList: (brandId: any, endpoint: any) => Promise<any>;
|
@@ -17,6 +17,18 @@ export declare const VCTYPE = "vctype";
|
|
17
17
|
export declare const VOUCHER = "voucher";
|
18
18
|
export declare const VOUCHERTYPE = "voucherType";
|
19
19
|
export declare const VOUCHERCODE = "voucherCode";
|
20
|
+
export declare const AFTER = "after";
|
21
|
+
export declare const BEFORE = "before";
|
22
|
+
export declare const SMARTPHONEDEVICE = "smartphone";
|
23
|
+
export declare const ONE_ECOMMERCE_HARDWARE_SUMMARY = "one-ecommerce-hardwareSummary";
|
24
|
+
export declare const BASE_PRICE = "basePrice";
|
25
|
+
export declare const INSTALLMENTS = "installments";
|
26
|
+
export declare const SMARTUPGRADEINSTALLMENTS = "smartUpgradeInstallments";
|
27
|
+
export declare const BASE = "BASE";
|
28
|
+
export declare const CONTRACT = "CONTRACT";
|
29
|
+
export declare const HARDWARE = "HARDWARE";
|
30
|
+
export declare const DEFAULT_AVAILABILITY_TEXT = "dd_delivery_details";
|
31
|
+
export declare const DEVICE_INSURANCE = "DEVICE_INSURANCE";
|
20
32
|
export declare const MOBILE = "mobile";
|
21
33
|
export declare const DESKTOP = "desktop";
|
22
34
|
export declare const LARGE_DESKTOP = "large-desktop";
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
interface LoginPopupSchema {
|
3
|
+
content: any;
|
4
|
+
metadata: any;
|
5
|
+
togglePopup?: any;
|
6
|
+
isOpen?: any;
|
7
|
+
validation?: any;
|
8
|
+
onLoginSuccessRedirection?: any;
|
9
|
+
}
|
10
|
+
declare const checkoutRedirectionPopup: ({ content, metadata, togglePopup, isOpen, validation, onLoginSuccessRedirection, }: LoginPopupSchema) => JSX.Element;
|
11
|
+
export default checkoutRedirectionPopup;
|
@@ -0,0 +1,44 @@
|
|
1
|
+
export interface hardwareSessionSchema {
|
2
|
+
id: string;
|
3
|
+
note: any;
|
4
|
+
hardwarePrices: any;
|
5
|
+
selectedContractType: string;
|
6
|
+
deviceRedirectUrl: string;
|
7
|
+
buyBackPrice: any;
|
8
|
+
itemType: string;
|
9
|
+
insuranceName?: string;
|
10
|
+
insurancePrice?: string;
|
11
|
+
}
|
12
|
+
export interface hardwareSessionObj {
|
13
|
+
hardwareVariant: hardwareSessionSchema;
|
14
|
+
}
|
15
|
+
export interface checkSubscriptionsSchema {
|
16
|
+
mbbSupportedSubscription: boolean;
|
17
|
+
simSelectedType: string;
|
18
|
+
enableV2Layout: boolean;
|
19
|
+
enableNoSubscriptionFlow: boolean;
|
20
|
+
dpSubsidyRatePlanPromoId: string;
|
21
|
+
}
|
22
|
+
export interface hardwareSessionObjV2 {
|
23
|
+
hardwareVariant: hardwareSessionSchema;
|
24
|
+
checkSubscriptions: checkSubscriptionsSchema;
|
25
|
+
}
|
26
|
+
export declare const getDeviceWithVarients: (deviceData: any) => {
|
27
|
+
deviceVarientsList: any;
|
28
|
+
colorsList: any[];
|
29
|
+
memoryList: any[];
|
30
|
+
defaultColorSelected: undefined;
|
31
|
+
defaultMemorySelected: undefined;
|
32
|
+
};
|
33
|
+
export declare const getOptionsList: (options: string[]) => any[];
|
34
|
+
export declare const dpTableCreateCart: (setShowLoader: any, mainContent: any, mobileData: any, deviceData: any, cartEndPoint: any, redirectionUrl: any) => void;
|
35
|
+
export declare const getDeviceCartItem: (deviceDetails: any) => {
|
36
|
+
itemType: string;
|
37
|
+
id: any;
|
38
|
+
}[] | null;
|
39
|
+
export declare const setDeviceSessionObject: (mainContent: any, productData: any, offerDataList: any, deviceDetails: any, redirectionUrl: any) => void;
|
40
|
+
export declare const getDeviceNotes: (deviceDetails: any, upFrontValue: string) => {
|
41
|
+
author: string;
|
42
|
+
text: any;
|
43
|
+
}[];
|
44
|
+
export declare const alterHardwarePriceFormatDeviceDetail: (hardwarePrices: any[]) => void;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './UltimateBundleLinetableContainer';
|
@@ -13,3 +13,4 @@ export { default as Breadcrumb } from './Breadcrumb';
|
|
13
13
|
export { default as PretoPostSubsPopup } from './PretoPost';
|
14
14
|
export { default as HeroLogin } from './HeroLogin';
|
15
15
|
export { default as CheckCoverage } from './NewLineCheck';
|
16
|
+
export { default as UltimateBundleLinetable } from './UltimateBundleLinetable';
|