From 68f55f456cd52e83ac77ccfccca8b12fc80c2189 Mon Sep 17 00:00:00 2001 From: Quentin Defenouillere Date: Fri, 8 Feb 2019 12:21:21 +0100 Subject: [PATCH] [capabilities/profile] Added Profile and Person attributes Profiles can have pro/par phone numbers and emails. Persons can have a maiden name indicated on some websites. Also added a gender attribute for Persons. --- weboob/capabilities/profile.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/weboob/capabilities/profile.py b/weboob/capabilities/profile.py index 026a441636..3ebfeccdcb 100644 --- a/weboob/capabilities/profile.py +++ b/weboob/capabilities/profile.py @@ -38,7 +38,9 @@ class Profile(BaseObject): address = StringField('Full Address') country = StringField('Country of owner') phone = StringField('Phone number') + professional_phone = StringField('Professional phone number') email = StringField('Mail of owner') + professional_email = StringField('Professional email of owner') main_bank = StringField('Main bank of owner') @@ -49,6 +51,8 @@ class Person(Profile): birth_date = DateField('Birth date') nationality = StringField('Nationality of owner') mobile = StringField('Mobile number of owner') + gender = StringField('Gender of owner (Male/Female)') + maiden_name = StringField('Maiden name') spouse_name = StringField('Name of spouse') children = DecimalField('Number of dependent children') family_situation = StringField('Family situation') -- GitLab