fathom-python 0.0.35__tar.gz → 0.0.36__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 (68) hide show
  1. {fathom_python-0.0.35 → fathom_python-0.0.36}/PKG-INFO +2 -2
  2. {fathom_python-0.0.35 → fathom_python-0.0.36}/pyproject.toml +2 -2
  3. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/_version.py +3 -3
  4. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/httpclient.py +0 -1
  5. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/meeting.py +3 -2
  6. fathom_python-0.0.36/src/fathom_python/models/transcriptitemspeaker.py +59 -0
  7. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/sdk.py +14 -14
  8. fathom_python-0.0.35/src/fathom_python/models/transcriptitemspeaker.py +0 -23
  9. {fathom_python-0.0.35 → fathom_python-0.0.36}/README.md +0 -0
  10. {fathom_python-0.0.35 → fathom_python-0.0.36}/py.typed +0 -0
  11. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/__init__.py +0 -0
  12. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/_hooks/__init__.py +0 -0
  13. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/_hooks/registration.py +0 -0
  14. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/_hooks/sdkhooks.py +0 -0
  15. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/_hooks/types.py +0 -0
  16. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/basesdk.py +0 -0
  17. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/errors/__init__.py +0 -0
  18. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/errors/apierror.py +0 -0
  19. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/errors/fathomerror.py +0 -0
  20. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/errors/no_response_error.py +0 -0
  21. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/errors/responsevalidationerror.py +0 -0
  22. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/__init__.py +0 -0
  23. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/actionitem.py +0 -0
  24. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/assignee.py +0 -0
  25. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/callbackresponse.py +0 -0
  26. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/createwebhookop.py +0 -0
  27. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/crmcompanymatch.py +0 -0
  28. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/crmcontactmatch.py +0 -0
  29. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/crmdealmatch.py +0 -0
  30. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/crmmatches.py +0 -0
  31. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/deletewebhookop.py +0 -0
  32. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/fathomuser.py +0 -0
  33. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/getrecordingsummaryop.py +0 -0
  34. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/getrecordingtranscriptop.py +0 -0
  35. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/invitee.py +0 -0
  36. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/listmeetingsop.py +0 -0
  37. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/listteammembersop.py +0 -0
  38. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/listteamsop.py +0 -0
  39. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/meetinglistresponse.py +0 -0
  40. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/meetingsummary.py +0 -0
  41. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/security.py +0 -0
  42. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/team.py +0 -0
  43. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/teamlistresponse.py +0 -0
  44. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/teammember.py +0 -0
  45. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/teammemberlistresponse.py +0 -0
  46. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/transcriptitem.py +0 -0
  47. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/models/webhook.py +0 -0
  48. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/py.typed +0 -0
  49. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/sdkconfiguration.py +0 -0
  50. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/types/__init__.py +0 -0
  51. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/types/basemodel.py +0 -0
  52. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/__init__.py +0 -0
  53. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/annotations.py +0 -0
  54. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/datetimes.py +0 -0
  55. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/enums.py +0 -0
  56. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/eventstreaming.py +0 -0
  57. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/forms.py +0 -0
  58. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/headers.py +0 -0
  59. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/logger.py +0 -0
  60. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/metadata.py +0 -0
  61. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/queryparams.py +0 -0
  62. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/requestbodies.py +0 -0
  63. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/retries.py +0 -0
  64. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/security.py +0 -0
  65. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/serializers.py +0 -0
  66. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/unmarshal_json_response.py +0 -0
  67. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/url.py +0 -0
  68. {fathom_python-0.0.35 → fathom_python-0.0.36}/src/fathom_python/utils/values.py +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: fathom-python
3
- Version: 0.0.35
4
- Summary: Python Client SDK Generated by Speakeasy.
3
+ Version: 0.0.36
4
+ Summary: Fathom's official Python SDK.
5
5
  Author: Speakeasy
6
6
  Requires-Python: >=3.9.2
7
7
  Classifier: Programming Language :: Python :: 3
@@ -1,8 +1,8 @@
1
1
 
2
2
  [project]
3
3
  name = "fathom-python"
4
- version = "0.0.35"
5
- description = "Python Client SDK Generated by Speakeasy."
4
+ version = "0.0.36"
5
+ description = "Fathom's official Python SDK."
6
6
  authors = [{ name = "Speakeasy" },]
7
7
  readme = "README.md"
8
8
  requires-python = ">=3.9.2"
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "fathom-python"
6
- __version__: str = "0.0.35"
6
+ __version__: str = "0.0.36"
7
7
  __openapi_doc_version__: str = "1.0.0"
8
- __gen_version__: str = "2.716.16"
9
- __user_agent__: str = "speakeasy-sdk/python 0.0.35 2.716.16 1.0.0 fathom-python"
8
+ __gen_version__: str = "2.723.8"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.0.36 2.723.8 1.0.0 fathom-python"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -107,7 +107,6 @@ def close_clients(
107
107
  # to them from the owning SDK instance and they can be reaped.
