@fiado/type-kit 1.6.38 → 1.6.40
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/blacklist/dtos/CreateBlockedPersonRequest.d.ts +9 -0
- package/bin/blacklist/dtos/CreateBlockedPersonRequest.js +49 -0
- package/bin/blacklist/dtos/GetBlockedPersonsResponse.d.ts +18 -0
- package/bin/blacklist/dtos/GetBlockedPersonsResponse.js +111 -0
- package/bin/blacklist/dtos/UpdateBlockedPersonRequest.d.ts +11 -0
- package/bin/blacklist/dtos/UpdateBlockedPersonRequest.js +61 -0
- package/bin/blacklist/index.d.ts +3 -0
- package/bin/blacklist/index.js +5 -0
- package/package.json +1 -1
- package/src/blacklist/dtos/CreateBlockedPersonRequest.ts +32 -0
- package/src/blacklist/dtos/GetBlockedPersonsResponse.ts +84 -0
- package/src/blacklist/dtos/UpdateBlockedPersonRequest.ts +42 -0
- package/src/blacklist/index.ts +7 -0
|
@@ -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.CreateBlockedPersonRequest = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class CreateBlockedPersonRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.CreateBlockedPersonRequest = CreateBlockedPersonRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Expose)({ name: 'fullName' }),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateBlockedPersonRequest.prototype, "fullName", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)({ name: 'yearOfBirth' }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], CreateBlockedPersonRequest.prototype, "yearOfBirth", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)({ name: 'dateOfBirth' }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateBlockedPersonRequest.prototype, "dateOfBirth", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_transformer_1.Expose)({ name: 'curp' }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateBlockedPersonRequest.prototype, "curp", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)({ name: 'SSN_ITIN' }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CreateBlockedPersonRequest.prototype, "SSN_ITIN", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)({ name: 'countryOfBirth' }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreateBlockedPersonRequest.prototype, "countryOfBirth", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_transformer_1.Expose)({ name: 'activationReason' }),
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], CreateBlockedPersonRequest.prototype, "activationReason", void 0);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class GetBlockedPersonsResponse {
|
|
2
|
+
id: string;
|
|
3
|
+
fullName: string;
|
|
4
|
+
yearOfBirth: string;
|
|
5
|
+
dateOfBirth: string;
|
|
6
|
+
curp: string;
|
|
7
|
+
SSN_ITIN: string;
|
|
8
|
+
countryOfBirth: string;
|
|
9
|
+
createdBy: string;
|
|
10
|
+
updatedBy: string;
|
|
11
|
+
status: string;
|
|
12
|
+
activationReason: string;
|
|
13
|
+
inactivationReason: string;
|
|
14
|
+
inactivatedBy: string;
|
|
15
|
+
activatedBy: string;
|
|
16
|
+
tenantId: string;
|
|
17
|
+
matchPercentage: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
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.GetBlockedPersonsResponse = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class GetBlockedPersonsResponse {
|
|
16
|
+
}
|
|
17
|
+
exports.GetBlockedPersonsResponse = GetBlockedPersonsResponse;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Expose)({ name: 'id' }),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], GetBlockedPersonsResponse.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)({ name: 'fullName' }),
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], GetBlockedPersonsResponse.prototype, "fullName", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)({ name: 'yearOfBirth' }),
|
|
32
|
+
(0, class_validator_1.IsString)(),
|
|
33
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], GetBlockedPersonsResponse.prototype, "yearOfBirth", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)({ name: 'dateOfBirth' }),
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], GetBlockedPersonsResponse.prototype, "dateOfBirth", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_transformer_1.Expose)({ name: 'curp' }),
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], GetBlockedPersonsResponse.prototype, "curp", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)({ name: 'SSN_ITIN' }),
|
|
50
|
+
(0, class_validator_1.IsString)(),
|
|
51
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], GetBlockedPersonsResponse.prototype, "SSN_ITIN", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_transformer_1.Expose)({ name: 'countryOfBirth' }),
|
|
56
|
+
(0, class_validator_1.IsString)(),
|
|
57
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], GetBlockedPersonsResponse.prototype, "countryOfBirth", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_transformer_1.Expose)({ name: 'createdBy' }),
|
|
62
|
+
(0, class_validator_1.IsString)(),
|
|
63
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], GetBlockedPersonsResponse.prototype, "createdBy", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_transformer_1.Expose)({ name: 'updatedBy' }),
|
|
68
|
+
(0, class_validator_1.IsString)(),
|
|
69
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], GetBlockedPersonsResponse.prototype, "updatedBy", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_transformer_1.Expose)({ name: 'status' }),
|
|
74
|
+
(0, class_validator_1.IsEnum)(['ACTIVE', 'INACTIVE']),
|
|
75
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], GetBlockedPersonsResponse.prototype, "status", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_transformer_1.Expose)({ name: 'activationReason' }),
|
|
80
|
+
(0, class_validator_1.IsString)(),
|
|
81
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], GetBlockedPersonsResponse.prototype, "activationReason", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_transformer_1.Expose)({ name: 'inactivationReason' }),
|
|
86
|
+
(0, class_validator_1.IsString)(),
|
|
87
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], GetBlockedPersonsResponse.prototype, "inactivationReason", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, class_transformer_1.Expose)({ name: 'inactivatedBy' }),
|
|
92
|
+
(0, class_validator_1.IsString)(),
|
|
93
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
94
|
+
__metadata("design:type", String)
|
|
95
|
+
], GetBlockedPersonsResponse.prototype, "inactivatedBy", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, class_transformer_1.Expose)({ name: 'activatedBy' }),
|
|
98
|
+
(0, class_validator_1.IsString)(),
|
|
99
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], GetBlockedPersonsResponse.prototype, "activatedBy", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, class_transformer_1.Expose)({ name: 'tenantId' }),
|
|
104
|
+
(0, class_validator_1.IsString)(),
|
|
105
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
106
|
+
__metadata("design:type", String)
|
|
107
|
+
], GetBlockedPersonsResponse.prototype, "tenantId", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, class_transformer_1.Expose)({ name: 'matchPercentage' }),
|
|
110
|
+
__metadata("design:type", Number)
|
|
111
|
+
], GetBlockedPersonsResponse.prototype, "matchPercentage", void 0);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class UpdateBlockedPersonRequest {
|
|
2
|
+
fullName?: string;
|
|
3
|
+
yearOfBirth?: string;
|
|
4
|
+
dateOfBirth?: string;
|
|
5
|
+
curp?: string;
|
|
6
|
+
SSN_ITIN?: string;
|
|
7
|
+
countryOfBirth?: string;
|
|
8
|
+
activationReason?: string;
|
|
9
|
+
inactivationReason?: string;
|
|
10
|
+
status?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.UpdateBlockedPersonRequest = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class UpdateBlockedPersonRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.UpdateBlockedPersonRequest = UpdateBlockedPersonRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Expose)({ name: 'fullName' }),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], UpdateBlockedPersonRequest.prototype, "fullName", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)({ name: 'yearOfBirth' }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], UpdateBlockedPersonRequest.prototype, "yearOfBirth", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)({ name: 'dateOfBirth' }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], UpdateBlockedPersonRequest.prototype, "dateOfBirth", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_transformer_1.Expose)({ name: 'curp' }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], UpdateBlockedPersonRequest.prototype, "curp", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)({ name: 'SSN_ITIN' }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], UpdateBlockedPersonRequest.prototype, "SSN_ITIN", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)({ name: 'countryOfBirth' }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], UpdateBlockedPersonRequest.prototype, "countryOfBirth", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_transformer_1.Expose)({ name: 'activationReason' }),
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], UpdateBlockedPersonRequest.prototype, "activationReason", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_transformer_1.Expose)({ name: 'inactivationReason' }),
|
|
52
|
+
(0, class_validator_1.IsString)(),
|
|
53
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], UpdateBlockedPersonRequest.prototype, "inactivationReason", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_transformer_1.Expose)({ name: 'status' }),
|
|
58
|
+
(0, class_validator_1.IsString)(),
|
|
59
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], UpdateBlockedPersonRequest.prototype, "status", void 0);
|
package/bin/blacklist/index.d.ts
CHANGED
package/bin/blacklist/index.js
CHANGED
|
@@ -14,4 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
//dtos
|
|
18
|
+
__exportStar(require("./dtos/GetBlockedPersonsResponse"), exports);
|
|
19
|
+
__exportStar(require("./dtos/CreateBlockedPersonRequest"), exports);
|
|
20
|
+
__exportStar(require("./dtos/UpdateBlockedPersonRequest"), exports);
|
|
21
|
+
//enums
|
|
17
22
|
__exportStar(require("./enums/IdentificationParameter"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
import { Expose } from 'class-transformer';
|
|
3
|
+
import { IsNotEmpty, IsString } from 'class-validator';
|
|
4
|
+
|
|
5
|
+
export class CreateBlockedPersonRequest {
|
|
6
|
+
|
|
7
|
+
@Expose({ name: 'fullName' })
|
|
8
|
+
@IsString()
|
|
9
|
+
@IsNotEmpty()
|
|
10
|
+
fullName: string;
|
|
11
|
+
|
|
12
|
+
@Expose({ name: 'yearOfBirth' })
|
|
13
|
+
yearOfBirth?: string;
|
|
14
|
+
|
|
15
|
+
@Expose({ name: 'dateOfBirth' })
|
|
16
|
+
dateOfBirth?: string;
|
|
17
|
+
|
|
18
|
+
@Expose({ name: 'curp' })
|
|
19
|
+
curp?: string;
|
|
20
|
+
|
|
21
|
+
@Expose({ name: 'SSN_ITIN' })
|
|
22
|
+
SSN_ITIN?: string;
|
|
23
|
+
|
|
24
|
+
@Expose({ name: 'countryOfBirth' })
|
|
25
|
+
countryOfBirth?: string;
|
|
26
|
+
|
|
27
|
+
@Expose({ name: 'activationReason' })
|
|
28
|
+
@IsString()
|
|
29
|
+
@IsNotEmpty()
|
|
30
|
+
activationReason: string;
|
|
31
|
+
|
|
32
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
|
|
2
|
+
import { Expose } from 'class-transformer';
|
|
3
|
+
import { IsEnum, IsNotEmpty, IsString } from 'class-validator';
|
|
4
|
+
|
|
5
|
+
export class GetBlockedPersonsResponse {
|
|
6
|
+
|
|
7
|
+
@Expose({ name: 'id' })
|
|
8
|
+
@IsString()
|
|
9
|
+
@IsNotEmpty()
|
|
10
|
+
id: string;
|
|
11
|
+
|
|
12
|
+
@Expose({ name: 'fullName' })
|
|
13
|
+
@IsString()
|
|
14
|
+
@IsNotEmpty()
|
|
15
|
+
fullName: string;
|
|
16
|
+
|
|
17
|
+
@Expose({ name: 'yearOfBirth' })
|
|
18
|
+
@IsString()
|
|
19
|
+
@IsNotEmpty()
|
|
20
|
+
yearOfBirth: string;
|
|
21
|
+
|
|
22
|
+
@Expose({ name: 'dateOfBirth' })
|
|
23
|
+
@IsString()
|
|
24
|
+
@IsNotEmpty()
|
|
25
|
+
dateOfBirth: string;
|
|
26
|
+
|
|
27
|
+
@Expose({ name: 'curp' })
|
|
28
|
+
@IsString()
|
|
29
|
+
@IsNotEmpty()
|
|
30
|
+
curp: string;
|
|
31
|
+
|
|
32
|
+
@Expose({ name: 'SSN_ITIN' })
|
|
33
|
+
@IsString()
|
|
34
|
+
@IsNotEmpty()
|
|
35
|
+
SSN_ITIN: string;
|
|
36
|
+
|
|
37
|
+
@Expose({ name: 'countryOfBirth' })
|
|
38
|
+
@IsString()
|
|
39
|
+
@IsNotEmpty()
|
|
40
|
+
countryOfBirth: string;
|
|
41
|
+
|
|
42
|
+
@Expose({ name: 'createdBy' })
|
|
43
|
+
@IsString()
|
|
44
|
+
@IsNotEmpty()
|
|
45
|
+
createdBy: string;
|
|
46
|
+
|
|
47
|
+
@Expose({ name: 'updatedBy' })
|
|
48
|
+
@IsString()
|
|
49
|
+
@IsNotEmpty()
|
|
50
|
+
updatedBy: string;
|
|
51
|
+
|
|
52
|
+
@Expose({ name: 'status' })
|
|
53
|
+
@IsEnum(['ACTIVE', 'INACTIVE'])
|
|
54
|
+
@IsNotEmpty()
|
|
55
|
+
status: string;
|
|
56
|
+
|
|
57
|
+
@Expose({ name: 'activationReason' })
|
|
58
|
+
@IsString()
|
|
59
|
+
@IsNotEmpty()
|
|
60
|
+
activationReason: string;
|
|
61
|
+
|
|
62
|
+
@Expose({ name: 'inactivationReason' })
|
|
63
|
+
@IsString()
|
|
64
|
+
@IsNotEmpty()
|
|
65
|
+
inactivationReason: string;
|
|
66
|
+
|
|
67
|
+
@Expose({ name: 'inactivatedBy' })
|
|
68
|
+
@IsString()
|
|
69
|
+
@IsNotEmpty()
|
|
70
|
+
inactivatedBy: string;
|
|
71
|
+
|
|
72
|
+
@Expose({ name: 'activatedBy' })
|
|
73
|
+
@IsString()
|
|
74
|
+
@IsNotEmpty()
|
|
75
|
+
activatedBy: string;
|
|
76
|
+
|
|
77
|
+
@Expose({ name: 'tenantId' })
|
|
78
|
+
@IsString()
|
|
79
|
+
@IsNotEmpty()
|
|
80
|
+
tenantId: string;
|
|
81
|
+
|
|
82
|
+
@Expose({ name: 'matchPercentage' })
|
|
83
|
+
matchPercentage: number;
|
|
84
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
import { Expose } from 'class-transformer';
|
|
3
|
+
import { IsNotEmpty, IsString } from 'class-validator';
|
|
4
|
+
|
|
5
|
+
export class UpdateBlockedPersonRequest {
|
|
6
|
+
|
|
7
|
+
@Expose({ name: 'fullName' })
|
|
8
|
+
@IsString()
|
|
9
|
+
@IsNotEmpty()
|
|
10
|
+
fullName?: string;
|
|
11
|
+
|
|
12
|
+
@Expose({ name: 'yearOfBirth' })
|
|
13
|
+
yearOfBirth?: string;
|
|
14
|
+
|
|
15
|
+
@Expose({ name: 'dateOfBirth' })
|
|
16
|
+
dateOfBirth?: string;
|
|
17
|
+
|
|
18
|
+
@Expose({ name: 'curp' })
|
|
19
|
+
curp?: string;
|
|
20
|
+
|
|
21
|
+
@Expose({ name: 'SSN_ITIN' })
|
|
22
|
+
SSN_ITIN?: string;
|
|
23
|
+
|
|
24
|
+
@Expose({ name: 'countryOfBirth' })
|
|
25
|
+
countryOfBirth?: string;
|
|
26
|
+
|
|
27
|
+
@Expose({ name: 'activationReason' })
|
|
28
|
+
@IsString()
|
|
29
|
+
@IsNotEmpty()
|
|
30
|
+
activationReason?: string;
|
|
31
|
+
|
|
32
|
+
@Expose({ name: 'inactivationReason' })
|
|
33
|
+
@IsString()
|
|
34
|
+
@IsNotEmpty()
|
|
35
|
+
inactivationReason?: string;
|
|
36
|
+
|
|
37
|
+
@Expose({ name: 'status' })
|
|
38
|
+
@IsString()
|
|
39
|
+
@IsNotEmpty()
|
|
40
|
+
status?: string;
|
|
41
|
+
|
|
42
|
+
}
|
package/src/blacklist/index.ts
CHANGED