@bondsports/types 2.2.154 → 2.2.156

Sign up to get free protection for your applications and to get access to all the features.
@@ -81,6 +81,7 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
81
81
  includePricesSchedule?: boolean;
82
82
  includeEntitlementDiscounts?: boolean;
83
83
  includeCustomers?: boolean;
84
+ onlyValid?: boolean;
84
85
  facilitiesIds?: number[];
85
86
  resourcesIds?: number[];
86
87
  mustIncludeAllResourcesIds?: number[];
@@ -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;CA0C7D;AA1CD,8DA0CC"}
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"}
@@ -32,6 +32,7 @@ export interface IGetProductsByTypeOptions extends IPagination {
32
32
  search?: string;
33
33
  sortBy?: OrderByProductEnum;
34
34
  order?: OrderByEnum;
35
+ onlyValid?: boolean;
35
36
  }
36
37
  export interface IPricingSchedule {
37
38
  groupId: string;
@@ -42,6 +42,9 @@ export declare class GetRolesFiltersDto extends PaginatedSearchDto {
42
42
  export declare class ByOrganizationIdAndRole extends ByOrganizationIdDto {
43
43
  role: string;
44
44
  }
45
+ export declare class RequiredRoleIdsDto {
46
+ roleIds: number[];
47
+ }
45
48
  export declare class RoleIdsDto {
46
49
  roleIds?: number[];
47
50
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeprecatedRoleDto = exports.GetRolesOptionsDto = exports.UpdateRoleDto = exports.RoleIdsAndUserIdDto = exports.RoleIdsDto = exports.ByOrganizationIdAndRole = exports.GetRolesFiltersDto = exports.SimpleRoleDto = exports.RoleDto = exports.CreateRoleDto = exports.ByRoleIdDto = void 0;
3
+ exports.DeprecatedRoleDto = exports.GetRolesOptionsDto = exports.UpdateRoleDto = exports.RoleIdsAndUserIdDto = exports.RoleIdsDto = exports.RequiredRoleIdsDto = exports.ByOrganizationIdAndRole = exports.GetRolesFiltersDto = exports.SimpleRoleDto = exports.RoleDto = 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");
@@ -26,6 +26,9 @@ exports.GetRolesFiltersDto = GetRolesFiltersDto;
26
26
  class ByOrganizationIdAndRole extends organization_dto_1.ByOrganizationIdDto {
27
27
  }
28
28
  exports.ByOrganizationIdAndRole = ByOrganizationIdAndRole;
29
+ class RequiredRoleIdsDto {
30
+ }
31
+ exports.RequiredRoleIdsDto = RequiredRoleIdsDto;
29
32
  class RoleIdsDto {
30
33
  }
31
34
  exports.RoleIdsDto = RoleIdsDto;
@@ -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;CAUvD;AAVD,sCAUC;AAED,MAAa,OAAQ,SAAQ,sCAAqB;IAAlD;;QAWC,qBAAgB,GAAyB,EAAE,CAAC;IAG7C,CAAC;CAAA;AAdD,0BAcC;AAED,M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ACC,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.154",
3
+ "version": "2.2.156",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {