@silexpert/core 1.2.42 → 1.2.44

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 (83) hide show
  1. package/dist/cjs/api/resources/BalanceSheet.d.ts +2 -1
  2. package/dist/cjs/api/resources/BalanceSheet.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/BalanceSheet.js +3 -0
  4. package/dist/cjs/api/resources/BalanceSheet.js.map +1 -1
  5. package/dist/cjs/types/Enum/BalanceSheet.d.ts +4 -4
  6. package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  7. package/dist/cjs/types/Enum/BalanceSheet.js +104 -21
  8. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  9. package/dist/cjs/types/Enum/BankCollectingState.d.ts +2 -1
  10. package/dist/cjs/types/Enum/BankCollectingState.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/BankCollectingState.js +7 -0
  12. package/dist/cjs/types/Enum/BankCollectingState.js.map +1 -1
  13. package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
  14. package/dist/cjs/types/Enum/BrandClementine.js +6 -0
  15. package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
  16. package/dist/cjs/types/Enum/Ged.d.ts +2 -1
  17. package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
  18. package/dist/cjs/types/Enum/Ged.js +2 -0
  19. package/dist/cjs/types/Enum/Ged.js.map +1 -1
  20. package/dist/cjs/types/Enum/ReasonNotSubscribed.d.ts.map +1 -1
  21. package/dist/cjs/types/Enum/ReasonNotSubscribed.js +12 -6
  22. package/dist/cjs/types/Enum/ReasonNotSubscribed.js.map +1 -1
  23. package/dist/cjs/types/Interface/api/PaymentRecovery/Caarl.d.ts +1 -0
  24. package/dist/cjs/types/Interface/api/PaymentRecovery/Caarl.d.ts.map +1 -1
  25. package/dist/cjs/types/Interface/api/PaymentRecovery/Caarl.js.map +1 -1
  26. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts +2 -2
  27. package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  28. package/dist/cjs/types/Interface/api/balanceSheet/Query.js +4 -4
  29. package/dist/cjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  30. package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +1 -0
  31. package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  32. package/dist/cjs/types/Interface/api/commercialManagement/Create.js +6 -0
  33. package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
  34. package/dist/cjs/types/Interface/models/ISocietyGescom.d.ts +1 -0
  35. package/dist/cjs/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
  36. package/dist/cjs/types/Interface/models/ISocietyGescom.js.map +1 -1
  37. package/dist/mjs/api/resources/BalanceSheet.d.ts +2 -1
  38. package/dist/mjs/api/resources/BalanceSheet.d.ts.map +1 -1
  39. package/dist/mjs/api/resources/BalanceSheet.js +6 -0
  40. package/dist/mjs/api/resources/BalanceSheet.js.map +1 -1
  41. package/dist/mjs/types/Enum/BalanceSheet.d.ts +4 -4
  42. package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
  43. package/dist/mjs/types/Enum/BalanceSheet.js +104 -21
  44. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  45. package/dist/mjs/types/Enum/BankCollectingState.d.ts +2 -1
  46. package/dist/mjs/types/Enum/BankCollectingState.d.ts.map +1 -1
  47. package/dist/mjs/types/Enum/BankCollectingState.js +7 -0
  48. package/dist/mjs/types/Enum/BankCollectingState.js.map +1 -1
  49. package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
  50. package/dist/mjs/types/Enum/BrandClementine.js +6 -0
  51. package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
  52. package/dist/mjs/types/Enum/Ged.d.ts +2 -1
  53. package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
  54. package/dist/mjs/types/Enum/Ged.js +2 -0
  55. package/dist/mjs/types/Enum/Ged.js.map +1 -1
  56. package/dist/mjs/types/Enum/ReasonNotSubscribed.d.ts.map +1 -1
  57. package/dist/mjs/types/Enum/ReasonNotSubscribed.js +12 -6
  58. package/dist/mjs/types/Enum/ReasonNotSubscribed.js.map +1 -1
  59. package/dist/mjs/types/Interface/api/PaymentRecovery/Caarl.d.ts +1 -0
  60. package/dist/mjs/types/Interface/api/PaymentRecovery/Caarl.d.ts.map +1 -1
  61. package/dist/mjs/types/Interface/api/PaymentRecovery/Caarl.js.map +1 -1
  62. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts +2 -2
  63. package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
  64. package/dist/mjs/types/Interface/api/balanceSheet/Query.js +5 -5
  65. package/dist/mjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
  66. package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +1 -0
  67. package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  68. package/dist/mjs/types/Interface/api/commercialManagement/Create.js +7 -0
  69. package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
  70. package/dist/mjs/types/Interface/models/ISocietyGescom.d.ts +1 -0
  71. package/dist/mjs/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
  72. package/dist/mjs/types/Interface/models/ISocietyGescom.js.map +1 -1
  73. package/package.json +1 -1
  74. package/ts/api/resources/BalanceSheet.ts +24 -2
  75. package/ts/types/Enum/BalanceSheet.ts +106 -23
  76. package/ts/types/Enum/BankCollectingState.ts +8 -1
  77. package/ts/types/Enum/BrandClementine.ts +6 -0
  78. package/ts/types/Enum/Ged.ts +49 -47
  79. package/ts/types/Enum/ReasonNotSubscribed.ts +12 -6
  80. package/ts/types/Interface/api/PaymentRecovery/Caarl.ts +1 -0
  81. package/ts/types/Interface/api/balanceSheet/Query.ts +5 -5
  82. package/ts/types/Interface/api/commercialManagement/Create.ts +5 -0
  83. package/ts/types/Interface/models/ISocietyGescom.ts +1 -0
@@ -40,7 +40,15 @@ export const BalanceSheetDetails = [
40
40
  text: 'À faire',
41
41
  color: 'grey',
42
42
  textColor: 'grey--text',
43
- forRoles: [['front_office'], ['expert'], ['customer_success'], ['on_boarder'], ['termination'], ['litige'], ['facturation']],
43
+ forRoles: [
44
+ ['front_office'],
45
+ ['expert'],
46
+ ['customer_success'],
47
+ ['on_boarder'],
48
+ ['termination'],
49
+ ['litige'],
50
+ ['facturation'],
51
+ ],
44
52
  },
45
53
  {
46
54
  text: 'En cours de prod.',
@@ -48,7 +56,7 @@ export const BalanceSheetDetails = [
48
56
  alias: 'ENC',
49
57
  color: 'grey',
50
58
  textColor: 'grey--text ',
51
- forRoles: [['front_office'], ['expert']],
59
+ forRoles: [['front_office'], ['expert'], ['customer_success']],
52
60
  },
53
61
  {
54
62
  text: 'Att. retour client',
@@ -56,7 +64,7 @@ export const BalanceSheetDetails = [
56
64
  alias: 'ARC',
57
65
  color: 'cyan',
58
66
  textColor: 'cyan--text',
59
- forRoles: [['front_office'], ['expert']],
67
+ forRoles: [['front_office'], ['expert'], ['customer_success']],
60
68
  },
61
69
  {
62
70
  text: 'À réviser',
@@ -92,7 +100,7 @@ export const BalanceSheetDetails = [
92
100
  value: BalanceSheetState.SENDED_TO_CLIENT,
93
101
  color: 'blue',
94
102
  textColor: 'blue--text',
95
- forRoles: [['front_office'], ['expert']],
103
+ forRoles: [['front_office'], ['expert'], ['customer_success']],
96
104
  },
97
105
  {
98
106
  text: 'Accepté par le client',
@@ -100,7 +108,7 @@ export const BalanceSheetDetails = [
100
108
  color: 'blue darken-2',
101
109
  textColor: 'blue--text ',
102
110
  alias: 'APC',
103
- forRoles: [['front_office'], ['expert']],
111
+ forRoles: [['front_office'], ['expert'], ['customer_success']],
104
112
  },
105
113
  {
106
114
  text: 'Refusé par le client',
@@ -142,7 +150,13 @@ export const BalanceSheetDetails = [
142
150
  text: 'N/A',
143
151
  color: 'grey lighten-2',
144
152
  textColor: 'grey--text',
145
- forRoles: [['customer_success', 'manager'], ['on_boarder', 'manager'], ['termination', 'manager'], ['litige', 'manager'], ['facturation', 'manager']],
153
+ forRoles: [
154
+ ['customer_success', 'manager'],
155
+ ['on_boarder', 'manager'],
156
+ ['termination', 'manager'],
157
+ ['litige', 'manager'],
158
+ ['facturation', 'manager'],
159
+ ],
146
160
  },
147
161
  {
148
162
  text: 'Impayé',
@@ -150,7 +164,15 @@ export const BalanceSheetDetails = [
150
164
  color: 'error darken-2',
151
165
  textColor: 'error--text text--darken-2',
152
166
  key: 'unpaid',
153
- forRoles: [['front_office', 'manager'], ['front_office_express', 'manager'], ['customer_success'], ['on_boarder'], ['termination'], ['litige'], ['facturation']],
167
+ forRoles: [
168
+ ['front_office', 'manager'],
169
+ ['front_office_express', 'manager'],
170
+ ['customer_success'],
171
+ ['on_boarder'],
172
+ ['termination'],
173
+ ['litige'],
174
+ ['facturation'],
175
+ ],
154
176
  },
155
177
  {
156
178
  text: 'Facturation en cours',
@@ -202,14 +224,14 @@ export const BalanceSheetDetails = [
202
224
  forRoles: [['front_office'], ['expert']],
203
225
  },
204
226
  {
205
- text: 'Accepté SIE en l\'état',
227
+ text: "Accepté SIE en l'état",
206
228
  value: BalanceSheetState.ACCEPTED_BY_SIE_IN_STATE,
207
229
  color: 'green darken-3',
208
230
  colorText: 'green--text',
209
231
  forRoles: [['front_office'], ['expert']],
210
232
  },
211
233
  {
212
- text: 'Refus d\'établir',
234
+ text: "Refus d'établir",
213
235
  value: BalanceSheetState.ESTABLISH_REFUSED,
214
236
  color: 'orange darken-1',
215
237
  colorText: 'orange--text text--darken-1',
@@ -272,7 +294,7 @@ export type BalanceSheetField = {
272
294
  calculationAdd?: string[]; // Tableau des keys à additionner pour obtenir le total
273
295
 
274
296
  type?: BalanceSheetType; // Permet de calculer par somme de compte, créditeur ou débiteur
275
- idThirdPartyTypeToAdd?: [ThirdPartyType, MathematicalSign] // Type de tiers à additionner, uniquement au crédit / débit / tous
297
+ idThirdPartyTypeToAdd?: [ThirdPartyType, MathematicalSign]; // Type de tiers à additionner, uniquement au crédit / débit / tous
276
298
  };
277
299
 
278
300
  export type BalanceSheetList = BalanceSheetField[];
@@ -298,7 +320,7 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
298
320
  isSubcategory: true,
299
321
  fields: [
300
322
  {
301
- name: 'Frais d\'établissement',
323
+ name: "Frais d'établissement",
302
324
  accounts: ['201'],
303
325
  accountsDeducted: ['2801'],
304
326
  total: 0,
@@ -387,7 +409,7 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
387
409
  accountsDeducted: ['2967', '2968'],
388
410
  },
389
411
  {
390
- name: 'Titres immobilisés de l\'activité de portefeuille',
412
+ name: "Titres immobilisés de l'activité de portefeuille",
391
413
  accounts: ['273'],
392
414
  accountsDeducted: ['2973'],
393
415
  },
@@ -473,7 +495,36 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
473
495
  {
474
496
  // autres = lorsque les fournisseurs te doivent de l'argent = somme débit > crédit
475
497
  name: 'Autres',
476
- accounts: ['401', '408', '4096', '4097', '4098', '42', '43', '44', '451', '452', '453', '454', '455', '4561', '4563', '4564', '4565', '4566', '4567', '4568', '4569', '457', '458', '459', '46', '471', '472', '481'],
498
+ accounts: [
499
+ '401',
500
+ '408',
501
+ '4096',
502
+ '4097',
503
+ '4098',
504
+ '42',
505
+ '43',
506
+ '44',
507
+ '451',
508
+ '452',
509
+ '453',
510
+ '454',
511
+ '455',
512
+ '4561',
513
+ '4563',
514
+ '4564',
515
+ '4565',
516
+ '4566',
517
+ '4567',
518
+ '4568',
519
+ '4569',
520
+ '457',
521
+ '458',
522
+ '459',
523
+ '46',
524
+ '471',
525
+ '472',
526
+ '481',
527
+ ],
477
528
  idThirdPartyTypeToAdd: [ThirdPartyType.PROVIDER, MathematicalSign.PLUS],
478
529
  accountsDeducted: ['495', '496'], // Actif : On compte dedans que ceux qui sont positifs que 4
479
530
  type: 'active',
@@ -514,7 +565,7 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
514
565
  type: 'active',
515
566
  },
516
567
  {
517
- name: 'Charges constatées d\'avance',
568
+ name: "Charges constatées d'avance",
518
569
  key: 'establishedInAdvance',
519
570
  accounts: ['486'],
520
571
  },
@@ -559,7 +610,16 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
559
610
  total: 0,
560
611
  totalDeducted: 0,
561
612
  calculation: true,
562
- calculationAdd: ['fixedAsset', 'subscribedCapital', 'circulatingActive', 'total3', 'total4', 'total3', 'total4', 'total5'],
613
+ calculationAdd: [
614
+ 'fixedAsset',
615
+ 'subscribedCapital',
616
+ 'circulatingActive',
617
+ 'total3',
618
+ 'total4',
619
+ 'total3',
620
+ 'total4',
621
+ 'total5',
622
+ ],
563
623
  isTotal: true,
564
624
  },
565
625
  ];
@@ -573,7 +633,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
573
633
  total: 0,
574
634
  },
575
635
  {
576
- name: 'Primes d\'émission, de fusion, d\'apport',
636
+ name: "Primes d'émission, de fusion, d'apport",
577
637
  key: 'issuePremiums',
578
638
  accounts: ['104'],
579
639
  isSubcategory: true,
@@ -587,7 +647,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
587
647
  total: 0,
588
648
  },
589
649
  {
590
- name: 'Ecart d\'équivalence',
650
+ name: "Ecart d'équivalence",
591
651
  key: 'equivalenceGap',
592
652
  accounts: ['107'],
593
653
  isSubcategory: true,
@@ -627,14 +687,14 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
627
687
  total: 0,
628
688
  },
629
689
  {
630
- name: 'Résultat de l\'exercice (bénéfice ou perte)',
690
+ name: "Résultat de l'exercice (bénéfice ou perte)",
631
691
  key: 'resultExercice',
632
692
  accounts: ['12'], // comptes 6 - 7
633
693
  isSubcategory: true,
634
694
  total: 0,
635
695
  },
636
696
  {
637
- name: 'Subventions d\'investissement',
697
+ name: "Subventions d'investissement",
638
698
  key: 'subsidies',
639
699
  accounts: ['13'],
640
700
  isSubcategory: true,
@@ -651,7 +711,17 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
651
711
  name: 'Total (I)',
652
712
  key: 'total1',
653
713
  calculation: true,
654
- calculationAdd: ['subscribedCapital', 'issuePremiums', 'equivalenceGap', 'revaluationGap', 'reservations', 'postponement', 'resultExercice', 'subsidies', 'subsidiesRegulated'],
714
+ calculationAdd: [
715
+ 'subscribedCapital',
716
+ 'issuePremiums',
717
+ 'equivalenceGap',
718
+ 'revaluationGap',
719
+ 'reservations',
720
+ 'postponement',
721
+ 'resultExercice',
722
+ 'subsidies',
723
+ 'subsidiesRegulated',
724
+ ],
655
725
  isTotal: true,
656
726
  total: 0,
657
727
  },
@@ -772,7 +842,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
772
842
  type: 'passive',
773
843
  },
774
844
  {
775
- name: 'Produits constatés d\'avance',
845
+ name: "Produits constatés d'avance",
776
846
  key: 'advanceProducts',
777
847
  accounts: ['487', '489'],
778
848
  isSubcategory: true,
@@ -800,7 +870,20 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
800
870
  key: 'total5',
801
871
  total: 0,
802
872
  calculation: true,
803
- calculationAdd: ['subscribedCapital', 'issuePremiums', 'equivalenceGap', 'revaluationGap', 'reservations', 'postponement', 'resultExercice', 'subsidies', 'subsidiesRegulated', 'provisions', 'debts', 'total4'],
873
+ calculationAdd: [
874
+ 'subscribedCapital',
875
+ 'issuePremiums',
876
+ 'equivalenceGap',
877
+ 'revaluationGap',
878
+ 'reservations',
879
+ 'postponement',
880
+ 'resultExercice',
881
+ 'subsidies',
882
+ 'subsidiesRegulated',
883
+ 'provisions',
884
+ 'debts',
885
+ 'total4',
886
+ ],
804
887
  isTotal: true,
805
888
  },
806
889
  ];
@@ -845,4 +928,4 @@ export const balanceSheetTotalRanges = [
845
928
  lowValue: 250000,
846
929
  highValue: 10000000,
847
930
  },
848
- ] as const;
931
+ ] as const;
@@ -4,6 +4,7 @@ export enum BankCollectingState {
4
4
  INVOICED = 3,
5
5
  REFUSED_INVOICE = 4,
6
6
  UNPAID = 5,
7
+ INVOICED_WAITING_PAYMENT = 6,
7
8
  }
8
9
 
9
10
  export const BankCollectingStateList = [
@@ -37,4 +38,10 @@ export const BankCollectingStateList = [
37
38
  color: 'red lighten-2',
38
39
  textColor: 'red--text red--lighten-3',
39
40
  },
40
- ];
41
+ {
42
+ id: BankCollectingState.INVOICED_WAITING_PAYMENT,
43
+ label: 'Facturé en attente de paiement',
44
+ color: 'green darken-2',
45
+ textColor: 'red--text red--lighten-3',
46
+ },
47
+ ];
@@ -340,5 +340,11 @@ export const BrandClementine: Brand[] = [
340
340
  email: 'facturation@compta-clementine.fr',
341
341
  },
342
342
  salesContractConfig: SalesContractKlems,
343
+ caarl: {
344
+ subscriptionNumber: {
345
+ sandbox: 'S-2412-3945851',
346
+ production: 'S-2412-5088901',
347
+ },
348
+ },
343
349
  },
