users.py
2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
from floraconcierge.shortcuts import get_apiclient
def address_delete(id):
return get_apiclient().services.users.address_delete(id)
def address_list():
return get_apiclient().services.users.address_list()
def address_process(postObject):
return get_apiclient().services.users.address_process(postObject)
def calendar_delete(id):
return get_apiclient().services.users.calendar_delete(id)
def calendar_holidays():
return get_apiclient().services.users.calendar_holidays()
def calendar_list():
return get_apiclient().services.users.calendar_list()
def calendar_process(postObject):
return get_apiclient().services.users.calendar_process(postObject)
def check_password(email, password):
return get_apiclient().services.users.check_password(email, password)
def exists(email):
return get_apiclient().services.users.exists(email)
def get_info_by_email(email):
return get_apiclient().services.users.get_info_by_email(email)
def get_logged_user(info=None):
return get_apiclient().services.users.get_logged_user(info=info)
def login(email, password=None, remember=None, checkip=None):
return get_apiclient().services.users.login(
email, password=password, remember=remember, checkip=checkip)
def logout():
return get_apiclient().services.users.logout()
def registration(email, name=None):
return get_apiclient().services.users.registration(email, name=name)
def reset_password(email):
return get_apiclient().services.users.reset_password(email)
def social_list():
return get_apiclient().services.users.social_list()
def social_login(token):
return get_apiclient().services.users.social_login(token)
def social_related():
return get_apiclient().services.users.social_related()
def social_signin(service, redirect_success, redirect_fail):
return get_apiclient().services.users.social_signin(
service, redirect_success, redirect_fail)
def subscribe(email):
return get_apiclient().services.users.subscribe(email)
def update_data(postObject):
return get_apiclient().services.users.update_data(postObject)
def update_info(
password=None,
name=None,
phone=None,
country=None,
city=None,
birthday=None,
flowers=None,
feed_news=None,
gender=None):
return get_apiclient().services.users.update_info(
password=password,
name=name,
phone=phone,
country=country,
city=city,
birthday=birthday,
flowers=flowers,
feed_news=feed_news,
gender=gender)