Skip to content

Commit 564fc34

Browse files
(fix): allow extra_fields (#91)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 6ceae34 commit 564fc34

File tree

584 files changed

+585
-585
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

584 files changed

+585
-585
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "MergePythonClient"
3-
version = "1.0.10"
3+
version = "1.0.11"
44
description = ""
55
readme = "README.md"
66
authors = []

src/merge/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ def __init__(
7979
self.ats = AtsClient(client_wrapper=self._client_wrapper)
8080
self.crm = CrmClient(client_wrapper=self._client_wrapper)
8181
self.filestorage = FilestorageClient(client_wrapper=self._client_wrapper)
82-
self.hris = HrisClient(client_wrapper=self._client_wrapper)
8382
self.ticketing = TicketingClient(client_wrapper=self._client_wrapper)
83+
self.hris = HrisClient(client_wrapper=self._client_wrapper)
8484
self.accounting = AccountingClient(client_wrapper=self._client_wrapper)
8585

8686

@@ -149,8 +149,8 @@ def __init__(
149149
self.ats = AsyncAtsClient(client_wrapper=self._client_wrapper)
150150
self.crm = AsyncCrmClient(client_wrapper=self._client_wrapper)
151151
self.filestorage = AsyncFilestorageClient(client_wrapper=self._client_wrapper)
152-
self.hris = AsyncHrisClient(client_wrapper=self._client_wrapper)
153152
self.ticketing = AsyncTicketingClient(client_wrapper=self._client_wrapper)
153+
self.hris = AsyncHrisClient(client_wrapper=self._client_wrapper)
154154
self.accounting = AsyncAccountingClient(client_wrapper=self._client_wrapper)
155155

156156

src/merge/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def get_headers(self) -> typing.Dict[str, str]:
2525
headers: typing.Dict[str, str] = {
2626
"X-Fern-Language": "Python",
2727
"X-Fern-SDK-Name": "MergePythonClient",
28-
"X-Fern-SDK-Version": "1.0.10",
28+
"X-Fern-SDK-Version": "1.0.11",
2929
}
3030
if self._account_token is not None:
3131
headers["X-Account-Token"] = self._account_token

src/merge/resources/accounting/types/account.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,5 +438,5 @@ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
438438
class Config:
439439
frozen = True
440440
smart_union = True
441-
extra = pydantic_v1.Extra.forbid
441+
extra = pydantic_v1.Extra.allow
442442
json_encoders = {dt.datetime: serialize_datetime}

src/merge/resources/accounting/types/account_details.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
4040
class Config:
4141
frozen = True
4242
smart_union = True
43-
extra = pydantic_v1.Extra.forbid
43+
extra = pydantic_v1.Extra.allow
4444
json_encoders = {dt.datetime: serialize_datetime}

src/merge/resources/accounting/types/account_details_and_actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
5959
class Config:
6060
frozen = True
6161
smart_union = True
62-
extra = pydantic_v1.Extra.forbid
62+
extra = pydantic_v1.Extra.allow
6363
json_encoders = {dt.datetime: serialize_datetime}

src/merge/resources/accounting/types/account_details_and_actions_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
3434
class Config:
3535
frozen = True
3636
smart_union = True
37-
extra = pydantic_v1.Extra.forbid
37+
extra = pydantic_v1.Extra.allow
3838
json_encoders = {dt.datetime: serialize_datetime}

src/merge/resources/accounting/types/account_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,5 @@ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
6565
class Config:
6666
frozen = True
6767
smart_union = True
68-
extra = pydantic_v1.Extra.forbid
68+
extra = pydantic_v1.Extra.allow
6969
json_encoders = {dt.datetime: serialize_datetime}

src/merge/resources/accounting/types/account_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,5 +416,5 @@ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
416416
class Config:
417417
frozen = True
418418
smart_union = True
419-
extra = pydantic_v1.Extra.forbid
419+
extra = pydantic_v1.Extra.allow
420420
json_encoders = {dt.datetime: serialize_datetime}

src/merge/resources/accounting/types/account_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
3232
class Config:
3333
frozen = True
3434
smart_union = True
35-
extra = pydantic_v1.Extra.forbid
35+
extra = pydantic_v1.Extra.allow
3636
json_encoders = {dt.datetime: serialize_datetime}

0 commit comments

Comments
 (0)