@fiado/type-kit 1.4.90 → 1.4.91
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/authentication/dtos/ChangePasswordRequest.d.ts +6 -0
- package/bin/authentication/dtos/ChangePasswordRequest.js +32 -0
- package/bin/authentication/dtos/RefreshTokenRequest.d.ts +4 -0
- package/bin/authentication/dtos/RefreshTokenRequest.js +26 -0
- package/bin/authentication/dtos/RespondToAuthChallengeRequest.d.ts +7 -0
- package/bin/authentication/dtos/RespondToAuthChallengeRequest.js +37 -0
- package/bin/authentication/dtos/SignInRequest.d.ts +9 -0
- package/bin/authentication/dtos/SignInRequest.js +47 -0
- package/bin/authentication/dtos/SignUpRequest.d.ts +7 -0
- package/bin/authentication/dtos/SignUpRequest.js +37 -0
- package/bin/authentication/dtos/UserConfirmRequest.d.ts +5 -0
- package/bin/authentication/dtos/UserConfirmRequest.js +27 -0
- package/bin/authentication/index.d.ts +6 -0
- package/bin/authentication/index.js +6 -0
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +3 -0
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +22 -0
- package/bin/riskProfile/dtos/TransactionAlertResponse.d.ts +22 -0
- package/bin/riskProfile/dtos/TransactionAlertResponse.js +6 -0
- package/bin/riskProfile/index.d.ts +1 -0
- package/bin/riskProfile/index.js +1 -0
- package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.d.ts +5 -0
- package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.js +6 -0
- package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.d.ts +7 -0
- package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.js +6 -0
- package/package.json +1 -1
- package/src/authentication/dtos/ChangePasswordRequest.ts +17 -0
- package/src/authentication/dtos/RefreshTokenRequest.ts +13 -0
- package/src/authentication/dtos/RespondToAuthChallengeRequest.ts +25 -0
- package/src/authentication/dtos/SignInRequest.ts +30 -0
- package/src/authentication/dtos/SignUpRequest.ts +22 -0
- package/src/authentication/dtos/UserConfirmRequest.ts +14 -0
- package/src/authentication/index.ts +11 -1
- package/src/riskProfile/dtos/TransactionAlertResponse.ts +43 -0
- package/src/riskProfile/index.ts +5 -0
- package/bin/account/dtos/CreateBankAccountOutput.d.ts +0 -5
- package/bin/account/dtos/CreateBankAccountOutput.js +0 -6
- package/bin/account/dtos/CreateBankAccountUserOutput.d.ts +0 -8
- package/bin/account/dtos/CreateBankAccountUserOutput.js +0 -6
- package/bin/creditContract/dto/CreditContractCreateRequest.d.ts +0 -15
- package/bin/creditContract/dto/CreditContractCreateRequest.js +0 -72
- package/bin/transaction/TransactionCreateRequest.d.ts +0 -2
- package/bin/transaction/TransactionCreateRequest.js +0 -6
- package/bin/transaction/TransactionCreateResponse.d.ts +0 -2
- package/bin/transaction/TransactionCreateResponse.js +0 -6
- package/bin/transaction/dtos/TransactionSourceEnum.d.ts +0 -5
- package/bin/transaction/dtos/TransactionSourceEnum.js +0 -9
|
@@ -0,0 +1,32 @@
|
|
|
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.ChangePasswordRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const directory_1 = require("../../directory");
|
|
15
|
+
class ChangePasswordRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.ChangePasswordRequest = ChangePasswordRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], ChangePasswordRequest.prototype, "username", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], ChangePasswordRequest.prototype, "newPassword", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], ChangePasswordRequest.prototype, "typeOfDirectoryId", void 0);
|
|
@@ -0,0 +1,26 @@
|
|
|
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.RefreshTokenRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class RefreshTokenRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.RefreshTokenRequest = RefreshTokenRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], RefreshTokenRequest.prototype, "refreshToken", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], RefreshTokenRequest.prototype, "typeOfDirectoryId", void 0);
|
|
@@ -0,0 +1,37 @@
|
|
|
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.RespondToAuthChallengeRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const directory_1 = require("../../directory");
|
|
15
|
+
class RespondToAuthChallengeRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.RespondToAuthChallengeRequest = RespondToAuthChallengeRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], RespondToAuthChallengeRequest.prototype, "username", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], RespondToAuthChallengeRequest.prototype, "password", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], RespondToAuthChallengeRequest.prototype, "session", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], RespondToAuthChallengeRequest.prototype, "typeOfDirectoryId", void 0);
|
|
@@ -0,0 +1,47 @@
|
|
|
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.SignInRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const directory_1 = require("../../directory");
|
|
15
|
+
class SignInRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.SignInRequest = SignInRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], SignInRequest.prototype, "userName", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], SignInRequest.prototype, "password", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], SignInRequest.prototype, "typeOfDirectoryId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], SignInRequest.prototype, "status", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], SignInRequest.prototype, "challengeName", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
(0, class_validator_1.IsString)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], SignInRequest.prototype, "session", void 0);
|
|
@@ -0,0 +1,37 @@
|
|
|
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.SignUpRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const directory_1 = require("../../directory");
|
|
15
|
+
class SignUpRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.SignUpRequest = SignUpRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], SignUpRequest.prototype, "phoneNumber", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], SignUpRequest.prototype, "directoryId", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], SignUpRequest.prototype, "password", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsUUID)(),
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], SignUpRequest.prototype, "typeOfDirectoryId", void 0);
|
|
@@ -0,0 +1,27 @@
|
|
|
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.UserConfirmRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const directory_1 = require("../../directory");
|
|
15
|
+
class UserConfirmRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.UserConfirmRequest = UserConfirmRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], UserConfirmRequest.prototype, "username", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsUUID)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], UserConfirmRequest.prototype, "typeOfDirectoryId", void 0);
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
+
export * from './dtos/ChangePasswordRequest';
|
|
2
|
+
export * from './dtos/RefreshTokenRequest';
|
|
3
|
+
export * from './dtos/RespondToAuthChallengeRequest';
|
|
4
|
+
export * from './dtos/SignInRequest';
|
|
1
5
|
export * from './dtos/SignUpAdditionalRequest';
|
|
2
6
|
export * from './dtos/SignUpAdditionalResponse';
|
|
7
|
+
export * from './dtos/SignUpRequest';
|
|
8
|
+
export * from './dtos/UserConfirmRequest';
|
|
@@ -15,5 +15,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
//dtos
|
|
18
|
+
__exportStar(require("./dtos/ChangePasswordRequest"), exports);
|
|
19
|
+
__exportStar(require("./dtos/RefreshTokenRequest"), exports);
|
|
20
|
+
__exportStar(require("./dtos/RespondToAuthChallengeRequest"), exports);
|
|
21
|
+
__exportStar(require("./dtos/SignInRequest"), exports);
|
|
18
22
|
__exportStar(require("./dtos/SignUpAdditionalRequest"), exports);
|
|
19
23
|
__exportStar(require("./dtos/SignUpAdditionalResponse"), exports);
|
|
24
|
+
__exportStar(require("./dtos/SignUpRequest"), exports);
|
|
25
|
+
__exportStar(require("./dtos/UserConfirmRequest"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
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.GroupDirectoryRetationsUpdateRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GroupDirectoryRetationsUpdateRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.GroupDirectoryRetationsUpdateRequest = GroupDirectoryRetationsUpdateRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsOptional)(),
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.Length)(1, 20),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], GroupDirectoryRetationsUpdateRequest.prototype, "agent", void 0);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare class TransactionAlertResponse {
|
|
2
|
+
id: string;
|
|
3
|
+
indexName: string;
|
|
4
|
+
phoneNumber: string;
|
|
5
|
+
type: string;
|
|
6
|
+
status: string;
|
|
7
|
+
notes: string;
|
|
8
|
+
reported: 1 | 0;
|
|
9
|
+
directoryId: string;
|
|
10
|
+
peopleId: string;
|
|
11
|
+
alertName: string;
|
|
12
|
+
transactionDate: string;
|
|
13
|
+
transactionNumber: string;
|
|
14
|
+
revisionEndingDate: string;
|
|
15
|
+
revisionEndingBy: string;
|
|
16
|
+
reportedDate: string;
|
|
17
|
+
reportedBy: string;
|
|
18
|
+
attachmentKeys: string[];
|
|
19
|
+
createdBy: string;
|
|
20
|
+
fileNumber: string;
|
|
21
|
+
transactionAmount: number;
|
|
22
|
+
}
|
|
@@ -6,6 +6,7 @@ export * from './dtos/TransactionAlarmQueueMessage';
|
|
|
6
6
|
export * from './dtos/UpdateTransactionAlertRequest';
|
|
7
7
|
export * from './dtos/CreateBackofficeAlarm';
|
|
8
8
|
export * from './dtos/CreatePrivateAlarm';
|
|
9
|
+
export * from './dtos/TransactionAlertResponse';
|
|
9
10
|
export * from './enums/PepLevelEnum';
|
|
10
11
|
export * from './enums/RiskFactorCategoryEnum';
|
|
11
12
|
export * from './enums/AlarmCategory';
|
package/bin/riskProfile/index.js
CHANGED
|
@@ -22,6 +22,7 @@ __exportStar(require("./dtos/TransactionAlarmQueueMessage"), exports);
|
|
|
22
22
|
__exportStar(require("./dtos/UpdateTransactionAlertRequest"), exports);
|
|
23
23
|
__exportStar(require("./dtos/CreateBackofficeAlarm"), exports);
|
|
24
24
|
__exportStar(require("./dtos/CreatePrivateAlarm"), exports);
|
|
25
|
+
__exportStar(require("./dtos/TransactionAlertResponse"), exports);
|
|
25
26
|
__exportStar(require("./enums/PepLevelEnum"), exports);
|
|
26
27
|
__exportStar(require("./enums/RiskFactorCategoryEnum"), exports);
|
|
27
28
|
__exportStar(require("./enums/AlarmCategory"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IsNotEmpty, IsString } from "class-validator"
|
|
2
|
+
import { TypeOfDirectoryId } from "../../directory"
|
|
3
|
+
|
|
4
|
+
export class ChangePasswordRequest
|
|
5
|
+
{
|
|
6
|
+
@IsNotEmpty()
|
|
7
|
+
@IsString()
|
|
8
|
+
username: string
|
|
9
|
+
|
|
10
|
+
@IsNotEmpty()
|
|
11
|
+
@IsString()
|
|
12
|
+
newPassword: string
|
|
13
|
+
|
|
14
|
+
@IsNotEmpty()
|
|
15
|
+
@IsString()
|
|
16
|
+
typeOfDirectoryId: TypeOfDirectoryId
|
|
17
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IsNotEmpty, IsString } from "class-validator";
|
|
2
|
+
import { TypeOfDirectoryId } from "../../directory";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class RespondToAuthChallengeRequest {
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@IsNotEmpty()
|
|
10
|
+
@IsString()
|
|
11
|
+
username: string
|
|
12
|
+
|
|
13
|
+
@IsNotEmpty()
|
|
14
|
+
@IsString()
|
|
15
|
+
password: string
|
|
16
|
+
|
|
17
|
+
@IsNotEmpty()
|
|
18
|
+
@IsString()
|
|
19
|
+
session: string
|
|
20
|
+
|
|
21
|
+
@IsNotEmpty()
|
|
22
|
+
@IsString()
|
|
23
|
+
typeOfDirectoryId: TypeOfDirectoryId
|
|
24
|
+
|
|
25
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IsNotEmpty, IsOptional, IsString } from "class-validator"
|
|
2
|
+
import { TypeOfDirectoryId } from "../../directory"
|
|
3
|
+
|
|
4
|
+
export class SignInRequest {
|
|
5
|
+
|
|
6
|
+
@IsString()
|
|
7
|
+
@IsNotEmpty()
|
|
8
|
+
userName: string
|
|
9
|
+
|
|
10
|
+
@IsString()
|
|
11
|
+
@IsNotEmpty()
|
|
12
|
+
password: string
|
|
13
|
+
|
|
14
|
+
@IsString()
|
|
15
|
+
@IsNotEmpty()
|
|
16
|
+
typeOfDirectoryId: TypeOfDirectoryId
|
|
17
|
+
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsString()
|
|
20
|
+
status: string
|
|
21
|
+
|
|
22
|
+
@IsOptional()
|
|
23
|
+
@IsString()
|
|
24
|
+
challengeName: string
|
|
25
|
+
|
|
26
|
+
@IsOptional()
|
|
27
|
+
@IsString()
|
|
28
|
+
session: string
|
|
29
|
+
|
|
30
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IsNotEmpty, IsPhoneNumber, IsString, IsUUID } from "class-validator"
|
|
2
|
+
import { TypeOfDirectoryId } from "../../directory"
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SignUpRequest {
|
|
6
|
+
|
|
7
|
+
@IsString()
|
|
8
|
+
@IsNotEmpty()
|
|
9
|
+
phoneNumber: string
|
|
10
|
+
|
|
11
|
+
@IsNotEmpty()
|
|
12
|
+
@IsString()
|
|
13
|
+
directoryId: string
|
|
14
|
+
|
|
15
|
+
@IsString()
|
|
16
|
+
@IsNotEmpty()
|
|
17
|
+
password: string
|
|
18
|
+
|
|
19
|
+
@IsUUID()
|
|
20
|
+
@IsNotEmpty()
|
|
21
|
+
typeOfDirectoryId: TypeOfDirectoryId
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IsNotEmpty, IsString, IsUUID } from "class-validator"
|
|
2
|
+
import { TypeOfDirectoryId } from "../../directory"
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UserConfirmRequest {
|
|
6
|
+
|
|
7
|
+
@IsString()
|
|
8
|
+
@IsNotEmpty()
|
|
9
|
+
username: string
|
|
10
|
+
|
|
11
|
+
@IsUUID()
|
|
12
|
+
@IsNotEmpty()
|
|
13
|
+
typeOfDirectoryId: TypeOfDirectoryId
|
|
14
|
+
}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
//dtos
|
|
3
|
+
export * from './dtos/ChangePasswordRequest';
|
|
4
|
+
export * from './dtos/RefreshTokenRequest';
|
|
5
|
+
export * from './dtos/RespondToAuthChallengeRequest';
|
|
6
|
+
export * from './dtos/SignInRequest';
|
|
7
|
+
|
|
3
8
|
export * from './dtos/SignUpAdditionalRequest';
|
|
4
|
-
export * from './dtos/SignUpAdditionalResponse';
|
|
9
|
+
export * from './dtos/SignUpAdditionalResponse';
|
|
10
|
+
export * from './dtos/SignUpRequest';
|
|
11
|
+
export * from './dtos/UserConfirmRequest';
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export class TransactionAlertResponse {
|
|
2
|
+
|
|
3
|
+
id!: string;
|
|
4
|
+
|
|
5
|
+
indexName!: string;
|
|
6
|
+
|
|
7
|
+
phoneNumber!: string;
|
|
8
|
+
|
|
9
|
+
type!: string;
|
|
10
|
+
|
|
11
|
+
status!: string;
|
|
12
|
+
|
|
13
|
+
notes!: string;
|
|
14
|
+
|
|
15
|
+
reported!: 1 | 0;
|
|
16
|
+
|
|
17
|
+
directoryId!: string;
|
|
18
|
+
|
|
19
|
+
peopleId!: string;
|
|
20
|
+
|
|
21
|
+
alertName!: string;
|
|
22
|
+
|
|
23
|
+
transactionDate!: string;
|
|
24
|
+
|
|
25
|
+
transactionNumber!: string;
|
|
26
|
+
|
|
27
|
+
revisionEndingDate!: string;
|
|
28
|
+
|
|
29
|
+
revisionEndingBy!: string;
|
|
30
|
+
|
|
31
|
+
reportedDate!: string;
|
|
32
|
+
|
|
33
|
+
reportedBy!: string;
|
|
34
|
+
|
|
35
|
+
attachmentKeys!: string[];
|
|
36
|
+
|
|
37
|
+
createdBy!: string;
|
|
38
|
+
|
|
39
|
+
fileNumber!: string;
|
|
40
|
+
|
|
41
|
+
transactionAmount!: number;
|
|
42
|
+
}
|
|
43
|
+
|
package/src/riskProfile/index.ts
CHANGED
|
@@ -6,7 +6,12 @@ export * from './dtos/TransactionAlarmQueueMessage';
|
|
|
6
6
|
export * from './dtos/UpdateTransactionAlertRequest';
|
|
7
7
|
export * from './dtos/CreateBackofficeAlarm';
|
|
8
8
|
export * from './dtos/CreatePrivateAlarm';
|
|
9
|
+
export * from './dtos/TransactionAlertResponse';
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
9
13
|
export * from './enums/PepLevelEnum';
|
|
10
14
|
export * from './enums/RiskFactorCategoryEnum';
|
|
11
15
|
export * from './enums/AlarmCategory';
|
|
12
16
|
export * from './enums/AlarmOperationType';
|
|
17
|
+
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CountryId } from "../../country";
|
|
2
|
-
import { InstrumentEnum } from "../enums/InstrumentEnum";
|
|
3
|
-
export default class CreditContractCreateRequest {
|
|
4
|
-
directoryUserId: string;
|
|
5
|
-
relatedTransaction: string;
|
|
6
|
-
peopleId: string;
|
|
7
|
-
currencyId: CountryId;
|
|
8
|
-
creditNotional: number;
|
|
9
|
-
creditFee: number;
|
|
10
|
-
creditTax: number;
|
|
11
|
-
creditTotal: number;
|
|
12
|
-
instrument: InstrumentEnum;
|
|
13
|
-
amountBlocked: number;
|
|
14
|
-
relatedPocketId: string;
|
|
15
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
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
|
-
const class_validator_1 = require("class-validator");
|
|
13
|
-
const country_1 = require("../../country");
|
|
14
|
-
const InstrumentEnum_1 = require("../enums/InstrumentEnum");
|
|
15
|
-
class CreditContractCreateRequest {
|
|
16
|
-
}
|
|
17
|
-
exports.default = CreditContractCreateRequest;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], CreditContractCreateRequest.prototype, "directoryUserId", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, class_validator_1.IsString)(),
|
|
25
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], CreditContractCreateRequest.prototype, "relatedTransaction", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_validator_1.IsString)(),
|
|
30
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], CreditContractCreateRequest.prototype, "peopleId", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, class_validator_1.IsEnum)(country_1.CountryId),
|
|
35
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], CreditContractCreateRequest.prototype, "currencyId", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsNumber)(),
|
|
40
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
41
|
-
__metadata("design:type", Number)
|
|
42
|
-
], CreditContractCreateRequest.prototype, "creditNotional", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, class_validator_1.IsNumber)(),
|
|
45
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
46
|
-
__metadata("design:type", Number)
|
|
47
|
-
], CreditContractCreateRequest.prototype, "creditFee", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, class_validator_1.IsNumber)(),
|
|
50
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
51
|
-
__metadata("design:type", Number)
|
|
52
|
-
], CreditContractCreateRequest.prototype, "creditTax", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, class_validator_1.IsNumber)(),
|
|
55
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
56
|
-
__metadata("design:type", Number)
|
|
57
|
-
], CreditContractCreateRequest.prototype, "creditTotal", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, class_validator_1.IsEnum)(InstrumentEnum_1.InstrumentEnum),
|
|
60
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
61
|
-
__metadata("design:type", String)
|
|
62
|
-
], CreditContractCreateRequest.prototype, "instrument", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, class_validator_1.IsNumber)(),
|
|
65
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
66
|
-
__metadata("design:type", Number)
|
|
67
|
-
], CreditContractCreateRequest.prototype, "amountBlocked", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, class_validator_1.IsString)(),
|
|
70
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
71
|
-
__metadata("design:type", String)
|
|
72
|
-
], CreditContractCreateRequest.prototype, "relatedPocketId", void 0);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TransactionSourceEnum = void 0;
|
|
4
|
-
var TransactionSourceEnum;
|
|
5
|
-
(function (TransactionSourceEnum) {
|
|
6
|
-
TransactionSourceEnum["FIADO_INC"] = "FIADO_INC";
|
|
7
|
-
TransactionSourceEnum["FIADO_IFPE"] = "FIADO_IFPE";
|
|
8
|
-
TransactionSourceEnum["FIADO_SA"] = "FIADO_SA";
|
|
9
|
-
})(TransactionSourceEnum || (exports.TransactionSourceEnum = TransactionSourceEnum = {}));
|