@cleartrip/ct-platform-types 4.2.0-beta.74 → 4.2.0-beta.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,24 @@
1
+ export interface IBookZeroTripCardMetaData {
2
+ stayStartDate: string;
3
+ stayEndDate: string;
4
+ bookZeroStatusLabel?: string;
5
+ amountDueLabel: string;
6
+ paymentExpiryTime: string;
7
+ }
8
+ export interface IBookZeroTripCard {
9
+ id: string;
10
+ imageUrl: string;
11
+ title: string;
12
+ metaData: IBookZeroTripCardMetaData;
13
+ }
14
+ export interface IBookZeroTripWidgetProps {
15
+ title?: string;
16
+ cards: IBookZeroTripCard[];
17
+ onPayNow?: (card: IBookZeroTripCard) => void;
18
+ onImpression?: (cardCount: number) => void;
19
+ }
20
+ export interface IBookZeroTripCardProps {
21
+ card: IBookZeroTripCard;
22
+ onPayNow?: (card: IBookZeroTripCard) => void;
23
+ }
24
+ //# sourceMappingURL=bookZeroTrip.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bookZeroTrip.types.d.ts","sourceRoot":"","sources":["../packages/types/src/bookZeroTrip.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,iBAAiB;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,yBAAyB,CAAC;CACvC;AAED,MAAM,WAAW,wBAAwB;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC7C,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C;AAED,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,iBAAiB,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAChD"}
package/dist/index.d.ts CHANGED
@@ -3,4 +3,5 @@ export * from './user.types';
3
3
  export * from './login.types';
4
4
  export * from './hotelCrossSell.types';
5
5
  export * from './recentSearch.types';
6
+ export * from './bookZeroTrip.types';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../packages/types/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../packages/types/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleartrip/ct-platform-types",
3
- "version": "4.2.0-beta.74",
3
+ "version": "4.2.0-beta.75",
4
4
  "description": "Platform Types",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/ct-platform-types.cjs.js",
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "devDependencies": {},
13
13
  "dependencies": {
14
- "@cleartrip/ct-platform-constants": "4.2.0-beta.74"
14
+ "@cleartrip/ct-platform-constants": "4.2.0-beta.75"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "react": ">=16.8.0",