adamo-types 2.1.10-sit → 2.1.11-sit
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/dist/bss/constants/bss.constants.d.ts +0 -7
- package/dist/bss/constants/bss.constants.js +0 -14
- package/dist/common/constants/not-found.error.constants.d.ts +1 -0
- package/dist/common/constants/not-found.error.constants.js +2 -1
- package/dist/sys03/user/user.entity.d.ts +4 -4
- package/dist/sys03/user/user.entity.js +20 -20
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,6 @@ export declare enum BssChargeType {
|
|
|
19
19
|
}
|
|
20
20
|
export declare enum CacheKeyType {
|
|
21
21
|
GRUPO_AIRE_APARTMENT = "grupo-aire:apartment",
|
|
22
|
-
AMS_ADDRESS = "ams:address",
|
|
23
22
|
AMS_ADDRESS_V2 = "ams:v2:address",
|
|
24
23
|
AMS_APARTMENT = "ams:apartment",
|
|
25
24
|
AMS_AREA_V2 = "ams:v2:area",
|
|
@@ -53,17 +52,11 @@ export declare enum CacheKeyType {
|
|
|
53
52
|
PRODUCT_CHARACTERISTIC_EQUIVALENCE = "product-characteristic-equivalence",
|
|
54
53
|
PRODUCT_MOBILE_PROFILE_EQUIVALENCE_BY_TO_PRODUCT = "product-mobile-profile-equivalence-by-to-product",
|
|
55
54
|
PRODUCT_TRANSITION_CONFIGURATION = "product-transition-configuration",
|
|
56
|
-
SHOPPING_CART_AVAILABLE_PRODUCT = "shopping-cart-available-product",
|
|
57
55
|
SHOPPING_CART_AVAILABLE_PRODUCT_V2 = "v2:shopping-cart-available-product",
|
|
58
|
-
SHOPPING_CART_AVAILABLE_PRODUCTS = "shopping-cart-available-products",
|
|
59
56
|
SHOPPING_CART_AVAILABLE_PRODUCTS_V2 = "v2:shopping-cart-available-products",
|
|
60
|
-
SHOPPING_CART_CONFIGURATION = "shopping-cart-configuration",
|
|
61
57
|
SHOPPING_CART_CONFIGURATION_V2 = "v2:shopping-cart-configuration",
|
|
62
|
-
SHOPPING_CART_EXTRAS = "shopping-cart-extras",
|
|
63
58
|
SHOPPING_CART_EXTRAS_V2 = "v2:shopping-cart-extras",
|
|
64
59
|
SHOPPING_CART_FEATURES_V2 = "v2:shopping-cart-features",
|
|
65
|
-
SHOPPING_CART_PROMOTIONS_AND_CONTRACTS = "shopping-cart-promotions-and-contracts",
|
|
66
|
-
SHOPPING_CART_SUMMARY = "shopping-cart-summary",
|
|
67
60
|
SHOPPING_CART_SUMMARY_V2 = "v2:shopping-cart-summary",
|
|
68
61
|
TARIFF_MODEL = "tariff-model",
|
|
69
62
|
USER_PERMISSIONS = "user-permissions",
|
|
@@ -68,7 +68,6 @@ var BssChargeType;
|
|
|
68
68
|
var CacheKeyType;
|
|
69
69
|
(function (CacheKeyType) {
|
|
70
70
|
CacheKeyType["GRUPO_AIRE_APARTMENT"] = "grupo-aire:apartment";
|
|
71
|
-
CacheKeyType["AMS_ADDRESS"] = "ams:address";
|
|
72
71
|
CacheKeyType["AMS_ADDRESS_V2"] = "ams:v2:address";
|
|
73
72
|
CacheKeyType["AMS_APARTMENT"] = "ams:apartment";
|
|
74
73
|
CacheKeyType["AMS_AREA_V2"] = "ams:v2:area";
|
|
@@ -102,17 +101,11 @@ var CacheKeyType;
|
|
|
102
101
|
CacheKeyType["PRODUCT_CHARACTERISTIC_EQUIVALENCE"] = "product-characteristic-equivalence";
|
|
103
102
|
CacheKeyType["PRODUCT_MOBILE_PROFILE_EQUIVALENCE_BY_TO_PRODUCT"] = "product-mobile-profile-equivalence-by-to-product";
|
|
104
103
|
CacheKeyType["PRODUCT_TRANSITION_CONFIGURATION"] = "product-transition-configuration";
|
|
105
|
-
CacheKeyType["SHOPPING_CART_AVAILABLE_PRODUCT"] = "shopping-cart-available-product";
|
|
106
104
|
CacheKeyType["SHOPPING_CART_AVAILABLE_PRODUCT_V2"] = "v2:shopping-cart-available-product";
|
|
107
|
-
CacheKeyType["SHOPPING_CART_AVAILABLE_PRODUCTS"] = "shopping-cart-available-products";
|
|
108
105
|
CacheKeyType["SHOPPING_CART_AVAILABLE_PRODUCTS_V2"] = "v2:shopping-cart-available-products";
|
|
109
|
-
CacheKeyType["SHOPPING_CART_CONFIGURATION"] = "shopping-cart-configuration";
|
|
110
106
|
CacheKeyType["SHOPPING_CART_CONFIGURATION_V2"] = "v2:shopping-cart-configuration";
|
|
111
|
-
CacheKeyType["SHOPPING_CART_EXTRAS"] = "shopping-cart-extras";
|
|
112
107
|
CacheKeyType["SHOPPING_CART_EXTRAS_V2"] = "v2:shopping-cart-extras";
|
|
113
108
|
CacheKeyType["SHOPPING_CART_FEATURES_V2"] = "v2:shopping-cart-features";
|
|
114
|
-
CacheKeyType["SHOPPING_CART_PROMOTIONS_AND_CONTRACTS"] = "shopping-cart-promotions-and-contracts";
|
|
115
|
-
CacheKeyType["SHOPPING_CART_SUMMARY"] = "shopping-cart-summary";
|
|
116
109
|
CacheKeyType["SHOPPING_CART_SUMMARY_V2"] = "v2:shopping-cart-summary";
|
|
117
110
|
CacheKeyType["TARIFF_MODEL"] = "tariff-model";
|
|
118
111
|
CacheKeyType["USER_PERMISSIONS"] = "user-permissions";
|
|
@@ -120,7 +113,6 @@ var CacheKeyType;
|
|
|
120
113
|
CacheKeyType["HISTORY_CUSTOMERS"] = "history-customers";
|
|
121
114
|
})(CacheKeyType || (exports.CacheKeyType = CacheKeyType = {}));
|
|
122
115
|
exports.CacheKeyTypeTtl = {
|
|
123
|
-
[CacheKeyType.AMS_ADDRESS]: 1000 * 60 * 60,
|
|
124
116
|
[CacheKeyType.AMS_ADDRESS_V2]: 1000 * 60 * 60,
|
|
125
117
|
[CacheKeyType.AMS_APARTMENT]: 1000 * 60 * 60,
|
|
126
118
|
[CacheKeyType.GRUPO_AIRE_APARTMENT]: 1000 * 60 * 60 * 24 * 90,
|
|
@@ -155,17 +147,11 @@ exports.CacheKeyTypeTtl = {
|
|
|
155
147
|
[CacheKeyType.PRODUCT_TRANSITION_CONFIGURATION]: 1000 * 60 * 60 * 24,
|
|
156
148
|
[CacheKeyType.PRODUCT_CHARACTERISTIC_EQUIVALENCE]: 1000 * 60 * 60 * 24,
|
|
157
149
|
[CacheKeyType.PRODUCT_MOBILE_PROFILE_EQUIVALENCE_BY_TO_PRODUCT]: 1000 * 60 * 60 * 24,
|
|
158
|
-
[CacheKeyType.SHOPPING_CART_AVAILABLE_PRODUCTS]: 1000 * 60 * 60 * 24,
|
|
159
150
|
[CacheKeyType.SHOPPING_CART_AVAILABLE_PRODUCTS_V2]: 1000 * 60 * 60 * 24,
|
|
160
|
-
[CacheKeyType.SHOPPING_CART_AVAILABLE_PRODUCT]: 1000 * 60 * 60 * 24,
|
|
161
151
|
[CacheKeyType.SHOPPING_CART_AVAILABLE_PRODUCT_V2]: 1000 * 60 * 60 * 24,
|
|
162
|
-
[CacheKeyType.SHOPPING_CART_CONFIGURATION]: 1000 * 60 * 60 * 24,
|
|
163
152
|
[CacheKeyType.SHOPPING_CART_CONFIGURATION_V2]: 1000 * 60 * 60 * 24,
|
|
164
|
-
[CacheKeyType.SHOPPING_CART_EXTRAS]: 1000 * 60 * 60 * 24,
|
|
165
153
|
[CacheKeyType.SHOPPING_CART_EXTRAS_V2]: 1000 * 60 * 60 * 24,
|
|
166
154
|
[CacheKeyType.SHOPPING_CART_FEATURES_V2]: 1000 * 60 * 60 * 24,
|
|
167
|
-
[CacheKeyType.SHOPPING_CART_PROMOTIONS_AND_CONTRACTS]: 1000 * 60 * 60 * 24,
|
|
168
|
-
[CacheKeyType.SHOPPING_CART_SUMMARY]: 1000 * 60 * 60 * 24,
|
|
169
155
|
[CacheKeyType.SHOPPING_CART_SUMMARY_V2]: 1000 * 60 * 60 * 24,
|
|
170
156
|
[CacheKeyType.TARIFF_MODEL]: 0,
|
|
171
157
|
[CacheKeyType.USER_PERMISSIONS]: 1000 * 60,
|
|
@@ -5,6 +5,7 @@ export declare const E_APPROVAL_DATA_TO_APPROVE_NOT_FOUND = "E_APPROVAL_DATA_TO_
|
|
|
5
5
|
export declare const E_APPROVAL_NOT_FOUND = "E_APPROVAL_NOT_FOUND";
|
|
6
6
|
export declare const E_AREA_ADDRESSES_NOT_FOUND = "E_AREA_ADDRESSES_NOT_FOUND";
|
|
7
7
|
export declare const E_AUTH_NOT_FOUND = "E_AUTH_NOT_FOUND";
|
|
8
|
+
export declare const E_AUTH_WORKGROUP_NOT_FOUND = "E_AUTH_WORKGROUP_NOT_FOUND";
|
|
8
9
|
export declare const E_BATCH_PROCESS_DEFINITION_NOT_FOUND = "E_BATCH_PROCESS_DEFINITION_NOT_FOUND";
|
|
9
10
|
export declare const E_BUNDLE_PRODUCTS_NOT_FOUND = "E_BUNDLE_PRODUCTS_NOT_FOUND";
|
|
10
11
|
export declare const E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND = "E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.E_ZIP_ADDRESSES_NOT_FOUND = exports.E_WORKGROUP_NOT_FOUND = exports.E_WORK_ORDER_NOT_FOUND = exports.E_USER_NOT_FOUND = exports.E_TEMPLATE_NOT_FOUND = exports.E_TASK_NOT_FOUND = exports.E_SHOPPING_CART_NOT_FOUND = exports.E_SALE_PROCESS_NOT_FOUND = exports.E_PRODUCT_TRANSITION_GROUP_NOT_FOUND = exports.E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND = exports.E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND = exports.E_PRODUCT_CHARACTERISITC_EQUIVALENCE_NOT_FOUND = exports.E_NUMBER_FROM_POOL_NOT_FOUND = exports.E_NOT_FOUND = exports.E_LEAD_NOT_FOUND = exports.E_LEAD_FILE_NOT_FOUND = exports.E_JIRA_ISSUE_NOT_FOUND = exports.E_DROPDOWN_NOT_FOUND = exports.E_DROPDOWN_DATA_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_FIBER_PRODUCT_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_DEACTIVATION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND = exports.E_CUSTOMER_NOT_FOUND = exports.E_CUSTOMER_NEW_EXTRAS_NOT_FOUND = exports.E_CUSTOMER_HANDOVER_NOT_FOUND = exports.E_CUSTOMER_HANDOVER_FILE_NOT_FOUND = exports.E_CUSTOMER_BILLING_PAYMENT_METHODS_NOT_FOUND = exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_PAYMENT_METHOD_NOT_FOUND = exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_MANDATE_NOT_FOUND = exports.E_CUSTOMER_AGGRUPATION_NOT_FOUND = exports.E_CONFIGURATION_NOT_FOUND = exports.E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND = exports.E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND = exports.E_BUNDLE_PRODUCTS_NOT_FOUND = exports.E_BATCH_PROCESS_DEFINITION_NOT_FOUND = exports.E_AUTH_NOT_FOUND = exports.E_AREA_ADDRESSES_NOT_FOUND = exports.E_APPROVAL_NOT_FOUND = exports.E_APPROVAL_DATA_TO_APPROVE_NOT_FOUND = exports.E_APPROVAL_DATA_NOT_FOUND = exports.E_APARTMENT_NOT_FOUND = exports.E_ADDRESS_NOT_FOUND = void 0;
|
|
3
|
+
exports.E_ZIP_ADDRESSES_NOT_FOUND = exports.E_WORKGROUP_NOT_FOUND = exports.E_WORK_ORDER_NOT_FOUND = exports.E_USER_NOT_FOUND = exports.E_TEMPLATE_NOT_FOUND = exports.E_TASK_NOT_FOUND = exports.E_SHOPPING_CART_NOT_FOUND = exports.E_SALE_PROCESS_NOT_FOUND = exports.E_PRODUCT_TRANSITION_GROUP_NOT_FOUND = exports.E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND = exports.E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND = exports.E_PRODUCT_CHARACTERISITC_EQUIVALENCE_NOT_FOUND = exports.E_NUMBER_FROM_POOL_NOT_FOUND = exports.E_NOT_FOUND = exports.E_LEAD_NOT_FOUND = exports.E_LEAD_FILE_NOT_FOUND = exports.E_JIRA_ISSUE_NOT_FOUND = exports.E_DROPDOWN_NOT_FOUND = exports.E_DROPDOWN_DATA_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_FIBER_PRODUCT_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_DEACTIVATION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND = exports.E_CUSTOMER_NOT_FOUND = exports.E_CUSTOMER_NEW_EXTRAS_NOT_FOUND = exports.E_CUSTOMER_HANDOVER_NOT_FOUND = exports.E_CUSTOMER_HANDOVER_FILE_NOT_FOUND = exports.E_CUSTOMER_BILLING_PAYMENT_METHODS_NOT_FOUND = exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_PAYMENT_METHOD_NOT_FOUND = exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_MANDATE_NOT_FOUND = exports.E_CUSTOMER_AGGRUPATION_NOT_FOUND = exports.E_CONFIGURATION_NOT_FOUND = exports.E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND = exports.E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND = exports.E_BUNDLE_PRODUCTS_NOT_FOUND = exports.E_BATCH_PROCESS_DEFINITION_NOT_FOUND = exports.E_AUTH_WORKGROUP_NOT_FOUND = exports.E_AUTH_NOT_FOUND = exports.E_AREA_ADDRESSES_NOT_FOUND = exports.E_APPROVAL_NOT_FOUND = exports.E_APPROVAL_DATA_TO_APPROVE_NOT_FOUND = exports.E_APPROVAL_DATA_NOT_FOUND = exports.E_APARTMENT_NOT_FOUND = exports.E_ADDRESS_NOT_FOUND = void 0;
|
|
4
4
|
exports.E_ADDRESS_NOT_FOUND = 'E_ADDRESS_NOT_FOUND';
|
|
5
5
|
exports.E_APARTMENT_NOT_FOUND = 'E_APARTMENT_NOT_FOUND';
|
|
6
6
|
exports.E_APPROVAL_DATA_NOT_FOUND = 'E_APPROVAL_DATA_NOT_FOUND';
|
|
@@ -8,6 +8,7 @@ exports.E_APPROVAL_DATA_TO_APPROVE_NOT_FOUND = 'E_APPROVAL_DATA_TO_APPROVE_NOT_F
|
|
|
8
8
|
exports.E_APPROVAL_NOT_FOUND = 'E_APPROVAL_NOT_FOUND';
|
|
9
9
|
exports.E_AREA_ADDRESSES_NOT_FOUND = 'E_AREA_ADDRESSES_NOT_FOUND';
|
|
10
10
|
exports.E_AUTH_NOT_FOUND = 'E_AUTH_NOT_FOUND';
|
|
11
|
+
exports.E_AUTH_WORKGROUP_NOT_FOUND = 'E_AUTH_WORKGROUP_NOT_FOUND';
|
|
11
12
|
exports.E_BATCH_PROCESS_DEFINITION_NOT_FOUND = 'E_BATCH_PROCESS_DEFINITION_NOT_FOUND';
|
|
12
13
|
exports.E_BUNDLE_PRODUCTS_NOT_FOUND = 'E_BUNDLE_PRODUCTS_NOT_FOUND';
|
|
13
14
|
exports.E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND = 'E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND';
|
|
@@ -19,11 +19,11 @@ export declare class CreateUserAuthWorkgroupByWorkgroupNameDto extends CreateUse
|
|
|
19
19
|
declare const PatchUserAuthWorkgroupDto_base: import("@nestjs/common").Type<Partial<Pick<UserAuthWorkgroupDto, "updated" | "active">>>;
|
|
20
20
|
export declare class PatchUserAuthWorkgroupDto extends PatchUserAuthWorkgroupDto_base {
|
|
21
21
|
}
|
|
22
|
-
export declare class
|
|
22
|
+
export declare class CreateUserAuthWorkgroupReqDto {
|
|
23
23
|
authId: number;
|
|
24
24
|
workgroupId: number;
|
|
25
25
|
}
|
|
26
|
-
export declare class
|
|
26
|
+
export declare class PatchUserAuthWorkgroupReqDto {
|
|
27
27
|
active: boolean;
|
|
28
28
|
}
|
|
29
29
|
export declare class UserAuthDto {
|
|
@@ -46,13 +46,13 @@ export declare class CreateUserAuthDto extends CreateUserAuthDto_base {
|
|
|
46
46
|
declare const PatchUserAuthDto_base: import("@nestjs/common").Type<Partial<Pick<UserAuthDto, "username" | "channel" | "role" | "updated" | "active" | "tenants" | "entraIdOid" | "firstLogin" | "lastLogin">>>;
|
|
47
47
|
export declare class PatchUserAuthDto extends PatchUserAuthDto_base {
|
|
48
48
|
}
|
|
49
|
-
export declare class
|
|
49
|
+
export declare class CreateUserAuthReqDto {
|
|
50
50
|
username: string;
|
|
51
51
|
active: boolean;
|
|
52
52
|
role?: UserRoleType;
|
|
53
53
|
tenants: string[];
|
|
54
54
|
}
|
|
55
|
-
export declare class
|
|
55
|
+
export declare class PatchUserAuthReqDto {
|
|
56
56
|
username?: string;
|
|
57
57
|
active?: boolean;
|
|
58
58
|
role?: UserRoleType;
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.UserLoggedDto = exports.UserTokenLoginDto = exports.UserLoginDto = exports.UserPermissionResDto = exports.UserDataAccessDto = exports.UserPermissionDto = exports.UserWorkgroupDto = exports.
|
|
12
|
+
exports.UserLoggedDto = exports.UserTokenLoginDto = exports.UserLoginDto = exports.UserPermissionResDto = exports.UserDataAccessDto = exports.UserPermissionDto = exports.UserWorkgroupDto = exports.PatchUserAuthReqDto = exports.CreateUserAuthReqDto = exports.PatchUserAuthDto = exports.CreateUserAuthDto = exports.UserAuthDto = exports.PatchUserAuthWorkgroupReqDto = exports.CreateUserAuthWorkgroupReqDto = exports.PatchUserAuthWorkgroupDto = exports.CreateUserAuthWorkgroupByWorkgroupNameDto = exports.CreateUserAuthWorkgroupDto = exports.UserAuthWorkgroupDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const user_1 = require("../../admin/user");
|
|
15
15
|
const swagger_1 = require("@nestjs/swagger");
|
|
@@ -39,30 +39,30 @@ class PatchUserAuthWorkgroupDto extends (0, swagger_1.PartialType)((0, swagger_1
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
exports.PatchUserAuthWorkgroupDto = PatchUserAuthWorkgroupDto;
|
|
42
|
-
class
|
|
42
|
+
class CreateUserAuthWorkgroupReqDto {
|
|
43
43
|
static _OPENAPI_METADATA_FACTORY() {
|
|
44
44
|
return { authId: { required: true, type: () => Number }, workgroupId: { required: true, type: () => Number } };
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
exports.
|
|
47
|
+
exports.CreateUserAuthWorkgroupReqDto = CreateUserAuthWorkgroupReqDto;
|
|
48
48
|
__decorate([
|
|
49
49
|
(0, class_validator_1.IsInt)(),
|
|
50
50
|
__metadata("design:type", Number)
|
|
51
|
-
],
|
|
51
|
+
], CreateUserAuthWorkgroupReqDto.prototype, "authId", void 0);
|
|
52
52
|
__decorate([
|
|
53
53
|
(0, class_validator_1.IsInt)(),
|
|
54
54
|
__metadata("design:type", Number)
|
|
55
|
-
],
|
|
56
|
-
class
|
|
55
|
+
], CreateUserAuthWorkgroupReqDto.prototype, "workgroupId", void 0);
|
|
56
|
+
class PatchUserAuthWorkgroupReqDto {
|
|
57
57
|
static _OPENAPI_METADATA_FACTORY() {
|
|
58
58
|
return { active: { required: true, type: () => Boolean } };
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
exports.
|
|
61
|
+
exports.PatchUserAuthWorkgroupReqDto = PatchUserAuthWorkgroupReqDto;
|
|
62
62
|
__decorate([
|
|
63
63
|
(0, class_validator_1.IsBoolean)(),
|
|
64
64
|
__metadata("design:type", Boolean)
|
|
65
|
-
],
|
|
65
|
+
], PatchUserAuthWorkgroupReqDto.prototype, "active", void 0);
|
|
66
66
|
class UserAuthDto {
|
|
67
67
|
static _OPENAPI_METADATA_FACTORY() {
|
|
68
68
|
return { id: { required: true, type: () => Number }, username: { required: true, type: () => String }, entraIdOid: { required: false, type: () => String }, channel: { required: false, type: () => String }, role: { required: true, type: () => String }, tenants: { required: true, type: () => [String] }, firstLogin: { required: false, type: () => Date }, lastLogin: { required: false, type: () => Date }, active: { required: true, type: () => Boolean }, authWorkgroups: { required: false, type: () => [require("./user.entity").UserAuthWorkgroupDto] }, created: { required: false, type: () => require("../common/common.entity").AuditFieldsDto }, updated: { required: false, type: () => require("../common/common.entity").AuditFieldsDto } };
|
|
@@ -81,27 +81,27 @@ class PatchUserAuthDto extends (0, swagger_1.PartialType)((0, swagger_1.PickType
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
exports.PatchUserAuthDto = PatchUserAuthDto;
|
|
84
|
-
class
|
|
84
|
+
class CreateUserAuthReqDto {
|
|
85
85
|
static _OPENAPI_METADATA_FACTORY() {
|
|
86
86
|
return { username: { required: true, type: () => String }, active: { required: true, type: () => Boolean }, role: { required: false, enum: require("../../admin/user/user.constants").UserRoleType }, tenants: { required: true, type: () => [String], minItems: 1 } };
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
exports.
|
|
89
|
+
exports.CreateUserAuthReqDto = CreateUserAuthReqDto;
|
|
90
90
|
__decorate([
|
|
91
91
|
(0, class_validator_1.IsString)(),
|
|
92
92
|
(0, class_validator_1.IsNotEmpty)(),
|
|
93
93
|
(0, _validators_1.IsNotBlank)(),
|
|
94
94
|
__metadata("design:type", String)
|
|
95
|
-
],
|
|
95
|
+
], CreateUserAuthReqDto.prototype, "username", void 0);
|
|
96
96
|
__decorate([
|
|
97
97
|
(0, class_validator_1.IsBoolean)(),
|
|
98
98
|
__metadata("design:type", Boolean)
|
|
99
|
-
],
|
|
99
|
+
], CreateUserAuthReqDto.prototype, "active", void 0);
|
|
100
100
|
__decorate([
|
|
101
101
|
(0, class_validator_1.IsEnum)(user_1.UserRoleType),
|
|
102
102
|
(0, class_validator_1.IsOptional)(),
|
|
103
103
|
__metadata("design:type", String)
|
|
104
|
-
],
|
|
104
|
+
], CreateUserAuthReqDto.prototype, "role", void 0);
|
|
105
105
|
__decorate([
|
|
106
106
|
(0, class_validator_1.IsArray)(),
|
|
107
107
|
(0, class_validator_1.ArrayMinSize)(1),
|
|
@@ -109,30 +109,30 @@ __decorate([
|
|
|
109
109
|
(0, class_validator_1.IsNotEmpty)({ each: true }),
|
|
110
110
|
(0, _validators_1.IsNotBlank)({ each: true }),
|
|
111
111
|
__metadata("design:type", Array)
|
|
112
|
-
],
|
|
113
|
-
class
|
|
112
|
+
], CreateUserAuthReqDto.prototype, "tenants", void 0);
|
|
113
|
+
class PatchUserAuthReqDto {
|
|
114
114
|
static _OPENAPI_METADATA_FACTORY() {
|
|
115
115
|
return { username: { required: false, type: () => String }, active: { required: false, type: () => Boolean }, role: { required: false, enum: require("../../admin/user/user.constants").UserRoleType }, tenants: { required: false, type: () => [String], minItems: 1 } };
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
exports.
|
|
118
|
+
exports.PatchUserAuthReqDto = PatchUserAuthReqDto;
|
|
119
119
|
__decorate([
|
|
120
120
|
(0, class_validator_1.IsString)(),
|
|
121
121
|
(0, class_validator_1.IsNotEmpty)(),
|
|
122
122
|
(0, _validators_1.IsNotBlank)(),
|
|
123
123
|
(0, class_validator_1.IsOptional)(),
|
|
124
124
|
__metadata("design:type", String)
|
|
125
|
-
],
|
|
125
|
+
], PatchUserAuthReqDto.prototype, "username", void 0);
|
|
126
126
|
__decorate([
|
|
127
127
|
(0, class_validator_1.IsBoolean)(),
|
|
128
128
|
(0, class_validator_1.IsOptional)(),
|
|
129
129
|
__metadata("design:type", Boolean)
|
|
130
|
-
],
|
|
130
|
+
], PatchUserAuthReqDto.prototype, "active", void 0);
|
|
131
131
|
__decorate([
|
|
132
132
|
(0, class_validator_1.IsEnum)(user_1.UserRoleType),
|
|
133
133
|
(0, class_validator_1.IsOptional)(),
|
|
134
134
|
__metadata("design:type", String)
|
|
135
|
-
],
|
|
135
|
+
], PatchUserAuthReqDto.prototype, "role", void 0);
|
|
136
136
|
__decorate([
|
|
137
137
|
(0, class_validator_1.IsArray)(),
|
|
138
138
|
(0, class_validator_1.ArrayMinSize)(1),
|
|
@@ -141,7 +141,7 @@ __decorate([
|
|
|
141
141
|
(0, _validators_1.IsNotBlank)({ each: true }),
|
|
142
142
|
(0, class_validator_1.IsOptional)(),
|
|
143
143
|
__metadata("design:type", Array)
|
|
144
|
-
],
|
|
144
|
+
], PatchUserAuthReqDto.prototype, "tenants", void 0);
|
|
145
145
|
class UserWorkgroupDto {
|
|
146
146
|
static _OPENAPI_METADATA_FACTORY() {
|
|
147
147
|
return { id: { required: true, type: () => Number }, name: { required: true, type: () => String }, description: { required: true, type: () => String }, permissions: { required: true, type: () => [require("./user.entity").UserPermissionDto] }, dataAccess: { required: true, type: () => [require("./user.entity").UserDataAccessDto] } };
|