@bondsports/types 2.4.38-a-2 → 2.4.38-a-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/cart/dto/cart.dto.d.ts +1 -0
- package/dist/types/cart/dto/cart.dto.js.map +1 -1
- package/dist/types/cart/entities/cart.entity.d.ts +1 -0
- package/dist/types/cart/entities/cart.entity.js.map +1 -1
- package/dist/types/dto/index.d.ts +1 -0
- package/dist/types/dto/index.js +1 -0
- package/dist/types/dto/index.js.map +1 -1
- package/dist/types/dto/station.dto.d.ts +6 -0
- package/dist/types/dto/station.dto.js +8 -0
- package/dist/types/dto/station.dto.js.map +1 -0
- package/dist/types/entity/Invoice.d.ts +1 -0
- package/dist/types/entity/Invoice.js.map +1 -1
- package/dist/types/entity/Station.d.ts +4 -0
- package/dist/types/entity/Station.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/product-pricing/dto/product-categories.dto.d.ts +15 -0
- package/dist/types/product-pricing/dto/product-categories.dto.js +4 -1
- package/dist/types/product-pricing/dto/product-categories.dto.js.map +1 -1
- package/dist/types/product-pricing/entities/index.d.ts +1 -0
- package/dist/types/product-pricing/entities/index.js +1 -0
- package/dist/types/product-pricing/entities/index.js.map +1 -1
- package/dist/types/product-pricing/entities/product-category.entity.d.ts +6 -0
- package/dist/types/product-pricing/entities/product-category.entity.js.map +1 -1
- package/dist/types/product-pricing/entities/station-to-product-category.entity.d.ts +12 -0
- package/dist/types/product-pricing/entities/station-to-product-category.entity.js +8 -0
- package/dist/types/product-pricing/entities/station-to-product-category.entity.js.map +1 -0
- package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.d.ts +10 -0
- package/dist/types/public-api/dto/UsagePlanDto.d.ts +4 -0
- package/dist/types/public-api/dto/UsagePlanDto.js +11 -0
- package/dist/types/public-api/dto/UsagePlanDto.js.map +1 -0
- package/dist/types/public-api/dto/index.d.ts +1 -0
- package/dist/types/public-api/dto/index.js +18 -0
- package/dist/types/public-api/dto/index.js.map +1 -0
- package/dist/types/public-api/index.d.ts +2 -0
- package/dist/types/public-api/index.js +19 -0
- package/dist/types/public-api/index.js.map +1 -0
- package/dist/types/public-api/types/enums.d.ts +5 -0
- package/dist/types/public-api/types/enums.js +10 -0
- package/dist/types/public-api/types/enums.js.map +1 -0
- package/dist/types/public-api/types/index.d.ts +1 -0
- package/dist/types/public-api/types/index.js +18 -0
- package/dist/types/public-api/types/index.js.map +1 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AACxD,8EAAyG;AASzG,sDAAkF;AAWlF,MAAa,aAAc,SAAQ,4CAAyB;CAQ3D;AARD,sCAQC;AAED,MAAa,OAAQ,SAAQ,aAAa;
|
|
1
|
+
{"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AACxD,8EAAyG;AASzG,sDAAkF;AAWlF,MAAa,aAAc,SAAQ,4CAAyB;CAQ3D;AARD,sCAQC;AAED,MAAa,OAAQ,SAAQ,aAAa;CAsCzC;AAtCD,0BAsCC;AAED,MAAa,mBAAoB,SAAQ,OAAO;CAAG;AAAnD,kDAAmD;AAEnD,MAAa,aAAa;CASzB;AATD,sCASC;AAED,MAAa,aAAc,SAAQ,aAAa;CAM/C;AAND,sCAMC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,aAAc,SAAQ,mCAAwB;CAE1D;AAFD,sCAEC;AAED,MAAa,qBAAsB,SAAQ,sCAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAQtD;AARD,gDAQC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,qBAAqB;CA8BjC;AA9BD,sDA8BC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,oBAAoB;CAkBhC;AAlBD,oDAkBC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart.entity.ts"],"names":[],"mappings":";;;AAKA,oGAAiG;AASjG,MAAa,IAAK,SAAQ,mEAAgC;
|
|
1
|
+
{"version":3,"file":"cart.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart.entity.ts"],"names":[],"mappings":";;;AAKA,oGAAiG;AASjG,MAAa,IAAK,SAAQ,mEAAgC;CAwDzD;AAxDD,oBAwDC"}
|
package/dist/types/dto/index.js
CHANGED
|
@@ -33,6 +33,7 @@ __exportStar(require("./registration.dto"), exports);
|
|
|
33
33
|
__exportStar(require("./rental.dto"), exports);
|
|
34
34
|
__exportStar(require("./response.dto"), exports);
|
|
35
35
|
__exportStar(require("./slots.dto"), exports);
|
|
36
|
+
__exportStar(require("./station.dto"), exports);
|
|
36
37
|
__exportStar(require("./stripe.dto"), exports);
|
|
37
38
|
__exportStar(require("./userPaymentMethod.dto"), exports);
|
|
38
39
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B,yDAAuC;AACvC,qDAAmC;AACnC,+CAA6B;AAC7B,iDAA+B;AAC/B,8CAA4B;AAC5B,+CAA6B;AAC7B,0DAAwC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B,yDAAuC;AACvC,qDAAmC;AACnC,+CAA6B;AAC7B,iDAA+B;AAC/B,8CAA4B;AAC5B,gDAA8B;AAC9B,+CAA6B;AAC7B,0DAAwC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StationDto = void 0;
|
|
4
|
+
const organization_dto_1 = require("../organization/dto/organization.dto");
|
|
5
|
+
class StationDto extends organization_dto_1.OrganizationBaseEntityDto {
|
|
6
|
+
}
|
|
7
|
+
exports.StationDto = StationDto;
|
|
8
|
+
//# sourceMappingURL=station.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"station.dto.js","sourceRoot":"","sources":["../../../src/types/dto/station.dto.ts"],"names":[],"mappings":";;;AACA,2EAAiF;AAEjF,MAAa,UAAW,SAAQ,4CAAyB;CAMxD;AAND,gCAMC"}
|
|
@@ -58,6 +58,7 @@ export declare class Invoice extends BondBaseEntity {
|
|
|
58
58
|
discountSubtotal?: number;
|
|
59
59
|
subtotal?: number;
|
|
60
60
|
subtotalBalance?: number;
|
|
61
|
+
tippableAmount?: number;
|
|
61
62
|
customer?: Customer;
|
|
62
63
|
obfuscatedCustomer?: ObfuscatedCustomerDto;
|
|
63
64
|
hasFailedPayments?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invoice.js","sourceRoot":"","sources":["../../../src/types/entity/Invoice.ts"],"names":[],"mappings":";;;AAoBA,qDAAkD;AAQlD,MAAa,OAAQ,SAAQ,+BAAc;
|
|
1
|
+
{"version":3,"file":"Invoice.js","sourceRoot":"","sources":["../../../src/types/entity/Invoice.ts"],"names":[],"mappings":";;;AAoBA,qDAAkD;AAQlD,MAAa,OAAQ,SAAQ,+BAAc;CA2G1C;AA3GD,0BA2GC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ProductCategory } from '../product-pricing/entities/product-category.entity';
|
|
2
|
+
import { StationToProductCategory } from '../product-pricing/entities/station-to-product-category.entity';
|
|
1
3
|
import { Shift } from '../shifts/entities/shift.entity';
|
|
2
4
|
import { Facility } from './Facility';
|
|
3
5
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
@@ -13,5 +15,7 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
13
15
|
currentOpenShift?: Shift;
|
|
14
16
|
stationToSubcategories: StationToSubcategory[];
|
|
15
17
|
subcategories: Subcategory[];
|
|
18
|
+
stationToProductCategories: StationToProductCategory[];
|
|
19
|
+
productCategories: ProductCategory[];
|
|
16
20
|
shifts?: Shift[];
|
|
17
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Station.js","sourceRoot":"","sources":["../../../src/types/entity/Station.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Station.js","sourceRoot":"","sources":["../../../src/types/entity/Station.ts"],"names":[],"mappings":";;;AAOA,yFAAsF;AAItF,MAAa,OAAQ,SAAQ,mEAAgC;CAwB5D;AAxBD,0BAwBC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export * from './pricing';
|
|
|
41
41
|
export * from './product-pricing';
|
|
42
42
|
export * from './programs';
|
|
43
43
|
export * from './programs-seasons';
|
|
44
|
+
export * from './public-api';
|
|
44
45
|
export * from './punch-pass';
|
|
45
46
|
export * from './purchase';
|
|
46
47
|
export * from './questionnaires';
|
package/dist/types/index.js
CHANGED
|
@@ -57,6 +57,7 @@ __exportStar(require("./pricing"), exports);
|
|
|
57
57
|
__exportStar(require("./product-pricing"), exports);
|
|
58
58
|
__exportStar(require("./programs"), exports);
|
|
59
59
|
__exportStar(require("./programs-seasons"), exports);
|
|
60
|
+
__exportStar(require("./public-api"), exports);
|
|
60
61
|
__exportStar(require("./punch-pass"), exports);
|
|
61
62
|
__exportStar(require("./purchase"), exports);
|
|
62
63
|
__exportStar(require("./questionnaires"), exports);
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,sDAAoC;AACpC,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,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,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,0CAAwB;AACxB,0CAAwB;AACxB,uDAAqC;AACrC,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,sDAAoC;AACpC,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,0CAAwB;AACxB,0CAAwB;AACxB,uDAAqC;AACrC,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PaginationQuery } from '../../dto/general.dto';
|
|
2
|
+
import { StationDto } from '../../dto/station.dto';
|
|
2
3
|
import { ByOrganizationIdDto, OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
|
3
4
|
import { ISettings } from '../../resource-settings/types/resource-settings.interfaces';
|
|
4
5
|
import { OrderByEnum, ProductTypesEnum, ResourceTypeEnum } from '../../services/enums.service';
|
|
@@ -15,10 +16,16 @@ export declare class CreateProductCategoryDto<T extends Record<string, unknown>
|
|
|
15
16
|
settings?: T;
|
|
16
17
|
productType: ProductTypesEnum;
|
|
17
18
|
productsIds?: number[];
|
|
19
|
+
ordinal?: number;
|
|
20
|
+
isTipEligible?: boolean;
|
|
21
|
+
stationIds?: number[];
|
|
18
22
|
}
|
|
19
23
|
export declare class UpdateProductCategoryDto<T extends Record<string, unknown> = ISettings> extends UpdateProductCategoryBaseDto {
|
|
20
24
|
settings?: T;
|
|
21
25
|
productsIds?: number[];
|
|
26
|
+
ordinal?: number;
|
|
27
|
+
isTipEligible?: boolean;
|
|
28
|
+
stationIds?: number[];
|
|
22
29
|
}
|
|
23
30
|
export declare class ProductCategoryDto<T extends Record<string, unknown> = ISettings> extends OrganizationBaseEntityDto {
|
|
24
31
|
name?: string;
|
|
@@ -26,6 +33,9 @@ export declare class ProductCategoryDto<T extends Record<string, unknown> = ISet
|
|
|
26
33
|
productType: ProductTypesEnum;
|
|
27
34
|
settings?: T;
|
|
28
35
|
productsCount?: number;
|
|
36
|
+
ordinal?: number;
|
|
37
|
+
isTipEligible: boolean;
|
|
38
|
+
stations?: StationDto[];
|
|
29
39
|
}
|
|
30
40
|
export declare class GetProductCategoriesDto extends PaginationQuery implements IGetProductCategories {
|
|
31
41
|
order?: OrderByEnum;
|
|
@@ -35,10 +45,15 @@ export declare class GetProductCategoriesDto extends PaginationQuery implements
|
|
|
35
45
|
vipEnabled?: boolean;
|
|
36
46
|
approvalRequired?: boolean;
|
|
37
47
|
resourceTypes?: ResourceTypeEnum[];
|
|
48
|
+
stationId?: number;
|
|
49
|
+
isTipEligible?: boolean;
|
|
38
50
|
}
|
|
39
51
|
export declare class ByOrganizationAndCategoryIdDto extends ByOrganizationIdDto {
|
|
40
52
|
categoryId: number;
|
|
41
53
|
}
|
|
54
|
+
export declare class GetStationProductCategoriesDto {
|
|
55
|
+
stationId: number;
|
|
56
|
+
}
|
|
42
57
|
export declare class IncludeProductsCountDto {
|
|
43
58
|
includeProductsCount?: boolean;
|
|
44
59
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IncludeProductsCountDto = exports.ByOrganizationAndCategoryIdDto = exports.GetProductCategoriesDto = exports.ProductCategoryDto = exports.UpdateProductCategoryDto = exports.CreateProductCategoryDto = exports.UpdateProductCategoryBaseDto = exports.UpdateProductCategorySettingsDto = void 0;
|
|
3
|
+
exports.IncludeProductsCountDto = exports.GetStationProductCategoriesDto = exports.ByOrganizationAndCategoryIdDto = exports.GetProductCategoriesDto = exports.ProductCategoryDto = exports.UpdateProductCategoryDto = exports.CreateProductCategoryDto = exports.UpdateProductCategoryBaseDto = exports.UpdateProductCategorySettingsDto = 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 UpdateProductCategorySettingsDto {
|
|
@@ -24,6 +24,9 @@ exports.GetProductCategoriesDto = GetProductCategoriesDto;
|
|
|
24
24
|
class ByOrganizationAndCategoryIdDto extends organization_dto_1.ByOrganizationIdDto {
|
|
25
25
|
}
|
|
26
26
|
exports.ByOrganizationAndCategoryIdDto = ByOrganizationAndCategoryIdDto;
|
|
27
|
+
class GetStationProductCategoriesDto {
|
|
28
|
+
}
|
|
29
|
+
exports.GetStationProductCategoriesDto = GetStationProductCategoriesDto;
|
|
27
30
|
class IncludeProductsCountDto {
|
|
28
31
|
}
|
|
29
32
|
exports.IncludeProductsCountDto = IncludeProductsCountDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-categories.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-categories.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;
|
|
1
|
+
{"version":3,"file":"product-categories.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-categories.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AAExD,8EAAyG;AAMzG,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,wBAEX,SAAQ,4BAA4B;CAYrC;AAdD,4DAcC;AAED,MAAa,wBAEX,SAAQ,4BAA4B;CAUrC;AAZD,4DAYC;AAED,MAAa,kBAAkE,SAAQ,4CAAyB;CAgB/G;AAhBD,gDAgBC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAkB3D;AAlBD,0DAkBC;AAED,MAAa,8BAA+B,SAAQ,sCAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,8BAA8B;CAE1C;AAFD,wEAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC"}
|
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./product-category.entity"), exports);
|
|
18
18
|
__exportStar(require("./product-to-facility.entity"), exports);
|
|
19
19
|
__exportStar(require("./product.entity"), exports);
|
|
20
|
+
__exportStar(require("./station-to-product-category.entity"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,+DAA6C;AAC7C,mDAAiC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,+DAA6C;AAC7C,mDAAiC;AACjC,uEAAqD"}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
2
2
|
import { ProductTypesEnum } from '../../services/enums.service';
|
|
3
3
|
import { Product } from './product.entity';
|
|
4
|
+
import { Station } from '../../entity/Station';
|
|
5
|
+
import { StationToProductCategory } from './station-to-product-category.entity';
|
|
4
6
|
export declare class ProductCategory extends OrganizationConnectionBaseEntity {
|
|
5
7
|
name: string;
|
|
6
8
|
description?: string;
|
|
7
9
|
productType: ProductTypesEnum;
|
|
8
10
|
settings?: unknown;
|
|
11
|
+
ordinal?: number;
|
|
12
|
+
isTipEligible: boolean;
|
|
9
13
|
deletedAt?: Date;
|
|
10
14
|
products?: Product[];
|
|
15
|
+
stationToProductCategories?: StationToProductCategory[];
|
|
16
|
+
stations?: Station[];
|
|
11
17
|
productsCount?: number;
|
|
12
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-category.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/product-category.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"product-category.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/product-category.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAOjG,MAAa,eAAgB,SAAQ,mEAAgC;CAsBpE;AAtBD,0CAsBC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
2
|
+
import { Station } from '../../entity/Station';
|
|
3
|
+
import { ProductTypesEnum } from '../../services/enums.service';
|
|
4
|
+
import { ProductCategory } from './product-category.entity';
|
|
5
|
+
export declare class StationToProductCategory extends OrganizationConnectionBaseEntity {
|
|
6
|
+
stationId: number;
|
|
7
|
+
productCategoryId: number;
|
|
8
|
+
productType: ProductTypesEnum;
|
|
9
|
+
deletedAt?: Date;
|
|
10
|
+
station: Station;
|
|
11
|
+
productCategory: ProductCategory;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StationToProductCategory = void 0;
|
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
|
5
|
+
class StationToProductCategory extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
|
+
}
|
|
7
|
+
exports.StationToProductCategory = StationToProductCategory;
|
|
8
|
+
//# sourceMappingURL=station-to-product-category.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"station-to-product-category.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/station-to-product-category.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,wBAAyB,SAAQ,mEAAgC;CAY7E;AAZD,4DAYC"}
|
|
@@ -6,10 +6,12 @@ import { CategoryOrderColumnEnum } from '../enums/product-categories.enums';
|
|
|
6
6
|
export interface IGetProductCategories extends IPagination {
|
|
7
7
|
approvalRequired?: boolean;
|
|
8
8
|
categoriesIds?: number[];
|
|
9
|
+
isTipEligible?: boolean;
|
|
9
10
|
order?: OrderByEnum;
|
|
10
11
|
orderBy?: CategoryOrderColumnEnum;
|
|
11
12
|
resourceTypes?: ResourceTypeEnum[];
|
|
12
13
|
search?: string;
|
|
14
|
+
stationId?: number;
|
|
13
15
|
vipEnabled?: boolean;
|
|
14
16
|
}
|
|
15
17
|
export interface ISettingValidationIssue {
|
|
@@ -24,3 +26,11 @@ export interface ISettingsValidationResult<T = ISettings> {
|
|
|
24
26
|
export interface IRawProductCategoryData extends BondBaseEntity {
|
|
25
27
|
productsCount: number;
|
|
26
28
|
}
|
|
29
|
+
export interface IItemWithProductCategory {
|
|
30
|
+
product?: {
|
|
31
|
+
productCategory?: {
|
|
32
|
+
isTipEligible?: boolean;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
totalPrice?: number;
|
|
36
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UsagePlanDto = void 0;
|
|
4
|
+
const enums_1 = require("../types/enums");
|
|
5
|
+
class UsagePlanDto {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.usagePlan = enums_1.ApiGatewayUsagePlanName.Enterprise;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.UsagePlanDto = UsagePlanDto;
|
|
11
|
+
//# sourceMappingURL=UsagePlanDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UsagePlanDto.js","sourceRoot":"","sources":["../../../../src/types/public-api/dto/UsagePlanDto.ts"],"names":[],"mappings":";;;AAAA,0CAAyD;AAEzD,MAAa,YAAY;IAAzB;QACC,cAAS,GAA4B,+BAAuB,CAAC,UAAU,CAAC;IACzE,CAAC;CAAA;AAFD,oCAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './UsagePlanDto';
|
|
@@ -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("./UsagePlanDto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/public-api/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./dto"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/public-api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,0CAAwB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApiGatewayUsagePlanName = void 0;
|
|
4
|
+
var ApiGatewayUsagePlanName;
|
|
5
|
+
(function (ApiGatewayUsagePlanName) {
|
|
6
|
+
ApiGatewayUsagePlanName["Enterprise"] = "enterprise";
|
|
7
|
+
ApiGatewayUsagePlanName["Pro"] = "pro";
|
|
8
|
+
ApiGatewayUsagePlanName["Free"] = "free";
|
|
9
|
+
})(ApiGatewayUsagePlanName = exports.ApiGatewayUsagePlanName || (exports.ApiGatewayUsagePlanName = {}));
|
|
10
|
+
//# sourceMappingURL=enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/public-api/types/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IAClC,oDAAyB,CAAA;IACzB,sCAAW,CAAA;IACX,wCAAa,CAAA;AACd,CAAC,EAJW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAIlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './enums';
|
|
@@ -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("./enums"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/public-api/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bondsports/types",
|
|
3
|
-
"version": "2.4.38-a-
|
|
3
|
+
"version": "2.4.38-a-4",
|
|
4
4
|
"description": "backend types module for Bond-Sports",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"ts-node": "^10.8.0",
|
|
52
52
|
"typescript": "^4.4.3"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "de9bfaf72472bf990a1a880d7d2641dedbe0b863"
|
|
55
55
|
}
|