@bondsports/types 2.1.23 → 2.1.24
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/future-installments/dto/get-future-installment.dto.d.ts +1 -0
- package/dist/types/future-installments/dto/get-future-installment.dto.js.map +1 -1
- package/dist/types/organization/entities/Organization.d.ts +1 -0
- package/dist/types/organization/entities/Organization.js.map +1 -1
- package/dist/types/payment/types/enums/payment.enums.d.ts +6 -1
- package/dist/types/payment/types/enums/payment.enums.js +19 -1
- package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
- package/dist/types/purchase/dto/purchase.dto.d.ts +6 -0
- package/dist/types/purchase/dto/purchase.dto.js +4 -1
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/package.json +1 -1
@@ -7,6 +7,7 @@ export declare class GetFutureInstallmentsByOrgInvoiceDto extends ByOrganization
|
|
7
7
|
}
|
8
8
|
export declare class GetInstallmentsByFiltersDto extends OptionalOrganizationIdDto {
|
9
9
|
invoiceId?: number;
|
10
|
+
minimumDate?: Date;
|
10
11
|
userId?: number;
|
11
12
|
includedIds?: number[];
|
12
13
|
excludedIds?: number[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-future-installment.dto.js","sourceRoot":"","sources":["../../../../src/types/future-installments/dto/get-future-installment.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AACxD,8EAAyG;AAGzG,MAAa,oCAAqC,SAAQ,sCAAmB;CAI5E;AAJD,oFAIC;AACD,MAAa,2BAA4B,SAAQ,4CAAyB;
|
1
|
+
{"version":3,"file":"get-future-installment.dto.js","sourceRoot":"","sources":["../../../../src/types/future-installments/dto/get-future-installment.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AACxD,8EAAyG;AAGzG,MAAa,oCAAqC,SAAQ,sCAAmB;CAI5E;AAJD,oFAIC;AACD,MAAa,2BAA4B,SAAQ,4CAAyB;CAYzE;AAZD,kEAYC;AAED,MAAa,4BAA6B,SAAQ,6BAAe;CAEhE;AAFD,oEAEC;AAED,MAAa,yCAAyC;CAMrD;AAND,8FAMC;AAED,MAAa,gCAAiC,SAAQ,sCAAmB;CAMxE;AAND,4EAMC"}
|
@@ -35,6 +35,7 @@ export declare class Organization extends BondBaseEntity {
|
|
35
35
|
organizationAudienceTypes?: number[];
|
36
36
|
organizationGenders?: number[];
|
37
37
|
questionnaireId?: number;
|
38
|
+
toCombineInstallments?: boolean;
|
38
39
|
membershipQuestionnaireId?: number;
|
39
40
|
currency: CurrencyEnum;
|
40
41
|
anonymousCustomerId?: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/Organization.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAS7D,MAAa,YAAa,SAAQ,+BAAc;
|
1
|
+
{"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/Organization.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAS7D,MAAa,YAAa,SAAQ,+BAAc;CAsF/C;AAtFD,oCAsFC"}
|
@@ -65,9 +65,14 @@ export declare enum FuturePaymentStatusEnum {
|
|
65
65
|
SUCCEEDED = "succeeded",
|
66
66
|
FAILED = "failed",
|
67
67
|
CANCELED = "canceled",
|
68
|
-
PENDING = "pending"
|
68
|
+
PENDING = "pending",
|
69
|
+
RETRY_IN_PROGRESS = "retry_in_progress"
|
69
70
|
}
|
70
71
|
export declare const scheduledChargeStatusWithTreansactionFee: FuturePaymentStatusEnum[];
|
72
|
+
export declare const chargeableInstallmentStatuses: FuturePaymentStatusEnum[];
|
73
|
+
export declare const updateableInstallmentStatuses: FuturePaymentStatusEnum[];
|
74
|
+
export declare const cliChargeableInstallmentStatuses: FuturePaymentStatusEnum[];
|
75
|
+
export declare const cancelableInstallmentStatuses: FuturePaymentStatusEnum[];
|
71
76
|
export declare enum FlattenViaPropEnum {
|
72
77
|
CHILDREN = "children",
|
73
78
|
TAX_ITEM = "taxLineItem"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.FlattenViaPropEnum = exports.scheduledChargeStatusWithTreansactionFee = exports.FuturePaymentStatusEnum = exports.SubPaymentMethodTypeEnum = exports.PaymentProcessorEnum = exports.PaymentMethodTypeEnum = exports.PaymentMethodsEnum = exports.PaymentStatusV1Enum = exports.ReasonTypeEnum = exports.PaymentFilterByEnum = exports.PaymentStatusEnum = void 0;
|
3
|
+
exports.FlattenViaPropEnum = exports.cancelableInstallmentStatuses = exports.cliChargeableInstallmentStatuses = exports.updateableInstallmentStatuses = exports.chargeableInstallmentStatuses = exports.scheduledChargeStatusWithTreansactionFee = exports.FuturePaymentStatusEnum = exports.SubPaymentMethodTypeEnum = exports.PaymentProcessorEnum = exports.PaymentMethodTypeEnum = exports.PaymentMethodsEnum = exports.PaymentStatusV1Enum = exports.ReasonTypeEnum = exports.PaymentFilterByEnum = exports.PaymentStatusEnum = void 0;
|
4
4
|
var PaymentStatusEnum;
|
5
5
|
(function (PaymentStatusEnum) {
|
6
6
|
PaymentStatusEnum["NOT_PAID"] = "not_paid";
|
@@ -78,12 +78,30 @@ var FuturePaymentStatusEnum;
|
|
78
78
|
FuturePaymentStatusEnum["FAILED"] = "failed";
|
79
79
|
FuturePaymentStatusEnum["CANCELED"] = "canceled";
|
80
80
|
FuturePaymentStatusEnum["PENDING"] = "pending";
|
81
|
+
FuturePaymentStatusEnum["RETRY_IN_PROGRESS"] = "retry_in_progress";
|
81
82
|
})(FuturePaymentStatusEnum = exports.FuturePaymentStatusEnum || (exports.FuturePaymentStatusEnum = {}));
|
82
83
|
exports.scheduledChargeStatusWithTreansactionFee = [
|
83
84
|
FuturePaymentStatusEnum.FUTURE,
|
84
85
|
FuturePaymentStatusEnum.PENDING,
|
85
86
|
FuturePaymentStatusEnum.SUCCEEDED,
|
86
87
|
];
|
88
|
+
exports.chargeableInstallmentStatuses = [
|
89
|
+
FuturePaymentStatusEnum.FUTURE,
|
90
|
+
FuturePaymentStatusEnum.FAILED,
|
91
|
+
FuturePaymentStatusEnum.RETRY_IN_PROGRESS,
|
92
|
+
];
|
93
|
+
exports.updateableInstallmentStatuses = [
|
94
|
+
FuturePaymentStatusEnum.FUTURE,
|
95
|
+
FuturePaymentStatusEnum.RETRY_IN_PROGRESS,
|
96
|
+
];
|
97
|
+
exports.cliChargeableInstallmentStatuses = [
|
98
|
+
FuturePaymentStatusEnum.FUTURE,
|
99
|
+
FuturePaymentStatusEnum.RETRY_IN_PROGRESS,
|
100
|
+
];
|
101
|
+
exports.cancelableInstallmentStatuses = [
|
102
|
+
FuturePaymentStatusEnum.FUTURE,
|
103
|
+
FuturePaymentStatusEnum.RETRY_IN_PROGRESS,
|
104
|
+
];
|
87
105
|
var FlattenViaPropEnum;
|
88
106
|
(function (FlattenViaPropEnum) {
|
89
107
|
FlattenViaPropEnum["CHILDREN"] = "children";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payment.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,0CAAqB,CAAA;IACrB,wDAAmC,CAAA;IACnC,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,4DAAuC,CAAA;AACxC,CAAC,EAXW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAW5B;AAED,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC9B,uDAAgC,CAAA;IAChC,wCAAiB,CAAA;IACjB,gCAAS,CAAA;IACT,+CAAwB,CAAA;AACzB,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACzB,m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,GAAG;IAC5C,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,iBAAiB;CACzC,CAAC;AAEF,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,2CAAqB,CAAA;IACrB,8CAAwB,CAAA;AACzB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
|
@@ -11,6 +11,7 @@ import { ResourceDto } from '../../resources/dto/resource.dto';
|
|
11
11
|
export declare class PurchasePaymentDto {
|
12
12
|
type: PaymentMethodTypeEnum;
|
13
13
|
token?: string;
|
14
|
+
paymentMethodId?: number;
|
14
15
|
}
|
15
16
|
export declare class ChargeRentalsReuqestDto {
|
16
17
|
organizationId: number;
|
@@ -70,6 +71,11 @@ export declare class ScheduledPaymentRequestBodyDto {
|
|
70
71
|
includedIds?: number[];
|
71
72
|
excludedIds?: number[];
|
72
73
|
}
|
74
|
+
export declare class PaymentMethodDataDto {
|
75
|
+
type: PaymentMethodTypeEnum;
|
76
|
+
token?: string;
|
77
|
+
paymentMethodId?: number;
|
78
|
+
}
|
73
79
|
export declare class PartialPaymentRequestDto {
|
74
80
|
invoiceId: number;
|
75
81
|
amountToPay: number;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PurchaseCartDto = exports.PurchaseResultDto = exports.ValidateParticipantDto = exports.PartialPaymentAsUserDto = exports.AddItemsDto = exports.RedeemPunchCardRequestDto = exports.PartialPaymentRequestDto = exports.ScheduledPaymentRequestBodyDto = exports.ScheduledPaymentRequestDto = exports.PurchaseProductDto = exports.PurchaseResourceDto = exports.PurchaseRequestDto = exports.ChargeRentalsReuqestDto = exports.PurchasePaymentDto = void 0;
|
3
|
+
exports.PurchaseCartDto = exports.PurchaseResultDto = exports.ValidateParticipantDto = exports.PartialPaymentAsUserDto = exports.AddItemsDto = exports.RedeemPunchCardRequestDto = exports.PartialPaymentRequestDto = exports.PaymentMethodDataDto = exports.ScheduledPaymentRequestBodyDto = exports.ScheduledPaymentRequestDto = exports.PurchaseProductDto = exports.PurchaseResourceDto = exports.PurchaseRequestDto = exports.ChargeRentalsReuqestDto = exports.PurchasePaymentDto = void 0;
|
4
4
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
5
5
|
const resource_dto_1 = require("../../resources/dto/resource.dto");
|
6
6
|
class PurchasePaymentDto {
|
@@ -24,6 +24,9 @@ exports.ScheduledPaymentRequestDto = ScheduledPaymentRequestDto;
|
|
24
24
|
class ScheduledPaymentRequestBodyDto {
|
25
25
|
}
|
26
26
|
exports.ScheduledPaymentRequestBodyDto = ScheduledPaymentRequestBodyDto;
|
27
|
+
class PaymentMethodDataDto {
|
28
|
+
}
|
29
|
+
exports.PaymentMethodDataDto = PaymentMethodDataDto;
|
27
30
|
class PartialPaymentRequestDto {
|
28
31
|
}
|
29
32
|
exports.PartialPaymentRequestDto = PartialPaymentRequestDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,8EAA8E;AAS9E,mEAA+D;AAG/D,MAAa,kBAAkB;
|
1
|
+
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,8EAA8E;AAS9E,mEAA+D;AAG/D,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CA8B9B;AA9BD,gDA8BC;AAED,MAAa,mBAAoB,SAAQ,0BAAW;CAInD;AAJD,kDAIC;AAED,MAAa,kBAAkB;CA2B9B;AA3BD,gDA2BC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,oBAAoB;CAMhC;AAND,oDAMC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAe;CAgB3B;AAhBD,0CAgBC"}
|