@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
@@ -0,0 +1,11 @@
1
+ import {
2
+ IsString,
3
+ } from 'class-validator';
4
+ import { ApiProperty } from '../../../../utils';
5
+
6
+ export class QueryHumanResourceLibrary {
7
+ @ApiProperty()
8
+ @IsString()
9
+ fileURL: string;
10
+ }
11
+
@@ -0,0 +1,54 @@
1
+ import {
2
+ IsBoolean,
3
+ IsDate,
4
+ IsIn, IsInt, IsOptional, IsString,
5
+ } from 'class-validator';
6
+ import { ApiPropertyOptional } from '../../../../utils';
7
+ import { DocumentForHumanResourceType } from '../../../Enum/DocumentForHumanResourceType';
8
+ import { OptionalQueryPaginate } from '../BasePaginate';
9
+
10
+ export class QueryPaginatedHumanResourceLibrary extends OptionalQueryPaginate {
11
+ @ApiPropertyOptional()
12
+ @IsInt()
13
+ @IsOptional()
14
+ idUser?: number;
15
+
16
+ @ApiPropertyOptional()
17
+ @IsString()
18
+ @IsOptional()
19
+ search?: string;
20
+
21
+ @ApiPropertyOptional()
22
+ @IsInt()
23
+ @IsOptional()
24
+ idRole?: number;
25
+
26
+ @ApiPropertyOptional()
27
+ @IsInt()
28
+ @IsOptional()
29
+ idDocumentType?: DocumentForHumanResourceType;
30
+
31
+ @ApiPropertyOptional()
32
+ @IsBoolean()
33
+ @IsOptional()
34
+ visible?: boolean;
35
+
36
+ @ApiPropertyOptional()
37
+ @IsBoolean()
38
+ @IsOptional()
39
+ withAction?: boolean;
40
+
41
+ @ApiPropertyOptional()
42
+ @IsDate()
43
+ @IsOptional()
44
+ createdDate?: Date;
45
+
46
+ @ApiPropertyOptional()
47
+ @IsOptional()
48
+ @IsString({
49
+ each: true,
50
+ })
51
+ @IsIn(['user'], { each: true })
52
+ include?: string[];
53
+ }
54
+
@@ -99,14 +99,6 @@ export class CreateRegistration {
99
99
  forcedValues?: ForcedValues;
100
100
  }
101
101
 
