@bondsports/types 2.5.24-a-3 → 2.5.24-squad-b-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 +0 -1
- package/dist/types/attendance/dto/attendance.dto.js.map +1 -1
- package/dist/types/booking-type-settings/dto/booking-type-setting.dto.d.ts +7 -0
- package/dist/types/booking-type-settings/dto/booking-type-setting.dto.js +7 -0
- package/dist/types/booking-type-settings/dto/booking-type-setting.dto.js.map +1 -0
- package/dist/types/booking-type-settings/dto/index.d.ts +1 -0
- package/dist/types/booking-type-settings/dto/index.js +18 -0
- package/dist/types/booking-type-settings/dto/index.js.map +1 -0
- package/dist/types/booking-type-settings/index.d.ts +1 -0
- package/dist/types/booking-type-settings/index.js +1 -0
- package/dist/types/booking-type-settings/index.js.map +1 -1
- package/dist/types/cart/dto/cart-item-public.dto.d.ts +7 -6
- 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 -4
- package/dist/types/cart/dto/cart-item.dto.js +3 -4
- package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +60 -1
- package/dist/types/customers/dto/customer-find-import.dto.d.ts +3 -0
- package/dist/types/customers/dto/customer-find-import.dto.js +4 -1
- package/dist/types/customers/dto/customer-find-import.dto.js.map +1 -1
- package/dist/types/events/dto/events.dto.d.ts +7 -0
- package/dist/types/events/dto/events.dto.js +7 -1
- package/dist/types/events/dto/events.dto.js.map +1 -1
- package/dist/types/facilities/dto/facilities.dto.d.ts +0 -14
- package/dist/types/facilities/dto/facilities.dto.js +1 -14
- package/dist/types/facilities/dto/facilities.dto.js.map +1 -1
- package/dist/types/future-installments/entities/future-installment.entity.d.ts +3 -0
- package/dist/types/future-installments/entities/future-installment.entity.js.map +1 -1
- package/dist/types/group-divisions/dto/groups-divisions.dto.d.ts +87 -0
- package/dist/types/group-divisions/dto/groups-divisions.dto.js +46 -1
- package/dist/types/group-divisions/dto/groups-divisions.dto.js.map +1 -1
- package/dist/types/group-divisions/entities/index.d.ts +3 -0
- package/dist/types/group-divisions/entities/index.js +3 -0
- package/dist/types/group-divisions/entities/index.js.map +1 -1
- package/dist/types/group-divisions/entities/team-invite.entity.d.ts +10 -0
- package/dist/types/group-divisions/entities/team-invite.entity.js +8 -0
- package/dist/types/group-divisions/entities/team-invite.entity.js.map +1 -0
- package/dist/types/group-divisions/entities/team-member.entity.d.ts +15 -0
- package/dist/types/group-divisions/entities/team-member.entity.js +8 -0
- package/dist/types/group-divisions/entities/team-member.entity.js.map +1 -0
- package/dist/types/group-divisions/entities/users-in-group.entity.d.ts +6 -0
- package/dist/types/group-divisions/entities/users-in-group.entity.js +8 -0
- package/dist/types/group-divisions/entities/users-in-group.entity.js.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/invoice/dto/index.d.ts +0 -1
- package/dist/types/invoice/dto/index.js +0 -1
- package/dist/types/invoice/dto/index.js.map +1 -1
- package/dist/types/invoice/dto/invoice-pdf.dto.d.ts +1 -6
- package/dist/types/invoice/dto/invoice-pdf.dto.js +1 -4
- package/dist/types/invoice/dto/invoice-pdf.dto.js.map +1 -1
- package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +4 -10
- package/dist/types/league/entities/game-slots.entity.d.ts +5 -0
- package/dist/types/league/entities/game-slots.entity.js +8 -0
- package/dist/types/league/entities/game-slots.entity.js.map +1 -0
- package/dist/types/league/entities/index.d.ts +7 -0
- package/dist/types/league/entities/index.js +24 -0
- package/dist/types/league/entities/index.js.map +1 -0
- package/dist/types/league/entities/league.entity.d.ts +30 -0
- package/dist/types/league/entities/league.entity.js +8 -0
- package/dist/types/league/entities/league.entity.js.map +1 -0
- package/dist/types/league/entities/match-participants.entity.d.ts +10 -0
- package/dist/types/league/entities/match-participants.entity.js +8 -0
- package/dist/types/league/entities/match-participants.entity.js.map +1 -0
- package/dist/types/league/entities/matches.entity.d.ts +6 -0
- package/dist/types/league/entities/matches.entity.js +8 -0
- package/dist/types/league/entities/matches.entity.js.map +1 -0
- package/dist/types/league/entities/round-events.entity.d.ts +8 -0
- package/dist/types/league/entities/round-events.entity.js +8 -0
- package/dist/types/league/entities/round-events.entity.js.map +1 -0
- package/dist/types/league/entities/season-rounds.entity.d.ts +7 -0
- package/dist/types/league/entities/season-rounds.entity.js +8 -0
- package/dist/types/league/entities/season-rounds.entity.js.map +1 -0
- package/dist/types/league/entities/team-events.entity.d.ts +6 -0
- package/dist/types/league/entities/team-events.entity.js +8 -0
- package/dist/types/league/entities/team-events.entity.js.map +1 -0
- package/dist/types/league/index.d.ts +1 -0
- package/dist/types/league/index.js +1 -0
- package/dist/types/league/index.js.map +1 -1
- package/dist/types/membership/dto/membership.dto.d.ts +1 -0
- package/dist/types/membership/dto/membership.dto.js.map +1 -1
- package/dist/types/membership/dto/public-membership.dto.d.ts +0 -2
- package/dist/types/membership/dto/public-membership.dto.js.map +1 -1
- package/dist/types/membership/entities/membership.entity.d.ts +1 -8
- package/dist/types/membership/entities/membership.entity.js.map +1 -1
- package/dist/types/membership/types/membership.interfaces.d.ts +1 -2
- package/dist/types/payment/dto/payment.dto.d.ts +4 -0
- package/dist/types/payment/dto/payment.dto.js +4 -1
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/payment/entities/index.d.ts +1 -0
- package/dist/types/payment/entities/index.js +1 -0
- package/dist/types/payment/entities/index.js.map +1 -1
- package/dist/types/payment/entities/payment-v1.entity.d.ts +19 -0
- package/dist/types/payment/entities/payment-v1.entity.js +8 -0
- package/dist/types/payment/entities/payment-v1.entity.js.map +1 -0
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +1 -0
- package/dist/types/pricing/dto/pricing.dto.d.ts +8 -1
- package/dist/types/pricing/dto/pricing.dto.js +4 -1
- package/dist/types/pricing/dto/pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product-categories.dto.d.ts +1 -5
- package/dist/types/product-pricing/dto/product-categories.dto.js +1 -4
- package/dist/types/product-pricing/dto/product-categories.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +16 -0
- package/dist/types/product-pricing/dto/product-pricing.dto.js +16 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product-variants.dto.d.ts +5 -0
- package/dist/types/product-pricing/dto/product-variants.dto.js +4 -1
- package/dist/types/product-pricing/dto/product-variants.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +12 -0
- package/dist/types/product-pricing/dto/product.dto.js +7 -1
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/entities/product-category.entity.d.ts +0 -3
- package/dist/types/product-pricing/entities/product-category.entity.js.map +1 -1
- package/dist/types/product-pricing/types/enums/product.enums.d.ts +15 -1
- package/dist/types/product-pricing/types/enums/product.enums.js +17 -3
- 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 +0 -4
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +12 -0
- package/dist/types/programs/dto/program-backoffice.dto.d.ts +1 -0
- package/dist/types/programs/dto/program-backoffice.dto.js.map +1 -1
- package/dist/types/programs/dto/program.dto.d.ts +0 -1
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs/entities/program.entity.d.ts +0 -2
- package/dist/types/programs/entities/program.entity.js.map +1 -1
- package/dist/types/programs/types/interfaces/program.interfaces.d.ts +1 -0
- package/dist/types/programs-seasons/dto/program-session.dto.d.ts +13 -1
- package/dist/types/programs-seasons/dto/program-session.dto.js +10 -1
- 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 +0 -1
- package/dist/types/purchase/dto/purchase.dto.d.ts +11 -0
- package/dist/types/purchase/dto/purchase.dto.js +4 -1
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +21 -2
- package/dist/types/registration/dto/registration.dto.d.ts +17 -0
- package/dist/types/registration/dto/registration.dto.js +10 -1
- package/dist/types/registration/dto/registration.dto.js.map +1 -1
- package/dist/types/registration/entities/purchased-resource.entity.d.ts +4 -0
- package/dist/types/registration/entities/purchased-resource.entity.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +5 -1
- package/dist/types/reservations/dto/reservation.dto.js +5 -2
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +7 -0
- package/dist/types/reservations/dto/slot.dto.js +7 -1
- package/dist/types/reservations/dto/slot.dto.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 +1 -9
- package/dist/types/taxes/dto/default-tax.dto.js +1 -7
- package/dist/types/taxes/dto/default-tax.dto.js.map +1 -1
- package/dist/types/taxes/dto/organization-default-tax.dto.d.ts +5 -11
- package/dist/types/taxes/dto/organization-default-tax.dto.js +1 -4
- package/dist/types/taxes/dto/organization-default-tax.dto.js.map +1 -1
- package/dist/types/taxes/dto/pagination.dto.d.ts +0 -3
- package/dist/types/taxes/dto/pagination.dto.js.map +1 -1
- package/dist/types/taxes/dto/tax.dto.d.ts +0 -7
- package/dist/types/taxes/dto/tax.dto.js.map +1 -1
- package/dist/types/taxes/entities/default-tax.entity.d.ts +3 -5
- 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 +0 -1
- package/dist/types/taxes/entities/index.js +0 -1
- package/dist/types/taxes/entities/index.js.map +1 -1
- package/dist/types/taxes/entities/tax.entity.d.ts +1 -3
- package/dist/types/taxes/entities/tax.entity.js.map +1 -1
- package/dist/types/taxes/types/default-tax.classes.d.ts +10 -17
- package/dist/types/taxes/types/default-tax.classes.js +1 -4
- package/dist/types/taxes/types/default-tax.classes.js.map +1 -1
- package/dist/types/taxes/types/tax.interfaces.d.ts +0 -37
- package/dist/types/team/entities/connection.entity.d.ts +13 -0
- package/dist/types/team/entities/connection.entity.js +8 -0
- package/dist/types/team/entities/connection.entity.js.map +1 -0
- package/dist/types/team/entities/index.d.ts +5 -0
- package/dist/types/team/entities/index.js +22 -0
- package/dist/types/team/entities/index.js.map +1 -0
- package/dist/types/team/entities/league-season.entity.d.ts +51 -0
- package/dist/types/team/entities/league-season.entity.js +15 -0
- package/dist/types/team/entities/league-season.entity.js.map +1 -0
- package/dist/types/team/entities/season-pool.entity.d.ts +22 -0
- package/dist/types/team/entities/season-pool.entity.js +8 -0
- package/dist/types/team/entities/season-pool.entity.js.map +1 -0
- package/dist/types/team/entities/season-team.entity.d.ts +12 -0
- package/dist/types/team/entities/season-team.entity.js +8 -0
- package/dist/types/team/entities/season-team.entity.js.map +1 -0
- package/dist/types/team/entities/team.entity.d.ts +37 -0
- package/dist/types/team/entities/team.entity.js +8 -0
- package/dist/types/team/entities/team.entity.js.map +1 -0
- package/dist/types/team/index.d.ts +2 -0
- package/dist/types/team/index.js +19 -0
- package/dist/types/team/index.js.map +1 -0
- package/dist/types/team/types/enums/index.d.ts +1 -0
- package/dist/types/team/types/enums/index.js +18 -0
- package/dist/types/team/types/enums/index.js.map +1 -0
- package/dist/types/team/types/enums/team.enums.d.ts +16 -0
- package/dist/types/team/types/enums/team.enums.js +23 -0
- package/dist/types/team/types/enums/team.enums.js.map +1 -0
- package/dist/types/team/types/index.d.ts +1 -0
- package/dist/types/team/types/index.js +18 -0
- package/dist/types/team/types/index.js.map +1 -0
- package/dist/types/user-activities/dto/user-activities.dto.d.ts +0 -2
- package/dist/types/user-activities/dto/user-activities.dto.js.map +1 -1
- package/dist/types/waitlist/types/waitlist-notifications.interfaces.d.ts +2 -2
- package/package.json +2 -2
- package/dist/types/invoice/dto/invoice-settings.dto.d.ts +0 -15
- package/dist/types/invoice/dto/invoice-settings.dto.js +0 -18
- package/dist/types/invoice/dto/invoice-settings.dto.js.map +0 -1
- package/dist/types/taxes/entities/tax-to-facility.entity.d.ts +0 -10
- package/dist/types/taxes/entities/tax-to-facility.entity.js +0 -8
- package/dist/types/taxes/entities/tax-to-facility.entity.js.map +0 -1
|
@@ -8,5 +8,6 @@ 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';
|
|
11
12
|
export * from './payment.entity';
|
|
12
13
|
export * from './promo-code.entity';
|
|
@@ -24,6 +24,7 @@ __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);
|
|
27
28
|
__exportStar(require("./payment.entity"), exports);
|
|
28
29
|
__exportStar(require("./promo-code.entity"), exports);
|
|
29
30
|
//# 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,mDAAiC;AACjC,sDAAoC"}
|
|
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,sDAAoC;AACpC,mDAAiC;AACjC,sDAAoC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BondBaseEntity } from '../../entity/bond-base-entity';
|
|
2
|
+
export declare class PaymentV1 extends BondBaseEntity {
|
|
3
|
+
userId: number | null;
|
|
4
|
+
ownerId: number | null;
|
|
5
|
+
parentId: number | null;
|
|
6
|
+
parentType: string | null;
|
|
7
|
+
idAtProvider: string | null;
|
|
8
|
+
providerType: number | null;
|
|
9
|
+
providerExtraData: string | null;
|
|
10
|
+
requestData: string | null;
|
|
11
|
+
responseData: string | null;
|
|
12
|
+
status: number | null;
|
|
13
|
+
price: number | null;
|
|
14
|
+
currency: string | null;
|
|
15
|
+
locked: boolean | null;
|
|
16
|
+
numberOfTries: number | null;
|
|
17
|
+
installmentId: number | null;
|
|
18
|
+
invoiceId: string | null;
|
|
19
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PaymentV1 = void 0;
|
|
4
|
+
const bond_base_entity_1 = require("../../entity/bond-base-entity");
|
|
5
|
+
class PaymentV1 extends bond_base_entity_1.BondBaseEntity {
|
|
6
|
+
}
|
|
7
|
+
exports.PaymentV1 = PaymentV1;
|
|
8
|
+
//# sourceMappingURL=payment-v1.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-v1.entity.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/payment-v1.entity.ts"],"names":[],"mappings":";;;AAEA,oEAA+D;AAE/D,MAAa,SAAU,SAAQ,iCAAc;CAgC5C;AAhCD,8BAgCC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { BaseCreateEntitlementGroupDto } from '../../entitlement-group/dto/entitlement-group.dto';
|
|
2
2
|
import { EntitlementTermsTypesEnum } from '../../entitlement-group/types/enums';
|
|
3
|
-
import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
|
3
|
+
import { ByOrganizationIdDto, OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
|
4
4
|
import { DiscountMethodsEnum } from '../../product-pricing/types/enums/product.enums';
|
|
5
5
|
import { CurrencyEnum } from '../../types/enums/currency.enums';
|
|
6
|
+
import { ResourceNameTypeEnum } from '../../types/enums/resource-name.enums';
|
|
6
7
|
import { IQuestionAnswerObject } from '../types/pricing.interfaces';
|
|
7
8
|
/**
|
|
8
9
|
* This represents the DTO for an array of multiple CreateEntitlementTermsDto objects you want to create at once (ie. data for multiple rows of the
|
|
@@ -43,6 +44,12 @@ export declare class FindEntitlementTermsByVariablesDto {
|
|
|
43
44
|
user: any;
|
|
44
45
|
userVariables: IQuestionAnswerObject[];
|
|
45
46
|
}
|
|
47
|
+
export declare class FindLowestPriceDto extends ByOrganizationIdDto {
|
|
48
|
+
userId?: number;
|
|
49
|
+
answers?: IQuestionAnswerObject[];
|
|
50
|
+
itemIds: number[];
|
|
51
|
+
itemType: ResourceNameTypeEnum;
|
|
52
|
+
}
|
|
46
53
|
export declare class FindGroupItemsPricingsDto {
|
|
47
54
|
groupsIds: number[];
|
|
48
55
|
itemsIds: number[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreatePriceDto = exports.CreateGroupPricingWithProduct = exports.FindEntitlementGroupByIdDto = exports.GetEntitlementGroupPricingDto = exports.CreateEntitlementGroupsDto = exports.FindGroupItemsPricingsDto = exports.FindEntitlementTermsByVariablesDto = exports.FindEntitlementTermsByGroupIdDto = exports.TermDto = exports.EntitlementTermsDto = exports.CreateEntitlementTermsDto = exports.CreateEntitlementGroupsTermsDto = void 0;
|
|
3
|
+
exports.CreatePriceDto = exports.CreateGroupPricingWithProduct = exports.FindEntitlementGroupByIdDto = exports.GetEntitlementGroupPricingDto = exports.CreateEntitlementGroupsDto = exports.FindGroupItemsPricingsDto = exports.FindLowestPriceDto = exports.FindEntitlementTermsByVariablesDto = exports.FindEntitlementTermsByGroupIdDto = exports.TermDto = exports.EntitlementTermsDto = exports.CreateEntitlementTermsDto = exports.CreateEntitlementGroupsTermsDto = void 0;
|
|
4
4
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
5
5
|
/**
|
|
6
6
|
* This represents the DTO for an array of multiple CreateEntitlementTermsDto objects you want to create at once (ie. data for multiple rows of the
|
|
@@ -33,6 +33,9 @@ exports.FindEntitlementTermsByGroupIdDto = FindEntitlementTermsByGroupIdDto;
|
|
|
33
33
|
class FindEntitlementTermsByVariablesDto {
|
|
34
34
|
}
|
|
35
35
|
exports.FindEntitlementTermsByVariablesDto = FindEntitlementTermsByVariablesDto;
|
|
36
|
+
class FindLowestPriceDto extends organization_dto_1.ByOrganizationIdDto {
|
|
37
|
+
}
|
|
38
|
+
exports.FindLowestPriceDto = FindLowestPriceDto;
|
|
36
39
|
class FindGroupItemsPricingsDto {
|
|
37
40
|
}
|
|
38
41
|
exports.FindGroupItemsPricingsDto = FindGroupItemsPricingsDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/pricing/dto/pricing.dto.ts"],"names":[],"mappings":";;;AAGA,
|
|
1
|
+
{"version":3,"file":"pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/pricing/dto/pricing.dto.ts"],"names":[],"mappings":";;;AAGA,8EAAyG;AAMzG;;;GAGG;AACH,MAAa,+BAA+B;CAE3C;AAFD,0EAEC;AAED;;GAEG;AACH,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED;;GAEG;AACH,MAAa,mBAAoB,SAAQ,4CAAyB;CAIjE;AAJD,kDAIC;AAED;;GAEG;AACH,MAAa,OAAO;CAWnB;AAXD,0BAWC;AAED,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,kCAAkC;CAG9C;AAHD,gFAGC;AAED,MAAa,kBAAmB,SAAQ,sCAAmB;CAQ1D;AARD,gDAQC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,2BAA2B;CAEvC;AAFD,kEAEC;AAED,MAAa,6BAA6B;CAYzC;AAZD,sEAYC;AAED,MAAa,cAAc;CAwB1B;AAxBD,wCAwBC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { 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,7 +40,6 @@ 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[];
|
|
44
43
|
}
|
|
45
44
|
export declare class GetProductCategoriesDto extends PaginationQuery implements IGetProductCategories {
|
|
46
45
|
order?: OrderByEnum;
|
|
@@ -65,6 +64,3 @@ export declare class GetStationProductCategoriesDto {
|
|
|
65
64
|
export declare class IncludeProductsCountDto {
|
|
66
65
|
includeProductsCount?: boolean;
|
|
67
66
|
}
|
|
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.
|
|
3
|
+
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,7 +33,4 @@ exports.GetStationProductCategoriesDto = GetStationProductCategoriesDto;
|
|
|
33
33
|
class IncludeProductsCountDto {
|
|
34
34
|
}
|
|
35
35
|
exports.IncludeProductsCountDto = IncludeProductsCountDto;
|
|
36
|
-
class GetProductCategoryByIdQueryDto extends IncludeProductsCountDto {
|
|
37
|
-
}
|
|
38
|
-
exports.GetProductCategoryByIdQueryDto = GetProductCategoryByIdQueryDto;
|
|
39
36
|
//# 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,uDAAwD;AACxD,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;CAQhH;AARD,gDAQC;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"}
|
|
@@ -25,13 +25,29 @@ export declare class FindPricesOfProductsDto {
|
|
|
25
25
|
products: FindPriceOfProductDto[];
|
|
26
26
|
answers?: UserAnswersDto[];
|
|
27
27
|
}
|
|
28
|
+
export declare class FindByProductUserIdsDto {
|
|
29
|
+
userId: number;
|
|
30
|
+
organizationId: number;
|
|
31
|
+
}
|
|
32
|
+
export declare class GetByOrgIdInvoiceIdDto extends ByOrganizationIdDto {
|
|
33
|
+
invoiceId?: number;
|
|
34
|
+
}
|
|
28
35
|
export declare class GetAllOrganizationAddonsOptionsDto {
|
|
29
36
|
includeArchived?: boolean;
|
|
30
37
|
facilitiesIds?: number[];
|
|
31
38
|
}
|
|
39
|
+
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
40
|
+
customerId: number;
|
|
41
|
+
}
|
|
42
|
+
export declare class GetBySessionType {
|
|
43
|
+
sessionType: 'event' | 'segment';
|
|
44
|
+
}
|
|
32
45
|
export declare class ArchiveDto {
|
|
33
46
|
isArchive: boolean;
|
|
34
47
|
}
|
|
48
|
+
export declare class ArchiveMultipleProductsDto extends ArchiveDto {
|
|
49
|
+
productIds: number[];
|
|
50
|
+
}
|
|
35
51
|
export declare class GetProductsByTypeDto extends ByOrganizationIdDto {
|
|
36
52
|
productType: ProductTypesEnum;
|
|
37
53
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetPunchPassProductsByTypeQueryDto = exports.GetProductsByTypeQueryDto = exports.GetProductsByTypeDto = exports.ArchiveDto = exports.GetAllOrganizationAddonsOptionsDto = exports.FindPricesOfProductsDto = exports.SharedResourceInfo = exports.FindPriceOfProductDto = void 0;
|
|
3
|
+
exports.GetPunchPassProductsByTypeQueryDto = exports.GetProductsByTypeQueryDto = exports.GetProductsByTypeDto = exports.ArchiveMultipleProductsDto = exports.ArchiveDto = exports.GetBySessionType = exports.GetByCustomerIdDto = exports.GetAllOrganizationAddonsOptionsDto = exports.GetByOrgIdInvoiceIdDto = exports.FindByProductUserIdsDto = exports.FindPricesOfProductsDto = exports.SharedResourceInfo = exports.FindPriceOfProductDto = 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 FindPriceOfProductDto {
|
|
@@ -12,12 +12,27 @@ exports.SharedResourceInfo = SharedResourceInfo;
|
|
|
12
12
|
class FindPricesOfProductsDto {
|
|
13
13
|
}
|
|
14
14
|
exports.FindPricesOfProductsDto = FindPricesOfProductsDto;
|
|
15
|
+
class FindByProductUserIdsDto {
|
|
16
|
+
}
|
|
17
|
+
exports.FindByProductUserIdsDto = FindByProductUserIdsDto;
|
|
18
|
+
class GetByOrgIdInvoiceIdDto extends organization_dto_1.ByOrganizationIdDto {
|
|
19
|
+
}
|
|
20
|
+
exports.GetByOrgIdInvoiceIdDto = GetByOrgIdInvoiceIdDto;
|
|
15
21
|
class GetAllOrganizationAddonsOptionsDto {
|
|
16
22
|
}
|
|
17
23
|
exports.GetAllOrganizationAddonsOptionsDto = GetAllOrganizationAddonsOptionsDto;
|
|
24
|
+
class GetByCustomerIdDto extends general_dto_1.PaginationQuery {
|
|
25
|
+
}
|
|
26
|
+
exports.GetByCustomerIdDto = GetByCustomerIdDto;
|
|
27
|
+
class GetBySessionType {
|
|
28
|
+
}
|
|
29
|
+
exports.GetBySessionType = GetBySessionType;
|
|
18
30
|
class ArchiveDto {
|
|
19
31
|
}
|
|
20
32
|
exports.ArchiveDto = ArchiveDto;
|
|
33
|
+
class ArchiveMultipleProductsDto extends ArchiveDto {
|
|
34
|
+
}
|
|
35
|
+
exports.ArchiveMultipleProductsDto = ArchiveMultipleProductsDto;
|
|
21
36
|
class GetProductsByTypeDto extends organization_dto_1.ByOrganizationIdDto {
|
|
22
37
|
}
|
|
23
38
|
exports.GetProductsByTypeDto = GetProductsByTypeDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,kCAAkC;CAI9C;AAJD,gFAIC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAwD7D;AAxDD,8DAwDC;AAED,MAAa,kCAAmC,SAAQ,6BAAe;CAsBtE;AAtBD,gFAsBC"}
|
|
1
|
+
{"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,kCAAkC;CAI9C;AAJD,gFAIC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAwD7D;AAxDD,8DAwDC;AAED,MAAa,kCAAmC,SAAQ,6BAAe;CAsBtE;AAtBD,gFAsBC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateVariantTitleDto = exports.GetAllVariantTitlesDto = exports.VariantWithPrice = exports.VariantDto = exports.VariantTitleDto = void 0;
|
|
3
|
+
exports.UpdateVariantTitleDto = exports.CreateVariantTitleDto = exports.GetAllVariantTitlesDto = exports.VariantWithPrice = exports.VariantDto = exports.VariantTitleDto = void 0;
|
|
4
4
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
5
5
|
class VariantTitleDto {
|
|
6
6
|
}
|
|
@@ -17,4 +17,7 @@ exports.GetAllVariantTitlesDto = GetAllVariantTitlesDto;
|
|
|
17
17
|
class CreateVariantTitleDto extends organization_dto_1.ByOrganizationIdDto {
|
|
18
18
|
}
|
|
19
19
|
exports.CreateVariantTitleDto = CreateVariantTitleDto;
|
|
20
|
+
class UpdateVariantTitleDto extends organization_dto_1.ByOrganizationIdDto {
|
|
21
|
+
}
|
|
22
|
+
exports.UpdateVariantTitleDto = UpdateVariantTitleDto;
|
|
20
23
|
//# sourceMappingURL=product-variants.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-variants.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-variants.dto.ts"],"names":[],"mappings":";;;AACA,8EAAyG;AAGzG,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,UAAW,SAAQ,4CAAyB;CAIxD;AAJD,gCAIC;AAED,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAAG;AAAlE,wDAAkE;AAElE,MAAa,qBAAsB,SAAQ,sCAAmB;CAI7D;AAJD,sDAIC"}
|
|
1
|
+
{"version":3,"file":"product-variants.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-variants.dto.ts"],"names":[],"mappings":";;;AACA,8EAAyG;AAGzG,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,UAAW,SAAQ,4CAAyB;CAIxD;AAJD,gCAIC;AAED,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAAG;AAAlE,wDAAkE;AAElE,MAAa,qBAAsB,SAAQ,sCAAmB;CAI7D;AAJD,sDAIC;AAED,MAAa,qBAAsB,SAAQ,sCAAmB;CAM7D;AAND,sDAMC"}
|
|
@@ -16,6 +16,7 @@ import { PunchPassDto } from '../../punch-pass/dto/punch-pass.dto';
|
|
|
16
16
|
import { ResourceSettingDto } from '../../resource-settings/dto/resource-setting.dto';
|
|
17
17
|
import { TaxDto } from '../../taxes/dto/tax.dto';
|
|
18
18
|
import { PlatformsEnum } from '../../types/enums/platform.enums';
|
|
19
|
+
import { ResourceNameTypeEnum } from '../../types/enums/resource-name.enums';
|
|
19
20
|
import { ProductPackage } from '../entities/product-package.entity';
|
|
20
21
|
import { ProductVariantInventoryScopeEnum } from '../types/enums/product-inventory.enums';
|
|
21
22
|
import { AddonTimePeriodEnum, PackageProductsRelationTypeEnum, ProductPackageLevelEnum, ProductSubTypesEnum, ProductTypesEnum } from '../types/enums/product.enums';
|
|
@@ -43,6 +44,11 @@ export declare class CreateRentalProductAddonDto {
|
|
|
43
44
|
level?: ProductPackageLevelEnum;
|
|
44
45
|
timePeriod?: AddonTimePeriodEnum;
|
|
45
46
|
}
|
|
47
|
+
export declare class ConnectProductResourceDto {
|
|
48
|
+
productId: number;
|
|
49
|
+
resourceType: ResourceNameTypeEnum;
|
|
50
|
+
resourceIds: number[];
|
|
51
|
+
}
|
|
46
52
|
export declare class ReturnRequiredProductsDto {
|
|
47
53
|
userId: number;
|
|
48
54
|
productId: number;
|
|
@@ -58,6 +64,12 @@ export declare class UsersRequiredProductsByProductIdsDto {
|
|
|
58
64
|
productIds: number[];
|
|
59
65
|
redeemRelevantDate?: string;
|
|
60
66
|
}
|
|
67
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
68
|
+
productIds?: number[];
|
|
69
|
+
includePrices?: boolean;
|
|
70
|
+
productType?: ProductTypesEnum;
|
|
71
|
+
includeAddons?: string;
|
|
72
|
+
}
|
|
61
73
|
export declare class ProductFieldsDto {
|
|
62
74
|
id: number;
|
|
63
75
|
name: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserRequiredProductsDto = exports.RequiredProductsByProductIdDto = exports.RequiredProductDto = exports.ResourceProductDto = exports.ProductDto = exports.DeprecatedProductDto = exports.BaseProductDto = exports.ProductAddOnDto = exports.AddOnProductDto = exports.ProductVariantDto = exports.SimpleProductDto = exports.GetOrganizationProductsDto = exports.GetExtraProductDataDto = exports.ProductFieldsDto = exports.UsersRequiredProductsByProductIdsDto = exports.UsersRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.CreateRentalProductAddonDto = exports.ByProductAndOrgDto = exports.CreateProductAvailabilityTimesDto = exports.FindByProductIdDto = void 0;
|
|
3
|
+
exports.UserRequiredProductsDto = exports.RequiredProductsByProductIdDto = exports.RequiredProductDto = exports.ResourceProductDto = exports.ProductDto = exports.DeprecatedProductDto = exports.BaseProductDto = exports.ProductAddOnDto = exports.AddOnProductDto = exports.ProductVariantDto = exports.SimpleProductDto = exports.GetOrganizationProductsDto = exports.GetExtraProductDataDto = exports.ProductFieldsDto = exports.ProductsIdsDto = exports.UsersRequiredProductsByProductIdsDto = exports.UsersRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.ConnectProductResourceDto = exports.CreateRentalProductAddonDto = exports.ByProductAndOrgDto = exports.CreateProductAvailabilityTimesDto = exports.FindByProductIdDto = 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 FindByProductIdDto {
|
|
@@ -15,6 +15,9 @@ exports.ByProductAndOrgDto = ByProductAndOrgDto;
|
|
|
15
15
|
class CreateRentalProductAddonDto {
|
|
16
16
|
}
|
|
17
17
|
exports.CreateRentalProductAddonDto = CreateRentalProductAddonDto;
|
|
18
|
+
class ConnectProductResourceDto {
|
|
19
|
+
}
|
|
20
|
+
exports.ConnectProductResourceDto = ConnectProductResourceDto;
|
|
18
21
|
class ReturnRequiredProductsDto {
|
|
19
22
|
}
|
|
20
23
|
exports.ReturnRequiredProductsDto = ReturnRequiredProductsDto;
|
|
@@ -24,6 +27,9 @@ exports.UsersRequiredProductsDto = UsersRequiredProductsDto;
|
|
|
24
27
|
class UsersRequiredProductsByProductIdsDto {
|
|
25
28
|
}
|
|
26
29
|
exports.UsersRequiredProductsByProductIdsDto = UsersRequiredProductsByProductIdsDto;
|
|
30
|
+
class ProductsIdsDto extends general_dto_1.PaginationQuery {
|
|
31
|
+
}
|
|
32
|
+
exports.ProductsIdsDto = ProductsIdsDto;
|
|
27
33
|
class ProductFieldsDto {
|
|
28
34
|
}
|
|
29
35
|
exports.ProductFieldsDto = ProductFieldsDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAmF;AAKnF,8EAA8E;
|
|
1
|
+
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAmF;AAKnF,8EAA8E;AAmB9E,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,kBAAmB,SAAQ,sCAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,2BAA2B;CAYvC;AAZD,kEAYC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,wBAAwB;CAMpC;AAND,4DAMC;AAED,MAAa,oCAAoC;CAMhD;AAND,oFAMC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,gBAAgB;CA0D5B;AA1DD,4CA0DC;AAED,MAAa,sBAAsB;CAkBlC;AAlBD,wDAkBC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAcjD;AAdD,4CAcC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAUlD;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,0BAAY;CAIhD;AAJD,0CAIC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,cAAc;CA4F1B;AA5FD,wCA4FC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CA0B7C;AA1BD,gCA0BC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC;AAED,MAAa,kBAAmB,SAAQ,UAAU;CAQjD;AARD,gDAQC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../../entity/organization-connection-base-entity';
|
|
2
|
-
import { Membership } from '../../membership/entities/membership.entity';
|
|
3
2
|
import { Station } from '../../stations/entities/station.entity';
|
|
4
3
|
import { ProductTypesEnum } from '../types/enums/product.enums';
|
|
5
4
|
import { Product } from './product.entity';
|
|
@@ -16,6 +15,4 @@ export declare class ProductCategory extends OrganizationConnectionBaseEntity {
|
|
|
16
15
|
stationToProductCategories?: StationToProductCategory[];
|
|
17
16
|
stations?: Station[];
|
|
18
17
|
productsCount?: number;
|
|
19
|
-
/** Memberships for VIP gating tags (populated when includeRequiredMemberships is true; mapped to id/name on the DTO). */
|
|
20
|
-
requiredMemberships?: Membership[];
|
|
21
18
|
}
|
|
@@ -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;AAOpG,MAAa,eAAgB,SAAQ,sEAAgC;CAsBpE;AAtBD,0CAsBC"}
|
|
@@ -40,7 +40,6 @@ 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.
|
|
44
43
|
* Compose with product-type-specific expands via spread.
|
|
45
44
|
*/
|
|
46
45
|
export declare const PRODUCT_EXPAND_CREATE_RESPONSE: ProductExpandEnum[];
|
|
@@ -127,3 +126,18 @@ export declare enum QuantityOperationsEnum {
|
|
|
127
126
|
INCREMENT = "increment",
|
|
128
127
|
DECREMENT = "decrement"
|
|
129
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* How pricing treats an attendee's `valid` external validation that was confirmed more than the validity window ago.
|
|
131
|
+
*/
|
|
132
|
+
export declare enum StaleExternalValidationPricingEnum {
|
|
133
|
+
/** Full price, without asking the provider. The open price routes. */
|
|
134
|
+
FULL_PRICE = "full_price",
|
|
135
|
+
/** Asks the provider again and stores its answer. Cart, waitlist and reservation pricing. */
|
|
136
|
+
ASK_PROVIDER = "ask_provider",
|
|
137
|
+
/**
|
|
138
|
+
* Finalize. Member price only on a line the cart saved with that member group; the purchase re-check that follows asks
|
|
139
|
+
* the provider and refuses with its 409. A line saved at full price stays at full price, so a shopper who accepted full
|
|
140
|
+
* price while the provider was down can always complete the purchase.
|
|
141
|
+
*/
|
|
142
|
+
PURCHASE_RECHECK = "purchase_recheck"
|
|
143
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QuantityOperationsEnum = exports.PriceFieldEnum = exports.ProductPackageLevelEnum = exports.DiscountMethodsEnum = exports.PARTICIPANT_SUBTYPES_EXCLUDED_FROM_USER_VALIDATION = exports.FOLDERED_REGISTRATION_VALID_PRODUCT_SUBTYPES = exports.PROGRAM_LEAGUE_AND_TOURNAMENT_V2_PRODUCT_SUBTYPES = exports.LEAGUE_V2_LEADERSHIP_PRODUCT_SUBTYPES = exports.ProductSubTypesEnum = exports.PROGRAM_PRODUCT_TYPES = exports.ProductTypesEnum = exports.AddonTimePeriodEnum = exports.PackageProductsRelationTypeEnum = exports.CommerceProductInventoryFilterStatusEnum = exports.ProductBuilderTypeEnum = exports.PRODUCT_EXPAND_CREATE_RESPONSE = exports.PUBLIC_PRODUCT_EXPAND_VALUES = exports.ProductExpandEnum = exports.OrderByProductEnum = exports.ProductStateEnum = void 0;
|
|
3
|
+
exports.StaleExternalValidationPricingEnum = exports.QuantityOperationsEnum = exports.PriceFieldEnum = exports.ProductPackageLevelEnum = exports.DiscountMethodsEnum = exports.PARTICIPANT_SUBTYPES_EXCLUDED_FROM_USER_VALIDATION = exports.FOLDERED_REGISTRATION_VALID_PRODUCT_SUBTYPES = exports.PROGRAM_LEAGUE_AND_TOURNAMENT_V2_PRODUCT_SUBTYPES = exports.LEAGUE_V2_LEADERSHIP_PRODUCT_SUBTYPES = exports.ProductSubTypesEnum = exports.PROGRAM_PRODUCT_TYPES = exports.ProductTypesEnum = exports.AddonTimePeriodEnum = exports.PackageProductsRelationTypeEnum = exports.CommerceProductInventoryFilterStatusEnum = exports.ProductBuilderTypeEnum = exports.PRODUCT_EXPAND_CREATE_RESPONSE = exports.PUBLIC_PRODUCT_EXPAND_VALUES = exports.ProductExpandEnum = exports.OrderByProductEnum = exports.ProductStateEnum = void 0;
|
|
4
4
|
var ProductStateEnum;
|
|
5
5
|
(function (ProductStateEnum) {
|
|
6
6
|
ProductStateEnum["VALID"] = "valid";
|
|
@@ -55,7 +55,6 @@ 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.
|
|
59
58
|
* Compose with product-type-specific expands via spread.
|
|
60
59
|
*/
|
|
61
60
|
exports.PRODUCT_EXPAND_CREATE_RESPONSE = [
|
|
@@ -68,7 +67,6 @@ exports.PRODUCT_EXPAND_CREATE_RESPONSE = [
|
|
|
68
67
|
ProductExpandEnum.PRODUCT_PACKAGES,
|
|
69
68
|
ProductExpandEnum.ENTITLEMENT_DISCOUNTS,
|
|
70
69
|
ProductExpandEnum.MEDIA,
|
|
71
|
-
ProductExpandEnum.REQUIRED_PRODUCTS,
|
|
72
70
|
];
|
|
73
71
|
var ProductBuilderTypeEnum;
|
|
74
72
|
(function (ProductBuilderTypeEnum) {
|
|
@@ -183,4 +181,20 @@ var QuantityOperationsEnum;
|
|
|
183
181
|
QuantityOperationsEnum["INCREMENT"] = "increment";
|
|
184
182
|
QuantityOperationsEnum["DECREMENT"] = "decrement";
|
|
185
183
|
})(QuantityOperationsEnum = exports.QuantityOperationsEnum || (exports.QuantityOperationsEnum = {}));
|
|
184
|
+
/**
|
|
185
|
+
* How pricing treats an attendee's `valid` external validation that was confirmed more than the validity window ago.
|
|
186
|
+
*/
|
|
187
|
+
var StaleExternalValidationPricingEnum;
|
|
188
|
+
(function (StaleExternalValidationPricingEnum) {
|
|
189
|
+
/** Full price, without asking the provider. The open price routes. */
|
|
190
|
+
StaleExternalValidationPricingEnum["FULL_PRICE"] = "full_price";
|
|
191
|
+
/** Asks the provider again and stores its answer. Cart, waitlist and reservation pricing. */
|
|
192
|
+
StaleExternalValidationPricingEnum["ASK_PROVIDER"] = "ask_provider";
|
|
193
|
+
/**
|
|
194
|
+
* Finalize. Member price only on a line the cart saved with that member group; the purchase re-check that follows asks
|
|
195
|
+
* the provider and refuses with its 409. A line saved at full price stays at full price, so a shopper who accepted full
|
|
196
|
+
* price while the provider was down can always complete the purchase.
|
|
197
|
+
*/
|
|
198
|
+
StaleExternalValidationPricingEnum["PURCHASE_RECHECK"] = "purchase_recheck";
|
|
199
|
+
})(StaleExternalValidationPricingEnum = exports.StaleExternalValidationPricingEnum || (exports.StaleExternalValidationPricingEnum = {}));
|
|
186
200
|
//# sourceMappingURL=product.enums.js.map
|
|
@@ -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;;;GAGG;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;CACvB,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;AAED;;GAEG;AACH,IAAY,kCAWX;AAXD,WAAY,kCAAkC;IAC7C,sEAAsE;IACtE,+DAAyB,CAAA;IACzB,6FAA6F;IAC7F,mEAA6B,CAAA;IAC7B;;;;OAIG;IACH,2EAAqC,CAAA;AACtC,CAAC,EAXW,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAW7C"}
|
|
@@ -15,10 +15,6 @@ 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
|
-
}
|
|
22
18
|
export interface ISettingValidationIssue {
|
|
23
19
|
error: string;
|
|
24
20
|
path: string;
|
|
@@ -16,6 +16,10 @@ import { Price } from '../../entities/price.entity';
|
|
|
16
16
|
import { Product } from '../../entities/product.entity';
|
|
17
17
|
import { AddonTimePeriodEnum, CommerceProductInventoryFilterStatusEnum, OrderByProductEnum, PackageProductsRelationTypeEnum, ProductExpandEnum } from '../enums/product.enums';
|
|
18
18
|
import { IRelativeEblfContexts } from './relative-eblf.interfaces';
|
|
19
|
+
export interface ISavedEntitlement {
|
|
20
|
+
userId: number;
|
|
21
|
+
entitlementGroupId: number;
|
|
22
|
+
}
|
|
19
23
|
export interface IGetCurrentPricesOptions {
|
|
20
24
|
userId?: number;
|
|
21
25
|
answers?: QuestionAnswersDto[];
|
|
@@ -187,6 +191,14 @@ export interface IGetOrganizationAddonsOptions {
|
|
|
187
191
|
facilitiesIds?: number[];
|
|
188
192
|
includeArchived?: boolean;
|
|
189
193
|
}
|
|
194
|
+
export interface ILowestPriceForItem {
|
|
195
|
+
groupId: number;
|
|
196
|
+
itemId: number;
|
|
197
|
+
groupName?: string;
|
|
198
|
+
itemType: ResourceNameTypeEnum;
|
|
199
|
+
overridesPrice: boolean;
|
|
200
|
+
price: number;
|
|
201
|
+
}
|
|
190
202
|
export interface IBiggestDiscountForItem {
|
|
191
203
|
groupId: number;
|
|
192
204
|
itemId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program-backoffice.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/program-backoffice.dto.ts"],"names":[],"mappings":";;;AAGA,6DAAkF;AAElF,MAAa,oBAAqB,SAAQ,+BAAU;CAMnD;AAND,oDAMC;AAED,MAAa,4BAA6B,SAAQ,mDAA8B;
|
|
1
|
+
{"version":3,"file":"program-backoffice.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/program-backoffice.dto.ts"],"names":[],"mappings":";;;AAGA,6DAAkF;AAElF,MAAa,oBAAqB,SAAQ,+BAAU;CAMnD;AAND,oDAMC;AAED,MAAa,4BAA6B,SAAQ,mDAA8B;CAI/E;AAJD,oEAIC"}
|
|
@@ -48,7 +48,6 @@ export declare class ByProgramDto extends ByOrganizationIdDto {
|
|
|
48
48
|
export declare class FindProgramFiltersDto {
|
|
49
49
|
includeSeasons?: boolean;
|
|
50
50
|
includeScheduleSummary?: boolean;
|
|
51
|
-
requiredProducts?: boolean;
|
|
52
51
|
}
|
|
53
52
|
export declare class UpdateProgramStatusDto extends ByProgramIdDto {
|
|
54
53
|
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;CAIjC;AAJD,sDAIC;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,7 +4,6 @@ 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';
|
|
8
7
|
import { ProgramSeason } from '../../programs-seasons/entities/program-season.entity';
|
|
9
8
|
import { PurchasedResource } from '../../registration/entities/purchased-resource.entity';
|
|
10
9
|
import { GenderEnum } from '../../types/enums/gender.enums';
|
|
@@ -30,7 +29,6 @@ export declare class Program extends OrganizationConnectionBaseEntity {
|
|
|
30
29
|
userCreatorId: number;
|
|
31
30
|
longDescription?: string;
|
|
32
31
|
requiredProductIds: number[] | null;
|
|
33
|
-
requiredProducts?: Product[];
|
|
34
32
|
ageCalcDate?: Date;
|
|
35
33
|
colorCodeId?: number;
|
|
36
34
|
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;AAkBpG,MAAa,OAAQ,SAAQ,sEAAgC;CA+D5D;AA/DD,0BA+DC"}
|
|
@@ -65,6 +65,7 @@ export interface IProgramFilters extends IBaseSessionsFilters, IPagination {
|
|
|
65
65
|
expand?: ProgramExpandEnum[];
|
|
66
66
|
includeEmptyPrograms?: boolean;
|
|
67
67
|
includeScheduleSummary?: boolean;
|
|
68
|
+
matchAnySessionSport?: boolean;
|
|
68
69
|
order?: OrderByEnum;
|
|
69
70
|
orderBy?: OrderByProgramEnum;
|
|
70
71
|
programTypes?: ProgramTypesEnum[];
|
|
@@ -44,7 +44,6 @@ export declare class DeleteEventAttendeesDto {
|
|
|
44
44
|
}
|
|
45
45
|
export declare class FindProgramSeasonByIdQueryDto {
|
|
46
46
|
includeResources?: boolean;
|
|
47
|
-
requiredProducts?: boolean;
|
|
48
47
|
}
|
|
49
48
|
export declare class FindProgramSeasonByIdDto extends OptionalOrganizationIdDto {
|
|
50
49
|
seasonId: number;
|
|
@@ -259,6 +258,19 @@ export declare class SingleSpaceAllocationByTimesDto {
|
|
|
259
258
|
export declare class SpaceAllocationsByTimesDto {
|
|
260
259
|
spaceAllocations: SingleSpaceAllocationByTimesDto[];
|
|
261
260
|
}
|
|
261
|
+
export declare class UpdateSeasonDatesDto {
|
|
262
|
+
startDate: Date;
|
|
263
|
+
endDate: Date;
|
|
264
|
+
}
|
|
265
|
+
export declare class MoveAttendeeDto {
|
|
266
|
+
userId: number;
|
|
267
|
+
resourceType: ResourceNameTypeEnum;
|
|
268
|
+
fromResourceIds: number[];
|
|
269
|
+
toResourceIds: number[];
|
|
270
|
+
}
|
|
271
|
+
export declare class UpdateSeasonRegistrationDatesDto {
|
|
272
|
+
registrationPeriods: UpdateSeasonDatesDto[];
|
|
273
|
+
}
|
|
262
274
|
export declare class MoveParticipantDto {
|
|
263
275
|
userId: number;
|
|
264
276
|
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.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;
|
|
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.UpdateSeasonRegistrationDatesDto = exports.MoveAttendeeDto = exports.UpdateSeasonDatesDto = 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,6 +100,15 @@ 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;
|
|
103
112
|
class MoveParticipantDto {
|
|
104
113
|
}
|
|
105
114
|
exports.MoveParticipantDto = MoveParticipantDto;
|