FOSSredder 0.5.0
Loading...
Searching...
No Matches
ports/usecases/import/ImportResult.h
Go to the documentation of this file.
1
5
6#pragma once
7
9
10#include <cstdint>
11#include <map>
12#include <string>
13#include <vector>
14
16
18 std::string entityId;
19 std::string label;
20 std::string entityType;
21 std::string sourceText;
22 std::string rationale;
23 std::string lastUsedAt;
24 std::vector<std::string> matchedAliases;
25 double confidence = 0.0;
26 double score = 0.0;
27 double aliasWeight = 0.0;
28 double recencyWeight = 0.0;
29 int hitCount = 0;
30};
31
33 std::string sourceText;
34 std::vector<DraftSuggestionCandidate> candidates;
35};
36
38 std::string sharedText;
39 std::string actorText;
40 std::string propertyText;
41 std::string contractText;
42 std::string typeText;
43};
44
46 std::string name;
47 std::string metadata;
48 std::string actorText;
49 std::string propertyText;
50 std::string actorId;
51 bool actorSelected = false;
52 std::string contractId;
53 bool contractSelected = false;
54 std::string type;
55 bool allocatable = false;
56 bool allocatableSelected = false;
57 std::vector<std::string> propertyIds;
61};
62
64 std::string id;
65 std::string name;
66 std::string display;
67 std::string type;
68 std::string allocatableMode;
69 std::vector<std::string> aliases;
70 std::vector<std::string> actorIds;
71 std::vector<std::string> propertyIds;
72 bool synthetic = false;
73 double confidence = 0.0;
74 std::string sourceText;
75};
76
105
107
109 bool hasName = false;
110 std::string name;
111 bool hasBookingDate = false;
112 std::string bookingDate;
113 bool hasValuta = false;
114 std::string valuta;
115 bool hasAmount = false;
116 double amount = 0.0;
117 bool hasStatus = false;
118 int status = 0;
119 bool hasAllocatable = false;
120 bool allocatable = false;
122};
123
136
148
154
160
165
167 std::string id;
168 std::string statementDraftId;
169 int position = 0;
170
171 std::string name;
172 std::string bookingDate;
173 std::string valuta;
174 double amount = 0.0;
175
176 std::string actorText;
177 std::string propertyText;
178 std::string actorId;
179 bool actorSelected = false;
180 std::string contractId;
181 bool contractSelected = false;
182
183 std::string metadata;
184 std::vector<std::uint8_t> proofImageData;
185
186 std::string type;
187
188 bool allocatable = false;
190
191 int status = 0;
192
193 std::vector<std::string> propertyIds;
194 std::string createdAt;
195 std::string updatedAt;
196};
197
199 std::string id;
200 std::string name;
201 std::vector<std::string> transactionIds;
202 std::string createdAt;
203 std::string updatedAt;
204 std::vector<TransactionDraft> transactions;
205};
206
207} // namespace core::ports::importing::draft
208
209namespace core::ports::importing {
210
213 bool hasStatement = false;
214 std::vector<core::ports::importing::draft::TransactionDraft> transactions;
215 std::map<std::string, std::vector<std::uint8_t>> artifacts;
216};
217
218} // namespace core::ports::importing
Immutable workspace read-model snapshot exposed through workspace ports.
std::map< std::string, std::vector< std::uint8_t > > artifacts
std::vector< core::ports::importing::draft::TransactionDraft > transactions
core::ports::workspace::StatementSnapshot statement