@maioradv/cms-basic-lib 1.7.2 → 1.7.4

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.
@@ -19,6 +19,7 @@ export declare enum ReservationStatus {
19
19
  }
20
20
  export type Reservation = {
21
21
  id: number;
22
+ token: string;
22
23
  source: ReservationSource | null;
23
24
  status: ReservationStatus;
24
25
  date: Date;
@@ -32,9 +33,9 @@ export type Reservation = {
32
33
  createdAt: Date;
33
34
  updatedAt: Date;
34
35
  };
35
- export type CreateReservationDto = OmitRequire<Reservation, 'id' | 'createdAt' | 'updatedAt', 'date' | 'guestCount' | 'name' | 'phone'>;
36
+ export type CreateReservationDto = OmitRequire<Reservation, 'id' | 'createdAt' | 'updatedAt' | 'token', 'date' | 'guestCount' | 'name' | 'phone'>;
36
37
  export type UpdateReservationDto = Partial<CreateReservationDto>;
37
- export type PushReservationDto = OmitRequire<Reservation, 'id' | 'createdAt' | 'updatedAt' | 'status', 'date' | 'guestCount' | 'name' | 'phone'>;
38
+ export type PushReservationDto = OmitRequire<Reservation, 'id' | 'createdAt' | 'updatedAt' | 'status' | 'token', 'date' | 'guestCount' | 'name' | 'phone'>;
38
39
  export type SortingReservationDto = SortingParamsDto<{
39
40
  name?: Sorting;
40
41
  date?: Sorting;
@@ -46,6 +47,7 @@ export type SortingReservationDto = SortingParamsDto<{
46
47
  }>;
47
48
  export type ClausesReservationDto = WhereClausesDto<{
48
49
  search?: StringClause;
50
+ token?: StringClause;
49
51
  date?: DateClause;
50
52
  minDate?: DateClause;
51
53
  maxDate?: DateClause;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maioradv/cms-basic-lib",
3
- "version": "1.7.2",
3
+ "version": "1.7.4",
4
4
  "description": "JS lib for Maior CMS Basic Api",
5
5
  "repository": "https://github.com/maioradv/cms-basic-lib.git",
6
6
  "author": "Maior ADV Srl",