@fiado/type-kit 1.0.68 → 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/package.json +1 -1
- package/src/account/dtos/AccountCreateRequest.ts +4 -0
|
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/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
|
}
|