Api reference
components.asset_freeze.public.commands ¶
app_group ¶
potential_hits ¶
retrieve_potential_hits ¶
Retrieve hits from Turing, and store them (or update them) if needed in the backend
Source code in components/asset_freeze/public/commands/potential_hits.py
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | |
run_delete_expired_potential_hits ¶
Delete expired asset freeze potential hits. There is a 5-years data retention for the data collected for anti-money laundering / counter financing of terrorism purposes, as from the end of the contract/membership.
Source code in components/asset_freeze/public/commands/potential_hits.py
components.asset_freeze.public.consts ¶
components.asset_freeze.public.dependencies ¶
AssetFreezeDependency ¶
AssetFreezeDependency defines the interface that apps using the asset_freeze component need to implement
Source code in components/asset_freeze/public/dependencies.py
CountryAssetFreezeDependency ¶
CountryAssetFreezeDependency defines the interface that apps using the asset_freeze component need to implement
account_has_live_contract_since ¶
The method returns True if a given account has a prevoyance or health contract active since the given date
Source code in components/asset_freeze/public/dependencies.py
company_has_live_contract_since ¶
The method returns True if a given company has a prevoyance or health contract active since the given date
Source code in components/asset_freeze/public/dependencies.py
user_has_live_enrollment_since ¶
The method returns True if a given user has an enrollment active since the given date
get_app_dependency ¶
Retrieves at runtime the asset_freeze dependency set by set_app_dependency
Source code in components/asset_freeze/public/dependencies.py
set_app_dependencies ¶
Sets the asset_freeze dependency to the app so it can be accessed within this component at runtime
Source code in components/asset_freeze/public/dependencies.py
components.asset_freeze.public.entities ¶
AssetFreezeHit
dataclass
¶
AssetFreezeHit(
id,
entity_ref,
entity_type,
original_name,
country,
first_seen_at,
last_seen_at,
person,
confirmed_at=None,
dismissed_at=None,
updated_by=None,
comment=None,
)
Bases: DataClassJsonMixin
Holds the asset freeze potential hit data to send to the dashboard
LegalPerson
dataclass
¶
NaturalPerson
dataclass
¶
Bases: DataClassJsonMixin
A natural (physique) person, in terms of asset freeze official lists