Skip to content

Commit 42671f3

Browse files
author
gabino
committed
Add TermsOfService and UserTOSAgreement to resource exports
1 parent f76bf5d commit 42671f3

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

cuenca/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
'configure',
4444
'get_balance',
4545
'JwtToken',
46+
'TermsOfService',
47+
'UserTOSAgreement',
4648
]
4749

4850
from . import http
@@ -78,12 +80,14 @@
7880
ServiceProvider,
7981
Session,
8082
Statement,
83+
TermsOfService,
8184
Transfer,
8285
User,
8386
UserCredential,
8487
UserEvent,
8588
UserListsValidation,
8689
UserLogin,
90+
UserTOSAgreement,
8791
Verification,
8892
WalletTransaction,
8993
Webhook,

cuenca/resources/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
'Webhook',
4040
'WhatsappTransfer',
4141
'JwtToken',
42+
'TermsOfService',
43+
'UserTOSAgreement',
4244
]
4345

4446
from .accounts import Account
@@ -73,11 +75,13 @@
7375
from .service_providers import ServiceProvider
7476
from .sessions import Session
7577
from .statements import Statement
78+
from .terms_of_services import TermsOfService
7679
from .transfers import Transfer
7780
from .user_credentials import UserCredential
7881
from .user_events import UserEvent
7982
from .user_lists_validation import UserListsValidation
8083
from .user_logins import UserLogin
84+
from .user_tos_agreements import UserTOSAgreement
8185
from .users import User
8286
from .verifications import Verification
8387
from .wallet_transactions import WalletTransaction
@@ -126,6 +130,8 @@
126130
Webhook,
127131
Platform,
128132
JwtToken,
133+
TermsOfService,
134+
UserTOSAgreement,
129135
]
130136
for resource_cls in resource_classes:
131137
RESOURCES[resource_cls._resource] = resource_cls # type: ignore

cuenca/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = '2.1.2.dev1'
1+
__version__ = '2.1.2.dev2'
22
CLIENT_VERSION = __version__
33
API_VERSION = '2020-03-19'

0 commit comments

Comments
 (0)