@silexpert/core 1.0.71 → 1.0.73
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/es/api/resources/CalendarEvent.d.ts +1 -0
- package/es/api/resources/CalendarEvent.d.ts.map +1 -1
- package/es/api/resources/CalendarEvent.js +3 -0
- package/es/api/resources/CalendarEvent.js.map +1 -1
- package/es/api/resources/Commercial.d.ts +8 -1
- package/es/api/resources/Commercial.d.ts.map +1 -1
- package/es/api/resources/Commercial.js +13 -1
- package/es/api/resources/Commercial.js.map +1 -1
- package/es/api/resources/Regulate.d.ts +7 -0
- package/es/api/resources/Regulate.d.ts.map +1 -0
- package/es/api/resources/Regulate.js +7 -0
- package/es/api/resources/Regulate.js.map +1 -0
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/BrandPourcentage.js +1 -1
- package/es/types/Enum/BrandPourcentage.js.map +1 -1
- package/es/types/Enum/Ged.d.ts +2 -0
- package/es/types/Enum/Ged.d.ts.map +1 -1
- package/es/types/Enum/Ged.js +2 -2
- package/es/types/Enum/Ged.js.map +1 -1
- package/es/types/Enum/MealExpenseThresholds.d.ts.map +1 -1
- package/es/types/Enum/MealExpenseThresholds.js +4 -0
- package/es/types/Enum/MealExpenseThresholds.js.map +1 -1
- package/es/types/Enum/RegulateType.d.ts +10 -0
- package/es/types/Enum/RegulateType.d.ts.map +1 -0
- package/es/types/Enum/RegulateType.js +11 -0
- package/es/types/Enum/RegulateType.js.map +1 -0
- package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.d.ts +7 -0
- package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.d.ts.map +1 -0
- package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js +26 -0
- package/es/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js.map +1 -0
- package/es/types/Interface/api/commercial/QueryGetStats.d.ts +6 -0
- package/es/types/Interface/api/commercial/QueryGetStats.d.ts.map +1 -0
- package/es/types/Interface/api/commercial/QueryGetStats.js +32 -0
- package/es/types/Interface/api/commercial/QueryGetStats.js.map +1 -0
- package/es/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.d.ts +4 -0
- package/es/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.d.ts.map +1 -0
- package/es/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.js +19 -0
- package/es/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.js.map +1 -0
- package/es/types/Interface/api/regulate/QueryGetAll.d.ts +6 -0
- package/es/types/Interface/api/regulate/QueryGetAll.d.ts.map +1 -0
- package/es/types/Interface/api/regulate/QueryGetAll.js +32 -0
- package/es/types/Interface/api/regulate/QueryGetAll.js.map +1 -0
- package/es/types/Interface/api/regulate/RegulateWithStats.d.ts +13 -0
- package/es/types/Interface/api/regulate/RegulateWithStats.d.ts.map +1 -0
- package/es/types/Interface/api/regulate/RegulateWithStats.js +2 -0
- package/es/types/Interface/api/regulate/RegulateWithStats.js.map +1 -0
- package/es/types/Interface/api/society/QuerySociety.d.ts +1 -0
- package/es/types/Interface/api/society/QuerySociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/QuerySociety.js +6 -0
- package/es/types/Interface/api/society/QuerySociety.js.map +1 -1
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts +1 -1
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts.map +1 -1
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.js.map +1 -1
- package/es/types/Interface/models/IOldExpertInfo.d.ts +1 -0
- package/es/types/Interface/models/IOldExpertInfo.d.ts.map +1 -1
- package/es/types/Interface/models/IOldExpertInfo.js.map +1 -1
- package/es/types/Interface/models/IRegulate.d.ts +5 -0
- package/es/types/Interface/models/IRegulate.d.ts.map +1 -1
- package/es/types/Interface/models/IRegulate.js.map +1 -1
- package/es/types/Interface/models/IUser.d.ts +1 -0
- package/es/types/Interface/models/IUser.d.ts.map +1 -1
- package/es/types/Interface/models/IUser.js.map +1 -1
- package/es/types/index.d.ts +6 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +6 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/CalendarEvent.js +6 -0
- package/js/api/resources/CalendarEvent.js.map +1 -1
- package/js/api/resources/Commercial.js +31 -1
- package/js/api/resources/Commercial.js.map +1 -1
- package/js/api/resources/Regulate.js +22 -0
- package/js/api/resources/Regulate.js.map +1 -0
- package/js/api/resources.js +3 -0
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/BrandPourcentage.js +1 -1
- package/js/types/Enum/BrandPourcentage.js.map +1 -1
- package/js/types/Enum/Ged.js +3 -3
- package/js/types/Enum/Ged.js.map +1 -1
- package/js/types/Enum/MealExpenseThresholds.js +4 -0
- package/js/types/Enum/MealExpenseThresholds.js.map +1 -1
- package/js/types/Enum/RegulateType.js +18 -0
- package/js/types/Enum/RegulateType.js.map +1 -0
- package/js/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js +35 -0
- package/js/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.js.map +1 -0
- package/js/types/Interface/api/commercial/QueryGetStats.js +33 -0
- package/js/types/Interface/api/commercial/QueryGetStats.js.map +1 -0
- package/js/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.js +29 -0
- package/js/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.js.map +1 -0
- package/js/types/Interface/api/regulate/QueryGetAll.js +33 -0
- package/js/types/Interface/api/regulate/QueryGetAll.js.map +1 -0
- package/js/types/Interface/api/regulate/RegulateWithStats.js +6 -0
- package/js/types/Interface/api/regulate/RegulateWithStats.js.map +1 -0
- package/js/types/Interface/api/society/QuerySociety.js +6 -0
- package/js/types/Interface/api/society/QuerySociety.js.map +1 -1
- package/js/types/index.js +72 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/CalendarEvent.ts +4 -0
- package/ts/api/resources/Commercial.ts +17 -2
- package/ts/api/resources/Regulate.ts +9 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/BrandPourcentage.ts +1 -1
- package/ts/types/Enum/Ged.ts +2 -2
- package/ts/types/Enum/MealExpenseThresholds.ts +4 -0
- package/ts/types/Enum/RegulateType.ts +10 -0
- package/ts/types/Interface/api/commercial/QueryFetchDialogDatasInfosOk.ts +16 -0
- package/ts/types/Interface/api/commercial/QueryGetStats.ts +21 -0
- package/ts/types/Interface/api/commercial/QueryMovePrestationsToNextMonth.ts +10 -0
- package/ts/types/Interface/api/regulate/QueryGetAll.ts +21 -0
- package/ts/types/Interface/api/regulate/RegulateWithStats.ts +12 -0
- package/ts/types/Interface/api/society/QuerySociety.ts +5 -0
- package/ts/types/Interface/api/society/SocietyWithStatsCaParams.ts +1 -1
- package/ts/types/Interface/models/IOldExpertInfo.ts +1 -0
- package/ts/types/Interface/models/IRegulate.ts +7 -0
- package/ts/types/Interface/models/IUser.ts +1 -0
- package/ts/types/index.ts +6 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsInt,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiProperty } from '../../../../utils';
|
|
5
|
+
|
|
6
|
+
export class QueryFetchDialogDatasInfosOk {
|
|
7
|
+
@ApiProperty()
|
|
8
|
+
@IsInt()
|
|
9
|
+
idSociety: number;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export class QueryFetchDialogDatasDocsOk {
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
@IsInt()
|
|
15
|
+
idSociety: number;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsInt, IsOptional,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
|
|
6
|
+
export class QueryGetStats {
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
@IsOptional()
|
|
9
|
+
@IsInt()
|
|
10
|
+
month?: number;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsOptional()
|
|
14
|
+
@IsInt()
|
|
15
|
+
year?: number;
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsInt()
|
|
20
|
+
idUser?: number;
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsInt, IsOptional,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
|
|
6
|
+
export class QueryGetAll {
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
@IsOptional()
|
|
9
|
+
@IsInt()
|
|
10
|
+
month?: number;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsOptional()
|
|
14
|
+
@IsInt()
|
|
15
|
+
year?: number;
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsInt()
|
|
20
|
+
idUser?: number;
|
|
21
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ISociety } from '../../..';
|
|
2
|
+
|
|
3
|
+
interface SocietyWithRegulate extends Partial<ISociety> {
|
|
4
|
+
type?: string;
|
|
5
|
+
regulateAmount: number;
|
|
6
|
+
}
|
|
7
|
+
export interface RegulateWithStats {
|
|
8
|
+
commercialName: string;
|
|
9
|
+
nbRegulates: number;
|
|
10
|
+
sumRegulatesAmount: number;
|
|
11
|
+
listSocieties: SocietyWithRegulate[]
|
|
12
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IsIn } from 'class-validator';
|
|
1
2
|
import { ApiPropertyOptional } from '../../../../utils/decorators';
|
|
2
3
|
|
|
3
4
|
export class QuerySociety {
|
|
@@ -6,4 +7,8 @@ export class QuerySociety {
|
|
|
6
7
|
|
|
7
8
|
@ApiPropertyOptional()
|
|
8
9
|
attributes?: string[];
|
|
10
|
+
|
|
11
|
+
@ApiPropertyOptional()
|
|
12
|
+
@IsIn(['brandType', 'societyGescom', 'societyBank', 'societyDetails', 'oldExpertInfo', 'activity', 'follows', 'compta', 'subscriptionType', 'nafCode', 'connector', 'societyCgv', 'societyConfig', 'exercices', 'businessPartners'], { each: true })
|
|
13
|
+
include?: string[];
|
|
9
14
|
}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
import { ISociety, IUser } from '../..';
|
|
2
|
+
|
|
1
3
|
// regulates
|
|
2
4
|
export interface IRegulate {
|
|
3
5
|
id?: number;
|
|
4
6
|
monthDate: Date;
|
|
5
7
|
regulateAmount: number;
|
|
6
8
|
idUser: number;
|
|
9
|
+
idSociety: number;
|
|
10
|
+
idType: number;
|
|
7
11
|
createdAt?: Date | null;
|
|
8
12
|
updatedAt?: Date | null;
|
|
13
|
+
|
|
14
|
+
society: ISociety;
|
|
15
|
+
user: IUser;
|
|
9
16
|
}
|
|
@@ -52,6 +52,7 @@ export interface IUser {
|
|
|
52
52
|
stateProspect?: boolean | null;
|
|
53
53
|
birthdate?: Date | null;
|
|
54
54
|
arrivalDate?: Date | null;
|
|
55
|
+
validityDateOfResidencePermit?: Date | null;
|
|
55
56
|
isNewProspect?: boolean;
|
|
56
57
|
hasAccountNumberDisplay?: boolean;
|
|
57
58
|
isAssociate?: boolean | null;
|
package/ts/types/index.ts
CHANGED
|
@@ -452,6 +452,7 @@ export * from './Enum/Reason';
|
|
|
452
452
|
export * from './Enum/OperationLegalNotice';
|
|
453
453
|
export * from './Enum/OrderStatus';
|
|
454
454
|
export * from './Enum/ReportService';
|
|
455
|
+
export * from './Enum/RegulateType';
|
|
455
456
|
|
|
456
457
|
// Interfaces API
|
|
457
458
|
export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
|
|
@@ -517,6 +518,9 @@ export * from './Interface/api/society/SocietyWithStatsCaParams';
|
|
|
517
518
|
export * from './Interface/api/society/QuerySociety';
|
|
518
519
|
export * from './Interface/api/society/QueryPaginatedSociety';
|
|
519
520
|
export * from './Interface/api/society/QueryPaginatedSocietyWithStatsCa';
|
|
521
|
+
export * from './Interface/api/commercial/QueryGetStats';
|
|
522
|
+
export * from './Interface/api/commercial/QueryFetchDialogDatasInfosOk';
|
|
523
|
+
export * from './Interface/api/commercial/QueryMovePrestationsToNextMonth';
|
|
520
524
|
export * from './Interface/api/society/GetDataSociety';
|
|
521
525
|
export * from './Interface/api/society/CreateSociety';
|
|
522
526
|
export * from './Interface/api/society/UpdateSociety';
|
|
@@ -778,6 +782,8 @@ export * from './Interface/api/mobile/QueryMobileMigration';
|
|
|
778
782
|
export * from './Interface/api/societyEvent/QuerySocietyEvent';
|
|
779
783
|
export * from './Interface/api/societyEvent/CreateSocietyEvent';
|
|
780
784
|
export * from './Interface/api/task/QueryGetAllTask';
|
|
785
|
+
export * from './Interface/api/regulate/QueryGetAll';
|
|
786
|
+
export * from './Interface/api/regulate/RegulateWithStats';
|
|
781
787
|
export * from './Interface/api/task/QueryPaginatedTask';
|
|
782
788
|
export * from './Interface/api/task/QueryCreateTask';
|
|
783
789
|
export * from './Interface/api/task/QueryGetTask';
|