@silexpert/core 0.4.203 → 0.4.206
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/Connector.d.ts +2 -0
- package/es/api/resources/Connector.d.ts.map +1 -1
- package/es/api/resources/Connector.js +3 -0
- package/es/api/resources/Connector.js.map +1 -1
- package/es/api/resources/Mobile.d.ts +1 -1
- package/es/api/resources/Mobile.js +2 -2
- package/es/api/resources/Mobile.js.map +1 -1
- package/es/api/resources/SocietyEvent.d.ts +7 -0
- package/es/api/resources/SocietyEvent.d.ts.map +1 -0
- package/es/api/resources/SocietyEvent.js +10 -0
- package/es/api/resources/SocietyEvent.js.map +1 -0
- package/es/api/resources/Transaction.d.ts +1 -0
- package/es/api/resources/Transaction.d.ts.map +1 -1
- package/es/api/resources/Transaction.js +3 -0
- package/es/api/resources/Transaction.js.map +1 -1
- package/es/api/resources/User.d.ts +4 -0
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js +7 -1
- package/es/api/resources/User.js.map +1 -1
- 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/SocietyTypeEvent.d.ts +5 -0
- package/es/types/Enum/SocietyTypeEvent.d.ts.map +1 -0
- package/es/types/Enum/SocietyTypeEvent.js +6 -0
- package/es/types/Enum/SocietyTypeEvent.js.map +1 -0
- package/es/types/Enum/SurveyType.d.ts +2 -1
- package/es/types/Enum/SurveyType.d.ts.map +1 -1
- package/es/types/Enum/SurveyType.js +1 -0
- package/es/types/Enum/SurveyType.js.map +1 -1
- package/es/types/Interface/api/bankAccount/ImportBankAccount.d.ts +5 -0
- package/es/types/Interface/api/bankAccount/ImportBankAccount.d.ts.map +1 -0
- package/es/types/Interface/api/bankAccount/ImportBankAccount.js +26 -0
- package/es/types/Interface/api/bankAccount/ImportBankAccount.js.map +1 -0
- package/es/types/Interface/api/budgetInsight/Query.d.ts +11 -0
- package/es/types/Interface/api/budgetInsight/Query.d.ts.map +1 -1
- package/es/types/Interface/api/budgetInsight/Query.js.map +1 -1
- package/es/types/Interface/api/checklist/Read.d.ts +1 -1
- package/es/types/Interface/api/checklist/Read.d.ts.map +1 -1
- package/es/types/Interface/api/checklist/Read.js.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.js +2 -3
- package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/es/types/Interface/api/mobile/QueryMobileMigration.d.ts +5 -0
- package/es/types/Interface/api/mobile/QueryMobileMigration.d.ts.map +1 -0
- package/es/types/Interface/api/mobile/QueryMobileMigration.js +26 -0
- package/es/types/Interface/api/mobile/QueryMobileMigration.js.map +1 -0
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts +1 -3
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js +3 -9
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
- package/es/types/Interface/api/societyEvent/CreateSocietyEvent.d.ts +6 -0
- package/es/types/Interface/api/societyEvent/CreateSocietyEvent.d.ts.map +1 -0
- package/es/types/Interface/api/societyEvent/CreateSocietyEvent.js +22 -0
- package/es/types/Interface/api/societyEvent/CreateSocietyEvent.js.map +1 -0
- package/es/types/Interface/api/societyEvent/QuerySocietyEvent.d.ts +5 -0
- package/es/types/Interface/api/societyEvent/QuerySocietyEvent.d.ts.map +1 -0
- package/es/types/Interface/api/societyEvent/QuerySocietyEvent.js +17 -0
- package/es/types/Interface/api/societyEvent/QuerySocietyEvent.js.map +1 -0
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +2 -0
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/es/types/Interface/models/IChecklist.d.ts +1 -1
- package/es/types/Interface/models/IChecklist.d.ts.map +1 -1
- package/es/types/Interface/models/IChecklist.js.map +1 -1
- package/es/types/Interface/models/IComment.d.ts +1 -0
- package/es/types/Interface/models/IComment.d.ts.map +1 -1
- package/es/types/Interface/models/IComment.js.map +1 -1
- package/es/types/Interface/models/IMobile.d.ts +1 -0
- package/es/types/Interface/models/IMobile.d.ts.map +1 -1
- package/es/types/Interface/models/IMobile.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +2 -0
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/Interface/models/ISocietyEvent.d.ts +12 -0
- package/es/types/Interface/models/ISocietyEvent.d.ts.map +1 -0
- package/es/types/Interface/models/ISocietyEvent.js +2 -0
- package/es/types/Interface/models/ISocietyEvent.js.map +1 -0
- package/es/types/index.d.ts +7 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +7 -1
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Connector.js +4 -0
- package/js/api/resources/Connector.js.map +1 -1
- package/js/api/resources/Mobile.js +2 -2
- package/js/api/resources/Mobile.js.map +1 -1
- package/js/api/resources/SocietyEvent.js +24 -0
- package/js/api/resources/SocietyEvent.js.map +1 -0
- package/js/api/resources/Transaction.js +4 -0
- package/js/api/resources/Transaction.js.map +1 -1
- package/js/api/resources/User.js +9 -1
- package/js/api/resources/User.js.map +1 -1
- package/js/api/resources.js +4 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/SocietyTypeEvent.js +12 -0
- package/js/types/Enum/SocietyTypeEvent.js.map +1 -0
- package/js/types/Enum/SurveyType.js +1 -0
- package/js/types/Enum/SurveyType.js.map +1 -1
- package/js/types/Interface/api/bankAccount/ImportBankAccount.js +31 -0
- package/js/types/Interface/api/bankAccount/ImportBankAccount.js.map +1 -0
- package/js/types/Interface/api/budgetInsight/Query.js.map +1 -1
- package/js/types/Interface/api/mail/QueryPaginatedMail.js +3 -1
- package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/js/types/Interface/api/mobile/QueryMobileMigration.js +35 -0
- package/js/types/Interface/api/mobile/QueryMobileMigration.js.map +1 -0
- package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js +1 -5
- package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
- package/js/types/Interface/api/societyEvent/CreateSocietyEvent.js +31 -0
- package/js/types/Interface/api/societyEvent/CreateSocietyEvent.js.map +1 -0
- package/js/types/Interface/api/societyEvent/QuerySocietyEvent.js +27 -0
- package/js/types/Interface/api/societyEvent/QuerySocietyEvent.js.map +1 -0
- package/js/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/js/types/Interface/models/ISocietyEvent.js +6 -0
- package/js/types/Interface/models/ISocietyEvent.js.map +1 -0
- package/js/types/index.js +78 -6
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Connector.ts +4 -0
- package/ts/api/resources/Mobile.ts +2 -2
- package/ts/api/resources/SocietyEvent.ts +12 -0
- package/ts/api/resources/Transaction.ts +4 -0
- package/ts/api/resources/User.ts +7 -1
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/SocietyTypeEvent.ts +4 -0
- package/ts/types/Enum/SurveyType.ts +1 -0
- package/ts/types/Interface/api/bankAccount/ImportBankAccount.ts +14 -0
- package/ts/types/Interface/api/budgetInsight/Query.ts +12 -0
- package/ts/types/Interface/api/checklist/Read.ts +1 -1
- package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +2 -3
- package/ts/types/Interface/api/mobile/QueryMobileMigration.ts +14 -0
- package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +4 -9
- package/ts/types/Interface/api/societyEvent/CreateSocietyEvent.ts +10 -0
- package/ts/types/Interface/api/societyEvent/QuerySocietyEvent.ts +7 -0
- package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +2 -0
- package/ts/types/Interface/models/IChecklist.ts +1 -1
- package/ts/types/Interface/models/IComment.ts +1 -0
- package/ts/types/Interface/models/IMobile.ts +1 -0
- package/ts/types/Interface/models/ISociety.ts +2 -0
- package/ts/types/Interface/models/ISocietyEvent.ts +14 -0
- package/ts/types/index.ts +7 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IsArray,
|
|
3
3
|
IsBoolean,
|
|
4
|
-
IsDate,
|
|
4
|
+
IsDate, IsNumber, IsOptional, IsString,
|
|
5
5
|
} from 'class-validator';
|
|
6
|
-
import {
|
|
6
|
+
import { ApiProperty } from '../../../..';
|
|
7
7
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
8
8
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
9
9
|
|
|
@@ -52,11 +52,6 @@ export class QueryRevisionSearchEntries {
|
|
|
52
52
|
@IsOptional()
|
|
53
53
|
endAccountNumber?: string;
|
|
54
54
|
|
|
55
|
-
@ApiPropertyOptional()
|
|
56
|
-
@IsEnum(AccountingJournal)
|
|
57
|
-
@IsOptional()
|
|
58
|
-
idAccountingJournal?: number;
|
|
59
|
-
|
|
60
55
|
// advanced search
|
|
61
56
|
@ApiPropertyOptional()
|
|
62
57
|
@IsNumber()
|
|
@@ -69,9 +64,9 @@ export class QueryRevisionSearchEntries {
|
|
|
69
64
|
maximumAmount?: number;
|
|
70
65
|
|
|
71
66
|
@ApiPropertyOptional()
|
|
72
|
-
@IsArray(
|
|
67
|
+
@IsArray()
|
|
73
68
|
@IsOptional()
|
|
74
|
-
idsAccountingJournal?: Array<
|
|
69
|
+
idsAccountingJournal?: Array<number>;
|
|
75
70
|
|
|
76
71
|
@ApiPropertyOptional()
|
|
77
72
|
@IsNumber()
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
import { SocietyTypeEvent } from '../../../Enum/SocietyTypeEvent';
|
|
3
|
+
|
|
4
|
+
export class CreateSocietyEvent {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
idTypeEvent: SocietyTypeEvent;
|
|
7
|
+
|
|
8
|
+
@ApiPropertyOptional()
|
|
9
|
+
state?: string;
|
|
10
|
+
}
|
|
@@ -9,6 +9,7 @@ import { IUser } from '../../models/IUser';
|
|
|
9
9
|
import { ITerminationList } from '../../models/ITerminationList';
|
|
10
10
|
import { UnpaidDetail, IPendingPoint } from '../../..';
|
|
11
11
|
import { ICustomerTva } from '../../models/ICustomerTva';
|
|
12
|
+
import { ISocietyStat } from '../../models/ISocietyStat';
|
|
12
13
|
|
|
13
14
|
export class ReadTaxDeadline {
|
|
14
15
|
society: {
|
|
@@ -37,6 +38,7 @@ export class ReadTaxDeadline {
|
|
|
37
38
|
prestations: PrestationTaxDeadline[];
|
|
38
39
|
activePrestationsComplementary: ComplementaryPrestationTaxDeadline[];
|
|
39
40
|
statistics: {
|
|
41
|
+
turnovers: ISocietyStat[];
|
|
40
42
|
transactions: {
|
|
41
43
|
annoted: number;
|
|
42
44
|
total: number;
|
|
@@ -46,6 +46,7 @@ import { ISurvey } from './ISurvey';
|
|
|
46
46
|
import { ILog } from './ILog';
|
|
47
47
|
import { ISms } from './ISms';
|
|
48
48
|
import { IUser } from './IUser';
|
|
49
|
+
import { ISocietyEvent } from './ISocietyEvent';
|
|
49
50
|
import {
|
|
50
51
|
ComptaType, Country, INafCode, IPartneredAccountantCompanyService, Sector, UnpaidDetail, IPartneredAccountantToSociety,
|
|
51
52
|
} from '../..';
|
|
@@ -200,4 +201,5 @@ export interface ISociety {
|
|
|
200
201
|
brandType?: IBrandType;
|
|
201
202
|
partneredAccountantCompaniesServices: IPartneredAccountantCompanyService[];
|
|
202
203
|
partneredAccountantRelated: IPartneredAccountantToSociety;
|
|
204
|
+
events: ISocietyEvent[];
|
|
203
205
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SocietyTypeEvent } from '../../Enum/SocietyTypeEvent';
|
|
2
|
+
import { ISociety } from './ISociety';
|
|
3
|
+
|
|
4
|
+
export interface ISocietyEvent {
|
|
5
|
+
id: number;
|
|
6
|
+
idSociety: number;
|
|
7
|
+
idTypeEvent: SocietyTypeEvent;
|
|
8
|
+
state?: string | null;
|
|
9
|
+
createdAt?: Date | null;
|
|
10
|
+
updatedAt?: Date | null;
|
|
11
|
+
|
|
12
|
+
// Association
|
|
13
|
+
society: ISociety;
|
|
14
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -303,6 +303,7 @@ export * from './Interface/models/IBalanceSheetCompletion';
|
|
|
303
303
|
export * from './Interface/models/IDefaultPromotion';
|
|
304
304
|
export * from './Interface/models/INafCode';
|
|
305
305
|
export * from './Interface/models/IMobile';
|
|
306
|
+
export * from './Interface/models/ISocietyEvent';
|
|
306
307
|
|
|
307
308
|
// Forms
|
|
308
309
|
export * from './Form/FormAuthenticate';
|
|
@@ -411,6 +412,7 @@ export * from './Enum/SalariesType';
|
|
|
411
412
|
export * from './Enum/SheetMonthScheduleDetailType';
|
|
412
413
|
export * from './Enum/ChecklistType';
|
|
413
414
|
export * from './Enum/NotificationType';
|
|
415
|
+
export * from './Enum/SocietyTypeEvent';
|
|
414
416
|
|
|
415
417
|
// Interfaces API
|
|
416
418
|
export * from './Interface/api/jeDeclare/ReadJeDeclare';
|
|
@@ -541,6 +543,7 @@ export * from './Interface/api/webmail/GetMissingMailsInFinalBucket';
|
|
|
541
543
|
export * from './Interface/api/promoCode/CreateDefaultPromoCode';
|
|
542
544
|
export * from './Interface/api/promoCode/ReadDefaultPaginationPromoCode';
|
|
543
545
|
export * from './Interface/api/bankAccount/QueryBankAccount';
|
|
546
|
+
export * from './Interface/api/bankAccount/ImportBankAccount';
|
|
544
547
|
export * from './Interface/api/log/QueryLogPagination';
|
|
545
548
|
export * from './Interface/api/employee/QueryEmployeeSearch';
|
|
546
549
|
export * from './Interface/api/employee/QueryCreateEmployee';
|
|
@@ -701,10 +704,13 @@ export * from './Interface/api/checklist/Read';
|
|
|
701
704
|
export * from './Interface/api/checklist/Query';
|
|
702
705
|
export * from './Interface/api/checklist/Update';
|
|
703
706
|
export * from './Interface/api/notification/CreateNotification';
|
|
707
|
+
export * from './Interface/api/mobile/UpdateMobile';
|
|
708
|
+
export * from './Interface/api/mobile/QueryMobileMigration';
|
|
709
|
+
export * from './Interface/api/societyEvent/QuerySocietyEvent';
|
|
710
|
+
export * from './Interface/api/societyEvent/CreateSocietyEvent';
|
|
704
711
|
|
|
705
712
|
// Enums types
|
|
706
713
|
export * from './Interface/enum/Util';
|
|
707
|
-
export * from './Interface/api/mobile/UpdateMobile';
|
|
708
714
|
|
|
709
715
|
export * from '../utils/cerfa';
|
|
710
716
|
export * from '../utils/checklist';
|