@bondsports/types 2.2.279-team-a-6 → 2.2.279-team-a-7

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.
@@ -1,11 +1,11 @@
1
1
  import { MediaDto } from '../../media/dto/media.dto';
2
2
  import { CustomerTypeEnum, GenderEnum, OrderByEnum, ResourceNameTypeEnum } from '../../services/enums.service';
3
- import { Role } from '../../roles/entities/Role';
4
3
  import { EmployeeStatus, OrganizationUserOrderBy, UserOrderBy } from '../types/enums';
5
4
  import { PaginationQuery } from '../../dto/general.dto';
6
5
  import { OrganizationUsers } from '../../organization/entities/OrganizationUsers';
7
6
  import { Address } from '../../address/entities/Address';
8
7
  import { User } from '../../user/entities/User';
8
+ import { RoleDto, SimpleRoleDto } from '../../roles/dto/role.dto';
9
9
  export declare class ByEmployeeIdDto {
10
10
  employeeId: number;
11
11
  }
@@ -29,7 +29,7 @@ export declare class EmployeeDto {
29
29
  deletedAt?: Date;
30
30
  }
31
31
  export declare class EmployeeWithRoles extends EmployeeDto {
32
- roles?: Role[];
32
+ roles?: SimpleRoleDto[];
33
33
  }
