@bondsports/types 2.1.25 → 2.1.27
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/dto/membership.dto.d.ts +5 -0
- package/dist/types/dto/membership.dto.js +4 -1
- package/dist/types/dto/membership.dto.js.map +1 -1
- package/dist/types/entity/LineItems.js.map +1 -1
- package/dist/types/future-installments/dto/future-installments.dto.d.ts +1 -0
- package/dist/types/future-installments/dto/future-installments.dto.js.map +1 -1
- package/dist/types/import/dto/customer.dto.js.map +1 -1
- package/dist/types/import/dto/membership.dto.d.ts +13 -0
- package/dist/types/import/dto/membership.dto.js +5 -1
- package/dist/types/import/dto/membership.dto.js.map +1 -1
- package/package.json +1 -1
@@ -2,6 +2,7 @@ import { PaymentStatusEnum } from '../payment/types/enums/payment.enums';
|
|
2
2
|
import { CustomerInMembershipTypeEnum, GenderEnum, MembershipFilterByPropertyEnum, MembershipOrderByPropertyEnum, MembershipStatusEnum, MembershipTypeEnum, OrderByEnum, SportsEnum } from '../services/enums.service';
|
3
3
|
import { IdAndNameDto, PaginationQuery } from './general.dto';
|
4
4
|
import { Membership } from '../entity/Membership';
|
5
|
+
import { MembershipMember } from '../entity/MembershipMember';
|
5
6
|
export declare class CreateMembershipDto {
|
6
7
|
organizationId: number;
|
7
8
|
name: string;
|
@@ -92,3 +93,7 @@ export declare class MembershipImportResponseDto {
|
|
92
93
|
data: Membership[];
|
93
94
|
problems: any[];
|
94
95
|
}
|
96
|
+
export declare class MembershipMemberImportResponseDto {
|
97
|
+
data: MembershipMember[];
|
98
|
+
problems: any[];
|
99
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.MembershipImportResponseDto = exports.DateAndUserIdsDto = exports.SimpleMembershipDto = exports.GetMembershipDataQueryDto = exports.CancelMembershipDto = exports.FindMembersOptionsDto = exports.MemberIdDto = exports.MembershipIdsDto = exports.SetMembersStartDateByOrganization = exports.FindMembershipsByUserIdDto = exports.FindMembershipByFiltersDto = exports.FindMembershipsByOrganizationIdDto = exports.FindMembershipByIdDto = exports.UpdateMembershipMediaDto = exports.UpdateMembrshipDto = exports.CreateMembershipDto = void 0;
|
3
|
+
exports.MembershipMemberImportResponseDto = exports.MembershipImportResponseDto = exports.DateAndUserIdsDto = exports.SimpleMembershipDto = exports.GetMembershipDataQueryDto = exports.CancelMembershipDto = exports.FindMembersOptionsDto = exports.MemberIdDto = exports.MembershipIdsDto = exports.SetMembersStartDateByOrganization = exports.FindMembershipsByUserIdDto = exports.FindMembershipByFiltersDto = exports.FindMembershipsByOrganizationIdDto = exports.FindMembershipByIdDto = exports.UpdateMembershipMediaDto = exports.UpdateMembrshipDto = exports.CreateMembershipDto = void 0;
|
4
4
|
const general_dto_1 = require("./general.dto");
|
5
5
|
class CreateMembershipDto {
|
6
6
|
}
|
@@ -50,4 +50,7 @@ exports.DateAndUserIdsDto = DateAndUserIdsDto;
|
|
50
50
|
class MembershipImportResponseDto {
|
51
51
|
}
|
52
52
|
exports.MembershipImportResponseDto = MembershipImportResponseDto;
|
53
|
+
class MembershipMemberImportResponseDto {
|
54
|
+
}
|
55
|
+
exports.MembershipMemberImportResponseDto = MembershipMemberImportResponseDto;
|
53
56
|
//# sourceMappingURL=membership.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../src/types/dto/membership.dto.ts"],"names":[],"mappings":";;;AAWA,+CAA8D;
|
1
|
+
{"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../src/types/dto/membership.dto.ts"],"names":[],"mappings":";;;AAWA,+CAA8D;AAI9D,MAAa,mBAAmB;CA0C/B;AA1CD,kDA0CC;AAED,MAAa,kBAAmB,SAAQ,mBAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAGpC;AAHD,4DAGC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,kCAAkC;CAE9C;AAFD,gFAEC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAoB9D;AApBD,gEAoBC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,iCAAkC,SAAQ,kCAAkC;CAExF;AAFD,8EAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,qBAAsB,SAAQ,6BAAe;CAGzD;AAHD,sDAGC;AAED,MAAa,mBAAmB;CAG/B;AAHD,kDAGC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAU7D;AAVD,8DAUC;AAED,MAAa,mBAAoB,SAAQ,0BAAY;CAUpD;AAVD,kDAUC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,iCAAiC;CAI7C;AAJD,8EAIC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LineItems.js","sourceRoot":"","sources":["../../../src/types/entity/LineItems.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"LineItems.js","sourceRoot":"","sources":["../../../src/types/entity/LineItems.ts"],"names":[],"mappings":";;;AAyBA,yFAAsF;AAItF,MAAa,SAAU,SAAQ,mEAAgC;CAmI9D;AAnID,8BAmIC"}
|
@@ -4,6 +4,7 @@ import { FuturePaymentStatusEnum, PaymentMethodTypeEnum, SubPaymentMethodTypeEnu
|
|
4
4
|
export declare class FutureInstallmentDto extends OrganizationBaseEntityDto {
|
5
5
|
id: number;
|
6
6
|
paymentMethodId?: number;
|
7
|
+
parentInstallmentId?: number;
|
7
8
|
originalPaymentMethodId?: number;
|
8
9
|
stripePaymentMethodId?: string;
|
9
10
|
failedCount?: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"future-installments.dto.js","sourceRoot":"","sources":["../../../../src/types/future-installments/dto/future-installments.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAOpF,MAAa,oBAAqB,SAAQ,4CAAyB;
|
1
|
+
{"version":3,"file":"future-installments.dto.js","sourceRoot":"","sources":["../../../../src/types/future-installments/dto/future-installments.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAOpF,MAAa,oBAAqB,SAAQ,4CAAyB;CA0ClE;AA1CD,oDA0CC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/customer.dto.ts"],"names":[],"mappings":";;;AAAA,2FAAuF;AAIvF,MAAa,sBAAuB,SAAQ,kDAAuB;CAkBlE;AAlBD,wDAkBC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,2BAA2B;CAMvC;AAND,kEAMC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,eAAe;
|
1
|
+
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/customer.dto.ts"],"names":[],"mappings":";;;AAAA,2FAAuF;AAIvF,MAAa,sBAAuB,SAAQ,kDAAuB;CAkBlE;AAlBD,wDAkBC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,2BAA2B;CAMvC;AAND,kEAMC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC"}
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import { CreateMembershipDto } from '../../dto/membership.dto';
|
2
|
+
import { PaymentMethodTypeEnum } from '../../payment/types/enums/payment.enums';
|
3
|
+
import { AddImportedCustomerDto } from './customer.dto';
|
2
4
|
export declare class MembershipImportValidationDto {
|
3
5
|
problems: any[];
|
4
6
|
existingMemberships: ExistingMembershipDto[];
|
@@ -18,3 +20,14 @@ export declare class ExistingMembersDto {
|
|
18
20
|
export declare class ImportMembershipDto extends CreateMembershipDto {
|
19
21
|
importedId?: string;
|
20
22
|
}
|
23
|
+
export declare class ImportMembershipMembersDto extends AddImportedCustomerDto {
|
24
|
+
importedCustomerId: string;
|
25
|
+
userId: number;
|
26
|
+
importedCustomerParentId: string;
|
27
|
+
parentId: number;
|
28
|
+
importedMemberhipId: string;
|
29
|
+
membershipId: number;
|
30
|
+
paymentMethodId?: string;
|
31
|
+
paymentMethodType?: PaymentMethodTypeEnum;
|
32
|
+
startDate?: Date;
|
33
|
+
}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ImportMembershipDto = exports.ExistingMembersDto = exports.ExistingMembershipDto = exports.MembershipMemberImportValidationDto = exports.MembershipImportValidationDto = void 0;
|
3
|
+
exports.ImportMembershipMembersDto = exports.ImportMembershipDto = exports.ExistingMembersDto = exports.ExistingMembershipDto = exports.MembershipMemberImportValidationDto = exports.MembershipImportValidationDto = void 0;
|
4
4
|
const membership_dto_1 = require("../../dto/membership.dto");
|
5
|
+
const customer_dto_1 = require("./customer.dto");
|
5
6
|
class MembershipImportValidationDto {
|
6
7
|
}
|
7
8
|
exports.MembershipImportValidationDto = MembershipImportValidationDto;
|
@@ -17,4 +18,7 @@ exports.ExistingMembersDto = ExistingMembersDto;
|
|
17
18
|
class ImportMembershipDto extends membership_dto_1.CreateMembershipDto {
|
18
19
|
}
|
19
20
|
exports.ImportMembershipDto = ImportMembershipDto;
|
21
|
+
class ImportMembershipMembersDto extends customer_dto_1.AddImportedCustomerDto {
|
22
|
+
}
|
23
|
+
exports.ImportMembershipMembersDto = ImportMembershipMembersDto;
|
20
24
|
//# sourceMappingURL=membership.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/membership.dto.ts"],"names":[],"mappings":";;;AAAA,6DAA+D;AAE/D,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,mCAAmC;CAI/C;AAJD,kFAIC;
|
1
|
+
{"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/membership.dto.ts"],"names":[],"mappings":";;;AAAA,6DAA+D;AAE/D,iDAAwD;AAExD,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,mCAAmC;CAI/C;AAJD,kFAIC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,mBAAoB,SAAQ,oCAAmB;CAE3D;AAFD,kDAEC;AAED,MAAa,0BAA2B,SAAQ,qCAAsB;CAqBrE;AArBD,gEAqBC"}
|