108
108
  owner.client = None
109
109
  owner.async_client = None
110
-
111
110
  if sync_client is not None and not sync_client_supplied:
112
111
  try:
113
112
  sync_client.close()
@@ -28,7 +28,7 @@ class CalendarInviteesDomainsType(str, Enum):
28
28
 
29
29
  class MeetingTypedDict(TypedDict):
30
30
  title: str
31
- meeting_title: str
31
+ meeting_title: Nullable[str]
32
32
  r"""Calendar event title."""
33
33
  recording_id: int
34
34
  r"""The ID of the meeting recording."""
@@ -56,7 +56,7 @@ class MeetingTypedDict(TypedDict):
56
56
  class Meeting(BaseModel):
57
57
  title: str
58
58
 
59
- meeting_title: str
59
+ meeting_title: Nullable[str]
60
60
  r"""Calendar event title."""
61
61
 
62
62
  recording_id: int
@@ -105,6 +105,7 @@ class Meeting(BaseModel):
105
105
  "crm_matches",
106
106
  ]
107
107
  nullable_fields = [
108
+ "meeting_title",
108
109
  "transcript",
109
110
  "default_summary",
110
111
  "action_items",
@@ -0,0 +1,59 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from fathom_python.types import (
5
+ BaseModel,
6
+ Nullable,
7
+ OptionalNullable,
8
+ UNSET,
9
+ UNSET_SENTINEL,
10
+ )
11
+ from pydantic import model_serializer
12
+ from typing_extensions import NotRequired, TypedDict
13
+
14
+
15
+ class TranscriptItemSpeakerTypedDict(TypedDict):
16
+ display_name: str
17
+ matched_calendar_invitee_email: NotRequired[Nullable[str]]
18
+ r"""**Coming soon!**
19
+
20
+ """
21
+
22
+
23
+ class TranscriptItemSpeaker(BaseModel):
24
+ display_name: str
25
+
26
+ matched_calendar_invitee_email: OptionalNullable[str] = UNSET
27
+ r"""**Coming soon!**
28
+
29
+ """
30
+
31
+ @model_serializer(mode="wrap")
32
+ def serialize_model(self, handler):
33
+ optional_fields = ["matched_calendar_invitee_email"]
34
+ nullable_fields = ["matched_calendar_invitee_email"]
35
+ null_default_fields = []
36
+
37
+ serialized = handler(self)
38
+
39
+ m = {}
40
+
41
+ for n, f in type(self).model_fields.items():
42
+ k = f.alias or n
43
+ val = serialized.get(k)
44
+ serialized.pop(k, None)
45
+
46
+ optional_nullable = k in optional_fields and k in nullable_fields
47
+ is_set = (
48
+ self.__pydantic_fields_set__.intersection({n})
49
+ or k in null_default_fields
50
+ ) # pylint: disable=no-member
51
+
52
+ if val is not None and val != UNSET_SENTINEL:
53
+ m[k] = val
54
+ elif val != UNSET_SENTINEL and (
55
+ not k in optional_fields or (optional_nullable and is_set)
56
+ ):
57
+ m[k] = val
58
+
59
+ return m
@@ -361,7 +361,7 @@ class Fathom(BaseSDK):
361
361
  config=self.sdk_configuration,
362
362
  base_url=base_url or "",
363
363
  operation_id="listMeetings",
364
- oauth2_scopes=[],
364
+ oauth2_scopes=None,
365
365
  security_source=get_security_from_env(
366
366
  self.sdk_configuration.security, models.Security
367
367
  ),
@@ -511,7 +511,7 @@ class Fathom(BaseSDK):
511
511
  config=self.sdk_configuration,
512
512
  base_url=base_url or "",
513
513
  operation_id="listMeetings",
514
- oauth2_scopes=[],
514
+ oauth2_scopes=None,
515
515
  security_source=get_security_from_env(
516
516
  self.sdk_configuration.security, models.Security
517
517
  ),
@@ -631,7 +631,7 @@ class Fathom(BaseSDK):
631
631
  config=self.sdk_configuration,
632
632
  base_url=base_url or "",
633
633
  operation_id="getRecordingSummary",
634
- oauth2_scopes=[],
634
+ oauth2_scopes=None,
635
635
  security_source=get_security_from_env(
636
636
  self.sdk_configuration.security, models.Security
637
637
  ),
@@ -720,7 +720,7 @@ class Fathom(BaseSDK):
720
720
  config=self.sdk_configuration,
721
721
  base_url=base_url or "",
722
722
  operation_id="getRecordingSummary",
723
- oauth2_scopes=[],
723
+ oauth2_scopes=None,
724
724
  security_source=get_security_from_env(
725
725
  self.sdk_configuration.security, models.Security
726
726
  ),
@@ -809,7 +809,7 @@ class Fathom(BaseSDK):
809
809
  config=self.sdk_configuration,
810
810
  base_url=base_url or "",
811
811
  operation_id="getRecordingTranscript",
812
- oauth2_scopes=[],
812
+ oauth2_scopes=None,
813
813
  security_source=get_security_from_env(
814
814
  self.sdk_configuration.security, models.Security
815
815
  ),
@@ -900,7 +900,7 @@ class Fathom(BaseSDK):
900
900
  config=self.sdk_configuration,
901
901
  base_url=base_url or "",
902
902
  operation_id="getRecordingTranscript",
903
- oauth2_scopes=[],
903
+ oauth2_scopes=None,
904
904
  security_source=get_security_from_env(
905
905
  self.sdk_configuration.security, models.Security
906
906
  ),
@@ -983,7 +983,7 @@ class Fathom(BaseSDK):
983
983
  config=self.sdk_configuration,
984
984
  base_url=base_url or "",
985
985
  operation_id="listTeams",
986
- oauth2_scopes=[],
986
+ oauth2_scopes=None,
987
987
  security_source=get_security_from_env(
988
988
  self.sdk_configuration.security, models.Security
989
989
  ),
@@ -1083,7 +1083,7 @@ class Fathom(BaseSDK):
1083
1083
  config=self.sdk_configuration,
1084
1084
  base_url=base_url or "",
1085
1085
  operation_id="listTeams",
1086
- oauth2_scopes=[],
1086
+ oauth2_scopes=None,
1087
1087
  security_source=get_security_from_env(
1088
1088
  self.sdk_configuration.security, models.Security
1089
1089
  ),
@@ -1186,7 +1186,7 @@ class Fathom(BaseSDK):
1186
1186
  config=self.sdk_configuration,
1187
1187
  base_url=base_url or "",
1188
1188
  operation_id="listTeamMembers",
1189
- oauth2_scopes=[],
1189
+ oauth2_scopes=None,
1190
1190
  security_source=get_security_from_env(
1191
1191
  self.sdk_configuration.security, models.Security
1192
1192
  ),
@@ -1290,7 +1290,7 @@ class Fathom(BaseSDK):
1290
1290
  config=self.sdk_configuration,
1291
1291
  base_url=base_url or "",
1292
1292
  operation_id="listTeamMembers",
1293
- oauth2_scopes=[],
1293
+ oauth2_scopes=None,
1294
1294
  security_source=get_security_from_env(
1295
1295
  self.sdk_configuration.security, models.Security
1296
1296
  ),
@@ -1413,7 +1413,7 @@ class Fathom(BaseSDK):
1413
1413
  config=self.sdk_configuration,
1414
1414
  base_url=base_url or "",
1415
1415
  operation_id="createWebhook",
1416
- oauth2_scopes=[],
1416
+ oauth2_scopes=None,
1417
1417
  security_source=get_security_from_env(
1418
1418
  self.sdk_configuration.security, models.Security
1419
1419
  ),
@@ -1516,7 +1516,7 @@ class Fathom(BaseSDK):
1516
1516
  config=self.sdk_configuration,
1517
1517
  base_url=base_url or "",
1518
1518
  operation_id="createWebhook",
1519
- oauth2_scopes=[],
1519
+ oauth2_scopes=None,
1520
1520
  security_source=get_security_from_env(
1521
1521
  self.sdk_configuration.security, models.Security
1522
1522
  ),
@@ -1599,7 +1599,7 @@ class Fathom(BaseSDK):
1599
1599
  config=self.sdk_configuration,
1600
1600
  base_url=base_url or "",
1601
1601
  operation_id="deleteWebhook",
1602
- oauth2_scopes=[],
1602
+ oauth2_scopes=None,
1603
1603
  security_source=get_security_from_env(
1604
1604
  self.sdk_configuration.security, models.Security
1605
1605
  ),
@@ -1682,7 +1682,7 @@ class Fathom(BaseSDK):
1682
1682
  config=self.sdk_configuration,
1683
1683
  base_url=base_url or "",
1684
1684
  operation_id="deleteWebhook",
1685
- oauth2_scopes=[],
1685
+ oauth2_scopes=None,
1686
1686
  security_source=get_security_from_env(
1687
1687
  self.sdk_configuration.security, models.Security
1688
1688
  ),
@@ -1,23 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from fathom_python.types import BaseModel
5
- from typing import Optional
6
- from typing_extensions import NotRequired, TypedDict
7
-
8
-
9
- class TranscriptItemSpeakerTypedDict(TypedDict):
10
- display_name: str
11
- matched_calendar_invitee_email: NotRequired[str]
12
- r"""**Coming soon!**
13
-
14
- """
15
-
16
-
17
- class TranscriptItemSpeaker(BaseModel):
18
- display_name: str
19
-
20
- matched_calendar_invitee_email: Optional[str] = None
21
- r"""**Coming soon!**
22
-
23
- """
File without changes
File without changes