@@ -37,6 +37,7 @@ def get_contact(
3737 id : str ,
3838 * ,
3939 fields : typing .Optional [str ] = None ,
40+ associations : typing .Optional [str ] = None ,
4041 x_revert_api_token : str ,
4142 x_revert_t_id : str ,
4243 x_api_version : typing .Optional [str ] = None ,
@@ -49,6 +50,8 @@ def get_contact(
4950
5051 - fields: typing.Optional[str].
5152
53+ - associations: typing.Optional[str].
54+
5255 - x_revert_api_token: str. Your official API key for accessing revert apis.
5356
5457 - x_revert_t_id: str. The unique customer id used when the customer linked their account.
@@ -58,7 +61,7 @@ def get_contact(
5861 _response = self ._client_wrapper .httpx_client .request (
5962 "GET" ,
6063 urllib .parse .urljoin (f"{ self ._client_wrapper .get_base_url ()} /" , f"crm/contacts/{ id } " ),
61- params = remove_none_from_dict ({"fields" : fields }),
64+ params = remove_none_from_dict ({"fields" : fields , "associations" : associations }),
6265 headers = remove_none_from_dict (
6366 {
6467 ** self ._client_wrapper .get_headers (),
@@ -89,6 +92,7 @@ def get_contacts(
8992 fields : typing .Optional [str ] = None ,
9093 page_size : typing .Optional [str ] = None ,
9194 cursor : typing .Optional [str ] = None ,
95+ associations : typing .Optional [str ] = None ,
9296 x_revert_api_token : str ,
9397 x_revert_t_id : str ,
9498 x_api_version : typing .Optional [str ] = None ,
@@ -103,6 +107,8 @@ def get_contacts(
103107
104108 - cursor: typing.Optional[str].
105109
110+ - associations: typing.Optional[str].
111+
106112 - x_revert_api_token: str. Your official API key for accessing revert apis.
107113
108114 - x_revert_t_id: str. The unique customer id used when the customer linked their account.
@@ -112,7 +118,9 @@ def get_contacts(
112118 _response = self ._client_wrapper .httpx_client .request (
113119 "GET" ,
114120 urllib .parse .urljoin (f"{ self ._client_wrapper .get_base_url ()} /" , "crm/contacts" ),
115- params = remove_none_from_dict ({"fields" : fields , "pageSize" : page_size , "cursor" : cursor }),
121+ params = remove_none_from_dict (
122+ {"fields" : fields , "pageSize" : page_size , "cursor" : cursor , "associations" : associations }
123+ ),
116124 headers = remove_none_from_dict (
117125 {
118126 ** self ._client_wrapper .get_headers (),
@@ -308,6 +316,7 @@ async def get_contact(
308316 id : str ,
309317 * ,
310318 fields : typing .Optional [str ] = None ,
319+ associations : typing .Optional [str ] = None ,
311320 x_revert_api_token : str ,
312321 x_revert_t_id : str ,
313322 x_api_version : typing .Optional [str ] = None ,
@@ -320,6 +329,8 @@ async def get_contact(
320329
321330 - fields: typing.Optional[str].
322331
332+ - associations: typing.Optional[str].
333+
323334 - x_revert_api_token: str. Your official API key for accessing revert apis.
324335
325336 - x_revert_t_id: str. The unique customer id used when the customer linked their account.
@@ -329,7 +340,7 @@ async def get_contact(
329340 _response = await self ._client_wrapper .httpx_client .request (
330341 "GET" ,
331342 urllib .parse .urljoin (f"{ self ._client_wrapper .get_base_url ()} /" , f"crm/contacts/{ id } " ),
332- params = remove_none_from_dict ({"fields" : fields }),
343+ params = remove_none_from_dict ({"fields" : fields , "associations" : associations }),
333344 headers = remove_none_from_dict (
334345 {
335346 ** self ._client_wrapper .get_headers (),
@@ -360,6 +371,7 @@ async def get_contacts(
360371 fields : typing .Optional [str ] = None ,
361372 page_size : typing .Optional [str ] = None ,
362373 cursor : typing .Optional [str ] = None ,
374+ associations : typing .Optional [str ] = None ,
363375 x_revert_api_token : str ,
364376 x_revert_t_id : str ,
365377 x_api_version : typing .Optional [str ] = None ,
@@ -374,6 +386,8 @@ async def get_contacts(
374386
375387 - cursor: typing.Optional[str].
376388
389+ - associations: typing.Optional[str].
390+
377391 - x_revert_api_token: str. Your official API key for accessing revert apis.
378392
379393 - x_revert_t_id: str. The unique customer id used when the customer linked their account.
@@ -383,7 +397,9 @@ async def get_contacts(
383397 _response = await self ._client_wrapper .httpx_client .request (
384398 "GET" ,
385399 urllib .parse .urljoin (f"{ self ._client_wrapper .get_base_url ()} /" , "crm/contacts" ),
386- params = remove_none_from_dict ({"fields" : fields , "pageSize" : page_size , "cursor" : cursor }),
400+ params = remove_none_from_dict (
401+ {"fields" : fields , "pageSize" : page_size , "cursor" : cursor , "associations" : associations }
402+ ),
387403 headers = remove_none_from_dict (
388404 {
389405 ** self ._client_wrapper .get_headers (),
0 commit comments