@bondsports/types 2.2.88 → 2.2.90
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 +20 -2
- package/dist/types/dto/membership.dto.js +4 -1
- package/dist/types/dto/membership.dto.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/membership/interfaces/membership.interfaces.d.ts +5 -0
- package/dist/types/utility/dto/index.d.ts +1 -0
- package/dist/types/utility/dto/index.js +18 -0
- package/dist/types/utility/dto/index.js.map +1 -0
- package/dist/types/utility/dto/script.dto.d.ts +5 -0
- package/dist/types/utility/dto/script.dto.js +7 -0
- package/dist/types/utility/dto/script.dto.js.map +1 -0
- package/dist/types/utility/index.d.ts +1 -0
- package/dist/types/utility/index.js +18 -0
- package/dist/types/utility/index.js.map +1 -0
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
|
-
import { PaymentStatusEnum } from '../payment/types/enums/payment.enums';
|
2
|
-
import { CustomerInMembershipTypeEnum, GenderEnum, MembershipFilterByPropertyEnum, MembershipOrderByPropertyEnum, MembershipStatusEnum, MembershipTypeEnum, OrderByEnum, SportsEnum } from '../services/enums.service';
|
1
|
+
import { PaymentMethodTypeEnum, PaymentStatusEnum } from '../payment/types/enums/payment.enums';
|
2
|
+
import { CancellationStatusEnum, CustomerInMembershipTypeEnum, GenderEnum, MembershipFilterByPropertyEnum, MembershipOrderByPropertyEnum, MembershipStatusEnum, MembershipTypeEnum, OrderByEnum, SportsEnum } from '../services/enums.service';
|
3
3
|
import { IdAndNameDto, PaginationQuery } from './general.dto';
|
4
4
|
import { ImportResponseDto } from '../import/dto/import.dto';
|
5
5
|
export declare class CreateMembershipDto {
|
@@ -95,6 +95,24 @@ export declare class MembershipMemberDto {
|
|
95
95
|
userId: number;
|
96
96
|
productId: number;
|
97
97
|
membershipId: number;
|
98
|
+
productUserId?: number;
|
99
|
+
membershipType?: MembershipTypeEnum;
|
100
|
+
durationMonths?: number;
|
101
|
+
startDate?: string;
|
102
|
+
endDate?: string;
|
103
|
+
renewalOfMemberId?: number;
|
104
|
+
isAutoRenew?: boolean;
|
105
|
+
nextPaymentMethodId?: string;
|
106
|
+
nextPaymentType?: PaymentMethodTypeEnum;
|
107
|
+
answerTitleIds?: number[];
|
108
|
+
cancelledAt?: Date;
|
109
|
+
cancellationReason?: string;
|
110
|
+
cancellationStatus?: CancellationStatusEnum;
|
111
|
+
membershipStatus?: MembershipStatusEnum;
|
98
112
|
}
|
99
113
|
export declare class MembershipMemberImportResponseDto extends ImportResponseDto<MembershipMemberDto> {
|
100
114
|
}
|
115
|
+
export declare class AddFamilyMemberToMembershipDto {
|
116
|
+
membershipIds: number[];
|
117
|
+
userIds: number[];
|
118
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.MembershipMemberImportResponseDto = exports.MembershipMemberDto = 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.AddFamilyMemberToMembershipDto = exports.MembershipMemberImportResponseDto = exports.MembershipMemberDto = 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
|
const import_dto_1 = require("../import/dto/import.dto");
|
6
6
|
class CreateMembershipDto {
|
@@ -57,4 +57,7 @@ exports.MembershipMemberDto = MembershipMemberDto;
|
|
57
57
|
class MembershipMemberImportResponseDto extends import_dto_1.ImportResponseDto {
|
58
58
|
}
|
59
59
|
exports.MembershipMemberImportResponseDto = MembershipMemberImportResponseDto;
|
60
|
+
class AddFamilyMemberToMembershipDto {
|
61
|
+
}
|
62
|
+
exports.AddFamilyMemberToMembershipDto = AddFamilyMemberToMembershipDto;
|
60
63
|
//# sourceMappingURL=membership.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../src/types/dto/membership.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../src/types/dto/membership.dto.ts"],"names":[],"mappings":";;;AAYA,+CAAqE;AACrE,yDAA6D;AAE7D,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;CAYpD;AAZD,kDAYC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAa,2BAA4B,SAAQ,8BAAsC;CAAG;AAA1F,kEAA0F;AAE1F,MAAa,mBAAmB;CAkC/B;AAlCD,kDAkCC;AAED,MAAa,iCAAkC,SAAQ,8BAAsC;CAAG;AAAhG,8EAAgG;AAEhG,MAAa,8BAA8B;CAI1C;AAJD,wEAIC"}
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
@@ -56,6 +56,7 @@ __exportStar(require("./user"), exports);
|
|
56
56
|
__exportStar(require("./user-activities"), exports);
|
57
57
|
__exportStar(require("./user-identification"), exports);
|
58
58
|
__exportStar(require("./util"), exports);
|
59
|
+
__exportStar(require("./utility"), exports);
|
59
60
|
__exportStar(require("./webflow"), exports);
|
60
61
|
__exportStar(require("./webhooks"), exports);
|
61
62
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,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,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,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,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B"}
|
@@ -119,3 +119,8 @@ export interface IProductRelatedMembership {
|
|
119
119
|
membershipId: number;
|
120
120
|
productId: number;
|
121
121
|
}
|
122
|
+
export interface IValidateMembershipRegistrationOptions {
|
123
|
+
isAutoRenewal?: boolean;
|
124
|
+
skipRegistrationDates?: boolean;
|
125
|
+
membership?: Membership;
|
126
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './script.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("./script.dto"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/utility/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"script.dto.js","sourceRoot":"","sources":["../../../../src/types/utility/dto/script.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,YAAY;CAMxB;AAND,oCAMC"}
|
@@ -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/utility/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB"}
|