@colijnit/ioneconnector 3.1.25 → 3.1.26

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 (334) hide show
  1. package/build/connector.d.ts +30 -30
  2. package/build/connector.js +67 -67
  3. package/build/connector.unit.test.d.ts +1 -1
  4. package/build/connector.unit.test.js +108 -108
  5. package/build/enum/activate-user-account-status.enum.d.ts +6 -6
  6. package/build/enum/activate-user-account-status.enum.js +10 -10
  7. package/build/enum/address-format.enum.d.ts +4 -4
  8. package/build/enum/address-format.enum.js +8 -8
  9. package/build/enum/backend-language-code.enum.d.ts +6 -6
  10. package/build/enum/backend-language-code.enum.js +10 -10
  11. package/build/enum/backend-service-name.enum.d.ts +7 -7
  12. package/build/enum/backend-service-name.enum.js +11 -11
  13. package/build/enum/communication-type.enum.d.ts +8 -8
  14. package/build/enum/communication-type.enum.js +12 -12
  15. package/build/enum/datasession-service-method.enum.d.ts +13 -13
  16. package/build/enum/datasession-service-method.enum.js +17 -17
  17. package/build/enum/db-boolean-value-type.enum.d.ts +12 -12
  18. package/build/enum/db-boolean-value-type.enum.js +32 -32
  19. package/build/enum/end-point.enum.d.ts +4 -4
  20. package/build/enum/end-point.enum.js +8 -8
  21. package/build/enum/file-type-internal.enum.d.ts +11 -11
  22. package/build/enum/file-type-internal.enum.js +15 -15
  23. package/build/enum/file-type.enum.d.ts +5 -5
  24. package/build/enum/file-type.enum.js +9 -9
  25. package/build/enum/filter-type.enum.d.ts +4 -4
  26. package/build/enum/filter-type.enum.js +8 -8
  27. package/build/enum/health-service-method.enum.d.ts +3 -3
  28. package/build/enum/health-service-method.enum.js +7 -7
  29. package/build/enum/language-code.enum.d.ts +7 -7
  30. package/build/enum/language-code.enum.js +11 -11
  31. package/build/enum/login-service-method.enum.d.ts +24 -24
  32. package/build/enum/login-service-method.enum.js +28 -28
  33. package/build/enum/login-status.enum.d.ts +20 -20
  34. package/build/enum/login-status.enum.js +24 -24
  35. package/build/enum/message-type.enum.d.ts +6 -6
  36. package/build/enum/message-type.enum.js +10 -10
  37. package/build/enum/object-config-kind.d.ts +9 -9
  38. package/build/enum/object-config-kind.js +13 -13
  39. package/build/enum/object-configuration-data-type.enum.d.ts +7 -7
  40. package/build/enum/object-configuration-data-type.enum.js +11 -11
  41. package/build/enum/object-configuration-value-type.enum.d.ts +10 -10
  42. package/build/enum/object-configuration-value-type.enum.js +14 -14
  43. package/build/enum/object-right-type.enum.d.ts +5 -5
  44. package/build/enum/object-right-type.enum.js +9 -9
  45. package/build/enum/one-zero-bool-db-type.enum.d.ts +5 -5
  46. package/build/enum/one-zero-bool-db-type.enum.js +20 -20
  47. package/build/enum/public-service-method.enum.d.ts +5 -5
  48. package/build/enum/public-service-method.enum.js +9 -9
  49. package/build/enum/reset-password-status.enum.d.ts +5 -5
  50. package/build/enum/reset-password-status.enum.js +9 -9
  51. package/build/enum/screen-config-subcategory.enum.d.ts +2 -2
  52. package/build/enum/screen-config-subcategory.enum.js +2 -2
  53. package/build/enum/search-data-type.enum.d.ts +4 -4
  54. package/build/enum/search-data-type.enum.js +8 -8
  55. package/build/enum/search-property-state.enum.d.ts +5 -5
  56. package/build/enum/search-property-state.enum.js +9 -9
  57. package/build/enum/sort-direction.d.ts +5 -5
  58. package/build/enum/sort-direction.js +12 -12
  59. package/build/enum/sort-type.enum.d.ts +6 -6
  60. package/build/enum/sort-type.enum.js +10 -10
  61. package/build/enum/true-false-db-type.enum.d.ts +5 -5
  62. package/build/enum/true-false-db-type.enum.js +20 -20
  63. package/build/enum/user-info-service-method.enum.d.ts +3 -3
  64. package/build/enum/user-info-service-method.enum.js +7 -7
  65. package/build/enum/user-right-type.enum.d.ts +7 -7
  66. package/build/enum/user-right-type.enum.js +11 -11
  67. package/build/enum/user-role-type.enum.d.ts +17 -17
  68. package/build/enum/user-role-type.enum.js +21 -21
  69. package/build/enum/value-comparison-type.enum.d.ts +15 -15
  70. package/build/enum/value-comparison-type.enum.js +31 -31
  71. package/build/enum/yes-no-db-type.enum.d.ts +5 -5
  72. package/build/enum/yes-no-db-type.enum.js +20 -20
  73. package/build/factory/business-object-serializer.d.ts +11 -11
  74. package/build/factory/business-object-serializer.js +145 -145
  75. package/build/factory/decorators/bo-factory-step.decorator.d.ts +4 -4
  76. package/build/factory/decorators/bo-factory-step.decorator.js +16 -16
  77. package/build/factory/decorators/bo-serializer-step.decorator.d.ts +4 -4
  78. package/build/factory/decorators/bo-serializer-step.decorator.js +16 -16
  79. package/build/factory/decorators/boolean.decorator.d.ts +12 -12
  80. package/build/factory/decorators/boolean.decorator.js +73 -73
  81. package/build/factory/decorators/business-object-data.decorator.d.ts +23 -23
  82. package/build/factory/decorators/business-object-data.decorator.js +87 -87
  83. package/build/factory/decorators/co-inject.decorator.d.ts +7 -7
  84. package/build/factory/decorators/co-inject.decorator.js +54 -54
  85. package/build/factory/decorators/complex-array.decorator.d.ts +6 -6
  86. package/build/factory/decorators/complex-array.decorator.js +37 -37
  87. package/build/factory/decorators/complex-field.decorator.d.ts +6 -6
  88. package/build/factory/decorators/complex-field.decorator.js +37 -37
  89. package/build/factory/decorators/date-field.decorator.d.ts +6 -6
  90. package/build/factory/decorators/date-field.decorator.js +27 -27
  91. package/build/factory/decorators/db-field-alias.decorator.d.ts +6 -6
  92. package/build/factory/decorators/db-field-alias.decorator.js +40 -40
  93. package/build/factory/decorators/db-method-value.decorator.d.ts +5 -5
  94. package/build/factory/decorators/db-method-value.decorator.js +19 -19
  95. package/build/factory/decorators/db-number.decorator.d.ts +6 -6
  96. package/build/factory/decorators/db-number.decorator.js +35 -35
  97. package/build/factory/decorators/default-send-value.decorator.d.ts +7 -7
  98. package/build/factory/decorators/default-send-value.decorator.js +53 -53
  99. package/build/factory/decorators/exclude-when-empty-string.decorator.d.ts +5 -5
  100. package/build/factory/decorators/exclude-when-empty-string.decorator.js +19 -19
  101. package/build/factory/decorators/json.decorator.d.ts +6 -6
  102. package/build/factory/decorators/json.decorator.js +26 -26
  103. package/build/factory/decorators/map-property.decorator.d.ts +6 -6
  104. package/build/factory/decorators/map-property.decorator.js +29 -29
  105. package/build/factory/decorators/no-db-field.decorator.d.ts +5 -5
  106. package/build/factory/decorators/no-db-field.decorator.js +34 -34
  107. package/build/factory/decorators/number-string.decorator.d.ts +6 -6
  108. package/build/factory/decorators/number-string.decorator.js +23 -23
  109. package/build/factory/decorators/simple-method-tag.decorator.d.ts +6 -6
  110. package/build/factory/decorators/simple-method-tag.decorator.js +31 -31
  111. package/build/factory/decorators/simple-property-tag.decorator.d.ts +6 -6
  112. package/build/factory/decorators/simple-property-tag.decorator.js +38 -38
  113. package/build/factory/decorators/string-number.decorator.d.ts +7 -7
  114. package/build/factory/decorators/string-number.decorator.js +30 -30
  115. package/build/factory/decorators/validate.decorator.d.ts +11 -11
  116. package/build/factory/decorators/validate.decorator.js +55 -55
  117. package/build/interface/address-common-shape.interface.d.ts +14 -14
  118. package/build/interface/address-common-shape.interface.js +2 -2
  119. package/build/interface/business-object-data-shape.d.ts +19 -19
  120. package/build/interface/business-object-data-shape.js +2 -2
  121. package/build/interface/check-precision-and-scale-result.d.ts +4 -4
  122. package/build/interface/check-precision-and-scale-result.js +2 -2
  123. package/build/interface/check-within-stepped-bounds-result.d.ts +4 -4
  124. package/build/interface/check-within-stepped-bounds-result.js +2 -2
  125. package/build/interface/filter-property.d.ts +9 -9
  126. package/build/interface/filter-property.js +2 -2
  127. package/build/interface/login-storage-data.interface.d.ts +10 -10
  128. package/build/interface/login-storage-data.interface.js +2 -2
  129. package/build/interface/precision-scale-object.d.ts +4 -4
  130. package/build/interface/precision-scale-object.js +2 -2
  131. package/build/interface/search-property.d.ts +11 -11
  132. package/build/interface/search-property.js +2 -2
  133. package/build/interface/sort-property.d.ts +11 -11
  134. package/build/interface/sort-property.js +2 -2
  135. package/build/interface/text-part.d.ts +4 -4
  136. package/build/interface/text-part.js +2 -2
  137. package/build/interface/value-comparison-type-view-wrapper.d.ts +6 -6
  138. package/build/interface/value-comparison-type-view-wrapper.js +2 -2
  139. package/build/model/business-object.d.ts +13 -13
  140. package/build/model/business-object.js +34 -34
  141. package/build/model/company.bo.d.ts +9 -9
  142. package/build/model/company.bo.js +13 -13
  143. package/build/model/constant/java-constants.d.ts +2 -2
  144. package/build/model/constant/java-constants.js +5 -5
  145. package/build/model/country.bo.d.ts +11 -11
  146. package/build/model/country.bo.js +11 -11
  147. package/build/model/data-service-data.d.ts +15 -15
  148. package/build/model/data-service-data.js +6 -6
  149. package/build/model/data-service-response-data.d.ts +19 -19
  150. package/build/model/data-service-response-data.interface.d.ts +9 -9
  151. package/build/model/data-service-response-data.interface.js +2 -2
  152. package/build/model/data-service-response-data.js +57 -57
  153. package/build/model/data-service-response-exception.d.ts +29 -29
  154. package/build/model/data-service-response-exception.js +2 -2
  155. package/build/model/data-service-response-root.d.ts +7 -7
  156. package/build/model/data-service-response-root.js +2 -2
  157. package/build/model/default-all-scr-cfg-subcategory.d.ts +2 -2
  158. package/build/model/default-all-scr-cfg-subcategory.js +4 -4
  159. package/build/model/default-get-object-configurations-params.d.ts +2 -2
  160. package/build/model/default-get-object-configurations-params.js +5 -5
  161. package/build/model/field-validation.d.ts +11 -11
  162. package/build/model/field-validation.interface.d.ts +6 -6
  163. package/build/model/field-validation.interface.js +2 -2
  164. package/build/model/field-validation.js +76 -76
  165. package/build/model/field-validations-object.d.ts +4 -4
  166. package/build/model/field-validations-object.interface.d.ts +4 -4
  167. package/build/model/field-validations-object.interface.js +2 -2
  168. package/build/model/field-validations-object.js +2 -2
  169. package/build/model/ione-local-storage-root-object.d.ts +5 -5
  170. package/build/model/ione-local-storage-root-object.js +9 -9
  171. package/build/model/keycloak-parameters.bo.d.ts +5 -5
  172. package/build/model/keycloak-parameters.bo.js +7 -7
  173. package/build/model/local-storage-root-object.d.ts +4 -4
  174. package/build/model/local-storage-root-object.js +9 -9
  175. package/build/model/local-storage-schema-object.d.ts +7 -7
  176. package/build/model/local-storage-schema-object.js +9 -9
  177. package/build/model/local-storage-user-object.d.ts +7 -7
  178. package/build/model/local-storage-user-object.js +6 -6
  179. package/build/model/login-request.d.ts +15 -15
  180. package/build/model/login-request.interface.d.ts +12 -12
  181. package/build/model/login-request.interface.js +2 -2
  182. package/build/model/login-request.js +6 -6
  183. package/build/model/login-response.d.ts +36 -36
  184. package/build/model/login-response.interface.d.ts +22 -22
  185. package/build/model/login-response.interface.js +2 -2
  186. package/build/model/login-response.js +57 -57
  187. package/build/model/login-service-request-data.d.ts +17 -17
  188. package/build/model/login-service-request-data.js +2 -2
  189. package/build/model/login.d.ts +16 -16
  190. package/build/model/login.js +35 -35
  191. package/build/model/menu-content.bo.d.ts +13 -13
  192. package/build/model/menu-content.bo.js +13 -13
  193. package/build/model/object-configuration.d.ts +53 -53
  194. package/build/model/object-configuration.js +200 -200
  195. package/build/model/options.d.ts +26 -26
  196. package/build/model/options.js +16 -16
  197. package/build/model/paging-parameters.d.ts +15 -15
  198. package/build/model/paging-parameters.interface.d.ts +6 -6
  199. package/build/model/paging-parameters.interface.js +6 -6
  200. package/build/model/paging-parameters.js +37 -37
  201. package/build/model/public-service-request-data.d.ts +5 -5
  202. package/build/model/public-service-request-data.js +2 -2
  203. package/build/model/server-response-data.d.ts +5 -5
  204. package/build/model/server-response-data.js +2 -2
  205. package/build/model/server-stack-trace-element.d.ts +7 -7
  206. package/build/model/server-stack-trace-element.js +2 -2
  207. package/build/model/session-storage-root-object.d.ts +4 -4
  208. package/build/model/session-storage-root-object.js +9 -9
  209. package/build/model/session-storage-schema-object.d.ts +7 -7
  210. package/build/model/session-storage-schema-object.js +9 -9
  211. package/build/model/session-storage-user-object.d.ts +6 -6
  212. package/build/model/session-storage-user-object.js +10 -10
  213. package/build/model/session.d.ts +6 -6
  214. package/build/model/session.js +6 -6
  215. package/build/model/token-response.bo.d.ts +5 -5
  216. package/build/model/token-response.bo.js +7 -7
  217. package/build/model/user-parameters-values.bo.d.ts +8 -8
  218. package/build/model/user-parameters-values.bo.js +7 -7
  219. package/build/model/validation-message.d.ts +13 -13
  220. package/build/model/validation-message.interface.d.ts +6 -6
  221. package/build/model/validation-message.interface.js +2 -2
  222. package/build/model/validation-message.js +48 -48
  223. package/build/model/validation-result.d.ts +34 -34
  224. package/build/model/validation-result.interface.d.ts +14 -14
  225. package/build/model/validation-result.interface.js +2 -2
  226. package/build/model/validation-result.js +192 -192
  227. package/build/provider/ajax.service.d.ts +32 -32
  228. package/build/provider/ajax.service.js +271 -271
  229. package/build/provider/base-backend-connection.service.d.ts +45 -45
  230. package/build/provider/base-backend-connection.service.js +166 -164
  231. package/build/provider/base-backend-connection.service.js.map +1 -1
  232. package/build/service/business-object-factory.d.ts +8 -8
  233. package/build/service/business-object-factory.js +119 -119
  234. package/build/service/datasession.service.d.ts +9 -9
  235. package/build/service/datasession.service.js +26 -26
  236. package/build/service/encrypt.service.d.ts +6 -6
  237. package/build/service/encrypt.service.js +30 -30
  238. package/build/service/encrypt.service.unit.test.d.ts +1 -1
  239. package/build/service/encrypt.service.unit.test.js +14 -14
  240. package/build/service/external-jwt-token.service.d.ts +10 -10
  241. package/build/service/external-jwt-token.service.js +21 -21
  242. package/build/service/health.service.d.ts +10 -10
  243. package/build/service/health.service.js +34 -34
  244. package/build/service/internal-jwt-token.service.d.ts +11 -11
  245. package/build/service/internal-jwt-token.service.js +40 -40
  246. package/build/service/jwt-token.service.d.ts +12 -12
  247. package/build/service/jwt-token.service.js +32 -32
  248. package/build/service/local-storage.service.d.ts +27 -27
  249. package/build/service/local-storage.service.js +147 -147
  250. package/build/service/login.service.d.ts +45 -45
  251. package/build/service/login.service.js +312 -312
  252. package/build/service/public.service.d.ts +12 -12
  253. package/build/service/public.service.js +36 -36
  254. package/build/service/session-storage.service.d.ts +18 -18
  255. package/build/service/session-storage.service.js +116 -116
  256. package/build/service/user-info.service.d.ts +9 -9
  257. package/build/service/user-info.service.js +33 -33
  258. package/build/tests/int/connector.int.test.d.ts +1 -1
  259. package/build/tests/int/connector.int.test.js +12 -12
  260. package/build/type/business-object-id-type.d.ts +4 -4
  261. package/build/type/business-object-id-type.js +13 -13
  262. package/build/type/object-configuration-default-value-type.d.ts +1 -1
  263. package/build/type/object-configuration-default-value-type.js +2 -2
  264. package/build/utils/array-utils.d.ts +38 -38
  265. package/build/utils/array-utils.js +375 -375
  266. package/build/utils/business-object-utils.d.ts +20 -20
  267. package/build/utils/business-object-utils.js +198 -198
  268. package/build/utils/date-utils.d.ts +5 -5
  269. package/build/utils/date-utils.js +24 -24
  270. package/build/utils/file-utils.d.ts +6 -6
  271. package/build/utils/file-utils.js +66 -66
  272. package/build/utils/function/any-nill.function.d.ts +1 -1
  273. package/build/utils/function/any-nill.function.js +16 -16
  274. package/build/utils/function/is-nill.function.d.ts +1 -1
  275. package/build/utils/function/is-nill.function.js +7 -7
  276. package/build/utils/function/not-nill.function.d.ts +1 -1
  277. package/build/utils/function/not-nill.function.js +7 -7
  278. package/build/utils/function-utils.d.ts +4 -4
  279. package/build/utils/function-utils.js +31 -31
  280. package/build/utils/image-utils.d.ts +4 -4
  281. package/build/utils/image-utils.js +28 -28
  282. package/build/utils/map-utils.d.ts +4 -4
  283. package/build/utils/map-utils.js +31 -31
  284. package/build/utils/number-utils.d.ts +39 -39
  285. package/build/utils/number-utils.js +268 -268
  286. package/build/utils/object-utils.d.ts +21 -21
  287. package/build/utils/object-utils.js +247 -247
  288. package/build/utils/parameter-value-conversion-utils.d.ts +3 -3
  289. package/build/utils/parameter-value-conversion-utils.js +19 -19
  290. package/build/utils/promise-utils.d.ts +6 -6
  291. package/build/utils/promise-utils.js +22 -22
  292. package/build/utils/ref-code-utils.d.ts +4 -4
  293. package/build/utils/ref-code-utils.js +19 -19
  294. package/build/utils/sort-utils.d.ts +12 -12
  295. package/build/utils/sort-utils.js +120 -120
  296. package/build/utils/string-utils.d.ts +25 -25
  297. package/build/utils/string-utils.js +212 -212
  298. package/build/utils/url-utils.d.ts +4 -4
  299. package/build/utils/url-utils.js +33 -33
  300. package/build/validators/communication-type.validator.d.ts +1 -1
  301. package/build/validators/communication-type.validator.js +16 -16
  302. package/build/validators/email.validator.d.ts +2 -2
  303. package/build/validators/email.validator.js +9 -9
  304. package/build/validators/empty-address.validator.d.ts +3 -3
  305. package/build/validators/empty-address.validator.js +12 -12
  306. package/build/validators/empty-array.validator.d.ts +2 -2
  307. package/build/validators/empty-array.validator.js +14 -14
  308. package/build/validators/end-date-equal.validator.d.ts +1 -1
  309. package/build/validators/end-date-equal.validator.js +17 -17
  310. package/build/validators/end-date.validator.d.ts +1 -1
  311. package/build/validators/end-date.validator.js +17 -17
  312. package/build/validators/equal.validator.d.ts +2 -2
  313. package/build/validators/equal.validator.js +14 -14
  314. package/build/validators/max-string-length.validator.d.ts +2 -2
  315. package/build/validators/max-string-length.validator.js +13 -13
  316. package/build/validators/nl-post-code.validator.d.ts +3 -3
  317. package/build/validators/nl-post-code.validator.js +14 -14
  318. package/build/validators/password.validator.d.ts +3 -3
  319. package/build/validators/password.validator.js +33 -33
  320. package/build/validators/postal-code-function.validator.d.ts +2 -2
  321. package/build/validators/postal-code-function.validator.js +19 -19
  322. package/build/validators/postal-code.validator.d.ts +1 -1
  323. package/build/validators/postal-code.validator.js +21 -21
  324. package/build/validators/precision-scale.validator.d.ts +2 -2
  325. package/build/validators/precision-scale.validator.js +14 -14
  326. package/build/validators/required.validator.d.ts +2 -2
  327. package/build/validators/required.validator.js +8 -8
  328. package/build/validators/social-security-number.validator.d.ts +2 -2
  329. package/build/validators/social-security-number.validator.js +28 -28
  330. package/build/validators/space-trim.validator.d.ts +2 -2
  331. package/build/validators/space-trim.validator.js +12 -12
  332. package/build/validators/true.validator.d.ts +2 -2
  333. package/build/validators/true.validator.js +8 -8
  334. package/package.json +64 -64
