@bondsports/types 2.2.164 → 2.2.166
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/dto/product-variants.dto.d.ts +2 -14
- package/dist/types/dto/product-variants.dto.js +2 -5
- package/dist/types/dto/product-variants.dto.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +11 -0
- package/dist/types/reservations/dto/reservation.dto.js +8 -1
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/package.json +1 -1
@@ -1,24 +1,12 @@
|
|
1
|
-
import { ByOrganizationIdDto } from '../organization/dto/organization.dto';
|
2
|
-
import { CurrencyEnum } from '../services/enums.service';
|
1
|
+
import { ByOrganizationIdDto, OrganizationBaseEntityDto } from '../organization/dto/organization.dto';
|
3
2
|
import { CreatePriceDto } from '../pricing/dto/pricing.dto';
|
4
|
-
export declare class CreateUpdateVariantsDto {
|
5
|
-
organizationId: number;
|
6
|
-
parentProductId: number;
|
7
|
-
variantTitles: VariantTitleDto[];
|
8
|
-
variants: VariantDto[];
|
9
|
-
}
|
10
3
|
export declare class VariantTitleDto {
|
11
4
|
name: string;
|
12
5
|
id: number;
|
13
6
|
organizationId: number;
|
14
7
|
}
|
15
|
-
export declare class VariantDto {
|
8
|
+
export declare class VariantDto extends OrganizationBaseEntityDto {
|
16
9
|
name: string;
|
17
|
-
price: number;
|
18
|
-
variantId: number;
|
19
|
-
currency: CurrencyEnum;
|
20
|
-
startDate: Date;
|
21
|
-
endDate: Date;
|
22
10
|
variantTitleId: number;
|
23
11
|
}
|
24
12
|
export declare class VariantWithPrice {
|
@@ -1,14 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UpdateVariantTitleDto = exports.CreateVariantTitleDto = exports.GetAllVariantTitlesDto = exports.VariantWithPrice = exports.VariantDto = exports.VariantTitleDto =
|
3
|
+
exports.UpdateVariantTitleDto = exports.CreateVariantTitleDto = exports.GetAllVariantTitlesDto = exports.VariantWithPrice = exports.VariantDto = exports.VariantTitleDto = void 0;
|
4
4
|
const organization_dto_1 = require("../organization/dto/organization.dto");
|
5
|
-
class CreateUpdateVariantsDto {
|
6
|
-
}
|
7
|
-
exports.CreateUpdateVariantsDto = CreateUpdateVariantsDto;
|
8
5
|
class VariantTitleDto {
|
9
6
|
}
|
10
7
|
exports.VariantTitleDto = VariantTitleDto;
|
11
|
-
class VariantDto {
|
8
|
+
class VariantDto extends organization_dto_1.OrganizationBaseEntityDto {
|
12
9
|
}
|
13
10
|
exports.VariantDto = VariantDto;
|
14
11
|
class VariantWithPrice {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"product-variants.dto.js","sourceRoot":"","sources":["../../../src/types/dto/product-variants.dto.ts"],"names":[],"mappings":";;;AAAA,
|
1
|
+
{"version":3,"file":"product-variants.dto.js","sourceRoot":"","sources":["../../../src/types/dto/product-variants.dto.ts"],"names":[],"mappings":";;;AAAA,2EAAsG;AAGtG,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,UAAW,SAAQ,4CAAyB;CAIxD;AAJD,gCAIC;AAED,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAAG;AAAlE,wDAAkE;AAElE,MAAa,qBAAsB,SAAQ,sCAAmB;CAI7D;AAJD,sDAIC;AAED,MAAa,qBAAsB,SAAQ,sCAAmB;CAM7D;AAND,sDAMC"}
|
@@ -56,6 +56,12 @@ export declare class ReservationDto extends BaseReservationDto {
|
|
56
56
|
userId?: number;
|
57
57
|
purchasingUserId?: number;
|
58
58
|
}
|
59
|
+
export declare class SegmentsAddonsDto {
|
60
|
+
ids: string[];
|
61
|
+
addonIds: number[];
|
62
|
+
addons: DraftAddonDto[];
|
63
|
+
quantity: number;
|
64
|
+
}
|
59
65
|
export declare class CreateDraftReservationDto extends BaseReservationDto {
|
60
66
|
id?: string;
|
61
67
|
}
|
@@ -72,6 +78,7 @@ export declare class DraftReservationDto extends SimpleDraftReservationDto {
|
|
72
78
|
spaces?: SpaceResourceDto[];
|
73
79
|
instructors?: InstructorResourceDto[];
|
74
80
|
facilities: FacilityDto[];
|
81
|
+
segmentsAddons?: SegmentsAddonsDto[];
|
75
82
|
}
|
76
83
|
export declare class ReservationInvoiceDto {
|
77
84
|
reservation: ReservationDto;
|
@@ -299,4 +306,8 @@ export declare class UpdateDraftSlotsDto {
|
|
299
306
|
slots: UpdateDraftSlotDto[];
|
300
307
|
overrideProducts?: boolean;
|
301
308
|
}
|
309
|
+
export declare class ReservationAddonsDto {
|
310
|
+
reservation: DraftAddonDto[];
|
311
|
+
segments: SegmentsAddonsDto[];
|
312
|
+
}
|
302
313
|
export {};
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.GenerateReservationDto = exports.ByDraftSlotIdDto = exports.DraftIdsDto = exports.GetDraftSlotsOptions = 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.SegmentsAddonsDto = exports.ReservationDto = exports.ProductPricesDto = void 0;
|
4
|
+
exports.ReservationAddonsDto = exports.UpdateDraftSlotsDto = void 0;
|
4
5
|
const general_dto_1 = require("../../dto/general.dto");
|
5
6
|
const invoice_dto_1 = require("../../invoice/dto/invoice.dto");
|
6
7
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
@@ -14,6 +15,9 @@ class BaseReservationDto {
|
|
14
15
|
class ReservationDto extends BaseReservationDto {
|
15
16
|
}
|
16
17
|
exports.ReservationDto = ReservationDto;
|
18
|
+
class SegmentsAddonsDto {
|
19
|
+
}
|
20
|
+
exports.SegmentsAddonsDto = SegmentsAddonsDto;
|
17
21
|
class CreateDraftReservationDto extends BaseReservationDto {
|
18
22
|
}
|
19
23
|
exports.CreateDraftReservationDto = CreateDraftReservationDto;
|
@@ -163,4 +167,7 @@ exports.GenerateReservationDto = GenerateReservationDto;
|
|
163
167
|
class UpdateDraftSlotsDto {
|
164
168
|
}
|
165
169
|
exports.UpdateDraftSlotsDto = UpdateDraftSlotsDto;
|
170
|
+
class ReservationAddonsDto {
|
171
|
+
}
|
172
|
+
exports.ReservationAddonsDto = ReservationAddonsDto;
|
166
173
|
//# 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":"
|
1
|
+
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AAEA,uDAAwD;AACxD,+DAAsG;AA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