returns = Parameter(int, 'New person_id (> 0) if successful')
+ object_type = 'Person'
+
def call(self, auth, person_fields):
person_fields = dict(filter(can_update, person_fields.items()))
returns = Parameter(int, 'New key_id (> 0) if successful')
+ object_type = 'Person'
+
def call(self, auth, person_id_or_email, key_fields):
key_fields = dict(filter(can_update, key_fields.items()))
returns = Parameter(int, '1 if successful')
+ object_type = 'Person'
+
def call(self, auth, role_id_or_name, person_id_or_email):
# Get role
returns = Parameter(int, '1 if successful')
+ object_type = 'Person'
+
def call(self, auth, person_id_or_email):
# Get account information
persons = Persons(self.api, [person_id_or_email])
returns = Parameter(int, '1 if successful')
+ object_type = 'Person'
+
def call(self, auth, person_id_or_email, key_ids):
# Get account information
persons = Persons(self.api, [person_id_or_email])
returns = dict
+ object_type = 'Person'
+
def call(self, auth, person_id_or_email):
# Get account information
persons = Persons(self.api, [person_id_or_email])
returns = Parameter(int, "1 if account has role, 0 otherwise")
+ object_type = 'Person'
+
def call(self, auth, person_id_or_email, role_id_or_name):
# This is a totally fucked up function. I have no idea why it
# exists or who calls it, but here is how it is supposed to
returns = Parameter(int, '1 if successful')
+ object_type = 'Person'
+
def call(self, auth, person_id_or_email):
# Get account information
returns = Parameter(int, '1 if successful')
+ object_type = 'Person'
+
def call(self, auth, role_id_or_name, person_id_or_email):
# Get role
returns = Parameter(int, '1 if verification_key is valid')
+ object_type = 'Person'
+
def call(self, auth, person_id_or_email, verification_key = None, verification_expires = None):
# Get account information
persons = Persons(self.api, [person_id_or_email])
returns = Parameter(int, '1 if successful')
+ object_type = 'Person'
+
def call(self, auth, person_id_or_email, site_id_or_login_base):
# Get account information
persons = Persons(self.api, [person_id_or_email])
returns = Parameter(int, '1 if successful')
+ object_type = 'Person'
+
def call(self, auth, person_id_or_email, person_fields):
person_fields = dict(filter(can_update, person_fields.items()))