@@ -1,58 +1,58 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DataServiceResponseData = void 0;
4
- require("reflect-metadata");
5
- const paging_parameters_1 = require("./paging-parameters");
6
- const not_nill_function_1 = require("../utils/function/not-nill.function");
7
- const validation_result_1 = require("./validation-result");
8
- class DataServiceResponseData {
9
- get success() {
10
- return (this.validationResult && this.validationResult.success);
11
- }
12
- get fail() {
13
- return !this.success;
14
- }
15
- get validationMessagesAsString() {
16
- const validationMsges = [];
17
- if (this.validationResult && this.validationResult.messages) {
18
- this.validationResult.messages.forEach((validationMessage) => {
19
- if (validationMessage) {
20
- validationMsges.push(validationMessage.message);
21
- }
22
- });
23
- }
24
- else if (this.message) {
25
- validationMsges.push(this.message);
26
- }
27
- return validationMsges.join("\n");
28
- }
29
- constructor(rawData) {
30
- this.fieldNames = [];
31
- this.pagingParameters = new paging_parameters_1.PagingParameters();
32
- this.resultObjects = [];
33
- this.validationResult = new validation_result_1.ValidationResult();
34
- this.setData(rawData);
35
- }
36
- setData(rawData) {
37
- if (!rawData) {
38
- return;
39
- }
40
- if (rawData.fieldNames) {
41
- this.fieldNames = rawData.fieldNames;
42
- }
43
- if (rawData.pagingParameters) {
44
- this.pagingParameters.setData(rawData.pagingParameters);
45
- }
46
- if ((0, not_nill_function_1.notNill)(rawData.resultObject)) {
47
- this.resultObject = rawData.resultObject;
48
- }
49
- if (rawData.resultObjects) {
50
- this.resultObjects = rawData.resultObjects;
51
- }
52
- if (rawData.validationResult) {
53
- this.validationResult.setData(rawData.validationResult);
54
- }
55
- }
56
- }
57
- exports.DataServiceResponseData = DataServiceResponseData;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DataServiceResponseData = void 0;
4
+ require("reflect-metadata");
5
+ const paging_parameters_1 = require("./paging-parameters");
6
+ const not_nill_function_1 = require("../utils/function/not-nill.function");
7
+ const validation_result_1 = require("./validation-result");
8
+ class DataServiceResponseData {
9
+ get success() {
10
+ return (this.validationResult && this.validationResult.success);
11
+ }
12
+ get fail() {
13
+ return !this.success;
14
+ }
15
+ get validationMessagesAsString() {
16
+ const validationMsges = [];
17
+ if (this.validationResult && this.validationResult.messages) {
18
+ this.validationResult.messages.forEach((validationMessage) => {
19
+ if (validationMessage) {
20
+ validationMsges.push(validationMessage.message);
21
+ }
22
+ });
23
+ }
24
+ else if (this.message) {
25
+ validationMsges.push(this.message);
26
+ }
27
+ return validationMsges.join("\n");
28
+ }
29
+ constructor(rawData) {
30
+ this.fieldNames = [];
31
+ this.pagingParameters = new paging_parameters_1.PagingParameters();
32
+ this.resultObjects = [];
33
+ this.validationResult = new validation_result_1.ValidationResult();
34
+ this.setData(rawData);
35
+ }
36
+ setData(rawData) {
37
+ if (!rawData) {
38
+ return;
39
+ }
40
+ if (rawData.fieldNames) {
41
+ this.fieldNames = rawData.fieldNames;
42
+ }
43
+ if (rawData.pagingParameters) {
44
+ this.pagingParameters.setData(rawData.pagingParameters);
45
+ }
46
+ if ((0, not_nill_function_1.notNill)(rawData.resultObject)) {
47
+ this.resultObject = rawData.resultObject;
48
+ }
49
+ if (rawData.resultObjects) {
50
+ this.resultObjects = rawData.resultObjects;
51
+ }
52
+ if (rawData.validationResult) {
53
+ this.validationResult.setData(rawData.validationResult);
54
+ }
55
+ }
56
+ }
57
+ exports.DataServiceResponseData = DataServiceResponseData;
58
58
  //# sourceMappingURL=data-service-response-data.js.map
