@bondsports/types 2.2.71 → 2.2.73
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/events.dto.d.ts +1 -1
- package/dist/types/entity/Customer.d.ts +1 -1
- package/dist/types/entity/Events.d.ts +1 -1
- package/dist/types/entity/Invoice.d.ts +3 -3
- package/dist/types/entity/ProductsUsers.d.ts +2 -2
- package/dist/types/entity/index.d.ts +0 -2
- package/dist/types/entity/index.js +0 -2
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/invoice/dto/index.d.ts +2 -1
- package/dist/types/invoice/dto/index.js +2 -1
- package/dist/types/invoice/dto/index.js.map +1 -1
- package/dist/types/invoice/dto/invoice.dto.d.ts +27 -0
- package/dist/types/invoice/dto/invoice.dto.js +13 -1
- package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
- package/dist/types/{reservations → invoice}/dto/lineItem.dto.d.ts +1 -1
- package/dist/types/invoice/dto/lineItem.dto.js.map +1 -0
- package/dist/types/invoice/dto/{publishInvoice.dto.js → publish-invoice.dto.js} +1 -1
- package/dist/types/invoice/dto/publish-invoice.dto.js.map +1 -0
- package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +27 -0
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +2 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +3 -2
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/reservations/dto/addon.dto.d.ts +3 -5
- package/dist/types/reservations/dto/addon.dto.js.map +1 -1
- package/dist/types/reservations/dto/index.d.ts +0 -2
- package/dist/types/reservations/dto/index.js +0 -2
- package/dist/types/reservations/dto/index.js.map +1 -1
- package/dist/types/reservations/dto/maintenance.dto.d.ts +1 -2
- package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +29 -7
- package/dist/types/reservations/dto/reservation.dto.js +17 -1
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/segment.dto.d.ts +9 -2
- package/dist/types/reservations/dto/segment.dto.js.map +1 -1
- package/dist/types/reservations/dto/series.dto.d.ts +5 -2
- package/dist/types/reservations/dto/series.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +32 -19
- package/dist/types/reservations/dto/slot.dto.js +7 -4
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/reservations/entities/{Addon.d.ts → addon.entity.d.ts} +6 -1
- package/dist/types/reservations/entities/{Addon.js → addon.entity.js} +1 -1
- package/dist/types/reservations/entities/addon.entity.js.map +1 -0
- package/dist/types/reservations/entities/index.d.ts +6 -6
- package/dist/types/reservations/entities/index.js +6 -6
- package/dist/types/reservations/entities/index.js.map +1 -1
- package/dist/types/reservations/entities/{Reservations.d.ts → reservation.entity.d.ts} +14 -13
- package/dist/types/reservations/entities/{Reservations.js → reservation.entity.js} +1 -1
- package/dist/types/reservations/entities/reservation.entity.js.map +1 -0
- package/dist/types/reservations/entities/{Segments.d.ts → segment.entity.d.ts} +4 -4
- package/dist/types/reservations/entities/{Segments.js → segment.entity.js} +1 -1
- package/dist/types/reservations/entities/segment.entity.js.map +1 -0
- package/dist/types/reservations/entities/{Series.d.ts → series.entity.d.ts} +6 -5
- package/dist/types/reservations/entities/{Series.js → series.entity.js} +1 -1
- package/dist/types/reservations/entities/series.entity.js.map +1 -0
- package/dist/types/reservations/entities/slot-history.entity.d.ts +6 -0
- package/dist/types/reservations/entities/slot-history.entity.js +8 -0
- package/dist/types/reservations/entities/slot-history.entity.js.map +1 -0
- package/dist/types/reservations/entities/{Slots.d.ts → slot.entity.d.ts} +22 -23
- package/dist/types/reservations/entities/{Slots.js → slot.entity.js} +1 -1
- package/dist/types/reservations/entities/slot.entity.js.map +1 -0
- package/dist/types/reservations/types/consts/reservation.consts.js +7 -6
- package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
- package/dist/types/reservations/types/enums/reservation.enums.d.ts +59 -0
- package/dist/types/reservations/types/enums/reservation.enums.js +72 -1
- package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
- package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +13 -0
- package/dist/types/reservations/types/interfaces/{invoice.interfaces.js → addon.interfaces.js} +1 -1
- package/dist/types/reservations/types/interfaces/addon.interfaces.js.map +1 -0
- package/dist/types/reservations/types/interfaces/index.d.ts +2 -1
- package/dist/types/reservations/types/interfaces/index.js +2 -1
- package/dist/types/reservations/types/interfaces/index.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +9 -8
- package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
- package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +56 -0
- package/dist/types/reservations/types/interfaces/slot.interfaces.js +3 -0
- package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -0
- package/dist/types/resources/dto/resource.dto.d.ts +2 -2
- package/dist/types/resources/entities/Resource.d.ts +2 -2
- package/dist/types/services/enums.service.d.ts +0 -58
- package/dist/types/services/enums.service.js +2 -70
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +4 -53
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/entity/Reservations.d.ts +0 -35
- package/dist/types/entity/Reservations.js +0 -8
- package/dist/types/entity/Reservations.js.map +0 -1
- package/dist/types/entity/SlotHistory.d.ts +0 -53
- package/dist/types/entity/SlotHistory.js +0 -8
- package/dist/types/entity/SlotHistory.js.map +0 -1
- package/dist/types/invoice/dto/publishInvoice.dto.js.map +0 -1
- package/dist/types/reservations/dto/invoice.dto.d.ts +0 -50
- package/dist/types/reservations/dto/invoice.dto.js +0 -31
- package/dist/types/reservations/dto/invoice.dto.js.map +0 -1
- package/dist/types/reservations/dto/lineItem.dto.js.map +0 -1
- package/dist/types/reservations/entities/Addon.js.map +0 -1
- package/dist/types/reservations/entities/InvoicedSlots.d.ts +0 -7
- package/dist/types/reservations/entities/InvoicedSlots.js +0 -8
- package/dist/types/reservations/entities/InvoicedSlots.js.map +0 -1
- package/dist/types/reservations/entities/Reservations.js.map +0 -1
- package/dist/types/reservations/entities/Segments.js.map +0 -1
- package/dist/types/reservations/entities/Series.js.map +0 -1
- package/dist/types/reservations/entities/Slots.js.map +0 -1
- package/dist/types/reservations/types/interfaces/invoice.interfaces.d.ts +0 -28
- package/dist/types/reservations/types/interfaces/invoice.interfaces.js.map +0 -1
- /package/dist/types/{reservations → invoice}/dto/lineItem.dto.js +0 -0
- /package/dist/types/invoice/dto/{publishInvoice.dto.d.ts → publish-invoice.dto.d.ts} +0 -0
@@ -1,12 +1,15 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UpdateSlotsColorsDto = exports.SlotsIdsDto = exports.TimeSlotsDto = exports.TimeSlotDto = exports.SlotDto = exports.
|
4
|
-
class
|
3
|
+
exports.UpdateSlotsColorsDto = exports.SlotsIdsDto = exports.TimeSlotsDto = exports.TimeSlotDto = exports.SlotProductMetadataDto = exports.SlotDto = exports.DateTimeAndResourcesDto = void 0;
|
4
|
+
class DateTimeAndResourcesDto {
|
5
5
|
}
|
6
|
-
exports.
|
7
|
-
class SlotDto extends
|
6
|
+
exports.DateTimeAndResourcesDto = DateTimeAndResourcesDto;
|
7
|
+
class SlotDto extends DateTimeAndResourcesDto {
|
8
8
|
}
|
9
9
|
exports.SlotDto = SlotDto;
|
10
|
+
class SlotProductMetadataDto {
|
11
|
+
}
|
12
|
+
exports.SlotProductMetadataDto = SlotProductMetadataDto;
|
10
13
|
class TimeSlotDto {
|
11
14
|
}
|
12
15
|
exports.TimeSlotDto = TimeSlotDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAkBA,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,OAAQ,SAAQ,uBAAuB;CAkFnD;AAlFD,0BAkFC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,WAAW;CAevB;AAfD,kCAeC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC"}
|
@@ -3,7 +3,10 @@ import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConne
|
|
3
3
|
import { ProductsUsers } from '../../entity/ProductsUsers';
|
4
4
|
import { Product } from '../../product-pricing/entities/Product';
|
5
5
|
import { Resource } from '../../resources/entities/Resource';
|
6
|
-
import { AddonParentTypeEnum, ProductPackageLevelEnum
|
6
|
+
import { AddonParentTypeEnum, ProductPackageLevelEnum } from '../../services/enums.service';
|
7
|
+
import { ReservationPaymentStatusEnum, ReservationStatusEnum } from '../types/enums/reservation.enums';
|
8
|
+
import { Reservation } from './reservation.entity';
|
9
|
+
import { Slot } from './slot.entity';
|
7
10
|
export declare class Addon extends OrganizationConnectionBaseEntity {
|
8
11
|
deletedAt?: Date;
|
9
12
|
parentId: number;
|
@@ -24,4 +27,6 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
24
27
|
productUser?: ProductsUsers;
|
25
28
|
previousProductUsersIds?: number[];
|
26
29
|
previousProductUsers?: ProductsUsers[];
|
30
|
+
reservation?: Reservation;
|
31
|
+
slot?: Slot;
|
27
32
|
}
|
@@ -5,4 +5,4 @@ const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationCon
|
|
5
5
|
class Addon extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
6
6
|
}
|
7
7
|
exports.Addon = Addon;
|
8
|
-
//# sourceMappingURL=
|
8
|
+
//# sourceMappingURL=addon.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"addon.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/addon.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAUjG,MAAa,KAAM,SAAQ,mEAAgC;CA2C1D;AA3CD,sBA2CC"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './
|
3
|
-
export * from './
|
4
|
-
export * from './
|
5
|
-
export * from './
|
6
|
-
export * from './
|
1
|
+
export * from './addon.entity';
|
2
|
+
export * from './reservation.entity';
|
3
|
+
export * from './segment.entity';
|
4
|
+
export * from './series.entity';
|
5
|
+
export * from './slot-history.entity';
|
6
|
+
export * from './slot.entity';
|
@@ -14,10 +14,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./
|
18
|
-
__exportStar(require("./
|
19
|
-
__exportStar(require("./
|
20
|
-
__exportStar(require("./
|
21
|
-
__exportStar(require("./
|
22
|
-
__exportStar(require("./
|
17
|
+
__exportStar(require("./addon.entity"), exports);
|
18
|
+
__exportStar(require("./reservation.entity"), exports);
|
19
|
+
__exportStar(require("./segment.entity"), exports);
|
20
|
+
__exportStar(require("./series.entity"), exports);
|
21
|
+
__exportStar(require("./slot-history.entity"), exports);
|
22
|
+
__exportStar(require("./slot.entity"), exports);
|
23
23
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,uDAAqC;AACrC,mDAAiC;AACjC,kDAAgC;AAChC,wDAAsC;AACtC,gDAA8B"}
|
@@ -1,40 +1,41 @@
|
|
1
1
|
import { Customer } from '../../entity/Customer';
|
2
2
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
import {
|
3
|
+
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
4
|
+
import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum } from '../types/enums/reservation.enums';
|
5
|
+
import { Addon } from './addon.entity';
|
6
|
+
import { Segment } from './segment.entity';
|
7
|
+
import { Slot } from './slot.entity';
|
7
8
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
8
9
|
name?: string;
|
9
10
|
description?: string;
|
10
11
|
approvalStatus?: ReservationStatusEnum;
|
11
|
-
privacySetting?:
|
12
|
+
privacySetting?: PrivacySettingsEnum;
|
12
13
|
reservationType?: ReservationTypeEnum;
|
13
|
-
invoiceId?: string;
|
14
14
|
customerId?: number;
|
15
15
|
customer?: Customer;
|
16
16
|
price?: number;
|
17
17
|
paymentStatus?: ReservationPaymentStatusEnum;
|
18
|
-
startTime?: string;
|
19
|
-
startDate?: Date;
|
20
|
-
endDate?: Date;
|
21
18
|
creatorId?: number;
|
22
19
|
creatorType?: ResourceNameTypeEnum;
|
23
20
|
userCreatorId?: number;
|
24
|
-
sportType?: number;
|
25
21
|
importedId?: string;
|
26
22
|
deletedAt?: Date;
|
27
23
|
publicNotes?: string;
|
28
24
|
privateNotes?: string;
|
29
25
|
forms?: number[] | null;
|
30
26
|
answerTitleIds?: number[] | null;
|
31
|
-
segments?: Segment[];
|
32
|
-
migrationStatus?: string;
|
33
|
-
addons: Addon[];
|
34
27
|
overrideProductsPrice: {
|
35
28
|
productId: number;
|
36
29
|
price: number;
|
37
30
|
}[];
|
38
31
|
targetGlobalPrice?: number;
|
32
|
+
segments?: Segment[];
|
33
|
+
addons: Addon[];
|
39
34
|
slots: Slot[];
|
35
|
+
invoiceId?: string;
|
36
|
+
startTime?: string;
|
37
|
+
startDate?: Date;
|
38
|
+
endDate?: Date;
|
39
|
+
sportType?: number;
|
40
|
+
migrationStatus?: string;
|
40
41
|
}
|
@@ -5,4 +5,4 @@ const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationCon
|
|
5
5
|
class Reservation extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
6
6
|
}
|
7
7
|
exports.Reservation = Reservation;
|
8
|
-
//# sourceMappingURL=
|
8
|
+
//# sourceMappingURL=reservation.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"reservation.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/reservation.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAcjG,MAAa,WAAY,SAAQ,mEAAgC;CAgEhE;AAhED,kCAgEC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
2
|
-
import { Reservation } from './
|
3
|
-
import { Series } from './
|
4
|
-
import { Slot } from './
|
2
|
+
import { Reservation } from './reservation.entity';
|
3
|
+
import { Series } from './series.entity';
|
4
|
+
import { Slot } from './slot.entity';
|
5
5
|
export declare class Segment extends OrganizationConnectionBaseEntity {
|
6
6
|
deletedAt?: Date;
|
7
7
|
reservationId: number;
|
@@ -11,7 +11,7 @@ export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
11
11
|
sportId: number;
|
12
12
|
reservation?: Reservation;
|
13
13
|
series?: Series[];
|
14
|
-
addonIds?: number[]
|
14
|
+
addonIds?: number[];
|
15
15
|
publicNotesForSlots?: string;
|
16
16
|
privateNotesForSlots?: string;
|
17
17
|
slots?: Slot[];
|
@@ -5,4 +5,4 @@ const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationCon
|
|
5
5
|
class Segment extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
6
6
|
}
|
7
7
|
exports.Segment = Segment;
|
8
|
-
//# sourceMappingURL=
|
8
|
+
//# sourceMappingURL=segment.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"segment.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/segment.entity.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAKjG,MAAa,OAAQ,SAAQ,mEAAgC;CAwB5D;AAxBD,0BAwBC"}
|
@@ -1,20 +1,21 @@
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
2
|
-
import { Segment } from './Segments';
|
3
|
-
import { Slot } from './Slots';
|
4
2
|
import { Resource } from '../../resources/entities/Resource';
|
3
|
+
import { DurationTypeEnum, DurationUnitTypesEnum, FrequencyEnum } from '../types/enums/reservation.enums';
|
4
|
+
import { Segment } from './segment.entity';
|
5
|
+
import { Slot } from './slot.entity';
|
5
6
|
export declare class Series extends OrganizationConnectionBaseEntity {
|
6
7
|
deletedAt?: Date;
|
7
8
|
segmentId: number;
|
8
9
|
segment?: Segment;
|
9
10
|
slots?: Slot[];
|
10
|
-
slotDurationType:
|
11
|
+
slotDurationType: DurationTypeEnum;
|
11
12
|
durationEndsAfter: number;
|
12
|
-
durationUnit:
|
13
|
+
durationUnit: DurationUnitTypesEnum;
|
13
14
|
startDate?: Date;
|
14
15
|
endDate?: Date;
|
15
16
|
startTime: string;
|
16
17
|
endTime: string;
|
17
|
-
frequency:
|
18
|
+
frequency: FrequencyEnum;
|
18
19
|
repeatEvery: number;
|
19
20
|
repeatOn?: number[];
|
20
21
|
repeatEndDate?: Date;
|
@@ -5,4 +5,4 @@ const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationCon
|
|
5
5
|
class Series extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
6
6
|
}
|
7
7
|
exports.Series = Series;
|
8
|
-
//# sourceMappingURL=
|
8
|
+
//# sourceMappingURL=series.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"series.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/series.entity.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAMjG,MAAa,MAAO,SAAQ,mEAAgC;CAmC3D;AAnCD,wBAmCC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SlotHistory = void 0;
|
4
|
+
const slot_entity_1 = require("./slot.entity");
|
5
|
+
class SlotHistory extends slot_entity_1.Slot {
|
6
|
+
}
|
7
|
+
exports.SlotHistory = SlotHistory;
|
8
|
+
//# sourceMappingURL=slot-history.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"slot-history.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/slot-history.entity.ts"],"names":[],"mappings":";;;AACA,+CAAqC;AAErC,MAAa,WAAY,SAAQ,kBAAI;CAMpC;AAND,kCAMC"}
|
@@ -4,20 +4,22 @@ import { Invoice } from '../../entity/Invoice';
|
|
4
4
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
5
5
|
import { ProductsUsers } from '../../entity/ProductsUsers';
|
6
6
|
import { Product } from '../../product-pricing/entities/Product';
|
7
|
-
import { ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../../services/enums.service';
|
8
7
|
import { Resource } from '../../resources/entities/Resource';
|
8
|
+
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
9
|
+
import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
|
9
10
|
import { IAddonMetadata } from '../types/interfaces/reservation.interfaces';
|
10
|
-
import {
|
11
|
-
import {
|
12
|
-
import {
|
13
|
-
import {
|
11
|
+
import { ISlotProductMetadata } from '../types/interfaces/slot.interfaces';
|
12
|
+
import { Addon } from './addon.entity';
|
13
|
+
import { Reservation } from './reservation.entity';
|
14
|
+
import { Segment } from './segment.entity';
|
15
|
+
import { Series } from './series.entity';
|
14
16
|
export declare class Slot extends OrganizationConnectionBaseEntity {
|
15
17
|
isReverted: boolean;
|
16
18
|
reservationId: number;
|
17
19
|
reservation: Reservation;
|
18
20
|
title?: string;
|
19
21
|
creatorId?: number;
|
20
|
-
creatorType?:
|
22
|
+
creatorType?: ResourceNameTypeEnum;
|
21
23
|
userCreatorId?: number;
|
22
24
|
startDate: Date;
|
23
25
|
endDate: Date;
|
@@ -34,8 +36,6 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
34
36
|
productUser?: ProductsUsers;
|
35
37
|
product?: Product;
|
36
38
|
addons: Addon[];
|
37
|
-
addonsProductUserIds?: number[] | null;
|
38
|
-
addonsMetadata: IAddonMetadata[];
|
39
39
|
segmentId: number;
|
40
40
|
segment: Segment;
|
41
41
|
eventId: number;
|
@@ -44,8 +44,8 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
44
44
|
parentSlotId?: number;
|
45
45
|
parent?: Slot;
|
46
46
|
children?: Slot[];
|
47
|
-
maintenanceDurationdurationType:
|
48
|
-
maintenanceTiming:
|
47
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
48
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
49
49
|
durationValue: number;
|
50
50
|
seriesId?: number;
|
51
51
|
series?: Series;
|
@@ -55,23 +55,22 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
55
55
|
approvalStatus?: ReservationStatusEnum;
|
56
56
|
displayName?: string;
|
57
57
|
internalName?: string;
|
58
|
-
activityTypes?: number[];
|
59
|
-
hourlyRate: number;
|
60
58
|
totalPrice: number;
|
61
|
-
|
62
|
-
|
63
|
-
isPrivate: boolean;
|
64
|
-
occurrence?: number;
|
65
|
-
maintenance?: Slot[];
|
66
|
-
productMetadata: {
|
67
|
-
productId: number;
|
68
|
-
price: number;
|
69
|
-
};
|
70
|
-
slotDurationType: string;
|
59
|
+
productMetadata?: ISlotProductMetadata;
|
60
|
+
slotDurationType: DurationTypeEnum;
|
71
61
|
previousProductUsersIds?: number[];
|
62
|
+
previousProductUsers?: ProductsUsers[];
|
72
63
|
colorCodeId?: number;
|
73
64
|
colorCode?: ColorCode;
|
74
|
-
previousProductUsers?: ProductsUsers[];
|
75
65
|
conflictsCount?: number;
|
76
66
|
conflicts?: Slot[];
|
67
|
+
maintenance?: Slot[];
|
68
|
+
addonsProductUserIds?: number[] | null;
|
69
|
+
addonsMetadata: IAddonMetadata[];
|
70
|
+
activityTypes?: number[];
|
71
|
+
hourlyRate: number;
|
72
|
+
isConsumerVisible: boolean;
|
73
|
+
isMonitorVisible: boolean;
|
74
|
+
isPrivate: boolean;
|
75
|
+
occurrence?: number;
|
77
76
|
}
|
@@ -5,4 +5,4 @@ const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationCon
|
|
5
5
|
class Slot extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
6
6
|
}
|
7
7
|
exports.Slot = Slot;
|
8
|
-
//# sourceMappingURL=
|
8
|
+
//# sourceMappingURL=slot.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"slot.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/slot.entity.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AAsBjG,MAAa,IAAK,SAAQ,mEAAgC;CAyHzD;AAzHD,oBAyHC"}
|
@@ -2,15 +2,16 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.reservationStatusMapper = exports.PRIVATE_NOTES_LIMIT = exports.PUBLIC_NOTES_LIMIT = exports.RESOURCE_TOTAL_FIELD = void 0;
|
4
4
|
const enums_service_1 = require("../../../services/enums.service");
|
5
|
+
const reservation_enums_1 = require("../enums/reservation.enums");
|
5
6
|
exports.RESOURCE_TOTAL_FIELD = enums_service_1.PriceFieldEnum.TOTAL_PRICE;
|
6
7
|
exports.PUBLIC_NOTES_LIMIT = 500;
|
7
8
|
exports.PRIVATE_NOTES_LIMIT = 500;
|
8
9
|
exports.reservationStatusMapper = {
|
9
|
-
[
|
10
|
-
[
|
11
|
-
[
|
12
|
-
[
|
13
|
-
[
|
14
|
-
[
|
10
|
+
[reservation_enums_1.ReservationStatusEnum.PLANNED]: enums_service_1.InvoiceStatusEnum.DRAFT,
|
11
|
+
[reservation_enums_1.ReservationStatusEnum.APPROVED]: enums_service_1.InvoiceStatusEnum.DRAFT,
|
12
|
+
[reservation_enums_1.ReservationStatusEnum.AWAITING_ADMIN]: enums_service_1.InvoiceStatusEnum.WAITING_ADMIN,
|
13
|
+
[reservation_enums_1.ReservationStatusEnum.AWAITING_CUSTOMER]: enums_service_1.InvoiceStatusEnum.WAITING_CLIENT,
|
14
|
+
[reservation_enums_1.ReservationStatusEnum.REJECTED]: enums_service_1.InvoiceStatusEnum.CANCELED,
|
15
|
+
[reservation_enums_1.ReservationStatusEnum.CANCELED]: enums_service_1.InvoiceStatusEnum.CANCELED,
|
15
16
|
};
|
16
17
|
//# sourceMappingURL=reservation.consts.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.consts.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/consts/reservation.consts.ts"],"names":[],"mappings":";;;AAAA,
|
1
|
+
{"version":3,"file":"reservation.consts.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/consts/reservation.consts.ts"],"names":[],"mappings":";;;AAAA,mEAAoF;AACpF,kEAAmE;AAEtD,QAAA,oBAAoB,GAAG,8BAAc,CAAC,WAAW,CAAC;AAClD,QAAA,kBAAkB,GAAG,GAAG,CAAC;AACzB,QAAA,mBAAmB,GAAG,GAAG,CAAC;AAE1B,QAAA,uBAAuB,GAAG;IACtC,CAAC,yCAAqB,CAAC,OAAO,CAAC,EAAE,iCAAiB,CAAC,KAAK;IACxD,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,KAAK;IACzD,CAAC,yCAAqB,CAAC,cAAc,CAAC,EAAE,iCAAiB,CAAC,aAAa;IACvE,CAAC,yCAAqB,CAAC,iBAAiB,CAAC,EAAE,iCAAiB,CAAC,cAAc;IAC3E,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,QAAQ;IAC5D,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,QAAQ;CAC5D,CAAC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { PaymentStatusEnum } from '../../../payment/types/enums/payment.enums';
|
1
2
|
export declare enum ItemResourceEnum {
|
2
3
|
SEGMENTS = "segments",
|
3
4
|
SERIES = "series",
|
@@ -5,3 +6,61 @@ export declare enum ItemResourceEnum {
|
|
5
6
|
RESERVATION_ADDONS = "reservation_addons",
|
6
7
|
SLOT_ADDONS = "slot_addons"
|
7
8
|
}
|
9
|
+
export declare enum PrivacySettingsEnum {
|
10
|
+
PUBLIC = "public",
|
11
|
+
PRIVATE = "private",
|
12
|
+
HIDDEN = "hidden"
|
13
|
+
}
|
14
|
+
export declare enum ReservationTypeEnum {
|
15
|
+
RENTAL = "rental",
|
16
|
+
PROGRAM = "program",
|
17
|
+
MAINTENANCE = "maintenance",
|
18
|
+
CUSTOM = "custom",
|
19
|
+
INTERNAL = "internal"
|
20
|
+
}
|
21
|
+
export declare enum DurationTypeEnum {
|
22
|
+
DATES = "dates",
|
23
|
+
ALL_DAY = "all day",
|
24
|
+
DURATION = "duration"
|
25
|
+
}
|
26
|
+
export declare enum ReservationExtendedEnum {
|
27
|
+
PURCHASE_ORDER = "purchase_order"
|
28
|
+
}
|
29
|
+
export type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
|
30
|
+
export declare const ReservationPaymentStatusOptions: (PaymentStatusEnum | ReservationExtendedEnum.PURCHASE_ORDER)[];
|
31
|
+
export declare enum ReservationStatusEnum {
|
32
|
+
PLANNED = "Planned",
|
33
|
+
APPROVED = "Approved",
|
34
|
+
AWAITING_ADMIN = "Awaiting Admin",
|
35
|
+
AWAITING_CUSTOMER = "Awaiting Customer",
|
36
|
+
REJECTED = "Rejected",
|
37
|
+
CANCELED = "Canceled"
|
38
|
+
}
|
39
|
+
export declare enum ReservationMigrationStatusEnum {
|
40
|
+
NEW = "new",
|
41
|
+
NO = "no",
|
42
|
+
YES = "yes"
|
43
|
+
}
|
44
|
+
export declare enum SlotTypeEnum {
|
45
|
+
EXTERNAL = "external",
|
46
|
+
INTERNAL = "internal",
|
47
|
+
MAINTENANCE = "maintenance",
|
48
|
+
CUSTOM = "custom"
|
49
|
+
}
|
50
|
+
export declare enum DurationUnitTypesEnum {
|
51
|
+
MINUTES = "minutes",
|
52
|
+
HOURS = "hours"
|
53
|
+
}
|
54
|
+
export declare enum FrequencyEnum {
|
55
|
+
NONE = "none",
|
56
|
+
WEEKLY = "weekly",
|
57
|
+
DAILY = "daily",
|
58
|
+
MONTHLY = "monthly",
|
59
|
+
YEARLY = "yearly"
|
60
|
+
}
|
61
|
+
export declare enum MaintenanceTimingEnum {
|
62
|
+
BEFORE = 1,
|
63
|
+
AFTER = 2,
|
64
|
+
AT_THE_BEGINING = 3,
|
65
|
+
AT_THE_END = 4
|
66
|
+
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ItemResourceEnum = void 0;
|
3
|
+
exports.MaintenanceTimingEnum = exports.FrequencyEnum = exports.DurationUnitTypesEnum = exports.SlotTypeEnum = exports.ReservationMigrationStatusEnum = exports.ReservationStatusEnum = exports.ReservationPaymentStatusOptions = exports.ReservationExtendedEnum = exports.DurationTypeEnum = exports.ReservationTypeEnum = exports.PrivacySettingsEnum = exports.ItemResourceEnum = void 0;
|
4
|
+
const payment_enums_1 = require("../../../payment/types/enums/payment.enums");
|
4
5
|
var ItemResourceEnum;
|
5
6
|
(function (ItemResourceEnum) {
|
6
7
|
ItemResourceEnum["SEGMENTS"] = "segments";
|
@@ -9,4 +10,74 @@ var ItemResourceEnum;
|
|
9
10
|
ItemResourceEnum["RESERVATION_ADDONS"] = "reservation_addons";
|
10
11
|
ItemResourceEnum["SLOT_ADDONS"] = "slot_addons";
|
11
12
|
})(ItemResourceEnum = exports.ItemResourceEnum || (exports.ItemResourceEnum = {}));
|
13
|
+
var PrivacySettingsEnum;
|
14
|
+
(function (PrivacySettingsEnum) {
|
15
|
+
PrivacySettingsEnum["PUBLIC"] = "public";
|
16
|
+
PrivacySettingsEnum["PRIVATE"] = "private";
|
17
|
+
PrivacySettingsEnum["HIDDEN"] = "hidden";
|
18
|
+
})(PrivacySettingsEnum = exports.PrivacySettingsEnum || (exports.PrivacySettingsEnum = {}));
|
19
|
+
var ReservationTypeEnum;
|
20
|
+
(function (ReservationTypeEnum) {
|
21
|
+
ReservationTypeEnum["RENTAL"] = "rental";
|
22
|
+
ReservationTypeEnum["PROGRAM"] = "program";
|
23
|
+
ReservationTypeEnum["MAINTENANCE"] = "maintenance";
|
24
|
+
ReservationTypeEnum["CUSTOM"] = "custom";
|
25
|
+
ReservationTypeEnum["INTERNAL"] = "internal";
|
26
|
+
})(ReservationTypeEnum = exports.ReservationTypeEnum || (exports.ReservationTypeEnum = {}));
|
27
|
+
var DurationTypeEnum;
|
28
|
+
(function (DurationTypeEnum) {
|
29
|
+
DurationTypeEnum["DATES"] = "dates";
|
30
|
+
DurationTypeEnum["ALL_DAY"] = "all day";
|
31
|
+
DurationTypeEnum["DURATION"] = "duration";
|
32
|
+
})(DurationTypeEnum = exports.DurationTypeEnum || (exports.DurationTypeEnum = {}));
|
33
|
+
var ReservationExtendedEnum;
|
34
|
+
(function (ReservationExtendedEnum) {
|
35
|
+
ReservationExtendedEnum["PURCHASE_ORDER"] = "purchase_order";
|
36
|
+
})(ReservationExtendedEnum = exports.ReservationExtendedEnum || (exports.ReservationExtendedEnum = {}));
|
37
|
+
exports.ReservationPaymentStatusOptions = [
|
38
|
+
...Object.values(payment_enums_1.PaymentStatusEnum),
|
39
|
+
...Object.values(ReservationExtendedEnum),
|
40
|
+
];
|
41
|
+
var ReservationStatusEnum;
|
42
|
+
(function (ReservationStatusEnum) {
|
43
|
+
ReservationStatusEnum["PLANNED"] = "Planned";
|
44
|
+
ReservationStatusEnum["APPROVED"] = "Approved";
|
45
|
+
ReservationStatusEnum["AWAITING_ADMIN"] = "Awaiting Admin";
|
46
|
+
ReservationStatusEnum["AWAITING_CUSTOMER"] = "Awaiting Customer";
|
47
|
+
ReservationStatusEnum["REJECTED"] = "Rejected";
|
48
|
+
ReservationStatusEnum["CANCELED"] = "Canceled";
|
49
|
+
})(ReservationStatusEnum = exports.ReservationStatusEnum || (exports.ReservationStatusEnum = {}));
|
50
|
+
var ReservationMigrationStatusEnum;
|
51
|
+
(function (ReservationMigrationStatusEnum) {
|
52
|
+
ReservationMigrationStatusEnum["NEW"] = "new";
|
53
|
+
ReservationMigrationStatusEnum["NO"] = "no";
|
54
|
+
ReservationMigrationStatusEnum["YES"] = "yes";
|
55
|
+
})(ReservationMigrationStatusEnum = exports.ReservationMigrationStatusEnum || (exports.ReservationMigrationStatusEnum = {}));
|
56
|
+
var SlotTypeEnum;
|
57
|
+
(function (SlotTypeEnum) {
|
58
|
+
SlotTypeEnum["EXTERNAL"] = "external";
|
59
|
+
SlotTypeEnum["INTERNAL"] = "internal";
|
60
|
+
SlotTypeEnum["MAINTENANCE"] = "maintenance";
|
61
|
+
SlotTypeEnum["CUSTOM"] = "custom";
|
62
|
+
})(SlotTypeEnum = exports.SlotTypeEnum || (exports.SlotTypeEnum = {}));
|
63
|
+
var DurationUnitTypesEnum;
|
64
|
+
(function (DurationUnitTypesEnum) {
|
65
|
+
DurationUnitTypesEnum["MINUTES"] = "minutes";
|
66
|
+
DurationUnitTypesEnum["HOURS"] = "hours";
|
67
|
+
})(DurationUnitTypesEnum = exports.DurationUnitTypesEnum || (exports.DurationUnitTypesEnum = {}));
|
68
|
+
var FrequencyEnum;
|
69
|
+
(function (FrequencyEnum) {
|
70
|
+
FrequencyEnum["NONE"] = "none";
|
71
|
+
FrequencyEnum["WEEKLY"] = "weekly";
|
72
|
+
FrequencyEnum["DAILY"] = "daily";
|
73
|
+
FrequencyEnum["MONTHLY"] = "monthly";
|
74
|
+
FrequencyEnum["YEARLY"] = "yearly";
|
75
|
+
})(FrequencyEnum = exports.FrequencyEnum || (exports.FrequencyEnum = {}));
|
76
|
+
var MaintenanceTimingEnum;
|
77
|
+
(function (MaintenanceTimingEnum) {
|
78
|
+
MaintenanceTimingEnum[MaintenanceTimingEnum["BEFORE"] = 1] = "BEFORE";
|
79
|
+
MaintenanceTimingEnum[MaintenanceTimingEnum["AFTER"] = 2] = "AFTER";
|
80
|
+
MaintenanceTimingEnum[MaintenanceTimingEnum["AT_THE_BEGINING"] = 3] = "AT_THE_BEGINING";
|
81
|
+
MaintenanceTimingEnum[MaintenanceTimingEnum["AT_THE_END"] = 4] = "AT_THE_END";
|
82
|
+
})(MaintenanceTimingEnum = exports.MaintenanceTimingEnum || (exports.MaintenanceTimingEnum = {}));
|
12
83
|
//# sourceMappingURL=reservation.enums.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.enums.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/enums/reservation.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC3B,yCAAqB,CAAA;IACrB,qCAAiB,CAAA;IACjB,mCAAe,CAAA;IACf,6DAAyC,CAAA;IACzC,+CAA2B,CAAA;AAC5B,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B"}
|
1
|
+
{"version":3,"file":"reservation.enums.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/enums/reservation.enums.ts"],"names":[],"mappings":";;;AAAA,8EAA+E;AAE/E,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC3B,yCAAqB,CAAA;IACrB,qCAAiB,CAAA;IACjB,mCAAe,CAAA;IACf,6DAAyC,CAAA;IACzC,+CAA2B,CAAA;AAC5B,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AAED,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC9B,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;AAClB,CAAC,EAJW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAI9B;AAED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC9B,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,kDAA2B,CAAA;IAC3B,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;AACtB,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,mCAAe,CAAA;IACf,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;AACtB,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,uBAEX;AAFD,WAAY,uBAAuB;IAClC,4DAAiC,CAAA;AAClC,CAAC,EAFW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAElC;AAIY,QAAA,+BAA+B,GAAG;IAC9C,GAAG,MAAM,CAAC,MAAM,CAAC,iCAAiB,CAAC;IACnC,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC;CACzC,CAAC;AAEF,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,8CAAqB,CAAA;IACrB,0DAAiC,CAAA;IACjC,gEAAuC,CAAA;IACvC,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;AACtB,CAAC,EAPW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAOhC;AAED,IAAY,8BAIX;AAJD,WAAY,8BAA8B;IACzC,6CAAW,CAAA;IACX,2CAAS,CAAA;IACT,6CAAW,CAAA;AACZ,CAAC,EAJW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAIzC;AAED,IAAY,YAKX;AALD,WAAY,YAAY;IACvB,qCAAqB,CAAA;IACrB,qCAAqB,CAAA;IACrB,2CAA2B,CAAA;IAC3B,iCAAiB,CAAA;AAClB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,wCAAe,CAAA;AAChB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,aAMX;AAND,WAAY,aAAa;IACxB,8BAAa,CAAA;IACb,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;AAClB,CAAC,EANW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAMxB;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,qEAAU,CAAA;IACV,mEAAS,CAAA;IACT,uFAAmB,CAAA;IACnB,6EAAc,CAAA;AACf,CAAC,EALW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAKhC"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { Product } from '../../../product-pricing/entities/Product';
|
2
|
+
export interface IAddon {
|
3
|
+
id?: number;
|
4
|
+
productId: number;
|
5
|
+
unitPrice?: number;
|
6
|
+
quantity?: number;
|
7
|
+
totalPrice?: number;
|
8
|
+
product?: Product;
|
9
|
+
parentProduct?: Product;
|
10
|
+
displayTotalWithTax?: number;
|
11
|
+
displayTotalPrice?: number;
|
12
|
+
displayUnitTax?: number;
|
13
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"addon.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/addon.interfaces.ts"],"names":[],"mappings":""}
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./
|
17
|
+
__exportStar(require("./addon.interfaces"), exports);
|
18
18
|
__exportStar(require("./reservation.interfaces"), exports);
|
19
|
+
__exportStar(require("./slot.interfaces"), exports);
|
19
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,2DAAyC;AACzC,oDAAkC"}
|
@@ -3,25 +3,26 @@ import { ICreateCartOptions } from '../../../cart/types/interfaces/cart.interfac
|
|
3
3
|
import { PaginationQuery } from '../../../dto/general.dto';
|
4
4
|
import { Customer } from '../../../entity/Customer';
|
5
5
|
import { Invoice } from '../../../entity/Invoice';
|
6
|
+
import { InvoiceDto } from '../../../invoice/dto/invoice.dto';
|
7
|
+
import { LineItemDto } from '../../../invoice/dto/lineItem.dto';
|
6
8
|
import { PaymentDto } from '../../../payment/dto/payment.dto';
|
7
9
|
import { PaymentStatusEnum } from '../../../payment/types/enums/payment.enums';
|
8
10
|
import { RefundResult } from '../../../payment/types/interfaces/refund.interfaces';
|
9
11
|
import { Product } from '../../../product-pricing/entities/Product';
|
10
12
|
import { Answer } from '../../../questionnaires/entities/Answer';
|
11
|
-
import { FinancialStepEnum, PlatformsEnum
|
13
|
+
import { FinancialStepEnum, PlatformsEnum } from '../../../services/enums.service';
|
12
14
|
import { IPaymentMethodToFundLeft } from '../../../services/interfaces.service';
|
13
15
|
import { AddonDto } from '../../dto/addon.dto';
|
14
|
-
import { InvoiceDto } from '../../dto/invoice.dto';
|
15
|
-
import { LineItemDto } from '../../dto/lineItem.dto';
|
16
16
|
import { ReservationDto } from '../../dto/reservation.dto';
|
17
17
|
import { SegmentDto } from '../../dto/segment.dto';
|
18
18
|
import { SeriesDto } from '../../dto/series.dto';
|
19
19
|
import { SlotDto, TimeSlotDto } from '../../dto/slot.dto';
|
20
|
-
import { Addon } from '../../entities/
|
21
|
-
import { Reservation } from '../../entities/
|
22
|
-
import { Segment } from '../../entities/
|
23
|
-
import { Series } from '../../entities/
|
24
|
-
import { Slot } from '../../entities/
|
20
|
+
import { Addon } from '../../entities/addon.entity';
|
21
|
+
import { Reservation } from '../../entities/reservation.entity';
|
22
|
+
import { Segment } from '../../entities/segment.entity';
|
23
|
+
import { Series } from '../../entities/series.entity';
|
24
|
+
import { Slot } from '../../entities/slot.entity';
|
25
|
+
import { ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../enums/reservation.enums';
|
25
26
|
export type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | AddonDto;
|
26
27
|
export type TResource = Reservation | Segment | Series | Slot | Addon;
|
27
28
|
export type TSlotAndType = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/reservation.interfaces.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"reservation.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/reservation.interfaces.ts"],"names":[],"mappings":";;;AAiEA,MAAa,YAAY;CAGxB;AAHD,oCAGC"}
|