@bondsports/types 1.19.33 → 1.19.35
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 +14 -4
- package/dist/types/dto/events.dto.js +4 -1
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/facilities.dto.d.ts +3 -1
- package/dist/types/dto/facilities.dto.js +4 -1
- package/dist/types/dto/facilities.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +15 -2
- package/dist/types/dto/general.dto.js +12 -3
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/index.d.ts +1 -1
- package/dist/types/dto/index.js +1 -1
- package/dist/types/dto/index.js.map +1 -1
- package/dist/types/dto/product.dto.d.ts +113 -0
- package/dist/types/dto/product.dto.js +44 -0
- package/dist/types/dto/product.dto.js.map +1 -0
- package/dist/types/dto/productPricing.dto.d.ts +3 -111
- package/dist/types/dto/productPricing.dto.js +2 -38
- package/dist/types/dto/productPricing.dto.js.map +1 -1
- package/dist/types/dto/program-seasons.dto.d.ts +5 -5
- package/dist/types/dto/program-seasons.dto.js +5 -2
- package/dist/types/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/dto/program.dto.d.ts +4 -1
- package/dist/types/dto/program.dto.js +5 -1
- package/dist/types/dto/program.dto.js.map +1 -1
- package/dist/types/dto/resource.dto.d.ts +3 -0
- package/dist/types/dto/resource.dto.js +5 -1
- package/dist/types/dto/resource.dto.js.map +1 -1
- package/dist/types/entity/Customer.d.ts +1 -1
- package/dist/types/entity/EventAttendees.d.ts +3 -1
- package/dist/types/entity/EventAttendees.js.map +1 -1
- package/dist/types/entity/Group.d.ts +1 -1
- package/dist/types/entity/Invoice.d.ts +1 -1
- package/dist/types/entity/InvoiceNote.d.ts +1 -1
- package/dist/types/entity/LinkedAccounts.d.ts +1 -1
- package/dist/types/entity/Media.d.ts +1 -1
- package/dist/types/entity/ProductsUsers.d.ts +13 -7
- package/dist/types/entity/ProductsUsers.js.map +1 -1
- package/dist/types/entity/SeasonAttendees.d.ts +1 -1
- package/dist/types/entity/TeamMember.d.ts +1 -1
- package/dist/types/entity/UserAuthorizations.d.ts +1 -1
- package/dist/types/entity/UserInFamilyAccount.d.ts +1 -1
- package/dist/types/entity/index.d.ts +0 -3
- package/dist/types/entity/index.js +0 -3
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/familyAccount/dto/addFamilyMember.dto.d.ts +1 -1
- package/dist/types/familyAccount/dto/getFamilies.dto.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/membership/interfaces/membership.interfaces.d.ts +1 -1
- package/dist/types/payment/dto/payment.dto.d.ts +2 -2
- package/dist/types/payment/dto/payment.dto.js +1 -2
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/payment/entities/Payment.d.ts +1 -1
- package/dist/types/payment/entities/PaymentNote.d.ts +1 -1
- package/dist/types/payment/types/consts/payment.consts.d.ts +1 -1
- package/dist/types/roles/entities/UserRole.d.ts +1 -1
- package/dist/types/services/interfaces.service.d.ts +1 -16
- package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
- package/dist/types/user/dto/index.d.ts +1 -0
- package/dist/types/user/dto/index.js +18 -0
- package/dist/types/user/dto/index.js.map +1 -0
- package/dist/types/user/dto/user.dto.d.ts +36 -0
- package/dist/types/user/dto/user.dto.js +23 -0
- package/dist/types/user/dto/user.dto.js.map +1 -0
- package/dist/types/{entity → user/entities}/Athlete.d.ts +1 -1
- package/dist/types/{entity → user/entities}/Athlete.js +1 -1
- package/dist/types/user/entities/Athlete.js.map +1 -0
- package/dist/types/{entity → user/entities}/AthleteSports.d.ts +2 -2
- package/dist/types/{entity → user/entities}/AthleteSports.js +1 -1
- package/dist/types/user/entities/AthleteSports.js.map +1 -0
- package/dist/types/{entity → user/entities}/User.d.ts +11 -11
- package/dist/types/{entity → user/entities}/User.js +1 -1
- package/dist/types/user/entities/User.js.map +1 -0
- package/dist/types/user/entities/index.d.ts +3 -0
- package/dist/types/user/entities/index.js +20 -0
- package/dist/types/user/entities/index.js.map +1 -0
- package/dist/types/user/index.d.ts +3 -0
- package/dist/types/user/index.js +20 -0
- package/dist/types/user/index.js.map +1 -0
- package/dist/types/user/types/index.d.ts +1 -0
- package/dist/types/user/types/index.js +18 -0
- package/dist/types/user/types/index.js.map +1 -0
- package/dist/types/user/types/interfaces/index.d.ts +1 -0
- package/dist/types/user/types/interfaces/index.js +18 -0
- package/dist/types/user/types/interfaces/index.js.map +1 -0
- package/dist/types/user/types/interfaces/user.interfaces.d.ts +4 -0
- package/dist/types/user/types/interfaces/user.interfaces.js +8 -0
- package/dist/types/user/types/interfaces/user.interfaces.js.map +1 -0
- package/package.json +1 -1
- package/dist/types/dto/user.dto.d.ts +0 -9
- package/dist/types/dto/user.dto.js +0 -13
- package/dist/types/dto/user.dto.js.map +0 -1
- package/dist/types/entity/Athlete.js.map +0 -1
- package/dist/types/entity/AthleteSports.js.map +0 -1
- package/dist/types/entity/User.js.map +0 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EntryStatusEnum, PaymentStatusEnum, ProgramTypesEnum } from '../services/enums.service';
|
|
3
|
-
import { PaginationRangeQuery } from './general.dto';
|
|
1
|
+
import { Event } from '../entity/Events';
|
|
4
2
|
import { MaintenanceDto } from '../reservations/dto/maintenance.dto';
|
|
5
3
|
import { Slot } from '../reservations/entities/Slots';
|
|
6
|
-
import {
|
|
4
|
+
import { EntryStatusEnum, PaymentStatusEnum, ProgramTypesEnum } from '../services/enums.service';
|
|
5
|
+
import { IBasicSpaceAndSlotCreator } from '../services/interfaces.service';
|
|
6
|
+
import { IdDto, PaginationRangeQuery } from './general.dto';
|
|
7
|
+
import { SimpleResourceDto } from './resource.dto';
|
|
7
8
|
export declare class FindEventByIdDto {
|
|
8
9
|
eventId: number;
|
|
9
10
|
organizationId: number;
|
|
@@ -121,3 +122,12 @@ export declare class UpdateEvent {
|
|
|
121
122
|
spacesIds: number[];
|
|
122
123
|
maintenance: MaintenanceDto[];
|
|
123
124
|
}
|
|
125
|
+
export declare class SimpleEventDto extends IdDto {
|
|
126
|
+
startDate: Date;
|
|
127
|
+
endDate: Date;
|
|
128
|
+
startDateString: string;
|
|
129
|
+
endDateString: string;
|
|
130
|
+
startTime: string;
|
|
131
|
+
endTime: string;
|
|
132
|
+
resources: SimpleResourceDto[];
|
|
133
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateEvent = exports.FindEventAttendeeOptionsDto = exports.ProgramSessionLandingPageDto = exports.ProgramLandingPageQueryDto = exports.ProgramLandingPageDto = exports.FacilityEventsScheduleQueryParams = exports.FindByFacilityIdAndOrganizationIdDto = exports.FindByFacilityIdDto = exports.UpdateMultipleEventsDto = exports.EventsIdsQueryDto = exports.AddEventsToSessionResponseDto = exports.AddEventToSessionDto = exports.UpdateEventResponseDto = exports.UpdateEventDto = exports.UpdateMultipleEventsResponseDto = exports.FindEventByIdDto = void 0;
|
|
3
|
+
exports.SimpleEventDto = exports.UpdateEvent = exports.FindEventAttendeeOptionsDto = exports.ProgramSessionLandingPageDto = exports.ProgramLandingPageQueryDto = exports.ProgramLandingPageDto = exports.FacilityEventsScheduleQueryParams = exports.FindByFacilityIdAndOrganizationIdDto = exports.FindByFacilityIdDto = exports.UpdateMultipleEventsDto = exports.EventsIdsQueryDto = exports.AddEventsToSessionResponseDto = exports.AddEventToSessionDto = exports.UpdateEventResponseDto = exports.UpdateEventDto = exports.UpdateMultipleEventsResponseDto = exports.FindEventByIdDto = void 0;
|
|
4
4
|
const general_dto_1 = require("./general.dto");
|
|
5
5
|
class FindEventByIdDto {
|
|
6
6
|
}
|
|
@@ -50,4 +50,7 @@ exports.FindEventAttendeeOptionsDto = FindEventAttendeeOptionsDto;
|
|
|
50
50
|
class UpdateEvent {
|
|
51
51
|
}
|
|
52
52
|
exports.UpdateEvent = UpdateEvent;
|
|
53
|
+
class SimpleEventDto extends general_dto_1.IdDto {
|
|
54
|
+
}
|
|
55
|
+
exports.SimpleEventDto = SimpleEventDto;
|
|
53
56
|
//# sourceMappingURL=events.dto.js.map
|
|
@@ -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":";;;AAKA,+CAA4D;AAG5D,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,+BAA+B;CAE3C;AAFD,0EAEC;AAED,MAAa,cAAc;CAwB1B;AAxBD,wCAwBC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,uBAAuB;CAsBnC;AAtBD,0DAsBC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAuCD,MAAa,2BAA4B,SAAQ,kCAAoB;CAYpE;AAZD,kEAYC;AAED,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,cAAe,SAAQ,mBAAK;CAcxC;AAdD,wCAcC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PaginationQuery } from './general.dto';
|
|
1
|
+
import { IdAndNameDto, PaginationQuery } from './general.dto';
|
|
2
2
|
export declare class AddressDto {
|
|
3
3
|
city: string;
|
|
4
4
|
state: string;
|
|
@@ -42,3 +42,5 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
42
42
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
43
43
|
nameSearch?: string;
|
|
44
44
|
}
|
|
45
|
+
export declare class SimpleFacilityDto extends IdAndNameDto {
|
|
46
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FindFacilitiesOptionsDto = exports.UpdateFacilityAmenitiesDto = exports.UpdateFacilitySportsDto = exports.UpdateFacilityOpeningTimesDto = exports.UpdateFacilityDetailsDto = exports.CreateFacilityDto = exports.OpeningTimeDto = exports.AddressDto = void 0;
|
|
3
|
+
exports.SimpleFacilityDto = exports.FindFacilitiesOptionsDto = exports.UpdateFacilityAmenitiesDto = exports.UpdateFacilitySportsDto = exports.UpdateFacilityOpeningTimesDto = exports.UpdateFacilityDetailsDto = exports.CreateFacilityDto = exports.OpeningTimeDto = exports.AddressDto = void 0;
|
|
4
4
|
const general_dto_1 = require("./general.dto");
|
|
5
5
|
class AddressDto {
|
|
6
6
|
}
|
|
@@ -26,4 +26,7 @@ exports.UpdateFacilityAmenitiesDto = UpdateFacilityAmenitiesDto;
|
|
|
26
26
|
class FindFacilitiesOptionsDto extends general_dto_1.PaginationQuery {
|
|
27
27
|
}
|
|
28
28
|
exports.FindFacilitiesOptionsDto = FindFacilitiesOptionsDto;
|
|
29
|
+
class SimpleFacilityDto extends general_dto_1.IdAndNameDto {
|
|
30
|
+
}
|
|
31
|
+
exports.SimpleFacilityDto = SimpleFacilityDto;
|
|
29
32
|
//# sourceMappingURL=facilities.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../src/types/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAAA,+
|
|
1
|
+
{"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../src/types/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAAA,+CAA8D;AAE9D,MAAa,UAAU;CAQtB;AARD,gCAQC;AAED,MAAa,cAAc;CAM1B;AAND,wCAMC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,wBAAwB;CAYpC;AAZD,4DAYC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CAE5D;AAFD,4DAEC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD"}
|
|
@@ -11,11 +11,24 @@ export declare class PaginationRangeQuery {
|
|
|
11
11
|
endPage: number;
|
|
12
12
|
itemsPerPage: number;
|
|
13
13
|
}
|
|
14
|
-
export declare class
|
|
14
|
+
export declare class PaginationMetaDto {
|
|
15
|
+
totalItems: number;
|
|
16
|
+
itemsPerPage: number;
|
|
17
|
+
totalPages: number;
|
|
18
|
+
currentPage: number;
|
|
19
|
+
}
|
|
20
|
+
export declare class PaginationResultDto<T = any> {
|
|
21
|
+
meta: PaginationMetaDto;
|
|
22
|
+
data: T[];
|
|
23
|
+
}
|
|
24
|
+
export declare class IdDto {
|
|
15
25
|
id: number;
|
|
16
26
|
}
|
|
27
|
+
export declare class IdAndNameDto extends IdDto {
|
|
28
|
+
name: string;
|
|
29
|
+
}
|
|
17
30
|
export declare class AuthenticatedRequestDto {
|
|
18
|
-
user:
|
|
31
|
+
user: IdDto;
|
|
19
32
|
}
|
|
20
33
|
export declare class IdsDto {
|
|
21
34
|
ids: number[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.
|
|
3
|
+
exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.PaginationQuery = exports.FindOneParams = void 0;
|
|
4
4
|
class FindOneParams {
|
|
5
5
|
}
|
|
6
6
|
exports.FindOneParams = FindOneParams;
|
|
@@ -29,9 +29,18 @@ class PaginationRangeQuery {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
exports.PaginationRangeQuery = PaginationRangeQuery;
|
|
32
|
-
class
|
|
32
|
+
class PaginationMetaDto {
|
|
33
33
|
}
|
|
34
|
-
exports.
|
|
34
|
+
exports.PaginationMetaDto = PaginationMetaDto;
|
|
35
|
+
class PaginationResultDto {
|
|
36
|
+
}
|
|
37
|
+
exports.PaginationResultDto = PaginationResultDto;
|
|
38
|
+
class IdDto {
|
|
39
|
+
}
|
|
40
|
+
exports.IdDto = IdDto;
|
|
41
|
+
class IdAndNameDto extends IdDto {
|
|
42
|
+
}
|
|
43
|
+
exports.IdAndNameDto = IdAndNameDto;
|
|
35
44
|
class AuthenticatedRequestDto {
|
|
36
45
|
}
|
|
37
46
|
exports.AuthenticatedRequestDto = AuthenticatedRequestDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAM,8BAA8B,GAAG,EAAE,CAAC;AAC1C,MAAM,8BAA8B,GAAG,EAAE,CAAC;AAC1C,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAa,eAAe;IAA5B;QAYC,SAAI,GAAG,YAAY,CAAC;QAEpB,iBAAY,GAAG,8BAA8B,CAAC;IAC/C,CAAC;IAdA,MAAM,CAAC,KAAK,CACX,KAA+B,EAC/B,eAAe,GAAG,8BAA8B,EAChD,eAAe,GAAG,8BAA8B;;QAEhD,OAAO;YACN,IAAI,EAAE,MAAA,KAAK,CAAC,IAAI,mCAAI,YAAY;YAChC,YAAY,EAAE,IAAI,CAAC,GAAG,CAAC,eAAe,EAAE,MAAA,KAAK,CAAC,YAAY,mCAAI,eAAe,CAAC;SAC9E,CAAC;IACH,CAAC;CAKD;AAfD,0CAeC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QACd,YAAO,GAAG,CAAC,CAAC;QACZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;AAJD,oDAIC;AAED,MAAa,
|
|
1
|
+
{"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAM,8BAA8B,GAAG,EAAE,CAAC;AAC1C,MAAM,8BAA8B,GAAG,EAAE,CAAC;AAC1C,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAa,eAAe;IAA5B;QAYC,SAAI,GAAG,YAAY,CAAC;QAEpB,iBAAY,GAAG,8BAA8B,CAAC;IAC/C,CAAC;IAdA,MAAM,CAAC,KAAK,CACX,KAA+B,EAC/B,eAAe,GAAG,8BAA8B,EAChD,eAAe,GAAG,8BAA8B;;QAEhD,OAAO;YACN,IAAI,EAAE,MAAA,KAAK,CAAC,IAAI,mCAAI,YAAY;YAChC,YAAY,EAAE,IAAI,CAAC,GAAG,CAAC,eAAe,EAAE,MAAA,KAAK,CAAC,YAAY,mCAAI,eAAe,CAAC;SAC9E,CAAC;IACH,CAAC;CAKD;AAfD,0CAeC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QACd,YAAO,GAAG,CAAC,CAAC;QACZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;AAJD,oDAIC;AAED,MAAa,iBAAiB;CAQ7B;AARD,8CAQC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;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,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC"}
|
|
@@ -10,6 +10,7 @@ export * from './glcodes.dto';
|
|
|
10
10
|
export * from './groupsDivisions.dto';
|
|
11
11
|
export * from './membership.dto';
|
|
12
12
|
export * from './pricing.dto';
|
|
13
|
+
export * from './product.dto';
|
|
13
14
|
export * from './productPricing.dto';
|
|
14
15
|
export * from './productVariants.dto';
|
|
15
16
|
export * from './program-seasons.dto';
|
|
@@ -20,4 +21,3 @@ export * from './resource.dto';
|
|
|
20
21
|
export * from './response.dto';
|
|
21
22
|
export * from './space.dto';
|
|
22
23
|
export * from './stripe.dto';
|
|
23
|
-
export * from './user.dto';
|
package/dist/types/dto/index.js
CHANGED
|
@@ -26,6 +26,7 @@ __exportStar(require("./glcodes.dto"), exports);
|
|
|
26
26
|
__exportStar(require("./groupsDivisions.dto"), exports);
|
|
27
27
|
__exportStar(require("./membership.dto"), exports);
|
|
28
28
|
__exportStar(require("./pricing.dto"), exports);
|
|
29
|
+
__exportStar(require("./product.dto"), exports);
|
|
29
30
|
__exportStar(require("./productPricing.dto"), exports);
|
|
30
31
|
__exportStar(require("./productVariants.dto"), exports);
|
|
31
32
|
__exportStar(require("./program-seasons.dto"), exports);
|
|
@@ -36,5 +37,4 @@ __exportStar(require("./resource.dto"), exports);
|
|
|
36
37
|
__exportStar(require("./response.dto"), exports);
|
|
37
38
|
__exportStar(require("./space.dto"), exports);
|
|
38
39
|
__exportStar(require("./stripe.dto"), exports);
|
|
39
|
-
__exportStar(require("./user.dto"), exports);
|
|
40
40
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,gDAA8B;AAC9B,wDAAsC;AACtC,mDAAiC;AACjC,gDAA8B;AAC9B,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,iDAA+B;AAC/B,iDAA+B;AAC/B,8CAA4B;AAC5B,+CAA6B
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,gDAA8B;AAC9B,wDAAsC;AACtC,mDAAiC;AACjC,gDAA8B;AAC9B,gDAA8B;AAC9B,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,iDAA+B;AAC/B,iDAA+B;AAC/B,8CAA4B;AAC5B,+CAA6B"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { AddonTimePeriodEnum, PackageProductsRelationTypeEnum, ProductPackageLevelEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../services/enums.service';
|
|
2
|
+
import { IdAndNameDto, PaginationQuery } from './general.dto';
|
|
3
|
+
import { CreateGroupPricingWithProduct } from './pricing.dto';
|
|
4
|
+
import { CreatePaymentPlanDto, CreatePriceDto, ExistingProductToPackageDto, VariantWithPrice } from './productPricing.dto';
|
|
5
|
+
export declare class FindByProductIdDto {
|
|
6
|
+
productId: number;
|
|
7
|
+
}
|
|
8
|
+
export declare class CreateProductsDto {
|
|
9
|
+
products: CreateProductDto[];
|
|
10
|
+
addOnsData?: ProductInPackage[];
|
|
11
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
12
|
+
}
|
|
13
|
+
export declare class CreateProductDto {
|
|
14
|
+
id?: number;
|
|
15
|
+
organizationId: number;
|
|
16
|
+
name: string;
|
|
17
|
+
quantity?: number;
|
|
18
|
+
isAll?: boolean;
|
|
19
|
+
isPublic: boolean;
|
|
20
|
+
startDate?: Date;
|
|
21
|
+
endDate?: Date;
|
|
22
|
+
description?: string;
|
|
23
|
+
resourcesType?: ResourceNameTypeEnum;
|
|
24
|
+
resourcesIdsToApplyOn?: number[];
|
|
25
|
+
GL?: string;
|
|
26
|
+
prices: CreatePriceDto[];
|
|
27
|
+
downpayment?: number;
|
|
28
|
+
productType: ProductTypesEnum;
|
|
29
|
+
subProductType?: string;
|
|
30
|
+
defaultForResourceId?: number;
|
|
31
|
+
defaultForResourceType?: ResourceNameTypeEnum;
|
|
32
|
+
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
33
|
+
variantTitleIds?: number[];
|
|
34
|
+
variants?: VariantWithPrice[];
|
|
35
|
+
variantParentId?: number;
|
|
36
|
+
isAddon?: boolean;
|
|
37
|
+
isArchive?: boolean;
|
|
38
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
39
|
+
isProRated?: boolean;
|
|
40
|
+
paymentPlan?: CreatePaymentPlanDto;
|
|
41
|
+
isTaxInclusive?: boolean;
|
|
42
|
+
tax?: number;
|
|
43
|
+
sports?: number[];
|
|
44
|
+
durationMinutes?: number;
|
|
45
|
+
durationDays?: number;
|
|
46
|
+
forms?: number[];
|
|
47
|
+
isForAllCustomers?: boolean;
|
|
48
|
+
membershipsAvailableFor?: number[];
|
|
49
|
+
customersAvailableFor?: number[];
|
|
50
|
+
addons?: CreateRentalProductAddonDto[];
|
|
51
|
+
availabilityTimes?: CreateProductAvailabilityTimesDto[];
|
|
52
|
+
}
|
|
53
|
+
export declare class ProductInPackage extends CreateProductDto {
|
|
54
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
55
|
+
amountInPackage?: number;
|
|
56
|
+
level?: ProductPackageLevelEnum;
|
|
57
|
+
}
|
|
58
|
+
export declare class ConnectProductResourceDto {
|
|
59
|
+
productId: number;
|
|
60
|
+
resourceType: ResourceNameTypeEnum;
|
|
61
|
+
resourceIds: number[];
|
|
62
|
+
}
|
|
63
|
+
export declare class ReturnRequiredProductsDto {
|
|
64
|
+
userId: number;
|
|
65
|
+
productId: number;
|
|
66
|
+
redeemRelevantDate?: string;
|
|
67
|
+
}
|
|
68
|
+
export declare class AddRequiredProductsDto {
|
|
69
|
+
productId: number;
|
|
70
|
+
requiredProductIds: number[];
|
|
71
|
+
}
|
|
72
|
+
export declare class ProductsIdsDto extends PaginationQuery {
|
|
73
|
+
productIds?: number[];
|
|
74
|
+
includePrices?: boolean;
|
|
75
|
+
productType?: ProductTypesEnum;
|
|
76
|
+
includeAddons?: string;
|
|
77
|
+
}
|
|
78
|
+
export declare class GetProductsDto extends PaginationQuery {
|
|
79
|
+
productIds?: string;
|
|
80
|
+
includePrices?: boolean;
|
|
81
|
+
productType?: string;
|
|
82
|
+
productSubType?: string;
|
|
83
|
+
search?: string;
|
|
84
|
+
includeAddons?: boolean;
|
|
85
|
+
includeArchived?: boolean;
|
|
86
|
+
includeAllData?: boolean;
|
|
87
|
+
resourceIds?: string;
|
|
88
|
+
sports?: string;
|
|
89
|
+
}
|
|
90
|
+
export declare class GetExtraProductDataDto {
|
|
91
|
+
isPublic?: boolean;
|
|
92
|
+
isGetByChildResources?: boolean;
|
|
93
|
+
isGetEntitlePricing?: boolean;
|
|
94
|
+
isGetAddOns?: boolean;
|
|
95
|
+
includeResources?: boolean;
|
|
96
|
+
includeArchived?: boolean;
|
|
97
|
+
}
|
|
98
|
+
export declare class CreateRentalProductAddonDto {
|
|
99
|
+
productId: number;
|
|
100
|
+
price: number;
|
|
101
|
+
isFlatPrice: boolean;
|
|
102
|
+
isMandatory: boolean;
|
|
103
|
+
level: ProductPackageLevelEnum;
|
|
104
|
+
}
|
|
105
|
+
export declare class CreateProductAvailabilityTimesDto {
|
|
106
|
+
availabilityStartDate?: string;
|
|
107
|
+
availabilityEndDate?: string;
|
|
108
|
+
daysOfWeek: number[];
|
|
109
|
+
startTime: string;
|
|
110
|
+
endTime: string;
|
|
111
|
+
}
|
|
112
|
+
export declare class SimpleProductDto extends IdAndNameDto {
|
|
113
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SimpleProductDto = exports.CreateProductAvailabilityTimesDto = exports.CreateRentalProductAddonDto = exports.GetExtraProductDataDto = exports.GetProductsDto = exports.ProductsIdsDto = exports.AddRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.ConnectProductResourceDto = exports.ProductInPackage = exports.CreateProductDto = exports.CreateProductsDto = exports.FindByProductIdDto = void 0;
|
|
4
|
+
const general_dto_1 = require("./general.dto");
|
|
5
|
+
class FindByProductIdDto {
|
|
6
|
+
}
|
|
7
|
+
exports.FindByProductIdDto = FindByProductIdDto;
|
|
8
|
+
class CreateProductsDto {
|
|
9
|
+
}
|
|
10
|
+
exports.CreateProductsDto = CreateProductsDto;
|
|
11
|
+
class CreateProductDto {
|
|
12
|
+
}
|
|
13
|
+
exports.CreateProductDto = CreateProductDto;
|
|
14
|
+
class ProductInPackage extends CreateProductDto {
|
|
15
|
+
}
|
|
16
|
+
exports.ProductInPackage = ProductInPackage;
|
|
17
|
+
class ConnectProductResourceDto {
|
|
18
|
+
}
|
|
19
|
+
exports.ConnectProductResourceDto = ConnectProductResourceDto;
|
|
20
|
+
class ReturnRequiredProductsDto {
|
|
21
|
+
}
|
|
22
|
+
exports.ReturnRequiredProductsDto = ReturnRequiredProductsDto;
|
|
23
|
+
class AddRequiredProductsDto {
|
|
24
|
+
}
|
|
25
|
+
exports.AddRequiredProductsDto = AddRequiredProductsDto;
|
|
26
|
+
class ProductsIdsDto extends general_dto_1.PaginationQuery {
|
|
27
|
+
}
|
|
28
|
+
exports.ProductsIdsDto = ProductsIdsDto;
|
|
29
|
+
class GetProductsDto extends general_dto_1.PaginationQuery {
|
|
30
|
+
}
|
|
31
|
+
exports.GetProductsDto = GetProductsDto;
|
|
32
|
+
class GetExtraProductDataDto {
|
|
33
|
+
}
|
|
34
|
+
exports.GetExtraProductDataDto = GetExtraProductDataDto;
|
|
35
|
+
class CreateRentalProductAddonDto {
|
|
36
|
+
}
|
|
37
|
+
exports.CreateRentalProductAddonDto = CreateRentalProductAddonDto;
|
|
38
|
+
class CreateProductAvailabilityTimesDto {
|
|
39
|
+
}
|
|
40
|
+
exports.CreateProductAvailabilityTimesDto = CreateProductAvailabilityTimesDto;
|
|
41
|
+
class SimpleProductDto extends general_dto_1.IdAndNameDto {
|
|
42
|
+
}
|
|
43
|
+
exports.SimpleProductDto = SimpleProductDto;
|
|
44
|
+
//# sourceMappingURL=product.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../src/types/dto/product.dto.ts"],"names":[],"mappings":";;;AAOA,+CAA8D;AAS9D,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAa,gBAAgB;CA4E5B;AA5ED,4CA4EC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD;AAND,4CAMC;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;CAoBlD;AApBD,wCAoBC;AAED,MAAa,sBAAsB;CAOlC;AAPD,wDAOC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAAG;AAArD,4CAAqD"}
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
+
import { PaymentPlanDto } from '../payment/dto/payment.dto';
|
|
2
|
+
import { AddonTimePeriodEnum, CurrencyEnum, DiscountMethodsEnum, PackageProductsRelationTypeEnum, ProductPackageLevelEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../services/enums.service';
|
|
1
3
|
import { UserAnswersDto } from './application.dto';
|
|
2
|
-
import { CreateGroupPricingWithProduct } from './pricing.dto';
|
|
3
|
-
import { AddonTimePeriodEnum, CurrencyEnum, DiscountMethodsEnum, PackageProductsRelationTypeEnum, ProductPackageLevelEnum, ProductTypesEnum } from '../services/enums.service';
|
|
4
|
-
import { ResourceNameTypeEnum } from '../services/enums.service';
|
|
5
4
|
import { PaginationQuery } from './general.dto';
|
|
6
|
-
import {
|
|
5
|
+
import { ProductInPackage } from './product.dto';
|
|
7
6
|
import { ResourceDto } from './resource.dto';
|
|
8
|
-
export declare class FindByProductIdDto {
|
|
9
|
-
productId: number;
|
|
10
|
-
}
|
|
11
7
|
export declare class FindPriceOfProductDto {
|
|
12
8
|
id: number;
|
|
13
9
|
userId: number;
|
|
@@ -24,54 +20,9 @@ export declare class FindPackageByResourceDto {
|
|
|
24
20
|
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
25
21
|
organizationId: number;
|
|
26
22
|
}
|
|
27
|
-
export declare class CreateProductsDto {
|
|
28
|
-
products: CreateProductDto[];
|
|
29
|
-
addOnsData?: ProductInPackage[];
|
|
30
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
31
|
-
}
|
|
32
23
|
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
33
24
|
name: string;
|
|
34
25
|
}
|
|
35
|
-
export declare class CreateProductDto {
|
|
36
|
-
id?: number;
|
|
37
|
-
organizationId: number;
|
|
38
|
-
name: string;
|
|
39
|
-
quantity?: number;
|
|
40
|
-
isAll?: boolean;
|
|
41
|
-
isPublic: boolean;
|
|
42
|
-
startDate?: Date;
|
|
43
|
-
endDate?: Date;
|
|
44
|
-
description?: string;
|
|
45
|
-
resourcesType?: ResourceNameTypeEnum;
|
|
46
|
-
resourcesIdsToApplyOn?: number[];
|
|
47
|
-
GL?: string;
|
|
48
|
-
prices: CreatePriceDto[];
|
|
49
|
-
downpayment?: number;
|
|
50
|
-
productType: ProductTypesEnum;
|
|
51
|
-
subProductType?: string;
|
|
52
|
-
defaultForResourceId?: number;
|
|
53
|
-
defaultForResourceType?: ResourceNameTypeEnum;
|
|
54
|
-
entitlementGroupsPricings?: CreateGroupPricingWithProduct[];
|
|
55
|
-
variantTitleIds?: number[];
|
|
56
|
-
variants?: VariantWithPrice[];
|
|
57
|
-
variantParentId?: number;
|
|
58
|
-
isAddon?: boolean;
|
|
59
|
-
isArchive?: boolean;
|
|
60
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
61
|
-
isProRated?: boolean;
|
|
62
|
-
paymentPlan?: CreatePaymentPlanDto;
|
|
63
|
-
isTaxInclusive?: boolean;
|
|
64
|
-
tax?: number;
|
|
65
|
-
sports?: number[];
|
|
66
|
-
durationMinutes?: number;
|
|
67
|
-
durationDays?: number;
|
|
68
|
-
forms?: number[];
|
|
69
|
-
isForAllCustomers?: boolean;
|
|
70
|
-
membershipsAvailableFor?: number[];
|
|
71
|
-
customersAvailableFor?: number[];
|
|
72
|
-
addons?: createRentalProductAddonDto[];
|
|
73
|
-
availabilityTimes?: createProductAvailabilityTimesDto[];
|
|
74
|
-
}
|
|
75
26
|
export declare class VariantWithPrice {
|
|
76
27
|
variantIds: number[];
|
|
77
28
|
price: CreatePriceDto[];
|
|
@@ -98,59 +49,22 @@ export declare class CreatePackageToResourceDto {
|
|
|
98
49
|
isCreateToChildProducts: boolean;
|
|
99
50
|
productsData: ProductInPackage[];
|
|
100
51
|
}
|
|
101
|
-
export declare class ProductInPackage extends CreateProductDto {
|
|
102
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
103
|
-
amountInPackage?: number;
|
|
104
|
-
level?: ProductPackageLevelEnum;
|
|
105
|
-
}
|
|
106
52
|
export declare class ExistingProductToPackageDto {
|
|
107
53
|
relationType: PackageProductsRelationTypeEnum;
|
|
108
54
|
id: number;
|
|
109
55
|
timePeriod?: AddonTimePeriodEnum;
|
|
110
56
|
level?: ProductPackageLevelEnum;
|
|
111
57
|
}
|
|
112
|
-
export declare class ConnectProductResourceDto {
|
|
113
|
-
productId: number;
|
|
114
|
-
resourceType: ResourceNameTypeEnum;
|
|
115
|
-
resourceIds: number[];
|
|
116
|
-
}
|
|
117
|
-
export declare class ReturnRequiredProductsDto {
|
|
118
|
-
userId: number;
|
|
119
|
-
productId: number;
|
|
120
|
-
redeemRelevantDate?: string;
|
|
121
|
-
}
|
|
122
58
|
export declare class FindByProductUserIdsDto {
|
|
123
59
|
userId: number;
|
|
124
60
|
organizationId: number;
|
|
125
61
|
}
|
|
126
|
-
export declare class AddRequiredProductsDto {
|
|
127
|
-
productId: number;
|
|
128
|
-
requiredProductIds: number[];
|
|
129
|
-
}
|
|
130
|
-
export declare class ProductsIdsDto extends PaginationQuery {
|
|
131
|
-
productIds?: number[];
|
|
132
|
-
includePrices?: boolean;
|
|
133
|
-
productType?: ProductTypesEnum;
|
|
134
|
-
includeAddons?: string;
|
|
135
|
-
}
|
|
136
62
|
export declare class GetByOrganizationIdDto {
|
|
137
63
|
organizationId?: number;
|
|
138
64
|
}
|
|
139
65
|
export declare class GetByOrgIdInvoiceIdDto extends GetByOrganizationIdDto {
|
|
140
66
|
invoiceId?: number;
|
|
141
67
|
}
|
|
142
|
-
export declare class GetProductsDto extends PaginationQuery {
|
|
143
|
-
productIds?: string;
|
|
144
|
-
includePrices?: boolean;
|
|
145
|
-
productType?: string;
|
|
146
|
-
productSubType?: string;
|
|
147
|
-
search?: string;
|
|
148
|
-
includeAddons?: boolean;
|
|
149
|
-
includeArchived?: boolean;
|
|
150
|
-
includeAllData?: boolean;
|
|
151
|
-
resourceIds?: string;
|
|
152
|
-
sports?: string;
|
|
153
|
-
}
|
|
154
68
|
export declare class GetAllVariantTitlesDto {
|
|
155
69
|
organizationId: number;
|
|
156
70
|
}
|
|
@@ -171,14 +85,6 @@ export declare class UpdateVariantTitleDto {
|
|
|
171
85
|
export declare class GetByCustomerIdDto extends PaginationQuery {
|
|
172
86
|
customerId: number;
|
|
173
87
|
}
|
|
174
|
-
export declare class GetExtraProductDataDto {
|
|
175
|
-
isPublic?: boolean;
|
|
176
|
-
isGetByChildResources?: boolean;
|
|
177
|
-
isGetEntitlePricing?: boolean;
|
|
178
|
-
isGetAddOns?: boolean;
|
|
179
|
-
includeResources?: boolean;
|
|
180
|
-
includeArchived?: boolean;
|
|
181
|
-
}
|
|
182
88
|
export declare class GetBySessionType {
|
|
183
89
|
sessionType: 'event' | 'segment';
|
|
184
90
|
}
|
|
@@ -206,20 +112,6 @@ export declare class SetStationSubcategoriesDto {
|
|
|
206
112
|
subcategoryIds?: number[];
|
|
207
113
|
categories?: string[];
|
|
208
114
|
}
|
|
209
|
-
export declare class createRentalProductAddonDto {
|
|
210
|
-
productId: number;
|
|
211
|
-
price: number;
|
|
212
|
-
isFlatPrice: boolean;
|
|
213
|
-
isMandatory: boolean;
|
|
214
|
-
level: ProductPackageLevelEnum;
|
|
215
|
-
}
|
|
216
|
-
export declare class createProductAvailabilityTimesDto {
|
|
217
|
-
availabilityStartDate?: string;
|
|
218
|
-
availabilityEndDate?: string;
|
|
219
|
-
daysOfWeek: number[];
|
|
220
|
-
startTime: string;
|
|
221
|
-
endTime: string;
|
|
222
|
-
}
|
|
223
115
|
export declare class createResourceDto {
|
|
224
116
|
resourceId: number;
|
|
225
117
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.archiveDto = exports.createResourceDto = exports.
|
|
4
|
-
const general_dto_1 = require("./general.dto");
|
|
3
|
+
exports.archiveDto = exports.createResourceDto = exports.SetStationSubcategoriesDto = exports.GetSubcategoryDto = exports.UpdateSubcategoryDto = exports.CreateSubcategoriesDto = exports.CreateSubcategoryDto = exports.GetBySessionType = exports.GetByCustomerIdDto = exports.UpdateVariantTitleDto = exports.CreateVariantTitleDto = exports.GetAllOrganizationAddonsDto = exports.GetAllVariantTitlesDto = exports.GetByOrgIdInvoiceIdDto = exports.GetByOrganizationIdDto = exports.FindByProductUserIdsDto = exports.ExistingProductToPackageDto = exports.CreatePackageToResourceDto = exports.CreatePackageDto = exports.CreatePriceDto = exports.VariantWithPrice = exports.CreatePaymentPlanDto = exports.FindProductsByResourceAsOrganizationDto = exports.FindPackageByResourceDto = exports.FindPricesOfProductsDto = exports.FindPriceOfProductDto = void 0;
|
|
5
4
|
const payment_dto_1 = require("../payment/dto/payment.dto");
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
exports.FindByProductIdDto = FindByProductIdDto;
|
|
5
|
+
const general_dto_1 = require("./general.dto");
|
|
9
6
|
class FindPriceOfProductDto {
|
|
10
7
|
}
|
|
11
8
|
exports.FindPriceOfProductDto = FindPriceOfProductDto;
|
|
@@ -18,15 +15,9 @@ exports.FindPackageByResourceDto = FindPackageByResourceDto;
|
|
|
18
15
|
class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
19
16
|
}
|
|
20
17
|
exports.FindProductsByResourceAsOrganizationDto = FindProductsByResourceAsOrganizationDto;
|
|
21
|
-
class CreateProductsDto {
|
|
22
|
-
}
|
|
23
|
-
exports.CreateProductsDto = CreateProductsDto;
|
|
24
18
|
class CreatePaymentPlanDto extends payment_dto_1.PaymentPlanDto {
|
|
25
19
|
}
|
|
26
20
|
exports.CreatePaymentPlanDto = CreatePaymentPlanDto;
|
|
27
|
-
class CreateProductDto {
|
|
28
|
-
}
|
|
29
|
-
exports.CreateProductDto = CreateProductDto;
|
|
30
21
|
class VariantWithPrice {
|
|
31
22
|
}
|
|
32
23
|
exports.VariantWithPrice = VariantWithPrice;
|
|
@@ -39,36 +30,18 @@ exports.CreatePackageDto = CreatePackageDto;
|
|
|
39
30
|
class CreatePackageToResourceDto {
|
|
40
31
|
}
|
|
41
32
|
exports.CreatePackageToResourceDto = CreatePackageToResourceDto;
|
|
42
|
-
class ProductInPackage extends CreateProductDto {
|
|
43
|
-
}
|
|
44
|
-
exports.ProductInPackage = ProductInPackage;
|
|
45
33
|
class ExistingProductToPackageDto {
|
|
46
34
|
}
|
|
47
35
|
exports.ExistingProductToPackageDto = ExistingProductToPackageDto;
|
|
48
|
-
class ConnectProductResourceDto {
|
|
49
|
-
}
|
|
50
|
-
exports.ConnectProductResourceDto = ConnectProductResourceDto;
|
|
51
|
-
class ReturnRequiredProductsDto {
|
|
52
|
-
}
|
|
53
|
-
exports.ReturnRequiredProductsDto = ReturnRequiredProductsDto;
|
|
54
36
|
class FindByProductUserIdsDto {
|
|
55
37
|
}
|
|
56
38
|
exports.FindByProductUserIdsDto = FindByProductUserIdsDto;
|
|
57
|
-
class AddRequiredProductsDto {
|
|
58
|
-
}
|
|
59
|
-
exports.AddRequiredProductsDto = AddRequiredProductsDto;
|
|
60
|
-
class ProductsIdsDto extends general_dto_1.PaginationQuery {
|
|
61
|
-
}
|
|
62
|
-
exports.ProductsIdsDto = ProductsIdsDto;
|
|
63
39
|
class GetByOrganizationIdDto {
|
|
64
40
|
}
|
|
65
41
|
exports.GetByOrganizationIdDto = GetByOrganizationIdDto;
|
|
66
42
|
class GetByOrgIdInvoiceIdDto extends GetByOrganizationIdDto {
|
|
67
43
|
}
|
|
68
44
|
exports.GetByOrgIdInvoiceIdDto = GetByOrgIdInvoiceIdDto;
|
|
69
|
-
class GetProductsDto extends general_dto_1.PaginationQuery {
|
|
70
|
-
}
|
|
71
|
-
exports.GetProductsDto = GetProductsDto;
|
|
72
45
|
class GetAllVariantTitlesDto {
|
|
73
46
|
}
|
|
74
47
|
exports.GetAllVariantTitlesDto = GetAllVariantTitlesDto;
|
|
@@ -84,9 +57,6 @@ exports.UpdateVariantTitleDto = UpdateVariantTitleDto;
|
|
|
84
57
|
class GetByCustomerIdDto extends general_dto_1.PaginationQuery {
|
|
85
58
|
}
|
|
86
59
|
exports.GetByCustomerIdDto = GetByCustomerIdDto;
|
|
87
|
-
class GetExtraProductDataDto {
|
|
88
|
-
}
|
|
89
|
-
exports.GetExtraProductDataDto = GetExtraProductDataDto;
|
|
90
60
|
class GetBySessionType {
|
|
91
61
|
}
|
|
92
62
|
exports.GetBySessionType = GetBySessionType;
|
|
@@ -105,12 +75,6 @@ exports.GetSubcategoryDto = GetSubcategoryDto;
|
|
|
105
75
|
class SetStationSubcategoriesDto {
|
|
106
76
|
}
|
|
107
77
|
exports.SetStationSubcategoriesDto = SetStationSubcategoriesDto;
|
|
108
|
-
class createRentalProductAddonDto {
|
|
109
|
-
}
|
|
110
|
-
exports.createRentalProductAddonDto = createRentalProductAddonDto;
|
|
111
|
-
class createProductAvailabilityTimesDto {
|
|
112
|
-
}
|
|
113
|
-
exports.createProductAvailabilityTimesDto = createProductAvailabilityTimesDto;
|
|
114
78
|
class createResourceDto {
|
|
115
79
|
}
|
|
116
80
|
exports.createResourceDto = createResourceDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productPricing.dto.js","sourceRoot":"","sources":["../../../src/types/dto/productPricing.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"productPricing.dto.js","sourceRoot":"","sources":["../../../src/types/dto/productPricing.dto.ts"],"names":[],"mappings":";;;AAAA,4DAA4D;AAW5D,+CAAgD;AAIhD,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,uBAAuB;CAGnC;AAHD,0DAGC;AAED,MAAa,wBAAwB;CAGpC;AAHD,4DAGC;AAED,MAAa,uCAAwC,SAAQ,wBAAwB;CAEpF;AAFD,0FAEC;AAED,MAAa,oBAAqB,SAAQ,4BAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,gBAAgB;CAG5B;AAHD,4CAGC;AAED,MAAa,cAAc;CAkB1B;AAlBD,wCAkBC;AAED,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,0BAA0B;CAKtC;AALD,gEAKC;AAED,MAAa,2BAA2B;CAMvC;AAND,kEAMC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,sBAAuB,SAAQ,sBAAsB;CAEjE;AAFD,wDAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,2BAA2B;CAEvC;AAFD,kEAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,qBAAqB;CAKjC;AALD,sDAKC;AAED,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,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ByOrganizationIdDto, OptionalOrganizationIdDto } from '../organization/dto/organization.dto';
|
|
2
2
|
import { MaintenanceDto } from '../reservations/dto/maintenance.dto';
|
|
3
3
|
import { EComparisonFilter, ProgramSeasonTypesEnum, PublishingStatusEnum, ResourceNameTypeEnum } from '../services/enums.service';
|
|
4
4
|
import { GenderEnum, LevelOfPlayEnum, RegistrationConstraintPeriodTypeEnum, SlotTypeEnum, SportsEnum } from './../services/enums.service';
|
|
5
|
-
import { PaginationQuery } from './general.dto';
|
|
5
|
+
import { IdAndNameDto, PaginationQuery } from './general.dto';
|
|
6
6
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
7
7
|
programId: number;
|
|
8
8
|
}
|
|
@@ -138,9 +138,9 @@ export declare class ShallowUpdateProgramSeasonDto {
|
|
|
138
138
|
ageCalcDate?: string;
|
|
139
139
|
colorCodeId?: number;
|
|
140
140
|
}
|
|
141
|
-
export declare class ShallowUpdateSubSeasonDto {
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
export declare class ShallowUpdateSubSeasonDto extends IdAndNameDto {
|
|
142
|
+
}
|
|
143
|
+
export declare class SimpleSessionDto extends IdAndNameDto {
|
|
144
144
|
}
|
|
145
145
|
export declare class SpaceResourcePairDto {
|
|
146
146
|
resourceType: ResourceNameTypeEnum;
|