@fiado/type-kit 1.6.0 → 1.6.2
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/helpdesk/dtos/CreateHelpdeskUser.d.ts +13 -0
- package/bin/helpdesk/dtos/CreateHelpdeskUser.js +43 -0
- package/bin/helpdesk/index.d.ts +1 -0
- package/bin/helpdesk/index.js +17 -0
- package/bin/index.d.ts +1 -0
- package/bin/index.js +2 -1
- package/bin/legal-documents-business/dtos/LegalDocumentCreateRequest.d.ts +0 -1
- package/bin/legal-documents-business/dtos/LegalDocumentCreateRequest.js +0 -4
- package/bin/riskProfile/enums/AlarmName.d.ts +15 -0
- package/bin/riskProfile/enums/AlarmName.js +19 -0
- package/bin/riskProfile/enums/AlarmType.d.ts +5 -0
- package/bin/riskProfile/enums/AlarmType.js +9 -0
- package/bin/riskProfile/index.d.ts +2 -0
- package/bin/riskProfile/index.js +2 -0
- package/package.json +1 -1
- package/src/helpdesk/dtos/CreateHelpdeskUser.ts +28 -0
- package/src/helpdesk/index.ts +1 -0
- package/src/index.ts +1 -0
- package/src/legal-documents-business/dtos/LegalDocumentCreateRequest.ts +0 -2
- package/src/riskProfile/enums/AlarmName.ts +19 -0
- package/src/riskProfile/enums/AlarmType.ts +7 -0
- package/src/riskProfile/index.ts +2 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TypeOfContactIdEnum } from "../../contactInfo";
|
|
2
|
+
export declare class CreateHelpdeskUser {
|
|
3
|
+
directoryId: string;
|
|
4
|
+
indexName: string;
|
|
5
|
+
usaDebitAccount: boolean;
|
|
6
|
+
mxnDebitAccount: boolean;
|
|
7
|
+
otherContacts: {
|
|
8
|
+
contact: string;
|
|
9
|
+
typeOfContactId: TypeOfContactIdEnum;
|
|
10
|
+
}[];
|
|
11
|
+
directoryStatus: string;
|
|
12
|
+
bankSponsor: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateHelpdeskUser = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CreateHelpdeskUser {
|
|
15
|
+
}
|
|
16
|
+
exports.CreateHelpdeskUser = CreateHelpdeskUser;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CreateHelpdeskUser.prototype, "directoryId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CreateHelpdeskUser.prototype, "indexName", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsBoolean)(),
|
|
29
|
+
__metadata("design:type", Boolean)
|
|
30
|
+
], CreateHelpdeskUser.prototype, "usaDebitAccount", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsBoolean)(),
|
|
33
|
+
__metadata("design:type", Boolean)
|
|
34
|
+
], CreateHelpdeskUser.prototype, "mxnDebitAccount", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CreateHelpdeskUser.prototype, "directoryStatus", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsString)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreateHelpdeskUser.prototype, "bankSponsor", void 0);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dtos/CreateHelpdeskUser';
|
|
@@ -0,0 +1,17 @@
|
|
|
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/CreateHelpdeskUser"), 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.FiadoApiResponse = exports.Auth = exports.LegalDocumentsBusiness = exports.Role = exports.STPAccount = 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;
|
|
26
|
+
exports.Helpdesk = exports.FiadoApiResponse = exports.Auth = exports.LegalDocumentsBusiness = exports.Role = exports.STPAccount = 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"));
|
|
@@ -61,3 +61,4 @@ exports.Role = __importStar(require("./role"));
|
|
|
61
61
|
exports.LegalDocumentsBusiness = __importStar(require("./legal-documents-business"));
|
|
62
62
|
exports.Auth = __importStar(require("./auth"));
|
|
63
63
|
exports.FiadoApiResponse = __importStar(require("./apiResponse"));
|
|
64
|
+
exports.Helpdesk = __importStar(require("./helpdesk"));
|
|
@@ -18,10 +18,6 @@ __decorate([
|
|
|
18
18
|
(0, class_validator_1.IsString)(),
|
|
19
19
|
__metadata("design:type", String)
|
|
20
20
|
], LegalDocumentCreateRequest.prototype, "type", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsString)(),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], LegalDocumentCreateRequest.prototype, "version", void 0);
|
|
25
21
|
__decorate([
|
|
26
22
|
(0, class_validator_1.IsString)(),
|
|
27
23
|
__metadata("design:type", String)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare enum AlarmName {
|
|
2
|
+
INPUT_SOURCE = "INPUT_SOURCE",
|
|
3
|
+
INACTIVITY = "INACTIVITY",
|
|
4
|
+
CUSTOM_HIGH_AMOUNT = "CUSTOM_HIGH_AMOUNT",
|
|
5
|
+
CUSTOM_MONTHLY_INCREASE = "CUSTOM_MONTHLY_INCREASE",
|
|
6
|
+
MONTHLY_LIMIT = "MONTHLY_LIMIT",
|
|
7
|
+
HIGH_AMOUNT = "HIGH_AMOUNT",
|
|
8
|
+
MONTHLY_INCREASE = "MONTHLY_INCREASE",
|
|
9
|
+
SANCTIONED_LIST = "SANCTIONED_LIST",
|
|
10
|
+
PEP_LIST = "PEP_LIST",
|
|
11
|
+
BLOCKED_LIST = "BLOCKED_LIST",
|
|
12
|
+
PROFILE_UPDATE_SANCTIONED = "PROFILE_UPDATE_SANCTIONED",
|
|
13
|
+
PROFILE_UPDATE_PEP = "PROFILE_UPDATE_PEP",
|
|
14
|
+
PROFILE_UPDATE_BLOCKED = "PROFILE_UPDATE_BLOCKED"
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AlarmName = void 0;
|
|
4
|
+
var AlarmName;
|
|
5
|
+
(function (AlarmName) {
|
|
6
|
+
AlarmName["INPUT_SOURCE"] = "INPUT_SOURCE";
|
|
7
|
+
AlarmName["INACTIVITY"] = "INACTIVITY";
|
|
8
|
+
AlarmName["CUSTOM_HIGH_AMOUNT"] = "CUSTOM_HIGH_AMOUNT";
|
|
9
|
+
AlarmName["CUSTOM_MONTHLY_INCREASE"] = "CUSTOM_MONTHLY_INCREASE";
|
|
10
|
+
AlarmName["MONTHLY_LIMIT"] = "MONTHLY_LIMIT";
|
|
11
|
+
AlarmName["HIGH_AMOUNT"] = "HIGH_AMOUNT";
|
|
12
|
+
AlarmName["MONTHLY_INCREASE"] = "MONTHLY_INCREASE";
|
|
13
|
+
AlarmName["SANCTIONED_LIST"] = "SANCTIONED_LIST";
|
|
14
|
+
AlarmName["PEP_LIST"] = "PEP_LIST";
|
|
15
|
+
AlarmName["BLOCKED_LIST"] = "BLOCKED_LIST";
|
|
16
|
+
AlarmName["PROFILE_UPDATE_SANCTIONED"] = "PROFILE_UPDATE_SANCTIONED";
|
|
17
|
+
AlarmName["PROFILE_UPDATE_PEP"] = "PROFILE_UPDATE_PEP";
|
|
18
|
+
AlarmName["PROFILE_UPDATE_BLOCKED"] = "PROFILE_UPDATE_BLOCKED";
|
|
19
|
+
})(AlarmName || (exports.AlarmName = AlarmName = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AlarmType = void 0;
|
|
4
|
+
var AlarmType;
|
|
5
|
+
(function (AlarmType) {
|
|
6
|
+
AlarmType["UNUSUAL"] = "UNUSUAL";
|
|
7
|
+
AlarmType["PEP"] = "PEP";
|
|
8
|
+
AlarmType["CUSTOM"] = "CUSTOM";
|
|
9
|
+
})(AlarmType || (exports.AlarmType = AlarmType = {}));
|
package/bin/riskProfile/index.js
CHANGED
|
@@ -28,3 +28,5 @@ __exportStar(require("./enums/RiskFactorCategoryEnum"), exports);
|
|
|
28
28
|
__exportStar(require("./enums/AlarmCategory"), exports);
|
|
29
29
|
__exportStar(require("./enums/AlarmOperationType"), exports);
|
|
30
30
|
__exportStar(require("./enums/AlarmPriority"), exports);
|
|
31
|
+
__exportStar(require("./enums/AlarmType"), exports);
|
|
32
|
+
__exportStar(require("./enums/AlarmName"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IsBoolean, IsNotEmpty, IsString } from "class-validator";
|
|
2
|
+
import { TypeOfContactIdEnum } from "../../contactInfo";
|
|
3
|
+
|
|
4
|
+
export class CreateHelpdeskUser {
|
|
5
|
+
|
|
6
|
+
@IsNotEmpty()
|
|
7
|
+
@IsString()
|
|
8
|
+
directoryId: string;
|
|
9
|
+
|
|
10
|
+
@IsNotEmpty()
|
|
11
|
+
@IsString()
|
|
12
|
+
indexName: string;
|
|
13
|
+
|
|
14
|
+
@IsBoolean()
|
|
15
|
+
usaDebitAccount: boolean;
|
|
16
|
+
|
|
17
|
+
@IsBoolean()
|
|
18
|
+
mxnDebitAccount: boolean;
|
|
19
|
+
|
|
20
|
+
otherContacts: {contact:string, typeOfContactId:TypeOfContactIdEnum}[];
|
|
21
|
+
|
|
22
|
+
@IsString()
|
|
23
|
+
@IsNotEmpty()
|
|
24
|
+
directoryStatus: string;
|
|
25
|
+
|
|
26
|
+
@IsString()
|
|
27
|
+
bankSponsor: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dtos/CreateHelpdeskUser';
|
package/src/index.ts
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export enum AlarmName {
|
|
4
|
+
INPUT_SOURCE = "INPUT_SOURCE",
|
|
5
|
+
INACTIVITY = "INACTIVITY",
|
|
6
|
+
CUSTOM_HIGH_AMOUNT = "CUSTOM_HIGH_AMOUNT",
|
|
7
|
+
CUSTOM_MONTHLY_INCREASE = "CUSTOM_MONTHLY_INCREASE",
|
|
8
|
+
MONTHLY_LIMIT = "MONTHLY_LIMIT",
|
|
9
|
+
HIGH_AMOUNT = "HIGH_AMOUNT",
|
|
10
|
+
MONTHLY_INCREASE = "MONTHLY_INCREASE",
|
|
11
|
+
|
|
12
|
+
SANCTIONED_LIST = "SANCTIONED_LIST",
|
|
13
|
+
PEP_LIST = "PEP_LIST",
|
|
14
|
+
BLOCKED_LIST = "BLOCKED_LIST",
|
|
15
|
+
PROFILE_UPDATE_SANCTIONED = "PROFILE_UPDATE_SANCTIONED",
|
|
16
|
+
PROFILE_UPDATE_PEP = "PROFILE_UPDATE_PEP",
|
|
17
|
+
PROFILE_UPDATE_BLOCKED = "PROFILE_UPDATE_BLOCKED",
|
|
18
|
+
}
|
|
19
|
+
|
package/src/riskProfile/index.ts
CHANGED