@bondsports/types 2.1.9 → 2.1.11
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/general.dto.d.ts +3 -0
- package/dist/types/dto/general.dto.js +4 -1
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/future-installments/dto/future-installments.dto.d.ts +4 -1
- package/dist/types/future-installments/dto/future-installments.dto.js.map +1 -1
- package/dist/types/payment/entities/FutureInstallment.d.ts +5 -3
- package/dist/types/payment/entities/FutureInstallment.js.map +1 -1
- package/dist/types/payment/entities/Payment.d.ts +2 -1
- package/dist/types/payment/entities/Payment.js.map +1 -1
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
|
3
|
+
exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
|
4
4
|
class FindOneParams {
|
5
5
|
}
|
6
6
|
exports.FindOneParams = FindOneParams;
|
@@ -53,6 +53,9 @@ exports.AuthenticatedRequestDto = AuthenticatedRequestDto;
|
|
53
53
|
class IdsDto {
|
54
54
|
}
|
55
55
|
exports.IdsDto = IdsDto;
|
56
|
+
class IdsOptionalDto {
|
57
|
+
}
|
58
|
+
exports.IdsOptionalDto = IdsOptionalDto;
|
56
59
|
class IdsQueryDto {
|
57
60
|
}
|
58
61
|
exports.IdsQueryDto = IdsQueryDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AACrC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AACpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAC5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAClC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAC3B,YAAY,KAA4E;;QAQxF,SAAI,GAAI,oBAAY,CAAC;QAErB,iBAAY,GAAI,sCAA8B,CAAC;QAT9C,IAAI,CAAC,IAAI,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,KAAI,oBAAY,CAAC;QACxC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,CAC3B,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,EAC5C,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,KAAI,CAAC,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,CAAC,CACrE,CAAC;IACH,CAAC;CAKD;AAZD,0CAYC;AAED,MAAa,KAAK;C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Y,GAAG,IAAI,CAAC,GAAG,CAC3B,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,EAC5C,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,KAAI,CAAC,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,CAAC,CACrE,CAAC;IACH,CAAC;CAKD;AAZD,0CAYC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QAEd,YAAO,GAAG,CAAC,CAAC;QAEZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;AAND,oDAMC;AAED,MAAa,iBAAiB;CAQ7B;AARD,8CAQC;AAED,MAAa,mBAAmB;IAK/B,YAAY,IAAS,EAAE,IAAuB;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAClB,CAAC;CACD;AATD,kDASC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,YAAa,SAAQ,KAAK;CAEtC;AAFD,oCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,MAAM;CAElB;AAFD,wBAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC"}
|
@@ -3,7 +3,10 @@ import { OrganizationBaseEntityDto } from '../../organization/dto/organization.d
|
|
3
3
|
import { FuturePaymentStatusEnum, PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../../payment/types/enums/payment.enums';
|
4
4
|
export declare class FutureInstallmentDto extends OrganizationBaseEntityDto {
|
5
5
|
id: number;
|
6
|
-
paymentMethodId
|
6
|
+
paymentMethodId?: number;
|
7
|
+
originalPaymentMethodId?: number;
|
8
|
+
stripePaymentMethodId?: string;
|
9
|
+
failedCount?: number;
|
7
10
|
paymentType: PaymentMethodTypeEnum;
|
8
11
|
price: number;
|
9
12
|
status: FuturePaymentStatusEnum;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"future-installments.dto.js","sourceRoot":"","sources":["../../../../src/types/future-installments/dto/future-installments.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAOpF,MAAa,oBAAqB,SAAQ,4CAAyB;
|
1
|
+
{"version":3,"file":"future-installments.dto.js","sourceRoot":"","sources":["../../../../src/types/future-installments/dto/future-installments.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAOpF,MAAa,oBAAqB,SAAQ,4CAAyB;CAsClE;AAtCD,oDAsCC"}
|
@@ -9,18 +9,20 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
9
9
|
userId: number;
|
10
10
|
invoiceId: number;
|
11
11
|
invoice: Invoice;
|
12
|
-
paymentMethodId
|
12
|
+
paymentMethodId?: number;
|
13
|
+
paymentMethod: UserPaymentMethod;
|
14
|
+
stripePaymentMethodId?: string;
|
15
|
+
originalPaymentMethodId?: number;
|
16
|
+
failedCount?: number;
|
13
17
|
paymentType: PaymentMethodTypeEnum;
|
14
18
|
price: number;
|
15
19
|
status: FuturePaymentStatusEnum;
|
16
20
|
plannedDate: Date;
|
17
21
|
chargedAt?: Date;
|
18
22
|
originalPlannedDate?: Date;
|
19
|
-
retryCount?: number;
|
20
23
|
payments?: Payment[];
|
21
24
|
paymentFailures?: PaymentFailure[];
|
22
25
|
lastPaymentFailure?: PaymentFailure;
|
23
|
-
paymentMethod?: UserPaymentMethod;
|
24
26
|
fee?: Fee;
|
25
27
|
feeAmount?: number;
|
26
28
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FutureInstallment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/FutureInstallment.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,iBAAkB,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"FutureInstallment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/FutureInstallment.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,iBAAkB,SAAQ,mEAAgC;CAuCtE;AAvCD,8CAuCC"}
|
@@ -22,7 +22,8 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
22
22
|
currency: CurrencyEnum;
|
23
23
|
payingUserId?: number;
|
24
24
|
payingUser?: User;
|
25
|
-
paymentMethodId?:
|
25
|
+
paymentMethodId?: number;
|
26
|
+
stripePaymentMethodId?: string;
|
26
27
|
paymentType?: PaymentMethodTypeEnum;
|
27
28
|
subPaymentMethodType?: SubPaymentMethodTypeEnum;
|
28
29
|
status: FuturePaymentStatusEnum;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"mappings":";;;AAKA,oGAAiG;AAgBjG,MAAa,OAAQ,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"mappings":";;;AAKA,oGAAiG;AAgBjG,MAAa,OAAQ,SAAQ,mEAAgC;CA6E5D;AA7ED,0BA6EC"}
|