@silexpert/core 1.2.18 → 1.2.21

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 (241) hide show
  1. package/dist/cjs/api/resources/Equipment.d.ts +4 -0
  2. package/dist/cjs/api/resources/Equipment.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Equipment.js +8 -0
  4. package/dist/cjs/api/resources/Equipment.js.map +1 -1
  5. package/dist/cjs/api/resources/HumanResourceLibrary.d.ts +13 -0
  6. package/dist/cjs/api/resources/HumanResourceLibrary.d.ts.map +1 -0
  7. package/dist/cjs/api/resources/HumanResourceLibrary.js +38 -0
  8. package/dist/cjs/api/resources/HumanResourceLibrary.js.map +1 -0
  9. package/dist/cjs/api/resources/Library.d.ts +1 -2
  10. package/dist/cjs/api/resources/Library.d.ts.map +1 -1
  11. package/dist/cjs/api/resources/Library.js.map +1 -1
  12. package/dist/cjs/api/resources/Registration.d.ts +3 -1
  13. package/dist/cjs/api/resources/Registration.d.ts.map +1 -1
  14. package/dist/cjs/api/resources/Registration.js +6 -0
  15. package/dist/cjs/api/resources/Registration.js.map +1 -1
  16. package/dist/cjs/api/resources/SalesContract.d.ts +4 -0
  17. package/dist/cjs/api/resources/SalesContract.d.ts.map +1 -1
  18. package/dist/cjs/api/resources/SalesContract.js +18 -0
  19. package/dist/cjs/api/resources/SalesContract.js.map +1 -1
  20. package/dist/cjs/api/resources.d.ts +2 -0
  21. package/dist/cjs/api/resources.d.ts.map +1 -1
  22. package/dist/cjs/api/resources.js +2 -0
  23. package/dist/cjs/api/resources.js.map +1 -1
  24. package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
  25. package/dist/cjs/types/Enum/BrandClementine.js +28 -27
  26. package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
  27. package/dist/cjs/types/Enum/CustomerSignature.d.ts +6 -0
  28. package/dist/cjs/types/Enum/CustomerSignature.d.ts.map +1 -1
  29. package/dist/cjs/types/Enum/CustomerSignature.js +8 -1
  30. package/dist/cjs/types/Enum/CustomerSignature.js.map +1 -1
  31. package/dist/cjs/types/Enum/DocumentForHumanResourceType.d.ts +15 -0
  32. package/dist/cjs/types/Enum/DocumentForHumanResourceType.d.ts.map +1 -0
  33. package/dist/cjs/types/Enum/DocumentForHumanResourceType.js +25 -0
  34. package/dist/cjs/types/Enum/DocumentForHumanResourceType.js.map +1 -0
  35. package/dist/cjs/types/Enum/Pdf2PicLocalType.d.ts +17 -0
  36. package/dist/cjs/types/Enum/Pdf2PicLocalType.d.ts.map +1 -0
  37. package/dist/cjs/types/Enum/Pdf2PicLocalType.js +3 -0
  38. package/dist/cjs/types/Enum/Pdf2PicLocalType.js.map +1 -0
  39. package/dist/cjs/types/Enum/ReasonTerminationType.d.ts +2 -1
  40. package/dist/cjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
  41. package/dist/cjs/types/Enum/ReasonTerminationType.js +6 -0
  42. package/dist/cjs/types/Enum/ReasonTerminationType.js.map +1 -1
  43. package/dist/cjs/types/Enum/StatusSignature.d.ts +2 -1
  44. package/dist/cjs/types/Enum/StatusSignature.d.ts.map +1 -1
  45. package/dist/cjs/types/Enum/StatusSignature.js +1 -0
  46. package/dist/cjs/types/Enum/StatusSignature.js.map +1 -1
  47. package/dist/cjs/types/Enum/TerminationList.d.ts +4 -2
  48. package/dist/cjs/types/Enum/TerminationList.d.ts.map +1 -1
  49. package/dist/cjs/types/Enum/TerminationList.js +10 -0
  50. package/dist/cjs/types/Enum/TerminationList.js.map +1 -1
  51. package/dist/cjs/types/Interface/api/aspone/AsponeApi.d.ts +137 -0
  52. package/dist/cjs/types/Interface/api/aspone/AsponeApi.d.ts.map +1 -0
  53. package/dist/cjs/types/Interface/api/aspone/AsponeApi.js +19 -0
  54. package/dist/cjs/types/Interface/api/aspone/AsponeApi.js.map +1 -0
  55. package/dist/cjs/types/Interface/api/aspone/ReadInterchange.d.ts +8 -8
  56. package/dist/cjs/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
  57. package/dist/cjs/types/Interface/api/aspone/ReadInterchange.js +0 -13
  58. package/dist/cjs/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
  59. package/dist/cjs/types/Interface/api/humanResourceLibrary/CreateHumanResourceLibrary.d.ts +12 -0
  60. package/dist/cjs/types/Interface/api/humanResourceLibrary/CreateHumanResourceLibrary.d.ts.map +1 -0
  61. package/dist/cjs/types/Interface/api/humanResourceLibrary/CreateHumanResourceLibrary.js +66 -0
  62. package/dist/cjs/types/Interface/api/humanResourceLibrary/CreateHumanResourceLibrary.js.map +1 -0
  63. package/dist/cjs/types/Interface/api/humanResourceLibrary/CreateUserHumanResourceLibrary.d.ts +5 -0
  64. package/dist/cjs/types/Interface/api/humanResourceLibrary/CreateUserHumanResourceLibrary.d.ts.map +1 -0
  65. package/dist/cjs/types/Interface/api/humanResourceLibrary/CreateUserHumanResourceLibrary.js +28 -0
  66. package/dist/cjs/types/Interface/api/humanResourceLibrary/CreateUserHumanResourceLibrary.js.map +1 -0
  67. package/dist/cjs/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.d.ts +4 -0
  68. package/dist/cjs/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.d.ts.map +1 -0
  69. package/dist/cjs/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.js +23 -0
  70. package/dist/cjs/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.js.map +1 -0
  71. package/dist/cjs/types/Interface/api/humanResourceLibrary/QueryPaginatedHumanResourceLibrary.d.ts +13 -0
  72. package/dist/cjs/types/Interface/api/humanResourceLibrary/QueryPaginatedHumanResourceLibrary.d.ts.map +1 -0
  73. package/dist/cjs/types/Interface/api/humanResourceLibrary/QueryPaginatedHumanResourceLibrary.js +71 -0
  74. package/dist/cjs/types/Interface/api/humanResourceLibrary/QueryPaginatedHumanResourceLibrary.js.map +1 -0
  75. package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts +3 -3
  76. package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  77. package/dist/cjs/types/Interface/api/registration/CreateRegistration.js +9 -11
  78. package/dist/cjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  79. package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts +7 -0
  80. package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
  81. package/dist/cjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  82. package/dist/cjs/types/Interface/api/yousign/index.d.ts +211 -0
  83. package/dist/cjs/types/Interface/api/yousign/index.d.ts.map +1 -0
  84. package/dist/cjs/types/Interface/api/yousign/index.js +35 -0
  85. package/dist/cjs/types/Interface/api/yousign/index.js.map +1 -0
  86. package/dist/cjs/types/Interface/models/ICustomerSignature.d.ts +5 -5
  87. package/dist/cjs/types/Interface/models/ICustomerSignature.d.ts.map +1 -1
  88. package/dist/cjs/types/Interface/models/ICustomerSignature.js.map +1 -1
  89. package/dist/cjs/types/Interface/models/IHumanResourceLibrary.d.ts +22 -0
  90. package/dist/cjs/types/Interface/models/IHumanResourceLibrary.d.ts.map +1 -0
  91. package/dist/cjs/types/Interface/models/IHumanResourceLibrary.js +3 -0
  92. package/dist/cjs/types/Interface/models/IHumanResourceLibrary.js.map +1 -0
  93. package/dist/cjs/types/Interface/models/IUserHumanResourceLibrary.d.ts +13 -0
  94. package/dist/cjs/types/Interface/models/IUserHumanResourceLibrary.d.ts.map +1 -0
  95. package/dist/cjs/types/Interface/models/IUserHumanResourceLibrary.js +3 -0
  96. package/dist/cjs/types/Interface/models/IUserHumanResourceLibrary.js.map +1 -0
  97. package/dist/cjs/types/index.d.ts +10 -1
  98. package/dist/cjs/types/index.d.ts.map +1 -1
  99. package/dist/cjs/types/index.js +10 -1
  100. package/dist/cjs/types/index.js.map +1 -1
  101. package/dist/cjs/utils/vat/3310/century24.js +1 -1
  102. package/dist/cjs/utils/vat/3310/century24.js.map +1 -1
  103. package/dist/mjs/api/resources/Equipment.d.ts +4 -0
  104. package/dist/mjs/api/resources/Equipment.d.ts.map +1 -1
  105. package/dist/mjs/api/resources/Equipment.js +13 -0
  106. package/dist/mjs/api/resources/Equipment.js.map +1 -1
  107. package/dist/mjs/api/resources/HumanResourceLibrary.d.ts +13 -0
  108. package/dist/mjs/api/resources/HumanResourceLibrary.d.ts.map +1 -0
  109. package/dist/mjs/api/resources/HumanResourceLibrary.js +34 -0
  110. package/dist/mjs/api/resources/HumanResourceLibrary.js.map +1 -0
  111. package/dist/mjs/api/resources/Library.d.ts +1 -2
  112. package/dist/mjs/api/resources/Library.d.ts.map +1 -1
  113. package/dist/mjs/api/resources/Library.js.map +1 -1
  114. package/dist/mjs/api/resources/Registration.d.ts +3 -1
  115. package/dist/mjs/api/resources/Registration.d.ts.map +1 -1
  116. package/dist/mjs/api/resources/Registration.js +6 -0
  117. package/dist/mjs/api/resources/Registration.js.map +1 -1
  118. package/dist/mjs/api/resources/SalesContract.d.ts +4 -0
  119. package/dist/mjs/api/resources/SalesContract.d.ts.map +1 -1
  120. package/dist/mjs/api/resources/SalesContract.js +18 -0
  121. package/dist/mjs/api/resources/SalesContract.js.map +1 -1
  122. package/dist/mjs/api/resources.d.ts +2 -0
  123. package/dist/mjs/api/resources.d.ts.map +1 -1
  124. package/dist/mjs/api/resources.js +2 -0
  125. package/dist/mjs/api/resources.js.map +1 -1
  126. package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
  127. package/dist/mjs/types/Enum/BrandClementine.js +28 -27
  128. package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
  129. package/dist/mjs/types/Enum/CustomerSignature.d.ts +6 -0
  130. package/dist/mjs/types/Enum/CustomerSignature.d.ts.map +1 -1
  131. package/dist/mjs/types/Enum/CustomerSignature.js +7 -0
  132. package/dist/mjs/types/Enum/CustomerSignature.js.map +1 -1
  133. package/dist/mjs/types/Enum/DocumentForHumanResourceType.d.ts +15 -0
  134. package/dist/mjs/types/Enum/DocumentForHumanResourceType.d.ts.map +1 -0
  135. package/dist/mjs/types/Enum/DocumentForHumanResourceType.js +22 -0
  136. package/dist/mjs/types/Enum/DocumentForHumanResourceType.js.map +1 -0
  137. package/dist/mjs/types/Enum/Pdf2PicLocalType.d.ts +17 -0
  138. package/dist/mjs/types/Enum/Pdf2PicLocalType.d.ts.map +1 -0
  139. package/dist/mjs/types/Enum/Pdf2PicLocalType.js +2 -0
  140. package/dist/mjs/types/Enum/Pdf2PicLocalType.js.map +1 -0
  141. package/dist/mjs/types/Enum/ReasonTerminationType.d.ts +2 -1
  142. package/dist/mjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
  143. package/dist/mjs/types/Enum/ReasonTerminationType.js +6 -0
  144. package/dist/mjs/types/Enum/ReasonTerminationType.js.map +1 -1
  145. package/dist/mjs/types/Enum/StatusSignature.d.ts +2 -1
  146. package/dist/mjs/types/Enum/StatusSignature.d.ts.map +1 -1
  147. package/dist/mjs/types/Enum/StatusSignature.js +1 -0
  148. package/dist/mjs/types/Enum/StatusSignature.js.map +1 -1
  149. package/dist/mjs/types/Enum/TerminationList.d.ts +4 -2
  150. package/dist/mjs/types/Enum/TerminationList.d.ts.map +1 -1
  151. package/dist/mjs/types/Enum/TerminationList.js +10 -0
  152. package/dist/mjs/types/Enum/TerminationList.js.map +1 -1
  153. package/dist/mjs/types/Interface/api/aspone/AsponeApi.d.ts +137 -0
  154. package/dist/mjs/types/Interface/api/aspone/AsponeApi.d.ts.map +1 -0
  155. package/dist/mjs/types/Interface/api/aspone/AsponeApi.js +17 -0
  156. package/dist/mjs/types/Interface/api/aspone/AsponeApi.js.map +1 -0
  157. package/dist/mjs/types/Interface/api/aspone/ReadInterchange.d.ts +8 -8
  158. package/dist/mjs/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
  159. package/dist/mjs/types/Interface/api/aspone/ReadInterchange.js +1 -31
  160. package/dist/mjs/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
  161. package/dist/mjs/types/Interface/api/humanResourceLibrary/CreateHumanResourceLibrary.d.ts +12 -0
  162. package/dist/mjs/types/Interface/api/humanResourceLibrary/CreateHumanResourceLibrary.d.ts.map +1 -0
  163. package/dist/mjs/types/Interface/api/humanResourceLibrary/CreateHumanResourceLibrary.js +70 -0
  164. package/dist/mjs/types/Interface/api/humanResourceLibrary/CreateHumanResourceLibrary.js.map +1 -0
  165. package/dist/mjs/types/Interface/api/humanResourceLibrary/CreateUserHumanResourceLibrary.d.ts +5 -0
  166. package/dist/mjs/types/Interface/api/humanResourceLibrary/CreateUserHumanResourceLibrary.d.ts.map +1 -0
  167. package/dist/mjs/types/Interface/api/humanResourceLibrary/CreateUserHumanResourceLibrary.js +26 -0
  168. package/dist/mjs/types/Interface/api/humanResourceLibrary/CreateUserHumanResourceLibrary.js.map +1 -0
  169. package/dist/mjs/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.d.ts +4 -0
  170. package/dist/mjs/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.d.ts.map +1 -0
  171. package/dist/mjs/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.js +20 -0
  172. package/dist/mjs/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.js.map +1 -0
  173. package/dist/mjs/types/Interface/api/humanResourceLibrary/QueryPaginatedHumanResourceLibrary.d.ts +13 -0
  174. package/dist/mjs/types/Interface/api/humanResourceLibrary/QueryPaginatedHumanResourceLibrary.d.ts.map +1 -0
  175. package/dist/mjs/types/Interface/api/humanResourceLibrary/QueryPaginatedHumanResourceLibrary.js +75 -0
  176. package/dist/mjs/types/Interface/api/humanResourceLibrary/QueryPaginatedHumanResourceLibrary.js.map +1 -0
  177. package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts +3 -3
  178. package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  179. package/dist/mjs/types/Interface/api/registration/CreateRegistration.js +8 -10
  180. package/dist/mjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  181. package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts +7 -0
  182. package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
  183. package/dist/mjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
  184. package/dist/mjs/types/Interface/api/yousign/index.d.ts +211 -0
  185. package/dist/mjs/types/Interface/api/yousign/index.d.ts.map +1 -0
  186. package/dist/mjs/types/Interface/api/yousign/index.js +32 -0
  187. package/dist/mjs/types/Interface/api/yousign/index.js.map +1 -0
  188. package/dist/mjs/types/Interface/models/ICustomerSignature.d.ts +5 -5
  189. package/dist/mjs/types/Interface/models/ICustomerSignature.d.ts.map +1 -1
  190. package/dist/mjs/types/Interface/models/ICustomerSignature.js.map +1 -1
  191. package/dist/mjs/types/Interface/models/IHumanResourceLibrary.d.ts +22 -0
  192. package/dist/mjs/types/Interface/models/IHumanResourceLibrary.d.ts.map +1 -0
  193. package/dist/mjs/types/Interface/models/IHumanResourceLibrary.js +2 -0
  194. package/dist/mjs/types/Interface/models/IHumanResourceLibrary.js.map +1 -0
  195. package/dist/mjs/types/Interface/models/IUserHumanResourceLibrary.d.ts +13 -0
  196. package/dist/mjs/types/Interface/models/IUserHumanResourceLibrary.d.ts.map +1 -0
  197. package/dist/mjs/types/Interface/models/IUserHumanResourceLibrary.js +2 -0
  198. package/dist/mjs/types/Interface/models/IUserHumanResourceLibrary.js.map +1 -0
  199. package/dist/mjs/types/index.d.ts +10 -1
  200. package/dist/mjs/types/index.d.ts.map +1 -1
  201. package/dist/mjs/types/index.js +10 -1
  202. package/dist/mjs/types/index.js.map +1 -1
  203. package/dist/mjs/utils/vat/3310/century24.js +1 -1
  204. package/dist/mjs/utils/vat/3310/century24.js.map +1 -1
  205. package/package.json +1 -2
  206. package/ts/api/resources/Equipment.ts +14 -0
  207. package/ts/api/resources/HumanResourceLibrary.ts +43 -0
  208. package/ts/api/resources/Library.ts +1 -2
  209. package/ts/api/resources/Registration.ts +10 -0
  210. package/ts/api/resources/SalesContract.ts +19 -0
  211. package/ts/api/resources.ts +2 -0
  212. package/ts/types/Enum/BrandClementine.ts +28 -27
  213. package/ts/types/Enum/CustomerSignature.ts +7 -0
  214. package/ts/types/Enum/DocumentForHumanResourceType.ts +21 -0
  215. package/ts/types/Enum/Pdf2PicLocalType.ts +16 -0
  216. package/ts/types/Enum/ReasonTerminationType.ts +6 -0
  217. package/ts/types/Enum/StatusSignature.ts +1 -0
  218. package/ts/types/Enum/TerminationList.ts +10 -0
  219. package/ts/types/Interface/api/aspone/AsponeApi.ts +141 -0
  220. package/ts/types/Interface/api/aspone/ReadInterchange.ts +8 -8
  221. package/ts/types/Interface/api/humanResourceLibrary/CreateHumanResourceLibrary.ts +44 -0
  222. package/ts/types/Interface/api/humanResourceLibrary/CreateUserHumanResourceLibrary.ts +13 -0
  223. package/ts/types/Interface/api/humanResourceLibrary/QueryHumanResourceLibrary.ts +11 -0
  224. package/ts/types/Interface/api/humanResourceLibrary/QueryPaginatedHumanResourceLibrary.ts +54 -0
  225. package/ts/types/Interface/api/registration/CreateRegistration.ts +6 -8
  226. package/ts/types/Interface/api/registration/ReadRegistration.ts +9 -1
  227. package/ts/types/Interface/api/yousign/index.ts +230 -0
  228. package/ts/types/Interface/models/ICustomerSignature.ts +5 -5
  229. package/ts/types/Interface/models/IHumanResourceLibrary.ts +25 -0
  230. package/ts/types/Interface/models/IUserHumanResourceLibrary.ts +16 -0
  231. package/ts/types/index.ts +11 -2
  232. package/ts/utils/vat/3310/century24.ts +1 -1
  233. package/dist/cjs/types/Interface/api/aspone/Util.d.ts +0 -111
  234. package/dist/cjs/types/Interface/api/aspone/Util.d.ts.map +0 -1
  235. package/dist/cjs/types/Interface/api/aspone/Util.js +0 -28
  236. package/dist/cjs/types/Interface/api/aspone/Util.js.map +0 -1
  237. package/dist/mjs/types/Interface/api/aspone/Util.d.ts +0 -111
  238. package/dist/mjs/types/Interface/api/aspone/Util.d.ts.map +0 -1
  239. package/dist/mjs/types/Interface/api/aspone/Util.js +0 -61
  240. package/dist/mjs/types/Interface/api/aspone/Util.js.map +0 -1
  241. package/ts/types/Interface/api/aspone/Util.ts +0 -112