@@ -1,29 +1,29 @@
1
- import { ValidationResult } from "./validation-result";
2
- import { ServerStackTraceElement } from "./server-stack-trace-element";
3
- export interface ServerResponseException {
4
- cause: any;
5
- stackTrace: ServerStackTraceElement[];
6
- moduleName: string;
7
- objectName: string;
8
- objectOperationName: string;
9
- operationType: string;
10
- typeName: string;
11
- methodName: string;
12
- reportName: string;
13
- parameterDbName: string;
14
- parameterPropertyName: string;
15
- fieldDbName: string;
16
- fieldPropertyName: string;
17
- targetProcedure: string;
18
- objectContent: any;
19
- errorType: string;
20
- validationResult: ValidationResult;
21
- messages: string[];
22
- errorId: string;
23
- messageArgs: any[];
24
- formattedMessages: string;
25
- combinedMessageFromCauses: string;
26
- localizedMessage: string;
27
- message: string;
28
- suppressed: any[];
29
- }
1
+ import { ValidationResult } from "./validation-result";
2
+ import { ServerStackTraceElement } from "./server-stack-trace-element";
3
+ export interface ServerResponseException {
4
+ cause: any;
5
+ stackTrace: ServerStackTraceElement[];
6
+ moduleName: string;
7
+ objectName: string;
8
+ objectOperationName: string;
9
+ operationType: string;
10
+ typeName: string;
11
+ methodName: string;
12
+ reportName: string;
13
+ parameterDbName: string;
14
+ parameterPropertyName: string;
15
+ fieldDbName: string;
16
+ fieldPropertyName: string;
17
+ targetProcedure: string;
18
+ objectContent: any;
19
+ errorType: string;
20
+ validationResult: ValidationResult;
21
+ messages: string[];
22
+ errorId: string;
23
+ messageArgs: any[];
24
+ formattedMessages: string;
25
+ combinedMessageFromCauses: string;
26
+ localizedMessage: string;
27
+ message: string;
28
+ suppressed: any[];
29
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=data-service-response-exception.js.map
@@ -1,7 +1,7 @@
1
- import { DataServiceResponseData } from "./data-service-response-data";
2
- import { ServerResponseException } from "./data-service-response-exception";
3
- export interface DataServiceResponseRoot {
4
- data?: DataServiceResponseData;
5
- exception?: ServerResponseException;
6
- message?: string;
7
- }
1
+ import { DataServiceResponseData } from "./data-service-response-data";
2
+ import { ServerResponseException } from "./data-service-response-exception";
3
+ export interface DataServiceResponseRoot {
4
+ data?: DataServiceResponseData;
5
+ exception?: ServerResponseException;
6
+ message?: string;
7
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=data-service-response-root.js.map
@@ -1,2 +1,2 @@
1
- export type DefaultAllScrCfgSubcategory = "ALL";
2
- export declare const DEFAULT_ALL_SCR_CFG_SUBCATEGORY: DefaultAllScrCfgSubcategory;
1
+ export type DefaultAllScrCfgSubcategory = "ALL";
2
+ export declare const DEFAULT_ALL_SCR_CFG_SUBCATEGORY: DefaultAllScrCfgSubcategory;
@@ -1,5 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_ALL_SCR_CFG_SUBCATEGORY = void 0;
4
- exports.DEFAULT_ALL_SCR_CFG_SUBCATEGORY = "ALL";
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DEFAULT_ALL_SCR_CFG_SUBCATEGORY = void 0;
4
+ exports.DEFAULT_ALL_SCR_CFG_SUBCATEGORY = "ALL";
5
5
  //# sourceMappingURL=default-all-scr-cfg-subcategory.js.map
@@ -1,2 +1,2 @@
1
- import { ScreenConfigSubcategory } from '../enum/screen-config-subcategory.enum';
2
- export declare const DEFAULT_GET_OBJECT_CONFIGURATION_PARAMS: ScreenConfigSubcategory[];
1
+ import { ScreenConfigSubcategory } from '../enum/screen-config-subcategory.enum';
2
+ export declare const DEFAULT_GET_OBJECT_CONFIGURATION_PARAMS: ScreenConfigSubcategory[];
@@ -1,6 +1,6 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_GET_OBJECT_CONFIGURATION_PARAMS = void 0;
4
- const default_all_scr_cfg_subcategory_1 = require("./default-all-scr-cfg-subcategory");
5
- exports.DEFAULT_GET_OBJECT_CONFIGURATION_PARAMS = [default_all_scr_cfg_subcategory_1.DEFAULT_ALL_SCR_CFG_SUBCATEGORY];
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DEFAULT_GET_OBJECT_CONFIGURATION_PARAMS = void 0;
4
+ const default_all_scr_cfg_subcategory_1 = require("./default-all-scr-cfg-subcategory");
5
+ exports.DEFAULT_GET_OBJECT_CONFIGURATION_PARAMS = [default_all_scr_cfg_subcategory_1.DEFAULT_ALL_SCR_CFG_SUBCATEGORY];
6
6
  //# sourceMappingURL=default-get-object-configurations-params.js.map
@@ -1,11 +1,11 @@
1
- import { ValidationResult } from "./validation-result";
2
- import { ValidationMessage } from "./validation-message";
3
- export declare class FieldValidation {
4
- messages: ValidationMessage[];
5
- subValidations: ValidationResult[];
6
- constructor(rawData?: any);
7
- getErrorString(): string;
8
- getAllErrorMessages(messages?: ValidationMessage[]): ValidationMessage[];
9
- getAllFieldIds(): string[];
10
- private _setData;
11
- }
1
+ import { ValidationResult } from "./validation-result";
2
+ import { ValidationMessage } from "./validation-message";
3
+ export declare class FieldValidation {
4
+ messages: ValidationMessage[];
5
+ subValidations: ValidationResult[];
6
+ constructor(rawData?: any);
7
+ getErrorString(): string;
8
+ getAllErrorMessages(messages?: ValidationMessage[]): ValidationMessage[];
9
+ getAllFieldIds(): string[];
10
+ private _setData;
11
+ }
@@ -1,6 +1,6 @@
1
- import { IValidationMessage } from "./validation-message.interface";
2
- import { IValidationResult } from "./validation-result.interface";
3
- export interface IFieldValidation {
4
- messages: IValidationMessage[];
5
- subValidations: IValidationResult[];
6
- }
1
+ import { IValidationMessage } from "./validation-message.interface";
2
+ import { IValidationResult } from "./validation-result.interface";
3
+ export interface IFieldValidation {
4
+ messages: IValidationMessage[];
5
+ subValidations: IValidationResult[];
6
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=field-validation.interface.js.map
@@ -1,77 +1,77 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FieldValidation = void 0;
4
- const validation_result_1 = require("./validation-result");
5
- const validation_message_1 = require("./validation-message");
6
- class FieldValidation {
7
- constructor(rawData) {
8
- this.messages = [];
9
- this.subValidations = [];
10
- this._setData(rawData);
11
- }
12
- getErrorString() {
13
- let errors = "";
14
- if (this.messages) {
15
- for (let i = 0, len = this.messages.length; i < len; i++) {
16
- const message = this.messages[i];
17
- if (message) {
18
- if (!!message.code) {
19
- errors += message.code + ": ";
20
- }
21
- errors += message.message + "\n";
22
- }
23
- }
24
- }
25
- if (this.subValidations) {
26
- for (let i = 0, len = this.subValidations.length; i < len; i++) {
27
- const subValidation = this.subValidations[i];
28
- errors += subValidation.getFullErrorString();
29
- }
30
- }
31
- return errors;
32
- }
33
- getAllErrorMessages(messages = null) {
34
- if (messages === null) {
35
- messages = [];
36
- }
37
- messages = messages.concat(this.messages);
38
- if (this.subValidations) {
39
- const len = this.subValidations.length;
40
- for (let i = 0; i < len; i++) {
41
- const subValidation = this.subValidations[i];
42
- messages = subValidation.getAllErrorMessages(messages);
43
- }
44
- }
45
- return messages;
46
- }
47
- getAllFieldIds() {
48
- const allFieldIds = [];
49
- if (this.messages) {
50
- this.messages.forEach((message) => {
51
- allFieldIds.push(message.fieldId);
52
- });
53
- }
54
- if (this.subValidations) {
55
- this.subValidations.forEach((subValidation) => {
56
- allFieldIds.push(...subValidation.getAllFieldIds());
57
- });
58
- }
59
- return allFieldIds;
60
- }
61
- _setData(rawData) {
62
- if (rawData) {
63
- if (rawData.messages) {
64
- for (let i = 0, len = rawData.messages.length; i < len; i++) {
65
- this.messages.push(new validation_message_1.ValidationMessage(rawData.messages[i]));
66
- }
67
- }
68
- if (rawData.subValidations) {
69
- for (let i = 0, len = rawData.subValidations.length; i < len; i++) {
70
- this.subValidations.push(new validation_result_1.ValidationResult(rawData.subValidations[i]));
71
- }
72
- }
73
- }
74
- }
75
- }
76
- exports.FieldValidation = FieldValidation;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FieldValidation = void 0;
4
+ const validation_result_1 = require("./validation-result");
5
+ const validation_message_1 = require("./validation-message");
6
+ class FieldValidation {
7
+ constructor(rawData) {
8
+ this.messages = [];
9
+ this.subValidations = [];
10
+ this._setData(rawData);
11
+ }
12
+ getErrorString() {
13
+ let errors = "";
14
+ if (this.messages) {
15
+ for (let i = 0, len = this.messages.length; i < len; i++) {
16
+ const message = this.messages[i];
17
+ if (message) {
18
+ if (!!message.code) {
19
+ errors += message.code + ": ";
20
+ }
21
+ errors += message.message + "\n";
22
+ }
23
+ }
24
+ }
25
+ if (this.subValidations) {
26
+ for (let i = 0, len = this.subValidations.length; i < len; i++) {
27
+ const subValidation = this.subValidations[i];
28
+ errors += subValidation.getFullErrorString();
29
+ }
30
+ }
31
+ return errors;
32
+ }
33
+ getAllErrorMessages(messages = null) {
34
+ if (messages === null) {
35
+ messages = [];
36
+ }
37
+ messages = messages.concat(this.messages);
38
+ if (this.subValidations) {
39
+ const len = this.subValidations.length;
40
+ for (let i = 0; i < len; i++) {
41
+ const subValidation = this.subValidations[i];
42
+ messages = subValidation.getAllErrorMessages(messages);
43
+ }
44
+ }
45
+ return messages;
46
+ }
47
+ getAllFieldIds() {
48
+ const allFieldIds = [];
49
+ if (this.messages) {
50
+ this.messages.forEach((message) => {
51
+ allFieldIds.push(message.fieldId);
52
+ });
53
+ }
54
+ if (this.subValidations) {
55
+ this.subValidations.forEach((subValidation) => {
56
+ allFieldIds.push(...subValidation.getAllFieldIds());
57
+ });
58
+ }
59
+ return allFieldIds;
60
+ }
61
+ _setData(rawData) {
62
+ if (rawData) {
63
+ if (rawData.messages) {
64
+ for (let i = 0, len = rawData.messages.length; i < len; i++) {
65
+ this.messages.push(new validation_message_1.ValidationMessage(rawData.messages[i]));
66
+ }
67
+ }
68
+ if (rawData.subValidations) {
69
+ for (let i = 0, len = rawData.subValidations.length; i < len; i++) {
70
+ this.subValidations.push(new validation_result_1.ValidationResult(rawData.subValidations[i]));
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ exports.FieldValidation = FieldValidation;
77
77
  //# sourceMappingURL=field-validation.js.map
@@ -1,4 +1,4 @@
1
- import { FieldValidation } from "./field-validation";
2
- export interface FieldValidationsObject {
3
- [propName: string]: FieldValidation;
4
- }
1
+ import { FieldValidation } from "./field-validation";
2
+ export interface FieldValidationsObject {
3
+ [propName: string]: FieldValidation;
4
+ }
@@ -1,4 +1,4 @@
1
- import { IFieldValidation } from "./field-validation.interface";
2
- export interface IFieldValidationsObject {
3
- [propName: string]: IFieldValidation;
4
- }
1
+ import { IFieldValidation } from "./field-validation.interface";
2
+ export interface IFieldValidationsObject {
3
+ [propName: string]: IFieldValidation;
4
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=field-validations-object.interface.js.map
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=field-validations-object.js.map
@@ -1,5 +1,5 @@
1
- import { LoginStorageData } from '../interface/login-storage-data.interface';
2
- export declare class IoneLocalStorageRootObject {
3
- savedLoginData: Partial<LoginStorageData>;
4
- keycloakState: string;
5
- }
1
+ import { LoginStorageData } from '../interface/login-storage-data.interface';
2
+ export declare class IoneLocalStorageRootObject {
3
+ savedLoginData: Partial<LoginStorageData>;
4
+ keycloakState: string;
5
+ }
@@ -1,10 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IoneLocalStorageRootObject = void 0;
4
- class IoneLocalStorageRootObject {
5
- constructor() {
6
- this.savedLoginData = {};
7
- }
8
- }
9
- exports.IoneLocalStorageRootObject = IoneLocalStorageRootObject;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IoneLocalStorageRootObject = void 0;
4
+ class IoneLocalStorageRootObject {
5
+ constructor() {
6
+ this.savedLoginData = {};
7
+ }
8
+ }
9
+ exports.IoneLocalStorageRootObject = IoneLocalStorageRootObject;
10
10
  //# sourceMappingURL=ione-local-storage-root-object.js.map
@@ -1,5 +1,5 @@
1
- import { BusinessObject } from './business-object';
2
- export declare class KeycloakParameters extends BusinessObject {
3
- isIdentityServerEnabled: boolean;
4
- keycloakUrl: string;
5
- }
1
+ import { BusinessObject } from './business-object';
2
+ export declare class KeycloakParameters extends BusinessObject {
3
+ isIdentityServerEnabled: boolean;
4
+ keycloakUrl: string;
5
+ }
@@ -1,8 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.KeycloakParameters = void 0;
4
- const business_object_1 = require("./business-object");
5
- class KeycloakParameters extends business_object_1.BusinessObject {
6
- }
7
- exports.KeycloakParameters = KeycloakParameters;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KeycloakParameters = void 0;
4
+ const business_object_1 = require("./business-object");
5
+ class KeycloakParameters extends business_object_1.BusinessObject {
6
+ }
7
+ exports.KeycloakParameters = KeycloakParameters;
8
8
  //# sourceMappingURL=keycloak-parameters.bo.js.map
@@ -1,4 +1,4 @@
1
- import { LocalStorageSchemaObject } from './local-storage-schema-object';
2
- export declare class LocalStorageRootObject {
3
- schemas: LocalStorageSchemaObject[];
4
- }
1
+ import { LocalStorageSchemaObject } from './local-storage-schema-object';
2
+ export declare class LocalStorageRootObject {
3
+ schemas: LocalStorageSchemaObject[];
4
+ }
@@ -1,10 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LocalStorageRootObject = void 0;
4
- class LocalStorageRootObject {
5
- constructor() {
6
- this.schemas = [];
7
- }
8
- }
9
- exports.LocalStorageRootObject = LocalStorageRootObject;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LocalStorageRootObject = void 0;
4
+ class LocalStorageRootObject {
5
+ constructor() {
6
+ this.schemas = [];
7
+ }
8
+ }
9
+ exports.LocalStorageRootObject = LocalStorageRootObject;
10
10
  //# sourceMappingURL=local-storage-root-object.js.map
@@ -1,7 +1,7 @@
1
- import { LocalStorageUserObject } from './local-storage-user-object';
2
- export declare class LocalStorageSchemaObject {
3
- schema: string;
4
- users: LocalStorageUserObject[];
5
- token: string;
6
- keycloakState: string;
7
- }
1
+ import { LocalStorageUserObject } from './local-storage-user-object';
2
+ export declare class LocalStorageSchemaObject {
3
+ schema: string;
4
+ users: LocalStorageUserObject[];
5
+ token: string;
6
+ keycloakState: string;
7
+ }
@@ -1,10 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LocalStorageSchemaObject = void 0;
4
- class LocalStorageSchemaObject {
5
- constructor() {
6
- this.users = [];
7
- }
8
- }
9
- exports.LocalStorageSchemaObject = LocalStorageSchemaObject;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LocalStorageSchemaObject = void 0;
4
+ class LocalStorageSchemaObject {
5
+ constructor() {
6
+ this.users = [];
7
+ }
8
+ }
9
+ exports.LocalStorageSchemaObject = LocalStorageSchemaObject;
10
10
  //# sourceMappingURL=local-storage-schema-object.js.map
@@ -1,7 +1,7 @@
1
- import { LoginResponse } from './login-response';
2
- export declare class LocalStorageUserObject {
3
- username: string;
4
- loginResponse: LoginResponse;
5
- sessionId: string;
6
- dataSessionId: string;
7
- }
1
+ import { LoginResponse } from './login-response';
2
+ export declare class LocalStorageUserObject {
3
+ username: string;
4
+ loginResponse: LoginResponse;
5
+ sessionId: string;
6
+ dataSessionId: string;
7
+ }
@@ -1,7 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LocalStorageUserObject = void 0;
4
- class LocalStorageUserObject {
5
- }
6
- exports.LocalStorageUserObject = LocalStorageUserObject;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LocalStorageUserObject = void 0;
4
+ class LocalStorageUserObject {
5
+ }
6
+ exports.LocalStorageUserObject = LocalStorageUserObject;
7
7
  //# sourceMappingURL=local-storage-user-object.js.map