@bondsports/types 2.1.37 → 2.1.39
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/import/dto/customer.dto.d.ts +1 -1
- package/dist/types/import/dto/membership.dto.d.ts +6 -0
- package/dist/types/import/dto/membership.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
@@ -2,7 +2,7 @@ import { CreateOrEditCustomerDto } from '../../customers/dto/createOrEditCustome
|
|
2
2
|
import { Customer } from '../../entity/Customer';
|
3
3
|
import { User } from '../../user/entities/User';
|
4
4
|
export declare class AddImportedCustomerDto extends CreateOrEditCustomerDto {
|
5
|
-
importedId
|
5
|
+
importedId: string;
|
6
6
|
genderStr: string;
|
7
7
|
importedParentId?: string;
|
8
8
|
importedPartnerId?: string;
|
@@ -21,8 +21,14 @@ export declare class ImportMembershipDto extends CreateMembershipDto {
|
|
21
21
|
importedId?: string;
|
22
22
|
}
|
23
23
|
export declare class ImportMembershipMembersDto extends AddImportedCustomerDto {
|
24
|
+
importedId: string;
|
25
|
+
startDate: string;
|
24
26
|
parentId?: number;
|
25
27
|
importedMembershipId?: string;
|
26
28
|
paymentMethodId?: string;
|
27
29
|
paymentMethodType?: PaymentMethodTypeEnum;
|
30
|
+
birthDate: string;
|
31
|
+
firstName: string;
|
32
|
+
lastName: string;
|
33
|
+
genderStr: string;
|
28
34
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/membership.dto.ts"],"names":[],"mappings":";;;AAAA,6DAA+D;AAE/D,iDAAwD;AAExD,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,mCAAmC;CAI/C;AAJD,kFAIC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,mBAAoB,SAAQ,oCAAmB;CAE3D;AAFD,kDAEC;AAED,MAAa,0BAA2B,SAAQ,qCAAsB;
|
1
|
+
{"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/membership.dto.ts"],"names":[],"mappings":";;;AAAA,6DAA+D;AAE/D,iDAAwD;AAExD,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,mCAAmC;CAI/C;AAJD,kFAIC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,mBAAoB,SAAQ,oCAAmB;CAE3D;AAFD,kDAEC;AAED,MAAa,0BAA2B,SAAQ,qCAAsB;CAwBrE;AAxBD,gEAwBC"}
|
@@ -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,+DAAS,CAAA;IACT,6EAAgB,CAAA;IA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;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,2DAAQ,CAAA;AACT,CAAC,EAHW,k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,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"}
|