@@ -1 +1 @@
1
- {"version":3,"file":"CreateRegistration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAC7F,OAAO,EACP,SAAS,EACT,KAAK,GACN,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAM3E,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE9E,MAAM,OAAO,yBAAyB;IAElC,IAAI,CAAiB;IAGrB,GAAG,CAAiB;CACvB;AAJG;IADD,mBAAmB,EAAE;;uDACC;AAGrB;IADD,mBAAmB,EAAE;;sDACA;AAGxB,MAAM,OAAO,oCAAoC;IAE7C,GAAG,CAAa;IAGhB,aAAa,CAAc;IAG3B,eAAe,CAAc;IAG7B,OAAO,CAAiB;IAGxB,KAAK,CAAiB;IAGtB,gBAAgB,CAAiB;IAGjC,cAAc,CAAiB;IAG/B,cAAc,CAAiB;IAG/B,iBAAiB,CAAiB;IAGlC,cAAc,CAAiB;IAG/B,YAAY,CAAiB;IAG7B,IAAI,CAAiB;IAGrB,GAAG,CAAiB;CACvB;AArCG;IADD,mBAAmB,EAAE;;iEACJ;AAGhB;IADD,mBAAmB,EAAE;;2EACO;AAG3B;IADD,mBAAmB,EAAE;;6EACS;AAG7B;IADD,mBAAmB,EAAE;;qEACI;AAGxB;IADD,mBAAmB,EAAE;;mEACE;AAG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AU,EAAE;;uDACa;AAKxB;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACI;AAKf;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;+DACW;AAKtB;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;yDACK;AAKhB;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACG;AAGd;IADD,mBAAmB,EAAE;;wDACE;AAG1B,MAAM,OAAO,kBAAkB;IAG3B,gBAAgB,CAAU;IAI1B,KAAK,CAAU;CAClB;AALG;IAFD,mBAAmB,EAAE;IACrB,UAAU,EAAE;;4DACe;AAI1B;IAFD,mBAAmB,EAAE;IACrB,UAAU,EAAE;;iDACI;AAGnB,MAAM,OAAO,oBAAoB;IAG7B,EAAE,CAAS;IAKX,OAAO,CAAS;IAKhB,OAAO,CAAS;IAIhB,SAAS,CAAS;IAIlB,OAAO,CAAW;CACrB;AAnBG;IAFD,WAAW,EAAE;IACb,OAAO,EAAE;;gDACG;AAKX;IAHD,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,SAAS,CAAC,CAAC,CAAC;;qDACK;AAKhB;IAHD,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,SAAS,CAAC,CAAC,CAAC;;qDACK;AAIhB;IAFD,WAAW,EAAE;IACb,KAAK,EAAE;;uDACY;AAIlB;IAFD,WAAW,EAAE;IACb,OAAO,EAAE;;qDACU","sourcesContent":["import {\n IsEnum, IsOptional, IsBoolean, IsNumber, Min, IsDateString, IsArray, ValidateNested, IsString,\n IsEmail,\n MinLength,\n IsInt,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { Rof } from '../../../Enum/Aspone';\nimport { Cerfa3310_2023 } from '../cerfa/3310';\nimport { Cerfa3519_2017 } from '../cerfa/3519';\nimport { CerfaFormValue } from '../cerfa/ReadCerfa';\nimport { UpdatedAnnotation } from './ReadRegistration';\nimport { CustomerVatState, CustomerVatType } from '../../../Enum/CustomerVat';\n\nexport class CreateRegistrationSetting {\n @ApiPropertyOptional()\n iban?: string | null;\n\n @ApiPropertyOptional()\n bic?: string | null;\n}\n\nexport class CreateRegistrationSettingFromSociety {\n @ApiPropertyOptional()\n rof: Rof | null;\n\n @ApiPropertyOptional()\n companyTaxRof?: Rof | null;\n\n @ApiPropertyOptional()\n balanceSheetRof?: Rof | null;\n\n @ApiPropertyOptional()\n ogaName?: string | null;\n\n @ApiPropertyOptional()\n ogaId?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressNumero?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressType?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressVoie?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressZipCode?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressCity?: string | null;\n\n @ApiPropertyOptional()\n ogaReference?: string | null;\n\n @ApiPropertyOptional()\n iban?: string | null;\n\n @ApiPropertyOptional()\n bic?: string | null;\n}\n\nexport type ForcedValues_2571 = {\n base?: number;\n regularisation?: number;\n};\n\nexport type ForcedValues = {\n cerfa2571?: ForcedValues_2571;\n};\n\nexport class CreateRegistration {\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @Min(0)\n @IsOptional()\n amountToPay?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n date?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n\n @ApiPropertyOptional({ description: 'Set values manually (not available for all cerfa)' })\n @IsOptional()\n forcedValues?: ForcedValues;\n}\n\nexport class CreateRegistrationSynchronization {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n forceTestMode?: boolean;\n}\n\nexport class UpdateOrCreateVatRegistration {\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n payload: Cerfa3310_2023;\n\n @ApiPropertyOptional()\n annexPayload?: Cerfa3519_2017;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isManuallyRegistered?: boolean;\n}\n\nexport class CreateRegistrationDetail {\n @ApiProperty()\n @IsArray()\n accountingTransactionIds: number[];\n\n @ApiProperty()\n @IsArray()\n updatedEntries: UpdatedAnnotation;\n\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n inputs: CerfaFormValue[];\n}\n\nexport class UpdateOrCreateVatAdvance {\n @ApiProperty()\n @IsDateString()\n vatDate: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isCA12?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n stateAmount: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amount: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n type: CustomerVatType;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n state: CustomerVatState;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n status: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amountBaseTva: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n token: string;\n\n @ApiPropertyOptional()\n idMail: number | null;\n}\n\nexport class CreateVatMigration {\n @ApiPropertyOptional()\n @IsOptional()\n idVatDeclaration?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n limit?: number;\n}\n\nexport class CreateAndSendVatMail {\n @ApiProperty()\n @IsEmail()\n to: string;\n\n @ApiProperty()\n @IsString()\n @MinLength(2)\n subject: string;\n \n @ApiProperty()\n @IsString()\n @MinLength(2) \n content: string;\n\n @ApiProperty()\n @IsInt() \n idSociety: number;\n\n @ApiProperty()\n @IsArray()\n idFiles: number[];\n}"]}
1
+ {"version":3,"file":"CreateRegistration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAC7F,OAAO,EACP,SAAS,EACT,KAAK,GACN,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAM3E,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE9E,MAAM,OAAO,yBAAyB;IAElC,IAAI,CAAiB;IAGrB,GAAG,CAAiB;CACvB;AAJG;IADD,mBAAmB,EAAE;;uDACC;AAGrB;IADD,mBAAmB,EAAE;;sDACA;AAGxB,MAAM,OAAO,oCAAoC;IAE7C,GAAG,CAAa;IAGhB,aAAa,CAAc;IAG3B,eAAe,CAAc;IAG7B,OAAO,CAAiB;IAGxB,KAAK,CAAiB;IAGtB,gBAAgB,CAAiB;IAGjC,cAAc,CAAiB;IAG/B,cAAc,CAAiB;IAG/B,iBAAiB,CAAiB;IAGlC,cAAc,CAAiB;IAG/B,YAAY,CAAiB;IAG7B,IAAI,CAAiB;IAGrB,GAAG,CAAiB;CACvB;AArCG;IADD,mBAAmB,EAAE;;iEACJ;AAGhB;IADD,mBAAmB,EAAE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HD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACI;AAKf;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;+DACW;AAKtB;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;yDACK;AAKhB;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACG;AAGd;IADD,mBAAmB,EAAE;;wDACE;AAG1B,MAAM,OAAO,kBAAkB;IAG3B,gBAAgB,CAAU;IAI1B,KAAK,CAAU;CAClB;AALG;IAFD,mBAAmB,EAAE;IACrB,UAAU,EAAE;;4DACe;AAI1B;IAFD,mBAAmB,EAAE;IACrB,UAAU,EAAE;;iDACI;AAGnB,MAAM,OAAO,oBAAoB;IAG7B,EAAE,CAAS;IAKX,OAAO,CAAS;IAKhB,OAAO,CAAS;IAIhB,SAAS,CAAS;IAIlB,OAAO,CAAW;CACrB;AAnBG;IAFD,WAAW,EAAE;IACb,OAAO,EAAE;;gDACG;AAKX;IAHD,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,SAAS,CAAC,CAAC,CAAC;;qDACK;AAKhB;IAHD,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,SAAS,CAAC,CAAC,CAAC;;qDACK;AAIhB;IAFD,WAAW,EAAE;IACb,KAAK,EAAE;;uDACY;AAIlB;IAFD,WAAW,EAAE;IACb,OAAO,EAAE;;qDACU;AAGtB,MAAM,OAAO,oBAAoB;IAG7B,MAAM,CAAS;CAClB;AADG;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACM","sourcesContent":["import {\n IsEnum, IsOptional, IsBoolean, IsNumber, Min, IsDateString, IsArray, ValidateNested, IsString,\n IsEmail,\n MinLength,\n IsInt,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { Rof } from '../../../Enum/Aspone';\nimport { Cerfa3310_2023 } from '../cerfa/3310';\nimport { Cerfa3519_2017 } from '../cerfa/3519';\nimport { CerfaFormValue } from '../cerfa/ReadCerfa';\nimport { UpdatedAnnotation } from './ReadRegistration';\nimport { CustomerVatState, CustomerVatType } from '../../../Enum/CustomerVat';\n\nexport class CreateRegistrationSetting {\n @ApiPropertyOptional()\n iban?: string | null;\n\n @ApiPropertyOptional()\n bic?: string | null;\n}\n\nexport class CreateRegistrationSettingFromSociety {\n @ApiPropertyOptional()\n rof: Rof | null;\n\n @ApiPropertyOptional()\n companyTaxRof?: Rof | null;\n\n @ApiPropertyOptional()\n balanceSheetRof?: Rof | null;\n\n @ApiPropertyOptional()\n ogaName?: string | null;\n\n @ApiPropertyOptional()\n ogaId?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressNumero?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressType?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressVoie?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressZipCode?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressCity?: string | null;\n\n @ApiPropertyOptional()\n ogaReference?: string | null;\n\n @ApiPropertyOptional()\n iban?: string | null;\n\n @ApiPropertyOptional()\n bic?: string | null;\n}\n\nexport type ForcedValues_2571 = {\n base?: number;\n regularisation?: number;\n};\n\nexport type ForcedValues = {\n cerfa2571?: ForcedValues_2571;\n};\n\nexport class CreateRegistration {\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @Min(0)\n @IsOptional()\n amountToPay?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n date?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n\n @ApiPropertyOptional({ description: 'Set values manually (not available for all cerfa)' })\n @IsOptional()\n forcedValues?: ForcedValues;\n}\n\nexport class UpdateOrCreateVatRegistration {\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n payload: Cerfa3310_2023;\n\n @ApiPropertyOptional()\n annexPayload?: Cerfa3519_2017;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isManuallyRegistered?: boolean;\n}\n\nexport class CreateRegistrationDetail {\n @ApiProperty()\n @IsArray()\n accountingTransactionIds: number[];\n\n @ApiProperty()\n @IsArray()\n updatedEntries: UpdatedAnnotation;\n\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n inputs: CerfaFormValue[];\n}\n\nexport class UpdateOrCreateVatAdvance {\n @ApiProperty()\n @IsDateString()\n vatDate: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isCA12?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n stateAmount: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amount: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n type: CustomerVatType;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n state: CustomerVatState;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n status: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amountBaseTva: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n token: string;\n\n @ApiPropertyOptional()\n idMail: number | null;\n}\n\nexport class CreateVatMigration {\n @ApiPropertyOptional()\n @IsOptional()\n idVatDeclaration?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n limit?: number;\n}\n\nexport class CreateAndSendVatMail {\n @ApiProperty()\n @IsEmail()\n to: string;\n\n @ApiProperty()\n @IsString()\n @MinLength(2)\n subject: string;\n \n @ApiProperty()\n @IsString()\n @MinLength(2) \n content: string;\n\n @ApiProperty()\n @IsInt() \n idSociety: number;\n\n @ApiProperty()\n @IsArray()\n idFiles: number[];\n}\n\nexport class DownloadExternalFile {\n @ApiProperty()\n @IsString()\n fileId: string;\n}"]}
@@ -39,4 +39,11 @@ export declare class UpdatedAnnotationObject {
39
39
  new: IAccountingEntry[];
40
40
  }
