@silexpert/core 1.1.194 → 1.1.196
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/Authenticate.d.ts +3 -1
- package/dist/cjs/api/resources/Authenticate.d.ts.map +1 -1
- package/dist/cjs/api/resources/Authenticate.js +10 -0
- package/dist/cjs/api/resources/Authenticate.js.map +1 -1
- package/dist/cjs/api/resources/IncomeAllocation.d.ts +2 -0
- package/dist/cjs/api/resources/IncomeAllocation.d.ts.map +1 -1
- package/dist/cjs/api/resources/IncomeAllocation.js +4 -0
- package/dist/cjs/api/resources/IncomeAllocation.js.map +1 -1
- package/dist/cjs/api/resources/Loan.d.ts +4 -0
- package/dist/cjs/api/resources/Loan.d.ts.map +1 -1
- package/dist/cjs/api/resources/Loan.js +8 -0
- package/dist/cjs/api/resources/Loan.js.map +1 -1
- package/dist/cjs/api/resources/PaymentExpectationCustomer.d.ts +2 -2
- package/dist/cjs/api/resources/PaymentExpectationCustomer.d.ts.map +1 -1
- package/dist/cjs/api/resources/PaymentExpectationCustomer.js.map +1 -1
- package/dist/cjs/api/resources/Provision.d.ts +2 -0
- package/dist/cjs/api/resources/Provision.d.ts.map +1 -1
- package/dist/cjs/api/resources/Provision.js +4 -0
- package/dist/cjs/api/resources/Provision.js.map +1 -1
- package/dist/cjs/api/resources/SalariesFile.d.ts +2 -0
- package/dist/cjs/api/resources/SalariesFile.d.ts.map +1 -1
- package/dist/cjs/api/resources/SalariesFile.js +4 -0
- package/dist/cjs/api/resources/SalariesFile.js.map +1 -1
- package/dist/cjs/api/resources/Stocks.d.ts +6 -0
- package/dist/cjs/api/resources/Stocks.d.ts.map +1 -1
- package/dist/cjs/api/resources/Stocks.js +14 -0
- package/dist/cjs/api/resources/Stocks.js.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.d.ts +5 -0
- package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.js +1 -0
- package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/BrandComptalib.d.ts +3 -0
- package/dist/cjs/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandComptalib.js +1 -0
- package/dist/cjs/types/Enum/BrandComptalib.js.map +1 -1
- package/dist/cjs/types/Enum/BrandLegalstart.d.ts +1 -0
- package/dist/cjs/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandLegalstart.js +1 -0
- package/dist/cjs/types/Enum/BrandLegalstart.js.map +1 -1
- package/dist/cjs/types/Enum/PriceGridClementine.d.ts +18 -0
- package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PriceGridClementine.js +48 -0
- package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/ForgotPassword.d.ts +4 -0
- package/dist/cjs/types/Interface/api/authentification/ForgotPassword.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/authentification/ForgotPassword.js +23 -0
- package/dist/cjs/types/Interface/api/authentification/ForgotPassword.js.map +1 -0
- package/dist/cjs/types/Interface/api/authentification/ResetPassword.d.ts +5 -0
- package/dist/cjs/types/Interface/api/authentification/ResetPassword.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/authentification/ResetPassword.js +28 -0
- package/dist/cjs/types/Interface/api/authentification/ResetPassword.js.map +1 -0
- package/dist/cjs/types/Interface/api/userRoomEquipment/CreateSignature.d.ts +1 -0
- package/dist/cjs/types/Interface/api/userRoomEquipment/CreateSignature.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/userRoomEquipment/CreateSignature.js +5 -0
- package/dist/cjs/types/Interface/api/userRoomEquipment/CreateSignature.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Authenticate.d.ts +3 -1
- package/dist/mjs/api/resources/Authenticate.d.ts.map +1 -1
- package/dist/mjs/api/resources/Authenticate.js +6 -0
- package/dist/mjs/api/resources/Authenticate.js.map +1 -1
- package/dist/mjs/api/resources/IncomeAllocation.d.ts +2 -0
- package/dist/mjs/api/resources/IncomeAllocation.d.ts.map +1 -1
- package/dist/mjs/api/resources/IncomeAllocation.js +4 -0
- package/dist/mjs/api/resources/IncomeAllocation.js.map +1 -1
- package/dist/mjs/api/resources/Loan.d.ts +4 -0
- package/dist/mjs/api/resources/Loan.d.ts.map +1 -1
- package/dist/mjs/api/resources/Loan.js +8 -0
- package/dist/mjs/api/resources/Loan.js.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectationCustomer.d.ts +2 -2
- package/dist/mjs/api/resources/PaymentExpectationCustomer.d.ts.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectationCustomer.js.map +1 -1
- package/dist/mjs/api/resources/Provision.d.ts +2 -0
- package/dist/mjs/api/resources/Provision.d.ts.map +1 -1
- package/dist/mjs/api/resources/Provision.js +4 -0
- package/dist/mjs/api/resources/Provision.js.map +1 -1
- package/dist/mjs/api/resources/SalariesFile.d.ts +2 -0
- package/dist/mjs/api/resources/SalariesFile.d.ts.map +1 -1
- package/dist/mjs/api/resources/SalariesFile.js +4 -0
- package/dist/mjs/api/resources/SalariesFile.js.map +1 -1
- package/dist/mjs/api/resources/Stocks.d.ts +6 -0
- package/dist/mjs/api/resources/Stocks.d.ts.map +1 -1
- package/dist/mjs/api/resources/Stocks.js +14 -0
- package/dist/mjs/api/resources/Stocks.js.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.d.ts +5 -0
- package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.js +1 -0
- package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/BrandComptalib.d.ts +3 -0
- package/dist/mjs/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandComptalib.js +1 -0
- package/dist/mjs/types/Enum/BrandComptalib.js.map +1 -1
- package/dist/mjs/types/Enum/BrandLegalstart.d.ts +1 -0
- package/dist/mjs/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandLegalstart.js +1 -0
- package/dist/mjs/types/Enum/BrandLegalstart.js.map +1 -1
- package/dist/mjs/types/Enum/PriceGridClementine.d.ts +18 -0
- package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PriceGridClementine.js +48 -0
- package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/ForgotPassword.d.ts +4 -0
- package/dist/mjs/types/Interface/api/authentification/ForgotPassword.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/authentification/ForgotPassword.js +20 -0
- package/dist/mjs/types/Interface/api/authentification/ForgotPassword.js.map +1 -0
- package/dist/mjs/types/Interface/api/authentification/ResetPassword.d.ts +5 -0
- package/dist/mjs/types/Interface/api/authentification/ResetPassword.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/authentification/ResetPassword.js +26 -0
- package/dist/mjs/types/Interface/api/authentification/ResetPassword.js.map +1 -0
- package/dist/mjs/types/Interface/api/userRoomEquipment/CreateSignature.d.ts +1 -0
- package/dist/mjs/types/Interface/api/userRoomEquipment/CreateSignature.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/userRoomEquipment/CreateSignature.js +7 -1
- package/dist/mjs/types/Interface/api/userRoomEquipment/CreateSignature.js.map +1 -1
- package/dist/mjs/types/index.d.ts +2 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +2 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Authenticate.ts +9 -1
- package/ts/api/resources/IncomeAllocation.ts +5 -0
- package/ts/api/resources/Loan.ts +11 -0
- package/ts/api/resources/PaymentExpectationCustomer.ts +2 -1
- package/ts/api/resources/Provision.ts +5 -0
- package/ts/api/resources/SalariesFile.ts +7 -0
- package/ts/api/resources/Stocks.ts +19 -0
- package/ts/types/Enum/BrandClementine.ts +1 -0
- package/ts/types/Enum/BrandComptalib.ts +1 -0
- package/ts/types/Enum/BrandLegalstart.ts +1 -0
- package/ts/types/Enum/PriceGridClementine.ts +48 -0
- package/ts/types/Interface/api/authentification/ForgotPassword.ts +8 -0
- package/ts/types/Interface/api/authentification/ResetPassword.ts +12 -0
- package/ts/types/Interface/api/userRoomEquipment/CreateSignature.ts +5 -1
- package/ts/types/index.ts +2 -0
|
@@ -12,10 +12,15 @@ export class Provision extends Resource {
|
|
|
12
12
|
return this.axios.$get(`/balance-sheets/provisions/${params.idAccountingTransaction}`);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
/** @deprecated use createForSociety() */
|
|
15
16
|
create(payload: CreateProvisionForm): Promise<ReadProvision> {
|
|
16
17
|
return this.axios.$post('/balance-sheets/provisions', payload);
|
|
17
18
|
}
|
|
18
19
|
|
|
20
|
+
createForSociety(idSociety: number, payload: CreateProvisionForm): Promise<ReadProvision> {
|
|
21
|
+
return this.axios.$post(`/societies/${idSociety}/balance-sheets/provisions`, payload);
|
|
22
|
+
}
|
|
23
|
+
|
|
19
24
|
update(idAccountingTransaction: number, payload: UpdateProvisionForm): Promise<ReadProvision> {
|
|
20
25
|
return this.axios.$put(`/balance-sheets/provisions/${idAccountingTransaction}`, payload);
|
|
21
26
|
}
|
|
@@ -2,10 +2,17 @@ import { Resource } from '../Resource';
|
|
|
2
2
|
import { CreateSalariesFile, ReadSalariesFile } from '../../types';
|
|
3
3
|
|
|
4
4
|
export class SalariesFile extends Resource {
|
|
5
|
+
|
|
6
|
+
/** @deprecated use createForSociety() */
|
|
5
7
|
create(params: CreateSalariesFile): Promise<ReadSalariesFile> {
|
|
6
8
|
return this.axios.$post('salariesFile', params);
|
|
7
9
|
}
|
|
8
10
|
|
|
11
|
+
createForSociety(idSociety: number): Promise<ReadSalariesFile> {
|
|
12
|
+
return this.axios.$post(`/societies/${idSociety}/salary-files`);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
|
|
9
16
|
/**
|
|
10
17
|
* delete SalariesFile
|
|
11
18
|
* @param params
|
|
@@ -2,14 +2,24 @@ import { Resource } from '../Resource';
|
|
|
2
2
|
import { IFile, StockEntries, TFile } from '../../types';
|
|
3
3
|
|
|
4
4
|
export class Stocks extends Resource {
|
|
5
|
+
|
|
6
|
+
/** @deprecated use create() */
|
|
5
7
|
createStocks(payload: StockEntries): Promise<any> {
|
|
6
8
|
return this.axios.$post('/stocks/entries', payload);
|
|
7
9
|
}
|
|
8
10
|
|
|
11
|
+
create(idExercice: number, payload: StockEntries): Promise<any> {
|
|
12
|
+
return this.axios.$post(`/exercices/${idExercice}/stocks`, payload);
|
|
13
|
+
}
|
|
14
|
+
|
|
9
15
|
createFile(file: TFile): Promise<any> {
|
|
10
16
|
return this.axios.$post('/stocks/files', file, { headers: { 'Content-Type': 'multipart/form-data' } });
|
|
11
17
|
}
|
|
12
18
|
|
|
19
|
+
importFile(idExercice: number, file: TFile): Promise<any> {
|
|
20
|
+
return this.axios.$post(`/exercices/${idExercice}/stocks/files`, file, { headers: { 'Content-Type': 'multipart/form-data' } });
|
|
21
|
+
}
|
|
22
|
+
|
|
13
23
|
getStocks(idExercice: number): Promise<StockEntries> {
|
|
14
24
|
return this.axios.$get(`/stocks/entries/${idExercice}`);
|
|
15
25
|
}
|
|
@@ -18,10 +28,19 @@ export class Stocks extends Resource {
|
|
|
18
28
|
return this.axios.$get('/stocks/files');
|
|
19
29
|
}
|
|
20
30
|
|
|
31
|
+
getSocietyFiles(idSociety: number): Promise<IFile[]> {
|
|
32
|
+
return this.axios.$get(`/societies/${idSociety}/stocks/files`);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/** @deprecated use download() */
|
|
21
36
|
downloadFile(token: string): Promise<void> {
|
|
22
37
|
return this.axios.$get(`/stocks/files/${token}`, { responseType: 'blob' });
|
|
23
38
|
}
|
|
24
39
|
|
|
40
|
+
download(idSociety: number, token: string): Promise<void> {
|
|
41
|
+
return this.axios.$get(`/societies/${idSociety}/stocks/files/${token}`, { responseType: 'blob' });
|
|
42
|
+
}
|
|
43
|
+
|
|
25
44
|
deleteFile(idFile: number): Promise<any> {
|
|
26
45
|
return this.axios.$delete(`/stocks/files/${idFile}`);
|
|
27
46
|
}
|
|
@@ -7,6 +7,7 @@ export const BrandClementine = [
|
|
|
7
7
|
commercialName: 'Clementine',
|
|
8
8
|
urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-clementine/',
|
|
9
9
|
logoS3: 'config/72030539-45a0-57fb-a7bb-e151e7d2721b.svg',
|
|
10
|
+
privacyPolicy: 'https://www.compta-clementine.fr/politique-des-donnees/',
|
|
10
11
|
recaptcha: {
|
|
11
12
|
secretKey: '6LdZneUUAAAAAKfiwC_JFWOlzc_0YYKHQJgSveRP',
|
|
12
13
|
},
|
|
@@ -5,6 +5,7 @@ export const BrandComptalib = [
|
|
|
5
5
|
commercialName: 'Comptalib',
|
|
6
6
|
urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-comptalib/',
|
|
7
7
|
logoS3: 'config/72030539-45a0-57fb-a7bb-e151e7d2721b.svg',
|
|
8
|
+
privacyPolicy: 'https://www.comptalib.com/data/',
|
|
8
9
|
colors: {
|
|
9
10
|
primary: '#1656ff',
|
|
10
11
|
primary50: '#EDF2FF',
|
|
@@ -7,6 +7,7 @@ export const BrandLegalstart = [
|
|
|
7
7
|
commercialName: 'Clementine',
|
|
8
8
|
urlS3: 'https://resources-legalstart.s3.eu-west-3.amazonaws.com/',
|
|
9
9
|
logoS3: 'config/55624137-0c29-5f16-a079-b2904a6f9e7b.svg',
|
|
10
|
+
privacyPolicy: 'https://www.legalstart.fr/corp/vie-privee/',
|
|
10
11
|
colors: {
|
|
11
12
|
primary: '#16a974',
|
|
12
13
|
footerColor: '#f3692f',
|
|
@@ -473,6 +473,54 @@ export const PriceGridClementine = [
|
|
|
473
473
|
},
|
|
474
474
|
],
|
|
475
475
|
},
|
|
476
|
+
{
|
|
477
|
+
/* Prévisionnel */
|
|
478
|
+
idPrestationList: [PrestationType.BILAN_PREVISIONNEL],
|
|
479
|
+
turnoverCreatedYear: [
|
|
480
|
+
{
|
|
481
|
+
turnoverValue: 75000,
|
|
482
|
+
price: 199,
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
turnoverValue: 150000,
|
|
486
|
+
price: 299,
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
turnoverValue: 400000,
|
|
490
|
+
price: 399,
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
turnoverValue: 750000,
|
|
494
|
+
price: 579,
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
turnoverValue: 1000000,
|
|
498
|
+
price: 889,
|
|
499
|
+
},
|
|
500
|
+
],
|
|
501
|
+
turnoverPastYear: [
|
|
502
|
+
{
|
|
503
|
+
turnoverValue: 75000,
|
|
504
|
+
price: 299,
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
turnoverValue: 150000,
|
|
508
|
+
price: 399,
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
turnoverValue: 400000,
|
|
512
|
+
price: 499,
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
turnoverValue: 750000,
|
|
516
|
+
price: 679,
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
turnoverValue: 1000000,
|
|
520
|
+
price: 989,
|
|
521
|
+
},
|
|
522
|
+
],
|
|
523
|
+
},
|
|
476
524
|
],
|
|
477
525
|
},
|
|
478
526
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsInt } from 'class-validator';
|
|
1
|
+
import { IsInt, IsEmail } from 'class-validator';
|
|
2
2
|
import { ApiProperty } from '../../../../utils';
|
|
3
3
|
|
|
4
4
|
export class CreateYousignSignature {
|
|
@@ -9,4 +9,8 @@ export class CreateYousignSignature {
|
|
|
9
9
|
@ApiProperty()
|
|
10
10
|
@IsInt()
|
|
11
11
|
idUserToSign: number;
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
@IsEmail()
|
|
15
|
+
email: string;
|
|
12
16
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -992,6 +992,8 @@ export * from './Interface/api/accountsSectors/Create';
|
|
|
992
992
|
export * from './Interface/api/fusion/FusionSocieties';
|
|
993
993
|
export * from './Interface/api/changelog/Create';
|
|
994
994
|
export * from './Interface/api/authentification/ReadAuthenticateCollaborater';
|
|
995
|
+
export * from './Interface/api/authentification/ResetPassword';
|
|
996
|
+
export * from './Interface/api/authentification/ForgotPassword';
|
|
995
997
|
export * from './Interface/api/society/Export';
|
|
996
998
|
export * from './Interface/api/businessSector/Create';
|
|
997
999
|
export * from './Interface/api/businessSector/Query';
|