@fiado/type-kit 1.4.85 → 1.4.87
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/creditContract/dto/CreditContractCreateRequest.d.ts +15 -0
- package/bin/creditContract/dto/CreditContractCreateRequest.js +72 -0
- package/bin/riskProfile/dtos/CreateBackofficeAlarm.d.ts +5 -0
- package/bin/{group/dtos/GroupDirectoryRetationsUpdateRequest.js → riskProfile/dtos/CreateBackofficeAlarm.js} +15 -6
- package/bin/riskProfile/dtos/CreatePrivateAlarm.d.ts +13 -0
- package/bin/riskProfile/dtos/CreatePrivateAlarm.js +58 -0
- package/bin/riskProfile/index.d.ts +2 -0
- package/bin/riskProfile/index.js +2 -0
- 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/riskProfile/dtos/CreateBackofficeAlarm.ts +15 -0
- package/src/riskProfile/dtos/CreatePrivateAlarm.ts +36 -0
- package/src/riskProfile/index.ts +2 -2
- 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
|
@@ -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);
|
|
@@ -9,14 +9,23 @@ 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.CreateBackofficeAlarm = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class CreateBackofficeAlarm {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.CreateBackofficeAlarm = CreateBackofficeAlarm;
|
|
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
|
+
], CreateBackofficeAlarm.prototype, "alertName", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CreateBackofficeAlarm.prototype, "notes", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateBackofficeAlarm.prototype, "phoneNumber", void 0);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AlarmOperationType } from "../enums/AlarmOperationType";
|
|
2
|
+
export declare class CreatePrivateAlarm {
|
|
3
|
+
indexName: string;
|
|
4
|
+
phoneNumber: string;
|
|
5
|
+
type: string;
|
|
6
|
+
status: AlarmOperationType;
|
|
7
|
+
notes: string;
|
|
8
|
+
directoryId: string;
|
|
9
|
+
peopleId: string;
|
|
10
|
+
alertName: string;
|
|
11
|
+
transactionNumber: string;
|
|
12
|
+
transactionDate: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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.CreatePrivateAlarm = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const AlarmOperationType_1 = require("../enums/AlarmOperationType");
|
|
15
|
+
class CreatePrivateAlarm {
|
|
16
|
+
}
|
|
17
|
+
exports.CreatePrivateAlarm = CreatePrivateAlarm;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CreatePrivateAlarm.prototype, "indexName", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], CreatePrivateAlarm.prototype, "phoneNumber", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CreatePrivateAlarm.prototype, "type", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsEnum)(AlarmOperationType_1.AlarmOperationType),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], CreatePrivateAlarm.prototype, "status", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CreatePrivateAlarm.prototype, "notes", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], CreatePrivateAlarm.prototype, "directoryId", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], CreatePrivateAlarm.prototype, "peopleId", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsString)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], CreatePrivateAlarm.prototype, "alertName", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsString)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], CreatePrivateAlarm.prototype, "transactionNumber", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_validator_1.IsString)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], CreatePrivateAlarm.prototype, "transactionDate", void 0);
|
|
@@ -4,6 +4,8 @@ export * from './dtos/UpdateRiskProfileRequest';
|
|
|
4
4
|
export * from './dtos/UpdateAlarmProfileRequest';
|
|
5
5
|
export * from './dtos/TransactionAlarmQueueMessage';
|
|
6
6
|
export * from './dtos/UpdateTransactionAlertRequest';
|
|
7
|
+
export * from './dtos/CreateBackofficeAlarm';
|
|
8
|
+
export * from './dtos/CreatePrivateAlarm';
|
|
7
9
|
export * from './enums/PepLevelEnum';
|
|
8
10
|
export * from './enums/RiskFactorCategoryEnum';
|
|
9
11
|
export * from './enums/AlarmCategory';
|
package/bin/riskProfile/index.js
CHANGED
|
@@ -20,6 +20,8 @@ __exportStar(require("./dtos/UpdateRiskProfileRequest"), exports);
|
|
|
20
20
|
__exportStar(require("./dtos/UpdateAlarmProfileRequest"), exports);
|
|
21
21
|
__exportStar(require("./dtos/TransactionAlarmQueueMessage"), exports);
|
|
22
22
|
__exportStar(require("./dtos/UpdateTransactionAlertRequest"), exports);
|
|
23
|
+
__exportStar(require("./dtos/CreateBackofficeAlarm"), exports);
|
|
24
|
+
__exportStar(require("./dtos/CreatePrivateAlarm"), exports);
|
|
23
25
|
__exportStar(require("./enums/PepLevelEnum"), exports);
|
|
24
26
|
__exportStar(require("./enums/RiskFactorCategoryEnum"), exports);
|
|
25
27
|
__exportStar(require("./enums/AlarmCategory"), 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,15 @@
|
|
|
1
|
+
import { IsNotEmpty, IsString} from "class-validator";
|
|
2
|
+
|
|
3
|
+
export class CreateBackofficeAlarm {
|
|
4
|
+
@IsString()
|
|
5
|
+
@IsNotEmpty()
|
|
6
|
+
alertName: string;
|
|
7
|
+
|
|
8
|
+
@IsString()
|
|
9
|
+
@IsNotEmpty()
|
|
10
|
+
notes: string;
|
|
11
|
+
|
|
12
|
+
@IsString()
|
|
13
|
+
@IsNotEmpty()
|
|
14
|
+
phoneNumber!: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IsEnum, IsNotEmpty, IsString} from "class-validator";
|
|
2
|
+
import { AlarmOperationType } from "../enums/AlarmOperationType";
|
|
3
|
+
|
|
4
|
+
export class CreatePrivateAlarm {
|
|
5
|
+
|
|
6
|
+
@IsString()
|
|
7
|
+
indexName: string;
|
|
8
|
+
|
|
9
|
+
@IsString()
|
|
10
|
+
phoneNumber: string;
|
|
11
|
+
|
|
12
|
+
@IsString()
|
|
13
|
+
@IsNotEmpty()
|
|
14
|
+
type: string;
|
|
15
|
+
|
|
16
|
+
@IsEnum(AlarmOperationType)
|
|
17
|
+
status: AlarmOperationType;
|
|
18
|
+
|
|
19
|
+
@IsString()
|
|
20
|
+
notes: string;
|
|
21
|
+
|
|
22
|
+
@IsString()
|
|
23
|
+
directoryId: string;
|
|
24
|
+
|
|
25
|
+
@IsString()
|
|
26
|
+
peopleId: string;
|
|
27
|
+
|
|
28
|
+
@IsString()
|
|
29
|
+
alertName: string;
|
|
30
|
+
|
|
31
|
+
@IsString()
|
|
32
|
+
transactionNumber: string;
|
|
33
|
+
|
|
34
|
+
@IsString()
|
|
35
|
+
transactionDate: string;
|
|
36
|
+
}
|
package/src/riskProfile/index.ts
CHANGED
|
@@ -4,8 +4,8 @@ export * from './dtos/UpdateRiskProfileRequest'
|
|
|
4
4
|
export * from './dtos/UpdateAlarmProfileRequest';
|
|
5
5
|
export * from './dtos/TransactionAlarmQueueMessage';
|
|
6
6
|
export * from './dtos/UpdateTransactionAlertRequest';
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
export * from './dtos/CreateBackofficeAlarm';
|
|
8
|
+
export * from './dtos/CreatePrivateAlarm';
|
|
9
9
|
export * from './enums/PepLevelEnum';
|
|
10
10
|
export * from './enums/RiskFactorCategoryEnum';
|
|
11
11
|
export * from './enums/AlarmCategory';
|