@bondsports/types 2.2.157 → 2.2.159
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@ import { OverrideProductsPricingDto } from '../../invoice/types/interfaces/invoi
|
|
5
5
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
6
6
|
import { PaymentMethodDto, RefundAmountDto } from '../../payment/dto/refund.dto';
|
7
7
|
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
8
|
-
import {
|
8
|
+
import { ProductDto } from '../../product-pricing/dto/product.dto';
|
9
9
|
import { Product } from '../../product-pricing/entities/Product';
|
10
10
|
import { PurchasePaymentDto, PurchaseResultDto } from '../../purchase/dto/purchase.dto';
|
11
11
|
import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
|
@@ -19,6 +19,7 @@ import { AddonDto, DraftAddonDto } from './addon.dto';
|
|
19
19
|
import { CreateDraftSegmentDto, DraftSegmentDto, SegmentDto } from './segment.dto';
|
20
20
|
import { SeriesDto } from './series.dto';
|
21
21
|
import { SlotDto, UpdateDraftSlotDto, UpdateSlotsColorsDto } from './slot.dto';
|
22
|
+
import { FacilityDto } from '../../dto/facilities.dto';
|
22
23
|
export declare class ProductPricesDto {
|
23
24
|
productId: number;
|
24
25
|
product?: Product;
|
@@ -67,9 +68,10 @@ export declare class DraftReservationDto extends SimpleDraftReservationDto {
|
|
67
68
|
addons?: DraftAddonDto[];
|
68
69
|
owner?: SimpleCustomerDto;
|
69
70
|
participants?: SimpleCustomerDto[];
|
70
|
-
products?:
|
71
|
+
products?: ProductDto[];
|
71
72
|
spaces?: SpaceResourceDto[];
|
72
73
|
instructors?: InstructorResourceDto[];
|
74
|
+
facilities: FacilityDto[];
|
73
75
|
}
|
74
76
|
export declare class ReservationInvoiceDto {
|
75
77
|
reservation: ReservationDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD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ZD,sEAYC;AAED,MAAa,oBAAoB;CAMhC;AAND,oDAMC;AAED,MAAa,WAAY,SAAQ,oBAAoB;CAEpD;AAFD,kCAEC;AAED,MAAa,gBAAiB,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC"}
|
@@ -310,6 +310,7 @@ export interface IGetDraftReservationOptions {
|
|
310
310
|
includeParticipants?: boolean;
|
311
311
|
includeSegments?: boolean;
|
312
312
|
includeSlots?: boolean;
|
313
|
+
includeFacilities?: boolean;
|
313
314
|
}
|
314
315
|
export interface IGetDraftReservationSlotsOptions extends IPagination, IExtendDraftSlotsOptions {
|
315
316
|
segmentsIds?: string[];
|