@silexpert/core 1.1.371 → 1.1.373

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 (139) hide show
  1. package/dist/cjs/api/resources/3cx.d.ts +3 -1
  2. package/dist/cjs/api/resources/3cx.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/3cx.js +6 -0
  4. package/dist/cjs/api/resources/3cx.js.map +1 -1
  5. package/dist/cjs/api/resources/Card.d.ts +2 -1
  6. package/dist/cjs/api/resources/Card.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Card.js +3 -0
  8. package/dist/cjs/api/resources/Card.js.map +1 -1
  9. package/dist/cjs/api/resources/TerminationList.d.ts +2 -2
  10. package/dist/cjs/api/resources/TerminationList.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/TerminationList.js.map +1 -1
  12. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts +1 -1
  13. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  14. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.js +1 -1
  15. package/dist/cjs/types/Enum/BalanceSheetQuestionWording.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 +6 -0
  19. package/dist/cjs/types/Enum/ReasonTerminationType.js.map +1 -1
  20. package/dist/cjs/types/Enum/RegistrationSource.d.ts +1 -0
  21. package/dist/cjs/types/Enum/RegistrationSource.d.ts.map +1 -1
  22. package/dist/cjs/types/Enum/RegistrationSource.js +1 -0
  23. package/dist/cjs/types/Enum/RegistrationSource.js.map +1 -1
  24. package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.d.ts +6 -0
  25. package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.d.ts.map +1 -0
  26. package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.js +36 -0
  27. package/dist/cjs/types/Interface/api/3cx/Query3cxMeeting.js.map +1 -0
  28. package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.d.ts +14 -0
  29. package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.d.ts.map +1 -0
  30. package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.js +10 -0
  31. package/dist/cjs/types/Interface/api/3cx/Read3cxMeeting.js.map +1 -0
  32. package/dist/cjs/types/Interface/api/3cx/Update3cxMeeting.d.ts +10 -0
  33. package/dist/cjs/types/Interface/api/3cx/Update3cxMeeting.d.ts.map +1 -0
  34. package/dist/cjs/types/Interface/api/3cx/Update3cxMeeting.js +46 -0
  35. package/dist/cjs/types/Interface/api/3cx/Update3cxMeeting.js.map +1 -0
  36. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts +1 -0
  37. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts.map +1 -1
  38. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.js +4 -0
  39. package/dist/cjs/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -1
  40. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +4 -0
  41. package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  42. package/dist/cjs/types/Interface/api/card/QueryUserCards.js +16 -1
  43. package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  44. package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +1 -0
  45. package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -1
  46. package/dist/cjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -1
  47. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +1 -0
  48. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
  49. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +6 -0
  50. package/dist/cjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
  51. package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.d.ts +24 -3
  52. package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -1
  53. package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.js +119 -1
  54. package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
  55. package/dist/cjs/types/Interface/models/ICalendarEvent.d.ts +1 -0
  56. package/dist/cjs/types/Interface/models/ICalendarEvent.d.ts.map +1 -1
  57. package/dist/cjs/types/Interface/models/ICalendarEvent.js.map +1 -1
  58. package/dist/cjs/types/index.d.ts +3 -0
  59. package/dist/cjs/types/index.d.ts.map +1 -1
  60. package/dist/cjs/types/index.js +3 -0
  61. package/dist/cjs/types/index.js.map +1 -1
  62. package/dist/mjs/api/resources/3cx.d.ts +3 -1
  63. package/dist/mjs/api/resources/3cx.d.ts.map +1 -1
  64. package/dist/mjs/api/resources/3cx.js +6 -0
  65. package/dist/mjs/api/resources/3cx.js.map +1 -1
  66. package/dist/mjs/api/resources/Card.d.ts +2 -1
  67. package/dist/mjs/api/resources/Card.d.ts.map +1 -1
  68. package/dist/mjs/api/resources/Card.js +6 -0
  69. package/dist/mjs/api/resources/Card.js.map +1 -1
  70. package/dist/mjs/api/resources/TerminationList.d.ts +2 -2
  71. package/dist/mjs/api/resources/TerminationList.d.ts.map +1 -1
  72. package/dist/mjs/api/resources/TerminationList.js.map +1 -1
  73. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts +1 -1
  74. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.d.ts.map +1 -1
  75. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js +1 -1
  76. package/dist/mjs/types/Enum/BalanceSheetQuestionWording.js.map +1 -1
  77. package/dist/mjs/types/Enum/ReasonTerminationType.d.ts +2 -1
  78. package/dist/mjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
  79. package/dist/mjs/types/Enum/ReasonTerminationType.js +6 -0
  80. package/dist/mjs/types/Enum/ReasonTerminationType.js.map +1 -1
  81. package/dist/mjs/types/Enum/RegistrationSource.d.ts +1 -0
  82. package/dist/mjs/types/Enum/RegistrationSource.d.ts.map +1 -1
  83. package/dist/mjs/types/Enum/RegistrationSource.js +1 -0
  84. package/dist/mjs/types/Enum/RegistrationSource.js.map +1 -1
  85. package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.d.ts +6 -0
  86. package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.d.ts.map +1 -0
  87. package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.js +35 -0
  88. package/dist/mjs/types/Interface/api/3cx/Query3cxMeeting.js.map +1 -0
  89. package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.d.ts +14 -0
  90. package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.d.ts.map +1 -0
  91. package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.js +14 -0
  92. package/dist/mjs/types/Interface/api/3cx/Read3cxMeeting.js.map +1 -0
  93. package/dist/mjs/types/Interface/api/3cx/Update3cxMeeting.d.ts +10 -0
  94. package/dist/mjs/types/Interface/api/3cx/Update3cxMeeting.d.ts.map +1 -0
  95. package/dist/mjs/types/Interface/api/3cx/Update3cxMeeting.js +41 -0
  96. package/dist/mjs/types/Interface/api/3cx/Update3cxMeeting.js.map +1 -0
  97. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts +1 -0
  98. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.d.ts.map +1 -1
  99. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.js +5 -0
  100. package/dist/mjs/types/Interface/api/calendarEvent/createCalendarEvent.js.map +1 -1
  101. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +4 -0
  102. package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
  103. package/dist/mjs/types/Interface/api/card/QueryUserCards.js +18 -2
  104. package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
  105. package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts +1 -0
  106. package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.d.ts.map +1 -1
  107. package/dist/mjs/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.js.map +1 -1
  108. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts +1 -0
  109. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.d.ts.map +1 -1
  110. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js +7 -0
  111. package/dist/mjs/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.js.map +1 -1
  112. package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.d.ts +24 -3
  113. package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -1
  114. package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.js +136 -0
  115. package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
  116. package/dist/mjs/types/Interface/models/ICalendarEvent.d.ts +1 -0
  117. package/dist/mjs/types/Interface/models/ICalendarEvent.d.ts.map +1 -1
  118. package/dist/mjs/types/Interface/models/ICalendarEvent.js.map +1 -1
  119. package/dist/mjs/types/index.d.ts +3 -0
  120. package/dist/mjs/types/index.d.ts.map +1 -1
  121. package/dist/mjs/types/index.js +3 -0
  122. package/dist/mjs/types/index.js.map +1 -1
  123. package/package.json +1 -1
  124. package/ts/api/resources/3cx.ts +9 -0
  125. package/ts/api/resources/Card.ts +8 -1
  126. package/ts/api/resources/TerminationList.ts +2 -2
  127. package/ts/types/Enum/BalanceSheetQuestionWording.ts +1 -1
  128. package/ts/types/Enum/ReasonTerminationType.ts +6 -0
  129. package/ts/types/Enum/RegistrationSource.ts +1 -0
  130. package/ts/types/Interface/api/3cx/Query3cxMeeting.ts +19 -0
  131. package/ts/types/Interface/api/3cx/Read3cxMeeting.ts +16 -0
  132. package/ts/types/Interface/api/3cx/Update3cxMeeting.ts +26 -0
  133. package/ts/types/Interface/api/calendarEvent/createCalendarEvent.ts +3 -0
  134. package/ts/types/Interface/api/card/QueryUserCards.ts +14 -2
  135. package/ts/types/Interface/api/companyCreationForm/CompanyCreationFormPayload.ts +1 -0
  136. package/ts/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.ts +5 -0
  137. package/ts/types/Interface/api/terminationList/CreateTerminationList.ts +101 -3
  138. package/ts/types/Interface/models/ICalendarEvent.ts +1 -0
  139. package/ts/types/index.ts +3 -0
