@bondsports/types 2.2.172 → 2.2.173

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,11 @@
1
1
  import { MembershipMemberRenewal } from '../membership/entities/MembershipMemberRenewal';
2
2
  import { PaymentMethodTypeEnum } from '../payment/types/enums/payment.enums';
3
- import { CancellationStatusEnum, MembershipStatusEnum, MembershipTypeEnum } from './../services/enums.service';
3
+ import { CancellationStatusEnum, MembershipStatusEnum, MembershipTypeEnum, TimeUnitsEnum } from './../services/enums.service';
4
4
  import { Customer } from './Customer';
5
5
  import { Membership } from './Membership';
6
6
  import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
7
7
  import { ProductsUsers } from './ProductsUsers';
8
+ import { Reason } from '../organization/entities/Reason';
8
9
  export declare class MembershipMember extends OrganizationConnectionBaseEntity {
9
10
  membership: Membership;
10
11
  membershipId: number;
@@ -23,6 +24,12 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
23
24
  cancelledAt?: Date | null;
24
25
  cancellationReason?: string;
25
26
  cancellationStatus?: CancellationStatusEnum;
27
+ pauseStartDate?: Date;
28
+ pauseEndDate?: Date;
29
+ pauseDurationType?: TimeUnitsEnum;
30
+ pauseDurationValue?: number;
31
+ pauseReasonId?: number;
32
+ pauseReason?: Reason;
26
33
  isImported?: boolean;
27
34
  deletedAt?: Date;
28
35
  renewals?: MembershipMemberRenewal[];
@@ -1 +1 @@
1
- {"version":3,"file":"MembershipMember.js","sourceRoot":"","sources":["../../../src/types/entity/MembershipMember.ts"],"names":[],"mappings":";;;AAMA,yFAAsF;AAGtF,MAAa,gBAAiB,SAAQ,mEAAgC;CA8CrE;AA9CD,4CA8CC"}
1
+ {"version":3,"file":"MembershipMember.js","sourceRoot":"","sources":["../../../src/types/entity/MembershipMember.ts"],"names":[],"mappings":";;;AAMA,yFAAsF;AAItF,MAAa,gBAAiB,SAAQ,mEAAgC;CA0DrE;AA1DD,4CA0DC"}
@@ -2,7 +2,8 @@ import { MembershipMember } from '../../entity/MembershipMember';
2
2
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
3
3
  import { ProductsUsers } from '../../entity/ProductsUsers';
4
4
  import { PaymentMethodTypeEnum } from '../../payment/types/enums/payment.enums';
5
- import { CancellationStatusEnum, MembershipStatusEnum } from '../../services/enums.service';
5
+ import { CancellationStatusEnum, MembershipStatusEnum, TimeUnitsEnum } from '../../services/enums.service';
6
+ import { Reason } from '../../organization/entities/Reason';
6
7
  export declare class MembershipMemberRenewal extends OrganizationConnectionBaseEntity {
7
8
  userId: number;
8
9
  startDate?: string;
@@ -18,6 +19,12 @@ export declare class MembershipMemberRenewal extends OrganizationConnectionBaseE
18
19
  answerTitleIds?: number[];
19
20
  paymentMethodId?: string;
20
21
  paymentMethodType?: PaymentMethodTypeEnum;
22
+ pauseStartDate?: Date;
23
+ pauseEndDate?: Date;
24
+ pauseDurationType?: TimeUnitsEnum;
25
+ pauseDurationValue?: number;
26
+ pauseReasonId?: number;
27
+ pauseReason?: Reason;
21
28
  member?: MembershipMember;
22
29
  productUser?: ProductsUsers;
23
30
  membershipStatus?: MembershipStatusEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"MembershipMemberRenewal.js","sourceRoot":"","sources":["../../../../src/types/membership/entities/MembershipMemberRenewal.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAKjG,MAAa,uBAAwB,SAAQ,mEAAgC;CAmC5E;AAnCD,0DAmCC"}
1
+ {"version":3,"file":"MembershipMemberRenewal.js","sourceRoot":"","sources":["../../../../src/types/membership/entities/MembershipMemberRenewal.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,uBAAwB,SAAQ,mEAAgC;CA+C5E;AA/CD,0DA+CC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.172",
3
+ "version": "2.2.173",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {