@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.
Files changed (93) hide show
  1. package/dist/cjs/api/resources/Employee.d.ts +1 -1
  2. package/dist/cjs/api/resources/Employee.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Employee.js.map +1 -1
  4. package/dist/cjs/api/resources/NafCode.d.ts +3 -2
  5. package/dist/cjs/api/resources/NafCode.d.ts.map +1 -1
  6. package/dist/cjs/api/resources/NafCode.js.map +1 -1
  7. package/dist/cjs/api/resources/SheetMonthSchedule.d.ts +1 -1
  8. package/dist/cjs/api/resources/SheetMonthSchedule.d.ts.map +1 -1
  9. package/dist/cjs/api/resources/SheetMonthSchedule.js.map +1 -1
  10. package/dist/cjs/api/resources/Society.d.ts +2 -1
  11. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  12. package/dist/cjs/api/resources/Society.js +3 -0
  13. package/dist/cjs/api/resources/Society.js.map +1 -1
  14. package/dist/cjs/types/Enum/Ged.js +1 -1
  15. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  16. package/dist/cjs/types/Enum/ReasonTerminationType.d.ts +2 -1
  17. package/dist/cjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
  18. package/dist/cjs/types/Enum/ReasonTerminationType.js +7 -1
  19. package/dist/cjs/types/Enum/ReasonTerminationType.js.map +1 -1
  20. package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +1 -0
  21. package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -1
  22. package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -1
  23. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +2 -1
  24. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
  25. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +7 -1
  26. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
  27. package/dist/cjs/types/Interface/api/revision/Query.d.ts +16 -0
  28. package/dist/cjs/types/Interface/api/revision/Query.d.ts.map +1 -1
  29. package/dist/cjs/types/Interface/api/revision/Query.js +126 -30
  30. package/dist/cjs/types/Interface/api/revision/Query.js.map +1 -1
  31. package/dist/cjs/types/Interface/api/society/State.d.ts +14 -0
  32. package/dist/cjs/types/Interface/api/society/State.d.ts.map +1 -0
  33. package/dist/cjs/types/Interface/api/society/State.js +3 -0
  34. package/dist/cjs/types/Interface/api/society/State.js.map +1 -0
  35. package/dist/cjs/types/index.d.ts +1 -0
  36. package/dist/cjs/types/index.d.ts.map +1 -1
  37. package/dist/cjs/types/index.js +1 -0
  38. package/dist/cjs/types/index.js.map +1 -1
  39. package/dist/cjs/utils/bankAccount.js +1 -1
  40. package/dist/cjs/utils/bankAccount.js.map +1 -1
  41. package/dist/mjs/api/resources/Employee.d.ts +1 -1
  42. package/dist/mjs/api/resources/Employee.d.ts.map +1 -1
  43. package/dist/mjs/api/resources/Employee.js.map +1 -1
  44. package/dist/mjs/api/resources/NafCode.d.ts +3 -2
  45. package/dist/mjs/api/resources/NafCode.d.ts.map +1 -1
  46. package/dist/mjs/api/resources/NafCode.js.map +1 -1
  47. package/dist/mjs/api/resources/SheetMonthSchedule.d.ts +1 -1
  48. package/dist/mjs/api/resources/SheetMonthSchedule.d.ts.map +1 -1
  49. package/dist/mjs/api/resources/SheetMonthSchedule.js.map +1 -1
  50. package/dist/mjs/api/resources/Society.d.ts +2 -1
  51. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  52. package/dist/mjs/api/resources/Society.js +3 -0
  53. package/dist/mjs/api/resources/Society.js.map +1 -1
  54. package/dist/mjs/types/Enum/Ged.js +1 -1
  55. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  56. package/dist/mjs/types/Enum/ReasonTerminationType.d.ts +2 -1
  57. package/dist/mjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
  58. package/dist/mjs/types/Enum/ReasonTerminationType.js +7 -1
  59. package/dist/mjs/types/Enum/ReasonTerminationType.js.map +1 -1
  60. package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +1 -0
  61. package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -1
  62. package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -1
  63. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +2 -1
  64. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
  65. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +9 -2
  66. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
  67. package/dist/mjs/types/Interface/api/revision/Query.d.ts +16 -0
  68. package/dist/mjs/types/Interface/api/revision/Query.d.ts.map +1 -1
  69. package/dist/mjs/types/Interface/api/revision/Query.js +142 -30
  70. package/dist/mjs/types/Interface/api/revision/Query.js.map +1 -1
  71. package/dist/mjs/types/Interface/api/society/State.d.ts +14 -0
  72. package/dist/mjs/types/Interface/api/society/State.d.ts.map +1 -0
  73. package/dist/mjs/types/Interface/api/society/State.js +2 -0
  74. package/dist/mjs/types/Interface/api/society/State.js.map +1 -0
  75. package/dist/mjs/types/index.d.ts +1 -0
  76. package/dist/mjs/types/index.d.ts.map +1 -1
  77. package/dist/mjs/types/index.js +1 -0
  78. package/dist/mjs/types/index.js.map +1 -1
  79. package/dist/mjs/utils/bankAccount.js +1 -1
  80. package/dist/mjs/utils/bankAccount.js.map +1 -1
  81. package/package.json +1 -1
  82. package/ts/api/resources/Employee.ts +1 -1
  83. package/ts/api/resources/NafCode.ts +3 -2
  84. package/ts/api/resources/SheetMonthSchedule.ts +1 -1
  85. package/ts/api/resources/Society.ts +5 -0
  86. package/ts/types/Enum/Ged.ts +1 -1
  87. package/ts/types/Enum/ReasonTerminationType.ts +7 -1
  88. package/ts/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.ts +1 -0
  89. package/ts/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.ts +6 -1
  90. package/ts/types/Interface/api/revision/Query.ts +219 -141
  91. package/ts/types/Interface/api/society/State.ts +14 -0
  92. package/ts/types/index.ts +1 -0
  93. 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<NafCode[]> {
5
+ getAll(): Promise<INafCode[]> {
5
6
  return this.axios.$get('/naf-codes');
6
7
  }
7
- get(id: number): Promise<NafCode> {
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<SheetMonthSchedule>> {
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
  }
@@ -163,7 +163,7 @@ export const SignFileDetail = [
163
163
  export const JuridicalSignFileDetail = [
164
164
  {
165
165
  id: TypeFile.STATUTES_PROJECT,
166
- name: 'Statut définitif',
166
+ name: 'Statuts définitifs',
167
167
  idGedFolder: GedFolder.JURIDICAL,
168
168
  },
169
169
  {
@@ -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: false,
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é',
@@ -17,6 +17,7 @@ export interface CompanyCreationFormPayload {
17
17
  */
18
18
  idVatRegime?: VatRegime;
19
19
  wantSettlementPayment?: string;
20
+ socialContributionPaymentFrequency?: string;
20
21
  /**
21
22
  * Régime fiscal
22
23
  */
@@ -22,7 +22,7 @@ export class CreateBusinessPartnersSociety {
22
22
 
23
23
  @ApiProperty()
24
24
  @IsString()
25
- siren: string;
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
  */