@bondsports/types 2.1.62 → 2.1.64
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/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/dist/types/resources/dto/space.dto.d.ts +1 -1
- package/package.json +1 -1
@@ -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[]>;
|
@@ -53,7 +53,7 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
53
53
|
orderBy?: OrderByResourceEnum;
|
54
54
|
order?: OrderByEnum;
|
55
55
|
sports?: SportsEnum[];
|
56
|
-
statuses?: ActivityEnum;
|
56
|
+
statuses?: ActivityEnum[];
|
57
57
|
}
|
58
58
|
export declare class UpdateSpaceDto extends UpdateResourceDto {
|
59
59
|
name?: string;
|