@fiado/type-kit 1.2.51 → 1.2.52

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/index.d.ts CHANGED
@@ -29,3 +29,4 @@ export * as BankAccount from './bankAccount';
29
29
  export * as Stp from './stpSpei';
30
30
  export * as BBVARst from './bbvaRst';
31
31
  export * as FraudPreventionEngine from './fraudPreventionEngine';
32
+ export * as RiskProfile from './riskProfile';
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.FraudPreventionEngine = 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.Activity = exports.Account = void 0;
26
+ exports.RiskProfile = exports.FraudPreventionEngine = 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.Activity = exports.Account = void 0;
27
27
  exports.Account = __importStar(require("./account"));
28
28
  exports.Activity = __importStar(require("./activity"));
29
29
  exports.Beneficiary = __importStar(require("./beneficiary"));
@@ -55,3 +55,4 @@ exports.BankAccount = __importStar(require("./bankAccount"));
55
55
  exports.Stp = __importStar(require("./stpSpei"));
56
56
  exports.BBVARst = __importStar(require("./bbvaRst"));
57
57
  exports.FraudPreventionEngine = __importStar(require("./fraudPreventionEngine"));
58
+ exports.RiskProfile = __importStar(require("./riskProfile"));
@@ -0,0 +1,11 @@
1
+ export default class CreateRiskProfileRequest {
2
+ private directoryId;
3
+ private peopleId;
4
+ private sex;
5
+ private dob;
6
+ private countryOfBirth;
7
+ private countryOfResidence;
8
+ private stateOfResidence;
9
+ private activity;
10
+ private pepLevel;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class CreateRiskProfileRequest {
4
+ }
5
+ exports.default = CreateRiskProfileRequest;
@@ -0,0 +1,7 @@
1
+ export declare enum PepLevelEnum {
2
+ NO_PEP = "NO_PEP",
3
+ PEP4 = "PEP4",
4
+ PEP3 = "PEP3",
5
+ PEP2 = "PEP2",
6
+ PEP1 = "PEP1"
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PepLevelEnum = void 0;
4
+ var PepLevelEnum;
5
+ (function (PepLevelEnum) {
6
+ PepLevelEnum["NO_PEP"] = "NO_PEP";
7
+ PepLevelEnum["PEP4"] = "PEP4";
8
+ PepLevelEnum["PEP3"] = "PEP3";
9
+ PepLevelEnum["PEP2"] = "PEP2";
10
+ PepLevelEnum["PEP1"] = "PEP1";
11
+ })(PepLevelEnum || (exports.PepLevelEnum = PepLevelEnum = {}));
@@ -0,0 +1,2 @@
1
+ export * from './dtos/CreateRiskProfileRequest';
2
+ export * from './enums/PepLevelEnum';
@@ -0,0 +1,18 @@
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/CreateRiskProfileRequest"), exports);
18
+ __exportStar(require("./enums/PepLevelEnum"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.2.51",
3
+ "version": "1.2.52",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
package/src/index.ts CHANGED
@@ -29,7 +29,7 @@ export * as BankAccount from './bankAccount';
29
29
  export * as Stp from './stpSpei';
30
30
  export * as BBVARst from './bbvaRst';
31
31
  export * as FraudPreventionEngine from './fraudPreventionEngine';
32
-
32
+ export * as RiskProfile from './riskProfile';
33
33
 
34
34
 
35
35
 
@@ -0,0 +1,14 @@
1
+ import {SexDocument} from "../../identity";
2
+ import {PepLevelEnum} from "../enums/PepLevelEnum";
3
+
4
+ export default class CreateRiskProfileRequest {
5
+ private directoryId!: string;
6
+ private peopleId!: string;
7
+ private sex!: SexDocument;
8
+ private dob!: string;
9
+ private countryOfBirth!: string;
10
+ private countryOfResidence!: string;
11
+ private stateOfResidence!: string;
12
+ private activity!: string;
13
+ private pepLevel!: PepLevelEnum;
14
+ }
@@ -0,0 +1,7 @@
1
+ export enum PepLevelEnum {
2
+ NO_PEP = "NO_PEP",
3
+ PEP4 = "PEP4",
4
+ PEP3 = "PEP3",
5
+ PEP2 = "PEP2",
6
+ PEP1 = "PEP1"
7
+ }
@@ -0,0 +1,3 @@
1
+ export * from './dtos/CreateRiskProfileRequest';
2
+
3
+ export * from './enums/PepLevelEnum';