@silexpert/core 1.0.163 → 1.0.167

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 (135) hide show
  1. package/es/api/resources/Prestations.d.ts +24 -0
  2. package/es/api/resources/Prestations.d.ts.map +1 -0
  3. package/es/api/resources/Prestations.js +29 -0
  4. package/es/api/resources/Prestations.js.map +1 -0
  5. package/es/api/resources/Quotation.d.ts +17 -0
  6. package/es/api/resources/Quotation.d.ts.map +1 -0
  7. package/es/api/resources/Quotation.js +20 -0
  8. package/es/api/resources/Quotation.js.map +1 -0
  9. package/es/api/resources/Rating.d.ts +18 -0
  10. package/es/api/resources/Rating.d.ts.map +1 -0
  11. package/es/api/resources/Rating.js +20 -0
  12. package/es/api/resources/Rating.js.map +1 -0
  13. package/es/api/resources.d.ts +6 -0
  14. package/es/api/resources.d.ts.map +1 -1
  15. package/es/api/resources.js +6 -0
  16. package/es/api/resources.js.map +1 -1
  17. package/es/types/Enum/AbsenceType.d.ts +4 -3
  18. package/es/types/Enum/AbsenceType.d.ts.map +1 -1
  19. package/es/types/Enum/AbsenceType.js +5 -0
  20. package/es/types/Enum/AbsenceType.js.map +1 -1
  21. package/es/types/Enum/AdminAcceptance.d.ts +11 -0
  22. package/es/types/Enum/AdminAcceptance.d.ts.map +1 -0
  23. package/es/types/Enum/AdminAcceptance.js +26 -0
  24. package/es/types/Enum/AdminAcceptance.js.map +1 -0
  25. package/es/types/Enum/BalanceSheet.d.ts.map +1 -1
  26. package/es/types/Enum/BalanceSheet.js +1 -0
  27. package/es/types/Enum/BalanceSheet.js.map +1 -1
  28. package/es/types/Enum/Channel.d.ts +3 -1
  29. package/es/types/Enum/Channel.d.ts.map +1 -1
  30. package/es/types/Enum/Channel.js +2 -0
  31. package/es/types/Enum/Channel.js.map +1 -1
  32. package/es/types/Enum/ConstitutionState.d.ts.map +1 -1
  33. package/es/types/Enum/ConstitutionState.js +8 -2
  34. package/es/types/Enum/ConstitutionState.js.map +1 -1
  35. package/es/types/Enum/PrestationListType.d.ts +11 -0
  36. package/es/types/Enum/PrestationListType.d.ts.map +1 -0
  37. package/es/types/Enum/PrestationListType.js +26 -0
  38. package/es/types/Enum/PrestationListType.js.map +1 -0
  39. package/es/types/Interface/api/prestations/QueryCreate.d.ts +20 -0
  40. package/es/types/Interface/api/prestations/QueryCreate.d.ts.map +1 -0
  41. package/es/types/Interface/api/prestations/QueryCreate.js +116 -0
  42. package/es/types/Interface/api/prestations/QueryCreate.js.map +1 -0
  43. package/es/types/Interface/api/prestations/QueryGetAllPrestations.d.ts +6 -0
  44. package/es/types/Interface/api/prestations/QueryGetAllPrestations.d.ts.map +1 -0
  45. package/es/types/Interface/api/prestations/QueryGetAllPrestations.js +36 -0
  46. package/es/types/Interface/api/prestations/QueryGetAllPrestations.js.map +1 -0
  47. package/es/types/Interface/api/prestations/QueryUpdate.d.ts +22 -0
  48. package/es/types/Interface/api/prestations/QueryUpdate.d.ts.map +1 -0
  49. package/es/types/Interface/api/prestations/QueryUpdate.js +131 -0
  50. package/es/types/Interface/api/prestations/QueryUpdate.js.map +1 -0
  51. package/es/types/Interface/api/quotation/ReadClientQuotation.d.ts +20 -0
  52. package/es/types/Interface/api/quotation/ReadClientQuotation.d.ts.map +1 -0
  53. package/es/types/Interface/api/quotation/ReadClientQuotation.js +2 -0
  54. package/es/types/Interface/api/quotation/ReadClientQuotation.js.map +1 -0
  55. package/es/types/Interface/api/rating/QueryRatingPaginated.d.ts +6 -0
  56. package/es/types/Interface/api/rating/QueryRatingPaginated.d.ts.map +1 -0
  57. package/es/types/Interface/api/rating/QueryRatingPaginated.js +42 -0
  58. package/es/types/Interface/api/rating/QueryRatingPaginated.js.map +1 -0
  59. package/es/types/Interface/api/task/QueryPaginatedTask.d.ts +1 -1
  60. package/es/types/Interface/api/task/QueryPaginatedTask.d.ts.map +1 -1
  61. package/es/types/Interface/api/task/QueryPaginatedTask.js +3 -3
  62. package/es/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  63. package/es/types/Interface/models/IPrestationList.d.ts +3 -0
  64. package/es/types/Interface/models/IPrestationList.d.ts.map +1 -1
  65. package/es/types/Interface/models/IPrestationList.js.map +1 -1
  66. package/es/types/Interface/models/IRating.d.ts +9 -5
  67. package/es/types/Interface/models/IRating.d.ts.map +1 -1
  68. package/es/types/Interface/models/IRating.js.map +1 -1
  69. package/es/types/index.d.ts +7 -0
  70. package/es/types/index.d.ts.map +1 -1
  71. package/es/types/index.js +7 -0
  72. package/es/types/index.js.map +1 -1
  73. package/es/utils/quotation.d.ts +5 -0
  74. package/es/utils/quotation.d.ts.map +1 -1
  75. package/es/utils/quotation.js +160 -0
  76. package/es/utils/quotation.js.map +1 -1
  77. package/js/api/resources/Prestations.js +38 -0
  78. package/js/api/resources/Prestations.js.map +1 -0
  79. package/js/api/resources/Quotation.js +27 -0
  80. package/js/api/resources/Quotation.js.map +1 -0
  81. package/js/api/resources/Rating.js +29 -0
  82. package/js/api/resources/Rating.js.map +1 -0
  83. package/js/api/resources.js +7 -1
  84. package/js/api/resources.js.map +1 -1
  85. package/js/types/Enum/AbsenceType.js +4 -0
  86. package/js/types/Enum/AbsenceType.js.map +1 -1
  87. package/js/types/Enum/AdminAcceptance.js +26 -0
  88. package/js/types/Enum/AdminAcceptance.js.map +1 -0
  89. package/js/types/Enum/BalanceSheet.js +1 -0
  90. package/js/types/Enum/BalanceSheet.js.map +1 -1
  91. package/js/types/Enum/Channel.js +2 -0
  92. package/js/types/Enum/Channel.js.map +1 -1
  93. package/js/types/Enum/ConstitutionState.js +8 -2
  94. package/js/types/Enum/ConstitutionState.js.map +1 -1
  95. package/js/types/Enum/PrestationListType.js +26 -0
  96. package/js/types/Enum/PrestationListType.js.map +1 -0
  97. package/js/types/Interface/api/prestations/QueryCreate.js +39 -0
  98. package/js/types/Interface/api/prestations/QueryCreate.js.map +1 -0
  99. package/js/types/Interface/api/prestations/QueryGetAllPrestations.js +26 -0
  100. package/js/types/Interface/api/prestations/QueryGetAllPrestations.js.map +1 -0
  101. package/js/types/Interface/api/prestations/QueryUpdate.js +40 -0
  102. package/js/types/Interface/api/prestations/QueryUpdate.js.map +1 -0
  103. package/js/types/Interface/api/quotation/ReadClientQuotation.js +6 -0
  104. package/js/types/Interface/api/quotation/ReadClientQuotation.js.map +1 -0
  105. package/js/types/Interface/api/rating/QueryRatingPaginated.js +40 -0
  106. package/js/types/Interface/api/rating/QueryRatingPaginated.js.map +1 -0
  107. package/js/types/Interface/api/task/QueryPaginatedTask.js +1 -1
  108. package/js/types/Interface/api/task/QueryPaginatedTask.js.map +1 -1
  109. package/js/types/Interface/models/IPrestationList.js.map +1 -1
  110. package/js/types/Interface/models/IRating.js.map +1 -1
  111. package/js/types/index.js +70 -0
  112. package/js/types/index.js.map +1 -1
  113. package/js/utils/quotation.js +157 -0
  114. package/js/utils/quotation.js.map +1 -1
  115. package/package.json +1 -1
  116. package/ts/api/resources/Prestations.ts +34 -0
  117. package/ts/api/resources/Quotation.ts +22 -0
  118. package/ts/api/resources/Rating.ts +23 -0
  119. package/ts/api/resources.ts +6 -0
  120. package/ts/types/Enum/AbsenceType.ts +6 -1
  121. package/ts/types/Enum/AdminAcceptance.ts +26 -0
  122. package/ts/types/Enum/BalanceSheet.ts +1 -0
  123. package/ts/types/Enum/Channel.ts +2 -0
  124. package/ts/types/Enum/ConstitutionState.ts +8 -2
  125. package/ts/types/Enum/PrestationListType.ts +25 -0
  126. package/ts/types/Interface/api/prestations/QueryCreate.ts +91 -0
  127. package/ts/types/Interface/api/prestations/QueryGetAllPrestations.ts +25 -0
  128. package/ts/types/Interface/api/prestations/QueryUpdate.ts +106 -0
  129. package/ts/types/Interface/api/quotation/ReadClientQuotation.ts +19 -0
  130. package/ts/types/Interface/api/rating/QueryRatingPaginated.ts +29 -0
  131. package/ts/types/Interface/api/task/QueryPaginatedTask.ts +3 -3
  132. package/ts/types/Interface/models/IPrestationList.ts +5 -0
  133. package/ts/types/Interface/models/IRating.ts +9 -5
  134. package/ts/types/index.ts +7 -1
  135. package/ts/utils/quotation.ts +178 -0
