@bondsports/types 2.2.83 → 2.2.84

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,7 @@ import { Addon } from './addon.entity';
6
6
  import { Segment } from './segment.entity';
7
7
  import { Slot } from './slot.entity';
8
8
  export declare class Reservation extends OrganizationConnectionBaseEntity {
9
+ deletedAt?: Date;
9
10
  name?: string;
10
11
  description?: string;
11
12
  approvalStatus?: ReservationStatusEnum;
@@ -19,19 +20,18 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
19
20
  creatorType?: ResourceNameTypeEnum;
20
21
  userCreatorId?: number;
21
22
  importedId?: string;
22
- deletedAt?: Date;
23
23
  publicNotes?: string;
24
24
  privateNotes?: string;
25
25
  forms?: number[] | null;
26
26
  answerTitleIds?: number[] | null;
27
+ segments?: Segment[];
28
+ addons: Addon[];
29
+ slots: Slot[];
27
30
  overrideProductsPrice: {
28
31
  productId: number;
29
32
  price: number;
30
33
  }[];
31
34
  targetGlobalPrice?: number;
32
- segments?: Segment[];
33
- addons: Addon[];
34
- slots: Slot[];
35
35
  invoiceId?: string;
36
36
  startTime?: string;
37
37
  startDate?: Date;
@@ -5,14 +5,14 @@ import { Slot } from './slot.entity';
5
5
  export declare class Segment extends OrganizationConnectionBaseEntity {
6
6
  deletedAt?: Date;
7
7
  reservationId: number;
8
+ reservation?: Reservation;
8
9
  title: string;
9
- isPrivate: boolean;
10
- resourceIds?: number[];
11
10
  sportId: number;
12
- reservation?: Reservation;
13
11
  series?: Series[];
12
+ slots?: Slot[];
13
+ resourceIds?: number[];
14
14
  addonIds?: number[];
15
+ isPrivate: boolean;
15
16
  publicNotesForSlots?: string;
16
17
  privateNotesForSlots?: string;
17
- slots?: Slot[];
18
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"segment.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/segment.entity.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAKjG,MAAa,OAAQ,SAAQ,mEAAgC;CAwB5D;AAxBD,0BAwBC"}
1
+ {"version":3,"file":"segment.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/segment.entity.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAKjG,MAAa,OAAQ,SAAQ,mEAAgC;CAqB5D;AArBD,0BAqBC"}
@@ -15,20 +15,31 @@ import { Segment } from './segment.entity';
15
15
  import { Series } from './series.entity';
16
16
  export declare class Slot extends OrganizationConnectionBaseEntity {
17
17
  isReverted: boolean;
18
+ deletedAt?: Date;
18
19
  reservationId: number;
19
20
  reservation: Reservation;
20
- title?: string;
21
+ segmentId: number;
22
+ segment: Segment;
23
+ seriesId?: number;
24
+ series?: Series;
25
+ eventId: number;
26
+ event: Event;
27
+ spaceId?: number;
28
+ resource?: Resource;
29
+ parentSlotId?: number;
30
+ parent?: Slot;
31
+ children?: Slot[];
32
+ invoiceId?: number;
33
+ invoice?: Invoice;
21
34
  creatorId?: number;
22
35
  creatorType?: ResourceNameTypeEnum;
23
36
  userCreatorId?: number;
37
+ title?: string;
24
38
  startDate: Date;
25
39
  endDate: Date;
26
40
  startTime: string;
27
41
  endTime: string;
28
42
  timezone?: string;
29
- spaceId?: number;
30
- resource?: Resource;
31
- deletedAt?: Date;
32
43
  publicNotes?: string;
33
44
  privateNotes?: string;
34
45
  slotType: SlotTypeEnum;
@@ -36,21 +47,10 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
36
47
  productUser?: ProductsUsers;
37
48
  product?: Product;
38
49
  addons: Addon[];
39
- segmentId: number;
40
- segment: Segment;
41
- eventId: number;
42
- event: Event;
43
50
  sportIds: number[];
44
- parentSlotId?: number;
45
- parent?: Slot;
46
- children?: Slot[];
47
51
  maintenanceDurationdurationType: DurationUnitTypesEnum;
48
52
  maintenanceTiming: MaintenanceTimingEnum;
49
53
  durationValue: number;
50
- seriesId?: number;
51
- series?: Series;
52
- invoiceId?: number;
53
- invoice?: Invoice;
54
54
  paymentStatus: ReservationPaymentStatusEnum;
55
55
  approvalStatus?: ReservationStatusEnum;
56
56
  displayName?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"slot.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/slot.entity.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AAsBjG,MAAa,IAAK,SAAQ,mEAAgC;CAyHzD;AAzHD,oBAyHC"}
1
+ {"version":3,"file":"slot.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/slot.entity.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AAsBjG,MAAa,IAAK,SAAQ,mEAAgC;CAkHzD;AAlHD,oBAkHC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.83",
3
+ "version": "2.2.84",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {