@bondsports/types 2.2.99 → 2.2.101
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/pricing/entities/Price.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +2 -1
- package/dist/types/reservations/dto/reservation.dto.js +3 -3
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/types/index.d.ts +1 -0
- package/dist/types/reservations/types/index.js +1 -0
- package/dist/types/reservations/types/index.js.map +1 -1
- package/dist/types/reservations/types/reservation.types.d.ts +12 -0
- package/dist/types/reservations/types/reservation.types.js +3 -0
- package/dist/types/reservations/types/reservation.types.js.map +1 -0
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../../src/types/pricing/entities/Price.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAKjG,MAAa,KAAM,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../../src/types/pricing/entities/Price.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAKjG,MAAa,KAAM,SAAQ,mEAAgC;CAwC1D;AAxCD,sBAwCC"}
|
@@ -62,6 +62,7 @@ export declare class DraftReservationDto extends CreateDraftReservationDto {
|
|
62
62
|
products?: SimpleProductDto[];
|
63
63
|
spaces?: SimpleResourceDto[];
|
64
64
|
instructors?: SimpleResourceDto[];
|
65
|
+
totalPrice?: number;
|
65
66
|
}
|
66
67
|
export declare class ReservationInvoiceDto {
|
67
68
|
reservation: ReservationDto;
|
@@ -263,7 +264,7 @@ export declare class GetDraftReservationOptionsDto implements IGetDraftReservati
|
|
263
264
|
includeParticipants?: boolean;
|
264
265
|
includeSegments?: boolean;
|
265
266
|
}
|
266
|
-
export declare class
|
267
|
+
export declare class DraftIdsDto {
|
267
268
|
ids: string[];
|
268
269
|
}
|
269
270
|
export declare class ByDraftSlotId extends ByDraftReservationId {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GenerateReservationDto = exports.ByDraftSlotId = exports.
|
3
|
+
exports.GenerateReservationDto = exports.ByDraftSlotId = exports.DraftIdsDto = exports.GetDraftReservationOptionsDto = exports.GetDraftReservationAddonsQueryDto = exports.DraftSlotsFilterResultDto = exports.SimpleDraftSegmentDto = exports.ByDraftReservationId = 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.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");
|
@@ -145,9 +145,9 @@ exports.GetDraftReservationAddonsQueryDto = GetDraftReservationAddonsQueryDto;
|
|
145
145
|
class GetDraftReservationOptionsDto {
|
146
146
|
}
|
147
147
|
exports.GetDraftReservationOptionsDto = GetDraftReservationOptionsDto;
|
148
|
-
class
|
148
|
+
class DraftIdsDto {
|
149
149
|
}
|
150
|
-
exports.
|
150
|
+
exports.DraftIdsDto = DraftIdsDto;
|
151
151
|
class ByDraftSlotId extends ByDraftReservationId {
|
152
152
|
}
|
153
153
|
exports.ByDraftSlotId = ByDraftSlotId;
|
@@ -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;AAuCxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAa,gBAAgB;CAU5B;AAVD,4CAUC;AAED,MAAM,kBAAkB;CAiCvB;AAED,MAAa,cAAe,SAAQ,kBAAkB;CAcrD;AAdD,wCAcC;AAED,MAAa,yBAA0B,SAAQ,kBAAkB;
|
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;AAuCxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAa,gBAAgB;CAU5B;AAVD,4CAUC;AAED,MAAM,kBAAkB;CAiCvB;AAED,MAAa,cAAe,SAAQ,kBAAkB;CAcrD;AAdD,wCAcC;AAED,MAAa,yBAA0B,SAAQ,kBAAkB;CAAG;AAApE,8DAAoE;AAEpE,MAAa,mBAAoB,SAAQ,yBAAyB;CAoBjE;AApBD,kDAoBC;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,MA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CAQpC;AARD,4DAQC;AACD,MAAa,yBAA0B,SAAQ,wBAAwB;CAEtE;AAFD,8DAEC;AAED,MAAa,0BAA2B,SAAQ,qCAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,WAAY,SAAQ,8BAAgB;CAEhD;AAFD,kCAEC;AAED,MAAa,cAAe,SAAQ,8BAAgB;CAEnD;AAFD,wCAEC;AAED,MAAa,kCACZ,SAAQ,6BAAe;CAqBvB;AAtBD,gFAsBC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,yBAAyB;CAYrC;AAZD,8DAYC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAIrE;AAJD,8EAIC;AAED,MAAa,6BAA6B;CAYzC;AAZD,sEAYC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,aAAc,SAAQ,oBAAoB;CAEtD;AAFD,sCAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC"}
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./consts"), exports);
|
18
18
|
__exportStar(require("./enums"), exports);
|
19
19
|
__exportStar(require("./interfaces"), exports);
|
20
|
+
__exportStar(require("./reservation.types"), exports);
|
20
21
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/reservations/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/reservations/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,sDAAoC"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { Slot } from '../entities/slot.entity';
|
2
|
+
import { DraftSlotDto, SlotDto } from '../dto/slot.dto';
|
3
|
+
import { DraftSeriesDto, SeriesDto } from '../dto/series.dto';
|
4
|
+
import { Series } from '../entities/series.entity';
|
5
|
+
import { Segment } from '../entities/segment.entity';
|
6
|
+
import { DraftSegmentDto, SegmentDto } from '../dto/segment.dto';
|
7
|
+
import { Reservation } from '../entities/reservation.entity';
|
8
|
+
import { DraftReservationDto, ReservationDto } from '../dto/reservation.dto';
|
9
|
+
export type ReservationEntity = Reservation | ReservationDto | DraftReservationDto;
|
10
|
+
export type SegmentEntity = Segment | SegmentDto | DraftSegmentDto;
|
11
|
+
export type SeriesEntity = Series | SeriesDto | DraftSeriesDto;
|
12
|
+
export type SlotEntity = Slot | SlotDto | DraftSlotDto;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"reservation.types.js","sourceRoot":"","sources":["../../../../src/types/reservations/types/reservation.types.ts"],"names":[],"mappings":""}
|