@bondsports/types 2.2.75 → 2.2.77

Sign up to get free protection for your applications and to get access to all the features.
@@ -80,6 +80,7 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
80
80
  includeCurrentPrice?: boolean;
81
81
  includePricesSchedule?: boolean;
82
82
  includeEntitlementDiscounts?: boolean;
83
+ includeCustomers?: boolean;
83
84
  facilitiesIds?: number[];
84
85
  resourcesIds?: number[];
85
86
  mustIncludeAllResourcesIds?: number[];
@@ -1 +1 @@
1
- {"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAwC7D;AAxCD,8DAwCC"}
1
+ {"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CA0C7D;AA1CD,8DA0CC"}
@@ -20,6 +20,7 @@ export interface IGetProductsByTypeOptions extends IPagination {
20
20
  includeCurrentPrice?: boolean;
21
21
  includePricesSchedule?: boolean;
22
22
  includeGlCodes?: boolean;
23
+ includeCustomers?: boolean;
23
24
  facilitiesIds?: number[];
24
25
  resourcesIds?: number[];
25
26
  customersIds?: number[];
@@ -31,6 +31,7 @@ declare class BaseReservationDto {
31
31
  paymentStatus?: ReservationPaymentStatusEnum;
32
32
  creatorId?: number;
33
33
  creatorType?: ResourceNameTypeEnum;
34
+ userCreatorId?: number;
34
35
  publicNotes?: string;
35
36
  privateNotes?: string;
36
37
  forms?: number[];
@@ -39,12 +40,12 @@ declare class BaseReservationDto {
39
40
  targetGlobalPrice?: number;
40
41
  colorCodeId?: number;
41
42
  customerId?: number;
42
- userId?: number;
43
- purchasingUserId?: number;
44
43
  }
45
44
  export declare class ReservationDto extends BaseReservationDto {
46
45
  id?: number;
47
46
  segments: SegmentDto[];
47
+ userId?: number;
48
+ purchasingUserId?: number;
48
49
  }
49
50
  export declare class DraftReservationDto extends BaseReservationDto {
50
51
  id?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,+DAAsG;AACtG,8EAA8E;AAI9E,kEAAwF;AA2BxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAa,gBAAgB;CAU5B;AAVD,4CAUC;AAED,MAAM,kBAAkB;CA2CvB;AAED,MAAa,cAAe,SAAQ,kBAAkB;CAIrD;AAJD,wCAIC;AAED,MAAa,mBAAoB,SAAQ,kBAAkB;CAI1D;AAJD,kDAIC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AACD,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,4BAA4B;CAcxC;AAdD,oEAcC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAM,cAAc;CAQnB;AAED,MAAa,yBAA0B,SAAQ,cAAc;CAE5D;AAFD,8DAEC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAIvD;AAJD,oDAIC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,UAAW,SAAQ,WAAW;CAI1C;AAJD,gCAIC;AAED,MAAa,0CAA2C,SAAQ,6BAAe;CAY9E;AAZD,gGAYC;AAED,MAAa,kCAAmC,SAAQ,6BAAe;CAUtE;AAVD,gFAUC;AAED,MAAa,+BAA+B;IAA5C;QAKC,UAAK,GAAW,uBAAuB,CAAC;IAqBzC,CAAC;CAAA;A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c,SAAQ,oBAAoB;CAEtD;AAFD,sCAEC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,YAAa,SAAQ,cAAc;CAE/C;AAFD,oCAEC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAIvD;AAJD,oDAIC;AACD,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,+BAA+B;CAI3C;AAJD,0EAIC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC;AAED,MAAa,0BAA2B,SAAQ,gCAAiB;CAIhE;AAJD,gEAIC;AAED,MAAa,wBAAwB;CAQpC;AARD,4DAQC;AACD,MAAa,yBAA0B,SAAQ,wBAAwB;CAEtE;AAFD,8DAEC;AAED,MAAa,0BAA2B,SAAQ,qCAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,WAAY,SAAQ,8BAAgB;CAEhD;AAFD,kCAEC;AAED,MAAa,cAAe,SAAQ,8BAAgB;CAEnD;AAFD,wCAEC;AAED,MAAa,+BAAgC,SAAQ,6BAAe;CAkBnE;AAlBD,0EAkBC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC"}
@@ -9,20 +9,20 @@ declare class BaseSegmentDto {
9
9
  instructorsIds?: number[];
10
10
  sportId?: SportsEnum;
11
11
  participantsNumber?: number;
12
- participantsIds?: number[];
13
12
  publicNotesForSlots?: string;
14
13
  privateNotesForSlots?: string;
15
- isPrivate: boolean;
16
- addonIds?: number[];
17
14
  }
18
15
  export declare class SegmentDto extends BaseSegmentDto {
19
16
  id?: number;
20
17
  reservationId?: number;
21
18
  series: SeriesDto[];
19
+ isPrivate: boolean;
20
+ addonIds?: number[];
22
21
  }
23
22
  export declare class DraftSegmentDto extends BaseSegmentDto {
24
23
  id?: string;
25
24
  reservationId?: string;
26
25
  series: DraftSeriesDto[];
26
+ participantsIds?: number[];
27
27
  }
28
28
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"segment.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/segment.dto.ts"],"names":[],"mappings":";;;AAAA,gEAA0D;AAK1D,MAAM,cAAc;IAApB;QAWC,YAAO,GAAgB,0BAAU,CAAC,KAAK,CAAC;IAczC,CAAC;CAAA;AAED,MAAa,UAAW,SAAQ,cAAc;CAM7C;AAND,gCAMC;AAED,MAAa,eAAgB,SAAQ,cAAc;CAMlD;AAND,0CAMC"}
1
+ {"version":3,"file":"segment.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/segment.dto.ts"],"names":[],"mappings":";;;AAAA,gEAA0D;AAK1D,MAAM,cAAc;IAApB;QAWC,YAAO,GAAgB,0BAAU,CAAC,KAAK,CAAC;IAOzC,CAAC;CAAA;AAED,MAAa,UAAW,SAAQ,cAAc;CAU7C;AAVD,gCAUC;AAED,MAAa,eAAgB,SAAQ,cAAc;CAQlD;AARD,0CAQC"}
@@ -29,9 +29,6 @@ declare class BaseSlotDto extends DateTimeAndResourcesDto {
29
29
  maintenanceDurationdurationType?: DurationUnitTypesEnum;
30
30
  maintenanceTiming?: MaintenanceTimingEnum;
31
31
  durationValue?: number;
32
- invoicId?: number;
33
- paymentStatus: ReservationPaymentStatusEnum;
34
- approvalStatus: ReservationStatusEnum;
35
32
  displayName?: string;
36
33
  internalName?: string;
37
34
  totalPrice?: number;
@@ -39,8 +36,18 @@ declare class BaseSlotDto extends DateTimeAndResourcesDto {
39
36
  slotDurationType: DurationTypeEnum;
40
37
  colorCodeId?: number;
41
38
  participantsNumber?: number;
42
- participantsIds?: number[];
43
39
  conflictsIds?: number[];
40
+ }
41
+ export declare class SlotDto extends BaseSlotDto {
42
+ id?: number;
43
+ reservationId?: number;
44
+ segmentId?: number;
45
+ seriesId?: number;
46
+ maintenanceSlots?: SlotDto[];
47
+ addons?: AddonDto[];
48
+ invoicId?: number;
49
+ paymentStatus: ReservationPaymentStatusEnum;
50
+ approvalStatus: ReservationStatusEnum;
44
51
  occurrence?: number;
45
52
  product?: Product;
46
53
  priceOverrideMeta?: IOverridePriceMeta;
@@ -53,14 +60,6 @@ declare class BaseSlotDto extends DateTimeAndResourcesDto {
53
60
  isPrivate: boolean;
54
61
  addonsIds?: number[];
55
62
  }
56
- export declare class SlotDto extends BaseSlotDto {
57
- id?: number;
58
- reservationId?: number;
59
- segmentId?: number;
60
- seriesId?: number;
61
- maintenanceSlots?: SlotDto[];
62
- addons?: AddonDto[];
63
- }
64
63
  export declare class SlotProductMetadataDto implements ISlotProductMetadata {
65
64
  productId: number;
66
65
  priceId?: number;
@@ -92,5 +91,6 @@ export declare class DraftSlotDto extends BaseSlotDto {
92
91
  seriesId?: string;
93
92
  maintenanceSlots?: DraftSlotDto[];
94
93
  addons?: DraftAddonDto[];
94
+ participantsIds?: number[];
95
95
  }
96
96
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAkBA,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAM,WAAY,SAAQ,uBAAuB;CAsEhD;AAED,MAAa,OAAQ,SAAQ,WAAW;CAYvC;AAZD,0BAYC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,WAAW;CAevB;AAfD,kCAeC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,YAAa,SAAQ,WAAW;CAY5C;AAZD,oCAYC"}
1
+ {"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAkBA,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAM,WAAY,SAAQ,uBAAuB;CA8ChD;AAED,MAAa,OAAQ,SAAQ,WAAW;CAkCvC;AAlCD,0BAkCC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,WAAW;CAevB;AAfD,kCAeC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,YAAa,SAAQ,WAAW;CAc5C;AAdD,oCAcC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.75",
3
+ "version": "2.2.77",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {