@frankieone/one-sdk 0.3.2-rc.0 → 0.3.2-rc.2

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 (507) hide show
  1. package/dist/cjs/modules/biometrics/constants.d.ts +2 -0
  2. package/dist/cjs/modules/biometrics/constants.js +5 -0
  3. package/dist/cjs/modules/biometrics/constants.js.map +1 -0
  4. package/dist/cjs/modules/biometrics/index.d.ts +4 -0
  5. package/dist/cjs/modules/biometrics/index.js +100 -0
  6. package/dist/cjs/modules/biometrics/index.js.map +1 -0
  7. package/dist/cjs/modules/biometrics/parseConfiguration.d.ts +4 -0
  8. package/dist/cjs/modules/biometrics/parseConfiguration.js +13 -0
  9. package/dist/cjs/modules/biometrics/parseConfiguration.js.map +1 -0
  10. package/dist/cjs/modules/biometrics/types/events.d.ts +30 -0
  11. package/dist/cjs/modules/biometrics/types/events.js +3 -0
  12. package/dist/cjs/modules/biometrics/types/events.js.map +1 -0
  13. package/dist/cjs/modules/biometrics/types/index.d.ts +3 -0
  14. package/dist/cjs/modules/biometrics/types/index.js +20 -0
  15. package/dist/cjs/modules/biometrics/types/index.js.map +1 -0
  16. package/dist/cjs/modules/biometrics/types/module.d.ts +8 -0
  17. package/dist/cjs/modules/biometrics/types/module.js +3 -0
  18. package/dist/cjs/modules/biometrics/types/module.js.map +1 -0
  19. package/dist/cjs/modules/biometrics/types/wrapper.d.ts +19 -0
  20. package/dist/cjs/modules/biometrics/types/wrapper.js +3 -0
  21. package/dist/cjs/modules/biometrics/types/wrapper.js.map +1 -0
  22. package/dist/cjs/modules/biometrics/wrappers/OcrLabs/index.d.ts +2 -0
  23. package/dist/cjs/modules/biometrics/wrappers/OcrLabs/index.js +262 -0
  24. package/dist/cjs/modules/biometrics/wrappers/OcrLabs/index.js.map +1 -0
  25. package/dist/cjs/modules/biometrics/wrappers/dummy-biometrics/green-tick-svg.d.ts +1 -0
  26. package/dist/cjs/modules/biometrics/wrappers/dummy-biometrics/green-tick-svg.js +7 -0
  27. package/dist/cjs/modules/biometrics/wrappers/dummy-biometrics/green-tick-svg.js.map +1 -0
  28. package/dist/cjs/modules/biometrics/wrappers/dummy-biometrics/index.d.ts +2 -0
  29. package/dist/cjs/modules/biometrics/wrappers/dummy-biometrics/index.js +102 -0
  30. package/dist/cjs/modules/biometrics/wrappers/dummy-biometrics/index.js.map +1 -0
  31. package/dist/cjs/modules/common/constants.d.ts +7 -0
  32. package/dist/cjs/modules/common/constants.js +12 -0
  33. package/dist/cjs/modules/common/constants.js.map +1 -0
  34. package/dist/cjs/modules/common/index.d.ts +10 -0
  35. package/dist/cjs/modules/common/index.js +27 -0
  36. package/dist/cjs/modules/common/index.js.map +1 -0
  37. package/dist/cjs/modules/common/modules/ReactiveStore.d.ts +74 -0
  38. package/dist/cjs/modules/common/modules/ReactiveStore.js +157 -0
  39. package/dist/cjs/modules/common/modules/ReactiveStore.js.map +1 -0
  40. package/dist/cjs/modules/common/modules/UnpersistedModel.d.ts +17 -0
  41. package/dist/cjs/modules/common/modules/UnpersistedModel.js +39 -0
  42. package/dist/cjs/modules/common/modules/UnpersistedModel.js.map +1 -0
  43. package/dist/cjs/modules/common/modules/base64.d.ts +11 -0
  44. package/dist/cjs/modules/common/modules/base64.js +52 -0
  45. package/dist/cjs/modules/common/modules/base64.js.map +1 -0
  46. package/dist/cjs/modules/common/modules/env2url.d.ts +10 -0
  47. package/dist/cjs/modules/common/modules/env2url.js +37 -0
  48. package/dist/cjs/modules/common/modules/env2url.js.map +1 -0
  49. package/dist/cjs/modules/common/modules/error.d.ts +3 -0
  50. package/dist/cjs/modules/common/modules/error.js +12 -0
  51. package/dist/cjs/modules/common/modules/error.js.map +1 -0
  52. package/dist/cjs/modules/common/modules/eventHub.d.ts +34 -0
  53. package/dist/cjs/modules/common/modules/eventHub.js +30 -0
  54. package/dist/cjs/modules/common/modules/eventHub.js.map +1 -0
  55. package/dist/cjs/modules/common/modules/loadAsyncAsset.d.ts +1 -0
  56. package/dist/cjs/modules/common/modules/loadAsyncAsset.js +16 -0
  57. package/dist/cjs/modules/common/modules/loadAsyncAsset.js.map +1 -0
  58. package/dist/cjs/modules/common/modules/merge.d.ts +1 -0
  59. package/dist/cjs/modules/common/modules/merge.js +9 -0
  60. package/dist/cjs/modules/common/modules/merge.js.map +1 -0
  61. package/dist/cjs/modules/common/modules/objectUtils.d.ts +15 -0
  62. package/dist/cjs/modules/common/modules/objectUtils.js +73 -0
  63. package/dist/cjs/modules/common/modules/objectUtils.js.map +1 -0
  64. package/dist/cjs/modules/common/modules/rxjsOperators.d.ts +1 -0
  65. package/dist/cjs/modules/common/modules/rxjsOperators.js +9 -0
  66. package/dist/cjs/modules/common/modules/rxjsOperators.js.map +1 -0
  67. package/dist/cjs/modules/common/shared/KvpList.d.ts +29 -0
  68. package/dist/cjs/modules/common/shared/KvpList.js +138 -0
  69. package/dist/cjs/modules/common/shared/KvpList.js.map +1 -0
  70. package/dist/cjs/modules/common/shared/data/aus_states.json +10 -0
  71. package/dist/cjs/modules/common/shared/data/country.json +14964 -0
  72. package/dist/cjs/modules/common/shared/models/Address.d.ts +67 -0
  73. package/dist/cjs/modules/common/shared/models/Address.js +160 -0
  74. package/dist/cjs/modules/common/shared/models/Address.js.map +1 -0
  75. package/dist/cjs/modules/common/shared/models/Admin.d.ts +1295 -0
  76. package/dist/cjs/modules/common/shared/models/Admin.js +7 -0
  77. package/dist/cjs/modules/common/shared/models/Admin.js.map +1 -0
  78. package/dist/cjs/modules/common/shared/models/AmlCheckResult.d.ts +77 -0
  79. package/dist/cjs/modules/common/shared/models/AmlCheckResult.js +50 -0
  80. package/dist/cjs/modules/common/shared/models/AmlCheckResult.js.map +1 -0
  81. package/dist/cjs/modules/common/shared/models/AmlMatchDetails.d.ts +37 -0
  82. package/dist/cjs/modules/common/shared/models/AmlMatchDetails.js +23 -0
  83. package/dist/cjs/modules/common/shared/models/AmlMatchDetails.js.map +1 -0
  84. package/dist/cjs/modules/common/shared/models/Applicant.d.ts +119 -0
  85. package/dist/cjs/modules/common/shared/models/Applicant.js +171 -0
  86. package/dist/cjs/modules/common/shared/models/Applicant.js.map +1 -0
  87. package/dist/cjs/modules/common/shared/models/ApplicantSummary.d.ts +90 -0
  88. package/dist/cjs/modules/common/shared/models/ApplicantSummary.js +58 -0
  89. package/dist/cjs/modules/common/shared/models/ApplicantSummary.js.map +1 -0
  90. package/dist/cjs/modules/common/shared/models/AssociatedParty.d.ts +42 -0
  91. package/dist/cjs/modules/common/shared/models/AssociatedParty.js +43 -0
  92. package/dist/cjs/modules/common/shared/models/AssociatedParty.js.map +1 -0
  93. package/dist/cjs/modules/common/shared/models/AuditEntry.d.ts +81 -0
  94. package/dist/cjs/modules/common/shared/models/AuditEntry.js +114 -0
  95. package/dist/cjs/modules/common/shared/models/AuditEntry.js.map +1 -0
  96. package/dist/cjs/modules/common/shared/models/AuditLogV2.d.ts +57 -0
  97. package/dist/cjs/modules/common/shared/models/AuditLogV2.js +82 -0
  98. package/dist/cjs/modules/common/shared/models/AuditLogV2.js.map +1 -0
  99. package/dist/cjs/modules/common/shared/models/BiometryReport.d.ts +35 -0
  100. package/dist/cjs/modules/common/shared/models/BiometryReport.js +26 -0
  101. package/dist/cjs/modules/common/shared/models/BiometryReport.js.map +1 -0
  102. package/dist/cjs/modules/common/shared/models/BlockListSummary.d.ts +46 -0
  103. package/dist/cjs/modules/common/shared/models/BlockListSummary.js +61 -0
  104. package/dist/cjs/modules/common/shared/models/BlockListSummary.js.map +1 -0
  105. package/dist/cjs/modules/common/shared/models/Blueprint.d.ts +26 -0
  106. package/dist/cjs/modules/common/shared/models/Blueprint.js +3 -0
  107. package/dist/cjs/modules/common/shared/models/Blueprint.js.map +1 -0
  108. package/dist/cjs/modules/common/shared/models/BusinessInfo.d.ts +32 -0
  109. package/dist/cjs/modules/common/shared/models/BusinessInfo.js +70 -0
  110. package/dist/cjs/modules/common/shared/models/BusinessInfo.js.map +1 -0
  111. package/dist/cjs/modules/common/shared/models/CheckSummary.d.ts +190 -0
  112. package/dist/cjs/modules/common/shared/models/CheckSummary.js +241 -0
  113. package/dist/cjs/modules/common/shared/models/CheckSummary.js.map +1 -0
  114. package/dist/cjs/modules/common/shared/models/Comment.d.ts +19 -0
  115. package/dist/cjs/modules/common/shared/models/Comment.js +23 -0
  116. package/dist/cjs/modules/common/shared/models/Comment.js.map +1 -0
  117. package/dist/cjs/modules/common/shared/models/Core.d.ts +2898 -0
  118. package/dist/cjs/modules/common/shared/models/Core.js +7 -0
  119. package/dist/cjs/modules/common/shared/models/Core.js.map +1 -0
  120. package/dist/cjs/modules/common/shared/models/Document.d.ts +123 -0
  121. package/dist/cjs/modules/common/shared/models/Document.js +147 -0
  122. package/dist/cjs/modules/common/shared/models/Document.js.map +1 -0
  123. package/dist/cjs/modules/common/shared/models/Duplicate.d.ts +38 -0
  124. package/dist/cjs/modules/common/shared/models/Duplicate.js +30 -0
  125. package/dist/cjs/modules/common/shared/models/Duplicate.js.map +1 -0
  126. package/dist/cjs/modules/common/shared/models/DynamicUIComponent.d.ts +52 -0
  127. package/dist/cjs/modules/common/shared/models/DynamicUIComponent.js +122 -0
  128. package/dist/cjs/modules/common/shared/models/DynamicUIComponent.js.map +1 -0
  129. package/dist/cjs/modules/common/shared/models/Event.d.ts +16 -0
  130. package/dist/cjs/modules/common/shared/models/Event.js +22 -0
  131. package/dist/cjs/modules/common/shared/models/Event.js.map +1 -0
  132. package/dist/cjs/modules/common/shared/models/EventFactory.d.ts +16 -0
  133. package/dist/cjs/modules/common/shared/models/EventFactory.js +15 -0
  134. package/dist/cjs/modules/common/shared/models/EventFactory.js.map +1 -0
  135. package/dist/cjs/modules/common/shared/models/File.d.ts +24 -0
  136. package/dist/cjs/modules/common/shared/models/File.js +29 -0
  137. package/dist/cjs/modules/common/shared/models/File.js.map +1 -0
  138. package/dist/cjs/modules/common/shared/models/FraudCheckResult.d.ts +10 -0
  139. package/dist/cjs/modules/common/shared/models/FraudCheckResult.js +19 -0
  140. package/dist/cjs/modules/common/shared/models/FraudCheckResult.js.map +1 -0
  141. package/dist/cjs/modules/common/shared/models/FraudMatchDetail.d.ts +48 -0
  142. package/dist/cjs/modules/common/shared/models/FraudMatchDetail.js +45 -0
  143. package/dist/cjs/modules/common/shared/models/FraudMatchDetail.js.map +1 -0
  144. package/dist/cjs/modules/common/shared/models/IChangeStamp.d.ts +11 -0
  145. package/dist/cjs/modules/common/shared/models/IChangeStamp.js +10 -0
  146. package/dist/cjs/modules/common/shared/models/IChangeStamp.js.map +1 -0
  147. package/dist/cjs/modules/common/shared/models/KYCHostedFlow.d.ts +17 -0
  148. package/dist/cjs/modules/common/shared/models/KYCHostedFlow.js +24 -0
  149. package/dist/cjs/modules/common/shared/models/KYCHostedFlow.js.map +1 -0
  150. package/dist/cjs/modules/common/shared/models/KvpList.d.ts +29 -0
  151. package/dist/cjs/modules/common/shared/models/KvpList.js +138 -0
  152. package/dist/cjs/modules/common/shared/models/KvpList.js.map +1 -0
  153. package/dist/cjs/modules/common/shared/models/OCRDocumentDetail.d.ts +49 -0
  154. package/dist/cjs/modules/common/shared/models/OCRDocumentDetail.js +37 -0
  155. package/dist/cjs/modules/common/shared/models/OCRDocumentDetail.js.map +1 -0
  156. package/dist/cjs/modules/common/shared/models/OCRReport.d.ts +20 -0
  157. package/dist/cjs/modules/common/shared/models/OCRReport.js +21 -0
  158. package/dist/cjs/modules/common/shared/models/OCRReport.js.map +1 -0
  159. package/dist/cjs/modules/common/shared/models/Organisation.d.ts +36 -0
  160. package/dist/cjs/modules/common/shared/models/Organisation.js +55 -0
  161. package/dist/cjs/modules/common/shared/models/Organisation.js.map +1 -0
  162. package/dist/cjs/modules/common/shared/models/OrganizationAnalytics.d.ts +14 -0
  163. package/dist/cjs/modules/common/shared/models/OrganizationAnalytics.js +153 -0
  164. package/dist/cjs/modules/common/shared/models/OrganizationAnalytics.js.map +1 -0
  165. package/dist/cjs/modules/common/shared/models/PortalFeatureConfig.d.ts +79 -0
  166. package/dist/cjs/modules/common/shared/models/PortalFeatureConfig.js +87 -0
  167. package/dist/cjs/modules/common/shared/models/PortalFeatureConfig.js.map +1 -0
  168. package/dist/cjs/modules/common/shared/models/Profile.d.ts +27 -0
  169. package/dist/cjs/modules/common/shared/models/Profile.js +103 -0
  170. package/dist/cjs/modules/common/shared/models/Profile.js.map +1 -0
  171. package/dist/cjs/modules/common/shared/models/ReportAttributes.d.ts +21 -0
  172. package/dist/cjs/modules/common/shared/models/ReportAttributes.js +22 -0
  173. package/dist/cjs/modules/common/shared/models/ReportAttributes.js.map +1 -0
  174. package/dist/cjs/modules/common/shared/models/RiskIndicator.d.ts +48 -0
  175. package/dist/cjs/modules/common/shared/models/RiskIndicator.js +35 -0
  176. package/dist/cjs/modules/common/shared/models/RiskIndicator.js.map +1 -0
  177. package/dist/cjs/modules/common/shared/models/Session.d.ts +5 -0
  178. package/dist/cjs/modules/common/shared/models/Session.js +3 -0
  179. package/dist/cjs/modules/common/shared/models/Session.js.map +1 -0
  180. package/dist/cjs/modules/common/shared/models/SupportingDocument.d.ts +96 -0
  181. package/dist/cjs/modules/common/shared/models/SupportingDocument.js +95 -0
  182. package/dist/cjs/modules/common/shared/models/SupportingDocument.js.map +1 -0
  183. package/dist/cjs/modules/common/shared/models/TApplicantIssue.d.ts +12 -0
  184. package/dist/cjs/modules/common/shared/models/TApplicantIssue.js +3 -0
  185. package/dist/cjs/modules/common/shared/models/TApplicantIssue.js.map +1 -0
  186. package/dist/cjs/modules/common/shared/models/TApplicantStatus.d.ts +7 -0
  187. package/dist/cjs/modules/common/shared/models/TApplicantStatus.js +3 -0
  188. package/dist/cjs/modules/common/shared/models/TApplicantStatus.js.map +1 -0
  189. package/dist/cjs/modules/common/shared/models/TKycMethod.d.ts +1 -0
  190. package/dist/cjs/modules/common/shared/models/TKycMethod.js +3 -0
  191. package/dist/cjs/modules/common/shared/models/TKycMethod.js.map +1 -0
  192. package/dist/cjs/modules/common/shared/models/TValidation.d.ts +6 -0
  193. package/dist/cjs/modules/common/shared/models/TValidation.js +3 -0
  194. package/dist/cjs/modules/common/shared/models/TValidation.js.map +1 -0
  195. package/dist/cjs/modules/common/shared/models/TransactionDetails.d.ts +70 -0
  196. package/dist/cjs/modules/common/shared/models/TransactionDetails.js +59 -0
  197. package/dist/cjs/modules/common/shared/models/TransactionDetails.js.map +1 -0
  198. package/dist/cjs/modules/common/shared/models/UBOData.d.ts +483 -0
  199. package/dist/cjs/modules/common/shared/models/UBOData.js +644 -0
  200. package/dist/cjs/modules/common/shared/models/UBOData.js.map +1 -0
  201. package/dist/cjs/modules/common/shared/models/UIBlueprint.d.ts +33 -0
  202. package/dist/cjs/modules/common/shared/models/UIBlueprint.js +168 -0
  203. package/dist/cjs/modules/common/shared/models/UIBlueprint.js.map +1 -0
  204. package/dist/cjs/modules/common/shared/models/User.d.ts +27 -0
  205. package/dist/cjs/modules/common/shared/models/User.js +3 -0
  206. package/dist/cjs/modules/common/shared/models/User.js.map +1 -0
  207. package/dist/cjs/modules/common/shared/models/api.d.ts +124 -0
  208. package/dist/cjs/modules/common/shared/models/api.js +3 -0
  209. package/dist/cjs/modules/common/shared/models/api.js.map +1 -0
  210. package/dist/cjs/modules/common/shared/models/general.d.ts +31 -0
  211. package/dist/cjs/modules/common/shared/models/general.js +3 -0
  212. package/dist/cjs/modules/common/shared/models/general.js.map +1 -0
  213. package/dist/cjs/modules/common/shared/transformers/apiAlert.d.ts +4 -0
  214. package/dist/cjs/modules/common/shared/transformers/apiAlert.js +109 -0
  215. package/dist/cjs/modules/common/shared/transformers/apiAlert.js.map +1 -0
  216. package/dist/cjs/modules/common/shared/transformers/apiGetRiskLevel.d.ts +2 -0
  217. package/dist/cjs/modules/common/shared/transformers/apiGetRiskLevel.js +44 -0
  218. package/dist/cjs/modules/common/shared/transformers/apiGetRiskLevel.js.map +1 -0
  219. package/dist/cjs/modules/common/shared/transformers/apiState.d.ts +23 -0
  220. package/dist/cjs/modules/common/shared/transformers/apiState.js +105 -0
  221. package/dist/cjs/modules/common/shared/transformers/apiState.js.map +1 -0
  222. package/dist/cjs/modules/common/shared/transformers/index.d.ts +3 -0
  223. package/dist/cjs/modules/common/shared/transformers/index.js +20 -0
  224. package/dist/cjs/modules/common/shared/transformers/index.js.map +1 -0
  225. package/dist/cjs/modules/common/shared/utils/address.d.ts +2 -0
  226. package/dist/cjs/modules/common/shared/utils/address.js +25 -0
  227. package/dist/cjs/modules/common/shared/utils/address.js.map +1 -0
  228. package/dist/cjs/modules/common/shared/utils/base64.d.ts +11 -0
  229. package/dist/cjs/modules/common/shared/utils/base64.js +49 -0
  230. package/dist/cjs/modules/common/shared/utils/base64.js.map +1 -0
  231. package/dist/cjs/modules/common/shared/utils/buildCycleUtils.d.ts +1 -0
  232. package/dist/cjs/modules/common/shared/utils/buildCycleUtils.js +32 -0
  233. package/dist/cjs/modules/common/shared/utils/buildCycleUtils.js.map +1 -0
  234. package/dist/cjs/modules/common/shared/utils/constants.d.ts +75 -0
  235. package/dist/cjs/modules/common/shared/utils/constants.js +223 -0
  236. package/dist/cjs/modules/common/shared/utils/constants.js.map +1 -0
  237. package/dist/cjs/modules/common/shared/utils/date.d.ts +5 -0
  238. package/dist/cjs/modules/common/shared/utils/date.js +73 -0
  239. package/dist/cjs/modules/common/shared/utils/date.js.map +1 -0
  240. package/dist/cjs/modules/common/shared/utils/dotNotation.d.ts +4 -0
  241. package/dist/cjs/modules/common/shared/utils/dotNotation.js +16 -0
  242. package/dist/cjs/modules/common/shared/utils/dotNotation.js.map +1 -0
  243. package/dist/cjs/modules/common/shared/utils/getCountryDetails.d.ts +9 -0
  244. package/dist/cjs/modules/common/shared/utils/getCountryDetails.js +23 -0
  245. package/dist/cjs/modules/common/shared/utils/getCountryDetails.js.map +1 -0
  246. package/dist/cjs/modules/common/shared/utils/getDocumentDetails.d.ts +8 -0
  247. package/dist/cjs/modules/common/shared/utils/getDocumentDetails.js +10 -0
  248. package/dist/cjs/modules/common/shared/utils/getDocumentDetails.js.map +1 -0
  249. package/dist/cjs/modules/common/shared/utils/helper.d.ts +4 -0
  250. package/dist/cjs/modules/common/shared/utils/helper.js +38 -0
  251. package/dist/cjs/modules/common/shared/utils/helper.js.map +1 -0
  252. package/dist/cjs/modules/common/shared/utils/index.d.ts +11 -0
  253. package/dist/cjs/modules/common/shared/utils/index.js +41 -0
  254. package/dist/cjs/modules/common/shared/utils/index.js.map +1 -0
  255. package/dist/cjs/modules/common/shared/utils/isEmpty.d.ts +5 -0
  256. package/dist/cjs/modules/common/shared/utils/isEmpty.js +27 -0
  257. package/dist/cjs/modules/common/shared/utils/isEmpty.js.map +1 -0
  258. package/dist/cjs/modules/common/shared/utils/sanitiser.d.ts +7 -0
  259. package/dist/cjs/modules/common/shared/utils/sanitiser.js +31 -0
  260. package/dist/cjs/modules/common/shared/utils/sanitiser.js.map +1 -0
  261. package/dist/cjs/modules/common/shared/utils/string.d.ts +1 -0
  262. package/dist/cjs/modules/common/shared/utils/string.js +9 -0
  263. package/dist/cjs/modules/common/shared/utils/string.js.map +1 -0
  264. package/dist/cjs/modules/common/types/Accessors.d.ts +51 -0
  265. package/dist/cjs/modules/common/types/Accessors.js +3 -0
  266. package/dist/cjs/modules/common/types/Accessors.js.map +1 -0
  267. package/dist/cjs/modules/common/types/Configuration.d.ts +25 -0
  268. package/dist/cjs/modules/common/types/Configuration.js +3 -0
  269. package/dist/cjs/modules/common/types/Configuration.js.map +1 -0
  270. package/dist/cjs/modules/common/types/Object.d.ts +3 -0
  271. package/dist/cjs/modules/common/types/Object.js +3 -0
  272. package/dist/cjs/modules/common/types/Object.js.map +1 -0
  273. package/dist/cjs/modules/common/types/Session.d.ts +16 -0
  274. package/dist/cjs/modules/common/types/Session.js +6 -0
  275. package/dist/cjs/modules/common/types/Session.js.map +1 -0
  276. package/dist/cjs/modules/device/constants.d.ts +4 -0
  277. package/dist/cjs/modules/device/constants.js +7 -0
  278. package/dist/cjs/modules/device/constants.js.map +1 -0
  279. package/dist/cjs/modules/device/index.d.ts +4 -0
  280. package/dist/cjs/modules/device/index.js +125 -0
  281. package/dist/cjs/modules/device/index.js.map +1 -0
  282. package/dist/cjs/modules/device/parseConfiguration.d.ts +5 -0
  283. package/dist/cjs/modules/device/parseConfiguration.js +29 -0
  284. package/dist/cjs/modules/device/parseConfiguration.js.map +1 -0
  285. package/dist/cjs/modules/device/types/events.d.ts +31 -0
  286. package/dist/cjs/modules/device/types/events.js +3 -0
  287. package/dist/cjs/modules/device/types/events.js.map +1 -0
  288. package/dist/cjs/modules/device/types/index.d.ts +3 -0
  289. package/dist/cjs/modules/device/types/index.js +20 -0
  290. package/dist/cjs/modules/device/types/index.js.map +1 -0
  291. package/dist/cjs/modules/device/types/module.d.ts +12 -0
  292. package/dist/cjs/modules/device/types/module.js +3 -0
  293. package/dist/cjs/modules/device/types/module.js.map +1 -0
  294. package/dist/cjs/modules/device/types/wrapper.d.ts +33 -0
  295. package/dist/cjs/modules/device/types/wrapper.js +3 -0
  296. package/dist/cjs/modules/device/types/wrapper.js.map +1 -0
  297. package/dist/cjs/modules/device/vendors/Sardine.d.ts +25 -0
  298. package/dist/cjs/modules/device/vendors/Sardine.js +85 -0
  299. package/dist/cjs/modules/device/vendors/Sardine.js.map +1 -0
  300. package/dist/cjs/modules/device/vendors/Threatmetrix/index.d.ts +2 -0
  301. package/dist/cjs/modules/device/vendors/Threatmetrix/index.js +64 -0
  302. package/dist/cjs/modules/device/vendors/Threatmetrix/index.js.map +1 -0
  303. package/dist/cjs/modules/device/vendors/Threatmetrix/nolint_fp-clientlib-v4.d.ts +11 -0
  304. package/dist/cjs/modules/device/vendors/Threatmetrix/nolint_fp-clientlib-v4.js +90 -0
  305. package/dist/cjs/modules/device/vendors/Threatmetrix/nolint_fp-clientlib-v4.js.map +1 -0
  306. package/dist/cjs/modules/frankie-client/ClientsDictionary.d.ts +13 -0
  307. package/dist/cjs/modules/frankie-client/ClientsDictionary.js +3 -0
  308. package/dist/cjs/modules/frankie-client/ClientsDictionary.js.map +1 -0
  309. package/dist/cjs/modules/frankie-client/DummyFrankieApiClient.d.ts +48 -0
  310. package/dist/cjs/modules/frankie-client/DummyFrankieApiClient.js +197 -0
  311. package/dist/cjs/modules/frankie-client/DummyFrankieApiClient.js.map +1 -0
  312. package/dist/cjs/modules/frankie-client/FrankieApiClient.d.ts +32 -0
  313. package/dist/cjs/modules/frankie-client/FrankieApiClient.js +139 -0
  314. package/dist/cjs/modules/frankie-client/FrankieApiClient.js.map +1 -0
  315. package/dist/cjs/modules/frankie-client/clients/ApplicantClient.d.ts +24 -0
  316. package/dist/cjs/modules/frankie-client/clients/ApplicantClient.js +106 -0
  317. package/dist/cjs/modules/frankie-client/clients/ApplicantClient.js.map +1 -0
  318. package/dist/cjs/modules/frankie-client/clients/BaseClient.d.ts +10 -0
  319. package/dist/cjs/modules/frankie-client/clients/BaseClient.js +20 -0
  320. package/dist/cjs/modules/frankie-client/clients/BaseClient.js.map +1 -0
  321. package/dist/cjs/modules/frankie-client/clients/ConfigurationClient.d.ts +10 -0
  322. package/dist/cjs/modules/frankie-client/clients/ConfigurationClient.js +34 -0
  323. package/dist/cjs/modules/frankie-client/clients/ConfigurationClient.js.map +1 -0
  324. package/dist/cjs/modules/frankie-client/clients/IDVClient.d.ts +21 -0
  325. package/dist/cjs/modules/frankie-client/clients/IDVClient.js +27 -0
  326. package/dist/cjs/modules/frankie-client/clients/IDVClient.js.map +1 -0
  327. package/dist/cjs/modules/frankie-client/clients/OCRClient.d.ts +31 -0
  328. package/dist/cjs/modules/frankie-client/clients/OCRClient.js +121 -0
  329. package/dist/cjs/modules/frankie-client/clients/OCRClient.js.map +1 -0
  330. package/dist/cjs/modules/frankie-client/index.d.ts +9 -0
  331. package/dist/cjs/modules/frankie-client/index.js +56 -0
  332. package/dist/cjs/modules/frankie-client/index.js.map +1 -0
  333. package/dist/cjs/modules/frankie-client/mocks/biometrics/idvSubmission.d.ts +4 -0
  334. package/dist/cjs/modules/frankie-client/mocks/biometrics/idvSubmission.js +43 -0
  335. package/dist/cjs/modules/frankie-client/mocks/biometrics/idvSubmission.js.map +1 -0
  336. package/dist/cjs/modules/frankie-client/mocks/index.d.ts +8 -0
  337. package/dist/cjs/modules/frankie-client/mocks/index.js +34 -0
  338. package/dist/cjs/modules/frankie-client/mocks/index.js.map +1 -0
  339. package/dist/cjs/modules/frankie-client/mocks/individual/loadIndividual.d.ts +28 -0
  340. package/dist/cjs/modules/frankie-client/mocks/individual/loadIndividual.js +73 -0
  341. package/dist/cjs/modules/frankie-client/mocks/individual/loadIndividual.js.map +1 -0
  342. package/dist/cjs/modules/frankie-client/mocks/individual/submitData.d.ts +3 -0
  343. package/dist/cjs/modules/frankie-client/mocks/individual/submitData.js +33 -0
  344. package/dist/cjs/modules/frankie-client/mocks/individual/submitData.js.map +1 -0
  345. package/dist/cjs/modules/frankie-client/mocks/initialisation/loadConfiguration.d.ts +2 -0
  346. package/dist/cjs/modules/frankie-client/mocks/initialisation/loadConfiguration.js +26 -0
  347. package/dist/cjs/modules/frankie-client/mocks/initialisation/loadConfiguration.js.map +1 -0
  348. package/dist/cjs/modules/frankie-client/mocks/initialisation/validateToken.d.ts +2 -0
  349. package/dist/cjs/modules/frankie-client/mocks/initialisation/validateToken.js +12 -0
  350. package/dist/cjs/modules/frankie-client/mocks/initialisation/validateToken.js.map +1 -0
  351. package/dist/cjs/modules/frankie-client/mocks/ocr/ocrSubmission.d.ts +23 -0
  352. package/dist/cjs/modules/frankie-client/mocks/ocr/ocrSubmission.js +129 -0
  353. package/dist/cjs/modules/frankie-client/mocks/ocr/ocrSubmission.js.map +1 -0
  354. package/dist/cjs/modules/frankie-client/mocks/simplifier.d.ts +28 -0
  355. package/dist/cjs/modules/frankie-client/mocks/simplifier.js +214 -0
  356. package/dist/cjs/modules/frankie-client/mocks/simplifier.js.map +1 -0
  357. package/dist/cjs/modules/index.d.ts +24 -0
  358. package/dist/cjs/modules/index.js +44 -0
  359. package/dist/cjs/modules/index.js.map +1 -0
  360. package/dist/cjs/modules/individual/actions/consents.d.ts +4 -0
  361. package/dist/cjs/modules/individual/actions/consents.js +11 -0
  362. package/dist/cjs/modules/individual/actions/consents.js.map +1 -0
  363. package/dist/cjs/modules/individual/actions/documents.d.ts +9 -0
  364. package/dist/cjs/modules/individual/actions/documents.js +26 -0
  365. package/dist/cjs/modules/individual/actions/documents.js.map +1 -0
  366. package/dist/cjs/modules/individual/actions/emitEvents.d.ts +6 -0
  367. package/dist/cjs/modules/individual/actions/emitEvents.js +11 -0
  368. package/dist/cjs/modules/individual/actions/emitEvents.js.map +1 -0
  369. package/dist/cjs/modules/individual/actions/search.d.ts +17 -0
  370. package/dist/cjs/modules/individual/actions/search.js +57 -0
  371. package/dist/cjs/modules/individual/actions/search.js.map +1 -0
  372. package/dist/cjs/modules/individual/actions/submit.d.ts +15 -0
  373. package/dist/cjs/modules/individual/actions/submit.js +41 -0
  374. package/dist/cjs/modules/individual/actions/submit.js.map +1 -0
  375. package/dist/cjs/modules/individual/index.d.ts +2 -0
  376. package/dist/cjs/modules/individual/index.js +77 -0
  377. package/dist/cjs/modules/individual/index.js.map +1 -0
  378. package/dist/cjs/modules/individual/types/events.d.ts +7 -0
  379. package/dist/cjs/modules/individual/types/events.js +3 -0
  380. package/dist/cjs/modules/individual/types/events.js.map +1 -0
  381. package/dist/cjs/modules/individual/types/index.d.ts +2 -0
  382. package/dist/cjs/modules/individual/types/index.js +19 -0
  383. package/dist/cjs/modules/individual/types/index.js.map +1 -0
  384. package/dist/cjs/modules/individual/types/module.d.ts +31 -0
  385. package/dist/cjs/modules/individual/types/module.js +3 -0
  386. package/dist/cjs/modules/individual/types/module.js.map +1 -0
  387. package/dist/cjs/modules/ocr/actions/start.d.ts +52 -0
  388. package/dist/cjs/modules/ocr/actions/start.js +278 -0
  389. package/dist/cjs/modules/ocr/actions/start.js.map +1 -0
  390. package/dist/cjs/modules/ocr/index.d.ts +13 -0
  391. package/dist/cjs/modules/ocr/index.js +66 -0
  392. package/dist/cjs/modules/ocr/index.js.map +1 -0
  393. package/dist/cjs/modules/ocr/types/events.d.ts +21 -0
  394. package/dist/cjs/modules/ocr/types/events.js +3 -0
  395. package/dist/cjs/modules/ocr/types/events.js.map +1 -0
  396. package/dist/cjs/modules/ocr/types/index.d.ts +2 -0
  397. package/dist/cjs/modules/ocr/types/index.js +19 -0
  398. package/dist/cjs/modules/ocr/types/index.js.map +1 -0
  399. package/dist/cjs/modules/ocr/types/module.d.ts +26 -0
  400. package/dist/cjs/modules/ocr/types/module.js +3 -0
  401. package/dist/cjs/modules/ocr/types/module.js.map +1 -0
  402. package/dist/cjs/modules/sdk/ComponentLoader.d.ts +18 -0
  403. package/dist/cjs/modules/sdk/ComponentLoader.js +71 -0
  404. package/dist/cjs/modules/sdk/ComponentLoader.js.map +1 -0
  405. package/dist/cjs/modules/sdk/index.d.ts +3 -0
  406. package/dist/cjs/modules/sdk/index.js +33 -0
  407. package/dist/cjs/modules/sdk/index.js.map +1 -0
  408. package/dist/cjs/modules/sdk/parseConfiguration.d.ts +3 -0
  409. package/dist/cjs/modules/sdk/parseConfiguration.js +97 -0
  410. package/dist/cjs/modules/sdk/parseConfiguration.js.map +1 -0
  411. package/dist/cjs/modules/sdk/types/components.d.ts +25 -0
  412. package/dist/cjs/modules/sdk/types/components.js +3 -0
  413. package/dist/cjs/modules/sdk/types/components.js.map +1 -0
  414. package/dist/cjs/modules/sdk/types/configuration.d.ts +82 -0
  415. package/dist/cjs/modules/sdk/types/configuration.js +41 -0
  416. package/dist/cjs/modules/sdk/types/configuration.js.map +1 -0
  417. package/dist/cjs/modules/sdk/types/events.d.ts +5 -0
  418. package/dist/cjs/modules/sdk/types/events.js +3 -0
  419. package/dist/cjs/modules/sdk/types/events.js.map +1 -0
  420. package/dist/cjs/modules/sdk/types/index.d.ts +4 -0
  421. package/dist/cjs/modules/sdk/types/index.js +21 -0
  422. package/dist/cjs/modules/sdk/types/index.js.map +1 -0
  423. package/dist/cjs/modules/sdk/types/module.d.ts +16 -0
  424. package/dist/cjs/modules/sdk/types/module.js +3 -0
  425. package/dist/cjs/modules/sdk/types/module.js.map +1 -0
  426. package/dist/cjs/types/Primitives.d.ts +1 -0
  427. package/dist/cjs/types/Primitives.js +3 -0
  428. package/dist/cjs/types/Primitives.js.map +1 -0
  429. package/dist/cjs/types/Utilities.d.ts +25 -0
  430. package/dist/cjs/types/Utilities.js +3 -0
  431. package/dist/cjs/types/Utilities.js.map +1 -0
  432. package/dist/cjs/types/index.d.ts +2 -0
  433. package/dist/cjs/types/index.js +19 -0
  434. package/dist/cjs/types/index.js.map +1 -0
  435. package/dist/commit.txt +1 -1
  436. package/dist/esm/modules/biometrics/types/events.d.ts +1 -2
  437. package/dist/esm/modules/biometrics/wrappers/OcrLabs/index.js +16 -20
  438. package/dist/esm/modules/biometrics/wrappers/OcrLabs/index.js.map +1 -1
  439. package/dist/esm/modules/biometrics/wrappers/dummy-biometrics/index.js +0 -1
  440. package/dist/esm/modules/biometrics/wrappers/dummy-biometrics/index.js.map +1 -1
  441. package/dist/esm/modules/common/modules/ReactiveStore.d.ts +52 -7
  442. package/dist/esm/modules/common/modules/ReactiveStore.js +62 -8
  443. package/dist/esm/modules/common/modules/ReactiveStore.js.map +1 -1
  444. package/dist/esm/modules/common/modules/objectUtils.js +1 -1
  445. package/dist/esm/modules/common/modules/objectUtils.js.map +1 -1
  446. package/dist/esm/modules/common/shared/data/aus_states.json +10 -0
  447. package/dist/esm/modules/common/shared/data/country.json +14964 -0
  448. package/dist/esm/modules/common/shared/models/UBOData.d.ts +2 -4
  449. package/dist/esm/modules/common/shared/models/UBOData.js.map +1 -1
  450. package/dist/esm/modules/common/shared/utils/getCountryDetails.js +2 -2
  451. package/dist/esm/modules/common/shared/utils/getCountryDetails.js.map +1 -1
  452. package/dist/esm/modules/common/types/Accessors.d.ts +35 -3
  453. package/dist/esm/modules/common/types/Configuration.d.ts +2 -1
  454. package/dist/esm/modules/device/constants.d.ts +1 -1
  455. package/dist/esm/modules/device/constants.js +1 -1
  456. package/dist/esm/modules/device/constants.js.map +1 -1
  457. package/dist/esm/modules/device/index.js +18 -23
  458. package/dist/esm/modules/device/index.js.map +1 -1
  459. package/dist/esm/modules/device/parseConfiguration.js +21 -5
  460. package/dist/esm/modules/device/parseConfiguration.js.map +1 -1
  461. package/dist/esm/modules/device/types/events.d.ts +2 -2
  462. package/dist/esm/modules/device/types/module.d.ts +2 -4
  463. package/dist/esm/modules/device/types/wrapper.d.ts +2 -1
  464. package/dist/esm/modules/device/vendors/Sardine.d.ts +7 -1
  465. package/dist/esm/modules/device/vendors/Sardine.js +13 -9
  466. package/dist/esm/modules/device/vendors/Sardine.js.map +1 -1
  467. package/dist/esm/modules/device/vendors/Threatmetrix/index.js +2 -1
  468. package/dist/esm/modules/device/vendors/Threatmetrix/index.js.map +1 -1
  469. package/dist/esm/modules/frankie-client/mocks/individual/loadIndividual.d.ts +2 -2
  470. package/dist/esm/modules/individual/actions/emitEvents.d.ts +3 -3
  471. package/dist/esm/modules/individual/actions/emitEvents.js.map +1 -1
  472. package/dist/esm/modules/individual/types/module.d.ts +1 -1
  473. package/dist/esm/modules/ocr/types/module.d.ts +1 -1
  474. package/dist/esm/modules/sdk/types/components.d.ts +2 -2
  475. package/dist/esm/modules/sdk/types/configuration.d.ts +4 -3
  476. package/dist/esm/types/Primitives.d.ts +1 -0
  477. package/dist/esm/types/Primitives.js +2 -0
  478. package/dist/esm/types/Primitives.js.map +1 -0
  479. package/dist/esm/types/Utilities.d.ts +19 -1
  480. package/dist/esm/types/index.d.ts +1 -0
  481. package/dist/esm/types/index.js +1 -0
  482. package/dist/esm/types/index.js.map +1 -1
  483. package/dist/umd/727.js.map +1 -1
  484. package/dist/umd/biometrics-dummy.js +1 -1
  485. package/dist/umd/biometrics-dummy.js.map +1 -1
  486. package/dist/umd/biometrics-ocrlabs.js +1 -1
  487. package/dist/umd/biometrics-ocrlabs.js.map +1 -1
  488. package/dist/umd/device-sardine.js +1 -1
  489. package/dist/umd/device-sardine.js.map +1 -1
  490. package/dist/umd/device-threatmetrix.js +1 -1
  491. package/dist/umd/device-threatmetrix.js.map +1 -1
  492. package/dist/umd/oneSdk.umd.js +1 -1
  493. package/dist/umd/oneSdk.umd.js.LICENSE.txt +0 -2
  494. package/dist/umd/oneSdk.umd.js.map +1 -1
  495. package/package.json +34 -11
  496. package/dist/esm/modules/common/shared/data/ID_TYPES.d.ts +0 -18
  497. package/dist/esm/modules/common/shared/data/ID_TYPES.js +0 -18
  498. package/dist/esm/modules/common/shared/data/ID_TYPES.js.map +0 -1
  499. package/dist/esm/modules/common/shared/data/aus_states.d.ts +0 -5
  500. package/dist/esm/modules/common/shared/data/aus_states.js +0 -11
  501. package/dist/esm/modules/common/shared/data/aus_states.js.map +0 -1
  502. package/dist/esm/modules/common/shared/data/country.d.ts +0 -52
  503. package/dist/esm/modules/common/shared/data/country.js +0 -14931
  504. package/dist/esm/modules/common/shared/data/country.js.map +0 -1
  505. package/dist/esm/modules/common/shared/models/ConfigurationWrapper.d.ts +0 -15
  506. package/dist/esm/modules/common/shared/models/ConfigurationWrapper.js +0 -44
  507. package/dist/esm/modules/common/shared/models/ConfigurationWrapper.js.map +0 -1
