Make more fields optional for Nordigen

This commit is contained in:
Mark Veidemanis 2022-04-24 19:21:04 +01:00
parent 6ce722399c
commit ce234e69f6
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ class Transaction(Model):
proprietaryBankTransactionCode: fields.Optional(fields.Str())
remittanceInformationUnstructured: fields.Optional(fields.Str())
transactionAmount: fields.Nested(Amount)
transactionId: fields.Str()
transactionId: fields.Optional(fields.Str())
class Pending(Transaction):
@ -93,16 +93,16 @@ class Requisitions(Model):
class Account(Model):
resourceId: fields.Optional(fields.Str())
iban: fields.Str()
iban: fields.Optional(fields.Str())
bban: fields.Optional(fields.Str())
currency: fields.Str()
ownerName: fields.Str()
ownerName: fields.Optional(fields.Str())
status: fields.Optional(fields.Str())
details: fields.Optional(fields.Str())
class AccountDetails(Model):
account: fields.Nested(Account)
account: fields.Optional(fields.Nested(Account))
class AccountBalanceAmount(Model):