@silexpert/core 1.3.56 → 1.3.57-0
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 +2 -1
- package/dist/cjs/api/resources/User.d.ts.map +1 -1
- package/dist/cjs/api/resources/User.js +3 -0
- package/dist/cjs/api/resources/User.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +11 -11
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/JobTitle.d.ts +2 -1
- package/dist/cjs/types/Enum/JobTitle.d.ts.map +1 -1
- package/dist/cjs/types/Enum/JobTitle.js +6 -0
- package/dist/cjs/types/Enum/JobTitle.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/Query.d.ts +9 -0
- package/dist/cjs/types/Interface/api/user/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/Query.js +30 -1
- package/dist/cjs/types/Interface/api/user/Query.js.map +1 -1
- package/dist/mjs/api/resources/User.d.ts +2 -1
- package/dist/mjs/api/resources/User.d.ts.map +1 -1
- package/dist/mjs/api/resources/User.js +6 -0
- package/dist/mjs/api/resources/User.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +11 -11
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/JobTitle.d.ts +2 -1
- package/dist/mjs/types/Enum/JobTitle.d.ts.map +1 -1
- package/dist/mjs/types/Enum/JobTitle.js +6 -0
- package/dist/mjs/types/Enum/JobTitle.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/Query.d.ts +9 -0
- package/dist/mjs/types/Interface/api/user/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/Query.js +28 -0
- package/dist/mjs/types/Interface/api/user/Query.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/User.ts +8 -0
- package/ts/types/Enum/BalanceSheet.ts +11 -11
- package/ts/types/Enum/JobTitle.ts +6 -0
- package/ts/types/Interface/api/user/Query.ts +26 -0
|
@@ -11,6 +11,7 @@ import { IsArray, IsBoolean, IsIn, IsInt, IsNumber, IsOptional, IsString, Min }
|
|
|
11
11
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
12
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
13
|
import { SubscriptionType } from '../../../Enum/SubscriptionType';
|
|
14
|
+
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
14
15
|
export class QueryConfirm {
|
|
15
16
|
tokenConfirmedAt;
|
|
16
17
|
email;
|
|
@@ -23,6 +24,33 @@ __decorate([
|
|
|
23
24
|
ApiProperty(),
|
|
24
25
|
__metadata("design:type", String)
|
|
25
26
|
], QueryConfirm.prototype, "email", void 0);
|
|
27
|
+
export class QueryGetAllUsersPaginated extends RequiredQueryPaginate {
|
|
28
|
+
}
|
|
29
|
+
__decorate([
|
|
30
|
+
ApiPropertyOptional(),
|
|
31
|
+
IsOptional(),
|
|
32
|
+
IsString(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], QueryGetAllUsersPaginated.prototype, "search", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
ApiPropertyOptional(),
|
|
37
|
+
IsOptional(),
|
|
38
|
+
IsArray(),
|
|
39
|
+
__metadata("design:type", Array)
|
|
40
|
+
], QueryGetAllUsersPaginated.prototype, "roles", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
ApiPropertyOptional(),
|
|
43
|
+
IsOptional(),
|
|
44
|
+
IsArray(),
|
|
45
|
+
__metadata("design:type", Array)
|
|
46
|
+
], QueryGetAllUsersPaginated.prototype, "entities", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
ApiPropertyOptional(),
|
|
49
|
+
IsOptional(),
|
|
50
|
+
IsBoolean(),
|
|
51
|
+
ToBoolean(),
|
|
52
|
+
__metadata("design:type", Boolean)
|
|
53
|
+
], QueryGetAllUsersPaginated.prototype, "active", void 0);
|
|
26
54
|
export class QueryGetAllCollaborators {
|
|
27
55
|
idUser;
|
|
28
56
|
include;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACvG,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACvG,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAGlE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAIxD,MAAM,OAAO,YAAY;IAEvB,gBAAgB,CAAS;IAGzB,KAAK,CAAS;CACf;AAJC;IADC,WAAW,EAAE;;sDACW;AAGzB;IADC,WAAW,EAAE;;2CACA;AAGhB,MAAM,OAAO,yBAA0B,SAAQ,qBAAqB;CAqBnE;AAjBS;IAHP,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;yDACa;AAKhB;IAHP,mBAAmB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E;IACZ,QAAQ,EAAE;;2DACiB;AAK5B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;+CACQ;AAGpB,MAAM,OAAO,QAAQ;IAKnB,YAAY,CAAW;CACxB;AADC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;8CACW","sourcesContent":["import { IsArray, IsBoolean, IsIn, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { SubscriptionType } from '../../../Enum/SubscriptionType';\nimport { WhereOptions } from 'sequelize';\nimport { ISociety } from '../../models/ISociety';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { Role } from '../../../Enum/Role';\nimport { EntityType } from '../../../Enum/EntityType';\n\nexport class QueryConfirm {\n @ApiProperty()\n tokenConfirmedAt: string;\n\n @ApiProperty()\n email: string;\n}\n\nexport class QueryGetAllUsersPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare roles?: Role[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare entities?: EntityType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare active?: boolean;\n}\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}\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}\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 @IsArray()\n roles: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n usersNotInBusinessPartner?: boolean;\n}\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}\n\nexport class QueryResendConfirmationLink {\n @ApiProperty()\n id: number;\n}\n\nexport class GetSocietyFromUser {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSubscriptionType?: SubscriptionType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayArchived?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n onlyLabAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({ each: true })\n attributes?: Extract<keyof ISociety, string>[];\n\n @ApiPropertyOptional({\n default: [\n 'societyConfig',\n 'brandType',\n 'societyGescom',\n 'oldExpertInfo',\n 'activity',\n 'follows',\n 'compta',\n 'subscriptionType',\n 'connector',\n 'permissions',\n ],\n })\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(\n [\n 'societyConfig',\n 'brandType',\n 'societyGescom',\n 'oldExpertInfo',\n 'activity',\n 'follows',\n 'compta',\n 'subscriptionType',\n 'connector',\n 'permissions',\n 'societyDetails',\n ],\n { each: true },\n )\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n where?: WhereOptions<ISociety>;\n}\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\nexport class QueryUserSmsConfirmation {\n @ApiProperty()\n code: string;\n}\n\nexport class QueryUserExport {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n dateStart?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n dateEnd?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n archive?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n week?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idTypeSubscription?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n reason?: number[];\n}\n\nexport class QueryGet {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withNewToken?: boolean;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.57-0",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
package/ts/api/resources/User.ts
CHANGED
|
@@ -20,6 +20,8 @@ import {
|
|
|
20
20
|
RegisterProspectBody,
|
|
21
21
|
RegisterProspectResponse,
|
|
22
22
|
QueryGet,
|
|
23
|
+
BasePaginate,
|
|
24
|
+
QueryGetAllUsersPaginated,
|
|
23
25
|
} from '../../types';
|
|
24
26
|
|
|
25
27
|
export class User extends Resource {
|
|
@@ -91,6 +93,12 @@ export class User extends Resource {
|
|
|
91
93
|
}
|
|
92
94
|
return this.axios.$get('user/all-collaborators-by-roles', { params });
|
|
93
95
|
}
|
|
96
|
+
getAllPaginated(params: QueryGetAllUsersPaginated, signal?: AbortSignal): Promise<BasePaginate<IUser>> {
|
|
97
|
+
return this.axios.$get('/user/paginated', {
|
|
98
|
+
...(signal ? { signal } : {}),
|
|
99
|
+
params,
|
|
100
|
+
});
|
|
101
|
+
}
|
|
94
102
|
selectableTeammates(): Promise<IUser[]> {
|
|
95
103
|
return this.axios.$get('user/selectable-teammates');
|
|
96
104
|
}
|
|
@@ -224,14 +224,14 @@ export const BalanceSheetDetails = [
|
|
|
224
224
|
forRoles: [['front_office'], ['expert']],
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
|
-
text:
|
|
227
|
+
text: 'Accepté SIE en l\'état',
|
|
228
228
|
value: BalanceSheetState.ACCEPTED_BY_SIE_IN_STATE,
|
|
229
229
|
color: 'green darken-3',
|
|
230
230
|
colorText: 'green--text',
|
|
231
231
|
forRoles: [['front_office'], ['expert']],
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
|
-
text:
|
|
234
|
+
text: 'Refus d\'établir',
|
|
235
235
|
value: BalanceSheetState.ESTABLISH_REFUSED,
|
|
236
236
|
color: 'orange darken-1',
|
|
237
237
|
colorText: 'orange--text text--darken-1',
|
|
@@ -262,7 +262,7 @@ export const ForecastBalanceSheetDetails = [
|
|
|
262
262
|
forRoles: [['front_office'], ['expert']],
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
|
-
text:
|
|
265
|
+
text: 'Prévisionnel d\' abandonné',
|
|
266
266
|
value: BalanceSheetState.ABANDONED_FORECAST,
|
|
267
267
|
color: 'green darken-3',
|
|
268
268
|
colorText: 'green--text',
|
|
@@ -320,7 +320,7 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
|
|
|
320
320
|
isSubcategory: true,
|
|
321
321
|
fields: [
|
|
322
322
|
{
|
|
323
|
-
name:
|
|
323
|
+
name: 'Frais d\'établissement',
|
|
324
324
|
accounts: ['201'],
|
|
325
325
|
accountsDeducted: ['2801'],
|
|
326
326
|
total: 0,
|
|
@@ -409,7 +409,7 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
|
|
|
409
409
|
accountsDeducted: ['2967', '2968'],
|
|
410
410
|
},
|
|
411
411
|
{
|
|
412
|
-
name:
|
|
412
|
+
name: 'Titres immobilisés de l\'activité de portefeuille',
|
|
413
413
|
accounts: ['273'],
|
|
414
414
|
accountsDeducted: ['2973'],
|
|
415
415
|
},
|
|
@@ -565,7 +565,7 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
|
|
|
565
565
|
type: 'active',
|
|
566
566
|
},
|
|
567
567
|
{
|
|
568
|
-
name:
|
|
568
|
+
name: 'Charges constatées d\'avance',
|
|
569
569
|
key: 'establishedInAdvance',
|
|
570
570
|
accounts: ['486'],
|
|
571
571
|
},
|
|
@@ -633,7 +633,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
|
|
|
633
633
|
total: 0,
|
|
634
634
|
},
|
|
635
635
|
{
|
|
636
|
-
name:
|
|
636
|
+
name: 'Primes d\'émission, de fusion, d\'apport',
|
|
637
637
|
key: 'issuePremiums',
|
|
638
638
|
accounts: ['104'],
|
|
639
639
|
isSubcategory: true,
|
|
@@ -647,7 +647,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
|
|
|
647
647
|
total: 0,
|
|
648
648
|
},
|
|
649
649
|
{
|
|
650
|
-
name:
|
|
650
|
+
name: 'Ecart d\'équivalence',
|
|
651
651
|
key: 'equivalenceGap',
|
|
652
652
|
accounts: ['107'],
|
|
653
653
|
isSubcategory: true,
|
|
@@ -687,14 +687,14 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
|
|
|
687
687
|
total: 0,
|
|
688
688
|
},
|
|
689
689
|
{
|
|
690
|
-
name:
|
|
690
|
+
name: 'Résultat de l\'exercice (bénéfice ou perte)',
|
|
691
691
|
key: 'resultExercice',
|
|
692
692
|
accounts: ['12'], // comptes 6 - 7
|
|
693
693
|
isSubcategory: true,
|
|
694
694
|
total: 0,
|
|
695
695
|
},
|
|
696
696
|
{
|
|
697
|
-
name:
|
|
697
|
+
name: 'Subventions d\'investissement',
|
|
698
698
|
key: 'subsidies',
|
|
699
699
|
accounts: ['13'],
|
|
700
700
|
isSubcategory: true,
|
|
@@ -842,7 +842,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
|
|
|
842
842
|
type: 'passive',
|
|
843
843
|
},
|
|
844
844
|
{
|
|
845
|
-
name:
|
|
845
|
+
name: 'Produits constatés d\'avance',
|
|
846
846
|
key: 'advanceProducts',
|
|
847
847
|
accounts: ['487', '489'],
|
|
848
848
|
isSubcategory: true,
|
|
@@ -41,6 +41,7 @@ export enum JobTitle {
|
|
|
41
41
|
HUMAN_RESOURCES = 40,
|
|
42
42
|
DEVELOPER = 41,
|
|
43
43
|
CAMERA_EDITOR = 42,
|
|
44
|
+
MA_MANAGER = 43,
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
export const JobTitleList: Array<{ id: JobTitle; menText: string; womenText: string }> = [
|
|
@@ -254,4 +255,9 @@ export const JobTitleList: Array<{ id: JobTitle; menText: string; womenText: str
|
|
|
254
255
|
menText: 'Monteur / Cadreur',
|
|
255
256
|
womenText: 'Monteur / Cadreur',
|
|
256
257
|
},
|
|
258
|
+
{
|
|
259
|
+
id: JobTitle.MA_MANAGER,
|
|
260
|
+
menText: 'M&A Manager',
|
|
261
|
+
womenText: 'M&A Manager',
|
|
262
|
+
},
|
|
257
263
|
];
|
|
@@ -4,6 +4,9 @@ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
|
4
4
|
import { SubscriptionType } from '../../../Enum/SubscriptionType';
|
|
5
5
|
import { WhereOptions } from 'sequelize';
|
|
6
6
|
import { ISociety } from '../../models/ISociety';
|
|
7
|
+
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
8
|
+
import { Role } from '../../../Enum/Role';
|
|
9
|
+
import { EntityType } from '../../../Enum/EntityType';
|
|
7
10
|
|
|
8
11
|
export class QueryConfirm {
|
|
9
12
|
@ApiProperty()
|
|
@@ -13,6 +16,29 @@ export class QueryConfirm {
|
|
|
13
16
|
email: string;
|
|
14
17
|
}
|
|
15
18
|
|
|
19
|
+
export class QueryGetAllUsersPaginated extends RequiredQueryPaginate {
|
|
20
|
+
@ApiPropertyOptional()
|
|
21
|
+
@IsOptional()
|
|
22
|
+
@IsString()
|
|
23
|
+
declare search?: string;
|
|
24
|
+
|
|
25
|
+
@ApiPropertyOptional()
|
|
26
|
+
@IsOptional()
|
|
27
|
+
@IsArray()
|
|
28
|
+
declare roles?: Role[];
|
|
29
|
+
|
|
30
|
+
@ApiPropertyOptional()
|
|
31
|
+
@IsOptional()
|
|
32
|
+
@IsArray()
|
|
33
|
+
declare entities?: EntityType[];
|
|
34
|
+
|
|
35
|
+
@ApiPropertyOptional()
|
|
36
|
+
@IsOptional()
|
|
37
|
+
@IsBoolean()
|
|
38
|
+
@ToBoolean()
|
|
39
|
+
declare active?: boolean;
|
|
40
|
+
}
|
|
41
|
+
|
|
16
42
|
export class QueryGetAllCollaborators {
|
|
17
43
|
@ApiProperty({
|
|
18
44
|
description: 'filtering users id',
|