@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.
Files changed (32) hide show
  1. package/dist/cjs/components/FalconButtonV2/FalconButtonV2.d.ts +3 -0
  2. package/dist/cjs/components/UltimateBundleLinetable/CheckoutRedirectionPopup/checkoutRedirectionPopup.d.ts +11 -0
  3. package/dist/cjs/components/UltimateBundleLinetable/DpTableDeviceSection/DpTableDeviceSection.d.ts +3 -0
  4. package/dist/cjs/components/UltimateBundleLinetable/DpTableFlexSection/DpTableFlexSection.d.ts +3 -0
  5. package/dist/cjs/components/UltimateBundleLinetable/DpTableMobileSection/DpTableMobileSection.d.ts +3 -0
  6. package/dist/cjs/components/UltimateBundleLinetable/DpTableUtils.d.ts +44 -0
  7. package/dist/cjs/components/UltimateBundleLinetable/UbTabContainer.d.ts +3 -0
  8. package/dist/cjs/components/UltimateBundleLinetable/UltimateBundleLinetableContainer.d.ts +3 -0
  9. package/dist/cjs/components/UltimateBundleLinetable/UltimateBundleProduct.d.ts +3 -0
  10. package/dist/cjs/components/UltimateBundleLinetable/index.d.ts +1 -0
  11. package/dist/cjs/components/index.d.ts +1 -0
  12. package/dist/cjs/index.js +2 -2
  13. package/dist/cjs/services/LineTableService.d.ts +4 -2
  14. package/dist/cjs/services/api-constants.d.ts +2 -0
  15. package/dist/cjs/utils/constants.d.ts +12 -0
  16. package/dist/esm/components/FalconButtonV2/FalconButtonV2.d.ts +3 -0
  17. package/dist/esm/components/UltimateBundleLinetable/CheckoutRedirectionPopup/checkoutRedirectionPopup.d.ts +11 -0
  18. package/dist/esm/components/UltimateBundleLinetable/DpTableDeviceSection/DpTableDeviceSection.d.ts +3 -0
  19. package/dist/esm/components/UltimateBundleLinetable/DpTableFlexSection/DpTableFlexSection.d.ts +3 -0
  20. package/dist/esm/components/UltimateBundleLinetable/DpTableMobileSection/DpTableMobileSection.d.ts +3 -0
  21. package/dist/esm/components/UltimateBundleLinetable/DpTableUtils.d.ts +44 -0
  22. package/dist/esm/components/UltimateBundleLinetable/UbTabContainer.d.ts +3 -0
  23. package/dist/esm/components/UltimateBundleLinetable/UltimateBundleLinetableContainer.d.ts +3 -0
  24. package/dist/esm/components/UltimateBundleLinetable/UltimateBundleProduct.d.ts +3 -0
  25. package/dist/esm/components/UltimateBundleLinetable/index.d.ts +1 -0
  26. package/dist/esm/components/index.d.ts +1 -0
  27. package/dist/esm/index.js +2 -2
  28. package/dist/esm/services/LineTableService.d.ts +4 -2
  29. package/dist/esm/services/api-constants.d.ts +2 -0
  30. package/dist/esm/utils/constants.d.ts +12 -0
  31. package/dist/index.d.ts +3 -1
  32. 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: (params: any, url: any) => 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) => 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>;
@@ -5,5 +5,7 @@ export declare const APIResourceConstants: {
5
5
  CREATE_CARTV2: string;
6
6
  SUBSCRIPTION: string;
7
7
  VOUCHER_PROMOTIONS: string;
8
+ HARDWARES: string;
9
+ HARDWARE_DEVICES: string;
8
10
  };
9
11
  export declare const SBENDPOINT: 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,3 @@
1
+ /// <reference types="react" />
2
+ declare const FalconButtonV2: ({ content, className, ...restProps }: any) => JSX.Element;
3
+ export default FalconButtonV2;
@@ -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,3 @@
1
+ /// <reference types="react" />
2
+ declare const DpTableDeviceSection: ({ productData, mainContent, activeTab, tabIndex, deviceModelsList, deviceDetailsList, setDeviceDetails, fetchDeviceDetails }: any) => JSX.Element;
3
+ export default DpTableDeviceSection;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const DpTableFlexSection: ({ productData, mainContent, deviceDetailsList, selectedDeviceDetails }: any) => JSX.Element;
3
+ export default DpTableFlexSection;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const DpTableMobileSection: ({ productData, mainContent, offerDataList }: any) => JSX.Element;
3
+ export default DpTableMobileSection;
@@ -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,3 @@
1
+ /// <reference types="react" />
2
+ declare const UbTabContainer: ({ tabData, tabIndex, mainContent, activeTab, metadata }: any) => JSX.Element;
3
+ export default UbTabContainer;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const UltimateBundleLinetableContainer: ({ content, metadata }: any) => JSX.Element;
3
+ export default UltimateBundleLinetableContainer;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const UltimateBundleProduct: ({ productData, mainContent, tabIndex, offerDataList, activeTab, deviceModelsList, deviceDetailsList, fetchDeviceDetails, metadata }: any) => JSX.Element;
3
+ export default UltimateBundleProduct;
@@ -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';