@fiado/type-kit 1.6.29 → 1.6.31

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.
@@ -1,3 +1,4 @@
1
+ import { AuthorizationNeededMXNStatus } from "../../identity";
1
2
  import { AlarmPriority } from "../enums/AlarmPriority";
2
3
  export declare class TransactionAlertResponse {
3
4
  id: string;
@@ -21,4 +22,5 @@ export declare class TransactionAlertResponse {
21
22
  fileNumber: string;
22
23
  transactionAmount: number;
23
24
  priority: AlarmPriority;
25
+ authorizationNeededMXN: AuthorizationNeededMXNStatus | null;
24
26
  }
@@ -1,4 +1,7 @@
1
1
  export declare class PermissionCreateRequest {
2
2
  name: string;
3
3
  description: string;
4
+ displatName: string;
5
+ section?: string;
6
+ order?: number;
4
7
  }
@@ -22,3 +22,18 @@ __decorate([
22
22
  (0, class_validator_1.IsString)(),
23
23
  __metadata("design:type", String)
24
24
  ], PermissionCreateRequest.prototype, "description", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsString)(),
27
+ (0, class_validator_1.IsOptional)(),
28
+ __metadata("design:type", String)
29
+ ], PermissionCreateRequest.prototype, "displatName", void 0);
30
+ __decorate([
31
+ (0, class_validator_1.IsString)(),
32
+ (0, class_validator_1.IsOptional)(),
33
+ __metadata("design:type", String)
34
+ ], PermissionCreateRequest.prototype, "section", void 0);
35
+ __decorate([
36
+ (0, class_validator_1.IsString)(),
37
+ (0, class_validator_1.IsOptional)(),
38
+ __metadata("design:type", Number)
39
+ ], PermissionCreateRequest.prototype, "order", void 0);
@@ -5,4 +5,7 @@ export declare class PermissionResponse {
5
5
  updatedAt: number;
6
6
  isActive: boolean;
7
7
  description: string;
8
+ displayName: string;
9
+ section: string;
10
+ order: number;
8
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.6.29",
3
+ "version": "1.6.31",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -1,3 +1,4 @@
1
+ import { AuthorizationNeededMXNStatus } from "../../identity";
1
2
  import { AlarmPriority } from "../enums/AlarmPriority";
2
3
 
3
4
  export class TransactionAlertResponse {
@@ -43,5 +44,7 @@ export class TransactionAlertResponse {
43
44
  transactionAmount!: number;
44
45
 
45
46
  priority!: AlarmPriority;
47
+
48
+ authorizationNeededMXN! :AuthorizationNeededMXNStatus | null;
46
49
  }
47
50
 
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- import { IsString } from 'class-validator';
3
+ import { IsOptional, IsString } from 'class-validator';
4
4
 
5
5
  export class PermissionCreateRequest {
6
6
 
@@ -9,4 +9,16 @@ export class PermissionCreateRequest {
9
9
 
10
10
  @IsString()
11
11
  description: string;
12
+
13
+ @IsString()
14
+ @IsOptional()
15
+ displatName: string;
16
+
17
+ @IsString()
18
+ @IsOptional()
19
+ section?: string;
20
+
21
+ @IsString()
22
+ @IsOptional()
23
+ order?: number;
12
24
  }
@@ -7,4 +7,7 @@ export class PermissionResponse {
7
7
  updatedAt: number;
8
8
  isActive: boolean;
9
9
  description: string;
10
+ displayName: string;
11
+ section: string;
12
+ order: number;
10
13
  }