@bondsports/types 3.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/payment/dto/payment.dto.d.ts +7 -0
- package/dist/types/payment/dto/payment.dto.js +7 -1
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/payment/interfaces/payment.d.ts +1 -0
- package/dist/types/payment/interfaces/payment.js +2 -1
- package/dist/types/payment/interfaces/payment.js.map +1 -1
- package/package.json +1 -1
|
@@ -143,3 +143,10 @@ export declare class GetPaymentMethodsDto {
|
|
|
143
143
|
paymentMethodTypes?: PaymentMethodTypeEnum[];
|
|
144
144
|
subPaymentMethodTypes?: SubPaymentMethodTypeEnum[];
|
|
145
145
|
}
|
|
146
|
+
export declare class EmailDto {
|
|
147
|
+
email: string;
|
|
148
|
+
}
|
|
149
|
+
export declare class ConfirmSetupIntentAndCreatePaymentIntentDto {
|
|
150
|
+
setupIntentId: string;
|
|
151
|
+
amount: number;
|
|
152
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetPaymentMethodsDto = exports.SendRequestDto = exports.RemoveResourceDto = exports.RevertMetaDto = exports.NotePrivacyDto = exports.UpdateNoteContentDto = exports.CreateNoteDto = exports.AddToInvoiceDto = exports.CalcPaymentPlanDto = exports.PaymentPlanDto = exports.PaymentPlanSchduleDto = exports.SendReceiptDataDto = exports.PaymentDataDto = exports.PaymentIntentDto = exports.StationsDto = exports.UpdateScheduledPaymentsDto = exports.FutureInstallmentsIdsDto = exports.ScheduledPaymentDto = exports.CreateScheduledPaymentsDto = exports.BasicInstallmentDataDto = exports.FindPayments = exports.ByPaymentFilter = exports.LineItemIdDto = exports.DiscountDto = exports.PaymentViaInvoiceHashDto = exports.GetPaymentsQueryDto = exports.GetInvoicesQueryDto = exports.InvoiceIdAndUserIdDto = exports.ByInvoiceAndCustomerDto = exports.ByInvoiceDto = exports.InvoiceIdDto = exports.ByPaymentDto = exports.PaymentIdDto = exports.CustomerIdDto = void 0;
|
|
3
|
+
exports.ConfirmSetupIntentAndCreatePaymentIntentDto = exports.EmailDto = exports.GetPaymentMethodsDto = exports.SendRequestDto = exports.RemoveResourceDto = exports.RevertMetaDto = exports.NotePrivacyDto = exports.UpdateNoteContentDto = exports.CreateNoteDto = exports.AddToInvoiceDto = exports.CalcPaymentPlanDto = exports.PaymentPlanDto = exports.PaymentPlanSchduleDto = exports.SendReceiptDataDto = exports.PaymentDataDto = exports.PaymentIntentDto = exports.StationsDto = exports.UpdateScheduledPaymentsDto = exports.FutureInstallmentsIdsDto = exports.ScheduledPaymentDto = exports.CreateScheduledPaymentsDto = exports.BasicInstallmentDataDto = exports.FindPayments = exports.ByPaymentFilter = exports.LineItemIdDto = exports.DiscountDto = exports.PaymentViaInvoiceHashDto = exports.GetPaymentsQueryDto = exports.GetInvoicesQueryDto = exports.InvoiceIdAndUserIdDto = exports.ByInvoiceAndCustomerDto = exports.ByInvoiceDto = exports.InvoiceIdDto = exports.ByPaymentDto = exports.PaymentIdDto = exports.CustomerIdDto = void 0;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
const user_dto_1 = require("../../dto/user.dto");
|
|
6
6
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
@@ -106,4 +106,10 @@ exports.SendRequestDto = SendRequestDto;
|
|
|
106
106
|
class GetPaymentMethodsDto {
|
|
107
107
|
}
|
|
108
108
|
exports.GetPaymentMethodsDto = GetPaymentMethodsDto;
|
|
109
|
+
class EmailDto {
|
|
110
|
+
}
|
|
111
|
+
exports.EmailDto = EmailDto;
|
|
112
|
+
class ConfirmSetupIntentAndCreatePaymentIntentDto {
|
|
113
|
+
}
|
|
114
|
+
exports.ConfirmSetupIntentAndCreatePaymentIntentDto = ConfirmSetupIntentAndCreatePaymentIntentDto;
|
|
109
115
|
//# sourceMappingURL=payment.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AACxD,iDAA+C;AAC/C,8EAA8E;
|
|
1
|
+
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AACxD,iDAA+C;AAC/C,8EAA8E;AAU9E,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,qBAAsB,SAAQ,oBAAS;CAEnD;AAFD,sDAEC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,WAAW;CAQvB;AARD,kCAQC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,eAAgB,SAAQ,6BAAe;CAGnD;AAHD,0CAGC;AAED,MAAa,YAAa,SAAQ,eAAe;CAGhD;AAHD,oCAGC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,0BAA2B,SAAQ,uBAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,0BAA0B;CAQtC;AARD,gEAQC;AAGD,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,gBAAgB;CAkB5B;AAlBD,4CAkBC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AACD,MAAa,cAAc;CAM1B;AAND,wCAMC;AACD,MAAa,kBAAmB,SAAQ,cAAc;CAErD;AAFD,gDAEC;AAED,MAAa,eAAgB,SAAQ,YAAY;CAMhD;AAND,0CAMC;AAED,MAAa,aAAa;CAIzB;AAJD,sCAIC;AAED,MAAa,oBAAqB,SAAQ,aAAa;CAEtD;AAFD,oDAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,cAAe,SAAQ,YAAY;CAM/C;AAND,wCAMC;AAED,MAAa,oBAAoB;CAMhC;AAND,oDAMC;AAED,MAAa,QAAQ;CAEpB;AAFD,4BAEC;AAED,MAAa,2CAA2C;CAIvD;AAJD,kGAIC"}
|
|
@@ -2,6 +2,7 @@ import { Stripe } from 'stripe';
|
|
|
2
2
|
import { LineItems } from '../../entity/LineItems';
|
|
3
3
|
import { FeeDto } from '../../fee/dto/fee.dto';
|
|
4
4
|
import { PaymentMethodTypeEnum, PlatformsEnum, PaymentStatusEnum, SubPaymentMethodTypeEnum } from '../../services/enums.service';
|
|
5
|
+
export declare const MIN_ACH_PAYMENT_AMOUNT = 0.5;
|
|
5
6
|
export declare const ALLOWED_PAYMENT_STATUS: PaymentStatusEnum[];
|
|
6
7
|
export interface PaymentResult {
|
|
7
8
|
paymentMethodId: string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PaymentMethodOption = exports.ALLOWED_PAYMENT_STATUS = void 0;
|
|
3
|
+
exports.PaymentMethodOption = exports.ALLOWED_PAYMENT_STATUS = exports.MIN_ACH_PAYMENT_AMOUNT = void 0;
|
|
4
4
|
const enums_service_1 = require("../../services/enums.service");
|
|
5
|
+
exports.MIN_ACH_PAYMENT_AMOUNT = 0.5;
|
|
5
6
|
exports.ALLOWED_PAYMENT_STATUS = [
|
|
6
7
|
null,
|
|
7
8
|
enums_service_1.PaymentStatusEnum.FULLY_PAID,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.js","sourceRoot":"","sources":["../../../../src/types/payment/interfaces/payment.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"payment.js","sourceRoot":"","sources":["../../../../src/types/payment/interfaces/payment.ts"],"names":[],"mappings":";;;AAGA,gEAAiI;AAEpH,QAAA,sBAAsB,GAAG,GAAG,CAAC;AAE7B,QAAA,sBAAsB,GAAwB;IAC1D,IAAI;IACJ,iCAAiB,CAAC,UAAU;IAC5B,iCAAiB,CAAC,QAAQ;CAC1B,CAAC;AAoCF,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
|