@bondsports/types 2.0.54 → 2.0.55

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.
@@ -0,0 +1,8 @@
1
+ import { AddonTimePeriodEnum } from "../../services/enums.service";
2
+ export declare class UserAddonDto {
3
+ id: number;
4
+ name: string;
5
+ quantity: number;
6
+ timePeriod: AddonTimePeriodEnum;
7
+ date: string;
8
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserAddonDto = void 0;
4
+ class UserAddonDto {
5
+ }
6
+ exports.UserAddonDto = UserAddonDto;
7
+ //# sourceMappingURL=addons.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addons.dto.js","sourceRoot":"","sources":["../../../../src/types/addons/dto/addons.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,YAAY;CAWxB;AAXD,oCAWC"}
@@ -0,0 +1 @@
1
+ export * from './addons.dto';
@@ -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("./addons.dto"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/addons/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
@@ -0,0 +1 @@
1
+ export * from './dto';
@@ -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("./dto"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/addons/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB"}
@@ -1,4 +1,5 @@
1
1
  export * from './activities';
2
+ export * from './addons';
2
3
  export * from './cart';
3
4
  export * from './communication';
4
5
  export * from './customers';
@@ -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("./activities"), exports);
18
+ __exportStar(require("./addons"), exports);
18
19
  __exportStar(require("./cart"), exports);
19
20
  __exportStar(require("./communication"), exports);
20
21
  __exportStar(require("./customers"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,yCAAuB;AACvB,kDAAgC;AAChC,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,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,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAyB;AACzB,yCAAuB;AACvB,kDAAgC;AAChC,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,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,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B"}
@@ -2,6 +2,7 @@ import { SimpleProductDto } from '../../dto/product.dto';
2
2
  import { ActivityTimesDto } from '../../programs-seasons/dto/program-seasons.dto';
3
3
  import { OrderByEnum } from '../../services/enums.service';
4
4
  import { ByOrganizationAndUserDto } from '../../user/dto/user.dto';
5
+ import { PaginationQuery } from '../../dto/general.dto';
5
6
  export declare class GetProgramsEventsQuery {
6
7
  itemsPerPage: number;
7
8
  startDate: number;
@@ -23,6 +24,7 @@ export declare class ProgramEventDto {
23
24
  endTime: string;
24
25
  timezone: string;
25
26
  addons: SimpleProductDto[];
27
+ addonsCount: number;
26
28
  }
27
29
  export declare class ProgramSegmentDto {
28
30
  id: number;
@@ -32,8 +34,18 @@ export declare class ProgramSegmentDto {
32
34
  startDate: Date;
33
35
  endDate: Date;
34
36
  addons: SimpleProductDto[];
37
+ addonsCount: number;
35
38
  activityTimes: ActivityTimesDto[];
36
39
  }
37
40
  export declare class ByOrganizationIdUserIdAndProgramIdDto extends ByOrganizationAndUserDto {
38
41
  programId: number;
39
42
  }
43
+ export declare class GetUserAddonsQuery extends PaginationQuery {
44
+ productUserId: number;
45
+ }
46
+ export declare class ByOrganizationIdUserIdAndEventIdDto extends ByOrganizationAndUserDto {
47
+ eventId: number;
48
+ }
49
+ export declare class ByOrganizationIdUserIdAndSegmentIdDto extends ByOrganizationAndUserDto {
50
+ segmentId: number;
51
+ }
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ByOrganizationIdUserIdAndProgramIdDto = exports.ProgramSegmentDto = exports.ProgramEventDto = exports.GetProgramsSegmentsQuery = exports.GetProgramsEventsQuery = void 0;
3
+ exports.ByOrganizationIdUserIdAndSegmentIdDto = exports.ByOrganizationIdUserIdAndEventIdDto = exports.GetUserAddonsQuery = exports.ByOrganizationIdUserIdAndProgramIdDto = exports.ProgramSegmentDto = exports.ProgramEventDto = exports.GetProgramsSegmentsQuery = exports.GetProgramsEventsQuery = void 0;
4
4
  const user_dto_1 = require("../../user/dto/user.dto");
5
+ const general_dto_1 = require("../../dto/general.dto");
5
6
  class GetProgramsEventsQuery {
6
7
  }
7
8
  exports.GetProgramsEventsQuery = GetProgramsEventsQuery;
@@ -17,4 +18,13 @@ exports.ProgramSegmentDto = ProgramSegmentDto;
17
18
  class ByOrganizationIdUserIdAndProgramIdDto extends user_dto_1.ByOrganizationAndUserDto {
18
19
  }
19
20
  exports.ByOrganizationIdUserIdAndProgramIdDto = ByOrganizationIdUserIdAndProgramIdDto;
21
+ class GetUserAddonsQuery extends general_dto_1.PaginationQuery {
22
+ }
23
+ exports.GetUserAddonsQuery = GetUserAddonsQuery;
24
+ class ByOrganizationIdUserIdAndEventIdDto extends user_dto_1.ByOrganizationAndUserDto {
25
+ }
26
+ exports.ByOrganizationIdUserIdAndEventIdDto = ByOrganizationIdUserIdAndEventIdDto;
27
+ class ByOrganizationIdUserIdAndSegmentIdDto extends user_dto_1.ByOrganizationAndUserDto {
28
+ }
29
+ exports.ByOrganizationIdUserIdAndSegmentIdDto = ByOrganizationIdUserIdAndSegmentIdDto;
20
30
  //# sourceMappingURL=user-activities.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user-activities.dto.js","sourceRoot":"","sources":["../../../../src/types/user-activities/dto/user-activities.dto.ts"],"names":[],"mappings":";;;AAGA,sDAAmE;AAEnE,MAAa,sBAAsB;CAYlC;AAZD,wDAYC;AAED,MAAa,wBAAyB,SAAQ,sBAAsB;CAAG;AAAvE,4DAAuE;AAEvE,MAAa,eAAe;CAoB3B;AApBD,0CAoBC;AAED,MAAa,iBAAiB;CAgB7B;AAhBD,8CAgBC;AAED,MAAa,qCAAsC,SAAQ,mCAAwB;CAElF;AAFD,sFAEC"}
1
+ {"version":3,"file":"user-activities.dto.js","sourceRoot":"","sources":["../../../../src/types/user-activities/dto/user-activities.dto.ts"],"names":[],"mappings":";;;AAGA,sDAAmE;AACnE,uDAAwD;AAExD,MAAa,sBAAsB;CAYlC;AAZD,wDAYC;AAED,MAAa,wBAAyB,SAAQ,sBAAsB;CAAG;AAAvE,4DAAuE;AAEvE,MAAa,eAAe;CAsB3B;AAtBD,0CAsBC;AAED,MAAa,iBAAiB;CAkB7B;AAlBD,8CAkBC;AAED,MAAa,qCAAsC,SAAQ,mCAAwB;CAElF;AAFD,sFAEC;AAGD,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,mCAAoC,SAAQ,mCAAwB;CAEhF;AAFD,kFAEC;AAED,MAAa,qCAAsC,SAAQ,mCAAwB;CAElF;AAFD,sFAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.0.54",
3
+ "version": "2.0.55",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {