@fiado/type-kit 1.4.91 → 1.4.93
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/cognitoConnector/dtos/ChangePasswordRequest.d.ts +6 -0
- package/bin/cognitoConnector/dtos/ChangePasswordRequest.js +32 -0
- package/bin/cognitoConnector/dtos/GetUserRequest.d.ts +5 -0
- package/bin/cognitoConnector/dtos/GetUserRequest.js +27 -0
- package/bin/cognitoConnector/dtos/GetUserResponse.d.ts +4 -0
- package/bin/cognitoConnector/dtos/GetUserResponse.js +6 -0
- package/bin/cognitoConnector/dtos/RefreshTokenRequest.d.ts +5 -0
- package/bin/cognitoConnector/dtos/RefreshTokenRequest.js +27 -0
- package/bin/cognitoConnector/dtos/RefreshTokenResponse.d.ts +4 -0
- package/bin/cognitoConnector/dtos/RefreshTokenResponse.js +6 -0
- package/bin/cognitoConnector/dtos/RespondToAuthChallengeRequest.d.ts +7 -0
- package/bin/cognitoConnector/dtos/RespondToAuthChallengeRequest.js +37 -0
- package/bin/cognitoConnector/dtos/SetPasswordRequest.d.ts +6 -0
- package/bin/cognitoConnector/dtos/SetPasswordRequest.js +32 -0
- package/bin/cognitoConnector/dtos/SignInRequest.d.ts +6 -0
- package/bin/cognitoConnector/dtos/SignInRequest.js +32 -0
- package/bin/cognitoConnector/dtos/SignInResponse.d.ts +6 -0
- package/bin/cognitoConnector/dtos/SignInResponse.js +6 -0
- package/bin/cognitoConnector/dtos/SignUpConfirmRequest.d.ts +4 -0
- package/bin/cognitoConnector/dtos/SignUpConfirmRequest.js +26 -0
- package/bin/cognitoConnector/dtos/SignUpRequest.d.ts +7 -0
- package/bin/cognitoConnector/dtos/SignUpRequest.js +37 -0
- package/bin/cognitoConnector/dtos/SignUpResponse.d.ts +3 -0
- package/bin/cognitoConnector/dtos/SignUpResponse.js +6 -0
- package/bin/cognitoConnector/index.d.ts +12 -0
- package/bin/cognitoConnector/index.js +29 -0
- package/bin/riskProfile/enums/AlarmPriority.d.ts +5 -0
- package/bin/riskProfile/enums/AlarmPriority.js +9 -0
- package/bin/riskProfile/index.d.ts +1 -0
- package/bin/riskProfile/index.js +1 -0
- package/package.json +1 -1
- package/src/cognitoConnector/dtos/ChangePasswordRequest.ts +20 -0
- package/src/cognitoConnector/dtos/GetUserRequest.ts +13 -0
- package/src/cognitoConnector/dtos/GetUserResponse.ts +9 -0
- package/src/cognitoConnector/dtos/RefreshTokenRequest.ts +15 -0
- package/src/cognitoConnector/dtos/RefreshTokenResponse.ts +7 -0
- package/src/cognitoConnector/dtos/RespondToAuthChallengeRequest.ts +26 -0
- package/src/cognitoConnector/dtos/SetPasswordRequest.ts +20 -0
- package/src/cognitoConnector/dtos/SignInRequest.ts +21 -0
- package/src/cognitoConnector/dtos/SignInResponse.ts +11 -0
- package/src/cognitoConnector/dtos/SignUpConfirmRequest.ts +17 -0
- package/src/cognitoConnector/dtos/SignUpRequest.ts +23 -0
- package/src/cognitoConnector/dtos/SignUpResponse.ts +7 -0
- package/src/cognitoConnector/index.ts +21 -0
- package/src/riskProfile/enums/AlarmPriority.ts +8 -0
- package/src/riskProfile/index.ts +1 -0
|
@@ -0,0 +1,32 @@
|
|
|
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.ChangePasswordRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const directory_1 = require("../../directory");
|
|
15
|
+
class ChangePasswordRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.ChangePasswordRequest = ChangePasswordRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], ChangePasswordRequest.prototype, "username", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], ChangePasswordRequest.prototype, "newPassword", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], ChangePasswordRequest.prototype, "typeOfDirectoryId", void 0);
|
|
@@ -0,0 +1,27 @@
|
|
|
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.GetUserRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const directory_1 = require("../../directory");
|
|
15
|
+
class GetUserRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.GetUserRequest = GetUserRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], GetUserRequest.prototype, "username", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], GetUserRequest.prototype, "typeOfDirectoryId", void 0);
|
|
@@ -0,0 +1,27 @@
|
|
|
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.RefreshTokenRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const directory_1 = require("../../directory");
|
|
15
|
+
class RefreshTokenRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.RefreshTokenRequest = RefreshTokenRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], RefreshTokenRequest.prototype, "refreshToken", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], RefreshTokenRequest.prototype, "typeOfDirectoryId", void 0);
|
|
@@ -0,0 +1,37 @@
|
|
|
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.RespondToAuthChallengeRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const directory_1 = require("../../directory");
|
|
15
|
+
class RespondToAuthChallengeRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.RespondToAuthChallengeRequest = RespondToAuthChallengeRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], RespondToAuthChallengeRequest.prototype, "username", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], RespondToAuthChallengeRequest.prototype, "newPassword", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], RespondToAuthChallengeRequest.prototype, "session", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], RespondToAuthChallengeRequest.prototype, "typeOfDirectoryId", void 0);
|
|
@@ -0,0 +1,32 @@
|
|
|
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.SetPasswordRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const directory_1 = require("../../directory");
|
|
15
|
+
class SetPasswordRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.SetPasswordRequest = SetPasswordRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], SetPasswordRequest.prototype, "username", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], SetPasswordRequest.prototype, "newPassowrd", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], SetPasswordRequest.prototype, "typeOfDirectoryId", void 0);
|
|
@@ -0,0 +1,32 @@
|
|
|
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.SignInRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const directory_1 = require("../../directory");
|
|
15
|
+
class SignInRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.SignInRequest = SignInRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], SignInRequest.prototype, "username", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], SignInRequest.prototype, "password", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], SignInRequest.prototype, "typeOfDirectoryId", void 0);
|
|
@@ -0,0 +1,26 @@
|
|
|
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.SignUpConfirmRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class SignUpConfirmRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.SignUpConfirmRequest = SignUpConfirmRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SignUpConfirmRequest.prototype, "username", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], SignUpConfirmRequest.prototype, "directoryId", void 0);
|
|
@@ -0,0 +1,37 @@
|
|
|
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.SignUpRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const directory_1 = require("../../directory");
|
|
15
|
+
class SignUpRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.SignUpRequest = SignUpRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], SignUpRequest.prototype, "username", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], SignUpRequest.prototype, "password", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], SignUpRequest.prototype, "directoryId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], SignUpRequest.prototype, "typeOfDirectoryId", void 0);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from '../cognitoConnector/dtos/ChangePasswordRequest';
|
|
2
|
+
export * from '../cognitoConnector/dtos/GetUserResponse';
|
|
3
|
+
export * from '../cognitoConnector/dtos/GetUserRequest';
|
|
4
|
+
export * from '../cognitoConnector/dtos/RefreshTokenRequest';
|
|
5
|
+
export * from '../cognitoConnector/dtos/RefreshTokenResponse';
|
|
6
|
+
export * from '../cognitoConnector/dtos/RespondToAuthChallengeRequest';
|
|
7
|
+
export * from '../cognitoConnector/dtos/SetPasswordRequest';
|
|
8
|
+
export * from '../cognitoConnector/dtos/SignInRequest';
|
|
9
|
+
export * from '../cognitoConnector/dtos/SignInResponse';
|
|
10
|
+
export * from '../cognitoConnector/dtos/SignUpConfirmRequest';
|
|
11
|
+
export * from '../cognitoConnector/dtos/SignUpRequest';
|
|
12
|
+
export * from '../cognitoConnector/dtos/SignUpResponse';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//dtos
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
__exportStar(require("../cognitoConnector/dtos/ChangePasswordRequest"), exports);
|
|
19
|
+
__exportStar(require("../cognitoConnector/dtos/GetUserResponse"), exports);
|
|
20
|
+
__exportStar(require("../cognitoConnector/dtos/GetUserRequest"), exports);
|
|
21
|
+
__exportStar(require("../cognitoConnector/dtos/RefreshTokenRequest"), exports);
|
|
22
|
+
__exportStar(require("../cognitoConnector/dtos/RefreshTokenResponse"), exports);
|
|
23
|
+
__exportStar(require("../cognitoConnector/dtos/RespondToAuthChallengeRequest"), exports);
|
|
24
|
+
__exportStar(require("../cognitoConnector/dtos/SetPasswordRequest"), exports);
|
|
25
|
+
__exportStar(require("../cognitoConnector/dtos/SignInRequest"), exports);
|
|
26
|
+
__exportStar(require("../cognitoConnector/dtos/SignInResponse"), exports);
|
|
27
|
+
__exportStar(require("../cognitoConnector/dtos/SignUpConfirmRequest"), exports);
|
|
28
|
+
__exportStar(require("../cognitoConnector/dtos/SignUpRequest"), exports);
|
|
29
|
+
__exportStar(require("../cognitoConnector/dtos/SignUpResponse"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AlarmPriority = void 0;
|
|
4
|
+
var AlarmPriority;
|
|
5
|
+
(function (AlarmPriority) {
|
|
6
|
+
AlarmPriority["LOW"] = "LOW";
|
|
7
|
+
AlarmPriority["MEDIUM"] = "MEDIUM";
|
|
8
|
+
AlarmPriority["HIGH"] = "HIGH";
|
|
9
|
+
})(AlarmPriority || (exports.AlarmPriority = AlarmPriority = {}));
|
package/bin/riskProfile/index.js
CHANGED
|
@@ -27,3 +27,4 @@ __exportStar(require("./enums/PepLevelEnum"), exports);
|
|
|
27
27
|
__exportStar(require("./enums/RiskFactorCategoryEnum"), exports);
|
|
28
28
|
__exportStar(require("./enums/AlarmCategory"), exports);
|
|
29
29
|
__exportStar(require("./enums/AlarmOperationType"), exports);
|
|
30
|
+
__exportStar(require("./enums/AlarmPriority"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IsNotEmpty, IsString } from "class-validator"
|
|
2
|
+
import { TypeOfDirectoryId } from "../../directory"
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ChangePasswordRequest {
|
|
7
|
+
|
|
8
|
+
@IsString()
|
|
9
|
+
@IsNotEmpty()
|
|
10
|
+
username: string
|
|
11
|
+
|
|
12
|
+
@IsString()
|
|
13
|
+
@IsNotEmpty()
|
|
14
|
+
newPassword: string
|
|
15
|
+
|
|
16
|
+
@IsString()
|
|
17
|
+
@IsNotEmpty()
|
|
18
|
+
typeOfDirectoryId: TypeOfDirectoryId
|
|
19
|
+
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IsNotEmpty, IsString } from "class-validator"
|
|
2
|
+
import { TypeOfDirectoryId } from "../../directory"
|
|
3
|
+
|
|
4
|
+
export class GetUserRequest {
|
|
5
|
+
|
|
6
|
+
@IsString()
|
|
7
|
+
@IsNotEmpty()
|
|
8
|
+
username: string
|
|
9
|
+
|
|
10
|
+
@IsString()
|
|
11
|
+
@IsNotEmpty()
|
|
12
|
+
typeOfDirectoryId: TypeOfDirectoryId
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IsNotEmpty, IsString } from "class-validator"
|
|
2
|
+
import { TypeOfDirectoryId } from "../../directory"
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class RefreshTokenRequest {
|
|
7
|
+
|
|
8
|
+
@IsString()
|
|
9
|
+
@IsNotEmpty()
|
|
10
|
+
refreshToken: string
|
|
11
|
+
|
|
12
|
+
@IsString()
|
|
13
|
+
@IsNotEmpty()
|
|
14
|
+
typeOfDirectoryId: TypeOfDirectoryId
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IsNotEmpty, IsString } from "class-validator"
|
|
2
|
+
import { TypeOfDirectoryId } from "../../directory"
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class RespondToAuthChallengeRequest {
|
|
6
|
+
|
|
7
|
+
@IsString()
|
|
8
|
+
@IsNotEmpty()
|
|
9
|
+
username: string
|
|
10
|
+
|
|
11
|
+
@IsString()
|
|
12
|
+
@IsNotEmpty()
|
|
13
|
+
newPassword: string
|
|
14
|
+
|
|
15
|
+
@IsString()
|
|
16
|
+
@IsNotEmpty()
|
|
17
|
+
session: string
|
|
18
|
+
|
|
19
|
+
@IsString()
|
|
20
|
+
@IsNotEmpty()
|
|
21
|
+
typeOfDirectoryId: TypeOfDirectoryId
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IsNotEmpty, IsString } from "class-validator"
|
|
2
|
+
import { TypeOfDirectoryId } from "../../directory"
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class SetPasswordRequest {
|
|
7
|
+
|
|
8
|
+
@IsString()
|
|
9
|
+
@IsNotEmpty()
|
|
10
|
+
username: string
|
|
11
|
+
|
|
12
|
+
@IsString()
|
|
13
|
+
@IsNotEmpty()
|
|
14
|
+
newPassowrd: string
|
|
15
|
+
|
|
16
|
+
@IsNotEmpty()
|
|
17
|
+
@IsString()
|
|
18
|
+
typeOfDirectoryId: TypeOfDirectoryId
|
|
19
|
+
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IsNotEmpty, IsString } from "class-validator"
|
|
2
|
+
import { TypeOfDirectoryId } from "../../directory"
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export class SignInRequest
|
|
8
|
+
{
|
|
9
|
+
@IsString()
|
|
10
|
+
@IsNotEmpty()
|
|
11
|
+
username: string
|
|
12
|
+
|
|
13
|
+
@IsString()
|
|
14
|
+
@IsNotEmpty()
|
|
15
|
+
password: string
|
|
16
|
+
|
|
17
|
+
@IsString()
|
|
18
|
+
@IsNotEmpty()
|
|
19
|
+
typeOfDirectoryId: TypeOfDirectoryId
|
|
20
|
+
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IsNotEmpty, IsString } from "class-validator"
|
|
2
|
+
import { TypeOfDirectoryId } from "../../directory"
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class SignUpRequest {
|
|
7
|
+
|
|
8
|
+
@IsString()
|
|
9
|
+
@IsNotEmpty()
|
|
10
|
+
username: string
|
|
11
|
+
|
|
12
|
+
@IsString()
|
|
13
|
+
@IsNotEmpty()
|
|
14
|
+
password: string
|
|
15
|
+
|
|
16
|
+
@IsString()
|
|
17
|
+
@IsNotEmpty()
|
|
18
|
+
directoryId: string
|
|
19
|
+
|
|
20
|
+
@IsString()
|
|
21
|
+
@IsNotEmpty()
|
|
22
|
+
typeOfDirectoryId: TypeOfDirectoryId
|
|
23
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
//dtos
|
|
3
|
+
|
|
4
|
+
export * from '../cognitoConnector/dtos/ChangePasswordRequest';
|
|
5
|
+
export * from '../cognitoConnector/dtos/GetUserResponse';
|
|
6
|
+
export * from '../cognitoConnector/dtos/GetUserRequest';
|
|
7
|
+
export * from '../cognitoConnector/dtos/RefreshTokenRequest';
|
|
8
|
+
export * from '../cognitoConnector/dtos/RefreshTokenResponse';
|
|
9
|
+
export * from '../cognitoConnector/dtos/RespondToAuthChallengeRequest';
|
|
10
|
+
export * from '../cognitoConnector/dtos/SetPasswordRequest';
|
|
11
|
+
export * from '../cognitoConnector/dtos/SignInRequest';
|
|
12
|
+
export * from '../cognitoConnector/dtos/SignInResponse';
|
|
13
|
+
export * from '../cognitoConnector/dtos/SignUpConfirmRequest';
|
|
14
|
+
export * from '../cognitoConnector/dtos/SignUpRequest';
|
|
15
|
+
export * from '../cognitoConnector/dtos/SignUpResponse';
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|