@fiado/type-kit 1.4.95 → 1.4.98
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/account/dtos/CreateBankAccountOutput.d.ts +5 -0
- package/bin/account/dtos/CreateBankAccountOutput.js +6 -0
- package/bin/account/dtos/CreateBankAccountUserOutput.d.ts +8 -0
- package/bin/account/dtos/CreateBankAccountUserOutput.js +6 -0
- package/bin/auth/dtos/ChallengeBackofficeRequest.d.ts +6 -0
- package/bin/auth/dtos/ChallengeBackofficeRequest.js +36 -0
- package/bin/auth/dtos/ResetPasswordBackofficeRequest.d.ts +3 -0
- package/bin/{group/dtos/GroupDirectoryRetationsUpdateRequest.js → auth/dtos/ResetPasswordBackofficeRequest.js} +5 -6
- package/bin/auth/dtos/SignInBackofficeRequest.d.ts +4 -0
- package/bin/auth/dtos/SignInBackofficeRequest.js +26 -0
- package/bin/auth/dtos/SignInBackofficeResponse.d.ts +6 -0
- package/bin/auth/dtos/SignInBackofficeResponse.js +6 -0
- package/bin/auth/dtos/SignUpBackofficeRequest.d.ts +5 -0
- package/bin/auth/dtos/SignUpBackofficeRequest.js +30 -0
- package/bin/auth/index.d.ts +5 -0
- package/bin/auth/index.js +22 -0
- package/bin/creditContract/dto/CreditContractCreateRequest.d.ts +15 -0
- package/bin/creditContract/dto/CreditContractCreateRequest.js +72 -0
- package/bin/directory/dtos/DirectoryBackoffice.d.ts +15 -0
- package/bin/directory/dtos/DirectoryBackoffice.js +6 -0
- package/bin/directory/dtos/DirectoryBackofficeCreateRequest.d.ts +6 -0
- package/bin/directory/dtos/DirectoryBackofficeCreateRequest.js +35 -0
- package/bin/directory/dtos/DirectoryBackofficeResponse.d.ts +16 -0
- package/bin/directory/dtos/DirectoryBackofficeResponse.js +6 -0
- package/bin/directory/dtos/DirectoryBackofficeUpdateRequest.d.ts +9 -0
- package/bin/directory/dtos/DirectoryBackofficeUpdateRequest.js +49 -0
- package/bin/directory/enums/DirectoryBackofficeStatusEnum.d.ts +4 -0
- package/bin/directory/enums/DirectoryBackofficeStatusEnum.js +8 -0
- package/bin/directory/index.d.ts +5 -0
- package/bin/directory/index.js +5 -0
- package/bin/index.d.ts +1 -0
- package/bin/index.js +2 -1
- package/bin/role/index.d.ts +0 -2
- package/bin/role/index.js +0 -3
- package/bin/transaction/TransactionCreateRequest.d.ts +2 -0
- package/bin/transaction/TransactionCreateRequest.js +6 -0
- package/bin/transaction/TransactionCreateResponse.d.ts +2 -0
- package/bin/transaction/TransactionCreateResponse.js +6 -0
- package/bin/transaction/dtos/TransactionSourceEnum.d.ts +5 -0
- package/bin/transaction/dtos/TransactionSourceEnum.js +9 -0
- package/package.json +1 -1
- package/src/auth/dtos/ChallengeBackofficeRequest.ts +22 -0
- package/src/auth/dtos/ResetPasswordBackofficeRequest.ts +9 -0
- package/src/auth/dtos/SignInBackofficeRequest.ts +13 -0
- package/src/auth/dtos/SignInBackofficeResponse.ts +6 -0
- package/src/auth/dtos/SignUpBackofficeRequest.ts +18 -0
- package/src/auth/index.ts +7 -0
- package/src/directory/dtos/DirectoryBackofficeCreateRequest.ts +22 -0
- package/src/directory/dtos/DirectoryBackofficeResponse.ts +18 -0
- package/src/directory/dtos/DirectoryBackofficeUpdateRequest.ts +34 -0
- package/src/directory/index.ts +7 -1
- package/src/index.ts +1 -0
- package/src/role/index.ts +1 -5
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +0 -3
- package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.d.ts +0 -5
- package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.js +0 -6
- package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.d.ts +0 -7
- package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.js +0 -6
- /package/src/{role → directory}/dtos/DirectoryBackoffice.ts +0 -0
- /package/src/{role → directory}/enums/DirectoryBackofficeStatusEnum.ts +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
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.ChallengeBackofficeRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class ChallengeBackofficeRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.ChallengeBackofficeRequest = ChallengeBackofficeRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], ChallengeBackofficeRequest.prototype, "challengeName", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], ChallengeBackofficeRequest.prototype, "session", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], ChallengeBackofficeRequest.prototype, "username", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ChallengeBackofficeRequest.prototype, "password", void 0);
|
|
@@ -9,14 +9,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.ResetPasswordBackofficeRequest = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class ResetPasswordBackofficeRequest {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.ResetPasswordBackofficeRequest = ResetPasswordBackofficeRequest;
|
|
17
17
|
__decorate([
|
|
18
|
-
(0, class_validator_1.IsOptional)(),
|
|
19
18
|
(0, class_validator_1.IsString)(),
|
|
20
|
-
(0, class_validator_1.
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
20
|
__metadata("design:type", String)
|
|
22
|
-
],
|
|
21
|
+
], ResetPasswordBackofficeRequest.prototype, "username", 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.SignInBackofficeRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class SignInBackofficeRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.SignInBackofficeRequest = SignInBackofficeRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SignInBackofficeRequest.prototype, "username", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], SignInBackofficeRequest.prototype, "password", void 0);
|
|
@@ -0,0 +1,30 @@
|
|
|
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.SignUpBackofficeRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class SignUpBackofficeRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.SignUpBackofficeRequest = SignUpBackofficeRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SignUpBackofficeRequest.prototype, "fullName", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], SignUpBackofficeRequest.prototype, "jobTitle", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], SignUpBackofficeRequest.prototype, "email", void 0);
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
//dtos
|
|
18
|
+
__exportStar(require("./dtos/ChallengeBackofficeRequest"), exports);
|
|
19
|
+
__exportStar(require("./dtos/ResetPasswordBackofficeRequest"), exports);
|
|
20
|
+
__exportStar(require("./dtos/SignInBackofficeRequest"), exports);
|
|
21
|
+
__exportStar(require("./dtos/SignInBackofficeResponse"), exports);
|
|
22
|
+
__exportStar(require("./dtos/SignUpBackofficeRequest"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DirectoryBackofficeStatusEnum } from "../enums/DirectoryBackofficeStatusEnum";
|
|
2
|
+
export declare class DirectoryBackoffice {
|
|
3
|
+
id: string;
|
|
4
|
+
fullName: string;
|
|
5
|
+
jobTitle: string;
|
|
6
|
+
identityId: string;
|
|
7
|
+
failedLoginAttempts: number;
|
|
8
|
+
lastSession: number;
|
|
9
|
+
status: DirectoryBackofficeStatusEnum;
|
|
10
|
+
tenantId: string;
|
|
11
|
+
createdAt: number;
|
|
12
|
+
createdby: string;
|
|
13
|
+
updatedAt: number;
|
|
14
|
+
updatedBy: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.DirectoryBackofficeCreateRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class DirectoryBackofficeCreateRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.DirectoryBackofficeCreateRequest = DirectoryBackofficeCreateRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], DirectoryBackofficeCreateRequest.prototype, "fullName", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], DirectoryBackofficeCreateRequest.prototype, "jobTitle", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], DirectoryBackofficeCreateRequest.prototype, "email", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsString)(),
|
|
33
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], DirectoryBackofficeCreateRequest.prototype, "createdby", void 0);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DirectoryBackofficeStatusEnum } from "../enums/DirectoryBackofficeStatusEnum";
|
|
2
|
+
export declare class DirectoryBackofficeResponse {
|
|
3
|
+
id: string;
|
|
4
|
+
email: string;
|
|
5
|
+
fullName: string;
|
|
6
|
+
jobTitle: string;
|
|
7
|
+
identityId: string;
|
|
8
|
+
failedLoginAttempts: number;
|
|
9
|
+
lastSession: number;
|
|
10
|
+
status: DirectoryBackofficeStatusEnum;
|
|
11
|
+
tenantId: string;
|
|
12
|
+
createdAt: number;
|
|
13
|
+
createdby: string;
|
|
14
|
+
updatedAt: number;
|
|
15
|
+
updatedBy: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DirectoryBackofficeStatusEnum } from '../enums/DirectoryBackofficeStatusEnum';
|
|
2
|
+
export declare class DirectoryBackofficeUpdateRequest {
|
|
3
|
+
fullName: string;
|
|
4
|
+
jobTitle: string;
|
|
5
|
+
email: string;
|
|
6
|
+
status: DirectoryBackofficeStatusEnum;
|
|
7
|
+
identityId: string;
|
|
8
|
+
updatedBy: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.DirectoryBackofficeUpdateRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const DirectoryBackofficeStatusEnum_1 = require("../enums/DirectoryBackofficeStatusEnum");
|
|
15
|
+
class DirectoryBackofficeUpdateRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.DirectoryBackofficeUpdateRequest = DirectoryBackofficeUpdateRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], DirectoryBackofficeUpdateRequest.prototype, "fullName", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], DirectoryBackofficeUpdateRequest.prototype, "jobTitle", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], DirectoryBackofficeUpdateRequest.prototype, "email", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsEnum)(DirectoryBackofficeStatusEnum_1.DirectoryBackofficeStatusEnum),
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], DirectoryBackofficeUpdateRequest.prototype, "status", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsString)(),
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], DirectoryBackofficeUpdateRequest.prototype, "identityId", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], DirectoryBackofficeUpdateRequest.prototype, "updatedBy", void 0);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DirectoryBackofficeStatusEnum = void 0;
|
|
4
|
+
var DirectoryBackofficeStatusEnum;
|
|
5
|
+
(function (DirectoryBackofficeStatusEnum) {
|
|
6
|
+
DirectoryBackofficeStatusEnum["ACTIVE"] = "ACTIVE";
|
|
7
|
+
DirectoryBackofficeStatusEnum["INACTIVE"] = "INACTIVE";
|
|
8
|
+
})(DirectoryBackofficeStatusEnum || (exports.DirectoryBackofficeStatusEnum = DirectoryBackofficeStatusEnum = {}));
|
package/bin/directory/index.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
export * from './dtos/DirectoryResponse';
|
|
2
|
+
export * from './dtos/DirectoryBackoffice';
|
|
3
|
+
export * from './dtos/DirectoryBackofficeCreateRequest';
|
|
4
|
+
export * from './dtos/DirectoryBackofficeResponse';
|
|
5
|
+
export * from './dtos/DirectoryBackofficeUpdateRequest';
|
|
2
6
|
export * from './dtos/External';
|
|
3
7
|
export * from './enums/TypeOfDirectoryId';
|
|
8
|
+
export * from './enums/DirectoryBackofficeStatusEnum';
|
package/bin/directory/index.js
CHANGED
|
@@ -16,6 +16,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
//dtos
|
|
18
18
|
__exportStar(require("./dtos/DirectoryResponse"), exports);
|
|
19
|
+
__exportStar(require("./dtos/DirectoryBackoffice"), exports);
|
|
20
|
+
__exportStar(require("./dtos/DirectoryBackofficeCreateRequest"), exports);
|
|
21
|
+
__exportStar(require("./dtos/DirectoryBackofficeResponse"), exports);
|
|
22
|
+
__exportStar(require("./dtos/DirectoryBackofficeUpdateRequest"), exports);
|
|
19
23
|
__exportStar(require("./dtos/External"), exports);
|
|
20
24
|
//enums
|
|
21
25
|
__exportStar(require("./enums/TypeOfDirectoryId"), exports);
|
|
26
|
+
__exportStar(require("./enums/DirectoryBackofficeStatusEnum"), 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.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.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"));
|
|
@@ -59,3 +59,4 @@ exports.RiskProfile = __importStar(require("./riskProfile"));
|
|
|
59
59
|
exports.STPAccount = __importStar(require("./stpAccount"));
|
|
60
60
|
exports.Role = __importStar(require("./role"));
|
|
61
61
|
exports.LegalDocumentsBusiness = __importStar(require("./legal-documents-business"));
|
|
62
|
+
exports.Auth = __importStar(require("./auth"));
|
package/bin/role/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './dtos/DirectoryBackoffice';
|
|
2
1
|
export * from './dtos/PermissionCreateRequest';
|
|
3
2
|
export * from './dtos/PermissionResponse';
|
|
4
3
|
export * from './dtos/PermissionUpdateRequest';
|
|
@@ -7,4 +6,3 @@ export * from './dtos/RoleCreateRequest';
|
|
|
7
6
|
export * from './dtos/RoleResponse';
|
|
8
7
|
export * from './dtos/RoleUpdateRequest';
|
|
9
8
|
export * from './dtos/UserRoleResponse';
|
|
10
|
-
export * from './enums/DirectoryBackofficeStatusEnum';
|
package/bin/role/index.js
CHANGED
|
@@ -15,7 +15,6 @@ 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/DirectoryBackoffice"), exports);
|
|
19
18
|
__exportStar(require("./dtos/PermissionCreateRequest"), exports);
|
|
20
19
|
__exportStar(require("./dtos/PermissionResponse"), exports);
|
|
21
20
|
__exportStar(require("./dtos/PermissionUpdateRequest"), exports);
|
|
@@ -24,5 +23,3 @@ __exportStar(require("./dtos/RoleCreateRequest"), exports);
|
|
|
24
23
|
__exportStar(require("./dtos/RoleResponse"), exports);
|
|
25
24
|
__exportStar(require("./dtos/RoleUpdateRequest"), exports);
|
|
26
25
|
__exportStar(require("./dtos/UserRoleResponse"), exports);
|
|
27
|
-
//enums
|
|
28
|
-
__exportStar(require("./enums/DirectoryBackofficeStatusEnum"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
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 = {}));
|
package/package.json
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { IsNotEmpty, IsOptional, IsString } from 'class-validator';
|
|
4
|
+
|
|
5
|
+
export class ChallengeBackofficeRequest {
|
|
6
|
+
|
|
7
|
+
@IsString()
|
|
8
|
+
@IsOptional()
|
|
9
|
+
challengeName: string;
|
|
10
|
+
|
|
11
|
+
@IsString()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
session: string;
|
|
14
|
+
|
|
15
|
+
@IsString()
|
|
16
|
+
@IsNotEmpty()
|
|
17
|
+
username: string;
|
|
18
|
+
|
|
19
|
+
@IsString()
|
|
20
|
+
@IsNotEmpty()
|
|
21
|
+
password: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { IsNotEmpty, IsString } from 'class-validator';
|
|
4
|
+
|
|
5
|
+
export class SignUpBackofficeRequest {
|
|
6
|
+
|
|
7
|
+
@IsString()
|
|
8
|
+
@IsNotEmpty()
|
|
9
|
+
fullName: string;
|
|
10
|
+
|
|
11
|
+
@IsString()
|
|
12
|
+
jobTitle: string;
|
|
13
|
+
|
|
14
|
+
@IsString()
|
|
15
|
+
@IsNotEmpty()
|
|
16
|
+
email: string;
|
|
17
|
+
|
|
18
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
//dtos
|
|
3
|
+
export * from './dtos/ChallengeBackofficeRequest';
|
|
4
|
+
export * from './dtos/ResetPasswordBackofficeRequest';
|
|
5
|
+
export * from './dtos/SignInBackofficeRequest';
|
|
6
|
+
export * from './dtos/SignInBackofficeResponse';
|
|
7
|
+
export * from './dtos/SignUpBackofficeRequest';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { IsNotEmpty, IsString } from 'class-validator';
|
|
4
|
+
|
|
5
|
+
export class DirectoryBackofficeCreateRequest {
|
|
6
|
+
|
|
7
|
+
@IsString()
|
|
8
|
+
@IsNotEmpty()
|
|
9
|
+
fullName: string;
|
|
10
|
+
|
|
11
|
+
@IsString()
|
|
12
|
+
jobTitle: string;
|
|
13
|
+
|
|
14
|
+
@IsString()
|
|
15
|
+
@IsNotEmpty()
|
|
16
|
+
email: string;
|
|
17
|
+
|
|
18
|
+
@IsString()
|
|
19
|
+
@IsNotEmpty()
|
|
20
|
+
createdby: string;
|
|
21
|
+
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
import { DirectoryBackofficeStatusEnum } from "../enums/DirectoryBackofficeStatusEnum"
|
|
3
|
+
|
|
4
|
+
export class DirectoryBackofficeResponse {
|
|
5
|
+
id:string
|
|
6
|
+
email:string
|
|
7
|
+
fullName:string
|
|
8
|
+
jobTitle:string
|
|
9
|
+
identityId:string
|
|
10
|
+
failedLoginAttempts:number
|
|
11
|
+
lastSession:number
|
|
12
|
+
status:DirectoryBackofficeStatusEnum
|
|
13
|
+
tenantId:string
|
|
14
|
+
createdAt:number
|
|
15
|
+
createdby:string
|
|
16
|
+
updatedAt:number
|
|
17
|
+
updatedBy:string
|
|
18
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { IsEnum, IsNotEmpty, IsOptional, IsString } from 'class-validator';
|
|
4
|
+
import { DirectoryBackofficeStatusEnum } from '../enums/DirectoryBackofficeStatusEnum';
|
|
5
|
+
|
|
6
|
+
export class DirectoryBackofficeUpdateRequest {
|
|
7
|
+
|
|
8
|
+
@IsString()
|
|
9
|
+
@IsOptional()
|
|
10
|
+
@IsNotEmpty()
|
|
11
|
+
fullName: string;
|
|
12
|
+
|
|
13
|
+
@IsString()
|
|
14
|
+
@IsOptional()
|
|
15
|
+
jobTitle: string;
|
|
16
|
+
|
|
17
|
+
@IsString()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsNotEmpty()
|
|
20
|
+
email: string;
|
|
21
|
+
|
|
22
|
+
@IsEnum(DirectoryBackofficeStatusEnum)
|
|
23
|
+
@IsOptional()
|
|
24
|
+
status: DirectoryBackofficeStatusEnum;
|
|
25
|
+
|
|
26
|
+
@IsString()
|
|
27
|
+
@IsOptional()
|
|
28
|
+
identityId: string;
|
|
29
|
+
|
|
30
|
+
@IsString()
|
|
31
|
+
@IsNotEmpty()
|
|
32
|
+
updatedBy: string;
|
|
33
|
+
|
|
34
|
+
}
|
package/src/directory/index.ts
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
//dtos
|
|
3
3
|
export * from './dtos/DirectoryResponse';
|
|
4
|
+
export * from './dtos/DirectoryBackoffice';
|
|
5
|
+
export * from './dtos/DirectoryBackofficeCreateRequest';
|
|
6
|
+
export * from './dtos/DirectoryBackofficeResponse';
|
|
7
|
+
export * from './dtos/DirectoryBackofficeUpdateRequest';
|
|
8
|
+
|
|
4
9
|
export * from './dtos/External';
|
|
5
10
|
|
|
6
11
|
|
|
7
12
|
//enums
|
|
8
|
-
export * from './enums/TypeOfDirectoryId';
|
|
13
|
+
export * from './enums/TypeOfDirectoryId';
|
|
14
|
+
export * from './enums/DirectoryBackofficeStatusEnum';
|
package/src/index.ts
CHANGED
package/src/role/index.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
//dtos
|
|
3
|
-
export * from './dtos/DirectoryBackoffice';
|
|
4
3
|
export * from './dtos/PermissionCreateRequest';
|
|
5
4
|
export * from './dtos/PermissionResponse';
|
|
6
5
|
export * from './dtos/PermissionUpdateRequest';
|
|
@@ -8,7 +7,4 @@ export * from './dtos/RoleAssignRequest';
|
|
|
8
7
|
export * from './dtos/RoleCreateRequest';
|
|
9
8
|
export * from './dtos/RoleResponse';
|
|
10
9
|
export * from './dtos/RoleUpdateRequest';
|
|
11
|
-
export * from './dtos/UserRoleResponse';
|
|
12
|
-
|
|
13
|
-
//enums
|
|
14
|
-
export * from './enums/DirectoryBackofficeStatusEnum';
|
|
10
|
+
export * from './dtos/UserRoleResponse';
|
|
File without changes
|
|
File without changes
|