@silexpert/core 0.4.189 → 0.4.194

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 (156) hide show
  1. package/es/api/resources/Employee.d.ts +2 -2
  2. package/es/api/resources/Employee.d.ts.map +1 -1
  3. package/es/api/resources/Employee.js +1 -1
  4. package/es/api/resources/Employee.js.map +1 -1
  5. package/es/api/resources/Mail.d.ts +2 -0
  6. package/es/api/resources/Mail.d.ts.map +1 -1
  7. package/es/api/resources/Mail.js +9 -0
  8. package/es/api/resources/Mail.js.map +1 -1
  9. package/es/api/resources/NafCode.d.ts +6 -0
  10. package/es/api/resources/NafCode.d.ts.map +1 -0
  11. package/es/api/resources/NafCode.js +10 -0
  12. package/es/api/resources/NafCode.js.map +1 -0
  13. package/es/api/resources/SheetMonthSchedule.d.ts +1 -2
  14. package/es/api/resources/SheetMonthSchedule.d.ts.map +1 -1
  15. package/es/api/resources/SheetMonthSchedule.js +1 -4
  16. package/es/api/resources/SheetMonthSchedule.js.map +1 -1
  17. package/es/api/resources.d.ts +2 -0
  18. package/es/api/resources.d.ts.map +1 -1
  19. package/es/api/resources.js +2 -0
  20. package/es/api/resources.js.map +1 -1
  21. package/es/types/Enum/MailAuto.d.ts +112 -0
  22. package/es/types/Enum/MailAuto.d.ts.map +1 -0
  23. package/es/types/Enum/MailAuto.js +113 -0
  24. package/es/types/Enum/MailAuto.js.map +1 -0
  25. package/es/types/Enum/RoleDetail.d.ts +4 -0
  26. package/es/types/Enum/RoleDetail.d.ts.map +1 -1
  27. package/es/types/Enum/RoleDetail.js +4 -0
  28. package/es/types/Enum/RoleDetail.js.map +1 -1
  29. package/es/types/Enum/SalariesType.d.ts.map +1 -1
  30. package/es/types/Enum/SalariesType.js +8 -2
  31. package/es/types/Enum/SalariesType.js.map +1 -1
  32. package/es/types/Enum/TypeBankConnection.d.ts +2 -1
  33. package/es/types/Enum/TypeBankConnection.d.ts.map +1 -1
  34. package/es/types/Enum/TypeBankConnection.js +1 -0
  35. package/es/types/Enum/TypeBankConnection.js.map +1 -1
  36. package/es/types/Interface/api/budgetInsight/Query.d.ts +7 -0
  37. package/es/types/Interface/api/budgetInsight/Query.d.ts.map +1 -1
  38. package/es/types/Interface/api/budgetInsight/Query.js.map +1 -1
  39. package/es/types/Interface/api/calendarEvent/createCalendarEvent.d.ts +18 -0
  40. package/es/types/Interface/api/calendarEvent/createCalendarEvent.d.ts.map +1 -0
  41. package/es/types/Interface/api/calendarEvent/createCalendarEvent.js +73 -0
  42. package/es/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -0
  43. package/es/types/Interface/api/mail/CreateMailParams.d.ts +7 -0
  44. package/es/types/Interface/api/mail/CreateMailParams.d.ts.map +1 -1
  45. package/es/types/Interface/api/mail/CreateMailParams.js.map +1 -1
  46. package/es/types/Interface/api/mail/QueryCountMail.d.ts +1 -0
  47. package/es/types/Interface/api/mail/QueryCountMail.d.ts.map +1 -1
  48. package/es/types/Interface/api/mail/QueryCountMail.js +7 -0
  49. package/es/types/Interface/api/mail/QueryCountMail.js.map +1 -1
  50. package/es/types/Interface/api/society/ListUserSociety.d.ts.map +1 -1
  51. package/es/types/Interface/api/society/ListUserSociety.js +8 -1
  52. package/es/types/Interface/api/society/ListUserSociety.js.map +1 -1
  53. package/es/types/Interface/api/user/ParamsGetAllUserWithRoles.d.ts +8 -0
  54. package/es/types/Interface/api/user/ParamsGetAllUserWithRoles.d.ts.map +1 -0
  55. package/es/types/Interface/api/user/ParamsGetAllUserWithRoles.js +50 -0
  56. package/es/types/Interface/api/user/ParamsGetAllUserWithRoles.js.map +1 -0
  57. package/es/types/Interface/api/user/QueryGetAllFromSociety.js +1 -1
  58. package/es/types/Interface/api/user/QueryGetAllFromSociety.js.map +1 -1
  59. package/es/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.d.ts +10 -0
  60. package/es/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.d.ts.map +1 -0
  61. package/es/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.js +2 -0
  62. package/es/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.js.map +1 -0
  63. package/es/types/Interface/models/IAttestation.d.ts +3 -3
  64. package/es/types/Interface/models/IAttestation.d.ts.map +1 -1
  65. package/es/types/Interface/models/IAttestation.js.map +1 -1
  66. package/es/types/Interface/models/IBusinessLineUser.d.ts +8 -0
  67. package/es/types/Interface/models/IBusinessLineUser.d.ts.map +1 -0
  68. package/es/types/Interface/models/IBusinessLineUser.js +2 -0
  69. package/es/types/Interface/models/IBusinessLineUser.js.map +1 -0
  70. package/es/types/Interface/models/ICustomerTva.d.ts +2 -2
  71. package/es/types/Interface/models/ICustomerTva.d.ts.map +1 -1
  72. package/es/types/Interface/models/ICustomerTva.js.map +1 -1
  73. package/es/types/Interface/models/ILetter.d.ts +3 -0
  74. package/es/types/Interface/models/ILetter.d.ts.map +1 -1
  75. package/es/types/Interface/models/ILetter.js.map +1 -1
  76. package/es/types/Interface/models/IMail.d.ts +1 -1
  77. package/es/types/Interface/models/IMail.d.ts.map +1 -1
  78. package/es/types/Interface/models/IMail.js.map +1 -1
  79. package/es/types/Interface/models/INafCode.d.ts +11 -0
  80. package/es/types/Interface/models/INafCode.d.ts.map +1 -0
  81. package/es/types/Interface/models/INafCode.js +2 -0
  82. package/es/types/Interface/models/INafCode.js.map +1 -0
  83. package/es/types/Interface/models/IReport.d.ts +1 -0
  84. package/es/types/Interface/models/IReport.d.ts.map +1 -1
  85. package/es/types/Interface/models/IReport.js.map +1 -1
  86. package/es/types/Interface/models/ISheetMonthScheduleDetails.d.ts +2 -0
  87. package/es/types/Interface/models/ISheetMonthScheduleDetails.d.ts.map +1 -1
  88. package/es/types/Interface/models/ISheetMonthScheduleDetails.js.map +1 -1
  89. package/es/types/index.d.ts +5 -0
  90. package/es/types/index.d.ts.map +1 -1
  91. package/es/types/index.js +5 -0
  92. package/es/types/index.js.map +1 -1
  93. package/js/api/resources/Employee.js +1 -1
  94. package/js/api/resources/Employee.js.map +1 -1
  95. package/js/api/resources/Mail.js +17 -0
  96. package/js/api/resources/Mail.js.map +1 -1
  97. package/js/api/resources/NafCode.js +22 -0
  98. package/js/api/resources/NafCode.js.map +1 -0
  99. package/js/api/resources/SheetMonthSchedule.js +1 -5
  100. package/js/api/resources/SheetMonthSchedule.js.map +1 -1
  101. package/js/api/resources.js +4 -1
  102. package/js/api/resources.js.map +1 -1
  103. package/js/types/Enum/MailAuto.js +119 -0
  104. package/js/types/Enum/MailAuto.js.map +1 -0
  105. package/js/types/Enum/RoleDetail.js +8 -4
  106. package/js/types/Enum/RoleDetail.js.map +1 -1
  107. package/js/types/Enum/SalariesType.js +3 -2
  108. package/js/types/Enum/SalariesType.js.map +1 -1
  109. package/js/types/Enum/TypeBankConnection.js +1 -0
  110. package/js/types/Enum/TypeBankConnection.js.map +1 -1
  111. package/js/types/Interface/api/budgetInsight/Query.js.map +1 -1
  112. package/js/types/Interface/api/calendarEvent/createCalendarEvent.js +55 -0
  113. package/js/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -0
  114. package/js/types/Interface/api/mail/QueryCountMail.js +2 -0
  115. package/js/types/Interface/api/mail/QueryCountMail.js.map +1 -1
  116. package/js/types/Interface/api/society/ListUserSociety.js +8 -1
  117. package/js/types/Interface/api/society/ListUserSociety.js.map +1 -1
  118. package/js/types/Interface/api/user/ParamsGetAllUserWithRoles.js +45 -0
  119. package/js/types/Interface/api/user/ParamsGetAllUserWithRoles.js.map +1 -0
  120. package/js/types/Interface/api/user/QueryGetAllFromSociety.js +1 -1
  121. package/js/types/Interface/api/user/QueryGetAllFromSociety.js.map +1 -1
  122. package/js/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.js +6 -0
  123. package/js/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.js.map +1 -0
  124. package/js/types/Interface/models/IBusinessLineUser.js +6 -0
  125. package/js/types/Interface/models/IBusinessLineUser.js.map +1 -0
  126. package/js/types/Interface/models/INafCode.js +6 -0
  127. package/js/types/Interface/models/INafCode.js.map +1 -0
  128. package/js/types/index.js +60 -0
  129. package/js/types/index.js.map +1 -1
  130. package/package.json +1 -1
  131. package/ts/api/resources/Employee.ts +2 -2
  132. package/ts/api/resources/Mail.ts +13 -0
  133. package/ts/api/resources/NafCode.ts +10 -0
  134. package/ts/api/resources/SheetMonthSchedule.ts +1 -5
  135. package/ts/api/resources.ts +2 -0
  136. package/ts/types/Enum/MailAuto.ts +111 -0
  137. package/ts/types/Enum/RoleDetail.ts +4 -0
  138. package/ts/types/Enum/SalariesType.ts +10 -2
  139. package/ts/types/Enum/TypeBankConnection.ts +1 -0
  140. package/ts/types/Interface/api/budgetInsight/Query.ts +8 -0
  141. package/ts/types/Interface/api/calendarEvent/createCalendarEvent.ts +48 -0
  142. package/ts/types/Interface/api/mail/CreateMailParams.ts +7 -0
  143. package/ts/types/Interface/api/mail/QueryCountMail.ts +6 -0
  144. package/ts/types/Interface/api/society/ListUserSociety.ts +8 -1
  145. package/ts/types/Interface/api/user/ParamsGetAllUserWithRoles.ts +37 -0
  146. package/ts/types/Interface/api/user/QueryGetAllFromSociety.ts +1 -1
  147. package/ts/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.ts +10 -0
  148. package/ts/types/Interface/models/IAttestation.ts +3 -3
  149. package/ts/types/Interface/models/IBusinessLineUser.ts +8 -0
  150. package/ts/types/Interface/models/ICustomerTva.ts +2 -2
  151. package/ts/types/Interface/models/ILetter.ts +3 -0
  152. package/ts/types/Interface/models/IMail.ts +1 -1
  153. package/ts/types/Interface/models/INafCode.ts +12 -0
  154. package/ts/types/Interface/models/IReport.ts +1 -0
  155. package/ts/types/Interface/models/ISheetMonthScheduleDetails.ts +2 -1
  156. package/ts/types/index.ts +5 -0
@@ -0,0 +1,111 @@
1
+ export enum MailAuto {
2
+ MEMENTO = 1,
3
+ ANNOTATIONS = 2,
4
+ BILAN = 3,
5
+ MISSING_DOCS = 4,
6
+ SYNC_BANK = 5,
7
+ A_NOUVEAUX = 6,
8
+ MISSING_INVOICES = 7,
9
+ PHONE_RDV = 8,
10
+ GRACEFUL_DELIVERY = 9,
11
+ ON_BOARDING = 10,
12
+ UNPAID = 11,
13
+ MYCLE_ACCESS = 12,
14
+ FIRST_TALK = 13,
15
+ ATTRIBUTION = 14,
16
+ NEW_ATTRIBUTION = 15,
17
+ PAYMENT_REJECTED = 16,
18
+ ATTESTATION_SIGNED = 17,
19
+ ATTESTATION_PAYMENT_LINK = 18,
20
+ PHONE_RDV_MISSED = 19,
21
+ PHONE_SYNTHESIS = 20,
22
+ LEGAL_FOLDER_CREATION = 21,
23
+ JURIDICAL_PAYMENT = 22,
24
+ RELANCE_ANNOTATION = 23,
25
+ SUPERVISION = 24,
26
+ PAYMENT_LATE_FOR_ACTION = 25,
27
+ SYNCHRONIZE_FOR_ACTION = 26,
28
+ DOCUMENTS_FOR_ACTION = 27,
29
+ PAYMENTS_LATE_AND_NOT_SYNC_FOR_ACTION = 28,
30
+ ANNOTATION_FOR_ACTION = 29,
31
+ PAYMENT_LATE_AND_NOT_ANNOTED_FOR_ACTION = 30,
32
+ MAJ_FOR_ACTION = 31,
33
+ CONSTITUTION_EI = 32,
34
+ CONSTITUTION_SOCIETIES = 33,
35
+ CONSTITUTION_KBIS = 34,
36
+ RELANCE_GRACEFUL_DELIVERY = 35,
37
+ REPLY_GRACEFUL_DELIVERY = 36,
38
+ ACCOUNTING_IMPLEMENTATION = 37,
39
+ INFORM_CUSTOMER_DRG_DONE = 38,
40
+ ASK_CERTIFICATE_NON_REMUNERATION = 39,
41
+ UNSYNC = 40,
42
+ NEW_CUSTOMER_SOCIAL = 41,
43
+ JURIDICAL_KBIS = 42,
44
+ HOME = 43,
45
+ HOME_SYNTHESIS = 44,
46
+ DOCUMENTS_WAITING = 45,
47
+ DOCUMENTS_TO_SIGN = 46,
48
+ OPINION_RECEIVED = 47,
49
+ RESPONSE_RECAP = 48,
50
+ RESPONSE_CALL_DIRECTLY_NOTATION_ECHEC = 49,
51
+ RESPONSE_CALL_DIRECTLY_ECHEC = 50,
52
+ AVIS_3_WEEKS = 51,
53
+ SATISFACTION = 52,
54
+ UPDATE_YOUR_ACCOUNTING = 53,
55
+ RELANCE_CHECKUP = 54,
56
+ RESPONDER = 55,
57
+ NO_RESPONSE = 56,
58
+ MEMO_RELANCE_ANNOTATION = 57,
59
+ APPROBATION_DIVIDEND = 58,
60
+ APPROBATION_JURIDICAL_DOCUMENTS = 59,
61
+ APPROBATION_ACCOUNTS_DEPOSIT = 60,
62
+ APPROBATION_ACCOUNTS_DEPOSIT_BACK = 61,
63
+ VAT_DECLARATION = 62,
64
+ TAKE_BACK_LETTER = 63,
65
+ ASK_RIB = 67,
66
+ DOCS_RECAP_CA = 68,
67
+ THANKS_FOR_ESTIMATE = 69,
68
+ REMIND_ESTIMATE = 70,
69
+ LAST_REMIND_ESTIMATE = 71,
70
+ EXPIRED_ESTIMATE = 72,
71
+ DOCS_FOR_EXPRESS = 73,
72
+ DOCS_FOR_EXPRESS_RELANCE = 74,
73
+ TICKET_SUPPORT_CONSTATATION = 76,
74
+ TICKET_SUPPORT_RESOLUTION = 77,
75
+ SCHEDULE = 78,
76
+ STOP_WORKING_ACCOUNTANT = 79,
77
+ TERMINATION_FOR_MISSING_DOCUMENTS = 80,
78
+ TERMINATION = 81,
79
+ LAST_RELANCE_CHECK_UP = 82,
80
+ TERMINATION_FOR_NO_CHECK_UP = 83,
81
+ TERMINATION_FOR_LAB_REJECTION = 84,
82
+ TERMINATION_FOR_SATISFIED_OR_REFUNDED = 85,
83
+ DRAWDOWN_ERROR = 86,
84
+ RECOVERY_REFUSED_BY_OLD_EXPERT = 87,
85
+ DRAWDOWN_ERROR_AFTER_TERMINATION = 88,
86
+ REFUND_PRESTA = 89,
87
+ REFUND_AMOUNT = 90,
88
+ PDF_CSV_BA = 91,
89
+ REVIVE_ELEMENTS_FOR_CONSTITUTION = 92,
90
+ REVIVE_TICKET = 93,
91
+ RESOLVE_WAITING_TICKET = 94,
92
+ RELANCE_UNPAIDS = 95,
93
+ LAST_RELANCE_UNPAIDS = 96,
94
+ FIRST_PREVI = 100,
95
+ FIRST_RAPPEL_PREVI = 101,
96
+ SECOND_RAPPEL_PREVI = 102,
97
+ LAST_RAPPEL_PREVI = 103,
98
+ BILAN_PREVI_FOR_CLIENT = 117,
99
+ REPORTING_FIRST_PHONE_RDV = 105,
100
+ REPORTING_EDITING_FIRST_PHONE_RDV = 106,
101
+ REPORTING_PHONE_RDV_SUMMARY_J0 = 107,
102
+ REPORTING_PHONE_RDV_BUG_FIXED_J3 = 108,
103
+ REPORTING_PHONE_RDV_SATISFACTION_J15 = 109,
104
+ REPORTING_PHONE_RDV_SATISFACTION_J30 = 110,
105
+ REPORTING_PHONE_RDV_UNAVAILABLE_1_TIME = 111,
106
+ REPORTING_PHONE_RDV_UNAVAILABLE_2_TIMES = 112,
107
+ REPORTING_PHONE_RDV_UNAVAILABLE_3_TIMES = 113,
108
+ REPORTING_PHONE_RDV_UNAVAILABLE_4_TIMES = 114,
109
+ REPORTING_PHONE_RDV_UNAVAILABLE_5_TIMES = 115,
110
+ REPORTING_PHONE_RDV_UNAVAILABLE_6_TIMES = 116,
111
+ }
@@ -28,6 +28,7 @@ export const RoleDetail = {
28
28
  name: 'Customer success',
29
29
  colorPrimary: '#5894EF',
30
30
  colorSecondary: '#DAEEFC',
31
+ handledInUserSocietyPermissionTable: false,
31
32
  },
32
33
  SOCIAL: {
33
34
  id: 11,
@@ -88,6 +89,7 @@ export const RoleDetail = {
88
89
  name: 'Expert-comptable',
89
90
  colorPrimary: '#B5D33C',
90
91
  colorSecondary: '#EEF4C3',
92
+ handledInUserSocietyPermissionTable: false,
91
93
  },
92
94
  MFA_PENDING: {
93
95
  id: 21,
@@ -136,6 +138,7 @@ export const RoleDetail = {
136
138
  name: 'Manager back',
137
139
  colorPrimary: '#8765D0',
138
140
  colorSecondary: '#DED7F6',
141
+ handledInUserSocietyPermissionTable: false,
139
142
  },
140
143
  FRONT_MANAGER: {
141
144
  id: 31,
@@ -148,6 +151,7 @@ export const RoleDetail = {
148
151
  name: 'Customer success manager',
149
152
  colorPrimary: '#5894EF',
150
153
  colorSecondary: '#DAEEFC',
154
+ handledInUserSocietyPermissionTable: false,
151
155
  },
152
156
  COMMERCIAL_MANAGER: {
153
157
  id: 33,
@@ -34,5 +34,13 @@ export const contractTypeList: ContractTypeList = [
34
34
  { label: 'Stage', value: ContractTypeEnum.INTERNSHIP },
35
35
  ];
36
36
 
37
- export const hiringReasonList: HiringReasonList = Object.keys(HiringReasonEnum).map((value) => value as HiringReasonEnum);
38
- export const studyLevelList: StudyLevelList = Object.keys(StudyLevelEnum).map((value) => value as StudyLevelEnum);
37
+ export const hiringReasonList: HiringReasonList = [HiringReasonEnum.INCREASE, HiringReasonEnum.REPLACEMENT, HiringReasonEnum.SEASONAL];
38
+
39
+ export const studyLevelList: StudyLevelList = [
40
+ StudyLevelEnum.BELOW_BAC, StudyLevelEnum.BAC, StudyLevelEnum.BAC_PLUS_ONE,
41
+ StudyLevelEnum.BAC_PLUS_TWO, StudyLevelEnum.BAC_PLUS_THREE, StudyLevelEnum.BAC_PLUS_FOUR,
42
+ StudyLevelEnum.BAC_PLUS_FIVE, StudyLevelEnum.BAC_PLUS_SIX, StudyLevelEnum.BAC_PLUS_SEVEN,
43
+ StudyLevelEnum.ABOVE_BAC_PLUS_SEVEN,
44
+ ];
45
+
46
+ Object.keys(StudyLevelEnum).map((value) => value as StudyLevelEnum);
@@ -2,4 +2,5 @@ export enum TypeBankConnection {
2
2
  BUDGET_CONNECTION = 'Budget',
3
3
  QONTO_CONNECTION = 'Qonto',
4
4
  SHINE_CONNECTION = 'Shine',
5
+ JEDECLARE = 'JeDeclare',
5
6
  }
@@ -177,4 +177,12 @@ type BudgetInsightConnection = {
177
177
  export type BudgetInsightConnectionSyncedQuery = {
178
178
  user: BudgetInsightUser;
179
179
  connection: BudgetInsightConnection & { connector: any; sources: any; accounts: any; };
180
+ };
181
+
182
+ export type BudgetEditBankAccount = {
183
+ display?: boolean;// Whether the bank account should be deisplayed and included in aggregated metrics.
184
+ name?: string; // Display name of the account.
185
+ disabled?: boolean; // Whether the bank account should be synchronized.
186
+ bookmarked?: boolean; // Whether the bank account is bookmarked.
187
+ usage?:BudgetInsightBankAccountUsage // Account usage.
180
188
  };
@@ -0,0 +1,48 @@
1
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
+
3
+ export class createCalendarEvent {
4
+ @ApiProperty()
5
+ title: string;
6
+
7
+ @ApiProperty()
8
+ dateStart: Date;
9
+
10
+ @ApiProperty()
11
+ dateEnd: Date;
12
+
13
+ @ApiProperty()
14
+ comment: string;
15
+
16
+ @ApiPropertyOptional()
17
+ idRoom?: number;
18
+
19
+ @ApiProperty()
20
+ createdBy: number;
21
+
22
+ @ApiPropertyOptional()
23
+ idColor?: number;
24
+
25
+ @ApiProperty()
26
+ idSociety: number;
27
+
28
+ @ApiPropertyOptional()
29
+ idExercice?: number;
30
+
31
+ @ApiPropertyOptional()
32
+ idType?: number;
33
+
34
+ @ApiPropertyOptional()
35
+ typeComptable?: number;
36
+
37
+ @ApiProperty()
38
+ isDone: boolean;
39
+
40
+ @ApiPropertyOptional()
41
+ callState?: number;
42
+
43
+ @ApiPropertyOptional()
44
+ idRecurrence?: number;
45
+
46
+ @ApiPropertyOptional()
47
+ idPlace?: number;
48
+ }
@@ -7,4 +7,11 @@ export interface CreateMailParams extends IMail{
7
7
  textHtml?: string;
8
8
  isAnswerProcessed?: boolean;
9
9
  idMailParent?: number;
10
+ dateEvent?: Date;
11
+ dateEventEnd?: Date;
12
+ dayEvent?: string;
13
+ hourEvent?: string;
14
+ idAccountantEvent?: number;
15
+ idReport?: number;
16
+ idLetter?: number;
10
17
  }
@@ -22,4 +22,10 @@ export class QueryCountMail {
22
22
  @IsBoolean()
23
23
  @ToBoolean()
24
24
  isSent?: boolean;
25
+
26
+ @ApiPropertyOptional()
27
+ @IsOptional()
28
+ @IsBoolean()
29
+ @ToBoolean()
30
+ isCountingManagerRoleMails?: boolean;
25
31
  }
@@ -1,6 +1,13 @@
1
+ import { IsArray } from 'class-validator';
1
2
  import { ApiProperty } from '../../../../utils';
2
3
 
3
4
  export class ListUserSociety {
4
- @ApiProperty()
5
+ @ApiProperty({
6
+ description: 'array of roles id to return list of users',
7
+ required: true,
8
+ type: [Number],
9
+ example: [1, 13],
10
+ })
11
+ @IsArray()
5
12
  roles: number[];
6
13
  }
@@ -0,0 +1,37 @@
1
+ import {
2
+ IsBoolean, IsIn, IsOptional, IsString, IsInt, IsArray,
3
+ } from 'class-validator';
4
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
5
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
6
+
7
+ export class ParamsGetAllUserWithRoles {
8
+ @ApiProperty()
9
+ @IsArray()
10
+ roles:number[];
11
+
12
+ @ApiPropertyOptional()
13
+ @IsOptional()
14
+ @IsInt()
15
+ idSociety?:number;
16
+
17
+ @ApiPropertyOptional()
18
+ @IsOptional()
19
+ @IsBoolean()
20
+ @ToBoolean()
21
+ withFile?: boolean;
22
+
23
+ @ApiPropertyOptional()
24
+ @IsOptional()
25
+ @IsString({
26
+ each: true,
27
+ })
28
+ @IsIn(['permissions'], { each: true })
29
+ includes?: string[];
30
+
31
+ @ApiPropertyOptional()
32
+ @IsOptional()
33
+ @IsString({
34
+ each: true,
35
+ })
36
+ attributes?: string[];
37
+ }
@@ -12,7 +12,7 @@ export class QueryGetAllFromSociety {
12
12
  @ApiProperty({
13
13
  description: 'array of roles id needed to return list of users',
14
14
  required: true,
15
- type: Array,
15
+ type: [Number],
16
16
  example: [1, 13],
17
17
  })
18
18
  roles: number[];
@@ -0,0 +1,10 @@
1
+ import { IWorkingSchedule } from '../../models/IWorkingSchedule';
2
+
3
+ type wotkingScheduleModified = Omit<IWorkingSchedule, 'idEmployee' | 'morningStart' | 'morningEnd' | 'afternoonStart' | 'afternoonEnd' >;
4
+
5
+ export interface UpdateOrCreateWorkingSchedule extends wotkingScheduleModified {
6
+ morningStart: string | null;
7
+ morningEnd: string | null;
8
+ afternoonStart: string | null;
9
+ afternoonEnd: string | null;
10
+ }
@@ -4,7 +4,7 @@ import { IPaymentExpectation } from './IPaymentExpectation';
4
4
  import { IFile } from './IFile';
5
5
  import { ISociety } from './ISociety';
6
6
  import { IExercice } from './IExercice';
7
- import { IWebMail } from './IWebMail';
7
+ import { IMail } from './IMail';
8
8
 
9
9
  // attestations
10
10
  export interface IAttestation {
@@ -35,6 +35,6 @@ export interface IAttestation {
35
35
  attestationFiles: IFile;
36
36
  society: ISociety;
37
37
  exercices: IExercice;
38
- paymentMail: IWebMail;
39
- validationMail: IWebMail;
38
+ paymentMail: IMail;
39
+ validationMail: IMail;
40
40
  }
@@ -0,0 +1,8 @@
1
+ // businessLineUser
2
+ export interface IBusinessLineUser {
3
+ id?: number;
4
+ idBusinessLine: number;
5
+ idUser: number;
6
+ createdAt?: Date | null;
7
+ updatedAt?: Date | null;
8
+ }
@@ -1,5 +1,5 @@
1
1
  import { IExercice } from './IExercice';
2
- import { IWebMail } from './IWebMail';
2
+ import { IMail } from './IMail';
3
3
  import { IChecklist } from './IChecklist';
4
4
  import { IVatDeclaration } from './IVatDeclaration';
5
5
 
@@ -26,7 +26,7 @@ export interface ICustomerTva {
26
26
 
27
27
  // Associations
28
28
  exercice: IExercice;
29
- webmailMail: IWebMail;
29
+ mail: IMail;
30
30
  checklist: IChecklist;
31
31
  vatDeclaration: IVatDeclaration;
32
32
  }
@@ -3,6 +3,7 @@ import { ISociety } from './ISociety';
3
3
  import { ILetterType } from './ILetterType';
4
4
  import { IFile } from './IFile';
5
5
  import { IReport } from './IReport';
6
+ import { IMail } from './IMail';
6
7
 
7
8
  // letters
8
9
  export interface ILetter {
@@ -19,6 +20,7 @@ export interface ILetter {
19
20
  idResponseFile?: number | null;
20
21
  idSociety: number;
21
22
  idReport?: number;
23
+ idMail?: number;
22
24
  idAccountant?: number;
23
25
  createdAt?: Date | null;
24
26
  updatedAt?: Date | null;
@@ -27,6 +29,7 @@ export interface ILetter {
27
29
  user?: IUser;
28
30
  society?: ISociety;
29
31
  report?: IReport;
32
+ mail?: IMail;
30
33
  typeLetter?: ILetterType;
31
34
  receivedFile?: IFile;
32
35
  responseFile?: IFile;
@@ -9,7 +9,7 @@ import { IMailAttachment } from './IMailAttachment';
9
9
  export interface IMail {
10
10
  id?: number;
11
11
  messageId?: string | null;
12
- date: Date;
12
+ date?: Date;
13
13
  subject?: string | null;
14
14
  fromName?: string | null;
15
15
  fromAddress?: string;
@@ -0,0 +1,12 @@
1
+ import { IBusinessLine } from './IBusinessLine';
2
+
3
+ export interface INafCode {
4
+ id?: number;
5
+ idBusinessLine: number;
6
+ nafCode: string;
7
+ activity?: string;
8
+ createdAt?: Date | null;
9
+ updatedAt?: Date | null;
10
+
11
+ businessLine: IBusinessLine;
12
+ }
@@ -6,6 +6,7 @@ export interface IReport {
6
6
  id?: number;
7
7
  idSociety?: number | null;
8
8
  idReportType?: number | null;
9
+ idCalendarEvent?: number;
9
10
  idLetterType?: number | null;
10
11
  declareSoupcons?: boolean | null;
11
12
  state?: number | null;
@@ -1,10 +1,11 @@
1
- // sheetMonthScheduleDetails
2
1
  export interface ISheetMonthScheduleDetail {
3
2
  id?: number;
4
3
  idDetailType: number;
5
4
  startDate: Date;
6
5
  endDate: Date;
7
6
  idSheetMonthSchedule: number;
7
+ name?: string | null;
8
+ amount?: string | null;
8
9
  createdAt?: Date | null;
9
10
  updatedAt?: Date | null;
10
11
  }
package/ts/types/index.ts CHANGED
@@ -302,6 +302,7 @@ export * from './Interface/models/IBalanceSheetModule2';
302
302
  export * from './Interface/models/IBalanceSheetStatus';
303
303
  export * from './Interface/models/IBalanceSheetCompletion';
304
304
  export * from './Interface/models/IDefaultPromotion';
305
+ export * from './Interface/models/INafCode';
305
306
 
306
307
  // Forms
307
308
  export * from './Form/FormAuthenticate';
@@ -317,6 +318,7 @@ export * from './Enum/Log';
317
318
  export * from './Enum/Quality';
318
319
  export * from './Enum/Role';
319
320
  export * from './Enum/RoleDetail';
321
+ export * from './Enum/MailAuto';
320
322
  export * from './Enum/Simulation';
321
323
  export * from './Enum/Country';
322
324
  export * from './Enum/ComptaType';
@@ -440,6 +442,7 @@ export * from './Interface/api/user/QuerySocieties';
440
442
  export * from './Interface/api/user/QueryGetAllFromSociety';
441
443
  export * from './Interface/api/user/QueryResendConfirmationLink';
442
444
  export * from './Interface/api/user/CreateUser';
445
+ export * from './Interface/api/user/ParamsGetAllUserWithRoles';
443
446
  export * from './Interface/api/user/CreateCoworker';
444
447
  export * from './Interface/api/user/QueryUserSmsConfirmation';
445
448
  export * from './Interface/api/user/Permissions';
@@ -536,6 +539,7 @@ export * from './Interface/api/log/QueryLogPagination';
536
539
  export * from './Interface/api/employee/QueryEmployeeSearch';
537
540
  export * from './Interface/api/employee/QueryCreateEmployee';
538
541
  export * from './Interface/api/employee/QueryUpdateEmployee';
542
+ export * from './Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule';
539
543
 
540
544
  // export * from './Interface/api/survey/QuerySurvey';
541
545
  export * from './Interface/api/survey/ReadSurvey';
@@ -683,6 +687,7 @@ export * from './Interface/api/balanceSheetModule/PrepareModulesAndCompletions';
683
687
  export * from './Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions';
684
688
  export * from './Interface/api/bankAccount/ReadExpiredBankAccount';
685
689
  export * from './Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule';
690
+ export * from './Interface/api/calendarEvent/createCalendarEvent';
686
691
 
687
692
  // Enums types
688
693
  export * from './Interface/enum/Util';