@fiado/type-kit 2.0.57 → 2.0.59

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.
@@ -1,4 +1,4 @@
1
- export interface SpeiAcuseCepRequest {
1
+ export declare class SpeiAcuseCepRequest {
2
2
  /** RFC con el que se confirmó la orden ante Banxico */
3
3
  rfcCep: string;
4
4
  /** URL firmada de Banxico con el CEP (/cep/go?...), aplica cuando hay CEP */
@@ -1,2 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpeiAcuseCepRequest = void 0;
4
+ class SpeiAcuseCepRequest {
5
+ }
6
+ exports.SpeiAcuseCepRequest = SpeiAcuseCepRequest;
@@ -10,4 +10,5 @@ export declare class AuthorizeSpeiMexBankTransferInRequest {
10
10
  concept: string;
11
11
  amount: number;
12
12
  otp: string;
13
+ reference?: string;
13
14
  }
@@ -60,3 +60,8 @@ __decorate([
60
60
  (0, class_validator_1.IsOptional)(),
61
61
  __metadata("design:type", String)
62
62
  ], AuthorizeSpeiMexBankTransferInRequest.prototype, "otp", void 0);
63
+ __decorate([
64
+ (0, class_validator_1.IsString)(),
65
+ (0, class_validator_1.IsOptional)(),
66
+ __metadata("design:type", String)
67
+ ], AuthorizeSpeiMexBankTransferInRequest.prototype, "reference", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "2.0.57",
3
+ "version": "2.0.59",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- export interface SpeiAcuseCepRequest {
3
+ export class SpeiAcuseCepRequest {
4
4
  /** RFC con el que se confirmó la orden ante Banxico */
5
5
  rfcCep: string;
6
6
 
@@ -35,4 +35,8 @@ export class AuthorizeSpeiMexBankTransferInRequest {
35
35
  @IsString()
36
36
  @IsOptional()
37
37
  otp: string;
38
+
39
+ @IsString()
40
+ @IsOptional()
41
+ reference?: string;
38
42
  }