@bondsports/types 2.4.17 → 2.4.18-squad-c-1
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/filters/dto/filters.dto.d.ts +4 -1
- package/dist/types/filters/dto/filters.dto.js.map +1 -1
- package/dist/types/filters/entities/Filter.d.ts +2 -0
- package/dist/types/filters/entities/Filter.js.map +1 -1
- package/dist/types/filters/types/consts.d.ts +2 -0
- package/dist/types/filters/types/consts.js +2 -0
- package/dist/types/filters/types/consts.js.map +1 -1
- package/dist/types/filters/types/enums/filter.enums.d.ts +2 -1
- package/dist/types/filters/types/enums/filter.enums.js +1 -0
- package/dist/types/filters/types/enums/filter.enums.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/leagues-scheduler/types/interfaces.d.ts +16 -1
- package/dist/types/online-booking/index.d.ts +1 -0
- package/dist/types/online-booking/index.js +18 -0
- package/dist/types/online-booking/index.js.map +1 -0
- package/dist/types/online-booking/types/classes/index.d.ts +1 -0
- package/dist/types/online-booking/types/classes/index.js +18 -0
- package/dist/types/online-booking/types/classes/index.js.map +1 -0
- package/dist/types/online-booking/types/classes/portals.classes.d.ts +20 -0
- package/dist/types/online-booking/types/classes/portals.classes.js +11 -0
- package/dist/types/online-booking/types/classes/portals.classes.js.map +1 -0
- package/dist/types/online-booking/types/consts/index.d.ts +1 -0
- package/dist/types/online-booking/types/consts/index.js +18 -0
- package/dist/types/online-booking/types/consts/index.js.map +1 -0
- package/dist/types/online-booking/types/consts/portals.consts.d.ts +4 -0
- package/dist/types/online-booking/types/consts/portals.consts.js +19 -0
- package/dist/types/online-booking/types/consts/portals.consts.js.map +1 -0
- package/dist/types/online-booking/types/dto/index.d.ts +1 -0
- package/dist/types/online-booking/types/dto/index.js +18 -0
- package/dist/types/online-booking/types/dto/index.js.map +1 -0
- package/dist/types/online-booking/types/dto/portals.dto.d.ts +59 -0
- package/dist/types/online-booking/types/dto/portals.dto.js +36 -0
- package/dist/types/online-booking/types/dto/portals.dto.js.map +1 -0
- package/dist/types/online-booking/types/enums/index.d.ts +1 -0
- package/dist/types/online-booking/types/enums/index.js +18 -0
- package/dist/types/online-booking/types/enums/index.js.map +1 -0
- package/dist/types/online-booking/types/enums/portals.enums.d.ts +12 -0
- package/dist/types/online-booking/types/enums/portals.enums.js +18 -0
- package/dist/types/online-booking/types/enums/portals.enums.js.map +1 -0
- package/dist/types/online-booking/types/index.d.ts +5 -0
- package/dist/types/online-booking/types/index.js +22 -0
- package/dist/types/online-booking/types/index.js.map +1 -0
- package/dist/types/online-booking/types/interfaces/index.d.ts +1 -0
- package/dist/types/online-booking/types/interfaces/index.js +18 -0
- package/dist/types/online-booking/types/interfaces/index.js.map +1 -0
- package/dist/types/online-booking/types/interfaces/portals.interfaces.d.ts +21 -0
- package/dist/types/online-booking/types/interfaces/portals.interfaces.js +3 -0
- package/dist/types/online-booking/types/interfaces/portals.interfaces.js.map +1 -0
- package/dist/types/product-pricing/dto/index.d.ts +1 -0
- package/dist/types/product-pricing/dto/index.js +1 -0
- package/dist/types/product-pricing/dto/index.js.map +1 -1
- package/dist/types/product-pricing/dto/product-categories.dto.d.ts +44 -0
- package/dist/types/product-pricing/dto/product-categories.dto.js +30 -0
- package/dist/types/product-pricing/dto/product-categories.dto.js.map +1 -0
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +3 -0
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +2 -0
- package/dist/types/product-pricing/dto/product.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 +12 -0
- package/dist/types/product-pricing/entities/product-category.entity.js +8 -0
- package/dist/types/product-pricing/entities/product-category.entity.js.map +1 -0
- package/dist/types/product-pricing/entities/product.entity.d.ts +3 -0
- package/dist/types/product-pricing/entities/product.entity.js.map +1 -1
- package/dist/types/product-pricing/types/consts/index.d.ts +1 -0
- package/dist/types/product-pricing/types/consts/index.js +1 -0
- package/dist/types/product-pricing/types/consts/index.js.map +1 -1
- package/dist/types/product-pricing/types/consts/product-category.consts.d.ts +510 -0
- package/dist/types/product-pricing/types/consts/product-category.consts.js +124 -0
- package/dist/types/product-pricing/types/consts/product-category.consts.js.map +1 -0
- package/dist/types/product-pricing/types/enums/index.d.ts +1 -0
- package/dist/types/product-pricing/types/enums/index.js +1 -0
- package/dist/types/product-pricing/types/enums/index.js.map +1 -1
- package/dist/types/product-pricing/types/enums/product-categories.enums.d.ts +8 -0
- package/dist/types/product-pricing/types/enums/product-categories.enums.js +13 -0
- package/dist/types/product-pricing/types/enums/product-categories.enums.js.map +1 -0
- package/dist/types/product-pricing/types/enums/product.enums.d.ts +2 -1
- package/dist/types/product-pricing/types/enums/product.enums.js +1 -0
- package/dist/types/product-pricing/types/enums/product.enums.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/index.d.ts +1 -0
- package/dist/types/product-pricing/types/interfaces/index.js +1 -0
- package/dist/types/product-pricing/types/interfaces/index.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.d.ts +26 -0
- package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.js +3 -0
- package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.js.map +1 -0
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +3 -0
- package/package.json +5 -4
- package/LICENSE.md +0 -0
|
@@ -15,6 +15,7 @@ var OrderByProductEnum;
|
|
|
15
15
|
OrderByProductEnum["PRODUCT_SUB_TYPE"] = "productSubType";
|
|
16
16
|
OrderByProductEnum["STATUS"] = "status";
|
|
17
17
|
OrderByProductEnum["PRODUCT_STATUS"] = "productStatus";
|
|
18
|
+
OrderByProductEnum["PRODUCT_CATEGORY"] = "product_category";
|
|
18
19
|
})(OrderByProductEnum = exports.OrderByProductEnum || (exports.OrderByProductEnum = {}));
|
|
19
20
|
var ProductExpandEnum;
|
|
20
21
|
(function (ProductExpandEnum) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.enums.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/enums/product.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC3B,mCAAe,CAAA;IACf,+CAA2B,CAAA;AAC5B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"product.enums.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/enums/product.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC3B,mCAAe,CAAA;IACf,+CAA2B,CAAA;AAC5B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAED,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC7B,+BAAS,CAAA;IACT,mCAAa,CAAA;IACb,qCAAe,CAAA;IACf,2CAAqB,CAAA;IACrB,yDAAmC,CAAA;IACnC,uCAAiB,CAAA;IACjB,sDAAgC,CAAA;IAChC,2DAAqC,CAAA;AACtC,CAAC,EATW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAS7B;AAED,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC5B,sCAAiB,CAAA;IACjB,2DAAsC,CAAA;IACtC,mEAA8C,CAAA;AAC/C,CAAC,EAJW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAI5B;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IACjC,2CAAiB,CAAA;IACjB,mEAAyC,CAAA;IACzC,iEAAuC,CAAA;AACxC,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC"}
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./product-categories.interfaces"), exports);
|
|
17
18
|
__exportStar(require("./product-pricing.interfaces"), exports);
|
|
18
19
|
__exportStar(require("./product-resource.interfaces"), exports);
|
|
19
20
|
__exportStar(require("./validate-resources.interfaces"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,gEAA8C;AAC9C,kEAAgD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,+DAA6C;AAC7C,gEAA8C;AAC9C,kEAAgD"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BondBaseEntity } from '../../../entity/BondBaseEntity';
|
|
2
|
+
import { ISettings } from '../../../resource-settings/types/resource-settings.interfaces';
|
|
3
|
+
import { OrderByEnum, ResourceTypeEnum } from '../../../services/enums.service';
|
|
4
|
+
import { IPagination } from '../../../util/models/interfaces/general.interfaces';
|
|
5
|
+
import { CategoryOrderColumnEnum } from '../enums/product-categories.enums';
|
|
6
|
+
export interface IGetProductCategories extends IPagination {
|
|
7
|
+
approvalRequired?: boolean;
|
|
8
|
+
categoriesIds?: number[];
|
|
9
|
+
order?: OrderByEnum;
|
|
10
|
+
orderBy?: CategoryOrderColumnEnum;
|
|
11
|
+
resourceTypes?: ResourceTypeEnum[];
|
|
12
|
+
search?: string;
|
|
13
|
+
vipEnabled?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface ISettingValidationIssue {
|
|
16
|
+
error: string;
|
|
17
|
+
path: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ISettingsValidationResult<T = ISettings> {
|
|
20
|
+
data?: T;
|
|
21
|
+
issues?: ISettingValidationIssue[];
|
|
22
|
+
success: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface IRawProductCategoryData extends BondBaseEntity {
|
|
25
|
+
productsCount: number;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-categories.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/interfaces/product-categories.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -17,6 +17,7 @@ export interface IGetCurrentPricesOptions {
|
|
|
17
17
|
skipProrated?: boolean;
|
|
18
18
|
}
|
|
19
19
|
export interface IGetProductsByTypeOptions extends IPagination {
|
|
20
|
+
categoriesIds?: number[];
|
|
20
21
|
customersIds?: number[];
|
|
21
22
|
excludeProductIds?: number[];
|
|
22
23
|
excludeResourceIds?: number[];
|
|
@@ -27,8 +28,10 @@ export interface IGetProductsByTypeOptions extends IPagination {
|
|
|
27
28
|
includeEntitlementDiscounts?: boolean;
|
|
28
29
|
includeFacilities?: boolean;
|
|
29
30
|
includeGlCodes?: boolean;
|
|
31
|
+
includeOnlyNotAssignedToCategory?: boolean;
|
|
30
32
|
includePaymentPlan?: boolean;
|
|
31
33
|
includePricesSchedule?: boolean;
|
|
34
|
+
includeProductCategories?: boolean;
|
|
32
35
|
includeProductResources?: boolean;
|
|
33
36
|
includePunchPass?: boolean;
|
|
34
37
|
includeResources?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bondsports/types",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.18-squad-c-1",
|
|
4
4
|
"description": "backend types module for Bond-Sports",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -33,12 +33,13 @@
|
|
|
33
33
|
],
|
|
34
34
|
"homepage": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types#readme",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@bondsports/date-time": "^2.4.
|
|
36
|
+
"@bondsports/date-time": "^2.4.53",
|
|
37
37
|
"@bondsports/notifications-sdk": "latest",
|
|
38
38
|
"moment": "^2.29.1",
|
|
39
39
|
"rimraf": "^3.0.2",
|
|
40
40
|
"stripe": "9.1.0",
|
|
41
|
-
"typeorm": "^0.2.32"
|
|
41
|
+
"typeorm": "^0.2.32",
|
|
42
|
+
"zod": "^3.25.49"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
45
|
"@bondsports/eslint-config": "^1.0.2",
|
|
@@ -50,5 +51,5 @@
|
|
|
50
51
|
"ts-node": "^10.8.0",
|
|
51
52
|
"typescript": "^4.4.3"
|
|
52
53
|
},
|
|
53
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "178ca9dc5ea5e94b44d765b6663e7a4ad0d19d98"
|
|
54
55
|
}
|
package/LICENSE.md
DELETED
|
File without changes
|