@silexpert/core 1.1.291 → 1.1.293
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/cjs/api/resources/User.d.ts +3 -1
- package/dist/cjs/api/resources/User.d.ts.map +1 -1
- package/dist/cjs/api/resources/User.js +9 -0
- package/dist/cjs/api/resources/User.js.map +1 -1
- package/dist/cjs/api/resources/UserSocietyPermission.d.ts +11 -0
- package/dist/cjs/api/resources/UserSocietyPermission.d.ts.map +1 -0
- package/dist/cjs/api/resources/UserSocietyPermission.js +26 -0
- package/dist/cjs/api/resources/UserSocietyPermission.js.map +1 -0
- package/dist/cjs/api/resources.d.ts +2 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/UpdateUserToSocietyWithPermission.d.ts +6 -7
- package/dist/cjs/types/Interface/api/society/UpdateUserToSocietyWithPermission.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/society/UpdateUserToSocietyWithPermission.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/CreateUser.d.ts +3 -0
- package/dist/cjs/types/Interface/api/user/CreateUser.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/CreateUser.js +22 -0
- package/dist/cjs/types/Interface/api/user/CreateUser.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/Query.d.ts +44 -0
- package/dist/cjs/types/Interface/api/user/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/user/Query.js +191 -0
- package/dist/cjs/types/Interface/api/user/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/CreateSocietyPermission.d.ts +8 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/CreateSocietyPermission.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{user/QueryGetAllFromSociety.js → userSocietyPermission/CreateSocietyPermission.js} +18 -22
- package/dist/cjs/types/Interface/api/userSocietyPermission/CreateSocietyPermission.js.map +1 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/CreateSocietyPermissionForExistingUser.d.ts +10 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/CreateSocietyPermissionForExistingUser.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{user/QueryGetAllCollaboratorsByRoles.js → userSocietyPermission/CreateSocietyPermissionForExistingUser.js} +23 -15
- package/dist/cjs/types/Interface/api/userSocietyPermission/CreateSocietyPermissionForExistingUser.js.map +1 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/GetAllSocietyPermission.d.ts +6 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/GetAllSocietyPermission.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{user/QuerySocieties.js → userSocietyPermission/GetAllSocietyPermission.js} +11 -8
- package/dist/cjs/types/Interface/api/userSocietyPermission/GetAllSocietyPermission.js.map +1 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/GetPaginatedUserSocietyPermission.d.ts +6 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/GetPaginatedUserSocietyPermission.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{user/QueryUpdatePassword.js → userSocietyPermission/GetPaginatedUserSocietyPermission.js} +11 -16
- package/dist/cjs/types/Interface/api/userSocietyPermission/GetPaginatedUserSocietyPermission.js.map +1 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/QueryDeleteSocietyPermission.d.ts +5 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/QueryDeleteSocietyPermission.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{user/QueryConfirm.js → userSocietyPermission/QueryDeleteSocietyPermission.js} +11 -8
- package/dist/cjs/types/Interface/api/userSocietyPermission/QueryDeleteSocietyPermission.js.map +1 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.d.ts +12 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.js +66 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.js.map +1 -0
- package/dist/cjs/types/index.d.ts +7 -9
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +7 -9
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/User.d.ts +3 -1
- package/dist/mjs/api/resources/User.d.ts.map +1 -1
- package/dist/mjs/api/resources/User.js +9 -0
- package/dist/mjs/api/resources/User.js.map +1 -1
- package/dist/mjs/api/resources/UserSocietyPermission.d.ts +11 -0
- package/dist/mjs/api/resources/UserSocietyPermission.d.ts.map +1 -0
- package/dist/mjs/api/resources/UserSocietyPermission.js +22 -0
- package/dist/mjs/api/resources/UserSocietyPermission.js.map +1 -0
- package/dist/mjs/api/resources.d.ts +2 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/UpdateUserToSocietyWithPermission.d.ts +6 -7
- package/dist/mjs/types/Interface/api/society/UpdateUserToSocietyWithPermission.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/society/UpdateUserToSocietyWithPermission.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/CreateUser.d.ts +3 -0
- package/dist/mjs/types/Interface/api/user/CreateUser.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/CreateUser.js +25 -0
- package/dist/mjs/types/Interface/api/user/CreateUser.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/Query.d.ts +44 -0
- package/dist/mjs/types/Interface/api/user/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/user/Query.js +200 -0
- package/dist/mjs/types/Interface/api/user/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/CreateSocietyPermission.d.ts +8 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/CreateSocietyPermission.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{user/QueryUpdatePassword.js → userSocietyPermission/CreateSocietyPermission.js} +21 -16
- package/dist/mjs/types/Interface/api/userSocietyPermission/CreateSocietyPermission.js.map +1 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/CreateSocietyPermissionForExistingUser.d.ts +10 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/CreateSocietyPermissionForExistingUser.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{user/QueryGetAllFromSociety.js → userSocietyPermission/CreateSocietyPermissionForExistingUser.js} +20 -22
- package/dist/mjs/types/Interface/api/userSocietyPermission/CreateSocietyPermissionForExistingUser.js.map +1 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/GetAllSocietyPermission.d.ts +6 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/GetAllSocietyPermission.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{user/QuerySocieties.js → userSocietyPermission/GetAllSocietyPermission.js} +12 -8
- package/dist/mjs/types/Interface/api/userSocietyPermission/GetAllSocietyPermission.js.map +1 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/GetPaginatedUserSocietyPermission.d.ts +6 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/GetPaginatedUserSocietyPermission.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{user/QueryGetAllCollaborators.js → userSocietyPermission/GetPaginatedUserSocietyPermission.js} +12 -17
- package/dist/mjs/types/Interface/api/userSocietyPermission/GetPaginatedUserSocietyPermission.js.map +1 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/QueryDeleteSocietyPermission.d.ts +5 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/QueryDeleteSocietyPermission.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{user/QueryResendConfirmationLink.js → userSocietyPermission/QueryDeleteSocietyPermission.js} +11 -3
- package/dist/mjs/types/Interface/api/userSocietyPermission/QueryDeleteSocietyPermission.js.map +1 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.d.ts +12 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.js +70 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.js.map +1 -0
- package/dist/mjs/types/index.d.ts +7 -9
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +7 -9
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/User.ts +10 -0
- package/ts/api/resources/UserSocietyPermission.ts +28 -0
- package/ts/api/resources.ts +3 -1
- package/ts/types/Interface/api/society/UpdateUserToSocietyWithPermission.ts +6 -7
- package/ts/types/Interface/api/user/CreateUser.ts +17 -0
- package/ts/types/Interface/api/user/Query.ts +153 -0
- package/ts/types/Interface/api/userSocietyPermission/CreateSocietyPermission.ts +25 -0
- package/ts/types/Interface/api/userSocietyPermission/CreateSocietyPermissionForExistingUser.ts +26 -0
- package/ts/types/Interface/api/userSocietyPermission/GetAllSocietyPermission.ts +13 -0
- package/ts/types/Interface/api/userSocietyPermission/GetPaginatedUserSocietyPermission.ts +15 -0
- package/ts/types/Interface/api/userSocietyPermission/QueryDeleteSocietyPermission.ts +13 -0
- package/ts/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.ts +47 -0
- package/ts/types/index.ts +8 -9
- package/dist/cjs/types/Interface/api/user/QueryConfirm.d.ts +0 -5
- package/dist/cjs/types/Interface/api/user/QueryConfirm.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/user/QueryConfirm.js.map +0 -1
- package/dist/cjs/types/Interface/api/user/QueryGetAllCollaborators.d.ts +0 -5
- package/dist/cjs/types/Interface/api/user/QueryGetAllCollaborators.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/user/QueryGetAllCollaborators.js +0 -36
- package/dist/cjs/types/Interface/api/user/QueryGetAllCollaborators.js.map +0 -1
- package/dist/cjs/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.d.ts +0 -5
- package/dist/cjs/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +0 -1
- package/dist/cjs/types/Interface/api/user/QueryGetAllFromSociety.d.ts +0 -6
- package/dist/cjs/types/Interface/api/user/QueryGetAllFromSociety.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/user/QueryGetAllFromSociety.js.map +0 -1
- package/dist/cjs/types/Interface/api/user/QueryGetAllWithoutBp.d.ts +0 -4
- package/dist/cjs/types/Interface/api/user/QueryGetAllWithoutBp.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/user/QueryGetAllWithoutBp.js +0 -26
- package/dist/cjs/types/Interface/api/user/QueryGetAllWithoutBp.js.map +0 -1
- package/dist/cjs/types/Interface/api/user/QueryResendConfirmationLink.d.ts +0 -4
- package/dist/cjs/types/Interface/api/user/QueryResendConfirmationLink.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/user/QueryResendConfirmationLink.js +0 -21
- package/dist/cjs/types/Interface/api/user/QueryResendConfirmationLink.js.map +0 -1
- package/dist/cjs/types/Interface/api/user/QuerySocieties.d.ts +0 -5
- package/dist/cjs/types/Interface/api/user/QuerySocieties.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/user/QuerySocieties.js.map +0 -1
- package/dist/cjs/types/Interface/api/user/QueryUpdatePassword.d.ts +0 -6
- package/dist/cjs/types/Interface/api/user/QueryUpdatePassword.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/user/QueryUpdatePassword.js.map +0 -1
- package/dist/cjs/types/Interface/api/user/QueryUserSmsConfirmation.d.ts +0 -4
- package/dist/cjs/types/Interface/api/user/QueryUserSmsConfirmation.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/user/QueryUserSmsConfirmation.js +0 -21
- package/dist/cjs/types/Interface/api/user/QueryUserSmsConfirmation.js.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryConfirm.d.ts +0 -5
- package/dist/mjs/types/Interface/api/user/QueryConfirm.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryConfirm.js +0 -23
- package/dist/mjs/types/Interface/api/user/QueryConfirm.js.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryGetAllCollaborators.d.ts +0 -5
- package/dist/mjs/types/Interface/api/user/QueryGetAllCollaborators.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryGetAllCollaborators.js.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.d.ts +0 -5
- package/dist/mjs/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js +0 -31
- package/dist/mjs/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.js.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryGetAllFromSociety.d.ts +0 -6
- package/dist/mjs/types/Interface/api/user/QueryGetAllFromSociety.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryGetAllFromSociety.js.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryGetAllWithoutBp.d.ts +0 -4
- package/dist/mjs/types/Interface/api/user/QueryGetAllWithoutBp.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryGetAllWithoutBp.js +0 -23
- package/dist/mjs/types/Interface/api/user/QueryGetAllWithoutBp.js.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryResendConfirmationLink.d.ts +0 -4
- package/dist/mjs/types/Interface/api/user/QueryResendConfirmationLink.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryResendConfirmationLink.js.map +0 -1
- package/dist/mjs/types/Interface/api/user/QuerySocieties.d.ts +0 -5
- package/dist/mjs/types/Interface/api/user/QuerySocieties.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/user/QuerySocieties.js.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryUpdatePassword.d.ts +0 -6
- package/dist/mjs/types/Interface/api/user/QueryUpdatePassword.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryUpdatePassword.js.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryUserSmsConfirmation.d.ts +0 -4
- package/dist/mjs/types/Interface/api/user/QueryUserSmsConfirmation.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/user/QueryUserSmsConfirmation.js +0 -18
- package/dist/mjs/types/Interface/api/user/QueryUserSmsConfirmation.js.map +0 -1
- package/ts/types/Interface/api/user/QueryConfirm.ts +0 -9
- package/ts/types/Interface/api/user/QueryGetAllCollaborators.ts +0 -22
- package/ts/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.ts +0 -17
- package/ts/types/Interface/api/user/QueryGetAllFromSociety.ts +0 -29
- package/ts/types/Interface/api/user/QueryGetAllWithoutBp.ts +0 -11
- package/ts/types/Interface/api/user/QueryResendConfirmationLink.ts +0 -6
- package/ts/types/Interface/api/user/QuerySocieties.ts +0 -11
- package/ts/types/Interface/api/user/QueryUpdatePassword.ts +0 -21
- package/ts/types/Interface/api/user/QueryUserSmsConfirmation.ts +0 -6
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { IsEmail, IsObject, IsOptional, IsString, IsStrongPassword } from 'class-validator';
|
|
2
2
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
import { Permissions } from '../user/Permissions';
|
|
4
3
|
import { IPermission } from '../../models/IPermission';
|
|
5
4
|
|
|
6
5
|
export class UpdateUserToSocietyWithPermission {
|
|
7
6
|
@ApiPropertyOptional()
|
|
8
|
-
email
|
|
7
|
+
email?: string;
|
|
9
8
|
@ApiPropertyOptional()
|
|
10
|
-
phone
|
|
9
|
+
phone?: string;
|
|
11
10
|
@ApiPropertyOptional()
|
|
12
|
-
password
|
|
11
|
+
password?: string;
|
|
13
12
|
@ApiPropertyOptional()
|
|
14
|
-
firstname
|
|
13
|
+
firstname?: string;
|
|
15
14
|
@ApiPropertyOptional()
|
|
16
|
-
lastname
|
|
15
|
+
lastname?: string;
|
|
17
16
|
@ApiPropertyOptional()
|
|
18
|
-
permissions
|
|
17
|
+
permissions?: Partial<IPermission>;
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
export class UpdateUserSociety {
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
import { IsBoolean, IsOptional } from 'class-validator';
|
|
1
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
2
4
|
|
|
3
5
|
export class CreateUser {
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
@IsOptional()
|
|
8
|
+
username?: string;
|
|
4
9
|
@ApiProperty()
|
|
5
10
|
email: string;
|
|
6
11
|
@ApiProperty()
|
|
@@ -14,11 +19,23 @@ export class CreateUser {
|
|
|
14
19
|
@ApiProperty()
|
|
15
20
|
acceptCgv?: boolean; // not sure if needed (maybe more a front notion)
|
|
16
21
|
@ApiPropertyOptional()
|
|
22
|
+
@IsOptional()
|
|
17
23
|
acceptNewsletter?: boolean;
|
|
24
|
+
@ApiPropertyOptional()
|
|
25
|
+
@IsOptional()
|
|
26
|
+
isNewProspect?: boolean;
|
|
27
|
+
|
|
28
|
+
@ApiPropertyOptional()
|
|
29
|
+
@IsOptional()
|
|
30
|
+
@IsBoolean()
|
|
31
|
+
@ToBoolean()
|
|
32
|
+
active?: boolean;
|
|
18
33
|
|
|
19
34
|
@ApiPropertyOptional()
|
|
35
|
+
@IsOptional()
|
|
20
36
|
prefix?: string;
|
|
21
37
|
|
|
22
38
|
@ApiPropertyOptional()
|
|
39
|
+
@IsOptional()
|
|
23
40
|
affiliateTrackingId?: number;
|
|
24
41
|
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsArray,
|
|
3
|
+
IsBoolean,
|
|
4
|
+
IsIn, IsInt, IsNumber, IsOptional, IsString,
|
|
5
|
+
Min,
|
|
6
|
+
} from 'class-validator';
|
|
7
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
8
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
9
|
+
import { SubscriptionType } from '../../../Enum/SubscriptionType';
|
|
10
|
+
|
|
11
|
+
export class QueryConfirm {
|
|
12
|
+
@ApiProperty()
|
|
13
|
+
tokenConfirmedAt: string;
|
|
14
|
+
|
|
15
|
+
@ApiProperty()
|
|
16
|
+
email: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
export class QueryGetAllCollaborators {
|
|
21
|
+
@ApiProperty({
|
|
22
|
+
description: 'filtering users id',
|
|
23
|
+
required: false,
|
|
24
|
+
type: [Number],
|
|
25
|
+
example: [1, 13],
|
|
26
|
+
})
|
|
27
|
+
idUser?: number[];
|
|
28
|
+
|
|
29
|
+
@ApiPropertyOptional()
|
|
30
|
+
@IsOptional()
|
|
31
|
+
@IsString({
|
|
32
|
+
each: true,
|
|
33
|
+
})
|
|
34
|
+
@IsIn(['avatar', 'teams', 'businessLines', 'collaboraterDetails'], { each: true })
|
|
35
|
+
include?: string[];
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export class QueryGetAllCollaboratorsByRoles {
|
|
39
|
+
@ApiPropertyOptional()
|
|
40
|
+
@IsOptional()
|
|
41
|
+
@IsInt()
|
|
42
|
+
idTimeCounterType?: number;
|
|
43
|
+
|
|
44
|
+
@ApiProperty({
|
|
45
|
+
description: 'roles used for group users',
|
|
46
|
+
required: true,
|
|
47
|
+
type: [Number],
|
|
48
|
+
example: [1, 13],
|
|
49
|
+
})
|
|
50
|
+
idRoles: number[];
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class QueryGetAllFromSociety {
|
|
54
|
+
@ApiProperty({
|
|
55
|
+
description: 'id of the specified society',
|
|
56
|
+
required: true,
|
|
57
|
+
type: Number,
|
|
58
|
+
example: 100,
|
|
59
|
+
})
|
|
60
|
+
idSociety: number;
|
|
61
|
+
|
|
62
|
+
@ApiProperty({
|
|
63
|
+
description: 'array of roles id needed to return list of users',
|
|
64
|
+
required: true,
|
|
65
|
+
type: [Number],
|
|
66
|
+
example: [1, 13],
|
|
67
|
+
})
|
|
68
|
+
roles: number[];
|
|
69
|
+
|
|
70
|
+
@ApiPropertyOptional()
|
|
71
|
+
@IsOptional()
|
|
72
|
+
@IsBoolean()
|
|
73
|
+
@ToBoolean()
|
|
74
|
+
usersNotInBusinessPartner?: boolean;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export class QueryGetAllWithoutBp {
|
|
78
|
+
@ApiProperty({
|
|
79
|
+
description: 'id of the specified society',
|
|
80
|
+
required: true,
|
|
81
|
+
type: Number,
|
|
82
|
+
example: 100,
|
|
83
|
+
})
|
|
84
|
+
idSociety: number;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export class QueryResendConfirmationLink {
|
|
88
|
+
@ApiProperty()
|
|
89
|
+
id: number;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export class QueryUserSociety {
|
|
93
|
+
@ApiPropertyOptional()
|
|
94
|
+
@IsNumber()
|
|
95
|
+
@IsOptional()
|
|
96
|
+
idSubscriptionType?: SubscriptionType;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export class QueryUpdatePassword {
|
|
100
|
+
@ApiProperty()
|
|
101
|
+
@IsString()
|
|
102
|
+
password: string;
|
|
103
|
+
|
|
104
|
+
@ApiPropertyOptional()
|
|
105
|
+
@IsOptional()
|
|
106
|
+
@IsInt()
|
|
107
|
+
@Min(1)
|
|
108
|
+
id?: number | null;
|
|
109
|
+
|
|
110
|
+
@ApiPropertyOptional()
|
|
111
|
+
@IsOptional()
|
|
112
|
+
@IsString()
|
|
113
|
+
token?: string | null;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export class QueryUserSmsConfirmation {
|
|
117
|
+
@ApiProperty()
|
|
118
|
+
code: string;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export class QueryUserExport {
|
|
122
|
+
@ApiPropertyOptional()
|
|
123
|
+
@IsOptional()
|
|
124
|
+
@IsString()
|
|
125
|
+
dateStart?: string;
|
|
126
|
+
|
|
127
|
+
@ApiPropertyOptional()
|
|
128
|
+
@IsOptional()
|
|
129
|
+
@IsString()
|
|
130
|
+
dateEnd?: string;
|
|
131
|
+
|
|
132
|
+
@ApiPropertyOptional()
|
|
133
|
+
@IsOptional()
|
|
134
|
+
@IsBoolean()
|
|
135
|
+
@ToBoolean()
|
|
136
|
+
archive?: boolean;
|
|
137
|
+
|
|
138
|
+
@ApiPropertyOptional()
|
|
139
|
+
@IsOptional()
|
|
140
|
+
@IsNumber()
|
|
141
|
+
week?: number;
|
|
142
|
+
|
|
143
|
+
@ApiPropertyOptional()
|
|
144
|
+
@IsOptional()
|
|
145
|
+
@IsNumber()
|
|
146
|
+
idTypeSubscription?: number;
|
|
147
|
+
|
|
148
|
+
@ApiPropertyOptional()
|
|
149
|
+
@IsOptional()
|
|
150
|
+
@IsArray()
|
|
151
|
+
reason?: number[];
|
|
152
|
+
}
|
|
153
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsBoolean, IsInt, IsOptional,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
import { IPermission } from '../../../index';
|
|
6
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
7
|
+
|
|
8
|
+
export class CreateSocietyPermission {
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsInt()
|
|
11
|
+
idSociety: number;
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
@IsInt()
|
|
15
|
+
idUser: number;
|
|
16
|
+
|
|
17
|
+
@ApiProperty()
|
|
18
|
+
permissions: Partial<IPermission>;
|
|
19
|
+
|
|
20
|
+
@ApiPropertyOptional()
|
|
21
|
+
@IsBoolean()
|
|
22
|
+
@ToBoolean()
|
|
23
|
+
@IsOptional()
|
|
24
|
+
isOwner?: boolean;
|
|
25
|
+
}
|
package/ts/types/Interface/api/userSocietyPermission/CreateSocietyPermissionForExistingUser.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsArray, IsBoolean, IsInt, IsOptional,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
6
|
+
import { IPermission } from '../../../index';
|
|
7
|
+
|
|
8
|
+
export class CreateSocietyPermissionForExistingUser {
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsInt()
|
|
11
|
+
id: number;
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
@IsArray()
|
|
15
|
+
@IsInt({ each: true })
|
|
16
|
+
idSociety: number | number[];
|
|
17
|
+
|
|
18
|
+
@ApiProperty()
|
|
19
|
+
permissions: Partial<IPermission> | { [key: number]: Partial<IPermission> };
|
|
20
|
+
|
|
21
|
+
@ApiPropertyOptional()
|
|
22
|
+
@IsBoolean()
|
|
23
|
+
@ToBoolean()
|
|
24
|
+
@IsOptional()
|
|
25
|
+
isOwner?: boolean;
|
|
26
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IsOptional } from 'class-validator';
|
|
2
|
+
import { Includeable } from 'sequelize';
|
|
3
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
4
|
+
|
|
5
|
+
export class GetAllSocietyPermission {
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
@IsOptional()
|
|
8
|
+
include?: Includeable[];
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
@IsOptional()
|
|
12
|
+
order?: [string, 'ASC' | 'DESC'];
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IsOptional, IsString, IsArray } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { OptionalQueryPaginate } from '../BasePaginate';
|
|
4
|
+
|
|
5
|
+
export class GetPaginatedUserSocietyPermission extends OptionalQueryPaginate {
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
@IsOptional()
|
|
8
|
+
@IsArray()
|
|
9
|
+
@IsString({ each: true })
|
|
10
|
+
include?: string[];
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsOptional()
|
|
14
|
+
order?: [string, 'ASC' | 'DESC'];
|
|
15
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsArray, IsBoolean, IsInt, IsOptional,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
import { IUser, IUserSocietyPermission, IPermission } from '../../../index';
|
|
6
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
7
|
+
|
|
8
|
+
export class UpdateSocietyPermission {
|
|
9
|
+
@ApiPropertyOptional()
|
|
10
|
+
@IsOptional()
|
|
11
|
+
@IsInt()
|
|
12
|
+
idSociety?: number;
|
|
13
|
+
|
|
14
|
+
@ApiPropertyOptional()
|
|
15
|
+
@IsOptional()
|
|
16
|
+
@IsInt()
|
|
17
|
+
idUser?: number;
|
|
18
|
+
|
|
19
|
+
@ApiPropertyOptional()
|
|
20
|
+
@IsOptional()
|
|
21
|
+
permissions?: Partial<IPermission>;
|
|
22
|
+
|
|
23
|
+
@ApiPropertyOptional()
|
|
24
|
+
@IsBoolean()
|
|
25
|
+
@ToBoolean()
|
|
26
|
+
@IsOptional()
|
|
27
|
+
isOwner?: boolean;
|
|
28
|
+
|
|
29
|
+
@ApiPropertyOptional()
|
|
30
|
+
@IsOptional()
|
|
31
|
+
user?: IUser;
|
|
32
|
+
|
|
33
|
+
@ApiPropertyOptional()
|
|
34
|
+
@IsOptional()
|
|
35
|
+
@IsArray()
|
|
36
|
+
@IsInt({ each: true })
|
|
37
|
+
roles?: number[];
|
|
38
|
+
|
|
39
|
+
@ApiPropertyOptional()
|
|
40
|
+
@IsOptional()
|
|
41
|
+
newOwner?: Partial<IUserSocietyPermission>;
|
|
42
|
+
|
|
43
|
+
@ApiPropertyOptional()
|
|
44
|
+
@IsOptional()
|
|
45
|
+
@IsInt()
|
|
46
|
+
idPermission?: number;
|
|
47
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -581,20 +581,12 @@ export * from './Interface/api/accountingTransaction/QueryTransaction';
|
|
|
581
581
|
export * from './Interface/api/accountingTransaction/DeleteInvoices';
|
|
582
582
|
export * from './Interface/api/accountingTransaction/GetTransactionsBetweenDates';
|
|
583
583
|
export * from './Interface/api/accountingTransaction/QueryBankAccountSum';
|
|
584
|
-
export * from './Interface/api/user/
|
|
585
|
-
export * from './Interface/api/user/QuerySocieties';
|
|
586
|
-
export * from './Interface/api/user/QueryGetAllFromSociety';
|
|
587
|
-
export * from './Interface/api/user/QueryGetAllWithoutBp';
|
|
588
|
-
export * from './Interface/api/user/QueryGetAllCollaborators';
|
|
589
|
-
export * from './Interface/api/user/QueryGetAllCollaboratorsByRoles';
|
|
590
|
-
export * from './Interface/api/user/QueryResendConfirmationLink';
|
|
591
|
-
export * from './Interface/api/user/QueryUpdatePassword';
|
|
584
|
+
export * from './Interface/api/user/Query';
|
|
592
585
|
export * from './Interface/api/user/CreateUser';
|
|
593
586
|
export * from './Interface/api/user/ParamsGetAll';
|
|
594
587
|
export * from './Interface/api/user/ParamsGetAllUserWithRoles';
|
|
595
588
|
export * from './Interface/api/user/ParamsGetAllCollaborators';
|
|
596
589
|
export * from './Interface/api/user/CreateCoworker';
|
|
597
|
-
export * from './Interface/api/user/QueryUserSmsConfirmation';
|
|
598
590
|
export * from './Interface/api/user/Permissions';
|
|
599
591
|
export * from './Interface/api/user/CollaboratorsByRoles';
|
|
600
592
|
export * from './Interface/api/account/Read';
|
|
@@ -1061,6 +1053,13 @@ export * from './Interface/api/regulation/Query';
|
|
|
1061
1053
|
export * from './Interface/api/terminationList/Read';
|
|
1062
1054
|
export * from './Interface/api/letter/Query';
|
|
1063
1055
|
export * from './Interface/api/letter/Read';
|
|
1056
|
+
export * from './Interface/api/userSocietyPermission/CreateSocietyPermission';
|
|
1057
|
+
export * from './Interface/api/userSocietyPermission/UpdateSocietyPermission';
|
|
1058
|
+
export * from './Interface/api/userSocietyPermission/CreateSocietyPermissionForExistingUser';
|
|
1059
|
+
export * from './Interface/api/userSocietyPermission/GetAllSocietyPermission';
|
|
1060
|
+
export * from './Interface/api/userSocietyPermission/GetPaginatedUserSocietyPermission';
|
|
1061
|
+
export * from './Interface/api/userSocietyPermission/QueryDeleteSocietyPermission';
|
|
1062
|
+
|
|
1064
1063
|
|
|
1065
1064
|
// Enums types
|
|
1066
1065
|
export * from './Interface/enum/Util';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryConfirm.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QueryConfirm.ts"],"names":[],"mappings":"AAEA,qBAAa,YAAY;IAErB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,KAAK,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryConfirm.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QueryConfirm.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgD;AAEhD,MAAa,YAAY;CAMxB;AALC;IAAC,IAAA,mBAAW,GAAE;;sDACa;AAE3B;IAAC,IAAA,mBAAW,GAAE;;2CACE;AALlB,oCAMC","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryConfirm {\n @ApiProperty()\n tokenConfirmedAt: string;\n\n @ApiProperty()\n email: string;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGetAllCollaborators.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QueryGetAllCollaborators.ts"],"names":[],"mappings":"AAKA,qBAAa,wBAAwB;IAOjC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAQlB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB"}
|
|
@@ -1,36 +0,0 @@
|
|
|
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.QueryGetAllCollaborators = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const utils_1 = require("../../../../utils");
|
|
15
|
-
class QueryGetAllCollaborators {
|
|
16
|
-
}
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, utils_1.ApiProperty)({
|
|
19
|
-
description: 'filtering users id',
|
|
20
|
-
required: false,
|
|
21
|
-
type: [Number],
|
|
22
|
-
example: [1, 13],
|
|
23
|
-
}),
|
|
24
|
-
__metadata("design:type", Array)
|
|
25
|
-
], QueryGetAllCollaborators.prototype, "idUser", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
28
|
-
(0, class_validator_1.IsOptional)(),
|
|
29
|
-
(0, class_validator_1.IsString)({
|
|
30
|
-
each: true,
|
|
31
|
-
}),
|
|
32
|
-
(0, class_validator_1.IsIn)(['avatar', 'teams', 'businessLines', 'collaboraterDetails'], { each: true }),
|
|
33
|
-
__metadata("design:type", Array)
|
|
34
|
-
], QueryGetAllCollaborators.prototype, "include", void 0);
|
|
35
|
-
exports.QueryGetAllCollaborators = QueryGetAllCollaborators;
|
|
36
|
-
//# sourceMappingURL=QueryGetAllCollaborators.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGetAllCollaborators.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QueryGetAllCollaborators.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAEyB;AACzB,6CAAqE;AAErE,MAAa,wBAAwB;CAgBpC;AAfC;IAAC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,oBAAoB;QACjC,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;KACjB,CAAC;;wDACkB;AAEpB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;IACD,IAAA,sBAAI,EAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,eAAe,EAAE,qBAAqB,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;yDAC7D;AAfvB,4DAgBC","sourcesContent":["import {\n IsIn, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryGetAllCollaborators {\n @ApiProperty({\n description: 'filtering users id',\n required: false,\n type: [Number],\n example: [1, 13],\n })\n idUser?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['avatar', 'teams', 'businessLines', 'collaboraterDetails'], { each: true })\n include?: string[];\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGetAllCollaboratorsByRoles.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.ts"],"names":[],"mappings":"AAGA,qBAAa,+BAA+B;IAIxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAQ3B,OAAO,EAAE,MAAM,EAAE,CAAC;CACrB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGetAllCollaboratorsByRoles.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QueryGetAllCollaboratorsByRoles.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoD;AACpD,6CAAqE;AAErE,MAAa,+BAA+B;CAa3C;AAZC;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0EACqB;AAE7B;IAAC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,4BAA4B;QACzC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;KACjB,CAAC;;gEACkB;AAZtB,0EAaC","sourcesContent":["import { IsInt, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryGetAllCollaboratorsByRoles {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTimeCounterType?: number;\n\n @ApiProperty({\n description: 'roles used for group users',\n required: true,\n type: [Number],\n example: [1, 13],\n })\n idRoles: number[];\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGetAllFromSociety.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QueryGetAllFromSociety.ts"],"names":[],"mappings":"AAMA,qBAAa,sBAAsB;IAO/B,SAAS,EAAE,MAAM,CAAC;IAQlB,KAAK,EAAE,MAAM,EAAE,CAAC;IAMhB,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACvC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGetAllFromSociety.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QueryGetAllFromSociety.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,qDAEyB;AACzB,sFAA2E;AAE3E,MAAa,sBAAsB;CAsBlC;AArBC;IAAC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,6BAA6B;QAC1C,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,GAAG;KACb,CAAC;;yDACkB;AAEpB;IAAC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,kDAAkD;QAC/D,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;KACjB,CAAC;;qDACgB;AAElB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;yEAC0B;AArBxC,wDAsBC","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport {\n IsBoolean, IsOptional, \n} from 'class-validator';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryGetAllFromSociety {\n @ApiProperty({\n description: 'id of the specified society',\n required: true,\n type: Number,\n example: 100,\n })\n idSociety: number;\n\n @ApiProperty({\n description: 'array of roles id needed to return list of users',\n required: true,\n type: [Number],\n example: [1, 13],\n })\n roles: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n usersNotInBusinessPartner?: boolean;\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGetAllWithoutBp.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QueryGetAllWithoutBp.ts"],"names":[],"mappings":"AAEA,qBAAa,oBAAoB;IAO7B,SAAS,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -1,26 +0,0 @@
|
|
|
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.QueryGetAllWithoutBp = void 0;
|
|
13
|
-
const utils_1 = require("../../../../utils");
|
|
14
|
-
class QueryGetAllWithoutBp {
|
|
15
|
-
}
|
|
16
|
-
__decorate([
|
|
17
|
-
(0, utils_1.ApiProperty)({
|
|
18
|
-
description: 'id of the specified society',
|
|
19
|
-
required: true,
|
|
20
|
-
type: Number,
|
|
21
|
-
example: 100,
|
|
22
|
-
}),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], QueryGetAllWithoutBp.prototype, "idSociety", void 0);
|
|
25
|
-
exports.QueryGetAllWithoutBp = QueryGetAllWithoutBp;
|
|
26
|
-
//# sourceMappingURL=QueryGetAllWithoutBp.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGetAllWithoutBp.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QueryGetAllWithoutBp.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgD;AAEhD,MAAa,oBAAoB;CAQhC;AAPC;IAAC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,6BAA6B;QAC1C,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,GAAG;KACb,CAAC;;uDACkB;AAPtB,oDAQC","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryGetAllWithoutBp {\n @ApiProperty({\n description: 'id of the specified society',\n required: true,\n type: Number,\n example: 100,\n })\n idSociety: number;\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryResendConfirmationLink.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QueryResendConfirmationLink.ts"],"names":[],"mappings":"AAEA,qBAAa,2BAA2B;IAEpC,EAAE,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -1,21 +0,0 @@
|
|
|
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.QueryResendConfirmationLink = void 0;
|
|
13
|
-
const utils_1 = require("../../../../utils");
|
|
14
|
-
class QueryResendConfirmationLink {
|
|
15
|
-
}
|
|
16
|
-
__decorate([
|
|
17
|
-
(0, utils_1.ApiProperty)(),
|
|
18
|
-
__metadata("design:type", Number)
|
|
19
|
-
], QueryResendConfirmationLink.prototype, "id", void 0);
|
|
20
|
-
exports.QueryResendConfirmationLink = QueryResendConfirmationLink;
|
|
21
|
-
//# sourceMappingURL=QueryResendConfirmationLink.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryResendConfirmationLink.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QueryResendConfirmationLink.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgD;AAEhD,MAAa,2BAA2B;CAGvC;AAFC;IAAC,IAAA,mBAAW,GAAE;;uDACD;AAFf,kEAGC","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class QueryResendConfirmationLink {\n @ApiProperty()\n id: number;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QuerySocieties.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QuerySocieties.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAGlE,qBAAa,gBAAgB;IAIzB,kBAAkB,CAAC,EAAE,gBAAgB,CAAC;CACzC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QuerySocieties.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QuerySocieties.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,6CAAwD;AACxD,qEAAkE;AAGlE,MAAa,gBAAgB;CAK5B;AAJC;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DAC2B;AAJ1C,4CAKC","sourcesContent":["import { IsNumber, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { SubscriptionType } from '../../../Enum/SubscriptionType';\n\n\nexport class QueryUserSociety {\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSubscriptionType?: SubscriptionType;\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryUpdatePassword.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QueryUpdatePassword.ts"],"names":[],"mappings":"AAKA,qBAAa,mBAAmB;IAG5B,QAAQ,EAAE,MAAM,CAAC;IAMjB,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryUpdatePassword.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QueryUpdatePassword.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAEyB;AACzB,6CAAqE;AAErE,MAAa,mBAAmB;CAe/B;AAdC;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qDACQ;AAEnB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;;+CACc;AAErB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACa;AAd1B,kDAeC","sourcesContent":["import {\n IsInt, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryUpdatePassword {\n @ApiProperty()\n @IsString()\n password: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @Min(1)\n id?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string | null;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryUserSmsConfirmation.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/QueryUserSmsConfirmation.ts"],"names":[],"mappings":"AAEA,qBAAa,wBAAwB;IAEjC,IAAI,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1,21 +0,0 @@
|
|
|
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.QueryUserSmsConfirmation = void 0;
|
|
13
|
-
const utils_1 = require("../../../../utils");
|
|
14
|
-
class QueryUserSmsConfirmation {
|
|
15
|
-
}
|
|
16
|
-
__decorate([
|
|
17
|
-
(0, utils_1.ApiProperty)(),
|
|
18
|
-
__metadata("design:type", String)
|
|
19
|
-
], QueryUserSmsConfirmation.prototype, "code", void 0);
|
|
20
|
-
exports.QueryUserSmsConfirmation = QueryUserSmsConfirmation;
|
|
21
|
-
//# sourceMappingURL=QueryUserSmsConfirmation.js.map
|