@silexpert/core 1.1.377 → 1.1.379
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/Employee.d.ts +1 -1
- package/dist/cjs/api/resources/Employee.d.ts.map +1 -1
- package/dist/cjs/api/resources/Employee.js.map +1 -1
- package/dist/cjs/api/resources/NafCode.d.ts +3 -2
- package/dist/cjs/api/resources/NafCode.d.ts.map +1 -1
- package/dist/cjs/api/resources/NafCode.js.map +1 -1
- package/dist/cjs/api/resources/SheetMonthSchedule.d.ts +1 -1
- package/dist/cjs/api/resources/SheetMonthSchedule.d.ts.map +1 -1
- package/dist/cjs/api/resources/SheetMonthSchedule.js.map +1 -1
- package/dist/cjs/api/resources/Society.d.ts +2 -1
- package/dist/cjs/api/resources/Society.d.ts.map +1 -1
- package/dist/cjs/api/resources/Society.js +3 -0
- package/dist/cjs/api/resources/Society.js.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +1 -1
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/ReasonTerminationType.d.ts +2 -1
- package/dist/cjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ReasonTerminationType.js +7 -1
- package/dist/cjs/types/Enum/ReasonTerminationType.js.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +1 -0
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +2 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +7 -1
- package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Query.d.ts +16 -0
- package/dist/cjs/types/Interface/api/revision/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Query.js +126 -30
- package/dist/cjs/types/Interface/api/revision/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/State.d.ts +14 -0
- package/dist/cjs/types/Interface/api/society/State.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/society/State.js +3 -0
- package/dist/cjs/types/Interface/api/society/State.js.map +1 -0
- 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/cjs/utils/bankAccount.js +1 -1
- package/dist/cjs/utils/bankAccount.js.map +1 -1
- package/dist/mjs/api/resources/Employee.d.ts +1 -1
- package/dist/mjs/api/resources/Employee.d.ts.map +1 -1
- package/dist/mjs/api/resources/Employee.js.map +1 -1
- package/dist/mjs/api/resources/NafCode.d.ts +3 -2
- package/dist/mjs/api/resources/NafCode.d.ts.map +1 -1
- package/dist/mjs/api/resources/NafCode.js.map +1 -1
- package/dist/mjs/api/resources/SheetMonthSchedule.d.ts +1 -1
- package/dist/mjs/api/resources/SheetMonthSchedule.d.ts.map +1 -1
- package/dist/mjs/api/resources/SheetMonthSchedule.js.map +1 -1
- package/dist/mjs/api/resources/Society.d.ts +2 -1
- package/dist/mjs/api/resources/Society.d.ts.map +1 -1
- package/dist/mjs/api/resources/Society.js +3 -0
- package/dist/mjs/api/resources/Society.js.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +1 -1
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/ReasonTerminationType.d.ts +2 -1
- package/dist/mjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ReasonTerminationType.js +7 -1
- package/dist/mjs/types/Enum/ReasonTerminationType.js.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +1 -0
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +2 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +9 -2
- package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Query.d.ts +16 -0
- package/dist/mjs/types/Interface/api/revision/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Query.js +142 -30
- package/dist/mjs/types/Interface/api/revision/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/State.d.ts +14 -0
- package/dist/mjs/types/Interface/api/society/State.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/society/State.js +2 -0
- package/dist/mjs/types/Interface/api/society/State.js.map +1 -0
- 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/dist/mjs/utils/bankAccount.js +1 -1
- package/dist/mjs/utils/bankAccount.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Employee.ts +1 -1
- package/ts/api/resources/NafCode.ts +3 -2
- package/ts/api/resources/SheetMonthSchedule.ts +1 -1
- package/ts/api/resources/Society.ts +5 -0
- package/ts/types/Enum/Ged.ts +1 -1
- package/ts/types/Enum/ReasonTerminationType.ts +7 -1
- package/ts/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.ts +1 -0
- package/ts/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.ts +6 -1
- package/ts/types/Interface/api/revision/Query.ts +219 -141
- package/ts/types/Interface/api/society/State.ts +14 -0
- package/ts/types/index.ts +1 -0
- package/ts/utils/bankAccount.ts +1 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { INafCode } from '../../types';
|
|
1
2
|
import { Resource } from '../Resource';
|
|
2
3
|
|
|
3
4
|
export class NafCode extends Resource {
|
|
4
|
-
getAll(): Promise<
|
|
5
|
+
getAll(): Promise<INafCode[]> {
|
|
5
6
|
return this.axios.$get('/naf-codes');
|
|
6
7
|
}
|
|
7
|
-
get(id: number): Promise<
|
|
8
|
+
get(id: number): Promise<INafCode> {
|
|
8
9
|
return this.axios.$get(`/naf-codes/${id}`);
|
|
9
10
|
}
|
|
10
11
|
}
|
|
@@ -38,7 +38,7 @@ export class SheetMonthSchedule extends Resource {
|
|
|
38
38
|
params: QuerySheetMonthSchedule,
|
|
39
39
|
cancelToken?: CancelToken,
|
|
40
40
|
signal?: AbortSignal,
|
|
41
|
-
): Promise<BasePaginate<
|
|
41
|
+
): Promise<BasePaginate<ISheetMonthSchedule>> {
|
|
42
42
|
return this.axios.$get('/sheet-month-schedules', {
|
|
43
43
|
...(cancelToken ? { cancelToken } : {}),
|
|
44
44
|
...(signal ? { signal } : {}),
|
|
@@ -24,6 +24,7 @@ import {
|
|
|
24
24
|
QueryArchivedSociety,
|
|
25
25
|
QueryExportSociety,
|
|
26
26
|
QueryAccountingExport,
|
|
27
|
+
GetSocietyState,
|
|
27
28
|
} from '../../types';
|
|
28
29
|
import { CancelToken } from 'axios';
|
|
29
30
|
|
|
@@ -146,4 +147,8 @@ export class Society extends Resource {
|
|
|
146
147
|
},
|
|
147
148
|
});
|
|
148
149
|
}
|
|
150
|
+
|
|
151
|
+
getState(idSociety: number): Promise<GetSocietyState> {
|
|
152
|
+
return this.axios.$get(`/societies/${idSociety}/states`);
|
|
153
|
+
}
|
|
149
154
|
}
|
package/ts/types/Enum/Ged.ts
CHANGED
|
@@ -20,6 +20,7 @@ export enum ReasonTerminationType {
|
|
|
20
20
|
SERVICE_DELAYS = 19,
|
|
21
21
|
LACK_OF_ADVICE = 20,
|
|
22
22
|
NA = 21,
|
|
23
|
+
LACK_OF_COMMUNICATION = 22,
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
export const ReasonTerminationTypeDetail = [
|
|
@@ -86,7 +87,7 @@ export const ReasonTerminationTypeDetail = [
|
|
|
86
87
|
{
|
|
87
88
|
id: ReasonTerminationType.NO_RESPONSE,
|
|
88
89
|
label: 'Pas de réponse au premier entretien',
|
|
89
|
-
active:
|
|
90
|
+
active: true,
|
|
90
91
|
},
|
|
91
92
|
{
|
|
92
93
|
id: ReasonTerminationType.DISCONTINUED,
|
|
@@ -123,6 +124,11 @@ export const ReasonTerminationTypeDetail = [
|
|
|
123
124
|
label: 'Manque de conseil',
|
|
124
125
|
active: true,
|
|
125
126
|
},
|
|
127
|
+
{
|
|
128
|
+
id:ReasonTerminationType.LACK_OF_COMMUNICATION,
|
|
129
|
+
label: 'Manque de communication',
|
|
130
|
+
active: true,
|
|
131
|
+
},
|
|
126
132
|
{
|
|
127
133
|
id:ReasonTerminationType.NA,
|
|
128
134
|
label: 'Non précisé',
|
|
@@ -22,7 +22,7 @@ export class CreateBusinessPartnersSociety {
|
|
|
22
22
|
|
|
23
23
|
@ApiProperty()
|
|
24
24
|
@IsString()
|
|
25
|
-
|
|
25
|
+
siret: string;
|
|
26
26
|
|
|
27
27
|
@ApiProperty()
|
|
28
28
|
@IsString()
|
|
@@ -501,6 +501,11 @@ export class CreateCompanyCreationFormData implements CompanyCreationFormPayload
|
|
|
501
501
|
@IsString()
|
|
502
502
|
wantSettlementPayment?: string;
|
|
503
503
|
|
|
504
|
+
@ApiPropertyOptional()
|
|
505
|
+
@IsOptional()
|
|
506
|
+
@IsString()
|
|
507
|
+
socialContributionPaymentFrequency?: string;
|
|
508
|
+
|
|
504
509
|
/**
|
|
505
510
|
* Dirigeants et associés
|
|
506
511
|
*/
|