@bondsports/types 2.2.175 → 2.2.177
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/cart/entities/cart.entity.d.ts +1 -1
- package/dist/types/cart/entities/cart.entity.js.map +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +1 -0
- package/dist/types/purchase/dto/purchase.dto.d.ts +1 -0
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +1 -0
- package/dist/types/reservations/dto/addon.dto.d.ts +2 -0
- package/dist/types/reservations/dto/addon.dto.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +2 -1
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/entities/addon.entity.d.ts +1 -0
- package/dist/types/reservations/entities/addon.entity.js.map +1 -1
- package/dist/types/reservations/entities/slot.entity.d.ts +1 -0
- package/dist/types/reservations/entities/slot.entity.js.map +1 -1
- package/dist/types/reservations/types/consts/reservation.consts.d.ts +1 -0
- package/dist/types/reservations/types/consts/reservation.consts.js +2 -1
- package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +2 -0
- package/dist/types/reservations/types/reservation.types.d.ts +4 -0
- package/package.json +1 -1
@@ -2,9 +2,9 @@ import { UserAnswersDto } from '../../dto/application.dto';
|
|
2
2
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
3
3
|
import { CurrencyEnum, PlatformsEnum } from '../../services/enums.service';
|
4
4
|
import { User } from '../../user/entities/User';
|
5
|
+
import { CartDiscountDto, CartTaxDto } from '../dto/cart-item.dto';
|
5
6
|
import { CartStateEnum, CartStatusEnum } from '../types/enums/cart.enums';
|
6
7
|
import { CartItem } from './cart-item.entity';
|
7
|
-
import { CartDiscountDto, CartTaxDto } from '../dto/cart-item.dto';
|
8
8
|
export declare class Cart extends OrganizationConnectionBaseEntity {
|
9
9
|
deletedAt?: Date;
|
10
10
|
price: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cart.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;
|
1
|
+
{"version":3,"file":"cart.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAOjG,MAAa,IAAK,SAAQ,mEAAgC;CA8CzD;AA9CD,oBA8CC"}
|
@@ -129,6 +129,7 @@ export declare class PurchaseCartDto extends InvoiceCartDto implements IPurchase
|
|
129
129
|
paymentInfo?: PurchasePaymentDto;
|
130
130
|
amountToPay?: number;
|
131
131
|
installments?: ScheduledPaymentDto[];
|
132
|
+
purchasingUserId?: number;
|
132
133
|
parentPurchasedId?: number;
|
133
134
|
parentPurchasedType?: ResourceNameTypeEnum;
|
134
135
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,+DAA+D;AAC/D,8EAA8E;AAa9E,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAgB/B;AAhBD,kDAgBC;AAED,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,4BAAc;
|
1
|
+
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,+DAA+D;AAC/D,8EAA8E;AAa9E,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAgB/B;AAhBD,kDAgBC;AAED,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,4BAAc;CAYlD;AAZD,0CAYC"}
|
@@ -68,6 +68,7 @@ export interface IPurchaseCart extends IInvoiceCart {
|
|
68
68
|
paymentInfo?: PurchasePaymentDto;
|
69
69
|
amountToPay?: number;
|
70
70
|
installments?: ScheduledPaymentDto[];
|
71
|
+
purchasingUserId?: number;
|
71
72
|
parentPurchasedId?: number;
|
72
73
|
parentPurchasedType?: ResourceNameTypeEnum;
|
73
74
|
}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
2
|
+
import { ProductPackageLevelEnum } from '../../services/enums.service';
|
2
3
|
import { IAddon, IBaseAddon, IDraftAddon } from '../types/interfaces/addon.interfaces';
|
3
4
|
import { EditItemsRefundMetaDto } from './reservation.dto';
|
4
5
|
declare class BaseAddonDto implements IBaseAddon {
|
@@ -34,5 +35,6 @@ export declare class CreateDraftAddonDto extends BaseAddonDto {
|
|
34
35
|
export declare class DraftAddonDto extends BaseAddonDto implements IDraftAddon {
|
35
36
|
id: string;
|
36
37
|
product?: SimpleProductDto;
|
38
|
+
level?: ProductPackageLevelEnum;
|
37
39
|
}
|
38
40
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAKA,MAAM,YAAY;CAQjB;AAED,MAAa,QAAS,SAAQ,YAAY;CAQzC;AARD,4BAQC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,aAAa;CAE1D;AAFD,4DAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAM9C;AAND,sCAMC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
|
1
2
|
import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
2
3
|
import { FacilityDto } from '../../dto/facilities.dto';
|
3
4
|
import { PaginationQuery } from '../../dto/general.dto';
|
@@ -21,7 +22,6 @@ import { AddonDto, CreateDraftAddonDto, DraftAddonDto } from './addon.dto';
|
|
21
22
|
import { CreateDraftSegmentDto, DraftSegmentDto, SegmentDto } from './segment.dto';
|
22
23
|
import { SeriesDto } from './series.dto';
|
23
24
|
import { DraftSlotDto, SlotDto, UpdateDraftSlotDto, UpdateSlotsColorsDto } from './slot.dto';
|
24
|
-
import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
|
25
25
|
export declare class ProductPricesDto implements IProductPrice {
|
26
26
|
productId: number;
|
27
27
|
product?: Product;
|
@@ -97,6 +97,7 @@ export declare class ReservationInvoiceDto {
|
|
97
97
|
export declare class SaveReservationOptionsDto {
|
98
98
|
platform?: PlatformsEnum;
|
99
99
|
shiftId?: number;
|
100
|
+
updatePrices?: UpdateCartPricesDto;
|
100
101
|
}
|
101
102
|
export declare class SaveReservationDto extends SaveReservationOptionsDto implements ISaveReservationOptions {
|
102
103
|
reservation: ReservationDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;
|
1
|
+
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AAIA,uDAAwD;AACxD,+DAAsG;AAEtG,8EAA8E;AAK9E,kEAAwF;AA2CxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAM,kBAAkB;CA8BvB;AAED,MAAa,oBAAqB,SAAQ,kBAAkB;CAM3D;AAND,oDAMC;AAED,MAAa,cAAe,SAAQ,oBAAoB;CASvD;AATD,wCASC;AAED,MAAM,0BAA0B;CAM/B;AAED,MAAa,uBAAwB,SAAQ,0BAA0B;CAEtE;AAFD,0DAEC;AAED,MAAa,iBAAkB,SAAQ,uBAAuB;CAE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AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,0BAA0B;CAUtC;AAVD,gEAUC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"addon.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/addon.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAUjG,MAAa,KAAM,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"addon.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/addon.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAUjG,MAAa,KAAM,SAAQ,mEAAgC;CA6C1D;AA7CD,sBA6CC"}
|
@@ -63,6 +63,7 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
63
63
|
previousProductUsers?: ProductsUsers[];
|
64
64
|
colorCodeId?: number;
|
65
65
|
colorCode?: ColorCode;
|
66
|
+
cartItemId?: string;
|
66
67
|
conflictsCount?: number;
|
67
68
|
conflicts?: Slot[];
|
68
69
|
maintenance?: Slot[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"slot.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/slot.entity.ts"],"names":[],"mappings":";;;AAeA,oGAAiG;AAqBjG,MAAa,IAAK,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"slot.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/slot.entity.ts"],"names":[],"mappings":";;;AAeA,oGAAiG;AAqBjG,MAAa,IAAK,SAAQ,mEAAgC;CAyHzD;AAzHD,oBAyHC"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { EventStatusEnum, InvoiceStatusEnum, PriceFieldEnum } from '../../../services/enums.service';
|
2
2
|
import { SlotTypeEnum } from '../enums/reservation.enums';
|
3
3
|
export declare const DRAFT_RESERVATION_REDIS_TOKEN = "DRAFT_RESERVATION_REDIS_CLIENT";
|
4
|
+
export declare const RESERVATION_CHUNCK_SIZE = 500;
|
4
5
|
export declare const KEY_TTL = 172800;
|
5
6
|
export declare const RESOURCE_TOTAL_FIELD = PriceFieldEnum.TOTAL_PRICE;
|
6
7
|
export declare const PUBLIC_NOTES_LIMIT = 500;
|
@@ -1,9 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.reservationStatusToEventStatus = exports.reservationTypeMapper = exports.reservationStatusMapper = exports.PRIVATE_NOTES_LIMIT = exports.PUBLIC_NOTES_LIMIT = exports.RESOURCE_TOTAL_FIELD = exports.KEY_TTL = exports.DRAFT_RESERVATION_REDIS_TOKEN = void 0;
|
3
|
+
exports.reservationStatusToEventStatus = exports.reservationTypeMapper = exports.reservationStatusMapper = exports.PRIVATE_NOTES_LIMIT = exports.PUBLIC_NOTES_LIMIT = exports.RESOURCE_TOTAL_FIELD = exports.KEY_TTL = exports.RESERVATION_CHUNCK_SIZE = exports.DRAFT_RESERVATION_REDIS_TOKEN = void 0;
|
4
4
|
const enums_service_1 = require("../../../services/enums.service");
|
5
5
|
const reservation_enums_1 = require("../enums/reservation.enums");
|
6
6
|
exports.DRAFT_RESERVATION_REDIS_TOKEN = 'DRAFT_RESERVATION_REDIS_CLIENT';
|
7
|
+
exports.RESERVATION_CHUNCK_SIZE = 500;
|
7
8
|
// 2 days in seconds
|
8
9
|
exports.KEY_TTL = 172800;
|
9
10
|
exports.RESOURCE_TOTAL_FIELD = enums_service_1.PriceFieldEnum.TOTAL_PRICE;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.consts.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/consts/reservation.consts.ts"],"names":[],"mappings":";;;AAAA,mEAAqG;AACrG,kEAAsG;AAEzF,QAAA,6BAA6B,GAAG,gCAAgC,CAAC;
|
1
|
+
{"version":3,"file":"reservation.consts.js","sourceRoot":"","sources":["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KAAK;IACtD,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,+BAAe,CAAC,IAAI;IACtD,CAAC,yCAAqB,CAAC,cAAc,CAAC,EAAE,+BAAe,CAAC,KAAK;IAC7D,CAAC,yCAAqB,CAAC,iBAAiB,CAAC,EAAE,+BAAe,CAAC,KAAK;IAChE,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,+BAAe,CAAC,SAAS;IAC3D,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,+BAAe,CAAC,SAAS;CAC3D,CAAC"}
|
@@ -281,6 +281,7 @@ export interface ICartReservationOptions extends ICreateCartOptions {
|
|
281
281
|
targetGlobalPrice?: number;
|
282
282
|
platform?: PlatformsEnum;
|
283
283
|
shiftId?: number;
|
284
|
+
reservation?: DraftReservation;
|
284
285
|
updatePrices?: IUpdateCartPrices;
|
285
286
|
}
|
286
287
|
export interface IProductItems {
|
@@ -294,6 +295,7 @@ export interface ISaveReservationOptions {
|
|
294
295
|
slotType?: SlotTypeEnum;
|
295
296
|
platform?: PlatformsEnum;
|
296
297
|
shiftId?: number;
|
298
|
+
updatePrices?: IUpdateCartPrices;
|
297
299
|
}
|
298
300
|
export interface IGetDraftReservationSlotsFilter {
|
299
301
|
segmentsIds?: string[];
|
@@ -18,3 +18,7 @@ export type SegmentEntity = Segment | SegmentDto | DraftSegment;
|
|
18
18
|
export type SeriesEntity = Series | SeriesDto | DraftSeries;
|
19
19
|
export type SlotEntity = Slot | SlotDto | DraftSlot;
|
20
20
|
export type AddonEntity = Addon | AddonDto | DraftAddon;
|
21
|
+
export type IDraftEntitySplitAmount = {
|
22
|
+
amount: number;
|
23
|
+
id: string;
|
24
|
+
};
|