@silexpert/core 1.2.9 → 1.2.11

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 (48) hide show
  1. package/dist/cjs/api/resources/TimeRecorder.d.ts +2 -2
  2. package/dist/cjs/api/resources/TimeRecorder.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/TimeRecorder.js +4 -4
  4. package/dist/cjs/api/resources/TimeRecorder.js.map +1 -1
  5. package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts +1 -0
  6. package/dist/cjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
  7. package/dist/cjs/types/Enum/BalanceSheetQuestion.js +1 -0
  8. package/dist/cjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
  9. package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
  10. package/dist/cjs/types/Enum/BrandClementine.js +5 -1
  11. package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
  12. package/dist/cjs/types/Enum/BrandLegalstart.js +1 -1
  13. package/dist/cjs/types/Enum/BrandLegalstart.js.map +1 -1
  14. package/dist/cjs/types/Enum/IncomeStatement.js +1 -1
  15. package/dist/cjs/types/Enum/IncomeStatement.js.map +1 -1
  16. package/dist/cjs/utils/checklist.d.ts.map +1 -1
  17. package/dist/cjs/utils/checklist.js +5 -1
  18. package/dist/cjs/utils/checklist.js.map +1 -1
  19. package/dist/cjs/utils/commercialManagement/internationalization/choices.js +27 -27
  20. package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  21. package/dist/mjs/api/resources/TimeRecorder.d.ts +2 -2
  22. package/dist/mjs/api/resources/TimeRecorder.d.ts.map +1 -1
  23. package/dist/mjs/api/resources/TimeRecorder.js +4 -4
  24. package/dist/mjs/api/resources/TimeRecorder.js.map +1 -1
  25. package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts +1 -0
  26. package/dist/mjs/types/Enum/BalanceSheetQuestion.d.ts.map +1 -1
  27. package/dist/mjs/types/Enum/BalanceSheetQuestion.js +1 -0
  28. package/dist/mjs/types/Enum/BalanceSheetQuestion.js.map +1 -1
  29. package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
  30. package/dist/mjs/types/Enum/BrandClementine.js +5 -1
  31. package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
  32. package/dist/mjs/types/Enum/BrandLegalstart.js +1 -1
  33. package/dist/mjs/types/Enum/BrandLegalstart.js.map +1 -1
  34. package/dist/mjs/types/Enum/IncomeStatement.js +1 -1
  35. package/dist/mjs/types/Enum/IncomeStatement.js.map +1 -1
  36. package/dist/mjs/utils/checklist.d.ts.map +1 -1
  37. package/dist/mjs/utils/checklist.js +5 -1
  38. package/dist/mjs/utils/checklist.js.map +1 -1
  39. package/dist/mjs/utils/commercialManagement/internationalization/choices.js +27 -27
  40. package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -1
  41. package/package.json +1 -1
  42. package/ts/api/resources/TimeRecorder.ts +4 -4
  43. package/ts/types/Enum/BalanceSheetQuestion.ts +1 -0
  44. package/ts/types/Enum/BrandClementine.ts +5 -1
  45. package/ts/types/Enum/BrandLegalstart.ts +1 -1
  46. package/ts/types/Enum/IncomeStatement.ts +1 -1
  47. package/ts/utils/checklist.ts +5 -1
  48. package/ts/utils/commercialManagement/internationalization/choices.ts +27 -27
@@ -128,7 +128,8 @@ export const BrandClementine: Brand[] = [
128
128
  commercialName: 'Clementine',
129
129
  urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-clementine/',
130
130
  colors: {
131
- primary: '#16a974',
131
+ primary: '#5363EC',
132
+ primary500: '#5363EC',
132
133
  footerColor: '#f3692f',
133
134
  },
134
135
  listPhones: {
@@ -201,6 +202,7 @@ export const BrandClementine: Brand[] = [
201
202
  },
202
203
  colors: {
203
204
  primary: '#D8192D',
205
+ primary500: '#D8192D',
204
206
  sendContract: '#f3692f',
205
207
  },
206
208
  internalInvoicing: {
@@ -234,6 +236,7 @@ export const BrandClementine: Brand[] = [
234
236
  },
235
237
  colors: {
236
238
  primary: '#f39a00',
239
+ primary500: '#f39a00',
237
240
  footerColor: '#f3692f',
238
241
  },
239
242
  internalInvoicing: {
@@ -311,6 +314,7 @@ export const BrandClementine: Brand[] = [
311
314
  },
312
315
  colors: {
313
316
  primary: '#38A1FF',
317
+ primary500: '#38A1FF',
314
318
  footerColor: '#00A2FF',
315
319
  },
316
320
  internalInvoicing: {
@@ -10,7 +10,7 @@ export const BrandLegalstart: Brand[] = [
10
10
  logoS3: 'config/55624137-0c29-5f16-a079-b2904a6f9e7b.svg',
11
11
  privacyPolicy: 'https://www.legalstart.fr/corp/vie-privee/',
12
12
  colors: {
13
- primary: '#16a974',
13
+ primary: '#5363EC',
14
14
  primary50: '#ECF1FF',
15
15
  primary100: '#DFE7FF',
16
16
  primary300: '#C0D1FA',
@@ -165,7 +165,7 @@ export const INCOME_STATEMENT_LIST: IncomeStatement[] = [
165
165
  {
166
166
  name: 'Autres intérêts et produits assimilés',
167
167
  total: 0,
168
- accounts: ['763', '764', '765', '768'],
168
+ accounts: ['760', '763', '764', '765', '768'],
169
169
  },
170
170
  {
171
171
  name: 'Reprises sur dépréciations, provisions et transferts de charges financières',
@@ -10,6 +10,10 @@ export function getAllBlockingIssues(checklist: IChecklist, meta: QueryGetAllBlo
10
10
 
11
11
  blockingQuestions.forEach((question) => {
12
12
  const answer = answers.find((a) => a.idTypeChecklist === question.id);
13
+ if (question.id === 51) {
14
+ console.log(question);
15
+ console.log(answer);
16
+ }
13
17
 
14
18
  if (!answer) {
15
19
  blockingIssues.push(question);
@@ -33,7 +37,7 @@ export function getAllBlockingIssues(checklist: IChecklist, meta: QueryGetAllBlo
33
37
  blockingIssues.push(question);
34
38
  }
35
39
  } else if ([ChecklistDetailType.SELECT as string, ChecklistDetailType.SWITCH].includes(question.type) && question.name !== ChecklistDetailName.HAS_POLICE) {
36
- if (!answer.value || answer.value === '0') {
40
+ if ((!answer.value && (question.name !== ChecklistDetailName.IS_WAITING_ACCOUNT_RESET && question.name !== ChecklistDetailName.HAS_CLEARED_INTERNAL_TRANSFER)) || answer.value === '0') {
37
41
  blockingIssues.push(question);
38
42
  }
39
43
  }
@@ -243,18 +243,18 @@ export const internationalizationChoices: InternationalizationChoicesType = {
243
243
  vatMention: [
244
244
  'Not affected',
245
245
  'Not applicable',
246
- 'VAT not applicable, art. 293 B of the FGTC',
247
- 'VAT not applicable - Exports outside the EU - Art. 259-1 FGTC',
248
- 'Not subject to VAT under article 261C of the FGTC',
249
- 'Article 261 D of the French General Tax Code (FGTC)',
250
- 'VAT exemption, article 283-2 of the French General Tax Code',
251
- 'VAT exemption: Article 262 ter I of the FGTC',
252
- 'VAT notice 261.4.4 1 of the FGTC',
253
- 'Special regime - Second-hand goods - article 297 A of the FGTC and EC directive 2006/112/EC',
254
- 'Special regime - Works of art - article 297 A of the FGTC and EC directive 2006/112/EC',
255
- 'Special regime – Collector\'s items and antiques - article 297 A of the FGTC and EC directive 2006/112/EC',
256
- 'Special regime - Travel agencies - article 297 A of the FGTC and EC directive 2006/112/EC',
257
- 'Invoice subject to VAT reverse charge system',
246
+ 'VAT not applicable, art. 293 B of the French General Tax Code (FGTC)',
247
+ 'VAT not applicable - Exports outside the EU - Art. 259-1 of the French General Tax Code (FGTC)',
248
+ 'Not subject to VAT according to article 261C of the French General Tax Code (FGTC)',
249
+ 'Article 261D of the French General Tax Code (FGTC)',
250
+ 'VAT exemption, article 283-2 of the French General Tax Code (FGTC)',
251
+ 'VAT exemption: Article 262 ter I of the French General Tax Code (FGTC)',
252
+ 'VAT notice 261.4.4 1 of the French General Tax Code (FGTC)',
253
+ 'Specific regime - Second-hand goods - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',
254
+ 'Specific regime - Works of art - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',
255
+ 'Specific regime – Collectibles and antiques - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',
256
+ 'Specific regime - Travel agencies - article 297 A of the French General Tax Code (FGTC) and Community Directive 2006/112/EC',
257
+ ' Invoice subject to VAT reverse charge system',
258
258
  ],
259
259
  recoveryCost: [
260
260
  'Not applicable',
@@ -264,7 +264,7 @@ export const internationalizationChoices: InternationalizationChoicesType = {
264
264
  'Credit card',
265
265
  'Check',
266
266
  'Cash',
267
- 'Withdrawal',
267
+ 'Direct debit',
268
268
  'Bank transfer',
269
269
  ],
270
270
  },
@@ -272,13 +272,13 @@ export const internationalizationChoices: InternationalizationChoicesType = {
272
272
  template: {
273
273
  common: {
274
274
  headers: {
275
- emissionDate: 'Emission date',
275
+ emissionDate: 'Invoice date',
276
276
  accountingCategory: {
277
- title: 'Accounting category',
277
+ title: 'Transaction type',
278
278
  choices: [
279
- { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Delivery of goods' },
280
- { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Services delivery' },
281
- { id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Services and goods delivery' },
279
+ { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'supply of goods' },
280
+ { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Services provision' },
281
+ { id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Services provision and supply of goods' },
282
282
  ],
283
283
  },
284
284
  },
@@ -289,16 +289,16 @@ export const internationalizationChoices: InternationalizationChoicesType = {
289
289
  marginVat: 'VAT margin scheme',
290
290
  legalVatMention: 'ART 297-A of the FGTC or directive 2006-212 EC',
291
291
  shouldPayTaxAfterDebit: 'Option to pay tax on debits',
292
- penalties: 'Late payment penalties',
292
+ penalties: 'Late fees',
293
293
  discount: 'discount',
294
- recoveryCosts: 'Recovery cost for delays',
294
+ recoveryCosts: 'flat-rate delay compensation',
295
295
  generate: 'Created by',
296
296
  },
297
297
  options: {
298
298
  vatMention: 'VAT mention',
299
299
  paymentType: 'payment type',
300
300
  bank: 'BANK',
301
- approval: 'For apprval',
301
+ approval: 'Agreed and signed',
302
302
  comment: 'Comment',
303
303
 
304
304
  },
@@ -315,7 +315,7 @@ export const internationalizationChoices: InternationalizationChoicesType = {
315
315
  base: 'Base',
316
316
  rate: 'Rate',
317
317
  vatAmount: 'VAT amount',
318
- recap: 'Recap',
318
+ recap: 'Summary',
319
319
  },
320
320
  lines: {
321
321
  totalHt: 'Amount excl. tax',
@@ -337,7 +337,7 @@ export const internationalizationChoices: InternationalizationChoicesType = {
337
337
  },
338
338
  estimate: {
339
339
  headers: {
340
- title: 'Estimate',
340
+ title: 'Quotation',
341
341
  dueDate: 'Valid until',
342
342
  termsOfPayment: 'Term of payment',
343
343
  },
@@ -352,21 +352,21 @@ export const internationalizationChoices: InternationalizationChoicesType = {
352
352
  },
353
353
  deposit: {
354
354
  headers: {
355
- title: 'Deposit',
356
- expirationDate: 'Expiration date',
355
+ title: 'Deposit invoice',
356
+ expirationDate: 'expiry date',
357
357
  termsOfPayment: 'Deadline for payment',
358
358
  },
359
359
  },
360
360
  asset: {
361
361
  headers: {
362
- title: 'Asset',
362
+ title: 'Credit note',
363
363
  dueDate: 'Due date',
364
364
  termsOfPayment: 'Deadline for payment',
365
365
  },
366
366
  },
367
367
  remainder: {
368
368
  headers: {
369
- title: 'Remainder',
369
+ title: 'Balance invoice',
370
370
  dueDate: 'Due date',
371
371
  termsOfPayment: 'Deadline for payment',
372
372
  },