@bondsports/types 2.2.284-a-8 → 2.2.284-a-9
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/application.dto.d.ts +0 -8
- package/dist/types/dto/application.dto.js +1 -4
- package/dist/types/dto/application.dto.js.map +1 -1
- package/dist/types/dto/events.dto.d.ts +1 -2
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +7 -0
- package/dist/types/dto/general.dto.js +7 -1
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/package.dto.d.ts +56 -2
- package/dist/types/dto/package.dto.js +7 -1
- package/dist/types/dto/package.dto.js.map +1 -1
- package/dist/types/employees/dto/employee.dto.d.ts +1 -0
- package/dist/types/employees/dto/employee.dto.js.map +1 -1
- package/dist/types/entity/Events.js.map +1 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/index.js +0 -2
- package/dist/types/index.js.map +1 -1
- package/dist/types/pricing/dto/pricing.dto.d.ts +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +3 -2
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +3 -52
- package/dist/types/product-pricing/dto/product.dto.js +1 -7
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +10 -0
- package/dist/types/programs/dto/program.dto.d.ts +1 -2
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs-seasons/dto/index.d.ts +0 -1
- package/dist/types/programs-seasons/dto/index.js +0 -1
- package/dist/types/programs-seasons/dto/index.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +23 -37
- package/dist/types/programs-seasons/dto/program-seasons.dto.js +10 -16
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +5 -6
- package/dist/types/programs-seasons/types/classes/index.d.ts +1 -0
- package/dist/types/{folders/dto → programs-seasons/types/classes}/index.js +1 -1
- package/dist/types/programs-seasons/types/classes/index.js.map +1 -0
- package/dist/types/programs-seasons/types/classes/program-season.classes.d.ts +6 -0
- package/dist/types/programs-seasons/types/classes/program-season.classes.js +7 -0
- package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +1 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +7 -6
- package/dist/types/programs-seasons/types/enums/program-season.enums.js +12 -11
- package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -1
- package/dist/types/programs-seasons/types/index.d.ts +1 -0
- package/dist/types/programs-seasons/types/index.js +1 -0
- package/dist/types/programs-seasons/types/index.js.map +1 -1
- package/dist/types/programs-seasons/types/interfaces/program-season.interfaces.d.ts +1 -18
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +3 -4
- package/dist/types/punch-pass/dto/punch-pass.dto.js +1 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
- package/dist/types/reservations/dto/addon.dto.d.ts +4 -3
- package/dist/types/reservations/dto/addon.dto.js +6 -2
- package/dist/types/reservations/dto/addon.dto.js.map +1 -1
- package/dist/types/reservations/dto/calendar-slot.dto.d.ts +44 -0
- package/dist/types/reservations/dto/calendar-slot.dto.js +13 -0
- package/dist/types/reservations/dto/calendar-slot.dto.js.map +1 -0
- package/dist/types/reservations/dto/index.d.ts +1 -0
- package/dist/types/reservations/dto/index.js +1 -0
- package/dist/types/reservations/dto/index.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +53 -59
- package/dist/types/reservations/dto/reservation.dto.js +11 -41
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +78 -17
- package/dist/types/reservations/dto/slot.dto.js +12 -5
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/reservations/entities/reservation.entity.d.ts +3 -0
- package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
- package/dist/types/reservations/entities/segment.entity.d.ts +2 -1
- package/dist/types/reservations/entities/segment.entity.js.map +1 -1
- package/dist/types/reservations/entities/slot.entity.d.ts +2 -0
- package/dist/types/reservations/entities/slot.entity.js.map +1 -1
- package/dist/types/reservations/types/classes/addon.classes.d.ts +1 -0
- package/dist/types/reservations/types/classes/addon.classes.js.map +1 -1
- package/dist/types/reservations/types/consts/reservation.consts.d.ts +3 -1
- package/dist/types/reservations/types/consts/reservation.consts.js +12 -1
- package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
- package/dist/types/reservations/types/enums/reservation.enums.d.ts +14 -0
- package/dist/types/reservations/types/enums/reservation.enums.js +23 -4
- package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +51 -22
- package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
- package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +26 -1
- package/dist/types/resources/dto/instructor.dto.d.ts +1 -0
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +11 -2
- package/dist/types/resources/dto/resource.dto.js +6 -3
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/resources/dto/space.dto.d.ts +1 -0
- package/dist/types/resources/dto/space.dto.js.map +1 -1
- package/dist/types/resources/entities/Resource.d.ts +2 -0
- package/dist/types/resources/entities/Resource.js.map +1 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +9 -10
- package/dist/types/services/enums.service.d.ts +0 -4
- package/dist/types/services/enums.service.js +1 -6
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +0 -6
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/dist/types/user/dto/userPass.dto.d.ts +6 -7
- package/dist/types/user/dto/userPass.dto.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/folders/dto/folder.dto.d.ts +0 -58
- package/dist/types/folders/dto/folder.dto.js +0 -34
- package/dist/types/folders/dto/folder.dto.js.map +0 -1
- package/dist/types/folders/dto/index.d.ts +0 -1
- package/dist/types/folders/dto/index.js.map +0 -1
- package/dist/types/folders/entities/folder-content.entity.d.ts +0 -12
- package/dist/types/folders/entities/folder-content.entity.js +0 -14
- package/dist/types/folders/entities/folder-content.entity.js.map +0 -1
- package/dist/types/folders/entities/folder-invite.entity.d.ts +0 -8
- package/dist/types/folders/entities/folder-invite.entity.js +0 -8
- package/dist/types/folders/entities/folder-invite.entity.js.map +0 -1
- package/dist/types/folders/entities/folder.entity.d.ts +0 -21
- package/dist/types/folders/entities/folder.entity.js +0 -12
- package/dist/types/folders/entities/folder.entity.js.map +0 -1
- package/dist/types/folders/entities/index.d.ts +0 -3
- package/dist/types/folders/entities/index.js +0 -20
- package/dist/types/folders/entities/index.js.map +0 -1
- package/dist/types/folders/index.d.ts +0 -2
- package/dist/types/folders/index.js +0 -19
- package/dist/types/folders/index.js.map +0 -1
- package/dist/types/programs-seasons/dto/program-season-participant.dto.d.ts +0 -8
- package/dist/types/programs-seasons/dto/program-season-participant.dto.js +0 -7
- package/dist/types/programs-seasons/dto/program-season-participant.dto.js.map +0 -1
- package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +0 -22
- package/dist/types/session-participants/dto/get.session.participant.dto.js +0 -18
- package/dist/types/session-participants/dto/get.session.participant.dto.js.map +0 -1
- package/dist/types/session-participants/dto/index.d.ts +0 -2
- package/dist/types/session-participants/dto/index.js +0 -19
- package/dist/types/session-participants/dto/index.js.map +0 -1
- package/dist/types/session-participants/dto/session.participant.dto.d.ts +0 -45
- package/dist/types/session-participants/dto/session.participant.dto.js +0 -10
- package/dist/types/session-participants/dto/session.participant.dto.js.map +0 -1
- package/dist/types/session-participants/index.d.ts +0 -2
- package/dist/types/session-participants/index.js +0 -19
- package/dist/types/session-participants/index.js.map +0 -1
- package/dist/types/session-participants/types/consts.d.ts +0 -3
- package/dist/types/session-participants/types/consts.js +0 -7
- package/dist/types/session-participants/types/consts.js.map +0 -1
- package/dist/types/session-participants/types/enums.d.ts +0 -17
- package/dist/types/session-participants/types/enums.js +0 -24
- package/dist/types/session-participants/types/enums.js.map +0 -1
- package/dist/types/session-participants/types/index.d.ts +0 -3
- package/dist/types/session-participants/types/index.js +0 -20
- package/dist/types/session-participants/types/index.js.map +0 -1
- package/dist/types/session-participants/types/interfaces.d.ts +0 -46
- package/dist/types/session-participants/types/interfaces.js +0 -3
- package/dist/types/session-participants/types/interfaces.js.map +0 -1
@@ -37,11 +37,3 @@ export declare class AnswerTemplateDataDto {
|
|
37
37
|
questions: QuestionDto[];
|
38
38
|
media?: MediaDto;
|
39
39
|
}
|
40
|
-
export declare class QuestionAndAnswerDto {
|
41
|
-
questionId: number;
|
42
|
-
question: string;
|
43
|
-
questionType?: string;
|
44
|
-
ordinal?: number;
|
45
|
-
answerId: number;
|
46
|
-
answerValue: any;
|
47
|
-
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.AnswerTemplateDataDto = exports.AnswerTemplateCustomerDto = exports.GetByQuestionnaireIdsDto = exports.UserAnswersDto = exports.QuestionAnswersDto = exports.QuestionDto = exports.AnswerDto = void 0;
|
4
4
|
class AnswerDto {
|
5
5
|
}
|
6
6
|
exports.AnswerDto = AnswerDto;
|
@@ -22,7 +22,4 @@ exports.AnswerTemplateCustomerDto = AnswerTemplateCustomerDto;
|
|
22
22
|
class AnswerTemplateDataDto {
|
23
23
|
}
|
24
24
|
exports.AnswerTemplateDataDto = AnswerTemplateDataDto;
|
25
|
-
class QuestionAndAnswerDto {
|
26
|
-
}
|
27
|
-
exports.QuestionAndAnswerDto = QuestionAndAnswerDto;
|
28
25
|
//# sourceMappingURL=application.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"application.dto.js","sourceRoot":"","sources":["../../../src/types/dto/application.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;CAQrB;AARD,8BAQC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AAED,MAAa,qBAAqB;CAUjC;AAVD,sDAUC
|
1
|
+
{"version":3,"file":"application.dto.js","sourceRoot":"","sources":["../../../src/types/dto/application.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;CAQrB;AARD,8BAQC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AAED,MAAa,qBAAqB;CAUjC;AAVD,sDAUC"}
|
@@ -2,10 +2,9 @@ import { AttendanceDto } from '../attendance/dto/attendance.dto';
|
|
2
2
|
import { PaymentStatusEnum } from '../payment/types/enums/payment.enums';
|
3
3
|
import { MaintenanceDto } from '../reservations/dto/maintenance.dto';
|
4
4
|
import { Slot } from '../reservations/entities/slot.entity';
|
5
|
-
import { SimpleResourceDto } from '../resources/dto/resource.dto';
|
6
5
|
import { EntryStatusEnum, OrderByEnum, ProgramTypesEnum, RegistrationValidationStatusEnum } from '../services/enums.service';
|
7
6
|
import { IBasicSpaceAndSlotCreator } from '../services/interfaces.service';
|
8
|
-
import { IdDto, PaginationQuery, PaginationRangeQuery } from './general.dto';
|
7
|
+
import { IdDto, PaginationQuery, PaginationRangeQuery, SimpleResourceDto } from './general.dto';
|
9
8
|
export declare class FindEventByIdDto {
|
10
9
|
eventId: number;
|
11
10
|
organizationId: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAYA,+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;AAuCD,MAAa,2BAA4B,SAAQ,kCAAoB;CAYpE;AAZD,kEAYC;AAED,MAAa,cAAe,SAAQ,mBAAK;CAsBxC;AAtBD,wCAsBC;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"}
|
@@ -47,12 +47,19 @@ export declare class PaginationResultDto<T = any> {
|
|
47
47
|
export declare class SharedPaginatedResultDto<T, M> extends PaginationResultDto<T> {
|
48
48
|
sharedData: M;
|
49
49
|
}
|
50
|
+
export declare class PaginationSearchQuery<OB = string> extends PaginationQuery {
|
51
|
+
search?: string;
|
52
|
+
orderBy?: OB;
|
53
|
+
order?: OrderByEnum;
|
54
|
+
}
|
50
55
|
export declare class IdDto implements IId {
|
51
56
|
id: number;
|
52
57
|
}
|
53
58
|
export declare class IdAndNameDto extends IdDto {
|
54
59
|
name: string;
|
55
60
|
}
|
61
|
+
export declare class SimpleResourceDto extends IdAndNameDto {
|
62
|
+
}
|
56
63
|
export declare class AuthenticatedRequestDto {
|
57
64
|
user: IdDto;
|
58
65
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Base64EnabledDto = exports.PaginatedSearchDto = exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = exports.SharedPaginatedResultDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
|
3
|
+
exports.Base64EnabledDto = exports.PaginatedSearchDto = exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.SimpleResourceDto = exports.IdAndNameDto = exports.IdDto = exports.PaginationSearchQuery = exports.SharedPaginatedResultDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
|
4
4
|
class FindOneParams {
|
5
5
|
}
|
6
6
|
exports.FindOneParams = FindOneParams;
|
@@ -46,12 +46,18 @@ exports.PaginationResultDto = PaginationResultDto;
|
|
46
46
|
class SharedPaginatedResultDto extends PaginationResultDto {
|
47
47
|
}
|
48
48
|
exports.SharedPaginatedResultDto = SharedPaginatedResultDto;
|
49
|
+
class PaginationSearchQuery extends PaginationQuery {
|
50
|
+
}
|
51
|
+
exports.PaginationSearchQuery = PaginationSearchQuery;
|
49
52
|
class IdDto {
|
50
53
|
}
|
51
54
|
exports.IdDto = IdDto;
|
52
55
|
class IdAndNameDto extends IdDto {
|
53
56
|
}
|
54
57
|
exports.IdAndNameDto = IdAndNameDto;
|
58
|
+
class SimpleResourceDto extends IdAndNameDto {
|
59
|
+
}
|
60
|
+
exports.SimpleResourceDto = SimpleResourceDto;
|
55
61
|
class AuthenticatedRequestDto {
|
56
62
|
}
|
57
63
|
exports.AuthenticatedRequestDto = AuthenticatedRequestDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AACrC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AACpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAC5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAClC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAC3B,YAAY,KAA6F;;QAgBzG,iBAAY,GAAI,sCAA8B,CAAC;QAf9C,IAAI,CAAC,MAAM,GAAG,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,CAAC;QAC5B,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,CAC3B,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,EAC5C,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,KAAI,CAAC,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,CAAC,CACrE,CAAC;QAEF,IAAI,IAAI,CAAC,MAAM,IAAI,SAAS,EAAE;YAC7B,IAAI,CAAC,IAAI,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,KAAI,oBAAY,CAAC;SACxC;IACF,CAAC;CAOD;AAlBD,0CAkBC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QAEd,YAAO,GAAG,CAAC,CAAC;QAEZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;AAND,oDAMC;AAED,MAAa,iBAAiB;CAc7B;AAdD,8CAcC;AAED,MAAa,mBAAmB;IAK/B,YAAY,IAAS,EAAE,IAAuB;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAClB,CAAC;CACD;AATD,kDASC;AAED,MAAa,wBAA+B,SAAQ,mBAAsB;CAEzE;AAFD,4DAEC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,YAAa,SAAQ,KAAK;CAEtC;AAFD,oCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,MAAM;CAElB;AAFD,wBAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC"}
|
1
|
+
{"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AACrC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AACpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAC5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAClC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAC3B,YAAY,KAA6F;;QAgBzG,iBAAY,GAAI,sCAA8B,CAAC;QAf9C,IAAI,CAAC,MAAM,GAAG,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,CAAC;QAC5B,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,CAC3B,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,EAC5C,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,KAAI,CAAC,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,CAAC,CACrE,CAAC;QAEF,IAAI,IAAI,CAAC,MAAM,IAAI,SAAS,EAAE;YAC7B,IAAI,CAAC,IAAI,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,KAAI,oBAAY,CAAC;SACxC;IACF,CAAC;CAOD;AAlBD,0CAkBC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QAEd,YAAO,GAAG,CAAC,CAAC;QAEZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;AAND,oDAMC;AAED,MAAa,iBAAiB;CAc7B;AAdD,8CAcC;AAED,MAAa,mBAAmB;IAK/B,YAAY,IAAS,EAAE,IAAuB;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAClB,CAAC;CACD;AATD,kDASC;AAED,MAAa,wBAA+B,SAAQ,mBAAsB;CAEzE;AAFD,4DAEC;AAED,MAAa,qBAAmC,SAAQ,eAAe;CAMtE;AAND,sDAMC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,YAAa,SAAQ,KAAK;CAEtC;AAFD,oCAEC;AAED,MAAa,iBAAkB,SAAQ,YAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,MAAM;CAElB;AAFD,wBAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC"}
|
@@ -1,5 +1,59 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { AddonTimePeriodEnum, PackageProductsRelationTypeEnum, ProductPackageLevelEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../services/enums.service';
|
2
|
+
import { CreateProductAvailabilityTimesDto, CreateRentalProductAddonDto } from '../product-pricing/dto/product.dto';
|
3
|
+
import { CreateOrUpdateResourceSettingDto } from '../resource-settings/dto/create-or-update-resource-setting.dto';
|
4
|
+
import { CreatePaymentPlanDto } from '../payment/dto/payment-plan.dto';
|
5
|
+
import { VariantWithPrice } from './product-variants.dto';
|
6
|
+
import { CreateGroupPricingWithProduct, CreatePriceDto } from '../pricing/dto/pricing.dto';
|
7
|
+
export declare class CreateProductDto {
|
8
|
+
id?: number;
|
9
|
+
organizationId: number;
|
10
|
+
name: string;
|
11
|
+
quantity?: number;
|
12
|
+
isAll?: boolean;
|
13
|
+
isPublic: boolean;
|
14
|
+
startDate?: Date;
|
15
|
+
endDate?: Date;
|
16
|
+
description?: string;
|
17
|
+
resourcesType?: ResourceNameTypeEnum;
|
18
|
+
resourcesIdsToApplyOn?: number[];
|
19
|
+
requiredProductIds?: number[];
|
20
|
+
GL?: string;
|
21
|
+
glIds?: number[];
|
22
|
+
prices: CreatePriceDto[];
|
23
|
+
downpayment?: number;
|
24
|
+
productType: ProductTypesEnum;
|
25
|
+
subProductType?: string;
|
26
|
+
defaultForResourceId?: number;
|
27
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
28
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
29
|
+
variantTitleIds?: number[];
|
30
|
+
variants?: VariantWithPrice[];
|
31
|
+
variantParentId?: number;
|
32
|
+
isAddon?: boolean;
|
33
|
+
isArchive?: boolean;
|
34
|
+
timePeriod?: AddonTimePeriodEnum;
|
35
|
+
isProRated?: boolean;
|
36
|
+
paymentPlan?: CreatePaymentPlanDto;
|
37
|
+
isTaxInclusive?: boolean;
|
38
|
+
tax?: number;
|
39
|
+
sports?: number[];
|
40
|
+
durationMinutes?: number;
|
41
|
+
durationDays?: number;
|
42
|
+
forms?: number[];
|
43
|
+
isForAllCustomers?: boolean;
|
44
|
+
punchCard?: boolean;
|
45
|
+
membershipsAvailableFor?: number[];
|
46
|
+
customersAvailableFor?: number[];
|
47
|
+
addons?: CreateRentalProductAddonDto[];
|
48
|
+
availabilityTimes?: CreateProductAvailabilityTimesDto[];
|
49
|
+
resourceSettings?: CreateOrUpdateResourceSettingDto[];
|
50
|
+
addonsToPackages?: ExistingProductToPackageDto[];
|
51
|
+
}
|
52
|
+
export declare class ProductInPackage extends CreateProductDto {
|
53
|
+
relationType: PackageProductsRelationTypeEnum;
|
54
|
+
amountInPackage?: number;
|
55
|
+
level?: ProductPackageLevelEnum;
|
56
|
+
}
|
3
57
|
export declare class ExistingProductToPackageDto {
|
4
58
|
id: number;
|
5
59
|
relationType: PackageProductsRelationTypeEnum;
|
@@ -1,6 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CreateProductsDto = exports.CreatePackageToResourceDto = exports.FindProductsByResourceAsOrganizationDto = exports.FindPackageByResourceDto = exports.CreatePackageDto = exports.ExistingProductToPackageDto = void 0;
|
3
|
+
exports.CreateProductsDto = exports.CreatePackageToResourceDto = exports.FindProductsByResourceAsOrganizationDto = exports.FindPackageByResourceDto = exports.CreatePackageDto = exports.ExistingProductToPackageDto = exports.ProductInPackage = exports.CreateProductDto = void 0;
|
4
|
+
class CreateProductDto {
|
5
|
+
}
|
6
|
+
exports.CreateProductDto = CreateProductDto;
|
7
|
+
class ProductInPackage extends CreateProductDto {
|
8
|
+
}
|
9
|
+
exports.ProductInPackage = ProductInPackage;
|
4
10
|
class ExistingProductToPackageDto {
|
5
11
|
}
|
6
12
|
exports.ExistingProductToPackageDto = ExistingProductToPackageDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"package.dto.js","sourceRoot":"","sources":["../../../src/types/dto/package.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"package.dto.js","sourceRoot":"","sources":["../../../src/types/dto/package.dto.ts"],"names":[],"mappings":";;;AAaA,MAAa,gBAAgB;CAsF5B;AAtFD,4CAsFC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD;AAND,4CAMC;AACD,MAAa,2BAA2B;CAQvC;AARD,kEAQC;AAED,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,uCAAwC,SAAQ,wBAAwB;CAEpF;AAFD,0FAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC"}
|
@@ -108,6 +108,7 @@ export declare class GetEmployeesByFilterOptions extends PaginationQuery {
|
|
108
108
|
statuses?: EmployeeStatus[];
|
109
109
|
rolesIds?: number[];
|
110
110
|
excludedRolesIds?: number[];
|
111
|
+
mustHaveRolesIds?: number[];
|
111
112
|
includeRoles?: boolean;
|
112
113
|
search?: string;
|
113
114
|
orderBy?: UserOrderBy | OrganizationUserOrderBy;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;AAMxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;CAkCvB;AAlCD,kCAkCC;AAED,MAAa,iBAAkB,SAAQ,WAAW;CAEjD;AAFD,8CAEC;AAED,MAAa,mBAAoB,SAAQ,iBAAiB;CAEzD;AAFD,kDAEC;AAED,MAAa,aAAa;CAQzB;AARD,sCAQC;AAED,MAAa,iBAAiB;CAoD7B;AApDD,8CAoDC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,uCAAuC;AACvC,MAAa,iBAAiB;CAwD7B;AAxDD,8CAwDC;AAED,MAAa,2BAA4B,SAAQ,6BAAe;IAAhE;;
|
1
|
+
{"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;AAMxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;CAkCvB;AAlCD,kCAkCC;AAED,MAAa,iBAAkB,SAAQ,WAAW;CAEjD;AAFD,8CAEC;AAED,MAAa,mBAAoB,SAAQ,iBAAiB;CAEzD;AAFD,kDAEC;AAED,MAAa,aAAa;CAQzB;AARD,sCAQC;AAED,MAAa,iBAAiB;CAoD7B;AApDD,8CAoDC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,uCAAuC;AACvC,MAAa,iBAAiB;CAwD7B;AAxDD,8CAwDC;AAED,MAAa,2BAA4B,SAAQ,6BAAe;IAAhE;;QASC,iBAAY,GAAa,IAAI,CAAC;IAS/B,CAAC;CAAA;AAlBD,kEAkBC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Events.js","sourceRoot":"","sources":["../../../src/types/entity/Events.ts"],"names":[],"mappings":";;;AAEA,yFAAsF;AAYtF,MAAa,KAAM,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"Events.js","sourceRoot":"","sources":["../../../src/types/entity/Events.ts"],"names":[],"mappings":";;;AAEA,yFAAsF;AAYtF,MAAa,KAAM,SAAQ,mEAAgC;CAkH1D;AAlHD,sBAkHC"}
|
package/dist/types/index.d.ts
CHANGED
@@ -12,7 +12,6 @@ export * from './errors';
|
|
12
12
|
export * from './facilities';
|
13
13
|
export * from './familyAccount';
|
14
14
|
export * from './fee';
|
15
|
-
export * from './folders';
|
16
15
|
export * from './future-installments';
|
17
16
|
export * from './gl-codes';
|
18
17
|
export * from './import';
|
@@ -40,7 +39,6 @@ export * from './resource-settings';
|
|
40
39
|
export * from './resources';
|
41
40
|
export * from './roles';
|
42
41
|
export * from './services';
|
43
|
-
export * from './session-participants';
|
44
42
|
export * from './shifts';
|
45
43
|
export * from './user';
|
46
44
|
export * from './user-activities';
|
package/dist/types/index.js
CHANGED
@@ -28,7 +28,6 @@ __exportStar(require("./errors"), exports);
|
|
28
28
|
__exportStar(require("./facilities"), exports);
|
29
29
|
__exportStar(require("./familyAccount"), exports);
|
30
30
|
__exportStar(require("./fee"), exports);
|
31
|
-
__exportStar(require("./folders"), exports);
|
32
31
|
__exportStar(require("./future-installments"), exports);
|
33
32
|
__exportStar(require("./gl-codes"), exports);
|
34
33
|
__exportStar(require("./import"), exports);
|
@@ -56,7 +55,6 @@ __exportStar(require("./resource-settings"), exports);
|
|
56
55
|
__exportStar(require("./resources"), exports);
|
57
56
|
__exportStar(require("./roles"), exports);
|
58
57
|
__exportStar(require("./services"), exports);
|
59
|
-
__exportStar(require("./session-participants"), exports);
|
60
58
|
__exportStar(require("./shifts"), exports);
|
61
59
|
__exportStar(require("./user"), exports);
|
62
60
|
__exportStar(require("./user-activities"), 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,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,8CAA4B;AAC5B,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,8CAA4B;AAC5B,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B"}
|
@@ -4,8 +4,8 @@ import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
4
4
|
import { ActivityEnum, OrderByEnum, ProductTypesEnum, ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
|
5
5
|
import { ResourceDto } from '../../resources/dto/resource.dto';
|
6
6
|
import { OrderByProductEnum } from '../types/enums/product.enums';
|
7
|
-
import { IGetProductsByTypeOptions } from '../types/interfaces/product-pricing.interfaces';
|
8
|
-
export declare class FindPriceOfProductDto {
|
7
|
+
import { IFindPriceOfProduct, IGetProductsByTypeOptions } from '../types/interfaces/product-pricing.interfaces';
|
8
|
+
export declare class FindPriceOfProductDto implements IFindPriceOfProduct {
|
9
9
|
id?: number;
|
10
10
|
productId: number;
|
11
11
|
userId: number;
|
@@ -93,4 +93,5 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
|
|
93
93
|
search?: string;
|
94
94
|
sortBy?: OrderByProductEnum;
|
95
95
|
order?: OrderByEnum;
|
96
|
+
inclusion?: boolean;
|
96
97
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;
|
1
|
+
{"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CA8C7D;AA9CD,8DA8CC"}
|
@@ -3,18 +3,16 @@ import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
|
3
3
|
import { FacilityDto, SimpleFacilityDto } from '../../dto/facilities.dto';
|
4
4
|
import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
|
5
5
|
import { SimpleMembershipDto } from '../../dto/membership.dto';
|
6
|
-
import { VariantDto, VariantTitleDto
|
6
|
+
import { VariantDto, VariantTitleDto } from '../../dto/product-variants.dto';
|
7
7
|
import { GroupItemsPricing } from '../../entity/GroupItemsPricing';
|
8
8
|
import { ProductPackage } from '../../entity/ProductPackage';
|
9
9
|
import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
|
10
10
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
11
11
|
import { EntitlementDiscountDto } from '../../payment/dto/discount.dto';
|
12
|
-
import {
|
12
|
+
import { PaymentPlanDto } from '../../payment/dto/payment-plan.dto';
|
13
13
|
import { PriceDto } from '../../pricing/dto/price.dto';
|
14
|
-
import { CreateGroupPricingWithProduct, CreatePriceDto } from '../../pricing/dto/pricing.dto';
|
15
|
-
import { CreateOrUpdateResourceSettingDto } from '../../resource-settings/dto/create-or-update-resource-setting.dto';
|
16
14
|
import { ResourceSettingDto } from '../../resource-settings/dto/resource-setting.dto';
|
17
|
-
import { ActivityEnum, AddonTimePeriodEnum,
|
15
|
+
import { ActivityEnum, AddonTimePeriodEnum, PlatformsEnum, ProductPackageLevelEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
18
16
|
import { IChildProduct, IResourcesAvailability } from '../../services/interfaces.service';
|
19
17
|
import { IPricingSchedule } from '../types/interfaces/product-pricing.interfaces';
|
20
18
|
import { ProductResourceDto } from './product-resource.dto';
|
@@ -38,53 +36,6 @@ export declare class CreateRentalProductAddonDto {
|
|
38
36
|
isMandatory?: boolean;
|
39
37
|
level: ProductPackageLevelEnum;
|
40
38
|
}
|
41
|
-
export declare class CreateProductDto {
|
42
|
-
id?: number;
|
43
|
-
organizationId: number;
|
44
|
-
name: string;
|
45
|
-
quantity?: number;
|
46
|
-
isAll?: boolean;
|
47
|
-
isPublic: boolean;
|
48
|
-
startDate?: Date;
|
49
|
-
endDate?: Date;
|
50
|
-
description?: string;
|
51
|
-
resourcesType?: ResourceNameTypeEnum;
|
52
|
-
resourcesIdsToApplyOn?: number[];
|
53
|
-
GL?: string;
|
54
|
-
glIds?: number[];
|
55
|
-
prices: CreatePriceDto[];
|
56
|
-
downpayment?: number;
|
57
|
-
productType: ProductTypesEnum;
|
58
|
-
subProductType?: string;
|
59
|
-
defaultForResourceId?: number;
|
60
|
-
defaultForResourceType?: ResourceNameTypeEnum;
|
61
|
-
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
62
|
-
variantTitleIds?: number[];
|
63
|
-
variants?: VariantWithPrice[];
|
64
|
-
variantParentId?: number;
|
65
|
-
isAddon?: boolean;
|
66
|
-
isArchive?: boolean;
|
67
|
-
timePeriod?: AddonTimePeriodEnum;
|
68
|
-
isProRated?: boolean;
|
69
|
-
paymentPlan?: CreatePaymentPlanDto;
|
70
|
-
isTaxInclusive?: boolean;
|
71
|
-
tax?: number;
|
72
|
-
sports?: number[];
|
73
|
-
durationMinutes?: number;
|
74
|
-
durationDays?: number;
|
75
|
-
forms?: number[];
|
76
|
-
isForAllCustomers?: boolean;
|
77
|
-
membershipsAvailableFor?: number[];
|
78
|
-
customersAvailableFor?: number[];
|
79
|
-
addons?: CreateRentalProductAddonDto[];
|
80
|
-
availabilityTimes?: CreateProductAvailabilityTimesDto[];
|
81
|
-
resourceSettings?: CreateOrUpdateResourceSettingDto[];
|
82
|
-
}
|
83
|
-
export declare class ProductInPackage extends CreateProductDto {
|
84
|
-
relationType: PackageProductsRelationTypeEnum;
|
85
|
-
amountInPackage?: number;
|
86
|
-
level?: ProductPackageLevelEnum;
|
87
|
-
}
|
88
39
|
export declare class ConnectProductResourceDto {
|
89
40
|
productId: number;
|
90
41
|
resourceType: ResourceNameTypeEnum;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ResourceProductDto = exports.ProductDto = exports.DeprecatedProductDto = exports.BaseProductDto = exports.SimpleProductDto = exports.GetOrganizationProductsDto = exports.GetExtraProductDataDto = exports.ProductFieldsDto = exports.GetProductsDto = exports.ProductsIdsDto = exports.AddRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.ConnectProductResourceDto = exports.
|
3
|
+
exports.ResourceProductDto = exports.ProductDto = exports.DeprecatedProductDto = exports.BaseProductDto = exports.SimpleProductDto = exports.GetOrganizationProductsDto = exports.GetExtraProductDataDto = exports.ProductFieldsDto = exports.GetProductsDto = exports.ProductsIdsDto = exports.AddRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.ConnectProductResourceDto = exports.CreateRentalProductAddonDto = exports.ByProductAndOrgDto = exports.CreateProductAvailabilityTimesDto = exports.FindByProductIdDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
6
6
|
class FindByProductIdDto {
|
@@ -15,12 +15,6 @@ exports.ByProductAndOrgDto = ByProductAndOrgDto;
|
|
15
15
|
class CreateRentalProductAddonDto {
|
16
16
|
}
|
17
17
|
exports.CreateRentalProductAddonDto = CreateRentalProductAddonDto;
|
18
|
-
class CreateProductDto {
|
19
|
-
}
|
20
|
-
exports.CreateProductDto = CreateProductDto;
|
21
|
-
class ProductInPackage extends CreateProductDto {
|
22
|
-
}
|
23
|
-
exports.ProductInPackage = ProductInPackage;
|
24
18
|
class ConnectProductResourceDto {
|
25
19
|
}
|
26
20
|
exports.ConnectProductResourceDto = ConnectProductResourceDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAMtE,8EAA8E;
|
1
|
+
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAMtE,8EAA8E;AAmB9E,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,kBAAmB,SAAQ,sCAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;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;CAU7C;AAVD,gCAUC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
|
@@ -5,6 +5,7 @@ import { ActivityEnum, OrderByEnum, SportsEnum } from '../../../services/enums.s
|
|
5
5
|
import { IPagination } from '../../../util/models/interfaces/general.interfaces';
|
6
6
|
import { OrderByProductEnum } from '../enums/product.enums';
|
7
7
|
import { IProductResource } from './porduct-resource.interfaces';
|
8
|
+
import { ResourceDto } from '../../../resources/dto/resource.dto';
|
8
9
|
export interface IGetCurrentPricesOptions {
|
9
10
|
userId?: number;
|
10
11
|
answers?: QuestionAnswersDto[];
|
@@ -33,6 +34,7 @@ export interface IGetProductsByTypeOptions extends IPagination {
|
|
33
34
|
sortBy?: OrderByProductEnum;
|
34
35
|
order?: OrderByEnum;
|
35
36
|
onlyValid?: boolean;
|
37
|
+
inclusion?: boolean;
|
36
38
|
}
|
37
39
|
export interface IPricingSchedule {
|
38
40
|
groupId: string;
|
@@ -45,3 +47,11 @@ export interface IGetProductsOptions {
|
|
45
47
|
throwError?: boolean;
|
46
48
|
skipRefetch?: boolean;
|
47
49
|
}
|
50
|
+
export interface IFindPriceOfProduct {
|
51
|
+
id?: number;
|
52
|
+
productId: number;
|
53
|
+
userId: number;
|
54
|
+
resources?: ResourceDto[];
|
55
|
+
quantity?: number;
|
56
|
+
unique?: string;
|
57
|
+
}
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import { SimpleFacilityDto } from '../../dto/facilities.dto';
|
2
|
-
import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
|
2
|
+
import { IdAndNameDto, PaginationQuery, SimpleResourceDto } from '../../dto/general.dto';
|
3
3
|
import { ProductUserFinancialInfoDto, SimpleProductUserDto } from '../../dto/product-user';
|
4
4
|
import { ByOrganizationIdDto, OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
|
5
5
|
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
6
6
|
import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
|
7
7
|
import { GenderEnum, LevelOfPlayEnum, OrderByEnum, PlatformsEnum, ProgramHighlightTypeEnum, ProgramTypesEnum, PublishingStatusEnum, SportsEnum } from '../../services/enums.service';
|
8
|
-
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
9
8
|
import { SimpleUserDto } from '../../user/dto/user.dto';
|
10
9
|
export declare class FindOrganizationProgramsDto {
|
11
10
|
programType?: ProgramTypesEnum;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"program.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/program.dto.ts"],"names":[],"mappings":";;;AACA,
|
1
|
+
{"version":3,"file":"program.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/program.dto.ts"],"names":[],"mappings":";;;AACA,uDAAyF;AAEzF,8EAAyG;AAezG,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,+BAAgC,SAAQ,sCAAmB;CAEvE;AAFD,0EAEC;AAED,MAAa,6CAA8C,SAAQ,sCAAmB;CAErF;AAFD,sGAEC;AAED,MAAa,cAAe,SAAQ,4CAAyB;CAE5D;AAFD,wCAEC;AAED,MAAa,YAAa,SAAQ,cAAc;CAE/C;AAFD,oCAEC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAEzD;AAFD,wDAEC;AAED,MAAa,mBAAmB;CAY/B;AAZD,kDAYC;AAED,MAAa,cAAc;CA8C1B;AA9CD,wCA8CC;AAED,MAAa,gBAAiB,SAAQ,cAAc;CAAG;AAAvD,4CAAuD;AAEvD,MAAa,gBAAiB,SAAQ,cAAc;CAInD;AAJD,4CAIC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAMjD;AAND,4CAMC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CAQ5D;AARD,4DAQC;AAED,MAAa,cAAc;CA4B1B;AA5BD,wCA4BC"}
|
@@ -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("./program-season-participant.dto"), exports);
|
18
17
|
__exportStar(require("./program-seasons.dto"), exports);
|
19
18
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
|
@@ -3,16 +3,13 @@ import { IdAndNameDto, PaginationMetaDto, PaginationQuery } from '../../dto/gene
|
|
3
3
|
import { Event } from '../../entity/Events';
|
4
4
|
import { BaseNotificationDto } from '../../notifications/dto/backoffice.notify.dto';
|
5
5
|
import { ByOrganizationIdDto, OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
|
6
|
+
import { Product } from '../../product-pricing/entities/Product';
|
6
7
|
import { ByProgramDto, UpdateProgramOptionsDto } from '../../programs/dto/program.dto';
|
7
8
|
import { MaintenanceDto } from '../../reservations/dto/maintenance.dto';
|
8
9
|
import { SlotTypeEnum } from '../../reservations/types/enums/reservation.enums';
|
9
10
|
import { ITimeSlotConflicts } from '../../reservations/types/interfaces/reservation.interfaces';
|
10
11
|
import { CreateOrUpdateResourceSettingDto } from '../../resource-settings/dto/create-or-update-resource-setting.dto';
|
11
12
|
import { GenderEnum, LevelOfPlayEnum, OrderByEnum, ProgramSeasonTypesEnum, ProgramTypesEnum, PublishingStatusEnum, RegistrationConstraintPeriodTypeEnum, ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
|
12
|
-
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
13
|
-
import { IGetProgramSeasonChildrenFilters, IGetProgramSeasonsChildrenOptions } from '../types/interfaces/program-season.interfaces';
|
14
|
-
import { EventSortByFieldsEnum, SegmentSortByFieldsEnum } from '../types/enums/program-season.enums';
|
15
|
-
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
16
13
|
import { ProgramSeason } from '../entities/ProgramSeason';
|
17
14
|
export declare class FindSessionsFiltersDto {
|
18
15
|
status?: PublishingStatusEnum;
|
@@ -67,7 +64,24 @@ export declare class BlockedDatesDto {
|
|
67
64
|
startDate: Date;
|
68
65
|
endDate: Date;
|
69
66
|
}
|
70
|
-
export declare class
|
67
|
+
export declare class RegistrationDatesDto {
|
68
|
+
registrationStartDate: Date;
|
69
|
+
registrationEndDate: Date;
|
70
|
+
earlyRegistrationStartDate?: Date;
|
71
|
+
earlyRegistrationEndDate?: Date;
|
72
|
+
lateRegistrationStartDate?: Date;
|
73
|
+
lateRegistrationEndDate?: Date;
|
74
|
+
}
|
75
|
+
export declare class RegistrationSettingsDto extends RegistrationDatesDto {
|
76
|
+
closeRegistrationPeriodValue?: number;
|
77
|
+
closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
78
|
+
closeRegistrationSpecTime?: string;
|
79
|
+
openRegistrationPeriodValue?: number;
|
80
|
+
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
81
|
+
openRegistrationSpecTime?: string;
|
82
|
+
productsIdsToUpdate?: number[];
|
83
|
+
}
|
84
|
+
export declare class BaseProgramSeasonDto extends RegistrationSettingsDto {
|
71
85
|
programId?: number;
|
72
86
|
name: string;
|
73
87
|
status: PublishingStatusEnum;
|
@@ -118,6 +132,7 @@ export declare class SubSeasonBasicInfo {
|
|
118
132
|
}
|
119
133
|
export declare class CreateProgramSeasonDto extends BaseProgramSeasonDto {
|
120
134
|
subSeasons?: SubSeasonBasicInfo[];
|
135
|
+
duplicateFromSeasonId?: number;
|
121
136
|
}
|
122
137
|
export declare class UpdateProgramSeasonDto extends BaseProgramSeasonDto {
|
123
138
|
seasonId: number;
|
@@ -160,7 +175,6 @@ export declare class SimpleSessionDto extends IdAndNameDto {
|
|
160
175
|
endDate: Date;
|
161
176
|
programType?: ProgramTypesEnum;
|
162
177
|
productCount?: number;
|
163
|
-
resources?: SimpleResourceDto[];
|
164
178
|
}
|
165
179
|
export declare class SpaceResourcePairDto {
|
166
180
|
resourceType: ResourceNameTypeEnum;
|
@@ -198,23 +212,6 @@ export declare class MoveAttendeeDto {
|
|
198
212
|
export declare class UpdateSeasonRegistrationDatesDto {
|
199
213
|
registrationPeriods: UpdateSeasonDatesDto[];
|
200
214
|
}
|
201
|
-
export declare class RegistrationDatesDto {
|
202
|
-
registrationStartDate: Date;
|
203
|
-
registrationEndDate: Date;
|
204
|
-
earlyRegistrationStartDate?: Date;
|
205
|
-
earlyRegistrationEndDate?: Date;
|
206
|
-
lateRegistrationStartDate?: Date;
|
207
|
-
lateRegistrationEndDate?: Date;
|
208
|
-
}
|
209
|
-
export declare class RegistrationSettingsDto extends RegistrationDatesDto {
|
210
|
-
closeRegistrationPeriodValue?: number;
|
211
|
-
closeRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
212
|
-
closeRegistrationSpecTime?: string;
|
213
|
-
openRegistrationPeriodValue?: number;
|
214
|
-
openRegistrationPeriodType?: RegistrationConstraintPeriodTypeEnum;
|
215
|
-
openRegistrationSpecTime?: string;
|
216
|
-
productsIdsToUpdate?: number[];
|
217
|
-
}
|
218
215
|
export declare class MoveParticipantDto {
|
219
216
|
userId: number;
|
220
217
|
oldProductId: number;
|
@@ -259,18 +256,7 @@ export declare class GetRelatedProgramSessionsDto {
|
|
259
256
|
statuses?: PublishingStatusEnum[];
|
260
257
|
includeProductsCount?: boolean;
|
261
258
|
}
|
262
|
-
export declare class
|
263
|
-
|
264
|
-
|
265
|
-
attendeeId?: number;
|
266
|
-
startDate?: string;
|
267
|
-
endDate?: string;
|
268
|
-
}
|
269
|
-
export declare class GetPaginatedSegmentsQueryDto extends GetPaginatedSessionQueryDto<ProgramSeason> {
|
270
|
-
orderBy?: SegmentSortByFieldsEnum;
|
271
|
-
order?: OrderByEnum;
|
272
|
-
}
|
273
|
-
export declare class GetPaginatedEventsQueryDto extends GetPaginatedSessionQueryDto<Event> {
|
274
|
-
orderBy?: EventSortByFieldsEnum;
|
275
|
-
order?: OrderByEnum;
|
259
|
+
export declare class SeasonWithProduct {
|
260
|
+
season: ProgramSeason;
|
261
|
+
product: Product;
|
276
262
|
}
|