@@ -1 +1 @@
1
- {"version":3,"file":"BalanceSheet.js","sourceRoot":"","sources":["../../../ts/types/Enum/BalanceSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1C,MAAM,CAAN,IAAY,iBAoBX;AApBD,WAAY,iBAAiB;IAC3B,2DAAS,CAAA;IACT,+EAAmB,CAAA;IACnB,6EAAkB,CAAA;IAClB,iFAAoB,CAAA;IACpB,2EAAiB,CAAA;IACjB,6EAAkB,CAAA;IAClB,yEAAgB,CAAA;IAChB,qFAAsB,CAAA;IACtB,yEAAgB,CAAA;IAChB,+DAAW,CAAA;IACX,oEAAc,CAAA;IACd,sEAAe,CAAA;IACf,8EAAmB,CAAA;IACnB,wGAAgC,CAAA;IAChC,8DAAW,CAAA;IACX,sFAAuB,CAAA;IACvB,4FAA0B,CAAA;IAC1B,oFAAsB,CAAA;IACtB,oFAAsB,CAAA;AACxB,CAAC,EApBW,iBAAiB,KAAjB,iBAAiB,QAoB5B;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC;QACE,KAAK,EAAE,iBAAiB,CAAC,KAAK;QAC9B,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,MAAM;QACb,SAAS,EAAE,YAAY;QACvB,QAAQ,EAAE,CAAC,CAAC,cAAc,CAAC,EAAE,CAAC,sBAAsB,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC;KACzF;IACD;QACE,IAAI,EAAE,mBAAmB;QACzB,KAAK,EAAE,iBAAiB,CAAC,YAAY;QACrC,KAAK,EAAE,KAAK;QACZ,KAAK,EAAE,MAAM;QACb,SAAS,EAAE,aAAa;QACxB,QAAQ,EAAE,CAAC,CAAC,cAAc,CAAC,EAAE,CAAC,sBAAsB,CAAC,EA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;aAChB;YACD;gBACE,IAAI,EAAE,8BAA8B;gBACpC,GAAG,EAAE,iBAAiB;gBACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;gBACxB,aAAa,EAAE,IAAI;gBACnB,KAAK,EAAE,CAAC;aACT;SACF;KACF;IACD;QACE,IAAI,EAAE,WAAW;QACjB,GAAG,EAAE,QAAQ;QACb,KAAK,EAAE,CAAC;QACR,WAAW,EAAE,IAAI;QACjB,cAAc,EAAE,CAAC,OAAO,CAAC;QACzB,OAAO,EAAE,IAAI;KACd;IACD;QACE,IAAI,EAAE,kCAAkC;QACxC,GAAG,EAAE,QAAQ;QACb,KAAK,EAAE,CAAC;QACR,QAAQ,EAAE,CAAC,KAAK,CAAC;QACjB,OAAO,EAAE,IAAI;KACd;IACD;QACE,IAAI,EAAE,6BAA6B;QACnC,KAAK,EAAE,CAAC;QACR,WAAW,EAAE,IAAI;QACjB,cAAc,EAAE,CAAC,mBAAmB,EAAE,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,EAAE,WAAW,EAAE,oBAAoB,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,CAAC;QAChN,OAAO,EAAE,IAAI;KACd;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAwB;IACrE;QACE,IAAI,EAAE,sEAAsE;QAC5E,QAAQ,EAAE,CAAC,IAAI,CAAC;QAChB,KAAK,EAAE,CAAC;QACR,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,iCAAiC;QACvC,QAAQ,EAAE,CAAC,MAAM,CAAC;QAClB,KAAK,EAAE,CAAC;QACR,IAAI,EAAE,SAAS;KAChB;CACF,CAAC","sourcesContent":["import { ThirdPartyType } from './ThirdPartyType';\nimport { MathematicalSign } from './Util';\n\nexport enum BalanceSheetState {\n TO_DO = 0,\n ACCEPTED_BY_SIE = 1,\n NOT_SUBJECT_TO = 2,\n SENDED_TO_CLIENT = 3,\n SENDED_TO_SIE = 4,\n WAITING_CLIENT = 5,\n TO_SUPERVISE = 6,\n ACCEPTED_BY_CLIENT = 7,\n IN_PRODUCING = 8,\n TO_SEND = 9,\n TO_REVISE = 10,\n TO_CORRECT = 11,\n REFUSED_BY_SIE = 12,\n SENDED_PROVISIONALLY_TO_SIE = 13,\n UNPAID = 14,\n INVOICING_ACCEPTED = 15,\n INVOICING_IN_PROGRESS = 16,\n INVOICING_REFUSED = 17,\n REFUSED_BY_CLIENT = 18,\n}\n\nexport const BalanceSheetDetails = [\n {\n value: BalanceSheetState.TO_DO,\n text: 'À faire',\n color: 'grey',\n textColor: 'grey--text',\n forRoles: [['front_office'], ['front_office_express'], ['expert'], ['customer_success']],\n },\n {\n text: 'En cours de prod.',\n value: BalanceSheetState.IN_PRODUCING,\n alias: 'ENC',\n color: 'grey',\n textColor: 'grey--text ',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'Att. retour client',\n value: BalanceSheetState.WAITING_CLIENT,\n alias: 'ARC',\n color: 'cyan',\n textColor: 'cyan--text',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'À réviser',\n value: BalanceSheetState.TO_REVISE,\n color: 'purple lighten-2',\n textColor: 'purple--text',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'À revoir',\n value: BalanceSheetState.TO_CORRECT,\n icon: 'close',\n color: 'red lighten-2',\n textColor: 'red--text red--lighten-3',\n forRoles: [['front_office', 'manager'], ['front_office_express', 'manager'], ['expert']],\n },\n {\n text: 'À superviser',\n value: BalanceSheetState.TO_SUPERVISE,\n color: 'teal',\n textColor: 'teal--text',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'À envoyer',\n value: BalanceSheetState.TO_SEND,\n color: 'blue lighten-3',\n textColor: 'blue--text text--lighten-3',\n forRoles: [['expert'], ['facturation']],\n },\n {\n text: 'Envoyé au client',\n value: BalanceSheetState.SENDED_TO_CLIENT,\n color: 'blue',\n textColor: 'blue--text',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'Accepté par le client',\n value: BalanceSheetState.ACCEPTED_BY_CLIENT,\n color: 'blue darken-2',\n textColor: 'blue--text ',\n alias: 'APC',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'Refusé par le client',\n value: BalanceSheetState.REFUSED_BY_CLIENT,\n color: 'red darken-3',\n textColor: 'error--text text--darken-2',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'Envoyé au SIE',\n value: BalanceSheetState.SENDED_TO_SIE,\n color: 'blue darken-4',\n textColor: 'blue--text',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n value: BalanceSheetState.ACCEPTED_BY_SIE,\n text: 'Accepté au SIE',\n color: 'green darken-1',\n textColor: 'green--text',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'Refus SIE',\n value: BalanceSheetState.REFUSED_BY_SIE,\n color: 'red darken-3',\n textColor: 'green--text ',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'Envoi provisoire SIE',\n value: BalanceSheetState.SENDED_PROVISIONALLY_TO_SIE,\n color: 'green darken-4',\n textColor: 'green--text ',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n value: BalanceSheetState.NOT_SUBJECT_TO,\n text: 'N/A',\n color: 'grey',\n textColor: 'grey--text',\n forRoles: [['customer_success', 'manager'], ['facturation', 'manager']],\n },\n {\n text: 'Impayé',\n value: BalanceSheetState.UNPAID,\n color: 'error darken-2',\n colorText: 'error--text text--darken-2',\n key: 'unpaid',\n forRoles: [['front_office', 'manager'], ['front_office_express', 'manager'], ['customer_success'], ['facturation']],\n },\n {\n text: 'Facturation validée',\n value: BalanceSheetState.INVOICING_ACCEPTED,\n color: 'green darken-4',\n textColor: 'green--text ',\n forRoles: [['facturation']],\n },\n {\n text: 'Facturation en cours',\n value: BalanceSheetState.INVOICING_IN_PROGRESS,\n color: 'blue lighten-3',\n textColor: 'blue--text text--lighten-3',\n forRoles: [['facturation']],\n },\n {\n text: 'Facturation refusée',\n value: BalanceSheetState.INVOICING_REFUSED,\n color: 'error darken-2',\n colorText: 'error--text text--darken-2',\n forRoles: [['facturation']],\n },\n] as const;\n\nexport type BalanceSheetType = 'active' | 'passive';\n\nexport type BalanceSheetField = {\n name: string;\n key?: string;\n fields?: BalanceSheetField[];\n\n total?: number;\n totalDeducted?: number;\n\n accounts?: string[];\n accountsDeducted?: string[]; // Liste des comptes pour la colonne \"Amortissements et provisions\"\n\n isCategory?: boolean; // Ne calcule pas le total, affiché en gras sur le PDF\n isSubcategory?: boolean; // Ne calcule pas de montant\n isTotal?: boolean; // Affiche le total, affiché comme une catégorie\n\n calculation?: boolean; // Doit être calculé avec calculationAdd & calculationSubtract\n calculationAdd?: string[]; // Tableau des keys à additionner pour obtenir le total\n\n type?: BalanceSheetType; // Permet de calculer par somme de compte, créditeur ou débiteur\n idThirdPartyTypeToAdd?: [ThirdPartyType, MathematicalSign] // Type de tiers à additionner, uniquement au crédit / débit / tous\n};\n\nexport type BalanceSheetList = BalanceSheetField[];\n\nexport const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [\n {\n name: 'Capital souscrit - non appelé',\n key: 'subscribedCapital',\n accounts: ['109'],\n isSubcategory: true,\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'ACTIF IMMOBILISE',\n key: 'fixedAsset',\n total: 0,\n totalDeducted: 0,\n isCategory: true,\n fields: [\n {\n name: 'Immobilisations incorporelles',\n isSubcategory: true,\n fields: [\n {\n name: 'Frais d\\'établissement',\n accounts: ['201'],\n accountsDeducted: ['2801'],\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Frais de recherche et de développement',\n accounts: ['203'],\n accountsDeducted: ['2803'],\n },\n {\n name: 'Concessions, brevets, licences, marques, procédés, logiciels, droits et valeurs similaires',\n accounts: ['205'],\n accountsDeducted: ['2805', '2905'],\n },\n {\n name: 'Fonds commercial',\n accounts: ['206', '207'],\n accountsDeducted: ['2806', '2807', '2906', '2907'],\n },\n {\n name: 'Autres',\n accounts: ['208'],\n accountsDeducted: ['2808', '2908'],\n },\n {\n name: 'Immobilisations incorporelles en cours',\n accounts: ['232'],\n accountsDeducted: ['2932'],\n },\n {\n name: 'Avances et acomptes',\n accounts: ['237'],\n },\n ],\n },\n {\n name: 'Immobilisations corporelles',\n key: 'tangibleFixedAssets',\n isSubcategory: true,\n fields: [\n {\n name: 'Terrains',\n accounts: ['211', '212'],\n accountsDeducted: ['2811', '2812', '2911'],\n },\n {\n name: 'Constructions',\n accounts: ['213', '214'],\n accountsDeducted: ['2813', '2814'],\n },\n {\n name: 'Installations techniques, matériels, et outillage industriels',\n accounts: ['215'],\n accountsDeducted: ['2815'],\n },\n {\n name: 'Autres',\n accounts: ['218', '22'],\n accountsDeducted: ['2818', '282', '292'],\n },\n {\n name: 'Immobilisations corporelles en cours',\n accounts: ['231'],\n accountsDeducted: ['2931'],\n },\n {\n name: 'Avances et acomptes',\n accounts: ['238'],\n },\n ],\n },\n {\n name: 'Immobilisations financières',\n key: 'financialFixedAssets',\n isSubcategory: true,\n fields: [\n {\n name: 'Participations',\n accounts: ['261', '266'],\n accountsDeducted: ['2691', '2966'],\n },\n {\n name: 'Créances rattachées à des participations',\n accounts: ['267', '268'],\n accountsDeducted: ['2967', '2968'],\n },\n {\n name: 'Titres immobilisés de l\\'activité de portefeuille',\n accounts: ['273'],\n accountsDeducted: ['2973'],\n },\n {\n name: 'Autres titres immobilisés',\n accounts: ['271', '272'],\n accountsDeducted: ['2971', '2972'],\n },\n {\n name: 'Prêts',\n accounts: ['274'],\n accountsDeducted: ['2974'],\n },\n {\n name: 'Autres',\n accounts: ['236', '275', '276', '277'],\n accountsDeducted: ['2975', '2976'],\n },\n ],\n },\n ],\n },\n {\n name: 'Total I',\n key: 'total1',\n total: 0,\n totalDeducted: 0,\n calculation: true,\n calculationAdd: ['fixedAsset'],\n isTotal: true,\n },\n {\n name: 'ACTIF CIRCULANT',\n key: 'circulatingActive',\n total: 0,\n totalDeducted: 0,\n isCategory: true,\n fields: [\n {\n name: 'Stocks et en-cours',\n isSubcategory: true,\n fields: [\n {\n name: 'Matières premières et autres approvisionnements',\n accounts: ['31', '32'],\n accountsDeducted: ['391', '392'],\n },\n {\n name: 'En cours de production [biens et services]',\n accounts: ['33', '34'],\n accountsDeducted: ['393', '394'],\n },\n {\n name: 'Produits intermédiaires et finis',\n accounts: ['35', '36'],\n accountsDeducted: ['395', '396'],\n },\n {\n name: 'Marchandises',\n accounts: ['37'],\n accountsDeducted: ['397'],\n },\n ],\n },\n {\n name: 'Avances et acomptes versés sur commandes',\n key: 'advancesAndDeposits',\n accounts: ['4091'],\n },\n {\n name: 'Créances',\n key: 'financialFixedAssets',\n isSubcategory: true,\n fields: [\n {\n // créance client = lorsque les clients te doivent de l'argent = somme débit > crédit\n name: 'Créances clients et comptes rattachés',\n accounts: ['411', '413', '416', '418'],\n idThirdPartyTypeToAdd: [ThirdPartyType.CUSTOMER, MathematicalSign.PLUS],\n accountsDeducted: ['491'],\n },\n {\n // autres = lorsque les fournisseurs te doivent de l'argent = somme débit > crédit\n name: 'Autres',\n accounts: ['401', '4096', '4097', '4098', '42', '43', '44', '45', '46', '48'],\n idThirdPartyTypeToAdd: [ThirdPartyType.PROVIDER, MathematicalSign.PLUS],\n accountsDeducted: ['495', '496'], // Actif : On compte dedans que ceux qui sont positifs que 4\n type: 'active',\n },\n {\n name: 'Capital souscrit - appelé, non versé',\n accounts: ['4562'],\n },\n ],\n },\n {\n name: 'Valeurs mobilières de placement',\n key: 'securities',\n isSubcategory: true,\n fields: [\n {\n name: 'Actions propres',\n accounts: ['502'],\n accountsDeducted: ['5902'],\n },\n {\n name: 'Autres titres',\n accounts: ['503', '504', '505', '506', '507', '508'],\n accountsDeducted: ['5903', '5904', '5905', '5906', '5907', '5908'],\n },\n ],\n },\n {\n name: 'Instruments de trésorerie',\n key: 'treasuryInstruments',\n accounts: ['52'],\n type: 'active',\n },\n {\n name: 'Disponibilités',\n key: 'availabilities',\n accounts: ['511', '512', '514', '515', '516', '517', '5181', '5187', '53', '54', '58'],\n type: 'active',\n },\n {\n name: 'Charges constatées d\\'avance',\n key: 'establishedInAdvance',\n accounts: ['486'],\n },\n ],\n },\n {\n name: 'Total II',\n key: 'total2',\n total: 0,\n totalDeducted: 0,\n calculation: true,\n isTotal: true,\n calculationAdd: ['circulatingActive'],\n },\n {\n name: 'Charges à répartir sur plusieurs exercices (III)',\n key: 'total3',\n accounts: ['481'],\n isTotal: true,\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Primes de remboursement des emprunts (IV)',\n key: 'total4',\n accounts: ['169'],\n isTotal: true,\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Ecarts de conversion Actif (V)',\n key: 'total5',\n total: 0,\n totalDeducted: 0,\n accounts: ['476'],\n isTotal: true,\n },\n {\n name: 'TOTAL GENERAL (I+II+III+IV+V)',\n key: 'total6',\n total: 0,\n totalDeducted: 0,\n calculation: true,\n calculationAdd: ['fixedAsset', 'subscribedCapital', 'circulatingActive', 'total3', 'total4', 'total3', 'total4', 'total5'],\n isTotal: true,\n },\n];\n\nexport const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [\n {\n name: 'Capital [dont versé...]',\n key: 'subscribedCapital',\n accounts: ['101', '108'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Primes d\\'émission, de fusion, d\\'apport',\n key: 'issuePremiums',\n accounts: ['104'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Ecart de réévaluation',\n key: 'revaluationGap',\n accounts: ['105'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Ecart d\\'équivalence',\n key: 'equivalenceGap',\n accounts: ['107'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Réserves',\n key: 'reservations',\n total: 0,\n isCategory: true,\n fields: [\n {\n name: 'Réserve légale',\n accounts: ['1061'],\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Réserves statutaires ou contractuelles',\n accounts: ['1063'],\n },\n {\n name: 'Réserves réglementées',\n accounts: ['1062', '1064'],\n },\n {\n name: 'Autres',\n accounts: ['1068'],\n },\n ],\n },\n {\n name: 'Report à nouveau',\n key: 'postponement',\n accounts: ['11', '12'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Résultat de l\\'exercice [bénéfice ou perte]',\n key: 'resultExercice',\n accounts: ['12'], // comptes 6 - 7\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Subventions d\\'investissement',\n key: 'subsidies',\n accounts: ['13'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Provisions réglementées',\n key: 'subsidiesRegulated',\n accounts: ['14'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Total I',\n key: 'total1',\n calculation: true,\n calculationAdd: ['subscribedCapital', 'issuePremiums', 'equivalenceGap', 'revaluationGap', 'reservations', 'postponement', 'resultExercice', 'subsidies', 'subsidiesRegulated'],\n isTotal: true,\n total: 0,\n },\n {\n name: 'PROVISIONS POUR RISQUES ET CHARGES',\n key: 'provisions',\n isCategory: true,\n fields: [\n {\n name: 'Provisions pour risques',\n accounts: ['151'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Provisions pour charges',\n accounts: ['153', '155', '156', '157', '158'],\n isSubcategory: true,\n total: 0,\n },\n ],\n },\n {\n name: 'Total II',\n key: 'total2',\n total: 0,\n calculation: true,\n calculationAdd: ['provisions'],\n isTotal: true,\n },\n {\n name: 'DETTES',\n isCategory: true,\n key: 'debts',\n fields: [\n {\n name: 'Emprunts obligataires convertibles',\n key: 'convertibleBonds',\n accounts: ['161', '16881'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Autres emprunts obligataires',\n key: 'convertibleBonds',\n accounts: ['163', '16883'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Emprunts et dettes auprès établissements de crédits (1)',\n key: 'loansCredits',\n accounts: ['164', '16884', '512', '514', '517', '5186', '519', '53', '58'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Emprunts et dettes financières diverses (2)',\n key: 'loans',\n accounts: ['165', '166', '167', '168', '16885', '16886', '16887', '16888', '17', '426', '451', '455', '4563', '4564', '4567', '457', '458'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Avances et acomptes reçues sur commandes en cours',\n key: 'advancesAndDeposits',\n accounts: ['4191'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Dettes Fournisseurs et Comptes rattachés',\n key: 'payables',\n accounts: ['401', '403', '4081', '4088'],\n // PASSIF dette fournisseurs = lorsque l'entreprise doit de l'argent au fournisseurs = somme crédit > débit\n idThirdPartyTypeToAdd: [ThirdPartyType.PROVIDER, MathematicalSign.LESS],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Dettes fiscales et sociales',\n key: 'taxDebts',\n accounts: ['42', '426', '43', '44'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Dettes sur immobilisations et Comptes rattachés',\n key: 'immobilizationDebts',\n accounts: ['269', '279', '404', '405', '4084'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Autres dettes',\n key: 'OtherDebts',\n accounts: ['411', '4196', '4197', '4198', '464', '467', '4686', '471', '472', '478', '509'],\n // PASSIF Autres = lorsque l'entreprise doit de l'argent au client = somme débit > crédit (modifié)\n idThirdPartyTypeToAdd: [ThirdPartyType.CUSTOMER, MathematicalSign.LESS],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Instruments de trésorerie',\n key: 'treasuryInstruments',\n accounts: ['52'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Produits constatés d\\'avance',\n key: 'advanceProducts',\n accounts: ['487', '489'],\n isSubcategory: true,\n total: 0,\n },\n ],\n },\n {\n name: 'Total III',\n key: 'total3',\n total: 0,\n calculation: true,\n calculationAdd: ['debts'],\n isTotal: true,\n },\n {\n name: 'Ecarts de conversion passif (IV)',\n key: 'total4',\n total: 0,\n accounts: ['477'],\n isTotal: true,\n },\n {\n name: 'TOTAL GENERAL (I+II+III+IV)',\n total: 0,\n calculation: true,\n calculationAdd: ['subscribedCapital', 'issuePremiums', 'equivalenceGap', 'revaluationGap', 'reservations', 'postponement', 'resultExercice', 'subsidies', 'subsidiesRegulated', 'provisions', 'debts', 'total4'],\n isTotal: true,\n },\n];\n\nexport const BALANCE_SHEET_LIST_PASSIVE_DETAILS: BalanceSheetField[] = [\n {\n name: '(1) Dont concours bancaires courants et soldes créditeurs de banques',\n accounts: ['51'],\n total: 0,\n type: 'passive',\n },\n {\n name: '(2) Dont emprunts participatifs',\n accounts: ['1675'],\n total: 0,\n type: 'passive',\n },\n];"]}
1
+ {"version":3,"file":"BalanceSheet.js","sourceRoot":"","sources":["../../../ts/types/Enum/BalanceSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1C,MAAM,CAAN,IAAY,iBAoBX;AApBD,WAAY,iBAAiB;IAC3B,2DAAS,CAAA;IACT,+EAAmB,CAAA;IACnB,6EAAkB,CAAA;IAClB,iFAAoB,CAAA;IACpB,2EAAiB,CAAA;IACjB,6EAAkB,CAAA;IAClB,yEAAgB,CAAA;IAChB,qFAAsB,CAAA;IACtB,yEAAgB,CAAA;IAChB,+DAAW,CAAA;IACX,oEAAc,CAAA;IACd,sEAAe,CAAA;IACf,8EAAmB,CAAA;IACnB,wGAAgC,CAAA;IAChC,8DAAW,CAAA;IACX,sFAAuB,CAAA;IACvB,4FAA0B,CAAA;IAC1B,oFAAsB,CAAA;IACtB,oFAAsB,CAAA;AACxB,CAAC,EApBW,iBAAiB,KAAjB,iBAAiB,QAoB5B;AAED,MA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AE,OAAO,EAAE,QAAQ,CAAC;QAChN,OAAO,EAAE,IAAI;KACd;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAwB;IACrE;QACE,IAAI,EAAE,sEAAsE;QAC5E,QAAQ,EAAE,CAAC,IAAI,CAAC;QAChB,KAAK,EAAE,CAAC;QACR,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,iCAAiC;QACvC,QAAQ,EAAE,CAAC,MAAM,CAAC;QAClB,KAAK,EAAE,CAAC;QACR,IAAI,EAAE,SAAS;KAChB;CACF,CAAC","sourcesContent":["import { ThirdPartyType } from './ThirdPartyType';\nimport { MathematicalSign } from './Util';\n\nexport enum BalanceSheetState {\n TO_DO = 0,\n ACCEPTED_BY_SIE = 1,\n NOT_SUBJECT_TO = 2,\n SENDED_TO_CLIENT = 3,\n SENDED_TO_SIE = 4,\n WAITING_CLIENT = 5,\n TO_SUPERVISE = 6,\n ACCEPTED_BY_CLIENT = 7,\n IN_PRODUCING = 8,\n TO_SEND = 9,\n TO_REVISE = 10,\n TO_CORRECT = 11,\n REFUSED_BY_SIE = 12,\n SENDED_PROVISIONALLY_TO_SIE = 13,\n UNPAID = 14,\n INVOICING_ACCEPTED = 15,\n INVOICING_IN_PROGRESS = 16,\n INVOICING_REFUSED = 17,\n REFUSED_BY_CLIENT = 18,\n}\n\nexport const BalanceSheetDetails = [\n {\n value: BalanceSheetState.TO_DO,\n text: 'À faire',\n color: 'grey',\n textColor: 'grey--text',\n forRoles: [['front_office'], ['front_office_express'], ['expert'], ['customer_success']],\n },\n {\n text: 'En cours de prod.',\n value: BalanceSheetState.IN_PRODUCING,\n alias: 'ENC',\n color: 'grey',\n textColor: 'grey--text ',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'Att. retour client',\n value: BalanceSheetState.WAITING_CLIENT,\n alias: 'ARC',\n color: 'cyan',\n textColor: 'cyan--text',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'À réviser',\n value: BalanceSheetState.TO_REVISE,\n color: 'purple lighten-2',\n textColor: 'purple--text',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'À revoir',\n value: BalanceSheetState.TO_CORRECT,\n icon: 'close',\n color: 'red lighten-2',\n textColor: 'red--text red--lighten-3',\n forRoles: [['front_office', 'manager'], ['front_office_express', 'manager'], ['expert']],\n },\n {\n text: 'À superviser',\n value: BalanceSheetState.TO_SUPERVISE,\n color: 'teal',\n textColor: 'teal--text',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'À envoyer',\n value: BalanceSheetState.TO_SEND,\n color: 'blue lighten-3',\n textColor: 'blue--text text--lighten-3',\n forRoles: [['expert'], ['facturation']],\n },\n {\n text: 'Envoyé au client',\n value: BalanceSheetState.SENDED_TO_CLIENT,\n color: 'blue',\n textColor: 'blue--text',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'Accepté par le client',\n value: BalanceSheetState.ACCEPTED_BY_CLIENT,\n color: 'blue darken-2',\n textColor: 'blue--text ',\n alias: 'APC',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'Refusé par le client',\n value: BalanceSheetState.REFUSED_BY_CLIENT,\n color: 'red darken-3',\n textColor: 'error--text text--darken-2',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'Envoyé au SIE',\n value: BalanceSheetState.SENDED_TO_SIE,\n color: 'blue darken-4',\n textColor: 'blue--text',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n value: BalanceSheetState.ACCEPTED_BY_SIE,\n text: 'Accepté au SIE',\n color: 'green darken-1',\n textColor: 'green--text',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'Refus SIE',\n value: BalanceSheetState.REFUSED_BY_SIE,\n color: 'red darken-3',\n textColor: 'green--text ',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n text: 'Envoi provisoire SIE',\n value: BalanceSheetState.SENDED_PROVISIONALLY_TO_SIE,\n color: 'green darken-4',\n textColor: 'green--text ',\n forRoles: [['front_office'], ['front_office_express'], ['expert']],\n },\n {\n value: BalanceSheetState.NOT_SUBJECT_TO,\n text: 'N/A',\n color: 'grey',\n textColor: 'grey--text',\n forRoles: [['customer_success', 'manager'], ['facturation', 'manager']],\n },\n {\n text: 'Impayé',\n value: BalanceSheetState.UNPAID,\n color: 'error darken-2',\n colorText: 'error--text text--darken-2',\n key: 'unpaid',\n forRoles: [['front_office', 'manager'], ['front_office_express', 'manager'], ['customer_success'], ['facturation']],\n },\n {\n text: 'Facturation validée',\n value: BalanceSheetState.INVOICING_ACCEPTED,\n color: 'green darken-4',\n textColor: 'green--text ',\n forRoles: [['facturation']],\n },\n {\n text: 'Facturation en cours',\n value: BalanceSheetState.INVOICING_IN_PROGRESS,\n color: 'blue lighten-3',\n textColor: 'blue--text text--lighten-3',\n forRoles: [['facturation']],\n },\n {\n text: 'Facturation refusée',\n value: BalanceSheetState.INVOICING_REFUSED,\n color: 'error darken-2',\n colorText: 'error--text text--darken-2',\n forRoles: [['facturation']],\n },\n] as const;\n\nexport type BalanceSheetType = 'active' | 'passive';\n\nexport type BalanceSheetField = {\n name: string;\n key?: string;\n fields?: BalanceSheetField[];\n\n total?: number;\n totalDeducted?: number;\n\n accounts?: string[];\n accountsDeducted?: string[]; // Liste des comptes pour la colonne \"Amortissements et provisions\"\n\n isCategory?: boolean; // Ne calcule pas le total, affiché en gras sur le PDF\n isSubcategory?: boolean; // Ne calcule pas de montant\n isTotal?: boolean; // Affiche le total, affiché comme une catégorie\n\n calculation?: boolean; // Doit être calculé avec calculationAdd & calculationSubtract\n calculationAdd?: string[]; // Tableau des keys à additionner pour obtenir le total\n\n type?: BalanceSheetType; // Permet de calculer par somme de compte, créditeur ou débiteur\n idThirdPartyTypeToAdd?: [ThirdPartyType, MathematicalSign] // Type de tiers à additionner, uniquement au crédit / débit / tous\n};\n\nexport type BalanceSheetList = BalanceSheetField[];\n\nexport const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [\n {\n name: 'Capital souscrit - non appelé',\n key: 'subscribedCapital',\n accounts: ['109'],\n isSubcategory: true,\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'ACTIF IMMOBILISE',\n key: 'fixedAsset',\n total: 0,\n totalDeducted: 0,\n isCategory: true,\n fields: [\n {\n name: 'Immobilisations incorporelles',\n isSubcategory: true,\n fields: [\n {\n name: 'Frais d\\'établissement',\n accounts: ['201'],\n accountsDeducted: ['2801'],\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Frais de recherche et de développement',\n accounts: ['203'],\n accountsDeducted: ['2803'],\n },\n {\n name: 'Concessions, brevets, licences, marques, procédés, logiciels, droits et valeurs similaires',\n accounts: ['205'],\n accountsDeducted: ['2805', '2905'],\n },\n {\n name: 'Fonds commercial',\n accounts: ['206', '207'],\n accountsDeducted: ['2806', '2807', '2906', '2907'],\n },\n {\n name: 'Autres',\n accounts: ['208'],\n accountsDeducted: ['2808', '2908'],\n },\n {\n name: 'Immobilisations incorporelles en cours',\n accounts: ['232'],\n accountsDeducted: ['2932'],\n },\n {\n name: 'Avances et acomptes',\n accounts: ['237'],\n },\n ],\n },\n {\n name: 'Immobilisations corporelles',\n key: 'tangibleFixedAssets',\n isSubcategory: true,\n fields: [\n {\n name: 'Terrains',\n accounts: ['211', '212'],\n accountsDeducted: ['2811', '2812', '2911'],\n },\n {\n name: 'Constructions',\n accounts: ['213', '214'],\n accountsDeducted: ['2813', '2814'],\n },\n {\n name: 'Installations techniques, matériels, et outillage industriels',\n accounts: ['215'],\n accountsDeducted: ['2815'],\n },\n {\n name: 'Autres',\n accounts: ['218', '22'],\n accountsDeducted: ['2818', '282', '292'],\n },\n {\n name: 'Immobilisations corporelles en cours',\n accounts: ['231'],\n accountsDeducted: ['2931'],\n },\n {\n name: 'Avances et acomptes',\n accounts: ['238'],\n },\n ],\n },\n {\n name: 'Immobilisations financières',\n key: 'financialFixedAssets',\n isSubcategory: true,\n fields: [\n {\n name: 'Participations',\n accounts: ['261', '266'],\n accountsDeducted: ['2691', '2966'],\n },\n {\n name: 'Créances rattachées à des participations',\n accounts: ['267', '268'],\n accountsDeducted: ['2967', '2968'],\n },\n {\n name: 'Titres immobilisés de l\\'activité de portefeuille',\n accounts: ['273'],\n accountsDeducted: ['2973'],\n },\n {\n name: 'Autres titres immobilisés',\n accounts: ['271', '272'],\n accountsDeducted: ['2971', '2972'],\n },\n {\n name: 'Prêts',\n accounts: ['274'],\n accountsDeducted: ['2974'],\n },\n {\n name: 'Autres',\n accounts: ['236', '275', '276', '277'],\n accountsDeducted: ['2975', '2976'],\n },\n ],\n },\n ],\n },\n {\n name: 'Total I',\n key: 'total1',\n total: 0,\n totalDeducted: 0,\n calculation: true,\n calculationAdd: ['fixedAsset'],\n isTotal: true,\n },\n {\n name: 'ACTIF CIRCULANT',\n key: 'circulatingActive',\n total: 0,\n totalDeducted: 0,\n isCategory: true,\n fields: [\n {\n name: 'Stocks et en-cours',\n isSubcategory: true,\n fields: [\n {\n name: 'Matières premières et autres approvisionnements',\n accounts: ['31', '32'],\n accountsDeducted: ['391', '392'],\n },\n {\n name: 'En cours de production [biens et services]',\n accounts: ['33', '34'],\n accountsDeducted: ['393', '394'],\n },\n {\n name: 'Produits intermédiaires et finis',\n accounts: ['35', '36'],\n accountsDeducted: ['395', '396'],\n },\n {\n name: 'Marchandises',\n accounts: ['37'],\n accountsDeducted: ['397'],\n },\n ],\n },\n {\n name: 'Avances et acomptes versés sur commandes',\n key: 'advancesAndDeposits',\n accounts: ['4091'],\n },\n {\n name: 'Créances',\n key: 'financialFixedAssets',\n isSubcategory: true,\n fields: [\n {\n // créance client = lorsque les clients te doivent de l'argent = somme débit > crédit\n name: 'Créances clients et comptes rattachés',\n accounts: ['411', '413', '416', '418'],\n idThirdPartyTypeToAdd: [ThirdPartyType.CUSTOMER, MathematicalSign.PLUS],\n accountsDeducted: ['491'],\n },\n {\n // autres = lorsque les fournisseurs te doivent de l'argent = somme débit > crédit\n name: 'Autres',\n accounts: ['401', '4096', '4097', '4098', '42', '43', '44', '45', '46', '48'],\n idThirdPartyTypeToAdd: [ThirdPartyType.PROVIDER, MathematicalSign.PLUS],\n accountsDeducted: ['495', '496'], // Actif : On compte dedans que ceux qui sont positifs que 4\n type: 'active',\n },\n {\n name: 'Capital souscrit - appelé, non versé',\n accounts: ['4562'],\n },\n ],\n },\n {\n name: 'Valeurs mobilières de placement',\n key: 'securities',\n isSubcategory: true,\n fields: [\n {\n name: 'Actions propres',\n accounts: ['502'],\n accountsDeducted: ['5902'],\n },\n {\n name: 'Autres titres',\n accounts: ['503', '504', '505', '506', '507', '508'],\n accountsDeducted: ['5903', '5904', '5905', '5906', '5907', '5908'],\n },\n ],\n },\n {\n name: 'Instruments de trésorerie',\n key: 'treasuryInstruments',\n accounts: ['52'],\n type: 'active',\n },\n {\n name: 'Disponibilités',\n key: 'availabilities',\n accounts: ['511', '512', '514', '515', '516', '517', '5181', '5187', '53', '54', '58'],\n type: 'active',\n },\n {\n name: 'Charges constatées d\\'avance',\n key: 'establishedInAdvance',\n accounts: ['486'],\n },\n ],\n },\n {\n name: 'Total II',\n key: 'total2',\n total: 0,\n totalDeducted: 0,\n calculation: true,\n isTotal: true,\n calculationAdd: ['circulatingActive'],\n },\n {\n name: 'Charges à répartir sur plusieurs exercices (III)',\n key: 'total3',\n accounts: ['481'],\n isTotal: true,\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Primes de remboursement des emprunts (IV)',\n key: 'total4',\n accounts: ['169'],\n isTotal: true,\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Ecarts de conversion Actif (V)',\n key: 'total5',\n total: 0,\n totalDeducted: 0,\n accounts: ['476'],\n isTotal: true,\n },\n {\n name: 'TOTAL GENERAL (I+II+III+IV+V)',\n key: 'total6',\n total: 0,\n totalDeducted: 0,\n calculation: true,\n calculationAdd: ['fixedAsset', 'subscribedCapital', 'circulatingActive', 'total3', 'total4', 'total3', 'total4', 'total5'],\n isTotal: true,\n },\n];\n\nexport const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [\n {\n name: 'Capital [dont versé...]',\n key: 'subscribedCapital',\n accounts: ['101', '108'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Primes d\\'émission, de fusion, d\\'apport',\n key: 'issuePremiums',\n accounts: ['104'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Ecart de réévaluation',\n key: 'revaluationGap',\n accounts: ['105'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Ecart d\\'équivalence',\n key: 'equivalenceGap',\n accounts: ['107'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Réserves',\n key: 'reservations',\n total: 0,\n isCategory: true,\n fields: [\n {\n name: 'Réserve légale',\n accounts: ['1061'],\n total: 0,\n totalDeducted: 0,\n },\n {\n name: 'Réserves statutaires ou contractuelles',\n accounts: ['1063'],\n },\n {\n name: 'Réserves réglementées',\n accounts: ['1062', '1064'],\n },\n {\n name: 'Autres',\n accounts: ['1068'],\n },\n ],\n },\n {\n name: 'Report à nouveau',\n key: 'postponement',\n accounts: ['11', '12'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Résultat de l\\'exercice [bénéfice ou perte]',\n key: 'resultExercice',\n accounts: ['12'], // comptes 6 - 7\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Subventions d\\'investissement',\n key: 'subsidies',\n accounts: ['13'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Provisions réglementées',\n key: 'subsidiesRegulated',\n accounts: ['14'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Total I',\n key: 'total1',\n calculation: true,\n calculationAdd: ['subscribedCapital', 'issuePremiums', 'equivalenceGap', 'revaluationGap', 'reservations', 'postponement', 'resultExercice', 'subsidies', 'subsidiesRegulated'],\n isTotal: true,\n total: 0,\n },\n {\n name: 'PROVISIONS POUR RISQUES ET CHARGES',\n key: 'provisions',\n isCategory: true,\n fields: [\n {\n name: 'Provisions pour risques',\n accounts: ['151'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Provisions pour charges',\n accounts: ['153', '155', '156', '157', '158'],\n isSubcategory: true,\n total: 0,\n },\n ],\n },\n {\n name: 'Total II',\n key: 'total2',\n total: 0,\n calculation: true,\n calculationAdd: ['provisions'],\n isTotal: true,\n },\n {\n name: 'DETTES',\n isCategory: true,\n key: 'debts',\n fields: [\n {\n name: 'Emprunts obligataires convertibles',\n key: 'convertibleBonds',\n accounts: ['161', '16881'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Autres emprunts obligataires',\n key: 'convertibleBonds',\n accounts: ['163', '16883'],\n isSubcategory: true,\n total: 0,\n },\n {\n name: 'Emprunts et dettes auprès établissements de crédits (1)',\n key: 'loansCredits',\n accounts: ['164', '16884', '512', '514', '517', '5186', '519', '53', '58'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Emprunts et dettes financières diverses (2)',\n key: 'loans',\n accounts: ['165', '166', '167', '168', '16885', '16886', '16887', '16888', '17', '426', '451', '455', '4563', '4564', '4567', '457', '458'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Avances et acomptes reçues sur commandes en cours',\n key: 'advancesAndDeposits',\n accounts: ['4191'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Dettes Fournisseurs et Comptes rattachés',\n key: 'payables',\n accounts: ['401', '403', '4081', '4088'],\n // PASSIF dette fournisseurs = lorsque l'entreprise doit de l'argent au fournisseurs = somme crédit > débit\n idThirdPartyTypeToAdd: [ThirdPartyType.PROVIDER, MathematicalSign.LESS],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Dettes fiscales et sociales',\n key: 'taxDebts',\n accounts: ['42', '426', '43', '44'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Dettes sur immobilisations et Comptes rattachés',\n key: 'immobilizationDebts',\n accounts: ['269', '279', '404', '405', '4084'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Autres dettes',\n key: 'OtherDebts',\n accounts: ['411', '4196', '4197', '4198', '464', '467', '4686', '471', '472', '478', '509'],\n // PASSIF Autres = lorsque l'entreprise doit de l'argent au client = somme débit > crédit (modifié)\n idThirdPartyTypeToAdd: [ThirdPartyType.CUSTOMER, MathematicalSign.LESS],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Instruments de trésorerie',\n key: 'treasuryInstruments',\n accounts: ['52'],\n isSubcategory: true,\n total: 0,\n type: 'passive',\n },\n {\n name: 'Produits constatés d\\'avance',\n key: 'advanceProducts',\n accounts: ['487', '489'],\n isSubcategory: true,\n total: 0,\n },\n ],\n },\n {\n name: 'Total III',\n key: 'total3',\n total: 0,\n calculation: true,\n calculationAdd: ['debts'],\n isTotal: true,\n },\n {\n name: 'Ecarts de conversion passif (IV)',\n key: 'total4',\n total: 0,\n accounts: ['477'],\n isTotal: true,\n },\n {\n name: 'TOTAL GENERAL (I+II+III+IV)',\n key: 'total5',\n total: 0,\n calculation: true,\n calculationAdd: ['subscribedCapital', 'issuePremiums', 'equivalenceGap', 'revaluationGap', 'reservations', 'postponement', 'resultExercice', 'subsidies', 'subsidiesRegulated', 'provisions', 'debts', 'total4'],\n isTotal: true,\n },\n];\n\nexport const BALANCE_SHEET_LIST_PASSIVE_DETAILS: BalanceSheetField[] = [\n {\n name: '(1) Dont concours bancaires courants et soldes créditeurs de banques',\n accounts: ['51'],\n total: 0,\n type: 'passive',\n },\n {\n name: '(2) Dont emprunts participatifs',\n accounts: ['1675'],\n total: 0,\n type: 'passive',\n },\n];"]}
@@ -1,5 +1,7 @@
1
1
  export declare enum Channel {
2
2
  COMMENT = 1,
3
- PHONE = 2
3
+ PHONE = 2,
4
+ TASK = 4,
5
+ SMS = 5
4
6
  }
5
7
  //# sourceMappingURL=Channel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Channel.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/Channel.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO;IACjB,OAAO,IAAI;IACX,KAAK,IAAI;CACV"}
1
+ {"version":3,"file":"Channel.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/Channel.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO;IACjB,OAAO,IAAI;IACX,KAAK,IAAI;IACT,IAAI,IAAI;IACR,GAAG,IAAI;CACR"}
@@ -2,5 +2,7 @@ export var Channel;
2
2
  (function (Channel) {
3
3
  Channel[Channel["COMMENT"] = 1] = "COMMENT";
4
4
  Channel[Channel["PHONE"] = 2] = "PHONE";
5
+ Channel[Channel["TASK"] = 4] = "TASK";
6
+ Channel[Channel["SMS"] = 5] = "SMS";
5
7
  })(Channel || (Channel = {}));
6
8
  //# sourceMappingURL=Channel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Channel.js","sourceRoot":"","sources":["../../../ts/types/Enum/Channel.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,OAGX;AAHD,WAAY,OAAO;IACjB,2CAAW,CAAA;IACX,uCAAS,CAAA;AACX,CAAC,EAHW,OAAO,KAAP,OAAO,QAGlB","sourcesContent":["export enum Channel {\n COMMENT = 1,\n PHONE = 2,\n}"]}
1
+ {"version":3,"file":"Channel.js","sourceRoot":"","sources":["../../../ts/types/Enum/Channel.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,OAKX;AALD,WAAY,OAAO;IACjB,2CAAW,CAAA;IACX,uCAAS,CAAA;IACT,qCAAQ,CAAA;IACR,mCAAO,CAAA;AACT,CAAC,EALW,OAAO,KAAP,OAAO,QAKlB","sourcesContent":["export enum Channel {\n COMMENT = 1,\n PHONE = 2,\n TASK = 4,\n SMS = 5,\n}"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ConstitutionState.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/ConstitutionState.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,UAAU,IAAI;IACd,eAAe,IAAI;IACnB,QAAQ,IAAI;IACZ,yBAAyB,IAAI;IAC7B,2BAA2B,IAAI;IAC/B,+CAA+C,IAAI;IACnD,YAAY,IAAI;IAChB,mBAAmB,IAAI;IACvB,eAAe,IAAI;IACnB,cAAc,KAAK;CACpB;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,KAAK,EAAE,iBAAiB,CAAC;QACzB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,qBAmDrC,CAAC"}
1
+ {"version":3,"file":"ConstitutionState.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/ConstitutionState.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,UAAU,IAAI;IACd,eAAe,IAAI;IACnB,QAAQ,IAAI;IACZ,yBAAyB,IAAI;IAC7B,2BAA2B,IAAI;IAC/B,+CAA+C,IAAI;IAGnD,YAAY,IAAI;IAChB,mBAAmB,IAAI;IACvB,eAAe,IAAI;IAEnB,cAAc,KAAK;CACpB;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,KAAK,EAAE,iBAAiB,CAAC;QACzB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,qBAsDrC,CAAC"}
@@ -6,15 +6,18 @@ export var ConstitutionState;
6
6
  ConstitutionState[ConstitutionState["WAITING_INFORMATION_SHEET"] = 4] = "WAITING_INFORMATION_SHEET";
7
7
  ConstitutionState[ConstitutionState["WAITING_DEPOSIT_CERTIFICATE"] = 5] = "WAITING_DEPOSIT_CERTIFICATE";
8
8
  ConstitutionState[ConstitutionState["WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES"] = 6] = "WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES";
9
+ // TODO : A delete une fois plus utilisé
10
+ // ========================
9
11
  ConstitutionState[ConstitutionState["WAITING_KBIS"] = 7] = "WAITING_KBIS";
10
12
  ConstitutionState[ConstitutionState["WAITING_RIB_OR_SEPA"] = 8] = "WAITING_RIB_OR_SEPA";
11
13
  ConstitutionState[ConstitutionState["INVOICING_TO_D0"] = 9] = "INVOICING_TO_D0";
14
+ // ========================
12
15
  ConstitutionState[ConstitutionState["ABANDONED_CASE"] = 10] = "ABANDONED_CASE";
13
16
  })(ConstitutionState || (ConstitutionState = {}));
14
17
  export const ConstitutionStateDetail = {
15
18
  TO_CONTACT: {
16
19
  value: ConstitutionState.TO_CONTACT,
17
- text: 'À contacter',
20
+ text: 'À contacter et à facturer',
18
21
  color: 'grey lighten-4',
19
22
  },
20
23
  WAITING_INFORMATION_SHEET: {
@@ -32,6 +35,8 @@ export const ConstitutionStateDetail = {
32
35
  text: 'Attente doc signés / paiement AL / frais de Greffe',
33
36
  color: 'blue lighten-4',
34
37
  },
38
+ // TODO : A delete une fois plus utilisé
39
+ // ========================================
35
40
  WAITING_KBIS: {
36
41
  value: ConstitutionState.WAITING_KBIS,
37
42
  text: 'Attente KBIS',
@@ -47,6 +52,7 @@ export const ConstitutionStateDetail = {
47
52
  text: 'Facturation à faire',
48
53
  color: 'primary lighten-2',
49
54
  },
55
+ // ========================================
50
56
  ABANDONED_CASE: {
51
57
  value: ConstitutionState.ABANDONED_CASE,
52
58
  text: 'Dossier en abandon',
@@ -59,7 +65,7 @@ export const ConstitutionStateDetail = {
59
65
  },
60
66
  FINISHED: {
61
67
  value: ConstitutionState.FINISHED,
62
- text: 'Dossier terminé',
68
+ text: 'Dossier Conforme (Envoi KBIS, information & documents et RIB pro)',
63
69
  color: 'success',
64
70
  },
65
71
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ConstitutionState.js","sourceRoot":"","sources":["../../../ts/types/Enum/ConstitutionState.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC3B,qEAAc,CAAA;IACd,+EAAmB,CAAA;IACnB,iEAAY,CAAA;IACZ,mGAA6B,CAAA;IAC7B,uGAA+B,CAAA;IAC/B,+IAAmD,CAAA;IACnD,yEAAgB,CAAA;IAChB,uFAAuB,CAAA;IACvB,+EAAmB,CAAA;IACnB,8EAAmB,CAAA;AACrB,CAAC,EAXW,iBAAiB,KAAjB,iBAAiB,QAW5B;AAUD,MAAM,CAAC,MAAM,uBAAuB,GAA0B;IAC5D,UAAU,EAAE;QACV,KAAK,EAAE,iBAAiB,CAAC,UAAU;QACnC,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,gBAAgB;KACxB;IACD,yBAAyB,EAAE;QACzB,KAAK,EAAE,iBAAiB,CAAC,yBAAyB;QAClD,IAAI,EAAE,gCAAgC;QACtC,KAAK,EAAE,gBAAgB;KACxB;IACD,2BAA2B,EAAE;QAC3B,KAAK,EAAE,iBAAiB,CAAC,2BAA2B;QACpD,IAAI,EAAE,6BAA6B;QACnC,KAAK,EAAE,MAAM;KACd;IACD,+CAA+C,EAAE;QAC/C,KAAK,EAAE,iBAAiB,CAAC,+CAA+C;QACxE,IAAI,EAAE,oDAAoD;QAC1D,KAAK,EAAE,gBAAgB;KACxB;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,iBAAiB,CAAC,YAAY;QACrC,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,kBAAkB;KAC1B;IACD,mBAAmB,EAAE;QACnB,KAAK,EAAE,iBAAiB,CAAC,mBAAmB;QAC5C,IAAI,EAAE,eAAe;QACrB,KAAK,EAAE,kBAAkB;KAC1B;IACD,eAAe,EAAE;QACf,KAAK,EAAE,iBAAiB,CAAC,eAAe;QACxC,IAAI,EAAE,qBAAqB;QAC3B,KAAK,EAAE,mBAAmB;KAC3B;IACD,cAAc,EAAE;QACd,KAAK,EAAE,iBAAiB,CAAC,cAAc;QACvC,IAAI,EAAE,oBAAoB;QAC1B,KAAK,EAAE,eAAe;KACvB;IACD,eAAe,EAAE;QACf,KAAK,EAAE,iBAAiB,CAAC,eAAe;QACxC,IAAI,EAAE,6BAA6B;QACnC,KAAK,EAAE,SAAS;KACjB;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,iBAAiB,CAAC,QAAQ;QACjC,IAAI,EAAE,iBAAiB;QACvB,KAAK,EAAE,SAAS;KACjB;CACF,CAAC","sourcesContent":["export enum ConstitutionState {\n TO_CONTACT = 1,\n BEING_ABANDONED = 2,\n FINISHED = 3,\n WAITING_INFORMATION_SHEET = 4,\n WAITING_DEPOSIT_CERTIFICATE = 5,\n WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES = 6,\n WAITING_KBIS = 7,\n WAITING_RIB_OR_SEPA = 8,\n INVOICING_TO_D0 = 9,\n ABANDONED_CASE = 10,\n}\n\nexport type ConstitutionStateType = {\n [key: string]: {\n value: ConstitutionState,\n text: string,\n color: string,\n },\n};\n\nexport const ConstitutionStateDetail: ConstitutionStateType = {\n TO_CONTACT: {\n value: ConstitutionState.TO_CONTACT,\n text: 'À contacter',\n color: 'grey lighten-4',\n },\n WAITING_INFORMATION_SHEET: {\n value: ConstitutionState.WAITING_INFORMATION_SHEET,\n text: 'Attente fiche de renseignement',\n color: 'blue lighten-4',\n },\n WAITING_DEPOSIT_CERTIFICATE: {\n value: ConstitutionState.WAITING_DEPOSIT_CERTIFICATE,\n text: 'Attente certificat de dépôt',\n color: 'blue',\n },\n WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES: {\n value: ConstitutionState.WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES,\n text: 'Attente doc signés / paiement AL / frais de Greffe',\n color: 'blue lighten-4',\n },\n WAITING_KBIS: {\n value: ConstitutionState.WAITING_KBIS,\n text: 'Attente KBIS',\n color: 'purple lighten-4',\n },\n WAITING_RIB_OR_SEPA: {\n value: ConstitutionState.WAITING_RIB_OR_SEPA,\n text: 'Envoi de KBIS',\n color: 'yellow lighten-4',\n },\n INVOICING_TO_D0: {\n value: ConstitutionState.INVOICING_TO_D0,\n text: 'Facturation à faire',\n color: 'primary lighten-2',\n },\n ABANDONED_CASE: {\n value: ConstitutionState.ABANDONED_CASE,\n text: 'Dossier en abandon',\n color: 'grey darken-3',\n },\n BEING_ABANDONED: {\n value: ConstitutionState.BEING_ABANDONED,\n text: 'Dossier en cours d\\'abandon',\n color: 'primary',\n },\n FINISHED: {\n value: ConstitutionState.FINISHED,\n text: 'Dossier terminé',\n color: 'success',\n },\n};"]}
1
+ {"version":3,"file":"ConstitutionState.js","sourceRoot":"","sources":["../../../ts/types/Enum/ConstitutionState.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,iBAcX;AAdD,WAAY,iBAAiB;IAC3B,qEAAc,CAAA;IACd,+EAAmB,CAAA;IACnB,iEAAY,CAAA;IACZ,mGAA6B,CAAA;IAC7B,uGAA+B,CAAA;IAC/B,+IAAmD,CAAA;IACnD,wCAAwC;IACxC,2BAA2B;IAC3B,yEAAgB,CAAA;IAChB,uFAAuB,CAAA;IACvB,+EAAmB,CAAA;IACnB,2BAA2B;IAC3B,8EAAmB,CAAA;AACrB,CAAC,EAdW,iBAAiB,KAAjB,iBAAiB,QAc5B;AAUD,MAAM,CAAC,MAAM,uBAAuB,GAA0B;IAC5D,UAAU,EAAE;QACV,KAAK,EAAE,iBAAiB,CAAC,UAAU;QACnC,IAAI,EAAE,2BAA2B;QACjC,KAAK,EAAE,gBAAgB;KACxB;IACD,yBAAyB,EAAE;QACzB,KAAK,EAAE,iBAAiB,CAAC,yBAAyB;QAClD,IAAI,EAAE,gCAAgC;QACtC,KAAK,EAAE,gBAAgB;KACxB;IACD,2BAA2B,EAAE;QAC3B,KAAK,EAAE,iBAAiB,CAAC,2BAA2B;QACpD,IAAI,EAAE,6BAA6B;QACnC,KAAK,EAAE,MAAM;KACd;IACD,+CAA+C,EAAE;QAC/C,KAAK,EAAE,iBAAiB,CAAC,+CAA+C;QACxE,IAAI,EAAE,oDAAoD;QAC1D,KAAK,EAAE,gBAAgB;KACxB;IACD,wCAAwC;IACxC,2CAA2C;IAC3C,YAAY,EAAE;QACZ,KAAK,EAAE,iBAAiB,CAAC,YAAY;QACrC,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,kBAAkB;KAC1B;IACD,mBAAmB,EAAE;QACnB,KAAK,EAAE,iBAAiB,CAAC,mBAAmB;QAC5C,IAAI,EAAE,eAAe;QACrB,KAAK,EAAE,kBAAkB;KAC1B;IACD,eAAe,EAAE;QACf,KAAK,EAAE,iBAAiB,CAAC,eAAe;QACxC,IAAI,EAAE,qBAAqB;QAC3B,KAAK,EAAE,mBAAmB;KAC3B;IACD,2CAA2C;IAC3C,cAAc,EAAE;QACd,KAAK,EAAE,iBAAiB,CAAC,cAAc;QACvC,IAAI,EAAE,oBAAoB;QAC1B,KAAK,EAAE,eAAe;KACvB;IACD,eAAe,EAAE;QACf,KAAK,EAAE,iBAAiB,CAAC,eAAe;QACxC,IAAI,EAAE,6BAA6B;QACnC,KAAK,EAAE,SAAS;KACjB;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,iBAAiB,CAAC,QAAQ;QACjC,IAAI,EAAE,mEAAmE;QACzE,KAAK,EAAE,SAAS;KACjB;CACF,CAAC","sourcesContent":["export enum ConstitutionState {\n TO_CONTACT = 1,\n BEING_ABANDONED = 2,\n FINISHED = 3,\n WAITING_INFORMATION_SHEET = 4,\n WAITING_DEPOSIT_CERTIFICATE = 5,\n WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES = 6,\n // TODO : A delete une fois plus utilisé\n // ========================\n WAITING_KBIS = 7,\n WAITING_RIB_OR_SEPA = 8,\n INVOICING_TO_D0 = 9,\n // ========================\n ABANDONED_CASE = 10,\n}\n\nexport type ConstitutionStateType = {\n [key: string]: {\n value: ConstitutionState,\n text: string,\n color: string,\n },\n};\n\nexport const ConstitutionStateDetail: ConstitutionStateType = {\n TO_CONTACT: {\n value: ConstitutionState.TO_CONTACT,\n text: 'À contacter et à facturer',\n color: 'grey lighten-4',\n },\n WAITING_INFORMATION_SHEET: {\n value: ConstitutionState.WAITING_INFORMATION_SHEET,\n text: 'Attente fiche de renseignement',\n color: 'blue lighten-4',\n },\n WAITING_DEPOSIT_CERTIFICATE: {\n value: ConstitutionState.WAITING_DEPOSIT_CERTIFICATE,\n text: 'Attente certificat de dépôt',\n color: 'blue',\n },\n WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES: {\n value: ConstitutionState.WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES,\n text: 'Attente doc signés / paiement AL / frais de Greffe',\n color: 'blue lighten-4',\n },\n // TODO : A delete une fois plus utilisé\n // ========================================\n WAITING_KBIS: {\n value: ConstitutionState.WAITING_KBIS,\n text: 'Attente KBIS',\n color: 'purple lighten-4',\n },\n WAITING_RIB_OR_SEPA: {\n value: ConstitutionState.WAITING_RIB_OR_SEPA,\n text: 'Envoi de KBIS',\n color: 'yellow lighten-4',\n },\n INVOICING_TO_D0: {\n value: ConstitutionState.INVOICING_TO_D0,\n text: 'Facturation à faire',\n color: 'primary lighten-2',\n },\n // ========================================\n ABANDONED_CASE: {\n value: ConstitutionState.ABANDONED_CASE,\n text: 'Dossier en abandon',\n color: 'grey darken-3',\n },\n BEING_ABANDONED: {\n value: ConstitutionState.BEING_ABANDONED,\n text: 'Dossier en cours d\\'abandon',\n color: 'primary',\n },\n FINISHED: {\n value: ConstitutionState.FINISHED,\n text: 'Dossier Conforme (Envoi KBIS, information & documents et RIB pro)',\n color: 'success',\n },\n};"]}
@@ -0,0 +1,11 @@
1
+ export declare enum PrestationListType {
2
+ ACCOUNTANT = 1,
3
+ JURIDIC = 2,
4
+ SOCIAL = 3,
5
+ ATTESTATION = 4
6
+ }
7
+ export declare const PrestationListTypeDetail: {
8
+ id: PrestationListType;
9
+ label: string;
10
+ }[];
11
+ //# sourceMappingURL=PrestationListType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrestationListType.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/PrestationListType.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB;IAC5B,UAAU,IAAI;IACd,OAAO,IAAI;IACX,MAAM,IAAI;IACV,WAAW,IAAI;CAChB;AAED,eAAO,MAAM,wBAAwB;;;GAiBpC,CAAC"}
@@ -0,0 +1,26 @@
1
+ export var PrestationListType;
2
+ (function (PrestationListType) {
3
+ PrestationListType[PrestationListType["ACCOUNTANT"] = 1] = "ACCOUNTANT";
4
+ PrestationListType[PrestationListType["JURIDIC"] = 2] = "JURIDIC";
5
+ PrestationListType[PrestationListType["SOCIAL"] = 3] = "SOCIAL";
6
+ PrestationListType[PrestationListType["ATTESTATION"] = 4] = "ATTESTATION";
7
+ })(PrestationListType || (PrestationListType = {}));
8
+ export const PrestationListTypeDetail = [
9
+ {
10
+ id: PrestationListType.ACCOUNTANT,
11
+ label: 'Comptable',
12
+ },
13
+ {
14
+ id: PrestationListType.JURIDIC,
15
+ label: 'Juridique',
16
+ },
17
+ {
18
+ id: PrestationListType.SOCIAL,
19
+ label: 'Sociale',
20
+ },
21
+ {
22
+ id: PrestationListType.ATTESTATION,
23
+ label: 'Attestation',
24
+ },
25
+ ];
26
+ //# sourceMappingURL=PrestationListType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrestationListType.js","sourceRoot":"","sources":["../../../ts/types/Enum/PrestationListType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,uEAAc,CAAA;IACd,iEAAW,CAAA;IACX,+DAAU,CAAA;IACV,yEAAe,CAAA;AACjB,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B;AAED,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC;QACE,EAAE,EAAE,kBAAkB,CAAC,UAAU;QACjC,KAAK,EAAE,WAAW;KACnB;IACD;QACE,EAAE,EAAE,kBAAkB,CAAC,OAAO;QAC9B,KAAK,EAAE,WAAW;KACnB;IACD;QACE,EAAE,EAAE,kBAAkB,CAAC,MAAM;QAC7B,KAAK,EAAE,SAAS;KACjB;IACD;QACE,EAAE,EAAE,kBAAkB,CAAC,WAAW;QAClC,KAAK,EAAE,aAAa;KACrB;CACF,CAAC","sourcesContent":["export enum PrestationListType {\n ACCOUNTANT = 1,\n JURIDIC = 2,\n SOCIAL = 3,\n ATTESTATION = 4,\n}\n\nexport const PrestationListTypeDetail = [\n {\n id: PrestationListType.ACCOUNTANT,\n label: 'Comptable',\n },\n {\n id: PrestationListType.JURIDIC,\n label: 'Juridique',\n },\n {\n id: PrestationListType.SOCIAL,\n label: 'Sociale',\n },\n {\n id: PrestationListType.ATTESTATION,\n label: 'Attestation',\n },\n];"]}
@@ -0,0 +1,20 @@
1
+ export declare class QueryCreatePrestations {
2
+ name: string;
3
+ idFile?: number;
4
+ isComptable: boolean;
5
+ isJuridique: boolean;
6
+ isSocial: boolean;
7
+ isAttestation: boolean;
8
+ inAverageCart: boolean;
9
+ isBack: boolean;
10
+ price?: number;
11
+ isCatalog: boolean;
12
+ hidden: boolean;
13
+ isComplementary: boolean;
14
+ signaturePosition?: string;
15
+ signaturePage?: number;
16
+ textDefault?: string;
17
+ color?: string;
18
+ point?: number;
19
+ }
20
+ //# sourceMappingURL=QueryCreate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryCreate.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/prestations/QueryCreate.ts"],"names":[],"mappings":"AAMA,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;IAKb,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,WAAW,EAAE,OAAO,CAAC;IAKrB,WAAW,EAAE,OAAO,CAAC;IAKrB,QAAQ,EAAE,OAAO,CAAC;IAKlB,aAAa,EAAE,OAAO,CAAC;IAKvB,aAAa,EAAE,OAAO,CAAC;IAKvB,MAAM,EAAE,OAAO,CAAC;IAKhB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,SAAS,EAAE,OAAO,CAAC;IAKnB,MAAM,EAAE,OAAO,CAAC;IAKhB,eAAe,EAAE,OAAO,CAAC;IAKzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,116 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { IsOptional, IsNumber, IsString, IsBoolean, } from 'class-validator';
11
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
+ export class QueryCreatePrestations {
14
+ }
15
+ __decorate([
16
+ ApiProperty(),
17
+ IsString(),
18
+ __metadata("design:type", String)
19
+ ], QueryCreatePrestations.prototype, "name", void 0);
20
+ __decorate([
21
+ ApiPropertyOptional(),
22
+ IsNumber(),
23
+ IsOptional(),
24
+ __metadata("design:type", Number)
25
+ ], QueryCreatePrestations.prototype, "idFile", void 0);
26
+ __decorate([
27
+ ApiProperty(),
28
+ IsBoolean(),
29
+ ToBoolean(),
30
+ __metadata("design:type", Boolean)
31
+ ], QueryCreatePrestations.prototype, "isComptable", void 0);
32
+ __decorate([
33
+ ApiProperty(),
34
+ IsBoolean(),
35
+ ToBoolean(),
36
+ __metadata("design:type", Boolean)
37
+ ], QueryCreatePrestations.prototype, "isJuridique", void 0);
38
+ __decorate([
39
+ ApiProperty(),
40
+ IsBoolean(),
41
+ ToBoolean(),
42
+ __metadata("design:type", Boolean)
43
+ ], QueryCreatePrestations.prototype, "isSocial", void 0);
44
+ __decorate([
45
+ ApiProperty(),
46
+ IsBoolean(),
47
+ ToBoolean(),
48
+ __metadata("design:type", Boolean)
49
+ ], QueryCreatePrestations.prototype, "isAttestation", void 0);
50
+ __decorate([
51
+ ApiProperty(),
52
+ IsBoolean(),
53
+ ToBoolean(),
54
+ __metadata("design:type", Boolean)
55
+ ], QueryCreatePrestations.prototype, "inAverageCart", void 0);
56
+ __decorate([
57
+ ApiProperty(),
58
+ IsBoolean(),
59
+ ToBoolean(),
60
+ __metadata("design:type", Boolean)
61
+ ], QueryCreatePrestations.prototype, "isBack", void 0);
62
+ __decorate([
63
+ ApiPropertyOptional(),
64
+ IsNumber(),
65
+ IsOptional(),
66
+ __metadata("design:type", Number)
67
+ ], QueryCreatePrestations.prototype, "price", void 0);
68
+ __decorate([
69
+ ApiProperty(),
70
+ IsBoolean(),
71
+ ToBoolean(),
72
+ __metadata("design:type", Boolean)
73
+ ], QueryCreatePrestations.prototype, "isCatalog", void 0);
74
+ __decorate([
75
+ ApiProperty(),
76
+ IsBoolean(),
77
+ ToBoolean(),
78
+ __metadata("design:type", Boolean)
79
+ ], QueryCreatePrestations.prototype, "hidden", void 0);
80
+ __decorate([
81
+ ApiProperty(),
82
+ IsBoolean(),
83
+ ToBoolean(),
84
+ __metadata("design:type", Boolean)
85
+ ], QueryCreatePrestations.prototype, "isComplementary", void 0);
86
+ __decorate([
87
+ ApiPropertyOptional(),
88
+ IsString(),
89
+ IsOptional(),
90
+ __metadata("design:type", String)
91
+ ], QueryCreatePrestations.prototype, "signaturePosition", void 0);
92
+ __decorate([
93
+ ApiPropertyOptional(),
94
+ IsNumber(),
95
+ IsOptional(),
96
+ __metadata("design:type", Number)
97
+ ], QueryCreatePrestations.prototype, "signaturePage", void 0);
98
+ __decorate([
99
+ ApiPropertyOptional(),
100
+ IsString(),
101
+ IsOptional(),
102
+ __metadata("design:type", String)
103
+ ], QueryCreatePrestations.prototype, "textDefault", void 0);
104
+ __decorate([
105
+ ApiPropertyOptional(),
106
+ IsString(),
107
+ IsOptional(),
108
+ __metadata("design:type", String)
109
+ ], QueryCreatePrestations.prototype, "color", void 0);
110
+ __decorate([
111
+ ApiPropertyOptional(),
112
+ IsNumber(),
113
+ IsOptional(),
114
+ __metadata("design:type", Number)
115
+ ], QueryCreatePrestations.prototype, "point", void 0);
116
+ //# sourceMappingURL=QueryCreate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryCreate.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/prestations/QueryCreate.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,GAC1C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,sBAAsB;CAoFlC;AAnFC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACE;AAEb;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sDACG;AAEhB;IAAC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;2DACS;AAErB;IAAC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;2DACS;AAErB;IAAC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;wDACM;AAElB;IAAC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;6DACW;AAEvB;IAAC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;6DACW;AAEvB;IAAC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;sDACI;AAEhB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACE;AAEf;IAAC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;yDACO;AAEnB;IAAC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;sDACI;AAEhB;IAAC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;+DACa;AAEzB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACc;AAE3B;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;6DACU;AAEvB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACQ;AAErB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACE;AAEf;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACE","sourcesContent":["import {\n IsOptional, IsNumber, IsString, IsBoolean,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryCreatePrestations {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idFile?: number;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isComptable: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isJuridique: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSocial: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isAttestation: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n inAverageCart: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isBack: boolean;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n price?: number;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isCatalog: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n hidden: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isComplementary: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n signaturePosition?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n signaturePage?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n textDefault?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n color?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n point?: number;\n}"]}
@@ -0,0 +1,6 @@
1
+ export declare class QueryGetAllPrestations {
2
+ search?: string;
3
+ idType?: number;
4
+ isHidden?: boolean;
5
+ }
6
+ //# sourceMappingURL=QueryGetAllPrestations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryGetAllPrestations.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/prestations/QueryGetAllPrestations.ts"],"names":[],"mappings":"AAOA,qBAAa,sBAAsB;IAIjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
@@ -0,0 +1,36 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { IsOptional, IsString, IsInt, IsIn, IsBoolean, } from 'class-validator';
11
+ import { ApiPropertyOptional } from '../../../../utils';
12
+ import { PrestationListType } from '../../../Enum/PrestationListType';
13
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
14
+ export class QueryGetAllPrestations {
15
+ }
16
+ __decorate([
17
+ ApiPropertyOptional(),
18
+ IsOptional(),
19
+ IsString(),
20
+ __metadata("design:type", String)
21
+ ], QueryGetAllPrestations.prototype, "search", void 0);
22
+ __decorate([
23
+ ApiPropertyOptional(),
24
+ IsOptional(),
25
+ IsInt(),
26
+ IsIn([PrestationListType.ACCOUNTANT, PrestationListType.JURIDIC, PrestationListType.SOCIAL, PrestationListType.ATTESTATION]),
27
+ __metadata("design:type", Number)
28
+ ], QueryGetAllPrestations.prototype, "idType", void 0);
29
+ __decorate([
30
+ ApiPropertyOptional(),
31
+ IsOptional(),
32
+ IsBoolean(),
33
+ ToBoolean(),
34
+ __metadata("design:type", Boolean)
35
+ ], QueryGetAllPrestations.prototype, "isHidden", void 0);
36
+ //# sourceMappingURL=QueryGetAllPrestations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryGetAllPrestations.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/prestations/QueryGetAllPrestations.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,GAC7C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,sBAAsB;CAiBlC;AAhBC;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;sDACK;AAEhB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;IACP,IAAI,CAAC,CAAC,kBAAkB,CAAC,UAAU,EAAE,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,MAAM,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;;sDAC7G;AAEhB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;wDACO","sourcesContent":["import {\n IsOptional, IsString, IsInt, IsIn, IsBoolean,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { PrestationListType } from '../../../Enum/PrestationListType';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryGetAllPrestations {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsIn([PrestationListType.ACCOUNTANT, PrestationListType.JURIDIC, PrestationListType.SOCIAL, PrestationListType.ATTESTATION])\n idType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isHidden?: boolean;\n}\n"]}
@@ -0,0 +1,22 @@
1
+ import { TFile } from '../file/TFile';
2
+ export declare class QueryUpdatePrestations {
3
+ name?: string;
4
+ idFile?: number;
5
+ isComptable?: boolean;
6
+ isJuridique?: boolean;
7
+ isSocial?: boolean;
8
+ isAttestation?: boolean;
9
+ inAverageCart?: boolean;
10
+ isBack?: boolean;
11
+ price?: number;
12
+ isCatalog?: boolean;
13
+ hidden?: boolean;
14
+ isComplementary?: boolean;
15
+ signaturePosition?: string;
16
+ signaturePage?: number;
17
+ textDefault?: string;
18
+ color?: string;
19
+ point?: number;
20
+ files?: TFile[];
21
+ }
22
+ //# sourceMappingURL=QueryUpdate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryUpdate.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/prestations/QueryUpdate.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,sBAAsB;IAIjC,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,WAAW,CAAC,EAAE,OAAO,CAAC;IAMtB,WAAW,CAAC,EAAE,OAAO,CAAC;IAMtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAMnB,aAAa,CAAC,EAAE,OAAO,CAAC;IAMxB,aAAa,CAAC,EAAE,OAAO,CAAC;IAMxB,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,KAAK,CAAC,EAAE,MAAM,CAAC;IAMf,SAAS,CAAC,EAAE,OAAO,CAAC;IAMpB,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC;CACjB"}