@silexpert/core 1.1.206 → 1.1.207

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 (192) hide show
  1. package/dist/cjs/api/resources/Journal.js +1 -1
  2. package/dist/cjs/api/resources/Journal.js.map +1 -1
  3. package/dist/cjs/api/resources/ReportMessage.d.ts +47 -0
  4. package/dist/cjs/api/resources/ReportMessage.d.ts.map +1 -0
  5. package/dist/cjs/api/resources/ReportMessage.js +59 -0
  6. package/dist/cjs/api/resources/ReportMessage.js.map +1 -0
  7. package/dist/cjs/api/resources.d.ts +2 -0
  8. package/dist/cjs/api/resources.d.ts.map +1 -1
  9. package/dist/cjs/api/resources.js +2 -0
  10. package/dist/cjs/api/resources.js.map +1 -1
  11. package/dist/cjs/types/Enum/Constants.d.ts +24 -0
  12. package/dist/cjs/types/Enum/Constants.d.ts.map +1 -0
  13. package/dist/cjs/types/Enum/Constants.js +35 -0
  14. package/dist/cjs/types/Enum/Constants.js.map +1 -0
  15. package/dist/cjs/types/Enum/MailAuto.d.ts +3 -1
  16. package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
  17. package/dist/cjs/types/Enum/MailAuto.js +2 -0
  18. package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
  19. package/dist/cjs/types/Enum/ReportType.d.ts +32 -0
  20. package/dist/cjs/types/Enum/ReportType.d.ts.map +1 -1
  21. package/dist/cjs/types/Enum/ReportType.js +32 -0
  22. package/dist/cjs/types/Enum/ReportType.js.map +1 -1
  23. package/dist/cjs/types/Enum/RoleDetail.d.ts +32 -0
  24. package/dist/cjs/types/Enum/RoleDetail.d.ts.map +1 -1
  25. package/dist/cjs/types/Enum/RoleDetail.js +32 -0
  26. package/dist/cjs/types/Enum/RoleDetail.js.map +1 -1
  27. package/dist/cjs/types/Interface/api/OnBoarding.d.ts +13 -1
  28. package/dist/cjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
  29. package/dist/cjs/types/Interface/api/OnBoarding.js +45 -3
  30. package/dist/cjs/types/Interface/api/OnBoarding.js.map +1 -1
  31. package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts +1 -0
  32. package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
  33. package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +7 -0
  34. package/dist/cjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
  35. package/dist/cjs/types/Interface/api/equipment/Query.d.ts +1 -0
  36. package/dist/cjs/types/Interface/api/equipment/Query.d.ts.map +1 -1
  37. package/dist/cjs/types/Interface/api/equipment/Query.js +6 -0
  38. package/dist/cjs/types/Interface/api/equipment/Query.js.map +1 -1
  39. package/dist/cjs/types/Interface/api/prestation/Query.d.ts +2 -0
  40. package/dist/cjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  41. package/dist/cjs/types/Interface/api/prestation/Query.js +12 -0
  42. package/dist/cjs/types/Interface/api/prestation/Query.js.map +1 -1
  43. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts +1 -0
  44. package/dist/cjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  45. package/dist/cjs/types/Interface/api/report/CreateReport.js +4 -0
  46. package/dist/cjs/types/Interface/api/report/CreateReport.js.map +1 -1
  47. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts +1 -0
  48. package/dist/cjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  49. package/dist/cjs/types/Interface/api/report/QueryReports.js +4 -0
  50. package/dist/cjs/types/Interface/api/report/QueryReports.js.map +1 -1
  51. package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts +1 -0
  52. package/dist/cjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
  53. package/dist/cjs/types/Interface/api/report/UpdateReport.js.map +1 -1
  54. package/dist/cjs/types/Interface/api/reportMessage/Query.d.ts +4 -0
  55. package/dist/cjs/types/Interface/api/reportMessage/Query.d.ts.map +1 -0
  56. package/dist/cjs/types/Interface/api/reportMessage/Query.js +23 -0
  57. package/dist/cjs/types/Interface/api/reportMessage/Query.js.map +1 -0
  58. package/dist/cjs/types/Interface/models/ICustomerAcceptance.d.ts +1 -0
  59. package/dist/cjs/types/Interface/models/ICustomerAcceptance.d.ts.map +1 -1
  60. package/dist/cjs/types/Interface/models/ICustomerAcceptance.js.map +1 -1
  61. package/dist/cjs/types/Interface/models/IEquipment.d.ts +1 -0
  62. package/dist/cjs/types/Interface/models/IEquipment.d.ts.map +1 -1
  63. package/dist/cjs/types/Interface/models/IEquipment.js.map +1 -1
  64. package/dist/cjs/types/Interface/models/IPrestation.d.ts +3 -2
  65. package/dist/cjs/types/Interface/models/IPrestation.d.ts.map +1 -1
  66. package/dist/cjs/types/Interface/models/IPrestation.js.map +1 -1
  67. package/dist/cjs/types/Interface/models/IReport.d.ts +3 -0
  68. package/dist/cjs/types/Interface/models/IReport.d.ts.map +1 -1
  69. package/dist/cjs/types/Interface/models/IReport.js.map +1 -1
  70. package/dist/cjs/types/Interface/models/IReportMessage.d.ts +13 -0
  71. package/dist/cjs/types/Interface/models/IReportMessage.d.ts.map +1 -0
  72. package/dist/cjs/types/Interface/models/IReportMessage.js +3 -0
  73. package/dist/cjs/types/Interface/models/IReportMessage.js.map +1 -0
  74. package/dist/cjs/types/Interface/models/ISocietyDetail.d.ts +12 -0
  75. package/dist/cjs/types/Interface/models/ISocietyDetail.d.ts.map +1 -1
  76. package/dist/cjs/types/Interface/models/ISocietyDetail.js.map +1 -1
  77. package/dist/cjs/types/index.d.ts +4 -0
  78. package/dist/cjs/types/index.d.ts.map +1 -1
  79. package/dist/cjs/types/index.js +4 -0
  80. package/dist/cjs/types/index.js.map +1 -1
  81. package/dist/cjs/utils/checkup.d.ts +544 -0
  82. package/dist/cjs/utils/checkup.d.ts.map +1 -0
  83. package/dist/cjs/utils/checkup.js +765 -0
  84. package/dist/cjs/utils/checkup.js.map +1 -0
  85. package/dist/mjs/api/resources/Journal.js +1 -1
  86. package/dist/mjs/api/resources/Journal.js.map +1 -1
  87. package/dist/mjs/api/resources/ReportMessage.d.ts +47 -0
  88. package/dist/mjs/api/resources/ReportMessage.d.ts.map +1 -0
  89. package/dist/mjs/api/resources/ReportMessage.js +73 -0
  90. package/dist/mjs/api/resources/ReportMessage.js.map +1 -0
  91. package/dist/mjs/api/resources.d.ts +2 -0
  92. package/dist/mjs/api/resources.d.ts.map +1 -1
  93. package/dist/mjs/api/resources.js +2 -0
  94. package/dist/mjs/api/resources.js.map +1 -1
  95. package/dist/mjs/types/Enum/Constants.d.ts +24 -0
  96. package/dist/mjs/types/Enum/Constants.d.ts.map +1 -0
  97. package/dist/mjs/types/Enum/Constants.js +32 -0
  98. package/dist/mjs/types/Enum/Constants.js.map +1 -0
  99. package/dist/mjs/types/Enum/MailAuto.d.ts +3 -1
  100. package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
  101. package/dist/mjs/types/Enum/MailAuto.js +2 -0
  102. package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
  103. package/dist/mjs/types/Enum/ReportType.d.ts +32 -0
  104. package/dist/mjs/types/Enum/ReportType.d.ts.map +1 -1
  105. package/dist/mjs/types/Enum/ReportType.js +32 -0
  106. package/dist/mjs/types/Enum/ReportType.js.map +1 -1
  107. package/dist/mjs/types/Enum/RoleDetail.d.ts +32 -0
  108. package/dist/mjs/types/Enum/RoleDetail.d.ts.map +1 -1
  109. package/dist/mjs/types/Enum/RoleDetail.js +32 -0
  110. package/dist/mjs/types/Enum/RoleDetail.js.map +1 -1
  111. package/dist/mjs/types/Interface/api/OnBoarding.d.ts +13 -1
  112. package/dist/mjs/types/Interface/api/OnBoarding.d.ts.map +1 -1
  113. package/dist/mjs/types/Interface/api/OnBoarding.js +48 -3
  114. package/dist/mjs/types/Interface/api/OnBoarding.js.map +1 -1
  115. package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts +1 -0
  116. package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
  117. package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js +8 -0
  118. package/dist/mjs/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
  119. package/dist/mjs/types/Interface/api/equipment/Query.d.ts +1 -0
  120. package/dist/mjs/types/Interface/api/equipment/Query.d.ts.map +1 -1
  121. package/dist/mjs/types/Interface/api/equipment/Query.js +7 -0
  122. package/dist/mjs/types/Interface/api/equipment/Query.js.map +1 -1
  123. package/dist/mjs/types/Interface/api/prestation/Query.d.ts +2 -0
  124. package/dist/mjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
  125. package/dist/mjs/types/Interface/api/prestation/Query.js +15 -1
  126. package/dist/mjs/types/Interface/api/prestation/Query.js.map +1 -1
  127. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts +1 -0
  128. package/dist/mjs/types/Interface/api/report/CreateReport.d.ts.map +1 -1
  129. package/dist/mjs/types/Interface/api/report/CreateReport.js +5 -0
  130. package/dist/mjs/types/Interface/api/report/CreateReport.js.map +1 -1
  131. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts +1 -0
  132. package/dist/mjs/types/Interface/api/report/QueryReports.d.ts.map +1 -1
  133. package/dist/mjs/types/Interface/api/report/QueryReports.js +5 -0
  134. package/dist/mjs/types/Interface/api/report/QueryReports.js.map +1 -1
  135. package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts +1 -0
  136. package/dist/mjs/types/Interface/api/report/UpdateReport.d.ts.map +1 -1
  137. package/dist/mjs/types/Interface/api/report/UpdateReport.js.map +1 -1
  138. package/dist/mjs/types/Interface/api/reportMessage/Query.d.ts +4 -0
  139. package/dist/mjs/types/Interface/api/reportMessage/Query.d.ts.map +1 -0
  140. package/dist/mjs/types/Interface/api/reportMessage/Query.js +20 -0
  141. package/dist/mjs/types/Interface/api/reportMessage/Query.js.map +1 -0
  142. package/dist/mjs/types/Interface/models/ICustomerAcceptance.d.ts +1 -0
  143. package/dist/mjs/types/Interface/models/ICustomerAcceptance.d.ts.map +1 -1
  144. package/dist/mjs/types/Interface/models/ICustomerAcceptance.js.map +1 -1
  145. package/dist/mjs/types/Interface/models/IEquipment.d.ts +1 -0
  146. package/dist/mjs/types/Interface/models/IEquipment.d.ts.map +1 -1
  147. package/dist/mjs/types/Interface/models/IEquipment.js.map +1 -1
  148. package/dist/mjs/types/Interface/models/IPrestation.d.ts +3 -2
  149. package/dist/mjs/types/Interface/models/IPrestation.d.ts.map +1 -1
  150. package/dist/mjs/types/Interface/models/IPrestation.js.map +1 -1
  151. package/dist/mjs/types/Interface/models/IReport.d.ts +3 -0
  152. package/dist/mjs/types/Interface/models/IReport.d.ts.map +1 -1
  153. package/dist/mjs/types/Interface/models/IReport.js.map +1 -1
  154. package/dist/mjs/types/Interface/models/IReportMessage.d.ts +13 -0
  155. package/dist/mjs/types/Interface/models/IReportMessage.d.ts.map +1 -0
  156. package/dist/mjs/types/Interface/models/IReportMessage.js +2 -0
  157. package/dist/mjs/types/Interface/models/IReportMessage.js.map +1 -0
  158. package/dist/mjs/types/Interface/models/ISocietyDetail.d.ts +12 -0
  159. package/dist/mjs/types/Interface/models/ISocietyDetail.d.ts.map +1 -1
  160. package/dist/mjs/types/Interface/models/ISocietyDetail.js.map +1 -1
  161. package/dist/mjs/types/index.d.ts +4 -0
  162. package/dist/mjs/types/index.d.ts.map +1 -1
  163. package/dist/mjs/types/index.js +4 -0
  164. package/dist/mjs/types/index.js.map +1 -1
  165. package/dist/mjs/utils/checkup.d.ts +544 -0
  166. package/dist/mjs/utils/checkup.d.ts.map +1 -0
  167. package/dist/mjs/utils/checkup.js +760 -0
  168. package/dist/mjs/utils/checkup.js.map +1 -0
  169. package/package.json +1 -1
  170. package/ts/api/resources/Journal.ts +1 -1
  171. package/ts/api/resources/ReportMessage.ts +81 -0
  172. package/ts/api/resources.ts +2 -0
  173. package/ts/types/Enum/Constants.ts +35 -0
  174. package/ts/types/Enum/MailAuto.ts +2 -0
  175. package/ts/types/Enum/ReportType.ts +32 -0
  176. package/ts/types/Enum/RoleDetail.ts +32 -0
  177. package/ts/types/Interface/api/OnBoarding.ts +35 -3
  178. package/ts/types/Interface/api/commercial/QueryPaginatedSocietyWithStatsCa.ts +6 -0
  179. package/ts/types/Interface/api/equipment/Query.ts +5 -0
  180. package/ts/types/Interface/api/prestation/Query.ts +11 -1
  181. package/ts/types/Interface/api/report/CreateReport.ts +3 -0
  182. package/ts/types/Interface/api/report/QueryReports.ts +3 -0
  183. package/ts/types/Interface/api/report/UpdateReport.ts +1 -0
  184. package/ts/types/Interface/api/reportMessage/Query.ts +8 -0
  185. package/ts/types/Interface/models/ICustomerAcceptance.ts +1 -0
  186. package/ts/types/Interface/models/IEquipment.ts +1 -0
  187. package/ts/types/Interface/models/IPrestation.ts +3 -2
  188. package/ts/types/Interface/models/IReport.ts +3 -0
  189. package/ts/types/Interface/models/IReportMessage.ts +16 -0
  190. package/ts/types/Interface/models/ISocietyDetail.ts +12 -0
  191. package/ts/types/index.ts +4 -0
  192. package/ts/utils/checkup.ts +774 -0
