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

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.
Files changed (26) hide show
  1. package/README.md +71 -71
  2. package/dist/tsconfig.build.tsbuildinfo +1 -1
  3. package/dist/types/employees/dto/employee.dto.d.ts +2 -0
  4. package/dist/types/employees/dto/employee.dto.js +4 -0
  5. package/dist/types/employees/dto/employee.dto.js.map +1 -1
  6. package/dist/types/payment/dto/payment-plan.dto.d.ts +1 -1
  7. package/dist/types/payment/types/enums/payment.enums.d.ts +2 -1
  8. package/dist/types/payment/types/enums/payment.enums.js +1 -0
  9. package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
  10. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +1 -0
  11. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  12. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +1 -0
  13. package/dist/types/reservations/dto/addon.dto.d.ts +4 -2
  14. package/dist/types/reservations/dto/addon.dto.js +5 -2
  15. package/dist/types/reservations/dto/addon.dto.js.map +1 -1
  16. package/dist/types/reservations/types/classes/addon.classes.d.ts +1 -0
  17. package/dist/types/reservations/types/classes/addon.classes.js.map +1 -1
  18. package/dist/types/resources/dto/space.dto.d.ts +1 -0
  19. package/dist/types/resources/dto/space.dto.js.map +1 -1
  20. package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +1 -0
  21. package/dist/types/roles/dto/role.dto.d.ts +2 -0
  22. package/dist/types/roles/dto/role.dto.js +1 -0
  23. package/dist/types/roles/dto/role.dto.js.map +1 -1
  24. package/dist/types/roles/entities/Role.d.ts +1 -0
  25. package/dist/types/roles/entities/Role.js.map +1 -1
  26. package/package.json +54 -54
