@silexpert/core 1.0.199 → 1.0.201
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/AccountingFiles.d.ts +2 -1
- package/es/api/resources/AccountingFiles.d.ts.map +1 -1
- package/es/api/resources/AccountingFiles.js +3 -0
- package/es/api/resources/AccountingFiles.js.map +1 -1
- package/es/types/Enum/BrandLegalstart.js +20 -20
- package/es/types/Enum/BrandLegalstart.js.map +1 -1
- package/es/types/Enum/Unit.d.ts +2 -1
- package/es/types/Enum/Unit.d.ts.map +1 -1
- package/es/types/Enum/Unit.js +11 -0
- package/es/types/Enum/Unit.js.map +1 -1
- package/es/types/Interface/api/accountingFiles/Read.d.ts +6 -0
- package/es/types/Interface/api/accountingFiles/Read.d.ts.map +1 -0
- package/es/types/Interface/api/accountingFiles/Read.js +2 -0
- package/es/types/Interface/api/accountingFiles/Read.js.map +1 -0
- package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts +1 -1
- package/es/types/Interface/api/archive/ImportSocietyArchive.d.ts.map +1 -1
- package/es/types/Interface/api/archive/ImportSocietyArchive.js +1 -1
- package/es/types/Interface/api/archive/ImportSocietyArchive.js.map +1 -1
- package/es/types/Interface/api/exercice/CreateExercice.d.ts +1 -0
- package/es/types/Interface/api/exercice/CreateExercice.d.ts.map +1 -1
- package/es/types/Interface/api/exercice/CreateExercice.js +7 -0
- package/es/types/Interface/api/exercice/CreateExercice.js.map +1 -1
- package/es/types/Interface/api/exercice/UpdateExercice.d.ts +1 -0
- package/es/types/Interface/api/exercice/UpdateExercice.d.ts.map +1 -1
- package/es/types/Interface/api/exercice/UpdateExercice.js +7 -0
- package/es/types/Interface/api/exercice/UpdateExercice.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/index.d.ts +1 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +1 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/AccountingFiles.js +3 -0
- package/js/api/resources/AccountingFiles.js.map +1 -1
- package/js/types/Enum/BrandLegalstart.js +20 -20
- package/js/types/Enum/BrandLegalstart.js.map +1 -1
- package/js/types/Enum/Unit.js +10 -0
- package/js/types/Enum/Unit.js.map +1 -1
- package/js/types/Interface/api/accountingFiles/Read.js +6 -0
- package/js/types/Interface/api/accountingFiles/Read.js.map +1 -0
- package/js/types/Interface/api/archive/ImportSocietyArchive.js +1 -1
- package/js/types/Interface/api/archive/ImportSocietyArchive.js.map +1 -1
- package/js/types/Interface/api/exercice/CreateExercice.js +1 -0
- package/js/types/Interface/api/exercice/CreateExercice.js.map +1 -1
- package/js/types/Interface/api/exercice/UpdateExercice.js +1 -0
- package/js/types/Interface/api/exercice/UpdateExercice.js.map +1 -1
- package/js/types/Interface/models/IApiError.js +1 -0
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/index.js +34 -24
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/AccountingFiles.ts +5 -1
- package/ts/types/Enum/BrandLegalstart.ts +20 -20
- package/ts/types/Enum/Unit.ts +11 -0
- package/ts/types/Interface/api/accountingFiles/Read.ts +6 -0
- package/ts/types/Interface/api/archive/ImportSocietyArchive.ts +1 -1
- package/ts/types/Interface/api/exercice/CreateExercice.ts +6 -0
- package/ts/types/Interface/api/exercice/UpdateExercice.ts +6 -0
- package/ts/types/Interface/models/IApiError.ts +1 -0
- package/ts/types/index.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.201",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "js/index.js",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
2
|
import {
|
|
3
|
-
BasePaginate, IAccountingFile, QueryAccountingFiles, QueryTransaction, ReadFormattedAccountingTransaction,
|
|
3
|
+
BasePaginate, IAccountingFile, QueryAccountingFiles, QueryTransaction, ReadFormattedAccountingTransaction, ReadUpdateAccouningFile,
|
|
4
4
|
} from '../../types';
|
|
5
5
|
|
|
6
6
|
export class AccountingFiles extends Resource {
|
|
@@ -29,4 +29,8 @@ export class AccountingFiles extends Resource {
|
|
|
29
29
|
getPaginated(idSociety: number, params: QueryTransaction): Promise<BasePaginate<IAccountingFile>> {
|
|
30
30
|
return this.axios.$get(`/society/${idSociety}/accountingFiles`, { params });
|
|
31
31
|
}
|
|
32
|
+
|
|
33
|
+
update(id:number, payload: Partial<IAccountingFile>): Promise<ReadUpdateAccouningFile> {
|
|
34
|
+
return this.axios.$put(`/accounting-files/${id}`, payload);
|
|
35
|
+
}
|
|
32
36
|
}
|
|
@@ -13,23 +13,23 @@ export const BrandLegalstart = [
|
|
|
13
13
|
juridique: '01 76 39 00 60',
|
|
14
14
|
},
|
|
15
15
|
listMails: {
|
|
16
|
-
administratif: 'comptastart@
|
|
17
|
-
app: 'comptastart@
|
|
18
|
-
bonjour: '
|
|
19
|
-
contact: '
|
|
20
|
-
facturation: '
|
|
21
|
-
feedback: 'comptastart@
|
|
22
|
-
juridique: '
|
|
23
|
-
informatique: '
|
|
24
|
-
msd: 'comptastart@
|
|
25
|
-
noreply: '
|
|
26
|
-
qualite: 'comptastart@
|
|
27
|
-
paiement: 'comptastart@
|
|
28
|
-
rh: 'comptastart@
|
|
29
|
-
social: '
|
|
30
|
-
support: 'comptastart@
|
|
31
|
-
tva: 'comptastart@
|
|
32
|
-
wb: 'comptastart@
|
|
16
|
+
administratif: 'comptastart@comptastartbyclementine.fr',
|
|
17
|
+
app: 'comptastart@comptastartbyclementine.fr',
|
|
18
|
+
bonjour: 'bonjour@comptastartbyclementine.fr',
|
|
19
|
+
contact: 'contact@comptastartbyclementine.fr',
|
|
20
|
+
facturation: 'facturation@comptastartbyclementine.fr',
|
|
21
|
+
feedback: 'comptastart@comptastartbyclementine.fr',
|
|
22
|
+
juridique: 'juridique@comptastartbyclementine.fr',
|
|
23
|
+
informatique: 'informatique@comptastartbyclementine.fr',
|
|
24
|
+
msd: 'comptastart@comptastartbyclementine.fr',
|
|
25
|
+
noreply: 'noreply@comptastartbyclementine.fr',
|
|
26
|
+
qualite: 'comptastart@comptastartbyclementine.fr',
|
|
27
|
+
paiement: 'comptastart@comptastartbyclementine.fr',
|
|
28
|
+
rh: 'comptastart@comptastartbyclementine.fr',
|
|
29
|
+
social: 'social@comptastartbyclementine.fr',
|
|
30
|
+
support: 'comptastart@comptastartbyclementine.fr',
|
|
31
|
+
tva: 'comptastart@comptastartbyclementine.fr',
|
|
32
|
+
wb: 'comptastart@comptastartbyclementine.fr',
|
|
33
33
|
},
|
|
34
34
|
companyInformation: {
|
|
35
35
|
ape: '6920Z',
|
|
@@ -54,7 +54,7 @@ export const BrandLegalstart = [
|
|
|
54
54
|
urlApi1: 'https://api-legalstart.compta-clementine.fr',
|
|
55
55
|
urlApi2: 'https://api-next-legalstart.compta-clementine.fr',
|
|
56
56
|
urlExpert: 'https://pro.comptalib.com',
|
|
57
|
-
urlClient: 'https://
|
|
57
|
+
urlClient: 'https://gestion.legalstart.fr',
|
|
58
58
|
bank: {
|
|
59
59
|
IBAN: 'FR7616106840138646838239863',
|
|
60
60
|
BIC: 'AGRIFRPP861',
|
|
@@ -74,10 +74,10 @@ export const BrandLegalstart = [
|
|
|
74
74
|
rcs: '752 566 687',
|
|
75
75
|
phone: '03 83 93 14 14',
|
|
76
76
|
vatIntracom: 'FR47752566687',
|
|
77
|
-
email: 'facturation@
|
|
77
|
+
email: 'facturation@comptastartbyclementine.fr',
|
|
78
78
|
},
|
|
79
79
|
webmail: {
|
|
80
|
-
domain: '@
|
|
80
|
+
domain: '@comptastartbyclementine.fr',
|
|
81
81
|
},
|
|
82
82
|
offices: {
|
|
83
83
|
LAXOU: {
|
package/ts/types/Enum/Unit.ts
CHANGED
|
@@ -26,6 +26,7 @@ export enum UnitId {
|
|
|
26
26
|
SUBSCRIPTION = 17,
|
|
27
27
|
NIGHT = 18,
|
|
28
28
|
TON = 19,
|
|
29
|
+
HECTARE = 20,
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
export type IUnitList = Array<{ name: string; id: number; shortName: string; }>;
|
|
@@ -126,6 +127,11 @@ export const Unit: IUnit = {
|
|
|
126
127
|
name: 'Tonne',
|
|
127
128
|
shortName: 't',
|
|
128
129
|
},
|
|
130
|
+
HECTARE: {
|
|
131
|
+
id: UnitId.HECTARE,
|
|
132
|
+
name: 'Hectare',
|
|
133
|
+
shortName: 'ha',
|
|
134
|
+
},
|
|
129
135
|
};
|
|
130
136
|
|
|
131
137
|
export const UnitList = [
|
|
@@ -224,4 +230,9 @@ export const UnitList = [
|
|
|
224
230
|
name: 'Tonne',
|
|
225
231
|
shortName: 't',
|
|
226
232
|
},
|
|
233
|
+
{
|
|
234
|
+
id: UnitId.HECTARE,
|
|
235
|
+
name: 'Hectare',
|
|
236
|
+
shortName: 'ha',
|
|
237
|
+
},
|
|
227
238
|
];
|
package/ts/types/index.ts
CHANGED
|
@@ -571,6 +571,7 @@ export * from './Interface/api/accountingFiles/queryAccountingFiles';
|
|
|
571
571
|
export * from './Interface/api/accountingFiles/Ocr';
|
|
572
572
|
export * from './Interface/api/accountingFiles/OcrPayload';
|
|
573
573
|
export * from './Interface/api/accountingFiles/OcrValue';
|
|
574
|
+
export * from './Interface/api/accountingFiles/Read';
|
|
574
575
|
export * from './Interface/api/stock/StockEntries';
|
|
575
576
|
export * from './Interface/api/dashboard/QueryTurnoverProfitAndLoss';
|
|
576
577
|
export * from './Interface/api/dashboard/ReadTurnOverProfitAndLossAndVats';
|