@bondsports/types 2.2.150 → 2.2.152
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/employees/dto/employee.dto.d.ts +3 -2
- package/dist/types/employees/dto/employee.dto.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +4 -2
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +4 -3
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +0 -3
- package/dist/types/resources/dto/resource.dto.js +1 -4
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/package.json +1 -1
@@ -3,9 +3,9 @@ import { CustomerTypeEnum, GenderEnum, OrderByEnum, ResourceNameTypeEnum } from
|
|
3
3
|
import { Role } from '../../roles/entities/Role';
|
4
4
|
import { EmployeeStatus, OrganizationUserOrderBy, UserOrderBy } from '../types/enums';
|
5
5
|
import { PaginationQuery } from '../../dto/general.dto';
|
6
|
-
import { Customer } from '../../entity/Customer';
|
7
6
|
import { OrganizationUsers } from '../../organization/entities/OrganizationUsers';
|
8
7
|
import { Address } from '../../entity/Address';
|
8
|
+
import { User } from '../../user/entities/User';
|
9
9
|
export declare class ByEmployeeIdDto {
|
10
10
|
employeeId: number;
|
11
11
|
}
|
@@ -34,7 +34,8 @@ export declare class EmployeeWithRoleIds extends EmployeeWithRoles {
|
|
34
34
|
rolesIds?: number[];
|
35
35
|
}
|
36
36
|
export declare class BuildEmployee {
|
37
|
-
|
37
|
+
user: User;
|
38
|
+
customerId: number;
|
38
39
|
organizationUser: OrganizationUsers;
|
39
40
|
roles: Role[];
|
40
41
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AAKxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;CAgCvB;AAhCD,kCAgCC;AAED,MAAa,iBAAkB,SAAQ,WAAW;CAEjD;AAFD,8CAEC;AAED,MAAa,mBAAoB,SAAQ,iBAAiB;CAEzD;AAFD,kDAEC;AAED,MAAa,aAAa;
|
1
|
+
{"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AAKxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;CAgCvB;AAhCD,kCAgCC;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,uCAAuC;AACvC,MAAa,iBAAiB;CAwD7B;AAxDD,8CAwDC;AAED,MAAa,2BAA4B,SAAQ,6BAAe;CAU/D;AAVD,kEAUC"}
|
@@ -17,6 +17,8 @@ import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
|
17
17
|
import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
18
18
|
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
19
19
|
import { OverrideProductsPricingDto } from '../../invoice/types/interfaces/invoice.interfaces';
|
20
|
+
import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
|
21
|
+
import { SpaceResourceDto } from '../../resources/dto/space.dto';
|
20
22
|
export declare class ProductPricesDto {
|
21
23
|
productId: number;
|
22
24
|
product?: Product;
|
@@ -66,8 +68,8 @@ export declare class DraftReservationDto extends SimpleDraftReservationDto {
|
|
66
68
|
owner?: SimpleCustomerDto;
|
67
69
|
participants?: SimpleCustomerDto[];
|
68
70
|
products?: SimpleProductDto[];
|
69
|
-
spaces?:
|
70
|
-
instructors?:
|
71
|
+
spaces?: SpaceResourceDto[];
|
72
|
+
instructors?: InstructorResourceDto[];
|
71
73
|
}
|
72
74
|
export declare class ReservationInvoiceDto {
|
73
75
|
reservation: ReservationDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,+DAAsG;AACtG,8EAA8E;AAI9E,kEAAwF;
|
1
|
+
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,+DAAsG;AACtG,8EAA8E;AAI9E,kEAAwF;AAyCxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAM,kBAAkB;CA8BvB;AAED,MAAa,cAAe,SAAQ,kBAAkB;CAerD;AAfD,wCAeC;AAED,MAAa,yBAA0B,SAAQ,kBAAkB;CAEhE;AAFD,8DAEC;AAED,MAAa,yBAA0B,SAAQ,yBAAyB;CAIvE;AAJD,8DAIC;AAED,MAAa,mBAAoB,SAAQ,yBAAyB;CAcjE;AAdD,kDAcC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AACD,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,4BAA4B;CAcxC;AAdD,oEAcC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAM,cAAc;CAQnB;AAED,MAAa,yBAA0B,SAAQ,cAAc;CAE5D;AAFD,8DAEC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAIvD;AAJD,oDAIC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,UAAW,SAAQ,WAAW;CAI1C;AAJD,gCAIC;AAED,MAAa,0CAA2C,SAAQ,6BAAe;CAY9E;AAZD,gGAYC;AAED,MAAa,kCAAmC,SAAQ,6BAAe;CAUtE;AAVD,gFAUC;AAED,MAAa,+BAA+B;IAA5C;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AmB;CAE/D;AAFD,0DAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,yBAAyB;CAYrC;AAZD,8DAYC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAIrE;AAJD,8EAIC;AAED,MAAa,6BAA6B;CAYzC;AAZD,sEAYC;AAED,MAAa,oBAAoB;CAMhC;AAND,oDAMC;AAED,MAAa,WAAY,SAAQ,oBAAoB;CAEpD;AAFD,kCAEC;AAED,MAAa,gBAAiB,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC"}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { Product } from '../../product-pricing/entities/Product';
|
2
|
-
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
3
2
|
import { ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
|
4
3
|
import { Slot } from '../entities/slot.entity';
|
5
4
|
import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
|
@@ -8,6 +7,8 @@ import { IDraftSlot, ISlotProductMetadata, ITimeSlot } from '../types/interfaces
|
|
8
7
|
import { AddonDto, DraftAddonDto } from './addon.dto';
|
9
8
|
import { MaintenanceDto } from './maintenance.dto';
|
10
9
|
import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
10
|
+
import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
|
11
|
+
import { SpaceResourceDto } from '../../resources/dto/space.dto';
|
11
12
|
export declare class SlotProductMetadataDto implements ISlotProductMetadata {
|
12
13
|
productId: number;
|
13
14
|
price: number;
|
@@ -98,8 +99,8 @@ export declare class DraftSlotDto extends BaseSlotDto implements IDraftSlot {
|
|
98
99
|
maintenanceSlots?: DraftSlotDto[];
|
99
100
|
addons?: DraftAddonDto[];
|
100
101
|
participantsIds?: number[];
|
101
|
-
space?:
|
102
|
-
instructors?:
|
102
|
+
space?: SpaceResourceDto;
|
103
|
+
instructors?: InstructorResourceDto[];
|
103
104
|
totalSlotsInSeries?: number;
|
104
105
|
parentSlotId?: string;
|
105
106
|
participants?: SimpleCustomerDto[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAuBA,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CAgDvD;AAhDD,kCAgDC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAiCvC;AAjCD,0BAiCC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,YAAa,SAAQ,WAAW;CAwB5C;AAxBD,oCAwBC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC"}
|
@@ -27,9 +27,6 @@ export declare class InvalidResourceDto extends ResourceDto {
|
|
27
27
|
}
|
28
28
|
export declare class SimpleResourceDto extends IdAndNameDto {
|
29
29
|
}
|
30
|
-
export declare class SimpleResourceWithSportsDto extends SimpleResourceDto {
|
31
|
-
sports: SportsEnum[];
|
32
|
-
}
|
33
30
|
export declare class BaseResourceDto extends IdDto {
|
34
31
|
organizationId: number;
|
35
32
|
createdAt: Date;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SimpleFacilityWithResourcesDto = exports.UpdateResourceDto = exports.ResourceScheduleDto = exports.ByResourceTypeDto = exports.UpdateResourceDetailsDto = exports.ByOrganizationIdAndResourceId = exports.ByOrganizationIdAndResourceTypeAndIdDto = exports.ByOrganizationFacilityIdDto = exports.ByOrganizationIdAndResourceTypeDto = exports.GetResourceByIdOptionsDto = exports.GetResourcesOfFacilityByTypeDto = exports.ResourceDependenciesDto = exports.BaseResourceDto = exports.
|
3
|
+
exports.SimpleFacilityWithResourcesDto = exports.UpdateResourceDto = exports.ResourceScheduleDto = exports.ByResourceTypeDto = exports.UpdateResourceDetailsDto = exports.ByOrganizationIdAndResourceId = exports.ByOrganizationIdAndResourceTypeAndIdDto = exports.ByOrganizationFacilityIdDto = exports.ByOrganizationIdAndResourceTypeDto = exports.GetResourceByIdOptionsDto = exports.GetResourcesOfFacilityByTypeDto = exports.ResourceDependenciesDto = exports.BaseResourceDto = exports.SimpleResourceDto = exports.InvalidResourceDto = exports.ResourceDto = void 0;
|
4
4
|
const facilities_dto_1 = require("../../dto/facilities.dto");
|
5
5
|
const general_dto_1 = require("../../dto/general.dto");
|
6
6
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
@@ -13,9 +13,6 @@ exports.InvalidResourceDto = InvalidResourceDto;
|
|
13
13
|
class SimpleResourceDto extends general_dto_1.IdAndNameDto {
|
14
14
|
}
|
15
15
|
exports.SimpleResourceDto = SimpleResourceDto;
|
16
|
-
class SimpleResourceWithSportsDto extends SimpleResourceDto {
|
17
|
-
}
|
18
|
-
exports.SimpleResourceWithSportsDto = SimpleResourceWithSportsDto;
|
19
16
|
class BaseResourceDto extends general_dto_1.IdDto {
|
20
17
|
}
|
21
18
|
exports.BaseResourceDto = BaseResourceDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AACA,6DAA0E;AAC1E,uDAAsF;AAEtF,8EAA8E;AAoB9E,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAmB,SAAQ,WAAW;CAMlD;AAND,gDAMC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,
|
1
|
+
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AACA,6DAA0E;AAC1E,uDAAsF;AAEtF,8EAA8E;AAoB9E,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAmB,SAAQ,WAAW;CAMlD;AAND,gDAMC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,eAAgB,SAAQ,mBAAK;CAgDzC;AAhDD,0CAgDC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;CAY3C;AAZD,0EAYC;AAED,MAAa,yBAA0B,SAAQ,sCAAwB;CAQtE;AARD,8DAQC;AAED,MAAa,kCAAmC,SAAQ,sCAAmB;CAE1E;AAFD,gFAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAEnE;AAFD,kEAEC;AAED,MAAa,uCAAwC,SAAQ,kCAAkC;CAE9F;AAFD,0FAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,iBAAiB;CAwB7B;AAxBD,8CAwBC;AAED,MAAa,8BAA+B,SAAQ,kCAAiB;CAIpE;AAJD,wEAIC"}
|