@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
|
@@ -21,7 +21,6 @@ export declare class AttendanceDto {
|
|
|
21
21
|
export declare class AttendanceCreateDto {
|
|
22
22
|
entityId: number;
|
|
23
23
|
entityType: AttendanceEntityTypeEnum;
|
|
24
|
-
facilityId?: number;
|
|
25
24
|
stationId?: number;
|
|
26
25
|
}
|
|
27
26
|
export declare class GetUserAttendanceQuery extends PaginationQuery {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attendance.dto.js","sourceRoot":"","sources":["../../../../src/types/attendance/dto/attendance.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAC9E,+DAA4D;AAC5D,gEAA2F;AAE3F,MAAa,8BAA+B,SAAQ,sCAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,aAAa;CAsBzB;AAtBD,sCAsBC;AAED,MAAa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"attendance.dto.js","sourceRoot":"","sources":["../../../../src/types/attendance/dto/attendance.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAC9E,+DAA4D;AAC5D,gEAA2F;AAE3F,MAAa,8BAA+B,SAAQ,sCAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,aAAa;CAsBzB;AAtBD,sCAsBC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;IAA3D;;QACC,WAAM,GAAyB,uCAAoB,CAAC,YAAY,CAAC;QAEjE,UAAK,GAAgB,yBAAW,CAAC,IAAI,CAAC;IACvC,CAAC;CAAA;AAJD,wDAIC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FindBookingTypeSettingDto = void 0;
|
|
4
|
+
class FindBookingTypeSettingDto {
|
|
5
|
+
}
|
|
6
|
+
exports.FindBookingTypeSettingDto = FindBookingTypeSettingDto;
|
|
7
|
+
//# sourceMappingURL=booking-type-setting.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"booking-type-setting.dto.js","sourceRoot":"","sources":["../../../../src/types/booking-type-settings/dto/booking-type-setting.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,yBAAyB;CAUrC;AAVD,8DAUC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './booking-type-setting.dto';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./booking-type-setting.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/booking-type-settings/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C"}
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./dto"), exports);
|
|
17
18
|
__exportStar(require("./entities"), exports);
|
|
18
19
|
__exportStar(require("./types"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/booking-type-settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/booking-type-settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PaymentPlanDto } from '../../payment/dto/payment-plan.dto';
|
|
1
2
|
import { BasePurchaseResourceDto } from '../../purchase/dto/purchase.dto';
|
|
2
3
|
import { TimeSlotDto } from '../../reservations/dto/slot.dto';
|
|
3
4
|
import { BaseAddCartItemDto, BaseCartItemDto, CartItemDto } from './cart-item.dto';
|
|
@@ -11,23 +12,23 @@ export declare class PublicCartItemDto extends CartItemDto {
|
|
|
11
12
|
children?: PublicCartItemDto[];
|
|
12
13
|
slots?: TimeSlotDto[];
|
|
13
14
|
downpayment?: number;
|
|
15
|
+
paymentPlan?: PaymentPlanDto | null;
|
|
14
16
|
requiredProductIds?: number[];
|
|
15
17
|
}
|
|
16
18
|
/**
|
|
17
|
-
* Consumer-safe add-cart-item request.
|
|
18
|
-
*
|
|
19
|
+
* Consumer-safe add-cart-item request. Extends the shared consumer-safe base so the public surface
|
|
20
|
+
* never exposes backoffice-only `unitPrice` or item-level `facilityId`. Resources use
|
|
19
21
|
* `PublicPurchaseResourceDto` (shared base, no `facilityId`). Participant `userId` is kept
|
|
20
22
|
* (family-member registration) and validated against the cart owner's family server-side. Children
|
|
21
|
-
* recurse into the same public shape so nested add-ons cannot smuggle
|
|
23
|
+
* recurse into the same public shape so nested add-ons cannot smuggle those fields either.
|
|
22
24
|
*/
|
|
23
25
|
export declare class PublicAddCartItemDto extends BaseAddCartItemDto {
|
|
24
|
-
facilityId?: number;
|
|
25
26
|
resources?: PublicPurchaseResourceDto[];
|
|
26
27
|
children?: PublicAddCartItemDto[];
|
|
27
28
|
}
|
|
28
29
|
/**
|
|
29
|
-
* Consumer-safe cart-item update.
|
|
30
|
-
*
|
|
30
|
+
* Consumer-safe cart-item update. Same writable fields as backoffice update except resources
|
|
31
|
+
* cannot carry a client-supplied `facilityId`.
|
|
31
32
|
*/
|
|
32
33
|
export declare class PublicUpdateCartItemDto extends BaseCartItemDto {
|
|
33
34
|
id: number;
|
|
@@ -14,18 +14,18 @@ class PublicCartItemDto extends cart_item_dto_1.CartItemDto {
|
|
|
14
14
|
}
|
|
15
15
|
exports.PublicCartItemDto = PublicCartItemDto;
|
|
16
16
|
/**
|
|
17
|
-
* Consumer-safe add-cart-item request.
|
|
18
|
-
*
|
|
17
|
+
* Consumer-safe add-cart-item request. Extends the shared consumer-safe base so the public surface
|
|
18
|
+
* never exposes backoffice-only `unitPrice` or item-level `facilityId`. Resources use
|
|
19
19
|
* `PublicPurchaseResourceDto` (shared base, no `facilityId`). Participant `userId` is kept
|
|
20
20
|
* (family-member registration) and validated against the cart owner's family server-side. Children
|
|
21
|
-
* recurse into the same public shape so nested add-ons cannot smuggle
|
|
21
|
+
* recurse into the same public shape so nested add-ons cannot smuggle those fields either.
|
|
22
22
|
*/
|
|
23
23
|
class PublicAddCartItemDto extends cart_item_dto_1.BaseAddCartItemDto {
|
|
24
24
|
}
|
|
25
25
|
exports.PublicAddCartItemDto = PublicAddCartItemDto;
|
|
26
26
|
/**
|
|
27
|
-
* Consumer-safe cart-item update.
|
|
28
|
-
*
|
|
27
|
+
* Consumer-safe cart-item update. Same writable fields as backoffice update except resources
|
|
28
|
+
* cannot carry a client-supplied `facilityId`.
|
|
29
29
|
*/
|
|
30
30
|
class PublicUpdateCartItemDto extends cart_item_dto_1.BaseCartItemDto {
|
|
31
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-item-public.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item-public.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"cart-item-public.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item-public.dto.ts"],"names":[],"mappings":";;;AAEA,kEAA0E;AAQ1E,mDAAmF;AAEnF;;;GAGG;AACH,MAAa,yBAA0B,SAAQ,sCAAuB;CAAG;AAAzE,8DAAyE;AAEzE,MAAa,iBAAkB,SAAQ,2BAAW;CAUjD;AAVD,8CAUC;AAED;;;;;;GAMG;AACH,MAAa,oBAAqB,SAAQ,kCAAkB;CAI3D;AAJD,oDAIC;AAED;;;GAGG;AACH,MAAa,uBAAwB,SAAQ,+BAAe;CAI3D;AAJD,0DAIC"}
|
|
@@ -54,6 +54,7 @@ export declare class CartItemDto extends SimpleCartItemDto {
|
|
|
54
54
|
parentId?: number;
|
|
55
55
|
price: number;
|
|
56
56
|
subtotal?: number;
|
|
57
|
+
totalPrice?: number;
|
|
57
58
|
unitPrice?: number;
|
|
58
59
|
status: CartStatusEnum;
|
|
59
60
|
errors?: string[];
|
|
@@ -85,10 +86,9 @@ export declare class UpdateCartItemDto extends BaseCartItemDto {
|
|
|
85
86
|
}
|
|
86
87
|
/**
|
|
87
88
|
* Consumer-safe add-cart-item fields shared by the public and backoffice surfaces. Server-authoritative
|
|
88
|
-
* pricing (`unitPrice`)
|
|
89
|
-
* never be set from the public (consumer) surface which extends
|
|
90
|
-
*
|
|
91
|
-
* BaseCartItemDto and is safe on the public surface.
|
|
89
|
+
* pricing (`unitPrice`) and revenue attribution (`facilityId`) are backoffice-only concerns and live on
|
|
90
|
+
* AddCartItemDto, not here, so they can never be set from the public (consumer) surface which extends
|
|
91
|
+
* this base. Participant `userId` is inherited from BaseCartItemDto and is safe on the public surface.
|
|
92
92
|
*/
|
|
93
93
|
export declare class BaseAddCartItemDto extends BaseCartItemDto {
|
|
94
94
|
productId: number;
|
|
@@ -34,10 +34,9 @@ class UpdateCartItemDto extends BaseCartItemDto {
|
|
|
34
34
|
exports.UpdateCartItemDto = UpdateCartItemDto;
|
|
35
35
|
/**
|
|
36
36
|
* Consumer-safe add-cart-item fields shared by the public and backoffice surfaces. Server-authoritative
|
|
37
|
-
* pricing (`unitPrice`)
|
|
38
|
-
* never be set from the public (consumer) surface which extends
|
|
39
|
-
*
|
|
40
|
-
* BaseCartItemDto and is safe on the public surface.
|
|
37
|
+
* pricing (`unitPrice`) and revenue attribution (`facilityId`) are backoffice-only concerns and live on
|
|
38
|
+
* AddCartItemDto, not here, so they can never be set from the public (consumer) surface which extends
|
|
39
|
+
* this base. Participant `userId` is inherited from BaseCartItemDto and is safe on the public surface.
|
|
41
40
|
*/
|
|
42
41
|
class BaseAddCartItemDto extends BaseCartItemDto {
|
|
43
42
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-item.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item.dto.ts"],"names":[],"mappings":";;;AAEA,8EAAoF;AAgBpF,MAAa,UAAW,SAAQ,4CAAyB;CAYxD;AAZD,gCAYC;AAED,MAAa,eAAgB,SAAQ,4CAAyB;CAsB7D;AAtBD,0CAsBC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAkB,SAAQ,4CAAyB;CAI/D;AAJD,8CAIC;AAED,MAAa,WAAY,SAAQ,iBAAiB;
|
|
1
|
+
{"version":3,"file":"cart-item.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item.dto.ts"],"names":[],"mappings":";;;AAEA,8EAAoF;AAgBpF,MAAa,UAAW,SAAQ,4CAAyB;CAYxD;AAZD,gCAYC;AAED,MAAa,eAAgB,SAAQ,4CAAyB;CAsB7D;AAtBD,0CAsBC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAkB,SAAQ,4CAAyB;CAI/D;AAJD,8CAIC;AAED,MAAa,WAAY,SAAQ,iBAAiB;CAgDjD;AAhDD,kCAgDC;AAED;;;;;GAKG;AACH,MAAa,eAAe;CAO3B;AAPD,0CAOC;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAGrD;AAHD,8CAGC;AAED;;;;;GAKG;AACH,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC;AAED,MAAa,cAAe,SAAQ,kBAAkB;CAQrD;AARD,wCAQC"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { ActivityTimes } from '../../../activity-times/entities/activity-times.entity';
|
|
2
2
|
import { UserAnswersDto } from '../../../applications/dto/application.dto';
|
|
3
3
|
import { Invoice } from '../../../invoice/entities/invoice.entity';
|
|
4
|
+
import { ScheduledPaymentDto } from '../../../payment/dto/payment-plan.dto';
|
|
5
|
+
import { ProductPaymentPlan } from '../../../product-pricing/entities/product-payment-plan.entity';
|
|
4
6
|
import { Product } from '../../../product-pricing/entities/product.entity';
|
|
7
|
+
import { StaleExternalValidationPricingEnum } from '../../../product-pricing/types/enums/product.enums';
|
|
5
8
|
import { IPricesOfProductsResults } from '../../../product-pricing/types/interfaces/product-pricing.interfaces';
|
|
6
9
|
import { IResource } from '../../../product-resources/types/interfaces/product-resource.interfaces';
|
|
7
|
-
import {
|
|
10
|
+
import { BasicPurchaseDto } from '../../../purchase/dto/purchase.dto';
|
|
11
|
+
import { IPurchasePayment, IPurchaseResult } from '../../../purchase/types/interfaces/purchase.interfaces';
|
|
8
12
|
import { Reservation } from '../../../reservations/entities/reservation.entity';
|
|
9
13
|
import { CurrencyEnum } from '../../../types/enums/currency.enums';
|
|
10
14
|
import { PlatformsEnum } from '../../../types/enums/platform.enums';
|
|
@@ -70,6 +74,8 @@ export interface ISkipCartValidations {
|
|
|
70
74
|
export interface IValidateCartOptions extends ISkipCartValidations {
|
|
71
75
|
onErrorCallback?: (error: Error, ...args: unknown[]) => void;
|
|
72
76
|
overridePrice?: boolean;
|
|
77
|
+
/** How pricing treats a stale `valid` external validation; defaults to asking the provider again. */
|
|
78
|
+
staleExternalValidationPricing?: StaleExternalValidationPricingEnum;
|
|
73
79
|
throwError?: boolean;
|
|
74
80
|
}
|
|
75
81
|
export interface ICreateCartOptions extends IValidateCartOptions {
|
|
@@ -79,6 +85,13 @@ export interface ICreateCartOptions extends IValidateCartOptions {
|
|
|
79
85
|
skipOnMissingProduct?: boolean;
|
|
80
86
|
skipSave?: boolean;
|
|
81
87
|
}
|
|
88
|
+
export interface IGetCartCurrentPricesParams {
|
|
89
|
+
cart: Cart;
|
|
90
|
+
productsDict: {
|
|
91
|
+
[key: number]: Product;
|
|
92
|
+
};
|
|
93
|
+
options: IValidateCartOptions;
|
|
94
|
+
}
|
|
82
95
|
export interface IValidateCartResult {
|
|
83
96
|
currentPrices: IPricesOfProductsResults[];
|
|
84
97
|
productsDict?: {
|
|
@@ -157,6 +170,52 @@ export interface IRecalculateCartOptions {
|
|
|
157
170
|
recalculateDiscounts?: boolean;
|
|
158
171
|
skipSave?: boolean;
|
|
159
172
|
}
|
|
173
|
+
export interface IPurchaseCartParams {
|
|
174
|
+
organizationId: number;
|
|
175
|
+
amountToPay: number;
|
|
176
|
+
cart: Cart;
|
|
177
|
+
installments?: ScheduledPaymentDto[];
|
|
178
|
+
onBeforeCharge?: (invoice: Invoice) => Promise<void>;
|
|
179
|
+
paymentInfo: IPurchasePayment;
|
|
180
|
+
}
|
|
181
|
+
export interface IRegistrationSchedulesParams {
|
|
182
|
+
organizationId: number;
|
|
183
|
+
cart: Cart;
|
|
184
|
+
purchaseData: BasicPurchaseDto;
|
|
185
|
+
}
|
|
186
|
+
export interface ISchedulesForPurchaseParams extends IRegistrationSchedulesParams {
|
|
187
|
+
paymentInfo: IPurchasePayment;
|
|
188
|
+
}
|
|
189
|
+
export interface IEnsureChargeableMethodParams {
|
|
190
|
+
organizationId: number;
|
|
191
|
+
installments: ScheduledPaymentDto[];
|
|
192
|
+
paymentInfo: IPurchasePayment;
|
|
193
|
+
purchaseData: BasicPurchaseDto;
|
|
194
|
+
}
|
|
195
|
+
export interface IAssertPaymentPlanAmountsParams {
|
|
196
|
+
todayByCartItemId: Map<number, number>;
|
|
197
|
+
amountToPay: number;
|
|
198
|
+
nonPlanDue: number;
|
|
199
|
+
plannedItems: CartItem[];
|
|
200
|
+
}
|
|
201
|
+
export interface IScheduleForRegistrationParams {
|
|
202
|
+
organizationId: number;
|
|
203
|
+
cartItem: CartItem;
|
|
204
|
+
requestedInstallmentCount?: number;
|
|
205
|
+
today: number;
|
|
206
|
+
}
|
|
207
|
+
export interface IRollingInstallmentCountParams {
|
|
208
|
+
cartItemId: number;
|
|
209
|
+
plan: ProductPaymentPlan;
|
|
210
|
+
requestedInstallmentCount?: number;
|
|
211
|
+
}
|
|
212
|
+
export interface IPaymentPlanCalculationParams {
|
|
213
|
+
organizationId: number;
|
|
214
|
+
amountToSplit: number;
|
|
215
|
+
months?: number;
|
|
216
|
+
plan: ProductPaymentPlan;
|
|
217
|
+
today: number;
|
|
218
|
+
}
|
|
160
219
|
export interface ISendCartConfirmationEmailsParams {
|
|
161
220
|
amountToPay: number;
|
|
162
221
|
cart?: Cart;
|
|
@@ -33,6 +33,9 @@ export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQ
|
|
|
33
33
|
customerType?: CustomerTypeEnum;
|
|
34
34
|
customersIds?: number[];
|
|
35
35
|
}
|
|
36
|
+
export declare class AddCustomerNotesDto {
|
|
37
|
+
customerNotes: CustomerNoteDto[];
|
|
38
|
+
}
|
|
36
39
|
export declare class CustomerNoteDto {
|
|
37
40
|
id?: number;
|
|
38
41
|
description: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerDto = exports.CustomerNoteDto = exports.FindCustomersByOrganizationIdFiltersDto = exports.ByOrganizationIdCustomerIdDto = exports.ImportRentalsFromCSV = exports.ImportDashCustomerDto = exports.ImportProgramsFileDto = exports.ImportCustomerFromCSV = exports.ImportProductsFromDB = exports.FindByMembershipIdDto = void 0;
|
|
3
|
+
exports.CustomerDto = exports.CustomerNoteDto = exports.AddCustomerNotesDto = exports.FindCustomersByOrganizationIdFiltersDto = exports.ByOrganizationIdCustomerIdDto = exports.ImportRentalsFromCSV = exports.ImportDashCustomerDto = exports.ImportProgramsFileDto = exports.ImportCustomerFromCSV = exports.ImportProductsFromDB = exports.FindByMembershipIdDto = 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 FindByMembershipIdDto extends organization_dto_1.ByOrganizationIdDto {
|
|
@@ -27,6 +27,9 @@ exports.ByOrganizationIdCustomerIdDto = ByOrganizationIdCustomerIdDto;
|
|
|
27
27
|
class FindCustomersByOrganizationIdFiltersDto extends general_dto_1.PaginationQuery {
|
|
28
28
|
}
|
|
29
29
|
exports.FindCustomersByOrganizationIdFiltersDto = FindCustomersByOrganizationIdFiltersDto;
|
|
30
|
+
class AddCustomerNotesDto {
|
|
31
|
+
}
|
|
32
|
+
exports.AddCustomerNotesDto = AddCustomerNotesDto;
|
|
30
33
|
class CustomerNoteDto {
|
|
31
34
|
}
|
|
32
35
|
exports.CustomerNoteDto = CustomerNoteDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer-find-import.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer-find-import.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAExD,8EAA8E;AAI9E,MAAa,qBAAsB,SAAQ,sCAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAE/D;AAFD,sDAEC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAI/D;AAJD,sDAIC;AAED,MAAa,oBAAqB,SAAQ,qBAAqB;CAE9D;AAFD,oDAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,uCAAwC,SAAQ,6BAAe;CAQ3E;AARD,0FAQC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,WAAW;CA0DvB;AA1DD,kCA0DC"}
|
|
1
|
+
{"version":3,"file":"customer-find-import.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer-find-import.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAExD,8EAA8E;AAI9E,MAAa,qBAAsB,SAAQ,sCAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAE/D;AAFD,sDAEC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAI/D;AAJD,sDAIC;AAED,MAAa,oBAAqB,SAAQ,qBAAqB;CAE9D;AAFD,oDAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,uCAAwC,SAAQ,6BAAe;CAQ3E;AARD,0FAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,WAAW;CA0DvB;AA1DD,kCA0DC"}
|
|
@@ -67,6 +67,13 @@ export declare class FacilityEventsScheduleQueryParams {
|
|
|
67
67
|
export declare class ProgramLandingPageDto {
|
|
68
68
|
programId: number;
|
|
69
69
|
}
|
|
70
|
+
export declare class ProgramLandingPageQueryDto {
|
|
71
|
+
futureLimit?: number;
|
|
72
|
+
}
|
|
73
|
+
export declare class ProgramSessionLandingPageDto {
|
|
74
|
+
programId: number;
|
|
75
|
+
sessionId: number;
|
|
76
|
+
}
|
|
70
77
|
export interface IEventOfSessionDetails {
|
|
71
78
|
id: number;
|
|
72
79
|
parentSessionId?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetUsersEventsQueryDto = exports.EventWithAttendanceDto = exports.ParentSessionDto = exports.EventInScheduleDto = exports.SpaceDto = exports.SimpleAttendeeDto = exports.SimpleEventDto = exports.EventAttendeeFiltersDto = exports.AttendeeOfEventDto = exports.AttendeeOfEventAddOnDto = exports.ProgramLandingPageDto = exports.FacilityEventsScheduleQueryParams = exports.FindByFacilityIdAndOrganizationIdDto = exports.FindByFacilityIdDto = exports.EventsIdsQueryDto = exports.AddEventToSessionDto = exports.EventMetadataDto = exports.UpdateEventDto = exports.FindEventByIdDto = void 0;
|
|
3
|
+
exports.GetUsersEventsQueryDto = exports.EventWithAttendanceDto = exports.ParentSessionDto = exports.EventInScheduleDto = exports.SpaceDto = exports.SimpleAttendeeDto = exports.SimpleEventDto = exports.EventAttendeeFiltersDto = exports.AttendeeOfEventDto = exports.AttendeeOfEventAddOnDto = exports.ProgramSessionLandingPageDto = exports.ProgramLandingPageQueryDto = exports.ProgramLandingPageDto = exports.FacilityEventsScheduleQueryParams = exports.FindByFacilityIdAndOrganizationIdDto = exports.FindByFacilityIdDto = exports.EventsIdsQueryDto = exports.AddEventToSessionDto = exports.EventMetadataDto = exports.UpdateEventDto = exports.FindEventByIdDto = void 0;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
class FindEventByIdDto {
|
|
6
6
|
}
|
|
@@ -29,6 +29,12 @@ exports.FacilityEventsScheduleQueryParams = FacilityEventsScheduleQueryParams;
|
|
|
29
29
|
class ProgramLandingPageDto {
|
|
30
30
|
}
|
|
31
31
|
exports.ProgramLandingPageDto = ProgramLandingPageDto;
|
|
32
|
+
class ProgramLandingPageQueryDto {
|
|
33
|
+
}
|
|
34
|
+
exports.ProgramLandingPageQueryDto = ProgramLandingPageQueryDto;
|
|
35
|
+
class ProgramSessionLandingPageDto {
|
|
36
|
+
}
|
|
37
|
+
exports.ProgramSessionLandingPageDto = ProgramSessionLandingPageDto;
|
|
32
38
|
class AttendeeOfEventAddOnDto {
|
|
33
39
|
}
|
|
34
40
|
exports.AttendeeOfEventAddOnDto = AttendeeOfEventAddOnDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../../src/types/events/dto/events.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwG;AASxG,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CA4B1B;AA5BD,wCA4BC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AA0CD,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAqBD,MAAa,uBAAuB;CAcnC;AAdD,0DAcC;AAgBD,MAAa,cAAe,SAAQ,mBAAK;CAwBxC;AAxBD,wCAwBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC;AAED,MAAa,QAAQ;CAIpB;AAJD,4BAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAED,MAAa,gBAAiB,SAAQ,mBAAK;CAM1C;AAND,4CAMC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAQzD;AARD,wDAQC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
|
|
1
|
+
{"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../../src/types/events/dto/events.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwG;AASxG,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CA4B1B;AA5BD,wCA4BC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AA0CD,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAqBD,MAAa,uBAAuB;CAcnC;AAdD,0DAcC;AAgBD,MAAa,cAAe,SAAQ,mBAAK;CAwBxC;AAxBD,wCAwBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC;AAED,MAAa,QAAQ;CAIpB;AAJD,4BAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAED,MAAa,gBAAiB,SAAQ,mBAAK;CAM1C;AAND,4CAMC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAQzD;AARD,wDAQC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AddressDto } from '../../address/dto/address.dto';
|
|
2
2
|
import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
|
|
3
|
-
import { InvoiceSettingsDto } from '../../invoice/dto/invoice-settings.dto';
|
|
4
3
|
import { SimpleMediaDto } from '../../media/dto/media-public.dto';
|
|
5
4
|
import { MediaTypesEnum } from '../../media/types/media.enums';
|
|
6
5
|
import { OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
@@ -27,9 +26,6 @@ export declare class CreateFacilityDto {
|
|
|
27
26
|
openingTimes: OpeningTimeDto[];
|
|
28
27
|
resourcesIds?: number[];
|
|
29
28
|
}
|
|
30
|
-
export declare class FacilitySettingsDto {
|
|
31
|
-
invoiceSettings?: InvoiceSettingsDto | null;
|
|
32
|
-
}
|
|
33
29
|
export declare class FacilityDto {
|
|
34
30
|
id: number;
|
|
35
31
|
organizationId: number;
|
|
@@ -61,7 +57,6 @@ export declare class FacilityDto {
|
|
|
61
57
|
tipConfigId?: number;
|
|
62
58
|
stripeConfigurationId?: string;
|
|
63
59
|
questionnaireId?: number;
|
|
64
|
-
settings?: FacilitySettingsDto;
|
|
65
60
|
}
|
|
66
61
|
export declare class UpdateFacilityDetailsDto {
|
|
67
62
|
name?: string;
|
|
@@ -71,7 +66,6 @@ export declare class UpdateFacilityDetailsDto {
|
|
|
71
66
|
longDescription?: string;
|
|
72
67
|
info?: string;
|
|
73
68
|
address?: AddressDto;
|
|
74
|
-
settings?: FacilitySettingsDto | null;
|
|
75
69
|
}
|
|
76
70
|
export declare class UpdateFacilityOpeningTimesDto {
|
|
77
71
|
openingTimes: OpeningTimeDto[];
|
|
@@ -96,14 +90,6 @@ export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
|
96
90
|
orderBy?: FacilitiesOrderByEnum;
|
|
97
91
|
order?: OrderByEnum;
|
|
98
92
|
}
|
|
99
|
-
export declare class OrganizationFacilitiesParamsDto {
|
|
100
|
-
organizationId: number;
|
|
101
|
-
}
|
|
102
|
-
export declare class GetOrganizationFacilitiesDto extends FindFacilitiesOptionsDto {
|
|
103
|
-
nameSearch?: string;
|
|
104
|
-
itemsPerPage?: number;
|
|
105
|
-
facilitiesIds?: number[];
|
|
106
|
-
}
|
|
107
93
|
export declare class BasicFacilityDto extends IdAndNameDto {
|
|
108
94
|
timezone?: string;
|
|
109
95
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleFacilityDto = exports.BasicFacilityDto = exports.
|
|
3
|
+
exports.SimpleFacilityDto = exports.BasicFacilityDto = exports.FindFacilitiesOptionsDto = exports.UpdateFacilityMainMediaDto = exports.UpdateFacilityAmenitiesDto = exports.UpdateFacilitySportsDto = exports.UpdateFacilityOpeningTimesDto = exports.UpdateFacilityDetailsDto = exports.FacilityDto = exports.CreateFacilityDto = exports.OpeningTimeDto = exports.OptionalFacilityIdDto = 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 OptionalFacilityIdDto extends organization_dto_1.OptionalOrganizationIdDto {
|
|
@@ -12,9 +12,6 @@ exports.OpeningTimeDto = OpeningTimeDto;
|
|
|
12
12
|
class CreateFacilityDto {
|
|
13
13
|
}
|
|
14
14
|
exports.CreateFacilityDto = CreateFacilityDto;
|
|
15
|
-
class FacilitySettingsDto {
|
|
16
|
-
}
|
|
17
|
-
exports.FacilitySettingsDto = FacilitySettingsDto;
|
|
18
15
|
class FacilityDto {
|
|
19
16
|
}
|
|
20
17
|
exports.FacilityDto = FacilityDto;
|
|
@@ -36,16 +33,6 @@ exports.UpdateFacilityMainMediaDto = UpdateFacilityMainMediaDto;
|
|
|
36
33
|
class FindFacilitiesOptionsDto extends general_dto_1.PaginationQuery {
|
|
37
34
|
}
|
|
38
35
|
exports.FindFacilitiesOptionsDto = FindFacilitiesOptionsDto;
|
|
39
|
-
class OrganizationFacilitiesParamsDto {
|
|
40
|
-
}
|
|
41
|
-
exports.OrganizationFacilitiesParamsDto = OrganizationFacilitiesParamsDto;
|
|
42
|
-
class GetOrganizationFacilitiesDto extends FindFacilitiesOptionsDto {
|
|
43
|
-
constructor() {
|
|
44
|
-
super(...arguments);
|
|
45
|
-
this.itemsPerPage = general_dto_1.DEFAULT_MINIMUM_ITEMS_PER_PAGE;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
exports.GetOrganizationFacilitiesDto = GetOrganizationFacilitiesDto;
|
|
49
36
|
class BasicFacilityDto extends general_dto_1.IdAndNameDto {
|
|
50
37
|
}
|
|
51
38
|
exports.BasicFacilityDto = BasicFacilityDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../../src/types/facilities/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../../src/types/facilities/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAsE;AAGtE,8EAAoF;AAIpF,MAAa,qBAAsB,SAAQ,4CAAyB;CAEnE;AAFD,sDAEC;AAED,MAAa,cAAc;CAM1B;AAND,wCAMC;AAED,MAAa,iBAAiB;CAsB7B;AAtBD,8CAsBC;AAED,MAAa,WAAW;CA4DvB;AA5DD,kCA4DC;AAED,MAAa,wBAAwB;CAcpC;AAdD,4DAcC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,0BAA0B;CAYtC;AAZD,gEAYC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CAQ5D;AARD,4DAQC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAEjD;AAFD,4CAEC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAMlD;AAND,8CAMC"}
|
|
@@ -2,6 +2,7 @@ import { CustomerMerge } from '../../customers-merge/entities/customer-merge.ent
|
|
|
2
2
|
import { OrganizationConnectionBaseEntity } from '../../entity/organization-connection-base-entity';
|
|
3
3
|
import { Fee } from '../../fee/entities/fee.entity';
|
|
4
4
|
import { Invoice } from '../../invoice/entities/invoice.entity';
|
|
5
|
+
import { ProductsUsers } from '../../invoice/entities/products-users.entity';
|
|
5
6
|
import { UserPaymentMethod } from '../../payment-methods/entities/user-payment-method.entity';
|
|
6
7
|
import { PaymentFailure } from '../../payment/entities/payment-failure.entity';
|
|
7
8
|
import { Payment } from '../../payment/entities/payment.entity';
|
|
@@ -10,6 +11,8 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
|
10
11
|
userId: number;
|
|
11
12
|
invoiceId: number;
|
|
12
13
|
invoice: Invoice;
|
|
14
|
+
productUserId?: number;
|
|
15
|
+
productUser?: ProductsUsers;
|
|
13
16
|
paymentMethodId?: number;
|
|
14
17
|
paymentMethod: UserPaymentMethod;
|
|
15
18
|
token?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"future-installment.entity.js","sourceRoot":"","sources":["../../../../src/types/future-installments/entities/future-installment.entity.ts"],"names":[],"mappings":";;;AAGA,0GAAoG;
|
|
1
|
+
{"version":3,"file":"future-installment.entity.js","sourceRoot":"","sources":["../../../../src/types/future-installments/entities/future-installment.entity.ts"],"names":[],"mappings":";;;AAGA,0GAAoG;AASpG,MAAa,iBAAkB,SAAQ,sEAAgC;CAsDtE;AAtDD,8CAsDC"}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
import { SportsEnum } from '../../activities/types/activities.enums';
|
|
2
|
+
import { LevelOfPlayEnum } from '../../programs/types/enums/program.enums';
|
|
3
|
+
import { GenderEnum } from '../../types/enums/gender.enums';
|
|
4
|
+
import { GroupStatusEnum } from '../types/enums/group-divisions.enums';
|
|
1
5
|
export declare class FindByProgramSeasonIdDto {
|
|
2
6
|
seasonId: number;
|
|
3
7
|
}
|
|
8
|
+
export declare class CreateBulkDivisionsDto {
|
|
9
|
+
divisions: CreateDivisionDto[];
|
|
10
|
+
}
|
|
4
11
|
export declare class CreateDivisionDto {
|
|
5
12
|
name: string;
|
|
6
13
|
ordinal?: number;
|
|
@@ -8,3 +15,83 @@ export declare class CreateDivisionDto {
|
|
|
8
15
|
color: string;
|
|
9
16
|
isDefault: boolean;
|
|
10
17
|
}
|
|
18
|
+
export declare class CreateGroupDto {
|
|
19
|
+
name: string;
|
|
20
|
+
description?: string;
|
|
21
|
+
status?: GroupStatusEnum;
|
|
22
|
+
maxCapacity?: number;
|
|
23
|
+
mainMediaId?: number;
|
|
24
|
+
minAgeYears?: number;
|
|
25
|
+
maxAgeYears?: number;
|
|
26
|
+
gender: GenderEnum;
|
|
27
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
28
|
+
sports: SportsEnum[];
|
|
29
|
+
questionnaires?: number[];
|
|
30
|
+
captainUserId?: number;
|
|
31
|
+
divisionId?: number;
|
|
32
|
+
}
|
|
33
|
+
export declare class ConnectGroupToDivision {
|
|
34
|
+
groupId: number;
|
|
35
|
+
divisionId: number;
|
|
36
|
+
prevDivisionId: number;
|
|
37
|
+
}
|
|
38
|
+
export declare class MoveUserInGroups {
|
|
39
|
+
userId: number;
|
|
40
|
+
groupId?: number;
|
|
41
|
+
prevGroupId?: number;
|
|
42
|
+
}
|
|
43
|
+
export declare class SaveUserAsGroupCaptain {
|
|
44
|
+
groupId: number;
|
|
45
|
+
userId: number;
|
|
46
|
+
}
|
|
47
|
+
export declare class InviteeDto {
|
|
48
|
+
source: string;
|
|
49
|
+
data: any;
|
|
50
|
+
name: string;
|
|
51
|
+
emails: string[];
|
|
52
|
+
phoneNumbers: string[];
|
|
53
|
+
}
|
|
54
|
+
export declare class CreateInviteToTeamDto {
|
|
55
|
+
inviterId: number;
|
|
56
|
+
inviterType: string;
|
|
57
|
+
invitees: InviteeDto[];
|
|
58
|
+
generateUrl: boolean;
|
|
59
|
+
feature: string;
|
|
60
|
+
bulk: boolean;
|
|
61
|
+
origin: number;
|
|
62
|
+
tokend: boolean;
|
|
63
|
+
}
|
|
64
|
+
export declare class TeamByIdDto {
|
|
65
|
+
teamId: number;
|
|
66
|
+
}
|
|
67
|
+
export declare class GetInviteDto extends TeamByIdDto {
|
|
68
|
+
inviteToken: string;
|
|
69
|
+
}
|
|
70
|
+
export declare class CustomerJoinTeam {
|
|
71
|
+
customerId: number;
|
|
72
|
+
}
|
|
73
|
+
export declare class JoinSuccessResponseDto {
|
|
74
|
+
data: string;
|
|
75
|
+
}
|
|
76
|
+
export declare class JoinTeamDto {
|
|
77
|
+
userId: number;
|
|
78
|
+
inviteToken?: string;
|
|
79
|
+
skipEmail?: boolean;
|
|
80
|
+
}
|
|
81
|
+
export declare class UserTeamFutureSeasons extends TeamByIdDto {
|
|
82
|
+
userId: number;
|
|
83
|
+
}
|
|
84
|
+
export interface IMoveSeason {
|
|
85
|
+
fromSeasonId: number;
|
|
86
|
+
toSeasonId: number;
|
|
87
|
+
}
|
|
88
|
+
export declare class MoveTeamOrMemberDto implements IMoveSeason {
|
|
89
|
+
teamId?: number;
|
|
90
|
+
memberId?: number;
|
|
91
|
+
fromSeasonId: number;
|
|
92
|
+
toSeasonId: number;
|
|
93
|
+
toDivisionId?: number;
|
|
94
|
+
}
|
|
95
|
+
export declare class MoveTeamOrMembersByCsvDTO {
|
|
96
|
+
fileName: string;
|
|
97
|
+
}
|
|
@@ -1,10 +1,55 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateDivisionDto = exports.FindByProgramSeasonIdDto = void 0;
|
|
3
|
+
exports.MoveTeamOrMembersByCsvDTO = exports.MoveTeamOrMemberDto = exports.UserTeamFutureSeasons = exports.JoinTeamDto = exports.JoinSuccessResponseDto = exports.CustomerJoinTeam = exports.GetInviteDto = exports.TeamByIdDto = exports.CreateInviteToTeamDto = exports.InviteeDto = exports.SaveUserAsGroupCaptain = exports.MoveUserInGroups = exports.ConnectGroupToDivision = exports.CreateGroupDto = exports.CreateDivisionDto = exports.CreateBulkDivisionsDto = exports.FindByProgramSeasonIdDto = void 0;
|
|
4
4
|
class FindByProgramSeasonIdDto {
|
|
5
5
|
}
|
|
6
6
|
exports.FindByProgramSeasonIdDto = FindByProgramSeasonIdDto;
|
|
7
|
+
class CreateBulkDivisionsDto {
|
|
8
|
+
}
|
|
9
|
+
exports.CreateBulkDivisionsDto = CreateBulkDivisionsDto;
|
|
7
10
|
class CreateDivisionDto {
|
|
8
11
|
}
|
|
9
12
|
exports.CreateDivisionDto = CreateDivisionDto;
|
|
13
|
+
class CreateGroupDto {
|
|
14
|
+
}
|
|
15
|
+
exports.CreateGroupDto = CreateGroupDto;
|
|
16
|
+
class ConnectGroupToDivision {
|
|
17
|
+
}
|
|
18
|
+
exports.ConnectGroupToDivision = ConnectGroupToDivision;
|
|
19
|
+
class MoveUserInGroups {
|
|
20
|
+
}
|
|
21
|
+
exports.MoveUserInGroups = MoveUserInGroups;
|
|
22
|
+
class SaveUserAsGroupCaptain {
|
|
23
|
+
}
|
|
24
|
+
exports.SaveUserAsGroupCaptain = SaveUserAsGroupCaptain;
|
|
25
|
+
class InviteeDto {
|
|
26
|
+
}
|
|
27
|
+
exports.InviteeDto = InviteeDto;
|
|
28
|
+
class CreateInviteToTeamDto {
|
|
29
|
+
}
|
|
30
|
+
exports.CreateInviteToTeamDto = CreateInviteToTeamDto;
|
|
31
|
+
class TeamByIdDto {
|
|
32
|
+
}
|
|
33
|
+
exports.TeamByIdDto = TeamByIdDto;
|
|
34
|
+
class GetInviteDto extends TeamByIdDto {
|
|
35
|
+
}
|
|
36
|
+
exports.GetInviteDto = GetInviteDto;
|
|
37
|
+
class CustomerJoinTeam {
|
|
38
|
+
}
|
|
39
|
+
exports.CustomerJoinTeam = CustomerJoinTeam;
|
|
40
|
+
class JoinSuccessResponseDto {
|
|
41
|
+
}
|
|
42
|
+
exports.JoinSuccessResponseDto = JoinSuccessResponseDto;
|
|
43
|
+
class JoinTeamDto {
|
|
44
|
+
}
|
|
45
|
+
exports.JoinTeamDto = JoinTeamDto;
|
|
46
|
+
class UserTeamFutureSeasons extends TeamByIdDto {
|
|
47
|
+
}
|
|
48
|
+
exports.UserTeamFutureSeasons = UserTeamFutureSeasons;
|
|
49
|
+
class MoveTeamOrMemberDto {
|
|
50
|
+
}
|
|
51
|
+
exports.MoveTeamOrMemberDto = MoveTeamOrMemberDto;
|
|
52
|
+
class MoveTeamOrMembersByCsvDTO {
|
|
53
|
+
}
|
|
54
|
+
exports.MoveTeamOrMembersByCsvDTO = MoveTeamOrMembersByCsvDTO;
|
|
10
55
|
//# sourceMappingURL=groups-divisions.dto.js.map
|