1414from ..errors .too_many_requests_error import TooManyRequestsError
1515from ..types .component import Component
1616from ..types .configure_prop_response import ConfigurePropResponse
17- from ..types .configured_props import ConfiguredProps
1817from ..types .get_component_response import GetComponentResponse
1918from ..types .get_components_response import GetComponentsResponse
2019from ..types .reload_props_response import ReloadPropsResponse
@@ -179,7 +178,7 @@ def configure_prop(
179178 external_user_id : str ,
180179 prop_name : str ,
181180 blocking : typing .Optional [bool ] = OMIT ,
182- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
181+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
183182 dynamic_props_id : typing .Optional [str ] = OMIT ,
184183 page : typing .Optional [float ] = OMIT ,
185184 prev_context : typing .Optional [typing .Dict [str , typing .Optional [typing .Any ]]] = OMIT ,
@@ -203,7 +202,8 @@ def configure_prop(
203202 blocking : typing.Optional[bool]
204203 Whether this operation should block until completion
205204
206- configured_props : typing.Optional[ConfiguredProps]
205+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
206+ The configured properties for the component
207207
208208 dynamic_props_id : typing.Optional[str]
209209 The ID for dynamic props
@@ -233,9 +233,7 @@ def configure_prop(
233233 "external_user_id" : external_user_id ,
234234 "prop_name" : prop_name ,
235235 "blocking" : blocking ,
236- "configured_props" : convert_and_respect_annotation_metadata (
237- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
238- ),
236+ "configured_props" : configured_props ,
239237 "dynamic_props_id" : dynamic_props_id ,
240238 "page" : page ,
241239 "prev_context" : prev_context ,
@@ -279,7 +277,7 @@ def reload_props(
279277 id : str ,
280278 external_user_id : str ,
281279 blocking : typing .Optional [bool ] = OMIT ,
282- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
280+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
283281 dynamic_props_id : typing .Optional [str ] = OMIT ,
284282 request_options : typing .Optional [RequestOptions ] = None ,
285283 ) -> HttpResponse [ReloadPropsResponse ]:
@@ -297,7 +295,8 @@ def reload_props(
297295 blocking : typing.Optional[bool]
298296 Whether this operation should block until completion
299297
300- configured_props : typing.Optional[ConfiguredProps]
298+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
299+ The configured properties for the component
301300
302301 dynamic_props_id : typing.Optional[str]
303302 The ID for dynamic props
@@ -317,9 +316,7 @@ def reload_props(
317316 "id" : id ,
318317 "external_user_id" : external_user_id ,
319318 "blocking" : blocking ,
320- "configured_props" : convert_and_respect_annotation_metadata (
321- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
322- ),
319+ "configured_props" : configured_props ,
323320 "dynamic_props_id" : dynamic_props_id ,
324321 },
325322 headers = {
@@ -359,7 +356,7 @@ def run(
359356 * ,
360357 id : str ,
361358 external_user_id : str ,
362- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
359+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
363360 dynamic_props_id : typing .Optional [str ] = OMIT ,
364361 stash_id : typing .Optional [RunActionOptsStashId ] = OMIT ,
365362 request_options : typing .Optional [RequestOptions ] = None ,
@@ -375,7 +372,8 @@ def run(
375372 external_user_id : str
376373 The external user ID
377374
378- configured_props : typing.Optional[ConfiguredProps]
375+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
376+ The configured properties for the action
379377
380378 dynamic_props_id : typing.Optional[str]
381379 The ID for dynamic props
@@ -396,9 +394,7 @@ def run(
396394 json = {
397395 "id" : id ,
398396 "external_user_id" : external_user_id ,
399- "configured_props" : convert_and_respect_annotation_metadata (
400- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
401- ),
397+ "configured_props" : configured_props ,
402398 "dynamic_props_id" : dynamic_props_id ,
403399 "stash_id" : convert_and_respect_annotation_metadata (
404400 object_ = stash_id , annotation = RunActionOptsStashId , direction = "write"
@@ -594,7 +590,7 @@ async def configure_prop(
594590 external_user_id : str ,
595591 prop_name : str ,
596592 blocking : typing .Optional [bool ] = OMIT ,
597- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
593+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
598594 dynamic_props_id : typing .Optional [str ] = OMIT ,
599595 page : typing .Optional [float ] = OMIT ,
600596 prev_context : typing .Optional [typing .Dict [str , typing .Optional [typing .Any ]]] = OMIT ,
@@ -618,7 +614,8 @@ async def configure_prop(
618614 blocking : typing.Optional[bool]
619615 Whether this operation should block until completion
620616
621- configured_props : typing.Optional[ConfiguredProps]
617+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
618+ The configured properties for the component
622619
623620 dynamic_props_id : typing.Optional[str]
624621 The ID for dynamic props
@@ -648,9 +645,7 @@ async def configure_prop(
648645 "external_user_id" : external_user_id ,
649646 "prop_name" : prop_name ,
650647 "blocking" : blocking ,
651- "configured_props" : convert_and_respect_annotation_metadata (
652- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
653- ),
648+ "configured_props" : configured_props ,
654649 "dynamic_props_id" : dynamic_props_id ,
655650 "page" : page ,
656651 "prev_context" : prev_context ,
@@ -694,7 +689,7 @@ async def reload_props(
694689 id : str ,
695690 external_user_id : str ,
696691 blocking : typing .Optional [bool ] = OMIT ,
697- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
692+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
698693 dynamic_props_id : typing .Optional [str ] = OMIT ,
699694 request_options : typing .Optional [RequestOptions ] = None ,
700695 ) -> AsyncHttpResponse [ReloadPropsResponse ]:
@@ -712,7 +707,8 @@ async def reload_props(
712707 blocking : typing.Optional[bool]
713708 Whether this operation should block until completion
714709
715- configured_props : typing.Optional[ConfiguredProps]
710+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
711+ The configured properties for the component
716712
717713 dynamic_props_id : typing.Optional[str]
718714 The ID for dynamic props
@@ -732,9 +728,7 @@ async def reload_props(
732728 "id" : id ,
733729 "external_user_id" : external_user_id ,
734730 "blocking" : blocking ,
735- "configured_props" : convert_and_respect_annotation_metadata (
736- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
737- ),
731+ "configured_props" : configured_props ,
738732 "dynamic_props_id" : dynamic_props_id ,
739733 },
740734 headers = {
@@ -774,7 +768,7 @@ async def run(
774768 * ,
775769 id : str ,
776770 external_user_id : str ,
777- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
771+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
778772 dynamic_props_id : typing .Optional [str ] = OMIT ,
779773 stash_id : typing .Optional [RunActionOptsStashId ] = OMIT ,
780774 request_options : typing .Optional [RequestOptions ] = None ,
@@ -790,7 +784,8 @@ async def run(
790784 external_user_id : str
791785 The external user ID
792786
793- configured_props : typing.Optional[ConfiguredProps]
787+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
788+ The configured properties for the action
794789
795790 dynamic_props_id : typing.Optional[str]
796791 The ID for dynamic props
@@ -811,9 +806,7 @@ async def run(
811806 json = {
812807 "id" : id ,
813808 "external_user_id" : external_user_id ,
814- "configured_props" : convert_and_respect_annotation_metadata (
815- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
816- ),
809+ "configured_props" : configured_props ,
817810 "dynamic_props_id" : dynamic_props_id ,
818811 "stash_id" : convert_and_respect_annotation_metadata (
819812 object_ = stash_id , annotation = RunActionOptsStashId , direction = "write"
0 commit comments