@bondsports/types 2.1.38 → 2.1.40
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/import/dto/customer.dto.d.ts +3 -0
- package/dist/types/import/dto/customer.dto.js +4 -1
- package/dist/types/import/dto/customer.dto.js.map +1 -1
- package/dist/types/payment/types/enums/payment.enums.d.ts +14 -3
- package/dist/types/payment/types/enums/payment.enums.js +15 -13
- package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
- package/dist/types/purchase/dto/purchase.dto.d.ts +6 -1
- package/dist/types/purchase/dto/purchase.dto.js +5 -2
- package/dist/types/purchase/dto/purchase.dto.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.CustomerImportResponseDto = exports.ExistingUserDto = exports.ExistingCustomerDto = exports.CustomerImportValidationDto = exports.AddFamilyDto = exports.AddImportedCustomerDto = void 0;
|
3
|
+
exports.CustomerImportOptionsDto = exports.CustomerImportResponseDto = exports.ExistingUserDto = exports.ExistingCustomerDto = exports.CustomerImportValidationDto = exports.AddFamilyDto = exports.AddImportedCustomerDto = void 0;
|
4
4
|
const createOrEditCustomer_dto_1 = require("../../customers/dto/createOrEditCustomer.dto");
|
5
5
|
class AddImportedCustomerDto extends createOrEditCustomer_dto_1.CreateOrEditCustomerDto {
|
6
6
|
}
|
@@ -21,4 +21,7 @@ exports.ExistingUserDto = ExistingUserDto;
|
|
21
21
|
class CustomerImportResponseDto {
|
22
22
|
}
|
23
23
|
exports.CustomerImportResponseDto = CustomerImportResponseDto;
|
24
|
+
class CustomerImportOptionsDto {
|
25
|
+
}
|
26
|
+
exports.CustomerImportOptionsDto = CustomerImportOptionsDto;
|
24
27
|
//# sourceMappingURL=customer.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/customer.dto.ts"],"names":[],"mappings":";;;AAAA,2FAAuF;AAIvF,MAAa,sBAAuB,SAAQ,kDAAuB;CAclE;AAdD,wDAcC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,2BAA2B;CAMvC;AAND,kEAMC;AAED,oCAAoC;AACpC,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC"}
|
1
|
+
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/customer.dto.ts"],"names":[],"mappings":";;;AAAA,2FAAuF;AAIvF,MAAa,sBAAuB,SAAQ,kDAAuB;CAclE;AAdD,wDAcC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,2BAA2B;CAMvC;AAND,kEAMC;AAED,oCAAoC;AACpC,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC"}
|
@@ -70,9 +70,20 @@ export declare enum FuturePaymentStatusEnum {
|
|
70
70
|
}
|
71
71
|
export declare const scheduledChargeStatusWithTreansactionFee: FuturePaymentStatusEnum[];
|
72
72
|
export declare const chargeableInstallmentStatuses: FuturePaymentStatusEnum[];
|
73
|
-
|
74
|
-
|
75
|
-
|
73
|
+
/**
|
74
|
+
* Array of failed installment statuses,
|
75
|
+
* used for validation requested to make sure all failed installments paid.
|
76
|
+
* This array includes the `FAILED` and `RETRY_IN_PROGRESS` statuses from the `FuturePaymentStatusEnum`.
|
77
|
+
*/
|
78
|
+
export declare const failedInstallmentStatuses: FuturePaymentStatusEnum[];
|
79
|
+
/**
|
80
|
+
* Array of future installment statuses.
|
81
|
+
*/
|
82
|
+
/**
|
83
|
+
* Array of future installment statuses, includes statuses with future planned date.
|
84
|
+
* This array includes the `FUTURE` and `RETRY_IN_PROGRESS` statuses from the `FuturePaymentStatusEnum`.
|
85
|
+
*/
|
86
|
+
export declare const futureInstallmentStatuses: FuturePaymentStatusEnum[];
|
76
87
|
export declare enum FlattenViaPropEnum {
|
77
88
|
CHILDREN = "children",
|
78
89
|
TAX_ITEM = "taxLineItem"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.FlattenViaPropEnum = exports.
|
3
|
+
exports.FlattenViaPropEnum = exports.futureInstallmentStatuses = exports.failedInstallmentStatuses = 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";
|
@@ -90,18 +90,20 @@ exports.chargeableInstallmentStatuses = [
|
|
90
90
|
FuturePaymentStatusEnum.FAILED,
|
91
91
|
FuturePaymentStatusEnum.RETRY_IN_PROGRESS,
|
92
92
|
];
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
93
|
+
/**
|
94
|
+
* Array of failed installment statuses,
|
95
|
+
* used for validation requested to make sure all failed installments paid.
|
96
|
+
* This array includes the `FAILED` and `RETRY_IN_PROGRESS` statuses from the `FuturePaymentStatusEnum`.
|
97
|
+
*/
|
98
|
+
exports.failedInstallmentStatuses = [FuturePaymentStatusEnum.FAILED, FuturePaymentStatusEnum.RETRY_IN_PROGRESS];
|
99
|
+
/**
|
100
|
+
* Array of future installment statuses.
|
101
|
+
*/
|
102
|
+
/**
|
103
|
+
* Array of future installment statuses, includes statuses with future planned date.
|
104
|
+
* This array includes the `FUTURE` and `RETRY_IN_PROGRESS` statuses from the `FuturePaymentStatusEnum`.
|
105
|
+
*/
|
106
|
+
exports.futureInstallmentStatuses = [FuturePaymentStatusEnum.FUTURE, FuturePaymentStatusEnum.RETRY_IN_PROGRESS];
|
105
107
|
var FlattenViaPropEnum;
|
106
108
|
(function (FlattenViaPropEnum) {
|
107
109
|
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,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,2CAAyB,CAAA;AAC1B,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAED,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC9B,iFAAkB,CAAA;IAClB,qFAAoB,CAAA;IACpB,qEAAY,CAAA;IACZ,qEAAY,CAAA;IACZ,uEAAa,CAAA;IACb,+D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OAAO;IAC/B,uBAAuB,CAAC,SAAS;CACjC,CAAC;AAEW,QAAA,6BAA6B,GAAG;IAC5C,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,iBAAiB;CACzC,CAAC;
|
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,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,2CAAyB,CAAA;AAC1B,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAED,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC9B,iFAAkB,CAAA;IAClB,qFAAoB,CAAA;IACpB,qEAAY,CAAA;IACZ,qEAAY,CAAA;IACZ,uEAAa,CAAA;IACb,+DAAS,CAAA;IACT,6EAAgB,CAAA;IAChB,mEAAW,CAAA;AACZ,CAAC,EATW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAS9B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,+DAAU,CAAA;IACV,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;;GAIG;AACU,QAAA,yBAAyB,GAAG,CAAC,uBAAuB,CAAC,MAAM,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;AAErH;;GAEG;AACH;;;GAGG;AACU,QAAA,yBAAyB,GAAG,CAAC,uBAAuB,CAAC,MAAM,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;AAErH,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,2CAAqB,CAAA;IACrB,8CAAwB,CAAA;AACzB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
|
@@ -2,12 +2,12 @@ import { UserAnswersDto } from '../../dto/application.dto';
|
|
2
2
|
import { Customer } from '../../entity/Customer';
|
3
3
|
import { Invoice } from '../../entity/Invoice';
|
4
4
|
import { ProductsUsers } from '../../entity/ProductsUsers';
|
5
|
-
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
6
5
|
import { ScheduledPaymentDto } from '../../payment/dto/payment-plan.dto';
|
7
6
|
import { Payment } from '../../payment/entities/Payment';
|
8
7
|
import { FuturePaymentStatusEnum, PaymentMethodTypeEnum, PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
9
8
|
import { PlatformsEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
10
9
|
import { ResourceDto } from '../../resources/dto/resource.dto';
|
10
|
+
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
11
11
|
export declare class PurchasePaymentDto {
|
12
12
|
type: PaymentMethodTypeEnum;
|
13
13
|
token?: string;
|
@@ -61,6 +61,11 @@ export declare class PurchaseProductDto {
|
|
61
61
|
parentProductId?: number;
|
62
62
|
resourceIdToRenew?: number;
|
63
63
|
}
|
64
|
+
export declare class ScheduledPaymentConsumerRequestDto {
|
65
|
+
invoiceId: number;
|
66
|
+
userId: number;
|
67
|
+
statuses?: FuturePaymentStatusEnum[];
|
68
|
+
}
|
64
69
|
export declare class ScheduledPaymentRequestDto extends ByOrganizationIdDto {
|
65
70
|
invoiceId: number;
|
66
71
|
userId: number;
|
@@ -1,8 +1,8 @@
|
|
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;
|
4
|
-
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
3
|
+
exports.PurchaseCartDto = exports.PurchaseResultDto = exports.ValidateParticipantDto = exports.PartialPaymentAsUserDto = exports.AddItemsDto = exports.RedeemPunchCardRequestDto = exports.PartialPaymentRequestDto = exports.ScheduledPaymentRequestBodyDto = exports.ScheduledPaymentRequestDto = exports.ScheduledPaymentConsumerRequestDto = exports.PurchaseProductDto = exports.PurchaseResourceDto = exports.PurchaseRequestDto = exports.ChargeRentalsReuqestDto = exports.PurchasePaymentDto = void 0;
|
5
4
|
const resource_dto_1 = require("../../resources/dto/resource.dto");
|
5
|
+
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
6
6
|
class PurchasePaymentDto {
|
7
7
|
}
|
8
8
|
exports.PurchasePaymentDto = PurchasePaymentDto;
|
@@ -18,6 +18,9 @@ exports.PurchaseResourceDto = PurchaseResourceDto;
|
|
18
18
|
class PurchaseProductDto {
|
19
19
|
}
|
20
20
|
exports.PurchaseProductDto = PurchaseProductDto;
|
21
|
+
class ScheduledPaymentConsumerRequestDto {
|
22
|
+
}
|
23
|
+
exports.ScheduledPaymentConsumerRequestDto = ScheduledPaymentConsumerRequestDto;
|
21
24
|
class ScheduledPaymentRequestDto extends organization_dto_1.ByOrganizationIdDto {
|
22
25
|
}
|
23
26
|
exports.ScheduledPaymentRequestDto = ScheduledPaymentRequestDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAYA,mEAA+D;AAE/D,8EAA8E;AAE9E,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;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,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;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"}
|