@@ -107,6 +107,8 @@ export declare class UpdateEmployeeDto {
107
107
  export declare class GetEmployeesByFilterOptions extends PaginationQuery {
108
108
  statuses?: EmployeeStatus[];
109
109
  rolesIds?: number[];
110
+ excludedRolesIds?: number[];
111
+ includeRoles?: boolean;
110
112
  search?: string;
111
113
  orderBy?: UserOrderBy | OrganizationUserOrderBy;
112
114
  order?: OrderByEnum;
@@ -28,6 +28,10 @@ class UpdateEmployeeDto {
28
28
  }
29
29
  exports.UpdateEmployeeDto = UpdateEmployeeDto;
30
30
  class GetEmployeesByFilterOptions extends general_dto_1.PaginationQuery {
31
+ constructor() {
32
+ super(...arguments);
33
+ this.includeRoles = true;
34
+ }
31
35
  }
32
36
  exports.GetEmployeesByFilterOptions = GetEmployeesByFilterOptions;
33
37
  //# sourceMappingURL=employee.dto.js.map
@@ -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;CAY/D;AAZD,kEAYC"}
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"}
@@ -42,7 +42,7 @@ export declare class ScheduledPaymentDto {
42
42
  originalPlannedDate?: Date;
43
43
  }
44
44
  export declare class FutureInstallmentsIdsDto {
45
- paymentsIds: number[];
45
+ paymentsIds?: number[];
46
46
  }
47
47
  export declare class CancelFutureInstallmentsDto extends FutureInstallmentsIdsDto {
48
48
  invoiceId: number;
@@ -14,7 +14,8 @@ export declare enum PaymentFilterByEnum {
14
14
  PAYMENT_STATUS = "paymentStatus",
15
15
  STATUS = "status",
16
16
  ID = "id",
17
- CREATED_AT = "createdAt"
17
+ CREATED_AT = "createdAt",
18
+ PRICE = "price"
18
19
  }
19
20
  export declare enum ReasonTypeEnum {
20
21
  REFUND = "refund",
@@ -20,6 +20,7 @@ var PaymentFilterByEnum;
20
20
  PaymentFilterByEnum["STATUS"] = "status";
21
21
  PaymentFilterByEnum["ID"] = "id";
22
22
  PaymentFilterByEnum["CREATED_AT"] = "createdAt";
23
+ PaymentFilterByEnum["PRICE"] = "price";
23
24
  })(PaymentFilterByEnum = exports.PaymentFilterByEnum || (exports.PaymentFilterByEnum = {}));
24
25
  var ReasonTypeEnum;
25
26
  (function (ReasonTypeEnum) {
@@ -1 +1 @@
1
- {"version":3,"file":"payment.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,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ourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,0CAAqB,CAAA;IACrB,wDAAmC,CAAA;IACnC,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,4DAAuC,CAAA;AACxC,CAAC,EAXW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAW5B;AAED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC9B,uDAAgC,CAAA;IAChC,wCAAiB,CAAA;IACjB,gCAAS,CAAA;IACT,+CAAwB,CAAA;IACxB,sCAAe,CAAA;AAChB,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B;AAED,IAAY,cAKX;AALD,WAAY,cAAc;IACzB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,2CAAyB,CAAA;IACzB,uDAAqC,CAAA;AACtC,CAAC,EALW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAKzB;AAED,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC9B,iFAAkB,CAAA;IAClB,qFAAoB,CAAA;IACpB,qEAAY,CAAA;IACZ,qEAAY,CAAA;IACZ,uEAAa,CAAA;IACb,+DAAS,CAAA;IACT,6EAAgB,CAAA;IAChB,mEAAW,CAAA;AACZ,CAAC,EATW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAS9B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,+DAAU,CAAA;IACV,2DAAQ,CAAA;AACT,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,qBAcX;AAdD,WAAY,qBAAqB;IAChC,sCAAa,CAAA;IACb,gDAAuB,CAAA;IACvB,sCAAa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CAAC,MAAM,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;AAErH,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,2CAAqB,CAAA;IACrB,8CAAwB,CAAA;AACzB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
@@ -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;CA4C7D;AA5CD,8DA4CC"}
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"}
@@ -33,6 +33,7 @@ export interface IGetProductsByTypeOptions extends IPagination {
33
33
  sortBy?: OrderByProductEnum;
34
34
  order?: OrderByEnum;
35
35
  onlyValid?: boolean;
36
+ inclusion?: boolean;
36
37
  }
37
38
  export interface IPricingSchedule {
38
39
  groupId: string;
@@ -4,10 +4,12 @@ import { ProductPackageLevelEnum } from '../../services/enums.service';
4
4
  import { IAddon, IBaseAddon, IDraftAddon } from '../types/interfaces/addon.interfaces';
5
5
  import { EditItemsRefundMetaDto } from './reservation.dto';
6
6
  import { SimpleProductUserDto } from '../../dto/product-user';
7
- export declare class BaseAddonDto implements IBaseAddon {
7
+ export declare class SelectAddonDto {
8
8
  productId: number;
9
- unitPrice?: number;
10
9
  quantity?: number;
10
+ }
11
+ export declare class BaseAddonDto extends SelectAddonDto implements IBaseAddon {
12
+ unitPrice?: number;
11
13
  totalPrice?: number;
12
14
  }
13
15
  export declare class AddonDto extends BaseAddonDto implements IAddon {
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DraftAddonDto = exports.CreateDraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = exports.BaseAddonDto = void 0;
4
- class BaseAddonDto {
3
+ exports.DraftAddonDto = exports.CreateDraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = exports.BaseAddonDto = exports.SelectAddonDto = void 0;
4
+ class SelectAddonDto {
5
+ }
6
+ exports.SelectAddonDto = SelectAddonDto;
7
+ class BaseAddonDto extends SelectAddonDto {
5
8
  }
6
9
  exports.BaseAddonDto = BaseAddonDto;
7
10
  class AddonDto extends BaseAddonDto {
@@ -1 +1 @@
1
- {"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAOA,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,QAAS,SAAQ,YAAY;CAczC;AAdD,4BAcC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,aAAa;CAE1D;AAFD,4DAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAM9C;AAND,sCAMC"}
1
+ {"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAOA,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,YAAa,SAAQ,cAAc;CAI/C;AAJD,oCAIC;AAED,MAAa,QAAS,SAAQ,YAAY;CAczC;AAdD,4BAcC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,aAAa;CAE1D;AAFD,4DAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAM9C;AAND,sCAMC"}
@@ -7,6 +7,7 @@ export declare class DraftAddon implements IDraftAddon {
7
7
  productId: number;
8
8
  product?: Product;
9
9
  quantity: number;
10
+ baseQuantity?: number;
10
11
  unitPrice?: number;
11
12
  totalPrice?: number;
12
13
  parentId?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"addon.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/addon.classes.ts"],"names":[],"mappings":";;;AAKA,MAAa,UAAU;CA8BtB;AA9BD,gCA8BC"}
1
+ {"version":3,"file":"addon.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/addon.classes.ts"],"names":[],"mappings":";;;AAKA,MAAa,UAAU;CAgCtB;AAhCD,gCAgCC"}
@@ -71,6 +71,7 @@ export declare class FindResourcesOptionsDto extends PaginationQuery implements
71
71
  includeActivityTimes?: boolean;
72
72
  includeFacilities?: boolean;
73
73
  searchByFacility?: boolean;
74
+ inclusion?: boolean;
74
75
  }
75
76
  export declare class UpdateSpaceDto extends UpdateResourceDto {
76
77
  name?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAcxD,iDAA6F;AAE7F,MAAa,gBAAiB,SAAQ,8BAAe;CAkBpD;AAlBD,4CAkBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAe,SAAQ,sCAAuB;CA8B1D;AA9BD,wCA8BC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AACD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAwB3D;AAxBD,0DAwBC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
1
+ {"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAcxD,iDAA6F;AAE7F,MAAa,gBAAiB,SAAQ,8BAAe;CAkBpD;AAlBD,4CAkBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAe,SAAQ,sCAAuB;CA8B1D;AA9BD,wCA8BC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AACD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CA0B3D;AA1BD,0DA0BC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
@@ -19,6 +19,7 @@ export interface IGetResourcesOptions {
19
19
  includeResourceMetadata?: boolean;
20
20
  includeFacilities?: boolean;
21
21
  searchByFacility?: boolean;
22
+ inclusion?: boolean;
22
23
  }
23
24
  export interface IGetResourceByIdsOptions {
24
25
  order?: OrderByEnum;
@@ -26,6 +26,7 @@ export declare class RoleDto extends OptionalFacilityIdDto {
26
26
  type?: number;
27
27
  permissionGroups: PermissionGroupDto[];
28
28
  usersRoles: UserRoleDto[];
29
+ activeUsersCount?: number;
29
30
  }
30
31
  export declare class SimpleRoleDto extends OptionalFacilityIdDto {
31
32
  id: number;
@@ -41,6 +42,7 @@ export declare class GetRolesFiltersDto extends PaginatedSearchDto {
41
42
  isEditable?: boolean;
42
43
  rolesTypes?: RoleTypesEnum[];
43
44
  includeBondy?: boolean;
45
+ countUserRoles?: boolean;
44
46
  }
45
47
  export declare class ByOrganizationIdAndRole extends ByOrganizationIdDto {
46
48
  role: string;
@@ -24,6 +24,7 @@ class GetRolesFiltersDto extends general_dto_1.PaginatedSearchDto {
24
24
  constructor() {
25
25
  super(...arguments);
26
26
  this.includeBondy = false;
27
+ this.countUserRoles = false;
27
28
  }
28
29
  }
29
30
  exports.GetRolesFiltersDto = GetRolesFiltersDto;
@@ -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;IAG7C,CAAC;CAAA;AAhBD,0BAgBC;AAED,MAAa,aAAc,SAAQ,sCAAqB;CAQvD;AARD,sCAQC;AAED,MAAa,kBAAmB,SAAQ,gCAAkB;IAA1D;;QAaC,iBAAY,GAAI,KAAK,CAAC;IACvB,CAAC;CAAA;AAdD,gDAcC;AAED,MAAa,uBAAwB,S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,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"}
@@ -11,4 +11,5 @@ export declare class Role extends BondBaseEntity {
11
11
  facilityId: number;
12
12
  permissionGroups: PermissionGroup[];
13
13
  usersRoles: UserRole[];
14
+ activeUsersCount?: number;
14
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Role.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Role.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAI7D,MAAa,IAAK,SAAQ,+BAAc;CAkBvC;AAlBD,oBAkBC"}
1
+ {"version":3,"file":"Role.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Role.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAI7D,MAAa,IAAK,SAAQ,+BAAc;CAoBvC;AApBD,oBAoBC"}
package/package.json CHANGED
@@ -1,54 +1,54 @@
1
- {
2
- "name": "@bondsports/types",
3
- "version": "2.2.279-team-a-4",
4
- "description": "backend types module for Bond-Sports",
5
- "main": "./dist/index.js",
6
- "scripts": {
7
- "format": "prettier --check .",
8
- "format:fix": "prettier --write .",
9
- "prelint:fix": "npm run format:fix",
10
- "prelint": "npm run format",
11
- "lint": "eslint .",
12
- "lint:fix": "eslint --fix .",
13
- "release": "standard-version",
14
- "import:types": "rimraf src/types && node ./import.js",
15
- "prebuild": "npm run clean",
16
- "build": "tsc --project tsconfig.build.json",
17
- "start": "npm run build && cd dist && node ./index.js",
18
- "clean": "rimraf dist",
19
- "prepublish": "npm run build",
20
- "version": "echo $npm_package_version"
21
- },
22
- "repository": {
23
- "type": "git",
24
- "url": "git+https://github.com/Bond-Sports/bondUtils/tree/main/packages/types.git"
25
- },
26
- "author": "Bond-Sports",
27
- "license": "ISC",
28
- "bugs": {
29
- "url": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types/issues"
30
- },
31
- "files": [
32
- "dist/**/*"
33
- ],
34
- "homepage": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types#readme",
35
- "dependencies": {
36
- "moment": "^2.29.1",
37
- "rimraf": "^3.0.2",
38
- "stripe": "9.1.0",
39
- "typeorm": "^0.2.32",
40
- "@bondsports/date-time": "latest",
41
- "@bondsports/notifications-sdk": "latest"
42
- },
43
- "devDependencies": {
44
- "@bondsports/eslint-config": "^1.0.2",
45
- "@bondsports/prettier-config": "0.0.1",
46
- "@types/node": "^13.9.1",
47
- "eslint": "^8.16.0",
48
- "prettier": "^2.6.2",
49
- "standard-version": "^9.5.0",
50
- "ts-node": "^10.8.0",
51
- "typescript": "^4.4.3"
52
- },
53
- "gitHead": "178ca9dc5ea5e94b44d765b6663e7a4ad0d19d98"
54
- }
1
+ {
2
+ "name": "@bondsports/types",
3
+ "version": "2.2.279-team-a-6",
4
+ "description": "backend types module for Bond-Sports",
5
+ "main": "./dist/index.js",
6
+ "scripts": {
7
+ "format": "prettier --check .",
8
+ "format:fix": "prettier --write .",
9
+ "prelint:fix": "npm run format:fix",
10
+ "prelint": "npm run format",
11
+ "lint": "eslint .",
12
+ "lint:fix": "eslint --fix .",
13
+ "release": "standard-version",
14
+ "import:types": "rimraf src/types && node ./import.js",
15
+ "prebuild": "npm run clean",
16
+ "build": "tsc --project tsconfig.build.json",
17
+ "start": "npm run build && cd dist && node ./index.js",
18
+ "clean": "rimraf dist",
19
+ "prepublish": "npm run build",
20
+ "version": "echo $npm_package_version"
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/Bond-Sports/bondUtils/tree/main/packages/types.git"
25
+ },
26
+ "author": "Bond-Sports",
27
+ "license": "ISC",
28
+ "bugs": {
29
+ "url": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types/issues"
30
+ },
31
+ "files": [
32
+ "dist/**/*"
33
+ ],
34
+ "homepage": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types#readme",
35
+ "dependencies": {
36
+ "moment": "^2.29.1",
37
+ "rimraf": "^3.0.2",
38
+ "stripe": "9.1.0",
39
+ "typeorm": "^0.2.32",
40
+ "@bondsports/date-time": "latest",
41
+ "@bondsports/notifications-sdk": "latest"
42
+ },
43
+ "devDependencies": {
44
+ "@bondsports/eslint-config": "^1.0.2",
45
+ "@bondsports/prettier-config": "0.0.1",
46
+ "@types/node": "^13.9.1",
47
+ "eslint": "^8.16.0",
48
+ "prettier": "^2.6.2",
49
+ "standard-version": "^9.5.0",
50
+ "ts-node": "^10.8.0",
51
+ "typescript": "^4.4.3"
52
+ },
53
+ "gitHead": "178ca9dc5ea5e94b44d765b6663e7a4ad0d19d98"
54
+ }