34
34
  export declare class EmployeeWithRoleIds extends EmployeeWithRoles {
35
35
  rolesIds?: number[];
@@ -38,7 +38,7 @@ export declare class BuildEmployee {
38
38
  user: User;
39
39
  customerId: number;
40
40
  organizationUser: OrganizationUsers;
41
- roles: Role[];
41
+ roles: RoleDto[];
42
42
  }
43
43
  export declare class CreateEmployeeDto {
44
44
  firstName: string;
@@ -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;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;;QAOC,iBAAY,GAAa,IAAI,CAAC;IAS/B,CAAC;CAAA;AAhBD,kEAgBC"}
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;;QAOC,iBAAY,GAAa,IAAI,CAAC;IAS/B,CAAC;CAAA;AAhBD,kEAgBC"}
@@ -154,6 +154,7 @@ export declare class SimpleSessionDto extends IdAndNameDto {
154
154
  startDate: Date;
155
155
  endDate: Date;
156
156
  programType?: ProgramTypesEnum;
157
+ productCount?: number;
157
158
  }
158
159
  export declare class SpaceResourcePairDto {
159
160
  resourceType: ResourceNameTypeEnum;
@@ -250,4 +251,5 @@ export declare class RelatedSessionsDto {
250
251
  export declare class GetRelatedProgramSessionsDto {
251
252
  related?: RelatedSessionsDto;
252
253
  statuses?: PublishingStatusEnum[];
254
+ includeProductsCount?: boolean;
253
255
  }
@@ -1 +1 @@
1
- {"version":3,"file":"program-seasons.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D,wEAIC;AAED,MAAa,+BAA+B;CAO3C;AAPD,0EAOC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,eAAe;CAK3B;AALD,0CAKC;AAED,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,oBAAoB;CAShC;AATD,oDASC;AAED,MAAa,uBAAwB,SAAQ,oBAAoB;CAUhE;AAVD,0DAUC;AAED,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC;AAED,MAAa,6BAA8B,SAAQ,qCAAuB;CAAG;AAA7E,sEAA6E;AAE7E,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED;;GAEG;AACH,MAAa,uBAAwB,SAAQ,2CAAmB;CAY/D;AAZD,0DAYC;AAED;;GAEG;AACH,MAAa,yBAA0B,SAAQ,2CAAmB;CAajE;AAbD,8DAaC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAMrE;AAND,8EAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC"}
1
+ {"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAyF;AAEzF,yFAAoF;AACpF,8EAAyG;AACzG,gEAAuF;AAiBvF,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,WAAY,SAAQ,0BAAY;CAE5C;AAFD,kCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,wBAAyB,SAAQ,4CAAyB;CAEtE;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AACD,MAAa,wBAAyB,SAAQ,6BAAe;CAU5D;AAVD,4DAUC;AAED,MAAa,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MC;AAED;;GAEG;AACH,MAAa,uBAAwB,SAAQ,2CAAmB;CAY/D;AAZD,0DAYC;AAED;;GAEG;AACH,MAAa,yBAA0B,SAAQ,2CAAmB;CAajE;AAbD,8DAaC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAMrE;AAND,8EAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAMxC;AAND,oEAMC"}
@@ -17,22 +17,18 @@ export declare class CreateRoleDto extends OptionalFacilityIdDto {
17
17
  permissionGroupsIds: number[];
18
18
  usersIds: number[];
19
19
  }
20
- export declare class RoleDto extends OptionalFacilityIdDto {
20
+ export declare class SimpleRoleDto extends OptionalFacilityIdDto {
21
21
  id: number;
22
22
  name: string;
23
23
  description?: string;
24
24
  deletedAt?: Date;
25
25
  isEditable?: boolean;
26
26
  type?: number;
27
- permissionGroups: PermissionGroupDto[];
28
- usersRoles: UserRoleDto[];
29
27
  activeUsersCount?: number;
30
28
  }
31
- export declare class SimpleRoleDto extends OptionalFacilityIdDto {
32
- id: number;
33
- name: string;
34
- type?: number;
35
- deletedAt?: Date;
29
+ export declare class RoleDto extends SimpleRoleDto {
30
+ permissionGroups: PermissionGroupDto[];
31
+ usersRoles: UserRoleDto[];
36
32
  }
37
33
  export declare class GetRolesFiltersDto extends PaginatedSearchDto {
38
34
  platforms?: PlatformsEnum[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EditRoleDto = exports.DeprecatedRoleDto = exports.GetRolesOptionsDto = exports.DeleteRolesOptionsDto = exports.UpdateRoleDto = exports.RoleIdsAndUserIdDto = exports.RoleIdsDto = exports.RequiredRoleIdsDto = exports.ByOrganizationIdAndRole = exports.GetRolesFiltersDto = exports.SimpleRoleDto = exports.RoleDto = exports.CreateRoleDto = exports.ByRoleIdDto = void 0;
3
+ exports.EditRoleDto = exports.DeprecatedRoleDto = exports.GetRolesOptionsDto = exports.DeleteRolesOptionsDto = exports.UpdateRoleDto = exports.RoleIdsAndUserIdDto = exports.RoleIdsDto = exports.RequiredRoleIdsDto = exports.ByOrganizationIdAndRole = exports.GetRolesFiltersDto = exports.RoleDto = exports.SimpleRoleDto = exports.CreateRoleDto = exports.ByRoleIdDto = 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");
@@ -10,16 +10,16 @@ exports.ByRoleIdDto = ByRoleIdDto;
10
10
  class CreateRoleDto extends facilities_dto_1.OptionalFacilityIdDto {
11
11
  }
12
12
  exports.CreateRoleDto = CreateRoleDto;
13
- class RoleDto extends facilities_dto_1.OptionalFacilityIdDto {
13
+ class SimpleRoleDto extends facilities_dto_1.OptionalFacilityIdDto {
14
+ }
15
+ exports.SimpleRoleDto = SimpleRoleDto;
16
+ class RoleDto extends SimpleRoleDto {
14
17
  constructor() {
15
18
  super(...arguments);
16
19
  this.permissionGroups = [];
17
20
  }
18
21
  }
19
22
  exports.RoleDto = RoleDto;
20
- class SimpleRoleDto extends facilities_dto_1.OptionalFacilityIdDto {
21
- }
22
- exports.SimpleRoleDto = SimpleRoleDto;
23
23
  class GetRolesFiltersDto extends general_dto_1.PaginatedSearchDto {
24
24
  constructor() {
25
25
  super(...arguments);
@@ -1 +1 @@
1
- {"version":3,"file":"role.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/role.dto.ts"],"names":[],"mappings":";;;AAAA,6DAAiE;AACjE,uDAA2D;AAC3D,8EAA8E;AAO9E,MAAa,WAAY,SAAQ,sCAAqB;CAErD;AAFD,kCAEC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAYvD;AAZD,sCAYC;AAED,MAAa,OAAQ,SAAQ,sCAAqB;IAAlD;;QAaC,qBAAgB,GAAyB,EAAE,CAAC;IAK7C,CAAC;CAAA;AAlBD,0BAkBC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAQvD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AEtB,mBAAc,GAAI,KAAK,CAAC;IACzB,CAAC;CAAA;AAhBD,gDAgBC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAE/D;AAFD,0DAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAQvD;AARD,sCAQC;AAED,MAAa,qBAAsB,SAAQ,UAAU;IAArD;;QACC,qBAAgB,GAAI,IAAI,CAAC;IAC1B,CAAC;CAAA;AAFD,sDAEC;AAED,MAAa,kBAAkB;IAA/B;QACC,uBAAkB,GAAI,KAAK,CAAC;QAE5B,4BAAuB,GAAI,KAAK,CAAC;QAEjC,6BAAwB,GAAI,KAAK,CAAC;QAElC,qBAAgB,GAAI,KAAK,CAAC;IAC3B,CAAC;CAAA;AARD,gDAQC;AAED,MAAa,iBAAkB,SAAQ,OAAO;CAE7C;AAFD,8CAEC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.279-team-a-6",
3
+ "version": "2.2.279-team-a-7",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {