@fiado/type-kit 1.0.81 → 1.0.84
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/account/dtos/AccountCreateRequest.d.ts +2 -0
- package/bin/account/dtos/AccountCreateRequest.js +5 -0
- package/bin/account/dtos/GetBankAccountSensitiveInformationRequest.d.ts +1 -1
- package/bin/account/dtos/GetBankAccountSensitiveInformationRequest.js +3 -3
- package/bin/account/dtos/GetBankAccountSensitiveInformationResponse.d.ts +1 -1
- package/bin/account/dtos/GetBankAccountSensitiveInformationResponse.js +3 -3
- package/bin/account/enums/AccountLevelEnum.d.ts +6 -0
- package/bin/account/enums/AccountLevelEnum.js +10 -0
- package/bin/account/index.d.ts +1 -0
- package/bin/account/index.js +1 -0
- package/package.json +1 -1
- package/src/account/dtos/AccountCreateRequest.ts +4 -0
- package/src/account/dtos/GetBankAccountSensitiveInformationRequest.ts +1 -1
- package/src/account/dtos/GetBankAccountSensitiveInformationResponse.ts +1 -1
- package/src/account/enums/AccountLevelEnum.ts +6 -0
- package/src/account/index.ts +1 -0
|
@@ -2,10 +2,12 @@ import { AddressResponse } from "../../address";
|
|
|
2
2
|
import { CountryId } from "../../country";
|
|
3
3
|
import { SexDocument } from '../../identity';
|
|
4
4
|
import { Profile } from "../../directory/enums/Profile";
|
|
5
|
+
import { AccountLevelEnum } from "../enums/AccountLevelEnum";
|
|
5
6
|
export declare class AccountCreateRequest {
|
|
6
7
|
directoryId: string;
|
|
7
8
|
ownerDirectoryId: string;
|
|
8
9
|
peopleId: string;
|
|
10
|
+
accountLevel: AccountLevelEnum;
|
|
9
11
|
typeOfDirectoryId: string;
|
|
10
12
|
firstName: string;
|
|
11
13
|
lastName: string;
|
|
@@ -18,6 +18,7 @@ const directory_1 = require("../../directory");
|
|
|
18
18
|
const IsPhoneNumberConstraint_1 = require("../../card/validations/IsPhoneNumberConstraint");
|
|
19
19
|
const identity_1 = require("../../identity");
|
|
20
20
|
const Profile_1 = require("../../directory/enums/Profile");
|
|
21
|
+
const AccountLevelEnum_1 = require("../enums/AccountLevelEnum");
|
|
21
22
|
class AccountCreateRequest {
|
|
22
23
|
}
|
|
23
24
|
exports.AccountCreateRequest = AccountCreateRequest;
|
|
@@ -42,6 +43,10 @@ __decorate([
|
|
|
42
43
|
}),
|
|
43
44
|
__metadata("design:type", String)
|
|
44
45
|
], AccountCreateRequest.prototype, "peopleId", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsEnum)(AccountLevelEnum_1.AccountLevelEnum),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], AccountCreateRequest.prototype, "accountLevel", void 0);
|
|
45
50
|
__decorate([
|
|
46
51
|
(0, class_validator_1.IsEnum)(directory_1.TypeOfDirectoryId),
|
|
47
52
|
__metadata("design:type", String)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
class
|
|
3
|
+
exports.GetBankAccountSensitiveInformationRequest = void 0;
|
|
4
|
+
class GetBankAccountSensitiveInformationRequest {
|
|
5
5
|
}
|
|
6
|
-
exports.
|
|
6
|
+
exports.GetBankAccountSensitiveInformationRequest = GetBankAccountSensitiveInformationRequest;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
class
|
|
3
|
+
exports.GetBankAccountSensitiveInformationResponse = void 0;
|
|
4
|
+
class GetBankAccountSensitiveInformationResponse {
|
|
5
5
|
}
|
|
6
|
-
exports.
|
|
6
|
+
exports.GetBankAccountSensitiveInformationResponse = GetBankAccountSensitiveInformationResponse;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccountLevelEnum = void 0;
|
|
4
|
+
var AccountLevelEnum;
|
|
5
|
+
(function (AccountLevelEnum) {
|
|
6
|
+
AccountLevelEnum["LEVEL_1"] = "1";
|
|
7
|
+
AccountLevelEnum["LEVEL_2"] = "2";
|
|
8
|
+
AccountLevelEnum["LEVEL_3"] = "3";
|
|
9
|
+
AccountLevelEnum["LEVEL_4"] = "4";
|
|
10
|
+
})(AccountLevelEnum || (exports.AccountLevelEnum = AccountLevelEnum = {}));
|
package/bin/account/index.d.ts
CHANGED
package/bin/account/index.js
CHANGED
|
@@ -36,3 +36,4 @@ __exportStar(require("./entities/AccountEntityBase"), exports);
|
|
|
36
36
|
__exportStar(require("./enums/AccountEntityStatusEnum"), exports);
|
|
37
37
|
__exportStar(require("./enums/BankAccountTypeEnum"), exports);
|
|
38
38
|
__exportStar(require("./enums/UserEntityStatusEnum"), exports);
|
|
39
|
+
__exportStar(require("./enums/AccountLevelEnum"), exports);
|
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@ import { TypeOfDirectoryId } from '../../directory';
|
|
|
6
6
|
import { IsPhoneNumberFiado } from '../../card/validations/IsPhoneNumberConstraint';
|
|
7
7
|
import { SexDocument } from '../../identity';
|
|
8
8
|
import { Profile } from "../../directory/enums/Profile";
|
|
9
|
+
import {AccountLevelEnum} from "../enums/AccountLevelEnum";
|
|
9
10
|
|
|
10
11
|
export class AccountCreateRequest {
|
|
11
12
|
|
|
@@ -31,6 +32,9 @@ export class AccountCreateRequest {
|
|
|
31
32
|
})
|
|
32
33
|
peopleId: string;
|
|
33
34
|
|
|
35
|
+
@IsEnum(AccountLevelEnum)
|
|
36
|
+
accountLevel: AccountLevelEnum;
|
|
37
|
+
|
|
34
38
|
@IsEnum(TypeOfDirectoryId)
|
|
35
39
|
typeOfDirectoryId: string;
|
|
36
40
|
|
package/src/account/index.ts
CHANGED