@bondsports/types 2.5.22 → 2.5.23-a-1
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/attendance/dto/attendance.dto.d.ts +1 -0
- package/dist/types/attendance/dto/attendance.dto.js.map +1 -1
- package/dist/types/cart/dto/cart-item-public.dto.d.ts +6 -5
- package/dist/types/cart/dto/cart-item-public.dto.js +5 -5
- package/dist/types/cart/dto/cart-item-public.dto.js.map +1 -1
- package/dist/types/cart/dto/cart-item.dto.d.ts +4 -3
- package/dist/types/cart/dto/cart-item.dto.js +4 -3
- package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
- package/dist/types/events/dto/events.dto.d.ts +0 -7
- package/dist/types/events/dto/events.dto.js +1 -7
- package/dist/types/events/dto/events.dto.js.map +1 -1
- package/dist/types/facilities/dto/facilities.dto.d.ts +12 -0
- package/dist/types/facilities/dto/facilities.dto.js +10 -1
- package/dist/types/facilities/dto/facilities.dto.js.map +1 -1
- package/dist/types/family-account/dto/get-families.dto.d.ts +1 -1
- package/dist/types/family-account/types/consts/family-account.consts.d.ts +6 -0
- package/dist/types/family-account/types/consts/family-account.consts.js +22 -0
- package/dist/types/family-account/types/consts/family-account.consts.js.map +1 -0
- package/dist/types/family-account/types/consts/index.d.ts +1 -0
- package/dist/types/{team/types/enums → family-account/types/consts}/index.js +1 -1
- package/dist/types/family-account/types/consts/index.js.map +1 -0
- package/dist/types/family-account/types/enums/{enums.js → family-account.enums.js} +1 -1
- package/dist/types/family-account/types/enums/family-account.enums.js.map +1 -0
- package/dist/types/family-account/types/enums/index.d.ts +1 -1
- package/dist/types/family-account/types/enums/index.js +1 -1
- package/dist/types/family-account/types/enums/index.js.map +1 -1
- package/dist/types/family-account/types/index.d.ts +1 -0
- package/dist/types/family-account/types/index.js +1 -0
- package/dist/types/family-account/types/index.js.map +1 -1
- package/dist/types/group-divisions/dto/groups-divisions.dto.d.ts +0 -87
- package/dist/types/group-divisions/dto/groups-divisions.dto.js +1 -46
- package/dist/types/group-divisions/dto/groups-divisions.dto.js.map +1 -1
- package/dist/types/group-divisions/entities/index.d.ts +0 -3
- package/dist/types/group-divisions/entities/index.js +0 -3
- package/dist/types/group-divisions/entities/index.js.map +1 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.js +0 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/league/index.d.ts +0 -1
- package/dist/types/league/index.js +0 -1
- package/dist/types/league/index.js.map +1 -1
- package/dist/types/leagues-scheduler/types/leagues-scheduler-consts.d.ts +0 -2
- package/dist/types/leagues-scheduler/types/leagues-scheduler-consts.js +1 -3
- package/dist/types/leagues-scheduler/types/leagues-scheduler-consts.js.map +1 -1
- package/dist/types/membership/dto/membership.dto.d.ts +0 -1
- package/dist/types/membership/dto/membership.dto.js.map +1 -1
- package/dist/types/membership/dto/public-membership.dto.d.ts +2 -0
- package/dist/types/membership/dto/public-membership.dto.js.map +1 -1
- package/dist/types/membership/entities/membership.entity.d.ts +8 -1
- package/dist/types/membership/entities/membership.entity.js.map +1 -1
- package/dist/types/membership/types/membership.interfaces.d.ts +2 -1
- package/dist/types/payment/entities/index.d.ts +0 -1
- package/dist/types/payment/entities/index.js +0 -1
- package/dist/types/payment/entities/index.js.map +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +0 -1
- package/dist/types/product-pricing/dto/product-categories.dto.d.ts +5 -1
- package/dist/types/product-pricing/dto/product-categories.dto.js +4 -1
- package/dist/types/product-pricing/dto/product-categories.dto.js.map +1 -1
- package/dist/types/product-pricing/entities/product-category.entity.d.ts +3 -0
- package/dist/types/product-pricing/entities/product-category.entity.js.map +1 -1
- package/dist/types/product-pricing/types/enums/product.enums.d.ts +1 -0
- package/dist/types/product-pricing/types/enums/product.enums.js +2 -0
- package/dist/types/product-pricing/types/enums/product.enums.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.d.ts +4 -0
- package/dist/types/programs/dto/program.dto.d.ts +1 -0
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs/entities/program.entity.d.ts +2 -0
- package/dist/types/programs/entities/program.entity.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-session.dto.d.ts +1 -13
- package/dist/types/programs-seasons/dto/program-session.dto.js +1 -10
- package/dist/types/programs-seasons/dto/program-session.dto.js.map +1 -1
- package/dist/types/programs-seasons/types/interfaces/program-session.interfaces.d.ts +1 -0
- package/dist/types/purchase/dto/purchase.dto.d.ts +0 -5
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/registration/entities/purchased-resource.entity.d.ts +0 -4
- package/dist/types/registration/entities/purchased-resource.entity.js.map +1 -1
- package/dist/types/standings-integration/types/consts/roster-rollover.consts.d.ts +1 -1
- package/dist/types/standings-integration/types/consts/roster-rollover.consts.js +1 -1
- package/dist/types/taxes/dto/default-tax.dto.d.ts +9 -1
- package/dist/types/taxes/dto/default-tax.dto.js +7 -1
- package/dist/types/taxes/dto/default-tax.dto.js.map +1 -1
- package/dist/types/taxes/dto/organization-default-tax.dto.d.ts +11 -5
- package/dist/types/taxes/dto/organization-default-tax.dto.js +4 -1
- package/dist/types/taxes/dto/organization-default-tax.dto.js.map +1 -1
- package/dist/types/taxes/dto/pagination.dto.d.ts +3 -0
- package/dist/types/taxes/dto/pagination.dto.js.map +1 -1
- package/dist/types/taxes/dto/tax.dto.d.ts +7 -0
- package/dist/types/taxes/dto/tax.dto.js.map +1 -1
- package/dist/types/taxes/entities/default-tax.entity.d.ts +5 -3
- package/dist/types/taxes/entities/default-tax.entity.js +2 -2
- package/dist/types/taxes/entities/default-tax.entity.js.map +1 -1
- package/dist/types/taxes/entities/index.d.ts +1 -0
- package/dist/types/taxes/entities/index.js +1 -0
- package/dist/types/taxes/entities/index.js.map +1 -1
- package/dist/types/taxes/entities/tax-to-facility.entity.d.ts +10 -0
- package/dist/types/taxes/entities/tax-to-facility.entity.js +8 -0
- package/dist/types/taxes/entities/tax-to-facility.entity.js.map +1 -0
- package/dist/types/taxes/entities/tax.entity.d.ts +3 -1
- package/dist/types/taxes/entities/tax.entity.js.map +1 -1
- package/dist/types/taxes/types/default-tax.classes.d.ts +17 -10
- package/dist/types/taxes/types/default-tax.classes.js +4 -1
- package/dist/types/taxes/types/default-tax.classes.js.map +1 -1
- package/dist/types/taxes/types/tax.interfaces.d.ts +37 -0
- package/dist/types/user-activities/dto/user-activities.dto.d.ts +2 -0
- package/dist/types/user-activities/dto/user-activities.dto.js.map +1 -1
- package/dist/types/utils/types/consts/date.consts.d.ts +5 -0
- package/dist/types/utils/types/consts/date.consts.js +9 -0
- package/dist/types/utils/types/consts/date.consts.js.map +1 -0
- package/dist/types/utils/types/consts/index.d.ts +1 -0
- package/dist/types/{team/types → utils/types/consts}/index.js +1 -1
- package/dist/types/utils/types/consts/index.js.map +1 -0
- package/dist/types/utils/types/index.d.ts +1 -0
- package/dist/types/utils/types/index.js +1 -0
- package/dist/types/utils/types/index.js.map +1 -1
- package/dist/types/utils/types/interfaces/date-util.interfaces.d.ts +6 -0
- package/package.json +2 -2
- package/dist/types/family-account/types/enums/enums.js.map +0 -1
- package/dist/types/group-divisions/entities/team-invite.entity.d.ts +0 -10
- package/dist/types/group-divisions/entities/team-invite.entity.js +0 -8
- package/dist/types/group-divisions/entities/team-invite.entity.js.map +0 -1
- package/dist/types/group-divisions/entities/team-member.entity.d.ts +0 -15
- package/dist/types/group-divisions/entities/team-member.entity.js +0 -8
- package/dist/types/group-divisions/entities/team-member.entity.js.map +0 -1
- package/dist/types/group-divisions/entities/users-in-group.entity.d.ts +0 -6
- package/dist/types/group-divisions/entities/users-in-group.entity.js +0 -8
- package/dist/types/group-divisions/entities/users-in-group.entity.js.map +0 -1
- package/dist/types/league/entities/game-slots.entity.d.ts +0 -5
- package/dist/types/league/entities/game-slots.entity.js +0 -8
- package/dist/types/league/entities/game-slots.entity.js.map +0 -1
- package/dist/types/league/entities/index.d.ts +0 -7
- package/dist/types/league/entities/index.js +0 -24
- package/dist/types/league/entities/index.js.map +0 -1
- package/dist/types/league/entities/league.entity.d.ts +0 -30
- package/dist/types/league/entities/league.entity.js +0 -8
- package/dist/types/league/entities/league.entity.js.map +0 -1
- package/dist/types/league/entities/match-participants.entity.d.ts +0 -10
- package/dist/types/league/entities/match-participants.entity.js +0 -8
- package/dist/types/league/entities/match-participants.entity.js.map +0 -1
- package/dist/types/league/entities/matches.entity.d.ts +0 -6
- package/dist/types/league/entities/matches.entity.js +0 -8
- package/dist/types/league/entities/matches.entity.js.map +0 -1
- package/dist/types/league/entities/round-events.entity.d.ts +0 -8
- package/dist/types/league/entities/round-events.entity.js +0 -8
- package/dist/types/league/entities/round-events.entity.js.map +0 -1
- package/dist/types/league/entities/season-rounds.entity.d.ts +0 -7
- package/dist/types/league/entities/season-rounds.entity.js +0 -8
- package/dist/types/league/entities/season-rounds.entity.js.map +0 -1
- package/dist/types/league/entities/team-events.entity.d.ts +0 -6
- package/dist/types/league/entities/team-events.entity.js +0 -8
- package/dist/types/league/entities/team-events.entity.js.map +0 -1
- package/dist/types/payment/entities/payment-v1.entity.d.ts +0 -19
- package/dist/types/payment/entities/payment-v1.entity.js +0 -8
- package/dist/types/payment/entities/payment-v1.entity.js.map +0 -1
- package/dist/types/team/entities/connection.entity.d.ts +0 -13
- package/dist/types/team/entities/connection.entity.js +0 -8
- package/dist/types/team/entities/connection.entity.js.map +0 -1
- package/dist/types/team/entities/index.d.ts +0 -5
- package/dist/types/team/entities/index.js +0 -22
- package/dist/types/team/entities/index.js.map +0 -1
- package/dist/types/team/entities/league-season.entity.d.ts +0 -51
- package/dist/types/team/entities/league-season.entity.js +0 -15
- package/dist/types/team/entities/league-season.entity.js.map +0 -1
- package/dist/types/team/entities/season-pool.entity.d.ts +0 -22
- package/dist/types/team/entities/season-pool.entity.js +0 -8
- package/dist/types/team/entities/season-pool.entity.js.map +0 -1
- package/dist/types/team/entities/season-team.entity.d.ts +0 -12
- package/dist/types/team/entities/season-team.entity.js +0 -8
- package/dist/types/team/entities/season-team.entity.js.map +0 -1
- package/dist/types/team/entities/team.entity.d.ts +0 -37
- package/dist/types/team/entities/team.entity.js +0 -8
- package/dist/types/team/entities/team.entity.js.map +0 -1
- package/dist/types/team/index.d.ts +0 -2
- package/dist/types/team/index.js +0 -19
- package/dist/types/team/index.js.map +0 -1
- package/dist/types/team/types/enums/index.d.ts +0 -1
- package/dist/types/team/types/enums/index.js.map +0 -1
- package/dist/types/team/types/enums/team.enums.d.ts +0 -16
- package/dist/types/team/types/enums/team.enums.js +0 -23
- package/dist/types/team/types/enums/team.enums.js.map +0 -1
- package/dist/types/team/types/index.d.ts +0 -1
- package/dist/types/team/types/index.js.map +0 -1
- /package/dist/types/family-account/types/enums/{enums.d.ts → family-account.enums.d.ts} +0 -0
|
@@ -15,8 +15,15 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
|
15
15
|
mainMedia?: Media;
|
|
16
16
|
customerTypes: CustomerInMembershipTypeEnum[];
|
|
17
17
|
activity?: SportsEnum;
|
|
18
|
-
facilityId?: number;
|
|
18
|
+
facilityId?: number | null;
|
|
19
19
|
facilityName?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Facilities the membership covers, taken from the products linked to it.
|
|
22
|
+
* Empty when the membership is available at all facilities.
|
|
23
|
+
*/
|
|
24
|
+
facilityIds?: number[];
|
|
25
|
+
/** True when the membership has no facility anchors and covers every facility. */
|
|
26
|
+
isAllFacilities?: boolean;
|
|
20
27
|
questionnaires?: number[];
|
|
21
28
|
minAgeYears?: number;
|
|
22
29
|
maxAgeYears?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"membership.entity.js","sourceRoot":"","sources":["../../../../src/types/membership/entities/membership.entity.ts"],"names":[],"mappings":";;;AAIA,0GAAoG;AAUpG,MAAa,UAAW,SAAQ,sEAAgC;IAAhE;;
|
|
1
|
+
{"version":3,"file":"membership.entity.js","sourceRoot":"","sources":["../../../../src/types/membership/entities/membership.entity.ts"],"names":[],"mappings":";;;AAIA,0GAAoG;AAUpG,MAAa,UAAW,SAAQ,sEAAgC;IAAhE;;QA4DC,gCAAgC;QAChC,SAAI,GAAG,EAAE,CAAC;IAiBX,CAAC;CAAA;AA9ED,gCA8EC"}
|
|
@@ -215,11 +215,11 @@ export interface MembershipStatus {
|
|
|
215
215
|
export interface ISingleMemberForRenewal {
|
|
216
216
|
invoice_payingUserId: number;
|
|
217
217
|
invoice_paymentMethodId: string;
|
|
218
|
+
line_facilityId?: number;
|
|
218
219
|
member_membershipId: number;
|
|
219
220
|
member_nextPaymentMethodId?: string;
|
|
220
221
|
member_organizationId: number;
|
|
221
222
|
member_userId: number;
|
|
222
|
-
membership_facilityId?: number;
|
|
223
223
|
product_productId: number;
|
|
224
224
|
createdAt: Date | string;
|
|
225
225
|
endDate: Date;
|
|
@@ -234,6 +234,7 @@ export interface ISingleMemberForRenewal {
|
|
|
234
234
|
user_lastName: string;
|
|
235
235
|
}
|
|
236
236
|
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
237
|
+
line2_facilityId?: number;
|
|
237
238
|
package_parentProductId: number;
|
|
238
239
|
familyid: number;
|
|
239
240
|
invoice_id: number;
|
|
@@ -8,6 +8,5 @@ export * from './payment-failure.entity';
|
|
|
8
8
|
export * from './payment-fee.entity';
|
|
9
9
|
export * from './payment-note.entity';
|
|
10
10
|
export * from './payment-to-installment.entity';
|
|
11
|
-
export * from './payment-v1.entity';
|
|
12
11
|
export * from './payment.entity';
|
|
13
12
|
export * from './promo-code.entity';
|
|
@@ -24,7 +24,6 @@ __exportStar(require("./payment-failure.entity"), exports);
|
|
|
24
24
|
__exportStar(require("./payment-fee.entity"), exports);
|
|
25
25
|
__exportStar(require("./payment-note.entity"), exports);
|
|
26
26
|
__exportStar(require("./payment-to-installment.entity"), exports);
|
|
27
|
-
__exportStar(require("./payment-v1.entity"), exports);
|
|
28
27
|
__exportStar(require("./payment.entity"), exports);
|
|
29
28
|
__exportStar(require("./promo-code.entity"), exports);
|
|
30
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,yDAAuC;AACvC,wDAAsC;AACtC,8DAA4C;AAC5C,6DAA2C;AAC3C,+DAA6C;AAC7C,2DAAyC;AACzC,uDAAqC;AACrC,wDAAsC;AACtC,kEAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,yDAAuC;AACvC,wDAAsC;AACtC,8DAA4C;AAC5C,6DAA2C;AAC3C,+DAA6C;AAC7C,2DAAyC;AACzC,uDAAqC;AACrC,wDAAsC;AACtC,kEAAgD;AAChD,mDAAiC;AACjC,sDAAoC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PaginationQuery } from '../../dto/general.dto';
|
|
1
|
+
import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
|
|
2
2
|
import { ByOrganizationIdDto, OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
|
3
3
|
import { ISettings } from '../../resource-settings/types/resource-settings.interfaces';
|
|
4
4
|
import { ResourceTypeEnum } from '../../resources/types/enums/resources.enums';
|
|
@@ -40,6 +40,7 @@ export declare class ProductCategoryDto<T extends Record<string, unknown> = ISet
|
|
|
40
40
|
ordinal?: number;
|
|
41
41
|
isTipEligible: boolean;
|
|
42
42
|
stations?: StationDto[];
|
|
43
|
+
requiredMemberships?: IdAndNameDto[];
|
|
43
44
|
}
|
|
44
45
|
export declare class GetProductCategoriesDto extends PaginationQuery implements IGetProductCategories {
|
|
45
46
|
order?: OrderByEnum;
|
|
@@ -64,3 +65,6 @@ export declare class GetStationProductCategoriesDto {
|
|
|
64
65
|
export declare class IncludeProductsCountDto {
|
|
65
66
|
includeProductsCount?: boolean;
|
|
66
67
|
}
|
|
68
|
+
export declare class GetProductCategoryByIdQueryDto extends IncludeProductsCountDto {
|
|
69
|
+
includeRequiredMemberships?: boolean;
|
|
70
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IncludeProductsCountDto = exports.GetStationProductCategoriesDto = exports.ByOrganizationAndCategoryIdDto = exports.GetProductCategoriesDto = exports.ProductCategoryDto = exports.BasicProductCategoryDto = exports.UpdateProductCategoryDto = exports.CreateProductCategoryDto = exports.UpdateProductCategoryBaseDto = exports.UpdateProductCategorySettingsDto = void 0;
|
|
3
|
+
exports.GetProductCategoryByIdQueryDto = exports.IncludeProductsCountDto = exports.GetStationProductCategoriesDto = exports.ByOrganizationAndCategoryIdDto = exports.GetProductCategoriesDto = exports.ProductCategoryDto = exports.BasicProductCategoryDto = exports.UpdateProductCategoryDto = exports.CreateProductCategoryDto = exports.UpdateProductCategoryBaseDto = exports.UpdateProductCategorySettingsDto = 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
|
class UpdateProductCategorySettingsDto {
|
|
@@ -33,4 +33,7 @@ exports.GetStationProductCategoriesDto = GetStationProductCategoriesDto;
|
|
|
33
33
|
class IncludeProductsCountDto {
|
|
34
34
|
}
|
|
35
35
|
exports.IncludeProductsCountDto = IncludeProductsCountDto;
|
|
36
|
+
class GetProductCategoryByIdQueryDto extends IncludeProductsCountDto {
|
|
37
|
+
}
|
|
38
|
+
exports.GetProductCategoryByIdQueryDto = GetProductCategoryByIdQueryDto;
|
|
36
39
|
//# sourceMappingURL=product-categories.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-categories.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-categories.dto.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"product-categories.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-categories.dto.ts"],"names":[],"mappings":";;;AACA,uDAAsE;AACtE,8EAAyG;AASzG,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,wBAEX,SAAQ,4BAA4B;CAYrC;AAdD,4DAcC;AAED,MAAa,wBAEX,SAAQ,4BAA4B;CAUrC;AAZD,4DAYC;AAED,MAAa,uBAAuC,SAAQ,4CAAyB;CAQpF;AARD,0DAQC;AAED,MAAa,kBAAkE,SAAQ,uBAA0B;CAUhH;AAVD,gDAUC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAkB3D;AAlBD,0DAkBC;AAED,MAAa,8BAA+B,SAAQ,sCAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,8BAA8B;CAQ1C;AARD,wEAQC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,8BAA+B,SAAQ,uBAAuB;CAE1E;AAFD,wEAEC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../../entity/organization-connection-base-entity';
|
|
2
|
+
import { Membership } from '../../membership/entities/membership.entity';
|
|
2
3
|
import { Station } from '../../stations/entities/station.entity';
|
|
3
4
|
import { ProductTypesEnum } from '../types/enums/product.enums';
|
|
4
5
|
import { Product } from './product.entity';
|
|
@@ -15,4 +16,6 @@ export declare class ProductCategory extends OrganizationConnectionBaseEntity {
|
|
|
15
16
|
stationToProductCategories?: StationToProductCategory[];
|
|
16
17
|
stations?: Station[];
|
|
17
18
|
productsCount?: number;
|
|
19
|
+
/** Memberships for VIP gating tags (populated when includeRequiredMemberships is true; mapped to id/name on the DTO). */
|
|
20
|
+
requiredMemberships?: Membership[];
|
|
18
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-category.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/product-category.entity.ts"],"names":[],"mappings":";;;AAEA,0GAAoG;
|
|
1
|
+
{"version":3,"file":"product-category.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/product-category.entity.ts"],"names":[],"mappings":";;;AAEA,0GAAoG;AAQpG,MAAa,eAAgB,SAAQ,sEAAgC;CAyBpE;AAzBD,0CAyBC"}
|
|
@@ -40,6 +40,7 @@ export declare enum ProductExpandEnum {
|
|
|
40
40
|
export declare const PUBLIC_PRODUCT_EXPAND_VALUES: ProductExpandEnum[];
|
|
41
41
|
/**
|
|
42
42
|
* Expands shared by createRentalProduct and createProgramPunchPassProduct responses.
|
|
43
|
+
* Includes REQUIRED_PRODUCTS so BO can show gating tag labels from the save response.
|
|
43
44
|
* Compose with product-type-specific expands via spread.
|
|
44
45
|
*/
|
|
45
46
|
export declare const PRODUCT_EXPAND_CREATE_RESPONSE: ProductExpandEnum[];
|
|
@@ -55,6 +55,7 @@ exports.PUBLIC_PRODUCT_EXPAND_VALUES = [
|
|
|
55
55
|
];
|
|
56
56
|
/**
|
|
57
57
|
* Expands shared by createRentalProduct and createProgramPunchPassProduct responses.
|
|
58
|
+
* Includes REQUIRED_PRODUCTS so BO can show gating tag labels from the save response.
|
|
58
59
|
* Compose with product-type-specific expands via spread.
|
|
59
60
|
*/
|
|
60
61
|
exports.PRODUCT_EXPAND_CREATE_RESPONSE = [
|
|
@@ -67,6 +68,7 @@ exports.PRODUCT_EXPAND_CREATE_RESPONSE = [
|
|
|
67
68
|
ProductExpandEnum.PRODUCT_PACKAGES,
|
|
68
69
|
ProductExpandEnum.ENTITLEMENT_DISCOUNTS,
|
|
69
70
|
ProductExpandEnum.MEDIA,
|
|
71
|
+
ProductExpandEnum.REQUIRED_PRODUCTS,
|
|
70
72
|
];
|
|
71
73
|
var ProductBuilderTypeEnum;
|
|
72
74
|
(function (ProductBuilderTypeEnum) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.enums.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/enums/product.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC3B,mCAAe,CAAA;IACf,+CAA2B,CAAA;AAC5B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAED,IAAY,kBAUX;AAVD,WAAY,kBAAkB;IAC7B,+BAAS,CAAA;IACT,mCAAa,CAAA;IACb,qCAAe,CAAA;IACf,2CAAqB,CAAA;IACrB,yDAAmC,CAAA;IACnC,uCAAiB,CAAA;IACjB,sDAAgC,CAAA;IAChC,2DAAqC,CAAA;IACrC,+DAAyC,CAAA;AAC1C,CAAC,EAVW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAU7B;AAED,IAAY,iBAuBX;AAvBD,WAAY,iBAAiB;IAC5B,sCAAiB,CAAA;IACjB,2DAAsC,CAAA;IACtC,mEAA8C,CAAA;IAC9C,yDAAoC,CAAA;IACpC,kDAA6B,CAAA;IAC7B,yDAAoC,CAAA;IACpC,qDAAgC,CAAA;IAChC,oCAAe,CAAA;IACf,4CAAuB,CAAA;IACvB,2DAAsC,CAAA;IACtC,8CAAyB,CAAA;IACzB,iDAA4B,CAAA;IAC5B,yCAAoB,CAAA;IACpB,6DAAwC,CAAA;IACxC,4CAAuB,CAAA;IACvB,iDAA4B,CAAA;IAC5B,mDAA8B,CAAA;IAC9B,2DAAsC,CAAA;IACtC,6CAAwB,CAAA;IACxB,6DAAwC,CAAA;IACxC,0CAAqB,CAAA;IACrB,4CAAuB,CAAA;AACxB,CAAC,EAvBW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAuB5B;AAEY,QAAA,4BAA4B,GAAwB;IAChE,iBAAiB,CAAC,MAAM;IACxB,iBAAiB,CAAC,iBAAiB;IACnC,iBAAiB,CAAC,qBAAqB;IACvC,iBAAiB,CAAC,gBAAgB;IAClC,iBAAiB,CAAC,gBAAgB;IAClC,iBAAiB,CAAC,gBAAgB;IAClC,iBAAiB,CAAC,cAAc;IAChC,iBAAiB,CAAC,KAAK;CACvB,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"product.enums.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/enums/product.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC3B,mCAAe,CAAA;IACf,+CAA2B,CAAA;AAC5B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAED,IAAY,kBAUX;AAVD,WAAY,kBAAkB;IAC7B,+BAAS,CAAA;IACT,mCAAa,CAAA;IACb,qCAAe,CAAA;IACf,2CAAqB,CAAA;IACrB,yDAAmC,CAAA;IACnC,uCAAiB,CAAA;IACjB,sDAAgC,CAAA;IAChC,2DAAqC,CAAA;IACrC,+DAAyC,CAAA;AAC1C,CAAC,EAVW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAU7B;AAED,IAAY,iBAuBX;AAvBD,WAAY,iBAAiB;IAC5B,sCAAiB,CAAA;IACjB,2DAAsC,CAAA;IACtC,mEAA8C,CAAA;IAC9C,yDAAoC,CAAA;IACpC,kDAA6B,CAAA;IAC7B,yDAAoC,CAAA;IACpC,qDAAgC,CAAA;IAChC,oCAAe,CAAA;IACf,4CAAuB,CAAA;IACvB,2DAAsC,CAAA;IACtC,8CAAyB,CAAA;IACzB,iDAA4B,CAAA;IAC5B,yCAAoB,CAAA;IACpB,6DAAwC,CAAA;IACxC,4CAAuB,CAAA;IACvB,iDAA4B,CAAA;IAC5B,mDAA8B,CAAA;IAC9B,2DAAsC,CAAA;IACtC,6CAAwB,CAAA;IACxB,6DAAwC,CAAA;IACxC,0CAAqB,CAAA;IACrB,4CAAuB,CAAA;AACxB,CAAC,EAvBW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAuB5B;AAEY,QAAA,4BAA4B,GAAwB;IAChE,iBAAiB,CAAC,MAAM;IACxB,iBAAiB,CAAC,iBAAiB;IACnC,iBAAiB,CAAC,qBAAqB;IACvC,iBAAiB,CAAC,gBAAgB;IAClC,iBAAiB,CAAC,gBAAgB;IAClC,iBAAiB,CAAC,gBAAgB;IAClC,iBAAiB,CAAC,cAAc;IAChC,iBAAiB,CAAC,KAAK;CACvB,CAAC;AAEF;;;;GAIG;AACU,QAAA,8BAA8B,GAAwB;IAClE,iBAAiB,CAAC,QAAQ;IAC1B,iBAAiB,CAAC,SAAS;IAC3B,iBAAiB,CAAC,UAAU;IAC5B,iBAAiB,CAAC,iBAAiB;IACnC,iBAAiB,CAAC,iBAAiB;IACnC,iBAAiB,CAAC,MAAM;IACxB,iBAAiB,CAAC,gBAAgB;IAClC,iBAAiB,CAAC,qBAAqB;IACvC,iBAAiB,CAAC,KAAK;IACvB,iBAAiB,CAAC,iBAAiB;CACnC,CAAC;AAEF,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IACjC,2CAAiB,CAAA;IACjB,mEAAyC,CAAA;IACzC,iEAAuC,CAAA;AACxC,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC;AAED,IAAY,wCAMX;AAND,WAAY,wCAAwC;IACnD,uEAA2B,CAAA;IAC3B,iEAAqB,CAAA;IACrB,mEAAuB,CAAA;IACvB,iEAAqB,CAAA;IACrB,iEAAqB,CAAA;AACtB,CAAC,EANW,wCAAwC,GAAxC,gDAAwC,KAAxC,gDAAwC,QAMnD;AAED,IAAY,+BAKX;AALD,WAAY,+BAA+B;IAC1C,kDAAe,CAAA;IACf,oDAAiB,CAAA;IACjB,8DAA2B,CAAA;IAC3B,0EAAuC,CAAA;AACxC,CAAC,EALW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAK1C;AAED,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC9B,oCAAa,CAAA;IACb,0CAAmB,CAAA;IACnB,sCAAe,CAAA;AAChB,CAAC,EAJW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAI9B;AAED,IAAY,gBAkBX;AAlBD,WAAY,gBAAgB;IAC3B,+CAA2B,CAAA;IAC3B,iDAA6B,CAAA;IAC7B,6CAAyB,CAAA;IACzB,mCAAe,CAAA;IACf,uCAAmB,CAAA;IAEnB,iBAAiB;IACjB,kDAA8B,CAAA;IAC9B,uDAAmC,CAAA;IACnC,6CAAyB,CAAA;IAEzB,6CAA6C;IAC7C,+DAA2C,CAAA;IAC3C,mEAA+C,CAAA;IAC/C,+BAAW,CAAA;IACX,2DAAuC,CAAA;IACvC,+CAA2B,CAAA;AAC5B,CAAC,EAlBW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAkB3B;AAEY,QAAA,qBAAqB,GAAG,CAAC,gBAAgB,CAAC,YAAY,EAAE,gBAAgB,CAAC,qBAAqB,CAAC,CAAC;AAE7G,IAAY,mBAkBX;AAlBD,WAAY,mBAAmB;IAC9B,kCAAkC;IAClC,8DAAuC,CAAA;IACvC,kDAA2B,CAAA;IAC3B,8DAAuC,CAAA;IACvC,oDAA6B,CAAA;IAC7B,wEAAiD,CAAA;IACjD,wCAAiB,CAAA;IACjB,8DAAuC,CAAA;IAEvC,0FAA0F;IAC1F,mCAAmC;IACnC,8DAAuC,CAAA;IACvC,4EAAqD,CAAA;IACrD,4DAAqC,CAAA;IACrC,oEAA6C,CAAA;IAC7C,kEAA2C,CAAA;IAC3C,0DAAmC,CAAA;AACpC,CAAC,EAlBW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAkB9B;AAEY,QAAA,qCAAqC,GAAuC;IACxF,mBAAmB,CAAC,iBAAiB;IACrC,mBAAmB,CAAC,eAAe;IACnC,mBAAmB,CAAC,mBAAmB;CACvC,CAAC;AAEW,QAAA,iDAAiD,GAAG;IAChE,mBAAmB,CAAC,iBAAiB;IACrC,mBAAmB,CAAC,wBAAwB;IAC5C,mBAAmB,CAAC,gBAAgB;IACpC,mBAAmB,CAAC,oBAAoB;IACxC,mBAAmB,CAAC,mBAAmB;IACvC,mBAAmB,CAAC,eAAe;CACnC,CAAC;AAEF,mIAAmI;AACtH,QAAA,4CAA4C,GAAG,yDAAiD,CAAC;AAE9G;;GAEG;AACU,QAAA,kDAAkD,GAAG;IACjE,mBAAmB,CAAC,eAAe;IACnC,mBAAmB,CAAC,mBAAmB;CACvC,CAAC;AAEF,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC9B,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;AAClB,CAAC,EAHW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAG9B;AAED,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IAClC,wCAAa,CAAA;IACb,wCAAa,CAAA;IACb,sDAA2B,CAAA;AAC5B,CAAC,EAJW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAIlC;AAED,IAAY,cAQX;AARD,WAAY,cAAc;IACzB,iCAAe,CAAA;IACf,4CAA0B,CAAA;IAC1B,mCAAiB,CAAA;IACjB,4CAA0B,CAAA;IAC1B,0CAAwB,CAAA;IACxB,gDAA8B,CAAA;IAC9B,oDAAkC,CAAA;AACnC,CAAC,EARW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAQzB;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IACjC,iDAAuB,CAAA;IACvB,iDAAuB,CAAA;AACxB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC"}
|
|
@@ -15,6 +15,10 @@ export interface IGetProductCategories extends IPagination {
|
|
|
15
15
|
stationIds?: number[];
|
|
16
16
|
vipEnabled?: boolean;
|
|
17
17
|
}
|
|
18
|
+
export interface IGetCategoryByIdOptions {
|
|
19
|
+
includeProductsCount?: boolean;
|
|
20
|
+
includeRequiredMemberships?: boolean;
|
|
21
|
+
}
|
|
18
22
|
export interface ISettingValidationIssue {
|
|
19
23
|
error: string;
|
|
20
24
|
path: string;
|
|
@@ -48,6 +48,7 @@ export declare class ByProgramDto extends ByOrganizationIdDto {
|
|
|
48
48
|
export declare class FindProgramFiltersDto {
|
|
49
49
|
includeSeasons?: boolean;
|
|
50
50
|
includeScheduleSummary?: boolean;
|
|
51
|
+
requiredProducts?: boolean;
|
|
51
52
|
}
|
|
52
53
|
export declare class UpdateProgramStatusDto extends ByProgramIdDto {
|
|
53
54
|
status: PublishingStatusEnum;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/program.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAyF;AAGzF,8EAAyG;AAkBzG,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAY9D;AAZD,gEAYC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,+BAAgC,SAAQ,sCAAmB;CAEvE;AAFD,0EAEC;AAED,MAAa,6CAA8C,SAAQ,sCAAmB;CAErF;AAFD,sGAEC;AAED,MAAa,cAAe,SAAQ,4CAAyB;CAE5D;AAFD,wCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,qBAAqB;
|
|
1
|
+
{"version":3,"file":"program.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/program.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAyF;AAGzF,8EAAyG;AAkBzG,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAY9D;AAZD,gEAYC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,+BAAgC,SAAQ,sCAAmB;CAEvE;AAFD,0EAEC;AAED,MAAa,6CAA8C,SAAQ,sCAAmB;CAErF;AAFD,sGAEC;AAED,MAAa,cAAe,SAAQ,4CAAyB;CAE5D;AAFD,wCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAEzD;AAFD,wDAEC;AAED,MAAa,mBAAmB;CAY/B;AAZD,kDAYC;AAED,MAAa,cAAc;CA8C1B;AA9CD,wCA8CC;AAED,MAAa,gBAAiB,SAAQ,cAAc;CAEnD;AAFD,4CAEC;AAED,MAAa,gBAAiB,SAAQ,cAAc;CAInD;AAJD,4CAIC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAcjD;AAdD,4CAcC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CAuB5D;AAvBD,4DAuBC;AAED,MAAa,cAAc;CA4B1B;AA5BD,wCA4BC"}
|
|
@@ -4,6 +4,7 @@ import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
|
|
|
4
4
|
import { GlCode } from '../../gl-codes/entities/gl-code.entity';
|
|
5
5
|
import { Media } from '../../media/entities/media.entity';
|
|
6
6
|
import { ColorCode } from '../../organization/entities/color-code.entity';
|
|
7
|
+
import { Product } from '../../product-pricing/entities/product.entity';
|
|
7
8
|
import { ProgramSeason } from '../../programs-seasons/entities/program-season.entity';
|
|
8
9
|
import { PurchasedResource } from '../../registration/entities/purchased-resource.entity';
|
|
9
10
|
import { GenderEnum } from '../../types/enums/gender.enums';
|
|
@@ -29,6 +30,7 @@ export declare class Program extends OrganizationConnectionBaseEntity {
|
|
|
29
30
|
userCreatorId: number;
|
|
30
31
|
longDescription?: string;
|
|
31
32
|
requiredProductIds: number[] | null;
|
|
33
|
+
requiredProducts?: Product[];
|
|
32
34
|
ageCalcDate?: Date;
|
|
33
35
|
colorCodeId?: number;
|
|
34
36
|
colorCode?: ColorCode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program.entity.js","sourceRoot":"","sources":["../../../../src/types/programs/entities/program.entity.ts"],"names":[],"mappings":";;;AAGA,0GAAoG;
|
|
1
|
+
{"version":3,"file":"program.entity.js","sourceRoot":"","sources":["../../../../src/types/programs/entities/program.entity.ts"],"names":[],"mappings":";;;AAGA,0GAAoG;AAmBpG,MAAa,OAAQ,SAAQ,sEAAgC;CAiE5D;AAjED,0BAiEC"}
|
|
@@ -44,6 +44,7 @@ export declare class DeleteEventAttendeesDto {
|
|
|
44
44
|
}
|
|
45
45
|
export declare class FindProgramSeasonByIdQueryDto {
|
|
46
46
|
includeResources?: boolean;
|
|
47
|
+
requiredProducts?: boolean;
|
|
47
48
|
}
|
|
48
49
|
export declare class FindProgramSeasonByIdDto extends OptionalOrganizationIdDto {
|
|
49
50
|
seasonId: number;
|
|
@@ -254,19 +255,6 @@ export declare class SingleSpaceAllocationByTimesDto {
|
|
|
254
255
|
export declare class SpaceAllocationsByTimesDto {
|
|
255
256
|
spaceAllocations: SingleSpaceAllocationByTimesDto[];
|
|
256
257
|
}
|
|
257
|
-
export declare class UpdateSeasonDatesDto {
|
|
258
|
-
startDate: Date;
|
|
259
|
-
endDate: Date;
|
|
260
|
-
}
|
|
261
|
-
export declare class MoveAttendeeDto {
|
|
262
|
-
userId: number;
|
|
263
|
-
resourceType: ResourceNameTypeEnum;
|
|
264
|
-
fromResourceIds: number[];
|
|
265
|
-
toResourceIds: number[];
|
|
266
|
-
}
|
|
267
|
-
export declare class UpdateSeasonRegistrationDatesDto {
|
|
268
|
-
registrationPeriods: UpdateSeasonDatesDto[];
|
|
269
|
-
}
|
|
270
258
|
export declare class MoveParticipantDto {
|
|
271
259
|
userId: number;
|
|
272
260
|
oldProductId: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SeasonRegistrationValidationOptionsDto = exports.UnregisterFromEventsDto = exports.UnregisterFromSegmentsDto = exports.UnregisterDto = exports.SeasonWithProduct = exports.GetPaginatedEventsQueryDto = exports.GetPaginatedSessionQueryDto = exports.GetRelatedProgramSessionsDto = exports.RelatedSessionsDto = exports.GetOrganizationProgramSessionsDto = exports.NotifySessionAttendeesDto = exports.NotifyEventAttendeesDto = exports.EventsAndConflictsDto = exports.UpdateProgramSeasonOptionsDto = exports.UpdateProgramSeasonColorsDto = exports.MoveParticipantDto = exports.
|
|
3
|
+
exports.SeasonRegistrationValidationOptionsDto = exports.UnregisterFromEventsDto = exports.UnregisterFromSegmentsDto = exports.UnregisterDto = exports.SeasonWithProduct = exports.GetPaginatedEventsQueryDto = exports.GetPaginatedSessionQueryDto = exports.GetRelatedProgramSessionsDto = exports.RelatedSessionsDto = exports.GetOrganizationProgramSessionsDto = exports.NotifySessionAttendeesDto = exports.NotifyEventAttendeesDto = exports.EventsAndConflictsDto = exports.UpdateProgramSeasonOptionsDto = exports.UpdateProgramSeasonColorsDto = exports.MoveParticipantDto = exports.SpaceAllocationsByTimesDto = exports.SingleSpaceAllocationByTimesDto = exports.BulkSpaceResourceAllocationDto = exports.SpaceResourcePairDto = exports.SimpleSessionDto = exports.ShallowUpdateSubSeasonDto = exports.ShallowUpdateProgramSeasonDto = exports.UpdateProgramSeasonStatusDto = exports.UpdateProgramSeasonDto = exports.CreateProgramSeasonDto = exports.SubSeasonBasicInfo = exports.CreateSessionScheduleDto = exports.UpdateSessionScheduleDto = exports.BaseProgramSeasonDto = exports.RegistrationSettingsDto = exports.RegistrationDatesDto = exports.BlockedDatesDto = exports.FindRegisteredUsersOptionsDto = exports.FindRegisteredUserDto = exports.DeleteProductDto = exports.FindSessionEventByIdDto = exports.ByOrganizationIdAndProgramSeasonIdDto = exports.FindSeasonEventsQueryDto = exports.DuplicateProductOfSeasonByIdDto = exports.FindProgramSeasonByIdDto = exports.FindProgramSeasonByIdQueryDto = exports.DeleteEventAttendeesDto = exports.ByConsumerSessionDto = exports.BySessionDto = exports.BySeasonDto = exports.FindSessionsFiltersDto = void 0;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
const backoffice_notify_dto_1 = require("../../notifications/dto/backoffice.notify.dto");
|
|
6
6
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
@@ -100,15 +100,6 @@ exports.SingleSpaceAllocationByTimesDto = SingleSpaceAllocationByTimesDto;
|
|
|
100
100
|
class SpaceAllocationsByTimesDto {
|
|
101
101
|
}
|
|
102
102
|
exports.SpaceAllocationsByTimesDto = SpaceAllocationsByTimesDto;
|
|
103
|
-
class UpdateSeasonDatesDto {
|
|
104
|
-
}
|
|
105
|
-
exports.UpdateSeasonDatesDto = UpdateSeasonDatesDto;
|
|
106
|
-
class MoveAttendeeDto {
|
|
107
|
-
}
|
|
108
|
-
exports.MoveAttendeeDto = MoveAttendeeDto;
|
|
109
|
-
class UpdateSeasonRegistrationDatesDto {
|
|
110
|
-
}
|
|
111
|
-
exports.UpdateSeasonRegistrationDatesDto = UpdateSeasonRegistrationDatesDto;
|
|
112
103
|
class MoveParticipantDto {
|
|
113
104
|
}
|
|
114
105
|
exports.MoveParticipantDto = MoveParticipantDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program-session.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-session.dto.ts"],"names":[],"mappings":";;;AAGA,uDAA4G;AAK5G,yFAAoF;AACpF,8EAAyG;AAEzG,gEAAuF;AA0BvF,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,WAAY,SAAQ,0BAAY;CAE5C;AAFD,kCAEC;AAED,MAAa,YAAa,SAAQ,0BAAY;CAE7C;AAFD,oCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,6BAA6B;
|
|
1
|
+
{"version":3,"file":"program-session.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-session.dto.ts"],"names":[],"mappings":";;;AAGA,uDAA4G;AAK5G,yFAAoF;AACpF,8EAAyG;AAEzG,gEAAuF;AA0BvF,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,WAAY,SAAQ,0BAAY;CAE5C;AAFD,kCAEC;AAED,MAAa,YAAa,SAAQ,0BAAY;CAE7C;AAFD,oCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,wBAAyB,SAAQ,4CAAyB;CAEtE;AAFD,4DAEC;AAED,MAAa,+BAAgC,SAAQ,wBAAwB;CAE5E;AAFD,0EAEC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CA8B5D;AA9BD,4DA8BC;AAED,MAAa,qCAAsC,SAAQ,sCAAmB;CAE7E;AAFD,sFAEC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;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;CAYhC;AAZD,oDAYC;AAED,MAAa,uBAAwB,SAAQ,oBAAoB;CAchE;AAdD,0DAcC;AAED,MAAa,oBAAqB,SAAQ,uBAAuB;CAkFhE;AAlFD,oDAkFC;AAED,MAAM,sBAAsB;CAM3B;AAED,MAAa,wBAAwB;CAMpC;AAND,4DAMC;AAED,MAAa,wBAAyB,SAAQ,sBAAsB;CAInE;AAJD,4DAIC;AAED,MAAa,kBAAkB;CAgB9B;AAhBD,gDAgBC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAc/D;AAdD,wDAcC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAE/D;AAFD,wDAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,6BAA6B;CAgEzC;AAhED,sEAgEC;AAED,MAAa,yBAA0B,SAAQ,0BAAY;CAAG;AAA9D,8DAA8D;AAE9D,MAAa,gBAAiB,SAAQ,0BAAY;CAwBjD;AAxBD,4CAwBC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC;AAED,MAAa,+BAA+B;CAY3C;AAZD,0EAYC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;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;CAc/D;AAdD,0DAcC;AAED;;GAEG;AACH,MAAa,yBAA0B,SAAQ,2CAAmB;CAajE;AAbD,8DAaC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAgBrE;AAhBD,8EAgBC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAMxC;AAND,oEAMC;AAED,MAAa,2BACZ,SAAQ,6BAAe;CAYvB;AAbD,kEAaC;AAED,MAAa,0BAA2B,SAAQ,2BAAkC;CAIjF;AAJD,gEAIC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAa,aAAc,SAAQ,sCAAmB;CAIrD;AAJD,sCAIC;AAED,MAAa,yBAA0B,SAAQ,aAAa;CAE3D;AAFD,8DAEC;AAED,MAAa,uBAAwB,SAAQ,aAAa;CAEzD;AAFD,0DAEC;AAED,MAAa,sCAAsC;CAElD;AAFD,wFAEC"}
|
|
@@ -159,6 +159,7 @@ export interface IGetSessionOptions {
|
|
|
159
159
|
organizationId?: number;
|
|
160
160
|
fullFetch?: boolean;
|
|
161
161
|
includeResources?: boolean;
|
|
162
|
+
requiredProducts?: boolean;
|
|
162
163
|
}
|
|
163
164
|
export interface IValidateFolderedRegistrationForSessionResourceParams {
|
|
164
165
|
options?: IValidateResourcesOptions;
|
|
@@ -50,14 +50,9 @@ export declare class PurchaseProductDto {
|
|
|
50
50
|
resources?: PurchaseResourceDto[];
|
|
51
51
|
userId?: number;
|
|
52
52
|
paymentStatus?: PaymentStatusEnum;
|
|
53
|
-
amountToPay?: number;
|
|
54
|
-
paidAmount?: number;
|
|
55
|
-
unitPrice?: number;
|
|
56
|
-
ordinal?: number;
|
|
57
53
|
startDate?: Date;
|
|
58
54
|
endDate?: Date;
|
|
59
55
|
quantity?: number;
|
|
60
|
-
parentProductId?: number;
|
|
61
56
|
resourceIdToRenew?: number;
|
|
62
57
|
parentResourceId?: string;
|
|
63
58
|
parentResourceType?: ResourceNameTypeEnum;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAMA,yEAAoE;AAGpE,8EAA8E;AAiB9E,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED;;;GAGG;AACH,MAAa,uBAAuB;CAsBnC;AAtBD,0DAsBC;AAED,MAAa,mBAAoB,SAAQ,uBAAuB;CAE/D;AAFD,kDAEC;AAED,MAAa,kBAAkB;
|
|
1
|
+
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAMA,yEAAoE;AAGpE,8EAA8E;AAiB9E,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED;;;GAGG;AACH,MAAa,uBAAuB;CAsBnC;AAtBD,0DAsBC;AAED,MAAa,mBAAoB,SAAQ,uBAAuB;CAE/D;AAFD,kDAEC;AAED,MAAa,kBAAkB;CA2B9B;AA3BD,gDA2BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAkBpC;AAlBD,4DAkBC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,eAAgB,SAAQ,iCAAc;CAkBlD;AAlBD,0CAkBC"}
|
|
@@ -9,8 +9,6 @@ import { ProgramSeason } from '../../programs-seasons/entities/program-season.en
|
|
|
9
9
|
import { SeasonAttendee } from '../../programs-seasons/entities/season-attendee.entity';
|
|
10
10
|
import { Program } from '../../programs/entities/program.entity';
|
|
11
11
|
import { Resource } from '../../resources/entities/resource.entity';
|
|
12
|
-
import { LeagueSeason } from '../../team/entities/league-season.entity';
|
|
13
|
-
import { SeasonPool } from '../../team/entities/season-pool.entity';
|
|
14
12
|
import { ResourceNameTypeEnum } from '../../types/enums/resource-name.enums';
|
|
15
13
|
import { PurchasedResourceStatusEnum } from '../types/enums/registration.enums';
|
|
16
14
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
@@ -27,11 +25,9 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
27
25
|
lineItem?: LineItems;
|
|
28
26
|
eventAttendee?: EventAttendee;
|
|
29
27
|
seasonAttendee?: SeasonAttendee;
|
|
30
|
-
leagueAttendee?: SeasonPool;
|
|
31
28
|
membership?: Membership;
|
|
32
29
|
program?: Program;
|
|
33
30
|
programSeason?: ProgramSeason;
|
|
34
|
-
leagueSeason?: LeagueSeason;
|
|
35
31
|
space?: Resource;
|
|
36
32
|
product?: Product;
|
|
37
33
|
event?: Event;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"purchased-resource.entity.js","sourceRoot":"","sources":["../../../../src/types/registration/entities/purchased-resource.entity.ts"],"names":[],"mappings":";;;AAEA,0GAAoG;
|
|
1
|
+
{"version":3,"file":"purchased-resource.entity.js","sourceRoot":"","sources":["../../../../src/types/registration/entities/purchased-resource.entity.ts"],"names":[],"mappings":";;;AAEA,0GAAoG;AAcpG,MAAa,iBAAkB,SAAQ,sEAAgC;CA0CtE;AA1CD,8CA0CC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare const ROLLOVER_MANAGE_PERMISSION = "programs.sessions.edit";
|
|
3
3
|
/**
|
|
4
4
|
* Max players rolled over concurrently within one batch request. Each player runs
|
|
5
|
-
* in its own transaction (and may run a full `
|
|
5
|
+
* in its own transaction (and may run a full `purchaseUnsavedCart`), so this is kept well
|
|
6
6
|
* below the Postgres connection pool size to avoid exhausting it under load.
|
|
7
7
|
*/
|
|
8
8
|
export declare const ROLLOVER_PLAYER_CONCURRENCY = 5;
|
|
@@ -5,7 +5,7 @@ exports.ROLLOVER_PLAYER_CONCURRENCY = exports.ROLLOVER_MANAGE_PERMISSION = void
|
|
|
5
5
|
exports.ROLLOVER_MANAGE_PERMISSION = 'programs.sessions.edit';
|
|
6
6
|
/**
|
|
7
7
|
* Max players rolled over concurrently within one batch request. Each player runs
|
|
8
|
-
* in its own transaction (and may run a full `
|
|
8
|
+
* in its own transaction (and may run a full `purchaseUnsavedCart`), so this is kept well
|
|
9
9
|
* below the Postgres connection pool size to avoid exhausting it under load.
|
|
10
10
|
*/
|
|
11
11
|
exports.ROLLOVER_PLAYER_CONCURRENCY = 5;
|
|
@@ -2,13 +2,21 @@ import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
|
2
2
|
import { ProductTypesEnum } from '../../product-pricing/types/enums/product.enums';
|
|
3
3
|
export declare class GetDefaultTaxesFiltersDto {
|
|
4
4
|
productTypes?: ProductTypesEnum[];
|
|
5
|
+
facilitiesIds?: number[];
|
|
5
6
|
}
|
|
6
7
|
export declare class GetSingleDefaultTaxDto extends ByOrganizationIdDto {
|
|
7
8
|
productType: ProductTypesEnum;
|
|
8
9
|
}
|
|
10
|
+
export declare class ResolveDefaultTaxesQueryDto {
|
|
11
|
+
facilitiesIds?: number[];
|
|
12
|
+
}
|
|
13
|
+
export declare class DefaultTaxRowDto {
|
|
14
|
+
facilitiesIds: number[];
|
|
15
|
+
taxesIds: number[];
|
|
16
|
+
}
|
|
9
17
|
export declare class UpdateDefaultTaxesDto {
|
|
10
18
|
productType: ProductTypesEnum;
|
|
11
|
-
|
|
19
|
+
rows: DefaultTaxRowDto[];
|
|
12
20
|
updateProducts?: boolean;
|
|
13
21
|
}
|
|
14
22
|
export declare class DefaultTaxUpdatesDto {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DefaultTaxUpdatesDto = exports.UpdateDefaultTaxesDto = exports.GetSingleDefaultTaxDto = exports.GetDefaultTaxesFiltersDto = void 0;
|
|
3
|
+
exports.DefaultTaxUpdatesDto = exports.UpdateDefaultTaxesDto = exports.DefaultTaxRowDto = exports.ResolveDefaultTaxesQueryDto = exports.GetSingleDefaultTaxDto = exports.GetDefaultTaxesFiltersDto = void 0;
|
|
4
4
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
5
5
|
class GetDefaultTaxesFiltersDto {
|
|
6
6
|
}
|
|
@@ -8,6 +8,12 @@ exports.GetDefaultTaxesFiltersDto = GetDefaultTaxesFiltersDto;
|
|
|
8
8
|
class GetSingleDefaultTaxDto extends organization_dto_1.ByOrganizationIdDto {
|
|
9
9
|
}
|
|
10
10
|
exports.GetSingleDefaultTaxDto = GetSingleDefaultTaxDto;
|
|
11
|
+
class ResolveDefaultTaxesQueryDto {
|
|
12
|
+
}
|
|
13
|
+
exports.ResolveDefaultTaxesQueryDto = ResolveDefaultTaxesQueryDto;
|
|
14
|
+
class DefaultTaxRowDto {
|
|
15
|
+
}
|
|
16
|
+
exports.DefaultTaxRowDto = DefaultTaxRowDto;
|
|
11
17
|
class UpdateDefaultTaxesDto {
|
|
12
18
|
}
|
|
13
19
|
exports.UpdateDefaultTaxesDto = UpdateDefaultTaxesDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-tax.dto.js","sourceRoot":"","sources":["../../../../src/types/taxes/dto/default-tax.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;AAG9E,MAAa,yBAAyB;
|
|
1
|
+
{"version":3,"file":"default-tax.dto.js","sourceRoot":"","sources":["../../../../src/types/taxes/dto/default-tax.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;AAG9E,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA2B;CAEvC;AAFD,kEAEC;AAED,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
+
import { SimpleFacilityDto } from '../../facilities/dto/facilities.dto';
|
|
1
2
|
import { ProductTypesEnum } from '../../product-pricing/types/enums/product.enums';
|
|
2
3
|
import { TaxDto } from './tax.dto';
|
|
4
|
+
export declare class DefaultTaxGroupDto {
|
|
5
|
+
facilityIds: number[] | null;
|
|
6
|
+
facilities: SimpleFacilityDto[];
|
|
7
|
+
taxes: TaxDto[];
|
|
8
|
+
}
|
|
3
9
|
export declare class OrganizationDefaultTaxesDto {
|
|
4
|
-
[ProductTypesEnum.RESERVATION]?:
|
|
5
|
-
[ProductTypesEnum.REGISTRATION]?:
|
|
6
|
-
[ProductTypesEnum.MEMBERSHIP]?:
|
|
7
|
-
[ProductTypesEnum.GOODS]?:
|
|
8
|
-
[ProductTypesEnum.PACKAGE]?:
|
|
10
|
+
[ProductTypesEnum.RESERVATION]?: DefaultTaxGroupDto[];
|
|
11
|
+
[ProductTypesEnum.REGISTRATION]?: DefaultTaxGroupDto[];
|
|
12
|
+
[ProductTypesEnum.MEMBERSHIP]?: DefaultTaxGroupDto[];
|
|
13
|
+
[ProductTypesEnum.GOODS]?: DefaultTaxGroupDto[];
|
|
14
|
+
[ProductTypesEnum.PACKAGE]?: DefaultTaxGroupDto[];
|
|
9
15
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrganizationDefaultTaxesDto = void 0;
|
|
3
|
+
exports.OrganizationDefaultTaxesDto = exports.DefaultTaxGroupDto = void 0;
|
|
4
4
|
const product_enums_1 = require("../../product-pricing/types/enums/product.enums");
|
|
5
|
+
class DefaultTaxGroupDto {
|
|
6
|
+
}
|
|
7
|
+
exports.DefaultTaxGroupDto = DefaultTaxGroupDto;
|
|
5
8
|
class OrganizationDefaultTaxesDto {
|
|
6
9
|
}
|
|
7
10
|
exports.OrganizationDefaultTaxesDto = OrganizationDefaultTaxesDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-default-tax.dto.js","sourceRoot":"","sources":["../../../../src/types/taxes/dto/organization-default-tax.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"organization-default-tax.dto.js","sourceRoot":"","sources":["../../../../src/types/taxes/dto/organization-default-tax.dto.ts"],"names":[],"mappings":";;;AAEA,mFAAmF;AAInF,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AATC,gCAAgB,CAAC,WAAW,EAE5B,gCAAgB,CAAC,YAAY,EAE7B,gCAAgB,CAAC,UAAU,EAE3B,gCAAgB,CAAC,KAAK,EAEtB,gCAAgB,CAAC,OAAO"}
|
|
@@ -6,5 +6,8 @@ export declare class GetTaxesFiltersDto extends PaginationSearchQuery<TaxOrderBy
|
|
|
6
6
|
isInclusive?: boolean;
|
|
7
7
|
isActive?: boolean;
|
|
8
8
|
expand?: TaxesExpandEnum[];
|
|
9
|
+
facilitiesIds?: number[];
|
|
10
|
+
coverFacilitiesIds?: number[];
|
|
11
|
+
onlyAllFacilities?: boolean;
|
|
9
12
|
orderBy?: TaxOrderByFieldEnum;
|
|
10
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.dto.js","sourceRoot":"","sources":["../../../../src/types/taxes/dto/pagination.dto.ts"],"names":[],"mappings":";;;AACA,uDAA8D;AAG9D,MAAa,kBAAmB,SAAQ,mCAA0C;
|
|
1
|
+
{"version":3,"file":"pagination.dto.js","sourceRoot":"","sources":["../../../../src/types/taxes/dto/pagination.dto.ts"],"names":[],"mappings":";;;AACA,uDAA8D;AAG9D,MAAa,kBAAmB,SAAQ,mCAA0C;CAkBjF;AAlBD,gDAkBC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SimpleFacilityDto } from '../../facilities/dto/facilities.dto';
|
|
1
2
|
import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
|
|
2
3
|
import { ProductTypesEnum } from '../../product-pricing/types/enums/product.enums';
|
|
3
4
|
export declare class CreateTaxDto {
|
|
@@ -6,6 +7,7 @@ export declare class CreateTaxDto {
|
|
|
6
7
|
isInclusive: boolean;
|
|
7
8
|
description?: string;
|
|
8
9
|
glIds?: number[];
|
|
10
|
+
facilitiesIds?: number[];
|
|
9
11
|
}
|
|
10
12
|
export declare class UpdateTaxDto {
|
|
11
13
|
id: number;
|
|
@@ -16,11 +18,16 @@ export declare class UpdateTaxDto {
|
|
|
16
18
|
isActive?: boolean;
|
|
17
19
|
glIds?: number[];
|
|
18
20
|
removeProducts?: boolean;
|
|
21
|
+
facilitiesIds?: number[];
|
|
22
|
+
detachProducts?: boolean;
|
|
19
23
|
}
|
|
20
24
|
export declare class TaxDto extends CreateTaxDto {
|
|
21
25
|
id: number;
|
|
22
26
|
organizationId: number;
|
|
23
27
|
isActive: boolean;
|
|
28
|
+
facilityIds?: number[];
|
|
29
|
+
facilities?: SimpleFacilityDto[];
|
|
30
|
+
isAllFacilities?: boolean;
|
|
24
31
|
updatedAt: Date;
|
|
25
32
|
productsCount?: number;
|
|
26
33
|
defaultTaxes?: ProductTypesEnum[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tax.dto.js","sourceRoot":"","sources":["../../../../src/types/taxes/dto/tax.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"tax.dto.js","sourceRoot":"","sources":["../../../../src/types/taxes/dto/tax.dto.ts"],"names":[],"mappings":";;;AAKA,MAAa,YAAY;CAYxB;AAZD,oCAYC;AAED,MAAa,YAAY;CAqBxB;AArBD,oCAqBC;AAED,MAAa,MAAO,SAAQ,YAAY;CAoBvC;AApBD,wBAoBC;AAED,MAAa,gBAAiB,SAAQ,MAAM;CAQ3C;AARD,4CAQC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/organization-connection-base-entity';
|
|
2
|
+
import { Facility } from '../../facilities/entities/facility.entity';
|
|
2
3
|
import { ProductTypesEnum } from '../../product-pricing/types/enums/product.enums';
|
|
3
4
|
import { Tax } from './tax.entity';
|
|
4
|
-
export declare class DefaultTax extends
|
|
5
|
-
organizationId: number;
|
|
5
|
+
export declare class DefaultTax extends OrganizationConnectionBaseEntity {
|
|
6
6
|
productType: ProductTypesEnum;
|
|
7
7
|
taxId: number;
|
|
8
|
+
facilityId?: number | null;
|
|
8
9
|
tax?: Tax;
|
|
10
|
+
facility?: Facility | null;
|
|
9
11
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DefaultTax = void 0;
|
|
4
|
-
const
|
|
5
|
-
class DefaultTax extends
|
|
4
|
+
const organization_connection_base_entity_1 = require("../../entity/organization-connection-base-entity");
|
|
5
|
+
class DefaultTax extends organization_connection_base_entity_1.OrganizationConnectionBaseEntity {
|
|
6
6
|
}
|
|
7
7
|
exports.DefaultTax = DefaultTax;
|
|
8
8
|
//# sourceMappingURL=default-tax.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-tax.entity.js","sourceRoot":"","sources":["../../../../src/types/taxes/entities/default-tax.entity.ts"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"file":"default-tax.entity.js","sourceRoot":"","sources":["../../../../src/types/taxes/entities/default-tax.entity.ts"],"names":[],"mappings":";;;AAEA,0GAAoG;AAMpG,MAAa,UAAW,SAAQ,sEAAgC;CAU/D;AAVD,gCAUC"}
|
|
@@ -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("./default-tax.entity"), exports);
|
|
18
|
+
__exportStar(require("./tax-to-facility.entity"), exports);
|
|
18
19
|
__exportStar(require("./tax.entity"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/taxes/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/taxes/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,2DAAyC;AACzC,+CAA6B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BondBaseEntity } from '../../entity/bond-base-entity';
|
|
2
|
+
import { Facility } from '../../facilities/entities/facility.entity';
|
|
3
|
+
import { Tax } from './tax.entity';
|
|
4
|
+
export declare class TaxToFacility extends BondBaseEntity {
|
|
5
|
+
taxId: number;
|
|
6
|
+
facilityId: number;
|
|
7
|
+
deletedAt?: Date;
|
|
8
|
+
facility?: Facility;
|
|
9
|
+
tax?: Tax;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TaxToFacility = void 0;
|
|
4
|
+
const bond_base_entity_1 = require("../../entity/bond-base-entity");
|
|
5
|
+
class TaxToFacility extends bond_base_entity_1.BondBaseEntity {
|
|
6
|
+
}
|
|
7
|
+
exports.TaxToFacility = TaxToFacility;
|
|
8
|
+
//# sourceMappingURL=tax-to-facility.entity.js.map
|