344
350
  ] as const;
@@ -53,6 +53,7 @@ export enum GedFolder {
53
53
  FEC = 47,
54
54
  BACKUP = 48,
55
55
  PREVISIONAL = 49,
56
+ PREVISIONAL_ANNEX = 50,
56
57
  }
57
58
 
58
59
  export enum TypeFile {
@@ -326,57 +327,58 @@ export const GedFileTypeDetail = {
326
327
  };
327
328
 
328
329
  export const GedFolderList: Array<{ id: GedFolder, isVisibleForClient: boolean; idGedCategory: GedCategory; name: string }> = [
329
- { id: GedFolder.KBIS, name: 'K-bis & Carte d\'identité & Mémento fiscal', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
330
- { id: GedFolder.LDM, name: 'Lettres de missions', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
331
- { id: GedFolder.RIB_MANDATES, name: 'Mandats & RIB', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
332
- { id: GedFolder.BALANCE_GL, name: 'Balance-GL Journaux', isVisibleForClient: true, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
333
- { id: GedFolder.CLOSE_BALANCE_SHEET, name: 'Clôtures & Bilans', isVisibleForClient: true, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
334
- { id: GedFolder.VAT, name: 'Déclarations de TVA', isVisibleForClient: true, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
335
- { id: GedFolder.IS_DECLARATIONS, name: 'Déclarations d\'IS', isVisibleForClient: true, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
336
- { id: GedFolder.STATUTES, name: 'Statuts & avenants', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
337
- { id: GedFolder.TRAINING_AND_PROFESSIONAL_TAX, name: 'Formation et taxe professionnelle', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
338
- { id: GedFolder.DADS_U_DUE, name: 'DADS-U & DUE', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
339
- { id: GedFolder.URSSAF, name: 'URSSAF & Pôle-Emploi', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
340
- { id: GedFolder.PAY_SLIPS, name: 'Bulletins de salaires', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
341
- { id: GedFolder.TNS, name: 'TNS', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
342
- { id: GedFolder.AGM, name: 'PV d\'AG', isVisibleForClient: true, idGedCategory: GedCategory.JURIDIC },
343
- { id: GedFolder.CONTRACTS_LEASES, name: 'Contrats & Baux', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
344
- { id: GedFolder.INSURANCES, name: 'Assurances', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
345
- { id: GedFolder.CABINET_INVOICES, name: 'Factures Cabinet', isVisibleForClient: true, idGedCategory: GedCategory.BILLING },
346
- { id: GedFolder.OTHER, name: 'Autres', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
347
- { id: GedFolder.VEHICLES, name: 'Véhicules', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
348
- { id: GedFolder.BORROWING_TABLES, name: 'Tableaux d’emprunts', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
349
- { id: GedFolder.RSI_URSSAF, name: 'RSI & URSSAF', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
350
- { id: GedFolder.GA_BALANCE_PV, name: 'Bilan & PV d’AG antérieur', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
351
- { id: GedFolder.SLIPS_CFE, name: 'Bordereaux pour la CFE', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
352
- { id: GedFolder.APPENDIX_PROVIDERS_CUSTOMERS, name: 'Annexes fournisseurs/clients', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
353
- { id: GedFolder.MISCELLANEOUS, name: 'Divers', isVisibleForClient: true, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
354
- { id: GedFolder.LEGAL_ANNOUNCEMENTS, name: 'Annonces Légales', isVisibleForClient: true, idGedCategory: GedCategory.JURIDIC },
355
- { id: GedFolder.CERTIFICATES, name: 'Attestations', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
356
- { id: GedFolder.PARTNERS, name: 'Associés', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
357
- { id: GedFolder.INCOMING_MAILS, name: 'Courriers entrants', isVisibleForClient: true, idGedCategory: GedCategory.MAIL },
358
- { id: GedFolder.OUTGOING_MAIL, name: 'Courriers sortants', isVisibleForClient: true, idGedCategory: GedCategory.MAIL },
359
- { id: GedFolder.BANK_STATEMENT, name: 'Relevés Bancaires', isVisibleForClient: true, idGedCategory: GedCategory.BANK_STATEMENT },
360
- { id: GedFolder.FORMALISM, name: 'Formalisme', isVisibleForClient:false, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
361
- { id: GedFolder.PENDING_POINTS, name: 'Points en suspens', isVisibleForClient:false, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
362
- { id: GedFolder.BALANCE_GL_JOURNALS_YEAR, name: 'Balance-GL Journaux Année N-1', isVisibleForClient: true, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
363
- { id: GedFolder.JURIDICAL, name: 'Juridique', isVisibleForClient: true, idGedCategory: GedCategory.JURIDIC },
364
- { id: GedFolder.SUBVENTION, name: 'Subvention', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
365
- { id: GedFolder.EMPLOYEMENT_CONTRACT, name: 'Contrats de travail & avenants', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
366
- { id: GedFolder.EXIT_DOCUMENT, name: 'Documents de sorties', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
367
- { id: GedFolder.JEDECLARE_MANDATES, name: 'Mandat JeDeclare', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
330
+ { id: GedFolder.KBIS, name: 'K-bis & Carte d\'identité & Mémento fiscal', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
331
+ { id: GedFolder.LDM, name: 'Lettres de missions', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
332
+ { id: GedFolder.RIB_MANDATES, name: 'Mandats & RIB', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
333
+ { id: GedFolder.BALANCE_GL, name: 'Balance-GL Journaux', isVisibleForClient: true, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
334
+ { id: GedFolder.CLOSE_BALANCE_SHEET, name: 'Clôtures & Bilans', isVisibleForClient: true, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
335
+ { id: GedFolder.VAT, name: 'Déclarations de TVA', isVisibleForClient: true, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
336
+ { id: GedFolder.IS_DECLARATIONS, name: 'Déclarations d\'IS', isVisibleForClient: true, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
337
+ { id: GedFolder.STATUTES, name: 'Statuts & avenants', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
338
+ { id: GedFolder.TRAINING_AND_PROFESSIONAL_TAX, name: 'Formation et taxe professionnelle', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
339
+ { id: GedFolder.DADS_U_DUE, name: 'DADS-U & DUE', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
340
+ { id: GedFolder.URSSAF, name: 'URSSAF & Pôle-Emploi', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
341
+ { id: GedFolder.PAY_SLIPS, name: 'Bulletins de salaires', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
342
+ { id: GedFolder.TNS, name: 'TNS', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
343
+ { id: GedFolder.AGM, name: 'PV d\'AG', isVisibleForClient: true, idGedCategory: GedCategory.JURIDIC },
344
+ { id: GedFolder.CONTRACTS_LEASES, name: 'Contrats & Baux', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
345
+ { id: GedFolder.INSURANCES, name: 'Assurances', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
346
+ { id: GedFolder.CABINET_INVOICES, name: 'Factures Cabinet', isVisibleForClient: true, idGedCategory: GedCategory.BILLING },
347
+ { id: GedFolder.OTHER, name: 'Autres', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
348
+ { id: GedFolder.VEHICLES, name: 'Véhicules', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
349
+ { id: GedFolder.BORROWING_TABLES, name: 'Tableaux d’emprunts', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
350
+ { id: GedFolder.RSI_URSSAF, name: 'RSI & URSSAF', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
351
+ { id: GedFolder.GA_BALANCE_PV, name: 'Bilan & PV d’AG antérieur', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
352
+ { id: GedFolder.SLIPS_CFE, name: 'Bordereaux pour la CFE', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
353
+ { id: GedFolder.APPENDIX_PROVIDERS_CUSTOMERS, name: 'Annexes fournisseurs/clients', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
354
+ { id: GedFolder.MISCELLANEOUS, name: 'Divers', isVisibleForClient: true, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
355
+ { id: GedFolder.LEGAL_ANNOUNCEMENTS, name: 'Annonces Légales', isVisibleForClient: true, idGedCategory: GedCategory.JURIDIC },
356
+ { id: GedFolder.CERTIFICATES, name: 'Attestations', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
357
+ { id: GedFolder.PARTNERS, name: 'Associés', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
358
+ { id: GedFolder.INCOMING_MAILS, name: 'Courriers entrants', isVisibleForClient: true, idGedCategory: GedCategory.MAIL },
359
+ { id: GedFolder.OUTGOING_MAIL, name: 'Courriers sortants', isVisibleForClient: true, idGedCategory: GedCategory.MAIL },
360
+ { id: GedFolder.BANK_STATEMENT, name: 'Relevés Bancaires', isVisibleForClient: true, idGedCategory: GedCategory.BANK_STATEMENT },
361
+ { id: GedFolder.FORMALISM, name: 'Formalisme', isVisibleForClient: false, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
362
+ { id: GedFolder.PENDING_POINTS, name: 'Points en suspens', isVisibleForClient: false, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
363
+ { id: GedFolder.BALANCE_GL_JOURNALS_YEAR, name: 'Balance-GL Journaux Année N-1', isVisibleForClient: true, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
364
+ { id: GedFolder.JURIDICAL, name: 'Juridique', isVisibleForClient: true, idGedCategory: GedCategory.JURIDIC },
365
+ { id: GedFolder.SUBVENTION, name: 'Subvention', isVisibleForClient: true, idGedCategory: GedCategory.GENERALITY },
366
+ { id: GedFolder.EMPLOYEMENT_CONTRACT, name: 'Contrats de travail & avenants', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
367
+ { id: GedFolder.EXIT_DOCUMENT, name: 'Documents de sorties', isVisibleForClient: true, idGedCategory: GedCategory.SOCIAL },
368
+ { id: GedFolder.JEDECLARE_MANDATES, name: 'Mandat JeDeclare', isVisibleForClient: true, idGedCategory: GedCategory.COMPANY },
368
369
  { id: GedFolder.COMPANY_PASSWORD_SERVICE, name: 'Mot de passe service entreprise', isVisibleForClient: false, idGedCategory: GedCategory.COMPANY },
369
370
  { id: GedFolder.FEC, name: 'Fec', isVisibleForClient: false, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
370
371
  { id: GedFolder.PREVISIONAL, name: 'Prévisionnels', isVisibleForClient: true, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
372
+ { id: GedFolder.PREVISIONAL_ANNEX, name: 'Annexes Prévisionnels', isVisibleForClient: false, idGedCategory: GedCategory.ACCOUNTING_AND_TAX },
371
373
  ];
372
374
 
373
- export const gedCategoryWithName: Array<{ idGedCategory: number, name: string, usableByClient: boolean, brandCondition?: string[] }> = [
374
- { idGedCategory: GedCategory.COMPANY, name: 'Entreprise', usableByClient: true },
375
- { idGedCategory: GedCategory.ACCOUNTING_AND_TAX, name: 'Comptabilité', usableByClient: false },
376
- { idGedCategory: GedCategory.SOCIAL, name: 'Social', usableByClient: false },
377
- { idGedCategory: GedCategory.JURIDIC, name: 'Juridique', usableByClient: false },
375
+ export const gedCategoryWithName: Array<{ idGedCategory: number, name: string, usableByClient: boolean, brandCondition?: string[] }> = [
376
+ { idGedCategory: GedCategory.COMPANY, name: 'Entreprise', usableByClient: true },
377
+ { idGedCategory: GedCategory.ACCOUNTING_AND_TAX, name: 'Comptabilité', usableByClient: false },
378
+ { idGedCategory: GedCategory.SOCIAL, name: 'Social', usableByClient: false },
379
+ { idGedCategory: GedCategory.JURIDIC, name: 'Juridique', usableByClient: false },
378
380
  { idGedCategory: GedCategory.GENERALITY, name: 'Généralités', usableByClient: true },
379
- { idGedCategory: GedCategory.BILLING, name: 'Facturation', usableByClient: false },
380
- { idGedCategory: GedCategory.MAIL, name: 'Courriers', usableByClient: true, brandCondition: ['Clementine', 'Comptastart'] },
381
- { idGedCategory: GedCategory.BANK_STATEMENT, name: 'Relevés bancaires', usableByClient: true },
381
+ { idGedCategory: GedCategory.BILLING, name: 'Facturation', usableByClient: false },
382
+ { idGedCategory: GedCategory.MAIL, name: 'Courriers', usableByClient: true, brandCondition: ['Clementine', 'Comptastart'] },
383
+ { idGedCategory: GedCategory.BANK_STATEMENT, name: 'Relevés bancaires', usableByClient: true },
382
384
  ];
@@ -20,7 +20,7 @@ export const ReasonNotSubscribed = [
20
20
  {
21
21
  id: 4,
22
22
  text: 'Prestation social pour salarié unique',
23
- hidden: true,
23
+ hidden: false,
24
24
  isOver: null,
25
25
  },
26
26
  {
@@ -74,13 +74,13 @@ export const ReasonNotSubscribed = [
74
74
  {
75
75
  id: 14,
76
76
  text: 'Exercice à reprendre trop vieux',
77
- hidden: true,
77
+ hidden: false,
78
78
  isOver: null,
79
79
  },
80
80
  {
81
81
  id: 15,
82
82
  text: 'Entreprise/société étrangère',
83
- hidden: true,
83
+ hidden: false,
84
84
  isOver: null,
85
85
  },
86
86
  {
@@ -104,7 +104,7 @@ export const ReasonNotSubscribed = [
104
104
  {
105
105
  id: 19,
106
106
  text: 'Particulier',
107
- hidden: true,
107
+ hidden: false,
108
108
  isOver: null,
109
109
  },
110
110
  {
@@ -116,13 +116,13 @@ export const ReasonNotSubscribed = [
116
116
  {
117
117
  id: 21,
118
118
  text: 'Pourcentage',
119
- hidden: true,
119
+ hidden: false,
120
120
  isOver: null,
121
121
  },
122
122
  {
123
123
  id: 22,
124
124
  text: 'Prévis délais trop long',
125
- hidden: true,
125
+ hidden: false,
126
126
  isOver: null,
127
127
  },
128
128
  {
@@ -203,4 +203,10 @@ export const ReasonNotSubscribed = [
203
203
  hidden: false,
204
204
  isOver: [],
205
205
  },
206
+ {
207
+ id: 36,
208
+ text: 'Ne répond pas - échec relances',
209
+ hidden: false,
210
+ isOver: [],
211
+ },
206
212
  ];
@@ -91,6 +91,7 @@ export interface CaarlCreateClaimPayload {
91
91
  debtorCompanyName?: string;
92
92
  debtorCompanySIREN?: string;
93
93
  creditorCompanySIREN?: string;
94
+ creditorCompanyName: string;
94
95
  creditorTelephone?: string;
95
96
  }
96
97
 
@@ -1,5 +1,5 @@
1
1
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
- import { IsDate, IsDateString, IsIn, IsNumber, IsOptional, IsString } from 'class-validator';
2
+ import { IsDateString, IsIn, IsNumber, IsOptional, IsString } from 'class-validator';
3
3
  import { Supervision } from '../../../Enum/Supervision';
4
4
 
5
5
  export class QueryBalanceSheetStatistic {
@@ -28,12 +28,12 @@ export class QueryBalanceSheetMonthlyStatistic {
28
28
 
29
29
  export class QueryBalanceSheetSupervisedStatistic {
30
30
  @ApiProperty()
31
- @IsDate()
32
- date: Date;
31
+ @IsDateString()
32
+ date: string;
33
33
 
34
34
  @ApiProperty()
35
- @IsDate()
36
- endDate: Date;
35
+ @IsDateString()
36
+ endDate: string;
37
37
  }
38
38
 
39
39
  export class QueryBalanceSheetAttestation {
@@ -302,6 +302,11 @@ export class CreateCommercialSetting {
302
302
  @IsInt()
303
303
  idSignatureFile?: number | null;
304
304
 
305
+ @ApiPropertyOptional()
306
+ @IsOptional()
307
+ @IsInt()
308
+ idGeneralConditionOfSale?: number | null;
309
+
305
310
  @ApiPropertyOptional()
306
311
  @IsOptional()
307
312
  @IsString()
@@ -64,6 +64,7 @@ export interface ISocietyGescom {
64
64
  externalBorderColor?: string | null;
65
65
  idRibFile?: number | null;
66
66
  idSignatureFile?: number | null;
67
+ idGeneralConditionOfSale?: number | null;
67
68
  ribFile?: IFile
68
69
  signatureFile?: IFile;
69
70
  createdAt?: Date | null;