@bondsports/types 2.0.75 → 2.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/cart/dto/cart-item.dto.d.ts +3 -3
- package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
- package/dist/types/cart/entities/cart-item.entity.d.ts +1 -1
- package/dist/types/cart/types/consts/cart.consts.d.ts +1 -1
- package/dist/types/cart/types/consts/cart.consts.js +2 -2
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +2 -2
- package/dist/types/dto/events.dto.d.ts +0 -15
- package/dist/types/dto/events.dto.js +1 -13
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/index.d.ts +0 -1
- package/dist/types/dto/index.js +0 -1
- package/dist/types/dto/index.js.map +1 -1
- package/dist/types/dto/membership.dto.d.ts +7 -1
- package/dist/types/dto/membership.dto.js +4 -1
- package/dist/types/dto/membership.dto.js.map +1 -1
- package/dist/types/dto/package.dto.d.ts +1 -1
- package/dist/types/entity/ActivityTimes.d.ts +1 -1
- package/dist/types/entity/LineItems.d.ts +1 -1
- package/dist/types/entity/Membership.d.ts +4 -4
- package/dist/types/entity/Membership.js.map +1 -1
- package/dist/types/entity/ProductPackage.d.ts +1 -1
- package/dist/types/entity/ProductResource.d.ts +1 -1
- package/dist/types/entity/ProductsReservedForCustomers.d.ts +1 -1
- package/dist/types/entity/ProductsUsers.d.ts +1 -1
- package/dist/types/entity/PurchasedResources.d.ts +1 -1
- package/dist/types/entity/index.d.ts +0 -1
- package/dist/types/entity/index.js +0 -1
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/import/dto/product.dto.d.ts +1 -1
- package/dist/types/organization/dto/organization.dto.d.ts +0 -4
- package/dist/types/organization/dto/organization.dto.js +1 -4
- package/dist/types/organization/dto/organization.dto.js.map +1 -1
- package/dist/types/organization/entities/Organization.d.ts +1 -1
- package/dist/types/organization/entities/Organization.js.map +1 -1
- package/dist/types/payment/entities/ProductPaymentPlan.d.ts +1 -1
- package/dist/types/pricing/entities/Price.d.ts +1 -1
- package/dist/types/product-pricing/dto/index.d.ts +2 -0
- package/dist/types/product-pricing/dto/index.js +2 -0
- package/dist/types/product-pricing/dto/index.js.map +1 -1
- package/dist/types/product-pricing/dto/product-resource.dto.d.ts +9 -0
- package/dist/types/product-pricing/dto/product-resource.dto.js +8 -0
- package/dist/types/product-pricing/dto/product-resource.dto.js.map +1 -0
- package/dist/types/{dto → product-pricing/dto}/product.dto.d.ts +8 -6
- package/dist/types/{dto → product-pricing/dto}/product.dto.js +1 -1
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -0
- package/dist/types/{entity → product-pricing/entities}/Product.d.ts +24 -22
- package/dist/types/{entity → product-pricing/entities}/Product.js +1 -1
- package/dist/types/product-pricing/entities/Product.js.map +1 -0
- package/dist/types/product-pricing/entities/index.d.ts +1 -0
- package/dist/types/product-pricing/entities/index.js +18 -0
- package/dist/types/product-pricing/entities/index.js.map +1 -0
- package/dist/types/product-pricing/index.d.ts +1 -0
- package/dist/types/product-pricing/index.js +1 -0
- package/dist/types/product-pricing/index.js.map +1 -1
- package/dist/types/programs/dto/program.dto.d.ts +5 -5
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs/entities/Program.d.ts +6 -7
- package/dist/types/programs/entities/Program.js +2 -2
- package/dist/types/programs/entities/Program.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +10 -11
- package/dist/types/programs-seasons/entities/ProgramSeason.js +2 -2
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +1 -1
- package/dist/types/reservations/dto/addon.dto.d.ts +1 -1
- package/dist/types/reservations/dto/lineItem.dto.d.ts +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +1 -1
- package/dist/types/reservations/entities/Addon.d.ts +1 -1
- package/dist/types/reservations/entities/Slots.d.ts +1 -1
- package/dist/types/reservations/interfaces/invoice.d.ts +1 -1
- package/dist/types/reservations/interfaces/reservation.d.ts +1 -1
- package/dist/types/services/interfaces.service.d.ts +1 -1
- package/dist/types/user/dto/user.dto.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/dto/product.dto.js.map +0 -1
- package/dist/types/entity/Product.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Product } from '../../entity/Product';
|
|
2
1
|
import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
|
3
2
|
import { SimpleDiscountDto } from '../../payment/dto/discount.dto';
|
|
4
3
|
import { CartDiscountOnEnum } from '../../payment/types/enums/discount.enums';
|
|
4
|
+
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
|
5
5
|
import { ResourceDto } from '../../spaces/dto/resource.dto';
|
|
6
6
|
import { SimpleUserDto } from '../../user/dto/user.dto';
|
|
7
7
|
import { CartStatusEnum } from '../types/enums/cart.enums';
|
|
@@ -31,7 +31,7 @@ export declare class CartItemDto extends OrganizationBaseEntityDto {
|
|
|
31
31
|
userId?: number;
|
|
32
32
|
user?: SimpleUserDto;
|
|
33
33
|
productId: number;
|
|
34
|
-
product?:
|
|
34
|
+
product?: SimpleProductDto;
|
|
35
35
|
price: number;
|
|
36
36
|
totalPrice: number;
|
|
37
37
|
unitPrice?: number;
|
|
@@ -56,5 +56,5 @@ export declare class UpdateCartItemDto extends BaseCartItemDto {
|
|
|
56
56
|
}
|
|
57
57
|
export declare class AddCartItemDto extends BaseCartItemDto {
|
|
58
58
|
productId: number;
|
|
59
|
-
unitPrice
|
|
59
|
+
unitPrice?: number;
|
|
60
60
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-item.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"cart-item.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item.dto.ts"],"names":[],"mappings":";;;AAAA,8EAAoF;AAQpF,MAAa,eAAgB,SAAQ,4CAAyB;CAwB7D;AAxBD,0CAwBC;AAED,MAAa,UAAW,SAAQ,4CAAyB;CAUxD;AAVD,gCAUC;AAED,MAAa,WAAY,SAAQ,4CAAyB;CAgCzD;AAhCD,kCAgCC;AAED,MAAa,eAAe;IAC3B,YAAY,YAAuC;QAClD,IAAI,CAAC,QAAQ,GAAG,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,QAAQ,CAAC;QACvC,IAAI,CAAC,MAAM,GAAG,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,MAAM,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,SAAS,CAAC;IAC1C,CAAC;CAOD;AAZD,0CAYC;AAED,MAAa,iBAAkB,SAAQ,eAAe;IACrD,YAAY,cAA2C;QACtD,KAAK,CAAC,cAAc,CAAC,CAAC;QACtB,IAAI,CAAC,EAAE,GAAG,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,EAAE,CAAC;IAC9B,CAAC;CAGD;AAPD,8CAOC;AAED,MAAa,cAAe,SAAQ,eAAe;CAIlD;AAJD,wCAIC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EntitlementGroup } from '../../entity/EntitlementGroup';
|
|
2
2
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
3
|
-
import { Product } from '../../
|
|
3
|
+
import { Product } from '../../product-pricing/entities/Product';
|
|
4
4
|
import { Discount } from '../../payment/entities/Discount';
|
|
5
5
|
import { ProductTypesEnum } from '../../services/enums.service';
|
|
6
6
|
import { ResourceDto } from '../../spaces/dto/resource.dto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { CartDiscountDto } from '../../dto/cart-item.dto';
|
|
2
2
|
import { CartItem } from '../../entities/cart-item.entity';
|
|
3
|
-
export declare const uniqueCartTaxTemplate: (
|
|
3
|
+
export declare const uniqueCartTaxTemplate: (cartItem: CartItem) => string;
|
|
4
4
|
export declare const uniqueCartDiscountTemplate: (discountItem: CartDiscountDto) => string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.uniqueCartDiscountTemplate = exports.uniqueCartTaxTemplate = void 0;
|
|
4
|
-
const uniqueCartTaxTemplate = (
|
|
5
|
-
return `${
|
|
4
|
+
const uniqueCartTaxTemplate = (cartItem) => {
|
|
5
|
+
return `${cartItem.percentage}_${cartItem.isTaxInclusive}`;
|
|
6
6
|
};
|
|
7
7
|
exports.uniqueCartTaxTemplate = uniqueCartTaxTemplate;
|
|
8
8
|
const uniqueCartDiscountTemplate = (discountItem) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UserAnswersDto } from '../../../dto/application.dto';
|
|
2
|
-
import { Product } from '../../../
|
|
2
|
+
import { Product } from '../../../product-pricing/entities/Product';
|
|
3
3
|
import { CurrencyEnum, PlatformsEnum } from '../../../services/enums.service';
|
|
4
4
|
import { IPricesOfProductsResults } from '../../../services/interfaces.service';
|
|
5
5
|
import { ResourceDto } from '../../../spaces/dto/resource.dto';
|
|
@@ -21,7 +21,7 @@ export interface IAddCartItems {
|
|
|
21
21
|
}
|
|
22
22
|
export interface ICreateCartItem {
|
|
23
23
|
productId: number;
|
|
24
|
-
unitPrice
|
|
24
|
+
unitPrice?: number;
|
|
25
25
|
quantity?: number;
|
|
26
26
|
userId?: number;
|
|
27
27
|
resources?: ResourceDto[];
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Event } from '../entity/Events';
|
|
2
1
|
import { PaymentStatusEnum } from '../payment/types/enums/payment.enums';
|
|
3
2
|
import { MaintenanceDto } from '../reservations/dto/maintenance.dto';
|
|
4
3
|
import { Slot } from '../reservations/entities/Slots';
|
|
@@ -11,12 +10,6 @@ export declare class FindEventByIdDto {
|
|
|
11
10
|
organizationId: number;
|
|
12
11
|
seasonId: number;
|
|
13
12
|
}
|
|
14
|
-
export declare class UpdateMultipleEventsResponseDto {
|
|
15
|
-
data: Event[];
|
|
16
|
-
}
|
|
17
|
-
export declare class UpdateEventResponseDto {
|
|
18
|
-
data: Event;
|
|
19
|
-
}
|
|
20
13
|
export declare class UpdateEventDto {
|
|
21
14
|
name?: string;
|
|
22
15
|
startDate?: string;
|
|
@@ -33,9 +26,6 @@ export declare class UpdateEventDto {
|
|
|
33
26
|
export declare class AddEventToSessionDto {
|
|
34
27
|
eventsData: UpdateEventDto[];
|
|
35
28
|
}
|
|
36
|
-
export declare class AddEventsToSessionResponseDto {
|
|
37
|
-
data: Event[];
|
|
38
|
-
}
|
|
39
29
|
export declare class EventsIdsQueryDto {
|
|
40
30
|
eventsIds?: number[];
|
|
41
31
|
segmentsIds?: number[];
|
|
@@ -110,11 +100,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
110
100
|
isWaiverSigned?: string;
|
|
111
101
|
statuses?: string;
|
|
112
102
|
}
|
|
113
|
-
export declare class UpdateEvent {
|
|
114
|
-
event: Event;
|
|
115
|
-
spacesIds: number[];
|
|
116
|
-
maintenance: MaintenanceDto[];
|
|
117
|
-
}
|
|
118
103
|
export declare class SimpleEventDto extends IdDto {
|
|
119
104
|
startDate: Date;
|
|
120
105
|
endDate: Date;
|
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleAttendeeDto = exports.SimpleEventDto = exports.
|
|
3
|
+
exports.SimpleAttendeeDto = exports.SimpleEventDto = exports.FindEventAttendeeOptionsDto = exports.ProgramSessionLandingPageDto = exports.ProgramLandingPageQueryDto = exports.ProgramLandingPageDto = exports.FacilityEventsScheduleQueryParams = exports.FindByFacilityIdAndOrganizationIdDto = exports.FindByFacilityIdDto = exports.EventsIdsQueryDto = exports.AddEventToSessionDto = exports.UpdateEventDto = exports.FindEventByIdDto = void 0;
|
|
4
4
|
const general_dto_1 = require("./general.dto");
|
|
5
5
|
class FindEventByIdDto {
|
|
6
6
|
}
|
|
7
7
|
exports.FindEventByIdDto = FindEventByIdDto;
|
|
8
|
-
class UpdateMultipleEventsResponseDto {
|
|
9
|
-
}
|
|
10
|
-
exports.UpdateMultipleEventsResponseDto = UpdateMultipleEventsResponseDto;
|
|
11
|
-
class UpdateEventResponseDto {
|
|
12
|
-
}
|
|
13
|
-
exports.UpdateEventResponseDto = UpdateEventResponseDto;
|
|
14
8
|
class UpdateEventDto {
|
|
15
9
|
}
|
|
16
10
|
exports.UpdateEventDto = UpdateEventDto;
|
|
17
11
|
class AddEventToSessionDto {
|
|
18
12
|
}
|
|
19
13
|
exports.AddEventToSessionDto = AddEventToSessionDto;
|
|
20
|
-
class AddEventsToSessionResponseDto {
|
|
21
|
-
}
|
|
22
|
-
exports.AddEventsToSessionResponseDto = AddEventsToSessionResponseDto;
|
|
23
14
|
class EventsIdsQueryDto {
|
|
24
15
|
}
|
|
25
16
|
exports.EventsIdsQueryDto = EventsIdsQueryDto;
|
|
@@ -44,9 +35,6 @@ exports.ProgramSessionLandingPageDto = ProgramSessionLandingPageDto;
|
|
|
44
35
|
class FindEventAttendeeOptionsDto extends general_dto_1.PaginationRangeQuery {
|
|
45
36
|
}
|
|
46
37
|
exports.FindEventAttendeeOptionsDto = FindEventAttendeeOptionsDto;
|
|
47
|
-
class UpdateEvent {
|
|
48
|
-
}
|
|
49
|
-
exports.UpdateEvent = UpdateEvent;
|
|
50
38
|
class SimpleEventDto extends general_dto_1.IdDto {
|
|
51
39
|
}
|
|
52
40
|
exports.SimpleEventDto = SimpleEventDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAOA,+CAA4D;
|
|
1
|
+
{"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAOA,+CAA4D;AAE5D,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CAwB1B;AAxBD,wCAwBC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAuCD,MAAa,2BAA4B,SAAQ,kCAAoB;CAYpE;AAZD,kEAYC;AAED,MAAa,cAAe,SAAQ,mBAAK;CAgBxC;AAhBD,wCAgBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC"}
|
|
@@ -12,7 +12,6 @@ export * from './membership.dto';
|
|
|
12
12
|
export * from './package.dto';
|
|
13
13
|
export * from './product-user';
|
|
14
14
|
export * from './product-variants.dto';
|
|
15
|
-
export * from './product.dto';
|
|
16
15
|
export * from './registration.dto';
|
|
17
16
|
export * from './rental.dto';
|
|
18
17
|
export * from './response.dto';
|
package/dist/types/dto/index.js
CHANGED
|
@@ -28,7 +28,6 @@ __exportStar(require("./membership.dto"), exports);
|
|
|
28
28
|
__exportStar(require("./package.dto"), exports);
|
|
29
29
|
__exportStar(require("./product-user"), exports);
|
|
30
30
|
__exportStar(require("./product-variants.dto"), exports);
|
|
31
|
-
__exportStar(require("./product.dto"), exports);
|
|
32
31
|
__exportStar(require("./registration.dto"), exports);
|
|
33
32
|
__exportStar(require("./rental.dto"), exports);
|
|
34
33
|
__exportStar(require("./response.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,wDAAsC;AACtC,mDAAiC;AACjC,gDAA8B;AAC9B,iDAA+B;AAC/B,yDAAuC;AACvC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,wDAAsC;AACtC,mDAAiC;AACjC,gDAA8B;AAC9B,iDAA+B;AAC/B,yDAAuC;AACvC,qDAAmC;AACnC,+CAA6B;AAC7B,iDAA+B;AAC/B,+CAA6B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PaymentStatusEnum } from '../payment/types/enums/payment.enums';
|
|
2
2
|
import { CustomerInMembershipTypeEnum, GenderEnum, MembershipFilterByPropertyEnum, MembershipOrderByPropertyEnum, MembershipStatusEnum, MembershipTypeEnum, OrderByEnum, SportsEnum } from '../services/enums.service';
|
|
3
|
-
import { PaginationQuery } from './general.dto';
|
|
3
|
+
import { IdAndNameDto, PaginationQuery } from './general.dto';
|
|
4
4
|
export declare class CreateMembershipDto {
|
|
5
5
|
organizationId: number;
|
|
6
6
|
name: string;
|
|
@@ -64,3 +64,9 @@ export declare class GetMembershipDataQueryDto extends PaginationQuery {
|
|
|
64
64
|
order?: OrderByEnum[];
|
|
65
65
|
search?: string;
|
|
66
66
|
}
|
|
67
|
+
export declare class SimpleMembershipDto extends IdAndNameDto {
|
|
68
|
+
description?: string;
|
|
69
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
70
|
+
activity?: SportsEnum;
|
|
71
|
+
membershipType: MembershipTypeEnum;
|
|
72
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetMembershipDataQueryDto = exports.CancelMembershipDto = exports.FindMembersOptionsDto = exports.MemberIdDto = exports.MembershipIdsDto = exports.SetMembersStartDateByOrganization = exports.FindMembershipsByUserIdDto = exports.FindMembershipsByOrganizationIdDto = exports.FindMembershipByIdDto = exports.UpdateMembershipMediaDto = exports.UpdateMembrshipDto = exports.CreateMembershipDto = void 0;
|
|
3
|
+
exports.SimpleMembershipDto = exports.GetMembershipDataQueryDto = exports.CancelMembershipDto = exports.FindMembersOptionsDto = exports.MemberIdDto = exports.MembershipIdsDto = exports.SetMembersStartDateByOrganization = exports.FindMembershipsByUserIdDto = exports.FindMembershipsByOrganizationIdDto = exports.FindMembershipByIdDto = exports.UpdateMembershipMediaDto = exports.UpdateMembrshipDto = exports.CreateMembershipDto = void 0;
|
|
4
4
|
const general_dto_1 = require("./general.dto");
|
|
5
5
|
class CreateMembershipDto {
|
|
6
6
|
}
|
|
@@ -38,4 +38,7 @@ exports.CancelMembershipDto = CancelMembershipDto;
|
|
|
38
38
|
class GetMembershipDataQueryDto extends general_dto_1.PaginationQuery {
|
|
39
39
|
}
|
|
40
40
|
exports.GetMembershipDataQueryDto = GetMembershipDataQueryDto;
|
|
41
|
+
class SimpleMembershipDto extends general_dto_1.IdAndNameDto {
|
|
42
|
+
}
|
|
43
|
+
exports.SimpleMembershipDto = SimpleMembershipDto;
|
|
41
44
|
//# sourceMappingURL=membership.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../src/types/dto/membership.dto.ts"],"names":[],"mappings":";;;AAWA,+
|
|
1
|
+
{"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../src/types/dto/membership.dto.ts"],"names":[],"mappings":";;;AAWA,+CAA8D;AAE9D,MAAa,mBAAmB;CAwB/B;AAxBD,kDAwBC;AAED,MAAa,kBAAmB,SAAQ,mBAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAGpC;AAHD,4DAGC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,kCAAkC;CAE9C;AAFD,gFAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,iCAAkC,SAAQ,kCAAkC;CAExF;AAFD,8EAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,qBAAsB,SAAQ,6BAAe;CAGzD;AAHD,sDAGC;AAED,MAAa,mBAAmB;CAG/B;AAHD,kDAGC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAU7D;AAVD,8DAUC;AAED,MAAa,mBAAoB,SAAQ,0BAAY;CAQpD;AARD,kDAQC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AddonTimePeriodEnum, PackageProductsRelationTypeEnum, ProductPackageLevelEnum, ResourceNameTypeEnum } from '../services/enums.service';
|
|
2
|
-
import { CreateProductDto, ProductInPackage } from '
|
|
2
|
+
import { CreateProductDto, ProductInPackage } from '../product-pricing/dto/product.dto';
|
|
3
3
|
export declare class ExistingProductToPackageDto {
|
|
4
4
|
id: number;
|
|
5
5
|
relationType: PackageProductsRelationTypeEnum;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProductTypesEnum, ResourceNameTypeEnum } from './../services/enums.service';
|
|
2
2
|
import { BondBaseEntity } from './BondBaseEntity';
|
|
3
3
|
import { ProgramSeason } from '../programs-seasons/entities/ProgramSeason';
|
|
4
|
-
import { Product } from '
|
|
4
|
+
import { Product } from '../product-pricing/entities/Product';
|
|
5
5
|
import { Event } from './Events';
|
|
6
6
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
7
7
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
@@ -9,7 +9,7 @@ import { EntitlementGroup } from './EntitlementGroup';
|
|
|
9
9
|
import { Invoice } from './Invoice';
|
|
10
10
|
import { LineItemHistory } from './LineItemHistory';
|
|
11
11
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
12
|
-
import { Product } from '
|
|
12
|
+
import { Product } from '../product-pricing/entities/Product';
|
|
13
13
|
import { ProductsUsers } from './ProductsUsers';
|
|
14
14
|
import { PurchasedResource } from './PurchasedResources';
|
|
15
15
|
export declare class LineItems extends OrganizationConnectionBaseEntity {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomerInMembershipTypeEnum, GenderEnum, MembershipTypeEnum, SportsEnum } from './../services/enums.service';
|
|
2
2
|
import { IPackageResponse } from './../services/interfaces.service';
|
|
3
|
-
import { SportsEnum, CustomerInMembershipTypeEnum, GenderEnum, MembershipTypeEnum } from './../services/enums.service';
|
|
4
|
-
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
5
3
|
import { Media } from './Media';
|
|
4
|
+
import { MembershipMember } from './MembershipMember';
|
|
5
|
+
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
6
6
|
import { PurchasedResource } from './PurchasedResources';
|
|
7
7
|
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
8
8
|
name: string;
|
|
@@ -27,8 +27,8 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
27
27
|
registrationEndDate?: Date;
|
|
28
28
|
package?: IPackageResponse;
|
|
29
29
|
tags: any[];
|
|
30
|
-
members: MembershipMember[];
|
|
31
30
|
longDescription?: string;
|
|
32
31
|
isAutoRenew?: boolean;
|
|
32
|
+
members: MembershipMember[];
|
|
33
33
|
purchasedResources: PurchasedResource[];
|
|
34
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Membership.js","sourceRoot":"","sources":["../../../src/types/entity/Membership.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Membership.js","sourceRoot":"","sources":["../../../src/types/entity/Membership.ts"],"names":[],"mappings":";;;AAKA,yFAAsF;AAGtF,MAAa,UAAW,SAAQ,mEAAgC;IAAhE;;QA8CC,gCAAgC;QAChC,SAAI,GAAG,EAAE,CAAC;IASX,CAAC;CAAA;AAxDD,gCAwDC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AddonTimePeriodEnum, PackageProductsRelationTypeEnum, ProductPackageLevelEnum } from './../services/enums.service';
|
|
2
2
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
3
3
|
import { ProductResource } from './ProductResource';
|
|
4
|
-
import { Product } from '
|
|
4
|
+
import { Product } from '../product-pricing/entities/Product';
|
|
5
5
|
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
6
6
|
parentProductId: number;
|
|
7
7
|
childProductId: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Product } from '
|
|
1
|
+
import { Product } from '../product-pricing/entities/Product';
|
|
2
2
|
import { ResourceNameTypeEnum } from '../services/enums.service';
|
|
3
3
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
4
4
|
import { ProgramSeason } from '../programs-seasons/entities/ProgramSeason';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Product } from '
|
|
1
|
+
import { Product } from '../product-pricing/entities/Product';
|
|
2
2
|
import { Customer } from './Customer';
|
|
3
3
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
4
4
|
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
@@ -7,7 +7,7 @@ import { User } from '../user/entities/User';
|
|
|
7
7
|
import { EventAttendee } from './EventAttendees';
|
|
8
8
|
import { LineItems } from './LineItems';
|
|
9
9
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
10
|
-
import { Product } from '
|
|
10
|
+
import { Product } from '../product-pricing/entities/Product';
|
|
11
11
|
import { PurchasedResource } from './PurchasedResources';
|
|
12
12
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
13
13
|
productId: number;
|
|
@@ -8,7 +8,7 @@ import { LeagueSeason } from './LeagueSeason';
|
|
|
8
8
|
import { LineItems } from './LineItems';
|
|
9
9
|
import { Membership } from './Membership';
|
|
10
10
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
11
|
-
import { Product } from '
|
|
11
|
+
import { Product } from '../product-pricing/entities/Product';
|
|
12
12
|
import { ProductsUsers } from './ProductsUsers';
|
|
13
13
|
import { SeasonAttendee } from './SeasonAttendees';
|
|
14
14
|
import { SeasonPool } from './SeasonPool';
|
|
@@ -41,7 +41,6 @@ export * from './OpeningTime';
|
|
|
41
41
|
export * from './OrganizationConnectionBaseEntity';
|
|
42
42
|
export * from './PackageV1';
|
|
43
43
|
export * from './PasswordReset';
|
|
44
|
-
export * from './Product';
|
|
45
44
|
export * from './ProductPackage';
|
|
46
45
|
export * from './ProductResource';
|
|
47
46
|
export * from './ProductToVariantTitles';
|
|
@@ -57,7 +57,6 @@ __exportStar(require("./OpeningTime"), exports);
|
|
|
57
57
|
__exportStar(require("./OrganizationConnectionBaseEntity"), exports);
|
|
58
58
|
__exportStar(require("./PackageV1"), exports);
|
|
59
59
|
__exportStar(require("./PasswordReset"), exports);
|
|
60
|
-
__exportStar(require("./Product"), exports);
|
|
61
60
|
__exportStar(require("./ProductPackage"), exports);
|
|
62
61
|
__exportStar(require("./ProductResource"), exports);
|
|
63
62
|
__exportStar(require("./ProductToVariantTitles"), 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,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,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,0CAAwB;AACxB,+CAA6B;AAC7B,qDAAmC;AACnC,8DAA4C;AAC5C,gDAA8B;AAC9B,qEAAmD;AACnD,8CAA4B;AAC5B,kDAAgC;AAChC,
|
|
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,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,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,0CAAwB;AACxB,+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,iDAA+B;AAC/B,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,uDAAqC;AACrC,iDAA+B;AAC/B,kDAAgC;AAChC,6CAA2B;AAC3B,qEAAmD;AACnD,+CAA6B"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IdDto, PaginationQuery } from '../../dto/general.dto';
|
|
2
|
-
import { Organization } from '../entities/Organization';
|
|
3
2
|
export declare class ByOrganizationIdDto {
|
|
4
3
|
organizationId: number;
|
|
5
4
|
}
|
|
@@ -27,6 +26,3 @@ export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
|
27
26
|
months?: string;
|
|
28
27
|
dow?: string;
|
|
29
28
|
}
|
|
30
|
-
export declare class OrganizationResponseDto {
|
|
31
|
-
data: Organization;
|
|
32
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.FindUnallocatedEventsFiltersDto = exports.FindUnallocatedEventsIdsFiltersDto = exports.OrganizationBaseEntityDto = exports.OptionalOrganizationIdDto = exports.ByOrganizationIdDto = void 0;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
class ByOrganizationIdDto {
|
|
6
6
|
}
|
|
@@ -17,7 +17,4 @@ exports.FindUnallocatedEventsIdsFiltersDto = FindUnallocatedEventsIdsFiltersDto;
|
|
|
17
17
|
class FindUnallocatedEventsFiltersDto extends general_dto_1.PaginationQuery {
|
|
18
18
|
}
|
|
19
19
|
exports.FindUnallocatedEventsFiltersDto = FindUnallocatedEventsFiltersDto;
|
|
20
|
-
class OrganizationResponseDto {
|
|
21
|
-
}
|
|
22
|
-
exports.OrganizationResponseDto = OrganizationResponseDto;
|
|
23
20
|
//# sourceMappingURL=organization.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.dto.js","sourceRoot":"","sources":["../../../../src/types/organization/dto/organization.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+D;
|
|
1
|
+
{"version":3,"file":"organization.dto.js","sourceRoot":"","sources":["../../../../src/types/organization/dto/organization.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+D;AAE/D,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,yBAAyB;CAErC;AAFD,8DAEC;AAED,MAAa,yBAA0B,SAAQ,mBAAK;CAEnD;AAFD,8DAEC;AAED,MAAa,kCAAkC;CAc9C;AAdD,gFAcC;AAED,MAAa,+BAAgC,SAAQ,6BAAe;CAcnE;AAdD,0EAcC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Address } from '../../entity/Address';
|
|
2
2
|
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
|
3
|
+
import { ColorCode } from '../../entity/ColorCode';
|
|
3
4
|
import { Media } from '../../entity/Media';
|
|
4
5
|
import { UberOrganization } from '../../entity/UberOrganization';
|
|
5
6
|
import { Fee } from '../../fee/entities/Fee';
|
|
6
7
|
import { CurrencyEnum } from '../../services/enums.service';
|
|
7
8
|
import { OrganizationBranding } from './OrganizationBranding';
|
|
8
9
|
import { OrganizationPaymentMethod } from './OrganizationPaymentMethod';
|
|
9
|
-
import { ColorCode } from '../../entity/ColorCode';
|
|
10
10
|
export declare class Organization extends BondBaseEntity {
|
|
11
11
|
name?: string;
|
|
12
12
|
email?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/Organization.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;
|
|
1
|
+
{"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/Organization.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAS7D,MAAa,YAAa,SAAQ,+BAAc;CAoF/C;AApFD,oCAoFC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PaymentPlanSchedule } from './PaymentPlanSchedule';
|
|
2
2
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
3
|
-
import { Product } from '../../
|
|
3
|
+
import { Product } from '../../product-pricing/entities/Product';
|
|
4
4
|
import { PaymentPlanRepetitionEnum, PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
|
|
5
5
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
6
6
|
productId: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Product } from '../../
|
|
1
|
+
import { Product } from '../../product-pricing/entities/Product';
|
|
2
2
|
import { CurrencyEnum, DiscountMethodsEnum } from '../../services/enums.service';
|
|
3
3
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
4
4
|
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
@@ -15,4 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./product-pricing.dto"), exports);
|
|
18
|
+
__exportStar(require("./product-resource.dto"), exports);
|
|
19
|
+
__exportStar(require("./product.dto"), exports);
|
|
18
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,yDAAuC;AACvC,gDAA8B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IdAndNameDto } from '../../dto/general.dto';
|
|
2
|
+
import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
|
|
3
|
+
import { SimpleProgramDto } from '../../programs/dto/program.dto';
|
|
4
|
+
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
|
5
|
+
export declare class ProductResourceDto extends IdAndNameDto {
|
|
6
|
+
type: ResourceNameTypeEnum;
|
|
7
|
+
program?: SimpleProgramDto;
|
|
8
|
+
parentSession?: SimpleSessionDto;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProductResourceDto = void 0;
|
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
|
5
|
+
class ProductResourceDto extends general_dto_1.IdAndNameDto {
|
|
6
|
+
}
|
|
7
|
+
exports.ProductResourceDto = ProductResourceDto;
|
|
8
|
+
//# sourceMappingURL=product-resource.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-resource.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAqD;AAKrD,MAAa,kBAAmB,SAAQ,0BAAY;CAMnD;AAND,gDAMC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
|
|
2
|
+
import { VariantWithPrice } from '../../dto/product-variants.dto';
|
|
3
|
+
import { CreatePaymentPlanDto } from '../../payment/dto/payment-plan.dto';
|
|
4
|
+
import { CreateGroupPricingWithProduct, CreatePriceDto } from '../../pricing/dto/pricing.dto';
|
|
5
|
+
import { CreateOrUpdateResourceSettingDto } from '../../resource-settings/dto/create-or-update-resource-setting.dto';
|
|
6
|
+
import { AddonTimePeriodEnum, PackageProductsRelationTypeEnum, PlatformsEnum, ProductPackageLevelEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
|
7
|
+
import { ProductResourceDto } from './product-resource.dto';
|
|
7
8
|
export declare class FindByProductIdDto {
|
|
8
9
|
productId: number;
|
|
9
10
|
}
|
|
@@ -110,4 +111,5 @@ export declare class GetExtraProductDataDto {
|
|
|
110
111
|
platform?: PlatformsEnum;
|
|
111
112
|
}
|
|
112
113
|
export declare class SimpleProductDto extends IdAndNameDto {
|
|
114
|
+
resource?: ProductResourceDto;
|
|
113
115
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SimpleProductDto = exports.GetExtraProductDataDto = exports.GetProductsDto = exports.ProductsIdsDto = exports.AddRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.ConnectProductResourceDto = exports.ProductInPackage = exports.CreateProductDto = exports.CreateRentalProductAddonDto = exports.CreateProductAvailabilityTimesDto = exports.FindByProductIdDto = void 0;
|
|
4
|
-
const general_dto_1 = require("
|
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
class FindByProductIdDto {
|
|
6
6
|
}
|
|
7
7
|
exports.FindByProductIdDto = FindByProductIdDto;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAsE;AAetE,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,gBAAgB;CAgF5B;AAhFD,4CAgFC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD;AAND,4CAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAoBlD;AApBD,wCAoBC;AAED,MAAa,sBAAsB;CASlC;AATD,wDASC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAEjD;AAFD,4CAEC"}
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
1
|
+
import { ActivityTimes } from '../../entity/ActivityTimes';
|
|
2
|
+
import { Customer } from '../../entity/Customer';
|
|
3
|
+
import { GroupItemsPricing } from '../../entity/GroupItemsPricing';
|
|
4
|
+
import { LineItems } from '../../entity/LineItems';
|
|
5
|
+
import { Membership } from '../../entity/Membership';
|
|
6
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
7
|
+
import { ProductPackage } from '../../entity/ProductPackage';
|
|
8
|
+
import { ProductResource } from '../../entity/ProductResource';
|
|
9
|
+
import { ProductsReservedForCustomers } from '../../entity/ProductsReservedForCustomers';
|
|
10
|
+
import { ProductsUsers } from '../../entity/ProductsUsers';
|
|
11
|
+
import { PurchasedResource } from '../../entity/PurchasedResources';
|
|
12
|
+
import { VariantTitle } from '../../entity/VariantTitles';
|
|
13
|
+
import { Variant } from '../../entity/Variants';
|
|
14
|
+
import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
|
|
15
|
+
import { ProductPaymentPlan } from '../../payment/entities/ProductPaymentPlan';
|
|
16
|
+
import { Price } from '../../pricing/entities/Price';
|
|
17
|
+
import { ResourceSetting } from '../../resource-settings/entities/resource-setting.entity';
|
|
18
|
+
import { AddonTimePeriodEnum, ProductSubTypesEnum, ProductTypesEnum } from '../../services/enums.service';
|
|
19
|
+
import { IChildProduct, IResourcesAvailability } from '../../services/interfaces.service';
|
|
20
|
+
import { ProductResourceDto } from '../dto/product-resource.dto';
|
|
20
21
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
21
22
|
name: string;
|
|
22
23
|
quantity: number;
|
|
@@ -35,8 +36,8 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
35
36
|
productSubType?: ProductSubTypesEnum;
|
|
36
37
|
punchCard: boolean;
|
|
37
38
|
requiredProductIds?: number[];
|
|
38
|
-
lineItems: LineItems[];
|
|
39
39
|
resources: IResourcesAvailability[];
|
|
40
|
+
resource: ProductResourceDto;
|
|
40
41
|
variantParentId?: number;
|
|
41
42
|
isAddon: boolean;
|
|
42
43
|
isArchive: boolean;
|
|
@@ -46,7 +47,6 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
46
47
|
variantTitlesObj: VariantTitle[];
|
|
47
48
|
timePeriod?: AddonTimePeriodEnum;
|
|
48
49
|
deletedAt?: Date;
|
|
49
|
-
productsUsers: ProductsUsers[];
|
|
50
50
|
isProRated: boolean;
|
|
51
51
|
entitledPrices?: GroupItemsPricing[];
|
|
52
52
|
defaultPriceId?: number;
|
|
@@ -67,6 +67,8 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
67
67
|
reservedForCustomers: Customer[];
|
|
68
68
|
reservedForMemberships: Membership[];
|
|
69
69
|
activityTimes: ActivityTimes[];
|
|
70
|
-
purchasedResources: PurchasedResource[];
|
|
71
70
|
resourceSettings: ResourceSetting[];
|
|
71
|
+
lineItems: LineItems[];
|
|
72
|
+
productsUsers: ProductsUsers[];
|
|
73
|
+
purchasedResources: PurchasedResource[];
|
|
72
74
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Product = void 0;
|
|
4
|
-
const OrganizationConnectionBaseEntity_1 = require("
|
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
|
5
5
|
class Product extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
6
|
}
|
|
7
7
|
exports.Product = Product;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAiBA,oGAAiG;AAiBjG,MAAa,OAAQ,SAAQ,mEAAgC;CA+G5D;AA/GD,0BA+GC"}
|