@silexpert/core 1.3.156 → 1.3.157-auxiliary-1
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/ExercicePrestation.d.ts +6 -0
- package/dist/cjs/api/resources/ExercicePrestation.d.ts.map +1 -1
- package/dist/cjs/api/resources/ExercicePrestation.js +8 -0
- package/dist/cjs/api/resources/ExercicePrestation.js.map +1 -1
- package/dist/cjs/api/resources/GeneralLedger.d.ts +2 -1
- package/dist/cjs/api/resources/GeneralLedger.d.ts.map +1 -1
- package/dist/cjs/api/resources/GeneralLedger.js +9 -0
- package/dist/cjs/api/resources/GeneralLedger.js.map +1 -1
- package/dist/cjs/api/resources/Mfa.d.ts +19 -0
- package/dist/cjs/api/resources/Mfa.d.ts.map +1 -0
- package/dist/cjs/api/resources/Mfa.js +27 -0
- package/dist/cjs/api/resources/Mfa.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/Enum/Card.d.ts +7 -1
- package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Card.js +7 -0
- package/dist/cjs/types/Enum/Card.js.map +1 -1
- package/dist/cjs/types/Enum/MissionAcceptation.js +1 -1
- package/dist/cjs/types/Enum/MissionAcceptation.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +16 -16
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Enum/Proceding.d.ts +8 -0
- package/dist/cjs/types/Enum/Proceding.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Proceding.js +10 -2
- package/dist/cjs/types/Enum/Proceding.js.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +7 -0
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js +3 -0
- package/dist/cjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -0
- package/dist/cjs/types/Interface/api/card/Query.d.ts +3 -0
- package/dist/cjs/types/Interface/api/card/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/Query.js +10 -1
- package/dist/cjs/types/Interface/api/card/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +1 -0
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +1 -0
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +8 -0
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +31 -1
- package/dist/cjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/dist/cjs/types/Interface/api/mfa/DisableMfa.d.ts +4 -0
- package/dist/cjs/types/Interface/api/mfa/DisableMfa.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/DisableMfa.js +22 -0
- package/dist/cjs/types/Interface/api/mfa/DisableMfa.js.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/SetupInit.d.ts +5 -0
- package/dist/cjs/types/Interface/api/mfa/SetupInit.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/SetupInit.js +27 -0
- package/dist/cjs/types/Interface/api/mfa/SetupInit.js.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/SetupVerify.d.ts +5 -0
- package/dist/cjs/types/Interface/api/mfa/SetupVerify.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/SetupVerify.js +27 -0
- package/dist/cjs/types/Interface/api/mfa/SetupVerify.js.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyCode.d.ts +5 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyCode.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyCode.js +27 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyCode.js.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts +5 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.js +27 -0
- package/dist/cjs/types/Interface/api/mfa/VerifyRecoveryCode.js.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/mfa.d.ts +19 -0
- package/dist/cjs/types/Interface/api/mfa/mfa.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/mfa/mfa.js +3 -0
- package/dist/cjs/types/Interface/api/mfa/mfa.js.map +1 -0
- package/dist/cjs/types/Interface/api/revenueMovement.d.ts +3 -0
- package/dist/cjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenueMovement.js.map +1 -1
- package/dist/cjs/types/Interface/models/IRevenueMovement.d.ts +3 -1
- package/dist/cjs/types/Interface/models/IRevenueMovement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IRevenueMovement.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.d.ts +1 -0
- package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUserMfa.d.ts +12 -0
- package/dist/cjs/types/Interface/models/IUserMfa.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IUserMfa.js +3 -0
- package/dist/cjs/types/Interface/models/IUserMfa.js.map +1 -0
- package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.d.ts +9 -0
- package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.js +3 -0
- package/dist/cjs/types/Interface/models/IUserMfaRecoveryCode.js.map +1 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/ExercicePrestation.d.ts +6 -0
- package/dist/mjs/api/resources/ExercicePrestation.d.ts.map +1 -1
- package/dist/mjs/api/resources/ExercicePrestation.js +8 -0
- package/dist/mjs/api/resources/ExercicePrestation.js.map +1 -1
- package/dist/mjs/api/resources/GeneralLedger.d.ts +2 -1
- package/dist/mjs/api/resources/GeneralLedger.d.ts.map +1 -1
- package/dist/mjs/api/resources/GeneralLedger.js +9 -0
- package/dist/mjs/api/resources/GeneralLedger.js.map +1 -1
- package/dist/mjs/api/resources/Mfa.d.ts +19 -0
- package/dist/mjs/api/resources/Mfa.d.ts.map +1 -0
- package/dist/mjs/api/resources/Mfa.js +23 -0
- package/dist/mjs/api/resources/Mfa.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/Enum/Card.d.ts +7 -1
- package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Card.js +7 -0
- package/dist/mjs/types/Enum/Card.js.map +1 -1
- package/dist/mjs/types/Enum/MissionAcceptation.js +1 -1
- package/dist/mjs/types/Enum/MissionAcceptation.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +16 -16
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Enum/Proceding.d.ts +8 -0
- package/dist/mjs/types/Enum/Proceding.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Proceding.js +10 -2
- package/dist/mjs/types/Enum/Proceding.js.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts +7 -0
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js +2 -0
- package/dist/mjs/types/Interface/api/authentification/AuthenticationResponse.js.map +1 -0
- package/dist/mjs/types/Interface/api/card/Query.d.ts +3 -0
- package/dist/mjs/types/Interface/api/card/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/Query.js +10 -2
- package/dist/mjs/types/Interface/api/card/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts +1 -0
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.js.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +1 -0
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +8 -0
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +35 -1
- package/dist/mjs/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/dist/mjs/types/Interface/api/mfa/DisableMfa.d.ts +4 -0
- package/dist/mjs/types/Interface/api/mfa/DisableMfa.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/DisableMfa.js +19 -0
- package/dist/mjs/types/Interface/api/mfa/DisableMfa.js.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/SetupInit.d.ts +5 -0
- package/dist/mjs/types/Interface/api/mfa/SetupInit.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/SetupInit.js +25 -0
- package/dist/mjs/types/Interface/api/mfa/SetupInit.js.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/SetupVerify.d.ts +5 -0
- package/dist/mjs/types/Interface/api/mfa/SetupVerify.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/SetupVerify.js +25 -0
- package/dist/mjs/types/Interface/api/mfa/SetupVerify.js.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyCode.d.ts +5 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyCode.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyCode.js +25 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyCode.js.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts +5 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.js +25 -0
- package/dist/mjs/types/Interface/api/mfa/VerifyRecoveryCode.js.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/mfa.d.ts +19 -0
- package/dist/mjs/types/Interface/api/mfa/mfa.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/mfa/mfa.js +2 -0
- package/dist/mjs/types/Interface/api/mfa/mfa.js.map +1 -0
- package/dist/mjs/types/Interface/api/revenueMovement.d.ts +3 -0
- package/dist/mjs/types/Interface/api/revenueMovement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenueMovement.js.map +1 -1
- package/dist/mjs/types/Interface/models/IRevenueMovement.d.ts +3 -1
- package/dist/mjs/types/Interface/models/IRevenueMovement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IRevenueMovement.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.d.ts +1 -0
- package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUserMfa.d.ts +12 -0
- package/dist/mjs/types/Interface/models/IUserMfa.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IUserMfa.js +2 -0
- package/dist/mjs/types/Interface/models/IUserMfa.js.map +1 -0
- package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.d.ts +9 -0
- package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.js +2 -0
- package/dist/mjs/types/Interface/models/IUserMfaRecoveryCode.js.map +1 -0
- package/dist/mjs/types/index.d.ts +1 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/ExercicePrestation.ts +9 -0
- package/ts/api/resources/GeneralLedger.ts +11 -0
- package/ts/api/resources/Mfa.ts +29 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/Card.ts +7 -0
- package/ts/types/Enum/MissionAcceptation.ts +1 -1
- package/ts/types/Enum/PrestationType.ts +16 -16
- package/ts/types/Enum/Proceding.ts +10 -2
- package/ts/types/Interface/api/authentification/AuthenticationResponse.ts +6 -0
- package/ts/types/Interface/api/card/Query.ts +9 -2
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerAccountingEntry.ts +1 -0
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +1 -0
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +25 -1
- package/ts/types/Interface/api/mfa/DisableMfa.ts +7 -0
- package/ts/types/Interface/api/mfa/SetupInit.ts +11 -0
- package/ts/types/Interface/api/mfa/SetupVerify.ts +11 -0
- package/ts/types/Interface/api/mfa/VerifyCode.ts +11 -0
- package/ts/types/Interface/api/mfa/VerifyRecoveryCode.ts +11 -0
- package/ts/types/Interface/api/mfa/mfa.ts +21 -0
- package/ts/types/Interface/api/revenueMovement.ts +3 -0
- package/ts/types/Interface/models/IRevenueMovement.ts +4 -1
- package/ts/types/Interface/models/IUser.ts +1 -0
- package/ts/types/Interface/models/IUserMfa.ts +11 -0
- package/ts/types/Interface/models/IUserMfaRecoveryCode.ts +8 -0
- package/ts/types/index.ts +1 -0
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
IGeneralLedgerAccount,
|
|
4
4
|
IGeneralLedgerThirdParty,
|
|
5
5
|
QueryGeneralLedgerAuxiliary,
|
|
6
|
+
QueryGeneralLedgerAuxiliaryPdf,
|
|
6
7
|
QueryGeneralLedgerThirdParty,
|
|
7
8
|
ReadGeneralLedgerSummary,
|
|
8
9
|
ReadIGeneralLedgerThirdPartyPaginated,
|
|
@@ -89,4 +90,14 @@ export class GeneralLedger extends Resource {
|
|
|
89
90
|
getThirdParty(id: number, params: QueryGeneralLedgerThirdParty): Promise<ReadIGeneralLedgerThirdPartyPaginated> {
|
|
90
91
|
return this.axios.$get(`/general-ledger/third-parties/${id}`, { params });
|
|
91
92
|
}
|
|
93
|
+
|
|
94
|
+
getAuxiliaryPdf(params: QueryGeneralLedgerAuxiliaryPdf): Promise<Buffer> {
|
|
95
|
+
return this.axios.$get('/general-ledger/auxiliary/pdf', {
|
|
96
|
+
params,
|
|
97
|
+
responseType: 'arraybuffer',
|
|
98
|
+
headers: {
|
|
99
|
+
Accept: 'application/pdf',
|
|
100
|
+
},
|
|
101
|
+
});
|
|
102
|
+
}
|
|
92
103
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { MfaSetupInitResult, MfaSetupVerifyResult } from '../../types/Interface/api/mfa/mfa';
|
|
2
|
+
import { Resource } from '../Resource';
|
|
3
|
+
|
|
4
|
+
export class UserMfa extends Resource {
|
|
5
|
+
setupInit(userId: number, userEmail: string): Promise<MfaSetupInitResult> {
|
|
6
|
+
return this.axios.$post('/mfa/setup/init', { userId, userEmail });
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
setupVerify(userId: number, code: string): Promise<MfaSetupVerifyResult> {
|
|
10
|
+
return this.axios.$post('/mfa/setup/verify', { userId, code });
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
disable(userId: number): Promise<boolean> {
|
|
14
|
+
return this.axios.$post('/mfa/disable', { userId });
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
verifyCode(userId: number, code: string): Promise<{ success: boolean; token?: string }> {
|
|
18
|
+
return this.axios.$post('/mfa/verify/code', { userId, code });
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
verifyRecoveryCode(userId: number, recoveryCode: string): Promise<{ success: boolean; token?: string }> {
|
|
22
|
+
return this.axios.$post('/mfa/verify/recovery-code', { userId, recoveryCode });
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
isMfaEnabled(userId?: number): Promise<{ isEnabled: boolean }> {
|
|
26
|
+
// Si userId est fourni, l'envoyer en query param, sinon vérifier l'user connecté
|
|
27
|
+
return this.axios.$get('/mfa/is-enabled', userId ? { params: { userId } } : undefined);
|
|
28
|
+
}
|
|
29
|
+
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -181,6 +181,7 @@ import { Gdpr } from './resources/Gdpr';
|
|
|
181
181
|
import { Sellsy } from './resources/Sellsy';
|
|
182
182
|
import { BankDedup } from './resources/BankDedup';
|
|
183
183
|
import { StripePurchase } from './resources/StripePurchase';
|
|
184
|
+
import { UserMfa } from './resources/Mfa';
|
|
184
185
|
import { DashboardLayout } from './resources/DashboardLayout';
|
|
185
186
|
import { DocumentRequest } from './resources/DocumentRequest';
|
|
186
187
|
import { BalanceSheetReport } from './resources/BalanceSheetReport';
|
|
@@ -321,6 +322,7 @@ export const resources = {
|
|
|
321
322
|
visualizedInformation: VisualizedInformation,
|
|
322
323
|
fusion: Fusion,
|
|
323
324
|
salesContract: SalesContract,
|
|
325
|
+
userMfa: UserMfa,
|
|
324
326
|
leadsToPartners: LeadsToPartners,
|
|
325
327
|
changeLog: ChangeLog,
|
|
326
328
|
constitutionHistory: ConstitutionHistory,
|
package/ts/types/Enum/Card.ts
CHANGED
|
@@ -33,6 +33,7 @@ export enum CardType {
|
|
|
33
33
|
ADVANCE_SIMPLIFIED_VAT_SEND_SIE = 29, // Acompte de TVA envoi SIE
|
|
34
34
|
VAT_SEND_SIE = 30, // TVA envoi SIE
|
|
35
35
|
ADVANCE_IS_SEND_SIE = 31, // Acompte IS envoi SIE
|
|
36
|
+
CUT_OFF_ORI_M_1 = 32, // Cut-off ORI M-1
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
export enum CardState {
|
|
@@ -323,6 +324,12 @@ export const CardTypeLabel = [
|
|
|
323
324
|
refLabel: 'AVTS',
|
|
324
325
|
groupId: CardGroupEnum.VAT_GROUP,
|
|
325
326
|
},
|
|
327
|
+
{
|
|
328
|
+
id: CardType.CUT_OFF_ORI_M_1,
|
|
329
|
+
label: 'Cut-off ORI M-1',
|
|
330
|
+
refLabel: 'COOM1',
|
|
331
|
+
groupId: CardGroupEnum.CUT_OFF,
|
|
332
|
+
},
|
|
326
333
|
] as const;
|
|
327
334
|
|
|
328
335
|
export interface UserCardsStats {
|
|
@@ -7,7 +7,7 @@ export const MissionAcceptationState: { [key: string]: number | null } = {
|
|
|
7
7
|
};
|
|
8
8
|
|
|
9
9
|
export const MissionAcceptationList: Array<{ text: string; value: number | null; color: string }> = [
|
|
10
|
-
{ text: 'En attente', value:
|
|
10
|
+
{ text: 'En attente', value: null, color: '' },
|
|
11
11
|
{ text: 'Accepté', value: MissionAcceptationState.ACCEPTED, color: 'success' },
|
|
12
12
|
{ text: 'Non accepté', value: MissionAcceptationState.NOT_ACCEPTED, color: 'error' },
|
|
13
13
|
{ text: 'Attente conformité', value: MissionAcceptationState.WAITING_CONFORMITY, color: 'primary' },
|
|
@@ -1175,7 +1175,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1175
1175
|
},
|
|
1176
1176
|
CESSION_ACTIONS: {
|
|
1177
1177
|
id: 51,
|
|
1178
|
-
name:
|
|
1178
|
+
name: "Cession d'actions",
|
|
1179
1179
|
isComptable: false,
|
|
1180
1180
|
isJuridique: true,
|
|
1181
1181
|
isSocial: false,
|
|
@@ -1232,7 +1232,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1232
1232
|
},
|
|
1233
1233
|
MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SASU_EURL: {
|
|
1234
1234
|
id: 54,
|
|
1235
|
-
name:
|
|
1235
|
+
name: "Modification d'un dirigeant ou d'un commissaire aux compte (SASU / EURL)",
|
|
1236
1236
|
isComptable: false,
|
|
1237
1237
|
isJuridique: true,
|
|
1238
1238
|
isSocial: false,
|
|
@@ -1384,7 +1384,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1384
1384
|
},
|
|
1385
1385
|
MODIFICATION_OBJET_SOCIAL_EURL_SASU: {
|
|
1386
1386
|
id: 62,
|
|
1387
|
-
name:
|
|
1387
|
+
name: "Modification de l'objet social (EURL/SASU)",
|
|
1388
1388
|
isComptable: false,
|
|
1389
1389
|
isJuridique: true,
|
|
1390
1390
|
isSocial: false,
|
|
@@ -1726,7 +1726,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1726
1726
|
},
|
|
1727
1727
|
CREATION_DOSSIER_INFORMATIQUE_PAR_SALARIE: {
|
|
1728
1728
|
id: 80,
|
|
1729
|
-
name:
|
|
1729
|
+
name: "Création d'un dossier informatique par salarié",
|
|
1730
1730
|
isComptable: false,
|
|
1731
1731
|
isJuridique: false,
|
|
1732
1732
|
isSocial: true,
|
|
@@ -1745,7 +1745,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1745
1745
|
},
|
|
1746
1746
|
ETABLISSEMENT_CONTRAT_TRAVAIL: {
|
|
1747
1747
|
id: 81,
|
|
1748
|
-
name:
|
|
1748
|
+
name: "Etablissement d'un contrat de travail",
|
|
1749
1749
|
isComptable: false,
|
|
1750
1750
|
isJuridique: false,
|
|
1751
1751
|
isSocial: true,
|
|
@@ -1802,7 +1802,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
1802
1802
|
},
|
|
1803
1803
|
TAXE_APPRENTISSAGE_ET_FORMATION_CONTINUE: {
|
|
1804
1804
|
id: 84,
|
|
1805
|
-
name:
|
|
1805
|
+
name: "Taxe d'apprentissage et formation continue",
|
|
1806
1806
|
isComptable: false,
|
|
1807
1807
|
isJuridique: false,
|
|
1808
1808
|
isSocial: true,
|
|
@@ -2031,7 +2031,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2031
2031
|
},
|
|
2032
2032
|
ATTESTATION_CA: {
|
|
2033
2033
|
id: 97,
|
|
2034
|
-
name:
|
|
2034
|
+
name: "Attestation de chiffre d'affaires",
|
|
2035
2035
|
isComptable: true,
|
|
2036
2036
|
isJuridique: false,
|
|
2037
2037
|
isSocial: false,
|
|
@@ -2069,7 +2069,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2069
2069
|
},
|
|
2070
2070
|
MAJ_ADRESSE_PERSONNELLE_DIRIGEANT_SUR_KBIS: {
|
|
2071
2071
|
id: 99,
|
|
2072
|
-
name:
|
|
2072
|
+
name: "Mise à jour de l'adresse personnelle du dirigeant sur le Kbis",
|
|
2073
2073
|
isComptable: false,
|
|
2074
2074
|
isJuridique: true,
|
|
2075
2075
|
isSocial: false,
|
|
@@ -2107,7 +2107,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2107
2107
|
},
|
|
2108
2108
|
MODIFICATION_OBJET_SOCIAL_SARL_SAS_SCI: {
|
|
2109
2109
|
id: 103,
|
|
2110
|
-
name:
|
|
2110
|
+
name: "Modification de l'objet social (SARL/SAS/SCI)",
|
|
2111
2111
|
isComptable: false,
|
|
2112
2112
|
isJuridique: true,
|
|
2113
2113
|
isSocial: false,
|
|
@@ -2164,7 +2164,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2164
2164
|
},
|
|
2165
2165
|
MODIFICATION_DIRIGEANT_OU_COMMISSAIRE_AU_COMPTE_SAS_SARL_SCI: {
|
|
2166
2166
|
id: 106,
|
|
2167
|
-
name:
|
|
2167
|
+
name: "Modification d’un dirigeant ou d'un commissaire aux compte (SAS / SARL / SCI)",
|
|
2168
2168
|
isComptable: false,
|
|
2169
2169
|
isJuridique: true,
|
|
2170
2170
|
isSocial: false,
|
|
@@ -2734,7 +2734,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
2734
2734
|
},
|
|
2735
2735
|
CONTRAT_APPORT_EN_NATURE: {
|
|
2736
2736
|
id: 138,
|
|
2737
|
-
name:
|
|
2737
|
+
name: "Contrat d'apport en nature",
|
|
2738
2738
|
isComptable: false,
|
|
2739
2739
|
isJuridique: true,
|
|
2740
2740
|
isSocial: false,
|
|
@@ -3323,7 +3323,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3323
3323
|
},
|
|
3324
3324
|
DECLARATION_IR: {
|
|
3325
3325
|
id: 206,
|
|
3326
|
-
name:
|
|
3326
|
+
name: "Déclaration d'IR",
|
|
3327
3327
|
isComptable: true,
|
|
3328
3328
|
isJuridique: false,
|
|
3329
3329
|
isSocial: false,
|
|
@@ -3437,7 +3437,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3437
3437
|
},
|
|
3438
3438
|
STATUTS_FREE: {
|
|
3439
3439
|
id: PrestationType.STATUTS_FREE,
|
|
3440
|
-
name:
|
|
3440
|
+
name: "Statuts - Just' Statuts",
|
|
3441
3441
|
isComptable: true,
|
|
3442
3442
|
isJuridique: true,
|
|
3443
3443
|
isSocial: false,
|
|
@@ -3456,7 +3456,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3456
3456
|
},
|
|
3457
3457
|
STATUTS_OPTION_1: {
|
|
3458
3458
|
id: PrestationType.STATUTS_OPTION_1,
|
|
3459
|
-
name:
|
|
3459
|
+
name: "Statuts - Just' Création",
|
|
3460
3460
|
isComptable: true,
|
|
3461
3461
|
isJuridique: true,
|
|
3462
3462
|
isSocial: false,
|
|
@@ -3475,7 +3475,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3475
3475
|
},
|
|
3476
3476
|
STATUTS_OPTION_2: {
|
|
3477
3477
|
id: PrestationType.STATUTS_OPTION_2,
|
|
3478
|
-
name:
|
|
3478
|
+
name: "Statuts - Full'Créa",
|
|
3479
3479
|
isComptable: true,
|
|
3480
3480
|
isJuridique: true,
|
|
3481
3481
|
isSocial: false,
|
|
@@ -3673,7 +3673,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3673
3673
|
inAverageCart: false,
|
|
3674
3674
|
isBack: false,
|
|
3675
3675
|
minimumPrice: null,
|
|
3676
|
-
price:
|
|
3676
|
+
price: 80,
|
|
3677
3677
|
isCatalog: true,
|
|
3678
3678
|
isPlannable: false,
|
|
3679
3679
|
hidden: false,
|
|
@@ -17,7 +17,7 @@ export const Proceding = {
|
|
|
17
17
|
},
|
|
18
18
|
CONTINUATION_OF_THE_ACTIVITY: {
|
|
19
19
|
id: 5,
|
|
20
|
-
name:
|
|
20
|
+
name: "Poursuite de l'activité",
|
|
21
21
|
},
|
|
22
22
|
DISSOLUTION: {
|
|
23
23
|
id: 6,
|
|
@@ -41,6 +41,14 @@ export const Proceding = {
|
|
|
41
41
|
},
|
|
42
42
|
ENTRY_ORDER: {
|
|
43
43
|
id: 11,
|
|
44
|
-
name:
|
|
44
|
+
name: "Saisie de l'ordre",
|
|
45
|
+
},
|
|
46
|
+
DELISTING: {
|
|
47
|
+
id: 12,
|
|
48
|
+
name: 'Radiation',
|
|
49
|
+
},
|
|
50
|
+
AUTOMATIC_DELISTING: {
|
|
51
|
+
id: 13,
|
|
52
|
+
name: "Radiation d'office",
|
|
45
53
|
},
|
|
46
54
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IsDate, IsInt } from 'class-validator';
|
|
2
|
-
import { ApiProperty } from '../../../../utils';
|
|
1
|
+
import { IsDate, IsInt, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
|
|
4
4
|
export class QueryInternalCardsStats {
|
|
5
5
|
@ApiProperty()
|
|
@@ -10,3 +10,10 @@ export class QueryInternalCardsStats {
|
|
|
10
10
|
@IsDate()
|
|
11
11
|
date: Date;
|
|
12
12
|
}
|
|
13
|
+
|
|
14
|
+
export class QueryCronCards {
|
|
15
|
+
@ApiPropertyOptional()
|
|
16
|
+
@IsOptional()
|
|
17
|
+
@IsInt()
|
|
18
|
+
declare idSociety?: number;
|
|
19
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber, IsDateString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
4
|
import { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';
|
|
@@ -49,3 +49,27 @@ export class QueryGeneralLedgerAuxiliary {
|
|
|
49
49
|
@IsOptional()
|
|
50
50
|
idThirdParty?: number;
|
|
51
51
|
}
|
|
52
|
+
|
|
53
|
+
export class QueryGeneralLedgerAuxiliaryPdf {
|
|
54
|
+
@ApiProperty()
|
|
55
|
+
@IsDateString()
|
|
56
|
+
startDate: string;
|
|
57
|
+
|
|
58
|
+
@ApiProperty()
|
|
59
|
+
@IsDateString()
|
|
60
|
+
endDate: string;
|
|
61
|
+
|
|
62
|
+
@ApiPropertyOptional()
|
|
63
|
+
@IsOptional()
|
|
64
|
+
idThirdPartyType?: ThirdPartyType;
|
|
65
|
+
|
|
66
|
+
@ApiPropertyOptional()
|
|
67
|
+
@IsOptional()
|
|
68
|
+
idThirdParty?: number[];
|
|
69
|
+
|
|
70
|
+
@ApiPropertyOptional({ describe: 'If set to true, it will search only entries with no lettering' })
|
|
71
|
+
@IsBoolean()
|
|
72
|
+
@ToBoolean()
|
|
73
|
+
@IsOptional()
|
|
74
|
+
omitLettering?: boolean;
|
|
75
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface MfaSetupInitResult {
|
|
2
|
+
otpauthUri: string;
|
|
3
|
+
tempSecret: string;
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface MfaSetupVerifyResult {
|
|
8
|
+
success: boolean;
|
|
9
|
+
recoveryCodes: string[];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface MfaAuthenticationResponse {
|
|
13
|
+
requiresMfa: boolean;
|
|
14
|
+
userId?: number;
|
|
15
|
+
token?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface MfaVerificationResponse {
|
|
19
|
+
success: boolean;
|
|
20
|
+
token?: string;
|
|
21
|
+
}
|
|
@@ -9,6 +9,7 @@ export interface ICreateRevenueMovementRequest {
|
|
|
9
9
|
idExercice?: number;
|
|
10
10
|
idPrestation?: number;
|
|
11
11
|
idTerminationList?: number;
|
|
12
|
+
idChurnMovement?: number;
|
|
12
13
|
amount: number;
|
|
13
14
|
mrr: number;
|
|
14
15
|
arr: number;
|
|
@@ -23,6 +24,7 @@ export interface ICreateRevenueMovementRequest {
|
|
|
23
24
|
export interface IUpdateRevenueMovementRequest {
|
|
24
25
|
type?: RevenueMovementType;
|
|
25
26
|
idTerminationList?: number;
|
|
27
|
+
idChurnMovement?: number;
|
|
26
28
|
amount?: number;
|
|
27
29
|
mrr?: number;
|
|
28
30
|
arr?: number;
|
|
@@ -39,6 +41,7 @@ export interface IGetRevenueMovementsRequest {
|
|
|
39
41
|
idExercice?: number;
|
|
40
42
|
idPrestation?: number;
|
|
41
43
|
idTerminationList?: number;
|
|
44
|
+
idChurnMovement?: number;
|
|
42
45
|
type?: RevenueMovementType[];
|
|
43
46
|
startDate?: Date | string;
|
|
44
47
|
endDate?: Date | string;
|
|
@@ -19,9 +19,12 @@ export interface IRevenueMovement {
|
|
|
19
19
|
/** ID de la prestation concernée (optionnel) */
|
|
20
20
|
idPrestation?: number | null;
|
|
21
21
|
|
|
22
|
-
/** ID de la résiliation qui a
|
|
22
|
+
/** ID de la résiliation qui a créé un CHURN pour ce mouvement (traçabilité métier) */
|
|
23
23
|
idTerminationList?: number | null;
|
|
24
24
|
|
|
25
|
+
/** ID du mouvement CHURN qui a annulé ce mouvement (traçabilité technique - lien direct au CHURN) */
|
|
26
|
+
idChurnMovement?: number | null;
|
|
27
|
+
|
|
25
28
|
/** Montant du mouvement (en centimes) */
|
|
26
29
|
amount: number;
|
|
27
30
|
|
|
@@ -51,6 +51,7 @@ export interface IUser {
|
|
|
51
51
|
textMessageNumber?: string | null;
|
|
52
52
|
prefix?: string | null;
|
|
53
53
|
tokenLostPassword?: string | null;
|
|
54
|
+
twoFactorEnabled?: boolean | null;
|
|
54
55
|
tokenApi?: string | null;
|
|
55
56
|
tokenNotification?: string | null;
|
|
56
57
|
tokenSocket?: string | null;
|
package/ts/types/index.ts
CHANGED
|
@@ -557,6 +557,7 @@ export * from './Enum/PartneredAccountantServiceTypeId';
|
|
|
557
557
|
export * from './Enum/PaymentAttempt';
|
|
558
558
|
|
|
559
559
|
// Interfaces API
|
|
560
|
+
export * from './Interface/api/authentification/AuthenticationResponse';
|
|
560
561
|
export * from './Interface/api/exercice/ReadExercice';
|
|
561
562
|
export * from './Interface/api/balanceSheet/consistency/Read';
|
|
562
563
|
export * from './Interface/api/kilometricAllowance/ReadKilometricAllowance';
|