f3-data-models 0.2.1__tar.gz → 0.2.3__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.
- {f3_data_models-0.2.1 → f3_data_models-0.2.3}/PKG-INFO +1 -1
- {f3_data_models-0.2.1 → f3_data_models-0.2.3}/f3_data_models/models.py +27 -50
- {f3_data_models-0.2.1 → f3_data_models-0.2.3}/pyproject.toml +1 -1
- {f3_data_models-0.2.1 → f3_data_models-0.2.3}/README.md +0 -0
- {f3_data_models-0.2.1 → f3_data_models-0.2.3}/f3_data_models/__init__.py +0 -0
- {f3_data_models-0.2.1 → f3_data_models-0.2.3}/f3_data_models/utils.py +0 -0
@@ -487,6 +487,7 @@ class Location(Base):
|
|
487
487
|
name (str): The name of the location.
|
488
488
|
description (Optional[text]): A description of the location.
|
489
489
|
is_active (bool): Whether the location is active.
|
490
|
+
email (Optional[str]): A contact email address associated with the location.
|
490
491
|
lat (Optional[float]): The latitude of the location.
|
491
492
|
lon (Optional[float]): The longitude of the location.
|
492
493
|
address_street (Optional[str]): The street address of the location.
|
@@ -506,9 +507,11 @@ class Location(Base):
|
|
506
507
|
name: Mapped[str]
|
507
508
|
description: Mapped[Optional[text]]
|
508
509
|
is_active: Mapped[bool]
|
509
|
-
|
510
|
-
|
510
|
+
email: Mapped[Optional[str]]
|
511
|
+
latitude: Mapped[Optional[float]]
|
512
|
+
longitude: Mapped[Optional[float]]
|
511
513
|
address_street: Mapped[Optional[str]]
|
514
|
+
address_street2: Mapped[Optional[str]]
|
512
515
|
address_city: Mapped[Optional[str]]
|
513
516
|
address_state: Mapped[Optional[str]]
|
514
517
|
address_zip: Mapped[Optional[str]]
|
@@ -537,6 +540,7 @@ class Event(Base):
|
|
537
540
|
day_of_week (Optional[int]): The day of the week of the event. (0=Monday, 6=Sunday)
|
538
541
|
name (str): The name of the event.
|
539
542
|
description (Optional[text]): A description of the event.
|
543
|
+
email (Optional[str]): A contact email address associated with the event.
|
540
544
|
recurrence_pattern (Optional[str]): The recurrence pattern of the event. Current options are 'weekly' or 'monthly'.
|
541
545
|
recurrence_interval (Optional[int]): The recurrence interval of the event (e.g. every 2 weeks).
|
542
546
|
index_within_interval (Optional[int]): The index within the recurrence interval. (e.g. 2nd Tuesday of the month).
|
@@ -576,6 +580,7 @@ class Event(Base):
|
|
576
580
|
day_of_week: Mapped[Optional[int]]
|
577
581
|
name: Mapped[str]
|
578
582
|
description: Mapped[Optional[text]]
|
583
|
+
email: Mapped[Optional[str]]
|
579
584
|
recurrence_pattern: Mapped[Optional[str]]
|
580
585
|
recurrence_interval: Mapped[Optional[int]]
|
581
586
|
index_within_interval: Mapped[Optional[int]]
|
@@ -943,54 +948,6 @@ class Expansion_x_User(Base):
|
|
943
948
|
notes: Mapped[Optional[text]]
|
944
949
|
|
945
950
|
|
946
|
-
class MagicLinkAuthRecord(Base):
|
947
|
-
"""
|
948
|
-
Model representing a Magic Link Auth Record.
|
949
|
-
|
950
|
-
Attributes:
|
951
|
-
id (int): Primary Key of the model.
|
952
|
-
email (str): The email of the user.
|
953
|
-
otp_hash (bytes): The hash of the OTP.
|
954
|
-
created (datetime): The timestamp when the record was created.
|
955
|
-
expiration (datetime): The timestamp when the record expires.
|
956
|
-
client_ip (str): The client IP address.
|
957
|
-
recent_attempts (int): The number of recent attempts.
|
958
|
-
"""
|
959
|
-
|
960
|
-
__tablename__ = "magiclinkauthrecord"
|
961
|
-
|
962
|
-
id: Mapped[intpk]
|
963
|
-
email: Mapped[str]
|
964
|
-
otp_hash: Mapped[bytes]
|
965
|
-
created: Mapped[dt_create]
|
966
|
-
expiration: Mapped[dt_create]
|
967
|
-
client_ip: Mapped[str]
|
968
|
-
recent_attempts: Mapped[int]
|
969
|
-
|
970
|
-
|
971
|
-
class MagicLinkAuthSession(Base):
|
972
|
-
"""
|
973
|
-
Model representing a Magic Link Auth Session.
|
974
|
-
|
975
|
-
Attributes:
|
976
|
-
id (int): Primary Key of the model.
|
977
|
-
email (str): The email of the user.
|
978
|
-
persistent_id (str): The persistent ID.
|
979
|
-
session_token (str): The session token.
|
980
|
-
created (datetime): The timestamp when the record was created.
|
981
|
-
expiration (datetime): The timestamp when the record expires.
|
982
|
-
"""
|
983
|
-
|
984
|
-
__tablename__ = "magiclinkauthsession"
|
985
|
-
|
986
|
-
id: Mapped[intpk]
|
987
|
-
email: Mapped[str]
|
988
|
-
persistent_id: Mapped[str]
|
989
|
-
session_token: Mapped[str]
|
990
|
-
created: Mapped[dt_create]
|
991
|
-
expiration: Mapped[dt_create]
|
992
|
-
|
993
|
-
|
994
951
|
# class Org_x_SlackChannel(Base):
|
995
952
|
# """
|
996
953
|
# Model representing the association between organizations (specifically AOs) and Slack channels.
|
@@ -1006,3 +963,23 @@ class MagicLinkAuthSession(Base):
|
|
1006
963
|
# slack_channel_id: Mapped[str] = mapped_column(
|
1007
964
|
# primary_key=True
|
1008
965
|
# ) # Do we need a slack channel table?
|
966
|
+
|
967
|
+
# class SlackSpaceLog(Base):
|
968
|
+
# """
|
969
|
+
# Model representing a log of Slack space events.
|
970
|
+
|
971
|
+
# Attributes:
|
972
|
+
# id (int): Primary Key of the model.
|
973
|
+
# slack_space_id (int): The ID of the associated Slack space.
|
974
|
+
# event (str): The event that occurred.
|
975
|
+
# data (Optional[Dict[str, Any]]): Additional data for the log.
|
976
|
+
# created (datetime): The timestamp when the record was created.
|
977
|
+
# """
|
978
|
+
|
979
|
+
# __tablename__ = "slack_space_logs"
|
980
|
+
|
981
|
+
# id: Mapped[intpk]
|
982
|
+
# slack_space_id: Mapped[int] = mapped_column(ForeignKey("slack_spaces.id"))
|
983
|
+
# event: Mapped[str]
|
984
|
+
# data: Mapped[Optional[Dict[str, Any]]]
|
985
|
+
# created: Mapped[dt_create]
|
File without changes
|
File without changes
|
File without changes
|