@fiado/type-kit 1.0.66 → 1.0.67
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/.idea/sonarlint/issuestore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
- package/.idea/sonarlint/issuestore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
- package/.idea/sonarlint/issuestore/4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6 +0 -2
- package/.idea/sonarlint/issuestore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
- package/.idea/sonarlint/issuestore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
- package/.idea/sonarlint/issuestore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
- package/.idea/sonarlint/issuestore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
- package/.idea/sonarlint/issuestore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
- package/.idea/sonarlint/issuestore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
- package/.idea/sonarlint/issuestore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
- package/.idea/sonarlint/issuestore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
- package/.idea/sonarlint/issuestore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
- package/.idea/sonarlint/issuestore/index.pb +23 -1
- package/.idea/sonarlint/securityhotspotstore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/index.pb +23 -1
- package/bin/account/dtos/BankAccountExternalAddress.d.ts +15 -0
- package/bin/account/dtos/BankAccountExternalAddress.js +6 -0
- package/bin/account/dtos/GetBankAccountRequest.d.ts +4 -0
- package/bin/account/dtos/GetBankAccountRequest.js +6 -0
- package/bin/account/dtos/GetBankAccountResponse.d.ts +22 -0
- package/bin/account/dtos/GetBankAccountResponse.js +6 -0
- package/bin/account/dtos/GetBankAccountUserRequest.d.ts +3 -0
- package/bin/account/dtos/GetBankAccountUserRequest.js +6 -0
- package/bin/account/dtos/GetBankAccountUserResponse.d.ts +25 -0
- package/bin/account/dtos/GetBankAccountUserResponse.js +6 -0
- package/bin/account/enums/AccountEntityStatusEnum.d.ts +3 -2
- package/bin/account/enums/AccountEntityStatusEnum.js +3 -2
- package/bin/account/enums/UserEntityStatusEnum.d.ts +5 -0
- package/bin/account/enums/UserEntityStatusEnum.js +9 -0
- package/package.json +1 -1
- package/src/account/dtos/BankAccountExternalAddress.ts +18 -0
- package/src/account/dtos/CreateBankAccountUserRequest.ts +2 -3
- package/src/account/dtos/GetBankAccountRequest.ts +4 -0
- package/src/account/dtos/GetBankAccountResponse.ts +23 -0
- package/src/account/dtos/GetBankAccountUserRequest.ts +3 -0
- package/src/account/dtos/GetBankAccountUserResponse.ts +26 -0
- package/src/account/entities/AccountEntityBase.ts +9 -9
- package/src/account/enums/AccountEntityStatusEnum.ts +3 -2
- package/src/account/enums/UserEntityStatusEnum.ts +5 -0
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -36,4 +36,26 @@ Y
|
|
|
36
36
|
`
|
|
37
37
|
0src/account/dtos/CreateBankAccountUserRequest.ts,4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6
|
|
38
38
|
D
|
|
39
|
-
src/account/index.ts,5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531
|
|
39
|
+
src/account/index.ts,5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531
|
|
40
|
+
]
|
|
41
|
+
-src/account/dtos/CreateBankAccountResponse.ts,3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7
|
|
42
|
+
a
|
|
43
|
+
1src/account/dtos/CreateBankAccountUserResponse.ts,9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2
|
|
44
|
+
\
|
|
45
|
+
,src/account/dtos/CreateBankAccountRequest.ts,f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5
|
|
46
|
+
]
|
|
47
|
+
-src/account/dtos/GetBankAccountUserRequest.ts,1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350
|
|
48
|
+
^
|
|
49
|
+
.src/account/dtos/GetBankAccountUserResponse.ts,a/9/a903e3bfc804794d9b9535cbb530c68383652b5d
|
|
50
|
+
N
|
|
51
|
+
src/provider/enums/Provider.ts,6/1/619fe0b2aa30704d95a60035674b31d432fc5a75
|
|
52
|
+
Y
|
|
53
|
+
)src/account/dtos/GetBankAccountRequest.ts,7/7/77a3404a468e41376864800c0ab63d69287e6eab
|
|
54
|
+
Z
|
|
55
|
+
*src/account/dtos/GetBankAccountResponse.ts,5/5/55792c374cceb362b99620756061abf16563279b
|
|
56
|
+
^
|
|
57
|
+
.src/account/dtos/BankAccountExternalAddress.ts,f/9/f9d6327040914014594d301e0dc6361a476a5ff4
|
|
58
|
+
\
|
|
59
|
+
,src/account/enums/AccountEntityStatusEnum.ts,6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4
|
|
60
|
+
Y
|
|
61
|
+
)src/account/enums/UserEntityStatusEnum.ts,5/8/5815363aa7c189fe1d8a995d750c3a3f27900621
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -36,4 +36,26 @@ Y
|
|
|
36
36
|
`
|
|
37
37
|
0src/account/dtos/CreateBankAccountUserRequest.ts,4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6
|
|
38
38
|
D
|
|
39
|
-
src/account/index.ts,5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531
|
|
39
|
+
src/account/index.ts,5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531
|
|
40
|
+
]
|
|
41
|
+
-src/account/dtos/CreateBankAccountResponse.ts,3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7
|
|
42
|
+
a
|
|
43
|
+
1src/account/dtos/CreateBankAccountUserResponse.ts,9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2
|
|
44
|
+
\
|
|
45
|
+
,src/account/dtos/CreateBankAccountRequest.ts,f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5
|
|
46
|
+
]
|
|
47
|
+
-src/account/dtos/GetBankAccountUserRequest.ts,1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350
|
|
48
|
+
^
|
|
49
|
+
.src/account/dtos/GetBankAccountUserResponse.ts,a/9/a903e3bfc804794d9b9535cbb530c68383652b5d
|
|
50
|
+
N
|
|
51
|
+
src/provider/enums/Provider.ts,6/1/619fe0b2aa30704d95a60035674b31d432fc5a75
|
|
52
|
+
Y
|
|
53
|
+
)src/account/dtos/GetBankAccountRequest.ts,7/7/77a3404a468e41376864800c0ab63d69287e6eab
|
|
54
|
+
Z
|
|
55
|
+
*src/account/dtos/GetBankAccountResponse.ts,5/5/55792c374cceb362b99620756061abf16563279b
|
|
56
|
+
^
|
|
57
|
+
.src/account/dtos/BankAccountExternalAddress.ts,f/9/f9d6327040914014594d301e0dc6361a476a5ff4
|
|
58
|
+
\
|
|
59
|
+
,src/account/enums/AccountEntityStatusEnum.ts,6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4
|
|
60
|
+
Y
|
|
61
|
+
)src/account/enums/UserEntityStatusEnum.ts,5/8/5815363aa7c189fe1d8a995d750c3a3f27900621
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class BankAccountExternalAddress {
|
|
2
|
+
address1?: string;
|
|
3
|
+
address2?: string;
|
|
4
|
+
province?: string;
|
|
5
|
+
postalCode?: string;
|
|
6
|
+
streetName?: string;
|
|
7
|
+
streetNumber?: string;
|
|
8
|
+
apartment?: string;
|
|
9
|
+
region?: string;
|
|
10
|
+
zipCode?: string;
|
|
11
|
+
neighborhood?: string;
|
|
12
|
+
additionalInfo?: string;
|
|
13
|
+
city?: string;
|
|
14
|
+
country?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BankAccountTypeEnum } from "../enums/BankAccountTypeEnum";
|
|
2
|
+
import { BankAccountExternalAddress } from "./BankAccountExternalAddress";
|
|
3
|
+
import { AccountEntityStatusEnum } from "../enums/AccountEntityStatusEnum";
|
|
4
|
+
export declare class GetBankAccountResponse {
|
|
5
|
+
id: string;
|
|
6
|
+
businessId: string;
|
|
7
|
+
userId: string;
|
|
8
|
+
name: string;
|
|
9
|
+
accountNumber: string;
|
|
10
|
+
routingNumber: string;
|
|
11
|
+
accountType: BankAccountTypeEnum;
|
|
12
|
+
active: boolean;
|
|
13
|
+
isPrimary: boolean;
|
|
14
|
+
createdDate: string;
|
|
15
|
+
updatedDate: string;
|
|
16
|
+
deletedDate: string;
|
|
17
|
+
updatedBy: string;
|
|
18
|
+
balance: number;
|
|
19
|
+
address?: BankAccountExternalAddress;
|
|
20
|
+
kybStatus?: string;
|
|
21
|
+
statusName?: AccountEntityStatusEnum;
|
|
22
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BankAccountExternalAddress } from "./BankAccountExternalAddress";
|
|
2
|
+
import { UserEntityStatusEnum } from "../enums/UserEntityStatusEnum";
|
|
3
|
+
import { SexDocument, TypeOfDocument } from "../../identity";
|
|
4
|
+
import { Country } from "../../country";
|
|
5
|
+
export declare class GetBankAccountUserResponse {
|
|
6
|
+
id: string;
|
|
7
|
+
typeOfUserId: string;
|
|
8
|
+
dob: string;
|
|
9
|
+
name: string;
|
|
10
|
+
lastName: string;
|
|
11
|
+
phoneNumber: string;
|
|
12
|
+
email: string;
|
|
13
|
+
address?: BankAccountExternalAddress;
|
|
14
|
+
status: UserEntityStatusEnum;
|
|
15
|
+
sex?: SexDocument;
|
|
16
|
+
documentNumber: string;
|
|
17
|
+
typeOfDocumentId?: TypeOfDocument;
|
|
18
|
+
countryId: Country;
|
|
19
|
+
userAccountIds?: string[];
|
|
20
|
+
createdDate?: string;
|
|
21
|
+
updatedDate?: string;
|
|
22
|
+
deletedDate?: string;
|
|
23
|
+
updatedBy?: string;
|
|
24
|
+
accountIds?: number[];
|
|
25
|
+
}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AccountEntityStatusEnum = void 0;
|
|
4
4
|
var AccountEntityStatusEnum;
|
|
5
5
|
(function (AccountEntityStatusEnum) {
|
|
6
|
-
AccountEntityStatusEnum["
|
|
7
|
-
AccountEntityStatusEnum["
|
|
6
|
+
AccountEntityStatusEnum["ACTIVE"] = "ACTIVE";
|
|
7
|
+
AccountEntityStatusEnum["INACTIVE"] = "INACTIVE";
|
|
8
|
+
AccountEntityStatusEnum["PAUSED"] = "PAUSED";
|
|
8
9
|
})(AccountEntityStatusEnum || (exports.AccountEntityStatusEnum = AccountEntityStatusEnum = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserEntityStatusEnum = void 0;
|
|
4
|
+
var UserEntityStatusEnum;
|
|
5
|
+
(function (UserEntityStatusEnum) {
|
|
6
|
+
UserEntityStatusEnum["ACTIVE"] = "ACTIVE";
|
|
7
|
+
UserEntityStatusEnum["BLOCKED"] = "BLOCKED";
|
|
8
|
+
UserEntityStatusEnum["INACTIVE"] = "INACTIVE";
|
|
9
|
+
})(UserEntityStatusEnum || (exports.UserEntityStatusEnum = UserEntityStatusEnum = {}));
|
package/package.json
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export class BankAccountExternalAddress {
|
|
2
|
+
// TERN
|
|
3
|
+
address1?: string;
|
|
4
|
+
address2?: string;
|
|
5
|
+
province?: string;
|
|
6
|
+
postalCode?: string;
|
|
7
|
+
// POMELO
|
|
8
|
+
streetName?: string;
|
|
9
|
+
streetNumber?: string;
|
|
10
|
+
apartment?: string;
|
|
11
|
+
region?: string;
|
|
12
|
+
zipCode?: string;
|
|
13
|
+
neighborhood?: string;
|
|
14
|
+
additionalInfo?: string;
|
|
15
|
+
// COMMON PARAMETERS
|
|
16
|
+
city?: string;
|
|
17
|
+
country?: string;
|
|
18
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BankAccountTypeEnum } from "../enums/BankAccountTypeEnum";
|
|
1
|
+
import {AddressBase} from "../../address/dtos/AddressBase";
|
|
3
2
|
|
|
4
3
|
export class CreateBankAccountUserRequest {
|
|
5
4
|
directoryId: string;
|
|
@@ -12,7 +11,7 @@ export class CreateBankAccountUserRequest {
|
|
|
12
11
|
dob: string;
|
|
13
12
|
documentNumber: string;
|
|
14
13
|
documentType?: string;
|
|
15
|
-
gender?: "M"|"F";
|
|
14
|
+
gender?: "M" | "F";
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {BankAccountTypeEnum} from "../enums/BankAccountTypeEnum";
|
|
2
|
+
import {BankAccountExternalAddress} from "./BankAccountExternalAddress";
|
|
3
|
+
import {AccountEntityStatusEnum} from "../enums/AccountEntityStatusEnum";
|
|
4
|
+
|
|
5
|
+
export class GetBankAccountResponse {
|
|
6
|
+
id: string;
|
|
7
|
+
businessId: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
name: string;
|
|
10
|
+
accountNumber: string;
|
|
11
|
+
routingNumber: string;
|
|
12
|
+
accountType: BankAccountTypeEnum;
|
|
13
|
+
active: boolean;
|
|
14
|
+
isPrimary: boolean;
|
|
15
|
+
createdDate: string;
|
|
16
|
+
updatedDate: string;
|
|
17
|
+
deletedDate: string;
|
|
18
|
+
updatedBy: string;
|
|
19
|
+
balance: number;
|
|
20
|
+
address?: BankAccountExternalAddress;
|
|
21
|
+
kybStatus?: string;
|
|
22
|
+
statusName?: AccountEntityStatusEnum;
|
|
23
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {BankAccountExternalAddress} from "./BankAccountExternalAddress";
|
|
2
|
+
import {UserEntityStatusEnum} from "../enums/UserEntityStatusEnum";
|
|
3
|
+
import {SexDocument, TypeOfDocument} from "../../identity";
|
|
4
|
+
import {Country} from "../../country";
|
|
5
|
+
|
|
6
|
+
export class GetBankAccountUserResponse {
|
|
7
|
+
id: string;
|
|
8
|
+
typeOfUserId: string;
|
|
9
|
+
dob: string;
|
|
10
|
+
name: string;
|
|
11
|
+
lastName: string;
|
|
12
|
+
phoneNumber: string;
|
|
13
|
+
email: string;
|
|
14
|
+
address?: BankAccountExternalAddress;
|
|
15
|
+
status: UserEntityStatusEnum;
|
|
16
|
+
sex?: SexDocument;
|
|
17
|
+
documentNumber: string;
|
|
18
|
+
typeOfDocumentId?: TypeOfDocument;
|
|
19
|
+
countryId: Country;
|
|
20
|
+
userAccountIds?: string[];
|
|
21
|
+
createdDate?: string;
|
|
22
|
+
updatedDate?: string;
|
|
23
|
+
deletedDate?: string;
|
|
24
|
+
updatedBy?: string;
|
|
25
|
+
accountIds?: number[];
|
|
26
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {AccountEntityStatusEnum} from "../enums/AccountEntityStatusEnum"
|
|
2
2
|
|
|
3
|
-
export class AccountEntityBase{
|
|
4
|
-
id:string
|
|
5
|
-
directoryId:string
|
|
6
|
-
typeOfDirectoryId:string
|
|
7
|
-
peopleId:string
|
|
8
|
-
currencyId:string
|
|
9
|
-
status:AccountEntityStatusEnum
|
|
10
|
-
tenantId:string
|
|
3
|
+
export class AccountEntityBase {
|
|
4
|
+
id: string
|
|
5
|
+
directoryId: string
|
|
6
|
+
typeOfDirectoryId: string
|
|
7
|
+
peopleId: string
|
|
8
|
+
currencyId: string
|
|
9
|
+
status: AccountEntityStatusEnum
|
|
10
|
+
tenantId: string
|
|
11
11
|
}
|