102
- export class CreateRegistrationSynchronization {
103
- @ApiPropertyOptional()
104
- @IsOptional()
105
- @IsBoolean()
106
- @ToBoolean()
107
- forceTestMode?: boolean;
108
- }
109
-
110
102
  export class UpdateOrCreateVatRegistration {
111
103
  @ApiProperty()
112
104
  @IsEnum(CerfaType)
@@ -241,4 +233,10 @@ export class CreateAndSendVatMail {
241
233
  @ApiProperty()
242
234
  @IsArray()
243
235
  idFiles: number[];
236
+ }
237
+
238
+ export class DownloadExternalFile {
239
+ @ApiProperty()
240
+ @IsString()
241
+ fileId: string;
244
242
  }
@@ -45,4 +45,12 @@ export class UpdatedAnnotationObject {
45
45
  new: IAccountingEntry[];
46
46
  }
47
47
 
48
- export type UpdatedAnnotation = UpdatedAnnotationObject[];
48
+ export type UpdatedAnnotation = UpdatedAnnotationObject[];
49
+
50
+ export type ReadRegistrationExternalFile = {
51
+ id: string;
52
+ createdAt: string;
53
+ name: string;
54
+ format: 'XML' | 'EDI';
55
+ size: string;
56
+ };
@@ -0,0 +1,230 @@
1
+ export 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
+
9
+ export enum YouSignAuthMode {
10
+ SMS = 'otp_sms',
11
+ EMAIL = 'otp_email',
12
+ NONE = 'no_otp',
13
+ }
14
+
15
+ export enum YouSignDeliveryMode {
16
+ EMAIL = 'email',
17
+ NONE = 'none',
18
+ }
19
+
20
+ export enum SignatureRequestStatus {
21
+ INITIATED = 'initiated',
22
+ DECLINE = 'decline',
23
+ NOTIFIED = 'notified',
24
+ VERIFIED = 'verified',
25
+ PROCESSING = 'processing',
26
+ CONSENT_GIVEN = 'consent_given',
27
+ SIGNED = 'signed',
28
+ ABORTED = 'aborted',
29
+ ERROR = 'error',
30
+ }
31
+
32
+ export interface CreateSignatureRequestParams {
33
+ name: string;
34
+ expiration_date: Date;
35
+ delivery_mode: 'email' | 'none';
36
+ customer_signature_id: number;
37
+ reminder_settings?: ReminderSettings;
38
+ }
39
+
40
+ export interface ReminderSettings {
41
+ interval_in_days: 1 | 2 | 7 | 14;
42
+ max_occurrences: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
43
+ }
44
+
45
+ export interface Signer {
46
+ id: string
47
+ status: string
48
+ signature_link?: string
49
+ signature_link_expiration_date?: string
50
+ }
51
+
52
+ export interface Approver {
53
+ id: string
54
+ status: string
55
+ approval_link?: string
56
+ approval_link_expiration_date?: string
57
+ }
58
+
59
+ export interface Document {
60
+ id: string
61
+ nature: string
62
+ }
63
+
64
+ export interface Sender {
65
+ id: string
66
+ email: string
67
+ }
68
+
69
+ export interface DeclineInformation {
70
+ signer_id: string
71
+ reason: string
72
+ declined_at: string
73
+ }
74
+
75
+ export interface SignatureRequestResponse {
76
+ id: string
77
+ status: string
78
+ name: string
79
+ delivery_mode: string
80
+ created_at: string
81
+ ordered_signers: boolean
82
+ reminder_settings: ReminderSettings
83
+ timezone: string
84
+ expiration_date: string
85
+ source?: string
86
+ signers: Signer[]
87
+ approvers: Approver[]
88
+ documents: Document[]
89
+ sender?: Sender
90
+ external_id: string
91
+ branding_id?: string
92
+ custom_experience_id: string
93
+ signers_allowed_to_decline?: boolean
94
+ workspace_id?: string
95
+ audit_trail_locale: string
96
+ bulk_send_batch_id?: string
97
+ decline_information?: DeclineInformation
98
+ }
99
+
100
+ export interface SignatureRequestDocument {
101
+ id: string
102
+ filename: string
103
+ nature: string
104
+ content_type: string
105
+ sha256: string
106
+ is_protected: boolean
107
+ is_signed: boolean
108
+ created_at: string
109
+ total_pages: number
110
+ is_locked: boolean
111
+ initials: { alignment: string, y: number }
112
+ total_anchors: number
113
+ }
114
+
115
+ export interface SignerInfos {
116
+ first_name: string;
117
+ last_name: string;
118
+ email: string;
119
+ phone_number: string;
120
+ locale: 'fr' | 'en' | 'de' | 'it' | 'nl' | 'es' | 'pl';
121
+ }
122
+
123
+ interface Fields {
124
+ document_id: string;
125
+ page: number;
126
+ x: number;
127
+ y: number;
128
+ height?: number
129
+ width?: number
130
+ }
131
+
132
+ interface Font {
133
+ family?: 'Inconsolata' | 'Open sans' | 'Lato' | 'Raleway' | 'Merriweather' | 'EB Garamond' | 'Comic Neue'
134
+ color?: string
135
+ size?: number
136
+ variants?: { bold: boolean, italic: boolean }
137
+ }
138
+
139
+ export interface SignerSignatureField extends Fields {
140
+ type: 'signature'
141
+ }
142
+
143
+ export interface SignerMentionField extends Fields {
144
+ type: 'mention'
145
+ mention: string
146
+ font?: Font
147
+ }
148
+
149
+ export interface SignerTextField extends Fields {
150
+ type: 'text'
151
+ mention: string
152
+ max_length: number
153
+ question: string
154
+ instruction?: string | null
155
+ optional: boolean
156
+ font?: Font
157
+ }
158
+
159
+ export type SignerFields = SignerSignatureField | SignerMentionField | SignerTextField;
160
+
161
+ export interface SignerRedirectUrls {
162
+ success: string
163
+ error: string
164
+ decline: string
165
+ }
166
+
167
+ export interface CustomText {
168
+ request_subject: string
169
+ request_body: string
170
+ reminder_subject: string
171
+ reminder_body: string
172
+ }
173
+
174
+ export interface AddSignerParams {
175
+ signature_request_id: string;
176
+ info: SignerInfos;
177
+ fields: SignerFields[];
178
+ redirect_urls?: SignerRedirectUrls;
179
+ delivery_mode?: YouSignDeliveryMode;
180
+ custom_text?: CustomText;
181
+ signature_level?: YouSignSignatureLevel;
182
+ signature_authentication_mode?: YouSignAuthMode;
183
+ }
184
+
185
+ export interface FieldsResponse {
186
+ id: string,
187
+ document_id: string,
188
+ signer_id: string,
189
+ type: string,
190
+ height?: number,
191
+ width?: number,
192
+ page: number,
193
+ mention?: string,
194
+ x: number,
195
+ y: number
196
+ font?: Font
197
+ }
198
+
199
+ export interface GetSignerResponse {
200
+ id: string
201
+ info: SignerInfos
202
+ status: SignatureRequestStatus
203
+ fields: FieldsResponse[]
204
+ signature_level: YouSignSignatureLevel
205
+ signature_authentication_mode: YouSignAuthMode
206
+ signature_link: string
207
+ signature_link_expiration_date: string
208
+ signature_image_preview: string
209
+ redirect_urls: SignerRedirectUrls
210
+ custom_text: CustomText
211
+ delivery_mode: YouSignDeliveryMode
212
+ }
213
+
214
+ /**
215
+ * Webhook types
216
+ */
217
+
218
+ export interface WebhookBody {
219
+ event_id: string
220
+ event_name: string
221
+ event_time: string
222
+ subscription_id: string
223
+ subscription_description: string
224
+ sandbox: boolean
225
+ data: WebhookData
226
+ }
227
+
228
+ export interface WebhookData {
229
+ signature_request: SignatureRequestResponse
230
+ }
@@ -1,18 +1,18 @@
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
 
7
7
  // customersSignatures
8
8
  export interface ICustomerSignature {
9
9
  id?: number;
10
10
  idDemand?: string;
11
- idFileFilesInfos: string;
12
- fileNameFilesInfos: string;
11
+ idFileFilesInfos?: string;
12
+ fileNameFilesInfos?: string;
13
13
  sha1FilesInfos?: string | null;
14
14
  memberId?: string;
15
- tokenSigner: string;
15
+ tokenSigner?: string;
16
16
  mailSigner: string;
17
17
  phoneSigner: string;
18
18
  idSendMethod: number;
@@ -22,13 +22,13 @@ export interface ICustomerSignature {
22
22
  idCollaborater?: number | null;
23
23
  idGedFile?: number;
24
24
  dateSendPlaqToClient: Date | null;
25
+ type?: SignatureType | null;
25
26
  createdAt?: Date | null;
26
27
  updatedAt?: Date | null;
27
28
 
28
29
  // Associations
29
30
  user?: IUser;
30
31
  collaborater?: IUser;
31
- statusSignature?: IStatusSignature;
32
32
  prestation?: IPrestation;
33
33
  gedFile?: IGedFile;
34
34
  userRoomEquipments?: IUserRoomEquipment[];
@@ -0,0 +1,25 @@
1
+ import { IUser } from './IUser';
2
+ import { IFile } from './IFile';
3
+ import { IRole } from './IRole';
4
+ import { DocumentForHumanResourceType } from '../../Enum/DocumentForHumanResourceType';
5
+
6
+ // HumanResourceLibrary
7
+ export interface IHumanResourceLibrary {
8
+ id?: number;
9
+ idFile?: number;
10
+ idUserRh: number;
11
+ idDocumentType: DocumentForHumanResourceType;
12
+ name: string;
13
+ idRole?: number | null;
14
+ idUser?: number | null;
15
+ visible?: boolean | null;
16
+ createdAt?: Date | null;
17
+ updatedAt?: Date | null;
18
+ deletedAt?: Date | null;
19
+
20
+ // Associations
21
+ user?: IUser;
22
+ userRh?: IUser;
23
+ role?: IRole;
24
+ file?: IFile;
25
+ }
@@ -0,0 +1,16 @@
1
+ import { IUser } from './IUser';
2
+ import { IHumanResourceLibrary } from './IHumanResourceLibrary';
3
+
4
+ // userHumanResourceLibrary
5
+ export interface IUserHumanResourceLibrary {
6
+ id?: number;
7
+ idHumanResourceLibrary: number;
8
+ idUser: number;
9
+ createdAt?: Date | null;
10
+ updatedAt?: Date | null;
11
+ deletedAt?: Date | null;
12
+
13
+ // Associations
14
+ user?: IUser;
15
+ humanResourceLibrary?: IHumanResourceLibrary;
16
+ }
package/ts/types/index.ts CHANGED
@@ -336,6 +336,8 @@ export * from './Interface/models/ICompanyCreationForm';
336
336
  export * from './Interface/models/IAnnotation';
337
337
  export * from './Interface/models/ILoanEarlyRepayment';
338
338
  export * from './Interface/models/IPrevisionalForm';
339
+ export * from './Interface/models/IHumanResourceLibrary';
340
+ export * from './Interface/models/IUserHumanResourceLibrary';
339
341
 
340
342
 
341
343
  // Schemas
@@ -556,6 +558,8 @@ export * from './Enum/ToRecallRating';
556
558
  export * from './Enum/PrevisionalForm';
557
559
  export * from './Enum/PaymentRecovery';
558
560
  export * from './Enum/JuridicalSociety';
561
+ export * from './Enum/Pdf2PicLocalType';
562
+ export * from './Enum/DocumentForHumanResourceType';
559
563
 
560
564
  // Interfaces API
561
565
  export * from './Interface/api/exercice/ReadExercice';
@@ -571,7 +575,6 @@ export * from './Interface/api/authentification/ConnectFromSSO';
571
575
  export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
572
576
  export * from './Interface/api/jeDeclare/ReadJeDeclare';
573
577
  export * from './Interface/api/aspone/ReadInterchange';
574
- export * from './Interface/api/aspone/Util';
575
578
  export * from './Interface/api/businessPartner/ReadBusinessPartner';
576
579
  export * from './Interface/api/businessPartner/QueryBusinessPartnerAll';
577
580
  export * from './Interface/api/businessPartner/CreateBusinessPartnerParams';
@@ -869,6 +872,11 @@ export * from './Interface/api/incomeAllocation/CreateIncomeAllocation';
869
872
  export * from './Interface/api/incomeAllocation/ReadIncomeAllocation';
870
873
  export * from './Interface/api/incomeAllocation/TypeAndAmount';
871
874
  export * from './Interface/api/revisionGuide/CreateRevisionGuide';
875
+ export * from './Interface/api/humanResourceLibrary/QueryPaginatedHumanResourceLibrary';
876
+ export * from './Interface/api/humanResourceLibrary/QueryHumanResourceLibrary';
877
+ export * from './Interface/api/humanResourceLibrary/CreateHumanResourceLibrary';
878
+ export * from './Interface/api/humanResourceLibrary/CreateUserHumanResourceLibrary';
879
+
872
880
  export * from './Interface/api/library/QueryLibrary';
873
881
  export * from './Interface/api/library/ReadLibraryFile';
874
882
  export * from './Interface/api/taxDeadline/QueryTaxDeadline';
@@ -1117,7 +1125,8 @@ export * from './Interface/api/previsionalForm/PrevisionalFormPayload';
1117
1125
  export * from './Interface/api/previsionalForm/CreatePrevisionalForm';
1118
1126
  export * from './Interface/api/toDoExpress/Query';
1119
1127
  export * from './Interface/api/toDoExpress/Read';
1120
-
1128
+ export * from './Interface/api/yousign/index';
1129
+ export * from './Interface/api/aspone/AsponeApi';
1121
1130
 
1122
1131
  // Enums types
1123
1132
  export * from './Interface/enum/Util';
@@ -115,7 +115,7 @@ export function getCerfa3310Century24Payload(accountingEntries: IAccountingEntry
115
115
  const otherGoodsAndServices = setZeroIfIsNegative(getTaxAmountByAccountNumber(vatEntries.filter((e) => vats.filter((v) => !v.isVatImportation).map((v) => v.id).includes(e.idVat)), ['6'])) + (payload?.vatControl?.deducted?.abs ?? 0);
116
116
  const otherDeductibles = setZeroIfIsNegative(getTaxAmountByAccountNumber(vatEntries.filter((e) => vats.filter((v) => v.isVatImportation).map((v) => v.id).includes(e.idVat)), ['6'])) + (payload?.vatControl?.deducted?.other ?? 0);
117
117
 
118
- const report = (payload.vat?.deductible?.toReport && payload.vat?.deductible?.toReport >= 0 ? _round(payload.vat?.deductible?.toReport ?? 0) : payload.previousVatDeclaration?.credit?.toReport ?? 0) + (payload?.vatControl?.deducted?.reported ?? 0);
118
+ const report = (isDefined(payload.vat?.deductible?.toReport) && payload.vat?.deductible?.toReport >= 0 ? _round(payload.vat?.deductible?.toReport ?? 0) : payload.previousVatDeclaration?.credit?.toReport ?? 0) + (payload?.vatControl?.deducted?.reported ?? 0);
119
119
  const coefficient = _round(payload.vat?.deductible?.coefficient ?? 100, 2);
120
120
  const isNil = payload.isNil === true;
121
121
  const isHolidayDeposit = payload.isHolidayDeposit === true;
@@ -1,111 +0,0 @@
1
- import { InterchangeHistory, PaymentState, Rof } from '../../..';
2
- export declare class PasswordDigest {
3
- nonce: string;
4
- created: string;
5
- passwordDigest: string;
6
- }
7
- export type ProcessType = 'DADS-U' | 'TDFC' | 'TVA' | 'DUCS' | 'DUE' | 'PAIEMENT' | 'AED' | 'DSI' | 'DSN' | 'REQUETE' | 'IR' | 'DRP' | 'DPAE' | 'OGA' | 'PART' | 'WEB_TDFC' | 'WEB_TVA' | 'WEB_PAIEMENT' | 'WEB_REQUETE' | 'WEB_PART';
8
- export declare class WSDL {
9
- deposit: string;
10
- monitoring: string;
11
- }
12
- export declare class AccessKeys {
13
- login: string;
14
- password: string;
15
- loginMB: string;
16
- passwordMB: string;
17
- apiKey: string;
18
- wsdl: WSDL;
19
- }
20
- export declare class RegistrationParams {
21
- subject: string;
22
- idSociety: number;
23
- file: {
24
- buffer: Buffer;
25
- token: string;
26
- };
27
- forceTestMode: boolean;
28
- processType: ProcessType;
29
- }
30
- export declare class RegistrationResponse {
31
- status: number;
32
- response: string;
33
- depositId: string | null;
34
- }
35
- export declare class IndebtedIdentification {
36
- identifiant: string;
37
- designation: string;
38
- adresseVoie: string;
39
- adresseNumero: string;
40
- adresseCodePostal: string;
41
- adresseVille: string;
42
- adresseCodePays: string;
43
- rof: Rof;
44
- }
45
- export declare class StateHistory {
46
- name: string[];
47
- label: string[];
48
- isError: string[];
49
- isFinal: string[];
50
- date: string[];
51
- }
52
- export type DeclarationStateHistory = StateHistory & {
53
- stateDetailsHistory: Array<{
54
- stateDetail: InterchangeHistory[];
55
- }>;
56
- };
57
- export type DeclarationType = {
58
- code: string[];
59
- libelle: string[];
60
- };
61
- export declare class InterchangeDeclaration {
62
- interchange: [];
63
- numInterchangeDestinataire: string[];
64
- recipient: {
65
- name: string[];
66
- type: string[];
67
- };
68
- periodStart: string[];
69
- periodEnd: string[];
70
- nameDosier: string[];
71
- numDossier: string[];
72
- declarationId: string[];
73
- declarantSiret: string[];
74
- declarationType: DeclarationType[];
75
- statesHistory: Array<{
76
- stateHistory: DeclarationStateHistory[];
77
- }>;
78
- dld: any[];
79
- }
80
- export type DeclarationStates = {
81
- status: number;
82
- declarationType: {
83
- code: string | null;
84
- label: string | null;
85
- };
86
- type: string;
87
- payment: PaymentState;
88
- states: InterchangeHistory[];
89
- dld: any;
90
- idDeclaration: string | null;
91
- };
92
- export type InterchangeParsed = Array<{
93
- interchange: Array<{
94
- depositId: string[];
95
- depositDate: string[];
96
- depositSubject: string[];
97
- interchangeId: string[];
98
- numADS: string[];
99
- adsDate: string[];
100
- alias: string[];
101
- version: string[];
102
- isTest: string[];
103
- deposantAccount: string[];
104
- teleProdecure: string[];
105
- statesHistory: Array<{
106
- stateHistory: DeclarationStateHistory[];
107
- }>;
108
- declarationIds: string[];
109
- }>;
110
- }>;
111
- //# sourceMappingURL=Util.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Util.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/aspone/Util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEjE,qBAAa,cAAc;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,UAAU,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,SAAS,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,cAAc,GAAG,aAAa,GAAG,UAAU,CAAC;AAEtO,qBAAa,IAAI;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,UAAU;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,qBAAa,kBAAkB;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE;QACJ,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAA;KACd,CAAC;IACF,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,qBAAa,oBAAoB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,qBAAa,sBAAsB;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,GAAG,EAAE,GAAG,CAAC;CACV;AAED,qBAAa,YAAY;IACvB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAED,MAAM,MAAM,uBAAuB,GAAG,YAAY,GAAG;IAAE,mBAAmB,EAAE,KAAK,CAAC;QAAE,WAAW,EAAE,kBAAkB,EAAE,CAAA;KAAE,CAAC,CAAA;CAAE,CAAC;AAE3H,MAAM,MAAM,eAAe,GAAG;IAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAEpE,qBAAa,sBAAsB;IACjC,WAAW,EAAE,EAAE,CAAC;IAChB,0BAA0B,EAAC,MAAM,EAAE,CAAC;IACpC,SAAS,EAAE;QACT,IAAI,EAAE,MAAM,EAAE,CAAC;QACf,IAAI,EAAE,MAAM,EAAE,CAAA;KACf,CAAC;IACF,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,eAAe,EAAE,eAAe,EAAE,CAAC;IACnC,aAAa,EAAE,KAAK,CAAC;QAAE,YAAY,EAAE,uBAAuB,EAAE,CAAA;KAAE,CAAC,CAAC;IAClE,GAAG,EAAE,GAAG,EAAE,CAAC;CACZ;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE;QACf,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;KACrB,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,YAAY,CAAC;IACtB,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,GAAG,EAAE,GAAG,CAAC;IACT,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;CAC7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC;IACpC,WAAW,EAAE,KAAK,CAAC;QACjB,SAAS,EAAE,MAAM,EAAE,CAAC;QACpB,WAAW,EAAE,MAAM,EAAE,CAAC;QACtB,cAAc,EAAE,MAAM,EAAE,CAAC;QACzB,aAAa,EAAE,MAAM,EAAE,CAAC;QACxB,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,KAAK,EAAE,MAAM,EAAE,CAAC;QAChB,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,aAAa,EAAE,MAAM,EAAE,CAAC;QACxB,aAAa,EAAE,KAAK,CAAC;YACnB,YAAY,EAAE,uBAAuB,EAAE,CAAA;SACxC,CAAC,CAAC;QACH,cAAc,EAAE,MAAM,EAAE,CAAC;KAC1B,CAAC,CAAA;CACH,CAAC,CAAC"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InterchangeDeclaration = exports.StateHistory = exports.IndebtedIdentification = exports.RegistrationResponse = exports.RegistrationParams = exports.AccessKeys = exports.WSDL = exports.PasswordDigest = void 0;
4
- class PasswordDigest {
5
- }
6
- exports.PasswordDigest = PasswordDigest;
7
- class WSDL {
8
- }
9
- exports.WSDL = WSDL;
10
- class AccessKeys {
11
- }
12
- exports.AccessKeys = AccessKeys;
13
- class RegistrationParams {
14
- }
15
- exports.RegistrationParams = RegistrationParams;
16
- class RegistrationResponse {
17
- }
18
- exports.RegistrationResponse = RegistrationResponse;
19
- class IndebtedIdentification {
20
- }
21
- exports.IndebtedIdentification = IndebtedIdentification;
22
- class StateHistory {
23
- }
24
- exports.StateHistory = StateHistory;
25
- class InterchangeDeclaration {
26
- }
27
- exports.InterchangeDeclaration = InterchangeDeclaration;
28
- //# sourceMappingURL=Util.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Util.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/aspone/Util.ts"],"names":[],"mappings":";;;AAEA,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAID,MAAa,IAAI;CAGhB;AAHD,oBAGC;AAED,MAAa,UAAU;CAOtB;AAPD,gCAOC;AAED,MAAa,kBAAkB;CAS9B;AATD,gDASC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,sBAAsB;CASlC;AATD,wDASC;AAED,MAAa,YAAY;CAMxB;AAND,oCAMC;AAMD,MAAa,sBAAsB;CAgBlC;AAhBD,wDAgBC","sourcesContent":["import { InterchangeHistory, PaymentState, Rof } from '../../..';\n\nexport class PasswordDigest {\n nonce: string;\n created: string;\n passwordDigest: string;\n}\n\nexport type ProcessType = 'DADS-U' | 'TDFC' | 'TVA' | 'DUCS' | 'DUE' | 'PAIEMENT' | 'AED' | 'DSI' | 'DSN' | 'REQUETE' | 'IR' | 'DRP' | 'DPAE' | 'OGA' | 'PART' | 'WEB_TDFC' | 'WEB_TVA' | 'WEB_PAIEMENT' | 'WEB_REQUETE' | 'WEB_PART';\n\nexport class WSDL {\n deposit: string;\n monitoring: string;\n}\n\nexport class AccessKeys {\n login: string;\n password: string;\n loginMB: string;\n passwordMB: string;\n apiKey: string;\n wsdl: WSDL;\n}\n\nexport class RegistrationParams {\n subject: string;\n idSociety: number;\n file: {\n buffer: Buffer,\n token: string\n };\n forceTestMode: boolean;\n processType: ProcessType;\n}\n\nexport class RegistrationResponse {\n status: number;\n response: string;\n depositId: string | null;\n}\n\nexport class IndebtedIdentification {\n identifiant: string;\n designation: string;\n adresseVoie: string;\n adresseNumero: string;\n adresseCodePostal: string;\n adresseVille: string;\n adresseCodePays: string;\n rof: Rof;\n}\n\nexport class StateHistory {\n name: string[];\n label: string[];\n isError: string[];\n isFinal: string[];\n date: string[];\n}\n\nexport type DeclarationStateHistory = StateHistory & { stateDetailsHistory: Array<{ stateDetail: InterchangeHistory[] }> };\n\nexport type DeclarationType = { code: string[]; libelle: string[] };\n\nexport class InterchangeDeclaration {\n interchange: [];\n numInterchangeDestinataire:string[];\n recipient: {\n name: string[];\n type: string[]\n };\n periodStart: string[];\n periodEnd: string[];\n nameDosier: string[];\n numDossier: string[];\n declarationId: string[];\n declarantSiret: string[];\n declarationType: DeclarationType[];\n statesHistory: Array<{ stateHistory: DeclarationStateHistory[] }>;\n dld: any[];\n}\n\nexport type DeclarationStates = {\n status: number;\n declarationType: {\n code: string | null;\n label: string | null\n }; type: string;\n payment: PaymentState;\n states: InterchangeHistory[],\n dld: any;\n idDeclaration: string | null\n};\nexport type InterchangeParsed = Array<{\n interchange: Array<{\n depositId: string[];\n depositDate: string[];\n depositSubject: string[];\n interchangeId: string[];\n numADS: string[];\n adsDate: string[];\n alias: string[];\n version: string[];\n isTest: string[];\n deposantAccount: string[];\n teleProdecure: string[];\n statesHistory: Array<{\n stateHistory: DeclarationStateHistory[]\n }>;\n declarationIds: string[];\n }>\n}>;"]}