@bondsports/types 2.2.38 → 2.2.40

Sign up to get free protection for your applications and to get access to all the features.
@@ -38,6 +38,10 @@ 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> {
42
+ sharedData: M;
43
+ data: PaginationResultDto<T>;
44
+ }
41
45
  export declare class IdDto {
42
46
  id: number;
43
47
  }
@@ -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.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.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;
4
4
  class FindOneParams {
5
5
  }
6
6
  exports.FindOneParams = FindOneParams;
@@ -41,6 +41,9 @@ class PaginationResultDto {
41
41
  }
42
42
  }
43
43
  exports.PaginationResultDto = PaginationResultDto;
44
+ class PaginatedResultWithSharedData {
45
+ }
46
+ exports.PaginatedResultWithSharedData = PaginatedResultWithSharedData;
44
47
  class IdDto {
45
48
  }
46
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;AAFD,sBAEC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QAEd,YAAO,GAAG,CAAC,CAAC;QAEZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;AAND,oDAMC;AAED,MAAa,iBAAiB;CAQ7B;AARD,8CAQC;AAED,MAAa,mBAAmB;IAK/B,YAAY,IAAS,EAAE,IAAuB;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAClB,CAAC;CACD;AATD,kDASC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,YAAa,SAAQ,KAAK;CAEtC;AAFD,oCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,MAAM;CAElB;AAFD,wBAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC"}
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;AAFD,sBAEC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QAEd,YAAO,GAAG,CAAC,CAAC;QAEZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;AAND,oDAMC;AAED,MAAa,iBAAiB;CAQ7B;AARD,8CAQC;AAED,MAAa,mBAAmB;IAK/B,YAAY,IAAS,EAAE,IAAuB;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAClB,CAAC;CACD;AATD,kDASC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,YAAa,SAAQ,KAAK;CAEtC;AAFD,oCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,MAAM;CAElB;AAFD,wBAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC"}
@@ -1,10 +1,11 @@
1
1
  import { UserAnswersDto } from '../../dto/application.dto';
2
- import { PaginationQuery } from '../../dto/general.dto';
2
+ import { PaginatedResultWithSharedData, PaginationQuery, PaginationResultDto } from '../../dto/general.dto';
3
3
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
4
+ import { ActivityEnum, OrderByEnum, ProductTypesEnum, ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
4
5
  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
+ import { ProductResource } from '../../entity/ProductResource';
8
9
  export declare class ByProductDto extends ByOrganizationIdDto {
9
10
  productId: number;
10
11
  }
@@ -15,6 +16,16 @@ export declare class FindPriceOfProductDto {
15
16
  resources?: ResourceDto[];
16
17
  quantity?: number;
17
18
  }
19
+ export declare class SharedResourceDataData {
20
+ quantity?: number;
21
+ productId?: number;
22
+ resourceType?: ResourceNameTypeEnum;
23
+ isPunchCard?: boolean;
24
+ }
25
+ export declare class ResourcesAvailabilityDto implements PaginatedResultWithSharedData<ProductResource, SharedResourceDataData> {
26
+ data: PaginationResultDto<ProductResource>;
27
+ sharedData: SharedResourceDataData;
28
+ }
18
29
  export declare class FindPricesOfProductsDto {
19
30
  products: FindPriceOfProductDto[];
20
31
  answers?: UserAnswersDto[];
@@ -1,6 +1,6 @@
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 = 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.ResourcesAvailabilityDto = exports.SharedResourceDataData = 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
6
  class ByProductDto extends organization_dto_1.ByOrganizationIdDto {
@@ -9,6 +9,12 @@ exports.ByProductDto = ByProductDto;
9
9
  class FindPriceOfProductDto {
10
10
  }
11
11
  exports.FindPriceOfProductDto = FindPriceOfProductDto;
12
+ class SharedResourceDataData {
13
+ }
14
+ exports.SharedResourceDataData = SharedResourceDataData;
15
+ class ResourcesAvailabilityDto {
16
+ }
17
+ exports.ResourcesAvailabilityDto = ResourcesAvailabilityDto;
12
18
  class FindPricesOfProductsDto {
13
19
  }
14
20
  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,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
+ {"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,4 +1,4 @@
1
- import { IdAndNameDto } from '../../dto/general.dto';
1
+ import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
2
2
  import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
3
3
  import { SimpleProgramDto } from '../../programs/dto/program.dto';
4
4
  import { ResourceNameTypeEnum } from '../../services/enums.service';
@@ -7,6 +7,12 @@ export declare class ProductResourceDto extends IdAndNameDto {
7
7
  program?: SimpleProgramDto;
8
8
  parentSession?: SimpleSessionDto;
9
9
  }
10
+ export declare class PaginatedResourcesForProductQueryDto extends PaginationQuery {
11
+ includeResources?: boolean;
12
+ futureResources?: boolean;
13
+ startDate?: string;
14
+ endDate?: string;
15
+ }
10
16
  export declare class ResourcesForProductQueryDto {
11
17
  includeResources?: boolean;
12
18
  futureResources?: boolean;
@@ -1,10 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourcesForProductQueryDto = exports.ProductResourceDto = void 0;
3
+ exports.ResourcesForProductQueryDto = exports.PaginatedResourcesForProductQueryDto = exports.ProductResourceDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  class ProductResourceDto extends general_dto_1.IdAndNameDto {
6
6
  }
7
7
  exports.ProductResourceDto = ProductResourceDto;
8
+ class PaginatedResourcesForProductQueryDto extends general_dto_1.PaginationQuery {
9
+ }
10
+ exports.PaginatedResourcesForProductQueryDto = PaginatedResourcesForProductQueryDto;
8
11
  class ResourcesForProductQueryDto {
9
12
  }
10
13
  exports.ResourcesForProductQueryDto = ResourcesForProductQueryDto;
@@ -1 +1 @@
1
- {"version":3,"file":"product-resource.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAqD;AAMrD,MAAa,kBAAmB,SAAQ,0BAAY;CAMnD;AAND,gDAMC;AAED,MAAa,2BAA2B;CAQvC;AARD,kEAQC"}
1
+ {"version":3,"file":"product-resource.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAsE;AAMtE,MAAa,kBAAmB,SAAQ,0BAAY;CAMnD;AAND,gDAMC;AAED,MAAa,oCAAqC,SAAQ,6BAAe;CAQxE;AARD,oFAQC;AAED,MAAa,2BAA2B;CAQvC;AARD,kEAQC"}
@@ -23,9 +23,13 @@ import { IChildProduct, IResourcesAvailability } from '../../services/interfaces
23
23
  import { Product } from '../entities/Product';
24
24
  import { IPricingSchedule } from '../types/interfaces/product-pricing.interfaces';
25
25
  import { ProductResourceDto } from './product-resource.dto';
26
+ import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
26
27
  export declare class FindByProductIdDto {
27
28
  productId: number;
28
29
  }
30
+ export declare class FindByProductAndOrgDto extends ByOrganizationIdDto {
31
+ productId: number;
32
+ }
29
33
  export declare class CreateProductAvailabilityTimesDto {
30
34
  availabilityStartDate?: string;
31
35
  availabilityEndDate?: string;
@@ -218,6 +222,7 @@ export declare class BaseProductDto {
218
222
  isForAllCustomers?: boolean;
219
223
  productsReservedForCustomers?: ProductsReservedForCustomers[];
220
224
  reservedForCustomers?: CustomerDto[];
225
+ reservedForCustomersIds?: number[];
221
226
  reservedForMemberships?: Membership[];
222
227
  activityTimes?: ActivityTimesDto[];
223
228
  resourceSettings: ResourceSettingDto[];
@@ -1,10 +1,14 @@
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.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.CreateProductAvailabilityTimesDto = exports.FindByProductAndOrgDto = exports.FindByProductIdDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
+ const organization_dto_1 = require("../../organization/dto/organization.dto");
5
6
  class FindByProductIdDto {
6
7
  }
7
8
  exports.FindByProductIdDto = FindByProductIdDto;
9
+ class FindByProductAndOrgDto extends organization_dto_1.ByOrganizationIdDto {
10
+ }
11
+ exports.FindByProductAndOrgDto = FindByProductAndOrgDto;
8
12
  class CreateProductAvailabilityTimesDto {
9
13
  }
10
14
  exports.CreateProductAvailabilityTimesDto = CreateProductAvailabilityTimesDto;
@@ -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;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,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,2 +1,8 @@
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,6 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LIMIT_PRODUCTS_FETCH_AMOUNT = exports.NO_SCHEDULE_GROUP_ID = void 0;
3
+ exports.DEFAULT_EMPTY_META = 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
+ };
6
12
  //# 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"}
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"}
@@ -17,6 +17,7 @@ export type EventsFilter = {
17
17
  eventsIds?: number[];
18
18
  segmentsIds?: number[];
19
19
  unselectedIds?: number[];
20
+ sessionId?: number;
20
21
  };
21
22
  export type ProgramSeasonsSegmentsFilter = {
22
23
  futureResources?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.service.js","sourceRoot":"","sources":["../../../src/types/services/interfaces.service.ts"],"names":[],"mappings":";;;AAQA,8EAA2E;AAI3E,+CAA2C;AAE3C,mDAgByB;AAwEzB,MAAa,qBAAsB,SAAQ,6BAAa;IAAxD;;QACC,gBAAW,GAAyB,oCAAoB,CAAC,cAAc,CAAC;IAEzE,CAAC;CAAA;AAHD,sDAGC;AAED,MAAa,oBAAqB,SAAQ,cAAK;IAA/C;;QACC,gBAAW,GAAyB,oCAAoB,CAAC,KAAK,CAAC;IAEhE,CAAC;CAAA;AAHD,oDAGC"}
1
+ {"version":3,"file":"interfaces.service.js","sourceRoot":"","sources":["../../../src/types/services/interfaces.service.ts"],"names":[],"mappings":";;;AAQA,8EAA2E;AAI3E,+CAA2C;AAE3C,mDAgByB;AA0EzB,MAAa,qBAAsB,SAAQ,6BAAa;IAAxD;;QACC,gBAAW,GAAyB,oCAAoB,CAAC,cAAc,CAAC;IAEzE,CAAC;CAAA;AAHD,sDAGC;AAED,MAAa,oBAAqB,SAAQ,cAAK;IAA/C;;QACC,gBAAW,GAAyB,oCAAoB,CAAC,KAAK,CAAC;IAEhE,CAAC;CAAA;AAHD,oDAGC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.38",
3
+ "version": "2.2.40",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {