@bondsports/types 2.2.36 → 2.2.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/address/index.d.ts +1 -0
  3. package/dist/types/address/index.js +18 -0
  4. package/dist/types/address/index.js.map +1 -0
  5. package/dist/types/address/types/address.interfaces.d.ts +4 -0
  6. package/dist/types/address/types/address.interfaces.js +3 -0
  7. package/dist/types/address/types/address.interfaces.js.map +1 -0
  8. package/dist/types/address/types/index.d.ts +1 -0
  9. package/dist/types/address/types/index.js +18 -0
  10. package/dist/types/address/types/index.js.map +1 -0
  11. package/dist/types/dto/facilities.dto.d.ts +7 -4
  12. package/dist/types/dto/facilities.dto.js.map +1 -1
  13. package/dist/types/index.d.ts +1 -0
  14. package/dist/types/index.js +1 -0
  15. package/dist/types/index.js.map +1 -1
  16. package/dist/types/organization/entities/Organization.d.ts +1 -1
  17. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +5 -1
  18. package/dist/types/product-pricing/dto/product-pricing.dto.js +4 -1
  19. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  20. package/dist/types/product-pricing/dto/product.dto.d.ts +2 -1
  21. package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
  22. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +1 -0
  23. package/dist/types/roles/dto/role.dto.d.ts +16 -1
  24. package/dist/types/roles/dto/role.dto.js +15 -3
  25. package/dist/types/roles/dto/role.dto.js.map +1 -1
  26. package/dist/types/user/dto/user.dto.d.ts +3 -0
  27. package/dist/types/user/dto/user.dto.js +4 -1
  28. package/dist/types/user/dto/user.dto.js.map +1 -1
  29. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/address/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -0,0 +1,4 @@
