@bondsports/types 2.2.42 → 2.2.44

Sign up to get free protection for your applications and to get access to all the features.
@@ -38,9 +38,8 @@ export declare class PaginationResultDto<T = any> {
38
38
  data: T[];
39
39
  constructor(data: T[], meta: PaginationMetaDto);
40
40
  }
41
- export declare class PaginatedResultWithSharedData<T, M> {
41
+ export declare class SharedPaginatedResultDto<T, M> extends PaginationResultDto<T> {
42
42
  sharedData: M;
43
- data: PaginationResultDto<T>;
44
43
  }
45
44
  export declare class IdDto {
46
45
  id: number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaginatedSearchDto = exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = exports.PaginatedResultWithSharedData = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
3
+ exports.PaginatedSearchDto = exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = exports.SharedPaginatedResultDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
4
4
  class FindOneParams {
5
5
  }
6
6
  exports.FindOneParams = FindOneParams;
@@ -41,9 +41,9 @@ class PaginationResultDto {
41
41
  }
42
42
  }
43
43
  exports.PaginationResultDto = PaginationResultDto;
44
- class PaginatedResultWithSharedData {
44
+ class SharedPaginatedResultDto extends PaginationResultDto {
45
45
  }
46
- exports.PaginatedResultWithSharedData = PaginatedResultWithSharedData;
46
+ exports.SharedPaginatedResultDto = SharedPaginatedResultDto;
47
47
  class IdDto {
48
48
  }
49
49
  exports.IdDto = IdDto;
@@ -1 +1 @@
1
- {"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AACrC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AACpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAC5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAClC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAC3B,YAAY,KAA4E;;QAQxF,SAAI,GAAI,oBAAY,CAAC;QAErB,iBAAY,GAAI,sCAA8B,CAAC;QAT9C,IAAI,CAAC,IAAI,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,KAAI,oBAAY,CAAC;QACxC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,CAC3B,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,EAC5C,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,KAAI,CAAC,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,CAAC,CACrE,CAAC;IACH,CAAC;CAKD;AAZD,0CAYC;AAED,MAAa,KAAK;CAEjB;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,4DAEC;AAED,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC"}
@@ -1,14 +1,10 @@
1
1
  import { UserAnswersDto } from '../../dto/application.dto';
2
- import { PaginatedResultWithSharedData, PaginationQuery, PaginationResultDto } from '../../dto/general.dto';
2
+ import { PaginationQuery } from '../../dto/general.dto';
3
3
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
4
4
  import { ActivityEnum, OrderByEnum, ProductTypesEnum, ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
5
5
  import { ResourceDto } from '../../resources/dto/resource.dto';
6
6
  import { OrderByProductEnum } from '../types/enums/product.enums';
7
7
  import { IGetProductsByTypeOptions } from '../types/interfaces/product-pricing.interfaces';
8
- import { ProductResource } from '../../entity/ProductResource';
9
- export declare class ByProductDto extends ByOrganizationIdDto {
10
- productId: number;
11
- }
12
8
  export declare class FindPriceOfProductDto {
13
9
  id: number;
14
10
  productId: number;
@@ -16,16 +12,12 @@ export declare class FindPriceOfProductDto {
16
12
  resources?: ResourceDto[];
17
13
  quantity?: number;
18
14
  }
19
- export declare class SharedResourceDataData {
15
+ export declare class SharedResourceInfo {
20
16
  quantity?: number;
21
17
  productId?: number;
22
18
  resourceType?: ResourceNameTypeEnum;
23
19
  isPunchCard?: boolean;
24
20
  }
25
- export declare class ResourcesAvailabilityDto implements PaginatedResultWithSharedData<ProductResource, SharedResourceDataData> {
26
- data: PaginationResultDto<ProductResource>;
27
- sharedData: SharedResourceDataData;
28
- }
29
21
  export declare class FindPricesOfProductsDto {
30
22
  products: FindPriceOfProductDto[];
31
23
  answers?: UserAnswersDto[];
@@ -1,20 +1,14 @@
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.ResourcesAvailabilityDto = exports.SharedResourceDataData = exports.FindPriceOfProductDto = exports.ByProductDto = 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.SharedResourceInfo = exports.FindPriceOfProductDto = 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;
9
6
  class FindPriceOfProductDto {
10
7
  }
11
8
  exports.FindPriceOfProductDto = FindPriceOfProductDto;
12
- class SharedResourceDataData {
13
- }
14
- exports.SharedResourceDataData = SharedResourceDataData;
15
- class ResourcesAvailabilityDto {
9
+ class SharedResourceInfo {
16
10
  }
17
- exports.ResourcesAvailabilityDto = ResourcesAvailabilityDto;
11
+ exports.SharedResourceInfo = SharedResourceInfo;
18
12
  class FindPricesOfProductsDto {
19
13
  }
20
14
  exports.FindPricesOfProductsDto = FindPricesOfProductsDto;
@@ -1 +1 @@
1
- {"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAA4G;AAC5G,8EAA8E;AAO9E,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AAED,MAAa,wBAAwB;CAKpC;AALD,4DAKC;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
+ {"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,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAkC7D;AAlCD,8DAkCC"}
@@ -27,9 +27,6 @@ import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
27
27
  export declare class FindByProductIdDto {
28
28
  productId: number;
29
29
  }
30
- export declare class FindByProductAndOrgDto extends ByOrganizationIdDto {
31
- productId: number;
32
- }
33
30
  export declare class CreateProductAvailabilityTimesDto {
34
31
  availabilityStartDate?: string;
35
32
  availabilityEndDate?: string;
@@ -37,6 +34,9 @@ export declare class CreateProductAvailabilityTimesDto {
37
34
  startTime: string;
38
35
  endTime: string;
39
36
  }
37
+ export declare class ByProductAndOrgDto extends ByOrganizationIdDto {
38
+ productId: number;
39
+ }
40
40
  export declare class CreateRentalProductAddonDto {
41
41
  productId: number;
42
42
  price: number;
@@ -1,17 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourceProductDto = exports.ProductDto = exports.DeprecatedProductDto = exports.BaseProductDto = exports.SimpleProductDto = exports.GetOrganizationProductsDto = exports.GetExtraProductDataDto = exports.ProductFieldsDto = exports.GetProductsDto = exports.ProductsIdsDto = exports.AddRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.ConnectProductResourceDto = exports.ProductInPackage = exports.CreateProductDto = exports.CreateRentalProductAddonDto = exports.CreateProductAvailabilityTimesDto = exports.FindByProductAndOrgDto = exports.FindByProductIdDto = void 0;
3
+ exports.ResourceProductDto = exports.ProductDto = exports.DeprecatedProductDto = exports.BaseProductDto = exports.SimpleProductDto = exports.GetOrganizationProductsDto = exports.GetExtraProductDataDto = exports.ProductFieldsDto = exports.GetProductsDto = exports.ProductsIdsDto = exports.AddRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.ConnectProductResourceDto = exports.ProductInPackage = exports.CreateProductDto = exports.CreateRentalProductAddonDto = exports.ByProductAndOrgDto = exports.CreateProductAvailabilityTimesDto = exports.FindByProductIdDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  const organization_dto_1 = require("../../organization/dto/organization.dto");
6
6
  class FindByProductIdDto {
7
7
  }
8
8
  exports.FindByProductIdDto = FindByProductIdDto;
9
- class FindByProductAndOrgDto extends organization_dto_1.ByOrganizationIdDto {
10
- }
11
- exports.FindByProductAndOrgDto = FindByProductAndOrgDto;
12
9
  class CreateProductAvailabilityTimesDto {
13
10
  }
14
11
  exports.CreateProductAvailabilityTimesDto = CreateProductAvailabilityTimesDto;
12
+ class ByProductAndOrgDto extends organization_dto_1.ByOrganizationIdDto {
13
+ }
14
+ exports.ByProductAndOrgDto = ByProductAndOrgDto;
15
15
  class CreateRentalProductAddonDto {
16
16
  }
17
17
  exports.CreateRentalProductAddonDto = CreateRentalProductAddonDto;
@@ -1 +1 @@
1
- {"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAgCtE,8EAA8E;AAE9E,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;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;CAkH1B;AAlHD,wCAkHC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAU7C;AAVD,gCAUC;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;AAgCtE,8EAA8E;AAE9E,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,kBAAmB,SAAQ,sCAAmB;CAE1D;AAFD,gDAEC;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;CAkH1B;AAlHD,wCAkHC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAU7C;AAVD,gCAUC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
@@ -1,8 +1,2 @@
1
1
  export declare const NO_SCHEDULE_GROUP_ID = "no-schedule";
2
2
  export declare const LIMIT_PRODUCTS_FETCH_AMOUNT = 1000;
3
- export declare const DEFAULT_EMPTY_META: {
4
- totalItems: number;
5
- itemsPerPage: number;
6
- totalPages: number;
7
- currentPage: number;
8
- };
@@ -1,12 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_EMPTY_META = exports.LIMIT_PRODUCTS_FETCH_AMOUNT = exports.NO_SCHEDULE_GROUP_ID = void 0;
3
+ exports.LIMIT_PRODUCTS_FETCH_AMOUNT = exports.NO_SCHEDULE_GROUP_ID = void 0;
4
4
  exports.NO_SCHEDULE_GROUP_ID = 'no-schedule';
5
5
  exports.LIMIT_PRODUCTS_FETCH_AMOUNT = 1000;
6
- exports.DEFAULT_EMPTY_META = {
7
- totalItems: 0,
8
- itemsPerPage: 0,
9
- totalPages: 0,
10
- currentPage: 0,
11
- };
12
6
  //# sourceMappingURL=product-pricing.consts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"product-pricing.consts.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/consts/product-pricing.consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG,aAAa,CAAC;AACrC,QAAA,2BAA2B,GAAG,IAAI,CAAC;AACnC,QAAA,kBAAkB,GAAG;IACjC,UAAU,EAAE,CAAC;IACb,YAAY,EAAE,CAAC;IACf,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"product-pricing.consts.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/consts/product-pricing.consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG,aAAa,CAAC;AACrC,QAAA,2BAA2B,GAAG,IAAI,CAAC"}
@@ -45,10 +45,13 @@ export declare class PurchaseRequestDto {
45
45
  isAutoRenewal?: boolean;
46
46
  }
47
47
  export declare class PurchaseResourceDto {
48
- id: number;
48
+ id?: number;
49
49
  type: ResourceNameTypeEnum;
50
50
  startDate?: Date;
51
51
  resourceIdToRenew?: number;
52
+ isAll?: boolean;
53
+ includedIds?: number[];
54
+ excludedIds?: number[];
52
55
  }
53
56
  export declare class PurchaseProductDto {
54
57
  id: number;
@@ -1 +1 @@
1
- {"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,+DAA+D;AAC/D,8EAA8E;AAY9E,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,4BAAc;CAUlD;AAVD,0CAUC"}
1
+ {"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,+DAA+D;AAC/D,8EAA8E;AAY9E,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAc/B;AAdD,kDAcC;AAED,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,4BAAc;CAUlD;AAVD,0CAUC"}
@@ -11,8 +11,11 @@ import { ActivityEnum, OrderByEnum, ProgramTypesEnum, ResourceAgesEnum, Resource
11
11
  import { OrderByResourceEnum } from '../types/enums/resources.enums';
12
12
  import { IGetResourcesOptions, IGetResourceByIdsOptions } from '../types/interfaces/resource.interfaces';
13
13
  export declare class ResourceDto {
14
- id: number;
14
+ id?: number;
15
15
  type: ResourceNameTypeEnum;
16
+ isAll?: boolean;
17
+ includedIds?: number[];
18
+ excludedIds?: number[];
16
19
  }
17
20
  export declare class SimpleResourceDto extends IdAndNameDto {
18
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAsF;AAEtF,8EAA8E;AAiB9E,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,eAAgB,SAAQ,mBAAK;CAgDzC;AAhDD,0CAgDC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;CAY3C;AAZD,0EAYC;AAED,MAAa,yBAA0B,SAAQ,sCAAwB;CAQtE;AARD,8DAQC;AAED,MAAa,kCAAmC,SAAQ,sCAAmB;CAE1E;AAFD,gFAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAEnE;AAFD,kEAEC;AAED,MAAa,uCAAwC,SAAQ,kCAAkC;CAE9F;AAFD,0FAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,iBAAiB;CAwB7B;AAxBD,8CAwBC"}
1
+ {"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAsF;AAEtF,8EAA8E;AAiB9E,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,eAAgB,SAAQ,mBAAK;CAgDzC;AAhDD,0CAgDC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;CAY3C;AAZD,0EAYC;AAED,MAAa,yBAA0B,SAAQ,sCAAwB;CAQtE;AARD,8DAQC;AAED,MAAa,kCAAmC,SAAQ,sCAAmB;CAE1E;AAFD,gFAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAEnE;AAFD,kEAEC;AAED,MAAa,uCAAwC,SAAQ,kCAAkC;CAE9F;AAFD,0FAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,iBAAiB;CAwB7B;AAxBD,8CAwBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.42",
3
+ "version": "2.2.44",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {