@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;
package/dist/index.d.ts CHANGED
@@ -176,6 +176,9 @@ interface StaticLinetableSchema {
176
176
  deviceFlowCallBack?: any;
177
177
  ubRatePlanObj?: any;
178
178
  lineCheckOnClear?: any;
179
+ pegaIntegration?: boolean;
180
+ pegaCustomerInterest?: string;
181
+ useStoryblokOrder?: boolean;
179
182
  }
180
183
 
181
184
  declare const StaticLineTable: FC<StaticLinetableSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunrise-upc/mobile-prod-card",
3
- "version": "4.8.0",
3
+ "version": "4.8.1-beta.0",
4
4
  "description": "Starter project to create reusable functional component",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -43,7 +43,7 @@
43
43
  "@types/react": "^18.0.26",
44
44
  "@types/react-dom": "^18.0.10",
45
45
  "@types/uuid": "^8.3.4",
46
- "axios": "^0.21.4",
46
+ "axios": "^0.27.2",
47
47
  "postcss": "8.4.21",
48
48
  "rimraf": "^3.0.2",
49
49
  "rollup": "^3.9.1",
@@ -69,5 +69,8 @@
69
69
  "uuid": "^8.3.2",
70
70
  "react-select": "^5.2.2",
71
71
  "react-loading-skeleton": "^3.4.0"
72
+ },
73
+ "dependencies": {
74
+ "moment": "^2.30.1"
72
75
  }
73
76
  }