mergepythonclient 0.2.7__py3-none-any.whl → 0.2.8__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.
@@ -21,7 +21,7 @@ class BaseClientWrapper:
21
21
  headers: typing.Dict[str, str] = {
22
22
  "X-Fern-Language": "Python",
23
23
  "X-Fern-SDK-Name": "MergePythonClient",
24
- "X-Fern-SDK-Version": "0.2.7",
24
+ "X-Fern-SDK-Version": "0.2.8",
25
25
  }
26
26
  if self._account_token is not None:
27
27
  headers["X-Account-Token"] = self._account_token
@@ -51,7 +51,9 @@ from .types import (
51
51
  ConditionSchemaConditionType,
52
52
  ConditionTypeEnum,
53
53
  Contact,
54
+ ContactAddressesItem,
54
55
  ContactRequest,
56
+ ContactRequestAddressesItem,
55
57
  ContactRequestStatus,
56
58
  ContactResponse,
57
59
  ContactStatus,
@@ -392,7 +394,9 @@ __all__ = [
392
394
  "ConditionSchemaConditionType",
393
395
  "ConditionTypeEnum",
394
396
  "Contact",
397
+ "ContactAddressesItem",
395
398
  "ContactRequest",
399
+ "ContactRequestAddressesItem",
396
400
  "ContactRequestStatus",
397
401
  "ContactResponse",
398
402
  "ContactStatus",
@@ -50,7 +50,9 @@ from .condition_schema import ConditionSchema
50
50
  from .condition_schema_condition_type import ConditionSchemaConditionType
51
51
  from .condition_type_enum import ConditionTypeEnum
52
52
  from .contact import Contact
53
+ from .contact_addresses_item import ContactAddressesItem
53
54
  from .contact_request import ContactRequest
55
+ from .contact_request_addresses_item import ContactRequestAddressesItem
54
56
  from .contact_request_status import ContactRequestStatus
55
57
  from .contact_response import ContactResponse
56
58
  from .contact_status import ContactStatus
@@ -353,7 +355,9 @@ __all__ = [
353
355
  "ConditionSchemaConditionType",
354
356
  "ConditionTypeEnum",
355
357
  "Contact",
358
+ "ContactAddressesItem",
356
359
  "ContactRequest",
360
+ "ContactRequestAddressesItem",
357
361
  "ContactRequestStatus",
358
362
  "ContactResponse",
359
363
  "ContactStatus",
@@ -5,6 +5,7 @@ import typing
5
5
 
6
6
  from ....core.datetime_utils import serialize_datetime
7
7
  from .accounting_phone_number import AccountingPhoneNumber
8
+ from .contact_addresses_item import ContactAddressesItem
8
9
  from .contact_status import ContactStatus
9
10
  from .remote_data import RemoteData
10
11
 
@@ -39,7 +40,7 @@ class Contact(pydantic.BaseModel):
39
40
  description="When the third party's contact was updated."
40
41
  )
41
42
  company: typing.Optional[str] = pydantic.Field(description="The company the contact belongs to.")
42
- addresses: typing.Optional[typing.List[typing.Optional[str]]] = pydantic.Field(
43
+ addresses: typing.Optional[typing.List[typing.Optional[ContactAddressesItem]]] = pydantic.Field(
43
44
  description="`Address` object IDs for the given `Contacts` object."
44
45
  )
45
46
  phone_numbers: typing.Optional[typing.List[AccountingPhoneNumber]] = pydantic.Field(
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from .address import Address
6
+
7
+ ContactAddressesItem = typing.Union[str, Address]
@@ -5,6 +5,7 @@ import typing
5
5
 
6
6
  from ....core.datetime_utils import serialize_datetime
7
7
  from .accounting_phone_number_request import AccountingPhoneNumberRequest
8
+ from .contact_request_addresses_item import ContactRequestAddressesItem
8
9
  from .contact_request_status import ContactRequestStatus
9
10
 
10
11
  try:
@@ -33,7 +34,7 @@ class ContactRequest(pydantic.BaseModel):
33
34
  )
34
35
  currency: typing.Optional[str] = pydantic.Field(description="The currency the contact's transactions are in.")
35
36
  company: typing.Optional[str] = pydantic.Field(description="The company the contact belongs to.")
36
- addresses: typing.Optional[typing.List[typing.Optional[str]]] = pydantic.Field(
37
+ addresses: typing.Optional[typing.List[typing.Optional[ContactRequestAddressesItem]]] = pydantic.Field(
37
38
  description="`Address` object IDs for the given `Contacts` object."
38
39
  )
39
40
  phone_numbers: typing.Optional[typing.List[AccountingPhoneNumberRequest]] = pydantic.Field(
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from .address import Address
6
+
7
+ ContactRequestAddressesItem = typing.Union[str, Address]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mergepythonclient
3
- Version: 0.2.7
3
+ Version: 0.2.8
4
4
  Summary:
5
5
  Requires-Python: >=3.7,<4.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -2,14 +2,14 @@ merge/__init__.py,sha256=kCutiAeK1wG6JWNnryGRbPgG1_H9H8HY7gk1LkHwWHU,277
2
2
  merge/client.py,sha256=-NDvhwDj5FGEi3QOo5SJOQkdfewJobDfCMHKc5Nj8TY,3094
3
3
  merge/core/__init__.py,sha256=QJS3CJ2TYP2E1Tge0CS6Z7r8LTNzJHQVX1hD3558eP0,519
4
4
  merge/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
5
- merge/core/client_wrapper.py,sha256=j6H2I9w4X5TT5LTv_7_jONmrGLWHG8sR5-LXXPExKvQ,1887
5
+ merge/core/client_wrapper.py,sha256=mGZNnVjVZ3qE1GczH4ax0cSf_IYkZnQNwWbBnvSxUqk,1887
6
6
  merge/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
7
7
  merge/core/jsonable_encoder.py,sha256=MTYkDov2EryHgee4QM46uZiBOuOXK9KTHlBdBwU-CpU,3799
8
8
  merge/core/remove_none_from_dict.py,sha256=8m91FC3YuVem0Gm9_sXhJ2tGvP33owJJdrqCLEdowGw,330
9
9
  merge/environment.py,sha256=1PryKrhVLsSb7WuoV_u0s_CReHJO4zB0phQ4coGbHD8,201
10
10
  merge/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  merge/resources/__init__.py,sha256=sNWtwImm6TNexbhV6A8U9O_3TUfRjTun_MPnDD6UVP4,206
12
- merge/resources/accounting/__init__.py,sha256=sZ9gFT9AeM03Ae21xkTdlq3qWJXavsNvQIDWuiwrJ9U,19014
12
+ merge/resources/accounting/__init__.py,sha256=5sxy9iy3wiL0l2KTS5LLsCNZklyQkh4INsV45eHr41k,19136
13
13
  merge/resources/accounting/client.py,sha256=HfH5cPxD5XX0cJABlC09EDqYG3Q98t2ZmJDtt7cKel0,9931
14
14
  merge/resources/accounting/resources/__init__.py,sha256=zBwehl6UkQuFkiajs2s6VsOxJfzTT5tNIf8pkUIeh44,1458
15
15
  merge/resources/accounting/resources/account_details/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
@@ -82,7 +82,7 @@ merge/resources/accounting/resources/vendor_credits/__init__.py,sha256=FTtvy8EDg
82
82
  merge/resources/accounting/resources/vendor_credits/client.py,sha256=Nna3nwhOdfG2Giuf5iMRi8RkQIgmn4ksrGslv4ZZ5M4,13158
83
83
  merge/resources/accounting/resources/webhook_receivers/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
84
84
  merge/resources/accounting/resources/webhook_receivers/client.py,sha256=_8efB8YHlnhUMQNQBkWrXmhZIGOMJ9k6rObV89NmeQo,4927
85
- merge/resources/accounting/types/__init__.py,sha256=bIU5Tu94kJaxgHA8XQHRVoLk-AwvT7k3gWJLMXnUXyk,27711
85
+ merge/resources/accounting/types/__init__.py,sha256=ze86lApTebVqvaLA50p6P6zyaq9Xmkyo1Q24I7Vzq68,27903
86
86
  merge/resources/accounting/types/account.py,sha256=Ec_NwvAxxilTw9JrOxd5XSxT-BLs8RY2xSwcRW28DVc,17524
87
87
  merge/resources/accounting/types/account_classification.py,sha256=h6TtzoRuAZVJKum4IvKSSbxtHO4lVQSgKgAsnYCrXcA,195
88
88
  merge/resources/accounting/types/account_currency.py,sha256=WtMYHwnHYMasl65CVyGaKb7eBVJB1yoIIPqtvEHx3OU,171
@@ -132,8 +132,10 @@ merge/resources/accounting/types/company_info_retrieve_request_expand.py,sha256=
132
132
  merge/resources/accounting/types/condition_schema.py,sha256=ZgR3blR700oCkbVEObwaJRTYbuwHF0A-mpLPGHlrEwk,2447
133
133
  merge/resources/accounting/types/condition_schema_condition_type.py,sha256=ObkGRxBfOBj27zBLeAOWMQWBVh85U5g-WFyqpzrFpLI,200
134
134
  merge/resources/accounting/types/condition_type_enum.py,sha256=8uAxbaxOjIWSwkEpkqy9BMc0n9CF3vRSfmn5B9_KqSg,1478
135
- merge/resources/accounting/types/contact.py,sha256=oXTHFQahEOsdex0UQgnFu2mxxWUADinqdvyXQ2CyEuk,3180
136
- merge/resources/accounting/types/contact_request.py,sha256=5HBg4ZZFsjkIxond_RDJGFWTisCxcWSRJ78MoIkd7IQ,2601
135
+ merge/resources/accounting/types/contact.py,sha256=enhSnJg-yj-vhJ1V4EhHkwTERf7K2t65pXv_jj4veKI,3254
136
+ merge/resources/accounting/types/contact_addresses_item.py,sha256=FBRRqCxvxui0wnp4lKZlvNSGU0ahMpaehc2T7cq5kHQ,160
137
+ merge/resources/accounting/types/contact_request.py,sha256=zWRLn2lte8wt0vtf-soAQl-br0y-23y7Pc5rT-4iFg0,2697
138
+ merge/resources/accounting/types/contact_request_addresses_item.py,sha256=8qGDXv8cyENGK0PFkW6J_BL1AKXUT4m9ZUv81bWsono,167
137
139
  merge/resources/accounting/types/contact_request_status.py,sha256=-8yeziaGl3GHWYa5yJud3YUy_aLhWCShauSktdS3WGQ,182
138
140
  merge/resources/accounting/types/contact_response.py,sha256=CNfI75honATAyOREBN28nqnR1t06wk3vR0aaHER4wQo,1228
139
141
  merge/resources/accounting/types/contact_status.py,sha256=42sGE72u5A8-yOSuWhKTL12l3Qzjs9drDOSaL0SaV3Q,175
@@ -1502,7 +1504,7 @@ merge/resources/ticketing/types/users_retrieve_request_expand.py,sha256=01JMChGj
1502
1504
  merge/resources/ticketing/types/validation_problem_source.py,sha256=rHDWDVoqDW0vZrqojSPT7tQiALQ4dtlWXlLDcEQQuJc,885
1503
1505
  merge/resources/ticketing/types/warning_validation_problem.py,sha256=-8PmhMo2WPKH13NdgWn36FP7dfLo7OhGD7xKWa6YYa0,1038
1504
1506
  merge/resources/ticketing/types/webhook_receiver.py,sha256=K6SM2GwNLTe--L5UfF1DhmjwwqQwcaBycXjOFCc040w,925
1505
- mergepythonclient-0.2.7.dist-info/LICENSE.md,sha256=WKO7xLnLSUInldiq5i25eVqKAjwIUKenaS4Cgir2Iuw,3275
1506
- mergepythonclient-0.2.7.dist-info/METADATA,sha256=uTWeOsvgt4EfICvq70cZB0vycD49iuqWDRsIXxaEdys,5623
1507
- mergepythonclient-0.2.7.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
1508
- mergepythonclient-0.2.7.dist-info/RECORD,,
1507
+ mergepythonclient-0.2.8.dist-info/LICENSE.md,sha256=WKO7xLnLSUInldiq5i25eVqKAjwIUKenaS4Cgir2Iuw,3275
1508
+ mergepythonclient-0.2.8.dist-info/METADATA,sha256=NtWPo_X0NxqXBnC0HBLqqSpo0tpRo0oaLJJQ-upG9RE,5623
1509
+ mergepythonclient-0.2.8.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
1510
+ mergepythonclient-0.2.8.dist-info/RECORD,,