@fiado/type-kit 1.6.75 → 1.6.76

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.
@@ -21,6 +21,7 @@ export declare class AccountCreateRequest {
21
21
  dob: string;
22
22
  isHost?: boolean;
23
23
  documentInfo?: IdentificationDocument;
24
+ documentNumber?: string;
24
25
  gender: SexDocument;
25
26
  countryId: CountryId;
26
27
  userProfile: Profile;
@@ -99,6 +99,10 @@ __decorate([
99
99
  (0, class_validator_1.IsOptional)(),
100
100
  __metadata("design:type", identity_1.IdentificationDocument)
101
101
  ], AccountCreateRequest.prototype, "documentInfo", void 0);
102
+ __decorate([
103
+ (0, class_validator_1.IsOptional)(),
104
+ __metadata("design:type", String)
105
+ ], AccountCreateRequest.prototype, "documentNumber", void 0);
102
106
  __decorate([
103
107
  (0, class_validator_1.IsOptional)(),
104
108
  (0, class_validator_1.IsEnum)(identity_1.SexDocument),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.6.75",
3
+ "version": "1.6.76",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -74,6 +74,9 @@ export class AccountCreateRequest {
74
74
  @IsOptional()
75
75
  documentInfo?: IdentificationDocument;
76
76
 
77
+ @IsOptional()
78
+ documentNumber?: string;
79
+
77
80
  @IsOptional()
78
81
  @IsEnum(SexDocument)
79
82
  gender: SexDocument;