@@ -0,0 +1,1295 @@
1
+ /**
2
+ * This file was auto-generated by swagger-to-ts.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export declare interface Admin {
6
+ /**
7
+ * Valid ID types
8
+ * - "OTHER": Generic document type. Unspecified.
9
+ * - "DRIVERS_LICENCE": Driver's licence.
10
+ * - "PASSPORT": Passport
11
+ * - "VISA": Visa document (not Visa payment card)
12
+ * - "IMMIGRATION": Immigration card
13
+ * - "NATIONAL_ID": Any national ID card
14
+ * - "TAX_ID": Any national tax identifier
15
+ * - "NATIONAL_HEALTH_ID": Any national health program ID card (e.g. Medicare, NHS)
16
+ * - "CONCESSION": State issued concession card
17
+ * - "HEALTH_CONCESSION": State issued health specific concession card
18
+ * - "PENSION": State issued pension ID
19
+ * - "MILITARY_ID": Military ID
20
+ * - "BIRTH_CERT": Birth certificate
21
+ * - "CITIZENSHIP": Citizenship certificate
22
+ * - "MARRIAGE_CERT": Marriage certificate
23
+ * - "DEATH_CERT": Death certificate
24
+ * - "NAME_CHANGE": Name chage confirmation
25
+ * - "UTILITY_BILL": Regulated utility bill, such as electricity, gas, etc
26
+ * - "BANK_STATEMENT": Bank/card statement
27
+ * - "INTENT_PROOF": A proof of intent. Generally a photo/video, or a scanned letter
28
+ * - "ATTESTATION": A document of attestation (e.g. Statutory Declaration)
29
+ * - "SELF_IMAGE": A "selfie" used for comparisions
30
+ * - "EMAIL_ADDRESS": An email address
31
+ * - "MSISDN": A mobile phone number
32
+ * - "DEVICE": A device ID
33
+ * - "VEHICLE_REGISTRATION": Vehicle registration number
34
+ * Business related documentation
35
+ * - "EXTERNAL_ADMIN": Details of appointed administrator.
36
+ * - "CHARGES":
37
+ * - "PRE_ASIC":
38
+ * - "ANNUAL_RETURN":
39
+ * - "REPORT":
40
+ */
41
+ enumIdType: "OTHER" | "DRIVERS_LICENCE" | "PASSPORT" | "VISA" | "IMMIGRATION" | "NATIONAL_ID" | "TAX_ID" | "NATIONAL_HEALTH_ID" | "CONCESSION" | "HEALTH_CONCESSION" | "PENSION" | "MILITARY_ID" | "BIRTH_CERT" | "CITIZENSHIP" | "MARRIAGE_CERT" | "DEATH_CERT" | "NAME_CHANGE" | "MOBILE_PHONE" | "UTILITY_BILL" | "BANK_STATEMENT" | "INTENT_PROOF" | "ATTESTATION" | "SELF_IMAGE" | "EMAIL_ADDRESS" | "MSISDN" | "DEVICE" | "VEHICLE_REGISTRATION" | "EXTERNAL_ADMIN" | "CHARGES" | "PRE_ASIC" | "ANNUAL_RETURN" | "REPORT";
42
+ /**
43
+ * Used to describe the contents of the KVP data.
44
+ *
45
+ * The general.* and raw.* types are pretty much what they say on the tin.
46
+ *
47
+ * All raw.* fields will be base64 encoded so as to not interfere with JSON structuring. These are useful for returning/storing large quantities of data that doesn't necessarily require processing now, or may be useful to a calling client.
48
+ *
49
+ * The id.* and pii.* are used to indicate that this is data that can be used to create new document objects, or entities. They should also be treated with the utmost care and attention when it comes to securing them too.
50
+ *
51
+ * id.external can be used to capture an object's ID on an external service, and can potentially be searchable in the index
52
+ * Note - This is different from a result.id.
53
+ *
54
+ * defunct is used to mark an existing KVP deleted when the value must be retained, for example for audit purposes.
55
+ *
56
+ * result.* are used to capture response codes and transaction IDs from external services
57
+ *
58
+ * error.* types can be used when processing a document that returns an error, but doesn't necessarily require a full blown error response.
59
+ */
60
+ enumKVPType: "defunct" | "general.string" | "general.integer" | "general.float" | "general.bool" | "general.date" | "general.datetime" | "raw.json.base64" | "raw.xml.base64" | "raw.base64" | "error.code" | "error.message" | "result.code" | "result.id" | "id.external" | "id.number.primary" | "id.number.additional" | "id.msisdn" | "id.email" | "id.device" | "pii.name.full" | "pii.name.familyname" | "pii.name.givenname" | "pii.name.middlename" | "pii.gender" | "pii.address.longform" | "pii.address.street1" | "pii.address.street2" | "pii.address.postalcode" | "pii.address.town" | "pii.address.suburb" | "pii.address.region" | "pii.address.state" | "pii.address.country" | "pii.dob";
61
+ /**
62
+ * Valid ID document scan general types.
63
+ * - "PHOTO": Any photo
64
+ * - "VIDEO": Any video
65
+ * - "AUDIO": Any audio
66
+ * - "PDF": PDF or PS (may contain text, images or both)
67
+ * - "DOC": Word doc, RTF, etc
68
+ * - "ZIP": Any compressed file(s)
69
+ */
70
+ enumScanType: "PHOTO" | "VIDEO" | "AUDIO" | "PDF" | "DOC" | "ZIP";
71
+ /**
72
+ * Describes if a scan is of the "F"ront or "B"ack of an ID. If not supplied, Front is always assumed.
73
+ */
74
+ enumScanSide: "F" | "B";
75
+ /**
76
+ * Used to indicate of the entity in question is:
77
+ * - "M"ale
78
+ * - "F"emale
79
+ * - "U"nspecified
80
+ * - "O"ther (for want of a better option)
81
+ */
82
+ enumGender: "U" | "F" | "M" | "O";
83
+ /**
84
+ * The standard MIME type of the file being uploaded. We'll double-check to be certain, but this can help speed things up
85
+ */
86
+ enumMIMEType: "image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/tiff" | "image/bmp" | "application/zip" | "application/x-tar" | "application/x-rar-compressed" | "application/gzip" | "application/x-bzip2" | "application/x-7z-compressed" | "application/pdf" | "application/rtf" | "application/postscript" | "application/json" | "audio/mpeg" | "audio/m4a" | "audio/x-wav" | "audio/amr" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "video/mp4" | "video/webm" | "video/quicktime" | "video/x-msvideo" | "video/x-ms-wmv" | "video/mpeg";
87
+ /**
88
+ * The reason why the scanData in a response is missing.
89
+ * - "NORMAL": The scanData was retrieved and is included. If it is empty then it was never provided or was provided empty.
90
+ * - "EXCLUDED": The retrieval request was not for 'full' data, or the object has 'ScanDelete' set so the scanData is not included
91
+ * - "FAILED": The scanData could not be retrieved from the secure document store.
92
+ *
93
+ * The enumScanDataRetrievalState will not usually be set in a request. If a ScannedDocumentObject in a response has a 'FAILED' retrieval state then that object should not be sent back in a future possible update. It should either be omitted or the original data should be resent if it is available from another source. However it is safe to send the object in an update with the state received in a response. Any state other than 'NORMAL' (or '') will cause the blank scanData to be ignored, but other fields in the object will be updated if needed.
94
+ */
95
+ enumScanDataRetrievalState: "NORMAL" | "EXCLUDED" | "FAILED";
96
+ /**
97
+ * Used to indicate what sort address this is, such as residential, business, postal, etc.
98
+ *
99
+ * RESIDENTIAL1-4 can be used to indicate the reverse chronological order of addresses.
100
+ * RESIDENTIAL or RESIDENTIAL1 is the current address
101
+ * RESIDENTIAL2 is the previous address, and so on.
102
+ */
103
+ enumAddressType: "OTHER" | "RESIDENTIAL" | "RESIDENTIAL1" | "RESIDENTIAL2" | "RESIDENTIAL3" | "RESIDENTIAL4" | "BUSINESS" | "POSTAL" | "REGISTERED_OFFICE" | "PLACE_OF_BUSINESS" | "OFFICIAL_CORRESPONDANCE";
104
+ /**
105
+ * Current status of a document.
106
+ * - "INITIALISING": the state whilst you're uploading and updating
107
+ * - "SCAN_IN_PROGRESS": the state whilst it's being scanned.
108
+ * - "DOC_SCANNED": the document has been scanned and data extracted as best as possible. It's still possible to update the details and add more scans if you wish.
109
+ * - "DOC_CHECKED": the document has been used as part of a check that has been finalised in some way. You can no longer update this document and any attempt will generate an error.
110
+ */
111
+ enumDocumentStatus: "INITIALISING" | "SCAN_IN_PROGRESS" | "DOC_SCANNED" | "DOC_CHECKED";
112
+ /**
113
+ * Check state for an individual data point
114
+ * - "UNCHECKED": Check has not yet been performed
115
+ * - "NOT_SUPPORTED": the requested check type or industry function is not supported by this connector.
116
+ * - "CHECKING": Checks are underway.
117
+ * - "UNPROCESSABLE": The data supplied was unprocessable.
118
+ * - "NO_MATCH": All checks complete, no records found that matched the details supplied
119
+ * - "CHECKED_PARTIAL_SUCCESS": All checks complete, but only some succeeded.
120
+ * - "CHECKED_SUCCESS_WITH_NOTES": All checks complete, but there are some notes (e.g. PEP or sanctions).
121
+ * - "CHECKED_SUCCESS_CLEAR": All checks complete, no additional notes
122
+ * - "CHECKED_FAILED": All checks complete, but all failed.
123
+ */
124
+ enumCheckResultState: "UNCHECKED" | "CHECKING" | "UNPROCESSABLE" | "NOT_SUPPORTED" | "NO_MATCH" | "CHECKED_PARTIAL_SUCCESS" | "CHECKED_SUCCESS_WITH_NOTES" | "CHECKED_SUCCESS_CLEAR" | "CHECKED_FAILED";
125
+ /**
126
+ * Different types of checks available.
127
+ * Note: WATCHLIST can also cover PEP and/or SANCTION as well, depending on source provider used. GROUP is an internal 'meta-check' to store the group details for an AMLResultSet.
128
+ */
129
+ enumBackgroundCheckType: "PEP" | "SANCTION" | "WATCHLIST" | "MEDIA" | "GROUP";
130
+ /**
131
+ * Current state, based on the most recent check.
132
+ * - "CLEAR": The no checks have ever turned up results
133
+ * - "PAST_HITS": Past checks have returned hits, but now they're clear.
134
+ * - "POSSIBLE_HIT": The most recent checks turned up some results that may be relevant
135
+ * - "ACTIVE_HITS": The current checks are returning definitive hits.
136
+ */
137
+ enumBackgroundCheckState: "CLEAR" | "PAST_HITS" | "POSSIBLE_HIT" | "ACTIVE_HITS";
138
+ /**
139
+ * How often these checks run.
140
+ */
141
+ enumBackgroundCheckFrequency: "ADHOC" | "YEARLY" | "QUARTERLY" | "MONTHY" | "WEEKLY" | "DAILY";
142
+ /**
143
+ * channel the transaction was initiated on
144
+ */
145
+ enumChannel: "api" | "batch" | "push" | "portal";
146
+ /**
147
+ * transaction disposition based on risk, confidence and final check status
148
+ */
149
+ enumTransactionStatusKYC: "PASS" | "REFER" | "FAIL" | "PASS_MANUAL" | "WAIT" | "FAIL_MANUAL" | "BLOCK" | "UNCHECKED" | "ARCHIVED" | "INACTIVE";
150
+ /**
151
+ * Indicates the type of an entity.
152
+ * - "INDIVIDUAL": An individual.
153
+ * - "TRUST": A trust.
154
+ * - "ORGANISATION": An organisation.
155
+ */
156
+ enumEntityType: "INDIVIDUAL" | "TRUST" | "ORGANISATION";
157
+ /**
158
+ * All valid customers get a puppy. Otherwise, no puppy for you!
159
+ */
160
+ PuppyObject: {
161
+ puppy: boolean;
162
+ };
163
+ /**
164
+ * Individual key-value pair
165
+ */
166
+ KeyValuePairObject: {
167
+ /**
168
+ * Name of the data
169
+ */
170
+ kvpKey?: string;
171
+ /**
172
+ * Value of the data
173
+ */
174
+ kvpValue?: string;
175
+ kvpType?: Admin["enumKVPType"];
176
+ };
177
+ /**
178
+ * Unique identifier for every request. Can be used for tracking down answers with technical support.
179
+ *
180
+ * Uses the ULID format (a time-based, sortable UUID)
181
+ *
182
+ * Note: this will be different for every request.
183
+ */
184
+ RequestIDObject: string;
185
+ /**
186
+ * Unique identifier for every check/comparison/verification. Make sure you reference this ID whenever updating check details. This ID will also be used when pushing check results back to you.
187
+ */
188
+ CheckIDObject: string;
189
+ ErrorObject: {
190
+ requestId: Admin["RequestIDObject"];
191
+ /**
192
+ * Deprecated:
193
+ * HTTP status code. Same as what is passed back in the header.
194
+ */
195
+ httpStatusCode?: number;
196
+ /**
197
+ * Frankie error code
198
+ */
199
+ errorCode: string;
200
+ /**
201
+ * Will describe the error
202
+ */
203
+ errorMsg: string;
204
+ issues?: {
205
+ /**
206
+ * Will describe the field or data location of the issue
207
+ */
208
+ issueLocation: string;
209
+ /**
210
+ * Description of the problem
211
+ */
212
+ issue?: string;
213
+ }[];
214
+ };
215
+ /**
216
+ * Wraps up a PRO with its internal ID.
217
+ */
218
+ ProcessResultObjectContainer: {
219
+ /**
220
+ * Internal ID of this PRO. Use this if you need to set the status.
221
+ */
222
+ id?: string;
223
+ pro?: Admin["ProcessResultObject"];
224
+ };
225
+ /**
226
+ * Collection of fraud check results for the entity.
227
+ *
228
+ * Contains fraud list and/or background result arrays. Other fraud check types will appear over time
229
+ */
230
+ FraudCheckResultObject: {
231
+ fraudListResults?: Admin["ProcessResultObject"][];
232
+ fraudBackgroundCheckResults?: Admin["ProcessResultObject"][];
233
+ };
234
+ /**
235
+ * Stores the generic results of a process (check, scan, compare, verify, etc)
236
+ */
237
+ ProcessResultObject: {
238
+ checkId?: Admin["CheckIDObject"];
239
+ /**
240
+ * Short indication of the type of check that was done.
241
+ *
242
+ * When used as a summary, it will the the checkType that was requested
243
+ *
244
+ * For granular results, it will be the individual check performed.
245
+ */
246
+ checkType?: string;
247
+ resultState?: Admin["enumCheckResultState"];
248
+ /**
249
+ * Any additional notes that may relate to the state. These are returned as typed KVPs
250
+ */
251
+ resultNotes?: Admin["KeyValuePairObject"][];
252
+ /**
253
+ * The date and time the item was checked to provide this result.
254
+ */
255
+ checkDate?: string;
256
+ /**
257
+ * Confidence in the result on a scale of 0 (no match) to 100 (strong/identical match). Whole integers only.
258
+ *
259
+ * Negative values are used to indicate untrusted results.
260
+ */
261
+ confidenceLevel?: number;
262
+ /**
263
+ * Only supplied in a summary result. Used to indicate the ovall risk score for the entity at this point in time, based on:
264
+ *
265
+ * * Current level of ID checks passed
266
+ * * Device ID scores
267
+ * * Current PEP/Sanctions/etc checks
268
+ *
269
+ * In this case a higher score is a bad thing. General rule of thumb:
270
+ *
271
+ * * 0 - 40 = Low Risk
272
+ * * 41 - 70 = Medium Risk
273
+ * * 70 - 90 = High Risk
274
+ * * 91+ = Super risky
275
+ *
276
+ * This does *NOT* factor in product offering
277
+ */
278
+ riskLevel?: number;
279
+ /**
280
+ * Service provider that performed the check. Basically the name of the connector, without the leading con_
281
+ */
282
+ checkPerformedBy?: string;
283
+ /**
284
+ * Code that can be used to determine the underlying nature or data source of the checks performed. This may or may not be known by the connector, or may be a provider specific type (e.g. type "O")
285
+ */
286
+ checkSource?: string;
287
+ /**
288
+ * The service provider will give us a receipt, transaction id, check number, or some such that gives us a unique id on their side that we can reconcile with
289
+ */
290
+ providerCheckID?: string;
291
+ };
292
+ /**
293
+ * Wraps up a BCRO with its internal ID.
294
+ */
295
+ backgroundCheckResultObjectContainer: {
296
+ /**
297
+ * Internal ID of this BCRO. Use this if you need to set the status.
298
+ */
299
+ id?: string;
300
+ bcro?: Admin["backgroundCheckResultObject"];
301
+ };
302
+ /**
303
+ * Contains the details of a background check for a given entity. Background checks include Politically Exposed Person (PEP), sanctions lists, watchlists and adverse media.
304
+ */
305
+ backgroundCheckResultObject: {
306
+ checkId?: Admin["CheckIDObject"];
307
+ backgroundCheckType?: Admin["enumBackgroundCheckType"];
308
+ currentState?: Admin["enumBackgroundCheckState"];
309
+ /**
310
+ * The date and time the item was first checked.
311
+ */
312
+ firstCheckDate?: string;
313
+ /**
314
+ * The date and time the item was last checked to provide this result.
315
+ */
316
+ latestCheckDate?: string;
317
+ checkFrequency?: Admin["enumBackgroundCheckFrequency"];
318
+ /**
319
+ * Confidence in the current results on a scale of 0 (none) to 100 (as certain as possible). Whole integers only.
320
+ */
321
+ confidenceLevel?: number;
322
+ /**
323
+ * Service provider that performed the check. Basically the name of the connector, without the leading con_
324
+ */
325
+ checkPerformedBy?: string;
326
+ /**
327
+ * Code that can be used to determine the underlying nature or data source of the checks performed. This may or may not be known by the connector, or may be a provider specific type (e.g. type "O")
328
+ */
329
+ checkSource?: string;
330
+ /**
331
+ * Any additional notes that may relate to the state. Free form notes that may contain JSON blobs needing further interpretation.
332
+ */
333
+ checkDetails?: Admin["KeyValuePairObject"][];
334
+ };
335
+ /**
336
+ * Object to contain all the details needed for an audit trail record.
337
+ */
338
+ AuditRecordObject: {
339
+ requestID?: Admin["RequestIDObject"];
340
+ /**
341
+ * email address of the user performing this function.
342
+ */
343
+ username?: string;
344
+ /**
345
+ * short description of the function being performed.
346
+ */
347
+ functionName?: string;
348
+ /**
349
+ * Unique document identifier.
350
+ */
351
+ documentId?: string;
352
+ /**
353
+ * Unique entity identifier.
354
+ */
355
+ entityId?: string;
356
+ /**
357
+ * Unique identifier for every check/comparison/verification.
358
+ */
359
+ checkId?: string;
360
+ channel?: Admin["enumChannel"];
361
+ /**
362
+ * Set of key-value pairs that provide additional data.
363
+ *
364
+ * Although the KVP types support PII types, PLEASE DO NO PUT PII/SENSITIVE DATA IN HERE.
365
+ */
366
+ extraData?: Admin["KeyValuePairObject"][];
367
+ };
368
+ /**
369
+ * Acknowledges acceptance of an audit trail record
370
+ */
371
+ AcceptedAuditRecordObject: {
372
+ requestId?: Admin["RequestIDObject"];
373
+ };
374
+ /**
375
+ * Plain response with just a request ID.
376
+ */
377
+ GenericResponseObject: {
378
+ requestId?: Admin["RequestIDObject"];
379
+ };
380
+ /**
381
+ * Line item details of transaction record for display in the portal
382
+ */
383
+ TransactionRecord: {
384
+ /**
385
+ * The date and time the transaction occurred.
386
+ */
387
+ timestamp?: string;
388
+ requestId?: Admin["RequestIDObject"];
389
+ parentRequestId?: Admin["RequestIDObject"];
390
+ /**
391
+ * Unique document identifier.
392
+ */
393
+ documentId?: string;
394
+ /**
395
+ * Unique entity identifier.
396
+ */
397
+ entityId?: string;
398
+ /**
399
+ * Unique identifier for every check/comparison/verification.
400
+ */
401
+ checkId?: string;
402
+ channel?: Admin["enumChannel"];
403
+ /**
404
+ * Name of the function that created this transaction.
405
+ */
406
+ functionName?: string;
407
+ /**
408
+ * Name of the document/entity associated with this transaction.
409
+ */
410
+ entityName?: string;
411
+ /**
412
+ * Portal user responsible for this entity.
413
+ */
414
+ assignee?: string;
415
+ /**
416
+ * Portal user responsible for this check.
417
+ */
418
+ username?: string;
419
+ /**
420
+ * Only supplied in a summary result. Used to indicate the ovall risk score for the entity at this point in time, based on:
421
+ */
422
+ riskLevel?: number;
423
+ /**
424
+ * Confidence in the result on a scale of 0 (no match) to 100 (strong/identical match). Whole integers only.
425
+ */
426
+ confidenceLevel?: number;
427
+ transactionStatus?: Admin["enumTransactionStatusKYC"];
428
+ /**
429
+ * Comma-separated list of alerts associated with this monitoring alert.
430
+ *
431
+ * List of possible alerts supported:
432
+ *
433
+ * * PEP
434
+ * * SANCTION
435
+ * * WATCHLIST
436
+ * * MEDIA
437
+ * * DEATH
438
+ * * CRIME
439
+ * * BLACKLIST
440
+ * * IDTHEFT
441
+ */
442
+ alertList?: string;
443
+ /**
444
+ * Set of key-value pairs that provide additional data.
445
+ */
446
+ extraData?: Admin["KeyValuePairObject"][];
447
+ };
448
+ TransactionBlocklistRecord: {
449
+ /**
450
+ * The date and time the transaction occurred.
451
+ */
452
+ entityData?: Admin['EntityObject'];
453
+ timestamp?: string;
454
+ requestId?: Admin["RequestIDObject"];
455
+ parentRequestId?: Admin["RequestIDObject"];
456
+ /**
457
+ * Unique document identifier.
458
+ */
459
+ documentId?: string;
460
+ /**
461
+ * Unique entity identifier.
462
+ */
463
+ entityId?: string;
464
+ /**
465
+ * Unique identifier for every check/comparison/verification.
466
+ */
467
+ checkId?: string;
468
+ channel?: Admin["enumChannel"];
469
+ /**
470
+ * Name of the function that created this transaction.
471
+ */
472
+ functionName?: string;
473
+ /**
474
+ * Name of the document/entity associated with this transaction.
475
+ */
476
+ entityName?: string;
477
+ /**
478
+ * Portal user responsible for this entity.
479
+ */
480
+ assignee?: string;
481
+ /**
482
+ * Portal user responsible for this check.
483
+ */
484
+ username?: string;
485
+ /**
486
+ * Only supplied in a summary result. Used to indicate the ovall risk score for the entity at this point in time, based on:
487
+ */
488
+ riskLevel?: number;
489
+ /**
490
+ * Confidence in the result on a scale of 0 (no match) to 100 (strong/identical match). Whole integers only.
491
+ */
492
+ confidenceLevel?: number;
493
+ transactionStatus?: Admin["enumTransactionStatusKYC"];
494
+ /**
495
+ * Comma-separated list of alerts associated with this monitoring alert.
496
+ *
497
+ * List of possible alerts supported:
498
+ *
499
+ * * PEP
500
+ * * SANCTION
501
+ * * WATCHLIST
502
+ * * MEDIA
503
+ * * DEATH
504
+ * * CRIME
505
+ * * BLACKLIST
506
+ * * IDTHEFT
507
+ */
508
+ alertList?: string;
509
+ /**
510
+ * Set of key-value pairs that provide additional data.
511
+ */
512
+ extraData?: Admin["KeyValuePairObject"][];
513
+ };
514
+ /**
515
+ * contains the search parameters and result summary.
516
+ */
517
+ RecordsBlocklistList: {
518
+ 'requestId'?: Admin['RequestIDObject'];
519
+ /**
520
+ * The start date (defaults to 30 days ago) (input parameter)
521
+ */
522
+ 'startDate': Date;
523
+ /**
524
+ * The end date (defaults to today) (input parameter)
525
+ */
526
+ 'endDate': Date;
527
+ /**
528
+ * Flag to pass to the list call to continue retrieving data from this point on. If this is empty, then there is no more data to retrieve.
529
+ */
530
+ 'nextPageMarker'?: string;
531
+ /**
532
+ * Ordered list of KYC/Onboarding transactions.
533
+ */
534
+ 'records'?: Array<Admin['TransactionRecord'] & Admin['EntityObject']>;
535
+ };
536
+ RecordsOnboardingList: {
537
+ /**
538
+ * The start date (defaults to 30 days ago) (input parameter)
539
+ */
540
+ startDate: string;
541
+ /**
542
+ * The end date (defaults to today) (input parameter)
543
+ */
544
+ endDate: string;
545
+ /**
546
+ * Flag to pass to the list call to continue retrieving data from this point on.
547
+ *
548
+ * If this is empty, then there is no more data to retrieve.
549
+ */
550
+ nextPageMarker?: string;
551
+ /**
552
+ * Ordered list of KYC/Onboarding transactions.
553
+ */
554
+ records?: Admin["TransactionRecord"][];
555
+ };
556
+ /**
557
+ * contains the search parameters and result summary.
558
+ */
559
+ RecordsMonitoringList: {
560
+ /**
561
+ * The start date (defaults to 30 days ago) (input parameter)
562
+ */
563
+ startDate: string;
564
+ /**
565
+ * The end date (defaults to today) (input parameter)
566
+ */
567
+ endDate: string;
568
+ /**
569
+ * Flag to pass to the list call to continue retrieving data from this point on.
570
+ *
571
+ * If this is empty, then there is no more data to retrieve.
572
+ */
573
+ nextPageMarker?: string;
574
+ /**
575
+ * The total number of records available in the date range
576
+ */
577
+ totalRecords: number;
578
+ /**
579
+ * Ordered list of Monitoring/Alert transactions.
580
+ */
581
+ records?: Admin["TransactionRecord"][];
582
+ };
583
+ /**
584
+ * the document to be attached and optionally scanned (if supported)
585
+ */
586
+ ScannedDocumentObject: {
587
+ /**
588
+ * When an document scan is created/uploaded, it is assigned a scanDocId. You'll see this in a successful response or successfully accepted response. This can then be referenced in subsequent calls if you're uploading more/updated data.
589
+ */
590
+ scanDocId?: string;
591
+ scanType?: Admin["enumScanType"];
592
+ scanSide?: Admin["enumScanSide"];
593
+ /**
594
+ * If you're uploading a file where it's important to keep the original filename, then you can provide that here. Otherwise the Frankie service will assign an arbitrary name and an extension based on the MIME type
595
+ */
596
+ scanFilename?: string;
597
+ /**
598
+ * If uploading multiple pages - it's handy to keep a track of these. There is no enforcement of these numbers at all. You can have 10 page 1's and a page 29 if you wish.
599
+ */
600
+ scanPageNum?: number;
601
+ scanMIME?: Admin["enumMIMEType"];
602
+ /**
603
+ * Used as a way of indicating to the service that the original scanned document is not to be kept after it has been processed. We will retain any metadata and the results of processing (where required by regulation or the customer), but the original file uploaded will eventually be remnoved once processing is complete.
604
+ * If ScanDelete is set to true, any call with /full at the end will still not return the file contents, regardless of whether the file has been deleted yet (the deletion process is a background task that can take a few minutes to occur)
605
+ */
606
+ ScanDelete?: boolean;
607
+ /**
608
+ * Base64 encoded string of a photo or scan of an ID document to be verified. If supplied and of a supported type, the Frankie service will attempt to use OCR tech to extract the data from the scanned doc/image.
609
+ * In a result message, this field will be left blank, unless the "full" action is requested.
610
+ */
611
+ scanData?: string;
612
+ scanDataRetrievalState?: Admin["enumScanDataRetrievalState"];
613
+ /**
614
+ * The date and time the scan was created. Not the date of the scanned document, which should be in the idIssued attribute of the document that owns this scan.
615
+ */
616
+ scanCreated?: string;
617
+ };
618
+ IdentityDocumentObject: {
619
+ /**
620
+ * When an ID document is created/uploaded, it is assigned a documentId. You'll see this in a successful response or successfully accepted response. This can then be referenced in subsequent calls if you're uploading more/updated data.
621
+ */
622
+ documentId?: string;
623
+ idType: Admin["enumIdType"];
624
+ /**
625
+ * The sub-type of identity document. Very document specific.
626
+ */
627
+ idSubType?: string;
628
+ /**
629
+ * The ISO country code of the issuing national. Once set, this cannot be changed.
630
+ */
631
+ country: string;
632
+ /**
633
+ * Regional variant of the ID (e.g. VIC drivers licence)
634
+ */
635
+ region?: string;
636
+ /**
637
+ * The ID number of the document (if known).
638
+ */
639
+ idNumber?: string;
640
+ /**
641
+ * The expiry data of the document (if known) in YYYY-MM-DD format.
642
+ */
643
+ idExpiry?: string;
644
+ /**
645
+ * The issued date of the document (if known) in YYYY-MM-DD format.
646
+ */
647
+ idIssued?: string;
648
+ documentStatus?: Admin["enumDocumentStatus"];
649
+ /**
650
+ * This document's data was initially created from scanned and processed images. The value cannot be set manually and any attempt to do so will just be ignored.
651
+ */
652
+ createdFromScan?: boolean;
653
+ /**
654
+ * If this document was originally populated from scanned data, then manually adjusted (e.g. if the scan's results weren't 100% correct or data was missing), then this will be set to true. The value cannot be set manually and any attempt to do so will just be ignored.
655
+ */
656
+ manuallyModified?: boolean;
657
+ /**
658
+ * Set of key-value pairs that provide ID type-specific data. If updating an existing document, then existing values with the same name will be overwritten. New values will be added.
659
+ * If this document is scanned through OCR or similar processes, then extracted data will be found here (Some may be used to populate other fields like idNumber and idExpiry as well)
660
+ */
661
+ extraData?: Admin["KeyValuePairObject"][];
662
+ /**
663
+ * Collection of one or more objects that describe scan(s) that need to be put through OCR or facial recognition. These should all be from the one ID document, such as front/back, or page 1, 2, 3, etc. You can upload multiple scans in a single call, or in multiple calls.
664
+ * Note: if you do upload over multiple calls, make sure you include the documentId (see above), and indicate that this is happening with a "more_data" checkAction
665
+ */
666
+ docScan?: Admin["ScannedDocumentObject"][];
667
+ };
668
+ /**
669
+ * Similar to a KVP, the flag has a key (the flag you're indicating) and an integer value.
670
+ *
671
+ * Values are tied to the specific flag (see table below). Generally they're true (1)/false(0) indicators.
672
+ *
673
+ * | flag | values | Description |
674
+ * | ------- | -------- | -------- |
675
+ * | ongoing_pep | 0, 1, 2 | 0 = no, 1 = pep/sanctions, 2 = 1+media |
676
+ * | | | |
677
+ */
678
+ EntityFlagObject: {
679
+ /**
680
+ * Name of the flag
681
+ */
682
+ flag?: string;
683
+ /**
684
+ * flag value.
685
+ */
686
+ value?: number;
687
+ };
688
+ PersonalNameObject: {
689
+ /**
690
+ * Mr/Ms/Dr/Dame/Dato/etc.
691
+ */
692
+ honourific?: string;
693
+ /**
694
+ * Family name / Surname of the individual.
695
+ */
696
+ familyName: string;
697
+ /**
698
+ * First / Given name
699
+ */
700
+ givenName?: string;
701
+ /**
702
+ * Middle name(s) / Initials
703
+ */
704
+ middleName?: string;
705
+ /**
706
+ * In some cases, the name will need to be supplied in "long form", such as when it is determined from a document scan, or is un-parsable in some way.
707
+ * The service will attempt to convert it to it's constituent parts where possible.
708
+ */
709
+ displayName?: string;
710
+ };
711
+ DOBObject: {
712
+ /**
713
+ * Year of birth or "unknown". This will be autoextracted if dateOfBirth is supplied.
714
+ */
715
+ yearOfBirth?: string;
716
+ /**
717
+ * Date of Birth in YYYY-MM-DD format
718
+ */
719
+ dateOfBirth?: string;
720
+ /**
721
+ * Place of birth other than country If locality is given, then country must also be provided.
722
+ */
723
+ locality?: string;
724
+ /**
725
+ * ISO-3166-1 code for the country of birth. You must use the alpha3 country code (e.g. AUS, USA, IDR, KOR, etc) We'll convert as needed.
726
+ * See https://en.wikipedia.org/wiki/ISO_3166-1
727
+ */
728
+ country?: string;
729
+ };
730
+ AddressObject: {
731
+ /**
732
+ * As addresses are added to an entity, they're assigned an id to assist with tracking.
733
+ *
734
+ * If you're adjusting an address, you will need to include the addressId so as to be able to reference it correctly in the list.
735
+ */
736
+ addressId?: string;
737
+ addressType?: Admin["enumAddressType"];
738
+ /**
739
+ * The date this address first because active. Used mostly with business addresses.
740
+ */
741
+ startDate?: string;
742
+ /**
743
+ * The date this address was no longer used (if available). Used mostly with business addresses.
744
+ */
745
+ endDate?: string;
746
+ /**
747
+ * Individual or business name at this address if not the same as the name of the entity to which this address belongs.
748
+ */
749
+ careOf?: string;
750
+ /**
751
+ * Unit/Apartment/Flat/Suite/etc number
752
+ */
753
+ unitNumber?: string;
754
+ /**
755
+ * The number on the street. Generally a number, but can also be alphanumeric (e.g. 3A)
756
+ */
757
+ streetNumber?: string;
758
+ /**
759
+ * The name of the street (do not include number or St/Rd/Ave/etc - these go in related fields)
760
+ */
761
+ streetName?: string;
762
+ /**
763
+ * The street "type" - e.g. Road, St, Ave, Circuit, etc
764
+ */
765
+ streetType?: string;
766
+ /**
767
+ * The name of the building, apartment block, condo, etc
768
+ */
769
+ buildingName?: string;
770
+ /**
771
+ * The suburb in the town/city. Only use this if you require a suburb AND a town/city, otherwise, just use the "town" parameter.
772
+ */
773
+ suburb?: string;
774
+ /**
775
+ * The town/village/suburb/city
776
+ */
777
+ town?: string;
778
+ /**
779
+ * The county, province, cantonment
780
+ */
781
+ region?: string;
782
+ /**
783
+ * The state. Use local abbreviations, such as VIC(toria) or TX (Texas)
784
+ */
785
+ state?: string;
786
+ /**
787
+ * The ISO-3166-1 country. You must use the alpha3 country code (e.g. AUS, USA, IDR, KOR, etc) We'll convert as needed.
788
+ *
789
+ * See: https://en.wikipedia.org/wiki/ISO_3166-1
790
+ */
791
+ country: string;
792
+ /**
793
+ * The post code of the address.
794
+ */
795
+ postalCode?: string;
796
+ /**
797
+ * In some cases, the address will need to be supplied in "long form", such as when it is determined from a document scan, or is un-parsable in some way.
798
+ * The service will attempt to convert it to it's constituent parts where possible.
799
+ * WARNING: Use of longForm is not guaranteed to produce perfect results, due to the variety of potential formats. You've been warned.
800
+ */
801
+ longForm?: string;
802
+ extraData?: Admin["KeyValuePairObject"][];
803
+ };
804
+ /**
805
+ * Describes all of the data being used to verify an entity.
806
+ */
807
+ EntityObject: {
808
+ /**
809
+ * When an entity is first created, it is assigned an ID. When updating an entity, make sure you set the entityId
810
+ * One exception to this is when an entity is created from a document object. It is expected that this object would be passed into a /check or /entity call to set it.
811
+ */
812
+ entityId?: string;
813
+ entityType?: Admin["enumEntityType"];
814
+ /**
815
+ * If the entity is using the new profiles feature, then their profile name will be found here.
816
+ *
817
+ * Note: If setting a profile, you must ensure that the profile matches a known configuration.
818
+ *
819
+ * Please contact Frankie developer support if you're unsure as to what valid values are.
820
+ */
821
+ entityProfile?: string;
822
+ name?: Admin["PersonalNameObject"];
823
+ dateOfBirth?: Admin["DOBObject"];
824
+ gender?: Admin["enumGender"];
825
+ /**
826
+ * Collection of address objects.
827
+ */
828
+ addresses?: Admin["AddressObject"][];
829
+ /**
830
+ * Used to set additional information flags with regards to this entity and for ongoing processing.
831
+ *
832
+ * Flags might include having the entity (not) participate in regular pep/sanctions screening
833
+ * Others will follow over time.
834
+ */
835
+ flags?: Admin["EntityFlagObject"][];
836
+ /**
837
+ * Set of key-value pairs that provide arbitrary additional type-specific data. You can use these fields to store external IDs, or other non-identity related items if you need to.
838
+ * If updating an existing entity, then existing values with the same name will be overwritten. New values will be added.
839
+ */
840
+ extraData?: Admin["KeyValuePairObject"][];
841
+ /**
842
+ * Collection of identity documents (photos, scans, selfies, etc)
843
+ */
844
+ identityDocs?: Admin["IdentityDocumentObject"][];
845
+ organisationData?: Admin["OrganisationDataObject"];
846
+ };
847
+ IdentityDocumentCheckResultListObject: {
848
+ /**
849
+ * When an ID document is created/uploaded, it is assigned a documentId. You'll see this in a successful response or successfully accepted response. This can then be referenced in subsequent calls if you're uploading more/updated data.
850
+ */
851
+ documentId?: string;
852
+ checkResults?: Admin["ProcessResultObject"][];
853
+ };
854
+ /**
855
+ * Full details of a given check for a specific entity.
856
+ */
857
+ EntityCheckDetails: {
858
+ requestId?: Admin["RequestIDObject"];
859
+ checkId?: Admin["CheckIDObject"];
860
+ entityData?: Admin["EntityObject"];
861
+ entityProfileResult?: Admin["EntityProfileResultObject"];
862
+ checkSummary?: Admin["ProcessResultObject"];
863
+ checkResultsListSummaries?: Admin["ProcessResultObject"][];
864
+ checkRisk?: Admin["ProcessResultObject"];
865
+ checkResultsListEntity?: Admin["ProcessResultObject"][];
866
+ checkResultsListDocument?: Admin["IdentityDocumentCheckResultListObject"][];
867
+ checkResultsListDevice?: Admin["ProcessResultObject"][];
868
+ checkResultsListDuplicate?: Admin["ProcessResultObjectContainer"][];
869
+ checkResultsListBlacklist?: Admin["ProcessResultObjectContainer"][];
870
+ checkResultsListManual?: Admin["ProcessResultObjectContainer"][];
871
+ checkResultsListFraud?: Admin["FraudCheckResultObject"][];
872
+ amlResultSets?: Admin["AMLResultSet"][];
873
+ };
874
+ /**
875
+ * Wrapper object to contain a single set of AML check results.
876
+ */
877
+ AMLResultSet: {
878
+ groupDetails?: Admin["backgroundCheckResultObjectContainer"];
879
+ /**
880
+ * Collection of check results for the entity being a Politically Exposed Person
881
+ *
882
+ * An array sorted by type, then reverse chronological order of some/all background checks done on this entity. Older checks may have been previously done by you or another institution, and if so, these will be listed and appropriately anonymised/obfuscated.
883
+ */
884
+ checkResultsListPEP?: Admin["backgroundCheckResultObjectContainer"][];
885
+ /**
886
+ * Collection of check results for the entity being on a sanctions list
887
+ *
888
+ * An array sorted by type, then reverse chronological order of some/all background checks done on this entity. Older checks may have been previously done by you or another institution, and if so, these will be listed and appropriately anonymised/obfuscated.
889
+ */
890
+ checkResultsListSanctions?: Admin["backgroundCheckResultObjectContainer"][];
891
+ /**
892
+ * Collection of check results for the entity being on a watchlist
893
+ *
894
+ * An array sorted by type, then reverse chronological order of some/all background checks done on this entity. Older checks may have been previously done by you or another institution, and if so, these will be listed and appropriately anonymised/obfuscated.
895
+ */
896
+ checkResultsListWatchlists?: Admin["backgroundCheckResultObjectContainer"][];
897
+ /**
898
+ * Collection of check results for the entity being found in any adverse media
899
+ *
900
+ * An array sorted by type, then reverse chronological order of some/all background checks done on this entity. Older checks may have been previously done by you or another institution, and if so, these will be listed and appropriately anonymised/obfuscated.
901
+ */
902
+ checkResultsListMedia?: Admin["backgroundCheckResultObjectContainer"][];
903
+ };
904
+ /**
905
+ * Contains the results of a check against an entity profile.
906
+ *
907
+ * The entityProfileResult will be returned instead of a checkSummary to provide the full details of the verification process.
908
+ */
909
+ EntityProfileResultObject: {
910
+ /**
911
+ * Unique ID for the entity.
912
+ */
913
+ latestCheckDate?: string;
914
+ entityId?: string;
915
+ checkId?: Admin["CheckIDObject"];
916
+ /**
917
+ * The name of the profile used for this check.
918
+ */
919
+ profileName?: string;
920
+ /**
921
+ * Comma separated list of checks required for the entity profile.
922
+ */
923
+ checkType?: string;
924
+ /**
925
+ * The basic result for each check type required for the profile.
926
+ *
927
+ * The results are listed in the order they are run so you can also see how far progressed through a check process you are.
928
+ */
929
+ checkResults?: Admin["EntityProfileCheckResultMessage"][];
930
+ /**
931
+ * The recommended onboarding action for this entity after the profile check this result refers to. The action can also be an entity state set by you.
932
+ * - UNCHECKED: New entity with no checks applied
933
+ * - PASS
934
+ * - FAIL
935
+ * - PASS_MANUAL: Manual intervention was applied to achieve a pass
936
+ * - FAIL_MANUAL: Manual intervention was applied but the entity still fails
937
+ * - REFER: Manual intervention required
938
+ * - WAIT: Externally applied state, waiting for more entity details
939
+ * - ARCHIVED: Externally applied state, entity hidden from on onboarding list
940
+ * - INACTIVE: Externally applied state, entity hidden from on onboarding list, indexes and further changes will be blocked.
941
+ */
942
+ actionRecommended?: string;
943
+ issueList?: string[];
944
+ /**
945
+ * Indicates if any manual actions have been involved in the check result.
946
+ */
947
+ manualIntervention?: boolean;
948
+ /**
949
+ * List of vendors from failed credit header sources.
950
+ */
951
+ creditHeaderFailures?: string[];
952
+ /**
953
+ * Risk level. One of:
954
+ * - LOW,
955
+ * - MEDIUM,
956
+ * - HIGH,
957
+ * - UACCEPTABLE
958
+ * - or UNKNOWN
959
+ */
960
+ riskLevel?: string;
961
+ /**
962
+ * Risk policy. Contents depend on account configuration but would typically be one of:
963
+ * - SDD,
964
+ * - CDD,
965
+ * - EDD
966
+ * - or FAIL
967
+ */
968
+ riskPolicy?: string;
969
+ /**
970
+ * Summary of KYC match counts.
971
+ */
972
+ kycResults?: Admin["EntityProfileKYCMatchResultObject"][];
973
+ /**
974
+ * KYC match counts fodocumentResultsr each checked document, whether matched or not. The keys in this map are the document IDs. The match type in the value will be either "gov_id" or "other_id". The resultant structure would look like:
975
+ *
976
+ * documentResults: {
977
+ * "documentId" : {
978
+ * "matchType": "gov_id",
979
+ * "matchCount": 5,
980
+ * "verified": true
981
+ * },
982
+ * "documentId": {
983
+ * "matchType": "other_id",
984
+ * "matchCount": 5,
985
+ * "verified": true
986
+ * }
987
+ * }
988
+ */
989
+ documentResults?: {
990
+ [key: string]: Admin["EntityProfileKYCMatchResultObjectMatchTypes"];
991
+ };
992
+ /**
993
+ * KYC match counts for each checked address, whether matched or not. The keys in this map are the address IDs. The match type in the value will be either "curr_addr" or "prev_addr". The resultant structure would look like:
994
+ *
995
+ * "addressResults": {
996
+ * "addressId": {
997
+ * "matchType": "curr_addr",
998
+ * "matchCount": 5,
999
+ * "verified": true
1000
+ * },
1001
+ * "addressId": {
1002
+ * "matchType": "prev_addr",
1003
+ * "matchCount": 5,
1004
+ * "verified": true
1005
+ * }
1006
+ * }
1007
+ */
1008
+ addressResults?: {
1009
+ [key: string]: Admin["EntityProfileKYCMatchResultObjectMatchTypes"];
1010
+ };
1011
+ alternativeKycResults?: Admin["EntityProfileAlternativeKYCMatchResultObject"][];
1012
+ };
1013
+ EntityProfileCheckResultMessage: {
1014
+ /**
1015
+ * A single check type that this result message applies to.
1016
+ */
1017
+ checkType?: string;
1018
+ /**
1019
+ * The current state of the check. One of:
1020
+ * - PASS
1021
+ * - FAIL
1022
+ * - UNCHECKED: Not attempted or service not available. For example AML not attempted if KYC fails.
1023
+ * - NA: Not required. For example Visa check when there is no visa document and your account configuration indicates the check can be skipped.
1024
+ */
1025
+ result?: string;
1026
+ /**
1027
+ * Short description of why not passed
1028
+ */
1029
+ message?: string;
1030
+ /**
1031
+ * Alphanumeric code that is unique for each failure message to simplify result processing and display. Values to be decided.
1032
+ */
1033
+ code?: string;
1034
+ };
1035
+ /**
1036
+ * Match summary for a single checked address or document
1037
+ */
1038
+ EntityProfileItemMatchResultObject: {
1039
+ /**
1040
+ * The match type that this count and result refer to. For document matches this will be "gov_id" or "other_id". For addresses ir will be "curr_addr" or "prev_addr" depending on the status of the address at the time of the check.
1041
+ */
1042
+ matchType?: string;
1043
+ /**
1044
+ * The number of distinct sources that matched this address or document
1045
+ */
1046
+ matchCount?: number;
1047
+ /**
1048
+ * True if there is at least one match
1049
+ */
1050
+ verified?: boolean;
1051
+ checked?: boolean;
1052
+ };
1053
+ /**
1054
+ * Summary of all KYC matches
1055
+ */
1056
+ matchType: {
1057
+ "matchCount": number;
1058
+ "checked": boolean;
1059
+ "verified": boolean;
1060
+ };
1061
+ /**
1062
+ * Summary of all KYC matches for different rulesets
1063
+ */
1064
+ EntityProfileAlternativeKYCMatchResultObject: {
1065
+ kycResults?: Admin["EntityProfileKYCMatchResultObject"][];
1066
+ /**
1067
+ * Name of the ruleset
1068
+ */
1069
+ name: string;
1070
+ /**
1071
+ * Order of the ruleset in ascending
1072
+ */
1073
+ order: number;
1074
+ /**
1075
+ * Overall KYC result of the ruleset
1076
+ */
1077
+ result: string;
1078
+ };
1079
+ EntityProfileKYCMatchResultObject: {
1080
+ /**
1081
+ * The match types that this overall count and result refer to. Currently one or more of: - name - address - dob - gender - gov_id - other_id These will be keys in a map whose values hold the values for the individual match types. The resultant structure would look like the following. Here dob has zero matches and is not verfied but it was check, so other than the checked flag the value object is simply empty. A completely empty object would imply that match type was not checked. \"matchTypes\": { \"address\": { \"matchCount\": 1, \"matchSources\": [ \"au-elec-roll\" ], \"checked\": true, \"verified\": true }, \"dob\": { \"checked\": true } } So for a one_plus KYC check there will be two EntityProfileKYCMatchResultObject records. One for 'name' and one for 'address, dob' (like the sample above).
1082
+ * The match types that this overall count and result refer to. Currently one or more of: - name - address - dob - gender - gov_id - other_id These will be keys in a map whose values hold the values for the individual match types. The resultant structure would look like the following. Here dob has zero matches and is not verfied but it was check, so other than the checked flag the value object is simply empty. A completely empty object would imply that match type was not checked. \"matchTypes\": { \"address\": { \"matchCount\": 1, \"matchSources\": [ \"au-elec-roll\" ], \"checked\": true, \"verified\": true }, \"dob\": { \"checked\": true } } So for a one_plus KYC check there will be two EntityProfileKYCMatchResultObject records. One for 'name' and one for 'address, dob' (like the sample above).
1083
+ * The match types that this overall count and result refer to. Currently one or more of: - name - address - dob - gender - gov_id - other_id These will be keys in a map whose values hold the values for the individual match types. The resultant structure would look like the following. Here dob has zero matches and is not verfied but it was check, so other than the checked flag the value object is simply empty. A completely empty object would imply that match type was not checked. \"matchTypes\": { \"address\": { \"matchCount\": 1, \"matchSources\": [ \"au-elec-roll\" ], \"checked\": true, \"verified\": true }, \"dob\": { \"checked\": true } } So for a one_plus KYC check there will be two EntityProfileKYCMatchResultObject records. One for 'name' and one for 'address, dob' (like the sample above).
1084
+ */
1085
+ 'matchTypes'?: {
1086
+ [key: string]: Admin['EntityProfileKYCMatchResultObjectMatchTypes'];
1087
+ };
1088
+ /**
1089
+ * Number of matches for this set of match types. In other words the sum of the matchCounts in the matchTypes map. Note that for match sets that include government ID (gov_id) this will not neccessaily be the count of matched sources.
1090
+ * Number of matches for this set of match types. In other words the sum of the matchCounts in the matchTypes map. Note that for match sets that include government ID (gov_id) this will not neccessaily be the count of matched sources.
1091
+ * Number of matches for this set of match types. In other words the sum of the matchCounts in the matchTypes map. Note that for match sets that include government ID (gov_id) this will not neccessaily be the count of matched sources.
1092
+ * Number of matches for this set of match types. In other words the sum of the matchCounts in the matchTypes map. Note that for match sets that include government ID (gov_id) this will not neccessaily be the count of matched sources.
1093
+ * Number of matches for this set of match types. In other words the sum of the matchCounts in the matchTypes map. Note that for match sets that include government ID (gov_id) this will not neccessaily be the count of matched sources.
1094
+ * Number of matches for this set of match types. In other words the sum of the matchCounts in the matchTypes map. Note that for match sets that include government ID (gov_id) this will not neccessaily be the count of matched sources.
1095
+ * Number of matches for this set of match types. In other words the sum of the matchCounts in the matchTypes map. Note that for match sets that include government ID (gov_id) this will not neccessaily be the count of matched sources.
1096
+ * Number of matches for this set of match types. In other words the sum of the matchCounts in the matchTypes map. Note that for match sets that include government ID (gov_id) this will not neccessaily be the count of matched sources.
1097
+ * Number of matches for this set of match types. In other words the sum of the matchCounts in the matchTypes map. Note that for match sets that include government ID (gov_id) this will not neccessaily be the count of matched sources.
1098
+ * Number of matches for this set of match types. In other words the sum of the matchCounts in the matchTypes map. Note that for match sets that include government ID (gov_id) this will not neccessaily be the count of matched sources.
1099
+ * Number of matches for this set of match types. In other words the sum of the matchCounts in the matchTypes map. Note that for match sets that include government ID (gov_id) this will not neccessaily be the count of matched sources.
1100
+ * Number of matches for this set of match types. In other words the sum of the matchCounts in the matchTypes map. Note that for match sets that include government ID (gov_id) this will not neccessaily be the count of matched sources.
1101
+ * Number of matches for this set of match types. In other words the sum of the matchCounts in the matchTypes map. Note that for match sets that include government ID (gov_id) this will not neccessaily be the count of matched sources.
1102
+ */
1103
+ 'matchCount'?: number;
1104
+ /**
1105
+ * Number of distinct matches (sources and/or matched government ID documents) required for this set of match types.
1106
+ * Number of distinct matches (sources and/or matched government ID documents) required for this set of match types.
1107
+ * Number of distinct matches (sources and/or matched government ID documents) required for this set of match types.
1108
+ * Number of distinct matches (sources and/or matched government ID documents) required for this set of match types.
1109
+ * Number of distinct matches (sources and/or matched government ID documents) required for this set of match types.
1110
+ */
1111
+ 'matchCountRequired'?: number;
1112
+ /**
1113
+ * True if there are enough matches to meet the requirement
1114
+ */
1115
+ 'verified'?: boolean;
1116
+ };
1117
+ EntityProfileKYCMatchResultObjectMatchTypes: {
1118
+ /**
1119
+ * Number of distinct matches for this match type. Note that for government ID (gov_id) this is the count of matched documents, not sources.
1120
+ */
1121
+ 'matchCount'?: number;
1122
+ /**
1123
+ * List of sources that matched. Note that the matchCount is not always a count of the matchSources. Particularly for gov_id, the count is the number of distinct documents matched, not the number of sources.
1124
+ */
1125
+ 'matchSources'?: Array<string>;
1126
+ /**
1127
+ * True if an attempt was made to verify
1128
+ */
1129
+ 'checked'?: boolean;
1130
+ /**
1131
+ * True if there is at least one match
1132
+ */
1133
+ 'verified'?: boolean;
1134
+ };
1135
+ /**
1136
+ * Raw data.
1137
+ */
1138
+ DocScanDetails: string;
1139
+ /**
1140
+ * Details of a case.
1141
+ */
1142
+ CaseRecord: {
1143
+ /**
1144
+ * Unique entity identifier.
1145
+ */
1146
+ entityId?: string;
1147
+ entityType?: Admin["enumEntityType"];
1148
+ /**
1149
+ * Name of the entity.
1150
+ */
1151
+ entityName?: string;
1152
+ /**
1153
+ * Portal user responsible for this case.
1154
+ */
1155
+ assignee?: string;
1156
+ /**
1157
+ * Set of key-value pairs that provide additional data. This is *not* the extra data from the entity.
1158
+ */
1159
+ extraData?: Admin["KeyValuePairObject"][];
1160
+ /**
1161
+ * Additional information flags with regards to this entity and for ongoing processing. This *is* the flag data from the entity.
1162
+ */
1163
+ entityFlags?: Admin["EntityFlagObject"][];
1164
+ createdRequestId?: Admin["RequestIDObject"];
1165
+ /**
1166
+ * The date and time the entity was created.
1167
+ */
1168
+ createdTimestamp?: string;
1169
+ deletedRequestId?: Admin["RequestIDObject"];
1170
+ /**
1171
+ * The date and time the entity was deleted.
1172
+ */
1173
+ deletedTimestamp?: string;
1174
+ updatedRequestId?: Admin["RequestIDObject"];
1175
+ /**
1176
+ * The date and time the entity was updated.
1177
+ */
1178
+ updatedTimestamp?: string;
1179
+ transactionRequestId?: Admin["RequestIDObject"];
1180
+ transactionParentRequestId?: Admin["RequestIDObject"];
1181
+ /**
1182
+ * Portal user responsible for this check.
1183
+ */
1184
+ transactionUsername?: string;
1185
+ /**
1186
+ * The date and time of the latest transaction.
1187
+ */
1188
+ transactionTimestamp?: string;
1189
+ transactionStatus?: Admin["enumTransactionStatusKYC"];
1190
+ /**
1191
+ * Only supplied in a summary result. Used to indicate the ovall risk score for the entity at this point in time.
1192
+ */
1193
+ riskLevel?: number;
1194
+ /**
1195
+ * Confidence in the result on a scale of 0 (no match) to 100 (strong/identical match). Whole integers only.
1196
+ */
1197
+ confidenceLevel?: number;
1198
+ /**
1199
+ * Comma-separated list of alerts associated with this monitoring alert.
1200
+ *
1201
+ * List of possible alerts supported:
1202
+ *
1203
+ * * PEP
1204
+ * * SANCTION
1205
+ * * WATCHLIST
1206
+ * * MEDIA
1207
+ * * DEATH
1208
+ * * CRIME
1209
+ * * BLACKLIST
1210
+ * * IDTHEFT
1211
+ */
1212
+ alertList?: string;
1213
+ checkSummary?: Admin["ProcessResultObject"];
1214
+ checkRisk?: Admin["ProcessResultObject"];
1215
+ };
1216
+ /**
1217
+ * A configuration item. Representing any type but will be an object (map) with one entry where the key is the item name that was requested and the value is the corresponding configuration.
1218
+ */
1219
+ ConfigItem: {
1220
+ [key: string]: object;
1221
+ };
1222
+ /**
1223
+ * A common pairing of a short code and a long description.
1224
+ */
1225
+ CodeDescription: {
1226
+ code?: string;
1227
+ description?: string;
1228
+ };
1229
+ /**
1230
+ * Describes a collection of shares of a particular type and their attributes,
1231
+ * One or more ShareStructures make up a company's shares that are then parcelled out as shareholdings.
1232
+ */
1233
+ ShareStructureObject: {
1234
+ status?: string;
1235
+ docNumber?: string;
1236
+ docNumberQualifier?: string;
1237
+ classCode?: string;
1238
+ classTitle?: string;
1239
+ sharesIssued?: number;
1240
+ amountPaid?: number;
1241
+ amountDue?: number;
1242
+ };
1243
+ /**
1244
+ * Organisation details for entities. Returned from an ASIC report.
1245
+ */
1246
+ OrganisationDataObject: {
1247
+ registeredName?: string;
1248
+ registration?: {
1249
+ state?: string;
1250
+ previousNumber?: string;
1251
+ date?: string;
1252
+ };
1253
+ type?: Admin["CodeDescription"];
1254
+ class?: Admin["CodeDescription"];
1255
+ subclass?: Admin["CodeDescription"];
1256
+ status?: Admin["CodeDescription"];
1257
+ shareStructure?: Admin["ShareStructureObject"][];
1258
+ disclosingEntityIndicator?: boolean;
1259
+ kycCustomerType?: string;
1260
+ includesNonBeneficiallyHeld?: boolean;
1261
+ lastCheckDate?: string;
1262
+ ownershipResolved?: boolean;
1263
+ adverseCreditDataPresent?: boolean;
1264
+ startDate?: string;
1265
+ };
1266
+ /**
1267
+ * Container object that holds authentication credentials. Really only used by code generators and not part of the actual API spec.
1268
+ */
1269
+ AuthCredentials: {
1270
+ /**
1271
+ * API key issued by Frankie Financial. Copied from the Header.
1272
+ */
1273
+ ApiKey?: string;
1274
+ /**
1275
+ * Tracking number used throughout this service.
1276
+ */
1277
+ RequestID?: string;
1278
+ /**
1279
+ * Will the function be backgrounded? Copied from Header.
1280
+ */
1281
+ Background?: boolean;
1282
+ /**
1283
+ * Customer ID issued by Frankie Financial. Copied from the Header.
1284
+ */
1285
+ CustomerID?: string;
1286
+ /**
1287
+ * Child ID belongs to the Customer. Still issued by Frankie Financial. Copied from the Header. api_key is tied to the combination of CustomerID + CustomerID
1288
+ */
1289
+ CustomerChildID?: string;
1290
+ /**
1291
+ * Copy of the X-Frankie-* fields that will be copied back to any reply to the customer.
1292
+ */
1293
+ ReturnFields?: string[];
1294
+ };
1295
+ }