artemis-model 0.1.114__py3-none-any.whl → 0.1.115__py3-none-any.whl

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.
@@ -10,6 +10,8 @@ from artemis_model.redis.zone_state import SessionId
10
10
  from artemis_model.schedule import ScheduleItem
11
11
  from pydantic import BaseModel, Field
12
12
 
13
+ from artemis_model.zone_activity import ZoneActivityType
14
+
13
15
 
14
16
  class Action(str, Enum):
15
17
  """Message type enum."""
@@ -101,3 +103,12 @@ class BanTrackIn(BaseMessage):
101
103
  zone_id: int
102
104
  track_id: UUID
103
105
  playlist_id: int
106
+
107
+
108
+ class ZoneActivityIn(BaseMessage):
109
+ """Zone activity message schema."""
110
+
111
+ action: Action = Action.ZONE_ACTIVITY
112
+ zone_id: int
113
+ activity_type: ZoneActivityType
114
+ activity_data: dict
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: artemis-model
3
- Version: 0.1.114
3
+ Version: 0.1.115
4
4
  Summary:
5
5
  Author: Jukeboxy
6
6
  Requires-Python: >=3.10.6,<4.0.0
@@ -22,11 +22,11 @@ artemis_model/redis/zone_state.py,sha256=PgHiGUZ2WI3bqO-8CW2cwzLEQu3l4wJAzIABSWE
22
22
  artemis_model/schedule.py,sha256=CkLHWz-BwvUY2EQCfoU4SymgCariPzoQdtRLITqBPmk,2451
23
23
  artemis_model/setting.py,sha256=EWzOmE31mLNWwmV_wmqttHPMycvQZW7SJUIozF2b8bo,1190
24
24
  artemis_model/sqs/__init__.py,sha256=nHpXQns64qQ5Cqjyo6w9fDGO_wWhprqn1bhKf3eWnio,17
25
- artemis_model/sqs/messages.py,sha256=8PcZYUsh85x3TikZ4hBvGl_xUl9onKUwSCxZWgToEgQ,2668
25
+ artemis_model/sqs/messages.py,sha256=mT8Q2OmrX5E3XUYIC-QBOAGPm4nuuWZa4CgFtCOOuwM,2923
26
26
  artemis_model/track.py,sha256=QwUF0QKVn1I64648B-NI75-IzGQvnLt9B0emD4GnS6E,3757
27
27
  artemis_model/user.py,sha256=eqIdCiBJRNLjCwPPCn-gQ6si0O5JUBGfp9oWJL5zVW4,2131
28
28
  artemis_model/zone.py,sha256=iGRUtzUwKh9LHT3MOfzzg1DnkPBts_ZBzZVTi2EmIgs,2282
29
29
  artemis_model/zone_activity.py,sha256=TgBIbVhU_aVvhPIe7eC4TSJayW8aMSJWoOiv6JduS4w,1598
30
- artemis_model-0.1.114.dist-info/METADATA,sha256=H3jVVmEerVNAXOgVSmOHaFeBVmJQzmXS9ZSu-wtPDaU,3445
31
- artemis_model-0.1.114.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
32
- artemis_model-0.1.114.dist-info/RECORD,,
30
+ artemis_model-0.1.115.dist-info/METADATA,sha256=0qqQTBT6z3mox6d4mtouRRJ_cX8UWLpLI6NjUtD02N0,3445
31
+ artemis_model-0.1.115.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
32
+ artemis_model-0.1.115.dist-info/RECORD,,