@@ -10,6 +10,9 @@ export class QueryReports {
10
10
  @ApiPropertyOptional()
11
11
  idService?: number;
12
12
 
13
+ @ApiPropertyOptional()
14
+ idServiceConcerned?: number;
15
+
13
16
  @ApiPropertyOptional()
14
17
  id?: number;
15
18
 
@@ -9,5 +9,6 @@ export interface UpdateReport extends IReport {
9
9
  informerjlb?: boolean,
10
10
  ressenti?: number,
11
11
  action?: number,
12
+ idReport?: number,
12
13
  societyUsers?: IUser[]
13
14
  }
@@ -0,0 +1,8 @@
1
+ import { IsInt } from 'class-validator';
2
+ import { ApiProperty } from '../../../../utils';
3
+
4
+ export class QueryAllReportMessage {
5
+ @ApiProperty()
6
+ @IsInt()
7
+ idReport: number;
8
+ }
@@ -7,6 +7,7 @@ export interface ICustomerAcceptance {
7
7
  idCustomerIsRegime?: number | null;
8
8
  idCustomerVat?: number | null;
9
9
  idBalanceSheet?: number | null;
10
+ idReport?: number | null;
10
11
  createdAt?: Date | null;
11
12
  updatedAt?: Date | null;
12
13
 
@@ -3,6 +3,7 @@ import { IUserRoomEquipment } from '././IUserRoomEquipment';
3
3
 
4
4
  export interface IEquipment {
5
5
  id?: number;
6
+ idStorageArea?: number | null;
6
7
  reference?: string | null;
7
8
  brand: string;
8
9
  type: EquipmentType;
@@ -27,9 +27,10 @@ export interface IPrestation {
27
27
  toConstitution: number;
28
28
  dateValidPrestation: Date | null;
29
29
  goToOnboarding: Date | null;
30
- dateLeavingOnboarding: Date | null;
30
+ dateLeavingOnboarding?: Date | null;
31
31
  goToClient: Date | null;
32
- goToFacturation: Date | null;
32
+ goToFacturation?: Date | null;
33
+ dateLeavingFacturation?: Date | null;
33
34
  scoring: number | null;
34
35
  state: boolean;
35
36
  commentPdf: string | null;
@@ -7,8 +7,11 @@ export interface IReport {
7
7
  idSociety?: number | null;
8
8
  idReportType?: number | null;
9
9
  idCalendarEvent?: number;
10
+ idServiceConcerned?: number | null;
11
+ idService?: number | null;
10
12
  idLetterType?: number | null;
11
13
  declareSoupcons?: boolean | null;
14
+ token?: string | null;
12
15
  state?: number | null;
13
16
  compensationAmount?: number | null;
14
17
  compensationDate?: Date | null;
@@ -0,0 +1,16 @@
1
+ import { IReport } from './IReport';
2
+ import { IUser } from './IUser';
3
+
4
+ // report
5
+ export interface IReportMessage {
6
+ id?: number;
7
+ idReport: number;
8
+ idUser: number;
9
+ message?: string | null;
10
+ createdAt?: Date | null;
11
+ updatedAt?: Date | null;
12
+
13
+ // Associations
14
+ report?: IReport;
15
+ user?: IUser;
16
+ }
@@ -7,17 +7,22 @@ export interface ISocietyDetail {
7
7
  id?: number;
8
8
  detailActivity?: string | null;
9
9
  historyComments?: string | null;
10
+ hasBillingSoftware?: boolean | null;
10
11
  isLoans?: string | null;
11
12
  loans?: string | null;
12
13
  personnalContribution?: string | null;
14
+ listBanks?: string | null;
13
15
  nbBanks?: string | null;
14
16
  nbBankaccounts?: number | null;
15
17
  isCashdesk?: boolean | null;
16
18
  nbTva?: number | null;
19
+ ribSentToTaxDepartment?: string | null;
17
20
  professionnalRent?: string | null;
18
21
  isPersoAdress?: string | null;
19
22
  vehicle?: string | null;
20
23
  interestOtherCompanies?: string | null;
24
+ areOtherCompaniesOnOurBrand?: string | null;
25
+ listTva?: string | null;
21
26
  nbAssociates?: number | null;
22
27
  nbEmployees?: number | null;
23
28
  hiringPromess?: string | null;
@@ -40,6 +45,9 @@ export interface ISocietyDetail {
40
45
  fiscalControl?: string | null;
41
46
  descriptionFormation?: string | null;
42
47
  fonctionAndInterlocutors?: string | null;
48
+ listQualities?: string | null;
49
+ averageCustomerRegulationTime?: string | null;
50
+ averageSupplierRegulationTime?: string | null;
43
51
  managementKnowledge?: string | null;
44
52
  otherIncome?: string | null;
45
53
  politicalResponsability?: string | null;
@@ -50,10 +58,12 @@ export interface ISocietyDetail {
50
58
  billingSoftware?: string | null;
51
59
  collectionSystem?: string | null;
52
60
  flowSheet?: string | null;
61
+ officeType?: string | null;
53
62
  rankFiles?: string | null;
54
63
  specificNeeds?: string | null;
55
64
  configAccount?: boolean | null;
56
65
  investissement?: string | null;
66
+ investissementTypes?: string | null;
57
67
  workInternationnal?: string | null;
58
68
  creationEntreprise?: string | null;
59
69
  oldActivite?: string | null;
@@ -81,12 +91,14 @@ export interface ISocietyDetail {
81
91
  honorLoanAmount?: string | null;
82
92
  financingStartingStock?: string | null;
83
93
  financingStartingStockAmount?: string | null;
94
+ contributionTypes?: string | null;
84
95
  yearSocietyCreation?: string | null;
85
96
  lastExerciceCA?: string | null;
86
97
  borrowingInProgress?: string | null;
87
98
  borrowingInProgressAmount?: string | null;
88
99
  investissementCTMT?: string | null;
89
100
  changeECReason?: string | null;
101
+ listReasonsWhyChangingEC?: string | null;
90
102
  isSocietyCreation?: boolean | null;
91
103
  participationsInOtherSociety?: string | null;
92
104
  entrepriseProject?: boolean;
package/ts/types/index.ts CHANGED
@@ -152,6 +152,7 @@ export * from './Interface/models/IRegisterCategory';
152
152
  export * from './Interface/models/IRegulate';
153
153
  export * from './Interface/models/IRegulation';
154
154
  export * from './Interface/models/IReport';
155
+ export * from './Interface/models/IReportMessage';
155
156
  export * from './Interface/models/IRole';
156
157
  export * from './Interface/models/IRoleUser';
157
158
  export * from './Interface/models/IRoom';
@@ -347,6 +348,7 @@ export * from './Enum/CommercialGrade';
347
348
  export * from './Enum/CommercialOfferType';
348
349
  export * from './Enum/CommercialManagement';
349
350
  export * from './Enum/Civility';
351
+ export * from './Enum/Constants';
350
352
  export * from './Enum/Registration';
351
353
  export * from './Enum/Aspone';
352
354
  export * from './Enum/ProfitsType';
@@ -745,6 +747,7 @@ export * from './Interface/api/report/DeleteReport';
745
747
  export * from './Interface/api/report/QueryReports';
746
748
  export * from './Interface/api/report/QueryReportsStats';
747
749
  export * from './Interface/api/report/QueryReportsForLetter';
750
+ export * from './Interface/api/reportMessage/Query';
748
751
  export * from './Interface/api/letter/CreateLetter';
749
752
  export * from './Interface/api/mailInvoice/CreateInvoiceMail';
750
753
  export * from './Interface/api/mailInvoice/UpdateInvoiceMail';
@@ -1036,6 +1039,7 @@ export * from '../utils/phone';
1036
1039
  export * from '../utils/payment';
1037
1040
  export * from '../utils/checklist';
1038
1041
  export * from '../utils/date';
1042
+ export * from '../utils/checkup';
1039
1043
  export * from '../utils/noLodash';
1040
1044
  export * from '../utils/vat';
1041
1045
  export * from './Interface/api/affectedPatrimony/CreateAffectedPatrimony';