@bondsports/types 2.2.258 → 2.2.260

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.
@@ -9,3 +9,7 @@ export declare class ProductUserFinancialInfoDto {
9
9
  purchasedOn: Date;
10
10
  productUserId?: number;
11
11
  }
12
+ export declare class SimpleProductUserDto {
13
+ id: number;
14
+ productName: string;
15
+ }
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProductUserFinancialInfoDto = void 0;
3
+ exports.SimpleProductUserDto = exports.ProductUserFinancialInfoDto = void 0;
4
4
  class ProductUserFinancialInfoDto {
5
5
  }
6
6
  exports.ProductUserFinancialInfoDto = ProductUserFinancialInfoDto;
7
+ class SimpleProductUserDto {
8
+ }
9
+ exports.SimpleProductUserDto = SimpleProductUserDto;
7
10
  //# sourceMappingURL=product-user.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"product-user.js","sourceRoot":"","sources":["../../../src/types/dto/product-user.ts"],"names":[],"mappings":";;;AAEA,MAAa,2BAA2B;CAgBvC;AAhBD,kEAgBC"}
1
+ {"version":3,"file":"product-user.js","sourceRoot":"","sources":["../../../src/types/dto/product-user.ts"],"names":[],"mappings":";;;AAEA,MAAa,2BAA2B;CAgBvC;AAhBD,kEAgBC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC"}
@@ -1,6 +1,6 @@
1
1
  import { SimpleFacilityDto } from '../../dto/facilities.dto';
2
2
  import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
3
- import { ProductUserFinancialInfoDto } from '../../dto/product-user';
3
+ import { ProductUserFinancialInfoDto, SimpleProductUserDto } from '../../dto/product-user';
4
4
  import { ByOrganizationIdDto, OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
5
5
  import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
6
6
  import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
@@ -100,7 +100,6 @@ export declare class ProgramInfoDto {
100
100
  name: string;
101
101
  isSegment: boolean;
102
102
  userId: number;
103
- productUserId: number;
104
103
  registeredOn: Date;
105
104
  sport: SportsEnum;
106
105
  user?: SimpleUserDto;
@@ -109,4 +108,5 @@ export declare class ProgramInfoDto {
109
108
  resources?: SimpleResourceDto[];
110
109
  facility?: SimpleFacilityDto;
111
110
  financialInfo?: ProductUserFinancialInfoDto;
111
+ productUser?: SimpleProductUserDto;
112
112
  }
@@ -10,6 +10,7 @@ import { OrderByEnum } from '../../services/enums.service';
10
10
  import { SimpleResourceDto } from '../../resources/dto/resource.dto';
11
11
  import { ByOrganizationAndUserDto, SimpleUserDto } from '../../user/dto/user.dto';
12
12
  import { PunchPassFilterByEnum, PunchPassOrderByEnum, PunchPassSearchByEnum } from '../types/enums';
13
+ import { SimpleProductUserDto } from '../../dto/product-user';
13
14
  export declare class PunchPassFinancialInfoDto {
14
15
  price: number;
15
16
  invoiceId: number;
@@ -32,6 +33,7 @@ export declare class PunchPassInfoDto {
32
33
  facility: SimpleFacilityDto;
33
34
  financialInfo: PunchPassFinancialInfoDto;
34
35
  payment?: PaymentIdDto;
36
+ productUser?: SimpleProductUserDto;
35
37
  }
36
38
  export declare class PunchPassEventDto extends SimpleEventDto {
37
39
  attendeeId: number;
@@ -59,3 +61,12 @@ export declare class GetPassEventsDto {
59
61
  export declare class ByPassIdOrganizationIdUserIdDto extends ByOrganizationAndUserDto {
60
62
  passId: number;
61
63
  }
64
+ export declare class PunchPassUserProductInfoDto extends SimpleProductUserDto {
65
+ id: number;
66
+ organizationId: number;
67
+ productName: string;
68
+ productQuantityLeft: number;
69
+ productQuantity: number;
70
+ user: SimpleUserDto;
71
+ product: SimpleProductDto;
72
+ }
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ByPassIdOrganizationIdUserIdDto = exports.GetPassEventsDto = exports.GetPassesOptionsDto = exports.PunchPassEventDto = exports.PunchPassInfoDto = exports.PunchPassFinancialInfoDto = void 0;
3
+ exports.PunchPassUserProductInfoDto = exports.ByPassIdOrganizationIdUserIdDto = exports.GetPassEventsDto = exports.GetPassesOptionsDto = exports.PunchPassEventDto = exports.PunchPassInfoDto = exports.PunchPassFinancialInfoDto = void 0;
4
4
  const events_dto_1 = require("../../dto/events.dto");
5
5
  const general_dto_1 = require("../../dto/general.dto");
6
6
  const user_dto_1 = require("../../user/dto/user.dto");
7
+ const product_user_1 = require("../../dto/product-user");
7
8
  class PunchPassFinancialInfoDto {
8
9
  }
9
10
  exports.PunchPassFinancialInfoDto = PunchPassFinancialInfoDto;
@@ -22,4 +23,7 @@ exports.GetPassEventsDto = GetPassEventsDto;
22
23
  class ByPassIdOrganizationIdUserIdDto extends user_dto_1.ByOrganizationAndUserDto {
23
24
  }
24
25
  exports.ByPassIdOrganizationIdUserIdDto = ByPassIdOrganizationIdUserIdDto;
26
+ class PunchPassUserProductInfoDto extends product_user_1.SimpleProductUserDto {
27
+ }
28
+ exports.PunchPassUserProductInfoDto = PunchPassUserProductInfoDto;
25
29
  //# sourceMappingURL=punch-pass.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAEtD,uDAAwD;AAQxD,sDAAkF;AAGlF,MAAa,yBAAyB;CAcrC;AAdD,8DAcC;AAED,MAAa,gBAAgB;CAwB5B;AAxBD,4CAwBC;AAED,MAAa,iBAAkB,SAAQ,2BAAc;CAQpD;AARD,8CAQC;AAED,MAAa,mBAAoB,SAAQ,6BAAe;CAcvD;AAdD,kDAcC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC;AAED,MAAa,+BAAgC,SAAQ,mCAAwB;CAE5E;AAFD,0EAEC"}
1
+ {"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAEtD,uDAAwD;AAQxD,sDAAkF;AAElF,yDAA8D;AAE9D,MAAa,yBAAyB;CAcrC;AAdD,8DAcC;AAED,MAAa,gBAAgB;CA0B5B;AA1BD,4CA0BC;AAED,MAAa,iBAAkB,SAAQ,2BAAc;CAQpD;AARD,8CAQC;AAED,MAAa,mBAAoB,SAAQ,6BAAe;CAcvD;AAdD,kDAcC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC;AAED,MAAa,+BAAgC,SAAQ,mCAAwB;CAE5E;AAFD,0EAEC;AAED,MAAa,2BAA4B,SAAQ,mCAAoB;CAcpE;AAdD,kEAcC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.258",
3
+ "version": "2.2.260",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {