@bondsports/types 2.2.42 → 2.2.43
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/dto/general.dto.d.ts +1 -2
- package/dist/types/dto/general.dto.js +3 -3
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +2 -10
- package/dist/types/product-pricing/dto/product-pricing.dto.js +3 -9
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +3 -3
- package/dist/types/product-pricing/dto/product.dto.js +4 -4
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/types/consts/product-pricing.consts.d.ts +0 -6
- package/dist/types/product-pricing/types/consts/product-pricing.consts.js +1 -7
- package/dist/types/product-pricing/types/consts/product-pricing.consts.js.map +1 -1
- package/package.json +1 -1
@@ -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
|
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.
|
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
|
44
|
+
class SharedPaginatedResultDto extends PaginationResultDto {
|
45
45
|
}
|
46
|
-
exports.
|
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,G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-
import {
|
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
|
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.
|
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
|
13
|
-
}
|
14
|
-
exports.SharedResourceDataData = SharedResourceDataData;
|
15
|
-
class ResourcesAvailabilityDto {
|
9
|
+
class SharedResourceInfo {
|
16
10
|
}
|
17
|
-
exports.
|
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,
|
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.
|
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,
|
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,12 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
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
|
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"}
|