@@ -139,7 +139,7 @@ export enum QuestionWording {
139
139
  '39_DECIES_G' = 'Art. 39 decies G',
140
140
 
141
141
  DEFERRED_CARRY_BACK_DEFICITS = 'Avez-vous un déficit reporté en arrière ?',
142
- CARRIED_FORWARD_PREVIOUS_DEFICIT = 'Avez-vous des déficits antérieurs reportables ?',
142
+ CARRIED_FORWARD_PREVIOUS_DEFICIT = 'Avez-vous des déficits antérieurs reportables imputés sur le résultat ?',
143
143
 
144
144
  '2033_LONG_RUN_NET_CAPITAL_LOSS_AT_15_RATE' = 'Moins-values nettes à long terme imposées aux taux de 15% (12,80% pour les entreprises à l\'IR)',
145
145
  '2033_LONG_RUN_NET_CAPITAL_LOSS_AT_0_RATE' = 'Moins-values nettes à long terme imporsées aux taux de 0%',
@@ -19,6 +19,7 @@ export enum ReasonTerminationType {
19
19
  BRAND_CHANGE = 18,
20
20
  SERVICE_DELAYS = 19,
21
21
  LACK_OF_ADVICE = 20,
22
+ NA = 21,
22
23
  }
23
24
 
24
25
  export const ReasonTerminationTypeDetail = [
@@ -122,4 +123,9 @@ export const ReasonTerminationTypeDetail = [
122
123
  label: 'Manque de conseil',
123
124
  active: true,
124
125
  },
126
+ {
127
+ id:ReasonTerminationType.NA,
128
+ label: 'Non précisé',
129
+ active: true,
130
+ },
125
131
  ];
@@ -3,5 +3,6 @@ export enum RegistrationSource {
3
3
  CHAT = 29,
4
4
  COMPANEO = 32,
5
5
  ONLINE_SUBSCRIPTION = 70,
6
+ NEWSLETTER = 76,
6
7
  PARTNERED_ACCOUNTANT = 90,
7
8
  }
@@ -0,0 +1,19 @@
1
+ import { IsInt, IsOptional, IsString } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class Query3cxMeeting {
5
+ @ApiPropertyOptional()
6
+ @IsString()
7
+ @IsOptional()
8
+ subjectContains?: string;
9
+
10
+ @ApiPropertyOptional()
11
+ @IsInt()
12
+ @IsOptional()
13
+ daysLimit?: number;
14
+
15
+ @ApiPropertyOptional()
16
+ @IsInt()
17
+ @IsOptional()
18
+ extension?: number;
19
+ }
@@ -0,0 +1,16 @@
1
+
2
+ export class ReadData3cxMeeting {
3
+ extension: number | null;
4
+ name: string | null;
5
+ meetingid: string | null;
6
+ subject: string | null;
7
+ datetime: string | null;
8
+ duration: number | null;
9
+ participants: number | null;
10
+ type: string | null;
11
+ }
12
+
13
+
14
+ export class Read3cxMeeting {
15
+ scheduledMeetings: ReadData3cxMeeting[];
16
+ }
@@ -0,0 +1,26 @@
1
+ import { IsArray, IsString } from 'class-validator';
2
+ import { ApiProperty } from '../../../../utils';
3
+
4
+ export class Update3cxContactMeeting {
5
+ @ApiProperty()
6
+ @IsString()
7
+ declare name: string;
8
+
9
+ @ApiProperty()
10
+ @IsString()
11
+ declare email: string;
12
+
13
+ @ApiProperty()
14
+ @IsString()
15
+ declare role: 'Participant' | 'CoHost';
16
+ }
17
+
18
+ export class Update3cxMeeting {
19
+ @ApiProperty()
20
+ @IsArray()
21
+ declare contact: JSON;
22
+
23
+ @ApiProperty()
24
+ @IsString()
25
+ declare meetingId: string;
26
+ }
@@ -34,6 +34,9 @@ export class createCalendarEvent {
34
34
  @ApiPropertyOptional()
35
35
  idTimeCounterType?: number;
36
36
 
37
+ @ApiPropertyOptional()
38
+ idTimeSlot?: number;
39
+
37
40
  @ApiPropertyOptional()
38
41
  typeComptable?: number;
39
42
 
@@ -1,5 +1,5 @@
1
- import { IsArray, IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
2
- import { ApiPropertyOptional } from '../../../../utils';
1
+ import { IsArray, IsBoolean, IsDate, IsEnum, IsInt, IsOptional, IsString, Min } from 'class-validator';
2
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { CardType, CardState } from '../../../Enum/Card';
4
4
  import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
5
5
 
@@ -46,6 +46,18 @@ export class QueryUserCards {
46
46
  declare includePostponed?: boolean;
47
47
  }
48
48
 
49
+ export class QueryUserCardsPaginated extends QueryUserCards {
50
+ @ApiProperty()
51
+ @IsInt()
52
+ @Min(1)
53
+ page: number;
54
+
55
+ @ApiProperty()
56
+ @IsInt()
57
+ @Min(1)
58
+ limit: number;
59
+ }
60
+
49
61
  /**
50
62
  * @deprecated Use QueryUserCards instead
51
63
  */
@@ -16,6 +16,7 @@ export interface CompanyCreationFormPayload {
16
16
  * Régime de TVA
17
17
  */
18
18
  idVatRegime?: VatRegime;
19
+ wantSettlementPayment?: string;
19
20
  /**
20
21
  * Régime fiscal
21
22
  */
@@ -496,6 +496,11 @@ export class CreateCompanyCreationFormData implements CompanyCreationFormPayload
496
496
  @IsString()
497
497
  fiscalRegime?: string;
498
498
 
499
+ @ApiPropertyOptional()
500
+ @IsOptional()
501
+ @IsString()
502
+ wantSettlementPayment?: string;
503
+
499
504
  /**
500
505
  * Dirigeants et associés
501
506
  */
@@ -17,6 +17,11 @@ export class CreateTerminationList {
17
17
  @IsInt()
18
18
  idTerminationState?: number;
19
19
 
20
+ @ApiPropertyOptional()
21
+ @IsOptional()
22
+ @IsInt()
23
+ idTerminationConclusion?: number;
24
+
20
25
  @ApiPropertyOptional()
21
26
  @IsOptional()
22
27
  @IsString()
@@ -62,17 +67,17 @@ export class CreateTerminationList {
62
67
  @ApiPropertyOptional()
63
68
  @IsOptional()
64
69
  @IsNumber()
65
- monthlyPrice: number;
70
+ monthlyPrice?: number;
66
71
 
67
72
  @ApiPropertyOptional()
68
73
  @IsOptional()
69
74
  @IsInt()
70
- monthNumber: number;
75
+ monthNumber?: number;
71
76
 
72
77
  @ApiPropertyOptional()
73
78
  @IsOptional()
74
79
  @IsInt()
75
- monthOffer: number;
80
+ monthOffer?: number;
76
81
 
77
82
  @ApiPropertyOptional()
78
83
  @IsOptional()
@@ -98,6 +103,99 @@ export class CreateTerminationList {
98
103
  @ToBoolean()
99
104
  needPaymentLink?: boolean;
100
105
 
106
+ @ApiPropertyOptional()
107
+ @IsOptional()
108
+ @IsNumber()
109
+ totalAmount?: number;
110
+ }
111
+
112
+ export class UpdateTerminationList {
113
+ @ApiPropertyOptional()
114
+ @IsOptional()
115
+ @IsInt()
116
+ idTerminationType?: number;
117
+
118
+ @ApiPropertyOptional()
119
+ @IsOptional()
120
+ @IsInt()
121
+ idTerminationState?: number;
122
+
123
+ @ApiPropertyOptional()
124
+ @IsOptional()
125
+ @IsInt()
126
+ idTerminationConclusion?: number;
127
+
128
+ @ApiPropertyOptional()
129
+ @IsOptional()
130
+ @IsString()
131
+ comment?: string;
132
+
133
+ @ApiPropertyOptional()
134
+ @IsOptional()
135
+ @IsDate()
136
+ effectiveDate?: Date;
137
+
138
+ @ApiPropertyOptional()
139
+ @IsOptional()
140
+ @IsInt()
141
+ idExercice?: number | null;
142
+
143
+ @ApiPropertyOptional()
144
+ @IsOptional()
145
+ @IsDate()
146
+ endContractDate?: Date;
147
+
148
+ @ApiPropertyOptional()
149
+ @IsOptional()
150
+ @IsBoolean()
151
+ @ToBoolean()
152
+ refund?: boolean;
153
+
154
+ @ApiPropertyOptional()
155
+ @IsOptional()
156
+ @IsInt()
157
+ refundAmount?: number;
158
+
159
+ @ApiPropertyOptional()
160
+ @IsOptional()
161
+ @IsInt()
162
+ idRefund?: number;
163
+
164
+ @ApiPropertyOptional()
165
+ @IsOptional()
166
+ @IsNumber()
167
+ monthlyPrice?: number;
168
+
169
+ @ApiPropertyOptional()
170
+ @IsOptional()
171
+ @IsInt()
172
+ monthNumber?: number;
173
+
174
+ @ApiPropertyOptional()
175
+ @IsOptional()
176
+ @IsInt()
177
+ monthOffer?: number;
178
+
179
+ @ApiPropertyOptional()
180
+ @IsOptional()
181
+ @IsInt({ each: true })
182
+ idReasonTermination?: number[];
183
+
184
+ @ApiPropertyOptional()
185
+ @IsOptional()
186
+ @IsInt()
187
+ idSociety?: number;
188
+
189
+ @ApiPropertyOptional()
190
+ @IsOptional()
191
+ @IsInt()
192
+ idPrestation?: number;
193
+
194
+ @ApiPropertyOptional()
195
+ @IsOptional()
196
+ @IsInt()
197
+ idCollaborateur?: number;
198
+
101
199
  @ApiPropertyOptional()
102
200
  @IsOptional()
103
201
  @IsNumber()
@@ -19,6 +19,7 @@ export interface ICalendarEvent {
19
19
  idSociety: number | null;
20
20
  idExercice: number | null;
21
21
  idTimeCounterType: number | null;
22
+ idTimeSlot: number | null;
22
23
  typeComptable: number | null;
23
24
  isDone: boolean;
24
25
  callState: number | null;
package/ts/types/index.ts CHANGED
@@ -967,7 +967,10 @@ export * from './Interface/api/task/QueryStatsByTaskTypeInCsv';
967
967
  export * from './Interface/api/societyConfigBalanceSheet/QueryPaginatedSocietyConfigBalanceSheet';
968
968
  export * from './Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet';
969
969
  export * from './Interface/api/3cx/Query3cxSearch';
970
+ export * from './Interface/api/3cx/Query3cxMeeting';
971
+ export * from './Interface/api/3cx/Update3cxMeeting';
970
972
  export * from './Interface/api/3cx/Read3cxSearch';
973
+ export * from './Interface/api/3cx/Read3cxMeeting';
971
974
  export * from './Interface/api/3cx/Create3cxLog';
972
975
  export * from './Interface/api/amount/FormattedAmount';
973
976
  export * from './Interface/api/customerActivity/CreateCustomerActivityReport';