@silexpert/core 0.4.189 → 0.4.193

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 (120) 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 +1 -0
  6. package/es/api/resources/Mail.d.ts.map +1 -1
  7. package/es/api/resources/Mail.js +3 -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/SalariesType.d.ts.map +1 -1
  26. package/es/types/Enum/SalariesType.js +8 -2
  27. package/es/types/Enum/SalariesType.js.map +1 -1
  28. package/es/types/Enum/TypeBankConnection.d.ts +2 -1
  29. package/es/types/Enum/TypeBankConnection.d.ts.map +1 -1
  30. package/es/types/Enum/TypeBankConnection.js +1 -0
  31. package/es/types/Enum/TypeBankConnection.js.map +1 -1
  32. package/es/types/Interface/api/budgetInsight/Query.d.ts +7 -0
  33. package/es/types/Interface/api/budgetInsight/Query.d.ts.map +1 -1
  34. package/es/types/Interface/api/budgetInsight/Query.js.map +1 -1
  35. package/es/types/Interface/api/calendarEvent/createCalendarEvent.d.ts +18 -0
  36. package/es/types/Interface/api/calendarEvent/createCalendarEvent.d.ts.map +1 -0
  37. package/es/types/Interface/api/calendarEvent/createCalendarEvent.js +73 -0
  38. package/es/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -0
  39. package/es/types/Interface/api/mail/CreateMailParams.d.ts +7 -0
  40. package/es/types/Interface/api/mail/CreateMailParams.d.ts.map +1 -1
  41. package/es/types/Interface/api/mail/CreateMailParams.js.map +1 -1
  42. package/es/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.d.ts +10 -0
  43. package/es/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.d.ts.map +1 -0
  44. package/es/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.js +2 -0
  45. package/es/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.js.map +1 -0
  46. package/es/types/Interface/models/IAttestation.d.ts +3 -3
  47. package/es/types/Interface/models/IAttestation.d.ts.map +1 -1
  48. package/es/types/Interface/models/IAttestation.js.map +1 -1
  49. package/es/types/Interface/models/IBusinessLineUser.d.ts +8 -0
  50. package/es/types/Interface/models/IBusinessLineUser.d.ts.map +1 -0
  51. package/es/types/Interface/models/IBusinessLineUser.js +2 -0
  52. package/es/types/Interface/models/IBusinessLineUser.js.map +1 -0
  53. package/es/types/Interface/models/ICustomerTva.d.ts +2 -2
  54. package/es/types/Interface/models/ICustomerTva.d.ts.map +1 -1
  55. package/es/types/Interface/models/ICustomerTva.js.map +1 -1
  56. package/es/types/Interface/models/ILetter.d.ts +3 -0
  57. package/es/types/Interface/models/ILetter.d.ts.map +1 -1
  58. package/es/types/Interface/models/ILetter.js.map +1 -1
  59. package/es/types/Interface/models/INafCode.d.ts +11 -0
  60. package/es/types/Interface/models/INafCode.d.ts.map +1 -0
  61. package/es/types/Interface/models/INafCode.js +2 -0
  62. package/es/types/Interface/models/INafCode.js.map +1 -0
  63. package/es/types/Interface/models/IReport.d.ts +1 -0
  64. package/es/types/Interface/models/IReport.d.ts.map +1 -1
  65. package/es/types/Interface/models/IReport.js.map +1 -1
  66. package/es/types/Interface/models/ISheetMonthScheduleDetails.d.ts +2 -0
  67. package/es/types/Interface/models/ISheetMonthScheduleDetails.d.ts.map +1 -1
  68. package/es/types/Interface/models/ISheetMonthScheduleDetails.js.map +1 -1
  69. package/es/types/index.d.ts +4 -0
  70. package/es/types/index.d.ts.map +1 -1
  71. package/es/types/index.js +4 -0
  72. package/es/types/index.js.map +1 -1
  73. package/js/api/resources/Employee.js +1 -1
  74. package/js/api/resources/Employee.js.map +1 -1
  75. package/js/api/resources/Mail.js +6 -0
  76. package/js/api/resources/Mail.js.map +1 -1
  77. package/js/api/resources/NafCode.js +22 -0
  78. package/js/api/resources/NafCode.js.map +1 -0
  79. package/js/api/resources/SheetMonthSchedule.js +1 -5
  80. package/js/api/resources/SheetMonthSchedule.js.map +1 -1
  81. package/js/api/resources.js +4 -1
  82. package/js/api/resources.js.map +1 -1
  83. package/js/types/Enum/MailAuto.js +119 -0
  84. package/js/types/Enum/MailAuto.js.map +1 -0
  85. package/js/types/Enum/SalariesType.js +3 -2
  86. package/js/types/Enum/SalariesType.js.map +1 -1
  87. package/js/types/Enum/TypeBankConnection.js +1 -0
  88. package/js/types/Enum/TypeBankConnection.js.map +1 -1
  89. package/js/types/Interface/api/budgetInsight/Query.js.map +1 -1
  90. package/js/types/Interface/api/calendarEvent/createCalendarEvent.js +55 -0
  91. package/js/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -0
  92. package/js/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.js +6 -0
  93. package/js/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.js.map +1 -0
  94. package/js/types/Interface/models/IBusinessLineUser.js +6 -0
  95. package/js/types/Interface/models/IBusinessLineUser.js.map +1 -0
  96. package/js/types/Interface/models/INafCode.js +6 -0
  97. package/js/types/Interface/models/INafCode.js.map +1 -0
  98. package/js/types/index.js +48 -0
  99. package/js/types/index.js.map +1 -1
  100. package/package.json +1 -1
  101. package/ts/api/resources/Employee.ts +2 -2
  102. package/ts/api/resources/Mail.ts +4 -0
  103. package/ts/api/resources/NafCode.ts +10 -0
  104. package/ts/api/resources/SheetMonthSchedule.ts +1 -5
  105. package/ts/api/resources.ts +2 -0
  106. package/ts/types/Enum/MailAuto.ts +111 -0
  107. package/ts/types/Enum/SalariesType.ts +10 -2
  108. package/ts/types/Enum/TypeBankConnection.ts +1 -0
  109. package/ts/types/Interface/api/budgetInsight/Query.ts +8 -0
  110. package/ts/types/Interface/api/calendarEvent/createCalendarEvent.ts +48 -0
  111. package/ts/types/Interface/api/mail/CreateMailParams.ts +7 -0
  112. package/ts/types/Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule.ts +10 -0
  113. package/ts/types/Interface/models/IAttestation.ts +3 -3
  114. package/ts/types/Interface/models/IBusinessLineUser.ts +8 -0
  115. package/ts/types/Interface/models/ICustomerTva.ts +2 -2
  116. package/ts/types/Interface/models/ILetter.ts +3 -0
  117. package/ts/types/Interface/models/INafCode.ts +12 -0
  118. package/ts/types/Interface/models/IReport.ts +1 -0
  119. package/ts/types/Interface/models/ISheetMonthScheduleDetails.ts +2 -1
  120. package/ts/types/index.ts +4 -0
@@ -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
  }
@@ -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;
@@ -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';
@@ -536,6 +538,7 @@ export * from './Interface/api/log/QueryLogPagination';
536
538
  export * from './Interface/api/employee/QueryEmployeeSearch';
537
539
  export * from './Interface/api/employee/QueryCreateEmployee';
538
540
  export * from './Interface/api/employee/QueryUpdateEmployee';
541
+ export * from './Interface/api/workingSchedule/UpdateOrCreateWorkingSchedule';
539
542
 
540
543
  // export * from './Interface/api/survey/QuerySurvey';
541
544
  export * from './Interface/api/survey/ReadSurvey';
@@ -683,6 +686,7 @@ export * from './Interface/api/balanceSheetModule/PrepareModulesAndCompletions';
683
686
  export * from './Interface/api/balanceSheetModule/ReadPrepareModulesAndCompletions';
684
687
  export * from './Interface/api/bankAccount/ReadExpiredBankAccount';
685
688
  export * from './Interface/api/sheetMonthSchedule/QuerySheetMonthSchedule';
689
+ export * from './Interface/api/calendarEvent/createCalendarEvent';
686
690
 
687
691
  // Enums types
688
692
  export * from './Interface/enum/Util';