@bondsports/types 2.4.31 → 2.4.32-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/filters/types/interfaces/filters.interfaces.d.ts +1 -0
- 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/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/payment/dto/payment.dto.d.ts +2 -2
- package/dist/types/payment/dto/payment.dto.js +1 -1
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- 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 +5 -0
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +16 -0
- package/dist/types/product-pricing/dto/product.dto.js +10 -1
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/rental-product.dto.d.ts +6 -0
- package/dist/types/product-pricing/dto/rental-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 +4 -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 +534 -0
- package/dist/types/product-pricing/types/consts/product-category.consts.js +107 -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 +12 -0
- package/dist/types/product-pricing/types/enums/product-categories.enums.js +17 -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 +3 -1
- package/dist/types/product-pricing/types/enums/product.enums.js +2 -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 +9 -0
- package/dist/types/user/dto/index.d.ts +1 -0
- package/dist/types/user/dto/index.js +1 -0
- package/dist/types/user/dto/index.js.map +1 -1
- package/dist/types/user/dto/reset-password.dto.d.ts +9 -0
- package/dist/types/user/dto/reset-password.dto.js +13 -0
- package/dist/types/user/dto/reset-password.dto.js.map +1 -0
- package/dist/types/user/types/index.d.ts +1 -0
- package/dist/types/user/types/index.js +1 -0
- package/dist/types/user/types/index.js.map +1 -1
- package/dist/types/user/types/reset-password.consts.d.ts +5 -0
- package/dist/types/user/types/reset-password.consts.js +9 -0
- package/dist/types/user/types/reset-password.consts.js.map +1 -0
- package/package.json +5 -4
|
@@ -9,7 +9,9 @@ export declare enum OrderByProductEnum {
|
|
|
9
9
|
DURATION = "duration",
|
|
10
10
|
PRODUCT_SUB_TYPE = "productSubType",
|
|
11
11
|
STATUS = "status",
|
|
12
|
-
PRODUCT_STATUS = "productStatus"
|
|
12
|
+
PRODUCT_STATUS = "productStatus",
|
|
13
|
+
PRODUCT_CATEGORY = "product_category",
|
|
14
|
+
IS_AVAILABLE_ONLINE = "isAvailableOnline"
|
|
13
15
|
}
|
|
14
16
|
export declare enum ProductExpandEnum {
|
|
15
17
|
PRICES = "prices",
|
|
@@ -15,6 +15,8 @@ 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";
|
|
19
|
+
OrderByProductEnum["IS_AVAILABLE_ONLINE"] = "isAvailableOnline";
|
|
18
20
|
})(OrderByProductEnum = exports.OrderByProductEnum || (exports.OrderByProductEnum = {}));
|
|
19
21
|
var ProductExpandEnum;
|
|
20
22
|
(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,kBAUX;AAVD,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;IACrC,+DAAyC,CAAA;AAC1C,CAAC,EAVW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAU7B;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,24 +17,29 @@ 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[];
|
|
23
24
|
facilitiesIds?: number[];
|
|
25
|
+
includeActivityTimes?: boolean;
|
|
24
26
|
includeArchived?: boolean;
|
|
25
27
|
includeCurrentPrice?: boolean;
|
|
26
28
|
includeCustomers?: boolean;
|
|
27
29
|
includeEntitlementDiscounts?: boolean;
|
|
28
30
|
includeFacilities?: boolean;
|
|
29
31
|
includeGlCodes?: boolean;
|
|
32
|
+
includeOnlyNotAssignedToCategory?: boolean;
|
|
30
33
|
includePaymentPlan?: boolean;
|
|
31
34
|
includePricesSchedule?: boolean;
|
|
35
|
+
includeProductCategories?: boolean;
|
|
32
36
|
includeProductResources?: boolean;
|
|
33
37
|
includePunchPass?: boolean;
|
|
34
38
|
includeResources?: boolean;
|
|
35
39
|
includeResourceSettings?: boolean;
|
|
36
40
|
inclusion?: boolean;
|
|
37
41
|
instructorsIds?: number[];
|
|
42
|
+
isAvailableOnline?: boolean;
|
|
38
43
|
mustIncludeAllResourcesIds?: number[];
|
|
39
44
|
onlyValid?: boolean;
|
|
40
45
|
order?: OrderByEnum;
|
|
@@ -122,3 +127,7 @@ export interface IProductsAndTaxesIds {
|
|
|
122
127
|
export interface IGetPackageProductOptions {
|
|
123
128
|
includeDependentProducts?: boolean;
|
|
124
129
|
}
|
|
130
|
+
export interface IRequiredProductsByUser {
|
|
131
|
+
product: Product;
|
|
132
|
+
required: Product[];
|
|
133
|
+
}
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./athlete.dto"), exports);
|
|
18
|
+
__exportStar(require("./reset-password.dto"), exports);
|
|
18
19
|
__exportStar(require("./update-user-profile.dto"), exports);
|
|
19
20
|
__exportStar(require("./user-settings.dto"), exports);
|
|
20
21
|
__exportStar(require("./user.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/user/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,4DAA0C;AAC1C,sDAAoC;AACpC,6CAA2B;AAC3B,iDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/user/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,uDAAqC;AACrC,4DAA0C;AAC1C,sDAAoC;AACpC,6CAA2B;AAC3B,iDAA+B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResetPasswordResponseDto = exports.ResetPasswordDto = exports.ByEmailDto = void 0;
|
|
4
|
+
class ByEmailDto {
|
|
5
|
+
}
|
|
6
|
+
exports.ByEmailDto = ByEmailDto;
|
|
7
|
+
class ResetPasswordDto {
|
|
8
|
+
}
|
|
9
|
+
exports.ResetPasswordDto = ResetPasswordDto;
|
|
10
|
+
class ResetPasswordResponseDto {
|
|
11
|
+
}
|
|
12
|
+
exports.ResetPasswordResponseDto = ResetPasswordResponseDto;
|
|
13
|
+
//# sourceMappingURL=reset-password.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reset-password.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/reset-password.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC"}
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./athlete.interfaces"), exports);
|
|
18
18
|
__exportStar(require("./family.interfaces"), exports);
|
|
19
|
+
__exportStar(require("./reset-password.consts"), exports);
|
|
19
20
|
__exportStar(require("./user.consts"), exports);
|
|
20
21
|
__exportStar(require("./user.interfaces"), exports);
|
|
21
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/user/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,sDAAoC;AACpC,gDAA8B;AAC9B,oDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/user/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,sDAAoC;AACpC,0DAAwC;AACxC,gDAA8B;AAC9B,oDAAkC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PASSWORD_REGEX = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Password validation regex pattern.
|
|
6
|
+
* Requires at least 8 characters, one lowercase letter, one uppercase letter, and one number.
|
|
7
|
+
*/
|
|
8
|
+
exports.PASSWORD_REGEX = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).{8,}$/;
|
|
9
|
+
//# sourceMappingURL=reset-password.consts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reset-password.consts.js","sourceRoot":"","sources":["../../../../src/types/user/types/reset-password.consts.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,cAAc,GAAW,uCAAuC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bondsports/types",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.32-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.
|
|
37
|
-
"@bondsports/notifications-sdk": "
|
|
36
|
+
"@bondsports/date-time": "^2.4.53",
|
|
37
|
+
"@bondsports/notifications-sdk": "0.0.8",
|
|
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",
|