@silexpert/core 1.1.122 → 1.1.123
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/DocumentSection.d.ts +33 -0
- package/es/api/resources/DocumentSection.d.ts.map +1 -0
- package/es/api/resources/DocumentSection.js +38 -0
- package/es/api/resources/DocumentSection.js.map +1 -0
- package/es/api/resources/Library.d.ts +2 -1
- package/es/api/resources/Library.d.ts.map +1 -1
- package/es/api/resources/Library.js +3 -0
- package/es/api/resources/Library.js.map +1 -1
- package/es/api/resources/SocietyDetail.d.ts +7 -0
- package/es/api/resources/SocietyDetail.d.ts.map +1 -0
- package/es/api/resources/SocietyDetail.js +10 -0
- package/es/api/resources/SocietyDetail.js.map +1 -0
- package/es/api/resources/StatutsGeneration.d.ts +17 -0
- package/es/api/resources/StatutsGeneration.d.ts.map +1 -0
- package/es/api/resources/StatutsGeneration.js +20 -0
- package/es/api/resources/StatutsGeneration.js.map +1 -0
- package/es/api/resources.d.ts +6 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +6 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/MachineLearning.d.ts +1 -0
- package/es/types/Enum/MachineLearning.d.ts.map +1 -1
- package/es/types/Enum/MachineLearning.js +1 -0
- package/es/types/Enum/MachineLearning.js.map +1 -1
- package/es/types/Enum/StatutsSection.d.ts +90 -0
- package/es/types/Enum/StatutsSection.d.ts.map +1 -0
- package/es/types/Enum/StatutsSection.js +449 -0
- package/es/types/Enum/StatutsSection.js.map +1 -0
- package/es/types/Interface/api/documentSection/Update.d.ts +8 -0
- package/es/types/Interface/api/documentSection/Update.d.ts.map +1 -0
- package/es/types/Interface/api/{society/CreateSocietyDetail.js → documentSection/Update.js} +21 -9
- package/es/types/Interface/api/documentSection/Update.js.map +1 -0
- package/es/types/Interface/api/library/QueryLibrary.d.ts +5 -0
- package/es/types/Interface/api/library/QueryLibrary.d.ts.map +1 -1
- package/es/types/Interface/api/library/QueryLibrary.js +22 -2
- package/es/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/es/types/Interface/api/society/GetSocietyDetail.d.ts +4 -0
- package/es/types/Interface/api/society/GetSocietyDetail.d.ts.map +1 -0
- package/es/types/Interface/api/society/GetSocietyDetail.js +20 -0
- package/es/types/Interface/api/society/GetSocietyDetail.js.map +1 -0
- package/es/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.d.ts +9 -0
- package/es/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.d.ts.map +1 -0
- package/es/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.js +35 -0
- package/es/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.js.map +1 -0
- package/es/types/Interface/models/IDocumentSection.d.ts +13 -0
- package/es/types/Interface/models/IDocumentSection.d.ts.map +1 -0
- package/es/types/Interface/models/IDocumentSection.js +2 -0
- package/es/types/Interface/models/IDocumentSection.js.map +1 -0
- package/es/types/index.d.ts +5 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +5 -1
- package/es/types/index.js.map +1 -1
- package/js/api/resources/DocumentSection.js +45 -0
- package/js/api/resources/DocumentSection.js.map +1 -0
- package/js/api/resources/Library.js +10 -0
- package/js/api/resources/Library.js.map +1 -1
- package/js/api/resources/SocietyDetail.js +21 -0
- package/js/api/resources/SocietyDetail.js.map +1 -0
- package/js/api/resources/StatutsGeneration.js +27 -0
- package/js/api/resources/StatutsGeneration.js.map +1 -0
- package/js/api/resources.js +6 -0
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/MachineLearning.js +1 -0
- package/js/types/Enum/MachineLearning.js.map +1 -1
- package/js/types/Enum/StatutsSection.js +382 -0
- package/js/types/Enum/StatutsSection.js.map +1 -0
- package/js/types/Interface/api/documentSection/Update.js +26 -0
- package/js/types/Interface/api/documentSection/Update.js.map +1 -0
- package/js/types/Interface/api/library/QueryLibrary.js +11 -2
- package/js/types/Interface/api/library/QueryLibrary.js.map +1 -1
- package/js/types/Interface/api/society/{CreateSocietyDetail.js → GetSocietyDetail.js} +7 -7
- package/js/types/Interface/api/society/GetSocietyDetail.js.map +1 -0
- package/js/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.js +25 -0
- package/js/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.js.map +1 -0
- package/js/types/Interface/models/IDocumentSection.js +6 -0
- package/js/types/Interface/models/IDocumentSection.js.map +1 -0
- package/js/types/index.js +52 -12
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/DocumentSection.ts +44 -0
- package/ts/api/resources/Library.ts +5 -1
- package/ts/api/resources/SocietyDetail.ts +15 -0
- package/ts/api/resources/StatutsGeneration.ts +23 -0
- package/ts/api/resources.ts +6 -0
- package/ts/types/Enum/MachineLearning.ts +2 -1
- package/ts/types/Enum/StatutsSection.ts +459 -0
- package/ts/types/Interface/api/documentSection/Update.ts +31 -0
- package/ts/types/Interface/api/library/QueryLibrary.ts +18 -3
- package/ts/types/Interface/api/society/GetSocietyDetail.ts +9 -0
- package/ts/types/Interface/api/statutsGeneration/IntentToPayPrestationParams.ts +23 -0
- package/ts/types/Interface/models/IDocumentSection.ts +15 -0
- package/ts/types/index.ts +5 -1
- package/es/types/Interface/api/society/CreateSocietyDetail.d.ts +0 -6
- package/es/types/Interface/api/society/CreateSocietyDetail.d.ts.map +0 -1
- package/es/types/Interface/api/society/CreateSocietyDetail.js.map +0 -1
- package/js/types/Interface/api/society/CreateSocietyDetail.js.map +0 -1
- package/ts/types/Interface/api/society/CreateSocietyDetail.ts +0 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.123",
|
|
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",
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
import {
|
|
3
|
+
IDocumentSection, UpdateDocumentSection,
|
|
4
|
+
} from '../../types';
|
|
5
|
+
|
|
6
|
+
export class DocumentSection extends Resource {
|
|
7
|
+
/**
|
|
8
|
+
* Fetch all document sections according to conditions
|
|
9
|
+
* @param { idSociety } idSociety
|
|
10
|
+
* @returns { IDocumentSection[] }
|
|
11
|
+
*/
|
|
12
|
+
public getAllForSociety(idSociety: number): Promise<IDocumentSection[]> {
|
|
13
|
+
return this.axios.$get(`/societies/${idSociety}/documents-sections`);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Fetch a document section
|
|
18
|
+
* @param { number } id
|
|
19
|
+
* @returns { IDocumentSection }
|
|
20
|
+
*/
|
|
21
|
+
public get(id: number): Promise<IDocumentSection> {
|
|
22
|
+
return this.axios.$get(`/documents-sections/${id}`);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Update a document section
|
|
27
|
+
* @param id identifier of element to update
|
|
28
|
+
* @param payload elements to update
|
|
29
|
+
* @returns an interface of DocumentSection
|
|
30
|
+
*/
|
|
31
|
+
public update(id: number, payload: UpdateDocumentSection): Promise<{ data: IDocumentSection }> {
|
|
32
|
+
return this.axios.patch(`/documents-sections/${id}`, payload);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Create a document section
|
|
37
|
+
* @param id identifier of element to update
|
|
38
|
+
* @param payload elements to create
|
|
39
|
+
* @returns an interface of DocumentSection
|
|
40
|
+
*/
|
|
41
|
+
public create(payload: IDocumentSection): Promise<IDocumentSection> {
|
|
42
|
+
return this.axios.$post('/documents-sections', payload);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
2
|
import {
|
|
3
|
-
QueryLibraryFile, UpdateOrCreateGedFile, IGedFile, QueryDownloadFile, UpdateGedFile, QueryLibrarySociety, BasePaginate, ReadSocietyLibrary,
|
|
3
|
+
QueryLibraryFile, UpdateOrCreateGedFile, IGedFile, QueryDownloadFile, UpdateGedFile, QueryLastFileOfType, QueryLibrarySociety, BasePaginate, ReadSocietyLibrary,
|
|
4
4
|
} from '../../types';
|
|
5
5
|
|
|
6
6
|
export class Library extends Resource {
|
|
@@ -12,6 +12,10 @@ export class Library extends Resource {
|
|
|
12
12
|
return this.axios.$get('/library/file', { params });
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
getLastFileOfType(params: QueryLastFileOfType): Promise<IGedFile | null> {
|
|
16
|
+
return this.axios.$get('/library/files-for-library', { params: { ...params, page: 1, limit: 1, attributes: ['createdAt'], include: ['user', 'fileFromGed'] } });
|
|
17
|
+
}
|
|
18
|
+
|
|
15
19
|
getAll(params: QueryLibraryFile): Promise<IGedFile[]> {
|
|
16
20
|
return this.axios.$get('/library/files', { params });
|
|
17
21
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GetSocietyDetail,
|
|
3
|
+
ISocietyDetail,
|
|
4
|
+
} from '../../types';
|
|
5
|
+
import { Resource } from '../Resource';
|
|
6
|
+
|
|
7
|
+
export class SocietyDetail extends Resource {
|
|
8
|
+
get(id: number, params: GetSocietyDetail): Promise<ISocietyDetail> {
|
|
9
|
+
return this.axios.$get(`/societies/${id}/details`, { params });
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
updateOrCreate(idSociety: number, params: ISocietyDetail): Promise<ISocietyDetail> {
|
|
13
|
+
return this.axios.$post(`/societies/${idSociety}/details`, { params });
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
import {
|
|
3
|
+
ReadLibraryFile,
|
|
4
|
+
} from '../../types';
|
|
5
|
+
|
|
6
|
+
export class StatutsGeneration extends Resource {
|
|
7
|
+
/**
|
|
8
|
+
* Preview statuts in html for given society
|
|
9
|
+
* @param idSociety
|
|
10
|
+
* @returns { string }
|
|
11
|
+
*/
|
|
12
|
+
public preview(idSociety: number): Promise<string> {
|
|
13
|
+
return this.axios.$post(`/statuts-generation/${idSociety}/preview`);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Regenerate statuts file for given society, from documents sections
|
|
17
|
+
* @param idSociety
|
|
18
|
+
* @returns { ReadLibraryFile }
|
|
19
|
+
*/
|
|
20
|
+
public regenerate(idSociety: number): Promise<ReadLibraryFile> {
|
|
21
|
+
return this.axios.$post(`/statuts-generation/${idSociety}/regenerate-pdf`);
|
|
22
|
+
}
|
|
23
|
+
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -97,6 +97,7 @@ import { Recurrence } from './resources/Recurrence';
|
|
|
97
97
|
import { Stripe } from './resources/Stripe';
|
|
98
98
|
import { File } from './resources/FIle';
|
|
99
99
|
import { SocietyConfig } from './resources/SocietyConfig';
|
|
100
|
+
import { SocietyDetail } from './resources/SocietyDetail';
|
|
100
101
|
import { LegalNotice } from './resources/LegalNotice';
|
|
101
102
|
import { StatisticAccountant } from './resources/statistic/Accountant';
|
|
102
103
|
import { StatisticExpertAccountant } from './resources/statistic/ExpertAccountant';
|
|
@@ -109,6 +110,8 @@ import { Sources } from './resources/Sources';
|
|
|
109
110
|
import { Commercial } from './resources/Commercial';
|
|
110
111
|
import { Facturation } from './resources/Facturation';
|
|
111
112
|
import { Inpi } from './resources/Inpi';
|
|
113
|
+
import { DocumentSection } from './resources/DocumentSection';
|
|
114
|
+
import { StatutsGeneration } from './resources/StatutsGeneration';
|
|
112
115
|
import { Prestation } from './resources/prestation';
|
|
113
116
|
import { TextMessage } from './resources/TextMessage';
|
|
114
117
|
import { SocietyConfigBalanceSheet } from './resources/SocietyConfigBalanceSheet';
|
|
@@ -237,6 +240,7 @@ export const resources = {
|
|
|
237
240
|
file: File,
|
|
238
241
|
wallet: Wallet,
|
|
239
242
|
societyConfig: SocietyConfig,
|
|
243
|
+
societyDetail: SocietyDetail,
|
|
240
244
|
legalNotice: LegalNotice,
|
|
241
245
|
statisticAccountant: StatisticAccountant,
|
|
242
246
|
statisticDirection: StatisticDirection,
|
|
@@ -246,6 +250,8 @@ export const resources = {
|
|
|
246
250
|
terminationList: TerminationList,
|
|
247
251
|
slowDetection: SlowDetection,
|
|
248
252
|
inpi: Inpi,
|
|
253
|
+
documentSection: DocumentSection,
|
|
254
|
+
statutsGeneration: StatutsGeneration,
|
|
249
255
|
prestation: Prestation,
|
|
250
256
|
vatRegimeHistory: VatRegimeHistory,
|
|
251
257
|
sources: Sources,
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export const MINIMUM_TO_ANNOTATE = 75;
|
|
1
|
+
export const MINIMUM_TO_ANNOTATE = 75;
|
|
2
|
+
export const MINIMUM_TO_FORCE_ANNOTATE = 51;
|
|
@@ -0,0 +1,459 @@
|
|
|
1
|
+
import { LegalForm } from './LegalForm';
|
|
2
|
+
|
|
3
|
+
export enum DocumentSectionType {
|
|
4
|
+
ARTICLES = 1,
|
|
5
|
+
ANNEXES = 2,
|
|
6
|
+
OTHER = 3,
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export enum StatutsSectionName {
|
|
10
|
+
P1 = 'page1',
|
|
11
|
+
P2 = 'page2',
|
|
12
|
+
INTRO_S1 = 'intro_section1',
|
|
13
|
+
S1 = 'section1',
|
|
14
|
+
S2 = 'section2',
|
|
15
|
+
S3 = 'section3',
|
|
16
|
+
S4 = 'section4',
|
|
17
|
+
S5 = 'section5',
|
|
18
|
+
S6 = 'section6',
|
|
19
|
+
INTRO_S7 = 'intro_section7',
|
|
20
|
+
S7 = 'section7',
|
|
21
|
+
S8 = 'section8',
|
|
22
|
+
S9 = 'section9',
|
|
23
|
+
S10_AE = 'section10_ae',
|
|
24
|
+
S11_AE = 'section11_ae',
|
|
25
|
+
S12_AE = 'section12_ae',
|
|
26
|
+
INTRO_S13_AE = 'intro_section13_ae',
|
|
27
|
+
S13_AE = 'section13_ae',
|
|
28
|
+
S14_AE = 'section14_ae',
|
|
29
|
+
S15_AE = 'section15_ae',
|
|
30
|
+
S16_AE = 'section16_ae',
|
|
31
|
+
S17_AE = 'section17_ae',
|
|
32
|
+
S18_AE = 'section18_ae',
|
|
33
|
+
INTRO_S19_AE = 'intro_section19_ae',
|
|
34
|
+
S19_AE = 'section19_ae',
|
|
35
|
+
S20_AE = 'section20_ae',
|
|
36
|
+
S21_AE = 'section21_ae',
|
|
37
|
+
INTRO_S22_AE = 'intro_section22_ae',
|
|
38
|
+
S22_AE = 'section22_ae',
|
|
39
|
+
INTRO_S23_AE = 'intro_section23_ae',
|
|
40
|
+
S23_AE = 'section23_ae',
|
|
41
|
+
S24_AE = 'section24_ae',
|
|
42
|
+
S25_AE = 'section25_ae',
|
|
43
|
+
INTRO_S26_AE = 'intro_section26_ae',
|
|
44
|
+
S26_AE = 'section26_ae',
|
|
45
|
+
S27_AE = 'section27_ae',
|
|
46
|
+
S28_AE = 'section28_ae',
|
|
47
|
+
S29_AE = 'section29_ae',
|
|
48
|
+
S30_AE = 'section30_ae',
|
|
49
|
+
INTRO_S10_SA = 'intro_section10_sa',
|
|
50
|
+
S10_SA = 'section10_sa',
|
|
51
|
+
S11_SA = 'section11_sa',
|
|
52
|
+
S12_SA = 'section12_sa',
|
|
53
|
+
S13_SA = 'section13_sa',
|
|
54
|
+
S14_SA = 'section14_sa',
|
|
55
|
+
S15_SA = 'section15_sa',
|
|
56
|
+
INTRO_S16_SA = 'intro_section16_sa',
|
|
57
|
+
S16_SA = 'section16_sa',
|
|
58
|
+
S17_SA = 'section17_sa',
|
|
59
|
+
S18_SA = 'section18_sa',
|
|
60
|
+
S19_SA = 'section19_sa',
|
|
61
|
+
S20_SA = 'section20_sa',
|
|
62
|
+
S21_SA = 'section21_sa',
|
|
63
|
+
S22_SA = 'section22_sa',
|
|
64
|
+
S23_SA = 'section23_sa',
|
|
65
|
+
INTRO_S24_SA = 'intro_section24_sa',
|
|
66
|
+
S24_SA = 'section24_sa',
|
|
67
|
+
S25_SA = 'section25_sa',
|
|
68
|
+
INTRO_S26_SA = 'intro_section26_sa',
|
|
69
|
+
S26_SA = 'section26_sa',
|
|
70
|
+
S27_SA = 'section27_sa',
|
|
71
|
+
INTRO_S28_SA = 'intro_section28_sa',
|
|
72
|
+
S28_SA = 'section28_sa',
|
|
73
|
+
S29_SA = 'section29_sa',
|
|
74
|
+
S30_SA = 'section30_sa',
|
|
75
|
+
S31_SA = 'section31_sa',
|
|
76
|
+
S32_SA = 'section32_sa',
|
|
77
|
+
S33_SA = 'section33_sa',
|
|
78
|
+
SIGNATURES = 'signatures',
|
|
79
|
+
ANNEXES = 'annexes',
|
|
80
|
+
SUBSCRIBERS_LIST = 'subscribersList',
|
|
81
|
+
DECLARATION_OF_HONOR = 'declarationOfHonor',
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export type StatutsSectionType = {
|
|
85
|
+
name: StatutsSectionName,
|
|
86
|
+
idDocumentSectionType?: number,
|
|
87
|
+
title: string | null,
|
|
88
|
+
editable?: boolean,
|
|
89
|
+
isSection?: boolean,
|
|
90
|
+
onlyForLegalForms?: number[],
|
|
91
|
+
exceptForLegalForms?: number[],
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
export const StatutsSection:StatutsSectionType[] = [
|
|
95
|
+
{
|
|
96
|
+
name: StatutsSectionName.P1,
|
|
97
|
+
title: null,
|
|
98
|
+
editable: false,
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
name: StatutsSectionName.P2,
|
|
102
|
+
title: null,
|
|
103
|
+
editable: false,
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: StatutsSectionName.INTRO_S1,
|
|
107
|
+
title: null,
|
|
108
|
+
editable: false,
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: StatutsSectionName.S1,
|
|
112
|
+
title: 'Article 1er - FORME',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
name: StatutsSectionName.S2,
|
|
116
|
+
title: 'Article 2 - OBJET',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
name: StatutsSectionName.S3,
|
|
120
|
+
title: 'Article 3 - DENOMINATION',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
name: StatutsSectionName.S4,
|
|
124
|
+
title: 'Article 4 - SIEGE SOCIAL',
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
name: StatutsSectionName.S5,
|
|
128
|
+
title: 'Article 5 - DUREE',
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
name: StatutsSectionName.S6,
|
|
132
|
+
title: 'Article 6 - EXERCICE SOCIAL',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: StatutsSectionName.INTRO_S7,
|
|
136
|
+
title: null,
|
|
137
|
+
editable: false,
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
name: StatutsSectionName.S7,
|
|
141
|
+
title: 'Article 7 - APPORTS',
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
name: StatutsSectionName.S8,
|
|
145
|
+
title: 'Article 8 - CAPITAL SOCIAL',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
name: StatutsSectionName.S9,
|
|
149
|
+
title: 'Article 9 - MODIFICATION DU CAPITAL',
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: StatutsSectionName.S10_AE,
|
|
153
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
154
|
+
title: 'Article 10 - COMPTES COURANTS D\'ASSOCIÉS',
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
name: StatutsSectionName.S11_AE,
|
|
158
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
159
|
+
title: 'Article 11 - PARTS SOCIALES',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: StatutsSectionName.S12_AE,
|
|
163
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
164
|
+
title: 'Article 12 – CESSION ET TRANSMISSION DES PARTS SOCIALES',
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
name: StatutsSectionName.INTRO_S13_AE,
|
|
168
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
169
|
+
title: null,
|
|
170
|
+
editable: false,
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
name: StatutsSectionName.S13_AE,
|
|
174
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
175
|
+
title: 'Article 13 - GERANCE',
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
name: StatutsSectionName.S14_AE,
|
|
179
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
180
|
+
title: 'Article 14 - POUVOIRS DE LA GERANCE',
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
name: StatutsSectionName.S15_AE,
|
|
184
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
185
|
+
title: 'Article 15 - DUREE DES FONCTIONS DE LA GERANCE',
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
name: StatutsSectionName.S16_AE,
|
|
189
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
190
|
+
title: 'Article 16 - REMUNERATION DE LA GERANCE',
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
name: StatutsSectionName.S17_AE,
|
|
194
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
195
|
+
title: 'Article 17 - CONVENTIONS ENTRE LA SOCIETE ET LA GERANCE OU UN ASSOCIE',
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: StatutsSectionName.S18_AE,
|
|
199
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
200
|
+
title: 'Article 18 - RESPONSABILITE DE LA GERANCE',
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
name: StatutsSectionName.INTRO_S19_AE,
|
|
204
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
205
|
+
title: null,
|
|
206
|
+
editable: false,
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
name: StatutsSectionName.S19_AE,
|
|
210
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
211
|
+
title: 'Article 19 – DECISIONS PRISES PAR L\'ASSOCIE UNIQUE',
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
name: StatutsSectionName.S20_AE,
|
|
215
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
216
|
+
title: 'Article 20 – DECISIONS COLLECTIVES',
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
name: StatutsSectionName.S21_AE,
|
|
220
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
221
|
+
title: 'Article 21 – INFORMATION DES ASSOCIES',
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
name: StatutsSectionName.INTRO_S22_AE,
|
|
225
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
226
|
+
title: null,
|
|
227
|
+
editable: false,
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
name: StatutsSectionName.S22_AE,
|
|
231
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
232
|
+
title: 'Article 22 - COMMISSAIRES AUX COMPTES',
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
name: StatutsSectionName.INTRO_S23_AE,
|
|
236
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
237
|
+
title: null,
|
|
238
|
+
editable: false,
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
name: StatutsSectionName.S23_AE,
|
|
242
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
243
|
+
title: 'Article 23 - COMPTES SOCIAUX',
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
name: StatutsSectionName.S24_AE,
|
|
247
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
248
|
+
title: 'Article 24 - AFFECTATION ET REPARTITION DES BENEFICES',
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
name: StatutsSectionName.S25_AE,
|
|
252
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
253
|
+
title: 'Article 25 - Capitaux propres inférieurs à la moitié du capital social',
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
name: StatutsSectionName.INTRO_S26_AE,
|
|
257
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
258
|
+
title: null,
|
|
259
|
+
editable: false,
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
name: StatutsSectionName.S26_AE,
|
|
263
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
264
|
+
title: 'Article 26 - DISSOLUTION',
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
name: StatutsSectionName.S27_AE,
|
|
268
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
269
|
+
title: 'Article 27 - LIQUIDATION',
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
name: StatutsSectionName.S28_AE,
|
|
273
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
274
|
+
title: 'Article 28 – CONTESTATIONS',
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
name: StatutsSectionName.S29_AE,
|
|
278
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
279
|
+
title: 'Article 29 - PERSONNALITE MORALE - IMMATRICULATION AU REGISTRE DU COMMERCE',
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
name: StatutsSectionName.S30_AE,
|
|
283
|
+
onlyForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
284
|
+
title: 'Article 30 - FRAIS',
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
name: StatutsSectionName.INTRO_S10_SA,
|
|
288
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
289
|
+
title: null,
|
|
290
|
+
editable: false,
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
name: StatutsSectionName.S10_SA,
|
|
294
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
295
|
+
title: 'Article 10 - FORME ET PROPRIETE DES ACTIONS',
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
name: StatutsSectionName.S11_SA,
|
|
299
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
300
|
+
title: 'Article 11 – DROITS ET OBLIGATIONS ATTACHES AUX ACTIONS',
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
name: StatutsSectionName.S12_SA,
|
|
304
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
305
|
+
title: 'Article 12 – FORME DES CESSIONS OU TRANSMISSIONS D\'ACTIONS',
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
name: StatutsSectionName.S13_SA,
|
|
309
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
310
|
+
title: 'Article 13 – AGREMENT',
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
name: StatutsSectionName.S14_SA,
|
|
314
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
315
|
+
title: 'Article 14 - TRANSMISSION PAR DECES OU PAR SUITE DE DISSOLUTION DE COMMUNAUTE ENTRE EPOUX',
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
name: StatutsSectionName.S15_SA,
|
|
319
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
320
|
+
title: 'Article 15 - NULLITE DES CESSIONS D\'ACTIONS',
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
name: StatutsSectionName.INTRO_S16_SA,
|
|
324
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
325
|
+
title: null,
|
|
326
|
+
editable: false,
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
name: StatutsSectionName.S16_SA,
|
|
330
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
331
|
+
title: 'Article 16 – PRESIDENCE DE LA SOCIETE',
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
name: StatutsSectionName.S17_SA,
|
|
335
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
336
|
+
title: 'Article 17 – DIRECTEUR GENERAL',
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
name: StatutsSectionName.S18_SA,
|
|
340
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
341
|
+
title: 'Article 18 – CONVENTIONS REGLEMENTEES',
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
name: StatutsSectionName.S19_SA,
|
|
345
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
346
|
+
title: 'Article 19 – COMPETENCE',
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
name: StatutsSectionName.S20_SA,
|
|
350
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
351
|
+
title: 'Article 20 – REGLES DE MAJORITE',
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
name: StatutsSectionName.S21_SA,
|
|
355
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
356
|
+
title: 'Article 21 – FORME DES DECISIONS COLLECTIVES',
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
name: StatutsSectionName.S22_SA,
|
|
360
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
361
|
+
title: 'Article 22 – INFORMATION DES ASSOCIÉS',
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
name: StatutsSectionName.S23_SA,
|
|
365
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
366
|
+
title: 'Article 23 – ASSOCIE UNIQUE',
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
name: StatutsSectionName.INTRO_S24_SA,
|
|
370
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
371
|
+
title: null,
|
|
372
|
+
editable: false,
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
name: StatutsSectionName.S24_SA,
|
|
376
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
377
|
+
title: 'Article 24 - COMMISSAIRES AUX COMPTES',
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
name: StatutsSectionName.S25_SA,
|
|
381
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
382
|
+
title: 'Article 25 – COMITE D\'ENTREPRISE',
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
name: StatutsSectionName.INTRO_S26_SA,
|
|
386
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
387
|
+
title: null,
|
|
388
|
+
editable: false,
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
name: StatutsSectionName.S26_SA,
|
|
392
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
393
|
+
title: 'Article 26 - COMPTE ANNUELS',
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
name: StatutsSectionName.S27_SA,
|
|
397
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
398
|
+
title: 'Article 27 - AFFECTATION DU BENEFICE - RESERVES',
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
name: StatutsSectionName.INTRO_S28_SA,
|
|
402
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
403
|
+
title: null,
|
|
404
|
+
editable: false,
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
name: StatutsSectionName.S28_SA,
|
|
408
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
409
|
+
title: 'Article 28 - DISSOLUTION',
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
name: StatutsSectionName.S29_SA,
|
|
413
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
414
|
+
title: 'Article 29 - LIQUIDATION',
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
name: StatutsSectionName.S30_SA,
|
|
418
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
419
|
+
title: 'Article 30 - CONTESTATIONS',
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
name: StatutsSectionName.S31_SA,
|
|
423
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
424
|
+
title: 'Article 31 - NOMINATION DU PREMIER PRESIDENT',
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
name: StatutsSectionName.S32_SA,
|
|
428
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
429
|
+
title: 'Article 32 - FORMALITES CONSTITUTIVES - IMMATRICULATION AU REGISTRE DU COMMERCE ET DES SOCIETES',
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
name: StatutsSectionName.S33_SA,
|
|
433
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
434
|
+
title: 'Article 33 - FRAIS',
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
name: StatutsSectionName.SIGNATURES,
|
|
438
|
+
exceptForLegalForms: [LegalForm.EI.id, LegalForm.EIRL.id, LegalForm.EURL.id, LegalForm.AUTO_ENTREPRENEUR.id],
|
|
439
|
+
title: null,
|
|
440
|
+
editable: false,
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
name: StatutsSectionName.ANNEXES,
|
|
444
|
+
idDocumentSectionType: DocumentSectionType.ANNEXES,
|
|
445
|
+
exceptForLegalForms: [],
|
|
446
|
+
title: null,
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
name: StatutsSectionName.SUBSCRIBERS_LIST,
|
|
450
|
+
idDocumentSectionType: DocumentSectionType.OTHER,
|
|
451
|
+
onlyForLegalForms: [LegalForm.SA.id, LegalForm.SAS.id, LegalForm.SASU.id],
|
|
452
|
+
title: 'LISTE DES SOUSCRIPTEURS ET ETAT DES VERSEMENTS',
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
name: StatutsSectionName.DECLARATION_OF_HONOR,
|
|
456
|
+
idDocumentSectionType: DocumentSectionType.OTHER,
|
|
457
|
+
title: 'DECLARATION SUR L\'HONNEUR DE NON-CONDAMNATION',
|
|
458
|
+
},
|
|
459
|
+
];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsInt, IsOptional, IsString,
|
|
3
|
+
} from 'class-validator';
|
|
4
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
5
|
+
|
|
6
|
+
export class UpdateDocumentSection {
|
|
7
|
+
@ApiPropertyOptional()
|
|
8
|
+
@IsString()
|
|
9
|
+
@IsOptional()
|
|
10
|
+
title?: string | null;
|
|
11
|
+
|
|
12
|
+
@ApiPropertyOptional()
|
|
13
|
+
@IsInt()
|
|
14
|
+
@IsOptional()
|
|
15
|
+
idDocumentSectionType?: number;
|
|
16
|
+
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsString()
|
|
19
|
+
@IsOptional()
|
|
20
|
+
htmlContent?: string | null;
|
|
21
|
+
|
|
22
|
+
@ApiPropertyOptional()
|
|
23
|
+
@IsInt()
|
|
24
|
+
@IsOptional()
|
|
25
|
+
number?: number;
|
|
26
|
+
|
|
27
|
+
@ApiPropertyOptional()
|
|
28
|
+
@IsInt()
|
|
29
|
+
@IsOptional()
|
|
30
|
+
idGedFile?: number;
|
|
31
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsEnum, IsDateString,
|
|
2
|
+
IsIn, IsOptional, IsString, IsNumber, IsBoolean, IsInt, IsEnum, IsDateString,
|
|
3
3
|
} from 'class-validator';
|
|
4
4
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
5
5
|
import { GedFolder, GedFileType, GedCategory } from '../../../Enum/Ged';
|
|
@@ -60,7 +60,7 @@ export class QueryLibraryFile {
|
|
|
60
60
|
@IsString({
|
|
61
61
|
each: true,
|
|
62
62
|
})
|
|
63
|
-
@IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed'], { each: true })
|
|
63
|
+
@IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed', 'user'], { each: true })
|
|
64
64
|
include?: string[];
|
|
65
65
|
}
|
|
66
66
|
|
|
@@ -102,7 +102,6 @@ export class UpdateOrCreateGedFile {
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
export class QueryLibrarySociety extends RequiredQueryPaginate {
|
|
105
|
-
|
|
106
105
|
@ApiProperty()
|
|
107
106
|
@IsEnum(GedCategory, { each: true })
|
|
108
107
|
idGedCategories: GedCategory[];
|
|
@@ -124,4 +123,20 @@ export class QueryLibrarySociety extends RequiredQueryPaginate {
|
|
|
124
123
|
|
|
125
124
|
@ApiPropertyOptional()
|
|
126
125
|
orderBy?: Order;
|
|
126
|
+
}
|
|
127
|
+
export class QueryLastFileOfType {
|
|
128
|
+
@ApiProperty()
|
|
129
|
+
@IsInt()
|
|
130
|
+
idSociety: number;
|
|
131
|
+
|
|
132
|
+
@ApiProperty()
|
|
133
|
+
idTypeGedFile: GedFileType;
|
|
134
|
+
|
|
135
|
+
@ApiPropertyOptional()
|
|
136
|
+
@IsOptional()
|
|
137
|
+
@IsString({
|
|
138
|
+
each: true,
|
|
139
|
+
})
|
|
140
|
+
@IsIn(['gedFolder', 'balanceSheet', 'customerSignature', 'fileFromGed', 'user'], { each: true })
|
|
141
|
+
include?: string[];
|
|
127
142
|
}
|