@bondsports/types 2.1.63 → 2.1.65
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/entity/user-payment-method.d.ts +0 -1
- package/dist/types/entity/user-payment-method.js.map +1 -1
- package/dist/types/payment/dto/payment-method.dto.d.ts +8 -0
- package/dist/types/payment/dto/payment-method.dto.js +4 -1
- package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
- package/dist/types/payment/types/consts/index.d.ts +1 -0
- package/dist/types/payment/types/consts/index.js +1 -0
- package/dist/types/payment/types/consts/index.js.map +1 -1
- package/dist/types/payment/types/consts/user-payment-method.consts.d.ts +2 -0
- package/dist/types/payment/types/consts/user-payment-method.consts.js +6 -0
- package/dist/types/payment/types/consts/user-payment-method.consts.js.map +1 -0
- package/dist/types/payment/types/interfaces/user-payment-method.interfaces.d.ts +3 -0
- package/package.json +1 -1
@@ -7,7 +7,6 @@ export declare class UserPaymentMethod extends BondBaseEntity {
|
|
7
7
|
paymentMethodType: PaymentMethodTypeEnum;
|
8
8
|
subPaymentMethodType?: SubPaymentMethodTypeEnum;
|
9
9
|
paymentMethodId: string;
|
10
|
-
nextAllowedChargeDate?: Date;
|
11
10
|
ccLast4?: string;
|
12
11
|
ccBrand?: string;
|
13
12
|
importedId?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user-payment-method.js","sourceRoot":"","sources":["../../../src/types/entity/user-payment-method.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAElD,MAAa,iBAAkB,SAAQ,+BAAc;
|
1
|
+
{"version":3,"file":"user-payment-method.js","sourceRoot":"","sources":["../../../src/types/entity/user-payment-method.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAElD,MAAa,iBAAkB,SAAQ,+BAAc;CAoBpD;AApBD,8CAoBC"}
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
2
2
|
import { PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../types/enums/payment.enums';
|
3
|
+
import { FeeDto } from '../../fee/dto/fee.dto';
|
4
|
+
import { UserPaymentMethod } from '../../entity/user-payment-method';
|
3
5
|
export interface IConnectedResource {
|
4
6
|
resourceId: number;
|
5
7
|
resourceType: ResourceNameTypeEnum;
|
@@ -27,3 +29,9 @@ export declare class UserPaymentMethodDto {
|
|
27
29
|
importedId?: string;
|
28
30
|
deletedAt?: Date;
|
29
31
|
}
|
32
|
+
export declare class UserPaymentMethodOption {
|
33
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
34
|
+
subPaymentMethodType?: SubPaymentMethodTypeEnum;
|
35
|
+
fee?: FeeDto;
|
36
|
+
options?: UserPaymentMethod[];
|
37
|
+
}
|
@@ -1,10 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UserPaymentMethodDto = exports.UpdateConnectedResourcePaymentMethodDto = void 0;
|
3
|
+
exports.UserPaymentMethodOption = exports.UserPaymentMethodDto = exports.UpdateConnectedResourcePaymentMethodDto = void 0;
|
4
4
|
class UpdateConnectedResourcePaymentMethodDto {
|
5
5
|
}
|
6
6
|
exports.UpdateConnectedResourcePaymentMethodDto = UpdateConnectedResourcePaymentMethodDto;
|
7
7
|
class UserPaymentMethodDto {
|
8
8
|
}
|
9
9
|
exports.UserPaymentMethodDto = UserPaymentMethodDto;
|
10
|
+
class UserPaymentMethodOption {
|
11
|
+
}
|
12
|
+
exports.UserPaymentMethodOption = UserPaymentMethodOption;
|
10
13
|
//# sourceMappingURL=payment-method.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payment-method.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-method.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"payment-method.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-method.dto.ts"],"names":[],"mappings":";;;AAaA,MAAa,uCAAuC;CAUnD;AAVD,0FAUC;AAED,MAAa,oBAAoB;CAsBhC;AAtBD,oDAsBC;AAED,MAAa,uBAAuB;CAQnC;AARD,0DAQC"}
|
@@ -18,5 +18,6 @@ __exportStar(require("./discount.consts"), exports);
|
|
18
18
|
__exportStar(require("./payment.consts"), exports);
|
19
19
|
__exportStar(require("./promo-code.consts"), exports);
|
20
20
|
__exportStar(require("./refund.consts"), exports);
|
21
|
+
__exportStar(require("./user-payment-method.consts"), exports);
|
21
22
|
__exportStar(require("./void.consts"), exports);
|
22
23
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,sDAAoC;AACpC,kDAAgC;AAChC,gDAA8B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,sDAAoC;AACpC,kDAAgC;AAChC,+DAA6C;AAC7C,gDAA8B"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DISPLAYABLE_PAYMENT_METHOD_TYPES = void 0;
|
4
|
+
const payment_enums_1 = require("../enums/payment.enums");
|
5
|
+
exports.DISPLAYABLE_PAYMENT_METHOD_TYPES = [payment_enums_1.PaymentMethodTypeEnum.ACH, payment_enums_1.PaymentMethodTypeEnum.CARD];
|
6
|
+
//# sourceMappingURL=user-payment-method.consts.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user-payment-method.consts.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/consts/user-payment-method.consts.ts"],"names":[],"mappings":";;;AAAA,0DAA8D;AAEjD,QAAA,gCAAgC,GAAG,CAAC,qCAAqB,CAAC,GAAG,EAAE,qCAAqB,CAAC,IAAI,CAAC,CAAC"}
|
@@ -1,5 +1,8 @@
|
|
1
|
+
import { UserPaymentMethod } from '../../../entity/user-payment-method';
|
2
|
+
import { PaymentMethodTypeEnum } from '../enums/payment.enums';
|
1
3
|
export interface IFindUserPaymentMethodsOptions {
|
2
4
|
withDeleted?: boolean;
|
3
5
|
ignoreError?: boolean;
|
4
6
|
skipValidations?: boolean;
|
5
7
|
}
|
8
|
+
export type PaymentMethodByTypeMap = Map<PaymentMethodTypeEnum, UserPaymentMethod[]>;
|