@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.
Files changed (214) hide show
  1. package/dist/api/resources/Exercice.d.ts +3 -3
  2. package/dist/api/resources/Exercice.d.ts.map +1 -1
  3. package/dist/api/resources/Exercice.js +3 -3
  4. package/dist/api/resources/Exercice.js.map +1 -1
  5. package/dist/api/resources/Formalism.d.ts +12 -0
  6. package/dist/api/resources/Formalism.d.ts.map +1 -0
  7. package/dist/api/resources/Formalism.js +15 -0
  8. package/dist/api/resources/Formalism.js.map +1 -0
  9. package/dist/api/resources/HumanResourceLibrary.d.ts.map +1 -1
  10. package/dist/api/resources/HumanResourceLibrary.js.map +1 -1
  11. package/dist/api/resources/Society.d.ts.map +1 -1
  12. package/dist/api/resources/Society.js.map +1 -1
  13. package/dist/api/resources/User.d.ts.map +1 -1
  14. package/dist/api/resources/User.js +1 -1
  15. package/dist/api/resources/User.js.map +1 -1
  16. package/dist/api/resources/UsersHistory.d.ts.map +1 -1
  17. package/dist/api/resources/UsersHistory.js +3 -3
  18. package/dist/api/resources/UsersHistory.js.map +1 -1
  19. package/dist/api/resources.d.ts +2 -0
  20. package/dist/api/resources.d.ts.map +1 -1
  21. package/dist/api/resources.js +2 -0
  22. package/dist/api/resources.js.map +1 -1
  23. package/dist/types/Enum/AdminAcceptance.js +1 -1
  24. package/dist/types/Enum/AdminAcceptance.js.map +1 -1
  25. package/dist/types/Enum/AppointmentState.js +2 -2
  26. package/dist/types/Enum/AppointmentState.js.map +1 -1
  27. package/dist/types/Enum/Aspone.js.map +1 -1
  28. package/dist/types/Enum/BalanceSheet.d.ts.map +1 -1
  29. package/dist/types/Enum/BalanceSheet.js +3 -3
  30. package/dist/types/Enum/BalanceSheet.js.map +1 -1
  31. package/dist/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
  32. package/dist/types/Enum/BalanceSheetQuestion.js +2 -0
  33. package/dist/types/Enum/BalanceSheetQuestion.js.map +1 -1
  34. package/dist/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  35. package/dist/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  36. package/dist/types/Enum/BankAccountType.js.map +1 -1
  37. package/dist/types/Enum/Brevo.d.ts +3 -1
  38. package/dist/types/Enum/Brevo.d.ts.map +1 -1
  39. package/dist/types/Enum/Brevo.js +2 -0
  40. package/dist/types/Enum/Brevo.js.map +1 -1
  41. package/dist/types/Enum/CityOfGreffe.js +1 -1
  42. package/dist/types/Enum/CityOfGreffe.js.map +1 -1
  43. package/dist/types/Enum/CommercialManagement.d.ts.map +1 -1
  44. package/dist/types/Enum/CommercialManagement.js +17 -4
  45. package/dist/types/Enum/CommercialManagement.js.map +1 -1
  46. package/dist/types/Enum/ConnectionError.js +4 -4
  47. package/dist/types/Enum/ConnectionError.js.map +1 -1
  48. package/dist/types/Enum/ConstitutionState.js +1 -1
  49. package/dist/types/Enum/ConstitutionState.js.map +1 -1
  50. package/dist/types/Enum/Contract.js +1 -1
  51. package/dist/types/Enum/Contract.js.map +1 -1
  52. package/dist/types/Enum/Country.js +6 -6
  53. package/dist/types/Enum/Country.js.map +1 -1
  54. package/dist/types/Enum/Das.js +2 -2
  55. package/dist/types/Enum/Das.js.map +1 -1
  56. package/dist/types/Enum/DocumentForHumanResourceType.js +1 -1
  57. package/dist/types/Enum/DocumentForHumanResourceType.js.map +1 -1
  58. package/dist/types/Enum/EbookIntention.d.ts +5 -1
  59. package/dist/types/Enum/EbookIntention.d.ts.map +1 -1
  60. package/dist/types/Enum/EbookIntention.js +8 -0
  61. package/dist/types/Enum/EbookIntention.js.map +1 -1
  62. package/dist/types/Enum/EnglishLevel.js +1 -1
  63. package/dist/types/Enum/EnglishLevel.js.map +1 -1
  64. package/dist/types/Enum/EquipmentAvailability.js +1 -1
  65. package/dist/types/Enum/EquipmentAvailability.js.map +1 -1
  66. package/dist/types/Enum/EquipmentType.js +15 -15
  67. package/dist/types/Enum/EquipmentType.js.map +1 -1
  68. package/dist/types/Enum/FiscalRegime.js +2 -2
  69. package/dist/types/Enum/FiscalRegime.js.map +1 -1
  70. package/dist/types/Enum/Formalism.d.ts +30 -0
  71. package/dist/types/Enum/Formalism.d.ts.map +1 -0
  72. package/dist/types/Enum/Formalism.js +332 -0
  73. package/dist/types/Enum/Formalism.js.map +1 -0
  74. package/dist/types/Enum/Ged.js +1 -1
  75. package/dist/types/Enum/Ged.js.map +1 -1
  76. package/dist/types/Enum/ImmobilizationType.js +4 -4
  77. package/dist/types/Enum/ImmobilizationType.js.map +1 -1
  78. package/dist/types/Enum/Log.js +15 -15
  79. package/dist/types/Enum/Log.js.map +1 -1
  80. package/dist/types/Enum/MaritalStatus.js +1 -1
  81. package/dist/types/Enum/MaritalStatus.js.map +1 -1
  82. package/dist/types/Enum/Notification.js +1 -1
  83. package/dist/types/Enum/Notification.js.map +1 -1
  84. package/dist/types/Enum/PaymentRecovery.js +6 -6
  85. package/dist/types/Enum/PaymentRecovery.js.map +1 -1
  86. package/dist/types/Enum/RegistrationSource.js.map +1 -1
  87. package/dist/types/Enum/RevisionGuide.d.ts.map +1 -1
  88. package/dist/types/Enum/RevisionGuide.js +2 -1
  89. package/dist/types/Enum/RevisionGuide.js.map +1 -1
  90. package/dist/types/Enum/Sepa.d.ts.map +1 -1
  91. package/dist/types/Enum/Sepa.js +49 -13
  92. package/dist/types/Enum/Sepa.js.map +1 -1
  93. package/dist/types/Enum/Stripe.js.map +1 -1
  94. package/dist/types/Enum/Supervision.js +2 -2
  95. package/dist/types/Enum/Supervision.js.map +1 -1
  96. package/dist/types/Enum/TerminationList.js +1 -1
  97. package/dist/types/Enum/TerminationList.js.map +1 -1
  98. package/dist/types/Enum/ToRecallRating.js +1 -1
  99. package/dist/types/Enum/ToRecallRating.js.map +1 -1
  100. package/dist/types/Enum/TypePayment.d.ts.map +1 -1
  101. package/dist/types/Enum/TypePayment.js +1 -0
  102. package/dist/types/Enum/TypePayment.js.map +1 -1
  103. package/dist/types/Enum/UsersHistory.js +1 -1
  104. package/dist/types/Enum/UsersHistory.js.map +1 -1
  105. package/dist/types/Enum/Vehicle.js +2 -2
  106. package/dist/types/Enum/Vehicle.js.map +1 -1
  107. package/dist/types/Enum/ZoneCode.js +3 -3
  108. package/dist/types/Enum/ZoneCode.js.map +1 -1
  109. package/dist/types/Interface/api/calendarEvent/calendarEventIcs.d.ts.map +1 -1
  110. package/dist/types/Interface/api/calendarEvent/calendarEventIcs.js.map +1 -1
  111. package/dist/types/Interface/api/crisp/GetCrisp.d.ts.map +1 -1
  112. package/dist/types/Interface/api/crisp/GetCrisp.js.map +1 -1
  113. package/dist/types/Interface/api/docoon/Read.d.ts +1 -0
  114. package/dist/types/Interface/api/docoon/Read.d.ts.map +1 -1
  115. package/dist/types/Interface/api/docoon/Read.js.map +1 -1
  116. package/dist/types/Interface/api/echo/Estimate.js.map +1 -1
  117. package/dist/types/Interface/api/echo/EstimatePayload.js.map +1 -1
  118. package/dist/types/Interface/api/exercice/Create.d.ts +3 -0
  119. package/dist/types/Interface/api/exercice/Create.d.ts.map +1 -1
  120. package/dist/types/Interface/api/exercice/Create.js +9 -0
  121. package/dist/types/Interface/api/exercice/Create.js.map +1 -1
  122. package/dist/types/Interface/api/formalism/Create.d.ts +15 -0
  123. package/dist/types/Interface/api/formalism/Create.d.ts.map +1 -0
  124. package/dist/types/Interface/api/formalism/Create.js +36 -0
  125. package/dist/types/Interface/api/formalism/Create.js.map +1 -0
  126. package/dist/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.d.ts.map +1 -1
  127. package/dist/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.js.map +1 -1
  128. package/dist/types/Interface/api/log/CreateLog.d.ts +2 -0
  129. package/dist/types/Interface/api/log/CreateLog.d.ts.map +1 -1
  130. package/dist/types/Interface/api/log/CreateLog.js.map +1 -1
  131. package/dist/types/Interface/api/society/CleanupResult.js.map +1 -1
  132. package/dist/types/Interface/api/team/UpdateTeamsForUser.d.ts.map +1 -1
  133. package/dist/types/Interface/api/team/UpdateTeamsForUser.js.map +1 -1
  134. package/dist/types/Interface/api/user/CreateCoworker.d.ts.map +1 -1
  135. package/dist/types/Interface/api/user/CreateCoworker.js.map +1 -1
  136. package/dist/types/Interface/api/usersHistory/Create.d.ts.map +1 -1
  137. package/dist/types/Interface/api/usersHistory/Create.js.map +1 -1
  138. package/dist/types/Interface/api/usersHistory/Update.d.ts.map +1 -1
  139. package/dist/types/Interface/api/usersHistory/Update.js.map +1 -1
  140. package/dist/types/Interface/models/IUsersHistory.d.ts.map +1 -1
  141. package/dist/types/Interface/models/IUsersHistory.js.map +1 -1
  142. package/dist/types/index.d.ts +2 -0
  143. package/dist/types/index.d.ts.map +1 -1
  144. package/dist/types/index.js +2 -0
  145. package/dist/types/index.js.map +1 -1
  146. package/dist/utils/objectUtils/unflattenObject.d.ts.map +1 -1
  147. package/dist/utils/objectUtils/unflattenObject.js +3 -1
  148. package/dist/utils/objectUtils/unflattenObject.js.map +1 -1
  149. package/package.json +57 -57
  150. package/ts/api/resources/Exercice.ts +13 -4
  151. package/ts/api/resources/Formalism.ts +17 -0
  152. package/ts/api/resources/HumanResourceLibrary.ts +0 -1
  153. package/ts/api/resources/Society.ts +1 -4
  154. package/ts/api/resources/User.ts +4 -5
  155. package/ts/api/resources/UsersHistory.ts +4 -5
  156. package/ts/api/resources.ts +2 -0
  157. package/ts/types/Enum/AdminAcceptance.ts +1 -1
  158. package/ts/types/Enum/AppointmentState.ts +2 -2
  159. package/ts/types/Enum/Aspone.ts +1 -1
  160. package/ts/types/Enum/BalanceSheet.ts +11 -11
  161. package/ts/types/Enum/BalanceSheetQuestion.ts +2 -0
  162. package/ts/types/Enum/BalanceSheetQuestionWording.ts +0 -1
  163. package/ts/types/Enum/BankAccountType.ts +1 -1
  164. package/ts/types/Enum/Brevo.ts +2 -0
  165. package/ts/types/Enum/CityOfGreffe.ts +1 -1
  166. package/ts/types/Enum/CommercialManagement.ts +17 -4
  167. package/ts/types/Enum/ConnectionError.ts +4 -4
  168. package/ts/types/Enum/ConstitutionState.ts +1 -1
  169. package/ts/types/Enum/Contract.ts +1 -1
  170. package/ts/types/Enum/Country.ts +6 -6
  171. package/ts/types/Enum/Das.ts +2 -2
  172. package/ts/types/Enum/DocumentForHumanResourceType.ts +1 -1
  173. package/ts/types/Enum/EbookIntention.ts +8 -0
  174. package/ts/types/Enum/EnglishLevel.ts +2 -2
  175. package/ts/types/Enum/EquipmentAvailability.ts +1 -1
  176. package/ts/types/Enum/EquipmentType.ts +15 -15
  177. package/ts/types/Enum/FiscalRegime.ts +2 -2
  178. package/ts/types/Enum/Formalism.ts +365 -0
  179. package/ts/types/Enum/Ged.ts +1 -1
  180. package/ts/types/Enum/ImmobilizationType.ts +4 -4
  181. package/ts/types/Enum/Log.ts +15 -15
  182. package/ts/types/Enum/MaritalStatus.ts +1 -1
  183. package/ts/types/Enum/Notification.ts +1 -1
  184. package/ts/types/Enum/PaymentRecovery.ts +6 -6
  185. package/ts/types/Enum/RegistrationSource.ts +1 -1
  186. package/ts/types/Enum/RevisionGuide.ts +14 -13
  187. package/ts/types/Enum/Sepa.ts +53 -17
  188. package/ts/types/Enum/Stripe.ts +2 -2
  189. package/ts/types/Enum/Supervision.ts +2 -2
  190. package/ts/types/Enum/TerminationList.ts +1 -1
  191. package/ts/types/Enum/ToRecallRating.ts +1 -1
  192. package/ts/types/Enum/TypePayment.ts +1 -0
  193. package/ts/types/Enum/UsersHistory.ts +1 -1
  194. package/ts/types/Enum/Vehicle.ts +2 -2
  195. package/ts/types/Enum/ZoneCode.ts +3 -3
  196. package/ts/types/Interface/api/calendarEvent/calendarEventIcs.ts +10 -10
  197. package/ts/types/Interface/api/crisp/GetCrisp.ts +0 -1
  198. package/ts/types/Interface/api/docoon/Read.ts +1 -0
  199. package/ts/types/Interface/api/echo/Estimate.ts +1 -1
  200. package/ts/types/Interface/api/echo/EstimatePayload.ts +1 -1
  201. package/ts/types/Interface/api/exercice/Create.ts +7 -1
  202. package/ts/types/Interface/api/formalism/Create.ts +30 -0
  203. package/ts/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.ts +0 -4
  204. package/ts/types/Interface/api/log/CreateLog.ts +2 -0
  205. package/ts/types/Interface/api/society/CleanupResult.ts +1 -1
  206. package/ts/types/Interface/api/team/UpdateTeamsForUser.ts +0 -1
  207. package/ts/types/Interface/api/user/CreateCoworker.ts +0 -1
  208. package/ts/types/Interface/api/usersHistory/Create.ts +1 -3
  209. package/ts/types/Interface/api/usersHistory/Update.ts +1 -2
  210. package/ts/types/Interface/models/IUsersHistory.ts +0 -1
  211. package/ts/types/index.ts +2 -0
  212. package/ts/utils/objectUtils/unflattenObject.ts +1 -0
  213. package/tsconfig-base.json +1 -1
  214. 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
+ }
@@ -11,7 +11,6 @@ export interface IUsersHistory {
11
11
  updatedAt?: Date | null;
12
12
  metadata?: IMetadata;
13
13
 
14
-
15
14
  // Relations
16
15
  user?: IUser;
17
16
  author?: IUser;
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
  );
@@ -20,5 +20,5 @@
20
20
  },
21
21
  "include": ["ts/**/*.ts"],
22
22
  "exclude": ["dist"],
23
- "compileOnSave": false,
23
+ "compileOnSave": false
24
24
  }
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
- );