Skip to content

Commit b05bee9

Browse files
Release 0.2.12
1 parent 6f74aed commit b05bee9

File tree

4 files changed

+29
-4
lines changed

4 files changed

+29
-4
lines changed

.fern/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
},
1010
"should_generate_websocket_clients": true
1111
},
12-
"sdkVersion": "0.2.11"
12+
"sdkVersion": "0.2.12"
1313
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dynamic = ["version"]
44

55
[tool.poetry]
66
name = "agentmail"
7-
version = "0.2.11"
7+
version = "0.2.12"
88
description = ""
99
readme = "README.md"
1010
authors = []

src/agentmail/core/client_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ def get_headers(self) -> typing.Dict[str, str]:
2525
import platform
2626

2727
headers: typing.Dict[str, str] = {
28-
"User-Agent": "agentmail/0.2.11",
28+
"User-Agent": "agentmail/0.2.12",
2929
"X-Fern-Language": "Python",
3030
"X-Fern-Runtime": f"python/{platform.python_version()}",
3131
"X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
3232
"X-Fern-SDK-Name": "agentmail",
33-
"X-Fern-SDK-Version": "0.2.11",
33+
"X-Fern-SDK-Version": "0.2.12",
3434
**(self.get_custom_headers() or {}),
3535
}
3636
headers["Authorization"] = f"Bearer {self._get_api_key()}"

src/agentmail/organizations/types/organization.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,31 @@ class Organization(UncheckedBaseModel):
3535
Maximum number of domains allowed.
3636
"""
3737

38+
billing_id: typing.Optional[str] = pydantic.Field(default=None)
39+
"""
40+
Provider-agnostic billing customer ID.
41+
"""
42+
43+
billing_type: typing.Optional[str] = pydantic.Field(default=None)
44+
"""
45+
Billing provider type (e.g. "stripe").
46+
"""
47+
48+
billing_subscription_id: typing.Optional[str] = pydantic.Field(default=None)
49+
"""
50+
Active billing subscription ID.
51+
"""
52+
53+
authentication_id: typing.Optional[str] = pydantic.Field(default=None)
54+
"""
55+
Provider-agnostic authentication ID.
56+
"""
57+
58+
authentication_type: typing.Optional[str] = pydantic.Field(default=None)
59+
"""
60+
Authentication provider type.
61+
"""
62+
3863
updated_at: dt.datetime = pydantic.Field()
3964
"""
4065
Time at which organization was last updated.

0 commit comments

Comments
 (0)