@bondsports/types 2.2.78 → 2.2.80
Sign up to get free protection for your applications and to get access to all the features.
@@ -9,10 +9,11 @@ import { NotifyMethodEnum, PlatformsEnum, ProgramTypesEnum, ResourceNameTypeEnum
|
|
9
9
|
import { Reservation } from '../entities/reservation.entity';
|
10
10
|
import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
|
11
11
|
import { IGetDraftReservationSlotsFilter, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
|
12
|
-
import { AddonDto } from './addon.dto';
|
12
|
+
import { AddonDto, DraftAddonDto } from './addon.dto';
|
13
13
|
import { DraftSegmentDto, SegmentDto } from './segment.dto';
|
14
14
|
import { SeriesDto } from './series.dto';
|
15
15
|
import { SlotDto, UpdateSlotsColorsDto } from './slot.dto';
|
16
|
+
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
16
17
|
export declare class ProductPricesDto {
|
17
18
|
productId: number;
|
18
19
|
product?: Product;
|
@@ -35,7 +36,6 @@ declare class BaseReservationDto {
|
|
35
36
|
publicNotes?: string;
|
36
37
|
privateNotes?: string;
|
37
38
|
forms?: number[];
|
38
|
-
addons?: AddonDto[];
|
39
39
|
overrideProductsPrice?: ProductPricesDto[];
|
40
40
|
targetGlobalPrice?: number;
|
41
41
|
colorCodeId?: number;
|
@@ -44,12 +44,14 @@ declare class BaseReservationDto {
|
|
44
44
|
export declare class ReservationDto extends BaseReservationDto {
|
45
45
|
id?: number;
|
46
46
|
segments: SegmentDto[];
|
47
|
+
addons?: AddonDto[];
|
47
48
|
userId?: number;
|
48
49
|
purchasingUserId?: number;
|
49
50
|
}
|
50
51
|
export declare class DraftReservationDto extends BaseReservationDto {
|
51
52
|
id?: string;
|
52
53
|
segments: DraftSegmentDto[];
|
54
|
+
addons?: DraftAddonDto[];
|
53
55
|
conflictsCount?: number;
|
54
56
|
}
|
55
57
|
export declare class ReservationInvoiceDto {
|
@@ -227,4 +229,16 @@ export declare class GetDraftReservationSlotsFilters extends PaginationQuery imp
|
|
227
229
|
export declare class ByDraftReservationId extends ByOrganizationIdDto {
|
228
230
|
reservationId: string;
|
229
231
|
}
|
232
|
+
export declare class SimpleDraftSegmentDto {
|
233
|
+
id: string;
|
234
|
+
name: string;
|
235
|
+
}
|
236
|
+
export declare class DraftSlotsFilterResultDto {
|
237
|
+
segments: SimpleDraftSegmentDto[];
|
238
|
+
days?: number[];
|
239
|
+
months?: number[];
|
240
|
+
years: number[];
|
241
|
+
spaces: SimpleResourceDto[];
|
242
|
+
instructors: SimpleResourceDto[];
|
243
|
+
}
|
230
244
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ByDraftReservationId = exports.GetDraftReservationSlotsFilters = 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.ReservationDto = exports.ProductPricesDto = void 0;
|
3
|
+
exports.DraftSlotsFilterResultDto = exports.SimpleDraftSegmentDto = exports.ByDraftReservationId = exports.GetDraftReservationSlotsFilters = 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.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");
|
@@ -130,4 +130,10 @@ exports.GetDraftReservationSlotsFilters = GetDraftReservationSlotsFilters;
|
|
130
130
|
class ByDraftReservationId extends organization_dto_1.ByOrganizationIdDto {
|
131
131
|
}
|
132
132
|
exports.ByDraftReservationId = ByDraftReservationId;
|
133
|
+
class SimpleDraftSegmentDto {
|
134
|
+
}
|
135
|
+
exports.SimpleDraftSegmentDto = SimpleDraftSegmentDto;
|
136
|
+
class DraftSlotsFilterResultDto {
|
137
|
+
}
|
138
|
+
exports.DraftSlotsFilterResultDto = DraftSlotsFilterResultDto;
|
133
139
|
//# sourceMappingURL=reservation.dto.js.map
|
@@ -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;
|
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;AA4BxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAa,gBAAgB;CAU5B;AAVD,4CAUC;AAED,MAAM,kBAAkB;CAqCvB;AAED,MAAa,cAAe,SAAQ,kBAAkB;CAUrD;AAVD,wCAUC;AAED,MAAa,mBAAoB,SAAQ,kBAAkB;CAQ1D;AARD,kDAQC;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;AA1BD,0EA0BC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC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