@silexpert/core 2.0.34 → 2.0.35
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/api/resources/Exercice.d.ts +3 -3
- package/dist/api/resources/Exercice.d.ts.map +1 -1
- package/dist/api/resources/Exercice.js +3 -3
- package/dist/api/resources/Exercice.js.map +1 -1
- package/dist/api/resources/Formalism.d.ts +12 -0
- package/dist/api/resources/Formalism.d.ts.map +1 -0
- package/dist/api/resources/Formalism.js +15 -0
- package/dist/api/resources/Formalism.js.map +1 -0
- package/dist/api/resources/HumanResourceLibrary.d.ts.map +1 -1
- package/dist/api/resources/HumanResourceLibrary.js.map +1 -1
- package/dist/api/resources/Society.d.ts.map +1 -1
- package/dist/api/resources/Society.js.map +1 -1
- package/dist/api/resources/User.d.ts.map +1 -1
- package/dist/api/resources/User.js +1 -1
- package/dist/api/resources/User.js.map +1 -1
- package/dist/api/resources/UsersHistory.d.ts.map +1 -1
- package/dist/api/resources/UsersHistory.js +3 -3
- package/dist/api/resources/UsersHistory.js.map +1 -1
- package/dist/api/resources.d.ts +2 -0
- package/dist/api/resources.d.ts.map +1 -1
- package/dist/api/resources.js +2 -0
- package/dist/api/resources.js.map +1 -1
- package/dist/types/Enum/AdminAcceptance.js +1 -1
- package/dist/types/Enum/AdminAcceptance.js.map +1 -1
- package/dist/types/Enum/AppointmentState.js +2 -2
- package/dist/types/Enum/AppointmentState.js.map +1 -1
- package/dist/types/Enum/Aspone.js.map +1 -1
- package/dist/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/types/Enum/BalanceSheet.js +3 -3
- package/dist/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
- package/dist/types/Enum/BalanceSheetQuestion.js +2 -0
- package/dist/types/Enum/BalanceSheetQuestion.js.map +1 -1
- package/dist/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
- package/dist/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
- package/dist/types/Enum/BankAccountType.js.map +1 -1
- package/dist/types/Enum/Brevo.d.ts +3 -1
- package/dist/types/Enum/Brevo.d.ts.map +1 -1
- package/dist/types/Enum/Brevo.js +2 -0
- package/dist/types/Enum/Brevo.js.map +1 -1
- package/dist/types/Enum/CityOfGreffe.js +1 -1
- package/dist/types/Enum/CityOfGreffe.js.map +1 -1
- package/dist/types/Enum/CommercialManagement.d.ts.map +1 -1
- package/dist/types/Enum/CommercialManagement.js +17 -4
- package/dist/types/Enum/CommercialManagement.js.map +1 -1
- package/dist/types/Enum/ConnectionError.js +4 -4
- package/dist/types/Enum/ConnectionError.js.map +1 -1
- package/dist/types/Enum/ConstitutionState.js +1 -1
- package/dist/types/Enum/ConstitutionState.js.map +1 -1
- package/dist/types/Enum/Contract.js +1 -1
- package/dist/types/Enum/Contract.js.map +1 -1
- package/dist/types/Enum/Country.js +6 -6
- package/dist/types/Enum/Country.js.map +1 -1
- package/dist/types/Enum/Das.js +2 -2
- package/dist/types/Enum/Das.js.map +1 -1
- package/dist/types/Enum/DocumentForHumanResourceType.js +1 -1
- package/dist/types/Enum/DocumentForHumanResourceType.js.map +1 -1
- package/dist/types/Enum/EbookIntention.d.ts +5 -1
- package/dist/types/Enum/EbookIntention.d.ts.map +1 -1
- package/dist/types/Enum/EbookIntention.js +8 -0
- package/dist/types/Enum/EbookIntention.js.map +1 -1
- package/dist/types/Enum/EnglishLevel.js +1 -1
- package/dist/types/Enum/EnglishLevel.js.map +1 -1
- package/dist/types/Enum/EquipmentAvailability.js +1 -1
- package/dist/types/Enum/EquipmentAvailability.js.map +1 -1
- package/dist/types/Enum/EquipmentType.js +15 -15
- package/dist/types/Enum/EquipmentType.js.map +1 -1
- package/dist/types/Enum/FiscalRegime.js +2 -2
- package/dist/types/Enum/FiscalRegime.js.map +1 -1
- package/dist/types/Enum/Formalism.d.ts +30 -0
- package/dist/types/Enum/Formalism.d.ts.map +1 -0
- package/dist/types/Enum/Formalism.js +332 -0
- package/dist/types/Enum/Formalism.js.map +1 -0
- package/dist/types/Enum/Ged.js +1 -1
- package/dist/types/Enum/Ged.js.map +1 -1
- package/dist/types/Enum/ImmobilizationType.js +4 -4
- package/dist/types/Enum/ImmobilizationType.js.map +1 -1
- package/dist/types/Enum/Log.js +15 -15
- package/dist/types/Enum/Log.js.map +1 -1
- package/dist/types/Enum/MaritalStatus.js +1 -1
- package/dist/types/Enum/MaritalStatus.js.map +1 -1
- package/dist/types/Enum/Notification.js +1 -1
- package/dist/types/Enum/Notification.js.map +1 -1
- package/dist/types/Enum/PaymentRecovery.js +6 -6
- package/dist/types/Enum/PaymentRecovery.js.map +1 -1
- package/dist/types/Enum/RegistrationSource.js.map +1 -1
- package/dist/types/Enum/RevisionGuide.d.ts.map +1 -1
- package/dist/types/Enum/RevisionGuide.js +2 -1
- package/dist/types/Enum/RevisionGuide.js.map +1 -1
- package/dist/types/Enum/Sepa.d.ts.map +1 -1
- package/dist/types/Enum/Sepa.js +49 -13
- package/dist/types/Enum/Sepa.js.map +1 -1
- package/dist/types/Enum/Stripe.js.map +1 -1
- package/dist/types/Enum/Supervision.js +2 -2
- package/dist/types/Enum/Supervision.js.map +1 -1
- package/dist/types/Enum/TerminationList.js +1 -1
- package/dist/types/Enum/TerminationList.js.map +1 -1
- package/dist/types/Enum/ToRecallRating.js +1 -1
- package/dist/types/Enum/ToRecallRating.js.map +1 -1
- package/dist/types/Enum/TypePayment.d.ts.map +1 -1
- package/dist/types/Enum/TypePayment.js +1 -0
- package/dist/types/Enum/TypePayment.js.map +1 -1
- package/dist/types/Enum/UsersHistory.js +1 -1
- package/dist/types/Enum/UsersHistory.js.map +1 -1
- package/dist/types/Enum/Vehicle.js +2 -2
- package/dist/types/Enum/Vehicle.js.map +1 -1
- package/dist/types/Enum/ZoneCode.js +3 -3
- package/dist/types/Enum/ZoneCode.js.map +1 -1
- package/dist/types/Interface/api/calendarEvent/calendarEventIcs.d.ts.map +1 -1
- package/dist/types/Interface/api/calendarEvent/calendarEventIcs.js.map +1 -1
- package/dist/types/Interface/api/crisp/GetCrisp.d.ts.map +1 -1
- package/dist/types/Interface/api/crisp/GetCrisp.js.map +1 -1
- package/dist/types/Interface/api/docoon/Read.d.ts +1 -0
- package/dist/types/Interface/api/docoon/Read.d.ts.map +1 -1
- package/dist/types/Interface/api/docoon/Read.js.map +1 -1
- package/dist/types/Interface/api/echo/Estimate.js.map +1 -1
- package/dist/types/Interface/api/echo/EstimatePayload.js.map +1 -1
- package/dist/types/Interface/api/exercice/Create.d.ts +3 -0
- package/dist/types/Interface/api/exercice/Create.d.ts.map +1 -1
- package/dist/types/Interface/api/exercice/Create.js +9 -0
- package/dist/types/Interface/api/exercice/Create.js.map +1 -1
- package/dist/types/Interface/api/formalism/Create.d.ts +15 -0
- package/dist/types/Interface/api/formalism/Create.d.ts.map +1 -0
- package/dist/types/Interface/api/formalism/Create.js +36 -0
- package/dist/types/Interface/api/formalism/Create.js.map +1 -0
- package/dist/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.d.ts.map +1 -1
- package/dist/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.js.map +1 -1
- package/dist/types/Interface/api/log/CreateLog.d.ts +2 -0
- package/dist/types/Interface/api/log/CreateLog.d.ts.map +1 -1
- package/dist/types/Interface/api/log/CreateLog.js.map +1 -1
- package/dist/types/Interface/api/society/CleanupResult.js.map +1 -1
- package/dist/types/Interface/api/team/UpdateTeamsForUser.d.ts.map +1 -1
- package/dist/types/Interface/api/team/UpdateTeamsForUser.js.map +1 -1
- package/dist/types/Interface/api/user/CreateCoworker.d.ts.map +1 -1
- package/dist/types/Interface/api/user/CreateCoworker.js.map +1 -1
- package/dist/types/Interface/api/usersHistory/Create.d.ts.map +1 -1
- package/dist/types/Interface/api/usersHistory/Create.js.map +1 -1
- package/dist/types/Interface/api/usersHistory/Update.d.ts.map +1 -1
- package/dist/types/Interface/api/usersHistory/Update.js.map +1 -1
- package/dist/types/Interface/models/IUsersHistory.d.ts.map +1 -1
- package/dist/types/Interface/models/IUsersHistory.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/utils/objectUtils/unflattenObject.d.ts.map +1 -1
- package/dist/utils/objectUtils/unflattenObject.js +3 -1
- package/dist/utils/objectUtils/unflattenObject.js.map +1 -1
- package/package.json +57 -57
- package/ts/api/resources/Exercice.ts +13 -4
- package/ts/api/resources/Formalism.ts +17 -0
- package/ts/api/resources/HumanResourceLibrary.ts +0 -1
- package/ts/api/resources/Society.ts +1 -4
- package/ts/api/resources/User.ts +4 -5
- package/ts/api/resources/UsersHistory.ts +4 -5
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/AdminAcceptance.ts +1 -1
- package/ts/types/Enum/AppointmentState.ts +2 -2
- package/ts/types/Enum/Aspone.ts +1 -1
- package/ts/types/Enum/BalanceSheet.ts +11 -11
- package/ts/types/Enum/BalanceSheetQuestion.ts +2 -0
- package/ts/types/Enum/BalanceSheetQuestionWording.ts +0 -1
- package/ts/types/Enum/BankAccountType.ts +1 -1
- package/ts/types/Enum/Brevo.ts +2 -0
- package/ts/types/Enum/CityOfGreffe.ts +1 -1
- package/ts/types/Enum/CommercialManagement.ts +17 -4
- package/ts/types/Enum/ConnectionError.ts +4 -4
- package/ts/types/Enum/ConstitutionState.ts +1 -1
- package/ts/types/Enum/Contract.ts +1 -1
- package/ts/types/Enum/Country.ts +6 -6
- package/ts/types/Enum/Das.ts +2 -2
- package/ts/types/Enum/DocumentForHumanResourceType.ts +1 -1
- package/ts/types/Enum/EbookIntention.ts +8 -0
- package/ts/types/Enum/EnglishLevel.ts +2 -2
- package/ts/types/Enum/EquipmentAvailability.ts +1 -1
- package/ts/types/Enum/EquipmentType.ts +15 -15
- package/ts/types/Enum/FiscalRegime.ts +2 -2
- package/ts/types/Enum/Formalism.ts +365 -0
- package/ts/types/Enum/Ged.ts +1 -1
- package/ts/types/Enum/ImmobilizationType.ts +4 -4
- package/ts/types/Enum/Log.ts +15 -15
- package/ts/types/Enum/MaritalStatus.ts +1 -1
- package/ts/types/Enum/Notification.ts +1 -1
- package/ts/types/Enum/PaymentRecovery.ts +6 -6
- package/ts/types/Enum/RegistrationSource.ts +1 -1
- package/ts/types/Enum/RevisionGuide.ts +14 -13
- package/ts/types/Enum/Sepa.ts +53 -17
- package/ts/types/Enum/Stripe.ts +2 -2
- package/ts/types/Enum/Supervision.ts +2 -2
- package/ts/types/Enum/TerminationList.ts +1 -1
- package/ts/types/Enum/ToRecallRating.ts +1 -1
- package/ts/types/Enum/TypePayment.ts +1 -0
- package/ts/types/Enum/UsersHistory.ts +1 -1
- package/ts/types/Enum/Vehicle.ts +2 -2
- package/ts/types/Enum/ZoneCode.ts +3 -3
- package/ts/types/Interface/api/calendarEvent/calendarEventIcs.ts +10 -10
- package/ts/types/Interface/api/crisp/GetCrisp.ts +0 -1
- package/ts/types/Interface/api/docoon/Read.ts +1 -0
- package/ts/types/Interface/api/echo/Estimate.ts +1 -1
- package/ts/types/Interface/api/echo/EstimatePayload.ts +1 -1
- package/ts/types/Interface/api/exercice/Create.ts +7 -1
- package/ts/types/Interface/api/formalism/Create.ts +30 -0
- package/ts/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.ts +0 -4
- package/ts/types/Interface/api/log/CreateLog.ts +2 -0
- package/ts/types/Interface/api/society/CleanupResult.ts +1 -1
- package/ts/types/Interface/api/team/UpdateTeamsForUser.ts +0 -1
- package/ts/types/Interface/api/user/CreateCoworker.ts +0 -1
- package/ts/types/Interface/api/usersHistory/Create.ts +1 -3
- package/ts/types/Interface/api/usersHistory/Update.ts +1 -2
- package/ts/types/Interface/models/IUsersHistory.ts +0 -1
- package/ts/types/index.ts +2 -0
- package/ts/utils/objectUtils/unflattenObject.ts +1 -0
- package/tsconfig-base.json +1 -1
- package/eslint.config.mjs +0 -47
|
@@ -8,8 +8,6 @@ export class CreateUsersHistory implements Omit<IUsersHistory, 'id' | 'createdAt
|
|
|
8
8
|
@IsInt()
|
|
9
9
|
idUser: number;
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
11
|
@ApiPropertyOptional()
|
|
14
12
|
@IsOptional()
|
|
15
13
|
@IsString()
|
|
@@ -22,4 +20,4 @@ export class CreateUsersHistory implements Omit<IUsersHistory, 'id' | 'createdAt
|
|
|
22
20
|
@ApiPropertyOptional({ type: 'object', additionalProperties: true })
|
|
23
21
|
@IsOptional()
|
|
24
22
|
metadata?: IMetadata;
|
|
25
|
-
}
|
|
23
|
+
}
|
|
@@ -3,7 +3,6 @@ import { ApiPropertyOptional } from '@nestjs/swagger';
|
|
|
3
3
|
import { TypeUserHistory } from '../../../Enum/UsersHistory.js';
|
|
4
4
|
import { IUsersHistory, IMetadata } from '../../models/IUsersHistory.js';
|
|
5
5
|
|
|
6
|
-
|
|
7
6
|
export class UpdateUsersHistory implements Partial<Omit<IUsersHistory, 'id' | 'idUser' | 'idAuthor'>> {
|
|
8
7
|
@ApiPropertyOptional()
|
|
9
8
|
@IsOptional()
|
|
@@ -18,4 +17,4 @@ export class UpdateUsersHistory implements Partial<Omit<IUsersHistory, 'id' | 'i
|
|
|
18
17
|
@ApiPropertyOptional({ type: 'object', additionalProperties: true })
|
|
19
18
|
@IsOptional()
|
|
20
19
|
metadata?: IMetadata;
|
|
21
|
-
}
|
|
20
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -526,6 +526,7 @@ export * from './Enum/Revenue.js';
|
|
|
526
526
|
export * from './Enum/EbookIntention.js';
|
|
527
527
|
export * from './Enum/UsersHistory.js';
|
|
528
528
|
export * from './Enum/UrgencyLevel.js';
|
|
529
|
+
export * from './Enum/Formalism.js';
|
|
529
530
|
|
|
530
531
|
// Interfaces API
|
|
531
532
|
export * from './Interface/api/acd/Create.js';
|
|
@@ -1169,3 +1170,4 @@ export * from './Interface/api/bankAccount/Benchmark.js';
|
|
|
1169
1170
|
export * from './Interface/api/docoon/Query.js';
|
|
1170
1171
|
export * from './Interface/api/docoon/Read.js';
|
|
1171
1172
|
export * from './Interface/api/authentification/FinalizeMobileApprovalDto.js';
|
|
1173
|
+
export * from './Interface/api/formalism/Create.js';
|
|
@@ -9,6 +9,7 @@ export function unflattenObject(object: { [key: string]: any }, separator = '.')
|
|
|
9
9
|
const keys = i.split(separator);
|
|
10
10
|
keys.reduce(
|
|
11
11
|
(r: { [key: string]: any }, e: string, j: number): any =>
|
|
12
|
+
// oxlint-disable-next-line typescript/no-unsafe-return
|
|
12
13
|
r[e] || (r[e] = isNaN(Number(keys[j + 1])) ? (keys.length - 1 == j ? object[i] : {}) : []),
|
|
13
14
|
result,
|
|
14
15
|
);
|
package/tsconfig-base.json
CHANGED
package/eslint.config.mjs
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import tseslint from 'typescript-eslint';
|
|
2
|
-
import eslintConfigPrettier from 'eslint-config-prettier';
|
|
3
|
-
|
|
4
|
-
export default tseslint.config(
|
|
5
|
-
{
|
|
6
|
-
ignores: ['dist'],
|
|
7
|
-
},
|
|
8
|
-
eslintConfigPrettier,
|
|
9
|
-
tseslint.configs.recommendedTypeChecked,
|
|
10
|
-
{
|
|
11
|
-
languageOptions: {
|
|
12
|
-
parserOptions: {
|
|
13
|
-
project: ['../tsconfig.eslint.json'],
|
|
14
|
-
tsconfigRootDir: import.meta.dirname,
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
rules: {
|
|
18
|
-
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
19
|
-
'@typescript-eslint/no-unused-vars': [2, { args: 'none' }],
|
|
20
|
-
'@typescript-eslint/interface-name-prefix': 'off',
|
|
21
|
-
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
22
|
-
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
23
|
-
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
24
|
-
'@typescript-eslint/no-unsafe-argument': 'off',
|
|
25
|
-
'@typescript-eslint/no-explicit-any': 'off',
|
|
26
|
-
'@typescript-eslint/no-unsafe-enum-comparison': 'off',
|
|
27
|
-
'@typescript-eslint/no-unsafe-call': 'off',
|
|
28
|
-
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
29
|
-
semi: 2,
|
|
30
|
-
'no-console': 'error',
|
|
31
|
-
quotes: ['error', 'single'],
|
|
32
|
-
'max-len': 'off',
|
|
33
|
-
'@typescript-eslint/naming-convention': 'off',
|
|
34
|
-
'import/no-extraneous-dependencies': 'off',
|
|
35
|
-
'@typescript-eslint/no-var-requires': 'off',
|
|
36
|
-
'eol-last': 'off',
|
|
37
|
-
'class-methods-use-this': 'off',
|
|
38
|
-
'@typescript-eslint/ban-ts-comment': 'off',
|
|
39
|
-
'@typescript-eslint/lines-between-class-members': 'off',
|
|
40
|
-
'no-nested-ternary': 'off',
|
|
41
|
-
'max-classes-per-file': 'off',
|
|
42
|
-
'no-underscore-dangle': 'off',
|
|
43
|
-
'import/prefer-default-export': 'off',
|
|
44
|
-
'no-underscore-dangle': 'off',
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
);
|