@fiado/type-kit 1.2.59 → 1.3.0
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/riskProfile/dtos/TransactionAlarmQueueMessage.d.ts +8 -0
- package/bin/riskProfile/dtos/TransactionAlarmQueueMessage.js +46 -0
- package/bin/riskProfile/enums/AlarmCategory.d.ts +2 -2
- package/bin/riskProfile/enums/AlarmCategory.js +2 -2
- package/bin/riskProfile/enums/AlarmOperationType.d.ts +5 -0
- package/bin/riskProfile/enums/AlarmOperationType.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/riskProfile/dtos/TransactionAlarmQueueMessage.ts +32 -0
- package/src/riskProfile/enums/AlarmCategory.ts +2 -2
- package/src/riskProfile/enums/AlarmOperationType.ts +8 -0
- package/src/riskProfile/index.ts +3 -0
|
@@ -0,0 +1,46 @@
|
|
|
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.TransactionAlarmQueueMessage = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class TransactionAlarmQueueMessage {
|
|
15
|
+
}
|
|
16
|
+
exports.TransactionAlarmQueueMessage = TransactionAlarmQueueMessage;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], TransactionAlarmQueueMessage.prototype, "directoryId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], TransactionAlarmQueueMessage.prototype, "peopleId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], TransactionAlarmQueueMessage.prototype, "transactionNumber", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsNumber)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], TransactionAlarmQueueMessage.prototype, "amount", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], TransactionAlarmQueueMessage.prototype, "indexName", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], TransactionAlarmQueueMessage.prototype, "phoneNumber", void 0);
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AlarmCategory = void 0;
|
|
4
4
|
var AlarmCategory;
|
|
5
5
|
(function (AlarmCategory) {
|
|
6
|
-
AlarmCategory["HIGH_AMOUNT"] = "
|
|
7
|
-
AlarmCategory["MONTHLY_INCREASE"] = "
|
|
6
|
+
AlarmCategory["HIGH_AMOUNT"] = "highAmount";
|
|
7
|
+
AlarmCategory["MONTHLY_INCREASE"] = "monthlyIncrease";
|
|
8
8
|
})(AlarmCategory || (exports.AlarmCategory = AlarmCategory = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AlarmOperationType = void 0;
|
|
4
|
+
var AlarmOperationType;
|
|
5
|
+
(function (AlarmOperationType) {
|
|
6
|
+
AlarmOperationType["NEW"] = "NEW";
|
|
7
|
+
AlarmOperationType["PENDING"] = "PENDING";
|
|
8
|
+
AlarmOperationType["CLOSED"] = "CLOSED";
|
|
9
|
+
})(AlarmOperationType || (exports.AlarmOperationType = AlarmOperationType = {}));
|
|
@@ -2,6 +2,8 @@ export * from './dtos/CreateRiskProfileRequest';
|
|
|
2
2
|
export * from './dtos/UpdateFactorInfo';
|
|
3
3
|
export * from './dtos/UpdateRiskProfileRequest';
|
|
4
4
|
export * from './dtos/UpdateAlarmProfileRequest';
|
|
5
|
+
export * from './dtos/TransactionAlarmQueueMessage';
|
|
5
6
|
export * from './enums/PepLevelEnum';
|
|
6
7
|
export * from './enums/RiskFactorCategoryEnum';
|
|
7
8
|
export * from './enums/AlarmCategory';
|
|
9
|
+
export * from './enums/AlarmOperationType';
|
package/bin/riskProfile/index.js
CHANGED
|
@@ -18,6 +18,8 @@ __exportStar(require("./dtos/CreateRiskProfileRequest"), exports);
|
|
|
18
18
|
__exportStar(require("./dtos/UpdateFactorInfo"), exports);
|
|
19
19
|
__exportStar(require("./dtos/UpdateRiskProfileRequest"), exports);
|
|
20
20
|
__exportStar(require("./dtos/UpdateAlarmProfileRequest"), exports);
|
|
21
|
+
__exportStar(require("./dtos/TransactionAlarmQueueMessage"), exports);
|
|
21
22
|
__exportStar(require("./enums/PepLevelEnum"), exports);
|
|
22
23
|
__exportStar(require("./enums/RiskFactorCategoryEnum"), exports);
|
|
23
24
|
__exportStar(require("./enums/AlarmCategory"), exports);
|
|
25
|
+
__exportStar(require("./enums/AlarmOperationType"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { IsNotEmpty, IsNumber, IsOptional, IsString } from "class-validator";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class TransactionAlarmQueueMessage {
|
|
6
|
+
|
|
7
|
+
@IsString()
|
|
8
|
+
@IsNotEmpty()
|
|
9
|
+
directoryId: string
|
|
10
|
+
|
|
11
|
+
@IsString()
|
|
12
|
+
@IsNotEmpty()
|
|
13
|
+
peopleId: string
|
|
14
|
+
|
|
15
|
+
@IsString()
|
|
16
|
+
@IsOptional()
|
|
17
|
+
transactionNumber: string
|
|
18
|
+
|
|
19
|
+
@IsNumber()
|
|
20
|
+
@IsNotEmpty()
|
|
21
|
+
amount: number
|
|
22
|
+
|
|
23
|
+
@IsString()
|
|
24
|
+
@IsNotEmpty()
|
|
25
|
+
indexName: string
|
|
26
|
+
|
|
27
|
+
@IsString()
|
|
28
|
+
@IsNotEmpty()
|
|
29
|
+
phoneNumber: string
|
|
30
|
+
|
|
31
|
+
}
|
|
32
|
+
|
package/src/riskProfile/index.ts
CHANGED
|
@@ -2,7 +2,10 @@ export * from './dtos/CreateRiskProfileRequest';
|
|
|
2
2
|
export * from './dtos/UpdateFactorInfo';
|
|
3
3
|
export * from './dtos/UpdateRiskProfileRequest'
|
|
4
4
|
export * from './dtos/UpdateAlarmProfileRequest';
|
|
5
|
+
export * from './dtos/TransactionAlarmQueueMessage';
|
|
6
|
+
|
|
5
7
|
|
|
6
8
|
export * from './enums/PepLevelEnum';
|
|
7
9
|
export * from './enums/RiskFactorCategoryEnum';
|
|
8
10
|
export * from './enums/AlarmCategory';
|
|
11
|
+
export * from './enums/AlarmOperationType';
|