@bondsports/types 2.2.135 → 2.2.137
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/entity/LineItems.d.ts +2 -0
- package/dist/types/entity/LineItems.js.map +1 -1
- package/dist/types/payment/dto/payment.dto.d.ts +0 -1
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +6 -4
- package/dist/types/reservations/dto/reservation.dto.js +9 -6
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/package.json +1 -1
@@ -6,6 +6,7 @@ import { InvoiceDiscountOnEnum } from '../payment/types/enums/discount.enums';
|
|
6
6
|
import { PaymentStatusEnum } from '../payment/types/enums/payment.enums';
|
7
7
|
import { Product } from '../product-pricing/entities/Product';
|
8
8
|
import { LineItemsStatusEnum, ProductTypesEnum } from '../services/enums.service';
|
9
|
+
import { User } from '../user/entities/User';
|
9
10
|
import { CurrencyEnum, ProductSubTypesEnum } from './../services/enums.service';
|
10
11
|
import { EntitlementGroup } from './EntitlementGroup';
|
11
12
|
import { Invoice } from './Invoice';
|
@@ -19,6 +20,7 @@ export declare class LineItems extends OrganizationConnectionBaseEntity {
|
|
19
20
|
invoiceId: number;
|
20
21
|
invoice: Invoice;
|
21
22
|
userId: number;
|
23
|
+
user: User;
|
22
24
|
productId: number;
|
23
25
|
product: Product;
|
24
26
|
productUserId?: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LineItems.js","sourceRoot":"","sources":["../../../src/types/entity/LineItems.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"LineItems.js","sourceRoot":"","sources":["../../../src/types/entity/LineItems.ts"],"names":[],"mappings":";;;AA0BA,yFAAsF;AAItF,MAAa,SAAU,SAAQ,mEAAgC;CAsI9D;AAtID,8BAsIC"}
|
@@ -66,7 +66,6 @@ export declare class PaymentViaInvoiceHashDto {
|
|
66
66
|
export declare class ByPaymentFilter extends PaginationQuery {
|
67
67
|
paymentTypes?: PaymentMethodTypeEnum[];
|
68
68
|
paymentStatuses?: PaymentStatusEnum[];
|
69
|
-
statuses?: FuturePaymentStatusEnum[];
|
70
69
|
startDate?: Date;
|
71
70
|
endDate?: Date;
|
72
71
|
productTypes?: ProductTypesEnum[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AACxD,8EAA8E;AAoB9E,2EAA6E;AAc7E,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAE9C;AAFD,sCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,iCAAkC,SAAQ,YAAY;CAElE;AAFD,8EAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,qBAAsB,SAAQ,YAAY;CAEtD;AAFD,sDAEC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,eAAgB,SAAQ,6BAAe;
|
1
|
+
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AACxD,8EAA8E;AAoB9E,2EAA6E;AAc7E,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa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,gCA0EC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,sBAAsB;CAYlC;AAZD,wDAYC"}
|
@@ -40,7 +40,6 @@ declare class BaseReservationDto {
|
|
40
40
|
privateNotes?: string;
|
41
41
|
forms?: number[];
|
42
42
|
overrideProductsPrice?: OverrideProductsPricingDto;
|
43
|
-
targetGlobalPrice?: number;
|
44
43
|
colorCodeId?: number;
|
45
44
|
customerId?: number;
|
46
45
|
}
|
@@ -50,15 +49,18 @@ export declare class ReservationDto extends BaseReservationDto {
|
|
50
49
|
paymentStatus?: ReservationPaymentStatusEnum;
|
51
50
|
segments: SegmentDto[];
|
52
51
|
addons?: AddonDto[];
|
52
|
+
targetGlobalPrice?: number;
|
53
53
|
userId?: number;
|
54
54
|
purchasingUserId?: number;
|
55
55
|
}
|
56
56
|
export declare class CreateDraftReservationDto extends BaseReservationDto {
|
57
57
|
id?: string;
|
58
58
|
}
|
59
|
-
export declare class
|
59
|
+
export declare class SimpleDraftReservationDto extends CreateDraftReservationDto {
|
60
60
|
id: string;
|
61
61
|
conflictsCount?: number;
|
62
|
+
}
|
63
|
+
export declare class DraftReservationDto extends SimpleDraftReservationDto {
|
62
64
|
segments?: DraftSegmentDto[];
|
63
65
|
addons?: DraftAddonDto[];
|
64
66
|
owner?: SimpleCustomerDto;
|
@@ -241,7 +243,7 @@ export declare class GetDraftReservationSlotsFiltersDto extends PaginationQuery
|
|
241
243
|
endDate?: Date;
|
242
244
|
includeResources?: boolean;
|
243
245
|
}
|
244
|
-
export declare class
|
246
|
+
export declare class ByDraftReservationIdDto extends ByOrganizationIdDto {
|
245
247
|
reservationId: string;
|
246
248
|
}
|
247
249
|
export declare class SimpleDraftSegmentDto {
|
@@ -271,7 +273,7 @@ export declare class GetDraftReservationOptionsDto implements IGetDraftReservati
|
|
271
273
|
export declare class DraftIdsDto {
|
272
274
|
ids: string[];
|
273
275
|
}
|
274
|
-
export declare class
|
276
|
+
export declare class ByDraftSlotIdDto extends ByDraftReservationIdDto {
|
275
277
|
id: string;
|
276
278
|
}
|
277
279
|
export declare class GenerateReservationDto {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GenerateReservationDto = exports.
|
3
|
+
exports.GenerateReservationDto = exports.ByDraftSlotIdDto = exports.DraftIdsDto = exports.GetDraftReservationOptionsDto = exports.GetDraftReservationAddonsQueryDto = exports.DraftSlotsFilterResultDto = exports.SimpleDraftSegmentDto = exports.ByDraftReservationIdDto = exports.GetDraftReservationSlotsFiltersDto = exports.AddSegmentsDto = exports.AddSlotsDto = exports.InvoiceReservationItemsDto = exports.SaveSlotToSegmenResultDto = exports.AddSlotToSegmenResultDto = exports.ChargeReservationResultDto = exports.UpdateCustomerSlotsColorsDto = exports.UpdateReservationSlotsColorsDto = exports.UpdateReservationInvoiceDto = exports.ReservationNotifyDto = exports.ValidateEditSlotsDto = exports.EditReservationDetailsDto = exports.EditSlotsDto = exports.EditItemsRefundMetaDto = exports.UpdateSlotsDto = exports.AddSlotToSegmentDto = exports.FindBySlotDto = exports.UpdateReservationStatusDto = exports.FindBySegmentDto = exports.FindByFacilityDto = exports.FindByReservationDto = exports.getSlotFQueryParamsDto = exports.getSlotsSlotCardDto = exports.FindSlotsByFacilityIdFiltersDto = exports.FindReservationsByUserIdFiltersDto = exports.FindReservationsByOrganizationIdFiltersDto = exports.BookingDto = exports.BookingData = exports.UpdateSlotsPricesDto = exports.UpdateReservationPriceDto = exports.CategoryPricesDto = exports.SingleReservationIncludesDto = exports.SaveReservationDto = exports.ReservationInvoiceDto = exports.DraftReservationDto = exports.SimpleDraftReservationDto = exports.CreateDraftReservationDto = exports.ReservationDto = exports.ProductPricesDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
const invoice_dto_1 = require("../../invoice/dto/invoice.dto");
|
6
6
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
@@ -17,7 +17,10 @@ exports.ReservationDto = ReservationDto;
|
|
17
17
|
class CreateDraftReservationDto extends BaseReservationDto {
|
18
18
|
}
|
19
19
|
exports.CreateDraftReservationDto = CreateDraftReservationDto;
|
20
|
-
class
|
20
|
+
class SimpleDraftReservationDto extends CreateDraftReservationDto {
|
21
|
+
}
|
22
|
+
exports.SimpleDraftReservationDto = SimpleDraftReservationDto;
|
23
|
+
class DraftReservationDto extends SimpleDraftReservationDto {
|
21
24
|
}
|
22
25
|
exports.DraftReservationDto = DraftReservationDto;
|
23
26
|
class ReservationInvoiceDto {
|
@@ -130,9 +133,9 @@ exports.AddSegmentsDto = AddSegmentsDto;
|
|
130
133
|
class GetDraftReservationSlotsFiltersDto extends general_dto_1.PaginationQuery {
|
131
134
|
}
|
132
135
|
exports.GetDraftReservationSlotsFiltersDto = GetDraftReservationSlotsFiltersDto;
|
133
|
-
class
|
136
|
+
class ByDraftReservationIdDto extends organization_dto_1.ByOrganizationIdDto {
|
134
137
|
}
|
135
|
-
exports.
|
138
|
+
exports.ByDraftReservationIdDto = ByDraftReservationIdDto;
|
136
139
|
class SimpleDraftSegmentDto {
|
137
140
|
}
|
138
141
|
exports.SimpleDraftSegmentDto = SimpleDraftSegmentDto;
|
@@ -148,9 +151,9 @@ exports.GetDraftReservationOptionsDto = GetDraftReservationOptionsDto;
|
|
148
151
|
class DraftIdsDto {
|
149
152
|
}
|
150
153
|
exports.DraftIdsDto = DraftIdsDto;
|
151
|
-
class
|
154
|
+
class ByDraftSlotIdDto extends ByDraftReservationIdDto {
|
152
155
|
}
|
153
|
-
exports.
|
156
|
+
exports.ByDraftSlotIdDto = ByDraftSlotIdDto;
|
154
157
|
class GenerateReservationDto {
|
155
158
|
}
|
156
159
|
exports.GenerateReservationDto = GenerateReservationDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD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