otf-api 0.8.0__tar.gz → 0.8.1__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.
Files changed (36) hide show
  1. {otf_api-0.8.0 → otf_api-0.8.1}/PKG-INFO +1 -1
  2. {otf_api-0.8.0 → otf_api-0.8.1}/pyproject.toml +1 -1
  3. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/__init__.py +1 -1
  4. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/member_detail.py +8 -3
  5. {otf_api-0.8.0 → otf_api-0.8.1}/AUTHORS.md +0 -0
  6. {otf_api-0.8.0 → otf_api-0.8.1}/LICENSE +0 -0
  7. {otf_api-0.8.0 → otf_api-0.8.1}/README.md +0 -0
  8. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/api.py +0 -0
  9. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/auth.py +0 -0
  10. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/exceptions.py +0 -0
  11. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/__init__.py +0 -0
  12. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/base.py +0 -0
  13. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/body_composition_list.py +0 -0
  14. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/book_class.py +0 -0
  15. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/bookings.py +0 -0
  16. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/cancel_booking.py +0 -0
  17. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/challenge_tracker_content.py +0 -0
  18. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/challenge_tracker_detail.py +0 -0
  19. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/classes.py +0 -0
  20. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/enums.py +0 -0
  21. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/favorite_studios.py +0 -0
  22. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/latest_agreement.py +0 -0
  23. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/lifetime_stats.py +0 -0
  24. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/member_membership.py +0 -0
  25. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/member_purchases.py +0 -0
  26. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/mixins.py +0 -0
  27. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/out_of_studio_workout_history.py +0 -0
  28. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/performance_summary_detail.py +0 -0
  29. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/performance_summary_list.py +0 -0
  30. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/studio_detail.py +0 -0
  31. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/studio_services.py +0 -0
  32. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/telemetry.py +0 -0
  33. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/telemetry_hr_history.py +0 -0
  34. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/telemetry_max_hr.py +0 -0
  35. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/models/total_classes.py +0 -0
  36. {otf_api-0.8.0 → otf_api-0.8.1}/src/otf_api/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: otf-api
3
- Version: 0.8.0
3
+ Version: 0.8.1
4
4
  Summary: Python OrangeTheory Fitness API Client
5
5
  License: MIT
6
6
  Author: Jessica Smith
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "otf-api"
3
- version = "0.8.0"
3
+ version = "0.8.1"
4
4
  description = "Python OrangeTheory Fitness API Client"
5
5
  authors = ["Jessica Smith <j.smith.git1@gmail.com>"]
6
6
  license = "MIT"
@@ -1,7 +1,7 @@
1
1
  from .api import Otf
2
2
  from .auth import OtfUser
3
3
 
4
- __version__ = "0.8.0"
4
+ __version__ = "0.8.1"
5
5
 
6
6
 
7
7
  __all__ = ["Otf", "OtfUser"]
@@ -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: None
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(..., alias="createdBy")
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(..., alias="memberReferrer")
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