@bondsports/types 2.5.22-squad-b-2 → 2.5.23-a-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/applications/dto/application.dto.d.ts +0 -4
- package/dist/types/applications/dto/application.dto.js +1 -4
- package/dist/types/applications/dto/application.dto.js.map +1 -1
- package/dist/types/attendance/dto/attendance.dto.d.ts +1 -0
- package/dist/types/attendance/dto/attendance.dto.js.map +1 -1
- package/dist/types/cart/dto/cart-item-public.dto.d.ts +6 -5
- package/dist/types/cart/dto/cart-item-public.dto.js +5 -5
- package/dist/types/cart/dto/cart-item-public.dto.js.map +1 -1
- package/dist/types/cart/dto/cart-item.dto.d.ts +4 -3
- package/dist/types/cart/dto/cart-item.dto.js +4 -3
- package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
- package/dist/types/events/dto/events.dto.d.ts +0 -7
- package/dist/types/events/dto/events.dto.js +1 -7
- package/dist/types/events/dto/events.dto.js.map +1 -1
- package/dist/types/facilities/dto/facilities.dto.d.ts +12 -0
- package/dist/types/facilities/dto/facilities.dto.js +10 -1
- package/dist/types/facilities/dto/facilities.dto.js.map +1 -1
- package/dist/types/family-account/dto/get-families.dto.d.ts +1 -1
- package/dist/types/family-account/types/consts/family-account.consts.d.ts +6 -0
- package/dist/types/family-account/types/consts/family-account.consts.js +22 -0
- package/dist/types/family-account/types/consts/family-account.consts.js.map +1 -0
- package/dist/types/family-account/types/consts/index.d.ts +1 -0
- package/dist/types/{team/types/enums → family-account/types/consts}/index.js +1 -1
- package/dist/types/family-account/types/consts/index.js.map +1 -0
- package/dist/types/family-account/types/enums/{enums.js → family-account.enums.js} +1 -1
- package/dist/types/family-account/types/enums/family-account.enums.js.map +1 -0
- package/dist/types/family-account/types/enums/index.d.ts +1 -1
- package/dist/types/family-account/types/enums/index.js +1 -1
- package/dist/types/family-account/types/enums/index.js.map +1 -1
- package/dist/types/family-account/types/index.d.ts +1 -0
- package/dist/types/family-account/types/index.js +1 -0
- package/dist/types/family-account/types/index.js.map +1 -1
- package/dist/types/group-divisions/dto/groups-divisions.dto.d.ts +0 -87
- package/dist/types/group-divisions/dto/groups-divisions.dto.js +1 -46
- package/dist/types/group-divisions/dto/groups-divisions.dto.js.map +1 -1
- package/dist/types/group-divisions/entities/index.d.ts +0 -3
- package/dist/types/group-divisions/entities/index.js +0 -3
- package/dist/types/group-divisions/entities/index.js.map +1 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.js +0 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/league/index.d.ts +0 -1
- package/dist/types/league/index.js +0 -1
- package/dist/types/league/index.js.map +1 -1
- package/dist/types/leagues-scheduler/types/leagues-scheduler-consts.d.ts +0 -2
- package/dist/types/leagues-scheduler/types/leagues-scheduler-consts.js +1 -3
- package/dist/types/leagues-scheduler/types/leagues-scheduler-consts.js.map +1 -1
- package/dist/types/membership/dto/membership.dto.d.ts +0 -1
- package/dist/types/membership/dto/membership.dto.js.map +1 -1
- package/dist/types/membership/dto/public-membership.dto.d.ts +2 -0
- package/dist/types/membership/dto/public-membership.dto.js.map +1 -1
- package/dist/types/membership/entities/membership.entity.d.ts +8 -1
- package/dist/types/membership/entities/membership.entity.js.map +1 -1
- package/dist/types/membership/types/membership.interfaces.d.ts +2 -1
- package/dist/types/payment/entities/index.d.ts +0 -1
- package/dist/types/payment/entities/index.js +0 -1
- package/dist/types/payment/entities/index.js.map +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +0 -1
- package/dist/types/product-pricing/dto/product-categories.dto.d.ts +5 -1
- package/dist/types/product-pricing/dto/product-categories.dto.js +4 -1
- package/dist/types/product-pricing/dto/product-categories.dto.js.map +1 -1
- package/dist/types/product-pricing/entities/product-category.entity.d.ts +3 -0
- package/dist/types/product-pricing/entities/product-category.entity.js.map +1 -1
- package/dist/types/product-pricing/types/enums/product.enums.d.ts +1 -0
- package/dist/types/product-pricing/types/enums/product.enums.js +2 -0
- package/dist/types/product-pricing/types/enums/product.enums.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/index.d.ts +0 -1
- package/dist/types/product-pricing/types/interfaces/index.js +0 -1
- package/dist/types/product-pricing/types/interfaces/index.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.d.ts +4 -0
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +1 -3
- package/dist/types/program-portals/types/consts/program-portals.consts.d.ts +0 -1
- package/dist/types/program-portals/types/consts/program-portals.consts.js +1 -3
- package/dist/types/program-portals/types/consts/program-portals.consts.js.map +1 -1
- package/dist/types/program-portals/types/dto/program-portals.dto.d.ts +0 -4
- package/dist/types/program-portals/types/dto/program-portals.dto.js +1 -4
- package/dist/types/program-portals/types/dto/program-portals.dto.js.map +1 -1
- package/dist/types/program-portals/types/dto/public-program-portals.dto.d.ts +0 -10
- package/dist/types/program-portals/types/dto/public-program-portals.dto.js +1 -7
- package/dist/types/program-portals/types/dto/public-program-portals.dto.js.map +1 -1
- package/dist/types/program-portals/types/enums/program-portals.enums.d.ts +0 -1
- package/dist/types/program-portals/types/enums/program-portals.enums.js +0 -1
- package/dist/types/program-portals/types/enums/program-portals.enums.js.map +1 -1
- package/dist/types/programs/dto/program.dto.d.ts +1 -0
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs/entities/program.entity.d.ts +2 -0
- package/dist/types/programs/entities/program.entity.js.map +1 -1
- package/dist/types/programs/types/consts/program.consts.d.ts +0 -5
- package/dist/types/programs/types/consts/program.consts.js +1 -15
- package/dist/types/programs/types/consts/program.consts.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-session.dto.d.ts +1 -16
- package/dist/types/programs-seasons/dto/program-session.dto.js +1 -10
- package/dist/types/programs-seasons/dto/program-session.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/program-season-history.entity.d.ts +0 -3
- package/dist/types/programs-seasons/entities/program-season-history.entity.js.map +1 -1
- package/dist/types/programs-seasons/entities/program-season.entity.d.ts +0 -3
- package/dist/types/programs-seasons/entities/program-season.entity.js.map +1 -1
- package/dist/types/programs-seasons/types/interfaces/program-session.interfaces.d.ts +1 -2
- package/dist/types/purchase/dto/purchase.dto.d.ts +0 -5
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/questionnaires/entities/answer-title.entity.d.ts +0 -8
- package/dist/types/questionnaires/entities/answer-title.entity.js.map +1 -1
- package/dist/types/registration/entities/purchased-resource.entity.d.ts +0 -4
- package/dist/types/registration/entities/purchased-resource.entity.js.map +1 -1
- package/dist/types/resources/types/enums/resources.enums.d.ts +1 -2
- package/dist/types/resources/types/enums/resources.enums.js +0 -1
- package/dist/types/resources/types/enums/resources.enums.js.map +1 -1
- package/dist/types/standings-integration/types/consts/roster-rollover.consts.d.ts +1 -1
- package/dist/types/standings-integration/types/consts/roster-rollover.consts.js +1 -1
- package/dist/types/taxes/dto/default-tax.dto.d.ts +9 -1
- package/dist/types/taxes/dto/default-tax.dto.js +7 -1
- package/dist/types/taxes/dto/default-tax.dto.js.map +1 -1
- package/dist/types/taxes/dto/organization-default-tax.dto.d.ts +11 -5
- package/dist/types/taxes/dto/organization-default-tax.dto.js +4 -1
- package/dist/types/taxes/dto/organization-default-tax.dto.js.map +1 -1
- package/dist/types/taxes/dto/pagination.dto.d.ts +3 -0
- package/dist/types/taxes/dto/pagination.dto.js.map +1 -1
- package/dist/types/taxes/dto/tax.dto.d.ts +7 -0
- package/dist/types/taxes/dto/tax.dto.js.map +1 -1
- package/dist/types/taxes/entities/default-tax.entity.d.ts +5 -3
- package/dist/types/taxes/entities/default-tax.entity.js +2 -2
- package/dist/types/taxes/entities/default-tax.entity.js.map +1 -1
- package/dist/types/taxes/entities/index.d.ts +1 -0
- package/dist/types/taxes/entities/index.js +1 -0
- package/dist/types/taxes/entities/index.js.map +1 -1
- package/dist/types/taxes/entities/tax-to-facility.entity.d.ts +10 -0
- package/dist/types/taxes/entities/tax-to-facility.entity.js +8 -0
- package/dist/types/taxes/entities/tax-to-facility.entity.js.map +1 -0
- package/dist/types/taxes/entities/tax.entity.d.ts +3 -1
- package/dist/types/taxes/entities/tax.entity.js.map +1 -1
- package/dist/types/taxes/types/default-tax.classes.d.ts +17 -10
- package/dist/types/taxes/types/default-tax.classes.js +4 -1
- package/dist/types/taxes/types/default-tax.classes.js.map +1 -1
- package/dist/types/taxes/types/tax.interfaces.d.ts +37 -0
- package/dist/types/user-activities/dto/user-activities.dto.d.ts +2 -0
- package/dist/types/user-activities/dto/user-activities.dto.js.map +1 -1
- package/dist/types/utils/types/consts/date.consts.d.ts +5 -0
- package/dist/types/utils/types/consts/date.consts.js +9 -0
- package/dist/types/utils/types/consts/date.consts.js.map +1 -0
- package/dist/types/utils/types/consts/index.d.ts +1 -0
- package/dist/types/{team/types → utils/types/consts}/index.js +1 -1
- package/dist/types/utils/types/consts/index.js.map +1 -0
- package/dist/types/utils/types/index.d.ts +1 -0
- package/dist/types/utils/types/index.js +1 -0
- package/dist/types/utils/types/index.js.map +1 -1
- package/dist/types/utils/types/interfaces/date-util.interfaces.d.ts +6 -0
- package/package.json +2 -2
- package/dist/types/family-account/types/enums/enums.js.map +0 -1
- package/dist/types/group-divisions/entities/team-invite.entity.d.ts +0 -10
- package/dist/types/group-divisions/entities/team-invite.entity.js +0 -8
- package/dist/types/group-divisions/entities/team-invite.entity.js.map +0 -1
- package/dist/types/group-divisions/entities/team-member.entity.d.ts +0 -15
- package/dist/types/group-divisions/entities/team-member.entity.js +0 -8
- package/dist/types/group-divisions/entities/team-member.entity.js.map +0 -1
- package/dist/types/group-divisions/entities/users-in-group.entity.d.ts +0 -6
- package/dist/types/group-divisions/entities/users-in-group.entity.js +0 -8
- package/dist/types/group-divisions/entities/users-in-group.entity.js.map +0 -1
- package/dist/types/league/entities/game-slots.entity.d.ts +0 -5
- package/dist/types/league/entities/game-slots.entity.js +0 -8
- package/dist/types/league/entities/game-slots.entity.js.map +0 -1
- package/dist/types/league/entities/index.d.ts +0 -7
- package/dist/types/league/entities/index.js +0 -24
- package/dist/types/league/entities/index.js.map +0 -1
- package/dist/types/league/entities/league.entity.d.ts +0 -30
- package/dist/types/league/entities/league.entity.js +0 -8
- package/dist/types/league/entities/league.entity.js.map +0 -1
- package/dist/types/league/entities/match-participants.entity.d.ts +0 -10
- package/dist/types/league/entities/match-participants.entity.js +0 -8
- package/dist/types/league/entities/match-participants.entity.js.map +0 -1
- package/dist/types/league/entities/matches.entity.d.ts +0 -6
- package/dist/types/league/entities/matches.entity.js +0 -8
- package/dist/types/league/entities/matches.entity.js.map +0 -1
- package/dist/types/league/entities/round-events.entity.d.ts +0 -8
- package/dist/types/league/entities/round-events.entity.js +0 -8
- package/dist/types/league/entities/round-events.entity.js.map +0 -1
- package/dist/types/league/entities/season-rounds.entity.d.ts +0 -7
- package/dist/types/league/entities/season-rounds.entity.js +0 -8
- package/dist/types/league/entities/season-rounds.entity.js.map +0 -1
- package/dist/types/league/entities/team-events.entity.d.ts +0 -6
- package/dist/types/league/entities/team-events.entity.js +0 -8
- package/dist/types/league/entities/team-events.entity.js.map +0 -1
- package/dist/types/payment/entities/payment-v1.entity.d.ts +0 -19
- package/dist/types/payment/entities/payment-v1.entity.js +0 -8
- package/dist/types/payment/entities/payment-v1.entity.js.map +0 -1
- package/dist/types/product-pricing/types/interfaces/relative-eblf.interfaces.d.ts +0 -11
- package/dist/types/product-pricing/types/interfaces/relative-eblf.interfaces.js +0 -3
- package/dist/types/product-pricing/types/interfaces/relative-eblf.interfaces.js.map +0 -1
- package/dist/types/team/entities/connection.entity.d.ts +0 -13
- package/dist/types/team/entities/connection.entity.js +0 -8
- package/dist/types/team/entities/connection.entity.js.map +0 -1
- package/dist/types/team/entities/index.d.ts +0 -5
- package/dist/types/team/entities/index.js +0 -22
- package/dist/types/team/entities/index.js.map +0 -1
- package/dist/types/team/entities/league-season.entity.d.ts +0 -51
- package/dist/types/team/entities/league-season.entity.js +0 -15
- package/dist/types/team/entities/league-season.entity.js.map +0 -1
- package/dist/types/team/entities/season-pool.entity.d.ts +0 -22
- package/dist/types/team/entities/season-pool.entity.js +0 -8
- package/dist/types/team/entities/season-pool.entity.js.map +0 -1
- package/dist/types/team/entities/season-team.entity.d.ts +0 -12
- package/dist/types/team/entities/season-team.entity.js +0 -8
- package/dist/types/team/entities/season-team.entity.js.map +0 -1
- package/dist/types/team/entities/team.entity.d.ts +0 -37
- package/dist/types/team/entities/team.entity.js +0 -8
- package/dist/types/team/entities/team.entity.js.map +0 -1
- package/dist/types/team/index.d.ts +0 -2
- package/dist/types/team/index.js +0 -19
- package/dist/types/team/index.js.map +0 -1
- package/dist/types/team/types/enums/index.d.ts +0 -1
- package/dist/types/team/types/enums/index.js.map +0 -1
- package/dist/types/team/types/enums/team.enums.d.ts +0 -16
- package/dist/types/team/types/enums/team.enums.js +0 -23
- package/dist/types/team/types/enums/team.enums.js.map +0 -1
- package/dist/types/team/types/index.d.ts +0 -1
- package/dist/types/team/types/index.js.map +0 -1
- /package/dist/types/family-account/types/enums/{enums.d.ts → family-account.enums.d.ts} +0 -0
|
@@ -28,10 +28,6 @@ export declare class UserAnswersDto {
|
|
|
28
28
|
parentId?: number;
|
|
29
29
|
organizationId?: number;
|
|
30
30
|
}
|
|
31
|
-
export declare class BulkUserAnswersDto {
|
|
32
|
-
usersAnswers: UserAnswersDto[];
|
|
33
|
-
organizationId?: number;
|
|
34
|
-
}
|
|
35
31
|
export declare class GetByQuestionnaireIdsDto {
|
|
36
32
|
questionnaireIds: string;
|
|
37
33
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleApplicationDto = exports.QuestionAndAnswerDto = exports.AnswerTemplateDataDto = exports.AnswerTemplateCustomerDto = exports.GetByQuestionnaireIdsDto = exports.
|
|
3
|
+
exports.SimpleApplicationDto = exports.QuestionAndAnswerDto = exports.AnswerTemplateDataDto = exports.AnswerTemplateCustomerDto = exports.GetByQuestionnaireIdsDto = exports.UserAnswersDto = exports.QuestionAnswersDto = exports.QuestionDto = exports.AnswerDto = void 0;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
class AnswerDto {
|
|
6
6
|
}
|
|
@@ -14,9 +14,6 @@ exports.QuestionAnswersDto = QuestionAnswersDto;
|
|
|
14
14
|
class UserAnswersDto {
|
|
15
15
|
}
|
|
16
16
|
exports.UserAnswersDto = UserAnswersDto;
|
|
17
|
-
class BulkUserAnswersDto {
|
|
18
|
-
}
|
|
19
|
-
exports.BulkUserAnswersDto = BulkUserAnswersDto;
|
|
20
17
|
class GetByQuestionnaireIdsDto {
|
|
21
18
|
}
|
|
22
19
|
exports.GetByQuestionnaireIdsDto = GetByQuestionnaireIdsDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.dto.js","sourceRoot":"","sources":["../../../../src/types/applications/dto/application.dto.ts"],"names":[],"mappings":";;;AACA,uDAA8C;AAK9C,MAAa,SAAS;CAYrB;AAZD,8BAYC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,cAAc;CAU1B;AAVD,wCAUC;AAED,MAAa,
|
|
1
|
+
{"version":3,"file":"application.dto.js","sourceRoot":"","sources":["../../../../src/types/applications/dto/application.dto.ts"],"names":[],"mappings":";;;AACA,uDAA8C;AAK9C,MAAa,SAAS;CAYrB;AAZD,8BAYC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,cAAc;CAU1B;AAVD,wCAUC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAkBrC;AAlBD,8DAkBC;AAGD,MAAM,sBAAsB;CAM3B;AAED,MAAa,qBAAsB,SAAQ,sBAAsB;CAUhE;AAVD,sDAUC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,oBAAqB,SAAQ,mBAAK;CAI9C;AAJD,oDAIC"}
|
|
@@ -21,6 +21,7 @@ export declare class AttendanceDto {
|
|
|
21
21
|
export declare class AttendanceCreateDto {
|
|
22
22
|
entityId: number;
|
|
23
23
|
entityType: AttendanceEntityTypeEnum;
|
|
24
|
+
facilityId?: number;
|
|
24
25
|
stationId?: number;
|
|
25
26
|
}
|
|
26
27
|
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;CAQ/B;AARD,kDAQC;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"}
|
|
@@ -14,19 +14,20 @@ export declare class PublicCartItemDto extends CartItemDto {
|
|
|
14
14
|
requiredProductIds?: number[];
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* Consumer-safe add-cart-item request.
|
|
18
|
-
*
|
|
17
|
+
* Consumer-safe add-cart-item request. Item-level `facilityId` is accepted so a membership or package
|
|
18
|
+
* purchase can name its facility. Other product types have it cleared before attribution. 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 resource facilities either.
|
|
22
22
|
*/
|
|
23
23
|
export declare class PublicAddCartItemDto extends BaseAddCartItemDto {
|
|
24
|
+
facilityId?: number;
|
|
24
25
|
resources?: PublicPurchaseResourceDto[];
|
|
25
26
|
children?: PublicAddCartItemDto[];
|
|
26
27
|
}
|
|
27
28
|
/**
|
|
28
|
-
* Consumer-safe cart-item update.
|
|
29
|
-
* cannot carry a client-supplied `facilityId`.
|
|
29
|
+
* Consumer-safe cart-item update. Facility is not accepted: the update only copies user, quantity, and resources.
|
|
30
|
+
* Resources cannot carry a client-supplied `facilityId`.
|
|
30
31
|
*/
|
|
31
32
|
export declare class PublicUpdateCartItemDto extends BaseCartItemDto {
|
|
32
33
|
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. Item-level `facilityId` is accepted so a membership or package
|
|
18
|
+
* purchase can name its facility. Other product types have it cleared before attribution. 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 resource facilities 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
|
-
* cannot carry a client-supplied `facilityId`.
|
|
27
|
+
* Consumer-safe cart-item update. Facility is not accepted: the update only copies user, quantity, and resources.
|
|
28
|
+
* Resources 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":";;;AACA,kEAA0E;AAQ1E,mDAAmF;AAEnF;;;GAGG;AACH,MAAa,yBAA0B,SAAQ,sCAAuB;CAAG;AAAzE,8DAAyE;AAEzE,MAAa,iBAAkB,SAAQ,2BAAW;CAQjD;AARD,8CAQC;AAED;;;;;;GAMG;AACH,MAAa,oBAAqB,SAAQ,kCAAkB;
|
|
1
|
+
{"version":3,"file":"cart-item-public.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item-public.dto.ts"],"names":[],"mappings":";;;AACA,kEAA0E;AAQ1E,mDAAmF;AAEnF;;;GAGG;AACH,MAAa,yBAA0B,SAAQ,sCAAuB;CAAG;AAAzE,8DAAyE;AAEzE,MAAa,iBAAkB,SAAQ,2BAAW;CAQjD;AARD,8CAQC;AAED;;;;;;GAMG;AACH,MAAa,oBAAqB,SAAQ,kCAAkB;CAM3D;AAND,oDAMC;AAED;;;GAGG;AACH,MAAa,uBAAwB,SAAQ,+BAAe;CAI3D;AAJD,0DAIC"}
|
|
@@ -85,9 +85,10 @@ export declare class UpdateCartItemDto extends BaseCartItemDto {
|
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* Consumer-safe add-cart-item fields shared by the public and backoffice surfaces. Server-authoritative
|
|
88
|
-
* pricing (`unitPrice`)
|
|
89
|
-
*
|
|
90
|
-
*
|
|
88
|
+
* pricing (`unitPrice`) is a backoffice-only concern and lives on AddCartItemDto, not here, so it can
|
|
89
|
+
* never be set from the public (consumer) surface which extends this base. Item-level `facilityId` is
|
|
90
|
+
* accepted on the public membership and package DTOs. Participant `userId` is inherited from
|
|
91
|
+
* BaseCartItemDto and is safe on the public surface.
|
|
91
92
|
*/
|
|
92
93
|
export declare class BaseAddCartItemDto extends BaseCartItemDto {
|
|
93
94
|
productId: number;
|
|
@@ -34,9 +34,10 @@ 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
|
-
*
|
|
39
|
-
*
|
|
37
|
+
* pricing (`unitPrice`) is a backoffice-only concern and lives on AddCartItemDto, not here, so it can
|
|
38
|
+
* never be set from the public (consumer) surface which extends this base. Item-level `facilityId` is
|
|
39
|
+
* accepted on the public membership and package DTOs. Participant `userId` is inherited from
|
|
40
|
+
* BaseCartItemDto and is safe on the public surface.
|
|
40
41
|
*/
|
|
41
42
|
class BaseAddCartItemDto extends BaseCartItemDto {
|
|
42
43
|
}
|
|
@@ -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;CA8CjD;AA9CD,kCA8CC;AAED;;;;;GAKG;AACH,MAAa,eAAe;CAO3B;AAPD,0CAOC;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAGrD;AAHD,8CAGC;AAED
|
|
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;CA8CjD;AA9CD,kCA8CC;AAED;;;;;GAKG;AACH,MAAa,eAAe;CAO3B;AAPD,0CAOC;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAGrD;AAHD,8CAGC;AAED;;;;;;GAMG;AACH,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC;AAED,MAAa,cAAe,SAAQ,kBAAkB;CAQrD;AARD,wCAQC"}
|
|
@@ -66,13 +66,6 @@ export declare class FacilityEventsScheduleQueryParams {
|
|
|
66
66
|
export declare class ProgramLandingPageDto {
|
|
67
67
|
programId: number;
|
|
68
68
|
}
|
|
69
|
-
export declare class ProgramLandingPageQueryDto {
|
|
70
|
-
futureLimit?: number;
|
|
71
|
-
}
|
|
72
|
-
export declare class ProgramSessionLandingPageDto {
|
|
73
|
-
programId: number;
|
|
74
|
-
sessionId: number;
|
|
75
|
-
}
|
|
76
69
|
export interface IEventOfSessionDetails {
|
|
77
70
|
id: number;
|
|
78
71
|
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.
|
|
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;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
class FindEventByIdDto {
|
|
6
6
|
}
|
|
@@ -29,12 +29,6 @@ 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;
|
|
38
32
|
class AttendeeOfEventAddOnDto {
|
|
39
33
|
}
|
|
40
34
|
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;CA0B1B;AA1BD,wCA0BC;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;
|
|
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;CA0B1B;AA1BD,wCA0BC;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"}
|
|
@@ -26,6 +26,16 @@ export declare class CreateFacilityDto {
|
|
|
26
26
|
openingTimes: OpeningTimeDto[];
|
|
27
27
|
resourcesIds?: number[];
|
|
28
28
|
}
|
|
29
|
+
export declare class FacilityInvoiceCustomTextDto {
|
|
30
|
+
title?: string;
|
|
31
|
+
body?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare class FacilityInvoiceSettingsDto {
|
|
34
|
+
customText?: FacilityInvoiceCustomTextDto;
|
|
35
|
+
}
|
|
36
|
+
export declare class FacilitySettingsDto {
|
|
37
|
+
invoiceSettings?: FacilityInvoiceSettingsDto;
|
|
38
|
+
}
|
|
29
39
|
export declare class FacilityDto {
|
|
30
40
|
id: number;
|
|
31
41
|
organizationId: number;
|
|
@@ -57,6 +67,7 @@ export declare class FacilityDto {
|
|
|
57
67
|
tipConfigId?: number;
|
|
58
68
|
stripeConfigurationId?: string;
|
|
59
69
|
questionnaireId?: number;
|
|
70
|
+
settings?: FacilitySettingsDto;
|
|
60
71
|
}
|
|
61
72
|
export declare class UpdateFacilityDetailsDto {
|
|
62
73
|
name?: string;
|
|
@@ -66,6 +77,7 @@ export declare class UpdateFacilityDetailsDto {
|
|
|
66
77
|
longDescription?: string;
|
|
67
78
|
info?: string;
|
|
68
79
|
address?: AddressDto;
|
|
80
|
+
settings?: FacilitySettingsDto | null;
|
|
69
81
|
}
|
|
70
82
|
export declare class UpdateFacilityOpeningTimesDto {
|
|
71
83
|
openingTimes: OpeningTimeDto[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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;
|
|
3
|
+
exports.SimpleFacilityDto = exports.BasicFacilityDto = exports.FindFacilitiesOptionsDto = exports.UpdateFacilityMainMediaDto = exports.UpdateFacilityAmenitiesDto = exports.UpdateFacilitySportsDto = exports.UpdateFacilityOpeningTimesDto = exports.UpdateFacilityDetailsDto = exports.FacilityDto = exports.FacilitySettingsDto = exports.FacilityInvoiceSettingsDto = exports.FacilityInvoiceCustomTextDto = 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,6 +12,15 @@ exports.OpeningTimeDto = OpeningTimeDto;
|
|
|
12
12
|
class CreateFacilityDto {
|
|
13
13
|
}
|
|
14
14
|
exports.CreateFacilityDto = CreateFacilityDto;
|
|
15
|
+
class FacilityInvoiceCustomTextDto {
|
|
16
|
+
}
|
|
17
|
+
exports.FacilityInvoiceCustomTextDto = FacilityInvoiceCustomTextDto;
|
|
18
|
+
class FacilityInvoiceSettingsDto {
|
|
19
|
+
}
|
|
20
|
+
exports.FacilityInvoiceSettingsDto = FacilityInvoiceSettingsDto;
|
|
21
|
+
class FacilitySettingsDto {
|
|
22
|
+
}
|
|
23
|
+
exports.FacilitySettingsDto = FacilitySettingsDto;
|
|
15
24
|
class FacilityDto {
|
|
16
25
|
}
|
|
17
26
|
exports.FacilityDto = FacilityDto;
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,WAAW;CA8DvB;AA9DD,kCA8DC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IdsQueryDto } from '../../dto/general.dto';
|
|
2
2
|
import { TUserInOrganization } from '../../user/entities/user.entity';
|
|
3
3
|
import { FamilyAccount } from '../entities/family-account.entity';
|
|
4
|
-
import { FamilyAccountExpandEnum } from '../types/enums/enums';
|
|
4
|
+
import { FamilyAccountExpandEnum } from '../types/enums/family-account.enums';
|
|
5
5
|
export declare class FamilyAccountExpandQueryDto extends IdsQueryDto {
|
|
6
6
|
expand?: FamilyAccountExpandEnum[];
|
|
7
7
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FamilyAccountExpandEnum } from '../enums/family-account.enums';
|
|
2
|
+
export declare const FAMILY_ACCOUNT_INVITE_TTL_MS: number;
|
|
3
|
+
export declare const FAMILY_ACCOUNT_INVITE_CONSUMER_PATH = "/user/profile";
|
|
4
|
+
export declare const FAMILY_ACCOUNT_INVITE_TOKEN_QUERY_PARAM = "familyInviteToken";
|
|
5
|
+
export declare const FAMILY_ACCOUNT_INVITE_KIND = "familyAccount";
|
|
6
|
+
export declare const ORGANIZATION_FAMILY_EXPANDS_MAPPING: Record<FamilyAccountExpandEnum, string[]>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ORGANIZATION_FAMILY_EXPANDS_MAPPING = exports.FAMILY_ACCOUNT_INVITE_KIND = exports.FAMILY_ACCOUNT_INVITE_TOKEN_QUERY_PARAM = exports.FAMILY_ACCOUNT_INVITE_CONSUMER_PATH = exports.FAMILY_ACCOUNT_INVITE_TTL_MS = void 0;
|
|
4
|
+
const date_consts_1 = require("../../../utils/types/consts/date.consts");
|
|
5
|
+
const family_account_enums_1 = require("../enums/family-account.enums");
|
|
6
|
+
const FAMILY_ACCOUNT_INVITE_TTL_DAYS = 7;
|
|
7
|
+
exports.FAMILY_ACCOUNT_INVITE_TTL_MS = FAMILY_ACCOUNT_INVITE_TTL_DAYS * date_consts_1.MILLISEC_IN_DAY;
|
|
8
|
+
exports.FAMILY_ACCOUNT_INVITE_CONSUMER_PATH = '/user/profile';
|
|
9
|
+
exports.FAMILY_ACCOUNT_INVITE_TOKEN_QUERY_PARAM = 'familyInviteToken';
|
|
10
|
+
exports.FAMILY_ACCOUNT_INVITE_KIND = 'familyAccount';
|
|
11
|
+
exports.ORGANIZATION_FAMILY_EXPANDS_MAPPING = {
|
|
12
|
+
[family_account_enums_1.FamilyAccountExpandEnum.MEMBERS]: [
|
|
13
|
+
'userInFamilyAccounts',
|
|
14
|
+
'userInFamilyAccounts.user',
|
|
15
|
+
'userInFamilyAccounts.user.customers',
|
|
16
|
+
],
|
|
17
|
+
[family_account_enums_1.FamilyAccountExpandEnum.MEMBERS_PROFILE_PIC]: [
|
|
18
|
+
'userInFamilyAccounts.user.customers.profilePicture',
|
|
19
|
+
'userInFamilyAccounts.user.profilePicture',
|
|
20
|
+
],
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=family-account.consts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"family-account.consts.js","sourceRoot":"","sources":["../../../../../src/types/family-account/types/consts/family-account.consts.ts"],"names":[],"mappings":";;;AAAA,yEAA0E;AAC1E,wEAAwE;AAExE,MAAM,8BAA8B,GAAG,CAAC,CAAC;AAE5B,QAAA,4BAA4B,GAAG,8BAA8B,GAAG,6BAAe,CAAC;AAEhF,QAAA,mCAAmC,GAAG,eAAe,CAAC;AAEtD,QAAA,uCAAuC,GAAG,mBAAmB,CAAC;AAE9D,QAAA,0BAA0B,GAAG,eAAe,CAAC;AAE7C,QAAA,mCAAmC,GAA8C;IAC7F,CAAC,8CAAuB,CAAC,OAAO,CAAC,EAAE;QAClC,sBAAsB;QACtB,2BAA2B;QAC3B,qCAAqC;KACrC;IACD,CAAC,8CAAuB,CAAC,mBAAmB,CAAC,EAAE;QAC9C,oDAAoD;QACpD,0CAA0C;KAC1C;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './family-account.consts';
|
|
@@ -14,5 +14,5 @@ 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("./
|
|
17
|
+
__exportStar(require("./family-account.consts"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/family-account/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
|
|
@@ -6,4 +6,4 @@ var FamilyAccountExpandEnum;
|
|
|
6
6
|
FamilyAccountExpandEnum["MEMBERS"] = "members";
|
|
7
7
|
FamilyAccountExpandEnum["MEMBERS_PROFILE_PIC"] = "members.profilePicture";
|
|
8
8
|
})(FamilyAccountExpandEnum = exports.FamilyAccountExpandEnum || (exports.FamilyAccountExpandEnum = {}));
|
|
9
|
-
//# sourceMappingURL=enums.js.map
|
|
9
|
+
//# sourceMappingURL=family-account.enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"family-account.enums.js","sourceRoot":"","sources":["../../../../../src/types/family-account/types/enums/family-account.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAClC,8CAAmB,CAAA;IACnB,yEAA8C,CAAA;AAC/C,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './enums';
|
|
1
|
+
export * from './family-account.enums';
|
|
@@ -14,5 +14,5 @@ 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("./enums"), exports);
|
|
17
|
+
__exportStar(require("./family-account.enums"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/family-account/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/family-account/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
|
|
@@ -14,5 +14,6 @@ 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("./consts"), exports);
|
|
17
18
|
__exportStar(require("./enums"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/family-account/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/family-account/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB"}
|
|
@@ -1,13 +1,6 @@
|
|
|
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';
|
|
5
1
|
export declare class FindByProgramSeasonIdDto {
|
|
6
2
|
seasonId: number;
|
|
7
3
|
}
|
|
8
|
-
export declare class CreateBulkDivisionsDto {
|
|
9
|
-
divisions: CreateDivisionDto[];
|
|
10
|
-
}
|
|
11
4
|
export declare class CreateDivisionDto {
|
|
12
5
|
name: string;
|
|
13
6
|
ordinal?: number;
|
|
@@ -15,83 +8,3 @@ export declare class CreateDivisionDto {
|
|
|
15
8
|
color: string;
|
|
16
9
|
isDefault: boolean;
|
|
17
10
|
}
|
|
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,55 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CreateDivisionDto = exports.FindByProgramSeasonIdDto = void 0;
|
|
4
4
|
class FindByProgramSeasonIdDto {
|
|
5
5
|
}
|
|
6
6
|
exports.FindByProgramSeasonIdDto = FindByProgramSeasonIdDto;
|
|
7
|
-
class CreateBulkDivisionsDto {
|
|
8
|
-
}
|
|
9
|
-
exports.CreateBulkDivisionsDto = CreateBulkDivisionsDto;
|
|
10
7
|
class CreateDivisionDto {
|
|
11
8
|
}
|
|
12
9
|
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;
|
|
55
10
|
//# sourceMappingURL=groups-divisions.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groups-divisions.dto.js","sourceRoot":"","sources":["../../../../src/types/group-divisions/dto/groups-divisions.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"groups-divisions.dto.js","sourceRoot":"","sources":["../../../../src/types/group-divisions/dto/groups-divisions.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC"}
|
|
@@ -17,7 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./division.entity"), exports);
|
|
18
18
|
__exportStar(require("./group.entity"), exports);
|
|
19
19
|
__exportStar(require("./groups-in-divisions.entity"), exports);
|
|
20
|
-
__exportStar(require("./team-invite.entity"), exports);
|
|
21
|
-
__exportStar(require("./team-member.entity"), exports);
|
|
22
|
-
__exportStar(require("./users-in-group.entity"), exports);
|
|
23
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/group-divisions/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,iDAA+B;AAC/B,+DAA6C
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/group-divisions/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,iDAA+B;AAC/B,+DAA6C"}
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
|
@@ -89,7 +89,6 @@ __exportStar(require("./shifts"), exports);
|
|
|
89
89
|
__exportStar(require("./standings-integration"), exports);
|
|
90
90
|
__exportStar(require("./stations"), exports);
|
|
91
91
|
__exportStar(require("./taxes"), exports);
|
|
92
|
-
__exportStar(require("./team"), exports);
|
|
93
92
|
__exportStar(require("./teams"), exports);
|
|
94
93
|
__exportStar(require("./templates"), exports);
|
|
95
94
|
__exportStar(require("./terminal"), exports);
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,mDAAiC;AACjC,2CAAyB;AACzB,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,0DAAwC;AACxC,yCAAuB;AACvB,4DAA0C;AAC1C,2CAAyB;AACzB,sDAAoC;AACpC,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,sDAAoC;AACpC,2CAAyB;AACzB,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,mDAAiC;AACjC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,oDAAkC;AAClC,uDAAqC;AACrC,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,iDAA+B;AAC/B,0DAAwC;AACxC,4CAA0B;AAC1B,oDAAkC;AAClC,oDAAkC;AAClC,4CAA0B;AAC1B,sDAAoC;AACpC,oDAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,6DAA2C;AAC3C,4CAA0B;AAC1B,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,iDAA+B;AAC/B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,6CAA2B;AAC3B,0CAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,mDAAiC;AACjC,2CAAyB;AACzB,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,0DAAwC;AACxC,yCAAuB;AACvB,4DAA0C;AAC1C,2CAAyB;AACzB,sDAAoC;AACpC,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,sDAAoC;AACpC,2CAAyB;AACzB,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,mDAAiC;AACjC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,oDAAkC;AAClC,uDAAqC;AACrC,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,iDAA+B;AAC/B,0DAAwC;AACxC,4CAA0B;AAC1B,oDAAkC;AAClC,oDAAkC;AAClC,4CAA0B;AAC1B,sDAAoC;AACpC,oDAAkC;AAClC,sDAAoC;AACpC,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,6DAA2C;AAC3C,4CAA0B;AAC1B,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,iDAA+B;AAC/B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,6CAA2B;AAC3B,0CAAwB;AACxB,0CAAwB;AACxB,8CAA4B;AAC5B,6CAA2B;AAC3B,uDAAqC;AACrC,0CAAwB;AACxB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,0CAAwB;AACxB,4CAA0B;AAC1B,0CAAwB;AACxB,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B"}
|
|
@@ -14,6 +14,5 @@ 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("./entities"), exports);
|
|
18
17
|
__exportStar(require("./types"), exports);
|
|
19
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/league/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/league/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DAYS_IN_WEEK = exports.HOURS_IN_HALF_DAY =
|
|
4
|
-
exports.MINUTES_IN_HOUR = 60;
|
|
5
|
-
exports.HOURS_IN_DAY = 24;
|
|
3
|
+
exports.DAYS_IN_WEEK = exports.HOURS_IN_HALF_DAY = void 0;
|
|
6
4
|
exports.HOURS_IN_HALF_DAY = 12;
|
|
7
5
|
exports.DAYS_IN_WEEK = 7;
|
|
8
6
|
//# sourceMappingURL=leagues-scheduler-consts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leagues-scheduler-consts.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/leagues-scheduler-consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,
|
|
1
|
+
{"version":3,"file":"leagues-scheduler-consts.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/leagues-scheduler-consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG,EAAE,CAAC;AAEvB,QAAA,YAAY,GAAG,CAAC,CAAC"}
|