@fiado/type-kit 1.2.59 → 1.2.60

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.
@@ -0,0 +1,6 @@
1
+ export declare class TransactionAlarmQueueMessage {
2
+ directoryId: string;
3
+ peopleId: string;
4
+ transactionNumber: string;
5
+ amount: number;
6
+ }
@@ -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.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);
@@ -1,4 +1,4 @@
1
1
  export declare enum AlarmCategory {
2
- HIGH_AMOUNT = "HIGH_AMOUNT",
3
- MONTHLY_INCREASE = "MONTHLY_INCREASE"
2
+ HIGH_AMOUNT = "highAmount",
3
+ MONTHLY_INCREASE = "monthlyIncrease"
4
4
  }
@@ -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"] = "HIGH_AMOUNT";
7
- AlarmCategory["MONTHLY_INCREASE"] = "MONTHLY_INCREASE";
6
+ AlarmCategory["HIGH_AMOUNT"] = "highAmount";
7
+ AlarmCategory["MONTHLY_INCREASE"] = "monthlyIncrease";
8
8
  })(AlarmCategory || (exports.AlarmCategory = AlarmCategory = {}));
@@ -0,0 +1,5 @@
1
+ export declare enum AlarmOperationType {
2
+ NEW = "NEW",
3
+ PENDING = "PENDING",
4
+ CLOSED = "CLOSED"
5
+ }
@@ -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';
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.2.59",
3
+ "version": "1.2.60",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -0,0 +1,23 @@
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
+
@@ -2,7 +2,7 @@
2
2
 
3
3
  export enum AlarmCategory {
4
4
 
5
- HIGH_AMOUNT = 'HIGH_AMOUNT',
6
- MONTHLY_INCREASE = 'MONTHLY_INCREASE',
5
+ HIGH_AMOUNT = 'highAmount',
6
+ MONTHLY_INCREASE = 'monthlyIncrease',
7
7
 
8
8
  }
@@ -0,0 +1,8 @@
1
+
2
+
3
+ export enum AlarmOperationType {
4
+
5
+ NEW = "NEW",
6
+ PENDING = "PENDING",
7
+ CLOSED = "CLOSED"
8
+ }
@@ -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';