41
41
  export type UpdatedAnnotation = UpdatedAnnotationObject[];
42
+ export type ReadRegistrationExternalFile = {
43
+ id: string;
44
+ createdAt: string;
45
+ name: string;
46
+ format: 'XML' | 'EDI';
47
+ size: string;
48
+ };
42
49
  //# sourceMappingURL=ReadRegistration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReadRegistration.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EACL,QAAQ,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EACvF,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG;IAAE,KAAK,EAAE,iBAAiB,CAAA;CAAE,CAAC;AAE5E,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;AAEvD,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,qBAAqB,CAAC;IAC7B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,QAAQ,GAAG,IAAI,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,CAAC;IACX,uBAAuB,EAAE,MAAM,CAAC;IAChC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,gBAAgB,CAAA;CACzB;AAED,qBAAa,uBAAuB;IAClC,GAAG,EAAE,gBAAgB,EAAE,CAAC;IACxB,GAAG,EAAE,gBAAgB,EAAE,CAAC;CACzB;AAED,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,EAAE,CAAC"}
1
+ {"version":3,"file":"ReadRegistration.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EACL,QAAQ,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EACvF,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG;IAAE,KAAK,EAAE,iBAAiB,CAAA;CAAE,CAAC;AAE5E,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OA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oot":"","sources":["../../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":"AA0CA,MAAM,OAAO,uBAAuB;IAClC,GAAG,CAAqB;IACxB,GAAG,CAAqB;CACzB","sourcesContent":["import { IRegistration } from '../../models/IRegistration';\nimport {\n IAccount, IAccountingEntry, InterchangeState, RegistrationState, RegistrationTickState,\n} from '../../..';\n\nexport type ReadRegistration = IRegistration & { state: RegistrationState };\n\nexport interface ReadSynchronization {\n id: number;\n hasError: boolean;\n hasDepositError: boolean;\n isProcessFinished: boolean;\n hasPaymentError: boolean;\n isTimeOut: boolean;\n hasFailed: boolean;\n}\n\nexport type ReadRegistrationHistory = InterchangeState;\n\nexport interface ReadRegistrationTick {\n type?: string | null;\n state: RegistrationTickState;\n title: string | null;\n details: InterchangeState,\n date: string | null;\n isPayment?: boolean;\n}\n\nexport interface ReadVatEntry {\n isAsset: boolean;\n idVat: number | null;\n account: IAccount | null;\n totalTaxIncluded: number;\n totalTaxExcluded: number,\n totalTax: number,\n label: string,\n date: Date,\n idAccountingTransaction: number;\n isRevised: boolean;\n entry?: IAccountingEntry\n}\n\nexport class UpdatedAnnotationObject {\n old: IAccountingEntry[];\n new: IAccountingEntry[];\n}\n\nexport type UpdatedAnnotation = UpdatedAnnotationObject[];"]}
1
+ {"version":3,"file":"ReadRegistration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":"AA0CA,MAAM,OAAO,uBAAuB;IAClC,GAAG,CAAqB;IACxB,GAAG,CAAqB;CACzB","sourcesContent":["import { IRegistration } from '../../models/IRegistration';\nimport {\n IAccount, IAccountingEntry, InterchangeState, RegistrationState, RegistrationTickState,\n} from '../../..';\n\nexport type ReadRegistration = IRegistration & { state: RegistrationState };\n\nexport interface ReadSynchronization {\n id: number;\n hasError: boolean;\n hasDepositError: boolean;\n isProcessFinished: boolean;\n hasPaymentError: boolean;\n isTimeOut: boolean;\n hasFailed: boolean;\n}\n\nexport type ReadRegistrationHistory = InterchangeState;\n\nexport interface ReadRegistrationTick {\n type?: string | null;\n state: RegistrationTickState;\n title: string | null;\n details: InterchangeState,\n date: string | null;\n isPayment?: boolean;\n}\n\nexport interface ReadVatEntry {\n isAsset: boolean;\n idVat: number | null;\n account: IAccount | null;\n totalTaxIncluded: number;\n totalTaxExcluded: number,\n totalTax: number,\n label: string,\n date: Date,\n idAccountingTransaction: number;\n isRevised: boolean;\n entry?: IAccountingEntry\n}\n\nexport class UpdatedAnnotationObject {\n old: IAccountingEntry[];\n new: IAccountingEntry[];\n}\n\nexport type UpdatedAnnotation = UpdatedAnnotationObject[];\n\nexport type ReadRegistrationExternalFile = {\n id: string;\n createdAt: string;\n name: string;\n format: 'XML' | 'EDI';\n size: string;\n};"]}
@@ -0,0 +1,211 @@
1
+ export declare enum YouSignSignatureLevel {
2
+ ELECTRONIC = "electronic_signature",
3
+ ADVANCED = "advanced_electronic_signature",
4
+ QUALIFIED_CERTIFICATE = "electronic_signature_with_qualified_certificate",
5
+ QUALIFIED = "qualified_electronic_signature",
6
+ QUALIFIED_MODE_1 = "qualified_electronic_signature_mode_1"
7
+ }
8
+ export declare enum YouSignAuthMode {
9
+ SMS = "otp_sms",
10
+ EMAIL = "otp_email",
11
+ NONE = "no_otp"
12
+ }
13
+ export declare enum YouSignDeliveryMode {
14
+ EMAIL = "email",
15
+ NONE = "none"
16
+ }
17
+ export declare enum SignatureRequestStatus {
18
+ INITIATED = "initiated",
19
+ DECLINE = "decline",
20
+ NOTIFIED = "notified",
21
+ VERIFIED = "verified",
22
+ PROCESSING = "processing",
23
+ CONSENT_GIVEN = "consent_given",
24
+ SIGNED = "signed",
25
+ ABORTED = "aborted",
26
+ ERROR = "error"
27
+ }
28
+ export interface CreateSignatureRequestParams {
29
+ name: string;
30
+ expiration_date: Date;
31
+ delivery_mode: 'email' | 'none';
32
+ customer_signature_id: number;
33
+ reminder_settings?: ReminderSettings;
34
+ }
35
+ export interface ReminderSettings {
36
+ interval_in_days: 1 | 2 | 7 | 14;
37
+ max_occurrences: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
38
+ }
39
+ export interface Signer {
40
+ id: string;
41
+ status: string;
42
+ signature_link?: string;
43
+ signature_link_expiration_date?: string;
44
+ }
45
+ export interface Approver {
46
+ id: string;
47
+ status: string;
48
+ approval_link?: string;
49
+ approval_link_expiration_date?: string;
50
+ }
51
+ export interface Document {
52
+ id: string;
53
+ nature: string;
54
+ }
55
+ export interface Sender {
56
+ id: string;
57
+ email: string;
58
+ }
59
+ export interface DeclineInformation {
60
+ signer_id: string;
61
+ reason: string;
62
+ declined_at: string;
63
+ }
64
+ export interface SignatureRequestResponse {
65
+ id: string;
66
+ status: string;
67
+ name: string;
68
+ delivery_mode: string;
69
+ created_at: string;
70
+ ordered_signers: boolean;
71
+ reminder_settings: ReminderSettings;
72
+ timezone: string;
73
+ expiration_date: string;
74
+ source?: string;
75
+ signers: Signer[];
76
+ approvers: Approver[];
77
+ documents: Document[];
78
+ sender?: Sender;
79
+ external_id: string;
80
+ branding_id?: string;
81
+ custom_experience_id: string;
82
+ signers_allowed_to_decline?: boolean;
83
+ workspace_id?: string;
84
+ audit_trail_locale: string;
85
+ bulk_send_batch_id?: string;
86
+ decline_information?: DeclineInformation;
87
+ }
88
+ export interface SignatureRequestDocument {
89
+ id: string;
90
+ filename: string;
91
+ nature: string;
92
+ content_type: string;
93
+ sha256: string;
94
+ is_protected: boolean;
95
+ is_signed: boolean;
96
+ created_at: string;
97
+ total_pages: number;
98
+ is_locked: boolean;
99
+ initials: {
100
+ alignment: string;
101
+ y: number;
102
+ };
103
+ total_anchors: number;
104
+ }
105
+ export interface SignerInfos {
106
+ first_name: string;
107
+ last_name: string;
108
+ email: string;
109
+ phone_number: string;
110
+ locale: 'fr' | 'en' | 'de' | 'it' | 'nl' | 'es' | 'pl';
111
+ }
112
+ interface Fields {
113
+ document_id: string;
114
+ page: number;
115
+ x: number;
116
+ y: number;
117
+ height?: number;
118
+ width?: number;
119
+ }
120
+ interface Font {
121
+ family?: 'Inconsolata' | 'Open sans' | 'Lato' | 'Raleway' | 'Merriweather' | 'EB Garamond' | 'Comic Neue';
122
+ color?: string;
123
+ size?: number;
124
+ variants?: {
125
+ bold: boolean;
126
+ italic: boolean;
127
+ };
128
+ }
129
+ export interface SignerSignatureField extends Fields {
130
+ type: 'signature';
131
+ }
132
+ export interface SignerMentionField extends Fields {
133
+ type: 'mention';
134
+ mention: string;
135
+ font?: Font;
136
+ }
137
+ export interface SignerTextField extends Fields {
138
+ type: 'text';
139
+ mention: string;
140
+ max_length: number;
141
+ question: string;
142
+ instruction?: string | null;
143
+ optional: boolean;
144
+ font?: Font;
145
+ }
146
+ export type SignerFields = SignerSignatureField | SignerMentionField | SignerTextField;
147
+ export interface SignerRedirectUrls {
148
+ success: string;
149
+ error: string;
150
+ decline: string;
151
+ }
152
+ export interface CustomText {
153
+ request_subject: string;
154
+ request_body: string;
155
+ reminder_subject: string;
156
+ reminder_body: string;
157
+ }
158
+ export interface AddSignerParams {
159
+ signature_request_id: string;
160
+ info: SignerInfos;
161
+ fields: SignerFields[];
162
+ redirect_urls?: SignerRedirectUrls;
163
+ delivery_mode?: YouSignDeliveryMode;
164
+ custom_text?: CustomText;
165
+ signature_level?: YouSignSignatureLevel;
166
+ signature_authentication_mode?: YouSignAuthMode;
167
+ }
168
+ export interface FieldsResponse {
169
+ id: string;
170
+ document_id: string;
171
+ signer_id: string;
172
+ type: string;
173
+ height?: number;
174
+ width?: number;
175
+ page: number;
176
+ mention?: string;
177
+ x: number;
178
+ y: number;
179
+ font?: Font;
180
+ }
181
+ export interface GetSignerResponse {
182
+ id: string;
183
+ info: SignerInfos;
184
+ status: SignatureRequestStatus;
185
+ fields: FieldsResponse[];
186
+ signature_level: YouSignSignatureLevel;
187
+ signature_authentication_mode: YouSignAuthMode;
188
+ signature_link: string;
189
+ signature_link_expiration_date: string;
190
+ signature_image_preview: string;
191
+ redirect_urls: SignerRedirectUrls;
192
+ custom_text: CustomText;
193
+ delivery_mode: YouSignDeliveryMode;
194
+ }
195
+ /**
196
+ * Webhook types
197
+ */
198
+ export interface WebhookBody {
199
+ event_id: string;
200
+ event_name: string;
201
+ event_time: string;
202
+ subscription_id: string;
203
+ subscription_description: string;
204
+ sandbox: boolean;
205
+ data: WebhookData;
206
+ }
207
+ export interface WebhookData {
208
+ signature_request: SignatureRequestResponse;
209
+ }
210
+ export {};
211
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/yousign/index.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC/B,UAAU,yBAAyB;IACnC,QAAQ,kCAAkC;IAC1C,qBAAqB,oDAAoD;IACzE,SAAS,mCAAmC;IAC5C,gBAAgB,0CAA0C;CAC3D;AAED,oBAAY,eAAe;IACzB,GAAG,YAAY;IACf,KAAK,cAAc;IACnB,IAAI,WAAW;CAChB;AAED,oBAAY,mBAAmB;IAC7B,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,oBAAY,sBAAsB;IAChC,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,aAAa,kBAAkB;IAC/B,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB;AAED,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,IAAI,CAAC;IACtB,aAAa,EAAE,OAAO,GAAG,MAAM,CAAC;IAChC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,iBAAiB,CAAC,EAAE,gBAAgB,CAAC;CACtC;AAED,MAAM,WAAW,gBAAgB;IAC/B,gBAAgB,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;IACjC,eAAe,EAAE,CAAC,GAAG,CAAC,GAAG,CAA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AED,MAAM,WAAW,WAAW;IAC1B,iBAAiB,EAAE,wBAAwB,CAAA;CAC5C"}
@@ -0,0 +1,32 @@
1
+ export var YouSignSignatureLevel;
2
+ (function (YouSignSignatureLevel) {
3
+ YouSignSignatureLevel["ELECTRONIC"] = "electronic_signature";
4
+ YouSignSignatureLevel["ADVANCED"] = "advanced_electronic_signature";
5
+ YouSignSignatureLevel["QUALIFIED_CERTIFICATE"] = "electronic_signature_with_qualified_certificate";
6
+ YouSignSignatureLevel["QUALIFIED"] = "qualified_electronic_signature";
7
+ YouSignSignatureLevel["QUALIFIED_MODE_1"] = "qualified_electronic_signature_mode_1";
8
+ })(YouSignSignatureLevel || (YouSignSignatureLevel = {}));
9
+ export var YouSignAuthMode;
10
+ (function (YouSignAuthMode) {
11
+ YouSignAuthMode["SMS"] = "otp_sms";
12
+ YouSignAuthMode["EMAIL"] = "otp_email";
13
+ YouSignAuthMode["NONE"] = "no_otp";
14
+ })(YouSignAuthMode || (YouSignAuthMode = {}));
15
+ export var YouSignDeliveryMode;
16
+ (function (YouSignDeliveryMode) {
17
+ YouSignDeliveryMode["EMAIL"] = "email";
18
+ YouSignDeliveryMode["NONE"] = "none";
19
+ })(YouSignDeliveryMode || (YouSignDeliveryMode = {}));
20
+ export var SignatureRequestStatus;
21
+ (function (SignatureRequestStatus) {
22
+ SignatureRequestStatus["INITIATED"] = "initiated";
23
+ SignatureRequestStatus["DECLINE"] = "decline";
24
+ SignatureRequestStatus["NOTIFIED"] = "notified";
25
+ SignatureRequestStatus["VERIFIED"] = "verified";
26
+ SignatureRequestStatus["PROCESSING"] = "processing";
27
+ SignatureRequestStatus["CONSENT_GIVEN"] = "consent_given";
28
+ SignatureRequestStatus["SIGNED"] = "signed";
29
+ SignatureRequestStatus["ABORTED"] = "aborted";
30
+ SignatureRequestStatus["ERROR"] = "error";
31
+ })(SignatureRequestStatus || (SignatureRequestStatus = {}));
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/yousign/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,4DAAmC,CAAA;IACnC,mEAA0C,CAAA;IAC1C,kGAAyE,CAAA;IACzE,qEAA4C,CAAA;IAC5C,mFAA0D,CAAA;AAC5D,CAAC,EANW,qBAAqB,KAArB,qBAAqB,QAMhC;AAED,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,kCAAe,CAAA;IACf,sCAAmB,CAAA;IACnB,kCAAe,CAAA;AACjB,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AAED,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,sCAAe,CAAA;IACf,oCAAa,CAAA;AACf,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B;AAED,MAAM,CAAN,IAAY,sBAUX;AAVD,WAAY,sBAAsB;IAChC,iDAAuB,CAAA;IACvB,6CAAmB,CAAA;IACnB,+CAAqB,CAAA;IACrB,+CAAqB,CAAA;IACrB,mDAAyB,CAAA;IACzB,yDAA+B,CAAA;IAC/B,2CAAiB,CAAA;IACjB,6CAAmB,CAAA;IACnB,yCAAe,CAAA;AACjB,CAAC,EAVW,sBAAsB,KAAtB,sBAAsB,QAUjC","sourcesContent":["export enum YouSignSignatureLevel {\n ELECTRONIC = 'electronic_signature',\n ADVANCED = 'advanced_electronic_signature',\n QUALIFIED_CERTIFICATE = 'electronic_signature_with_qualified_certificate',\n QUALIFIED = 'qualified_electronic_signature',\n QUALIFIED_MODE_1 = 'qualified_electronic_signature_mode_1',\n}\n\nexport enum YouSignAuthMode {\n SMS = 'otp_sms',\n EMAIL = 'otp_email',\n NONE = 'no_otp',\n}\n\nexport enum YouSignDeliveryMode {\n EMAIL = 'email',\n NONE = 'none',\n}\n\nexport enum SignatureRequestStatus {\n INITIATED = 'initiated',\n DECLINE = 'decline',\n NOTIFIED = 'notified',\n VERIFIED = 'verified',\n PROCESSING = 'processing',\n CONSENT_GIVEN = 'consent_given',\n SIGNED = 'signed',\n ABORTED = 'aborted',\n ERROR = 'error',\n}\n\nexport interface CreateSignatureRequestParams {\n name: string;\n expiration_date: Date;\n delivery_mode: 'email' | 'none';\n customer_signature_id: number;\n reminder_settings?: ReminderSettings;\n}\n\nexport interface ReminderSettings {\n interval_in_days: 1 | 2 | 7 | 14;\n max_occurrences: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;\n}\n\nexport interface Signer {\n id: string\n status: string\n signature_link?: string\n signature_link_expiration_date?: string\n}\n\nexport interface Approver {\n id: string\n status: string\n approval_link?: string\n approval_link_expiration_date?: string\n}\n\nexport interface Document {\n id: string\n nature: string\n}\n\nexport interface Sender {\n id: string\n email: string\n}\n\nexport interface DeclineInformation {\n signer_id: string\n reason: string\n declined_at: string\n}\n\nexport interface SignatureRequestResponse {\n id: string\n status: string\n name: string\n delivery_mode: string\n created_at: string\n ordered_signers: boolean\n reminder_settings: ReminderSettings\n timezone: string\n expiration_date: string\n source?: string\n signers: Signer[]\n approvers: Approver[]\n documents: Document[]\n sender?: Sender\n external_id: string\n branding_id?: string\n custom_experience_id: string\n signers_allowed_to_decline?: boolean\n workspace_id?: string\n audit_trail_locale: string\n bulk_send_batch_id?: string\n decline_information?: DeclineInformation\n}\n\nexport interface SignatureRequestDocument {\n id: string\n filename: string\n nature: string\n content_type: string\n sha256: string\n is_protected: boolean\n is_signed: boolean\n created_at: string\n total_pages: number\n is_locked: boolean\n initials: { alignment: string, y: number }\n total_anchors: number\n}\n\nexport interface SignerInfos {\n first_name: string;\n last_name: string;\n email: string;\n phone_number: string;\n locale: 'fr' | 'en' | 'de' | 'it' | 'nl' | 'es' | 'pl';\n}\n\ninterface Fields {\n document_id: string;\n page: number;\n x: number;\n y: number;\n height?: number\n width?: number\n}\n\ninterface Font {\n family?: 'Inconsolata' | 'Open sans' | 'Lato' | 'Raleway' | 'Merriweather' | 'EB Garamond' | 'Comic Neue'\n color?: string\n size?: number\n variants?: { bold: boolean, italic: boolean }\n}\n\nexport interface SignerSignatureField extends Fields {\n type: 'signature'\n}\n\nexport interface SignerMentionField extends Fields {\n type: 'mention'\n mention: string\n font?: Font\n}\n\nexport interface SignerTextField extends Fields {\n type: 'text'\n mention: string\n max_length: number\n question: string\n instruction?: string | null\n optional: boolean\n font?: Font\n}\n\nexport type SignerFields = SignerSignatureField | SignerMentionField | SignerTextField;\n\nexport interface SignerRedirectUrls {\n success: string\n error: string\n decline: string\n}\n\nexport interface CustomText {\n request_subject: string\n request_body: string\n reminder_subject: string\n reminder_body: string\n}\n\nexport interface AddSignerParams {\n signature_request_id: string;\n info: SignerInfos;\n fields: SignerFields[];\n redirect_urls?: SignerRedirectUrls;\n delivery_mode?: YouSignDeliveryMode;\n custom_text?: CustomText;\n signature_level?: YouSignSignatureLevel;\n signature_authentication_mode?: YouSignAuthMode;\n}\n\nexport interface FieldsResponse {\n id: string,\n document_id: string,\n signer_id: string,\n type: string,\n height?: number,\n width?: number,\n page: number,\n mention?: string,\n x: number,\n y: number\n font?: Font\n}\n\nexport interface GetSignerResponse {\n id: string\n info: SignerInfos\n status: SignatureRequestStatus\n fields: FieldsResponse[]\n signature_level: YouSignSignatureLevel\n signature_authentication_mode: YouSignAuthMode\n signature_link: string\n signature_link_expiration_date: string\n signature_image_preview: string\n redirect_urls: SignerRedirectUrls\n custom_text: CustomText\n delivery_mode: YouSignDeliveryMode\n}\n\n/**\n * Webhook types\n */\n\nexport interface WebhookBody {\n event_id: string\n event_name: string\n event_time: string\n subscription_id: string\n subscription_description: string\n sandbox: boolean\n data: WebhookData\n}\n\nexport interface WebhookData {\n signature_request: SignatureRequestResponse\n}"]}
@@ -1,16 +1,16 @@
1
1
  import { IUser } from './IUser';
2
- import { IStatusSignature } from './IStatusSignature';
3
2
  import { IPrestation } from './IPrestation';
4
3
  import { IGedFile } from './IGedFile';
5
4
  import { IUserRoomEquipment } from './IUserRoomEquipment';
5
+ import { SignatureType } from '../../Enum/CustomerSignature';
6
6
  export interface ICustomerSignature {
7
7
  id?: number;
8
8
  idDemand?: string;
9
- idFileFilesInfos: string;
10
- fileNameFilesInfos: string;
9
+ idFileFilesInfos?: string;
10
+ fileNameFilesInfos?: string;
11
11
  sha1FilesInfos?: string | null;
12
12
  memberId?: string;
13
- tokenSigner: string;
13
+ tokenSigner?: string;
14
14
  mailSigner: string;
15
15
  phoneSigner: string;
16
16
  idSendMethod: number;
@@ -20,11 +20,11 @@ export interface ICustomerSignature {
20
20
  idCollaborater?: number | null;
21
21
  idGedFile?: number;
22
22
  dateSendPlaqToClient: Date | null;
23
+ type?: SignatureType | null;
23
24
  createdAt?: Date | null;
24
25
  updatedAt?: Date | null;
25
26
  user?: IUser;
26
27
  collaborater?: IUser;
27
- statusSignature?: IStatusSignature;
28
28
  prestation?: IPrestation;
29
29
  gedFile?: IGedFile;
30
30
  userRoomEquipments?: IUserRoomEquipment[];
@@ -1 +1 @@
1
- {"version":3,"file":"ICustomerSignature.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ICustomerSignature.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D,MAAM,WAAW,kBAAkB;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CA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AAC;IAC5B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB,EAAE,IAAI,GAAG,IAAI,CAAC;IAClC,IAAI,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAC5B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,kBAAkB,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAC3C"}
@@ -1 +1 @@
1
- {"version":3,"file":"ICustomerSignature.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ICustomerSignature.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from './IUser';\nimport { IStatusSignature } from './IStatusSignature';\nimport { IPrestation } from './IPrestation';\nimport { IGedFile } from './IGedFile';\nimport { IUserRoomEquipment } from './IUserRoomEquipment';\n\n// customersSignatures\nexport interface ICustomerSignature {\n id?: number;\n idDemand?: string;\n idFileFilesInfos: string;\n fileNameFilesInfos: string;\n sha1FilesInfos?: string | null;\n memberId?: string;\n tokenSigner: string;\n mailSigner: string;\n phoneSigner: string;\n idSendMethod: number;\n idStatusSignature: number;\n idPrestation?: number;\n idUser?: number | null;\n idCollaborater?: number | null;\n idGedFile?: number;\n dateSendPlaqToClient: Date | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n user?: IUser;\n collaborater?: IUser;\n statusSignature?: IStatusSignature;\n prestation?: IPrestation;\n gedFile?: IGedFile;\n userRoomEquipments?: IUserRoomEquipment[];\n}\n"]}
1
+ {"version":3,"file":"ICustomerSignature.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ICustomerSignature.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from './IUser';\nimport { IPrestation } from './IPrestation';\nimport { IGedFile } from './IGedFile';\nimport { IUserRoomEquipment } from './IUserRoomEquipment';\nimport { SignatureType } from '../../Enum/CustomerSignature';\n\n// customersSignatures\nexport interface ICustomerSignature {\n id?: number;\n idDemand?: string;\n idFileFilesInfos?: string;\n fileNameFilesInfos?: string;\n sha1FilesInfos?: string | null;\n memberId?: string;\n tokenSigner?: string;\n mailSigner: string;\n phoneSigner: string;\n idSendMethod: number;\n idStatusSignature: number;\n idPrestation?: number;\n idUser?: number | null;\n idCollaborater?: number | null;\n idGedFile?: number;\n dateSendPlaqToClient: Date | null;\n type?: SignatureType | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n user?: IUser;\n collaborater?: IUser;\n prestation?: IPrestation;\n gedFile?: IGedFile;\n userRoomEquipments?: IUserRoomEquipment[];\n}\n"]}
@@ -0,0 +1,22 @@
1
+ import { IUser } from './IUser';
2
+ import { IFile } from './IFile';
3
+ import { IRole } from './IRole';
4
+ import { DocumentForHumanResourceType } from '../../Enum/DocumentForHumanResourceType';
5
+ export interface IHumanResourceLibrary {
6
+ id?: number;
7
+ idFile?: number;
8
+ idUserRh: number;
9
+ idDocumentType: DocumentForHumanResourceType;
10
+ name: string;
11
+ idRole?: number | null;
12
+ idUser?: number | null;
13
+ visible?: boolean | null;
14
+ createdAt?: Date | null;
15
+ updatedAt?: Date | null;
16
+ deletedAt?: Date | null;
17
+ user?: IUser;
18
+ userRh?: IUser;
19
+ role?: IRole;
20
+ file?: IFile;
21
+ }
22
+ //# sourceMappingURL=IHumanResourceLibrary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHumanResourceLibrary.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IHumanResourceLibrary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAGvF,MAAM,WAAW,qBAAqB;IACpC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,4BAA4B,CAAC;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IHumanResourceLibrary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHumanResourceLibrary.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IHumanResourceLibrary.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from './IUser';\nimport { IFile } from './IFile';\nimport { IRole } from './IRole';\nimport { DocumentForHumanResourceType } from '../../Enum/DocumentForHumanResourceType';\n\n// HumanResourceLibrary\nexport interface IHumanResourceLibrary {\n id?: number;\n idFile?: number;\n idUserRh: number;\n idDocumentType: DocumentForHumanResourceType;\n name: string;\n idRole?: number | null;\n idUser?: number | null;\n visible?: boolean | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n user?: IUser;\n userRh?: IUser;\n role?: IRole;\n file?: IFile;\n}\n"]}
@@ -0,0 +1,13 @@
1
+ import { IUser } from './IUser';
2
+ import { IHumanResourceLibrary } from './IHumanResourceLibrary';
3
+ export interface IUserHumanResourceLibrary {
4
+ id?: number;
5
+ idHumanResourceLibrary: number;
6
+ idUser: number;
7
+ createdAt?: Date | null;
8
+ updatedAt?: Date | null;
9
+ deletedAt?: Date | null;
10
+ user?: IUser;
11
+ humanResourceLibrary?: IHumanResourceLibrary;
12
+ }
13
+ //# sourceMappingURL=IUserHumanResourceLibrary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IUserHumanResourceLibrary.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IUserHumanResourceLibrary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,MAAM,WAAW,yBAAyB;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,sBAAsB,EAAE,MAAM,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,oBAAoB,CAAC,EAAE,qBAAqB,CAAC;CAC9C"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IUserHumanResourceLibrary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IUserHumanResourceLibrary.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IUserHumanResourceLibrary.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from './IUser';\nimport { IHumanResourceLibrary } from './IHumanResourceLibrary';\n\n// userHumanResourceLibrary\nexport interface IUserHumanResourceLibrary {\n id?: number;\n idHumanResourceLibrary: number;\n idUser: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n user?: IUser;\n humanResourceLibrary?: IHumanResourceLibrary;\n}\n"]}
@@ -335,6 +335,8 @@ export * from './Interface/models/ICompanyCreationForm';
335
335
  export * from './Interface/models/IAnnotation';
336
336
  export * from './Interface/models/ILoanEarlyRepayment';
337
337
  export * from './Interface/models/IPrevisionalForm';
338
+ export * from './Interface/models/IHumanResourceLibrary';
339
+ export * from './Interface/models/IUserHumanResourceLibrary';
338
340
  export * from './Interface/schemas/IRegistrationDetail';
339
341
  export * from './Interface/schemas/ITransactionHistory';
340
342
  export * from './Form/FormAuthenticate';
@@ -548,6 +550,8 @@ export * from './Enum/ToRecallRating';
548
550
  export * from './Enum/PrevisionalForm';
549
551
  export * from './Enum/PaymentRecovery';
550
552
  export * from './Enum/JuridicalSociety';
553
+ export * from './Enum/Pdf2PicLocalType';
554
+ export * from './Enum/DocumentForHumanResourceType';
551
555
  export * from './Interface/api/exercice/ReadExercice';
552
556
  export * from './Interface/api/balanceSheet/consistency/Read';
553
557
  export * from './Interface/api/kilometricAllowance/ReadKilometricAllowance';
@@ -561,7 +565,6 @@ export * from './Interface/api/authentification/ConnectFromSSO';
561
565
  export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
562
566
  export * from './Interface/api/jeDeclare/ReadJeDeclare';
563
567
  export * from './Interface/api/aspone/ReadInterchange';
564
- export * from './Interface/api/aspone/Util';
565
568
  export * from './Interface/api/businessPartner/ReadBusinessPartner';
566
569
  export * from './Interface/api/businessPartner/QueryBusinessPartnerAll';
567
570
  export * from './Interface/api/businessPartner/CreateBusinessPartnerParams';
@@ -855,6 +858,10 @@ export * from './Interface/api/incomeAllocation/CreateIncomeAllocation';
855
858
  export * from './Interface/api/incomeAllocation/ReadIncomeAllocation';
856
859
  export * from './Interface/api/incomeAllocation/TypeAndAmount';
857
860
  export * from './Interface/api/revisionGuide/CreateRevisionGuide';
861
+ export * from './Interface/api/humanResourceLibrary/QueryPaginatedHumanResourceLibrary';
862
+ export * from './Interface/api/humanResourceLibrary/QueryHumanResourceLibrary';
863
+ export * from './Interface/api/humanResourceLibrary/CreateHumanResourceLibrary';
864
+ export * from './Interface/api/humanResourceLibrary/CreateUserHumanResourceLibrary';
858
865
  export * from './Interface/api/library/QueryLibrary';
859
866
  export * from './Interface/api/library/ReadLibraryFile';
860
867
  export * from './Interface/api/taxDeadline/QueryTaxDeadline';
@@ -1103,6 +1110,8 @@ export * from './Interface/api/previsionalForm/PrevisionalFormPayload';
1103
1110
  export * from './Interface/api/previsionalForm/CreatePrevisionalForm';
1104
1111
  export * from './Interface/api/toDoExpress/Query';
1105
1112
  export * from './Interface/api/toDoExpress/Read';
1113
+ export * from './Interface/api/yousign/index';
1114
+ export * from './Interface/api/aspone/AsponeApi';
1106
1115
  export * from './Interface/enum/Util';
1107
1116
  export * from './Interface/enum/Date';
1108
1117
  export * from './Interface/api/connector/Sirene';