@fiado/type-kit 1.8.49 → 1.8.51
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/bankAccount/dtos/CreateExternalBankAccountRequest.d.ts +1 -0
- package/bin/transaction/dtos/TransactionCreateRequest.d.ts +2 -0
- package/bin/transaction/dtos/TransactionCreateRequest.js +9 -0
- package/package.json +1 -1
- package/src/bankAccount/dtos/CreateExternalBankAccountRequest.ts +4 -3
- package/src/transaction/dtos/TransactionCreateRequest.ts +7 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExternalAccountTypeEnum } from "../enums/ExternalAccountTypeEnum";
|
|
2
2
|
import { ExternalAccountOwnershipEnum } from "../enums/ExternalAccountOwnershipEnum";
|
|
3
3
|
export declare class CreateExternalBankAccountRequest {
|
|
4
|
+
id?: string;
|
|
4
5
|
accountHolderName: string;
|
|
5
6
|
countryId?: string;
|
|
6
7
|
accountNumber?: string;
|
|
@@ -15,12 +15,14 @@ export declare class TransactionCreateRequest {
|
|
|
15
15
|
pocketId: string;
|
|
16
16
|
fiadoSaAccountId: string;
|
|
17
17
|
pagoConfiadoAccountId: string;
|
|
18
|
+
fiadoIncAccountId: string;
|
|
18
19
|
ownerDirectoryId: string;
|
|
19
20
|
sourceDirectoryId: string;
|
|
20
21
|
sourcePeopleId: string;
|
|
21
22
|
targetDirectoryId: string;
|
|
22
23
|
targetPeopleId: string;
|
|
23
24
|
targetPagoConfiadoAccountId: string;
|
|
25
|
+
targetFiadoIncAccountId: string;
|
|
24
26
|
transactionDate: string;
|
|
25
27
|
sessionId: string;
|
|
26
28
|
disputeOrFraudFolio?: string;
|
|
@@ -65,6 +65,11 @@ __decorate([
|
|
|
65
65
|
(0, class_validator_1.IsString)(),
|
|
66
66
|
__metadata("design:type", String)
|
|
67
67
|
], TransactionCreateRequest.prototype, "pagoConfiadoAccountId", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
70
|
+
(0, class_validator_1.IsString)(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], TransactionCreateRequest.prototype, "fiadoIncAccountId", void 0);
|
|
68
73
|
__decorate([
|
|
69
74
|
(0, class_validator_1.IsNotEmpty)(),
|
|
70
75
|
(0, class_validator_1.IsString)(),
|
|
@@ -93,6 +98,10 @@ __decorate([
|
|
|
93
98
|
(0, class_validator_1.IsString)(),
|
|
94
99
|
__metadata("design:type", String)
|
|
95
100
|
], TransactionCreateRequest.prototype, "targetPagoConfiadoAccountId", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, class_validator_1.IsString)(),
|
|
103
|
+
__metadata("design:type", String)
|
|
104
|
+
], TransactionCreateRequest.prototype, "targetFiadoIncAccountId", void 0);
|
|
96
105
|
__decorate([
|
|
97
106
|
(0, class_validator_1.IsNotEmpty)(),
|
|
98
107
|
(0, class_validator_1.IsString)(),
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {ExternalAccountTypeEnum} from "../enums/ExternalAccountTypeEnum";
|
|
2
|
-
import {ExternalAccountOwnershipEnum} from "../enums/ExternalAccountOwnershipEnum";
|
|
1
|
+
import { ExternalAccountTypeEnum } from "../enums/ExternalAccountTypeEnum";
|
|
2
|
+
import { ExternalAccountOwnershipEnum } from "../enums/ExternalAccountOwnershipEnum";
|
|
3
3
|
|
|
4
4
|
export class CreateExternalBankAccountRequest {
|
|
5
|
+
id?: string;
|
|
5
6
|
accountHolderName: string;
|
|
6
7
|
countryId?: string;
|
|
7
8
|
accountNumber?: string;
|
|
8
9
|
routingNumber?: string;
|
|
9
|
-
alias?:
|
|
10
|
+
alias?: string;
|
|
10
11
|
accountType: ExternalAccountTypeEnum;
|
|
11
12
|
bankId?: string;
|
|
12
13
|
bankName?: string;
|
|
@@ -47,6 +47,10 @@ export class TransactionCreateRequest {
|
|
|
47
47
|
@IsString()
|
|
48
48
|
pagoConfiadoAccountId: string;
|
|
49
49
|
|
|
50
|
+
@IsNotEmpty()
|
|
51
|
+
@IsString()
|
|
52
|
+
fiadoIncAccountId: string;
|
|
53
|
+
|
|
50
54
|
@IsNotEmpty()
|
|
51
55
|
@IsString()
|
|
52
56
|
@Matches(regexUuidV4,
|
|
@@ -70,6 +74,9 @@ export class TransactionCreateRequest {
|
|
|
70
74
|
@IsString()
|
|
71
75
|
targetPagoConfiadoAccountId: string;
|
|
72
76
|
|
|
77
|
+
@IsString()
|
|
78
|
+
targetFiadoIncAccountId: string;
|
|
79
|
+
|
|
73
80
|
@IsNotEmpty()
|
|
74
81
|
@IsString()
|
|
75
82
|
transactionDate: string;
|