@fiado/type-kit 1.0.67 → 1.0.69
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/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
- package/.idea/sonarlint/issuestore/index.pb +3 -1
- package/.idea/sonarlint/securityhotspotstore/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
- package/.idea/sonarlint/securityhotspotstore/index.pb +3 -1
- package/bin/account/dtos/AccountCreateRequest.d.ts +2 -0
- package/bin/account/dtos/AccountCreateRequest.js +5 -0
- package/bin/account/index.d.ts +9 -2
- package/bin/account/index.js +9 -2
- package/package.json +1 -1
- package/src/account/dtos/AccountCreateRequest.ts +4 -0
- package/src/account/index.ts +11 -6
|
File without changes
|
|
@@ -58,4 +58,6 @@ Z
|
|
|
58
58
|
\
|
|
59
59
|
,src/account/enums/AccountEntityStatusEnum.ts,6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4
|
|
60
60
|
Y
|
|
61
|
-
)src/account/enums/UserEntityStatusEnum.ts,5/8/5815363aa7c189fe1d8a995d750c3a3f27900621
|
|
61
|
+
)src/account/enums/UserEntityStatusEnum.ts,5/8/5815363aa7c189fe1d8a995d750c3a3f27900621
|
|
62
|
+
N
|
|
63
|
+
src/directory/enums/Profile.ts,6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1
|
|
File without changes
|
|
@@ -58,4 +58,6 @@ Z
|
|
|
58
58
|
\
|
|
59
59
|
,src/account/enums/AccountEntityStatusEnum.ts,6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4
|
|
60
60
|
Y
|
|
61
|
-
)src/account/enums/UserEntityStatusEnum.ts,5/8/5815363aa7c189fe1d8a995d750c3a3f27900621
|
|
61
|
+
)src/account/enums/UserEntityStatusEnum.ts,5/8/5815363aa7c189fe1d8a995d750c3a3f27900621
|
|
62
|
+
N
|
|
63
|
+
src/directory/enums/Profile.ts,6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AddressResponse } from "../../address";
|
|
2
2
|
import { Country } from "../../country";
|
|
3
3
|
import { SexDocument } from '../../identity';
|
|
4
|
+
import { Profile } from "../../directory/enums/Profile";
|
|
4
5
|
export declare class AccountCreateRequest {
|
|
5
6
|
directoryId: string;
|
|
6
7
|
typeOfDirectoryId: string;
|
|
@@ -16,4 +17,5 @@ export declare class AccountCreateRequest {
|
|
|
16
17
|
externalClientId: string;
|
|
17
18
|
externalUserId: string;
|
|
18
19
|
countryId: Country;
|
|
20
|
+
userProfile: Profile;
|
|
19
21
|
}
|
|
@@ -17,6 +17,7 @@ const regex_1 = require("../../helpers/constans/regex");
|
|
|
17
17
|
const directory_1 = require("../../directory");
|
|
18
18
|
const IsPhoneNumberConstraint_1 = require("../../card/validations/IsPhoneNumberConstraint");
|
|
19
19
|
const identity_1 = require("../../identity");
|
|
20
|
+
const Profile_1 = require("../../directory/enums/Profile");
|
|
20
21
|
class AccountCreateRequest {
|
|
21
22
|
}
|
|
22
23
|
exports.AccountCreateRequest = AccountCreateRequest;
|
|
@@ -81,3 +82,7 @@ __decorate([
|
|
|
81
82
|
(0, class_validator_1.IsEnum)(country_1.Country),
|
|
82
83
|
__metadata("design:type", String)
|
|
83
84
|
], AccountCreateRequest.prototype, "countryId", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, class_validator_1.IsEnum)(Profile_1.Profile),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], AccountCreateRequest.prototype, "userProfile", void 0);
|
package/bin/account/index.d.ts
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
export * from './dtos/AccountCreateRequest';
|
|
2
|
-
export * from './dtos/CreateBankAccountRequest';
|
|
3
|
-
export * from './dtos/CreateBankAccountUserRequest';
|
|
4
2
|
export * from './dtos/AccountCreateResponse';
|
|
3
|
+
export * from './dtos/BankAccountExternalAddress';
|
|
4
|
+
export * from './dtos/CreateBankAccountRequest';
|
|
5
5
|
export * from './dtos/CreateBankAccountResponse';
|
|
6
|
+
export * from './dtos/CreateBankAccountUserRequest';
|
|
6
7
|
export * from './dtos/CreateBankAccountUserResponse';
|
|
8
|
+
export * from './dtos/GetBankAccountRequest';
|
|
9
|
+
export * from './dtos/GetBankAccountResponse';
|
|
10
|
+
export * from './dtos/GetBankAccountUserRequest';
|
|
11
|
+
export * from './dtos/GetBankAccountUserResponse';
|
|
7
12
|
export * from './entities/AccountEntityBase';
|
|
13
|
+
export * from './enums/AccountEntityStatusEnum';
|
|
8
14
|
export * from './enums/BankAccountTypeEnum';
|
|
15
|
+
export * from './enums/UserEntityStatusEnum';
|
package/bin/account/index.js
CHANGED
|
@@ -16,12 +16,19 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
//dtos
|
|
18
18
|
__exportStar(require("./dtos/AccountCreateRequest"), exports);
|
|
19
|
-
__exportStar(require("./dtos/CreateBankAccountRequest"), exports);
|
|
20
|
-
__exportStar(require("./dtos/CreateBankAccountUserRequest"), exports);
|
|
21
19
|
__exportStar(require("./dtos/AccountCreateResponse"), exports);
|
|
20
|
+
__exportStar(require("./dtos/BankAccountExternalAddress"), exports);
|
|
21
|
+
__exportStar(require("./dtos/CreateBankAccountRequest"), exports);
|
|
22
22
|
__exportStar(require("./dtos/CreateBankAccountResponse"), exports);
|
|
23
|
+
__exportStar(require("./dtos/CreateBankAccountUserRequest"), exports);
|
|
23
24
|
__exportStar(require("./dtos/CreateBankAccountUserResponse"), exports);
|
|
25
|
+
__exportStar(require("./dtos/GetBankAccountRequest"), exports);
|
|
26
|
+
__exportStar(require("./dtos/GetBankAccountResponse"), exports);
|
|
27
|
+
__exportStar(require("./dtos/GetBankAccountUserRequest"), exports);
|
|
28
|
+
__exportStar(require("./dtos/GetBankAccountUserResponse"), exports);
|
|
24
29
|
//Entities
|
|
25
30
|
__exportStar(require("./entities/AccountEntityBase"), exports);
|
|
26
31
|
//Enums
|
|
32
|
+
__exportStar(require("./enums/AccountEntityStatusEnum"), exports);
|
|
27
33
|
__exportStar(require("./enums/BankAccountTypeEnum"), exports);
|
|
34
|
+
__exportStar(require("./enums/UserEntityStatusEnum"), exports);
|
package/package.json
CHANGED
|
@@ -5,6 +5,7 @@ import {regexUuidV4} from '../../helpers/constans/regex';
|
|
|
5
5
|
import {TypeOfDirectoryId} from '../../directory';
|
|
6
6
|
import {IsPhoneNumberFiado} from '../../card/validations/IsPhoneNumberConstraint';
|
|
7
7
|
import {SexDocument} from '../../identity';
|
|
8
|
+
import {Profile} from "../../directory/enums/Profile";
|
|
8
9
|
|
|
9
10
|
export class AccountCreateRequest {
|
|
10
11
|
|
|
@@ -55,4 +56,7 @@ export class AccountCreateRequest {
|
|
|
55
56
|
|
|
56
57
|
@IsEnum(Country)
|
|
57
58
|
countryId: Country;
|
|
59
|
+
|
|
60
|
+
@IsEnum(Profile)
|
|
61
|
+
userProfile: Profile;
|
|
58
62
|
}
|
package/src/account/index.ts
CHANGED
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
//dtos
|
|
2
2
|
export * from './dtos/AccountCreateRequest';
|
|
3
|
-
export * from './dtos/CreateBankAccountRequest';
|
|
4
|
-
export * from './dtos/CreateBankAccountUserRequest';
|
|
5
3
|
export * from './dtos/AccountCreateResponse';
|
|
4
|
+
|
|
5
|
+
export * from './dtos/BankAccountExternalAddress';
|
|
6
|
+
|
|
7
|
+
export * from './dtos/CreateBankAccountRequest';
|
|
6
8
|
export * from './dtos/CreateBankAccountResponse';
|
|
9
|
+
export * from './dtos/CreateBankAccountUserRequest';
|
|
7
10
|
export * from './dtos/CreateBankAccountUserResponse';
|
|
8
|
-
|
|
11
|
+
export * from './dtos/GetBankAccountRequest';
|
|
12
|
+
export * from './dtos/GetBankAccountResponse';
|
|
13
|
+
export * from './dtos/GetBankAccountUserRequest';
|
|
14
|
+
export * from './dtos/GetBankAccountUserResponse';
|
|
9
15
|
|
|
10
16
|
//Entities
|
|
11
17
|
export * from './entities/AccountEntityBase';
|
|
12
18
|
|
|
13
|
-
|
|
14
|
-
|
|
15
19
|
//Enums
|
|
20
|
+
export * from './enums/AccountEntityStatusEnum';
|
|
16
21
|
export * from './enums/BankAccountTypeEnum';
|
|
17
|
-
|
|
22
|
+
export * from './enums/UserEntityStatusEnum';
|