File tree Expand file tree Collapse file tree 2 files changed +15
-12
lines changed
Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 11import datetime as dt
22from typing import ClassVar
33
4+ from cuenca_validations .types import TermsOfService as TermsOfServiceEnum
45from cuenca_validations .types .general import SerializableHttpUrl
56
6- from .base import Creatable , Queryable , Retrievable
7+ from .base import Queryable , Retrievable
78
89
9- class TermsOfService (Creatable , Retrievable , Queryable ):
10+ class TermsOfService (Retrievable , Queryable ):
1011 _resource : ClassVar = 'terms_of_services'
1112
1213 id : str
14+ is_active : bool
1315 created_at : dt .datetime
14- user_id : str
15- tos_id : str
16- ip : str
17- location : str
18- hash : str
19- url : SerializableHttpUrl
16+ type : TermsOfServiceEnum
17+ version : str
18+ uri : SerializableHttpUrl
Original file line number Diff line number Diff line change 44from cuenca_validations .types import TermsOfService
55from cuenca_validations .types .general import SerializableHttpUrl
66
7- from .base import Queryable , Retrievable
7+ from .base import Creatable , Queryable , Retrievable
88
99
10- class TermsCatalog ( Retrievable , Queryable ):
11- _resource : ClassVar = 'terms_catalog '
10+ class UserTOSAgreement ( Creatable , Retrievable , Queryable ):
11+ _resource : ClassVar = 'user_tos_agreements '
1212
1313 id : str
1414 created_at : dt .datetime
15+ user_id : str
1516 type : TermsOfService
1617 version : str
17- uri : SerializableHttpUrl
18+ ip : str
19+ location : str
20+ hash : str
21+ url : SerializableHttpUrl
You can’t perform that action at this time.
0 commit comments