@sunrise-upc/mobile-prod-card 4.8.0 → 4.8.1-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,9 +3,10 @@ export declare const fetchOfferingDataV2: (requestBody: any, url: any, returnPro
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) => 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
- export declare const fetchOfferingDataLineTableV2: (params: any, uniqueId: any, endpoint: any, existingCustomer?: boolean, subscriptionType?: string, enableReturnPromo?: boolean, P2PEnabled?: boolean) => Promise<any>;
6
+ export declare const fetchOfferingDataLineTableV2: (params: any, uniqueId: any, endpoint: any, existingCustomer?: boolean, subscriptionType?: string, enableReturnPromo?: boolean, P2PEnabled?: boolean, pegaIntegration?: 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
10
  export declare const getDeviceDetails: (deviceID: any, endpoint: any) => Promise<any>;
11
11
  export declare const getDeviceModelsList: (brandId: any, endpoint: any) => Promise<any>;
12
+ export declare const trackPegaEvents: (endpoint: any, payload: {} | undefined, prospectId: string) => Promise<any>;
@@ -2,11 +2,13 @@ export declare const API_BASE_BASEPOINT: any;
2
2
  export declare const APIResourceConstants: {
3
3
  X_SUN_CHAL: string;
4
4
  LINE_TABLEV2: string;
5
+ LINE_TABLEV3: string;
5
6
  CREATE_CARTV2: string;
6
7
  SUBSCRIPTION: string;
7
8
  VOUCHER_PROMOTIONS: string;
8
9
  HARDWARES: string;
9
10
  HARDWARE_DEVICES: string;
10
11
  TV_SERVICE_OPTIONS_V2: string;
12
+ CUSTOMER_EVENTS: string;
11
13
  };
12
14
  export declare const SBENDPOINT: any;
@@ -1,5 +1,7 @@
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;
@@ -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;
@@ -77,6 +80,11 @@ export interface StaticProductContainerSchema {
77
80
  deviceFlowCallBack?: any;
78
81
  ubRatePlanObj?: any;
79
82
  lineCheckOnClear?: any;
83
+ pegaIntegration?: boolean;
84
+ pegaCustomerInterest?: string;
85
+ useStoryblokOrder?: boolean;
86
+ isFetching?: boolean;
87
+ setIsFetching?: any;
80
88
  }
81
89
  export interface StaticProductDetailsSchema {
82
90
  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;