@silexpert/core 0.4.200 → 0.4.203
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/Checklist.d.ts +20 -0
- package/es/api/resources/Checklist.d.ts.map +1 -0
- package/es/api/resources/Checklist.js +38 -0
- package/es/api/resources/Checklist.js.map +1 -0
- package/es/api/resources/GeneralLedger.d.ts +2 -1
- package/es/api/resources/GeneralLedger.d.ts.map +1 -1
- package/es/api/resources/GeneralLedger.js +3 -0
- package/es/api/resources/GeneralLedger.js.map +1 -1
- package/es/api/resources/Lettering.d.ts +7 -0
- package/es/api/resources/Lettering.d.ts.map +1 -0
- package/es/api/resources/Lettering.js +13 -0
- package/es/api/resources/Lettering.js.map +1 -0
- package/es/api/resources/Mobile.d.ts +6 -0
- package/es/api/resources/Mobile.d.ts.map +1 -0
- package/es/api/resources/Mobile.js +7 -0
- package/es/api/resources/Mobile.js.map +1 -0
- package/es/api/resources/Notification.d.ts +5 -0
- package/es/api/resources/Notification.d.ts.map +1 -0
- package/es/api/resources/Notification.js +7 -0
- package/es/api/resources/Notification.js.map +1 -0
- package/es/api/resources/Revision.d.ts +2 -1
- package/es/api/resources/Revision.d.ts.map +1 -1
- package/es/api/resources/Revision.js +3 -0
- package/es/api/resources/Revision.js.map +1 -1
- package/es/api/resources/Transaction.d.ts +5 -13
- package/es/api/resources/Transaction.d.ts.map +1 -1
- package/es/api/resources/Transaction.js +5 -0
- package/es/api/resources/Transaction.js.map +1 -1
- package/es/api/resources.d.ts +8 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +8 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/Account.d.ts +4 -0
- package/es/types/Enum/Account.d.ts.map +1 -1
- package/es/types/Enum/Account.js +4 -0
- package/es/types/Enum/Account.js.map +1 -1
- package/es/types/Enum/BrandClementine.d.ts +10 -0
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +5 -0
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandComptalib.d.ts +6 -0
- package/es/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/es/types/Enum/BrandComptalib.js +8 -0
- package/es/types/Enum/BrandComptalib.js.map +1 -1
- package/es/types/Enum/BrandLegalstart.d.ts +2 -0
- package/es/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/es/types/Enum/BrandLegalstart.js +2 -0
- package/es/types/Enum/BrandLegalstart.js.map +1 -1
- package/es/types/Enum/ChecklistType.d.ts +60 -0
- package/es/types/Enum/ChecklistType.d.ts.map +1 -0
- package/es/types/Enum/ChecklistType.js +64 -0
- package/es/types/Enum/ChecklistType.js.map +1 -0
- package/es/types/Enum/EstimateInvoice.d.ts +1 -1
- package/es/types/Enum/EstimateInvoice.d.ts.map +1 -1
- package/es/types/Enum/EstimateInvoice.js +9 -9
- package/es/types/Enum/EstimateInvoice.js.map +1 -1
- package/es/types/Enum/MailAuto.d.ts +3 -1
- package/es/types/Enum/MailAuto.d.ts.map +1 -1
- package/es/types/Enum/MailAuto.js +2 -0
- package/es/types/Enum/MailAuto.js.map +1 -1
- package/es/types/Enum/NotificationType.d.ts +5 -0
- package/es/types/Enum/NotificationType.d.ts.map +1 -0
- package/es/types/Enum/NotificationType.js +6 -0
- package/es/types/Enum/NotificationType.js.map +1 -0
- package/es/types/Interface/api/checklist/Query.d.ts +20 -0
- package/es/types/Interface/api/checklist/Query.d.ts.map +1 -0
- package/es/types/Interface/api/checklist/Query.js +59 -0
- package/es/types/Interface/api/checklist/Query.js.map +1 -0
- package/es/types/Interface/api/checklist/Read.d.ts +12 -0
- package/es/types/Interface/api/checklist/Read.d.ts.map +1 -0
- package/es/types/Interface/api/checklist/Read.js +2 -0
- package/es/types/Interface/api/checklist/Read.js.map +1 -0
- package/es/types/Interface/api/checklist/Update.d.ts +6 -0
- package/es/types/Interface/api/checklist/Update.d.ts.map +1 -0
- package/es/types/Interface/api/checklist/Update.js +25 -0
- package/es/types/Interface/api/checklist/Update.js.map +1 -0
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +3 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +10 -0
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -0
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +2 -0
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -0
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +12 -0
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -0
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +63 -0
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -0
- package/es/types/Interface/api/lettering/QueryRegroupLettering.d.ts +4 -0
- package/es/types/Interface/api/lettering/QueryRegroupLettering.d.ts.map +1 -0
- package/es/types/Interface/api/lettering/QueryRegroupLettering.js +19 -0
- package/es/types/Interface/api/lettering/QueryRegroupLettering.js.map +1 -0
- package/es/types/Interface/api/mobile/UpdateMobile.d.ts +4 -0
- package/es/types/Interface/api/mobile/UpdateMobile.d.ts.map +1 -0
- package/es/types/Interface/api/mobile/UpdateMobile.js +17 -0
- package/es/types/Interface/api/mobile/UpdateMobile.js.map +1 -0
- package/es/types/Interface/api/notification/CreateNotification.d.ts +6 -0
- package/es/types/Interface/api/notification/CreateNotification.d.ts.map +1 -0
- package/es/types/Interface/api/notification/CreateNotification.js +22 -0
- package/es/types/Interface/api/notification/CreateNotification.js.map +1 -0
- package/es/types/Interface/api/revision/QueryRevisionApprobation.d.ts +7 -0
- package/es/types/Interface/api/revision/QueryRevisionApprobation.d.ts.map +1 -0
- package/es/types/Interface/api/revision/QueryRevisionApprobation.js +34 -0
- package/es/types/Interface/api/revision/QueryRevisionApprobation.js.map +1 -0
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts +8 -0
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js +46 -1
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
- package/es/types/Interface/api/revision/ReadRevisionAccount.d.ts +2 -2
- package/es/types/Interface/api/revision/ReadRevisionAccount.d.ts.map +1 -1
- package/es/types/Interface/api/revision/ReadRevisionAccount.js.map +1 -1
- package/es/types/Interface/api/society/ReadSociety.d.ts +4 -0
- package/es/types/Interface/api/society/ReadSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/ReadSociety.js.map +1 -1
- package/es/types/Interface/api/tax/ReadTax.d.ts +9 -0
- package/es/types/Interface/api/tax/ReadTax.d.ts.map +1 -1
- package/es/types/Interface/api/tax/ReadTax.js.map +1 -1
- package/es/types/Interface/models/IAccountDetail.d.ts +6 -6
- package/es/types/Interface/models/IAccountDetail.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountDetail.js.map +1 -1
- package/es/types/Interface/models/IAccountingEntry.d.ts +1 -0
- package/es/types/Interface/models/IAccountingEntry.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingEntry.js.map +1 -1
- package/es/types/Interface/models/IAccountingTransaction.d.ts +0 -3
- package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/es/types/Interface/models/IApiError.d.ts +5 -1
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +4 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IChecklist.d.ts +13 -9
- 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/IChecklistDetail.d.ts +1 -0
- package/es/types/Interface/models/IChecklistDetail.d.ts.map +1 -1
- package/es/types/Interface/models/IChecklistDetail.js.map +1 -1
- package/es/types/Interface/models/IChecklistType.d.ts +7 -0
- package/es/types/Interface/models/IChecklistType.d.ts.map +1 -1
- package/es/types/Interface/models/IChecklistType.js.map +1 -1
- package/es/types/Interface/models/ILettering.d.ts +0 -2
- package/es/types/Interface/models/ILettering.d.ts.map +1 -1
- package/es/types/Interface/models/ILettering.js.map +1 -1
- package/es/types/Interface/models/IMobile.d.ts +11 -0
- package/es/types/Interface/models/IMobile.d.ts.map +1 -0
- package/es/types/Interface/models/IMobile.js +2 -0
- package/es/types/Interface/models/IMobile.js.map +1 -0
- package/es/types/Interface/models/ISociety.d.ts +4 -2
- 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/IUser.d.ts +2 -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 +13 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +13 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/checklist.d.ts +3 -0
- package/es/utils/checklist.d.ts.map +1 -0
- package/es/utils/checklist.js +37 -0
- package/es/utils/checklist.js.map +1 -0
- package/js/api/resources/Checklist.js +68 -0
- package/js/api/resources/Checklist.js.map +1 -0
- package/js/api/resources/GeneralLedger.js +6 -0
- package/js/api/resources/GeneralLedger.js.map +1 -1
- package/js/api/resources/Lettering.js +25 -0
- package/js/api/resources/Lettering.js.map +1 -0
- package/js/api/resources/Mobile.js +18 -0
- package/js/api/resources/Mobile.js.map +1 -0
- package/js/api/resources/Notification.js +18 -0
- package/js/api/resources/Notification.js.map +1 -0
- package/js/api/resources/Revision.js +4 -0
- package/js/api/resources/Revision.js.map +1 -1
- package/js/api/resources/Transaction.js +6 -0
- package/js/api/resources/Transaction.js.map +1 -1
- package/js/api/resources.js +13 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/Account.js +4 -0
- package/js/types/Enum/Account.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +5 -0
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +8 -0
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/BrandLegalstart.js +2 -0
- package/js/types/Enum/BrandLegalstart.js.map +1 -1
- package/js/types/Enum/ChecklistType.js +76 -0
- package/js/types/Enum/ChecklistType.js.map +1 -0
- package/js/types/Enum/EstimateInvoice.js +9 -9
- package/js/types/Enum/EstimateInvoice.js.map +1 -1
- package/js/types/Enum/MailAuto.js +2 -0
- package/js/types/Enum/MailAuto.js.map +1 -1
- package/js/types/Enum/NotificationType.js +12 -0
- package/js/types/Enum/NotificationType.js.map +1 -0
- package/js/types/Interface/api/checklist/Query.js +57 -0
- package/js/types/Interface/api/checklist/Query.js.map +1 -0
- package/js/types/Interface/api/checklist/Read.js +6 -0
- package/js/types/Interface/api/checklist/Read.js.map +1 -0
- package/js/types/Interface/api/checklist/Update.js +33 -0
- package/js/types/Interface/api/checklist/Update.js.map +1 -0
- package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +6 -0
- package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -0
- package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +54 -0
- package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -0
- package/js/types/Interface/api/lettering/QueryRegroupLettering.js +29 -0
- package/js/types/Interface/api/lettering/QueryRegroupLettering.js.map +1 -0
- package/js/types/Interface/api/mobile/UpdateMobile.js +27 -0
- package/js/types/Interface/api/mobile/UpdateMobile.js.map +1 -0
- package/js/types/Interface/api/notification/CreateNotification.js +31 -0
- package/js/types/Interface/api/notification/CreateNotification.js.map +1 -0
- package/js/types/Interface/api/revision/QueryRevisionApprobation.js +35 -0
- package/js/types/Interface/api/revision/QueryRevisionApprobation.js.map +1 -0
- package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js +20 -0
- package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
- package/js/types/Interface/models/IApiError.js +4 -0
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/IMobile.js +6 -0
- package/js/types/Interface/models/IMobile.js.map +1 -0
- package/js/types/index.js +156 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/checklist.js +48 -0
- package/js/utils/checklist.js.map +1 -0
- package/package.json +1 -1
- package/ts/api/resources/Checklist.ts +51 -0
- package/ts/api/resources/GeneralLedger.ts +5 -1
- package/ts/api/resources/Lettering.ts +15 -0
- package/ts/api/resources/Mobile.ts +8 -0
- package/ts/api/resources/Notification.ts +7 -0
- package/ts/api/resources/Revision.ts +6 -0
- package/ts/api/resources/Transaction.ts +10 -14
- package/ts/api/resources.ts +8 -0
- package/ts/types/Enum/Account.ts +4 -0
- package/ts/types/Enum/BrandClementine.ts +5 -0
- package/ts/types/Enum/BrandComptalib.ts +8 -0
- package/ts/types/Enum/BrandLegalstart.ts +2 -0
- package/ts/types/Enum/ChecklistType.ts +62 -0
- package/ts/types/Enum/EstimateInvoice.ts +1 -1
- package/ts/types/Enum/MailAuto.ts +2 -0
- package/ts/types/Enum/NotificationType.ts +4 -0
- package/ts/types/Interface/api/checklist/Query.ts +51 -0
- package/ts/types/Interface/api/checklist/Read.ts +10 -0
- package/ts/types/Interface/api/checklist/Update.ts +13 -0
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts +3 -1
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +10 -0
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +47 -0
- package/ts/types/Interface/api/lettering/QueryRegroupLettering.ts +8 -0
- package/ts/types/Interface/api/mobile/UpdateMobile.ts +6 -0
- package/ts/types/Interface/api/notification/CreateNotification.ts +10 -0
- package/ts/types/Interface/api/revision/QueryRevisionApprobation.ts +22 -0
- package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +41 -0
- package/ts/types/Interface/api/revision/ReadRevisionAccount.ts +2 -2
- package/ts/types/Interface/api/society/ReadSociety.ts +5 -0
- package/ts/types/Interface/api/tax/ReadTax.ts +8 -1
- package/ts/types/Interface/models/IAccountDetail.ts +6 -6
- package/ts/types/Interface/models/IAccountingEntry.ts +1 -0
- package/ts/types/Interface/models/IAccountingTransaction.ts +0 -3
- package/ts/types/Interface/models/IApiError.ts +5 -0
- package/ts/types/Interface/models/IChecklist.ts +13 -9
- package/ts/types/Interface/models/IChecklistDetail.ts +1 -0
- package/ts/types/Interface/models/IChecklistType.ts +7 -0
- package/ts/types/Interface/models/ILettering.ts +0 -2
- package/ts/types/Interface/models/IMobile.ts +13 -0
- package/ts/types/Interface/models/ISociety.ts +4 -2
- package/ts/types/Interface/models/IUser.ts +2 -0
- package/ts/types/index.ts +13 -0
- package/ts/utils/checklist.ts +43 -0
|
@@ -11,6 +11,13 @@ export interface IChecklistType {
|
|
|
11
11
|
options: string | null;
|
|
12
12
|
idTypeChecklistCategorie: number | null;
|
|
13
13
|
visible: boolean;
|
|
14
|
+
isNewVersion: boolean;
|
|
15
|
+
isSimple: boolean;
|
|
16
|
+
isReinforced: boolean;
|
|
17
|
+
isBlockingSimple: boolean;
|
|
18
|
+
isBlockingReinforced: boolean;
|
|
19
|
+
emailContent: string | null;
|
|
20
|
+
errorContent: string | null;
|
|
14
21
|
createdAt?: Date | null;
|
|
15
22
|
updatedAt?: Date | null;
|
|
16
23
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { IEngagementBankTransaction } from './IEngagementBankTransaction';
|
|
2
2
|
import { IEngagementAccountingFile } from './IEngagementAccountingFile';
|
|
3
|
-
import { IAccountingTransaction } from './IAccountingTransaction';
|
|
4
3
|
|
|
5
4
|
// lettering
|
|
6
5
|
export interface ILettering {
|
|
@@ -14,5 +13,4 @@ export interface ILettering {
|
|
|
14
13
|
// Associations
|
|
15
14
|
engagementBankTransaction: IEngagementBankTransaction;
|
|
16
15
|
engagementAccountingFile: IEngagementAccountingFile;
|
|
17
|
-
accountingTransaction: IAccountingTransaction;
|
|
18
16
|
}
|
|
@@ -47,7 +47,7 @@ import { ILog } from './ILog';
|
|
|
47
47
|
import { ISms } from './ISms';
|
|
48
48
|
import { IUser } from './IUser';
|
|
49
49
|
import {
|
|
50
|
-
ComptaType, Country,
|
|
50
|
+
ComptaType, Country, INafCode, IPartneredAccountantCompanyService, Sector, UnpaidDetail, IPartneredAccountantToSociety,
|
|
51
51
|
} from '../..';
|
|
52
52
|
import { IBrandType } from './IBrandType';
|
|
53
53
|
|
|
@@ -71,7 +71,6 @@ export interface ISociety {
|
|
|
71
71
|
address: string | null;
|
|
72
72
|
siret: string | null;
|
|
73
73
|
diaCode: string | null;
|
|
74
|
-
nafCode: string | null;
|
|
75
74
|
socialCapital: string | null;
|
|
76
75
|
archive: boolean;
|
|
77
76
|
archiveDate: Date | null;
|
|
@@ -116,6 +115,7 @@ export interface ISociety {
|
|
|
116
115
|
idSector: Sector | null;
|
|
117
116
|
idSocietyNotes: number | null;
|
|
118
117
|
folderNote: string | null;
|
|
118
|
+
oldNafCode: string | null;
|
|
119
119
|
dateSendAdvise: Date | null;
|
|
120
120
|
idUserAdvise: number | null;
|
|
121
121
|
idVatForInternalInvoicing: number;
|
|
@@ -140,6 +140,7 @@ export interface ISociety {
|
|
|
140
140
|
canceledFirstStepAt: Date | null;
|
|
141
141
|
completedFirstStepAt: Date | null;
|
|
142
142
|
lastMobileConnection: Date | null;
|
|
143
|
+
idNafCode: number | null;
|
|
143
144
|
canceledFirstStepTourAt: Date | null;
|
|
144
145
|
step: string | null;
|
|
145
146
|
hidePartneredAccountantsBubbleLink: boolean | null;
|
|
@@ -174,6 +175,7 @@ export interface ISociety {
|
|
|
174
175
|
tvaRegime?: IVatRegime;
|
|
175
176
|
fiscalRegime?: IFiscalRegime;
|
|
176
177
|
source?: ISource;
|
|
178
|
+
nafCode?: INafCode;
|
|
177
179
|
analyticsUtm?: IAnalyticsUtm;
|
|
178
180
|
activity?: IActivity;
|
|
179
181
|
softwareCompta?: ISoftwareCompta;
|
|
@@ -13,6 +13,7 @@ import { INotification } from './INotification';
|
|
|
13
13
|
import { ISociety } from './ISociety';
|
|
14
14
|
import { ITeam } from './ITeam';
|
|
15
15
|
import { IUserTest } from './IUserTest';
|
|
16
|
+
import { IMobile } from './IMobile';
|
|
16
17
|
|
|
17
18
|
type isAny<T> = T | any;
|
|
18
19
|
|
|
@@ -95,4 +96,5 @@ export interface IUser {
|
|
|
95
96
|
societies?: ISociety[];
|
|
96
97
|
teams?: ITeam[];
|
|
97
98
|
usersTest?: IUserTest;
|
|
99
|
+
mobile?: IMobile;
|
|
98
100
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -302,6 +302,7 @@ export * from './Interface/models/IBalanceSheetStatus';
|
|
|
302
302
|
export * from './Interface/models/IBalanceSheetCompletion';
|
|
303
303
|
export * from './Interface/models/IDefaultPromotion';
|
|
304
304
|
export * from './Interface/models/INafCode';
|
|
305
|
+
export * from './Interface/models/IMobile';
|
|
305
306
|
|
|
306
307
|
// Forms
|
|
307
308
|
export * from './Form/FormAuthenticate';
|
|
@@ -408,6 +409,8 @@ export * from './Enum/MailFlag';
|
|
|
408
409
|
export * from './Enum/Contract';
|
|
409
410
|
export * from './Enum/SalariesType';
|
|
410
411
|
export * from './Enum/SheetMonthScheduleDetailType';
|
|
412
|
+
export * from './Enum/ChecklistType';
|
|
413
|
+
export * from './Enum/NotificationType';
|
|
411
414
|
|
|
412
415
|
// Interfaces API
|
|
413
416
|
export * from './Interface/api/jeDeclare/ReadJeDeclare';
|
|
@@ -513,6 +516,7 @@ export * from './Interface/api/ocr/OcrTypeTransactions';
|
|
|
513
516
|
export * from './Interface/api/bankStatement/ReadBankStatement';
|
|
514
517
|
export * from './Interface/api/tax/ReadCompanyTax';
|
|
515
518
|
export * from './Interface/api/revision/QueryRevision';
|
|
519
|
+
export * from './Interface/api/revision/QueryRevisionApprobation';
|
|
516
520
|
export * from './Interface/api/revision/QueryRevisionPaginate';
|
|
517
521
|
export * from './Interface/api/revision/ReadRevision';
|
|
518
522
|
export * from './Interface/api/revision/RevisionObject';
|
|
@@ -564,6 +568,8 @@ export * from './Interface/api/fecFile/CreateFecFile';
|
|
|
564
568
|
export * from './Interface/api/fecFile/DeleteFecFile';
|
|
565
569
|
export * from './Interface/api/fecFile/ReadFecFile';
|
|
566
570
|
export * from './Interface/api/generalLedger/QueryGeneralLedger';
|
|
571
|
+
export * from './Interface/api/generalLedger/QueryGeneralLedgerAuxiliary';
|
|
572
|
+
export * from './Interface/api/generalLedger/IGeneralLedgerThirdParty';
|
|
567
573
|
export * from './Interface/api/incomeStatement/QueryIncomeStatement';
|
|
568
574
|
export * from './Interface/api/incomeStatement/ReadIncomeStatement';
|
|
569
575
|
export * from './Interface/api/balanceSheet/ReadBalanceSheet';
|
|
@@ -588,6 +594,7 @@ export * from './Interface/api/promoCode/CreatePromoCode';
|
|
|
588
594
|
export * from './Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount';
|
|
589
595
|
export * from './Interface/api/loan/CreateLoan';
|
|
590
596
|
export * from './Interface/api/stock/StocksType';
|
|
597
|
+
export * from './Interface/api/lettering/QueryRegroupLettering';
|
|
591
598
|
// export * from './Interface/api/stock/StockEntries';
|
|
592
599
|
export * from './Interface/api/societyPromoCode/CreateSocietyPromoCode';
|
|
593
600
|
export * from './Interface/api/loan/UpdateLoan';
|
|
@@ -690,11 +697,17 @@ export * from './Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletio
|
|
|
690
697
|
export * from './Interface/api/bankAccount/ReadExpiredBankAccount';
|
|
691
698
|
export * from './Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule';
|
|
692
699
|
export * from './Interface/api/calendarEvent/createCalendarEvent';
|
|
700
|
+
export * from './Interface/api/checklist/Read';
|
|
701
|
+
export * from './Interface/api/checklist/Query';
|
|
702
|
+
export * from './Interface/api/checklist/Update';
|
|
703
|
+
export * from './Interface/api/notification/CreateNotification';
|
|
693
704
|
|
|
694
705
|
// Enums types
|
|
695
706
|
export * from './Interface/enum/Util';
|
|
707
|
+
export * from './Interface/api/mobile/UpdateMobile';
|
|
696
708
|
|
|
697
709
|
export * from '../utils/cerfa';
|
|
710
|
+
export * from '../utils/checklist';
|
|
698
711
|
export * from './Interface/api/affectedPatrimony/CreateAffectedPatrimony';
|
|
699
712
|
export * from './Interface/api/affectedPatrimony/CreateInKindAffectedPatrimony';
|
|
700
713
|
export * from './Interface/api/affectedPatrimony/ResultCreateAffectedPatrimony';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ChecklistDetailName, ChecklistDetailType, ChecklistTypeEnum, IChecklist, IChecklistType, QueryGetAllBlockingIssues,
|
|
3
|
+
} from '../types';
|
|
4
|
+
|
|
5
|
+
export function getAllBlockingIssues(checklist: IChecklist, meta: QueryGetAllBlockingIssues): IChecklistType[] {
|
|
6
|
+
const { questionsList, answers } = meta;
|
|
7
|
+
|
|
8
|
+
const blockingQuestions = questionsList.filter((q) => (checklist.type === ChecklistTypeEnum.REINFORCED ? q.isBlockingReinforced : checklist.type === ChecklistTypeEnum.DEFAULT ? q.isBlockingSimple : false));
|
|
9
|
+
const blockingIssues: IChecklistType[] = [];
|
|
10
|
+
|
|
11
|
+
blockingQuestions.forEach((question) => {
|
|
12
|
+
const answer = answers.find((a) => a.idTypeChecklist === question.id);
|
|
13
|
+
|
|
14
|
+
if (!answer) {
|
|
15
|
+
blockingIssues.push(question);
|
|
16
|
+
} else if (question.name === ChecklistDetailName.ACTION_TAKEN) {
|
|
17
|
+
// Comptes bancaires actifs synchronisés ?
|
|
18
|
+
const questionForAreAllBankAccountsSynchronized = questionsList.find((q) => q.name === ChecklistDetailName.ARE_ALL_BANK_ACCOUNTS_SYNCHRONIZED);
|
|
19
|
+
const answerForAreAllBankAccountsSynchronized = answers.find((a) => a.idTypeChecklist && a.idTypeChecklist === questionForAreAllBankAccountsSynchronized?.id);
|
|
20
|
+
|
|
21
|
+
// Applicatin annotée à 80/100% ?
|
|
22
|
+
const questionForAnnoted = questionsList.find((q) => q.name === (checklist.type === ChecklistTypeEnum.REINFORCED ? ChecklistDetailName.FULLY_ANNOTED : ChecklistDetailName.ALMOST_ANNOTED));
|
|
23
|
+
const answerForAnnoted = answers.find((a) => a.idTypeChecklist && a.idTypeChecklist === questionForAnnoted?.id);
|
|
24
|
+
|
|
25
|
+
if ((!answerForAnnoted?.value || answerForAnnoted.value === '0' || !answerForAreAllBankAccountsSynchronized?.value || answerForAreAllBankAccountsSynchronized.value === '0') && (answer.value === '2' || answer.value === '0' || !answer.value || answer.value === '')) {
|
|
26
|
+
blockingIssues.push(question);
|
|
27
|
+
}
|
|
28
|
+
} else if (question.name === ChecklistDetailName.HAS_JUSTIFIED_CONTRIBUTIONS) {
|
|
29
|
+
const questionForComment = questionsList.find((q) => q.name === ChecklistDetailName.COMMENTS);
|
|
30
|
+
const comment = answers.find((a) => a.idTypeChecklist && a.idTypeChecklist === questionForComment?.id);
|
|
31
|
+
|
|
32
|
+
if (!answer.value || answer.value === '0' || (answer.value === '1' && (!comment?.value || comment?.value === ''))) {
|
|
33
|
+
blockingIssues.push(question);
|
|
34
|
+
}
|
|
35
|
+
} else if ([ChecklistDetailType.SELECT as string, ChecklistDetailType.SWITCH].includes(question.type)) {
|
|
36
|
+
if (!answer.value || answer.value === '0') {
|
|
37
|
+
blockingIssues.push(question);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
return blockingIssues;
|
|
43
|
+
}
|