@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.
- package/bin/bbvaRst/dtos/CreateRSTTransactionRequest.d.ts +13 -0
- package/bin/bbvaRst/dtos/CreateRSTTransactionRequest.js +6 -0
- package/bin/bbvaRst/dtos/CreateRSTTransactionResponse.d.ts +9 -0
- package/bin/bbvaRst/dtos/CreateRSTTransactionResponse.js +6 -0
- package/bin/bbvaRst/enums/RSTStatusEnum.d.ts +5 -0
- package/bin/bbvaRst/enums/RSTStatusEnum.js +9 -0
- package/bin/bbvaRst/index.d.ts +3 -0
- package/bin/bbvaRst/index.js +19 -0
- package/bin/index.d.ts +1 -0
- package/bin/index.js +2 -1
- package/bin/transaction/dtos/Product.js +0 -2
- package/package.json +1 -1
- package/src/bbvaRst/dtos/CreateRSTTransactionRequest.ts +14 -0
- package/src/bbvaRst/dtos/CreateRSTTransactionResponse.ts +10 -0
- package/src/bbvaRst/enums/RSTStatusEnum.ts +5 -0
- package/src/bbvaRst/index.ts +3 -0
- package/src/index.ts +1 -0
- package/src/transaction/dtos/Product.ts +0 -2
|
@@ -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,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,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
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
|
@@ -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
|
+
}
|
package/src/index.ts
CHANGED