@sunrise-upc/mobile-prod-card 4.7.7-beta.6 → 4.7.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/components/StaticLineTable/Product.utils.d.ts +0 -2
- package/dist/cjs/components/StaticLineTable/StaticProductDatatypes.d.ts +0 -8
- package/dist/cjs/components/lineTable/lineTable.types.d.ts +0 -13
- package/dist/cjs/index.js +2 -4
- package/dist/cjs/services/LineTableService.d.ts +1 -2
- package/dist/cjs/services/api-constants.d.ts +0 -2
- package/dist/esm/components/StaticLineTable/Product.utils.d.ts +0 -2
- package/dist/esm/components/StaticLineTable/StaticProductDatatypes.d.ts +0 -8
- package/dist/esm/components/lineTable/lineTable.types.d.ts +0 -13
- package/dist/esm/index.js +2 -4
- package/dist/esm/services/LineTableService.d.ts +1 -2
- package/dist/esm/services/api-constants.d.ts +0 -2
- package/dist/index.d.ts +0 -3
- package/package.json +2 -5
@@ -3,10 +3,9 @@ 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
|
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
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,13 +2,11 @@ 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;
|
6
5
|
CREATE_CARTV2: string;
|
7
6
|
SUBSCRIPTION: string;
|
8
7
|
VOUCHER_PROMOTIONS: string;
|
9
8
|
HARDWARES: string;
|
10
9
|
HARDWARE_DEVICES: string;
|
11
10
|
TV_SERVICE_OPTIONS_V2: string;
|
12
|
-
CUSTOMER_EVENTS: string;
|
13
11
|
};
|
14
12
|
export declare const SBENDPOINT: any;
|
@@ -1,7 +1,5 @@
|
|
1
1
|
import { SetStateAction } from 'react';
|
2
|
-
import { PegaProductRequestBase } from '../lineTable/lineTable.types';
|
3
2
|
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;
|
5
3
|
export declare const checkGiftOrCashback: (data: any) => any;
|
6
4
|
export declare const staticCreateCart: (setShowLoader: {
|
7
5
|
(value: SetStateAction<boolean>): void;
|
@@ -15,9 +15,6 @@ export interface StaticLinetableSchema {
|
|
15
15
|
deviceFlowCallBack?: any;
|
16
16
|
ubRatePlanObj?: any;
|
17
17
|
lineCheckOnClear?: any;
|
18
|
-
pegaIntegration?: boolean;
|
19
|
-
pegaCustomerInterest?: string;
|
20
|
-
useStoryblokOrder?: boolean;
|
21
18
|
}
|
22
19
|
export interface StaticProductSchema {
|
23
20
|
content: any;
|
@@ -80,11 +77,6 @@ export interface StaticProductContainerSchema {
|
|
80
77
|
deviceFlowCallBack?: any;
|
81
78
|
ubRatePlanObj?: any;
|
82
79
|
lineCheckOnClear?: any;
|
83
|
-
pegaIntegration?: boolean;
|
84
|
-
pegaCustomerInterest?: string;
|
85
|
-
useStoryblokOrder?: boolean;
|
86
|
-
isFetching?: boolean;
|
87
|
-
setIsFetching?: any;
|
88
80
|
}
|
89
81
|
export interface StaticProductDetailsSchema {
|
90
82
|
content: any;
|
@@ -13,19 +13,6 @@ 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
|
-
}
|
29
16
|
export interface ProductContainerSchema extends ProductTableSchema {
|
30
17
|
activeIndex: any;
|
31
18
|
sbStaticConstants: any;
|