@silexpert/core 0.4.90 → 0.4.92
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/PartneredAccountant.d.ts +14 -0
- package/es/api/resources/PartneredAccountant.d.ts.map +1 -0
- package/es/api/resources/PartneredAccountant.js +28 -0
- package/es/api/resources/PartneredAccountant.js.map +1 -0
- package/es/api/resources/QuotesAccount.d.ts +3 -2
- package/es/api/resources/QuotesAccount.d.ts.map +1 -1
- package/es/api/resources/QuotesAccount.js +4 -1
- package/es/api/resources/QuotesAccount.js.map +1 -1
- package/es/api/resources/Transaction.d.ts +3 -1
- package/es/api/resources/Transaction.d.ts.map +1 -1
- package/es/api/resources/Transaction.js +6 -0
- package/es/api/resources/Transaction.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/PartneredAccountantServiceState.d.ts +7 -0
- package/es/types/Enum/PartneredAccountantServiceState.d.ts.map +1 -0
- package/es/types/Enum/PartneredAccountantServiceState.js +8 -0
- package/es/types/Enum/PartneredAccountantServiceState.js.map +1 -0
- package/es/types/Enum/Proceding.d.ts +35 -0
- package/es/types/Enum/Proceding.d.ts.map +1 -0
- package/es/types/Enum/Proceding.js +35 -0
- package/es/types/Enum/Proceding.js.map +1 -0
- package/es/types/Enum/ReportType.d.ts +4 -0
- package/es/types/Enum/ReportType.d.ts.map +1 -1
- package/es/types/Enum/ReportType.js +4 -0
- package/es/types/Enum/ReportType.js.map +1 -1
- package/es/types/Enum/Role.d.ts +3 -1
- package/es/types/Enum/Role.d.ts.map +1 -1
- package/es/types/Enum/Role.js +2 -0
- package/es/types/Enum/Role.js.map +1 -1
- package/es/types/Interface/api/account/ReadQuoteAccount.d.ts +8 -0
- package/es/types/Interface/api/account/ReadQuoteAccount.d.ts.map +1 -0
- package/es/types/Interface/api/account/ReadQuoteAccount.js +2 -0
- package/es/types/Interface/api/account/ReadQuoteAccount.js.map +1 -0
- package/es/types/Interface/api/accountingEntry/CreateManualEntry.d.ts +8 -0
- package/es/types/Interface/api/accountingEntry/CreateManualEntry.d.ts.map +1 -0
- package/es/types/Interface/api/accountingEntry/CreateManualEntry.js +33 -0
- package/es/types/Interface/api/accountingEntry/CreateManualEntry.js.map +1 -0
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.d.ts +6 -0
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.d.ts.map +1 -0
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js +25 -0
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js.map +1 -0
- package/es/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.d.ts +5 -0
- package/es/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.d.ts.map +1 -0
- package/es/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.js +21 -0
- package/es/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.js.map +1 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountant.d.ts +19 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountant.d.ts.map +1 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountant.js +3 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountant.js.map +1 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.d.ts +5 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.d.ts.map +1 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.js +2 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.js.map +1 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.d.ts +9 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.d.ts.map +1 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.js +3 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.js.map +1 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.d.ts +5 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.d.ts.map +1 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.js +3 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.js.map +1 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.d.ts +8 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.d.ts.map +1 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.js +2 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.js.map +1 -0
- package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.d.ts +6 -0
- package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.d.ts.map +1 -0
- package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js +22 -0
- package/es/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js.map +1 -0
- package/es/types/Interface/api/salariesFile/ReadSalariesFile.d.ts +3 -0
- package/es/types/Interface/api/salariesFile/ReadSalariesFile.d.ts.map +1 -1
- package/es/types/Interface/api/salariesFile/ReadSalariesFile.js.map +1 -1
- package/es/types/Interface/api/sponsorship/QuerySponsorship.d.ts +3 -0
- package/es/types/Interface/api/sponsorship/QuerySponsorship.d.ts.map +1 -1
- package/es/types/Interface/api/sponsorship/QuerySponsorship.js +6 -0
- package/es/types/Interface/api/sponsorship/QuerySponsorship.js.map +1 -1
- package/es/types/Interface/api/sponsorship/ReadSponsorship.d.ts +10 -0
- package/es/types/Interface/api/sponsorship/ReadSponsorship.d.ts.map +1 -1
- package/es/types/Interface/api/sponsorship/ReadSponsorship.js.map +1 -1
- package/es/types/Interface/models/IAccountingTransaction.d.ts +1 -0
- 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 +1 -0
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +1 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IPartneredAccountant.d.ts +27 -0
- package/es/types/Interface/models/IPartneredAccountant.d.ts.map +1 -0
- package/es/types/Interface/models/IPartneredAccountant.js +2 -0
- package/es/types/Interface/models/IPartneredAccountant.js.map +1 -0
- package/es/types/Interface/models/IPartneredAccountantCompanyService.d.ts +17 -0
- package/es/types/Interface/models/IPartneredAccountantCompanyService.d.ts.map +1 -0
- package/es/types/Interface/models/IPartneredAccountantCompanyService.js +2 -0
- package/es/types/Interface/models/IPartneredAccountantCompanyService.js.map +1 -0
- package/es/types/Interface/models/IPartneredAccountantPicture.d.ts +12 -0
- package/es/types/Interface/models/IPartneredAccountantPicture.d.ts.map +1 -0
- package/es/types/Interface/models/IPartneredAccountantPicture.js +2 -0
- package/es/types/Interface/models/IPartneredAccountantPicture.js.map +1 -0
- package/es/types/Interface/models/IPartneredAccountantService.d.ts +13 -0
- package/es/types/Interface/models/IPartneredAccountantService.d.ts.map +1 -0
- package/es/types/Interface/models/IPartneredAccountantService.js +2 -0
- package/es/types/Interface/models/IPartneredAccountantService.js.map +1 -0
- package/es/types/Interface/models/IPartneredAccountantTag.d.ts +8 -0
- package/es/types/Interface/models/IPartneredAccountantTag.d.ts.map +1 -0
- package/es/types/Interface/models/IPartneredAccountantTag.js +2 -0
- package/es/types/Interface/models/IPartneredAccountantTag.js.map +1 -0
- package/es/types/Interface/models/IPartneredAccountantToTag.d.ts +12 -0
- package/es/types/Interface/models/IPartneredAccountantToTag.d.ts.map +1 -0
- package/es/types/Interface/models/IPartneredAccountantToTag.js +2 -0
- package/es/types/Interface/models/IPartneredAccountantToTag.js.map +1 -0
- package/es/types/Interface/models/ISalariesFile.d.ts +2 -0
- package/es/types/Interface/models/ISalariesFile.d.ts.map +1 -1
- package/es/types/Interface/models/ISalariesFile.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +2 -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/{ISocietyProceeding.d.ts → ISocietyProceding.d.ts} +6 -6
- package/es/types/Interface/models/ISocietyProceding.d.ts.map +1 -0
- package/es/types/Interface/models/ISocietyProceding.js +2 -0
- package/es/types/Interface/models/ISocietyProceding.js.map +1 -0
- package/es/types/Interface/models/ITeam.d.ts +1 -1
- package/es/types/Interface/models/ITeam.d.ts.map +1 -1
- package/es/types/Interface/models/ITeam.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 +19 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +19 -1
- package/es/types/index.js.map +1 -1
- package/export-models.json +9 -0
- package/js/api/resources/PartneredAccountant.js +52 -0
- package/js/api/resources/PartneredAccountant.js.map +1 -0
- package/js/api/resources/QuotesAccount.js +5 -1
- package/js/api/resources/QuotesAccount.js.map +1 -1
- package/js/api/resources/Transaction.js +8 -0
- package/js/api/resources/Transaction.js.map +1 -1
- package/js/api/resources.js +4 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/PartneredAccountantServiceState.js +14 -0
- package/js/types/Enum/PartneredAccountantServiceState.js.map +1 -0
- package/js/types/Enum/Proceding.js +40 -0
- package/js/types/Enum/Proceding.js.map +1 -0
- package/js/types/Enum/ReportType.js +4 -0
- package/js/types/Enum/ReportType.js.map +1 -1
- package/js/types/Enum/Role.js +2 -0
- package/js/types/Enum/Role.js.map +1 -1
- package/js/types/Interface/{models/ISocietyProceeding.js → api/account/ReadQuoteAccount.js} +1 -1
- package/js/types/Interface/{models/ISocietyProceeding.js.map → api/account/ReadQuoteAccount.js.map} +1 -1
- package/js/types/Interface/api/accountingEntry/CreateManualEntry.js +35 -0
- package/js/types/Interface/api/accountingEntry/CreateManualEntry.js.map +1 -0
- package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js +31 -0
- package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.js.map +1 -0
- package/js/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.js +29 -0
- package/js/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.js.map +1 -0
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountant.js +10 -0
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountant.js.map +1 -0
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.js +6 -0
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.js.map +1 -0
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.js +10 -0
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.js.map +1 -0
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.js +10 -0
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.js.map +1 -0
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.js +6 -0
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.js.map +1 -0
- package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js +31 -0
- package/js/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.js.map +1 -0
- package/js/types/Interface/api/sponsorship/QuerySponsorship.js +9 -1
- package/js/types/Interface/api/sponsorship/QuerySponsorship.js.map +1 -1
- package/js/types/Interface/api/sponsorship/ReadSponsorship.js.map +1 -1
- package/js/types/Interface/models/IApiError.js +2 -1
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/IPartneredAccountant.js +6 -0
- package/js/types/Interface/models/IPartneredAccountant.js.map +1 -0
- package/js/types/Interface/models/IPartneredAccountantCompanyService.js +6 -0
- package/js/types/Interface/models/IPartneredAccountantCompanyService.js.map +1 -0
- package/js/types/Interface/models/IPartneredAccountantPicture.js +6 -0
- package/js/types/Interface/models/IPartneredAccountantPicture.js.map +1 -0
- package/js/types/Interface/models/IPartneredAccountantService.js +6 -0
- package/js/types/Interface/models/IPartneredAccountantService.js.map +1 -0
- package/js/types/Interface/models/IPartneredAccountantTag.js +6 -0
- package/js/types/Interface/models/IPartneredAccountantTag.js.map +1 -0
- package/js/types/Interface/models/IPartneredAccountantToTag.js +6 -0
- package/js/types/Interface/models/IPartneredAccountantToTag.js.map +1 -0
- package/js/types/Interface/models/ISocietyProceding.js +6 -0
- package/js/types/Interface/models/ISocietyProceding.js.map +1 -0
- package/js/types/index.js +219 -3
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/table.json +1 -1
- package/ts/api/resources/PartneredAccountant.ts +51 -0
- package/ts/api/resources/QuotesAccount.ts +8 -4
- package/ts/api/resources/Transaction.ts +9 -1
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/PartneredAccountantServiceState.ts +6 -0
- package/ts/types/Enum/Proceding.ts +34 -0
- package/ts/types/Enum/ReportType.ts +4 -0
- package/ts/types/Enum/Role.ts +2 -0
- package/ts/types/Interface/api/account/ReadQuoteAccount.ts +8 -0
- package/ts/types/Interface/api/accountingEntry/CreateManualEntry.ts +18 -0
- package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.ts +12 -0
- package/ts/types/Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices.ts +9 -0
- package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountant.ts +21 -0
- package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService.ts +5 -0
- package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantService.ts +8 -0
- package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics.ts +4 -0
- package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.ts +11 -0
- package/ts/types/Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService.ts +10 -0
- package/ts/types/Interface/api/salariesFile/ReadSalariesFile.ts +3 -0
- package/ts/types/Interface/api/sponsorship/QuerySponsorship.ts +5 -0
- package/ts/types/Interface/api/sponsorship/ReadSponsorship.ts +1 -1
- package/ts/types/Interface/models/IAccountingTransaction.ts +1 -0
- package/ts/types/Interface/models/IApiError.ts +1 -0
- package/ts/types/Interface/models/IPartneredAccountant.ts +30 -0
- package/ts/types/Interface/models/IPartneredAccountantCompanyService.ts +20 -0
- package/ts/types/Interface/models/IPartneredAccountantPicture.ts +15 -0
- package/ts/types/Interface/models/IPartneredAccountantService.ts +16 -0
- package/ts/types/Interface/models/IPartneredAccountantTag.ts +8 -0
- package/ts/types/Interface/models/IPartneredAccountantToTag.ts +15 -0
- package/ts/types/Interface/models/ISalariesFile.ts +2 -0
- package/ts/types/Interface/models/ISociety.ts +2 -2
- package/ts/types/Interface/models/{ISocietyProceeding.ts → ISocietyProceding.ts} +5 -5
- package/ts/types/Interface/models/ITeam.ts +1 -1
- package/ts/types/Interface/models/IUser.ts +1 -0
- package/ts/types/index.ts +19 -1
- package/es/types/Interface/models/ISocietyProceeding.d.ts.map +0 -1
- package/es/types/Interface/models/ISocietyProceeding.js +0 -2
- package/es/types/Interface/models/ISocietyProceeding.js.map +0 -1
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import { QueryQuotesAccount } from '../../types';
|
|
2
|
+
import { IAccountingTransaction, QueryQuotesAccount, ReadQuoteAccount } from '../../types';
|
|
3
3
|
|
|
4
4
|
const ROUTE = 'quotes';
|
|
5
5
|
export class Dashboard extends Resource {
|
|
6
|
-
|
|
6
|
+
create(
|
|
7
7
|
params: QueryQuotesAccount,
|
|
8
|
-
) {
|
|
8
|
+
): Promise<IAccountingTransaction> {
|
|
9
9
|
return this.axios.$post(`${ROUTE}/account`, { params });
|
|
10
10
|
}
|
|
11
|
-
|
|
11
|
+
|
|
12
|
+
get(idExercice: number): Promise<ReadQuoteAccount[]> {
|
|
13
|
+
return this.axios.$get(`${ROUTE}/account/${idExercice}`);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -2,7 +2,7 @@ import { Resource } from '../Resource';
|
|
|
2
2
|
import {
|
|
3
3
|
AccountingJournal,
|
|
4
4
|
BasePaginate,
|
|
5
|
-
QueryPaginate, ReadFormattedAccountingTransaction, UpdateAccountingTransaction, DeleteTransactions, QueryUnexport, QueryGetAllTransactions, IAccountingTransaction, ReadAccountantBalance,
|
|
5
|
+
QueryPaginate, ReadFormattedAccountingTransaction, UpdateAccountingTransaction, DeleteTransactions, QueryUnexport, QueryGetAllTransactions, IAccountingTransaction, ReadAccountantBalance, CreateManualEntry, IAccountingEntry,
|
|
6
6
|
} from '../../types';
|
|
7
7
|
|
|
8
8
|
export class Transaction extends Resource {
|
|
@@ -37,4 +37,12 @@ export class Transaction extends Resource {
|
|
|
37
37
|
getBalanceQuotaShare(idExercice: number): Promise<Array<ReadAccountantBalance>> {
|
|
38
38
|
return this.axios.$get(`/society/balance/${idExercice}`);
|
|
39
39
|
}
|
|
40
|
+
|
|
41
|
+
createManual(data: Array<CreateManualEntry>): Promise<IAccountingTransaction> {
|
|
42
|
+
return this.axios.$post('/society/manual-transactions', data);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
getAllManual(idExercice: number): Promise<Array<Array<IAccountingEntry>>> {
|
|
46
|
+
return this.axios.$get(`/society/manual-transactions/exercices/${idExercice}`);
|
|
47
|
+
}
|
|
40
48
|
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -39,6 +39,7 @@ import { Library } from './resources/Library';
|
|
|
39
39
|
import { TaxDeadline } from './resources/TaxDeadline';
|
|
40
40
|
import { ExerciceNote } from './resources/ExerciceNote';
|
|
41
41
|
import { Connector } from './resources/Connector';
|
|
42
|
+
import { PartneredAccountant } from './resources/PartneredAccountant';
|
|
42
43
|
|
|
43
44
|
export const resources = {
|
|
44
45
|
simulation: Simulation,
|
|
@@ -82,4 +83,5 @@ export const resources = {
|
|
|
82
83
|
taxDeadline: TaxDeadline,
|
|
83
84
|
exerciceNote: ExerciceNote,
|
|
84
85
|
connector: Connector,
|
|
86
|
+
partneredAccountant: PartneredAccountant,
|
|
85
87
|
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export const Proceding = {
|
|
2
|
+
BACKUP_PROCEDURE: {
|
|
3
|
+
id: 1,
|
|
4
|
+
name: 'Procédure de sauvegarde',
|
|
5
|
+
},
|
|
6
|
+
JUDICIAL_REORGANIZATION_PROCEDURE: {
|
|
7
|
+
id: 2,
|
|
8
|
+
name: 'Procédure de redressement judiciaire',
|
|
9
|
+
},
|
|
10
|
+
JUDICIAL_LIQUIDATION_PROCEDURE: {
|
|
11
|
+
id: 3,
|
|
12
|
+
name: 'Procédure de liquidation judiciaire',
|
|
13
|
+
},
|
|
14
|
+
CONCILIATION_PROCEDURE: {
|
|
15
|
+
id: 4,
|
|
16
|
+
name: 'Procédure de conciliation',
|
|
17
|
+
},
|
|
18
|
+
CONTINUATION_OF_THE_ACTIVITY: {
|
|
19
|
+
id: 5,
|
|
20
|
+
name: 'Poursuite de l\'activité',
|
|
21
|
+
},
|
|
22
|
+
DISSOLUTION: {
|
|
23
|
+
id: 6,
|
|
24
|
+
name: 'Dissolution / liquidation',
|
|
25
|
+
},
|
|
26
|
+
MOTHBALLING: {
|
|
27
|
+
id: 7,
|
|
28
|
+
name: 'Mise en sommeil',
|
|
29
|
+
},
|
|
30
|
+
EI_LIQUIDATION: {
|
|
31
|
+
id: 8,
|
|
32
|
+
name: 'Liquidation EI',
|
|
33
|
+
},
|
|
34
|
+
};
|
package/ts/types/Enum/Role.ts
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ApiProperty } from '../../../../utils';
|
|
2
|
+
|
|
3
|
+
export class CreateManualEntry {
|
|
4
|
+
@ApiProperty()
|
|
5
|
+
debit: number;
|
|
6
|
+
|
|
7
|
+
@ApiProperty()
|
|
8
|
+
credit: number;
|
|
9
|
+
|
|
10
|
+
@ApiProperty()
|
|
11
|
+
idAccount: number;
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
designation: string;
|
|
15
|
+
|
|
16
|
+
@ApiProperty()
|
|
17
|
+
dateValue: Date;
|
|
18
|
+
}
|
package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
|
|
3
|
+
export class CreatePartneredAccountantRequestedService {
|
|
4
|
+
@ApiProperty()
|
|
5
|
+
idPartneredAccountantService: number;
|
|
6
|
+
|
|
7
|
+
@ApiProperty()
|
|
8
|
+
notes: string;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
preTaxPrice?: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IFile, IPartneredAccountantTag, IVat,
|
|
3
|
+
} from '../../..';
|
|
4
|
+
|
|
5
|
+
export class ReadPartneredAccountant {
|
|
6
|
+
id: number;
|
|
7
|
+
name: string;
|
|
8
|
+
address: string;
|
|
9
|
+
zipCode: string;
|
|
10
|
+
city: string;
|
|
11
|
+
yearOfOrderRegistration: number;
|
|
12
|
+
schedules: string;
|
|
13
|
+
description: string;
|
|
14
|
+
VAT: IVat;
|
|
15
|
+
partneredAccountantTags: IPartneredAccountantTag[];
|
|
16
|
+
logo: IFile | null;
|
|
17
|
+
logoColor: string | null;
|
|
18
|
+
banner: IFile | null;
|
|
19
|
+
videoLink: string | null;
|
|
20
|
+
hasPendingRequests: boolean;
|
|
21
|
+
}
|
package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BasePaginate, ISociety, IUser,
|
|
3
|
+
} from '../../..';
|
|
4
|
+
|
|
5
|
+
export interface ReadPartneredAccountantSoldService extends ISociety {
|
|
6
|
+
contact: IUser;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface ReadPartneredAccountantSoldServicesPaginated extends BasePaginate<ISociety> {
|
|
10
|
+
data: Array<ReadPartneredAccountantSoldService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PartneredAccountantServiceState } from '../../..';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class UpdatePartneredAccountantSoldService {
|
|
5
|
+
@ApiPropertyOptional()
|
|
6
|
+
state?: PartneredAccountantServiceState;
|
|
7
|
+
|
|
8
|
+
@ApiPropertyOptional()
|
|
9
|
+
preTaxPrice?: number;
|
|
10
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export class ReadSponsorshipApprove {
|
|
2
|
-
approved: Array<{ idBeneficiary: number; }>;
|
|
2
|
+
approved: Array<{ idBeneficiary: number; subscriptionId: string; name: string; createdAt: string;sponsor: { idSociety: number, subscriptionId: string; iban: string; bic: string; name: string; } }>;
|
|
3
3
|
failed: Array<{ idBeneficiary: number; reason: string; }>;
|
|
4
4
|
waiting: Array<{ idBeneficiary: number }>;
|
|
5
5
|
}
|
|
@@ -110,6 +110,7 @@ export enum Code {
|
|
|
110
110
|
userEmailAndPhoneAlreadyExist = 'user-username-and-phone-already-exist',
|
|
111
111
|
userEmailAlreadyExist = 'user-username-already-exists',
|
|
112
112
|
userPhoneAlreadyExist = 'user-phone-already-exists',
|
|
113
|
+
couldNotFindUser = 'could-not-find-user',
|
|
113
114
|
|
|
114
115
|
// Cerfa
|
|
115
116
|
civilityNotFound = 'civility_not_found',
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IFile } from './IFile';
|
|
2
|
+
import { IPartneredAccountantTag } from './IPartneredAccountantTag';
|
|
3
|
+
import { IVat } from './IVat';
|
|
4
|
+
|
|
5
|
+
export interface IPartneredAccountant {
|
|
6
|
+
id?: number;
|
|
7
|
+
idUser: number;
|
|
8
|
+
name: string;
|
|
9
|
+
address: string;
|
|
10
|
+
zipCode:string;
|
|
11
|
+
city: string;
|
|
12
|
+
yearOfOrderRegistration: number;
|
|
13
|
+
schedules?: string;
|
|
14
|
+
description: string;
|
|
15
|
+
idVAT: number;
|
|
16
|
+
idLogo?: number;
|
|
17
|
+
logoColor?: string;
|
|
18
|
+
idBanner?: number;
|
|
19
|
+
videoLink?: string;
|
|
20
|
+
|
|
21
|
+
createdAt?: Date;
|
|
22
|
+
updatedAt?: Date;
|
|
23
|
+
deletedAt?: Date | null;
|
|
24
|
+
|
|
25
|
+
// Associations
|
|
26
|
+
VAT?: IVat;
|
|
27
|
+
logo?: IFile;
|
|
28
|
+
banner?: IFile;
|
|
29
|
+
partneredAccountantTags?: IPartneredAccountantTag[]
|
|
30
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PartneredAccountantServiceState } from '../../Enum/PartneredAccountantServiceState';
|
|
2
|
+
import { IPartneredAccountantService } from './IPartneredAccountantService';
|
|
3
|
+
import { ISociety } from './ISociety';
|
|
4
|
+
|
|
5
|
+
export interface IPartneredAccountantCompanyService {
|
|
6
|
+
id?: number;
|
|
7
|
+
idPartneredAccountantService: number;
|
|
8
|
+
idSociety: number;
|
|
9
|
+
state: PartneredAccountantServiceState;
|
|
10
|
+
preTaxPrice?: number;
|
|
11
|
+
notes?: string;
|
|
12
|
+
|
|
13
|
+
createdAt?: Date;
|
|
14
|
+
updatedAt?: Date;
|
|
15
|
+
deletedAt?: Date | null;
|
|
16
|
+
|
|
17
|
+
// Associations
|
|
18
|
+
partneredAccountantService: IPartneredAccountantService;
|
|
19
|
+
society: ISociety;
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IFile } from './IFile';
|
|
2
|
+
import { IPartneredAccountant } from './IPartneredAccountant';
|
|
3
|
+
|
|
4
|
+
export interface IPartneredAccountantPicture {
|
|
5
|
+
id?: number;
|
|
6
|
+
idPartneredAccountant: number;
|
|
7
|
+
idFile: number;
|
|
8
|
+
|
|
9
|
+
createdAt?: number;
|
|
10
|
+
updatedAt?: number;
|
|
11
|
+
|
|
12
|
+
// Associations
|
|
13
|
+
partneredAccountant?: IPartneredAccountant;
|
|
14
|
+
file?: IFile;
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IPartneredAccountant } from './IPartneredAccountant';
|
|
2
|
+
|
|
3
|
+
export interface IPartneredAccountantService {
|
|
4
|
+
id?: number;
|
|
5
|
+
name: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
preTaxPrice: number;
|
|
8
|
+
idPartneredAccountant: number;
|
|
9
|
+
|
|
10
|
+
createdAt?: Date;
|
|
11
|
+
updatedAt?: Date;
|
|
12
|
+
deletedAt?: Date | null;
|
|
13
|
+
|
|
14
|
+
// Associations
|
|
15
|
+
partneredAccountant?: IPartneredAccountant;
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IPartneredAccountantTag } from './IPartneredAccountantTag';
|
|
2
|
+
import { IPartneredAccountant } from './IPartneredAccountant';
|
|
3
|
+
|
|
4
|
+
export interface IPartneredAccountantToTag {
|
|
5
|
+
id?: number;
|
|
6
|
+
idPartneredAccountant: number;
|
|
7
|
+
idPartneredAccountantTag: number;
|
|
8
|
+
|
|
9
|
+
createdAt?: number;
|
|
10
|
+
updatedAt?: number;
|
|
11
|
+
|
|
12
|
+
// Associations
|
|
13
|
+
partneredAccountant?: IPartneredAccountant;
|
|
14
|
+
partneredAccountantTag?: IPartneredAccountantTag;
|
|
15
|
+
}
|
|
@@ -40,7 +40,7 @@ import { ISocietyJuridical } from './ISocietyJuridical';
|
|
|
40
40
|
import { IPaymentWaiting } from './IPaymentWaiting';
|
|
41
41
|
import { IExercice } from './IExercice';
|
|
42
42
|
import { IWebMail } from './IWebMail';
|
|
43
|
-
import {
|
|
43
|
+
import { ISocietyProceding } from './ISocietyProceding';
|
|
44
44
|
import { ISocietyAction } from './ISocietyAction';
|
|
45
45
|
import { ISocietyStat } from './ISocietyStat';
|
|
46
46
|
import { ISurvey } from './ISurvey';
|
|
@@ -182,7 +182,7 @@ export interface ISociety {
|
|
|
182
182
|
paymentWaitings?: IPaymentWaiting[];
|
|
183
183
|
societyExercices?: IExercice[];
|
|
184
184
|
webmailMails?: IWebMail[];
|
|
185
|
-
|
|
185
|
+
societyProcedings?: ISocietyProceding[];
|
|
186
186
|
societyActions?: ISocietyAction[];
|
|
187
187
|
societyStats?: ISocietyStat[];
|
|
188
188
|
survey?: ISurvey[];
|
|
@@ -3,9 +3,9 @@ import { IProcedure } from './IProcedure';
|
|
|
3
3
|
import { ISociety } from './ISociety';
|
|
4
4
|
|
|
5
5
|
// societyProcedings
|
|
6
|
-
export interface
|
|
6
|
+
export interface ISocietyProceding {
|
|
7
7
|
id?: number;
|
|
8
|
-
implementationDate: Date;
|
|
8
|
+
implementationDate: string | Date;
|
|
9
9
|
idProceding: number | null;
|
|
10
10
|
idSociety: number | null;
|
|
11
11
|
idUser: number | null;
|
|
@@ -14,7 +14,7 @@ export interface ISocietyProceeding {
|
|
|
14
14
|
deletedAt?: Date | null;
|
|
15
15
|
|
|
16
16
|
// Associations
|
|
17
|
-
user
|
|
18
|
-
proceding
|
|
19
|
-
society
|
|
17
|
+
user?: IUser;
|
|
18
|
+
proceding?: IProcedure;
|
|
19
|
+
society?: ISociety;
|
|
20
20
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -120,6 +120,12 @@ export * from './Interface/models/INotification';
|
|
|
120
120
|
export * from './Interface/models/IOldExpertInfo';
|
|
121
121
|
export * from './Interface/models/IOperationLegalNotice';
|
|
122
122
|
export * from './Interface/models/IPageView';
|
|
123
|
+
export * from './Interface/models/IPartneredAccountant';
|
|
124
|
+
export * from './Interface/models/IPartneredAccountantCompanyService';
|
|
125
|
+
export * from './Interface/models/IPartneredAccountantPicture';
|
|
126
|
+
export * from './Interface/models/IPartneredAccountantService';
|
|
127
|
+
export * from './Interface/models/IPartneredAccountantTag';
|
|
128
|
+
export * from './Interface/models/IPartneredAccountantToTag';
|
|
123
129
|
export * from './Interface/models/IPayPlan';
|
|
124
130
|
export * from './Interface/models/IPartnerTransaction';
|
|
125
131
|
export * from './Interface/models/IPaymentDelay';
|
|
@@ -186,7 +192,7 @@ export * from './Interface/models/ISocietyGescom';
|
|
|
186
192
|
export * from './Interface/models/ISocietyJuridical';
|
|
187
193
|
export * from './Interface/models/ISocietyNote';
|
|
188
194
|
export * from './Interface/models/ISocietyPartner';
|
|
189
|
-
export * from './Interface/models/
|
|
195
|
+
export * from './Interface/models/ISocietyProceding';
|
|
190
196
|
export * from './Interface/models/ISocietyRelance';
|
|
191
197
|
export * from './Interface/models/ISocietySocial';
|
|
192
198
|
export * from './Interface/models/ISocietySoftware';
|
|
@@ -312,6 +318,7 @@ export * from './Enum/SurveyType';
|
|
|
312
318
|
export * from './Enum/SurveyTypeDatas';
|
|
313
319
|
export * from './Enum/ReportType';
|
|
314
320
|
export * from './Enum/ReportState';
|
|
321
|
+
export * from './Enum/Proceding';
|
|
315
322
|
export * from './Enum/LetterType';
|
|
316
323
|
export * from './Enum/PartnerType';
|
|
317
324
|
export * from './Enum/ThirdPartyType';
|
|
@@ -354,11 +361,13 @@ export * from './Enum/ExerciceNoteType';
|
|
|
354
361
|
export * from './Enum/BrandClementine';
|
|
355
362
|
export * from './Enum/BrandLegalstart';
|
|
356
363
|
export * from './Enum/BrandComptalib';
|
|
364
|
+
export * from './Enum/PartneredAccountantServiceState';
|
|
357
365
|
|
|
358
366
|
// Interfaces API
|
|
359
367
|
export * from './Interface/api/businessPartner/ReadBusinessPartner';
|
|
360
368
|
export * from './Interface/api/simulation/CreateSimulation';
|
|
361
369
|
export * from './Interface/api/accountingEntry/AnnotateAccountingTransaction';
|
|
370
|
+
export * from './Interface/api/accountingEntry/CreateManualEntry';
|
|
362
371
|
export * from './Interface/api/immobilization/ReadFormattedImmobilization';
|
|
363
372
|
export * from './Interface/api/immobilization/CreateImmobilization';
|
|
364
373
|
export * from './Interface/api/paymentExpectationCustomer/ReadPaymentExpectationCustomer';
|
|
@@ -417,6 +426,7 @@ export * from './Interface/api/dashboard/ReadGescom';
|
|
|
417
426
|
export * from './Interface/api/dashboard/ReadDeadline';
|
|
418
427
|
export * from './Interface/api/accountant/ReadAccountantBalance';
|
|
419
428
|
export * from './Interface/api/quotes/QueryQuotesAccount';
|
|
429
|
+
export * from './Interface/api/account/ReadQuoteAccount';
|
|
420
430
|
|
|
421
431
|
// export * from './Interface/api/survey/QuerySurvey';
|
|
422
432
|
export * from './Interface/api/survey/ReadSurvey';
|
|
@@ -495,3 +505,11 @@ export * from './Interface/api/exerciceNote/QueryExerciceNote';
|
|
|
495
505
|
export * from './Interface/api/exerciceNote/CreateExerciceNote';
|
|
496
506
|
export * from './Interface/api/sponsorship/ReadSponsorship';
|
|
497
507
|
export * from './Interface/api/budgetInsight/UpdateBudgetPermanentToken';
|
|
508
|
+
export * from './Interface/api/partneredAccountant/ReadPartneredAccountant';
|
|
509
|
+
export * from './Interface/api/partneredAccountant/ReadPartneredAccountantService';
|
|
510
|
+
export * from './Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices';
|
|
511
|
+
export * from './Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated';
|
|
512
|
+
export * from './Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService';
|
|
513
|
+
export * from './Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService';
|
|
514
|
+
export * from './Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService';
|
|
515
|
+
export * from './Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ISocietyProceeding.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ISocietyProceeding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,kBAAkB;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kBAAkB,EAAE,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,IAAI,EAAE,KAAK,CAAC;IACZ,SAAS,EAAE,UAAU,CAAC;IACtB,OAAO,EAAE,QAAQ,CAAC;CACnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ISocietyProceeding.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ISocietyProceeding.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from './IUser';\nimport { IProcedure } from './IProcedure';\nimport { ISociety } from './ISociety';\n\n// societyProcedings\nexport interface ISocietyProceeding {\n id?: number;\n implementationDate: Date;\n idProceding: number | null;\n idSociety: number | null;\n idUser: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n user: IUser;\n proceding: IProcedure;\n society: ISociety;\n}\n"]}
|