@silexpert/core 1.1.255 → 1.1.257
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/BankStatement.d.ts.map +1 -1
- package/dist/cjs/api/resources/BankStatement.js +4 -0
- package/dist/cjs/api/resources/BankStatement.js.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.js +2 -2
- package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/cjs/types/Enum/Contribution.d.ts +12 -0
- package/dist/cjs/types/Enum/Contribution.d.ts.map +1 -0
- package/dist/cjs/types/Enum/Contribution.js +10 -0
- package/dist/cjs/types/Enum/Contribution.js.map +1 -0
- package/dist/cjs/types/Enum/MaritalStatus.js.map +1 -1
- package/dist/cjs/types/Enum/StatutsSection.d.ts +16 -10
- package/dist/cjs/types/Enum/StatutsSection.d.ts.map +1 -1
- package/dist/cjs/types/Enum/StatutsSection.js +2 -0
- package/dist/cjs/types/Enum/StatutsSection.js.map +1 -1
- package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts +4 -2
- package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +5 -0
- package/dist/cjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
- package/dist/cjs/types/Interface/api/statutsGeneration/TemplateParams.d.ts +8 -4
- package/dist/cjs/types/Interface/api/statutsGeneration/TemplateParams.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/statutsGeneration/TemplateParams.js.map +1 -1
- package/dist/cjs/types/Interface/models/IBusinessPartner.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IBusinessPartner.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IBusinessPartner.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/BankStatement.d.ts.map +1 -1
- package/dist/mjs/api/resources/BankStatement.js +4 -0
- package/dist/mjs/api/resources/BankStatement.js.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.js +2 -2
- package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/mjs/types/Enum/Contribution.d.ts +12 -0
- package/dist/mjs/types/Enum/Contribution.d.ts.map +1 -0
- package/dist/mjs/types/Enum/Contribution.js +7 -0
- package/dist/mjs/types/Enum/Contribution.js.map +1 -0
- package/dist/mjs/types/Enum/MaritalStatus.js.map +1 -1
- package/dist/mjs/types/Enum/StatutsSection.d.ts +16 -10
- package/dist/mjs/types/Enum/StatutsSection.d.ts.map +1 -1
- package/dist/mjs/types/Enum/StatutsSection.js +2 -0
- package/dist/mjs/types/Enum/StatutsSection.js.map +1 -1
- package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts +4 -2
- package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js +6 -0
- package/dist/mjs/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.js.map +1 -1
- package/dist/mjs/types/Interface/api/statutsGeneration/TemplateParams.d.ts +8 -4
- package/dist/mjs/types/Interface/api/statutsGeneration/TemplateParams.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/statutsGeneration/TemplateParams.js.map +1 -1
- package/dist/mjs/types/Interface/models/IBusinessPartner.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IBusinessPartner.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IBusinessPartner.js.map +1 -1
- package/dist/mjs/types/index.d.ts +1 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BankStatement.ts +3 -0
- package/ts/types/Enum/BrandPourcentage.ts +2 -2
- package/ts/types/Enum/Contribution.ts +12 -0
- package/ts/types/Enum/MaritalStatus.ts +1 -1
- package/ts/types/Enum/StatutsSection.ts +20 -11
- package/ts/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.ts +7 -2
- package/ts/types/Interface/api/statutsGeneration/TemplateParams.ts +8 -4
- package/ts/types/Interface/models/IBusinessPartner.ts +3 -0
- package/ts/types/index.ts +1 -0
|
@@ -30,6 +30,24 @@ export const DocumentSectionTypeDetail = [
|
|
|
30
30
|
},
|
|
31
31
|
];
|
|
32
32
|
|
|
33
|
+
export type StatutsSectionType = {
|
|
34
|
+
name: string,
|
|
35
|
+
title?: string,
|
|
36
|
+
htmlContent: string,
|
|
37
|
+
idDocumentSectionType?: DocumentSectionType
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export type StatutsSectionTypeV1 = {
|
|
41
|
+
name: string,
|
|
42
|
+
idDocumentSectionType?: DocumentSectionType, //Inutile pour la v2 des statuts (avec un template par statut)
|
|
43
|
+
title?: string | null,
|
|
44
|
+
editable?: boolean, //Inutile pour la v2 des statuts (avec un template par statut)
|
|
45
|
+
isSection?: boolean, //Inutile pour la v2 des statuts (avec un template par statut)
|
|
46
|
+
onlyForLegalForms?: number[], //Inutile pour la v2 des statuts (avec un template par statut)
|
|
47
|
+
exceptForLegalForms?: number[], //Inutile pour la v2 des statuts (avec un template par statut)
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
//Inutile pour la v2 des statuts (avec un template par statut)
|
|
33
51
|
export enum StatutsSectionName {
|
|
34
52
|
P1 = 'page1',
|
|
35
53
|
P2 = 'page2',
|
|
@@ -105,17 +123,8 @@ export enum StatutsSectionName {
|
|
|
105
123
|
DECLARATION_OF_HONOR = 'declarationOfHonor',
|
|
106
124
|
}
|
|
107
125
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
idDocumentSectionType?: DocumentSectionType,
|
|
111
|
-
title: string | null,
|
|
112
|
-
editable?: boolean,
|
|
113
|
-
isSection?: boolean,
|
|
114
|
-
onlyForLegalForms?: number[],
|
|
115
|
-
exceptForLegalForms?: number[],
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
export const StatutsSection:StatutsSectionType[] = [
|
|
126
|
+
//Inutile pour la v2 des statuts (avec un template par statut)
|
|
127
|
+
export const StatutsSection:StatutsSectionTypeV1[] = [
|
|
119
128
|
{
|
|
120
129
|
name: StatutsSectionName.P1,
|
|
121
130
|
title: null,
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';
|
|
5
5
|
import { CountryId } from '../../../Enum/Country';
|
|
6
6
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
7
|
+
import { ContributionType } from '../../../Enum/Contribution';
|
|
7
8
|
|
|
8
9
|
export class CreateBusinessPartnersAndUsersParamsSociety {
|
|
9
10
|
@ApiPropertyOptional()
|
|
@@ -93,8 +94,12 @@ export class CreateBusinessPartnersAndUsersParams {
|
|
|
93
94
|
sharesHeld?: number;
|
|
94
95
|
|
|
95
96
|
@ApiProperty()
|
|
96
|
-
user
|
|
97
|
+
user: CreateBusinessPartnersAndUsersParamsUser;
|
|
97
98
|
|
|
98
99
|
@ApiProperty()
|
|
99
|
-
society
|
|
100
|
+
society: CreateBusinessPartnersAndUsersParamsSociety;
|
|
101
|
+
|
|
102
|
+
@ApiPropertyOptional()
|
|
103
|
+
@IsOptional()
|
|
104
|
+
contributions?: ContributionType[];
|
|
100
105
|
}
|
|
@@ -8,20 +8,24 @@ export interface TemplateParams {
|
|
|
8
8
|
ownerIsMarried?: boolean | null;
|
|
9
9
|
totalShares?: number | null;
|
|
10
10
|
totalSharesInText?: string | null;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
shareValue?: number | null;
|
|
12
|
+
shareValueInText?: string | null;
|
|
13
13
|
user?: TemplateUser | null;
|
|
14
|
-
hasAssociates?: boolean | null;
|
|
15
14
|
society?: TemplateSociety | null;
|
|
16
15
|
activity?: string | null;
|
|
16
|
+
hasAssociates?: boolean | null; //Inutile pour la v2 des statuts (avec un template par statut)
|
|
17
17
|
exercice?: TemplateExercice | null;
|
|
18
18
|
}
|
|
19
19
|
interface TemplateUser extends Partial<IUser> {
|
|
20
20
|
birthdateAsText?: string | null;
|
|
21
21
|
}
|
|
22
22
|
interface TemplateSociety extends Partial<ISociety> {
|
|
23
|
-
legalFormAsText?: string | null;
|
|
24
23
|
socialCapitalInText?: string | null;
|
|
24
|
+
listBusinessPartners?: string | null;
|
|
25
|
+
listBusinessPartnersMarried?: string | null;
|
|
26
|
+
listBusinessPartnersContributions?: string | null;
|
|
27
|
+
listBusinessPartnersShareCapital?: string | null;
|
|
28
|
+
listBusinessPartnersSignatures?: string | null;
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
interface TemplateExercice extends Partial<IExercice> {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ISociety } from './ISociety';
|
|
2
2
|
import { IUser } from './IUser';
|
|
3
|
+
import { ContributionType } from '../../Enum/Contribution';
|
|
4
|
+
|
|
3
5
|
|
|
4
6
|
// businessPartners
|
|
5
7
|
export interface IBusinessPartner {
|
|
@@ -14,6 +16,7 @@ export interface IBusinessPartner {
|
|
|
14
16
|
identityDocument?: string;
|
|
15
17
|
otherActivities?: string;
|
|
16
18
|
activityBefore?: string;
|
|
19
|
+
contributions?: ContributionType[];
|
|
17
20
|
idSociety: number | null;
|
|
18
21
|
idUser: number | null;
|
|
19
22
|
idSocietyParent: number;
|
package/ts/types/index.ts
CHANGED
|
@@ -368,6 +368,7 @@ export * from './Enum/RoleDetail';
|
|
|
368
368
|
export * from './Enum/MaritalStatus';
|
|
369
369
|
export * from './Enum/CityOfGreffe';
|
|
370
370
|
export * from './Enum/StatutsSection';
|
|
371
|
+
export * from './Enum/Contribution';
|
|
371
372
|
export * from './Enum/PrestationOption';
|
|
372
373
|
export * from './Enum/TimeCounterType';
|
|
373
374
|
export * from './Enum/CustomerSignature';
|