@fiado/type-kit 1.5.4 → 1.5.5

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.
@@ -7,6 +7,7 @@ export declare class AuthorizeSpeiBankTransferNcRequest {
7
7
  targetName: string;
8
8
  amount: number;
9
9
  concept: string;
10
+ otp: string;
10
11
  directoryId?: string;
11
12
  peopleId?: string;
12
13
  }
@@ -9,4 +9,5 @@ export declare class AuthorizeSpeiMexBankTransferInRequest {
9
9
  trackingNumber: string;
10
10
  concept: string;
11
11
  amount: number;
12
+ otp: string;
12
13
  }
@@ -55,3 +55,8 @@ __decorate([
55
55
  (0, class_validator_1.IsNumber)(),
56
56
  __metadata("design:type", Number)
57
57
  ], AuthorizeSpeiMexBankTransferInRequest.prototype, "amount", void 0);
58
+ __decorate([
59
+ (0, class_validator_1.IsString)(),
60
+ (0, class_validator_1.IsOptional)(),
61
+ __metadata("design:type", String)
62
+ ], AuthorizeSpeiMexBankTransferInRequest.prototype, "otp", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.5.4",
3
+ "version": "1.5.5",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -7,6 +7,7 @@ export class AuthorizeSpeiBankTransferNcRequest {
7
7
  targetName: string;
8
8
  amount: number;
9
9
  concept: string;
10
+ otp: string;
10
11
 
11
12
  // PARA BACKOFFICE
12
13
  directoryId?: string;
@@ -31,4 +31,8 @@ export class AuthorizeSpeiMexBankTransferInRequest {
31
31
 
32
32
  @IsNumber()
33
33
  amount: number;
34
+
35
+ @IsString()
36
+ @IsOptional()
37
+ otp: string;
34
38
  }