@frankieone/one-sdk 0.3.1-alpha → 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.
- package/dist/cjs/modules/biometrics/constants.d.ts +2 -0
- package/dist/cjs/modules/biometrics/constants.js +5 -0
- package/dist/cjs/modules/biometrics/constants.js.map +1 -0
- package/dist/cjs/modules/biometrics/index.d.ts +4 -0
- package/dist/cjs/modules/biometrics/index.js +100 -0
- package/dist/cjs/modules/biometrics/index.js.map +1 -0
- package/dist/cjs/modules/biometrics/parseConfiguration.d.ts +4 -0
- package/dist/cjs/modules/biometrics/parseConfiguration.js +13 -0
- package/dist/cjs/modules/biometrics/parseConfiguration.js.map +1 -0
- package/dist/cjs/modules/biometrics/types/events.d.ts +30 -0
- package/dist/cjs/modules/biometrics/types/events.js +3 -0
- package/dist/cjs/modules/biometrics/types/events.js.map +1 -0
- package/dist/cjs/modules/biometrics/types/index.d.ts +3 -0
- package/dist/cjs/modules/biometrics/types/index.js +20 -0
- package/dist/cjs/modules/biometrics/types/index.js.map +1 -0
- package/dist/cjs/modules/biometrics/types/module.d.ts +8 -0
- package/dist/cjs/modules/biometrics/types/module.js +3 -0
- package/dist/cjs/modules/biometrics/types/module.js.map +1 -0
- package/dist/cjs/modules/biometrics/types/wrapper.d.ts +19 -0
- package/dist/cjs/modules/biometrics/types/wrapper.js +3 -0
- package/dist/cjs/modules/biometrics/types/wrapper.js.map +1 -0
- package/dist/cjs/modules/biometrics/wrappers/OcrLabs/index.d.ts +2 -0
- package/dist/cjs/modules/biometrics/wrappers/OcrLabs/index.js +262 -0
- package/dist/cjs/modules/biometrics/wrappers/OcrLabs/index.js.map +1 -0
- package/dist/cjs/modules/biometrics/wrappers/dummy-biometrics/green-tick-svg.d.ts +1 -0
- package/dist/cjs/modules/biometrics/wrappers/dummy-biometrics/green-tick-svg.js +7 -0
- package/dist/cjs/modules/biometrics/wrappers/dummy-biometrics/green-tick-svg.js.map +1 -0
- package/dist/cjs/modules/biometrics/wrappers/dummy-biometrics/index.d.ts +2 -0
- package/dist/cjs/modules/biometrics/wrappers/dummy-biometrics/index.js +102 -0
- package/dist/cjs/modules/biometrics/wrappers/dummy-biometrics/index.js.map +1 -0
- package/dist/cjs/modules/common/constants.d.ts +7 -0
- package/dist/cjs/modules/common/constants.js +12 -0
- package/dist/cjs/modules/common/constants.js.map +1 -0
- package/dist/cjs/modules/common/index.d.ts +10 -0
- package/dist/cjs/modules/common/index.js +27 -0
- package/dist/cjs/modules/common/index.js.map +1 -0
- package/dist/cjs/modules/common/modules/ReactiveStore.d.ts +74 -0
- package/dist/cjs/modules/common/modules/ReactiveStore.js +157 -0
- package/dist/cjs/modules/common/modules/ReactiveStore.js.map +1 -0
- package/dist/cjs/modules/common/modules/UnpersistedModel.d.ts +17 -0
- package/dist/cjs/modules/common/modules/UnpersistedModel.js +39 -0
- package/dist/cjs/modules/common/modules/UnpersistedModel.js.map +1 -0
- package/dist/cjs/modules/common/modules/base64.d.ts +11 -0
- package/dist/cjs/modules/common/modules/base64.js +52 -0
- package/dist/cjs/modules/common/modules/base64.js.map +1 -0
- package/dist/cjs/modules/common/modules/env2url.d.ts +10 -0
- package/dist/cjs/modules/common/modules/env2url.js +37 -0
- package/dist/cjs/modules/common/modules/env2url.js.map +1 -0
- package/dist/cjs/modules/common/modules/error.d.ts +3 -0
- package/dist/cjs/modules/common/modules/error.js +12 -0
- package/dist/cjs/modules/common/modules/error.js.map +1 -0
- package/dist/cjs/modules/common/modules/eventHub.d.ts +34 -0
- package/dist/cjs/modules/common/modules/eventHub.js +30 -0
- package/dist/cjs/modules/common/modules/eventHub.js.map +1 -0
- package/dist/cjs/modules/common/modules/loadAsyncAsset.d.ts +1 -0
- package/dist/cjs/modules/common/modules/loadAsyncAsset.js +16 -0
- package/dist/cjs/modules/common/modules/loadAsyncAsset.js.map +1 -0
- package/dist/cjs/modules/common/modules/merge.d.ts +1 -0
- package/dist/cjs/modules/common/modules/merge.js +9 -0
- package/dist/cjs/modules/common/modules/merge.js.map +1 -0
- package/dist/cjs/modules/common/modules/objectUtils.d.ts +15 -0
- package/dist/cjs/modules/common/modules/objectUtils.js +73 -0
- package/dist/cjs/modules/common/modules/objectUtils.js.map +1 -0
- package/dist/cjs/modules/common/modules/rxjsOperators.d.ts +1 -0
- package/dist/cjs/modules/common/modules/rxjsOperators.js +9 -0
- package/dist/cjs/modules/common/modules/rxjsOperators.js.map +1 -0
- package/dist/cjs/modules/common/shared/KvpList.d.ts +29 -0
- package/dist/cjs/modules/common/shared/KvpList.js +138 -0
- package/dist/cjs/modules/common/shared/KvpList.js.map +1 -0
- package/dist/cjs/modules/common/shared/data/aus_states.json +10 -0
- package/dist/cjs/modules/common/shared/data/country.json +14964 -0
- package/dist/cjs/modules/common/shared/models/Address.d.ts +67 -0
- package/dist/cjs/modules/common/shared/models/Address.js +160 -0
- package/dist/cjs/modules/common/shared/models/Address.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/Admin.d.ts +1295 -0
- package/dist/cjs/modules/common/shared/models/Admin.js +7 -0
- package/dist/cjs/modules/common/shared/models/Admin.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/AmlCheckResult.d.ts +77 -0
- package/dist/cjs/modules/common/shared/models/AmlCheckResult.js +50 -0
- package/dist/cjs/modules/common/shared/models/AmlCheckResult.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/AmlMatchDetails.d.ts +37 -0
- package/dist/cjs/modules/common/shared/models/AmlMatchDetails.js +23 -0
- package/dist/cjs/modules/common/shared/models/AmlMatchDetails.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/Applicant.d.ts +119 -0
- package/dist/cjs/modules/common/shared/models/Applicant.js +171 -0
- package/dist/cjs/modules/common/shared/models/Applicant.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/ApplicantSummary.d.ts +90 -0
- package/dist/cjs/modules/common/shared/models/ApplicantSummary.js +58 -0
- package/dist/cjs/modules/common/shared/models/ApplicantSummary.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/AssociatedParty.d.ts +42 -0
- package/dist/cjs/modules/common/shared/models/AssociatedParty.js +43 -0
- package/dist/cjs/modules/common/shared/models/AssociatedParty.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/AuditEntry.d.ts +81 -0
- package/dist/cjs/modules/common/shared/models/AuditEntry.js +114 -0
- package/dist/cjs/modules/common/shared/models/AuditEntry.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/AuditLogV2.d.ts +57 -0
- package/dist/cjs/modules/common/shared/models/AuditLogV2.js +82 -0
- package/dist/cjs/modules/common/shared/models/AuditLogV2.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/BiometryReport.d.ts +35 -0
- package/dist/cjs/modules/common/shared/models/BiometryReport.js +26 -0
- package/dist/cjs/modules/common/shared/models/BiometryReport.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/BlockListSummary.d.ts +46 -0
- package/dist/cjs/modules/common/shared/models/BlockListSummary.js +61 -0
- package/dist/cjs/modules/common/shared/models/BlockListSummary.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/Blueprint.d.ts +26 -0
- package/dist/cjs/modules/common/shared/models/Blueprint.js +3 -0
- package/dist/cjs/modules/common/shared/models/Blueprint.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/BusinessInfo.d.ts +32 -0
- package/dist/cjs/modules/common/shared/models/BusinessInfo.js +70 -0
- package/dist/cjs/modules/common/shared/models/BusinessInfo.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/CheckSummary.d.ts +190 -0
- package/dist/cjs/modules/common/shared/models/CheckSummary.js +241 -0
- package/dist/cjs/modules/common/shared/models/CheckSummary.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/Comment.d.ts +19 -0
- package/dist/cjs/modules/common/shared/models/Comment.js +23 -0
- package/dist/cjs/modules/common/shared/models/Comment.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/Core.d.ts +2898 -0
- package/dist/cjs/modules/common/shared/models/Core.js +7 -0
- package/dist/cjs/modules/common/shared/models/Core.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/Document.d.ts +123 -0
- package/dist/cjs/modules/common/shared/models/Document.js +147 -0
- package/dist/cjs/modules/common/shared/models/Document.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/Duplicate.d.ts +38 -0
- package/dist/cjs/modules/common/shared/models/Duplicate.js +30 -0
- package/dist/cjs/modules/common/shared/models/Duplicate.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/DynamicUIComponent.d.ts +52 -0
- package/dist/cjs/modules/common/shared/models/DynamicUIComponent.js +122 -0
- package/dist/cjs/modules/common/shared/models/DynamicUIComponent.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/Event.d.ts +16 -0
- package/dist/cjs/modules/common/shared/models/Event.js +22 -0
- package/dist/cjs/modules/common/shared/models/Event.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/EventFactory.d.ts +16 -0
- package/dist/cjs/modules/common/shared/models/EventFactory.js +15 -0
- package/dist/cjs/modules/common/shared/models/EventFactory.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/File.d.ts +24 -0
- package/dist/cjs/modules/common/shared/models/File.js +29 -0
- package/dist/cjs/modules/common/shared/models/File.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/FraudCheckResult.d.ts +10 -0
- package/dist/cjs/modules/common/shared/models/FraudCheckResult.js +19 -0
- package/dist/cjs/modules/common/shared/models/FraudCheckResult.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/FraudMatchDetail.d.ts +48 -0
- package/dist/cjs/modules/common/shared/models/FraudMatchDetail.js +45 -0
- package/dist/cjs/modules/common/shared/models/FraudMatchDetail.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/IChangeStamp.d.ts +11 -0
- package/dist/cjs/modules/common/shared/models/IChangeStamp.js +10 -0
- package/dist/cjs/modules/common/shared/models/IChangeStamp.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/KYCHostedFlow.d.ts +17 -0
- package/dist/cjs/modules/common/shared/models/KYCHostedFlow.js +24 -0
- package/dist/cjs/modules/common/shared/models/KYCHostedFlow.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/KvpList.d.ts +29 -0
- package/dist/cjs/modules/common/shared/models/KvpList.js +138 -0
- package/dist/cjs/modules/common/shared/models/KvpList.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/OCRDocumentDetail.d.ts +49 -0
- package/dist/cjs/modules/common/shared/models/OCRDocumentDetail.js +37 -0
- package/dist/cjs/modules/common/shared/models/OCRDocumentDetail.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/OCRReport.d.ts +20 -0
- package/dist/cjs/modules/common/shared/models/OCRReport.js +21 -0
- package/dist/cjs/modules/common/shared/models/OCRReport.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/Organisation.d.ts +36 -0
- package/dist/cjs/modules/common/shared/models/Organisation.js +55 -0
- package/dist/cjs/modules/common/shared/models/Organisation.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/OrganizationAnalytics.d.ts +14 -0
- package/dist/cjs/modules/common/shared/models/OrganizationAnalytics.js +153 -0
- package/dist/cjs/modules/common/shared/models/OrganizationAnalytics.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/PortalFeatureConfig.d.ts +79 -0
- package/dist/cjs/modules/common/shared/models/PortalFeatureConfig.js +87 -0
- package/dist/cjs/modules/common/shared/models/PortalFeatureConfig.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/Profile.d.ts +27 -0
- package/dist/cjs/modules/common/shared/models/Profile.js +103 -0
- package/dist/cjs/modules/common/shared/models/Profile.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/ReportAttributes.d.ts +21 -0
- package/dist/cjs/modules/common/shared/models/ReportAttributes.js +22 -0
- package/dist/cjs/modules/common/shared/models/ReportAttributes.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/RiskIndicator.d.ts +48 -0
- package/dist/cjs/modules/common/shared/models/RiskIndicator.js +35 -0
- package/dist/cjs/modules/common/shared/models/RiskIndicator.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/Session.d.ts +5 -0
- package/dist/cjs/modules/common/shared/models/Session.js +3 -0
- package/dist/cjs/modules/common/shared/models/Session.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/SupportingDocument.d.ts +96 -0
- package/dist/cjs/modules/common/shared/models/SupportingDocument.js +95 -0
- package/dist/cjs/modules/common/shared/models/SupportingDocument.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/TApplicantIssue.d.ts +12 -0
- package/dist/cjs/modules/common/shared/models/TApplicantIssue.js +3 -0
- package/dist/cjs/modules/common/shared/models/TApplicantIssue.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/TApplicantStatus.d.ts +7 -0
- package/dist/cjs/modules/common/shared/models/TApplicantStatus.js +3 -0
- package/dist/cjs/modules/common/shared/models/TApplicantStatus.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/TKycMethod.d.ts +1 -0
- package/dist/cjs/modules/common/shared/models/TKycMethod.js +3 -0
- package/dist/cjs/modules/common/shared/models/TKycMethod.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/TValidation.d.ts +6 -0
- package/dist/cjs/modules/common/shared/models/TValidation.js +3 -0
- package/dist/cjs/modules/common/shared/models/TValidation.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/TransactionDetails.d.ts +70 -0
- package/dist/cjs/modules/common/shared/models/TransactionDetails.js +59 -0
- package/dist/cjs/modules/common/shared/models/TransactionDetails.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/UBOData.d.ts +483 -0
- package/dist/cjs/modules/common/shared/models/UBOData.js +644 -0
- package/dist/cjs/modules/common/shared/models/UBOData.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/UIBlueprint.d.ts +33 -0
- package/dist/cjs/modules/common/shared/models/UIBlueprint.js +168 -0
- package/dist/cjs/modules/common/shared/models/UIBlueprint.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/User.d.ts +27 -0
- package/dist/cjs/modules/common/shared/models/User.js +3 -0
- package/dist/cjs/modules/common/shared/models/User.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/api.d.ts +124 -0
- package/dist/cjs/modules/common/shared/models/api.js +3 -0
- package/dist/cjs/modules/common/shared/models/api.js.map +1 -0
- package/dist/cjs/modules/common/shared/models/general.d.ts +31 -0
- package/dist/cjs/modules/common/shared/models/general.js +3 -0
- package/dist/cjs/modules/common/shared/models/general.js.map +1 -0
- package/dist/cjs/modules/common/shared/transformers/apiAlert.d.ts +4 -0
- package/dist/cjs/modules/common/shared/transformers/apiAlert.js +109 -0
- package/dist/cjs/modules/common/shared/transformers/apiAlert.js.map +1 -0
- package/dist/cjs/modules/common/shared/transformers/apiGetRiskLevel.d.ts +2 -0
- package/dist/cjs/modules/common/shared/transformers/apiGetRiskLevel.js +44 -0
- package/dist/cjs/modules/common/shared/transformers/apiGetRiskLevel.js.map +1 -0
- package/dist/cjs/modules/common/shared/transformers/apiState.d.ts +23 -0
- package/dist/cjs/modules/common/shared/transformers/apiState.js +105 -0
- package/dist/cjs/modules/common/shared/transformers/apiState.js.map +1 -0
- package/dist/cjs/modules/common/shared/transformers/index.d.ts +3 -0
- package/dist/cjs/modules/common/shared/transformers/index.js +20 -0
- package/dist/cjs/modules/common/shared/transformers/index.js.map +1 -0
- package/dist/cjs/modules/common/shared/utils/address.d.ts +2 -0
- package/dist/cjs/modules/common/shared/utils/address.js +25 -0
- package/dist/cjs/modules/common/shared/utils/address.js.map +1 -0
- package/dist/cjs/modules/common/shared/utils/base64.d.ts +11 -0
- package/dist/cjs/modules/common/shared/utils/base64.js +49 -0
- package/dist/cjs/modules/common/shared/utils/base64.js.map +1 -0
- package/dist/cjs/modules/common/shared/utils/buildCycleUtils.d.ts +1 -0
- package/dist/cjs/modules/common/shared/utils/buildCycleUtils.js +32 -0
- package/dist/cjs/modules/common/shared/utils/buildCycleUtils.js.map +1 -0
- package/dist/cjs/modules/common/shared/utils/constants.d.ts +75 -0
- package/dist/cjs/modules/common/shared/utils/constants.js +223 -0
- package/dist/cjs/modules/common/shared/utils/constants.js.map +1 -0
- package/dist/cjs/modules/common/shared/utils/date.d.ts +5 -0
- package/dist/cjs/modules/common/shared/utils/date.js +73 -0
- package/dist/cjs/modules/common/shared/utils/date.js.map +1 -0
- package/dist/cjs/modules/common/shared/utils/dotNotation.d.ts +4 -0
- package/dist/cjs/modules/common/shared/utils/dotNotation.js +16 -0
- package/dist/cjs/modules/common/shared/utils/dotNotation.js.map +1 -0
- package/dist/cjs/modules/common/shared/utils/getCountryDetails.d.ts +9 -0
- package/dist/cjs/modules/common/shared/utils/getCountryDetails.js +23 -0
- package/dist/cjs/modules/common/shared/utils/getCountryDetails.js.map +1 -0
- package/dist/cjs/modules/common/shared/utils/getDocumentDetails.d.ts +8 -0
- package/dist/cjs/modules/common/shared/utils/getDocumentDetails.js +10 -0
- package/dist/cjs/modules/common/shared/utils/getDocumentDetails.js.map +1 -0
- package/dist/cjs/modules/common/shared/utils/helper.d.ts +4 -0
- package/dist/cjs/modules/common/shared/utils/helper.js +38 -0
- package/dist/cjs/modules/common/shared/utils/helper.js.map +1 -0
- package/dist/cjs/modules/common/shared/utils/index.d.ts +11 -0
- package/dist/cjs/modules/common/shared/utils/index.js +41 -0
- package/dist/cjs/modules/common/shared/utils/index.js.map +1 -0
- package/dist/cjs/modules/common/shared/utils/isEmpty.d.ts +5 -0
- package/dist/cjs/modules/common/shared/utils/isEmpty.js +27 -0
- package/dist/cjs/modules/common/shared/utils/isEmpty.js.map +1 -0
- package/dist/cjs/modules/common/shared/utils/sanitiser.d.ts +7 -0
- package/dist/cjs/modules/common/shared/utils/sanitiser.js +31 -0
- package/dist/cjs/modules/common/shared/utils/sanitiser.js.map +1 -0
- package/dist/cjs/modules/common/shared/utils/string.d.ts +1 -0
- package/dist/cjs/modules/common/shared/utils/string.js +9 -0
- package/dist/cjs/modules/common/shared/utils/string.js.map +1 -0
- package/dist/cjs/modules/common/types/Accessors.d.ts +51 -0
- package/dist/cjs/modules/common/types/Accessors.js +3 -0
- package/dist/cjs/modules/common/types/Accessors.js.map +1 -0
- package/dist/cjs/modules/common/types/Configuration.d.ts +25 -0
- package/dist/cjs/modules/common/types/Configuration.js +3 -0
- package/dist/cjs/modules/common/types/Configuration.js.map +1 -0
- package/dist/cjs/modules/common/types/Object.d.ts +3 -0
- package/dist/cjs/modules/common/types/Object.js +3 -0
- package/dist/cjs/modules/common/types/Object.js.map +1 -0
- package/dist/cjs/modules/common/types/Session.d.ts +16 -0
- package/dist/cjs/modules/common/types/Session.js +6 -0
- package/dist/cjs/modules/common/types/Session.js.map +1 -0
- package/dist/cjs/modules/device/constants.d.ts +4 -0
- package/dist/cjs/modules/device/constants.js +7 -0
- package/dist/cjs/modules/device/constants.js.map +1 -0
- package/dist/cjs/modules/device/index.d.ts +4 -0
- package/dist/cjs/modules/device/index.js +125 -0
- package/dist/cjs/modules/device/index.js.map +1 -0
- package/dist/cjs/modules/device/parseConfiguration.d.ts +5 -0
- package/dist/cjs/modules/device/parseConfiguration.js +29 -0
- package/dist/cjs/modules/device/parseConfiguration.js.map +1 -0
- package/dist/cjs/modules/device/types/events.d.ts +31 -0
- package/dist/cjs/modules/device/types/events.js +3 -0
- package/dist/cjs/modules/device/types/events.js.map +1 -0
- package/dist/cjs/modules/device/types/index.d.ts +3 -0
- package/dist/cjs/modules/device/types/index.js +20 -0
- package/dist/cjs/modules/device/types/index.js.map +1 -0
- package/dist/cjs/modules/device/types/module.d.ts +12 -0
- package/dist/cjs/modules/device/types/module.js +3 -0
- package/dist/cjs/modules/device/types/module.js.map +1 -0
- package/dist/cjs/modules/device/types/wrapper.d.ts +33 -0
- package/dist/cjs/modules/device/types/wrapper.js +3 -0
- package/dist/cjs/modules/device/types/wrapper.js.map +1 -0
- package/dist/cjs/modules/device/vendors/Sardine.d.ts +25 -0
- package/dist/cjs/modules/device/vendors/Sardine.js +85 -0
- package/dist/cjs/modules/device/vendors/Sardine.js.map +1 -0
- package/dist/cjs/modules/device/vendors/Threatmetrix/index.d.ts +2 -0
- package/dist/cjs/modules/device/vendors/Threatmetrix/index.js +64 -0
- package/dist/cjs/modules/device/vendors/Threatmetrix/index.js.map +1 -0
- package/dist/cjs/modules/device/vendors/Threatmetrix/nolint_fp-clientlib-v4.d.ts +11 -0
- package/dist/cjs/modules/device/vendors/Threatmetrix/nolint_fp-clientlib-v4.js +90 -0
- package/dist/cjs/modules/device/vendors/Threatmetrix/nolint_fp-clientlib-v4.js.map +1 -0
- package/dist/cjs/modules/frankie-client/ClientsDictionary.d.ts +13 -0
- package/dist/cjs/modules/frankie-client/ClientsDictionary.js +3 -0
- package/dist/cjs/modules/frankie-client/ClientsDictionary.js.map +1 -0
- package/dist/cjs/modules/frankie-client/DummyFrankieApiClient.d.ts +48 -0
- package/dist/cjs/modules/frankie-client/DummyFrankieApiClient.js +197 -0
- package/dist/cjs/modules/frankie-client/DummyFrankieApiClient.js.map +1 -0
- package/dist/cjs/modules/frankie-client/FrankieApiClient.d.ts +32 -0
- package/dist/cjs/modules/frankie-client/FrankieApiClient.js +139 -0
- package/dist/cjs/modules/frankie-client/FrankieApiClient.js.map +1 -0
- package/dist/cjs/modules/frankie-client/clients/ApplicantClient.d.ts +24 -0
- package/dist/cjs/modules/frankie-client/clients/ApplicantClient.js +106 -0
- package/dist/cjs/modules/frankie-client/clients/ApplicantClient.js.map +1 -0
- package/dist/cjs/modules/frankie-client/clients/BaseClient.d.ts +10 -0
- package/dist/cjs/modules/frankie-client/clients/BaseClient.js +20 -0
- package/dist/cjs/modules/frankie-client/clients/BaseClient.js.map +1 -0
- package/dist/cjs/modules/frankie-client/clients/ConfigurationClient.d.ts +10 -0
- package/dist/cjs/modules/frankie-client/clients/ConfigurationClient.js +34 -0
- package/dist/cjs/modules/frankie-client/clients/ConfigurationClient.js.map +1 -0
- package/dist/cjs/modules/frankie-client/clients/IDVClient.d.ts +21 -0
- package/dist/cjs/modules/frankie-client/clients/IDVClient.js +27 -0
- package/dist/cjs/modules/frankie-client/clients/IDVClient.js.map +1 -0
- package/dist/cjs/modules/frankie-client/clients/OCRClient.d.ts +31 -0
- package/dist/cjs/modules/frankie-client/clients/OCRClient.js +121 -0
- package/dist/cjs/modules/frankie-client/clients/OCRClient.js.map +1 -0
- package/dist/cjs/modules/frankie-client/index.d.ts +9 -0
- package/dist/cjs/modules/frankie-client/index.js +56 -0
- package/dist/cjs/modules/frankie-client/index.js.map +1 -0
- package/dist/cjs/modules/frankie-client/mocks/biometrics/idvSubmission.d.ts +4 -0
- package/dist/cjs/modules/frankie-client/mocks/biometrics/idvSubmission.js +43 -0
- package/dist/cjs/modules/frankie-client/mocks/biometrics/idvSubmission.js.map +1 -0
- package/dist/cjs/modules/frankie-client/mocks/index.d.ts +8 -0
- package/dist/cjs/modules/frankie-client/mocks/index.js +34 -0
- package/dist/cjs/modules/frankie-client/mocks/index.js.map +1 -0
- package/dist/cjs/modules/frankie-client/mocks/individual/loadIndividual.d.ts +28 -0
- package/dist/cjs/modules/frankie-client/mocks/individual/loadIndividual.js +73 -0
- package/dist/cjs/modules/frankie-client/mocks/individual/loadIndividual.js.map +1 -0
- package/dist/cjs/modules/frankie-client/mocks/individual/submitData.d.ts +3 -0
- package/dist/cjs/modules/frankie-client/mocks/individual/submitData.js +33 -0
- package/dist/cjs/modules/frankie-client/mocks/individual/submitData.js.map +1 -0
- package/dist/cjs/modules/frankie-client/mocks/initialisation/loadConfiguration.d.ts +2 -0
- package/dist/cjs/modules/frankie-client/mocks/initialisation/loadConfiguration.js +26 -0
- package/dist/cjs/modules/frankie-client/mocks/initialisation/loadConfiguration.js.map +1 -0
- package/dist/cjs/modules/frankie-client/mocks/initialisation/validateToken.d.ts +2 -0
- package/dist/cjs/modules/frankie-client/mocks/initialisation/validateToken.js +12 -0
- package/dist/cjs/modules/frankie-client/mocks/initialisation/validateToken.js.map +1 -0
- package/dist/cjs/modules/frankie-client/mocks/ocr/ocrSubmission.d.ts +23 -0
- package/dist/cjs/modules/frankie-client/mocks/ocr/ocrSubmission.js +129 -0
- package/dist/cjs/modules/frankie-client/mocks/ocr/ocrSubmission.js.map +1 -0
- package/dist/cjs/modules/frankie-client/mocks/simplifier.d.ts +28 -0
- package/dist/cjs/modules/frankie-client/mocks/simplifier.js +214 -0
- package/dist/cjs/modules/frankie-client/mocks/simplifier.js.map +1 -0
- package/dist/cjs/modules/index.d.ts +24 -0
- package/dist/cjs/modules/index.js +44 -0
- package/dist/cjs/modules/index.js.map +1 -0
- package/dist/cjs/modules/individual/actions/consents.d.ts +4 -0
- package/dist/cjs/modules/individual/actions/consents.js +11 -0
- package/dist/cjs/modules/individual/actions/consents.js.map +1 -0
- package/dist/cjs/modules/individual/actions/documents.d.ts +9 -0
- package/dist/cjs/modules/individual/actions/documents.js +26 -0
- package/dist/cjs/modules/individual/actions/documents.js.map +1 -0
- package/dist/cjs/modules/individual/actions/emitEvents.d.ts +6 -0
- package/dist/cjs/modules/individual/actions/emitEvents.js +11 -0
- package/dist/cjs/modules/individual/actions/emitEvents.js.map +1 -0
- package/dist/cjs/modules/individual/actions/search.d.ts +17 -0
- package/dist/cjs/modules/individual/actions/search.js +57 -0
- package/dist/cjs/modules/individual/actions/search.js.map +1 -0
- package/dist/cjs/modules/individual/actions/submit.d.ts +15 -0
- package/dist/cjs/modules/individual/actions/submit.js +41 -0
- package/dist/cjs/modules/individual/actions/submit.js.map +1 -0
- package/dist/cjs/modules/individual/index.d.ts +2 -0
- package/dist/cjs/modules/individual/index.js +77 -0
- package/dist/cjs/modules/individual/index.js.map +1 -0
- package/dist/cjs/modules/individual/types/events.d.ts +7 -0
- package/dist/cjs/modules/individual/types/events.js +3 -0
- package/dist/cjs/modules/individual/types/events.js.map +1 -0
- package/dist/cjs/modules/individual/types/index.d.ts +2 -0
- package/dist/cjs/modules/individual/types/index.js +19 -0
- package/dist/cjs/modules/individual/types/index.js.map +1 -0
- package/dist/cjs/modules/individual/types/module.d.ts +31 -0
- package/dist/cjs/modules/individual/types/module.js +3 -0
- package/dist/cjs/modules/individual/types/module.js.map +1 -0
- package/dist/cjs/modules/ocr/actions/start.d.ts +52 -0
- package/dist/cjs/modules/ocr/actions/start.js +278 -0
- package/dist/cjs/modules/ocr/actions/start.js.map +1 -0
- package/dist/cjs/modules/ocr/index.d.ts +13 -0
- package/dist/cjs/modules/ocr/index.js +66 -0
- package/dist/cjs/modules/ocr/index.js.map +1 -0
- package/dist/cjs/modules/ocr/types/events.d.ts +21 -0
- package/dist/cjs/modules/ocr/types/events.js +3 -0
- package/dist/cjs/modules/ocr/types/events.js.map +1 -0
- package/dist/cjs/modules/ocr/types/index.d.ts +2 -0
- package/dist/cjs/modules/ocr/types/index.js +19 -0
- package/dist/cjs/modules/ocr/types/index.js.map +1 -0
- package/dist/cjs/modules/ocr/types/module.d.ts +26 -0
- package/dist/cjs/modules/ocr/types/module.js +3 -0
- package/dist/cjs/modules/ocr/types/module.js.map +1 -0
- package/dist/cjs/modules/sdk/ComponentLoader.d.ts +18 -0
- package/dist/cjs/modules/sdk/ComponentLoader.js +71 -0
- package/dist/cjs/modules/sdk/ComponentLoader.js.map +1 -0
- package/dist/cjs/modules/sdk/index.d.ts +3 -0
- package/dist/cjs/modules/sdk/index.js +33 -0
- package/dist/cjs/modules/sdk/index.js.map +1 -0
- package/dist/cjs/modules/sdk/parseConfiguration.d.ts +3 -0
- package/dist/cjs/modules/sdk/parseConfiguration.js +97 -0
- package/dist/cjs/modules/sdk/parseConfiguration.js.map +1 -0
- package/dist/cjs/modules/sdk/types/components.d.ts +25 -0
- package/dist/cjs/modules/sdk/types/components.js +3 -0
- package/dist/cjs/modules/sdk/types/components.js.map +1 -0
- package/dist/cjs/modules/sdk/types/configuration.d.ts +82 -0
- package/dist/cjs/modules/sdk/types/configuration.js +41 -0
- package/dist/cjs/modules/sdk/types/configuration.js.map +1 -0
- package/dist/cjs/modules/sdk/types/events.d.ts +5 -0
- package/dist/cjs/modules/sdk/types/events.js +3 -0
- package/dist/cjs/modules/sdk/types/events.js.map +1 -0
- package/dist/cjs/modules/sdk/types/index.d.ts +4 -0
- package/dist/cjs/modules/sdk/types/index.js +21 -0
- package/dist/cjs/modules/sdk/types/index.js.map +1 -0
- package/dist/cjs/modules/sdk/types/module.d.ts +16 -0
- package/dist/cjs/modules/sdk/types/module.js +3 -0
- package/dist/cjs/modules/sdk/types/module.js.map +1 -0
- package/dist/cjs/types/Primitives.d.ts +1 -0
- package/dist/cjs/types/Primitives.js +3 -0
- package/dist/cjs/types/Primitives.js.map +1 -0
- package/dist/cjs/types/Utilities.d.ts +25 -0
- package/dist/cjs/types/Utilities.js +3 -0
- package/dist/cjs/types/Utilities.js.map +1 -0
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/index.js +19 -0
- package/dist/cjs/types/index.js.map +1 -0
- package/dist/commit.txt +1 -1
- package/dist/esm/modules/biometrics/types/events.d.ts +1 -2
- package/dist/esm/modules/biometrics/wrappers/OcrLabs/index.js +16 -20
- package/dist/esm/modules/biometrics/wrappers/OcrLabs/index.js.map +1 -1
- package/dist/esm/modules/biometrics/wrappers/dummy-biometrics/index.js +0 -1
- package/dist/esm/modules/biometrics/wrappers/dummy-biometrics/index.js.map +1 -1
- package/dist/esm/modules/common/modules/ReactiveStore.d.ts +52 -7
- package/dist/esm/modules/common/modules/ReactiveStore.js +62 -8
- package/dist/esm/modules/common/modules/ReactiveStore.js.map +1 -1
- package/dist/esm/modules/common/modules/objectUtils.js +1 -1
- package/dist/esm/modules/common/modules/objectUtils.js.map +1 -1
- package/dist/esm/modules/common/shared/data/country.json +1536 -6164
- package/dist/esm/modules/common/shared/models/UBOData.d.ts +2 -4
- package/dist/esm/modules/common/shared/models/UBOData.js.map +1 -1
- package/dist/esm/modules/common/shared/utils/getCountryDetails.js.map +1 -1
- package/dist/esm/modules/common/types/Accessors.d.ts +35 -3
- package/dist/esm/modules/common/types/Configuration.d.ts +2 -1
- package/dist/esm/modules/device/constants.d.ts +1 -1
- package/dist/esm/modules/device/constants.js +1 -1
- package/dist/esm/modules/device/constants.js.map +1 -1
- package/dist/esm/modules/device/index.js +18 -23
- package/dist/esm/modules/device/index.js.map +1 -1
- package/dist/esm/modules/device/parseConfiguration.js +21 -5
- package/dist/esm/modules/device/parseConfiguration.js.map +1 -1
- package/dist/esm/modules/device/types/events.d.ts +2 -2
- package/dist/esm/modules/device/types/module.d.ts +2 -4
- package/dist/esm/modules/device/types/wrapper.d.ts +2 -1
- package/dist/esm/modules/device/vendors/Sardine.d.ts +7 -1
- package/dist/esm/modules/device/vendors/Sardine.js +13 -9
- package/dist/esm/modules/device/vendors/Sardine.js.map +1 -1
- package/dist/esm/modules/device/vendors/Threatmetrix/index.js +2 -1
- package/dist/esm/modules/device/vendors/Threatmetrix/index.js.map +1 -1
- package/dist/esm/modules/frankie-client/mocks/individual/loadIndividual.d.ts +2 -2
- package/dist/esm/modules/individual/actions/emitEvents.d.ts +3 -3
- package/dist/esm/modules/individual/actions/emitEvents.js.map +1 -1
- package/dist/esm/modules/individual/types/module.d.ts +1 -1
- package/dist/esm/modules/ocr/types/module.d.ts +1 -1
- package/dist/esm/modules/sdk/types/components.d.ts +2 -2
- package/dist/esm/modules/sdk/types/configuration.d.ts +4 -3
- package/dist/esm/types/Primitives.d.ts +1 -0
- package/dist/esm/types/Primitives.js +2 -0
- package/dist/esm/types/Primitives.js.map +1 -0
- package/dist/esm/types/Utilities.d.ts +19 -1
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/esm/types/index.js +1 -0
- package/dist/esm/types/index.js.map +1 -1
- package/dist/umd/727.js.map +1 -1
- package/dist/umd/biometrics-dummy.js +1 -1
- package/dist/umd/biometrics-dummy.js.map +1 -1
- package/dist/umd/biometrics-ocrlabs.js +1 -1
- package/dist/umd/biometrics-ocrlabs.js.map +1 -1
- package/dist/umd/device-sardine.js +1 -1
- package/dist/umd/device-sardine.js.map +1 -1
- package/dist/umd/device-threatmetrix.js +1 -1
- package/dist/umd/device-threatmetrix.js.map +1 -1
- package/dist/umd/oneSdk.umd.js +1 -1
- package/dist/umd/oneSdk.umd.js.LICENSE.txt +0 -2
- package/dist/umd/oneSdk.umd.js.map +1 -1
- package/package.json +35 -12
- package/dist/esm/modules/common/shared/models/ConfigurationWrapper.d.ts +0 -15
- package/dist/esm/modules/common/shared/models/ConfigurationWrapper.js +0 -44
- package/dist/esm/modules/common/shared/models/ConfigurationWrapper.js.map +0 -1
|
@@ -0,0 +1,2898 @@
|
|
|
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 Core {
|
|
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
|
+
* - "BANK_ACCOUNT": Bank account
|
|
28
|
+
* - "INTENT_PROOF": A proof of intent. Generally a photo/video, or a scanned letter
|
|
29
|
+
* - "ATTESTATION": A document of attestation (e.g. Statutory Declaration)
|
|
30
|
+
* - "SELF_IMAGE": A "selfie" used for comparisions
|
|
31
|
+
* - "EMAIL_ADDRESS": An email address
|
|
32
|
+
* - "MSISDN": A mobile phone number
|
|
33
|
+
* - "DEVICE": A device ID
|
|
34
|
+
* - "VEHICLE_REGISTRATION": Vehicle registration number
|
|
35
|
+
* Business related documentation
|
|
36
|
+
* - "EXTERNAL_ADMIN": Details of appointed administrator.
|
|
37
|
+
* - "CHARGES": Details of any charges that have been laid against a company or director
|
|
38
|
+
* - "PRE_ASIC": Any documents that are Pre-ASIC
|
|
39
|
+
* - "ANNUAL_RETURN": Details of a company's annual return
|
|
40
|
+
* - "REPORT": Frankie generated report.
|
|
41
|
+
* Special document types
|
|
42
|
+
* - "CHECK_RESULTS": A special document type for specifying results of checks completed other than through Frankie.
|
|
43
|
+
*/
|
|
44
|
+
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" | "BANK_ACCOUNT" | "INTENT_PROOF" | "ATTESTATION" | "SELF_IMAGE" | "EMAIL_ADDRESS" | "MSISDN" | "DEVICE" | "VEHICLE_REGISTRATION" | "EXTERNAL_ADMIN" | "CHARGES" | "PRE_ASIC" | "ANNUAL_RETURN" | "REPORT" | "CHECK_RESULTS" | "PROOF_OF_ADDRESS" | "TRUST_DEED" | "PARTNERSHIP_AGREEMENT" | "ADMIN_CHANGE" | "COMPANY_REPORT" | "RENTAL_AGREEMENT" | "TAX_STATEMENT" | "HOUSE_REGISTRATION" | "YELLOW_HOUSE_REGISTRATION" | "WORK_PERMIT" | "EMPLOYMENT_CERTIFICATE" | "NOTARY_PUBLIC_ID";
|
|
45
|
+
/**
|
|
46
|
+
* Used to describe the contents of the KVP data.
|
|
47
|
+
*
|
|
48
|
+
* The general.* and raw.* types are pretty much what they say on the tin.
|
|
49
|
+
*
|
|
50
|
+
* 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.
|
|
51
|
+
*
|
|
52
|
+
* 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.
|
|
53
|
+
*
|
|
54
|
+
* id.external can be used to capture an object's ID on an external service, and can potentially be searchable in the index
|
|
55
|
+
* Note - This is different from a result.id.
|
|
56
|
+
*
|
|
57
|
+
* defunct is used to mark an existing KVP deleted when the value must be retained, for example for audit purposes.
|
|
58
|
+
*
|
|
59
|
+
* result.* are used to capture response codes and transaction IDs from external services
|
|
60
|
+
*
|
|
61
|
+
* error.* types can be used when processing a document that returns an error, but doesn't necessarily require a full blown error response.
|
|
62
|
+
*/
|
|
63
|
+
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" | "transient.string";
|
|
64
|
+
/**
|
|
65
|
+
* Valid ID document scan general types.
|
|
66
|
+
* - "PHOTO": Any photo
|
|
67
|
+
* - "VIDEO": Any video
|
|
68
|
+
* - "AUDIO": Any audio
|
|
69
|
+
* - "PDF": PDF or PS (may contain text, images or both)
|
|
70
|
+
* - "DOC": Word doc, RTF, etc
|
|
71
|
+
* - "ZIP": Any compressed file(s)
|
|
72
|
+
*/
|
|
73
|
+
enumScanType: "PHOTO" | "VIDEO" | "AUDIO" | "PDF" | "DOC" | "ZIP";
|
|
74
|
+
/**
|
|
75
|
+
* Describes if a scan is of the "F"ront or "B"ack of an ID. If not supplied, Front is always assumed.
|
|
76
|
+
*/
|
|
77
|
+
enumScanSide: "F" | "B";
|
|
78
|
+
/**
|
|
79
|
+
* Used to indicate of the entity in question is:
|
|
80
|
+
* - "M"ale
|
|
81
|
+
* - "F"emale
|
|
82
|
+
* - "U"nspecified
|
|
83
|
+
* - "O"ther (for want of a better option)
|
|
84
|
+
*/
|
|
85
|
+
enumGender: "U" | "F" | "M" | "O";
|
|
86
|
+
/**
|
|
87
|
+
* Used to indicate marital status of the Applicant
|
|
88
|
+
* - Single
|
|
89
|
+
* - Married
|
|
90
|
+
* - Widowed
|
|
91
|
+
* - Divorced
|
|
92
|
+
*/
|
|
93
|
+
enumMaritalStatus: "Single" | "Married" | "Widowed" | "Divorced";
|
|
94
|
+
/**
|
|
95
|
+
* The standard MIME type of the file being uploaded. We'll double-check to be certain, but this can help speed things up
|
|
96
|
+
*/
|
|
97
|
+
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";
|
|
98
|
+
/**
|
|
99
|
+
* The reason why the scanData in a response is missing.
|
|
100
|
+
* - "NORMAL": The scanData was retrieved and is included. If it is empty then it was never provided or was provided empty.
|
|
101
|
+
* - "EXCLUDED": The retrieval request was not for 'full' data, or the object has 'ScanDelete' set so the scanData is not included
|
|
102
|
+
* - "FAILED": The scanData could not be retrieved from the secure document store.
|
|
103
|
+
*
|
|
104
|
+
* 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.
|
|
105
|
+
*/
|
|
106
|
+
enumScanDataRetrievalState: "NORMAL" | "EXCLUDED" | "FAILED";
|
|
107
|
+
/**
|
|
108
|
+
* Used to indicate what sort address this is, such as residential, business, postal, etc.
|
|
109
|
+
*
|
|
110
|
+
* RESIDENTIAL1-4 can be used to indicate the reverse chronological order of addresses.
|
|
111
|
+
* RESIDENTIAL or RESIDENTIAL1 is the current address
|
|
112
|
+
* RESIDENTIAL2 is the previous address, and so on.
|
|
113
|
+
*
|
|
114
|
+
* For Individual postal/mailing addresses, use POSTAL.
|
|
115
|
+
* For Businesses, use OFFICIAL_CORRESPONDANCE
|
|
116
|
+
*/
|
|
117
|
+
enumAddressType: "OTHER" | "RESIDENTIAL" | "RESIDENTIAL1" | "RESIDENTIAL2" | "RESIDENTIAL3" | "RESIDENTIAL4" | "BUSINESS" | "POSTAL" | "REGISTERED_OFFICE" | "PLACE_OF_BUSINESS" | "PLACE_OF_BIRTH" | "OFFICIAL_CORRESPONDANCE";
|
|
118
|
+
/**
|
|
119
|
+
* Current status of a document.
|
|
120
|
+
* - "INITIALISING": the state whilst you're uploading and updating
|
|
121
|
+
* - "SCAN_IN_PROGRESS": the state whilst it's being scanned.
|
|
122
|
+
* - "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.
|
|
123
|
+
* - "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.
|
|
124
|
+
*/
|
|
125
|
+
enumDocumentStatus: "INITIALISING" | "SCAN_IN_PROGRESS" | "DOC_SCANNED" | "DOC_CHECKED";
|
|
126
|
+
/**
|
|
127
|
+
* Check state for an individual data point
|
|
128
|
+
* - "UNCHECKED": Check has not yet been performed
|
|
129
|
+
* - "NOT_SUPPORTED": the requested check type or industry function is not supported by this connector.
|
|
130
|
+
* - "CHECKING": Checks are underway.
|
|
131
|
+
* - "UNPROCESSABLE": The data supplied was unprocessable.
|
|
132
|
+
* - "NO_MATCH": All checks complete, no records found that matched the details supplied
|
|
133
|
+
* - "CHECKED_PARTIAL_SUCCESS": All checks complete, but only some succeeded.
|
|
134
|
+
* - "CHECKED_SUCCESS_WITH_NOTES": All checks complete, but there are some notes (e.g. PEP or sanctions).
|
|
135
|
+
* - "CHECKED_SUCCESS_CLEAR": All checks complete, no additional notes
|
|
136
|
+
* - "CHECKED_FAILED": All checks complete, but all failed.
|
|
137
|
+
*/
|
|
138
|
+
enumCheckResultState: "UNCHECKED" | "CHECKING" | "UNPROCESSABLE" | "NOT_SUPPORTED" | "NO_MATCH" | "CHECKED_PARTIAL_SUCCESS" | "CHECKED_SUCCESS_WITH_NOTES" | "CHECKED_SUCCESS_CLEAR" | "CHECKED_FAILED";
|
|
139
|
+
/**
|
|
140
|
+
* Different types of checks available.
|
|
141
|
+
* 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.
|
|
142
|
+
*/
|
|
143
|
+
enumBackgroundCheckType: "PEP" | "SANCTION" | "WATCHLIST" | "MEDIA" | "GROUP";
|
|
144
|
+
/**
|
|
145
|
+
* Current state, based on the most recent check.
|
|
146
|
+
* - "CLEAR": The no checks have ever turned up results
|
|
147
|
+
* - "PAST_HITS": Past checks have returned hits, but now they're clear.
|
|
148
|
+
* - "POSSIBLE_HIT": The most recent checks turned up some results that may be relevant
|
|
149
|
+
* - "ACTIVE_HITS": The current checks are returning definitive hits.
|
|
150
|
+
*/
|
|
151
|
+
enumBackgroundCheckState: "CLEAR" | "PAST_HITS" | "POSSIBLE_HIT" | "ACTIVE_HITS";
|
|
152
|
+
/**
|
|
153
|
+
* How often these checks run.
|
|
154
|
+
*/
|
|
155
|
+
enumBackgroundCheckFrequency: "ADHOC" | "YEARLY" | "QUARTERLY" | "MONTHY" | "WEEKLY" | "DAILY";
|
|
156
|
+
/**
|
|
157
|
+
* Defines how close a match we were able to make based on search results.
|
|
158
|
+
* - "LOW": The item does match the minimum criteria given, but is potentially one of a number of possible hits
|
|
159
|
+
* - "MEDIUM": The item matches multiple search criteria, but there is still some potential ambiguity with other hits
|
|
160
|
+
* - "HIGH": Matches all given search criteria, but there were other potential hits
|
|
161
|
+
* - "DEFINITE": Was the only item to match all given search criteria.
|
|
162
|
+
*/
|
|
163
|
+
enumSearchResultConfidence: "LOW" | "MEDIUM" | "HIGH" | "DEFINITE";
|
|
164
|
+
/**
|
|
165
|
+
* High level indication of the final disposition of a backgrounded function
|
|
166
|
+
* - "COMPLETED": the request completed (not that the final result is a success, just that we completed)
|
|
167
|
+
* - "FAILED": the request failed.
|
|
168
|
+
* - "INCOMPLETE": could not complete the request.
|
|
169
|
+
*/
|
|
170
|
+
enumFunctionStatus: "COMPLETED" | "FAILED" | "INCOMPLETE";
|
|
171
|
+
/**
|
|
172
|
+
* Indicates the type of notification being pushed.
|
|
173
|
+
* - "FUNCTION": A request that you previously backgrounded has completed and this is the notification that is it complete (success is another matter)
|
|
174
|
+
* - "RESULT": Like the FUNCTION notification, this tells you that a previously backgrounded request has completed, and that there is a set of results in the payload pointer.
|
|
175
|
+
* - "EVENT": There has been a stateful change in a document, entity or some other piece of data that we are holding/monitoring for you. This is an indication that you may wish to take some action.
|
|
176
|
+
* - "ALERT": Like the EVENT, except that the severity of the notification indicates that action is almost certainly required.
|
|
177
|
+
*/
|
|
178
|
+
enumNotificationType: "FUNCTION" | "RESULT" | "EVENT" | "ALERT";
|
|
179
|
+
/**
|
|
180
|
+
* Indicates the status of a check result as set by a user.
|
|
181
|
+
* - "UNKNOWN": The user has not decided so the actual check result applies as normal.
|
|
182
|
+
* - "TRUE_POSITIVE": The check result has been acknowledged as correct but the final effect (accept/reject) has not been decided.
|
|
183
|
+
* - "TRUE_POSITIVE_ACCEPT": The check result is correct but will be ignored. This is also known as 'whitelisting'
|
|
184
|
+
* - "TRUE_POSITIVE_REJECT": The check result is correct and will be used.
|
|
185
|
+
* - "FALSE_POSITIVE": The check result is not applicable and will be ignored.
|
|
186
|
+
* - "STALE": The check result will become invisible, will not be considered
|
|
187
|
+
* and will not count towards due diligence requirements.
|
|
188
|
+
*/
|
|
189
|
+
enumCheckResultManualStatus: "UNKNOWN" | "TRUE_POSITIVE" | "TRUE_POSITIVE_ACCEPT" | "TRUE_POSITIVE_REJECT" | "FALSE_POSITIVE" | "STALE";
|
|
190
|
+
/**
|
|
191
|
+
* Indicates the type of an entity.
|
|
192
|
+
* - "INDIVIDUAL": An individual.
|
|
193
|
+
* - "TRUST": A trust.
|
|
194
|
+
* - "ORGANISATION": An organisation.
|
|
195
|
+
*/
|
|
196
|
+
enumEntityType: "INDIVIDUAL" | "TRUST" | "ORGANISATION";
|
|
197
|
+
/**
|
|
198
|
+
Enum of risk assessment groupings, e.g. customer, device, transaction, AML, PEP as determined by the risk checking service
|
|
199
|
+
- CUSTOMER
|
|
200
|
+
- DEVICE
|
|
201
|
+
- TRANSACTION
|
|
202
|
+
- AML
|
|
203
|
+
- FRAUD
|
|
204
|
+
*/
|
|
205
|
+
enumRiskResultType: "CUSTOMER" | "DEVICE" | "TRANSACTION" | "AML" | "FRAUD";
|
|
206
|
+
/**
|
|
207
|
+
An enumerated list of risk as determined by the checking service
|
|
208
|
+
- NONE
|
|
209
|
+
- LOW
|
|
210
|
+
- MEDIUM
|
|
211
|
+
- HIGH
|
|
212
|
+
- VERY_HIGH
|
|
213
|
+
*/
|
|
214
|
+
enumRiskLevelType: "NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH";
|
|
215
|
+
/**
|
|
216
|
+
The type of payment that the transaction used
|
|
217
|
+
- CARD
|
|
218
|
+
- BANK
|
|
219
|
+
- WIRE
|
|
220
|
+
- CRYPTO
|
|
221
|
+
- OTHER
|
|
222
|
+
*/
|
|
223
|
+
enumPaymentType: "CARD" | "BANK" | "WIRE" | "CRYPTO" | "OTHER";
|
|
224
|
+
/**
|
|
225
|
+
Type of the Activity that has occurred
|
|
226
|
+
- REGISTRATION
|
|
227
|
+
- LOGIN
|
|
228
|
+
- FIAT_WITHDRAWAL
|
|
229
|
+
- FIAT_DEPOSIT
|
|
230
|
+
- CRYPTO_WITHDRAWAL
|
|
231
|
+
- CRYPTO_DEPOSIT
|
|
232
|
+
*/
|
|
233
|
+
enumActivityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
|
|
234
|
+
/**
|
|
235
|
+
Enum of risk assessment groupings, e.g. customer, device, transaction, AML, PEP as determined by the risk checking service
|
|
236
|
+
*/
|
|
237
|
+
enumIssueType: "CUSTOMER" | "DEVICE" | "TRANSACTION" | "AML" | "FRAUD";
|
|
238
|
+
/**
|
|
239
|
+
Current Status of the Case
|
|
240
|
+
- PENDING
|
|
241
|
+
- APPROVED
|
|
242
|
+
- MANUALLY_DECLINED
|
|
243
|
+
*/
|
|
244
|
+
enumCheckCaseStatus: "PENDING" | "APPROVED" | "MANUALLY_DECLINED";
|
|
245
|
+
/**
|
|
246
|
+
* Individual key-value pair
|
|
247
|
+
*/
|
|
248
|
+
KeyValuePairObject: {
|
|
249
|
+
/**
|
|
250
|
+
* Name of the data
|
|
251
|
+
*/
|
|
252
|
+
kvpKey?: string;
|
|
253
|
+
/**
|
|
254
|
+
* Value of the data
|
|
255
|
+
*/
|
|
256
|
+
kvpValue?: string;
|
|
257
|
+
kvpType?: Core["enumKVPType"];
|
|
258
|
+
};
|
|
259
|
+
/**
|
|
260
|
+
* Unique identifier for every request. Can be used for tracking down answers with technical support.
|
|
261
|
+
*
|
|
262
|
+
* Uses the ULID format (a time-based, sortable UUID)
|
|
263
|
+
*
|
|
264
|
+
* Note: this will be different for every request.
|
|
265
|
+
*/
|
|
266
|
+
RequestIDObject: string;
|
|
267
|
+
/**
|
|
268
|
+
* Provides details of the confidence level we have that this is the item we're looking for.
|
|
269
|
+
*/
|
|
270
|
+
SearchResultConfidenceObject: {
|
|
271
|
+
/**
|
|
272
|
+
* Numeric score on a scale of 0 (none) to 100 (as certain as possible) on which the confidence level is based. Whole integers only.
|
|
273
|
+
*/
|
|
274
|
+
score?: number;
|
|
275
|
+
level?: Core["enumSearchResultConfidence"];
|
|
276
|
+
/**
|
|
277
|
+
* Free-form list of descriptions around any partial matches
|
|
278
|
+
*/
|
|
279
|
+
notes?: string[];
|
|
280
|
+
};
|
|
281
|
+
ErrorObject: {
|
|
282
|
+
requestId: Core["RequestIDObject"];
|
|
283
|
+
/**
|
|
284
|
+
* Deprecated:
|
|
285
|
+
* HTTP status code. Same as that which is passed back in the header.
|
|
286
|
+
*/
|
|
287
|
+
httpStatusCode?: number;
|
|
288
|
+
/**
|
|
289
|
+
* Frankie error code
|
|
290
|
+
*/
|
|
291
|
+
errorCode: string;
|
|
292
|
+
/**
|
|
293
|
+
* Will describe the error
|
|
294
|
+
*/
|
|
295
|
+
errorMsg: string;
|
|
296
|
+
/**
|
|
297
|
+
* Server version indication
|
|
298
|
+
*/
|
|
299
|
+
commit?: string;
|
|
300
|
+
issues?: {
|
|
301
|
+
/**
|
|
302
|
+
* Will describe the field or data location of the issue
|
|
303
|
+
*/
|
|
304
|
+
issueLocation: string;
|
|
305
|
+
/**
|
|
306
|
+
* Description of the problem
|
|
307
|
+
*/
|
|
308
|
+
issue?: string;
|
|
309
|
+
}[];
|
|
310
|
+
};
|
|
311
|
+
BasicStatusResultObject: {
|
|
312
|
+
requestId: Core["RequestIDObject"];
|
|
313
|
+
/**
|
|
314
|
+
* Simple message describing the final status of the process. Only to be used in success case responses. Otherwise, use the ErrorObject.
|
|
315
|
+
*/
|
|
316
|
+
statusMsg: string;
|
|
317
|
+
};
|
|
318
|
+
/**
|
|
319
|
+
* The following fields represent the data you need in order to retrieve the results of the requested function. See the details of the notification API for more.
|
|
320
|
+
*/
|
|
321
|
+
NotificationResultObject: {
|
|
322
|
+
requestId?: Core["RequestIDObject"];
|
|
323
|
+
notificationType?: Core["enumNotificationType"];
|
|
324
|
+
/**
|
|
325
|
+
* Only supplied if the original request was tied to a document. This will be the same ID that was sent in the original acceptance.
|
|
326
|
+
*/
|
|
327
|
+
documentId?: string;
|
|
328
|
+
/**
|
|
329
|
+
* Only supplied if the original request was tied to an entity. This will be the same ID that was sent in the original acceptance.
|
|
330
|
+
*/
|
|
331
|
+
entityId?: string;
|
|
332
|
+
/**
|
|
333
|
+
* If the entity in entityId above has had an external service ID attached to it in the entity extraData with kvpKey = customer_reference, then this is that kvpValue
|
|
334
|
+
*/
|
|
335
|
+
entityCustomerReference?: string;
|
|
336
|
+
/**
|
|
337
|
+
* Short description of the original function called, or function that was triggered.
|
|
338
|
+
*/
|
|
339
|
+
function?: string;
|
|
340
|
+
functionResult?: Core["enumFunctionStatus"];
|
|
341
|
+
/**
|
|
342
|
+
* If you're calling a processing function of some kind, a check number will be issued. This field will only be present if the function you're calling would normally return a checkId (such as scan, verify, and compare).
|
|
343
|
+
*/
|
|
344
|
+
checkId?: string;
|
|
345
|
+
/**
|
|
346
|
+
* URI for resource containing more details about the reason for the notification.
|
|
347
|
+
*/
|
|
348
|
+
linkReference?: string;
|
|
349
|
+
/**
|
|
350
|
+
* A brief, human readable message describing the reason for the notification.
|
|
351
|
+
*/
|
|
352
|
+
message?: string;
|
|
353
|
+
/**
|
|
354
|
+
* The portal username that initiated the operation that led to this notification. If applicable and available.
|
|
355
|
+
*/
|
|
356
|
+
username?: string;
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* When sent a notification or alert, you'll call the /retrive/response/{requestId} function
|
|
360
|
+
*
|
|
361
|
+
* This will return the original response
|
|
362
|
+
*/
|
|
363
|
+
RetrievedResponseObject: {
|
|
364
|
+
/**
|
|
365
|
+
* This will be the HTTP response code that was returned originally (200, 404, etc).
|
|
366
|
+
*
|
|
367
|
+
* In the case where you're requesting the result of a callback (previously backgrounded call), then this is the response that would have been sent, had you waited for the call to finish.
|
|
368
|
+
*/
|
|
369
|
+
origHTTPstatus?: number;
|
|
370
|
+
/**
|
|
371
|
+
* This is a placeholder field. It will actually be a JSON object that is the payload that would have been returned (or was returned) in the original request. You'll need to process this as if it were the original response, and act accordingly.
|
|
372
|
+
*/
|
|
373
|
+
payload?: {
|
|
374
|
+
[key: string]: any;
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* The following fields represent the data you need in order to retrieve the results of the requested function. See the details of the notification API for more.
|
|
379
|
+
*/
|
|
380
|
+
AcceptedDocumentResultObject: {
|
|
381
|
+
requestId?: Core["RequestIDObject"];
|
|
382
|
+
/**
|
|
383
|
+
* 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.
|
|
384
|
+
*/
|
|
385
|
+
documentId?: string;
|
|
386
|
+
/**
|
|
387
|
+
* Short description of the function called.
|
|
388
|
+
*/
|
|
389
|
+
function?: string;
|
|
390
|
+
/**
|
|
391
|
+
* If you're calling a processing function of some kind, a check number will be issued. This field will only be present if the function you're calling would normally return a checkId (such as scan, verify, and compare).
|
|
392
|
+
*/
|
|
393
|
+
checkId?: string;
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* the document to be attached and optionally scanned (if supported)
|
|
397
|
+
*/
|
|
398
|
+
ScannedDocumentObject: {
|
|
399
|
+
/**
|
|
400
|
+
* 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.
|
|
401
|
+
*/
|
|
402
|
+
scanDocId?: string;
|
|
403
|
+
scanType?: Core["enumScanType"];
|
|
404
|
+
scanSide?: Core["enumScanSide"];
|
|
405
|
+
/**
|
|
406
|
+
* 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 based on the scanDocIdand an extension based on the MIME type
|
|
407
|
+
*/
|
|
408
|
+
scanFilename?: string;
|
|
409
|
+
/**
|
|
410
|
+
* 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.
|
|
411
|
+
*/
|
|
412
|
+
scanPageNum?: number;
|
|
413
|
+
scanMIME?: Core["enumMIMEType"];
|
|
414
|
+
/**
|
|
415
|
+
* 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.
|
|
416
|
+
*
|
|
417
|
+
* 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)
|
|
418
|
+
*/
|
|
419
|
+
ScanDelete?: boolean;
|
|
420
|
+
/**
|
|
421
|
+
* 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.
|
|
422
|
+
*
|
|
423
|
+
* In a result message, this field will be left blank, unless the "full" action is requested.
|
|
424
|
+
*/
|
|
425
|
+
scanData?: string;
|
|
426
|
+
scanDataRetrievalState?: Core["enumScanDataRetrievalState"];
|
|
427
|
+
/**
|
|
428
|
+
* 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.
|
|
429
|
+
*/
|
|
430
|
+
scanCreated?: string;
|
|
431
|
+
};
|
|
432
|
+
IdentityDocumentObject: {
|
|
433
|
+
/**
|
|
434
|
+
* 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.
|
|
435
|
+
*/
|
|
436
|
+
documentId?: string;
|
|
437
|
+
idType: Core["enumIdType"];
|
|
438
|
+
/**
|
|
439
|
+
* The sub-type of identity document. Very document specific.
|
|
440
|
+
*/
|
|
441
|
+
idSubType?: string;
|
|
442
|
+
/**
|
|
443
|
+
* The ISO-3166-alpha3 country code of the issuing national. Once set, this cannot be changed.
|
|
444
|
+
*
|
|
445
|
+
* See https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes for more
|
|
446
|
+
*/
|
|
447
|
+
country: string;
|
|
448
|
+
/**
|
|
449
|
+
* Regional variant of the ID (e.g. VIC drivers licence)
|
|
450
|
+
*
|
|
451
|
+
* You should always use the local abbreviation for this.
|
|
452
|
+
* E.g.
|
|
453
|
+
* - VIC for The Australian state of Victoria
|
|
454
|
+
* - MA for the US state of Massachusetts
|
|
455
|
+
* - etc
|
|
456
|
+
*/
|
|
457
|
+
region?: string;
|
|
458
|
+
/**
|
|
459
|
+
* The ID number of the document (if known).
|
|
460
|
+
*/
|
|
461
|
+
idNumber?: string;
|
|
462
|
+
/**
|
|
463
|
+
* The expiry date of the document (if known) in YYYY-MM-DD format.
|
|
464
|
+
*/
|
|
465
|
+
idExpiry?: string;
|
|
466
|
+
/**
|
|
467
|
+
* The issued date of the document (if known) in YYYY-MM-DD format.
|
|
468
|
+
*/
|
|
469
|
+
idIssued?: string;
|
|
470
|
+
documentStatus?: Core["enumDocumentStatus"];
|
|
471
|
+
/**
|
|
472
|
+
* 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.
|
|
473
|
+
*/
|
|
474
|
+
createdFromScan?: boolean;
|
|
475
|
+
/**
|
|
476
|
+
* 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.
|
|
477
|
+
*/
|
|
478
|
+
manuallyModified?: boolean;
|
|
479
|
+
/**
|
|
480
|
+
* 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.
|
|
481
|
+
*
|
|
482
|
+
* 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)
|
|
483
|
+
*/
|
|
484
|
+
extraData?: Core["KeyValuePairObject"][];
|
|
485
|
+
/**
|
|
486
|
+
* 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.
|
|
487
|
+
*
|
|
488
|
+
* 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
|
|
489
|
+
*/
|
|
490
|
+
docScan?: Core["ScannedDocumentObject"][];
|
|
491
|
+
};
|
|
492
|
+
/**
|
|
493
|
+
* This is the document that we want to compare to the original toDocument.
|
|
494
|
+
*
|
|
495
|
+
* In the case of a selfie-check against a drivers licence:
|
|
496
|
+
*
|
|
497
|
+
* * compareDocument will be the the selfie
|
|
498
|
+
* * toDocument will be the drivers licence photo
|
|
499
|
+
*/
|
|
500
|
+
ComparisonSet: {
|
|
501
|
+
compareDocument?: Core["IdentityDocumentObject"];
|
|
502
|
+
toDocument?: Core["IdentityDocumentObject"];
|
|
503
|
+
};
|
|
504
|
+
/**
|
|
505
|
+
* This is the document we wish to verify in some way, along with an entity object that contains some/all of the details we wish to verify.
|
|
506
|
+
*
|
|
507
|
+
* For example, if we're attempting to verify a drivers licence, we generally need to pass in a name, address, DoB, etc as well. the entity gives the structure to be able to do this.
|
|
508
|
+
*
|
|
509
|
+
* Note, only the document in the "document" parameter is to be processed. any additional documents found in the entity (there shouldn't be, but given the way this has been defined, there can be) will be ignored. Only the Name, Address, DoB and Gender fields will be potentially used during the verification process.
|
|
510
|
+
*
|
|
511
|
+
* The EntityObject can take one of two forms.
|
|
512
|
+
*
|
|
513
|
+
* - It can be a single entityId - in which case the details will be pulled from the database. If using an existing document, then the entity must also own the document or the request will fail.
|
|
514
|
+
* - You can supply a "single use" entity with fields, etc. In this case the entity details will be used to verify the document, then will be discarded.
|
|
515
|
+
*
|
|
516
|
+
* If you wish to save the entity, use the /entity comments instead to create the entity and attach the document there.
|
|
517
|
+
*/
|
|
518
|
+
DocumentVerify: {
|
|
519
|
+
document?: Core["IdentityDocumentObject"];
|
|
520
|
+
entityData?: Core["EntityObject"];
|
|
521
|
+
};
|
|
522
|
+
/**
|
|
523
|
+
* Collection of fraud check results for the entity.
|
|
524
|
+
*
|
|
525
|
+
* Contains fraud list and/or background result arrays. Other fraud check types will appear over time
|
|
526
|
+
*/
|
|
527
|
+
FraudCheckResultObject: {
|
|
528
|
+
fraudListResults?: Core["ProcessResultObject"][];
|
|
529
|
+
fraudBackgroundCheckResults?: Core["ProcessResultObject"][];
|
|
530
|
+
};
|
|
531
|
+
/**
|
|
532
|
+
* Stores the generic results of a process (check, scan, compare, verify, etc)
|
|
533
|
+
*/
|
|
534
|
+
ProcessResultObject: {
|
|
535
|
+
checkId?: Core["CheckIDObject"];
|
|
536
|
+
/**
|
|
537
|
+
* Short indication of the type of check that was done.
|
|
538
|
+
*
|
|
539
|
+
* When used as a summary, it will the the checkType that was requested
|
|
540
|
+
*
|
|
541
|
+
* For granular results, it will be the individual check performed.
|
|
542
|
+
*/
|
|
543
|
+
checkType?: string;
|
|
544
|
+
resultState?: Core["enumCheckResultState"];
|
|
545
|
+
/**
|
|
546
|
+
* Any additional notes that may relate to the state. These are returned as typed KVPs
|
|
547
|
+
*/
|
|
548
|
+
resultNotes?: Core["KeyValuePairObject"][];
|
|
549
|
+
/**
|
|
550
|
+
* The date and time the item was checked to provide this result.
|
|
551
|
+
*/
|
|
552
|
+
checkDate?: string;
|
|
553
|
+
/**
|
|
554
|
+
* Confidence in the result on a scale of 0 (no match) to 100 (strong/identical match). Whole integers only.
|
|
555
|
+
*
|
|
556
|
+
* Negative values are used to indicate untrusted results.
|
|
557
|
+
*/
|
|
558
|
+
confidenceLevel?: number;
|
|
559
|
+
/**
|
|
560
|
+
* Only supplied in a summary result. Used to indicate the ovall risk score for the entity at this point in time, based on configurable rules.
|
|
561
|
+
*
|
|
562
|
+
* Some examples might include:
|
|
563
|
+
*
|
|
564
|
+
* * Current level of ID checks passed
|
|
565
|
+
* * Device ID scores
|
|
566
|
+
* * Current PEP/Sanctions/etc checks
|
|
567
|
+
* * Jurisdictional risk based on addresses, documents and other KVPs
|
|
568
|
+
* * Fraud check results
|
|
569
|
+
*
|
|
570
|
+
* In this case a higher score is a bad thing. General rule of thumb:
|
|
571
|
+
*
|
|
572
|
+
* * 0 - 30 = Low Risk
|
|
573
|
+
* * 31 - 50 = Medium Risk
|
|
574
|
+
* * 50 - 75 = High Risk
|
|
575
|
+
* * 75+ = Unacceptable
|
|
576
|
+
*/
|
|
577
|
+
riskLevel?: number;
|
|
578
|
+
/**
|
|
579
|
+
* Service provider that performed the check. Basically the name of the connector, without the leading con_
|
|
580
|
+
*/
|
|
581
|
+
checkPerformedBy?: string;
|
|
582
|
+
/**
|
|
583
|
+
* 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")
|
|
584
|
+
*
|
|
585
|
+
* Note, this will actually be normalised by the core service into a standfardised result so that we're not accidentally counting sources twice.
|
|
586
|
+
* Original source will then be copied into the KVPs
|
|
587
|
+
*/
|
|
588
|
+
checkSource?: string;
|
|
589
|
+
/**
|
|
590
|
+
* 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
|
|
591
|
+
*/
|
|
592
|
+
providerCheckID?: string;
|
|
593
|
+
};
|
|
594
|
+
/**
|
|
595
|
+
* The result of a scan will contain 4 parts
|
|
596
|
+
*
|
|
597
|
+
* * The requestid - that's always there, and is the same that was passed in in the header.
|
|
598
|
+
*
|
|
599
|
+
* * The results of the process and the meta data around it, including confidence levels, service used and the like
|
|
600
|
+
*
|
|
601
|
+
* * extractedDocument - this will be an updated version of the document object passed in for scanning with results of the scan inserted. You can subsequently update this data as needed (say after confirmation with the end-consumer) through the various update functions.
|
|
602
|
+
*
|
|
603
|
+
* * Any additional data extracted from the service that does not fit into the standard identity document fields will be placed into the extraData KVPs.
|
|
604
|
+
*
|
|
605
|
+
* * extractedEntity - the service will attempt to create the basics of an entity's name, address, DoB, gender from the data returned from the scan.
|
|
606
|
+
* You can then use this entity data to create a new entity for a wider check if needed.
|
|
607
|
+
*
|
|
608
|
+
* * Note if you plan on doing this, make sure you include the extractedDocument reference in the "new" entity.
|
|
609
|
+
*
|
|
610
|
+
* * EXTRA SPECIAL NOTE: If no useful data was returned in the scan, extractedDocument will be left unchanged, and extractedEntity will be left out
|
|
611
|
+
*/
|
|
612
|
+
DocumentScanResultObject: {
|
|
613
|
+
requestId: Core["RequestIDObject"];
|
|
614
|
+
extractedDocument?: Core["IdentityDocumentObject"];
|
|
615
|
+
extractedEntity?: Core["EntityObject"];
|
|
616
|
+
processResult: Core["ProcessResultObject"];
|
|
617
|
+
};
|
|
618
|
+
/**
|
|
619
|
+
* Contains the details of a check on a given data point
|
|
620
|
+
*/
|
|
621
|
+
DocumentVerificationResultObject: {
|
|
622
|
+
/**
|
|
623
|
+
* This is a direct copy from the document object passed in for verifcation.
|
|
624
|
+
*/
|
|
625
|
+
documentId?: string;
|
|
626
|
+
processResult?: Core["ProcessResultObject"];
|
|
627
|
+
};
|
|
628
|
+
/**
|
|
629
|
+
* Contains the results of a given document upload.
|
|
630
|
+
*/
|
|
631
|
+
DocumentVerifyResultObject: {
|
|
632
|
+
requestId: Core["RequestIDObject"];
|
|
633
|
+
documentVerificationResults?: Core["DocumentVerificationResultObject"];
|
|
634
|
+
};
|
|
635
|
+
/**
|
|
636
|
+
* Contains the details of a comparison between two documents
|
|
637
|
+
*/
|
|
638
|
+
DocumentComparisonResultObject: {
|
|
639
|
+
/**
|
|
640
|
+
* This is a direct copy from the compareDocument object passed in the request. You MUST supply this.
|
|
641
|
+
*/
|
|
642
|
+
compareDocumentId?: string;
|
|
643
|
+
/**
|
|
644
|
+
* This is a direct copy from the toDocument object passed in the request. You MUST supply this.
|
|
645
|
+
*/
|
|
646
|
+
toDocumentId?: string;
|
|
647
|
+
processResult?: Core["ProcessResultObject"];
|
|
648
|
+
};
|
|
649
|
+
/**
|
|
650
|
+
* Contains the results of a given document upload.
|
|
651
|
+
*/
|
|
652
|
+
DocumentCompareResultObject: {
|
|
653
|
+
requestId: Core["RequestIDObject"];
|
|
654
|
+
documentComparisonResults: Core["DocumentComparisonResultObject"];
|
|
655
|
+
};
|
|
656
|
+
/**
|
|
657
|
+
* Contains the results of a given document upload.
|
|
658
|
+
*/
|
|
659
|
+
DocumentChecksResultObject: {
|
|
660
|
+
requestId: Core["RequestIDObject"];
|
|
661
|
+
checkResults?: Core["IdentityDocumentCheckResultObject"];
|
|
662
|
+
};
|
|
663
|
+
/**
|
|
664
|
+
* Contains the individual search results for a document.
|
|
665
|
+
*/
|
|
666
|
+
DocumentSearchResultListItem: {
|
|
667
|
+
confidence?: Core["SearchResultConfidenceObject"];
|
|
668
|
+
document?: Core["IdentityDocumentObject"];
|
|
669
|
+
};
|
|
670
|
+
/**
|
|
671
|
+
* Contains the results of a given document search.
|
|
672
|
+
*/
|
|
673
|
+
DocumentSearchResultObject: {
|
|
674
|
+
requestId: Core["RequestIDObject"];
|
|
675
|
+
/**
|
|
676
|
+
* The list of (potentially) matching documents with confidence levels.
|
|
677
|
+
*
|
|
678
|
+
* If you are the "owner" of the document - i.e. the same CustomerID and CustomerChildID (if relevant) - then the full details of the document will be returned, except for the contents of any attached scans.
|
|
679
|
+
* If you are not the owner of the document, then just the ID and confidence level is returned. You can still use this ID to retrieve any check results (see GET /document/{documentId}/checks)
|
|
680
|
+
*/
|
|
681
|
+
documentSearchResults?: Core["DocumentSearchResultListItem"][];
|
|
682
|
+
};
|
|
683
|
+
/**
|
|
684
|
+
* Utility industry comparison process result object. Used to wrap up industry-specific resultsets.
|
|
685
|
+
*/
|
|
686
|
+
DocumentIndustryUtilityProcessResultObject: {
|
|
687
|
+
industryProcess?: string;
|
|
688
|
+
requestId?: Core["RequestIDObject"];
|
|
689
|
+
/**
|
|
690
|
+
* The document that was used to generate these results.
|
|
691
|
+
*/
|
|
692
|
+
documentId?: string;
|
|
693
|
+
/**
|
|
694
|
+
* The utility comparison service can return either an error response or a result.
|
|
695
|
+
*
|
|
696
|
+
* One of error or result will be returned in this case, the other will either be a nil value, or not supplied.
|
|
697
|
+
*/
|
|
698
|
+
utilityCompareResult?: {
|
|
699
|
+
error?: Core["ComparisonError"];
|
|
700
|
+
result?: Core["ComparisonResponse"];
|
|
701
|
+
};
|
|
702
|
+
};
|
|
703
|
+
/**
|
|
704
|
+
* Utility industry explicit consent response object. Used to wrap up industry-specific resultsets.
|
|
705
|
+
*/
|
|
706
|
+
DocumentIndustryUtilityConsentResultObject: {
|
|
707
|
+
industryProcess?: string;
|
|
708
|
+
requestId?: Core["RequestIDObject"];
|
|
709
|
+
/**
|
|
710
|
+
* The document that was used to generate these results.
|
|
711
|
+
*/
|
|
712
|
+
documentId?: string;
|
|
713
|
+
/**
|
|
714
|
+
* The utility consent service can return either an error response or a result.
|
|
715
|
+
*
|
|
716
|
+
* One of error or result will be returned in this case, the other will either be a nil value, or not supplied.
|
|
717
|
+
*/
|
|
718
|
+
utilityConsentResult?: {
|
|
719
|
+
error?: Core["EICError"];
|
|
720
|
+
result?: Core["EICResponse"];
|
|
721
|
+
};
|
|
722
|
+
};
|
|
723
|
+
/**
|
|
724
|
+
* Utility industry comparison process result object. Used to wrap up industry-specific resultsets.
|
|
725
|
+
*/
|
|
726
|
+
DocumentIndustryUtilitySwitchResultObject: {
|
|
727
|
+
industryProcess?: string;
|
|
728
|
+
requestId?: Core["RequestIDObject"];
|
|
729
|
+
/**
|
|
730
|
+
* The document that was used to generate these results.
|
|
731
|
+
*/
|
|
732
|
+
documentId?: string;
|
|
733
|
+
/**
|
|
734
|
+
* The utility switching service can return either an error response or a result.
|
|
735
|
+
*
|
|
736
|
+
* One of error or result will be returned in this case, the other will either be a nil value, or not supplied.
|
|
737
|
+
*/
|
|
738
|
+
utilitySwitchResult?: {
|
|
739
|
+
error?: Core["SwitchError"];
|
|
740
|
+
result?: Core["SwitchResponse"];
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
ComparisonError: {
|
|
744
|
+
/**
|
|
745
|
+
* The correlationId as passed in the request
|
|
746
|
+
*/
|
|
747
|
+
correlationId: string;
|
|
748
|
+
/**
|
|
749
|
+
* Timestamp of when the attempted comparison took place
|
|
750
|
+
*/
|
|
751
|
+
comparisonDate: string;
|
|
752
|
+
/**
|
|
753
|
+
* * `1000` - Document not recognised (i.e. not valid pdf or image)
|
|
754
|
+
* * `1001` - Bill is not SME or Domestic
|
|
755
|
+
* * `1004` - Bill is gas (if to be excluded)
|
|
756
|
+
* * `1005` - Template Not Found – The document was a pdf but service did not recognise the uploaded document against any of it’s templates
|
|
757
|
+
* * `1008` - Unsupported distributor – bill is from jurisdiction that is unsupported
|
|
758
|
+
* * `1009` - Unsupported distributor – bill is from jurisdiction that is unsupported
|
|
759
|
+
* * `1030` - Invoice from date is missing
|
|
760
|
+
* * `1031` - Invoice to date is missing
|
|
761
|
+
* * `1033` - Supply address is missing
|
|
762
|
+
* * `1039` - NMI is missing
|
|
763
|
+
* * `1041` - Bill is a predictive plan making comparison hard
|
|
764
|
+
* * `1044` - Bill is on embedded network
|
|
765
|
+
* * `1045` - Incompatible charge item – manual comparison needed
|
|
766
|
+
* * `1062` - C&I Bill loaded
|
|
767
|
+
* * `1080` - API failed to reconcile bill usually meaning that not all cost items were picked up
|
|
768
|
+
*/
|
|
769
|
+
errorCode: number;
|
|
770
|
+
/**
|
|
771
|
+
* Description of error that can be displayed as user feedback. e.g. "Uploaded document not a PDF"
|
|
772
|
+
*/
|
|
773
|
+
message: string;
|
|
774
|
+
/**
|
|
775
|
+
* Version of the API on which the error took place. This value should be reported with any issue raised.
|
|
776
|
+
*/
|
|
777
|
+
version: string;
|
|
778
|
+
};
|
|
779
|
+
ComparisonResponse: {
|
|
780
|
+
/**
|
|
781
|
+
* The correlationId as passed in the request
|
|
782
|
+
*/
|
|
783
|
+
correlationId: string;
|
|
784
|
+
/**
|
|
785
|
+
* Timestamp of when the comparison took place
|
|
786
|
+
*/
|
|
787
|
+
comparisonDate: string;
|
|
788
|
+
/**
|
|
789
|
+
* Array of plans, sorted from best to worst saving, for the uploaded bill
|
|
790
|
+
*/
|
|
791
|
+
plans: Core["Plan"][];
|
|
792
|
+
currentBillData: Core["CurrentBillData"];
|
|
793
|
+
/**
|
|
794
|
+
* What is the maximum saving that can be achieved if the user switches to a new plan. This number may be negative if the user is already on the best plan for their usage and no saving can be found.
|
|
795
|
+
*/
|
|
796
|
+
maximumSaving: number;
|
|
797
|
+
defaultOffer: Core["DefaultOffer"];
|
|
798
|
+
/**
|
|
799
|
+
* Optional disclaimer statment
|
|
800
|
+
*/
|
|
801
|
+
marketDisclosure?: {
|
|
802
|
+
/**
|
|
803
|
+
* Name of this section when rendering
|
|
804
|
+
*/
|
|
805
|
+
name?: string;
|
|
806
|
+
/**
|
|
807
|
+
* Disclaimer text
|
|
808
|
+
*/
|
|
809
|
+
value?: string;
|
|
810
|
+
};
|
|
811
|
+
/**
|
|
812
|
+
* Version of the API on which the comparison took place. This value should be reported with any issue raised.
|
|
813
|
+
*/
|
|
814
|
+
version: string;
|
|
815
|
+
};
|
|
816
|
+
EICRequest: {
|
|
817
|
+
/**
|
|
818
|
+
* Correlation ID as passed to comparison request
|
|
819
|
+
*/
|
|
820
|
+
correlationId: string;
|
|
821
|
+
/**
|
|
822
|
+
* Unique ID of plan, selected from comparison results
|
|
823
|
+
*/
|
|
824
|
+
planId: string;
|
|
825
|
+
details?: Core["EICDetails"];
|
|
826
|
+
};
|
|
827
|
+
EICError: {
|
|
828
|
+
/**
|
|
829
|
+
* The correlationId as passed in the request
|
|
830
|
+
*/
|
|
831
|
+
correlationId: string;
|
|
832
|
+
/**
|
|
833
|
+
* * `400` - The request was malformed
|
|
834
|
+
* * `422` - Invalid request parameter
|
|
835
|
+
*/
|
|
836
|
+
errorCode: number;
|
|
837
|
+
/**
|
|
838
|
+
* Text to provide more details on errorCode
|
|
839
|
+
*/
|
|
840
|
+
message: string;
|
|
841
|
+
/**
|
|
842
|
+
* Version of the API on which the EIC request took place. This value should be reported with any issue raised.
|
|
843
|
+
*/
|
|
844
|
+
version: string;
|
|
845
|
+
};
|
|
846
|
+
EICResponse: {
|
|
847
|
+
/**
|
|
848
|
+
* The correlationId as passed in the request
|
|
849
|
+
*/
|
|
850
|
+
correlationId: string;
|
|
851
|
+
plan: Core["Plan"];
|
|
852
|
+
/**
|
|
853
|
+
* Hierarchical list of objects for rendering EIC statement and Terms and Conditions
|
|
854
|
+
*/
|
|
855
|
+
eic: Core["DisplayMarkUp"][];
|
|
856
|
+
/**
|
|
857
|
+
* Version of the API on which the EIC request took place. This value should be reported with any issue raised.
|
|
858
|
+
*/
|
|
859
|
+
version: string;
|
|
860
|
+
};
|
|
861
|
+
SwitchRequest: {
|
|
862
|
+
/**
|
|
863
|
+
* Correlation ID as passed to comparison request
|
|
864
|
+
*/
|
|
865
|
+
correlationId: string;
|
|
866
|
+
details: Core["SwitchDetails"];
|
|
867
|
+
/**
|
|
868
|
+
* Array of strings containing all the keys of the elements that required confirmation in the EIC. The absence of any key for a mandatory confirmation will result in an error response.
|
|
869
|
+
*/
|
|
870
|
+
confirmation?: string[];
|
|
871
|
+
};
|
|
872
|
+
SwitchError: {
|
|
873
|
+
/**
|
|
874
|
+
* The correlationId as passed in the request
|
|
875
|
+
*/
|
|
876
|
+
correlationId: string;
|
|
877
|
+
/**
|
|
878
|
+
* * `400` - The request was malformed
|
|
879
|
+
* * `422` - Invalid request parameter
|
|
880
|
+
*/
|
|
881
|
+
errorCode: number;
|
|
882
|
+
/**
|
|
883
|
+
* Text to provide more details on errorCode
|
|
884
|
+
*/
|
|
885
|
+
message: string;
|
|
886
|
+
/**
|
|
887
|
+
* Version of the API on which the switch response took place. This value should be reported with any issue raised.
|
|
888
|
+
*/
|
|
889
|
+
version: string;
|
|
890
|
+
};
|
|
891
|
+
SwitchResponse: {
|
|
892
|
+
/**
|
|
893
|
+
* The correlationId as passed in the request
|
|
894
|
+
*/
|
|
895
|
+
correlationId: string;
|
|
896
|
+
/**
|
|
897
|
+
* A unique reference for this switch request
|
|
898
|
+
*/
|
|
899
|
+
reference: string;
|
|
900
|
+
/**
|
|
901
|
+
* Timestamp of switch request
|
|
902
|
+
*/
|
|
903
|
+
switchDate: string;
|
|
904
|
+
plan: Core["Plan"];
|
|
905
|
+
/**
|
|
906
|
+
* Hierarchical list of objects for rendering the next steps
|
|
907
|
+
*/
|
|
908
|
+
nextSteps?: Core["DisplayMarkUp"][];
|
|
909
|
+
/**
|
|
910
|
+
* Version of the API on which the switch request took place. This value should be reported with any issue raised.
|
|
911
|
+
*/
|
|
912
|
+
version: string;
|
|
913
|
+
};
|
|
914
|
+
/**
|
|
915
|
+
* All information associated with a given plan
|
|
916
|
+
*/
|
|
917
|
+
Plan: {
|
|
918
|
+
/**
|
|
919
|
+
* Unique identifier for this plan. This ID is passed when calling the switch API.
|
|
920
|
+
*/
|
|
921
|
+
id: number;
|
|
922
|
+
/**
|
|
923
|
+
* Name of the plan
|
|
924
|
+
*/
|
|
925
|
+
name: string;
|
|
926
|
+
retailer: Core["Retailer"];
|
|
927
|
+
/**
|
|
928
|
+
* Estimated cost of this plan, based on the usage from uploaded bill, with all conditional discounts applied.
|
|
929
|
+
*/
|
|
930
|
+
estimatedTotalCost: number;
|
|
931
|
+
/**
|
|
932
|
+
* Estimated cost of this plan, based on the usage from the uploaded bill, with no conditional discounts applied. If this plan offers no conditional discounts the estimatedTotalCost and the estimatedBaseCost will be the same.
|
|
933
|
+
*/
|
|
934
|
+
estimatedBaseCost: number;
|
|
935
|
+
/**
|
|
936
|
+
* The estimated saving the customer could have realised if they had been on this plan during the billing period
|
|
937
|
+
*/
|
|
938
|
+
estimatedSaving: number;
|
|
939
|
+
rates: Core["Rates"];
|
|
940
|
+
/**
|
|
941
|
+
* The type of energy plan
|
|
942
|
+
* * `SR` - Single Rate
|
|
943
|
+
* * `TOU` - Time Of Use
|
|
944
|
+
*/
|
|
945
|
+
type: "SR" | "TOU";
|
|
946
|
+
/**
|
|
947
|
+
* Link to BPID (Basic Plan Information Document (NSW, SA, QLD, ACT)) or EPFS (Energy Price Fact Sheet (VIC))
|
|
948
|
+
*/
|
|
949
|
+
url: string;
|
|
950
|
+
/**
|
|
951
|
+
* Default Offer (DMO/VDO) text to be displayed for this plan
|
|
952
|
+
*/
|
|
953
|
+
defaultOfferMessage: string;
|
|
954
|
+
/**
|
|
955
|
+
* Is pay on time required in order to subscribe to this plan
|
|
956
|
+
*/
|
|
957
|
+
payOnTimeRequired: boolean;
|
|
958
|
+
/**
|
|
959
|
+
* Is payment by direct debit required in order to subscribe to this plan
|
|
960
|
+
*/
|
|
961
|
+
directDebitRequired: boolean;
|
|
962
|
+
/**
|
|
963
|
+
* Conditional discounts that may be applied to plan. These values can be used to modify the estimatedBaseCost for client-side filtering and reordering.
|
|
964
|
+
*/
|
|
965
|
+
discounts?: {
|
|
966
|
+
/**
|
|
967
|
+
* Pay On Time discount amount
|
|
968
|
+
*/
|
|
969
|
+
payOnTime?: number;
|
|
970
|
+
/**
|
|
971
|
+
* Direct Debit discount amount
|
|
972
|
+
*/
|
|
973
|
+
directDebit?: number;
|
|
974
|
+
};
|
|
975
|
+
benefits?: Core["Benefits"];
|
|
976
|
+
contract?: Core["Contract"];
|
|
977
|
+
conditions?: Core["Conditions"];
|
|
978
|
+
paymentOptions?: Core["NameValue"];
|
|
979
|
+
greenOptions?: Core["NameValue"];
|
|
980
|
+
feesAndCharges?: Core["Fees"];
|
|
981
|
+
};
|
|
982
|
+
/**
|
|
983
|
+
* Data from uploaded bill
|
|
984
|
+
*/
|
|
985
|
+
CurrentBillData: {
|
|
986
|
+
/**
|
|
987
|
+
* Customer name.
|
|
988
|
+
*/
|
|
989
|
+
accountName: string;
|
|
990
|
+
/**
|
|
991
|
+
* Account (Billing) address.
|
|
992
|
+
*/
|
|
993
|
+
accountAddress: string;
|
|
994
|
+
/**
|
|
995
|
+
* Supply address. This may differ from account address if bill payers address is different from account address.
|
|
996
|
+
*/
|
|
997
|
+
supplyAddress: string;
|
|
998
|
+
retailer: Core["Retailer"];
|
|
999
|
+
/**
|
|
1000
|
+
* National Meter identifier (NMI)
|
|
1001
|
+
*/
|
|
1002
|
+
nmi: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* Customer account number
|
|
1005
|
+
*/
|
|
1006
|
+
accountNumber: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* * `E` - Electricity
|
|
1009
|
+
*/
|
|
1010
|
+
fuelType: "E";
|
|
1011
|
+
/**
|
|
1012
|
+
* Start date for billing period
|
|
1013
|
+
*/
|
|
1014
|
+
billDateFrom: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* End date for billing period
|
|
1017
|
+
*/
|
|
1018
|
+
billDateTo: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* Number of days in billing period (billDateTo - billDateFrom)
|
|
1021
|
+
*/
|
|
1022
|
+
days: number;
|
|
1023
|
+
/**
|
|
1024
|
+
* Recalculated cost of the plan based on users comsumption and plan rates including discounts, rebates, concessions etc... Additional fees such as credit card processing fees are ignored.
|
|
1025
|
+
*/
|
|
1026
|
+
actualPlanTotalCost: number;
|
|
1027
|
+
/**
|
|
1028
|
+
* Total value of all unconditional discounts applied to the bill
|
|
1029
|
+
*/
|
|
1030
|
+
discount: number;
|
|
1031
|
+
/**
|
|
1032
|
+
* Rates and charges for each period on the bill
|
|
1033
|
+
*/
|
|
1034
|
+
periods: Core["Period"][];
|
|
1035
|
+
/**
|
|
1036
|
+
* Array of rates and charges for solar on the bill, by period. If no solar is present on the uploaded bill this object will not be present.
|
|
1037
|
+
*/
|
|
1038
|
+
solar?: {
|
|
1039
|
+
/**
|
|
1040
|
+
* Solar rate from bill
|
|
1041
|
+
*/
|
|
1042
|
+
rate?: number;
|
|
1043
|
+
/**
|
|
1044
|
+
* Solar value from bill
|
|
1045
|
+
*/
|
|
1046
|
+
value?: number;
|
|
1047
|
+
}[];
|
|
1048
|
+
};
|
|
1049
|
+
/**
|
|
1050
|
+
* A comparison to the default offer (VDO/DMO) must displayed for each plan. This object contains the title and the message for that presentation. Please refer to the layout guidelines for more information.
|
|
1051
|
+
*/
|
|
1052
|
+
DefaultOffer: {
|
|
1053
|
+
/**
|
|
1054
|
+
* Title/Header for the default offer when presented to the user.
|
|
1055
|
+
*/
|
|
1056
|
+
name?: "Default Market Offer (DMO)" | "Victorial Default Offer (VDO)";
|
|
1057
|
+
/**
|
|
1058
|
+
* Text containing the default offer comparison with the current plan
|
|
1059
|
+
*/
|
|
1060
|
+
value?: string;
|
|
1061
|
+
};
|
|
1062
|
+
/**
|
|
1063
|
+
* Retailer details
|
|
1064
|
+
*/
|
|
1065
|
+
Retailer: {
|
|
1066
|
+
/**
|
|
1067
|
+
* Unique identifier for the retailer
|
|
1068
|
+
*/
|
|
1069
|
+
id: number;
|
|
1070
|
+
/**
|
|
1071
|
+
* Name of the retailer
|
|
1072
|
+
*/
|
|
1073
|
+
name: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* Contact phone number for retailer customer support/queries
|
|
1076
|
+
*/
|
|
1077
|
+
phone?: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* Contact email address for retailer cusomter support/queries
|
|
1080
|
+
*/
|
|
1081
|
+
email?: string;
|
|
1082
|
+
};
|
|
1083
|
+
/**
|
|
1084
|
+
* Plan benefits to be displayed to customer
|
|
1085
|
+
*/
|
|
1086
|
+
Benefits: {
|
|
1087
|
+
/**
|
|
1088
|
+
* Name of this section when rendering
|
|
1089
|
+
*/
|
|
1090
|
+
name: string;
|
|
1091
|
+
/**
|
|
1092
|
+
* Discounts available for this plan
|
|
1093
|
+
*/
|
|
1094
|
+
discounts: {
|
|
1095
|
+
/**
|
|
1096
|
+
* Name of the discount.
|
|
1097
|
+
*/
|
|
1098
|
+
name?: string;
|
|
1099
|
+
/**
|
|
1100
|
+
* Value of the discount. This can either be a dollar amount (starting with $) or a percentage (ending with %)
|
|
1101
|
+
*/
|
|
1102
|
+
value?: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* Conditions applied to discount
|
|
1105
|
+
*/
|
|
1106
|
+
condition?: string;
|
|
1107
|
+
}[];
|
|
1108
|
+
/**
|
|
1109
|
+
* Inventives available for this plan
|
|
1110
|
+
*/
|
|
1111
|
+
incentives: {
|
|
1112
|
+
/**
|
|
1113
|
+
* Name of the incentive
|
|
1114
|
+
*/
|
|
1115
|
+
name?: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* Description of incentive
|
|
1118
|
+
*/
|
|
1119
|
+
value?: string;
|
|
1120
|
+
}[];
|
|
1121
|
+
};
|
|
1122
|
+
/**
|
|
1123
|
+
* Plan conditions to be displayed to customer
|
|
1124
|
+
*/
|
|
1125
|
+
Conditions: {
|
|
1126
|
+
name: string;
|
|
1127
|
+
value: Core["NameValue"][];
|
|
1128
|
+
};
|
|
1129
|
+
/**
|
|
1130
|
+
* Plan fees and other charges to be displayed to customer
|
|
1131
|
+
*/
|
|
1132
|
+
Fees: {
|
|
1133
|
+
/**
|
|
1134
|
+
* Name of this section when rendering
|
|
1135
|
+
*/
|
|
1136
|
+
name: string;
|
|
1137
|
+
/**
|
|
1138
|
+
* Fee information for the plan
|
|
1139
|
+
*/
|
|
1140
|
+
value: Core["NameValueDescription"][];
|
|
1141
|
+
/**
|
|
1142
|
+
* Any additional fee information for the plan
|
|
1143
|
+
*/
|
|
1144
|
+
additionalFeeInfo?: string;
|
|
1145
|
+
};
|
|
1146
|
+
/**
|
|
1147
|
+
* Plan rates to be displayed to customer
|
|
1148
|
+
*/
|
|
1149
|
+
Rates: {
|
|
1150
|
+
/**
|
|
1151
|
+
* Name of this section when rendering
|
|
1152
|
+
*/
|
|
1153
|
+
name?: string;
|
|
1154
|
+
/**
|
|
1155
|
+
* Rates for this plan
|
|
1156
|
+
*/
|
|
1157
|
+
value?: Core["NameValueUnit"][];
|
|
1158
|
+
};
|
|
1159
|
+
/**
|
|
1160
|
+
* Plan contract details to be displayed to customer
|
|
1161
|
+
*/
|
|
1162
|
+
Contract: {
|
|
1163
|
+
/**
|
|
1164
|
+
* Name of this section when rendering
|
|
1165
|
+
*/
|
|
1166
|
+
name: string;
|
|
1167
|
+
/**
|
|
1168
|
+
* Contract details for this plan
|
|
1169
|
+
*/
|
|
1170
|
+
value: Core["NameValue"][];
|
|
1171
|
+
};
|
|
1172
|
+
RateValue: {
|
|
1173
|
+
rate: number;
|
|
1174
|
+
value: number;
|
|
1175
|
+
};
|
|
1176
|
+
/**
|
|
1177
|
+
* Name/Value pair
|
|
1178
|
+
*/
|
|
1179
|
+
NameValue: {
|
|
1180
|
+
name: string;
|
|
1181
|
+
value: string[];
|
|
1182
|
+
};
|
|
1183
|
+
/**
|
|
1184
|
+
* Name/Value pair
|
|
1185
|
+
*/
|
|
1186
|
+
NameValueDescription: {
|
|
1187
|
+
name: string;
|
|
1188
|
+
value: string;
|
|
1189
|
+
description: string;
|
|
1190
|
+
};
|
|
1191
|
+
NameValueUnit: {
|
|
1192
|
+
/**
|
|
1193
|
+
* Name of this property.
|
|
1194
|
+
*/
|
|
1195
|
+
name: string;
|
|
1196
|
+
/**
|
|
1197
|
+
* Value of this property.
|
|
1198
|
+
*/
|
|
1199
|
+
value: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* Unit of measure for this property.
|
|
1202
|
+
*/
|
|
1203
|
+
unit: string;
|
|
1204
|
+
};
|
|
1205
|
+
/**
|
|
1206
|
+
* Rates, by period, for the uploaded bill
|
|
1207
|
+
*/
|
|
1208
|
+
Period: {
|
|
1209
|
+
peak?: Core["RateValue"];
|
|
1210
|
+
peakStep1?: Core["RateValue"];
|
|
1211
|
+
peakStep2?: Core["RateValue"];
|
|
1212
|
+
peakStep3?: Core["RateValue"];
|
|
1213
|
+
offPeak?: Core["RateValue"];
|
|
1214
|
+
offPeakStep1?: Core["RateValue"];
|
|
1215
|
+
offPeakStep2?: Core["RateValue"];
|
|
1216
|
+
shoulder?: Core["RateValue"];
|
|
1217
|
+
controlledLoad1?: Core["RateValue"];
|
|
1218
|
+
controlledLoad2?: Core["RateValue"];
|
|
1219
|
+
supplyCharge?: Core["RateValue"];
|
|
1220
|
+
};
|
|
1221
|
+
DisplayMarkUp: {
|
|
1222
|
+
/**
|
|
1223
|
+
* Type of component to be used for rendering
|
|
1224
|
+
*/
|
|
1225
|
+
type?: "text" | "unorderedlist" | "orderedlist";
|
|
1226
|
+
/**
|
|
1227
|
+
* Text to display as header/title of value.
|
|
1228
|
+
*/
|
|
1229
|
+
name?: string;
|
|
1230
|
+
/**
|
|
1231
|
+
* Data to be rendered. This data can contain data bindings (contained in {{ }}). If present in the string the parameters object will contain a key with the same name and the associated data (e.g a link).<br><br><div style="background-color:black;color:white;">{<br> "type": "text",<br> "value": "I accept the {{Terms and Conditions}}.",<br> "parameters": {<br> "Terms and Conditions": {<br> "type": "link",<br> "value": "https://www.accurassi.com.au/sample-terms-and-conditions/"<br> }<br> }<br>}</div>
|
|
1232
|
+
*/
|
|
1233
|
+
value?: string;
|
|
1234
|
+
/**
|
|
1235
|
+
* For elements that require confirmation, the key of each element that the user has accepted must be send in the switch request. The absence of any mandatory confirmation will result in an error response from the switch request.
|
|
1236
|
+
*/
|
|
1237
|
+
key?: string;
|
|
1238
|
+
/**
|
|
1239
|
+
* Comma seperated list of attributes to apply to value when rendering.
|
|
1240
|
+
*/
|
|
1241
|
+
attribute?: "bold";
|
|
1242
|
+
/**
|
|
1243
|
+
* Does this statement need to be confirmed (with a checkbox)? Confirmation can be mandatory or optional. When the confirmation element is present a key element must also be present. The keys of all confirmed statements must be sent in the switch request. The absence of any mandatory confirmation will result in an error response from the switch request.
|
|
1244
|
+
*/
|
|
1245
|
+
confirmation?: "optional" | "mandatory";
|
|
1246
|
+
/**
|
|
1247
|
+
* Optional element which has a keyvalue pair associated with every data binding contained in the value element of the current object.
|
|
1248
|
+
*/
|
|
1249
|
+
parameters?: {
|
|
1250
|
+
[key: string]: object;
|
|
1251
|
+
};
|
|
1252
|
+
/**
|
|
1253
|
+
* Children of element. This data structure is recursive with a DisplayMarkup element having 0 or more DisplayMarkup children
|
|
1254
|
+
*/
|
|
1255
|
+
children?: Core["DisplayMarkUp"][];
|
|
1256
|
+
};
|
|
1257
|
+
/**
|
|
1258
|
+
* Information for the residents of the property being supplied
|
|
1259
|
+
*/
|
|
1260
|
+
EICDetails: {
|
|
1261
|
+
/**
|
|
1262
|
+
* Vulnerability information for residents of the property being supplied
|
|
1263
|
+
*/
|
|
1264
|
+
vulnerabilities?: {
|
|
1265
|
+
/**
|
|
1266
|
+
* Is anyone in the property dependent on electricity for life support equipment?
|
|
1267
|
+
*/
|
|
1268
|
+
dependencyType: "Life Support" | "Sensitive Load";
|
|
1269
|
+
};
|
|
1270
|
+
/**
|
|
1271
|
+
* Customer concession card details
|
|
1272
|
+
*/
|
|
1273
|
+
concessionCard?: {
|
|
1274
|
+
/**
|
|
1275
|
+
* Customer Reference Number (CRN) on the concession card
|
|
1276
|
+
*/
|
|
1277
|
+
customerReferenceNumber: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* The type of evidence used to prove eligibility for concessions
|
|
1280
|
+
*/
|
|
1281
|
+
concessionEvidenceType: "Pensioner Concession Card" | "Gold Repatriation Health Card" | "Health Care Card" | "NSW Life Support Rebate Without Concession Card" | "Queensland Seniors Card";
|
|
1282
|
+
/**
|
|
1283
|
+
* Concession card start date
|
|
1284
|
+
*/
|
|
1285
|
+
startDate: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* Concession card end expiry date
|
|
1288
|
+
*/
|
|
1289
|
+
endDate: string;
|
|
1290
|
+
/**
|
|
1291
|
+
* First name on the concession card
|
|
1292
|
+
*/
|
|
1293
|
+
firstName: string;
|
|
1294
|
+
/**
|
|
1295
|
+
* Last name on the concession card
|
|
1296
|
+
*/
|
|
1297
|
+
lastName: string;
|
|
1298
|
+
/**
|
|
1299
|
+
* Concessions linked to the customer's concession card
|
|
1300
|
+
*/
|
|
1301
|
+
concessionType: "Life Support" | "Medical Cooling" | "Service to Property Charge" | "Off-Peak Electricity" | "Annual Electricity" | "Transfer Fee Waiver" | "Excess Electricity" | "Controlled Load" | "Low Income Household" | "Medical Energy" | "NSW Government Life Support Rebate" | "Queensland Electricity Rebate" | "Winter Gas" | "Excess Gas Consumption";
|
|
1302
|
+
};
|
|
1303
|
+
};
|
|
1304
|
+
Passport: {
|
|
1305
|
+
/**
|
|
1306
|
+
* Document identifier
|
|
1307
|
+
*/
|
|
1308
|
+
type: "passport";
|
|
1309
|
+
/**
|
|
1310
|
+
* Passport Number
|
|
1311
|
+
*/
|
|
1312
|
+
number: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* Country of Issue
|
|
1315
|
+
*/
|
|
1316
|
+
country: string;
|
|
1317
|
+
/**
|
|
1318
|
+
* Expiry date of passport
|
|
1319
|
+
*/
|
|
1320
|
+
expiryDate?: string;
|
|
1321
|
+
};
|
|
1322
|
+
DriversLicence: {
|
|
1323
|
+
/**
|
|
1324
|
+
* Document identifier
|
|
1325
|
+
*/
|
|
1326
|
+
type: "driverslicence";
|
|
1327
|
+
/**
|
|
1328
|
+
* Drivers Licence Number
|
|
1329
|
+
*/
|
|
1330
|
+
number: string;
|
|
1331
|
+
/**
|
|
1332
|
+
* State of Issue
|
|
1333
|
+
*/
|
|
1334
|
+
state: string;
|
|
1335
|
+
/**
|
|
1336
|
+
* Expiry date of drivers licence
|
|
1337
|
+
*/
|
|
1338
|
+
expiryDate?: string;
|
|
1339
|
+
};
|
|
1340
|
+
MedicareCard: {
|
|
1341
|
+
/**
|
|
1342
|
+
* Document identifier
|
|
1343
|
+
*/
|
|
1344
|
+
type: "medicare";
|
|
1345
|
+
/**
|
|
1346
|
+
* Medicare Card Number
|
|
1347
|
+
*/
|
|
1348
|
+
number: string;
|
|
1349
|
+
/**
|
|
1350
|
+
* Medicare Card Reference Number
|
|
1351
|
+
*/
|
|
1352
|
+
referenceNumber?: string;
|
|
1353
|
+
/**
|
|
1354
|
+
* Middle Name on Card
|
|
1355
|
+
*/
|
|
1356
|
+
middleName?: string;
|
|
1357
|
+
/**
|
|
1358
|
+
* Expiry date of drivers licence
|
|
1359
|
+
*/
|
|
1360
|
+
expiryDate: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* Card color
|
|
1363
|
+
*/
|
|
1364
|
+
cardColor?: "green" | "blue" | "yellow";
|
|
1365
|
+
};
|
|
1366
|
+
/**
|
|
1367
|
+
* Details required to switch retailers
|
|
1368
|
+
*/
|
|
1369
|
+
SwitchDetails: {
|
|
1370
|
+
/**
|
|
1371
|
+
* Customer's details required to switch retailers
|
|
1372
|
+
*/
|
|
1373
|
+
customerDetails: {
|
|
1374
|
+
/**
|
|
1375
|
+
* Name of customer switching
|
|
1376
|
+
*/
|
|
1377
|
+
name: {
|
|
1378
|
+
/**
|
|
1379
|
+
* Customers title (e.g. Mr, Mrs, Miss, Dr)
|
|
1380
|
+
*/
|
|
1381
|
+
title: string;
|
|
1382
|
+
/**
|
|
1383
|
+
* Customer's first name
|
|
1384
|
+
*/
|
|
1385
|
+
first: string;
|
|
1386
|
+
/**
|
|
1387
|
+
* Customer's middle name
|
|
1388
|
+
*/
|
|
1389
|
+
middle?: string;
|
|
1390
|
+
/**
|
|
1391
|
+
* Customer's last name
|
|
1392
|
+
*/
|
|
1393
|
+
last: string;
|
|
1394
|
+
};
|
|
1395
|
+
/**
|
|
1396
|
+
* Customer's supply address address. If no address is passed, the supply address as read off the bill will be used
|
|
1397
|
+
*/
|
|
1398
|
+
address?: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* Customer's email address
|
|
1401
|
+
*/
|
|
1402
|
+
email: string;
|
|
1403
|
+
/**
|
|
1404
|
+
* Customer's phone number
|
|
1405
|
+
*/
|
|
1406
|
+
mobile: string;
|
|
1407
|
+
/**
|
|
1408
|
+
* Customer's date of birth
|
|
1409
|
+
*/
|
|
1410
|
+
dateOfBirth: string;
|
|
1411
|
+
/**
|
|
1412
|
+
* Allows a user to select one of the following forms of ID to validate against:
|
|
1413
|
+
*
|
|
1414
|
+
* - Passport
|
|
1415
|
+
* - Drivers Licence
|
|
1416
|
+
* - Medicare card
|
|
1417
|
+
*/
|
|
1418
|
+
evidenceOfIdentity: {
|
|
1419
|
+
Passport?: Core["Passport"];
|
|
1420
|
+
DriversLicence?: Core["DriversLicence"];
|
|
1421
|
+
MedicareCard?: Core["MedicareCard"];
|
|
1422
|
+
};
|
|
1423
|
+
};
|
|
1424
|
+
};
|
|
1425
|
+
/**
|
|
1426
|
+
* Contains the results of a given document upload.
|
|
1427
|
+
*/
|
|
1428
|
+
DocumentResultObject: {
|
|
1429
|
+
requestId: Core["RequestIDObject"];
|
|
1430
|
+
document: Core["IdentityDocumentObject"];
|
|
1431
|
+
};
|
|
1432
|
+
/**
|
|
1433
|
+
* The following fields represent the data you need in order to retrieve the results of the requested function. See the details of the notification API for more.
|
|
1434
|
+
*/
|
|
1435
|
+
AcceptedEntityResultObject: {
|
|
1436
|
+
requestId?: Core["RequestIDObject"];
|
|
1437
|
+
/**
|
|
1438
|
+
* When an entity is created/uploaded, or generated from a document scan, it is assigned an entityId. This can then be referenced in subsequent calls if you're uploading more/updated data.
|
|
1439
|
+
*/
|
|
1440
|
+
entityId?: string;
|
|
1441
|
+
/**
|
|
1442
|
+
* Short description of the function called.
|
|
1443
|
+
*/
|
|
1444
|
+
function?: string;
|
|
1445
|
+
/**
|
|
1446
|
+
* If you're calling a processing function of some kind, a check number will be issued. This field will only be present if the function you're calling would normally return a checkId (such as scan, verify, and compare).
|
|
1447
|
+
*/
|
|
1448
|
+
checkId?: string;
|
|
1449
|
+
/**
|
|
1450
|
+
* Optional link that can be returned - used by the Push To Mobile service to allow API users to manage the use of the onboarding link themselves.
|
|
1451
|
+
*/
|
|
1452
|
+
linkURL?: string;
|
|
1453
|
+
};
|
|
1454
|
+
/**
|
|
1455
|
+
* Similar to a KVP, the flag has a key (the flag you're indicating) and an integer value.
|
|
1456
|
+
*
|
|
1457
|
+
* Values are tied to the specific flag (see table below). Generally they're true (1)/false(0) indicators.
|
|
1458
|
+
*
|
|
1459
|
+
* | flag | values | Description |
|
|
1460
|
+
* | ------- | -------- | -------- |
|
|
1461
|
+
* | ongoing_pep | 0, 1, 2 | 0 = no, 1 = pep/sanctions, 2 = 1+media |
|
|
1462
|
+
* | | | |
|
|
1463
|
+
*/
|
|
1464
|
+
EntityFlagObject: {
|
|
1465
|
+
/**
|
|
1466
|
+
* Name of the flag
|
|
1467
|
+
*/
|
|
1468
|
+
flag?: string;
|
|
1469
|
+
/**
|
|
1470
|
+
* flag value.
|
|
1471
|
+
*/
|
|
1472
|
+
value?: number;
|
|
1473
|
+
};
|
|
1474
|
+
PersonalNameObject: {
|
|
1475
|
+
/**
|
|
1476
|
+
* Mr/Ms/Dr/Dame/Dato/etc.
|
|
1477
|
+
*/
|
|
1478
|
+
honourific?: string;
|
|
1479
|
+
/**
|
|
1480
|
+
* Family name / Surname of the individual.
|
|
1481
|
+
*/
|
|
1482
|
+
familyName: string;
|
|
1483
|
+
/**
|
|
1484
|
+
* First / Given name
|
|
1485
|
+
*/
|
|
1486
|
+
givenName?: string;
|
|
1487
|
+
/**
|
|
1488
|
+
* Middle name(s) / Initials
|
|
1489
|
+
*/
|
|
1490
|
+
middleName?: string;
|
|
1491
|
+
/**
|
|
1492
|
+
* 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.
|
|
1493
|
+
* The service will attempt to convert it to it's constituent parts where possible.
|
|
1494
|
+
*/
|
|
1495
|
+
displayName?: string;
|
|
1496
|
+
};
|
|
1497
|
+
DOBObject: {
|
|
1498
|
+
/**
|
|
1499
|
+
* Year of birth or "unknown". This will be autoextracted if dateOfBirth is supplied.
|
|
1500
|
+
*/
|
|
1501
|
+
yearOfBirth?: string;
|
|
1502
|
+
/**
|
|
1503
|
+
* Date of Birth in YYYY-MM-DD format
|
|
1504
|
+
*/
|
|
1505
|
+
dateOfBirth?: string;
|
|
1506
|
+
/**
|
|
1507
|
+
* Place of birth other than country If locality is given, then country must also be provided.
|
|
1508
|
+
*/
|
|
1509
|
+
locality?: string;
|
|
1510
|
+
/**
|
|
1511
|
+
* 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.
|
|
1512
|
+
*
|
|
1513
|
+
* See https://en.wikipedia.org/wiki/ISO_3166-1
|
|
1514
|
+
*/
|
|
1515
|
+
country?: string;
|
|
1516
|
+
};
|
|
1517
|
+
AddressObject: {
|
|
1518
|
+
/**
|
|
1519
|
+
* As addresses are added to an entity, they're assigned an id to assist with tracking.
|
|
1520
|
+
*
|
|
1521
|
+
* 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.
|
|
1522
|
+
*/
|
|
1523
|
+
addressId?: string;
|
|
1524
|
+
addressType?: Core["enumAddressType"];
|
|
1525
|
+
/**
|
|
1526
|
+
* The date this address first because active. Used mostly with business addresses.
|
|
1527
|
+
*/
|
|
1528
|
+
startDate?: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* The date this address was no longer used (if available). Used mostly with business addresses.
|
|
1531
|
+
*/
|
|
1532
|
+
endDate?: string;
|
|
1533
|
+
/**
|
|
1534
|
+
* Individual or business name at this address if not the same as the name of the entity to which this address belongs.
|
|
1535
|
+
*/
|
|
1536
|
+
careOf?: string;
|
|
1537
|
+
/**
|
|
1538
|
+
* Unit/Apartment/Flat/Suite/etc number
|
|
1539
|
+
*/
|
|
1540
|
+
unitNumber?: string;
|
|
1541
|
+
/**
|
|
1542
|
+
* The number on the street. Generally a number, but can also be alphanumeric (e.g. 3A)
|
|
1543
|
+
*/
|
|
1544
|
+
streetNumber?: string;
|
|
1545
|
+
/**
|
|
1546
|
+
* The name of the street
|
|
1547
|
+
*
|
|
1548
|
+
* This field can in fact be a bit flexible, potentially containing the streetNumber and streetType as well. Most services in use can work it out.
|
|
1549
|
+
*
|
|
1550
|
+
* If this field has been auto-populated by Google (see writeup here:
|
|
1551
|
+
* https://help.frankiefinancial.com/hc/en-au/articles/900001754546-Additional-Data-Notes-Addresses
|
|
1552
|
+
*
|
|
1553
|
+
* If you can avoid it though, please try and keep things separate.
|
|
1554
|
+
*/
|
|
1555
|
+
streetName?: string;
|
|
1556
|
+
/**
|
|
1557
|
+
* The street "type" - e.g. Road, St, Ave, Circuit, etc
|
|
1558
|
+
*/
|
|
1559
|
+
streetType?: string;
|
|
1560
|
+
/**
|
|
1561
|
+
* The name of the building, apartment block, condo, etc
|
|
1562
|
+
*/
|
|
1563
|
+
buildingName?: string;
|
|
1564
|
+
/**
|
|
1565
|
+
* The suburb in the town/city. Only use this if you require a suburb AND a town/city, otherwise, just use the "town" parameter.
|
|
1566
|
+
*/
|
|
1567
|
+
suburb?: string;
|
|
1568
|
+
/**
|
|
1569
|
+
* The town/village/suburb/city
|
|
1570
|
+
*/
|
|
1571
|
+
town?: string;
|
|
1572
|
+
/**
|
|
1573
|
+
* The county, province, cantonment
|
|
1574
|
+
*/
|
|
1575
|
+
region?: string;
|
|
1576
|
+
/**
|
|
1577
|
+
* The state. Use local abbreviations, such as VIC(toria) or TX (Texas)
|
|
1578
|
+
*/
|
|
1579
|
+
state?: string;
|
|
1580
|
+
/**
|
|
1581
|
+
* The ISO-3166-1 country. You must use the alpha3 country code (e.g. AUS, USA, IDR, KOR, etc) We'll convert as needed.
|
|
1582
|
+
*
|
|
1583
|
+
* See: https://en.wikipedia.org/wiki/ISO_3166-1
|
|
1584
|
+
*/
|
|
1585
|
+
country: string;
|
|
1586
|
+
/**
|
|
1587
|
+
* The post code of the address.
|
|
1588
|
+
*/
|
|
1589
|
+
postalCode?: string;
|
|
1590
|
+
/**
|
|
1591
|
+
* 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.
|
|
1592
|
+
* The service will attempt to convert it to it's constituent parts where possible.
|
|
1593
|
+
*
|
|
1594
|
+
* WARNING: Use of longForm is not guaranteed to produce perfect results, due to the variety of potential formats. You've been warned.
|
|
1595
|
+
* Failure to break down or disambiguate the address will result in an error.
|
|
1596
|
+
*/
|
|
1597
|
+
longForm?: string;
|
|
1598
|
+
};
|
|
1599
|
+
/**
|
|
1600
|
+
* Describes all of the data being used to verify an entity.
|
|
1601
|
+
*/
|
|
1602
|
+
EntityObject: {
|
|
1603
|
+
/**
|
|
1604
|
+
* When an entity is first created, it is assigned an ID. When updating an entity, make sure you set the entityId
|
|
1605
|
+
* 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.
|
|
1606
|
+
*/
|
|
1607
|
+
entityId?: string;
|
|
1608
|
+
entityType?: Core["enumEntityType"];
|
|
1609
|
+
/**
|
|
1610
|
+
* If the entity is using the new profiles feature, then their profile name will be found here.
|
|
1611
|
+
*
|
|
1612
|
+
* Note: If setting a profile, you must ensure that the profile matches a known configuration.
|
|
1613
|
+
*
|
|
1614
|
+
* Please contact Frankie developer support if you're unsure as to what valid values are.
|
|
1615
|
+
*/
|
|
1616
|
+
entityProfile?: string;
|
|
1617
|
+
name?: Core["PersonalNameObject"];
|
|
1618
|
+
dateOfBirth?: Core["DOBObject"];
|
|
1619
|
+
gender?: Core["enumGender"];
|
|
1620
|
+
/**
|
|
1621
|
+
* Collection of address objects.
|
|
1622
|
+
*/
|
|
1623
|
+
addresses?: Core["AddressObject"][];
|
|
1624
|
+
/**
|
|
1625
|
+
* Used to set additional information flags with regards to this entity and for ongoing processing.
|
|
1626
|
+
*
|
|
1627
|
+
* Flags might include having the entity (not) participate in regular pep/sanctions screening
|
|
1628
|
+
* Others will follow over time.
|
|
1629
|
+
*/
|
|
1630
|
+
flags?: Core["EntityFlagObject"][];
|
|
1631
|
+
/**
|
|
1632
|
+
* 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.
|
|
1633
|
+
* If updating an existing entity, then existing values with the same name will be overwritten. New values will be added.
|
|
1634
|
+
*
|
|
1635
|
+
* See here for more information about possible values you can use:
|
|
1636
|
+
* https://help.frankiefinancial.com/hc/en-au/articles/900001758123-Entity-extraData-Specific-Examples
|
|
1637
|
+
*/
|
|
1638
|
+
extraData?: Core["KeyValuePairObject"][];
|
|
1639
|
+
/**
|
|
1640
|
+
* Collection of identity documents (photos, scans, selfies, etc)
|
|
1641
|
+
*/
|
|
1642
|
+
identityDocs?: Core["IdentityDocumentObject"][];
|
|
1643
|
+
organisationData?: Core["OrganisationDataObject"];
|
|
1644
|
+
};
|
|
1645
|
+
/**
|
|
1646
|
+
* Contains any/all details we want to pass on to the device/biometric checking service as part of an activity / transaction. A transaction isn't just a payment, but can represent a number of different interaction types. See below for more.
|
|
1647
|
+
*/
|
|
1648
|
+
DeviceCheckDetailsObject: {
|
|
1649
|
+
/**
|
|
1650
|
+
* Describes the type of check service we need to verify with. Choices are:
|
|
1651
|
+
*
|
|
1652
|
+
* - DEVICE: Services that will be checking device characteristics
|
|
1653
|
+
* - BIOMETRIC: Services that will be checking biomentric characteristics
|
|
1654
|
+
*/
|
|
1655
|
+
checkType?: "DEVICE" | "BIOMETRIC";
|
|
1656
|
+
/**
|
|
1657
|
+
* The type of activity we're checking. Choices are:
|
|
1658
|
+
*
|
|
1659
|
+
* - SIGNUP: Used when an entity is signing up to your service
|
|
1660
|
+
* - LOGIN: Used when an already registered entity is logging in to your service
|
|
1661
|
+
* - PAYMENT: Used when you wish to check that all is well for a payment
|
|
1662
|
+
* - CONFIRMATION: User has confirmed an action and you wish to double check they're still legitimate
|
|
1663
|
+
*
|
|
1664
|
+
* You can also supply vendor specific activityTypes if you know them. To do this, make the first character an underscore _.
|
|
1665
|
+
* So for example, to use BioCatch's LOGIN_3 type, you can send "_LOGIN_3" as a value. Note, if you do this, there is no error checking on the Frankie side, and thus if you supply an incorrect value, the call will fail.
|
|
1666
|
+
*/
|
|
1667
|
+
activityType?: "SIGNUP" | "LOGIN" | "PAYMENT" | "CONFIRMATION" | "_<Vendor Specific List>";
|
|
1668
|
+
/**
|
|
1669
|
+
* the unique session based ID that will be checked against the service.
|
|
1670
|
+
*/
|
|
1671
|
+
checkSessionKey?: string;
|
|
1672
|
+
/**
|
|
1673
|
+
* Collection of additional data points you wish to add to the activity check. These are defined in conjunction with the Customer and the device checking service being used.
|
|
1674
|
+
*
|
|
1675
|
+
* Standard values are supplied upon request:
|
|
1676
|
+
*
|
|
1677
|
+
* | kvpKey | kvpType | kvpValue |
|
|
1678
|
+
* | ------- | -------- | -------- |
|
|
1679
|
+
* | detectedIp | general.string | The IP address you detect the transaction coming from |
|
|
1680
|
+
* | accountId.src | id.external | Your account identifier. Can be a SHA hash or similar |
|
|
1681
|
+
* | accountId.dst | id.external | Target/payee account identifier. Can be a SHA hash or similar |
|
|
1682
|
+
* | entityId | id.external | Use this to override the Frankie entityID that would be used to identify |
|
|
1683
|
+
* | amount | general.float | Amount involved in the transaction |
|
|
1684
|
+
* | platform | general.string | One of APP, WEB, MOBILE_WEB. Assumes APP if not supplied |
|
|
1685
|
+
* | | |
|
|
1686
|
+
*
|
|
1687
|
+
*
|
|
1688
|
+
* Like the activityType, you can also specify vendor specific additional data parameters by adding a leading underscore "_" to the kvpKey. You can set the kvpType to one of the available types, or just use general.string (recommended)
|
|
1689
|
+
*/
|
|
1690
|
+
additionalData?: Core["KeyValuePairObject"][];
|
|
1691
|
+
};
|
|
1692
|
+
/**
|
|
1693
|
+
* Contains all the details we'll check regarding an Entity. It is assumed that this will grow over time.
|
|
1694
|
+
*
|
|
1695
|
+
* Current supported check parameters:
|
|
1696
|
+
*
|
|
1697
|
+
* - entity: The Entity we're checking. This must be supplied.
|
|
1698
|
+
* - deviceCheckDetails: |
|
|
1699
|
+
* An optional array of parameters for us to check the device and biometric characteristics against. This may map to a session key or device identifier, along with additional information that we can use to check against services like ThreatMetrix, BioCatch (or whatever has been configured for the Customer)
|
|
1700
|
+
*/
|
|
1701
|
+
EntityCheckDetailsObject: {
|
|
1702
|
+
entity: Core["EntityObject"];
|
|
1703
|
+
deviceCheckDetails?: Core["DeviceCheckDetailsObject"][];
|
|
1704
|
+
};
|
|
1705
|
+
/**
|
|
1706
|
+
* Contains all the details we need to create/update an entity and generate an IDV token
|
|
1707
|
+
*/
|
|
1708
|
+
EntityIDVDetailsObject: {
|
|
1709
|
+
entity: Core["EntityObject"];
|
|
1710
|
+
/**
|
|
1711
|
+
* The applicantId previously supplied when creating a token for the first time for an entity.
|
|
1712
|
+
* Only required if re-submitting for a fresh token on a previously created applicant.
|
|
1713
|
+
*/
|
|
1714
|
+
applicantId?: string;
|
|
1715
|
+
/**
|
|
1716
|
+
* If this is for a native application SDK, then we need the applicationId as reported by the SDK. This will then be tied to the token so it cannot be used in another application or handset.
|
|
1717
|
+
*
|
|
1718
|
+
* You must send either an applicationID or a referrer (see below)
|
|
1719
|
+
*/
|
|
1720
|
+
applicationId?: string;
|
|
1721
|
+
/**
|
|
1722
|
+
* If this is for a web SDK, then you need to supply the referrer domain so that the token can be validated by the IDV service
|
|
1723
|
+
*
|
|
1724
|
+
* You must send either a referrer or an applicationID (see above)
|
|
1725
|
+
*/
|
|
1726
|
+
referrer?: string;
|
|
1727
|
+
};
|
|
1728
|
+
/**
|
|
1729
|
+
* Contains the results of a check against an entity profile.
|
|
1730
|
+
*
|
|
1731
|
+
* The entityProfileResult will be returned instead of a checkSummary to provide the full details of the verification process.
|
|
1732
|
+
*/
|
|
1733
|
+
EntityProfileResultObject: {
|
|
1734
|
+
/**
|
|
1735
|
+
* Unique ID for the entity.
|
|
1736
|
+
*/
|
|
1737
|
+
entityId?: string;
|
|
1738
|
+
checkId?: Core["CheckIDObject"];
|
|
1739
|
+
/**
|
|
1740
|
+
* The name of the profile used for this check.
|
|
1741
|
+
*/
|
|
1742
|
+
profileName?: string;
|
|
1743
|
+
/**
|
|
1744
|
+
* The name of the policy within the profile used for this check. This may or may not incorporate the 'riskPolicy' that is also an attribute in this object.
|
|
1745
|
+
*/
|
|
1746
|
+
policyName?: string;
|
|
1747
|
+
/**
|
|
1748
|
+
* The date and time of the last check that contributed to this result.
|
|
1749
|
+
*/
|
|
1750
|
+
latestCheckDate?: string;
|
|
1751
|
+
/**
|
|
1752
|
+
* Comma separated list of checks required for the entity profile.
|
|
1753
|
+
*/
|
|
1754
|
+
checkType?: string;
|
|
1755
|
+
/**
|
|
1756
|
+
* The basic result for each check type required for the profile.
|
|
1757
|
+
*
|
|
1758
|
+
* The results are listed in the order they are run so you can also see how far progressed through a check process you are.
|
|
1759
|
+
*/
|
|
1760
|
+
checkResults?: Core["EntityProfileCheckResultMessage"][];
|
|
1761
|
+
/**
|
|
1762
|
+
* 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.
|
|
1763
|
+
* - UNCHECKED: New entity with no checks applied
|
|
1764
|
+
* - PASS
|
|
1765
|
+
* - FAIL
|
|
1766
|
+
* - PASS_MANUAL: Manual intervention was applied to achieve a pass
|
|
1767
|
+
* - FAIL_MANUAL: Manual intervention was applied but the entity still fails
|
|
1768
|
+
* - REFER: Manual intervention required
|
|
1769
|
+
* - WAIT: Externally applied state, waiting for more entity details
|
|
1770
|
+
* - ARCHIVED: Externally applied state, entity hidden from on onboarding list
|
|
1771
|
+
* - INACTIVE: Externally applied state, entity hidden from on onboarding list, indexes and further changes will be blocked.
|
|
1772
|
+
*/
|
|
1773
|
+
actionRecommended?: string;
|
|
1774
|
+
issueList?: string[];
|
|
1775
|
+
/**
|
|
1776
|
+
* Indicates if any manual actions have been involved in the check result.
|
|
1777
|
+
*/
|
|
1778
|
+
manualIntervention?: boolean;
|
|
1779
|
+
/**
|
|
1780
|
+
* List of vendors from failed credit header sources.
|
|
1781
|
+
*/
|
|
1782
|
+
creditHeaderFailures?: string[];
|
|
1783
|
+
/**
|
|
1784
|
+
* Risk level. One of:
|
|
1785
|
+
* - LOW,
|
|
1786
|
+
* - MEDIUM,
|
|
1787
|
+
* - HIGH,
|
|
1788
|
+
* - UACCEPTABLE
|
|
1789
|
+
* - or UNKNOWN
|
|
1790
|
+
*/
|
|
1791
|
+
riskLevel?: string;
|
|
1792
|
+
/**
|
|
1793
|
+
* Risk policy. Contents depend on account configuration but would typically be one of:
|
|
1794
|
+
* - SDD,
|
|
1795
|
+
* - CDD,
|
|
1796
|
+
* - EDD
|
|
1797
|
+
* - or FAIL
|
|
1798
|
+
*/
|
|
1799
|
+
riskPolicy?: string;
|
|
1800
|
+
/**
|
|
1801
|
+
* Summary of KYC match counts.
|
|
1802
|
+
*/
|
|
1803
|
+
kycResults?: Core["EntityProfileKYCMatchResultObject"][];
|
|
1804
|
+
/**
|
|
1805
|
+
* KYC match counts for 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:
|
|
1806
|
+
*
|
|
1807
|
+
* documentResults: {
|
|
1808
|
+
* "documentId" : {
|
|
1809
|
+
* "matchType": "gov_id",
|
|
1810
|
+
* "matchCount": 5,
|
|
1811
|
+
* "verified": true
|
|
1812
|
+
* },
|
|
1813
|
+
* "documentId": {
|
|
1814
|
+
* "matchType": "other_id",
|
|
1815
|
+
* "matchCount": 5,
|
|
1816
|
+
* "verified": true
|
|
1817
|
+
* }
|
|
1818
|
+
* }
|
|
1819
|
+
*/
|
|
1820
|
+
documentResults?: {
|
|
1821
|
+
[key: string]: Core["EntityProfileItemMatchResultObject"];
|
|
1822
|
+
};
|
|
1823
|
+
/**
|
|
1824
|
+
* 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:
|
|
1825
|
+
*
|
|
1826
|
+
* "addressResults": {
|
|
1827
|
+
* "addressId": {
|
|
1828
|
+
* "matchType": "curr_addr",
|
|
1829
|
+
* "matchCount": 5,
|
|
1830
|
+
* "verified": true
|
|
1831
|
+
* },
|
|
1832
|
+
* "addressId": {
|
|
1833
|
+
* "matchType": "prev_addr",
|
|
1834
|
+
* "matchCount": 5,
|
|
1835
|
+
* "verified": true
|
|
1836
|
+
* }
|
|
1837
|
+
* }
|
|
1838
|
+
*/
|
|
1839
|
+
addressResults?: {
|
|
1840
|
+
[key: string]: Core["EntityProfileItemMatchResultObject"];
|
|
1841
|
+
};
|
|
1842
|
+
};
|
|
1843
|
+
EntityProfileCheckResultMessage: {
|
|
1844
|
+
/**
|
|
1845
|
+
* A single check type that this result message applies to.
|
|
1846
|
+
*/
|
|
1847
|
+
checkType?: string;
|
|
1848
|
+
/**
|
|
1849
|
+
* The current state of the check. One of:
|
|
1850
|
+
* - PASS
|
|
1851
|
+
* - FAIL
|
|
1852
|
+
* - UNCHECKED: Not attempted or service not available. For example AML not attempted if KYC fails.
|
|
1853
|
+
* - NA: Not required. For example Visa check when there is no visa document and your account configuration indicates the check can be skipped.
|
|
1854
|
+
*/
|
|
1855
|
+
result?: string;
|
|
1856
|
+
/**
|
|
1857
|
+
* Short description of why not passed
|
|
1858
|
+
*/
|
|
1859
|
+
message?: string;
|
|
1860
|
+
/**
|
|
1861
|
+
* Alphanumeric code that is unique for each failure message to simplify result processing and display. Values to be decided.
|
|
1862
|
+
*/
|
|
1863
|
+
code?: string;
|
|
1864
|
+
};
|
|
1865
|
+
/**
|
|
1866
|
+
* Match summary for a single checked address or document
|
|
1867
|
+
*/
|
|
1868
|
+
EntityProfileItemMatchResultObject: {
|
|
1869
|
+
/**
|
|
1870
|
+
* 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.
|
|
1871
|
+
*/
|
|
1872
|
+
matchType?: string;
|
|
1873
|
+
/**
|
|
1874
|
+
* The number of distinct sources that matched this address or document
|
|
1875
|
+
*/
|
|
1876
|
+
matchCount?: number;
|
|
1877
|
+
/**
|
|
1878
|
+
* List of sources that matched. The matchCount will be the number of entries in this list.
|
|
1879
|
+
*/
|
|
1880
|
+
matchSources?: string[];
|
|
1881
|
+
/**
|
|
1882
|
+
* True if an attempt was made to verify
|
|
1883
|
+
*/
|
|
1884
|
+
checked?: boolean;
|
|
1885
|
+
/**
|
|
1886
|
+
* True if there is at least one match
|
|
1887
|
+
*/
|
|
1888
|
+
verified?: boolean;
|
|
1889
|
+
};
|
|
1890
|
+
/**
|
|
1891
|
+
* Summary of all KYC matches
|
|
1892
|
+
*/
|
|
1893
|
+
EntityProfileKYCMatchResultObject: {
|
|
1894
|
+
/**
|
|
1895
|
+
* The match types that this overall count and result refer to. Currently one or more of:
|
|
1896
|
+
* - name
|
|
1897
|
+
* - address
|
|
1898
|
+
* - dob
|
|
1899
|
+
* - gender
|
|
1900
|
+
* - gov_id
|
|
1901
|
+
* - other_id
|
|
1902
|
+
*
|
|
1903
|
+
* 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.
|
|
1904
|
+
*
|
|
1905
|
+
* "matchTypes": {
|
|
1906
|
+
* "address": {
|
|
1907
|
+
* "matchCount": 1,
|
|
1908
|
+
* "matchSources": [ "au-elec-roll" ],
|
|
1909
|
+
* "checked": true,
|
|
1910
|
+
* "verified": true
|
|
1911
|
+
* },
|
|
1912
|
+
* "dob": {
|
|
1913
|
+
* "checked": true
|
|
1914
|
+
* }
|
|
1915
|
+
* }
|
|
1916
|
+
*
|
|
1917
|
+
* 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).
|
|
1918
|
+
*/
|
|
1919
|
+
matchTypes?: {
|
|
1920
|
+
[key: string]: object;
|
|
1921
|
+
};
|
|
1922
|
+
/**
|
|
1923
|
+
* 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.
|
|
1924
|
+
*/
|
|
1925
|
+
matchCount?: number;
|
|
1926
|
+
/**
|
|
1927
|
+
* Number of distinct matches (sources and/or matched government ID documents) required for this set of match types.
|
|
1928
|
+
*/
|
|
1929
|
+
matchCountRequired?: number;
|
|
1930
|
+
/**
|
|
1931
|
+
* True if there are enough matches to meet the requirement
|
|
1932
|
+
*/
|
|
1933
|
+
verified?: boolean;
|
|
1934
|
+
};
|
|
1935
|
+
/**
|
|
1936
|
+
* Contains the results of a given document entity create/update or GET request.
|
|
1937
|
+
*/
|
|
1938
|
+
EntityResultObject: {
|
|
1939
|
+
requestId: Core["RequestIDObject"];
|
|
1940
|
+
entity: Core["EntityObject"];
|
|
1941
|
+
};
|
|
1942
|
+
/**
|
|
1943
|
+
* Contains the results of a given document entity create/update and IDV token details.
|
|
1944
|
+
*/
|
|
1945
|
+
EntityIDVResultObject: {
|
|
1946
|
+
requestId: Core["RequestIDObject"];
|
|
1947
|
+
entity: Core["EntityObject"];
|
|
1948
|
+
/**
|
|
1949
|
+
* Token to be used in the SDK to authenticate the applicant and application/referrer.
|
|
1950
|
+
*
|
|
1951
|
+
* Tokens are time limited (1 hour) and can only be used with the applicantId supplied.
|
|
1952
|
+
*/
|
|
1953
|
+
token: string;
|
|
1954
|
+
/**
|
|
1955
|
+
* The applicantId is either the same one that was supplied in the request for a fresh token, or a new one.
|
|
1956
|
+
* This ID must be supplied along with the token to your SDK so that it knows who any uploaded documents are for.
|
|
1957
|
+
*
|
|
1958
|
+
* The latest applicant will also be written to the extraData of the entity as well for safe keeping. Older applicantIds will be overwritten.
|
|
1959
|
+
*/
|
|
1960
|
+
applicantId: string;
|
|
1961
|
+
};
|
|
1962
|
+
/**
|
|
1963
|
+
* Contains the individual search results for an entity.
|
|
1964
|
+
*/
|
|
1965
|
+
EntitySearchResultListItem: {
|
|
1966
|
+
confidence?: Core["SearchResultConfidenceObject"];
|
|
1967
|
+
entity?: Core["EntityObject"];
|
|
1968
|
+
/**
|
|
1969
|
+
* If this entity has any level of name match then this is an array of document IDs for the entity where the document has an entity name and it doesn't match any entity names being sought.
|
|
1970
|
+
*/
|
|
1971
|
+
documentNameMismatches?: string[];
|
|
1972
|
+
/**
|
|
1973
|
+
* Array of descriptons of entity field matches used to score this search.
|
|
1974
|
+
*/
|
|
1975
|
+
entityMatchTypes?: string[];
|
|
1976
|
+
/**
|
|
1977
|
+
* Array of descriptons of document field matches used to score this search. This is a summary for all the documents for the matched entity.
|
|
1978
|
+
*/
|
|
1979
|
+
documentMatchTypes?: string[];
|
|
1980
|
+
};
|
|
1981
|
+
/**
|
|
1982
|
+
* Contains the results of a given entity search.
|
|
1983
|
+
*/
|
|
1984
|
+
EntitySearchResultObject: {
|
|
1985
|
+
requestId: Core["RequestIDObject"];
|
|
1986
|
+
/**
|
|
1987
|
+
* The list of (potentially) matching entities with confidence levels.
|
|
1988
|
+
*
|
|
1989
|
+
* If you are the "owner" of the entity - i.e. the same CustomerID and CustomerChildID (if relevant) - then the full details of the entity and any owned documents will be returned, except for the contents of any attached scans.
|
|
1990
|
+
*
|
|
1991
|
+
* If you are not the owner of the entity (or linked documents), then just the ID and confidence level is returned. You can still use this ID to retrieve any check results (see GET /entity/{entityId}/checks and GET /document/{documentId}/checks)
|
|
1992
|
+
*/
|
|
1993
|
+
entitySearchResults?: Core["EntitySearchResultListItem"][];
|
|
1994
|
+
};
|
|
1995
|
+
/**
|
|
1996
|
+
* Details of the status changes to be made to a check result.
|
|
1997
|
+
*/
|
|
1998
|
+
CheckResultUpdateObject: {
|
|
1999
|
+
comment: string;
|
|
2000
|
+
status?: Core["enumCheckResultManualStatus"];
|
|
2001
|
+
checkClassIds?: string[];
|
|
2002
|
+
};
|
|
2003
|
+
/**
|
|
2004
|
+
* 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.
|
|
2005
|
+
*/
|
|
2006
|
+
CheckIDObject: string;
|
|
2007
|
+
/**
|
|
2008
|
+
* Contains the details of a check on a given data point
|
|
2009
|
+
*/
|
|
2010
|
+
generalCheckResultObject: {
|
|
2011
|
+
checkProcessResults?: Core["ProcessResultObject"];
|
|
2012
|
+
/**
|
|
2013
|
+
* Who performed the check. If it was the calling customer, the value will be "You".
|
|
2014
|
+
* If it was another institution that has previously validated this data, then a generic description of their industry will be provided, such as "Bank", "Insurance", "Other FI".
|
|
2015
|
+
*/
|
|
2016
|
+
checkRequestedBy?: string;
|
|
2017
|
+
};
|
|
2018
|
+
/**
|
|
2019
|
+
* An array in reverse chronological order of all checks done on this data point for the given entity. Older checks may have been previously done by you or another institution, and if so, these will be listed.
|
|
2020
|
+
*/
|
|
2021
|
+
generalCheckResultArray: Core["generalCheckResultObject"][];
|
|
2022
|
+
/**
|
|
2023
|
+
* Wraps up a BCRO with its internal ID.
|
|
2024
|
+
*/
|
|
2025
|
+
backgroundCheckResultObjectContainer: {
|
|
2026
|
+
/**
|
|
2027
|
+
* Internal ID of this BCRO. Use this if you need to set the status.
|
|
2028
|
+
*/
|
|
2029
|
+
id?: string;
|
|
2030
|
+
bcro?: Core["backgroundCheckResultObject"];
|
|
2031
|
+
};
|
|
2032
|
+
/**
|
|
2033
|
+
* Contains the details of a background check for a given entity. Background checks include Politically Exposed Person (PEP), sanctions lists, watchlists and adverse media.
|
|
2034
|
+
*/
|
|
2035
|
+
backgroundCheckResultObject: {
|
|
2036
|
+
checkId?: Core["CheckIDObject"];
|
|
2037
|
+
backgroundCheckType?: Core["enumBackgroundCheckType"];
|
|
2038
|
+
currentState?: Core["enumBackgroundCheckState"];
|
|
2039
|
+
/**
|
|
2040
|
+
* The date and time the item was first checked.
|
|
2041
|
+
*/
|
|
2042
|
+
firstCheckDate?: string;
|
|
2043
|
+
/**
|
|
2044
|
+
* The date and time the item was last checked to provide this result.
|
|
2045
|
+
*/
|
|
2046
|
+
latestCheckDate?: string;
|
|
2047
|
+
checkFrequency?: Core["enumBackgroundCheckFrequency"];
|
|
2048
|
+
/**
|
|
2049
|
+
* Confidence in the current results on a scale of 0 (none) to 100 (as certain as possible). Whole integers only.
|
|
2050
|
+
*/
|
|
2051
|
+
confidenceLevel?: number;
|
|
2052
|
+
/**
|
|
2053
|
+
* Service provider that performed the check. Basically the name of the connector, without the leading con_
|
|
2054
|
+
*/
|
|
2055
|
+
checkPerformedBy?: string;
|
|
2056
|
+
/**
|
|
2057
|
+
* 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")
|
|
2058
|
+
*/
|
|
2059
|
+
checkSource?: string;
|
|
2060
|
+
/**
|
|
2061
|
+
* Any additional notes that may relate to the state. Free form notes that may contain JSON blobs needing further interpretation.
|
|
2062
|
+
*/
|
|
2063
|
+
checkDetails?: Core["KeyValuePairObject"][];
|
|
2064
|
+
};
|
|
2065
|
+
PersonalNameCheckResultObject: {
|
|
2066
|
+
name?: Core["PersonalNameObject"];
|
|
2067
|
+
checkResult?: Core["generalCheckResultArray"];
|
|
2068
|
+
};
|
|
2069
|
+
DOBCheckResultObject: {
|
|
2070
|
+
dob?: Core["DOBObject"];
|
|
2071
|
+
checkResult?: Core["generalCheckResultArray"];
|
|
2072
|
+
};
|
|
2073
|
+
GenderCheckResultObject: {
|
|
2074
|
+
gender?: Core["enumGender"];
|
|
2075
|
+
checkResult?: Core["generalCheckResultArray"];
|
|
2076
|
+
};
|
|
2077
|
+
/**
|
|
2078
|
+
* This object holds the address that was checked and the results associated with said checks.
|
|
2079
|
+
* You can also leave the checkResult blank/nil if there are no results for that address if you wish.
|
|
2080
|
+
* This is useful for returning results on a freshly crerated entity where the API user would want to confirm that the data has indeed been stored, and be able to capture relevant addressIDs - perhaps to address issues as to why it wasn't checked.
|
|
2081
|
+
*/
|
|
2082
|
+
AddressCheckResultObject: {
|
|
2083
|
+
address?: Core["AddressObject"];
|
|
2084
|
+
checkResult?: Core["generalCheckResultArray"];
|
|
2085
|
+
};
|
|
2086
|
+
/**
|
|
2087
|
+
* This object holds the identityDocument that was checked and the results associated with said checks.
|
|
2088
|
+
* You can also leave the checkResult blank/nil if there are no results for that identityDocument if you wish.
|
|
2089
|
+
* This is useful for returning results on a freshly crerated entity where the API user would want to confirm that the data has indeed been stored, and be able to capture relevant documentIds - perhaps to address issues as to why it wasn't checked.
|
|
2090
|
+
*/
|
|
2091
|
+
IdentityDocumentCheckResultObject: {
|
|
2092
|
+
idDocument?: Core["IdentityDocumentObject"];
|
|
2093
|
+
checkResult?: Core["generalCheckResultArray"];
|
|
2094
|
+
};
|
|
2095
|
+
/**
|
|
2096
|
+
* Wrapper object to contain a single set of AML check results.
|
|
2097
|
+
*/
|
|
2098
|
+
AMLResultSet: {
|
|
2099
|
+
groupDetails?: Core["backgroundCheckResultObjectContainer"];
|
|
2100
|
+
/**
|
|
2101
|
+
* Collection of check results for the entity being a Politically Exposed Person
|
|
2102
|
+
*
|
|
2103
|
+
* 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.
|
|
2104
|
+
*/
|
|
2105
|
+
checkResultsListPEP?: Core["backgroundCheckResultObjectContainer"][];
|
|
2106
|
+
/**
|
|
2107
|
+
* Collection of check results for the entity being on a sanctions list
|
|
2108
|
+
*
|
|
2109
|
+
* 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.
|
|
2110
|
+
*/
|
|
2111
|
+
checkResultsListSanctions?: Core["backgroundCheckResultObjectContainer"][];
|
|
2112
|
+
/**
|
|
2113
|
+
* Collection of check results for the entity being on a watchlist
|
|
2114
|
+
*
|
|
2115
|
+
* 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.
|
|
2116
|
+
*/
|
|
2117
|
+
checkResultsListWatchlists?: Core["backgroundCheckResultObjectContainer"][];
|
|
2118
|
+
/**
|
|
2119
|
+
* Collection of check results for the entity being found in any adverse media
|
|
2120
|
+
*
|
|
2121
|
+
* 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.
|
|
2122
|
+
*/
|
|
2123
|
+
checkResultsListMedia?: Core["backgroundCheckResultObjectContainer"][];
|
|
2124
|
+
};
|
|
2125
|
+
/**
|
|
2126
|
+
* Describes all of the checks that were carried out against an entity as part of our cascading check process. Because there are a number of steps involved in checking an entity, (including the use of past checks done by you or others), there is an overall summary check result that will tell you the final disposition of the the check you requested.
|
|
2127
|
+
*
|
|
2128
|
+
* So if you requested a 2+2+governmentID+pep/sanctions/etc (i.e. everything) then there would have been several checks done in order to meet this requirement. Some may have even failed, but eventually we got there. The summary gives the final assessment, based on all available data.
|
|
2129
|
+
*
|
|
2130
|
+
* Detailed writeups on how this all works can be found here:
|
|
2131
|
+
* https://help.frankiefinancial.com/hc/en-au/articles/900001758203-Non-Profile-Entity-Verify-Understanding-the-Results
|
|
2132
|
+
* and here:
|
|
2133
|
+
* https://help.frankiefinancial.com/hc/en-au/articles/900001758243-Non-Profile-Entity-Verify-Interpreting-the-Results
|
|
2134
|
+
*/
|
|
2135
|
+
CheckEntityCheckResultObject: {
|
|
2136
|
+
requestId?: Core["RequestIDObject"];
|
|
2137
|
+
checkSummary?: Core["ProcessResultObject"];
|
|
2138
|
+
/**
|
|
2139
|
+
* Contains a list of all checkSummary records (one for each check)
|
|
2140
|
+
*/
|
|
2141
|
+
checkResultsListSummaries?: Core["ProcessResultObject"][];
|
|
2142
|
+
checkRisk?: Core["ProcessResultObject"];
|
|
2143
|
+
/**
|
|
2144
|
+
* This will hold all of the check results that were performed against the
|
|
2145
|
+
*/
|
|
2146
|
+
entityResult?: {
|
|
2147
|
+
/**
|
|
2148
|
+
* Unique ID for the entity.
|
|
2149
|
+
*/
|
|
2150
|
+
entityId?: string;
|
|
2151
|
+
nameCheck?: Core["PersonalNameCheckResultObject"];
|
|
2152
|
+
dateOfBirthCheck?: Core["DOBCheckResultObject"];
|
|
2153
|
+
genderCheck?: Core["GenderCheckResultObject"];
|
|
2154
|
+
/**
|
|
2155
|
+
* Collection of address objects.
|
|
2156
|
+
*/
|
|
2157
|
+
addressesCheck?: Core["AddressCheckResultObject"][];
|
|
2158
|
+
/**
|
|
2159
|
+
* Collection of identity documents (photos, scans, selfies, etc), and their check results
|
|
2160
|
+
*/
|
|
2161
|
+
identityDocsCheck?: Core["IdentityDocumentCheckResultObject"][];
|
|
2162
|
+
/**
|
|
2163
|
+
* !!!!! DEPRECATED !!!!!
|
|
2164
|
+
* Please use the multi-result AMLResultSets structure instead.
|
|
2165
|
+
*
|
|
2166
|
+
* Note: This single check result structure will be retired in v1.3
|
|
2167
|
+
* !!!!! DEPRECATED !!!!!
|
|
2168
|
+
*
|
|
2169
|
+
* Collection of check results for the entity being a Politically Exposed Person
|
|
2170
|
+
*
|
|
2171
|
+
* 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.
|
|
2172
|
+
*/
|
|
2173
|
+
pepCheck?: Core["backgroundCheckResultObject"][];
|
|
2174
|
+
/**
|
|
2175
|
+
* !!!!! DEPRECATED !!!!!
|
|
2176
|
+
* Please use the multi-result AMLResultSets structure instead.
|
|
2177
|
+
*
|
|
2178
|
+
* Note: This single check result structure will be retired in v1.3
|
|
2179
|
+
* !!!!! DEPRECATED !!!!!
|
|
2180
|
+
*
|
|
2181
|
+
* Collection of check results for the entity being on a sanctions list
|
|
2182
|
+
*
|
|
2183
|
+
* 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.
|
|
2184
|
+
*/
|
|
2185
|
+
sanctionsCheck?: Core["backgroundCheckResultObject"][];
|
|
2186
|
+
/**
|
|
2187
|
+
* !!!!! DEPRECATED !!!!!
|
|
2188
|
+
* Please use the multi-result AMLResultSets structure instead.
|
|
2189
|
+
*
|
|
2190
|
+
* Note: This single check result structure will be retired in v1.3
|
|
2191
|
+
* !!!!! DEPRECATED !!!!!
|
|
2192
|
+
*
|
|
2193
|
+
* Collection of check results for the entity being on a watchlist
|
|
2194
|
+
*
|
|
2195
|
+
* 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.
|
|
2196
|
+
*/
|
|
2197
|
+
watchlistCheck?: Core["backgroundCheckResultObject"][];
|
|
2198
|
+
/**
|
|
2199
|
+
* !!!!! DEPRECATED !!!!!
|
|
2200
|
+
* Please use the multi-result AMLResultSets structure instead.
|
|
2201
|
+
*
|
|
2202
|
+
* Note: This single check result structure will be retired in v1.3
|
|
2203
|
+
* !!!!! DEPRECATED !!!!!
|
|
2204
|
+
*
|
|
2205
|
+
* Collection of check results for the entity being found in any adverse media
|
|
2206
|
+
*
|
|
2207
|
+
* 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.
|
|
2208
|
+
*/
|
|
2209
|
+
adverseMediaCheck?: Core["backgroundCheckResultObject"][];
|
|
2210
|
+
/**
|
|
2211
|
+
* An array of Collections of PEP/Sanctions/WL/Media objects, as AML providers can return multiple results
|
|
2212
|
+
*/
|
|
2213
|
+
amlResultSets?: Core["AMLResultSet"][];
|
|
2214
|
+
};
|
|
2215
|
+
entityProfileResult?: Core["EntityProfileResultObject"];
|
|
2216
|
+
/**
|
|
2217
|
+
* Collection of check results for the entity having previously been checked.
|
|
2218
|
+
*
|
|
2219
|
+
* An array of matched checked entities sorted by match confidence level (highest first).
|
|
2220
|
+
*/
|
|
2221
|
+
duplicateCheckResults?: Core["ProcessResultObject"][];
|
|
2222
|
+
/**
|
|
2223
|
+
* Collection of check results for the entity having been previously blacklisted.
|
|
2224
|
+
*
|
|
2225
|
+
* An array of matched blacklisted entities sorted by match confidence level (highest first).
|
|
2226
|
+
*/
|
|
2227
|
+
blacklistCheckResults?: Core["ProcessResultObject"][];
|
|
2228
|
+
/**
|
|
2229
|
+
* Collection of check results for the manual KYC.
|
|
2230
|
+
*
|
|
2231
|
+
* An array of one entry with the manual check result.
|
|
2232
|
+
*/
|
|
2233
|
+
manualCheckResults?: Core["ProcessResultObject"][];
|
|
2234
|
+
fraudCheckResults?: Core["FraudCheckResultObject"];
|
|
2235
|
+
/**
|
|
2236
|
+
* We can perform a number of device checks on an entity, such as those from ThreatMetrix and/or BioCatch. If one of these checks was incorporated into the ID check, then these will appear here.
|
|
2237
|
+
*/
|
|
2238
|
+
deviceCheckResults?: Core["ProcessResultObject"][];
|
|
2239
|
+
};
|
|
2240
|
+
/**
|
|
2241
|
+
* All valid customers get a puppy. Otherwise, no puppy for you!
|
|
2242
|
+
*/
|
|
2243
|
+
PuppyObject: {
|
|
2244
|
+
puppy: boolean;
|
|
2245
|
+
/**
|
|
2246
|
+
* Server version indication
|
|
2247
|
+
*/
|
|
2248
|
+
commit?: string;
|
|
2249
|
+
};
|
|
2250
|
+
/**
|
|
2251
|
+
* A common pairing of a short code and a long description.
|
|
2252
|
+
*/
|
|
2253
|
+
CodeDescription: {
|
|
2254
|
+
code?: string;
|
|
2255
|
+
description?: string;
|
|
2256
|
+
};
|
|
2257
|
+
/**
|
|
2258
|
+
* Details of a shareholding as returned from an ASIC report.
|
|
2259
|
+
*/
|
|
2260
|
+
ShareholdingObject: {
|
|
2261
|
+
docNumber?: string;
|
|
2262
|
+
docNumberQualifier?: string;
|
|
2263
|
+
shareCapitalClassCode?: string;
|
|
2264
|
+
numberHeld?: number;
|
|
2265
|
+
beneficiallyOwned?: boolean;
|
|
2266
|
+
fullyPaid?: boolean;
|
|
2267
|
+
members?: string[];
|
|
2268
|
+
};
|
|
2269
|
+
/**
|
|
2270
|
+
* Officer court details as returned from an ASIC report.
|
|
2271
|
+
*/
|
|
2272
|
+
CourtDetailsObject: {
|
|
2273
|
+
type?: Core["CodeDescription"];
|
|
2274
|
+
state?: string;
|
|
2275
|
+
country?: string;
|
|
2276
|
+
applicationNumber?: string;
|
|
2277
|
+
applicationYear?: number;
|
|
2278
|
+
};
|
|
2279
|
+
/**
|
|
2280
|
+
* Officer details as returned from an ASIC report.
|
|
2281
|
+
*/
|
|
2282
|
+
OfficerObject: {
|
|
2283
|
+
entityId?: string;
|
|
2284
|
+
type?: string;
|
|
2285
|
+
typeDescription?: string;
|
|
2286
|
+
status?: string;
|
|
2287
|
+
docNumber?: string;
|
|
2288
|
+
docNumberQualifier?: string;
|
|
2289
|
+
appointmentDate?: string;
|
|
2290
|
+
courtDetails?: Core["CourtDetailsObject"];
|
|
2291
|
+
};
|
|
2292
|
+
/**
|
|
2293
|
+
* Describes a collection of shares of a particular type and their attributes,
|
|
2294
|
+
* One or more ShareStructures make up a company's shares that are then parcelled out as shareholdings.
|
|
2295
|
+
*/
|
|
2296
|
+
ShareStructureObject: {
|
|
2297
|
+
status?: string;
|
|
2298
|
+
docNumber?: string;
|
|
2299
|
+
docNumberQualifier?: string;
|
|
2300
|
+
classCode?: string;
|
|
2301
|
+
classTitle?: string;
|
|
2302
|
+
sharesIssued?: number;
|
|
2303
|
+
amountPaid?: number;
|
|
2304
|
+
amountDue?: number;
|
|
2305
|
+
};
|
|
2306
|
+
/**
|
|
2307
|
+
* Organisation details for entities. Returned from an ASIC report.
|
|
2308
|
+
*/
|
|
2309
|
+
OrganisationDataObject: {
|
|
2310
|
+
registeredName?: string;
|
|
2311
|
+
registration?: {
|
|
2312
|
+
state?: string;
|
|
2313
|
+
previousNumber?: string;
|
|
2314
|
+
date?: string;
|
|
2315
|
+
};
|
|
2316
|
+
type?: Core["CodeDescription"];
|
|
2317
|
+
class?: Core["CodeDescription"];
|
|
2318
|
+
subclass?: Core["CodeDescription"];
|
|
2319
|
+
status?: Core["CodeDescription"];
|
|
2320
|
+
shareStructure?: Core["ShareStructureObject"][];
|
|
2321
|
+
disclosingEntityIndicator?: boolean;
|
|
2322
|
+
kycCustomerType?: string;
|
|
2323
|
+
includesNonBeneficiallyHeld?: boolean;
|
|
2324
|
+
lastCheckDate?: string;
|
|
2325
|
+
ownershipResolved?: boolean;
|
|
2326
|
+
adverseCreditDataPresent?: boolean;
|
|
2327
|
+
startDate?: string;
|
|
2328
|
+
};
|
|
2329
|
+
BeneficialOwnerObject: {
|
|
2330
|
+
/**
|
|
2331
|
+
* The entityId of the owner.
|
|
2332
|
+
*/
|
|
2333
|
+
entityId?: string;
|
|
2334
|
+
percentageHeld?: {
|
|
2335
|
+
beneficially?: number;
|
|
2336
|
+
nonBeneficially?: number;
|
|
2337
|
+
jointly?: number;
|
|
2338
|
+
total?: number;
|
|
2339
|
+
};
|
|
2340
|
+
};
|
|
2341
|
+
StaticOfficerObject: {
|
|
2342
|
+
addedBy: string;
|
|
2343
|
+
appointmentDate: string;
|
|
2344
|
+
entityId: string;
|
|
2345
|
+
type: string;
|
|
2346
|
+
typeDescription: string;
|
|
2347
|
+
};
|
|
2348
|
+
StaticBeneficialOwnerObject: {
|
|
2349
|
+
addedBy: string;
|
|
2350
|
+
entityId: string;
|
|
2351
|
+
percentageHeld?: {
|
|
2352
|
+
beneficially?: number;
|
|
2353
|
+
jointly?: number;
|
|
2354
|
+
nonBeneficially?: number;
|
|
2355
|
+
total?: number;
|
|
2356
|
+
};
|
|
2357
|
+
};
|
|
2358
|
+
/**
|
|
2359
|
+
* Details of the organisation for which ownership should be queried. This should at least contain the ACN in the externalIds.
|
|
2360
|
+
*/
|
|
2361
|
+
OwnershipQuery: {
|
|
2362
|
+
organisation: Core["EntityObject"];
|
|
2363
|
+
};
|
|
2364
|
+
/**
|
|
2365
|
+
* Frankie internal use only.
|
|
2366
|
+
*
|
|
2367
|
+
* The result of an /business/ownership/query call as returned by a suitable service connector.
|
|
2368
|
+
*/
|
|
2369
|
+
OwnershipQueryResponseObject: {
|
|
2370
|
+
requestId?: Core["RequestIDObject"];
|
|
2371
|
+
checkId?: string;
|
|
2372
|
+
/**
|
|
2373
|
+
* If a result is provided in this response then this is the date and time the service provided that result.
|
|
2374
|
+
*/
|
|
2375
|
+
checkDate?: string;
|
|
2376
|
+
/**
|
|
2377
|
+
* Unique identifier provided by the service.
|
|
2378
|
+
*/
|
|
2379
|
+
providerCheckId?: string;
|
|
2380
|
+
ownershipQueryResult?: Core["OwnershipQueryResultObject"];
|
|
2381
|
+
};
|
|
2382
|
+
/**
|
|
2383
|
+
* The data that was initially supplied to check in the batch file
|
|
2384
|
+
*/
|
|
2385
|
+
SuppliedData: {
|
|
2386
|
+
/**
|
|
2387
|
+
* The name of the company to be verified
|
|
2388
|
+
*/
|
|
2389
|
+
name: string;
|
|
2390
|
+
/**
|
|
2391
|
+
* The type of company on file. Use the ABR's company types, as given here:
|
|
2392
|
+
*
|
|
2393
|
+
* https://abr.business.gov.au/Documentation/ReferenceData (entity types)
|
|
2394
|
+
*/
|
|
2395
|
+
company_type: "PRV" | "PUB";
|
|
2396
|
+
/**
|
|
2397
|
+
* Australian Company Number on file - MUST be zero left-padded to 9 digits
|
|
2398
|
+
*/
|
|
2399
|
+
acn: string;
|
|
2400
|
+
/**
|
|
2401
|
+
* Australian Business Number - MUST be 11 digits. Can be supplied in lieu of the ACN
|
|
2402
|
+
*/
|
|
2403
|
+
abn: string;
|
|
2404
|
+
/**
|
|
2405
|
+
* Your reference number for this company
|
|
2406
|
+
*/
|
|
2407
|
+
customer_reference: string;
|
|
2408
|
+
};
|
|
2409
|
+
/**
|
|
2410
|
+
* The results of the comparison of the supplied data (above) to that found on file with the ABR.
|
|
2411
|
+
* If the value is missing, then the comparison was not run. There will likely be an issue highlighted in the issues_list
|
|
2412
|
+
*/
|
|
2413
|
+
SuppliedDataMatches: {
|
|
2414
|
+
/**
|
|
2415
|
+
* Did the supplied name match (or closely match) the name on file with the ABR
|
|
2416
|
+
*/
|
|
2417
|
+
matched_name: boolean;
|
|
2418
|
+
/**
|
|
2419
|
+
* Did the supplied ACN match the ACN on file with the ABR? Only truly relevant if ABN is supplied as well.
|
|
2420
|
+
*/
|
|
2421
|
+
matched_acn: boolean;
|
|
2422
|
+
/**
|
|
2423
|
+
* Did the supplied company type match the company type on file with the ABR?
|
|
2424
|
+
*/
|
|
2425
|
+
matched_company_type: boolean;
|
|
2426
|
+
};
|
|
2427
|
+
/**
|
|
2428
|
+
* A key/value pair of strings that describe the location of the issue (key) and an issue description (value). Also inclused is a severity
|
|
2429
|
+
*/
|
|
2430
|
+
IssueListItems: {
|
|
2431
|
+
/**
|
|
2432
|
+
* Where the issue occured. It will describe a location in the response structure
|
|
2433
|
+
*/
|
|
2434
|
+
issue_location?: string;
|
|
2435
|
+
/**
|
|
2436
|
+
* Human readable description of the issue
|
|
2437
|
+
*/
|
|
2438
|
+
issue_description?: string;
|
|
2439
|
+
/**
|
|
2440
|
+
* The impact of the issue on the process.
|
|
2441
|
+
*
|
|
2442
|
+
* Is it just informational, such as a trivial different in a name match?
|
|
2443
|
+
* Is it a warning to highlight something that is important, but did not prevent the process from completing?
|
|
2444
|
+
* Is it a critical issue that prevented the check from completing successfully?
|
|
2445
|
+
* Is it a stop condition that prevented the checks from being run at all?
|
|
2446
|
+
*/
|
|
2447
|
+
issue_severity?: "INFO" | "WARN" | "CRIT" | "STOP";
|
|
2448
|
+
};
|
|
2449
|
+
/**
|
|
2450
|
+
* If a company is listed, then this object will be populated with whatever data has been determined.
|
|
2451
|
+
*/
|
|
2452
|
+
StockExchangeData: {
|
|
2453
|
+
exchange?: string;
|
|
2454
|
+
exchange_ticker?: string;
|
|
2455
|
+
approved_exchange?: boolean;
|
|
2456
|
+
supporting_evidence_in_pdf?: boolean;
|
|
2457
|
+
supporting_document_links?: string[];
|
|
2458
|
+
};
|
|
2459
|
+
/**
|
|
2460
|
+
* The results of a safe harbour KYC check of an individual
|
|
2461
|
+
*/
|
|
2462
|
+
KYCScreeningResult: {
|
|
2463
|
+
/**
|
|
2464
|
+
* The disposition of the 2+2 Safe Harbour check
|
|
2465
|
+
*/
|
|
2466
|
+
check_result?: "NOT_SCREENED" | "PASS" | "REFER" | "FAIL";
|
|
2467
|
+
/**
|
|
2468
|
+
* The number of name matches
|
|
2469
|
+
*/
|
|
2470
|
+
name_match_count: number;
|
|
2471
|
+
/**
|
|
2472
|
+
* The number of date of birth matches
|
|
2473
|
+
*/
|
|
2474
|
+
dob_match_count: number;
|
|
2475
|
+
/**
|
|
2476
|
+
* The number of address matches
|
|
2477
|
+
*/
|
|
2478
|
+
address_match_count: number;
|
|
2479
|
+
/**
|
|
2480
|
+
* The is of matching data sources that produced a success match for the person being screened
|
|
2481
|
+
* Example given is not indicative of the actual sources available.
|
|
2482
|
+
*/
|
|
2483
|
+
matching_sources?: string[];
|
|
2484
|
+
};
|
|
2485
|
+
/**
|
|
2486
|
+
* The results of any AML/Adverse media screening undertaken
|
|
2487
|
+
*/
|
|
2488
|
+
AMLScreeningResult: {
|
|
2489
|
+
/**
|
|
2490
|
+
* The overall result
|
|
2491
|
+
*/
|
|
2492
|
+
check_result?: "NOT_SCREENED" | "CLEAR" | "POSSIBLE_HIT";
|
|
2493
|
+
/**
|
|
2494
|
+
* The number of adverse media hits.
|
|
2495
|
+
*/
|
|
2496
|
+
media_hit_count?: number;
|
|
2497
|
+
};
|
|
2498
|
+
/**
|
|
2499
|
+
* Contains the results (if any) of the KYC and AML/Media checks performed
|
|
2500
|
+
*/
|
|
2501
|
+
ScreeningResult: {
|
|
2502
|
+
kyc_result?: Core["KYCScreeningResult"];
|
|
2503
|
+
aml_result?: Core["AMLScreeningResult"];
|
|
2504
|
+
};
|
|
2505
|
+
RegulatoryInformation: {
|
|
2506
|
+
regulatory_body?: string;
|
|
2507
|
+
licence_details?: string;
|
|
2508
|
+
licence_number?: string;
|
|
2509
|
+
licence_verified?: boolean;
|
|
2510
|
+
};
|
|
2511
|
+
/**
|
|
2512
|
+
* The details of the company being checked
|
|
2513
|
+
*/
|
|
2514
|
+
BusinessDetails: {
|
|
2515
|
+
/**
|
|
2516
|
+
* Frankie's unique identifier for the business.
|
|
2517
|
+
*
|
|
2518
|
+
* Uses a non-versioned UUID format
|
|
2519
|
+
*/
|
|
2520
|
+
entity_id?: string;
|
|
2521
|
+
registered_name: string;
|
|
2522
|
+
business_names?: string[];
|
|
2523
|
+
trading_names?: string[];
|
|
2524
|
+
ABN: string;
|
|
2525
|
+
ACN: string;
|
|
2526
|
+
ARBN: string;
|
|
2527
|
+
asic_company_type?: string;
|
|
2528
|
+
public_company?: boolean;
|
|
2529
|
+
registered_office?: Core["AddressObject"];
|
|
2530
|
+
place_of_business?: Core["AddressObject"];
|
|
2531
|
+
date_registered_with_asic?: string;
|
|
2532
|
+
state_registered_with_asic?: string;
|
|
2533
|
+
giin: string;
|
|
2534
|
+
anzsic_code: string;
|
|
2535
|
+
stock_exchange_data?: Core["StockExchangeData"];
|
|
2536
|
+
regulatory_information?: Core["RegulatoryInformation"];
|
|
2537
|
+
};
|
|
2538
|
+
/**
|
|
2539
|
+
* x
|
|
2540
|
+
*/
|
|
2541
|
+
IndividualData: {
|
|
2542
|
+
/**
|
|
2543
|
+
* Name of the individual
|
|
2544
|
+
*/
|
|
2545
|
+
name?: string;
|
|
2546
|
+
/**
|
|
2547
|
+
* If this individual has a role as an officeholder, such as director, then this will be described here. May be blank.
|
|
2548
|
+
*/
|
|
2549
|
+
role: string;
|
|
2550
|
+
/**
|
|
2551
|
+
* If describing an (ultimate) beneficial owner, the percentage of the company owned by this Individual
|
|
2552
|
+
*/
|
|
2553
|
+
percent_owned: number;
|
|
2554
|
+
/**
|
|
2555
|
+
* If describing an (ultimate) beneficial owner, then if any of the shared held are not benefially held, this field will be set to "false"
|
|
2556
|
+
*/
|
|
2557
|
+
beneficially_held: boolean;
|
|
2558
|
+
/**
|
|
2559
|
+
* RFC3339 formatted date
|
|
2560
|
+
*/
|
|
2561
|
+
date_of_birth?: string;
|
|
2562
|
+
/**
|
|
2563
|
+
* List of all found addresses associated with this person
|
|
2564
|
+
*/
|
|
2565
|
+
addresses?: Core["AddressObject"][];
|
|
2566
|
+
screening_result?: Core["ScreeningResult"];
|
|
2567
|
+
};
|
|
2568
|
+
/**
|
|
2569
|
+
* x
|
|
2570
|
+
*/
|
|
2571
|
+
NonIndividualBeneficialOwner: {
|
|
2572
|
+
/**
|
|
2573
|
+
* Name of the company/entity
|
|
2574
|
+
*/
|
|
2575
|
+
name?: string;
|
|
2576
|
+
/**
|
|
2577
|
+
* The ASIC type of the company/entity
|
|
2578
|
+
*/
|
|
2579
|
+
entity_type?: string;
|
|
2580
|
+
/**
|
|
2581
|
+
* If describing an (ultimate) beneficial owner, the percentage of the company owned
|
|
2582
|
+
*/
|
|
2583
|
+
percent_owned: number;
|
|
2584
|
+
/**
|
|
2585
|
+
* If describing an (ultimate) beneficial owner, then if any of the shared held are not benefially held, this field will be set to "false"
|
|
2586
|
+
*/
|
|
2587
|
+
beneficially_held: boolean;
|
|
2588
|
+
stock_exchange_data?: Core["StockExchangeData"];
|
|
2589
|
+
};
|
|
2590
|
+
UBOResponse: {
|
|
2591
|
+
/**
|
|
2592
|
+
* Only populated if there was an error whilst trying to initiate the UBO check.
|
|
2593
|
+
*
|
|
2594
|
+
* Signifies that no other result data will be supplied
|
|
2595
|
+
*/
|
|
2596
|
+
error_message?: string;
|
|
2597
|
+
/**
|
|
2598
|
+
* If an ASIC search was conducted, what was the date/time in RFC-3339 format
|
|
2599
|
+
*/
|
|
2600
|
+
asic_search_timestamp?: string;
|
|
2601
|
+
/**
|
|
2602
|
+
* The full URI of the UBO report PDF created as a part of this process (if requested)
|
|
2603
|
+
*/
|
|
2604
|
+
ubo_report?: string;
|
|
2605
|
+
supplied_data: Core["SuppliedData"];
|
|
2606
|
+
supplied_data_matches?: Core["SuppliedDataMatches"];
|
|
2607
|
+
/**
|
|
2608
|
+
* A list of issues encountered whilst processing the UBO request and subsequent KYC/AML checks.
|
|
2609
|
+
*/
|
|
2610
|
+
issues_list?: Core["IssueListItems"][];
|
|
2611
|
+
business_details?: Core["BusinessDetails"];
|
|
2612
|
+
business_screening_result?: Core["ScreeningResult"];
|
|
2613
|
+
/**
|
|
2614
|
+
* A list of individuals who have been determined to own, either directly or indirectly, 25% or more of the company
|
|
2615
|
+
*/
|
|
2616
|
+
ultimate_beneficial_owners?: Core["IndividualData"][];
|
|
2617
|
+
/**
|
|
2618
|
+
* A list of organisations who have been determined to own a (potentially) beneficial interest the company.
|
|
2619
|
+
*
|
|
2620
|
+
* The presence of non_individual_beneficial_owners indicates that not all individual ultimate beneficial owners could be determined.
|
|
2621
|
+
* Examples may include public companies, listed companies, foreign companies, corporate trusts or other entities whose beneficial owners are not readily available.
|
|
2622
|
+
*/
|
|
2623
|
+
non_individual_beneficial_owners?: Core["NonIndividualBeneficialOwner"][];
|
|
2624
|
+
/**
|
|
2625
|
+
* A list of individuals who serve as current office holders the company
|
|
2626
|
+
*/
|
|
2627
|
+
officeholders?: Core["IndividualData"][];
|
|
2628
|
+
};
|
|
2629
|
+
/**
|
|
2630
|
+
* The result of an /business/ownership/query call retrieved via GET /retrieve/response/{requestId} after you receive a notification that the result is ready.
|
|
2631
|
+
*/
|
|
2632
|
+
OrganisationCheckResponseObject: {
|
|
2633
|
+
requestId?: Core["RequestIDObject"];
|
|
2634
|
+
/**
|
|
2635
|
+
* Unique identifier for the ownership check.
|
|
2636
|
+
*/
|
|
2637
|
+
ownershipCheckId?: string;
|
|
2638
|
+
/**
|
|
2639
|
+
* If an ownership result is provided in this response then this is the date and time the service provided that result.
|
|
2640
|
+
*/
|
|
2641
|
+
ownershipCheckDate?: string;
|
|
2642
|
+
/**
|
|
2643
|
+
* Batch identifier for the KYC/AML check results if any.
|
|
2644
|
+
*/
|
|
2645
|
+
organisationCheckId?: string;
|
|
2646
|
+
uboResponse?: Core["UBOResponse"];
|
|
2647
|
+
ownershipQueryResult?: Core["OwnershipQueryResultObject"];
|
|
2648
|
+
organisationCheckResult?: Core["OrganisationCheckResultObject"];
|
|
2649
|
+
ownershipQueryError?: Core["ErrorObject"];
|
|
2650
|
+
/**
|
|
2651
|
+
* Used to set additional information flags for this response.
|
|
2652
|
+
*/
|
|
2653
|
+
flags?: Core["EntityFlagObject"][];
|
|
2654
|
+
reportResult?: Core["BusinessReportResultObject"];
|
|
2655
|
+
reportError?: Core["ErrorObject"];
|
|
2656
|
+
};
|
|
2657
|
+
/**
|
|
2658
|
+
* The positive result of a report generation request if any.
|
|
2659
|
+
*/
|
|
2660
|
+
BusinessReportResultObject: {
|
|
2661
|
+
location?: string;
|
|
2662
|
+
documentId?: string;
|
|
2663
|
+
scanDocId?: string;
|
|
2664
|
+
};
|
|
2665
|
+
OwnershipQueryResultObject: {
|
|
2666
|
+
/**
|
|
2667
|
+
* The entityId of the organisation for which this result was created. The details will be in the ownershipDetails map with this ID as the key.
|
|
2668
|
+
*/
|
|
2669
|
+
entityId?: string;
|
|
2670
|
+
/**
|
|
2671
|
+
* List of all entities (both individuals and organisations) associated with this ownership result. These objects will be referenced by entityId in the shareholdings and officers lists in the following ownership details.
|
|
2672
|
+
*/
|
|
2673
|
+
associatedEntities?: {
|
|
2674
|
+
[key: string]: Core["EntityObject"];
|
|
2675
|
+
};
|
|
2676
|
+
/**
|
|
2677
|
+
* List of entity IDs (that should be in the associatedEntities list) who blocked the ultimate beneficial ownership tree traversal. These are likely to be entities that cannot be checked automatically (such as trusts) or who have no UBO's of their own, such as public companies.
|
|
2678
|
+
*
|
|
2679
|
+
* The presence of data in this array also signifies that the full UBO list is not complete.
|
|
2680
|
+
*/
|
|
2681
|
+
blockingEntityIds?: string[];
|
|
2682
|
+
/**
|
|
2683
|
+
* A map of entityId to ownershipDetailsObjects with at least one entry being for the root organisation that the overall result relates to. Any remaining entries will be for further results for organisational owners referenced in the root ownershipDetailsObject and so on.
|
|
2684
|
+
*/
|
|
2685
|
+
ownershipDetails?: {
|
|
2686
|
+
[key: string]: Core["OwnershipDetailsObject"];
|
|
2687
|
+
};
|
|
2688
|
+
};
|
|
2689
|
+
/**
|
|
2690
|
+
* The ownership details for one organisation.
|
|
2691
|
+
*/
|
|
2692
|
+
OwnershipDetailsObject: {
|
|
2693
|
+
organisation?: Core["EntityObject"];
|
|
2694
|
+
/**
|
|
2695
|
+
* Parcels of shares held by one or more shareholders.
|
|
2696
|
+
*/
|
|
2697
|
+
shareholdings?: Core["ShareholdingObject"][];
|
|
2698
|
+
/**
|
|
2699
|
+
* Company office holders.
|
|
2700
|
+
*/
|
|
2701
|
+
officers?: Core["OfficerObject"][];
|
|
2702
|
+
/**
|
|
2703
|
+
* The ultimate beneficial owners of the company.
|
|
2704
|
+
*/
|
|
2705
|
+
ultimateBeneficialOwners?: Core["BeneficialOwnerObject"][];
|
|
2706
|
+
/**
|
|
2707
|
+
* The beneficial owners of the company, who aren't necessarily UBO's.
|
|
2708
|
+
*/
|
|
2709
|
+
beneficialOwners?: Core["BeneficialOwnerObject"][];
|
|
2710
|
+
staticOfficers?: Core["StaticOfficerObject"][];
|
|
2711
|
+
staticBeneficialOwners?: Core["StaticBeneficialOwnerObject"][];
|
|
2712
|
+
};
|
|
2713
|
+
/**
|
|
2714
|
+
* The results of KYC/AML check on a organisation with a prior ownership query. This will be retrived via GET /retrieve/response/{requestId} after you receive a notification that the results are ready.
|
|
2715
|
+
*/
|
|
2716
|
+
OrganisationCheckResultObject: {
|
|
2717
|
+
/**
|
|
2718
|
+
* The entityId of the organisation for which this result was created.
|
|
2719
|
+
*/
|
|
2720
|
+
entityId?: string;
|
|
2721
|
+
/**
|
|
2722
|
+
* The unique ID for grouping all new KYC/AML checks in this result. This is only for Frankie internal use.
|
|
2723
|
+
*/
|
|
2724
|
+
groupId?: string;
|
|
2725
|
+
/**
|
|
2726
|
+
* A map of the entity categories that were selected for checks and an array of the entity IDs for each. The results for each entity ID will be in either the entityCheckResults or entityCheckErrors maps. Entities may appear in more than one category.
|
|
2727
|
+
*/
|
|
2728
|
+
entityCategories?: {
|
|
2729
|
+
[key: string]: string[];
|
|
2730
|
+
};
|
|
2731
|
+
/**
|
|
2732
|
+
* List of all entities check results (both individuals and organisations) other than outright errors. These objects will be referenced by entity ID in the entity category map.
|
|
2733
|
+
*/
|
|
2734
|
+
entityCheckResults?: {
|
|
2735
|
+
[key: string]: Core["CheckEntityCheckResultObject"];
|
|
2736
|
+
};
|
|
2737
|
+
/**
|
|
2738
|
+
* A map of outright errors (failure to generate any kind of result). These objects will be referenced by entity ID in the entity category map.
|
|
2739
|
+
*/
|
|
2740
|
+
entityCheckErrors?: {
|
|
2741
|
+
[key: string]: Core["ErrorObject"];
|
|
2742
|
+
};
|
|
2743
|
+
};
|
|
2744
|
+
BusinessReportResponseDetails: {
|
|
2745
|
+
requestId?: Core["RequestIDObject"];
|
|
2746
|
+
/**
|
|
2747
|
+
* Unique identifier for the report operation.
|
|
2748
|
+
*/
|
|
2749
|
+
checkId?: string;
|
|
2750
|
+
/**
|
|
2751
|
+
* The entity after it has been added/updated in the service
|
|
2752
|
+
*/
|
|
2753
|
+
entity?: Core["EntityObject"];
|
|
2754
|
+
/**
|
|
2755
|
+
* The collection of requested business reports.
|
|
2756
|
+
*/
|
|
2757
|
+
reports?: Array<Core["BusinessReportResponseObject"]>;
|
|
2758
|
+
};
|
|
2759
|
+
BusinessReportResponseObject: {
|
|
2760
|
+
details?: Core["BusinessReportDetailsObject"];
|
|
2761
|
+
/**
|
|
2762
|
+
* The requested report object. This will be one of: - ReportCreditScore - ReportCreditReport
|
|
2763
|
+
*/
|
|
2764
|
+
report?: any;
|
|
2765
|
+
};
|
|
2766
|
+
BusinessReportDetailsObject: {
|
|
2767
|
+
/**
|
|
2768
|
+
* The name of the requested report
|
|
2769
|
+
*/
|
|
2770
|
+
reportName?: string;
|
|
2771
|
+
/**
|
|
2772
|
+
* If the report provider generated an ID or recipt number for the report, it goes here
|
|
2773
|
+
*/
|
|
2774
|
+
reportId?: string;
|
|
2775
|
+
/**
|
|
2776
|
+
* The ISO UTC date and time the report was generated
|
|
2777
|
+
*/
|
|
2778
|
+
reportDateTime?: Date;
|
|
2779
|
+
/**
|
|
2780
|
+
* The name of the service provider that generated the report.
|
|
2781
|
+
*/
|
|
2782
|
+
reportProvider?: string;
|
|
2783
|
+
/**
|
|
2784
|
+
* Whether the report was successfully run or not
|
|
2785
|
+
*/
|
|
2786
|
+
reportRun?: boolean;
|
|
2787
|
+
/**
|
|
2788
|
+
* Any details of what is happening with the report of not run. Will be one of: - OK (the report was run) - LATER (the report will be sent later as a response notification) - An error message as to why the report did not work
|
|
2789
|
+
*/
|
|
2790
|
+
reportStatus?: string;
|
|
2791
|
+
};
|
|
2792
|
+
/**
|
|
2793
|
+
* Contains any data required for biometric checks.
|
|
2794
|
+
*/
|
|
2795
|
+
RiskTokenObject: {
|
|
2796
|
+
sessionKey: string;
|
|
2797
|
+
userId: string;
|
|
2798
|
+
};
|
|
2799
|
+
/**
|
|
2800
|
+
* The Amount described in the Transaction Risk Check
|
|
2801
|
+
*/
|
|
2802
|
+
AmountObject: {
|
|
2803
|
+
value: string;
|
|
2804
|
+
currCode: string;
|
|
2805
|
+
};
|
|
2806
|
+
/**
|
|
2807
|
+
* Summary list of Issues that were flagged as part of this Transaction
|
|
2808
|
+
*/
|
|
2809
|
+
RiskCheckIssueObject: {
|
|
2810
|
+
/**
|
|
2811
|
+
* Enum of risk assessment groupings, e.g. customer, device, transaction, AML, PEP as determined by the risk checking service
|
|
2812
|
+
*/
|
|
2813
|
+
name?: Core["enumRiskResultType"];
|
|
2814
|
+
/**
|
|
2815
|
+
* An enumerated list of risk as determined by the checking service.
|
|
2816
|
+
*/
|
|
2817
|
+
level?: Core['enumRiskLevelType'];
|
|
2818
|
+
};
|
|
2819
|
+
/**
|
|
2820
|
+
* Summary list of Issues that were flagged as part of this Transaction
|
|
2821
|
+
*/
|
|
2822
|
+
RiskCheckCaseObject: {
|
|
2823
|
+
checkId?: string;
|
|
2824
|
+
resultId?: string;
|
|
2825
|
+
riskToken?: Core['RiskTokenObject'];
|
|
2826
|
+
/**
|
|
2827
|
+
* Date time that the Transaction Occurred
|
|
2828
|
+
*/
|
|
2829
|
+
transactionTimestamp?: string;
|
|
2830
|
+
/**
|
|
2831
|
+
* Date time that the Check Case was Created
|
|
2832
|
+
*/
|
|
2833
|
+
timeStamp?: string;
|
|
2834
|
+
/**
|
|
2835
|
+
* Date time that the Check Case was last updated
|
|
2836
|
+
*/
|
|
2837
|
+
lastUpdated?: string;
|
|
2838
|
+
/**
|
|
2839
|
+
* Current Status of the Case
|
|
2840
|
+
*/
|
|
2841
|
+
status?: Core['enumCheckCaseStatus'];
|
|
2842
|
+
/**
|
|
2843
|
+
An enumerated list of risk as determined by the checking service
|
|
2844
|
+
- NONE
|
|
2845
|
+
- LOW
|
|
2846
|
+
- MEDIUM
|
|
2847
|
+
- HIGH
|
|
2848
|
+
- VERY_HIGH
|
|
2849
|
+
*/
|
|
2850
|
+
riskLevel?: Core['enumRiskLevelType'];
|
|
2851
|
+
/**
|
|
2852
|
+
Type of the Activity that has occurred
|
|
2853
|
+
- REGISTRATION
|
|
2854
|
+
- LOGIN
|
|
2855
|
+
- FIAT_WITHDRAWAL
|
|
2856
|
+
- FIAT_DEPOSIT
|
|
2857
|
+
- CRYPTO_WITHDRAWAL
|
|
2858
|
+
- CRYPTO_DEPOSIT
|
|
2859
|
+
*/
|
|
2860
|
+
activityType?: Core['enumActivityType'];
|
|
2861
|
+
/**
|
|
2862
|
+
The type of payment that the transaction used
|
|
2863
|
+
- CARD
|
|
2864
|
+
- BANK
|
|
2865
|
+
- WIRE
|
|
2866
|
+
- CRYPTO
|
|
2867
|
+
- OTHER
|
|
2868
|
+
*/
|
|
2869
|
+
paymentType?: Core['enumPaymentType'];
|
|
2870
|
+
/**
|
|
2871
|
+
Identifier for the payment type
|
|
2872
|
+
*/
|
|
2873
|
+
paymentId?: string;
|
|
2874
|
+
/**
|
|
2875
|
+
Identifier of the Device that was used for this check, this would be provided from the initial request data
|
|
2876
|
+
*/
|
|
2877
|
+
deviceId?: string;
|
|
2878
|
+
/**
|
|
2879
|
+
Current Frankie Portal user that is assigned to this user
|
|
2880
|
+
*/
|
|
2881
|
+
assignedTo?: string;
|
|
2882
|
+
/**
|
|
2883
|
+
The Amount described in the Transaction Risk Check
|
|
2884
|
+
*/
|
|
2885
|
+
amount?: Core['AmountObject'];
|
|
2886
|
+
/**
|
|
2887
|
+
Enum of risk assessment groupings, e.g. customer, device, transaction, AML, PEP as determined by the risk checking service
|
|
2888
|
+
*/
|
|
2889
|
+
issueType?: Core['enumIssueType'];
|
|
2890
|
+
};
|
|
2891
|
+
TransactionCasesData: {
|
|
2892
|
+
data: Core['RiskCheckCaseObject'];
|
|
2893
|
+
/**
|
|
2894
|
+
* Identifier for the Next Page of Results, if not populated there is no more results to paginate for
|
|
2895
|
+
*/
|
|
2896
|
+
nextPageToken: string;
|
|
2897
|
+
};
|
|
2898
|
+
}
|