@kiminix/tp-client 2.0.0 → 2.1.0

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.
package/README CHANGED
@@ -11,6 +11,6 @@
11
11
  - then in the project you want to use this package run
12
12
  `npm i /Users/kamoun/workspace/tayara.promo/webapps/tp-client`
13
13
  - to remove the dep
14
- `npm remove @kiminix/tp-client `
14
+ `npm remove @kiminix/tp-client`
15
15
 
16
16
 
@@ -4,7 +4,7 @@ export interface AllBusiness {
4
4
  name: string;
5
5
  address: string;
6
6
  images: string[];
7
- maxCashbackRate: number | undefined;
7
+ maxCashbackApply: number;
8
8
  averagePrice: number | undefined;
9
9
  specialities: string[] | undefined;
10
10
  }
@@ -12,7 +12,7 @@ export interface Business {
12
12
  images: string[];
13
13
  email: string;
14
14
  description: string | undefined;
15
- maxCashbackRate: number | undefined;
15
+ maxCashbackApply: number;
16
16
  openingHours: OpeningHours[];
17
17
  averagePrice: number | undefined;
18
18
  specialities: string[] | undefined;
@@ -9,7 +9,7 @@ export interface BusinessOfDeal {
9
9
  name: string;
10
10
  address: string;
11
11
  images: string[];
12
- maxCashbackRate: number | undefined;
12
+ maxCashbackApply: number;
13
13
  averagePrice: number | undefined;
14
14
  specialities: string[] | undefined;
15
15
  }
@@ -7,7 +7,7 @@ export interface BusinessOfReservation {
7
7
  phones: string[];
8
8
  address: string;
9
9
  googleMapUrl: string;
10
- maxCashbackApply: number | undefined;
10
+ maxCashbackApply: number;
11
11
  }
12
12
  export interface User {
13
13
  id: string | undefined;
@@ -31,7 +31,7 @@ export declare class ReservationsGuestAPIs {
31
31
  businessId: string;
32
32
  datetime: Date;
33
33
  persons: number;
34
- deal: ReservationDealKind | undefined;
34
+ deal: ReservationDealKind;
35
35
  notes: string | undefined;
36
36
  }): Promise<ReservationResponse>;
37
37
  /**
@@ -39,7 +39,7 @@ export declare class ReservationsUserAPIs {
39
39
  businessId: string;
40
40
  datetime: Date;
41
41
  persons: number;
42
- deal: ReservationDealKind | undefined;
42
+ deal: ReservationDealKind;
43
43
  notes: string | undefined;
44
44
  }): Promise<ReservationResponse>;
45
45
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiminix/tp-client",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [