@@ -193,6 +193,7 @@ def update(
193193 entity_id : str ,
194194 * ,
195195 risk_rating : entity_update_params .RiskRating | NotGiven = NOT_GIVEN ,
196+ third_party_verification : entity_update_params .ThirdPartyVerification | NotGiven = NOT_GIVEN ,
196197 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
197198 # The extra values given here take precedence over values defined on the client or passed to this method.
198199 extra_headers : Headers | None = None ,
@@ -210,6 +211,9 @@ def update(
210211 risk_rating: An assessment of the entity’s potential risk of involvement in financial crimes,
211212 such as money laundering.
212213
214+ third_party_verification: A reference to data stored in a third-party verification service. Your
215+ integration may or may not use this field.
216+
213217 extra_headers: Send extra headers
214218
215219 extra_query: Add additional query parameters to the request
@@ -224,7 +228,13 @@ def update(
224228 raise ValueError (f"Expected a non-empty value for `entity_id` but received { entity_id !r} " )
225229 return self ._patch (
226230 f"/entities/{ entity_id } " ,
227- body = maybe_transform ({"risk_rating" : risk_rating }, entity_update_params .EntityUpdateParams ),
231+ body = maybe_transform (
232+ {
233+ "risk_rating" : risk_rating ,
234+ "third_party_verification" : third_party_verification ,
235+ },
236+ entity_update_params .EntityUpdateParams ,
237+ ),
228238 options = make_request_options (
229239 extra_headers = extra_headers ,
230240 extra_query = extra_query ,
@@ -803,6 +813,7 @@ async def update(
803813 entity_id : str ,
804814 * ,
805815 risk_rating : entity_update_params .RiskRating | NotGiven = NOT_GIVEN ,
816+ third_party_verification : entity_update_params .ThirdPartyVerification | NotGiven = NOT_GIVEN ,
806817 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
807818 # The extra values given here take precedence over values defined on the client or passed to this method.
808819 extra_headers : Headers | None = None ,
@@ -820,6 +831,9 @@ async def update(
820831 risk_rating: An assessment of the entity’s potential risk of involvement in financial crimes,
821832 such as money laundering.
822833
834+ third_party_verification: A reference to data stored in a third-party verification service. Your
835+ integration may or may not use this field.
836+
823837 extra_headers: Send extra headers
824838
825839 extra_query: Add additional query parameters to the request
@@ -834,7 +848,13 @@ async def update(
834848 raise ValueError (f"Expected a non-empty value for `entity_id` but received { entity_id !r} " )
835849 return await self ._patch (
836850 f"/entities/{ entity_id } " ,
837- body = await async_maybe_transform ({"risk_rating" : risk_rating }, entity_update_params .EntityUpdateParams ),
851+ body = await async_maybe_transform (
852+ {
853+ "risk_rating" : risk_rating ,
854+ "third_party_verification" : third_party_verification ,
855+ },
856+ entity_update_params .EntityUpdateParams ,
857+ ),
838858 options = make_request_options (
839859 extra_headers = extra_headers ,
840860 extra_query = extra_query ,
0 commit comments