@bondsports/types 2.2.208 → 2.2.210
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/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/cart/dto/cart.dto.d.ts +5 -5
- package/dist/types/cart/dto/cart.dto.js.map +1 -1
- package/dist/types/cart/entities/cart-item.entity.d.ts +5 -3
- package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
- package/dist/types/dto/activityTimes.dto.d.ts +10 -0
- package/dist/types/dto/activityTimes.dto.js +4 -1
- package/dist/types/dto/activityTimes.dto.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +1 -1
- package/package.json +1 -1
@@ -1,14 +1,14 @@
|
|
1
|
+
import { ScheduleDto } from '../../dto/activityTimes.dto';
|
1
2
|
import { UserAnswersDto } from '../../dto/application.dto';
|
2
3
|
import { PaginationQuery } from '../../dto/general.dto';
|
3
4
|
import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
5
|
+
import { ISetDiscount, ISetDiscounts } from '../../payment/types/interfaces/discount.interfaces';
|
6
|
+
import { DurationUnitTypesEnum } from '../../reservations/types/enums/reservation.enums';
|
4
7
|
import { AddonParentTypeEnum, CurrencyEnum, PlatformsEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
|
5
8
|
import { ByOrganizationAndUserDto, SimpleUserDto } from '../../user/dto/user.dto';
|
6
9
|
import { CartStateEnum, CartStatusEnum } from '../types/enums/cart.enums';
|
7
|
-
import { AddCartItemDto, CartDiscountDto, CartItemDto, CartTaxDto, UpdateCartItemDto } from './cart-item.dto';
|
8
|
-
import { ISetDiscount, ISetDiscounts } from '../../payment/types/interfaces/discount.interfaces';
|
9
|
-
import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
10
|
-
import { DurationUnitTypesEnum } from '../../reservations/types/enums/reservation.enums';
|
11
10
|
import { IUpdateCartCategoriesPrices, IUpdateCartPrices, IUpdateCartProductPrices, IUpdateProductPrice } from '../types/interfaces/cart.interfaces';
|
11
|
+
import { AddCartItemDto, CartDiscountDto, CartItemDto, CartTaxDto, UpdateCartItemDto } from './cart-item.dto';
|
12
12
|
export declare class CartDto extends OrganizationBaseEntityDto {
|
13
13
|
createdAt: Date;
|
14
14
|
price: number;
|
@@ -85,7 +85,7 @@ export declare class ProductPriceResultDto {
|
|
85
85
|
priceId: number;
|
86
86
|
quantity: number;
|
87
87
|
unitPrice: number;
|
88
|
-
|
88
|
+
schedules?: ScheduleDto[];
|
89
89
|
name: string;
|
90
90
|
isTaxInclusive?: boolean;
|
91
91
|
tax: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AACxD,8EAAoF;AAIpF,sDAAkF;AAUlF,MAAa,OAAQ,SAAQ,4CAAyB;CA0CrD;AA1CD,0BA0CC;AAED,MAAa,aAAa;IACzB,YAAY,UAAmC;QAC9C,IAAI,CAAC,OAAO,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,QAAQ,CAAC;QACrC,IAAI,CAAC,OAAO,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,CAAC;IACpC,CAAC;CAOD;AAZD,sCAYC;AAED,MAAa,aAAc,SAAQ,aAAa;CAM/C;AAND,sCAMC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,qBAAsB,SAAQ,mCAAwB;CAElE;AAFD,sDAEC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAQtD;AARD,gDAQC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,qBAAqB;CA+BjC;AA/BD,sDA+BC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
|
@@ -1,3 +1,5 @@
|
|
1
|
+
import { ScheduleDto } from '../../dto/activityTimes.dto';
|
2
|
+
import { ActivityTimes } from '../../entity/ActivityTimes';
|
1
3
|
import { EntitlementGroup } from '../../entity/EntitlementGroup';
|
2
4
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
3
5
|
import { Reason } from '../../organization/entities/Reason';
|
@@ -8,9 +10,8 @@ import { PurchaseResourceDto } from '../../purchase/dto/purchase.dto';
|
|
8
10
|
import { ProductTypesEnum } from '../../services/enums.service';
|
9
11
|
import { User } from '../../user/entities/User';
|
10
12
|
import { CartStatusEnum } from '../types/enums/cart.enums';
|
11
|
-
import { Cart } from './cart.entity';
|
12
13
|
import { ICartItemPriceMetadata } from '../types/interfaces/cart.interfaces';
|
13
|
-
import {
|
14
|
+
import { Cart } from './cart.entity';
|
14
15
|
export declare class CartItem extends OrganizationConnectionBaseEntity {
|
15
16
|
deletedAt?: Date;
|
16
17
|
cartId: number;
|
@@ -48,7 +49,8 @@ export declare class CartItem extends OrganizationConnectionBaseEntity {
|
|
48
49
|
totalPrice?: number;
|
49
50
|
overrideTotalPrice?: number;
|
50
51
|
totalUnitPrice: number;
|
51
|
-
prices?: ICartItemPriceMetadata[];
|
52
52
|
priceId?: number;
|
53
53
|
activityTimes?: ActivityTimes[];
|
54
|
+
schedules?: ScheduleDto[];
|
55
|
+
prices?: ICartItemPriceMetadata[];
|
54
56
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cart-item.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart-item.entity.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"cart-item.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart-item.entity.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AAYjG,MAAa,QAAS,SAAQ,mEAAgC;CA+E7D;AA/ED,4BA+EC"}
|
@@ -21,3 +21,13 @@ export declare class ActivityTimesDto {
|
|
21
21
|
groupId?: string;
|
22
22
|
isSameAsFacility?: boolean;
|
23
23
|
}
|
24
|
+
export declare class ScheduleDto {
|
25
|
+
id?: string;
|
26
|
+
parentId?: number;
|
27
|
+
parentType?: ResourceNameTypeEnum | ProductTypesEnum;
|
28
|
+
dayOfWeeks: number[];
|
29
|
+
close: string;
|
30
|
+
open: string;
|
31
|
+
availabilityStartDate?: string;
|
32
|
+
availabilityEndDate?: string;
|
33
|
+
}
|
@@ -1,10 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ActivityTimesDto = exports.BasicActivityTimesDto = void 0;
|
3
|
+
exports.ScheduleDto = exports.ActivityTimesDto = exports.BasicActivityTimesDto = void 0;
|
4
4
|
class BasicActivityTimesDto {
|
5
5
|
}
|
6
6
|
exports.BasicActivityTimesDto = BasicActivityTimesDto;
|
7
7
|
class ActivityTimesDto {
|
8
8
|
}
|
9
9
|
exports.ActivityTimesDto = ActivityTimesDto;
|
10
|
+
class ScheduleDto {
|
11
|
+
}
|
12
|
+
exports.ScheduleDto = ScheduleDto;
|
10
13
|
//# sourceMappingURL=activityTimes.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"activityTimes.dto.js","sourceRoot":"","sources":["../../../src/types/dto/activityTimes.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,qBAAqB;CAgBjC;AAhBD,sDAgBC;AAED,MAAa,gBAAgB;CAoB5B;AApBD,4CAoBC"}
|
1
|
+
{"version":3,"file":"activityTimes.dto.js","sourceRoot":"","sources":["../../../src/types/dto/activityTimes.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,qBAAqB;CAgBjC;AAhBD,sDAgBC;AAED,MAAa,gBAAgB;CAoB5B;AApBD,4CAoBC;AAED,MAAa,WAAW;CAgBvB;AAhBD,kCAgBC"}
|
@@ -340,7 +340,7 @@ export interface IGetDraftReservationSlotsOptions extends IPagination, IExtendDr
|
|
340
340
|
segmentsIds?: string[];
|
341
341
|
slotsIds?: string[];
|
342
342
|
seriesIds?: string[];
|
343
|
-
|
343
|
+
excludeProducts?: boolean;
|
344
344
|
}
|
345
345
|
export interface IExtendDraftSlotsOptions {
|
346
346
|
includeResources?: boolean;
|