@sunrise-upc/mobile-prod-card 4.6.1-beta.8 → 4.6.1-beta.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  export declare const fetchCountryList: (name: string, lang: string, url: string, TTL: number) => Promise<any>;
2
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>;
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) => 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,5 +7,6 @@ export declare const APIResourceConstants: {
7
7
  VOUCHER_PROMOTIONS: string;
8
8
  HARDWARES: string;
9
9
  HARDWARE_DEVICES: string;
10
+ TV_SERVICE_OPTIONS_V2: string;
10
11
  };
11
12
  export declare const SBENDPOINT: any;
@@ -44,3 +44,4 @@ export declare const ERROR_COLOR = "#C60047";
44
44
  export declare const BREADCRUMB = "...";
45
45
  export declare const PRE_TO_POST = "PRE_TO_POST";
46
46
  export declare const P2PSUBSCRIBEDPLAN = "Sunrise Prepaid Unlimited";
47
+ export declare const TV_SERVICE_OPTION = "TV_SERVICE_OPTION";
@@ -9,6 +9,7 @@ export declare const removeLocalStorage: (key: string) => void;
9
9
  export declare const viewport: () => string;
10
10
  export declare const getCookies: (cname: string) => any;
11
11
  export declare const isTouchScreen: () => boolean;
12
+ export declare const returnPriceByType: (priceList: any, type: string) => any;
12
13
  export declare const replacePlaceholder: (source: string, params: any) => string;
13
14
  export declare const isModemPresent: () => boolean;
14
15
  export declare const iconHandler: (type: string) => string;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ interface GenericModalSchema {
3
+ modalState: boolean;
4
+ handler: () => void;
5
+ children: React.ReactNode;
6
+ showFooter: boolean;
7
+ content?: any;
8
+ footerNode?: any;
9
+ height?: string;
10
+ width?: string;
11
+ backDrop?: boolean;
12
+ backButton?: string;
13
+ }
14
+ declare const OttServiceOptionsModal: ({ modalState, handler, content, showFooter, footerNode, children, height }: GenericModalSchema) => any;
15
+ export default OttServiceOptionsModal;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const OttServiceOptionsPopup: ({ content, showPopup, setShowPopup, addOptionsCallBack, metadata, constants, mainContent, preSelectedOptions }: any) => JSX.Element;
3
+ export default OttServiceOptionsPopup;
@@ -1,12 +1,12 @@
1
1
  import { SetStateAction } from 'react';
2
- export declare const fetchStaticProductIds: (productList: any, productId: any, bundle4PProduct?: boolean) => any;
2
+ export declare const fetchStaticProductIds: (productList: any, productId: any, bundle4PProduct?: boolean, tvOptionIds?: any) => any;
3
3
  export declare const checkGiftOrCashback: (data: any) => any;
4
4
  export declare const staticCreateCart: (setShowLoader: {
5
5
  (value: SetStateAction<boolean>): void;
6
6
  (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) => any;
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;
8
8
  export declare const findHeight: (tabIndex: number, cardsLength: number) => void;
9
9
  export declare const combineWithSmartPhone: (showPrice: any, storyContent: any, uniqueProductData: any, responseData?: any, product?: any) => void;
10
10
  export declare const fetchServiceOptions: (entitlement: any, isMobileFlow: boolean) => any;
11
- export declare const fetchPrice: (product: any, isMobileFlow: boolean, pageType?: string, isConfigurator?: boolean) => any;
11
+ export declare const fetchPrice: (product: any, isMobileFlow: boolean, pageType?: string, isConfigurator?: boolean, tvOptionsPrice?: number) => any;
12
12
  export declare const fetchFilteredProducts: (productList: any, toggleState: any) => any[];
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const TvOptionsContainer: ({ content, offeringData, uniqueId, constants, tvOptionsPrice, metadata, setTvOptionsData }: any) => JSX.Element;
3
+ export default TvOptionsContainer;