@fiado/type-kit 1.9.34 → 1.9.36
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/bin/creditContract/dtos/CreditContractCreateRequest.d.ts +1 -0
- package/bin/creditContract/dtos/CreditContractCreateRequest.js +5 -0
- package/bin/transactionProcessor/dtos/AUthorizeCollectorOrderResponse.d.ts +14 -0
- package/bin/transactionProcessor/dtos/AUthorizeCollectorOrderResponse.js +6 -0
- package/bin/transactionProcessor/index.d.ts +1 -0
- package/bin/transactionProcessor/index.js +1 -0
- package/package.json +1 -1
- package/src/creditContract/dtos/CreditContractCreateRequest.ts +5 -1
- package/src/transactionProcessor/dtos/AUthorizeCollectorOrderResponse.ts +15 -0
- package/src/transactionProcessor/index.ts +1 -0
|
@@ -86,3 +86,8 @@ __decorate([
|
|
|
86
86
|
(0, class_validator_1.IsNotEmpty)(),
|
|
87
87
|
__metadata("design:type", String)
|
|
88
88
|
], CreditContractCreateRequest.prototype, "holdTxId", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, class_validator_1.IsString)(),
|
|
91
|
+
(0, class_validator_1.IsOptional)(),
|
|
92
|
+
__metadata("design:type", String)
|
|
93
|
+
], CreditContractCreateRequest.prototype, "relatedProductId", void 0);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CollectorOrderStatus } from "../../collector";
|
|
2
|
+
export declare class AUthorizeCollectorOrderResponse {
|
|
3
|
+
orderId: string;
|
|
4
|
+
executionId: string;
|
|
5
|
+
status: CollectorOrderStatus;
|
|
6
|
+
collectedAmount: number;
|
|
7
|
+
remainingAmount: number;
|
|
8
|
+
notes: string;
|
|
9
|
+
collectorTransactionId: string;
|
|
10
|
+
timestamp: string;
|
|
11
|
+
transactionNumber: string;
|
|
12
|
+
relatedTransactionId: string;
|
|
13
|
+
creditContractIds: string[];
|
|
14
|
+
}
|
|
@@ -26,6 +26,7 @@ export * from './dtos/EventTransactionInfo';
|
|
|
26
26
|
export * from './dtos/AuthorizeUsdAchTransactionRequest';
|
|
27
27
|
export * from './dtos/AuthorizeMCSendTransactionRequest';
|
|
28
28
|
export * from './dtos/AuthorizeCollectorOrderRequest';
|
|
29
|
+
export * from './dtos/AUthorizeCollectorOrderResponse';
|
|
29
30
|
export * from './enums/TransactionProcessorCodesEnum';
|
|
30
31
|
export * from './enums/AsyncTxStatusEnum';
|
|
31
32
|
export * from './enums/AppEnum';
|
|
@@ -42,6 +42,7 @@ __exportStar(require("./dtos/EventTransactionInfo"), exports);
|
|
|
42
42
|
__exportStar(require("./dtos/AuthorizeUsdAchTransactionRequest"), exports);
|
|
43
43
|
__exportStar(require("./dtos/AuthorizeMCSendTransactionRequest"), exports);
|
|
44
44
|
__exportStar(require("./dtos/AuthorizeCollectorOrderRequest"), exports);
|
|
45
|
+
__exportStar(require("./dtos/AUthorizeCollectorOrderResponse"), exports);
|
|
45
46
|
__exportStar(require("./enums/TransactionProcessorCodesEnum"), exports);
|
|
46
47
|
__exportStar(require("./enums/AsyncTxStatusEnum"), exports);
|
|
47
48
|
__exportStar(require("./enums/AppEnum"), exports);
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsEnum, IsNotEmpty, IsNumber, IsString, Matches } from "class-validator";
|
|
1
|
+
import { IsEnum, IsNotEmpty, IsNumber, IsOptional, IsString, Matches } from "class-validator";
|
|
2
2
|
import { CountryId } from "../../country";
|
|
3
3
|
import { ProductTypeEnum } from "../../productCatalog";
|
|
4
4
|
import { Provider } from "../../provider";
|
|
@@ -60,4 +60,8 @@ export default class CreditContractCreateRequest {
|
|
|
60
60
|
@IsNotEmpty()
|
|
61
61
|
holdTxId:string
|
|
62
62
|
|
|
63
|
+
@IsString()
|
|
64
|
+
@IsOptional()
|
|
65
|
+
relatedProductId?: string;
|
|
66
|
+
|
|
63
67
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CollectorOrderStatus } from "../../collector";
|
|
2
|
+
|
|
3
|
+
export class AUthorizeCollectorOrderResponse {
|
|
4
|
+
orderId: string;
|
|
5
|
+
executionId: string;
|
|
6
|
+
status: CollectorOrderStatus;
|
|
7
|
+
collectedAmount: number;
|
|
8
|
+
remainingAmount: number;
|
|
9
|
+
notes: string;
|
|
10
|
+
collectorTransactionId: string;
|
|
11
|
+
timestamp: string;
|
|
12
|
+
transactionNumber: string;
|
|
13
|
+
relatedTransactionId: string;
|
|
14
|
+
creditContractIds: string[];
|
|
15
|
+
}
|
|
@@ -26,6 +26,7 @@ export * from './dtos/EventTransactionInfo';
|
|
|
26
26
|
export * from './dtos/AuthorizeUsdAchTransactionRequest';
|
|
27
27
|
export * from './dtos/AuthorizeMCSendTransactionRequest';
|
|
28
28
|
export * from './dtos/AuthorizeCollectorOrderRequest';
|
|
29
|
+
export * from './dtos/AUthorizeCollectorOrderResponse';
|
|
29
30
|
|
|
30
31
|
export * from './enums/TransactionProcessorCodesEnum';
|
|
31
32
|
export * from './enums/AsyncTxStatusEnum';
|