@fiado/type-kit 1.2.35 → 1.2.37
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/transaction/dtos/TransactionCreateRequest.d.ts +3 -1
- package/bin/transaction/dtos/TransactionCreateRequest.js +11 -2
- package/bin/transaction/dtos/TransactionGetResponse.d.ts +4 -2
- package/package.json +1 -1
- package/src/transaction/dtos/TransactionCreateRequest.ts +10 -2
- package/src/transaction/dtos/TransactionGetResponse.ts +4 -2
|
@@ -11,11 +11,13 @@ export declare class TransactionCreateRequest {
|
|
|
11
11
|
transactionNumber: string;
|
|
12
12
|
directoryId: string;
|
|
13
13
|
peopleId: string;
|
|
14
|
-
accountId: string;
|
|
15
14
|
pocketId: string;
|
|
15
|
+
fiadoSaAccountId: string;
|
|
16
|
+
pagoConfiadoAccountId: string;
|
|
16
17
|
ownerDirectoryId: string;
|
|
17
18
|
targetDirectoryId: string;
|
|
18
19
|
targetPeopleId: string;
|
|
20
|
+
targetPagoConfiadoAccountId: string;
|
|
19
21
|
transactionDate: string;
|
|
20
22
|
sessionId: string;
|
|
21
23
|
currencyId: CountryId;
|
|
@@ -51,11 +51,16 @@ __decorate([
|
|
|
51
51
|
(0, class_validator_1.IsNotEmpty)(),
|
|
52
52
|
(0, class_validator_1.IsString)(),
|
|
53
53
|
__metadata("design:type", String)
|
|
54
|
-
], TransactionCreateRequest.prototype, "
|
|
54
|
+
], TransactionCreateRequest.prototype, "pocketId", void 0);
|
|
55
55
|
__decorate([
|
|
56
56
|
(0, class_validator_1.IsString)(),
|
|
57
57
|
__metadata("design:type", String)
|
|
58
|
-
], TransactionCreateRequest.prototype, "
|
|
58
|
+
], TransactionCreateRequest.prototype, "fiadoSaAccountId", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
61
|
+
(0, class_validator_1.IsString)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], TransactionCreateRequest.prototype, "pagoConfiadoAccountId", void 0);
|
|
59
64
|
__decorate([
|
|
60
65
|
(0, class_validator_1.IsNotEmpty)(),
|
|
61
66
|
(0, class_validator_1.IsString)(),
|
|
@@ -72,6 +77,10 @@ __decorate([
|
|
|
72
77
|
(0, class_validator_1.IsString)(),
|
|
73
78
|
__metadata("design:type", String)
|
|
74
79
|
], TransactionCreateRequest.prototype, "targetPeopleId", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, class_validator_1.IsString)(),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], TransactionCreateRequest.prototype, "targetPagoConfiadoAccountId", void 0);
|
|
75
84
|
__decorate([
|
|
76
85
|
(0, class_validator_1.IsNotEmpty)(),
|
|
77
86
|
(0, class_validator_1.IsString)(),
|
|
@@ -2,16 +2,18 @@ import { CountryId } from "../../country";
|
|
|
2
2
|
import { ProductTypeEnum } from "../../productCatalog";
|
|
3
3
|
import { OperationEnum } from "../enums/OperationEnum";
|
|
4
4
|
import { TransactionSourceEnum } from "../enums/TransactionSourceEnum";
|
|
5
|
+
import { TransactionStatusEnum } from "../enums/TransactionStatusEnum";
|
|
5
6
|
export declare class TransactionGetResponse {
|
|
6
7
|
pagination: any;
|
|
7
8
|
items: {
|
|
8
9
|
source: TransactionSourceEnum;
|
|
9
|
-
|
|
10
|
+
amount: number;
|
|
10
11
|
date: Date;
|
|
11
12
|
transactionNumber: string;
|
|
12
13
|
transactionType: ProductTypeEnum;
|
|
13
|
-
|
|
14
|
+
displayName: string;
|
|
14
15
|
currencyId: CountryId;
|
|
15
16
|
operation: OperationEnum;
|
|
17
|
+
status: TransactionStatusEnum;
|
|
16
18
|
}[];
|
|
17
19
|
}
|
package/package.json
CHANGED
|
@@ -36,10 +36,14 @@ export class TransactionCreateRequest {
|
|
|
36
36
|
|
|
37
37
|
@IsNotEmpty()
|
|
38
38
|
@IsString()
|
|
39
|
-
|
|
39
|
+
pocketId: string;
|
|
40
40
|
|
|
41
41
|
@IsString()
|
|
42
|
-
|
|
42
|
+
fiadoSaAccountId: string;
|
|
43
|
+
|
|
44
|
+
@IsNotEmpty()
|
|
45
|
+
@IsString()
|
|
46
|
+
pagoConfiadoAccountId: string;
|
|
43
47
|
|
|
44
48
|
@IsNotEmpty()
|
|
45
49
|
@IsString()
|
|
@@ -49,12 +53,16 @@ export class TransactionCreateRequest {
|
|
|
49
53
|
})
|
|
50
54
|
ownerDirectoryId: string;
|
|
51
55
|
|
|
56
|
+
|
|
52
57
|
@IsString()
|
|
53
58
|
targetDirectoryId: string;
|
|
54
59
|
|
|
55
60
|
@IsString()
|
|
56
61
|
targetPeopleId: string;
|
|
57
62
|
|
|
63
|
+
@IsString()
|
|
64
|
+
targetPagoConfiadoAccountId: string;
|
|
65
|
+
|
|
58
66
|
@IsNotEmpty()
|
|
59
67
|
@IsString()
|
|
60
68
|
transactionDate: string;
|
|
@@ -2,17 +2,19 @@ import { CountryId } from "../../country";
|
|
|
2
2
|
import { ProductTypeEnum } from "../../productCatalog";
|
|
3
3
|
import { OperationEnum } from "../enums/OperationEnum";
|
|
4
4
|
import { TransactionSourceEnum } from "../enums/TransactionSourceEnum";
|
|
5
|
+
import { TransactionStatusEnum } from "../enums/TransactionStatusEnum";
|
|
5
6
|
|
|
6
7
|
export class TransactionGetResponse {
|
|
7
8
|
pagination: any;
|
|
8
9
|
items: {
|
|
9
10
|
source: TransactionSourceEnum;
|
|
10
|
-
|
|
11
|
+
amount: number;
|
|
11
12
|
date: Date;
|
|
12
13
|
transactionNumber: string;
|
|
13
14
|
transactionType: ProductTypeEnum;
|
|
14
|
-
|
|
15
|
+
displayName: string;
|
|
15
16
|
currencyId: CountryId;
|
|
16
17
|
operation: OperationEnum;
|
|
18
|
+
status: TransactionStatusEnum;
|
|
17
19
|
}[]
|
|
18
20
|
}
|