@fiado/type-kit 1.1.99 → 1.2.1

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.
@@ -0,0 +1,13 @@
1
+ import { CountryId } from "../../country";
2
+ import { TypeOfDirectoryId } from "../../directory";
3
+ export declare class CreateRSTTransactionRequest {
4
+ directoryId: string;
5
+ typeOfDirectoryId: TypeOfDirectoryId;
6
+ amount: number;
7
+ currencyId: CountryId;
8
+ name: string;
9
+ lastName: string;
10
+ phoneNumber: string;
11
+ documentNumber: string;
12
+ dob: string;
13
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateRSTTransactionRequest = void 0;
4
+ class CreateRSTTransactionRequest {
5
+ }
6
+ exports.CreateRSTTransactionRequest = CreateRSTTransactionRequest;
@@ -0,0 +1,9 @@
1
+ import { RSTStatusEnum } from "../enums/RSTStatusEnum";
2
+ export declare class CreateRSTTransactionResponse {
3
+ transaction: string;
4
+ status: RSTStatusEnum;
5
+ transactionId: string;
6
+ date: string;
7
+ responseProvider: any;
8
+ provider: string;
9
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateRSTTransactionResponse = void 0;
4
+ class CreateRSTTransactionResponse {
5
+ }
6
+ exports.CreateRSTTransactionResponse = CreateRSTTransactionResponse;
@@ -0,0 +1,5 @@
1
+ export declare enum RSTStatusEnum {
2
+ IN_PROCESS = "IN_PROCESS",
3
+ COMPLETED = "COMPLETED",
4
+ CANCELLED = "CANCELLED"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RSTStatusEnum = void 0;
4
+ var RSTStatusEnum;
5
+ (function (RSTStatusEnum) {
6
+ RSTStatusEnum["IN_PROCESS"] = "IN_PROCESS";
7
+ RSTStatusEnum["COMPLETED"] = "COMPLETED";
8
+ RSTStatusEnum["CANCELLED"] = "CANCELLED";
9
+ })(RSTStatusEnum || (exports.RSTStatusEnum = RSTStatusEnum = {}));
@@ -0,0 +1,3 @@
1
+ export * from './dtos/CreateRSTTransactionRequest';
2
+ export * from './dtos/CreateRSTTransactionResponse';
3
+ export * from './enums/RSTStatusEnum';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dtos/CreateRSTTransactionRequest"), exports);
18
+ __exportStar(require("./dtos/CreateRSTTransactionResponse"), exports);
19
+ __exportStar(require("./enums/RSTStatusEnum"), exports);
package/bin/index.d.ts CHANGED
@@ -26,3 +26,4 @@ export * as CreditContract from './creditContract';
26
26
  export * as P2pContact from './p2pContact';
27
27
  export * as BankAccount from './bankAccount';
28
28
  export * as Stp from './stpSpei';
29
+ export * as BBVARst from './bbvaRst';
package/bin/index.js CHANGED
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.Stp = exports.BankAccount = exports.P2pContact = exports.CreditContract = exports.Contract = exports.ProductCatalog = exports.ContactInfo = exports.Transaction = exports.TransactionProcessor = exports.GenericMessage = exports.EventBridgeMessage = exports.SessionActivity = exports.NotificationMessages = exports.ServicePayment = exports.Header = exports.Identity = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.App = exports.Address = exports.Beneficiary = exports.Account = void 0;
26
+ exports.BBVARst = exports.Stp = exports.BankAccount = exports.P2pContact = exports.CreditContract = exports.Contract = exports.ProductCatalog = exports.ContactInfo = exports.Transaction = exports.TransactionProcessor = exports.GenericMessage = exports.EventBridgeMessage = exports.SessionActivity = exports.NotificationMessages = exports.ServicePayment = exports.Header = exports.Identity = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.App = exports.Address = exports.Beneficiary = exports.Account = void 0;
27
27
  exports.Account = __importStar(require("./account"));
28
28
  exports.Beneficiary = __importStar(require("./beneficiary"));
29
29
  exports.Address = __importStar(require("./address"));
@@ -52,3 +52,4 @@ exports.CreditContract = __importStar(require("./creditContract"));
52
52
  exports.P2pContact = __importStar(require("./p2pContact"));
53
53
  exports.BankAccount = __importStar(require("./bankAccount"));
54
54
  exports.Stp = __importStar(require("./stpSpei"));
55
+ exports.BBVARst = __importStar(require("./bbvaRst"));
@@ -26,12 +26,10 @@ __decorate([
26
26
  __metadata("design:type", String)
27
27
  ], Product.prototype, "description", void 0);
28
28
  __decorate([
29
- (0, class_validator_1.IsNotEmpty)(),
30
29
  (0, class_validator_1.IsString)(),
31
30
  __metadata("design:type", String)
32
31
  ], Product.prototype, "sourceDisplayName", void 0);
33
32
  __decorate([
34
- (0, class_validator_1.IsEmpty)(),
35
33
  (0, class_validator_1.IsString)(),
36
34
  __metadata("design:type", String)
37
35
  ], Product.prototype, "targetDisplayName", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.1.99",
3
+ "version": "1.2.1",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -0,0 +1,14 @@
1
+ import {CountryId} from "../../country";
2
+ import {TypeOfDirectoryId} from "../../directory";
3
+
4
+ export class CreateRSTTransactionRequest {
5
+ directoryId: string;
6
+ typeOfDirectoryId: TypeOfDirectoryId;
7
+ amount: number;
8
+ currencyId: CountryId;
9
+ name: string;
10
+ lastName: string;
11
+ phoneNumber: string;
12
+ documentNumber: string;
13
+ dob: string;
14
+ }
@@ -0,0 +1,10 @@
1
+ import {RSTStatusEnum} from "../enums/RSTStatusEnum";
2
+
3
+ export class CreateRSTTransactionResponse {
4
+ transaction: string;
5
+ status: RSTStatusEnum;
6
+ transactionId: string;
7
+ date: string;
8
+ responseProvider: any;
9
+ provider: string;
10
+ }
@@ -0,0 +1,5 @@
1
+ export enum RSTStatusEnum {
2
+ IN_PROCESS = "IN_PROCESS",
3
+ COMPLETED = "COMPLETED",
4
+ CANCELLED = "CANCELLED",
5
+ }
@@ -0,0 +1,3 @@
1
+ export * from './dtos/CreateRSTTransactionRequest';
2
+ export * from './dtos/CreateRSTTransactionResponse';
3
+ export * from './enums/RSTStatusEnum';
package/src/index.ts CHANGED
@@ -26,6 +26,7 @@ export * as CreditContract from './creditContract';
26
26
  export * as P2pContact from './p2pContact';
27
27
  export * as BankAccount from './bankAccount';
28
28
  export * as Stp from './stpSpei';
29
+ export * as BBVARst from './bbvaRst';
29
30
 
30
31
 
31
32
 
@@ -11,11 +11,9 @@ export class Product {
11
11
  @IsString()
12
12
  description: string;
13
13
 
14
- @IsNotEmpty()
15
14
  @IsString()
16
15
  sourceDisplayName: string;
17
16
 
18
- @IsEmpty()
19
17
  @IsString()
20
18
  targetDisplayName: string;
21
19