1
+ export type GeoJsonObject = {
2
+ type: string;
3
+ coordinates: number[];
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=address.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"address.interfaces.js","sourceRoot":"","sources":["../../../../src/types/address/types/address.interfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from './address.interfaces';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./address.interfaces"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/address/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
@@ -1,9 +1,12 @@
1
1
  import { IdAndNameDto, PaginationQuery } from './general.dto';
2
2
  export declare class AddressDto {
3
- city: string;
4
- state: string;
5
- country: string;
6
- geo: number[];
3
+ street?: string;
4
+ streetNum?: string;
5
+ city?: string;
6
+ state?: string;
7
+ country?: string;
8
+ zip?: string;
9
+ geo?: number[];
7
10
  }
8
11
  export declare class OpeningTimeDto {
9
12
  open: string;
@@ -1 +1 @@
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,WAAW;CA0CvB;AA1CD,kCA0CC;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"}
1
+ {"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../src/types/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAAA,+CAA8D;AAE9D,MAAa,UAAU;CActB;AAdD,gCAcC;AAED,MAAa,cAAc;CAM1B;AAND,wCAMC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,WAAW;CA0CvB;AA1CD,kCA0CC;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"}
@@ -1,5 +1,6 @@
1
1
  export * from './activities';
2
2
  export * from './addons';
3
+ export * from './address';
3
4
  export * from './attendance';
4
5
  export * from './cart';
5
6
  export * from './customers';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./activities"), exports);
18
18
  __exportStar(require("./addons"), exports);
19
+ __exportStar(require("./address"), exports);
19
20
  __exportStar(require("./attendance"), exports);
20
21
  __exportStar(require("./cart"), exports);
21
22
  __exportStar(require("./customers"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B"}
@@ -20,6 +20,7 @@ export declare class Organization extends BondBaseEntity {
20
20
  about?: string;
21
21
  tagline?: string;
22
22
  status: number;
23
+ address: Address;
23
24
  addressId?: number;
24
25
  merchantId?: number;
25
26
  userCreatorId?: number;
@@ -39,7 +40,6 @@ export declare class Organization extends BondBaseEntity {
39
40
  membershipQuestionnaireId?: number;
40
41
  currency: CurrencyEnum;
41
42
  anonymousCustomerId?: number;
42
- address: Address;
43
43
  mainMedia: Media;
44
44
  brandings: OrganizationBranding[];
45
45
  brandingsV2?: OrganizationBranding[];
@@ -1,10 +1,13 @@
1
1
  import { UserAnswersDto } from '../../dto/application.dto';
2
2
  import { PaginationQuery } from '../../dto/general.dto';
3
3
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
4
- import { ActivityEnum, OrderByEnum, ProductTypesEnum, SportsEnum } from '../../services/enums.service';
5
4
  import { ResourceDto } from '../../resources/dto/resource.dto';
5
+ import { ActivityEnum, OrderByEnum, ProductTypesEnum, SportsEnum } from '../../services/enums.service';
6
6
  import { OrderByProductEnum } from '../types/enums/product.enums';
7
7
  import { IGetProductsByTypeOptions } from '../types/interfaces/product-pricing.interfaces';
8
+ export declare class ByProductDto extends ByOrganizationIdDto {
9
+ productId: number;
10
+ }
8
11
  export declare class FindPriceOfProductDto {
9
12
  id: number;
10
13
  productId: number;
@@ -64,6 +67,7 @@ export declare class GetProductsByTypeDto extends ByOrganizationIdDto {
64
67
  export declare class GetProductsByTypeQueryDto extends PaginationQuery implements IGetProductsByTypeOptions {
65
68
  productIds?: number[];
66
69
  includeResources?: boolean;
70
+ includeFacilities?: boolean;
67
71
  includeGlCodes?: boolean;
68
72
  includeArchived?: boolean;
69
73
  includeCurrentPrice?: boolean;
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetProductsByTypeQueryDto = exports.GetProductsByTypeDto = exports.archiveDto = exports.SetStationSubcategoriesDto = exports.GetSubcategoryDto = exports.UpdateSubcategoryDto = exports.CreateSubcategoriesDto = exports.CreateSubcategoryDto = exports.GetBySessionType = exports.GetByCustomerIdDto = exports.GetAllOrganizationAddonsDto = exports.GetByOrgIdInvoiceIdDto = exports.FindByProductUserIdsDto = exports.FindPricesOfProductsDto = exports.FindPriceOfProductDto = void 0;
3
+ exports.GetProductsByTypeQueryDto = exports.GetProductsByTypeDto = exports.archiveDto = exports.SetStationSubcategoriesDto = exports.GetSubcategoryDto = exports.UpdateSubcategoryDto = exports.CreateSubcategoriesDto = exports.CreateSubcategoryDto = exports.GetBySessionType = exports.GetByCustomerIdDto = exports.GetAllOrganizationAddonsDto = exports.GetByOrgIdInvoiceIdDto = exports.FindByProductUserIdsDto = exports.FindPricesOfProductsDto = exports.FindPriceOfProductDto = exports.ByProductDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  const organization_dto_1 = require("../../organization/dto/organization.dto");
6
+ class ByProductDto extends organization_dto_1.ByOrganizationIdDto {
7
+ }
8
+ exports.ByProductDto = ByProductDto;
6
9
  class FindPriceOfProductDto {
7
10
  }
8
11
  exports.FindPriceOfProductDto = FindPriceOfProductDto;
@@ -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;AAM9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;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,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAgC7D;AAhCD,8DAgCC"}
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;AAM9E,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;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,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAkC7D;AAlCD,8DAkCC"}
@@ -1,6 +1,6 @@
1
1
  import { ActivityTimesDto } from '../../dto/activityTimes.dto';
2
2
  import { CustomerDto } from '../../dto/customer.dto';
3
- import { SimpleFacilityDto } from '../../dto/facilities.dto';
3
+ import { FacilityDto, SimpleFacilityDto } from '../../dto/facilities.dto';
4
4
  import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
5
5
  import { VariantDto, VariantTitleDto, VariantWithPrice } from '../../dto/product-variants.dto';
6
6
  import { GroupItemsPricing } from '../../entity/GroupItemsPricing';
@@ -234,6 +234,7 @@ export declare class ProductDto extends BaseProductDto {
234
234
  pricingSchedules?: IPricingSchedule[];
235
235
  status?: ActivityEnum;
236
236
  entitlementDiscounts?: EntitlementDiscountDto[];
237
+ facilities?: FacilityDto[];
237
238
  }
238
239
  export declare class ResourceProductDto {
239
240
  id: number;
@@ -1 +1 @@
1
- {"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAiCtE,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,gBAAgB;CAgF5B;AAhFD,4CAgFC;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;CAwBlD;AAxBD,wCAwBC;AAED,MAAa,gBAAgB;CAsD5B;AAtDD,4CAsDC;AAED,MAAa,sBAAsB;CASlC;AATD,wDASC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAIjD;AAJD,4CAIC;AAED,MAAa,cAAc;CAgH1B;AAhHD,wCAgHC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAQ7C;AARD,gCAQC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
1
+ {"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAiCtE,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,gBAAgB;CAgF5B;AAhFD,4CAgFC;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;CAwBlD;AAxBD,wCAwBC;AAED,MAAa,gBAAgB;CAsD5B;AAtDD,4CAsDC;AAED,MAAa,sBAAsB;CASlC;AATD,wDASC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAIjD;AAJD,4CAIC;AAED,MAAa,cAAc;CAgH1B;AAhHD,wCAgHC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAU7C;AAVD,gCAUC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
@@ -14,6 +14,7 @@ export interface IGetCurrentPricesOptions {
14
14
  export interface IGetProductsByTypeOptions extends IPagination {
15
15
  productIds?: number[];
16
16
  includeResources?: boolean;
17
+ includeFacilities?: boolean;
17
18
  includeArchived?: boolean;
18
19
  includeCurrentPrice?: boolean;
19
20
  includePricesSchedule?: boolean;
@@ -7,7 +7,7 @@ import { OrderByEnum, PlatformsEnum } from '../../services/enums.service';
7
7
  export declare class ByRoleIdDto extends ByOrganizationIdDto {
8
8
  roleId: number;
9
9
  }
10
- export declare class ByRoles {
10
+ export declare class ByRolesDto {
11
11
  rolesIds?: number[];
12
12
  }
13
13
  export declare class CreateRoleV2Dto {
@@ -26,6 +26,12 @@ export declare class RoleDto {
26
26
  permissions: PermissionDto[];
27
27
  usersRoles: UserRoleDto[];
28
28
  }
29
+ export declare class SimpleRoleDto {
30
+ id: number;
31
+ name: string;
32
+ organizationId?: number;
33
+ deletedAt?: Date;
34
+ }
29
35
  export declare class GetRolesFiltersDto extends PaginationQuery {
30
36
  platforms?: PlatformsEnum[];
31
37
  search: string;
@@ -38,3 +44,12 @@ export declare class ByOrganizationIdAndRole {
38
44
  organizationId: number;
39
45
  role: RoleTypeEnum;
40
46
  }
47
+ export declare class RoleIdsDto {
48
+ roleIds?: number[];
49
+ }
50
+ export declare class RoleIdsAndUserIdDto {
51
+ roleIds?: number[];
52
+ userIds?: number[];
53
+ }
54
+ export declare class GetRolesQueryDto extends PaginationQuery {
55
+ }
@@ -1,24 +1,36 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ByOrganizationIdAndRole = exports.GetRolesFiltersDto = exports.RoleDto = exports.CreateRoleV2Dto = exports.ByRoles = exports.ByRoleIdDto = void 0;
3
+ exports.GetRolesQueryDto = exports.RoleIdsAndUserIdDto = exports.RoleIdsDto = exports.ByOrganizationIdAndRole = exports.GetRolesFiltersDto = exports.SimpleRoleDto = exports.RoleDto = exports.CreateRoleV2Dto = exports.ByRolesDto = exports.ByRoleIdDto = void 0;
4
4
  const organization_dto_1 = require("../../organization/dto/organization.dto");
5
5
  const general_dto_1 = require("../../dto/general.dto");
6
6
  class ByRoleIdDto extends organization_dto_1.ByOrganizationIdDto {
7
7
  }
8
8
  exports.ByRoleIdDto = ByRoleIdDto;
9
- class ByRoles {
9
+ class ByRolesDto {
10
10
  }
11
- exports.ByRoles = ByRoles;
11
+ exports.ByRolesDto = ByRolesDto;
12
12
  class CreateRoleV2Dto {
13
13
  }
14
14
  exports.CreateRoleV2Dto = CreateRoleV2Dto;
15
15
  class RoleDto {
16
16
  }
17
17
  exports.RoleDto = RoleDto;
18
+ class SimpleRoleDto {
19
+ }
20
+ exports.SimpleRoleDto = SimpleRoleDto;
18
21
  class GetRolesFiltersDto extends general_dto_1.PaginationQuery {
19
22
  }
20
23
  exports.GetRolesFiltersDto = GetRolesFiltersDto;
21
24
  class ByOrganizationIdAndRole {
22
25
  }
23
26
  exports.ByOrganizationIdAndRole = ByOrganizationIdAndRole;
27
+ class RoleIdsDto {
28
+ }
29
+ exports.RoleIdsDto = RoleIdsDto;
30
+ class RoleIdsAndUserIdDto {
31
+ }
32
+ exports.RoleIdsAndUserIdDto = RoleIdsAndUserIdDto;
33
+ class GetRolesQueryDto extends general_dto_1.PaginationQuery {
34
+ }
35
+ exports.GetRolesQueryDto = GetRolesQueryDto;
24
36
  //# sourceMappingURL=role.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"role.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/role.dto.ts"],"names":[],"mappings":";;;AAGA,8EAA8E;AAC9E,uDAAwD;AAGxD,MAAa,WAAY,SAAQ,sCAAmB;CAEnD;AAFD,kCAEC;AAED,MAAa,OAAO;CAEnB;AAFD,0BAEC;AAED,MAAa,eAAe;CAU3B;AAVD,0CAUC;AAED,MAAa,OAAO;CAcnB;AAdD,0BAcC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAYtD;AAZD,gDAYC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC"}
1
+ {"version":3,"file":"role.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/role.dto.ts"],"names":[],"mappings":";;;AAGA,8EAA8E;AAC9E,uDAAwD;AAGxD,MAAa,WAAY,SAAQ,sCAAmB;CAEnD;AAFD,kCAEC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,eAAe;CAU3B;AAVD,0CAUC;AAED,MAAa,OAAO;CAcnB;AAdD,0BAcC;AAED,MAAa,aAAa;CAQzB;AARD,sCAQC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAYtD;AAZD,gDAYC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,gBAAiB,SAAQ,6BAAe;CAEpD;AAFD,4CAEC"}
@@ -17,6 +17,9 @@ export declare class FindUserRegistrationsDto extends FindByFamilyAccountIdDto {
17
17
  export declare class ByOrganizationAndUserDto extends UserIdDto {
18
18
  organizationId: number;
19
19
  }
20
+ export declare class UserIdsDto {
21
+ userIds?: number[];
22
+ }
20
23
  export declare class SimpleUserDto extends IdDto {
21
24
  firstName: string;
22
25
  lastName: string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InstructorUserDto = exports.UsersPassesResultDto = exports.UserPassDto = exports.UserWithContactInfoDto = exports.SimpleUserDto = exports.ByOrganizationAndUserDto = exports.FindUserRegistrationsDto = exports.FindByFamilyAccountIdDto = exports.UserIdDto = void 0;
3
+ exports.InstructorUserDto = exports.UsersPassesResultDto = exports.UserPassDto = exports.UserWithContactInfoDto = exports.SimpleUserDto = exports.UserIdsDto = exports.ByOrganizationAndUserDto = exports.FindUserRegistrationsDto = exports.FindByFamilyAccountIdDto = exports.UserIdDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  class UserIdDto {
6
6
  }
@@ -14,6 +14,9 @@ exports.FindUserRegistrationsDto = FindUserRegistrationsDto;
14
14
  class ByOrganizationAndUserDto extends UserIdDto {
15
15
  }
16
16
  exports.ByOrganizationAndUserDto = ByOrganizationAndUserDto;
17
+ class UserIdsDto {
18
+ }
19
+ exports.UserIdsDto = UserIdsDto;
17
20
  class SimpleUserDto extends general_dto_1.IdDto {
18
21
  }
19
22
  exports.SimpleUserDto = SimpleUserDto;
@@ -1 +1 @@
1
- {"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAmE;AAMnE,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;CAMvC;AAND,sCAMC;AAED,MAAa,sBAAuB,SAAQ,aAAa;CAMxD;AAND,wDAMC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,oBAAqB,SAAQ,iCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,iBAAkB,SAAQ,sBAAsB;CAE5D;AAFD,8CAEC"}
1
+ {"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAmE;AAMnE,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,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,aAAc,SAAQ,mBAAK;CAMvC;AAND,sCAMC;AAED,MAAa,sBAAuB,SAAQ,aAAa;CAMxD;AAND,wDAMC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,oBAAqB,SAAQ,iCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,iBAAkB,SAAQ,sBAAsB;CAE5D;AAFD,8CAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.36",
3
+ "version": "2.2.38",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {