@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.
@@ -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;