@fiado/type-kit 1.8.48 → 1.8.50
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/productCatalog/enums/ProductSubtypeEnum.d.ts +6 -6
- package/bin/productCatalog/enums/ProductSubtypeEnum.js +6 -6
- package/bin/transaction/dtos/TransactionCreateRequest.d.ts +2 -0
- package/bin/transaction/dtos/TransactionCreateRequest.js +9 -0
- package/package.json +1 -1
- package/src/productCatalog/enums/ProductSubtypeEnum.ts +6 -6
- package/src/transaction/dtos/TransactionCreateRequest.ts +7 -0
|
@@ -38,12 +38,12 @@ export declare enum ProductSubtypeEnum {
|
|
|
38
38
|
FIADO_BUSINESS_REV_PROV = "REV_PROV",
|
|
39
39
|
FIADO_BUSINESS_ADJUSTMENT = "ADJUSTMENT",
|
|
40
40
|
FIADO_BUSINESS_REV_ADJUSTMENT = "REV_ADJUSTMENT",
|
|
41
|
-
P2P_CP_OTHER_OUT = "
|
|
42
|
-
P2P_CP_OTHER_IN = "
|
|
43
|
-
P2P_CP_POCKET = "
|
|
44
|
-
P2P_TERN_OTHER_OUT = "
|
|
45
|
-
P2P_TERN_OTHER_IN = "
|
|
46
|
-
P2P_TERN_POCKET = "
|
|
41
|
+
P2P_CP_OTHER_OUT = "CP_OTHER_OUT",
|
|
42
|
+
P2P_CP_OTHER_IN = "CP_OTHER_IN",
|
|
43
|
+
P2P_CP_POCKET = "CP_POCKET",
|
|
44
|
+
P2P_TERN_OTHER_OUT = "TERN_OTHER_OUT",
|
|
45
|
+
P2P_TERN_OTHER_IN = "TERN_OTHER_IN",
|
|
46
|
+
P2P_TERN_POCKET = "TERN_POCKET",
|
|
47
47
|
CP_ACH_OUT = "ACH_OUT",
|
|
48
48
|
CP_ACH_IN = "ACH_IN"
|
|
49
49
|
}
|
|
@@ -50,12 +50,12 @@ var ProductSubtypeEnum;
|
|
|
50
50
|
ProductSubtypeEnum["FIADO_BUSINESS_ADJUSTMENT"] = "ADJUSTMENT";
|
|
51
51
|
ProductSubtypeEnum["FIADO_BUSINESS_REV_ADJUSTMENT"] = "REV_ADJUSTMENT";
|
|
52
52
|
// FIADO INC
|
|
53
|
-
ProductSubtypeEnum["P2P_CP_OTHER_OUT"] = "
|
|
54
|
-
ProductSubtypeEnum["P2P_CP_OTHER_IN"] = "
|
|
55
|
-
ProductSubtypeEnum["P2P_CP_POCKET"] = "
|
|
56
|
-
ProductSubtypeEnum["P2P_TERN_OTHER_OUT"] = "
|
|
57
|
-
ProductSubtypeEnum["P2P_TERN_OTHER_IN"] = "
|
|
58
|
-
ProductSubtypeEnum["P2P_TERN_POCKET"] = "
|
|
53
|
+
ProductSubtypeEnum["P2P_CP_OTHER_OUT"] = "CP_OTHER_OUT";
|
|
54
|
+
ProductSubtypeEnum["P2P_CP_OTHER_IN"] = "CP_OTHER_IN";
|
|
55
|
+
ProductSubtypeEnum["P2P_CP_POCKET"] = "CP_POCKET";
|
|
56
|
+
ProductSubtypeEnum["P2P_TERN_OTHER_OUT"] = "TERN_OTHER_OUT";
|
|
57
|
+
ProductSubtypeEnum["P2P_TERN_OTHER_IN"] = "TERN_OTHER_IN";
|
|
58
|
+
ProductSubtypeEnum["P2P_TERN_POCKET"] = "TERN_POCKET";
|
|
59
59
|
// CP
|
|
60
60
|
ProductSubtypeEnum["CP_ACH_OUT"] = "ACH_OUT";
|
|
61
61
|
ProductSubtypeEnum["CP_ACH_IN"] = "ACH_IN";
|
|
@@ -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
|
@@ -54,12 +54,12 @@ export enum ProductSubtypeEnum {
|
|
|
54
54
|
FIADO_BUSINESS_REV_ADJUSTMENT = "REV_ADJUSTMENT",
|
|
55
55
|
|
|
56
56
|
// FIADO INC
|
|
57
|
-
P2P_CP_OTHER_OUT = "
|
|
58
|
-
P2P_CP_OTHER_IN = "
|
|
59
|
-
P2P_CP_POCKET = "
|
|
60
|
-
P2P_TERN_OTHER_OUT = "
|
|
61
|
-
P2P_TERN_OTHER_IN = "
|
|
62
|
-
P2P_TERN_POCKET = "
|
|
57
|
+
P2P_CP_OTHER_OUT = "CP_OTHER_OUT",
|
|
58
|
+
P2P_CP_OTHER_IN = "CP_OTHER_IN",
|
|
59
|
+
P2P_CP_POCKET = "CP_POCKET",
|
|
60
|
+
P2P_TERN_OTHER_OUT = "TERN_OTHER_OUT",
|
|
61
|
+
P2P_TERN_OTHER_IN = "TERN_OTHER_IN",
|
|
62
|
+
P2P_TERN_POCKET = "TERN_POCKET",
|
|
63
63
|
|
|
64
64
|
// CP
|
|
65
65
|
CP_ACH_OUT = "ACH_OUT",
|
|
@@ -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;
|