@bondsports/types 2.2.70 → 2.2.72
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/product-pricing/dto/product-pricing.dto.d.ts +1 -0
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +1 -0
- 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/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 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +26 -4
- 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/series.dto.d.ts +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +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} +13 -13
- 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 +58 -0
- package/dist/types/reservations/types/enums/reservation.enums.js +67 -1
- package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
- package/dist/types/reservations/types/interfaces/index.d.ts +1 -1
- package/dist/types/reservations/types/interfaces/index.js +1 -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 +51 -0
- package/dist/types/reservations/types/interfaces/{invoice.interfaces.js → slot.interfaces.js} +1 -1
- 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 -53
- package/dist/types/services/enums.service.js +2 -64
- 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,6 +1,6 @@
|
|
1
1
|
import { PaymentStatusEnum } from '../payment/types/enums/payment.enums';
|
2
2
|
import { MaintenanceDto } from '../reservations/dto/maintenance.dto';
|
3
|
-
import { Slot } from '../reservations/entities/
|
3
|
+
import { Slot } from '../reservations/entities/slot.entity';
|
4
4
|
import { EntryStatusEnum, ProgramTypesEnum, RegistrationValidationStatusEnum } from '../services/enums.service';
|
5
5
|
import { IBasicSpaceAndSlotCreator } from '../services/interfaces.service';
|
6
6
|
import { SimpleResourceDto } from '../resources/dto/resource.dto';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { CustomerFamilyStatusEnum } from '../customers/types/enums';
|
2
|
-
import { Reservation } from '../reservations/entities/
|
2
|
+
import { Reservation } from '../reservations/entities/reservation.entity';
|
3
3
|
import { CustomerTypeEnum, ResourceNameTypeEnum } from '../services/enums.service';
|
4
4
|
import { MembershipStatus } from '../services/interfaces.service';
|
5
5
|
import { User } from '../user/entities/User';
|
@@ -5,7 +5,7 @@ import { EventAttendee } from './EventAttendees';
|
|
5
5
|
import { ProductResource } from './ProductResource';
|
6
6
|
import { ProgramSeason } from '../programs-seasons/entities/ProgramSeason';
|
7
7
|
import { ActivityTimes } from './ActivityTimes';
|
8
|
-
import { Slot } from '../reservations/entities/
|
8
|
+
import { Slot } from '../reservations/entities/slot.entity';
|
9
9
|
import { PurchasedResource } from './PurchasedResources';
|
10
10
|
import { Program } from '../programs/entities/Program';
|
11
11
|
import { ColorCode } from './ColorCode';
|
@@ -4,9 +4,9 @@ import { ItemDiscountDto } from '../payment/dto/discount.dto';
|
|
4
4
|
import { FutureInstallment } from '../payment/entities/FutureInstallment';
|
5
5
|
import { Payment } from '../payment/entities/Payment';
|
6
6
|
import { PaymentMethodTypeEnum, PaymentStatusEnum } from '../payment/types/enums/payment.enums';
|
7
|
-
import { Addon } from '../reservations/entities/
|
8
|
-
import { Reservation } from '../reservations/entities/
|
9
|
-
import { Slot } from '../reservations/entities/
|
7
|
+
import { Addon } from '../reservations/entities/addon.entity';
|
8
|
+
import { Reservation } from '../reservations/entities/reservation.entity';
|
9
|
+
import { Slot } from '../reservations/entities/slot.entity';
|
10
10
|
import { CurrencyEnum, InvoiceStatusEnum, PlatformsEnum } from '../services/enums.service';
|
11
11
|
import { User } from '../user/entities/User';
|
12
12
|
import { BondBaseEntity } from './BondBaseEntity';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { PaymentStatusEnum } from '../payment/types/enums/payment.enums';
|
2
2
|
import { ProgramSeason } from '../programs-seasons/entities/ProgramSeason';
|
3
|
-
import { Addon } from '../reservations/entities/
|
4
|
-
import { Slot } from '../reservations/entities/
|
3
|
+
import { Addon } from '../reservations/entities/addon.entity';
|
4
|
+
import { Slot } from '../reservations/entities/slot.entity';
|
5
5
|
import { CurrencyEnum } from '../services/enums.service';
|
6
6
|
import { User } from '../user/entities/User';
|
7
7
|
import { EventAttendee } from './EventAttendees';
|
@@ -48,14 +48,12 @@ export * from './ProductsReservedForCustomers';
|
|
48
48
|
export * from './ProductsUsers';
|
49
49
|
export * from './PurchasedResources';
|
50
50
|
export * from './RegistrationConstraint';
|
51
|
-
export * from './Reservations';
|
52
51
|
export * from './ResourceGroup';
|
53
52
|
export * from './School';
|
54
53
|
export * from './SeasonAttendees';
|
55
54
|
export * from './SeasonDivisions';
|
56
55
|
export * from './SeasonPool';
|
57
56
|
export * from './SeasonTeam';
|
58
|
-
export * from './SlotHistory';
|
59
57
|
export * from './Station';
|
60
58
|
export * from './StationToSubcategory';
|
61
59
|
export * from './Subcategory';
|
@@ -64,14 +64,12 @@ __exportStar(require("./ProductsReservedForCustomers"), exports);
|
|
64
64
|
__exportStar(require("./ProductsUsers"), exports);
|
65
65
|
__exportStar(require("./PurchasedResources"), exports);
|
66
66
|
__exportStar(require("./RegistrationConstraint"), exports);
|
67
|
-
__exportStar(require("./Reservations"), exports);
|
68
67
|
__exportStar(require("./ResourceGroup"), exports);
|
69
68
|
__exportStar(require("./School"), exports);
|
70
69
|
__exportStar(require("./SeasonAttendees"), exports);
|
71
70
|
__exportStar(require("./SeasonDivisions"), exports);
|
72
71
|
__exportStar(require("./SeasonPool"), exports);
|
73
72
|
__exportStar(require("./SeasonTeam"), exports);
|
74
|
-
__exportStar(require("./SlotHistory"), exports);
|
75
73
|
__exportStar(require("./Station"), exports);
|
76
74
|
__exportStar(require("./StationToSubcategory"), exports);
|
77
75
|
__exportStar(require("./Subcategory"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/entity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,kDAAgC;AAChC,4CAA0B;AAC1B,gDAA8B;AAC9B,mDAAiC;AACjC,uDAAqC;AACrC,8CAA4B;AAC5B,kDAAgC;AAChC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,8DAA4C;AAC5C,kDAAgC;AAChC,6CAA2B;AAC3B,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,6CAA2B;AAC3B,uDAAqC;AACrC,kDAAgC;AAChC,0CAAwB;AACxB,sDAAoC;AACpC,sDAAoC;AACpC,4CAA0B;AAC1B,iDAA+B;AAC/B,gDAA8B;AAC9B,qDAAmC;AACnC,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,8CAA4B;AAC5B,mDAAiC;AACjC,+CAA6B;AAC7B,qDAAmC;AACnC,8DAA4C;AAC5C,gDAA8B;AAC9B,qEAAmD;AACnD,8CAA4B;AAC5B,kDAAgC;AAChC,mDAAiC;AACjC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iEAA+C;AAC/C,kDAAgC;AAChC,uDAAqC;AACrC,2DAAyC;AACzC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/entity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,kDAAgC;AAChC,4CAA0B;AAC1B,gDAA8B;AAC9B,mDAAiC;AACjC,uDAAqC;AACrC,8CAA4B;AAC5B,kDAAgC;AAChC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,8DAA4C;AAC5C,kDAAgC;AAChC,6CAA2B;AAC3B,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,6CAA2B;AAC3B,uDAAqC;AACrC,kDAAgC;AAChC,0CAAwB;AACxB,sDAAoC;AACpC,sDAAoC;AACpC,4CAA0B;AAC1B,iDAA+B;AAC/B,gDAA8B;AAC9B,qDAAmC;AACnC,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,8CAA4B;AAC5B,mDAAiC;AACjC,+CAA6B;AAC7B,qDAAmC;AACnC,8DAA4C;AAC5C,gDAA8B;AAC9B,qEAAmD;AACnD,8CAA4B;AAC5B,kDAAgC;AAChC,mDAAiC;AACjC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iEAA+C;AAC/C,kDAAgC;AAChC,uDAAqC;AACrC,2DAAyC;AACzC,kDAAgC;AAChC,2CAAyB;AACzB,oDAAkC;AAClC,oDAAkC;AAClC,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,yDAAuC;AACvC,gDAA8B;AAC9B,yCAAuB;AACvB,+CAA6B;AAC7B,+CAA6B;AAC7B,qDAAmC;AACnC,uDAAqC;AACrC,wDAAsC;AACtC,iDAA+B;AAC/B,kDAAgC;AAChC,6CAA2B;AAC3B,qEAAmD;AACnD,wDAAsC"}
|
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./invoice.dto"), exports);
|
18
|
-
__exportStar(require("./
|
18
|
+
__exportStar(require("./lineItem.dto"), exports);
|
19
|
+
__exportStar(require("./publish-invoice.dto"), exports);
|
19
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,iDAA+B;AAC/B,wDAAsC"}
|
@@ -1,4 +1,31 @@
|
|
1
|
+
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
2
|
+
import { CurrencyEnum, InvoiceStatusEnum, PlatformsEnum } from '../../services/enums.service';
|
1
3
|
import { IInvoiceCart } from '../types/interfaces/invoice.interfaces';
|
4
|
+
import { LineItemDto } from './lineItem.dto';
|
5
|
+
export declare class InvoiceDto {
|
6
|
+
invoiceId?: string;
|
7
|
+
organizationId: number;
|
8
|
+
price: number;
|
9
|
+
totalTax?: number;
|
10
|
+
totalWithoutTax?: number;
|
11
|
+
status?: InvoiceStatusEnum;
|
12
|
+
lineItems: LineItemDto[];
|
13
|
+
paymentStatus?: PaymentStatusEnum;
|
14
|
+
currency: CurrencyEnum;
|
15
|
+
creatingUserId?: number;
|
16
|
+
platform?: PlatformsEnum;
|
17
|
+
}
|
18
|
+
export declare class BaseInvoiceDto {
|
19
|
+
platform: PlatformsEnum;
|
20
|
+
shiftId?: number;
|
21
|
+
}
|
22
|
+
export declare class UpdateInvoiceOptionsDto {
|
23
|
+
basicInfoData?: BaseInvoiceDto;
|
24
|
+
addToInvoiceId?: number;
|
25
|
+
}
|
26
|
+
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
27
|
+
isInvoiced: boolean;
|
28
|
+
}
|
2
29
|
export declare class InvoiceCartDto implements IInvoiceCart {
|
3
30
|
existingInvoiceId?: number;
|
4
31
|
existingInvoiceToken?: string;
|
@@ -1,6 +1,18 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.InvoiceCartDto = void 0;
|
3
|
+
exports.InvoiceCartDto = exports.UpdateInvoiceDto = exports.UpdateInvoiceOptionsDto = exports.BaseInvoiceDto = exports.InvoiceDto = void 0;
|
4
|
+
class InvoiceDto {
|
5
|
+
}
|
6
|
+
exports.InvoiceDto = InvoiceDto;
|
7
|
+
class BaseInvoiceDto {
|
8
|
+
}
|
9
|
+
exports.BaseInvoiceDto = BaseInvoiceDto;
|
10
|
+
class UpdateInvoiceOptionsDto {
|
11
|
+
}
|
12
|
+
exports.UpdateInvoiceOptionsDto = UpdateInvoiceOptionsDto;
|
13
|
+
class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
14
|
+
}
|
15
|
+
exports.UpdateInvoiceDto = UpdateInvoiceDto;
|
4
16
|
class InvoiceCartDto {
|
5
17
|
}
|
6
18
|
exports.InvoiceCartDto = InvoiceCartDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"invoice.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/invoice.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"invoice.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/invoice.dto.ts"],"names":[],"mappings":";;;AAKA,MAAa,UAAU;CAuBtB;AAvBD,gCAuBC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,gBAAiB,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,cAAc;CAM1B;AAND,wCAMC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Product } from '../../product-pricing/entities/Product';
|
2
2
|
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
3
3
|
import { CurrencyEnum, LineItemsStatusEnum, ProductTypesEnum } from '../../services/enums.service';
|
4
|
-
import { PurchasedResourceDto } from '
|
4
|
+
import { PurchasedResourceDto } from '../../reservations/dto/purcased-resource.dto';
|
5
5
|
export declare class LineItemDto {
|
6
6
|
id?: number;
|
7
7
|
invoiceId?: number;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"lineItem.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/lineItem.dto.ts"],"names":[],"mappings":";;;AAKA,MAAa,WAAW;CAmDvB;AAnDD,kCAmDC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"publish-invoice.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/publish-invoice.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,iBAAiB;CAQ7B;AARD,8CAQC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,yBAAyB;CAErC;AAFD,8DAEC"}
|
@@ -3,7 +3,10 @@ import { Invoice } from '../../../entity/Invoice';
|
|
3
3
|
import { LineItems } from '../../../entity/LineItems';
|
4
4
|
import { UserPaymentMethod } from '../../../entity/user-payment-method';
|
5
5
|
import { PurchaseProductDto } from '../../../purchase/dto/purchase.dto';
|
6
|
+
import { ProductPricesDto } from '../../../reservations/dto/reservation.dto';
|
6
7
|
import { InvoiceStatusEnum } from '../../../services/enums.service';
|
8
|
+
import { InvoiceDto } from '../../dto/invoice.dto';
|
9
|
+
import { LineItemDto } from '../../dto/lineItem.dto';
|
7
10
|
export interface InvoiceAndRelatedMethod {
|
8
11
|
invoice: Invoice;
|
9
12
|
paymentMethod?: DisplayedMethodFields;
|
@@ -27,3 +30,27 @@ export interface IInvoiceCart {
|
|
27
30
|
export interface IInvoiceCartOptions extends IValidateCartOptions {
|
28
31
|
purchasedProductMap?: Map<PurchaseProductDto, LineItems>;
|
29
32
|
}
|
33
|
+
export interface IGeneratedLineItems {
|
34
|
+
lineItems: LineItemDto[];
|
35
|
+
childItemToParent: Map<LineItemDto, LineItemDto>;
|
36
|
+
}
|
37
|
+
export interface IOverridePricingResult {
|
38
|
+
overrideProductsPricing: IOverrideProductsPricing;
|
39
|
+
totalPrice?: number;
|
40
|
+
}
|
41
|
+
export interface IOverrideLineItemPrice {
|
42
|
+
invoice: InvoiceDto;
|
43
|
+
lineItem: LineItemDto;
|
44
|
+
ratio: number;
|
45
|
+
overrideProductsPricing: IOverrideProductsPricing;
|
46
|
+
isLastLineItem?: boolean;
|
47
|
+
priceLeft?: number;
|
48
|
+
}
|
49
|
+
export interface IOverrideProductsPricing {
|
50
|
+
[productInfo: string]: ProductPricesDto;
|
51
|
+
}
|
52
|
+
export interface IInvoiceReservationOptions {
|
53
|
+
invoice?: Invoice;
|
54
|
+
skipUpdateReservationPrice?: boolean;
|
55
|
+
skipUpdatePaymentStatuses?: boolean;
|
56
|
+
}
|
@@ -3,7 +3,8 @@ import { Customer } from '../../../entity/Customer';
|
|
3
3
|
import { LineItems } from '../../../entity/LineItems';
|
4
4
|
import { FeeDto } from '../../../fee/dto/fee.dto';
|
5
5
|
import { IPurchasePayment } from '../../../purchase/types/interfaces/purchase.interfaces';
|
6
|
-
import {
|
6
|
+
import { ReservationPaymentStatusEnum, ReservationStatusEnum } from '../../../reservations/types/enums/reservation.enums';
|
7
|
+
import { PlatformsEnum } from '../../../services/enums.service';
|
7
8
|
import { CreateNoteDto } from '../../dto/payment.dto';
|
8
9
|
import { Payment } from '../../entities/Payment';
|
9
10
|
import { PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../enums/payment.enums';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payment.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/payment.interfaces.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"payment.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/payment.interfaces.ts"],"names":[],"mappings":";;;AAcA,MAAa,aAAa;CAczB;AAdD,sCAcC;AAED,MAAa,eAAe;CAI3B;AAJD,0CAIC;AAgBD,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
|
@@ -82,6 +82,7 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
|
|
82
82
|
includeEntitlementDiscounts?: boolean;
|
83
83
|
facilitiesIds?: number[];
|
84
84
|
resourcesIds?: number[];
|
85
|
+
customersIds?: number[];
|
85
86
|
excludeResourceIds?: number[];
|
86
87
|
excludeProductIds?: number[];
|
87
88
|
statuses?: ActivityEnum[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;
|
1
|
+
{"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAsC7D;AAtCD,8DAsCC"}
|
@@ -22,6 +22,7 @@ export interface IGetProductsByTypeOptions extends IPagination {
|
|
22
22
|
includeGlCodes?: boolean;
|
23
23
|
facilitiesIds?: number[];
|
24
24
|
resourcesIds?: number[];
|
25
|
+
customersIds?: number[];
|
25
26
|
excludeResourceIds?: number[];
|
26
27
|
excludeProductIds?: number[];
|
27
28
|
includeEntitlementDiscounts?: boolean;
|
@@ -1,13 +1,14 @@
|
|
1
|
+
import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
1
2
|
import { IdAndNameDto, PaginationMetaDto, PaginationQuery } from '../../dto/general.dto';
|
2
3
|
import { Event } from '../../entity/Events';
|
3
4
|
import { BaseNotificationDto } from '../../notifications/dto/backoffice.notify.dto';
|
4
5
|
import { ByOrganizationIdDto, OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
|
5
6
|
import { ByProgramDto, UpdateProgramOptionsDto } from '../../programs/dto/program.dto';
|
6
7
|
import { MaintenanceDto } from '../../reservations/dto/maintenance.dto';
|
8
|
+
import { SlotTypeEnum } from '../../reservations/types/enums/reservation.enums';
|
7
9
|
import { ITimeSlotConflicts } from '../../reservations/types/interfaces/reservation.interfaces';
|
8
10
|
import { CreateOrUpdateResourceSettingDto } from '../../resource-settings/dto/create-or-update-resource-setting.dto';
|
9
|
-
import { GenderEnum, LevelOfPlayEnum, OrderByEnum, ProgramSeasonTypesEnum, ProgramTypesEnum, PublishingStatusEnum, RegistrationConstraintPeriodTypeEnum, ResourceNameTypeEnum,
|
10
|
-
import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
11
|
+
import { GenderEnum, LevelOfPlayEnum, OrderByEnum, ProgramSeasonTypesEnum, ProgramTypesEnum, PublishingStatusEnum, RegistrationConstraintPeriodTypeEnum, ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
|
11
12
|
export declare class FindSessionsFiltersDto {
|
12
13
|
status?: PublishingStatusEnum;
|
13
14
|
isFullFetch?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAyF;AAEzF,yFAAoF;AACpF,8EAAyG;AACzG,gEAAuF;AAiBvF,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,WAAY,SAAQ,0BAAY;CAE5C;AAFD,kCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,wBAAyB,SAAQ,4CAAyB;CAEtE;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AACD,MAAa,wBAAyB,SAAQ,6BAAe;CAU5D;AAVD,4DAUC;AAED,MAAa,qCAAsC,SAAQ,sCAAmB;CAE7E;AAFD,sFAEC;AAED,MAAa,uBAAuB;CAGnC;AAHD,0DAGC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,qBAAsB,SAAQ,wBAAwB;CAElE;AAFD,sDAEC;AAED,MAAa,6BAA8B,SAAQ,6BAAe;CAMjE;AAND,sEAMC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,oBAAoB;CA8EhC;AA9ED,oDA8EC;AAED,MAAa,wBAAwB;CAMpC;AAND,4DAMC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAE/D;AAFD,wDAEC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAE/D;AAFD,wDAEC;AAED,MAAa,4BAA4B;CAGxC;AAHD,oEAGC;AAED,MAAa,6BAA6B;CAwDzC;AAxDD,sEAwDC;AAED,MAAa,yBAA0B,SAAQ,0BAAY;CAAG;AAA9D,8DAA8D;AAE9D,MAAa,gBAAiB,SAAQ,0BAAY;CAUjD;AAVD,4CAUC;AAED,MAAa,oBAAoB;CAWhC;AAXD,oDAWC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC;AAED,MAAa,+BAA+B;CAO3C;AAPD,0EAOC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,eAAe;CAK3B;AALD,0CAKC;AAED,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,oBAAoB;CAShC;AATD,oDASC;AAED,MAAa,uBAAwB,SAAQ,oBAAoB;CAUhE;AAVD,0DAUC;AAED,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC;AAED,MAAa,6BAA8B,SAAQ,qCAAuB;CAAG;AAA7E,sEAA6E;AAE7E,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED;;GAEG;AACH,MAAa,uBAAwB,SAAQ,2CAAmB;CAY/D;AAZD,0DAYC;AAED;;GAEG;AACH,MAAa,yBAA0B,SAAQ,2CAAmB;CAajE;AAbD,8DAaC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAMrE;AAND,8EAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC"}
|
@@ -15,8 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./addon.dto"), exports);
|
18
|
-
__exportStar(require("./invoice.dto"), exports);
|
19
|
-
__exportStar(require("./lineItem.dto"), exports);
|
20
18
|
__exportStar(require("./maintenance.dto"), exports);
|
21
19
|
__exportStar(require("./purcased-resource.dto"), exports);
|
22
20
|
__exportStar(require("./reservation.dto"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B;AAC3B,uDAAqC"}
|
@@ -4,12 +4,14 @@ import { PaymentMethodDto, RefundAmountDto } from '../../payment/dto/refund.dto'
|
|
4
4
|
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
5
5
|
import { Product } from '../../product-pricing/entities/Product';
|
6
6
|
import { PurchasePaymentDto, PurchaseResultDto } from '../../purchase/dto/purchase.dto';
|
7
|
-
import { NotifyMethodEnum, PlatformsEnum, ProgramTypesEnum,
|
8
|
-
import { Reservation } from '../entities/
|
7
|
+
import { NotifyMethodEnum, PlatformsEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
|
8
|
+
import { Reservation } from '../entities/reservation.entity';
|
9
|
+
import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
|
9
10
|
import { ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
|
10
11
|
import { AddonDto } from './addon.dto';
|
11
|
-
import { InvoiceDto } from '
|
12
|
+
import { InvoiceDto, UpdateInvoiceDto, UpdateInvoiceOptionsDto } from '../../invoice/dto/invoice.dto';
|
12
13
|
import { SegmentDto } from './segment.dto';
|
14
|
+
import { SeriesDto } from './series.dto';
|
13
15
|
import { SlotDto, UpdateSlotsColorsDto } from './slot.dto';
|
14
16
|
export declare class ProductPricesDto {
|
15
17
|
productId: number;
|
@@ -27,7 +29,7 @@ export declare class ReservationDto {
|
|
27
29
|
segments: SegmentDto[];
|
28
30
|
description?: string;
|
29
31
|
status?: ReservationStatusEnum;
|
30
|
-
privacySetting?:
|
32
|
+
privacySetting?: PrivacySettingsEnum;
|
31
33
|
invoiceId?: string;
|
32
34
|
price?: number;
|
33
35
|
paymentStatus?: ReservationPaymentStatusEnum;
|
@@ -184,4 +186,24 @@ export declare class ChargeReservationResultDto extends PurchaseResultDto {
|
|
184
186
|
reservation: Reservation;
|
185
187
|
debug?: any;
|
186
188
|
}
|
189
|
+
export declare class AddSlotToSegmenResultDto {
|
190
|
+
series: SeriesDto;
|
191
|
+
slotTotalPrice: number;
|
192
|
+
addonsTotalPrice: number;
|
193
|
+
debug?: any;
|
194
|
+
}
|
195
|
+
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
196
|
+
reservationTotalPrice: number;
|
197
|
+
}
|
198
|
+
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
199
|
+
slotsIds?: number[];
|
200
|
+
addonsIds?: number[];
|
201
|
+
purchasingUserId?: number;
|
202
|
+
}
|
203
|
+
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
204
|
+
slots: SlotDto[];
|
205
|
+
}
|
206
|
+
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
207
|
+
segments: SegmentDto[];
|
208
|
+
}
|
187
209
|
export {};
|
@@ -1,9 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
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.ReservationDto = exports.ProductPricesDto = void 0;
|
3
|
+
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.ReservationDto = exports.ProductPricesDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
6
6
|
const purchase_dto_1 = require("../../purchase/dto/purchase.dto");
|
7
|
+
const invoice_dto_1 = require("../../invoice/dto/invoice.dto");
|
7
8
|
const MAX_SLOTS_REQUEST_LIMIT = 5000;
|
8
9
|
class ProductPricesDto {
|
9
10
|
}
|
@@ -103,4 +104,19 @@ exports.UpdateCustomerSlotsColorsDto = UpdateCustomerSlotsColorsDto;
|
|
103
104
|
class ChargeReservationResultDto extends purchase_dto_1.PurchaseResultDto {
|
104
105
|
}
|
105
106
|
exports.ChargeReservationResultDto = ChargeReservationResultDto;
|
107
|
+
class AddSlotToSegmenResultDto {
|
108
|
+
}
|
109
|
+
exports.AddSlotToSegmenResultDto = AddSlotToSegmenResultDto;
|
110
|
+
class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
111
|
+
}
|
112
|
+
exports.SaveSlotToSegmenResultDto = SaveSlotToSegmenResultDto;
|
113
|
+
class InvoiceReservationItemsDto extends invoice_dto_1.UpdateInvoiceOptionsDto {
|
114
|
+
}
|
115
|
+
exports.InvoiceReservationItemsDto = InvoiceReservationItemsDto;
|
116
|
+
class AddSlotsDto extends invoice_dto_1.UpdateInvoiceDto {
|
117
|
+
}
|
118
|
+
exports.AddSlotsDto = AddSlotsDto;
|
119
|
+
class AddSegmentsDto extends invoice_dto_1.UpdateInvoiceDto {
|
120
|
+
}
|
121
|
+
exports.AddSegmentsDto = AddSegmentsDto;
|
106
122
|
//# 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,8EAA8E;AAI9E,kEAAwF;
|
1
|
+
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAI9E,kEAAwF;AAsBxF,+DAAsG;AAKtG,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAa,gBAAgB;CAU5B;AAVD,4CAUC;AAED,MAAa,cAAc;CAqD1B;AArDD,wCAqDC;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;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,iBAAkB,SAAQ,oBAAoB;CAE1D;AAFD,8CAEC;AAED,MAAa,gBAAiB,SAAQ,iBAAiB;CAEtD;AAFD,4CAEC;AAED,MAAa,0BAA2B,SAAQ,oBAAoB;CAEnE;AAFD,gEAEC;AAED,MAAa,aAAc,SAAQ,oBAAoB;CAEtD;AAFD,sCAEC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,YAAa,SAAQ,cAAc;CAE/C;AAFD,oCAEC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAIvD;AAJD,oDAIC;AACD,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,+BAA+B;CAI3C;AAJD,0EAIC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC;AAED,MAAa,0BAA2B,SAAQ,gCAAiB;CAIhE;AAJD,gEAIC;AAED,MAAa,wBAAwB;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"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DurationUnitTypesEnum, FrequencyEnum, SlotDurationTypeEnum } from '
|
1
|
+
import { DurationUnitTypesEnum, FrequencyEnum, SlotDurationTypeEnum } from '../types/enums/reservation.enums';
|
2
2
|
import { MaintenanceDto } from './maintenance.dto';
|
3
3
|
import { SlotDto } from './slot.dto';
|
4
4
|
export declare class SeriesDto {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Product } from '../../product-pricing/entities/Product';
|
2
|
-
import { DurationUnitTypesEnum, MaintenanceTimingEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotDurationTypeEnum, SlotTypeEnum } from '
|
2
|
+
import { DurationUnitTypesEnum, MaintenanceTimingEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotDurationTypeEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
|
3
3
|
import { IOverridePriceMeta } from '../types/interfaces/reservation.interfaces';
|
4
4
|
import { AddonDto } from './addon.dto';
|
5
5
|
import { MaintenanceDto } from './maintenance.dto';
|
@@ -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"}
|