@bondsports/types 2.4.63-a-3 → 2.4.63-a-5
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/employees/entities/EmployeeFacilityAccess.d.ts +2 -0
- package/dist/types/employees/entities/EmployeeFacilityAccess.js.map +1 -1
- package/dist/types/employees/types/index.d.ts +0 -1
- package/dist/types/employees/types/index.js +0 -1
- package/dist/types/employees/types/index.js.map +1 -1
- package/dist/types/entity/LineItemHistory.d.ts +1 -0
- package/dist/types/entity/LineItemHistory.js.map +1 -1
- package/dist/types/organization/entities/OrganizationUsers.d.ts +2 -0
- package/dist/types/organization/entities/OrganizationUsers.js.map +1 -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 +1 -0
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/resources/entities/Resource.d.ts +1 -0
- package/dist/types/resources/entities/Resource.js.map +1 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +1 -0
- package/dist/types/user/dto/user.dto.d.ts +1 -0
- package/dist/types/user/dto/user.dto.js.map +1 -1
- package/dist/types/user/types/user.interfaces.d.ts +9 -0
- package/package.json +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { CustomerMerge } from '../../customers-merge/entities/CustomerMerge';
|
|
2
2
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
3
|
+
import { OrganizationUsers } from '../../organization/entities/OrganizationUsers';
|
|
3
4
|
export declare class EmployeeFacilityAccess extends OrganizationConnectionBaseEntity {
|
|
4
5
|
userId: number;
|
|
5
6
|
facilityId: number;
|
|
6
7
|
mergeId?: number;
|
|
7
8
|
merge?: CustomerMerge;
|
|
8
9
|
deletedAt?: Date;
|
|
10
|
+
organizationUser?: OrganizationUsers;
|
|
9
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmployeeFacilityAccess.js","sourceRoot":"","sources":["../../../../src/types/employees/entities/EmployeeFacilityAccess.ts"],"names":[],"mappings":";;;AAGA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"EmployeeFacilityAccess.js","sourceRoot":"","sources":["../../../../src/types/employees/entities/EmployeeFacilityAccess.ts"],"names":[],"mappings":";;;AAGA,oGAAiG;AAGjG,MAAa,sBAAuB,SAAQ,mEAAgC;CAY3E;AAZD,wDAYC"}
|
|
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./"), exports);
|
|
18
17
|
__exportStar(require("./consts"), exports);
|
|
19
18
|
__exportStar(require("./enums"), exports);
|
|
20
19
|
__exportStar(require("./interfaces"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/employees/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/employees/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,+CAA6B"}
|
|
@@ -3,6 +3,7 @@ import { CurrencyEnum } from '../services/enums.service';
|
|
|
3
3
|
import { BondBaseEntity } from './BondBaseEntity';
|
|
4
4
|
import { LineItems } from './LineItems';
|
|
5
5
|
export declare class LineItemHistory extends BondBaseEntity {
|
|
6
|
+
deletedAt?: Date;
|
|
6
7
|
invoiceId: number;
|
|
7
8
|
paymentId: number;
|
|
8
9
|
lineItemId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineItemHistory.js","sourceRoot":"","sources":["../../../src/types/entity/LineItemHistory.ts"],"names":[],"mappings":";;;AAKA,qDAAkD;AAGlD,MAAa,eAAgB,SAAQ,+BAAc;
|
|
1
|
+
{"version":3,"file":"LineItemHistory.js","sourceRoot":"","sources":["../../../src/types/entity/LineItemHistory.ts"],"names":[],"mappings":";;;AAKA,qDAAkD;AAGlD,MAAa,eAAgB,SAAQ,+BAAc;CAmBlD;AAnBD,0CAmBC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CustomerMerge } from '../../customers-merge/entities/CustomerMerge';
|
|
2
|
+
import { EmployeeFacilityAccess } from '../../employees/entities/EmployeeFacilityAccess';
|
|
2
3
|
import { EmployeeStatus } from '../../employees/types/enums';
|
|
3
4
|
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
|
4
5
|
import { Facility } from '../../facilities/entities/Facility';
|
|
@@ -16,4 +17,5 @@ export declare class OrganizationUsers extends BondBaseEntity {
|
|
|
16
17
|
merge?: CustomerMerge;
|
|
17
18
|
defaultFacilityId?: number | null;
|
|
18
19
|
defaultFacility?: Facility;
|
|
20
|
+
employeeFacilityAccesses?: EmployeeFacilityAccess[];
|
|
19
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrganizationUsers.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/OrganizationUsers.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"OrganizationUsers.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/OrganizationUsers.ts"],"names":[],"mappings":";;;AAKA,gEAA6D;AAI7D,MAAa,iBAAkB,SAAQ,+BAAc;CA2BpD;AA3BD,8CA2BC"}
|
|
@@ -15,6 +15,7 @@ export declare class InstructorResourceDto extends BaseResourceDto {
|
|
|
15
15
|
lastName: string;
|
|
16
16
|
address?: AddressDto;
|
|
17
17
|
programTypes?: ProgramTypesEnum[];
|
|
18
|
+
accessibleFacilitiesIds?: number[];
|
|
18
19
|
}
|
|
19
20
|
export declare class CreateInstructorDto extends ResourceDependenciesDto {
|
|
20
21
|
description?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAOA,iDAA6F;AAE7F,MAAa,qBAAsB,SAAQ,8BAAe;
|
|
1
|
+
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAOA,iDAA6F;AAE7F,MAAa,qBAAsB,SAAQ,8BAAe;CAsBzD;AAtBD,sDAsBC;AAED,MAAa,mBAAoB,SAAQ,sCAAuB;CAsB/D;AAtBD,kDAsBC;AAED,MAAa,mBAAoB,SAAQ,gCAAiB;CAIzD;AAJD,kDAIC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC"}
|
|
@@ -83,6 +83,7 @@ export declare class GetResourceByIdOptionsDto extends IncludeAdditionalDataDto
|
|
|
83
83
|
orderBy?: OrderByResourceEnum;
|
|
84
84
|
includeFacilities?: boolean;
|
|
85
85
|
includeProducts?: boolean;
|
|
86
|
+
includeAccessibleFacilitiesIds?: boolean;
|
|
86
87
|
}
|
|
87
88
|
export declare class ByOrganizationIdAndResourceTypeDto extends ByOrganizationIdDto {
|
|
88
89
|
resourceType: ResourceTypeEnum;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAyG;AACzG,wEAAqF;AAErF,8EAA8E;AAuB9E,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAmB,SAAQ,WAAW;CAMlD;AAND,gDAMC;AAED,MAAa,wBAAyB,SAAQ,0BAAY;CAYzD;AAZD,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iB;CAIpE;AAJD,wEAIC;AAED,MAAa,6BAA8B,SAAQ,+BAAiB;CAUnE;AAVD,sEAUC"}
|
|
@@ -44,5 +44,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
44
44
|
schedule?: ResourceScheduleDto[];
|
|
45
45
|
medias?: Media[];
|
|
46
46
|
products?: Product[];
|
|
47
|
+
accessibleFacilitiesIds?: number[];
|
|
47
48
|
}
|
|
48
49
|
export type ResourceRelations = 'mainMedia' | 'facilities' | 'slots' | 'addons' | 'user' | 'instructor' | 'space' | 'products' | 'purchasedResources' | 'facility' | 'activityTimes' | 'medias';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Resource.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Resource.ts"],"names":[],"mappings":";;;AAeA,oGAAiG;AAcjG,MAAa,QAAS,SAAQ,mEAAgC;
|
|
1
|
+
{"version":3,"file":"Resource.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Resource.ts"],"names":[],"mappings":";;;AAeA,oGAAiG;AAcjG,MAAa,QAAS,SAAQ,mEAAgC;CAiE7D;AAjED,4BAiEC"}
|
|
@@ -30,6 +30,7 @@ export interface IGetResourcesOptions {
|
|
|
30
30
|
export interface IGetResourceByIdsOptions {
|
|
31
31
|
ignoreDeleted?: boolean;
|
|
32
32
|
includeAdditionalData?: boolean;
|
|
33
|
+
includeAccessibleFacilitiesIds?: boolean;
|
|
33
34
|
includeFacilities?: boolean;
|
|
34
35
|
includeFullResource?: boolean;
|
|
35
36
|
includeProducts?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;AAEA,uDAA8C;AAG9C,MAAa,SAAS;CAErB;AAFD,8BAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,wBAAwB;CAErE;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,SAAS;CAEtD;AAFD,4DAEC;AAED,MAAa,aAAc,SAAQ,mBAAK;CAUvC;AAVD,sCAUC;AAED,MAAa,sBAAuB,SAAQ,aAAa;CAMxD;AAND,wDAMC;AAED,MAAa,iBAAkB,SAAQ,sBAAsB;
|
|
1
|
+
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;AAEA,uDAA8C;AAG9C,MAAa,SAAS;CAErB;AAFD,8BAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,wBAAwB;CAErE;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,SAAS;CAEtD;AAFD,4DAEC;AAED,MAAa,aAAc,SAAQ,mBAAK;CAUvC;AAVD,sCAUC;AAED,MAAa,sBAAuB,SAAQ,aAAa;CAMxD;AAND,wDAMC;AAED,MAAa,iBAAkB,SAAQ,sBAAsB;CAI5D;AAJD,8CAIC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { AddressDto } from '../../address/dto/address.dto';
|
|
2
2
|
import { Address } from '../../address/entities/Address';
|
|
3
|
+
import { PaginationMetaDto } from '../../dto/general.dto';
|
|
4
|
+
import { Resource } from '../../resources/entities/Resource';
|
|
3
5
|
import { GenderEnum } from '../../services/enums.service';
|
|
6
|
+
import { User } from '../entities/User';
|
|
4
7
|
import { IAthlete } from './athlete.interfaces';
|
|
5
8
|
export interface IUpdateUser {
|
|
6
9
|
address?: AddressDto;
|
|
@@ -39,3 +42,9 @@ export interface IFieldChangeNotificationParameter {
|
|
|
39
42
|
new_value: string;
|
|
40
43
|
old_value: string;
|
|
41
44
|
}
|
|
45
|
+
export interface IInstructorUsersResult {
|
|
46
|
+
meta: PaginationMetaDto;
|
|
47
|
+
data: User[];
|
|
48
|
+
instructors: Record<string, Resource[]>;
|
|
49
|
+
facilityIdsByUser: Record<string, number[]>;
|
|
50
|
+
}
|