@bondsports/types 2.3.36 → 2.3.37-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/LICENSE.md +0 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/attendance/entities/Attendance.d.ts +1 -1
- package/dist/types/cart/dto/cart-item.dto.d.ts +17 -0
- package/dist/types/cart/dto/cart-item.dto.js +7 -1
- package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
- package/dist/types/cart/dto/cart.dto.d.ts +7 -2
- package/dist/types/cart/dto/cart.dto.js +4 -1
- package/dist/types/cart/dto/cart.dto.js.map +1 -1
- package/dist/types/cart/entities/cart-item.entity.d.ts +7 -3
- package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
- package/dist/types/cart/entities/cart.entity.d.ts +2 -0
- package/dist/types/cart/entities/cart.entity.js.map +1 -1
- package/dist/types/cart/types/classes/cart.classes.d.ts +11 -0
- package/dist/types/cart/types/classes/cart.classes.js +7 -1
- package/dist/types/cart/types/classes/cart.classes.js.map +1 -1
- package/dist/types/cart/types/enums/cart-item.enums.d.ts +8 -0
- package/dist/types/cart/types/enums/cart-item.enums.js +13 -0
- package/dist/types/cart/types/enums/cart-item.enums.js.map +1 -0
- package/dist/types/cart/types/enums/index.d.ts +1 -0
- package/dist/types/cart/types/enums/index.js +1 -0
- package/dist/types/cart/types/enums/index.js.map +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +9 -3
- package/dist/types/customers/dto/customer-response.dto.d.ts +5 -1
- package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
- package/dist/types/dto/activityTimes.dto.d.ts +6 -1
- package/dist/types/dto/activityTimes.dto.js +4 -1
- package/dist/types/dto/activityTimes.dto.js.map +1 -1
- package/dist/types/dto/events.dto.d.ts +2 -1
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/groupsDivisions.dto.d.ts +2 -1
- package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
- package/dist/types/dto/index.d.ts +0 -1
- package/dist/types/dto/index.js +0 -1
- package/dist/types/dto/index.js.map +1 -1
- package/dist/types/dto/package.dto.d.ts +1 -2
- package/dist/types/dto/package.dto.js.map +1 -1
- package/dist/types/entity/ActivityTimes.d.ts +1 -1
- package/dist/types/entity/BondBaseEntity.d.ts +2 -4
- package/dist/types/entity/BondBaseEntity.js +2 -2
- package/dist/types/entity/BondBaseEntity.js.map +1 -1
- package/dist/types/entity/DatedBaseEntity.d.ts +5 -0
- package/dist/types/entity/DatedBaseEntity.js +8 -0
- package/dist/types/entity/DatedBaseEntity.js.map +1 -0
- package/dist/types/entity/Events.d.ts +8 -1
- package/dist/types/entity/Events.js.map +1 -1
- package/dist/types/entity/Facility.d.ts +1 -1
- package/dist/types/entity/Group.d.ts +2 -1
- package/dist/types/entity/Group.js.map +1 -1
- package/dist/types/entity/LineItems.d.ts +1 -1
- package/dist/types/entity/PackageV1.d.ts +1 -1
- package/dist/types/entity/ProductPackage.d.ts +1 -1
- package/dist/types/entity/ProductResource.d.ts +1 -1
- package/dist/types/entity/ProductsReservedForCustomers.d.ts +1 -1
- package/dist/types/entity/ProductsUsers.d.ts +1 -1
- package/dist/types/entity/PurchasedResources.d.ts +2 -2
- package/dist/types/entity/index.d.ts +1 -2
- package/dist/types/entity/index.js +1 -2
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/folders/types/index.d.ts +1 -1
- package/dist/types/import/dto/membership.dto.d.ts +1 -1
- package/dist/types/import/dto/membership.dto.js +1 -1
- package/dist/types/import/dto/membership.dto.js.map +1 -1
- package/dist/types/import/dto/product.dto.d.ts +1 -1
- package/dist/types/import/dto/product.dto.js.map +1 -1
- 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/lineItem.dto.d.ts +1 -1
- package/dist/types/media/entities/Media.d.ts +1 -1
- package/dist/types/membership/dto/{expendedMembership.dto.d.ts → expended-member.dto.d.ts} +2 -2
- package/dist/types/membership/dto/{expendedMembership.dto.js → expended-member.dto.js} +1 -1
- package/dist/types/membership/dto/expended-member.dto.js.map +1 -0
- package/dist/types/membership/dto/index.d.ts +4 -2
- package/dist/types/membership/dto/index.js +4 -2
- package/dist/types/membership/dto/index.js.map +1 -1
- package/dist/types/membership/dto/{membershipMember.dto.d.ts → membership-member.dto.d.ts} +2 -2
- package/dist/types/membership/dto/{membershipMember.dto.js → membership-member.dto.js} +1 -1
- package/dist/types/membership/dto/membership-member.dto.js.map +1 -0
- package/dist/types/{dto → membership/dto}/membership.dto.d.ts +9 -9
- package/dist/types/{dto → membership/dto}/membership.dto.js +4 -4
- package/dist/types/membership/dto/membership.dto.js.map +1 -0
- package/dist/types/membership/dto/public-membership.dto.d.ts +6 -0
- package/dist/types/membership/dto/public-membership.dto.js +8 -0
- package/dist/types/membership/dto/public-membership.dto.js.map +1 -0
- package/dist/types/membership/entities/index.d.ts +3 -1
- package/dist/types/membership/entities/index.js +3 -1
- package/dist/types/membership/entities/index.js.map +1 -1
- package/dist/types/membership/entities/{MembershipMemberRenewal.d.ts → membership-member-renewal.entity.d.ts} +1 -1
- package/dist/types/membership/entities/{MembershipMemberRenewal.js → membership-member-renewal.entity.js} +1 -1
- package/dist/types/membership/entities/membership-member-renewal.entity.js.map +1 -0
- package/dist/types/{entity/MembershipMember.d.ts → membership/entities/membership-member.entity.d.ts} +9 -9
- package/dist/types/{entity/MembershipMember.js → membership/entities/membership-member.entity.js} +2 -2
- package/dist/types/membership/entities/membership-member.entity.js.map +1 -0
- package/dist/types/{entity/Membership.d.ts → membership/entities/membership.entity.d.ts} +8 -8
- package/dist/types/{entity/Membership.js → membership/entities/membership.entity.js} +2 -2
- package/dist/types/membership/entities/membership.entity.js.map +1 -0
- package/dist/types/membership/types/membership.interfaces.d.ts +3 -3
- package/dist/types/membership/types/membership.members.interfaces.d.ts +2 -2
- package/dist/types/membership/types/membership.members.types.d.ts +2 -2
- package/dist/types/organization/dto/organization.dto.d.ts +9 -0
- package/dist/types/organization/dto/organization.dto.js +9 -0
- package/dist/types/organization/dto/organization.dto.js.map +1 -1
- package/dist/types/payment/dto/discount.dto.d.ts +3 -2
- package/dist/types/payment/dto/discount.dto.js +2 -1
- package/dist/types/payment/dto/discount.dto.js.map +1 -1
- package/dist/types/payment/entities/ProductPaymentPlan.d.ts +1 -1
- package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +4 -3
- package/dist/types/payment/types/interfaces/discount.interfaces.js +1 -0
- package/dist/types/payment/types/interfaces/discount.interfaces.js.map +1 -1
- package/dist/types/pricing/dto/price.dto.d.ts +7 -5
- package/dist/types/pricing/dto/price.dto.js +5 -2
- package/dist/types/pricing/dto/price.dto.js.map +1 -1
- package/dist/types/pricing/entities/Price.d.ts +1 -1
- package/dist/types/product-pricing/dto/index.d.ts +1 -0
- package/dist/types/product-pricing/dto/index.js +1 -0
- package/dist/types/product-pricing/dto/index.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +7 -3
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/public-product.dto.d.ts +29 -0
- package/dist/types/product-pricing/dto/public-product.dto.js +15 -0
- package/dist/types/product-pricing/dto/public-product.dto.js.map +1 -0
- package/dist/types/product-pricing/dto/punch-pass-product.dto.d.ts +1 -1
- package/dist/types/product-pricing/entities/index.d.ts +2 -2
- package/dist/types/product-pricing/entities/index.js +2 -2
- package/dist/types/product-pricing/entities/index.js.map +1 -1
- package/dist/types/product-pricing/entities/{ProductToFacility.d.ts → product-to-facility.entity.d.ts} +1 -1
- package/dist/types/product-pricing/entities/{ProductToFacility.js → product-to-facility.entity.js} +1 -1
- package/dist/types/product-pricing/entities/product-to-facility.entity.js.map +1 -0
- package/dist/types/product-pricing/entities/{Product.d.ts → product.entity.d.ts} +7 -2
- package/dist/types/product-pricing/entities/{Product.js → product.entity.js} +1 -1
- package/dist/types/product-pricing/entities/product.entity.js.map +1 -0
- package/dist/types/product-pricing/types/enums/product.enums.d.ts +5 -0
- package/dist/types/product-pricing/types/enums/product.enums.js +7 -1
- package/dist/types/product-pricing/types/enums/product.enums.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +14 -1
- package/dist/types/product-pricing/types/interfaces/product-resource.interfaces.d.ts +4 -0
- package/dist/types/product-pricing/types/interfaces/validate-resources.interfaces.d.ts +1 -1
- package/dist/types/programs/dto/event-public.dto.d.ts +21 -0
- package/dist/types/programs/dto/event-public.dto.js +12 -0
- package/dist/types/programs/dto/event-public.dto.js.map +1 -0
- package/dist/types/programs/dto/index.d.ts +2 -0
- package/dist/types/programs/dto/index.js +2 -0
- package/dist/types/programs/dto/index.js.map +1 -1
- package/dist/types/programs/dto/program-public.dto.d.ts +3 -2
- package/dist/types/programs/dto/program-public.dto.js.map +1 -1
- package/dist/types/programs/dto/program.dto.d.ts +2 -1
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs/dto/segment-public.dto.d.ts +29 -0
- package/dist/types/programs/dto/segment-public.dto.js +15 -0
- package/dist/types/programs/dto/segment-public.dto.js.map +1 -0
- package/dist/types/programs/dto/session-public.dto.d.ts +24 -2
- package/dist/types/programs/dto/session-public.dto.js +14 -1
- package/dist/types/programs/dto/session-public.dto.js.map +1 -1
- package/dist/types/programs/entities/Program.d.ts +3 -2
- package/dist/types/programs/entities/Program.js.map +1 -1
- package/dist/types/programs/entities/ProgramHighlights.d.ts +1 -1
- package/dist/types/programs/types/consts/program.consts.d.ts +9 -11
- package/dist/types/programs/types/consts/program.consts.js +39 -20
- package/dist/types/programs/types/consts/program.consts.js.map +1 -1
- package/dist/types/programs/types/enums/program.enums.d.ts +52 -0
- package/dist/types/programs/types/enums/program.enums.js +59 -1
- package/dist/types/programs/types/enums/program.enums.js.map +1 -1
- package/dist/types/programs/types/interfaces/program.interfaces.d.ts +25 -5
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +9 -2
- package/dist/types/programs-seasons/dto/program-seasons.dto.js +8 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +19 -13
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
- package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +20 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.js +25 -1
- package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -1
- package/dist/types/programs-seasons/types/index.d.ts +0 -1
- package/dist/types/programs-seasons/types/index.js +0 -1
- package/dist/types/programs-seasons/types/index.js.map +1 -1
- package/dist/types/programs-seasons/types/interfaces/program-season.interfaces.d.ts +14 -4
- package/dist/types/programs-seasons/types/interfaces/program-seasons-notifications.interface.d.ts +19 -19
- package/dist/types/punch-pass/entities/punch-pass.entity.d.ts +1 -1
- package/dist/types/punch-pass/entities/user-punch-pass.entity.d.ts +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +2 -2
- package/dist/types/reservations/dto/addon.dto.d.ts +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +5 -2
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +1 -1
- package/dist/types/reservations/entities/addon.entity.d.ts +1 -1
- package/dist/types/reservations/entities/slot.entity.d.ts +1 -1
- package/dist/types/reservations/types/classes/addon.classes.d.ts +1 -1
- package/dist/types/reservations/types/classes/reservation.classes.d.ts +1 -1
- package/dist/types/reservations/types/classes/segment.classes.d.ts +1 -1
- package/dist/types/reservations/types/classes/slot.classes.d.ts +1 -1
- package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +3 -1
- package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +1 -1
- package/dist/types/resource-settings/entities/resource-setting.entity.d.ts +1 -1
- package/dist/types/resource-settings/entities/resource-setting.entity.js.map +1 -1
- package/dist/types/resource-settings/types/resource-settings.consts.d.ts +0 -8
- package/dist/types/resource-settings/types/resource-settings.consts.js +1 -9
- package/dist/types/resource-settings/types/resource-settings.consts.js.map +1 -1
- package/dist/types/resources/dto/instructor.dto.d.ts +2 -1
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +2 -1
- package/dist/types/resources/entities/Instructor.d.ts +1 -1
- package/dist/types/resources/entities/Resource.d.ts +1 -1
- package/dist/types/services/enums.service.d.ts +9 -46
- package/dist/types/services/enums.service.js +12 -53
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +3 -9
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/dist/types/taxes/dto/default-tax.dto.d.ts +16 -0
- package/dist/types/taxes/dto/default-tax.dto.js +17 -0
- package/dist/types/taxes/dto/default-tax.dto.js.map +1 -0
- package/dist/types/taxes/dto/index.d.ts +4 -0
- package/dist/types/taxes/dto/index.js +21 -0
- package/dist/types/taxes/dto/index.js.map +1 -0
- package/dist/types/taxes/dto/organization-default-tax.dto.d.ts +9 -0
- package/dist/types/taxes/dto/organization-default-tax.dto.js +9 -0
- package/dist/types/taxes/dto/organization-default-tax.dto.js.map +1 -0
- package/dist/types/taxes/dto/pagination.dto.d.ts +10 -0
- package/dist/types/taxes/dto/pagination.dto.js +8 -0
- package/dist/types/taxes/dto/pagination.dto.js.map +1 -0
- package/dist/types/taxes/dto/tax.dto.d.ts +24 -0
- package/dist/types/taxes/dto/tax.dto.js +13 -0
- package/dist/types/taxes/dto/tax.dto.js.map +1 -0
- package/dist/types/taxes/entities/DefaultTax.d.ts +9 -0
- package/dist/types/taxes/entities/DefaultTax.js +8 -0
- package/dist/types/taxes/entities/DefaultTax.js.map +1 -0
- package/dist/types/taxes/entities/ProductTax.d.ts +10 -0
- package/dist/types/taxes/entities/ProductTax.js +8 -0
- package/dist/types/taxes/entities/ProductTax.js.map +1 -0
- package/dist/types/taxes/entities/Tax.d.ts +14 -0
- package/dist/types/taxes/entities/Tax.js +8 -0
- package/dist/types/taxes/entities/Tax.js.map +1 -0
- package/dist/types/taxes/entities/index.d.ts +3 -0
- package/dist/types/taxes/entities/index.js +20 -0
- package/dist/types/taxes/entities/index.js.map +1 -0
- package/dist/types/taxes/index.d.ts +3 -0
- package/dist/types/{programs-seasons/types/consts → taxes}/index.js +3 -1
- package/dist/types/taxes/index.js.map +1 -0
- package/dist/types/taxes/types/default-tax.classes.d.ts +16 -0
- package/dist/types/taxes/types/default-tax.classes.js +21 -0
- package/dist/types/taxes/types/default-tax.classes.js.map +1 -0
- package/dist/types/taxes/types/enums.d.ts +12 -0
- package/dist/types/taxes/types/enums.js +18 -0
- package/dist/types/taxes/types/enums.js.map +1 -0
- package/dist/types/taxes/types/index.d.ts +3 -0
- package/dist/types/taxes/types/index.js +20 -0
- package/dist/types/taxes/types/index.js.map +1 -0
- package/dist/types/taxes/types/tax.interfaces.d.ts +4 -0
- package/dist/types/taxes/types/tax.interfaces.js +3 -0
- package/dist/types/taxes/types/tax.interfaces.js.map +1 -0
- package/dist/types/user/entities/AthleteSports.d.ts +1 -1
- package/dist/types/util/models/types/orm.types.d.ts +9 -0
- package/dist/types/util/models/types/orm.types.js.map +1 -1
- package/dist/types/waitlist/entities/waitlistEntry.entity.d.ts +1 -1
- package/package.json +5 -5
- package/dist/types/dto/membership.dto.js.map +0 -1
- package/dist/types/entity/Membership.js.map +0 -1
- package/dist/types/entity/MembershipMember.js.map +0 -1
- package/dist/types/membership/dto/expendedMembership.dto.js.map +0 -1
- package/dist/types/membership/dto/membershipMember.dto.js.map +0 -1
- package/dist/types/membership/entities/MembershipMemberRenewal.js.map +0 -1
- package/dist/types/product-pricing/entities/Product.js.map +0 -1
- package/dist/types/product-pricing/entities/ProductToFacility.js.map +0 -1
- package/dist/types/programs-seasons/types/consts/index.d.ts +0 -1
- package/dist/types/programs-seasons/types/consts/index.js.map +0 -1
- package/dist/types/programs-seasons/types/consts/program-season.consts.d.ts +0 -1
- package/dist/types/programs-seasons/types/consts/program-season.consts.js +0 -5
- package/dist/types/programs-seasons/types/consts/program-season.consts.js.map +0 -1
@@ -1,6 +1,5 @@
|
|
1
1
|
import { SportsEnum } from '../../activities/types/activities.enums';
|
2
2
|
import { Address } from '../../address/entities/Address';
|
3
|
-
import { SimpleResourceDto } from '../../dto/general.dto';
|
4
3
|
import { ActivityTimes } from '../../entity/ActivityTimes';
|
5
4
|
import { BlockedDate } from '../../entity/BlockedDate';
|
6
5
|
import { ColorCode } from '../../entity/ColorCode';
|
@@ -12,12 +11,14 @@ import { PurchasedResource } from '../../entity/PurchasedResources';
|
|
12
11
|
import { RegistrationConstraint } from '../../entity/RegistrationConstraint';
|
13
12
|
import { SeasonAttendee } from '../../entity/SeasonAttendees';
|
14
13
|
import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
|
15
|
-
import { Product } from '../../product-pricing/entities/
|
14
|
+
import { Product } from '../../product-pricing/entities/product.entity';
|
16
15
|
import { Program } from '../../programs/entities/Program';
|
16
|
+
import { LevelOfPlayEnum, ProgramSeasonTypesEnum, ProgramTypesEnum, PublishingStatusEnum } from '../../programs/types/enums/program.enums';
|
17
17
|
import { IUserCount } from '../../purchase/types/interfaces/purchase.interfaces';
|
18
18
|
import { ResourceSetting } from '../../resource-settings/entities/resource-setting.entity';
|
19
19
|
import { ISettings } from '../../resource-settings/types/resource-settings.interfaces';
|
20
|
-
import {
|
20
|
+
import { Resource } from '../../resources/entities/Resource';
|
21
|
+
import { AvailabilityStatusEnum, GenderEnum, PaginationTypeEnum } from '../../services/enums.service';
|
21
22
|
import { EventAsSeasonSegment, IBasicSpaceAndSlotCreator, SeasonAsSeasonSegment } from '../../services/interfaces.service';
|
22
23
|
import { SegmentsMetadata } from '../types/classes/program-season.classes';
|
23
24
|
export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
@@ -25,7 +26,6 @@ export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
|
25
26
|
name: string;
|
26
27
|
description: string | null;
|
27
28
|
GL?: string | null;
|
28
|
-
glCodes?: ResourceGlDto[];
|
29
29
|
status: PublishingStatusEnum;
|
30
30
|
startDate: Date;
|
31
31
|
endDate: Date;
|
@@ -42,31 +42,25 @@ export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
|
42
42
|
maxFemaleWaitlist: number | null;
|
43
43
|
facilityId: number | null;
|
44
44
|
addressId: number | null;
|
45
|
+
address?: Address;
|
45
46
|
sport: SportsEnum;
|
46
47
|
minAge: string;
|
47
48
|
maxAge: string;
|
48
49
|
gender: GenderEnum;
|
49
50
|
level: LevelOfPlayEnum[] | null;
|
50
|
-
blockedDated: BlockedDate[];
|
51
|
-
products: Product[];
|
52
|
-
linkSEO: string;
|
53
|
-
address: Address;
|
54
51
|
defaultProductId?: number;
|
55
52
|
longDescription?: string;
|
56
53
|
isPunchCard?: boolean;
|
57
54
|
deletedAt?: Date;
|
58
|
-
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
59
55
|
program: Program;
|
60
56
|
spaces?: IBasicSpaceAndSlotCreator[];
|
61
|
-
resources?:
|
62
|
-
reservationId?: number;
|
57
|
+
resources?: Resource[];
|
63
58
|
earlyRegistrationStartDate?: Date;
|
64
59
|
earlyRegistrationEndDate?: Date;
|
65
60
|
lateRegistrationStartDate?: Date;
|
66
61
|
lateRegistrationEndDate?: Date;
|
67
62
|
requiredProductIds?: number[];
|
68
63
|
requiredProducts?: Product[];
|
69
|
-
registrationConstraints?: RegistrationConstraint;
|
70
64
|
parentSession: ProgramSeason;
|
71
65
|
facility: Facility;
|
72
66
|
ageCalcDate: string;
|
@@ -81,17 +75,29 @@ export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
|
81
75
|
* from startDate from the same record
|
82
76
|
*/
|
83
77
|
resourceSettings?: ResourceSetting[];
|
84
|
-
settings?: ISettings;
|
85
78
|
sessionSegments: ProgramSeason[];
|
86
79
|
sessionEvents: Event[];
|
87
80
|
activityTimes: ActivityTimes[];
|
88
81
|
productResources: ProductResource[];
|
89
82
|
seasonAttendees: SeasonAttendee[];
|
90
83
|
purchasedResources: PurchasedResource[];
|
84
|
+
glCodes?: ResourceGlDto[];
|
85
|
+
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
86
|
+
reservationId?: number;
|
87
|
+
registrationConstraints?: RegistrationConstraint;
|
88
|
+
blockedDated: BlockedDate[];
|
89
|
+
products?: Product[];
|
90
|
+
linkSEO: string;
|
91
91
|
facilityName?: string;
|
92
92
|
facilityTimezone?: string;
|
93
|
+
settings?: ISettings;
|
93
94
|
eventsCount?: number;
|
94
95
|
availabilityStatus?: AvailabilityStatusEnum;
|
96
|
+
participantsNumber?: number;
|
97
|
+
spotsLeft?: number;
|
98
|
+
isWaitlistEnabled?: boolean;
|
95
99
|
attendeesCounts?: IUserCount;
|
96
100
|
relatedAttendeesIds?: number[];
|
101
|
+
productsNumber?: number;
|
102
|
+
paginationType?: PaginationTypeEnum;
|
97
103
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ProgramSeason.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/entities/ProgramSeason.ts"],"names":[],"mappings":";;;AAqBA,oGAAiG;
|
1
|
+
{"version":3,"file":"ProgramSeason.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/entities/ProgramSeason.ts"],"names":[],"mappings":";;;AAqBA,oGAAiG;AA0BjG,MAAa,aAAc,SAAQ,mEAAgC;CA0JlE;AA1JD,sCA0JC"}
|
@@ -29,6 +29,13 @@ export declare enum SessionTabEnum {
|
|
29
29
|
PARTICIPANTS_WAITLIST = "participants/waitlist",
|
30
30
|
PRODUCTS = "products"
|
31
31
|
}
|
32
|
+
export declare enum SessionExpandEnum {
|
33
|
+
REQUIRED_PRODUCTS = "requiredProducts",
|
34
|
+
PRODUCTS = "products",
|
35
|
+
PRODUCTS_PRICES = "products.prices",
|
36
|
+
PRODUCTS_REQUIRED_PRODUCTS = "products.requiredProducts",
|
37
|
+
PRODUCTS_ENTITLEMENT_DISCOUNTS = "products.entitlementDiscounts"
|
38
|
+
}
|
32
39
|
export declare enum ProgramSeasonFolderCategoryEnum {
|
33
40
|
TEAM = "Team",
|
34
41
|
DIVISION = "Division",
|
@@ -38,3 +45,16 @@ export declare enum ProgramSeasonFolderCategoryEnum {
|
|
38
45
|
SKILL_LEVEL = "Skill Level",
|
39
46
|
GROUP = "Group"
|
40
47
|
}
|
48
|
+
export declare enum SegmentExpandEnum {
|
49
|
+
RESOURCES = "resources",
|
50
|
+
ACTIVITY_TIMES = "activityTimes",
|
51
|
+
CAPACITY = "capacity"
|
52
|
+
}
|
53
|
+
export declare enum EventExpandEnum {
|
54
|
+
RESOURCES = "resources",
|
55
|
+
CAPACITY = "capacity"
|
56
|
+
}
|
57
|
+
export declare enum OrderBySessionEnum {
|
58
|
+
SESSION_NAME = "sessionName",
|
59
|
+
FACILITY_NAME = "facilityName"
|
60
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ProgramSeasonFolderCategoryEnum = exports.SessionTabEnum = exports.SessionSettingEnum = exports.SegmentOccurrenceTypeEnum = exports.SegmentTypeEnum = exports.EventSortByFieldsEnum = exports.SegmentSortByFieldsEnum = void 0;
|
3
|
+
exports.OrderBySessionEnum = exports.EventExpandEnum = exports.SegmentExpandEnum = exports.ProgramSeasonFolderCategoryEnum = exports.SessionExpandEnum = exports.SessionTabEnum = exports.SessionSettingEnum = exports.SegmentOccurrenceTypeEnum = exports.SegmentTypeEnum = exports.EventSortByFieldsEnum = exports.SegmentSortByFieldsEnum = void 0;
|
4
4
|
var SegmentSortByFieldsEnum;
|
5
5
|
(function (SegmentSortByFieldsEnum) {
|
6
6
|
SegmentSortByFieldsEnum["NAME"] = "name";
|
@@ -38,6 +38,14 @@ var SessionTabEnum;
|
|
38
38
|
SessionTabEnum["PARTICIPANTS_WAITLIST"] = "participants/waitlist";
|
39
39
|
SessionTabEnum["PRODUCTS"] = "products";
|
40
40
|
})(SessionTabEnum = exports.SessionTabEnum || (exports.SessionTabEnum = {}));
|
41
|
+
var SessionExpandEnum;
|
42
|
+
(function (SessionExpandEnum) {
|
43
|
+
SessionExpandEnum["REQUIRED_PRODUCTS"] = "requiredProducts";
|
44
|
+
SessionExpandEnum["PRODUCTS"] = "products";
|
45
|
+
SessionExpandEnum["PRODUCTS_PRICES"] = "products.prices";
|
46
|
+
SessionExpandEnum["PRODUCTS_REQUIRED_PRODUCTS"] = "products.requiredProducts";
|
47
|
+
SessionExpandEnum["PRODUCTS_ENTITLEMENT_DISCOUNTS"] = "products.entitlementDiscounts";
|
48
|
+
})(SessionExpandEnum = exports.SessionExpandEnum || (exports.SessionExpandEnum = {}));
|
41
49
|
// Default folder categories for ProgramSeason folders/groups
|
42
50
|
var ProgramSeasonFolderCategoryEnum;
|
43
51
|
(function (ProgramSeasonFolderCategoryEnum) {
|
@@ -49,4 +57,20 @@ var ProgramSeasonFolderCategoryEnum;
|
|
49
57
|
ProgramSeasonFolderCategoryEnum["SKILL_LEVEL"] = "Skill Level";
|
50
58
|
ProgramSeasonFolderCategoryEnum["GROUP"] = "Group";
|
51
59
|
})(ProgramSeasonFolderCategoryEnum = exports.ProgramSeasonFolderCategoryEnum || (exports.ProgramSeasonFolderCategoryEnum = {}));
|
60
|
+
var SegmentExpandEnum;
|
61
|
+
(function (SegmentExpandEnum) {
|
62
|
+
SegmentExpandEnum["RESOURCES"] = "resources";
|
63
|
+
SegmentExpandEnum["ACTIVITY_TIMES"] = "activityTimes";
|
64
|
+
SegmentExpandEnum["CAPACITY"] = "capacity";
|
65
|
+
})(SegmentExpandEnum = exports.SegmentExpandEnum || (exports.SegmentExpandEnum = {}));
|
66
|
+
var EventExpandEnum;
|
67
|
+
(function (EventExpandEnum) {
|
68
|
+
EventExpandEnum["RESOURCES"] = "resources";
|
69
|
+
EventExpandEnum["CAPACITY"] = "capacity";
|
70
|
+
})(EventExpandEnum = exports.EventExpandEnum || (exports.EventExpandEnum = {}));
|
71
|
+
var OrderBySessionEnum;
|
72
|
+
(function (OrderBySessionEnum) {
|
73
|
+
OrderBySessionEnum["SESSION_NAME"] = "sessionName";
|
74
|
+
OrderBySessionEnum["FACILITY_NAME"] = "facilityName";
|
75
|
+
})(OrderBySessionEnum = exports.OrderBySessionEnum || (exports.OrderBySessionEnum = {}));
|
52
76
|
//# sourceMappingURL=program-season.enums.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"program-season.enums.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/enums/program-season.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAClC,wCAAa,CAAA;IACb,6CAAkB,CAAA;AACnB,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,2CAAkB,CAAA;IAClB,2CAAkB,CAAA;AACnB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IAC1B,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,oCAAiB,CAAA;AAClB,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AAED,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACpC,0CAAa,CAAA;IACb,4CAAe,CAAA;AAChB,CAAC,EAHW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAGpC;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC7B,2DAAqC,CAAA;IACrC,mEAA6C,CAAA;IAC7C,4DAAsC,CAAA;AACvC,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B;AAED,IAAY,cAQX;AARD,WAAY,cAAc;IACzB,yCAAuB,CAAA;IACvB,+BAAa,CAAA;IACb,uCAAqB,CAAA;IACrB,uEAAqD,CAAA;IACrD,6DAA2C,CAAA;IAC3C,iEAA+C,CAAA;IAC/C,uCAAqB,CAAA;AACtB,CAAC,EARW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAQzB;AAED,6DAA6D;AAC7D,IAAY,+BAQX;AARD,WAAY,+BAA+B;IAC1C,gDAAa,CAAA;IACb,wDAAqB,CAAA;IACrB,4DAAyB,CAAA;IACzB,kDAAe,CAAA;IACf,0DAAuB,CAAA;IACvB,8DAA2B,CAAA;IAC3B,kDAAe,CAAA;AAChB,CAAC,EARW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAQ1C"}
|
1
|
+
{"version":3,"file":"program-season.enums.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/enums/program-season.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAClC,wCAAa,CAAA;IACb,6CAAkB,CAAA;AACnB,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,2CAAkB,CAAA;IAClB,2CAAkB,CAAA;AACnB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IAC1B,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,oCAAiB,CAAA;AAClB,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AAED,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACpC,0CAAa,CAAA;IACb,4CAAe,CAAA;AAChB,CAAC,EAHW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAGpC;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC7B,2DAAqC,CAAA;IACrC,mEAA6C,CAAA;IAC7C,4DAAsC,CAA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@@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./classes"), exports);
|
18
|
-
__exportStar(require("./consts"), exports);
|
19
18
|
__exportStar(require("./enums"), exports);
|
20
19
|
__exportStar(require("./interfaces"), exports);
|
21
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,0CAAwB;AACxB,+CAA6B"}
|
@@ -8,6 +8,7 @@ import { OrderByEnum, PlatformsEnum } from '../../../services/enums.service';
|
|
8
8
|
import { UserIdentifier } from '../../../user-identification/entities/UserIdentifier';
|
9
9
|
import { User } from '../../../user/entities/User';
|
10
10
|
import { IPagination } from '../../../util/models/interfaces/general.interfaces';
|
11
|
+
import { EventExpandEnum, EventSortByFieldsEnum } from '../enums/program-season.enums';
|
11
12
|
export interface IGetProgramSeasonsByIdProps {
|
12
13
|
organizationId?: number;
|
13
14
|
fullFetch?: boolean;
|
@@ -52,6 +53,15 @@ export interface IGetProgramSeasonChildrenFilters<T extends BondBaseEntity> {
|
|
52
53
|
resourcesIds?: number[];
|
53
54
|
startDate?: string;
|
54
55
|
}
|
56
|
+
export interface IEventsFilters {
|
57
|
+
attendeeId?: number;
|
58
|
+
endDate?: string;
|
59
|
+
expand?: EventExpandEnum[];
|
60
|
+
order?: OrderByEnum;
|
61
|
+
orderBy?: EventSortByFieldsEnum;
|
62
|
+
resourcesIds?: number[];
|
63
|
+
startDate?: string;
|
64
|
+
}
|
55
65
|
export interface IGetGroupOptions {
|
56
66
|
includeGroupFields?: boolean;
|
57
67
|
includeSubFolders?: boolean;
|
@@ -73,14 +83,14 @@ export interface IAttendeesNumbers {
|
|
73
83
|
minAttendees: number;
|
74
84
|
}
|
75
85
|
export interface ISeasonEmailRelatedData {
|
76
|
-
|
86
|
+
customer: Customer;
|
87
|
+
globalDigitalIdentifier: UserIdentifier;
|
77
88
|
organization: Organization;
|
78
89
|
seasonConsumerSEOLink: string;
|
79
90
|
subscribers: NotificationSubscriptions[];
|
80
|
-
|
81
|
-
globalDigitalIdentifier: UserIdentifier;
|
91
|
+
user: User;
|
82
92
|
}
|
83
93
|
export interface IInvoiceUrls {
|
84
|
-
consumerInvoicesUrl: string;
|
85
94
|
backofficeInvoicesUrl: string;
|
95
|
+
consumerInvoicesUrl: string;
|
86
96
|
}
|
package/dist/types/programs-seasons/types/interfaces/program-seasons-notifications.interface.d.ts
CHANGED
@@ -7,52 +7,52 @@ export interface IAvailableSpotsForWaitlistedUsersNotifications {
|
|
7
7
|
waitlist_url: string;
|
8
8
|
}
|
9
9
|
export interface ISegmentMailData {
|
10
|
+
end_date: string;
|
11
|
+
end_day_date: string;
|
12
|
+
end_time?: string;
|
10
13
|
name: string;
|
14
|
+
start_date: string;
|
11
15
|
start_day_date: string;
|
12
16
|
start_time?: string;
|
13
|
-
end_day_date: string;
|
14
|
-
end_time?: string;
|
15
17
|
starts_ends_same_day: boolean;
|
16
|
-
start_date: string;
|
17
|
-
end_date: string;
|
18
18
|
}
|
19
19
|
export interface ISeasonRegistrationMailData {
|
20
|
-
consumer_invoices_url: string;
|
21
20
|
backoffice_invoices_url: string;
|
22
|
-
|
23
|
-
user_last_name: string;
|
21
|
+
consumer_invoices_url: string;
|
24
22
|
global_digital_identifier: string;
|
25
23
|
global_digital_identifier_image_url: string;
|
24
|
+
organization_name: string;
|
26
25
|
season_name: string;
|
27
26
|
season_start_date: string;
|
28
|
-
total_cost: number;
|
29
|
-
organization_name: string;
|
30
27
|
season_url: string;
|
31
28
|
segments: ISegmentMailData[];
|
29
|
+
total_cost: number;
|
30
|
+
user_first_name: string;
|
31
|
+
user_last_name: string;
|
32
32
|
}
|
33
33
|
export interface IGroupMailData {
|
34
|
+
group_logo?: string;
|
34
35
|
group_name: string;
|
35
36
|
group_type: string;
|
36
|
-
group_logo?: string;
|
37
37
|
parent_group_name?: string;
|
38
38
|
parent_group_type?: string;
|
39
39
|
}
|
40
40
|
export interface ILeagueSeasonRegistrationMailData {
|
41
|
-
consumer_invoices_url: string;
|
42
41
|
backoffice_invoices_url: string;
|
43
|
-
|
42
|
+
backoffice_season_url: string;
|
43
|
+
consumer_invoices_url: string;
|
44
|
+
consumer_season_url: string;
|
45
|
+
global_digital_identifier: string;
|
46
|
+
global_digital_identifier_image_url: string;
|
47
|
+
groups: IGroupMailData[];
|
44
48
|
organization_logo?: string;
|
49
|
+
organization_name: string;
|
45
50
|
program_name: string;
|
46
|
-
|
47
|
-
backoffice_season_url: string;
|
51
|
+
season_end_date: string;
|
48
52
|
season_name: string;
|
49
53
|
season_start_date: string;
|
50
|
-
|
54
|
+
total_cost: number;
|
51
55
|
user_first_name: string;
|
52
56
|
user_last_name: string;
|
53
|
-
global_digital_identifier: string;
|
54
|
-
global_digital_identifier_image_url: string;
|
55
|
-
total_cost: number;
|
56
|
-
groups: IGroupMailData[];
|
57
57
|
}
|
58
58
|
export type IProgramSeasonRegistrationMailData = ISeasonRegistrationMailData | ILeagueSeasonRegistrationMailData;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { TimeUnit } from '@bondsports/date-time';
|
2
2
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
3
|
-
import { Product } from '../../product-pricing/entities/
|
3
|
+
import { Product } from '../../product-pricing/entities/product.entity';
|
4
4
|
import { PunchPassTypeEnum } from '../types/enums';
|
5
5
|
export declare class PunchPass extends OrganizationConnectionBaseEntity {
|
6
6
|
type: PunchPassTypeEnum;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { LineItems } from '../../entity/LineItems';
|
2
2
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
3
3
|
import { ProductsUsers } from '../../entity/ProductsUsers';
|
4
|
-
import { Product } from '../../product-pricing/entities/
|
4
|
+
import { Product } from '../../product-pricing/entities/product.entity';
|
5
5
|
import { User } from '../../user/entities/User';
|
6
6
|
import { PunchPass } from './punch-pass.entity';
|
7
7
|
import { UserRedemption } from './user-redemption.entity';
|
@@ -7,7 +7,7 @@ import { ScheduledPaymentDto } from '../../../payment/dto/payment-plan.dto';
|
|
7
7
|
import { Payment } from '../../../payment/entities/Payment';
|
8
8
|
import { FuturePaymentStatusEnum, PaymentMethodTypeEnum } from '../../../payment/types/enums/payment.enums';
|
9
9
|
import { ISaveInvoicePayment } from '../../../payment/types/interfaces/payment.interfaces';
|
10
|
-
import { Product } from '../../../product-pricing/entities/
|
10
|
+
import { Product } from '../../../product-pricing/entities/product.entity';
|
11
11
|
import { CurrencyEnum, GenderEnum, LineItemsStatusEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
|
12
12
|
import { User } from '../../../user/entities/User';
|
13
13
|
import { PurchasePaymentDto, PurchaseResourceDto } from '../../dto/purchase.dto';
|
@@ -48,9 +48,9 @@ export interface CronDataMappings<T> {
|
|
48
48
|
export interface IChargeInvoice extends ISaveInvoicePayment {
|
49
49
|
parentPurchasedId?: number;
|
50
50
|
amountToPay?: number;
|
51
|
-
resources?: PurchaseResourceDto[];
|
52
51
|
installments?: ScheduledPaymentDto[];
|
53
52
|
parentPurchasedType?: ResourceNameTypeEnum;
|
53
|
+
resources?: PurchaseResourceDto[];
|
54
54
|
}
|
55
55
|
export interface ChargeInvoiceResult {
|
56
56
|
customer?: Customer;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { SimpleProductUserDto } from '../../dto/product-user';
|
2
2
|
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
3
|
-
import { Product } from '../../product-pricing/entities/
|
3
|
+
import { Product } from '../../product-pricing/entities/product.entity';
|
4
4
|
import { ProductPackageLevelEnum } from '../../services/enums.service';
|
5
5
|
import { IAddon, IBaseAddon, IDraftAddon } from '../types/interfaces/addon.interfaces';
|
6
6
|
import { EditItemsRefundMetaDto } from './reservation.dto';
|
@@ -14,11 +14,12 @@ import { PaymentMethodDto, RefundAmountDto } from '../../payment/dto/refund.dto'
|
|
14
14
|
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
15
15
|
import { RefundResult } from '../../payment/types/interfaces/refund.interfaces';
|
16
16
|
import { ProductDto, SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
17
|
-
import { Product } from '../../product-pricing/entities/
|
17
|
+
import { Product } from '../../product-pricing/entities/product.entity';
|
18
|
+
import { ProgramTypesEnum } from '../../programs/types/enums/program.enums';
|
18
19
|
import { PurchasePaymentDto, PurchaseResultDto } from '../../purchase/dto/purchase.dto';
|
19
20
|
import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
|
20
21
|
import { SpaceResourceDto } from '../../resources/dto/space.dto';
|
21
|
-
import { AddonParentTypeEnum, FinancialStepEnum, NotifyMethodEnum, OrderByEnum, PlatformsEnum, ProductPackageLevelEnum,
|
22
|
+
import { AddonParentTypeEnum, FinancialStepEnum, NotifyMethodEnum, OrderByEnum, PlatformsEnum, ProductPackageLevelEnum, ResourceNameTypeEnum, ResourceSubTypeEnum, ResourceTypeEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
|
22
23
|
import { Reservation } from '../entities/reservation.entity';
|
23
24
|
import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotFilterOptions, SlotNotesFilterEnum, SlotOrderBy, SlotTypeEnum, SortByReservationEnum } from '../types/enums/reservation.enums';
|
24
25
|
import { ISegmentsAddons } from '../types/interfaces/addon.interfaces';
|
@@ -105,6 +106,7 @@ export declare class SegmentsAddonsDto extends CreateSegmentsAddonsDto implement
|
|
105
106
|
}
|
106
107
|
export declare class CreateDraftReservationDto extends BaseReservationDto {
|
107
108
|
id?: string;
|
109
|
+
cartId?: number;
|
108
110
|
}
|
109
111
|
export declare class SimpleDraftReservationDto extends CreateDraftReservationDto {
|
110
112
|
id: string;
|
@@ -128,6 +130,7 @@ export declare class CreateReservationCartDto implements ISaveReservationOptions
|
|
128
130
|
shiftId?: number;
|
129
131
|
updatePrices?: UpdateCartPricesDto;
|
130
132
|
addToReservationId?: number;
|
133
|
+
addToCartId?: number;
|
131
134
|
}
|
132
135
|
export declare class SingleReservationIncludesDto {
|
133
136
|
includeCustomer?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AAQA,uDAAkG;AAElG,+DAAmG;AAEnG,8EAA8E;
|
1
|
+
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AAQA,uDAAkG;AAElG,+DAAmG;AAEnG,8EAA8E;AAQ9E,kEAAwF;AAqDxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAC3B,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAM,kBAAkB;CAgCvB;AAED,MAAa,oBAAqB,SAAQ,kBAAkB;CAM3D;AAND,oDAMC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,cAAe,SAAQ,oBAAoB;CA2BvD;AA3BD,wCA2BC;AAED,MAAa,kCAAkC;CAc9C;AAdD,gFAcC;AAED,MAAM,oBAAqB,SAAQ,kCAAkC;CAEpE;AAED,MAAM,0BAA0B;CAM/B;AAED,MAAa,uBAAwB,SAAQ,0BAA0B;CAEtE;AAFD,0DAEC;AAED,MAAa,iBAAkB,SAAQ,uBAAuB;CAE7D;AAFD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AQ,uBAAuB;CAYxE;AAZD,oEAYC;AAED,MAAa,sBAAsB;CAkBlC;AAlBD,wDAkBC;AAED,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED,MAAa,4BAA4B;CAkBxC;AAlBD,oEAkBC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC"}
|
@@ -6,7 +6,7 @@ import { SimpleProductUserDto } from '../../dto/product-user';
|
|
6
6
|
import { SimpleInvoiceDto, SimpleInvoiceSlotDto } from '../../invoice/dto/invoice.dto';
|
7
7
|
import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
8
8
|
import { ProductDto } from '../../product-pricing/dto/product.dto';
|
9
|
-
import { Product } from '../../product-pricing/entities/
|
9
|
+
import { Product } from '../../product-pricing/entities/product.entity';
|
10
10
|
import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
|
11
11
|
import { SpaceResourceDto } from '../../resources/dto/space.dto';
|
12
12
|
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Invoice } from '../../entity/Invoice';
|
2
2
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
3
3
|
import { ProductsUsers } from '../../entity/ProductsUsers';
|
4
|
-
import { Product } from '../../product-pricing/entities/
|
4
|
+
import { Product } from '../../product-pricing/entities/product.entity';
|
5
5
|
import { Resource } from '../../resources/entities/Resource';
|
6
6
|
import { AddonParentTypeEnum, ProductPackageLevelEnum } from '../../services/enums.service';
|
7
7
|
import { ReservationPaymentStatusEnum, ReservationStatusEnum } from '../types/enums/reservation.enums';
|
@@ -4,7 +4,7 @@ import { Event } from '../../entity/Events';
|
|
4
4
|
import { Invoice } from '../../entity/Invoice';
|
5
5
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
6
6
|
import { ProductsUsers } from '../../entity/ProductsUsers';
|
7
|
-
import { Product } from '../../product-pricing/entities/
|
7
|
+
import { Product } from '../../product-pricing/entities/product.entity';
|
8
8
|
import { Resource } from '../../resources/entities/Resource';
|
9
9
|
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
10
10
|
import { SlotProductMetadata } from '../types/classes/product.classes';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Product } from '../../../product-pricing/entities/
|
1
|
+
import { Product } from '../../../product-pricing/entities/product.entity';
|
2
2
|
import { AddonParentTypeEnum, ProductPackageLevelEnum } from '../../../services/enums.service';
|
3
3
|
import { ReservationPaymentStatusEnum, ReservationStatusEnum } from '../enums/reservation.enums';
|
4
4
|
import { IDraftAddon } from '../interfaces/addon.interfaces';
|
@@ -2,7 +2,7 @@ import { SportsEnum } from '../../../activities/types/activities.enums';
|
|
2
2
|
import { Cart } from '../../../cart/entities/cart.entity';
|
3
3
|
import { Customer } from '../../../entity/Customer';
|
4
4
|
import { Facility } from '../../../entity/Facility';
|
5
|
-
import { Product } from '../../../product-pricing/entities/
|
5
|
+
import { Product } from '../../../product-pricing/entities/product.entity';
|
6
6
|
import { Resource } from '../../../resources/entities/Resource';
|
7
7
|
import { ResourceNameTypeEnum } from '../../../services/enums.service';
|
8
8
|
import { Reservation } from '../../entities/reservation.entity';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { SportsEnum } from '../../../activities/types/activities.enums';
|
2
|
-
import { Product } from '../../../product-pricing/entities/
|
2
|
+
import { Product } from '../../../product-pricing/entities/product.entity';
|
3
3
|
import { PrivacySettingsEnum } from '../enums/reservation.enums';
|
4
4
|
import { ISegmentsAddons } from '../interfaces/addon.interfaces';
|
5
5
|
import { IDraftSegment } from '../interfaces/segment.interfaces';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { SportsEnum } from '../../../activities/types/activities.enums';
|
2
2
|
import { Customer } from '../../../entity/Customer';
|
3
3
|
import { Facility } from '../../../entity/Facility';
|
4
|
-
import { Product } from '../../../product-pricing/entities/
|
4
|
+
import { Product } from '../../../product-pricing/entities/product.entity';
|
5
5
|
import { Resource } from '../../../resources/entities/Resource';
|
6
6
|
import { ResourceNameTypeEnum } from '../../../services/enums.service';
|
7
7
|
import { Slot } from '../../entities/slot.entity';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Product } from '../../../product-pricing/entities/
|
1
|
+
import { Product } from '../../../product-pricing/entities/product.entity';
|
2
2
|
import { AddonParentTypeEnum, ProductPackageLevelEnum } from '../../../services/enums.service';
|
3
3
|
export interface IBaseAddon {
|
4
4
|
productId: number;
|
@@ -9,7 +9,7 @@ import { LineItemDto } from '../../../invoice/dto/lineItem.dto';
|
|
9
9
|
import { PaymentDto } from '../../../payment/dto/payment.dto';
|
10
10
|
import { PaymentStatusEnum } from '../../../payment/types/enums/payment.enums';
|
11
11
|
import { RefundResult } from '../../../payment/types/interfaces/refund.interfaces';
|
12
|
-
import { Product } from '../../../product-pricing/entities/
|
12
|
+
import { Product } from '../../../product-pricing/entities/product.entity';
|
13
13
|
import { Answer } from '../../../questionnaires/entities/Answer';
|
14
14
|
import { AddonParentTypeEnum, FinancialStepEnum, InvoiceStatusEnum, OrderByEnum, PlatformsEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
|
15
15
|
import { IPaymentMethodToFundLeft } from '../../../services/interfaces.service';
|
@@ -268,7 +268,9 @@ export interface IValidateRemoveAddonsResult {
|
|
268
268
|
invoicedAddons: Addon[];
|
269
269
|
}
|
270
270
|
export interface ICartReservationOptions extends ICreateCartOptions {
|
271
|
+
addToCartId?: number;
|
271
272
|
shiftId?: number;
|
273
|
+
cart?: Cart;
|
272
274
|
includeResources?: boolean;
|
273
275
|
platform?: PlatformsEnum;
|
274
276
|
reservation?: DraftReservation;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { SportsEnum } from '../../../activities/types/activities.enums';
|
2
2
|
import { ActivityTimes } from '../../../entity/ActivityTimes';
|
3
|
-
import { Product } from '../../../product-pricing/entities/
|
3
|
+
import { Product } from '../../../product-pricing/entities/product.entity';
|
4
4
|
import { ResourceNameTypeEnum } from '../../../services/enums.service';
|
5
5
|
import { MaintenanceDto } from '../../dto/maintenance.dto';
|
6
6
|
import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../enums/reservation.enums';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resource-setting.entity.js","sourceRoot":"","sources":["../../../../src/types/resource-settings/entities/resource-setting.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;
|
1
|
+
{"version":3,"file":"resource-setting.entity.js","sourceRoot":"","sources":["../../../../src/types/resource-settings/entities/resource-setting.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAIjG,MAAa,eAAgB,SAAQ,mEAAgC;CAYpE;AAZD,0CAYC"}
|
@@ -1,9 +1 @@
|
|
1
|
-
export declare const ORG_ID_FIELD_NAME = "organizationId";
|
2
|
-
export declare const ENTITY_TYPE_FIELD_NAME = "entityType";
|
3
|
-
export declare const ENTITY_ID_FIELD_NAME = "entityId";
|
4
|
-
export declare const KEY_FIELD_NAME = "key";
|
5
|
-
export declare const RESOURCE_NAME_TYPE_ENUM_NAME = "ResourceNameTypeEnum";
|
6
|
-
export declare const VALUE_FIELD_NAME = "value";
|
7
|
-
export declare const DELETED_AT_FIELD_NAME = "deletedAt";
|
8
1
|
export declare const DEFAULT_RECORD_INDEX = 0;
|
9
|
-
export declare const RESOURCE_SETTINGS_PKEY = "ResourceSettings_orgId_entityType_entityId";
|
@@ -1,13 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.ORG_ID_FIELD_NAME = 'organizationId';
|
5
|
-
exports.ENTITY_TYPE_FIELD_NAME = 'entityType';
|
6
|
-
exports.ENTITY_ID_FIELD_NAME = 'entityId';
|
7
|
-
exports.KEY_FIELD_NAME = 'key';
|
8
|
-
exports.RESOURCE_NAME_TYPE_ENUM_NAME = 'ResourceNameTypeEnum';
|
9
|
-
exports.VALUE_FIELD_NAME = 'value';
|
10
|
-
exports.DELETED_AT_FIELD_NAME = 'deletedAt';
|
3
|
+
exports.DEFAULT_RECORD_INDEX = void 0;
|
11
4
|
exports.DEFAULT_RECORD_INDEX = 0;
|
12
|
-
exports.RESOURCE_SETTINGS_PKEY = 'ResourceSettings_orgId_entityType_entityId';
|
13
5
|
//# sourceMappingURL=resource-settings.consts.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resource-settings.consts.js","sourceRoot":"","sources":["../../../../src/types/resource-settings/types/resource-settings.consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,
|
1
|
+
{"version":3,"file":"resource-settings.consts.js","sourceRoot":"","sources":["../../../../src/types/resource-settings/types/resource-settings.consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG,CAAC,CAAC"}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { SportsEnum } from '../../activities/types/activities.enums';
|
2
2
|
import { AddressDto } from '../../address/dto/address.dto';
|
3
3
|
import { BasicActivityTimesDto } from '../../dto/activityTimes.dto';
|
4
|
-
import {
|
4
|
+
import { ProgramTypesEnum } from '../../programs/types/enums/program.enums';
|
5
|
+
import { ActivityEnum, ResourceAgesEnum } from '../../services/enums.service';
|
5
6
|
import { BaseResourceDto, ResourceDependenciesDto, UpdateResourceDto } from './resource.dto';
|
6
7
|
export declare class InstructorResourceDto extends BaseResourceDto {
|
7
8
|
userId: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAOA,iDAA6F;AAE7F,MAAa,qBAAsB,SAAQ,8BAAe;CAsBzD;AAtBD,sDAsBC;AAED,MAAa,mBAAoB,SAAQ,sCAAuB;CAsB/D;AAtBD,kDAsBC;AAED,MAAa,mBAAoB,SAAQ,gCAAiB;CAIzD;AAJD,kDAIC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC"}
|
@@ -6,11 +6,12 @@ import { MediaDto } from '../../media/dto/media.dto';
|
|
6
6
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
7
7
|
import { ResourceProductDto } from '../../product-pricing/dto/product.dto';
|
8
8
|
import { IResource } from '../../product-pricing/types/interfaces/product-resource.interfaces';
|
9
|
+
import { ProgramTypesEnum } from '../../programs/types/enums/program.enums';
|
9
10
|
import { CalendarSlotDto } from '../../reservations/dto/calendar-slot.dto';
|
10
11
|
import { PurchasedResourceDto } from '../../reservations/dto/purcased-resource.dto';
|
11
12
|
import { Addon } from '../../reservations/entities/addon.entity';
|
12
13
|
import { Slot } from '../../reservations/entities/slot.entity';
|
13
|
-
import { ActivityEnum, OrderByEnum,
|
14
|
+
import { ActivityEnum, OrderByEnum, ResourceAgesEnum, ResourceNameTypeEnum, ResourceSubTypeEnum, ResourceTypeEnum } from '../../services/enums.service';
|
14
15
|
import { InvalidResourceReasonsEnum, OrderByResourceEnum } from '../types/enums/resources.enums';
|
15
16
|
import { IGetResourceByIdsOptions, IGetResourcesOptions } from '../types/interfaces/resource.interfaces';
|
16
17
|
import { InstructorResourceDto } from './instructor.dto';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
2
|
-
import { ProgramTypesEnum } from '../../
|
2
|
+
import { ProgramTypesEnum } from '../../programs/types/enums/program.enums';
|
3
3
|
import { Resource } from './Resource';
|
4
4
|
export declare class Instructor extends BondBaseEntity {
|
5
5
|
deletedAt?: Date;
|