from .segments.saldo import HKSAL5, HKSAL6, HKSAL7
from .segments.statement import HKKAZ5, HKKAZ6, HKKAZ7
from .segments.transfer import HKCCM1, HKCCS1
+from .segments.journal import HKPRO3, HKPRO4
from .types import SegmentSequence
from .utils import MT535_Miniparser, Password, mt940_to_array, compress_datablob, decompress_datablob, SubclassesMixin
from .parser import FinTS3Serializer
return responses
+ def get_status_protocol(self):
+ with self._get_dialog() as dialog:
+ hkpro = self._find_highest_supported_command(HKPRO3, HKPRO4)
+
+ responses = self._fetch_with_touchdowns(
+ dialog,
+ lambda touchdown: hkpro(
+ touchdown_point=touchdown,
+ ),
+ 'HIPRO',
+ )
+
+ return responses
+
def get_communication_endpoints(self):
with self._get_dialog() as dialog:
hkkom = self._find_highest_supported_command(HKKOM4)
allowed_transactions = DataElementGroupField(type=AllowedTransaction, max_count=999, required=False, _d="Erlaubte Geschäftsvorfälle")
extension = DataElementField(type='an', max_length=2048, required=False, _d="Erweiterung, kontobezogen")
+class ParameterSegment_22(FinTS3Segment):
+ max_number_tasks = DataElementField(type='num', max_length=3, _d="Maximale Anzahl Aufträge")
+ min_number_signatures = DataElementField(type='num', length=1, _d="Anzahl Signaturen mindestens")
+
class ParameterSegment(FinTS3Segment):
max_number_tasks = DataElementField(type='num', max_length=3, _d="Maximale Anzahl Aufträge")
min_number_signatures = DataElementField(type='num', length=1, _d="Anzahl Signaturen mindestens")
communication_parameters = DataElementGroupField(type=CommunicationParameter2, min_count=1, max_count=9, _d="Kommunikationsparameter")
from . import (
- accounts, auth, debit, depot, dialog, message, saldo, statement, transfer,
+ accounts, auth, debit, depot, dialog, message, saldo, statement, transfer, journal,
)