otf-api 0.8.0__tar.gz → 0.8.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {otf_api-0.8.0 → otf_api-0.8.2}/PKG-INFO +1 -1
- {otf_api-0.8.0 → otf_api-0.8.2}/pyproject.toml +1 -1
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/__init__.py +1 -1
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/auth.py +1 -1
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/member_detail.py +8 -3
- {otf_api-0.8.0 → otf_api-0.8.2}/AUTHORS.md +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/LICENSE +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/README.md +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/api.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/exceptions.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/__init__.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/base.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/body_composition_list.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/book_class.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/bookings.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/cancel_booking.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/challenge_tracker_content.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/challenge_tracker_detail.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/classes.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/enums.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/favorite_studios.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/latest_agreement.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/lifetime_stats.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/member_membership.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/member_purchases.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/mixins.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/out_of_studio_workout_history.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/performance_summary_detail.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/performance_summary_list.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/studio_detail.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/studio_services.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/telemetry.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/telemetry_hr_history.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/telemetry_max_hr.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/models/total_classes.py +0 -0
- {otf_api-0.8.0 → otf_api-0.8.2}/src/otf_api/py.typed +0 -0
@@ -1,4 +1,5 @@
|
|
1
1
|
from datetime import date, datetime
|
2
|
+
from typing import Any
|
2
3
|
|
3
4
|
from pydantic import Field, field_validator
|
4
5
|
|
@@ -73,6 +74,10 @@ class MemberClassSummary(OtfItemBase):
|
|
73
74
|
last_class_studio_visited: int = Field(..., alias="lastClassStudioVisited")
|
74
75
|
|
75
76
|
|
77
|
+
class MemberReferrer(OtfItemBase):
|
78
|
+
member_referrer_uuid: str = Field(..., alias="memberReferrerUUId")
|
79
|
+
|
80
|
+
|
76
81
|
class MemberDetail(OtfItemBase):
|
77
82
|
member_id: int = Field(..., alias="memberId")
|
78
83
|
member_uuid: str = Field(..., alias="memberUUId")
|
@@ -101,7 +106,7 @@ class MemberDetail(OtfItemBase):
|
|
101
106
|
cc_last4: str = Field(..., alias="ccLast4")
|
102
107
|
cc_type: str = Field(..., alias="ccType")
|
103
108
|
gender: str
|
104
|
-
liability:
|
109
|
+
liability: Any
|
105
110
|
locale: str
|
106
111
|
weight: int
|
107
112
|
weight_measure: str = Field(..., alias="weightMeasure")
|
@@ -113,7 +118,7 @@ class MemberDetail(OtfItemBase):
|
|
113
118
|
year_imported: int = Field(..., alias="yearImported")
|
114
119
|
is_member_verified: bool = Field(..., alias="isMemberVerified")
|
115
120
|
lead_prospect: bool = Field(..., alias="leadProspect")
|
116
|
-
created_by: str = Field(
|
121
|
+
created_by: str | None = Field(None, alias="createdBy")
|
117
122
|
created_date: datetime = Field(..., alias="createdDate")
|
118
123
|
updated_by: str = Field(..., alias="updatedBy")
|
119
124
|
updated_date: datetime = Field(..., alias="updatedDate")
|
@@ -122,7 +127,7 @@ class MemberDetail(OtfItemBase):
|
|
122
127
|
member_credit_card: MemberCreditCard | None = Field(None, alias="memberCreditCard")
|
123
128
|
home_studio: HomeStudio = Field(..., alias="homeStudio")
|
124
129
|
member_profile: MemberProfile = Field(..., alias="memberProfile")
|
125
|
-
member_referrer: None = Field(
|
130
|
+
member_referrer: None | MemberReferrer = Field(None, alias="memberReferrer")
|
126
131
|
otf_acs_id: str = Field(..., alias="otfAcsId")
|
127
132
|
member_class_summary: MemberClassSummary | None = Field(None, alias="memberClassSummary")
|
128
133
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|