@bondsports/types 1.35.0 → 1.37.0

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.
@@ -12,7 +12,7 @@ export * from './membership.dto';
12
12
  export * from './package.dto';
13
13
  export * from './product-variants.dto';
14
14
  export * from './product.dto';
15
- export * from './registration';
15
+ export * from './registration.dto';
16
16
  export * from './rental.dto';
17
17
  export * from './response.dto';
18
18
  export * from './stripe.dto';
@@ -28,7 +28,7 @@ __exportStar(require("./membership.dto"), exports);
28
28
  __exportStar(require("./package.dto"), exports);
29
29
  __exportStar(require("./product-variants.dto"), exports);
30
30
  __exportStar(require("./product.dto"), exports);
31
- __exportStar(require("./registration"), exports);
31
+ __exportStar(require("./registration.dto"), exports);
32
32
  __exportStar(require("./rental.dto"), exports);
33
33
  __exportStar(require("./response.dto"), exports);
34
34
  __exportStar(require("./stripe.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,gDAA8B;AAC9B,wDAAsC;AACtC,mDAAiC;AACjC,gDAA8B;AAC9B,yDAAuC;AACvC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,iDAA+B;AAC/B,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,gDAA8B;AAC9B,wDAAsC;AACtC,mDAAiC;AACjC,gDAA8B;AAC9B,yDAAuC;AACvC,gDAA8B;AAC9B,qDAAmC;AACnC,+CAA6B;AAC7B,iDAA+B;AAC/B,+CAA6B"}
@@ -18,8 +18,9 @@ export declare class UpdateAttendeeDto {
18
18
  productId?: number;
19
19
  entryStatus?: EntryStatusEnum;
20
20
  }
21
- export declare class CreateAttendeeByUserDto {
22
- eventId: number;
21
+ export declare class CreateUserAttendeeDto {
22
+ eventId?: number;
23
+ eventsIds?: number[];
23
24
  attendeeId: number;
24
25
  productUserId?: number;
25
26
  entryStatus?: EntryStatusEnum;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Purchased = exports.CreateAttendeeDto = exports.CreateAttendeeByUserDto = exports.UpdateAttendeeDto = exports.GetRegisteredCustomersDto = exports.GetEntitledCustomersDto = exports.GetAttendeesByProductUserIdDto = void 0;
3
+ exports.Purchased = exports.CreateAttendeeDto = exports.CreateUserAttendeeDto = exports.UpdateAttendeeDto = exports.GetRegisteredCustomersDto = exports.GetEntitledCustomersDto = exports.GetAttendeesByProductUserIdDto = void 0;
4
4
  const organization_dto_1 = require("../organization/dto/organization.dto");
5
5
  class GetAttendeesByProductUserIdDto extends organization_dto_1.ByOrganizationIdDto {
6
6
  }
@@ -14,13 +14,13 @@ exports.GetRegisteredCustomersDto = GetRegisteredCustomersDto;
14
14
  class UpdateAttendeeDto {
15
15
  }
16
16
  exports.UpdateAttendeeDto = UpdateAttendeeDto;
17
- class CreateAttendeeByUserDto {
17
+ class CreateUserAttendeeDto {
18
18
  }
19
- exports.CreateAttendeeByUserDto = CreateAttendeeByUserDto;
19
+ exports.CreateUserAttendeeDto = CreateUserAttendeeDto;
20
20
  class CreateAttendeeDto {
21
21
  }
22
22
  exports.CreateAttendeeDto = CreateAttendeeDto;
23
23
  class Purchased {
24
24
  }
25
25
  exports.Purchased = Purchased;
26
- //# sourceMappingURL=registration.js.map
26
+ //# sourceMappingURL=registration.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registration.dto.js","sourceRoot":"","sources":["../../../src/types/dto/registration.dto.ts"],"names":[],"mappings":";;;AAAA,2EAA2E;AAG3E,MAAa,8BAA+B,SAAQ,sCAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAI/D;AAJD,0DAIC;AAED,MAAa,yBAA0B,SAAQ,sCAAmB;CAEjE;AAFD,8DAEC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,SAAS;CAWrB;AAXD,8BAWC"}
@@ -142,7 +142,7 @@ export interface CalendarSlotCard extends Slot {
142
142
  totalSlotsInSeries?: number;
143
143
  slotIndexInSeries?: number;
144
144
  }
145
- type IPartialInvoice = Pick<Invoice, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paidAmount'>;
145
+ type IPartialInvoice = Pick<Invoice, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'paidAmount' | 'payingUserId'>;
146
146
  export type IPartialPayment = Pick<Payment, 'id' | 'createdAt' | 'price' | 'paymentStatus' | 'status' | 'paymentType' | 'ccBrand' | 'ccLast4'>;
147
147
  export interface IInvoice extends IPartialInvoice {
148
148
  lineItemsCount: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "1.35.0",
3
+ "version": "1.37.0",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"registration.js","sourceRoot":"","sources":["../../../src/types/dto/registration.ts"],"names":[],"mappings":";;;AAAA,2EAA2E;AAG3E,MAAa,8BAA+B,SAAQ,sCAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAI/D;AAJD,0DAIC;AAED,MAAa,yBAA0B,SAAQ,sCAAmB;CAEjE;AAFD,8DAEC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,uBAAuB;CAQnC;AARD,0DAQC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,SAAS;CAWrB;AAXD,8BAWC"}