@fiado/type-kit 1.6.76 → 1.6.77

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.
@@ -22,6 +22,7 @@ export declare class AccountCreateRequest {
22
22
  isHost?: boolean;
23
23
  documentInfo?: IdentificationDocument;
24
24
  documentNumber?: string;
25
+ documentType?: string;
25
26
  gender: SexDocument;
26
27
  countryId: CountryId;
27
28
  userProfile: Profile;
@@ -103,6 +103,10 @@ __decorate([
103
103
  (0, class_validator_1.IsOptional)(),
104
104
  __metadata("design:type", String)
105
105
  ], AccountCreateRequest.prototype, "documentNumber", void 0);
106
+ __decorate([
107
+ (0, class_validator_1.IsOptional)(),
108
+ __metadata("design:type", String)
109
+ ], AccountCreateRequest.prototype, "documentType", void 0);
106
110
  __decorate([
107
111
  (0, class_validator_1.IsOptional)(),
108
112
  (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.76",
3
+ "version": "1.6.77",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -77,6 +77,9 @@ export class AccountCreateRequest {
77
77
  @IsOptional()
78
78
  documentNumber?: string;
79
79
 
80
+ @IsOptional()
81
+ documentType?: string;
82
+
80
83
  @IsOptional()
81
84
  @IsEnum(SexDocument)
82
85
  gender: SexDocument;