@bondsports/types 2.2.279-team-a-4 → 2.2.279-team-a-5

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.
@@ -93,4 +93,5 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
93
93
  search?: string;
94
94
  sortBy?: OrderByProductEnum;
95
95
  order?: OrderByEnum;
96
+ inclusion?: boolean;
96
97
  }
@@ -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;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,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CA4C7D;AA5CD,8DA4CC"}
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,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CA8C7D;AA9CD,8DA8CC"}
@@ -33,6 +33,7 @@ export interface IGetProductsByTypeOptions extends IPagination {
33
33
  sortBy?: OrderByProductEnum;
34
34
  order?: OrderByEnum;
35
35
  onlyValid?: boolean;
36
+ inclusion?: boolean;
36
37
  }
37
38
  export interface IPricingSchedule {
38
39
  groupId: string;
@@ -4,10 +4,12 @@ import { ProductPackageLevelEnum } from '../../services/enums.service';
4
4
  import { IAddon, IBaseAddon, IDraftAddon } from '../types/interfaces/addon.interfaces';
5
5
  import { EditItemsRefundMetaDto } from './reservation.dto';
6
6
  import { SimpleProductUserDto } from '../../dto/product-user';
7
- export declare class BaseAddonDto implements IBaseAddon {
7
+ export declare class SelectAddonDto {
8
8
  productId: number;
9
- unitPrice?: number;
10
9
  quantity?: number;
10
+ }
11
+ export declare class BaseAddonDto extends SelectAddonDto implements IBaseAddon {
12
+ unitPrice?: number;
11
13
  totalPrice?: number;
12
14
  }
13
15
  export declare class AddonDto extends BaseAddonDto implements IAddon {
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DraftAddonDto = exports.CreateDraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = exports.BaseAddonDto = void 0;
4
- class BaseAddonDto {
3
+ exports.DraftAddonDto = exports.CreateDraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = exports.BaseAddonDto = exports.SelectAddonDto = void 0;
4
+ class SelectAddonDto {
5
+ }
6
+ exports.SelectAddonDto = SelectAddonDto;
7
+ class BaseAddonDto extends SelectAddonDto {
5
8
  }
6
9
  exports.BaseAddonDto = BaseAddonDto;
7
10
  class AddonDto extends BaseAddonDto {
@@ -1 +1 @@
1
- {"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAOA,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,QAAS,SAAQ,YAAY;CAczC;AAdD,4BAcC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,aAAa;CAE1D;AAFD,4DAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAM9C;AAND,sCAMC"}
1
+ {"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAOA,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,YAAa,SAAQ,cAAc;CAI/C;AAJD,oCAIC;AAED,MAAa,QAAS,SAAQ,YAAY;CAczC;AAdD,4BAcC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,aAAa;CAE1D;AAFD,4DAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAM9C;AAND,sCAMC"}
@@ -7,6 +7,7 @@ export declare class DraftAddon implements IDraftAddon {
7
7
  productId: number;
8
8
  product?: Product;
9
9
  quantity: number;
10
+ baseQuantity?: number;
10
11
  unitPrice?: number;
11
12
  totalPrice?: number;
12
13
  parentId?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"addon.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/addon.classes.ts"],"names":[],"mappings":";;;AAKA,MAAa,UAAU;CA8BtB;AA9BD,gCA8BC"}
1
+ {"version":3,"file":"addon.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/addon.classes.ts"],"names":[],"mappings":";;;AAKA,MAAa,UAAU;CAgCtB;AAhCD,gCAgCC"}
@@ -71,6 +71,7 @@ export declare class FindResourcesOptionsDto extends PaginationQuery implements
71
71
  includeActivityTimes?: boolean;
72
72
  includeFacilities?: boolean;
73
73
  searchByFacility?: boolean;
74
+ inclusion?: boolean;
74
75
  }
75
76
  export declare class UpdateSpaceDto extends UpdateResourceDto {
76
77
  name?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAcxD,iDAA6F;AAE7F,MAAa,gBAAiB,SAAQ,8BAAe;CAkBpD;AAlBD,4CAkBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAe,SAAQ,sCAAuB;CA8B1D;AA9BD,wCA8BC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AACD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAwB3D;AAxBD,0DAwBC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
1
+ {"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAcxD,iDAA6F;AAE7F,MAAa,gBAAiB,SAAQ,8BAAe;CAkBpD;AAlBD,4CAkBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAe,SAAQ,sCAAuB;CA8B1D;AA9BD,wCA8BC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AACD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CA0B3D;AA1BD,0DA0BC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
@@ -19,6 +19,7 @@ export interface IGetResourcesOptions {
19
19
  includeResourceMetadata?: boolean;
20
20
  includeFacilities?: boolean;
21
21
  searchByFacility?: boolean;
22
+ inclusion?: boolean;
22
23
  }
23
24
  export interface IGetResourceByIdsOptions {
24
25
  order?: OrderByEnum;
package/package.json CHANGED
@@ -1,54 +1,54 @@
1
- {
2
- "name": "@bondsports/types",
3
- "version": "2.2.279-team-a-4",
4
- "description": "backend types module for Bond-Sports",
5
- "main": "./dist/index.js",
6
- "scripts": {
7
- "format": "prettier --check .",
8
- "format:fix": "prettier --write .",
9
- "prelint:fix": "npm run format:fix",
10
- "prelint": "npm run format",
11
- "lint": "eslint .",
12
- "lint:fix": "eslint --fix .",
13
- "release": "standard-version",
14
- "import:types": "rimraf src/types && node ./import.js",
15
- "prebuild": "npm run clean",
16
- "build": "tsc --project tsconfig.build.json",
17
- "start": "npm run build && cd dist && node ./index.js",
18
- "clean": "rimraf dist",
19
- "prepublish": "npm run build",
20
- "version": "echo $npm_package_version"
21
- },
22
- "repository": {
23
- "type": "git",
24
- "url": "git+https://github.com/Bond-Sports/bondUtils/tree/main/packages/types.git"
25
- },
26
- "author": "Bond-Sports",
27
- "license": "ISC",
28
- "bugs": {
29
- "url": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types/issues"
30
- },
31
- "files": [
32
- "dist/**/*"
33
- ],
34
- "homepage": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types#readme",
35
- "dependencies": {
36
- "moment": "^2.29.1",
37
- "rimraf": "^3.0.2",
38
- "stripe": "9.1.0",
39
- "typeorm": "^0.2.32",
40
- "@bondsports/date-time": "latest",
41
- "@bondsports/notifications-sdk": "latest"
42
- },
43
- "devDependencies": {
44
- "@bondsports/eslint-config": "^1.0.2",
45
- "@bondsports/prettier-config": "0.0.1",
46
- "@types/node": "^13.9.1",
47
- "eslint": "^8.16.0",
48
- "prettier": "^2.6.2",
49
- "standard-version": "^9.5.0",
50
- "ts-node": "^10.8.0",
51
- "typescript": "^4.4.3"
52
- },
53
- "gitHead": "178ca9dc5ea5e94b44d765b6663e7a4ad0d19d98"
54
- }
1
+ {
2
+ "name": "@bondsports/types",
3
+ "version": "2.2.279-team-a-5",
4
+ "description": "backend types module for Bond-Sports",
5
+ "main": "./dist/index.js",
6
+ "scripts": {
7
+ "format": "prettier --check .",
8
+ "format:fix": "prettier --write .",
9
+ "prelint:fix": "npm run format:fix",
10
+ "prelint": "npm run format",
11
+ "lint": "eslint .",
12
+ "lint:fix": "eslint --fix .",
13
+ "release": "standard-version",
14
+ "import:types": "rimraf src/types && node ./import.js",
15
+ "prebuild": "npm run clean",
16
+ "build": "tsc --project tsconfig.build.json",
17
+ "start": "npm run build && cd dist && node ./index.js",
18
+ "clean": "rimraf dist",
19
+ "prepublish": "npm run build",
20
+ "version": "echo $npm_package_version"
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/Bond-Sports/bondUtils/tree/main/packages/types.git"
25
+ },
26
+ "author": "Bond-Sports",
27
+ "license": "ISC",
28
+ "bugs": {
29
+ "url": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types/issues"
30
+ },
31
+ "files": [
32
+ "dist/**/*"
33
+ ],
34
+ "homepage": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types#readme",
35
+ "dependencies": {
36
+ "moment": "^2.29.1",
37
+ "rimraf": "^3.0.2",
38
+ "stripe": "9.1.0",
39
+ "typeorm": "^0.2.32",
40
+ "@bondsports/date-time": "latest",
41
+ "@bondsports/notifications-sdk": "latest"
42
+ },
43
+ "devDependencies": {
44
+ "@bondsports/eslint-config": "^1.0.2",
45
+ "@bondsports/prettier-config": "0.0.1",
46
+ "@types/node": "^13.9.1",
47
+ "eslint": "^8.16.0",
48
+ "prettier": "^2.6.2",
49
+ "standard-version": "^9.5.0",
50
+ "ts-node": "^10.8.0",
51
+ "typescript": "^4.4.3"
52
+ },
53
+ "gitHead": "178ca9dc5ea5e94b44d765b6663e7a4ad0d19d98"
54
+ }