@bondsports/types 2.3.15-team-c-6 → 2.3.15-team-c-8
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/dto/events.dto.d.ts +1 -0
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +2 -1
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/types/consts/product-resource.consts.d.ts +8 -0
- package/dist/types/product-pricing/types/consts/product-resource.consts.js +11 -1
- package/dist/types/product-pricing/types/consts/product-resource.consts.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/validate-resources.interfaces.d.ts +1 -0
- package/dist/types/programs-seasons/dto/program-season-participant.dto.d.ts +20 -0
- package/dist/types/programs-seasons/dto/program-season-participant.dto.js +15 -1
- package/dist/types/programs-seasons/dto/program-season-participant.dto.js.map +1 -1
- package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +1 -1
- package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +5 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.js +7 -1
- package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +73 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.js +25 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
- package/dist/types/punch-pass/types/consts.d.ts +2 -0
- package/dist/types/punch-pass/types/consts.js +13 -0
- package/dist/types/punch-pass/types/consts.js.map +1 -0
- package/dist/types/punch-pass/types/enums.d.ts +7 -2
- package/dist/types/punch-pass/types/enums.js +5 -0
- package/dist/types/punch-pass/types/enums.js.map +1 -1
- package/dist/types/punch-pass/types/index.d.ts +1 -0
- package/dist/types/punch-pass/types/index.js +1 -0
- package/dist/types/punch-pass/types/index.js.map +1 -1
- package/dist/types/punch-pass/types/interfaces.d.ts +35 -0
- package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +3 -0
- package/dist/types/session-participants/dto/get.session.participant.dto.js +4 -1
- package/dist/types/session-participants/dto/get.session.participant.dto.js.map +1 -1
- package/dist/types/user/dto/user.dto.d.ts +3 -0
- package/dist/types/user/dto/user.dto.js.map +1 -1
- package/package.json +1 -1
@@ -114,6 +114,7 @@ export declare class SimpleEventDto extends IdDto {
|
|
114
114
|
resources?: SimpleResourceDto[];
|
115
115
|
parentId?: number;
|
116
116
|
parentType?: string;
|
117
|
+
parentSessionName?: string;
|
117
118
|
}
|
118
119
|
export declare class SimpleAttendeeDto extends IdDto {
|
119
120
|
createdAt: Date;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAcA,+CAAgG;AAEhG,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CAsB1B;AAtBD,wCAsBC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AACD,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAyCD,MAAa,2BAA4B,SAAQ,kCAAoB;CAYpE;AAZD,kEAYC;AAED,MAAa,cAAe,SAAQ,mBAAK;
|
1
|
+
{"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAcA,+CAAgG;AAEhG,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CAsB1B;AAtBD,wCAsBC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AACD,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAyCD,MAAa,2BAA4B,SAAQ,kCAAoB;CAYpE;AAZD,kEAYC;AAED,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;CAIzD;AAJD,wDAIC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
|
@@ -35,7 +35,8 @@ export declare class CreateRentalProductAddonDto {
|
|
35
35
|
price: number;
|
36
36
|
isFlatPrice?: boolean;
|
37
37
|
isMandatory?: boolean;
|
38
|
-
level
|
38
|
+
level?: ProductPackageLevelEnum;
|
39
|
+
timePeriod?: AddonTimePeriodEnum;
|
39
40
|
}
|
40
41
|
export declare class ConnectProductResourceDto {
|
41
42
|
productId: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAKA,uDAAsE;AAMtE,8EAA8E;AAoB9E,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,kBAAmB,SAAQ,sCAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,2BAA2B;
|
1
|
+
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAKA,uDAAsE;AAMtE,8EAA8E;AAoB9E,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,kBAAmB,SAAQ,sCAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,2BAA2B;CAYvC;AAZD,kEAYC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAwBlD;AAxBD,wCAwBC;AAED,MAAa,gBAAgB;CAsD5B;AAtDD,4CAsDC;AAED,MAAa,sBAAsB;CAYlC;AAZD,wDAYC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAIjD;AAJD,4CAIC;AAED,MAAa,cAAc;CA0G1B;AA1GD,wCA0GC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAY7C;AAZD,gCAYC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
|
@@ -3,3 +3,11 @@ import { IProductResource, IResource } from '../interfaces/product-resource.inte
|
|
3
3
|
export declare const uniqueByProductResource: (resource: IProductResource) => string;
|
4
4
|
export declare const getUniqueByResource: (resource: IResource) => string;
|
5
5
|
export declare const PRODUCT_RESOURCE_PARENT_TYPES: ResourceNameTypeEnum[];
|
6
|
+
/**
|
7
|
+
* Returns a query that checks if a product resource is a program season
|
8
|
+
*/
|
9
|
+
export declare const productResourceToProgramSeasonQuery: (alias?: string, sessionAlias?: string) => string;
|
10
|
+
/**
|
11
|
+
* Returns a query that checks if a product resource is a program
|
12
|
+
*/
|
13
|
+
export declare const productResourceToProgramQuery: (alias?: string, programAlias?: string) => string;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PRODUCT_RESOURCE_PARENT_TYPES = exports.getUniqueByResource = exports.uniqueByProductResource = void 0;
|
3
|
+
exports.productResourceToProgramQuery = exports.productResourceToProgramSeasonQuery = exports.PRODUCT_RESOURCE_PARENT_TYPES = exports.getUniqueByResource = exports.uniqueByProductResource = void 0;
|
4
4
|
const enums_service_1 = require("../../../services/enums.service");
|
5
5
|
const uniqueByProductResource = (resource) => {
|
6
6
|
return `${resource.productId}_${resource.type}_${resource.id}`;
|
@@ -14,4 +14,14 @@ exports.PRODUCT_RESOURCE_PARENT_TYPES = [
|
|
14
14
|
enums_service_1.ResourceNameTypeEnum.PROGRAM,
|
15
15
|
enums_service_1.ResourceNameTypeEnum.MEMBERSHIP,
|
16
16
|
];
|
17
|
+
/**
|
18
|
+
* Returns a query that checks if a product resource is a program season
|
19
|
+
*/
|
20
|
+
const productResourceToProgramSeasonQuery = (alias = 'pr', sessionAlias = 'session') => `${sessionAlias}.organizationId = ${alias}.organizationId AND ((${alias}.resourceId = ${sessionAlias}.id AND ${alias}.resourceType = '${enums_service_1.ResourceNameTypeEnum.PROGRAM_SEASON}') OR (${alias}.resourceId = ${sessionAlias}.programId AND ${alias}.resourceType = '${enums_service_1.ResourceNameTypeEnum.PROGRAM}') OR (${alias}.resourceId = ${sessionAlias}.programType AND ${alias}.resourceType = '${enums_service_1.ResourceNameTypeEnum.PROGRAM_TYPE}'))`;
|
21
|
+
exports.productResourceToProgramSeasonQuery = productResourceToProgramSeasonQuery;
|
22
|
+
/**
|
23
|
+
* Returns a query that checks if a product resource is a program
|
24
|
+
*/
|
25
|
+
const productResourceToProgramQuery = (alias = 'pr', programAlias = 'program') => `${alias}.organizationId = ${programAlias}.organizationId AND ((${alias}.resourceId = ${programAlias}.id AND ${alias}.resourceType = '${enums_service_1.ResourceNameTypeEnum.PROGRAM}') OR (${programAlias}.type = ${alias}.resourceId AND ${alias}.resourceType = '${enums_service_1.ResourceNameTypeEnum.PROGRAM_TYPE}'))`;
|
26
|
+
exports.productResourceToProgramQuery = productResourceToProgramQuery;
|
17
27
|
//# sourceMappingURL=product-resource.consts.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"product-resource.consts.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/consts/product-resource.consts.ts"],"names":[],"mappings":";;;AAAA,mEAAuE;AAGhE,MAAM,uBAAuB,GAAG,CAAC,QAA0B,EAAU,EAAE;IAC7E,OAAO,GAAG,QAAQ,CAAC,SAAS,IAAI,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,EAAE,EAAE,CAAC;AAChE,CAAC,CAAC;AAFW,QAAA,uBAAuB,2BAElC;AAEK,MAAM,mBAAmB,GAAG,CAAC,QAAmB,EAAU,EAAE,CAAC,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,EAAE,EAAE,CAAC;AAAzF,QAAA,mBAAmB,uBAAsE;AAEzF,QAAA,6BAA6B,GAAG;IAC5C,oCAAoB,CAAC,WAAW;IAChC,oCAAoB,CAAC,cAAc;IACnC,oCAAoB,CAAC,OAAO;IAC5B,oCAAoB,CAAC,UAAU;CAC/B,CAAC"}
|
1
|
+
{"version":3,"file":"product-resource.consts.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/consts/product-resource.consts.ts"],"names":[],"mappings":";;;AAAA,mEAAuE;AAGhE,MAAM,uBAAuB,GAAG,CAAC,QAA0B,EAAU,EAAE;IAC7E,OAAO,GAAG,QAAQ,CAAC,SAAS,IAAI,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,EAAE,EAAE,CAAC;AAChE,CAAC,CAAC;AAFW,QAAA,uBAAuB,2BAElC;AAEK,MAAM,mBAAmB,GAAG,CAAC,QAAmB,EAAU,EAAE,CAAC,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,EAAE,EAAE,CAAC;AAAzF,QAAA,mBAAmB,uBAAsE;AAEzF,QAAA,6BAA6B,GAAG;IAC5C,oCAAoB,CAAC,WAAW;IAChC,oCAAoB,CAAC,cAAc;IACnC,oCAAoB,CAAC,OAAO;IAC5B,oCAAoB,CAAC,UAAU;CAC/B,CAAC;AAEF;;GAEG;AACI,MAAM,mCAAmC,GAAG,CAAC,QAAgB,IAAI,EAAE,eAAuB,SAAS,EAAU,EAAE,CACrH,GAAG,YAAY,qBAAqB,KAAK,yBAAyB,KAAK,iBAAiB,YAAY,WAAW,KAAK,oBAAoB,oCAAoB,CAAC,cAAc,UAAU,KAAK,iBAAiB,YAAY,kBAAkB,KAAK,oBAAoB,oCAAoB,CAAC,OAAO,UAAU,KAAK,iBAAiB,YAAY,oBAAoB,KAAK,oBAAoB,oCAAoB,CAAC,YAAY,KAAK,CAAC;AADlZ,QAAA,mCAAmC,uCAC+W;AAE/Z;;GAEG;AACI,MAAM,6BAA6B,GAAG,CAAC,QAAgB,IAAI,EAAE,eAAuB,SAAS,EAAU,EAAE,CAC/G,GAAG,KAAK,qBAAqB,YAAY,yBAAyB,KAAK,iBAAiB,YAAY,WAAW,KAAK,oBAAoB,oCAAoB,CAAC,OAAO,UAAU,YAAY,WAAW,KAAK,mBAAmB,KAAK,oBAAoB,oCAAoB,CAAC,YAAY,KAAK,CAAC;AADjR,QAAA,6BAA6B,iCACoP"}
|
@@ -10,5 +10,6 @@ export interface IValidateResourcesDict {
|
|
10
10
|
export interface IValidateResourcesOptions {
|
11
11
|
onErrorCallback?: (error: Error, ...args: unknown[]) => void;
|
12
12
|
skipOptionalValidations?: boolean;
|
13
|
+
skipRegistrationLimitsValidations?: boolean;
|
13
14
|
validateWaitlist?: boolean;
|
14
15
|
}
|
@@ -1,8 +1,28 @@
|
|
1
1
|
import { ScheduleDto } from '../../dto/activityTimes.dto';
|
2
2
|
import { QuestionAndAnswerDto } from '../../dto/application.dto';
|
3
3
|
import { SimpleInvoiceDto } from '../../invoice/dto/invoice.dto';
|
4
|
+
import { GenderEnum } from '../../services/enums.service';
|
5
|
+
import { ParticipantRegistrationValidationEnum } from '../types/enums/program-season.enums';
|
4
6
|
export declare class ProgramSeasonParticipantDto {
|
5
7
|
applicationAnswers: QuestionAndAnswerDto[];
|
6
8
|
invoices: SimpleInvoiceDto[];
|
7
9
|
schedule: ScheduleDto[];
|
8
10
|
}
|
11
|
+
export declare class AgeValidationResultDto {
|
12
|
+
userId: number;
|
13
|
+
maxAge: number;
|
14
|
+
minAge: number;
|
15
|
+
}
|
16
|
+
export declare class GenderValidationResultDto {
|
17
|
+
userId: number;
|
18
|
+
gender: GenderEnum;
|
19
|
+
}
|
20
|
+
export declare class RegistrationDatesValidationResultDto {
|
21
|
+
registrationStartDate: string;
|
22
|
+
registrationEndDate: string;
|
23
|
+
}
|
24
|
+
export declare class ParticipantRegistrationValidationResultDto {
|
25
|
+
[ParticipantRegistrationValidationEnum.AGE_VALIDATION]?: AgeValidationResultDto[];
|
26
|
+
[ParticipantRegistrationValidationEnum.GENDER_VALIDATION]?: GenderValidationResultDto[];
|
27
|
+
[ParticipantRegistrationValidationEnum.REGISTRATION_DATES_VALIDATION]?: RegistrationDatesValidationResultDto;
|
28
|
+
}
|
@@ -1,7 +1,21 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ProgramSeasonParticipantDto = void 0;
|
3
|
+
exports.ParticipantRegistrationValidationResultDto = exports.RegistrationDatesValidationResultDto = exports.GenderValidationResultDto = exports.AgeValidationResultDto = exports.ProgramSeasonParticipantDto = void 0;
|
4
|
+
const program_season_enums_1 = require("../types/enums/program-season.enums");
|
4
5
|
class ProgramSeasonParticipantDto {
|
5
6
|
}
|
6
7
|
exports.ProgramSeasonParticipantDto = ProgramSeasonParticipantDto;
|
8
|
+
class AgeValidationResultDto {
|
9
|
+
}
|
10
|
+
exports.AgeValidationResultDto = AgeValidationResultDto;
|
11
|
+
class GenderValidationResultDto {
|
12
|
+
}
|
13
|
+
exports.GenderValidationResultDto = GenderValidationResultDto;
|
14
|
+
class RegistrationDatesValidationResultDto {
|
15
|
+
}
|
16
|
+
exports.RegistrationDatesValidationResultDto = RegistrationDatesValidationResultDto;
|
17
|
+
class ParticipantRegistrationValidationResultDto {
|
18
|
+
}
|
19
|
+
exports.ParticipantRegistrationValidationResultDto = ParticipantRegistrationValidationResultDto;
|
20
|
+
program_season_enums_1.ParticipantRegistrationValidationEnum.AGE_VALIDATION, program_season_enums_1.ParticipantRegistrationValidationEnum.GENDER_VALIDATION, program_season_enums_1.ParticipantRegistrationValidationEnum.REGISTRATION_DATES_VALIDATION;
|
7
21
|
//# sourceMappingURL=program-season-participant.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"program-season-participant.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-season-participant.dto.ts"],"names":[],"mappings":";;;AAKA,MAAa,2BAA2B;CAMvC;AAND,kEAMC"}
|
1
|
+
{"version":3,"file":"program-season-participant.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-season-participant.dto.ts"],"names":[],"mappings":";;;AAKA,8EAA4F;AAE5F,MAAa,2BAA2B;CAMvC;AAND,kEAMC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,oCAAoC;CAIhD;AAJD,oFAIC;AAED,MAAa,0CAA0C;CAMtD;AAND,gGAMC;AALC,4DAAqC,CAAC,cAAc,EAEpD,4DAAqC,CAAC,iBAAiB,EAEvD,4DAAqC,CAAC,6BAA6B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"program-season.classes.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/classes/program-season.classes.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"program-season.classes.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/classes/program-season.classes.ts"],"names":[],"mappings":";;;AAOA,MAAa,gBAAgB;CAM5B;AAND,4CAMC"}
|
@@ -29,3 +29,8 @@ export declare enum SessionTabEnum {
|
|
29
29
|
PARTICIPANTS_WAITLIST = "participants/waitlist",
|
30
30
|
PRODUCTS = "products"
|
31
31
|
}
|
32
|
+
export declare enum ParticipantRegistrationValidationEnum {
|
33
|
+
GENDER_VALIDATION = "gender_validation",
|
34
|
+
AGE_VALIDATION = "age_validation",
|
35
|
+
REGISTRATION_DATES_VALIDATION = "registration_dates_validation"
|
36
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SessionTabEnum = exports.SessionSettingEnum = exports.SegmentOccurrenceTypeEnum = exports.SegmentTypeEnum = exports.EventSortByFieldsEnum = exports.SegmentSortByFieldsEnum = void 0;
|
3
|
+
exports.ParticipantRegistrationValidationEnum = exports.SessionTabEnum = exports.SessionSettingEnum = exports.SegmentOccurrenceTypeEnum = exports.SegmentTypeEnum = exports.EventSortByFieldsEnum = exports.SegmentSortByFieldsEnum = void 0;
|
4
4
|
var SegmentSortByFieldsEnum;
|
5
5
|
(function (SegmentSortByFieldsEnum) {
|
6
6
|
SegmentSortByFieldsEnum["NAME"] = "name";
|
@@ -38,4 +38,10 @@ var SessionTabEnum;
|
|
38
38
|
SessionTabEnum["PARTICIPANTS_WAITLIST"] = "participants/waitlist";
|
39
39
|
SessionTabEnum["PRODUCTS"] = "products";
|
40
40
|
})(SessionTabEnum = exports.SessionTabEnum || (exports.SessionTabEnum = {}));
|
41
|
+
var ParticipantRegistrationValidationEnum;
|
42
|
+
(function (ParticipantRegistrationValidationEnum) {
|
43
|
+
ParticipantRegistrationValidationEnum["GENDER_VALIDATION"] = "gender_validation";
|
44
|
+
ParticipantRegistrationValidationEnum["AGE_VALIDATION"] = "age_validation";
|
45
|
+
ParticipantRegistrationValidationEnum["REGISTRATION_DATES_VALIDATION"] = "registration_dates_validation";
|
46
|
+
})(ParticipantRegistrationValidationEnum = exports.ParticipantRegistrationValidationEnum || (exports.ParticipantRegistrationValidationEnum = {}));
|
41
47
|
//# sourceMappingURL=program-season.enums.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"program-season.enums.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/enums/program-season.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAClC,wCAAa,CAAA;IACb,6CAAkB,CAAA;AACnB,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,2CAAkB,CAAA;IAClB,2CAAkB,CAAA;AACnB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IAC1B,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,oCAAiB,CAAA;AAClB,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AAED,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACpC,0CAAa,CAAA;IACb,4CAAe,CAAA;AAChB,CAAC,EAHW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAGpC;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC7B,2DAAqC,CAAA;IACrC,mEAA6C,CAAA;IAC7C,4DAAsC,CAAA;AACvC,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B;AAED,IAAY,cAQX;AARD,WAAY,cAAc;IACzB,yCAAuB,CAAA;IACvB,+BAAa,CAAA;IACb,uCAAqB,CAAA;IACrB,uEAAqD,CAAA;IACrD,6DAA2C,CAAA;IAC3C,iEAA+C,CAAA;IAC/C,uCAAqB,CAAA;AACtB,CAAC,EARW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAQzB"}
|
1
|
+
{"version":3,"file":"program-season.enums.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/enums/program-season.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAClC,wCAAa,CAAA;IACb,6CAAkB,CAAA;AACnB,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,2CAAkB,CAAA;IAClB,2CAAkB,CAAA;AACnB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IAC1B,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,oCAAiB,CAAA;AAClB,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AAED,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACpC,0CAAa,CAAA;IACb,4CAAe,CAAA;AAChB,CAAC,EAHW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAGpC;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC7B,2DAAqC,CAAA;IACrC,mEAA6C,CAAA;IAC7C,4DAAsC,CAAA;AACvC,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B;AAED,IAAY,cAQX;AARD,WAAY,cAAc;IACzB,yCAAuB,CAAA;IACvB,+BAAa,CAAA;IACb,uCAAqB,CAAA;IACrB,uEAAqD,CAAA;IACrD,6DAA2C,CAAA;IAC3C,iEAA+C,CAAA;IAC/C,uCAAqB,CAAA;AACtB,CAAC,EARW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAQzB;AAED,IAAY,qCAIX;AAJD,WAAY,qCAAqC;IAChD,gFAAuC,CAAA;IACvC,0EAAiC,CAAA;IACjC,wGAA+D,CAAA;AAChE,CAAC,EAJW,qCAAqC,GAArC,6CAAqC,KAArC,6CAAqC,QAIhD"}
|
@@ -1,5 +1,12 @@
|
|
1
1
|
import { TimeUnit } from '@bondsports/date-time';
|
2
|
-
import {
|
2
|
+
import { SimpleEventDto } from '../../dto/events.dto';
|
3
|
+
import { IdDto, PaginationQuery, SimpleResourceDto } from '../../dto/general.dto';
|
4
|
+
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
5
|
+
import { ByOrganizationIdAndResourceId } from '../../resources/dto/resource.dto';
|
6
|
+
import { OrderByEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
7
|
+
import { UserWithContactInfoDto } from '../../user/dto/user.dto';
|
8
|
+
import { PunchPassOrderByEnum, PunchPassSearchByEnum, PunchPassTypeEnum } from '../types/enums';
|
9
|
+
import { IEligiblePunchPassUserResult, IGetEligiblePunchPassUsersOptions, IGetUserPunchPassesOptions } from '../types/interfaces';
|
3
10
|
export declare class BasePunchPassFieldsDto {
|
4
11
|
type: PunchPassTypeEnum;
|
5
12
|
durationWindow?: number;
|
@@ -17,3 +24,68 @@ export declare class PunchPassDto extends BasePunchPassFieldsDto {
|
|
17
24
|
productId: number;
|
18
25
|
holders?: number[];
|
19
26
|
}
|
27
|
+
export declare class GetUserPunchPassesOptionsDto extends PaginationQuery implements IGetUserPunchPassesOptions {
|
28
|
+
searchText?: string;
|
29
|
+
searchBy?: PunchPassSearchByEnum;
|
30
|
+
orderBy?: PunchPassOrderByEnum;
|
31
|
+
order?: OrderByEnum;
|
32
|
+
startDate?: Date;
|
33
|
+
endDate?: Date;
|
34
|
+
includeFinancialInfo?: boolean;
|
35
|
+
productsIds?: number[];
|
36
|
+
resourcesIds?: number[];
|
37
|
+
resourceType?: ResourceNameTypeEnum;
|
38
|
+
includeCancelled?: boolean;
|
39
|
+
includeExpired?: boolean;
|
40
|
+
includeRedeemedEvents?: boolean;
|
41
|
+
includeOrganization?: boolean;
|
42
|
+
}
|
43
|
+
export declare class UserPunchPassFinancialInfoDto {
|
44
|
+
price: number;
|
45
|
+
invoiceId: number;
|
46
|
+
paymentId: number;
|
47
|
+
paymentStatus: PaymentStatusEnum;
|
48
|
+
isRefunded: boolean;
|
49
|
+
isVoided: boolean;
|
50
|
+
purchasedOn: Date;
|
51
|
+
}
|
52
|
+
export declare class UserPunchPassDto extends IdDto {
|
53
|
+
organizationId: number;
|
54
|
+
userId: number;
|
55
|
+
punchPassId: number;
|
56
|
+
lineItemId: number;
|
57
|
+
productId: number;
|
58
|
+
productUserId: number;
|
59
|
+
startDate?: Date;
|
60
|
+
endDate?: Date;
|
61
|
+
isCancelled?: boolean;
|
62
|
+
passesLeft: number;
|
63
|
+
totalPasses: number;
|
64
|
+
availablePunches?: number;
|
65
|
+
durationWindow?: number;
|
66
|
+
durationWindowUnit?: TimeUnit;
|
67
|
+
durationQuantity?: number;
|
68
|
+
financialInfo?: UserPunchPassFinancialInfoDto;
|
69
|
+
product?: SimpleResourceDto;
|
70
|
+
resources?: SimpleResourceDto[];
|
71
|
+
events: SimpleEventDto[];
|
72
|
+
organization?: SimpleResourceDto;
|
73
|
+
}
|
74
|
+
export declare class ByOrganizationIdAndResourceIdAndTypeDto extends ByOrganizationIdAndResourceId {
|
75
|
+
resourceType: ResourceNameTypeEnum;
|
76
|
+
}
|
77
|
+
export declare class ByResourceIdAndTypeDto {
|
78
|
+
resourceType: ResourceNameTypeEnum;
|
79
|
+
resourceId: number;
|
80
|
+
}
|
81
|
+
export declare class GetResourceEligiblePunchPassUsersDto extends PaginationQuery implements IGetEligiblePunchPassUsersOptions {
|
82
|
+
excludeExisting?: boolean;
|
83
|
+
includeExpired?: boolean;
|
84
|
+
includeCancelled?: boolean;
|
85
|
+
search?: string;
|
86
|
+
usersIds?: number[];
|
87
|
+
}
|
88
|
+
export declare class PunchPassUserEligibleDto extends UserWithContactInfoDto implements IEligiblePunchPassUserResult {
|
89
|
+
isCancelled?: boolean;
|
90
|
+
isExpired?: boolean;
|
91
|
+
}
|
@@ -1,6 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PunchPassDto = exports.CreatePunchPassDetailsDto = exports.BasePunchPassFieldsDto = void 0;
|
3
|
+
exports.PunchPassUserEligibleDto = exports.GetResourceEligiblePunchPassUsersDto = exports.ByResourceIdAndTypeDto = exports.ByOrganizationIdAndResourceIdAndTypeDto = exports.UserPunchPassDto = exports.UserPunchPassFinancialInfoDto = exports.GetUserPunchPassesOptionsDto = exports.PunchPassDto = exports.CreatePunchPassDetailsDto = exports.BasePunchPassFieldsDto = void 0;
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
5
|
+
const resource_dto_1 = require("../../resources/dto/resource.dto");
|
6
|
+
const user_dto_1 = require("../../user/dto/user.dto");
|
4
7
|
class BasePunchPassFieldsDto {
|
5
8
|
}
|
6
9
|
exports.BasePunchPassFieldsDto = BasePunchPassFieldsDto;
|
@@ -10,4 +13,25 @@ exports.CreatePunchPassDetailsDto = CreatePunchPassDetailsDto;
|
|
10
13
|
class PunchPassDto extends BasePunchPassFieldsDto {
|
11
14
|
}
|
12
15
|
exports.PunchPassDto = PunchPassDto;
|
16
|
+
class GetUserPunchPassesOptionsDto extends general_dto_1.PaginationQuery {
|
17
|
+
}
|
18
|
+
exports.GetUserPunchPassesOptionsDto = GetUserPunchPassesOptionsDto;
|
19
|
+
class UserPunchPassFinancialInfoDto {
|
20
|
+
}
|
21
|
+
exports.UserPunchPassFinancialInfoDto = UserPunchPassFinancialInfoDto;
|
22
|
+
class UserPunchPassDto extends general_dto_1.IdDto {
|
23
|
+
}
|
24
|
+
exports.UserPunchPassDto = UserPunchPassDto;
|
25
|
+
class ByOrganizationIdAndResourceIdAndTypeDto extends resource_dto_1.ByOrganizationIdAndResourceId {
|
26
|
+
}
|
27
|
+
exports.ByOrganizationIdAndResourceIdAndTypeDto = ByOrganizationIdAndResourceIdAndTypeDto;
|
28
|
+
class ByResourceIdAndTypeDto {
|
29
|
+
}
|
30
|
+
exports.ByResourceIdAndTypeDto = ByResourceIdAndTypeDto;
|
31
|
+
class GetResourceEligiblePunchPassUsersDto extends general_dto_1.PaginationQuery {
|
32
|
+
}
|
33
|
+
exports.GetResourceEligiblePunchPassUsersDto = GetResourceEligiblePunchPassUsersDto;
|
34
|
+
class PunchPassUserEligibleDto extends user_dto_1.UserWithContactInfoDto {
|
35
|
+
}
|
36
|
+
exports.PunchPassUserEligibleDto = PunchPassUserEligibleDto;
|
13
37
|
//# sourceMappingURL=punch-pass.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAkF;AAGlF,mEAAiF;AAEjF,sDAAiE;AASjE,MAAa,sBAAsB;CAclC;AAdD,wDAcC;AAED,MAAa,yBAA0B,SAAQ,sBAAsB;CAAG;AAAxE,8DAAwE;AAExE,MAAa,YAAa,SAAQ,sBAAsB;CAQvD;AARD,oCAQC;AAED,MAAa,4BAA6B,SAAQ,6BAAe;CA4BhE;AA5BD,oEA4BC;AAED,MAAa,6BAA6B;CAczC;AAdD,sEAcC;AAED,MAAa,gBAAiB,SAAQ,mBAAK;CAwC1C;AAxCD,4CAwCC;AAED,MAAa,uCAAwC,SAAQ,4CAA6B;CAEzF;AAFD,0FAEC;AAED,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,oCAAqC,SAAQ,6BAAe;CAUxE;AAVD,oFAUC;AAED,MAAa,wBAAyB,SAAQ,iCAAsB;CAInE;AAJD,4DAIC"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VALID_PUNCH_PASS_RESOURCE_TYPES = void 0;
|
4
|
+
const enums_service_1 = require("../../services/enums.service");
|
5
|
+
exports.VALID_PUNCH_PASS_RESOURCE_TYPES = [
|
6
|
+
enums_service_1.ResourceNameTypeEnum.PROGRAM_TYPE,
|
7
|
+
enums_service_1.ResourceNameTypeEnum.PROGRAM,
|
8
|
+
enums_service_1.ResourceNameTypeEnum.PROGRAM_SEASON,
|
9
|
+
enums_service_1.ResourceNameTypeEnum.EVENT,
|
10
|
+
enums_service_1.ResourceNameTypeEnum.SPACE,
|
11
|
+
enums_service_1.ResourceNameTypeEnum.INSTRUCTOR,
|
12
|
+
];
|
13
|
+
//# sourceMappingURL=consts.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/types/consts.ts"],"names":[],"mappings":";;;AAAA,gEAAoE;AAEvD,QAAA,+BAA+B,GAA2B;IACtE,oCAAoB,CAAC,YAAY;IACjC,oCAAoB,CAAC,OAAO;IAC5B,oCAAoB,CAAC,cAAc;IACnC,oCAAoB,CAAC,KAAK;IAC1B,oCAAoB,CAAC,KAAK;IAC1B,oCAAoB,CAAC,UAAU;CAC/B,CAAC"}
|
@@ -1,8 +1,13 @@
|
|
1
1
|
export declare enum PunchPassSearchByEnum {
|
2
|
-
USER_NAME = "user_name"
|
2
|
+
USER_NAME = "user_name",
|
3
|
+
PRODUCT_NAME = "product_name"
|
3
4
|
}
|
4
5
|
export declare enum PunchPassOrderByEnum {
|
5
|
-
START_DATE = "start_date"
|
6
|
+
START_DATE = "start_date",
|
7
|
+
PURCHASED_DATE = "purchased_date",
|
8
|
+
EXPIRY_DATE = "expiry_date",
|
9
|
+
PRODUCT_NAME = "product_name",
|
10
|
+
PUNCHES_COUNT = "punches_count"
|
6
11
|
}
|
7
12
|
export declare enum PunchPassFilterByEnum {
|
8
13
|
DATE_RANGE = "date_range"
|
@@ -5,11 +5,16 @@ exports.PunchPassTypeEnum = exports.PunchPassFilterByEnum = exports.PunchPassOrd
|
|
5
5
|
var PunchPassSearchByEnum;
|
6
6
|
(function (PunchPassSearchByEnum) {
|
7
7
|
PunchPassSearchByEnum["USER_NAME"] = "user_name";
|
8
|
+
PunchPassSearchByEnum["PRODUCT_NAME"] = "product_name";
|
8
9
|
})(PunchPassSearchByEnum = exports.PunchPassSearchByEnum || (exports.PunchPassSearchByEnum = {}));
|
9
10
|
// TODO: Add the options when ordering functionality is added
|
10
11
|
var PunchPassOrderByEnum;
|
11
12
|
(function (PunchPassOrderByEnum) {
|
12
13
|
PunchPassOrderByEnum["START_DATE"] = "start_date";
|
14
|
+
PunchPassOrderByEnum["PURCHASED_DATE"] = "purchased_date";
|
15
|
+
PunchPassOrderByEnum["EXPIRY_DATE"] = "expiry_date";
|
16
|
+
PunchPassOrderByEnum["PRODUCT_NAME"] = "product_name";
|
17
|
+
PunchPassOrderByEnum["PUNCHES_COUNT"] = "punches_count";
|
13
18
|
})(PunchPassOrderByEnum = exports.PunchPassOrderByEnum || (exports.PunchPassOrderByEnum = {}));
|
14
19
|
// TODO: Add the options when filtering functionality is added
|
15
20
|
var PunchPassFilterByEnum;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/types/enums.ts"],"names":[],"mappings":";;;AAAA,8DAA8D;AAC9D,IAAY,
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/types/enums.ts"],"names":[],"mappings":";;;AAAA,8DAA8D;AAC9D,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,gDAAuB,CAAA;IACvB,sDAA6B,CAAA;AAC9B,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,6DAA6D;AAC7D,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC/B,iDAAyB,CAAA;IACzB,yDAAiC,CAAA;IACjC,mDAA2B,CAAA;IAC3B,qDAA6B,CAAA;IAC7B,uDAA+B,CAAA;AAChC,CAAC,EANW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAM/B;AAED,8DAA8D;AAC9D,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAChC,kDAAyB,CAAA;AAC1B,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC5B,oCAAe,CAAA;IACf,kDAA6B,CAAA;AAC9B,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B"}
|
@@ -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("./consts"), exports);
|
17
18
|
__exportStar(require("./enums"), exports);
|
18
19
|
__exportStar(require("./interfaces"), exports);
|
19
20
|
__exportStar(require("./types"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,+CAA6B;AAC7B,0CAAwB"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,0CAAwB"}
|
@@ -1,3 +1,7 @@
|
|
1
|
+
import { GenderEnum, OrderByEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
2
|
+
import { IId } from '../../services/interfaces.service';
|
3
|
+
import { IPagination } from '../../util/models/interfaces/general.interfaces';
|
4
|
+
import { PunchPassOrderByEnum, PunchPassSearchByEnum } from './enums';
|
1
5
|
export interface IPunchPassHoldersIds {
|
2
6
|
punchPassId: number;
|
3
7
|
usersIds: number[];
|
@@ -6,3 +10,34 @@ export interface IRedemptionEvent {
|
|
6
10
|
eventId: number;
|
7
11
|
quantity?: number;
|
8
12
|
}
|
13
|
+
export interface IGetUserPunchPassesOptions extends IPagination {
|
14
|
+
endDate?: Date;
|
15
|
+
includeCancelled?: boolean;
|
16
|
+
includeExpired?: boolean;
|
17
|
+
includeRedeemedEvents?: boolean;
|
18
|
+
order?: OrderByEnum;
|
19
|
+
orderBy?: PunchPassOrderByEnum;
|
20
|
+
productsIds?: number[];
|
21
|
+
resourcesIds?: number[];
|
22
|
+
resourceType?: ResourceNameTypeEnum;
|
23
|
+
searchBy?: PunchPassSearchByEnum;
|
24
|
+
searchText?: string;
|
25
|
+
startDate?: Date;
|
26
|
+
}
|
27
|
+
export interface IGetEligiblePunchPassUsersOptions extends IPagination {
|
28
|
+
excludeExisting?: boolean;
|
29
|
+
includeCancelled?: boolean;
|
30
|
+
includeExpired?: boolean;
|
31
|
+
search?: string;
|
32
|
+
usersIds?: number[];
|
33
|
+
}
|
34
|
+
export interface IEligiblePunchPassUserResult extends IId {
|
35
|
+
birthDate?: Date;
|
36
|
+
email?: string;
|
37
|
+
firstName?: string;
|
38
|
+
gender?: GenderEnum;
|
39
|
+
isCancelled?: boolean;
|
40
|
+
isExpired?: boolean;
|
41
|
+
lastName?: string;
|
42
|
+
phoneNumber?: string;
|
43
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ByFolderIdsDto = exports.GetGroupsOptionsDto = exports.BySessionIdAndUserIdDto = exports.BySessionIdDto = exports.FindSessionParticipantsOptionsDto = exports.SessionParticipantsOptionsDto = void 0;
|
3
|
+
exports.UsersIdsQueryDto = exports.ByFolderIdsDto = exports.GetGroupsOptionsDto = exports.BySessionIdAndUserIdDto = exports.BySessionIdDto = exports.FindSessionParticipantsOptionsDto = exports.SessionParticipantsOptionsDto = 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 SessionParticipantsOptionsDto {
|
@@ -21,4 +21,7 @@ exports.GetGroupsOptionsDto = GetGroupsOptionsDto;
|
|
21
21
|
class ByFolderIdsDto extends GetGroupsOptionsDto {
|
22
22
|
}
|
23
23
|
exports.ByFolderIdsDto = ByFolderIdsDto;
|
24
|
+
class UsersIdsQueryDto {
|
25
|
+
}
|
26
|
+
exports.UsersIdsQueryDto = UsersIdsQueryDto;
|
24
27
|
//# sourceMappingURL=get.session.participant.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get.session.participant.dto.js","sourceRoot":"","sources":["../../../../src/types/session-participants/dto/get.session.participant.dto.ts"],"names":[],"mappings":";;;AACA,uDAAyG;AAEzG,8EAA8E;AAM9E,MAAa,6BAA6B;CAgBzC;AAhBD,sEAgBC;AAED,MAAa,iCAAkC,SAAQ,6BAA6B;CAOnF;AAPD,8EAOC;AAED,MAAa,cAAe,SAAQ,sCAAmB;CAEtD;AAFD,wCAEC;AAED,MAAa,uBAAwB,SAAQ,cAAc;CAE1D;AAFD,0DAEC;AAED,MAAa,mBAAoB,SAAQ,gCAAkB;CAU1D;AAVD,kDAUC;AAED,MAAa,cAAe,SAAQ,mBAAmB;CAEtD;AAFD,wCAEC"}
|
1
|
+
{"version":3,"file":"get.session.participant.dto.js","sourceRoot":"","sources":["../../../../src/types/session-participants/dto/get.session.participant.dto.ts"],"names":[],"mappings":";;;AACA,uDAAyG;AAEzG,8EAA8E;AAM9E,MAAa,6BAA6B;CAgBzC;AAhBD,sEAgBC;AAED,MAAa,iCAAkC,SAAQ,6BAA6B;CAOnF;AAPD,8EAOC;AAED,MAAa,cAAe,SAAQ,sCAAmB;CAEtD;AAFD,wCAEC;AAED,MAAa,uBAAwB,SAAQ,cAAc;CAE1D;AAFD,0DAEC;AAED,MAAa,mBAAoB,SAAQ,gCAAkB;CAU1D;AAVD,kDAUC;AAED,MAAa,cAAe,SAAQ,mBAAmB;CAEtD;AAFD,wCAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { AddressDto } from '../../address/dto/address.dto';
|
2
2
|
import { IdDto } from '../../dto/general.dto';
|
3
|
+
import { GenderEnum } from '../../services/enums.service';
|
3
4
|
export declare class UserIdDto {
|
4
5
|
userId: number;
|
5
6
|
}
|
@@ -19,6 +20,8 @@ export declare class SimpleUserDto extends IdDto {
|
|
19
20
|
firstName: string;
|
20
21
|
lastName: string;
|
21
22
|
email?: string;
|
23
|
+
gender?: GenderEnum;
|
24
|
+
birthDate?: Date;
|
22
25
|
}
|
23
26
|
export declare class UserWithContactInfoDto extends SimpleUserDto {
|
24
27
|
phoneNumber: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;AAEA,uDAA8C;
|
1
|
+
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;AAEA,uDAA8C;AAG9C,MAAa,SAAS;CAErB;AAFD,8BAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,wBAAwB;CAErE;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,SAAS;CAEtD;AAFD,4DAEC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,aAAc,SAAQ,mBAAK;CAUvC;AAVD,sCAUC;AAED,MAAa,sBAAuB,SAAQ,aAAa;CAMxD;AAND,wDAMC;AAED,MAAa,iBAAkB,SAAQ,sBAAsB;CAE5D;AAFD,8CAEC"}
|