1313from ..core .serialization import convert_and_respect_annotation_metadata
1414from ..types .component import Component
1515from ..types .configure_prop_response import ConfigurePropResponse
16- from ..types .configured_props import ConfiguredProps
1716from ..types .get_component_response import GetComponentResponse
1817from ..types .get_components_response import GetComponentsResponse
1918from ..types .reload_props_response import ReloadPropsResponse
@@ -156,7 +155,7 @@ def configure_prop(
156155 external_user_id : str ,
157156 prop_name : str ,
158157 blocking : typing .Optional [bool ] = OMIT ,
159- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
158+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
160159 dynamic_props_id : typing .Optional [str ] = OMIT ,
161160 page : typing .Optional [float ] = OMIT ,
162161 prev_context : typing .Optional [typing .Dict [str , typing .Optional [typing .Any ]]] = OMIT ,
@@ -180,7 +179,8 @@ def configure_prop(
180179 blocking : typing.Optional[bool]
181180 Whether this operation should block until completion
182181
183- configured_props : typing.Optional[ConfiguredProps]
182+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
183+ The configured properties for the component
184184
185185 dynamic_props_id : typing.Optional[str]
186186 The ID for dynamic props
@@ -210,9 +210,7 @@ def configure_prop(
210210 "external_user_id" : external_user_id ,
211211 "prop_name" : prop_name ,
212212 "blocking" : blocking ,
213- "configured_props" : convert_and_respect_annotation_metadata (
214- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
215- ),
213+ "configured_props" : configured_props ,
216214 "dynamic_props_id" : dynamic_props_id ,
217215 "page" : page ,
218216 "prev_context" : prev_context ,
@@ -245,7 +243,7 @@ def reload_props(
245243 id : str ,
246244 external_user_id : str ,
247245 blocking : typing .Optional [bool ] = OMIT ,
248- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
246+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
249247 dynamic_props_id : typing .Optional [str ] = OMIT ,
250248 request_options : typing .Optional [RequestOptions ] = None ,
251249 ) -> HttpResponse [ReloadPropsResponse ]:
@@ -263,7 +261,8 @@ def reload_props(
263261 blocking : typing.Optional[bool]
264262 Whether this operation should block until completion
265263
266- configured_props : typing.Optional[ConfiguredProps]
264+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
265+ The configured properties for the component
267266
268267 dynamic_props_id : typing.Optional[str]
269268 The ID for dynamic props
@@ -283,9 +282,7 @@ def reload_props(
283282 "id" : id ,
284283 "external_user_id" : external_user_id ,
285284 "blocking" : blocking ,
286- "configured_props" : convert_and_respect_annotation_metadata (
287- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
288- ),
285+ "configured_props" : configured_props ,
289286 "dynamic_props_id" : dynamic_props_id ,
290287 },
291288 headers = {
@@ -314,7 +311,7 @@ def run(
314311 * ,
315312 id : str ,
316313 external_user_id : str ,
317- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
314+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
318315 dynamic_props_id : typing .Optional [str ] = OMIT ,
319316 stash_id : typing .Optional [RunActionOptsStashId ] = OMIT ,
320317 request_options : typing .Optional [RequestOptions ] = None ,
@@ -330,7 +327,8 @@ def run(
330327 external_user_id : str
331328 The external user ID
332329
333- configured_props : typing.Optional[ConfiguredProps]
330+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
331+ The configured properties for the action
334332
335333 dynamic_props_id : typing.Optional[str]
336334 The ID for dynamic props
@@ -351,9 +349,7 @@ def run(
351349 json = {
352350 "id" : id ,
353351 "external_user_id" : external_user_id ,
354- "configured_props" : convert_and_respect_annotation_metadata (
355- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
356- ),
352+ "configured_props" : configured_props ,
357353 "dynamic_props_id" : dynamic_props_id ,
358354 "stash_id" : convert_and_respect_annotation_metadata (
359355 object_ = stash_id , annotation = RunActionOptsStashId , direction = "write"
@@ -516,7 +512,7 @@ async def configure_prop(
516512 external_user_id : str ,
517513 prop_name : str ,
518514 blocking : typing .Optional [bool ] = OMIT ,
519- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
515+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
520516 dynamic_props_id : typing .Optional [str ] = OMIT ,
521517 page : typing .Optional [float ] = OMIT ,
522518 prev_context : typing .Optional [typing .Dict [str , typing .Optional [typing .Any ]]] = OMIT ,
@@ -540,7 +536,8 @@ async def configure_prop(
540536 blocking : typing.Optional[bool]
541537 Whether this operation should block until completion
542538
543- configured_props : typing.Optional[ConfiguredProps]
539+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
540+ The configured properties for the component
544541
545542 dynamic_props_id : typing.Optional[str]
546543 The ID for dynamic props
@@ -570,9 +567,7 @@ async def configure_prop(
570567 "external_user_id" : external_user_id ,
571568 "prop_name" : prop_name ,
572569 "blocking" : blocking ,
573- "configured_props" : convert_and_respect_annotation_metadata (
574- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
575- ),
570+ "configured_props" : configured_props ,
576571 "dynamic_props_id" : dynamic_props_id ,
577572 "page" : page ,
578573 "prev_context" : prev_context ,
@@ -605,7 +600,7 @@ async def reload_props(
605600 id : str ,
606601 external_user_id : str ,
607602 blocking : typing .Optional [bool ] = OMIT ,
608- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
603+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
609604 dynamic_props_id : typing .Optional [str ] = OMIT ,
610605 request_options : typing .Optional [RequestOptions ] = None ,
611606 ) -> AsyncHttpResponse [ReloadPropsResponse ]:
@@ -623,7 +618,8 @@ async def reload_props(
623618 blocking : typing.Optional[bool]
624619 Whether this operation should block until completion
625620
626- configured_props : typing.Optional[ConfiguredProps]
621+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
622+ The configured properties for the component
627623
628624 dynamic_props_id : typing.Optional[str]
629625 The ID for dynamic props
@@ -643,9 +639,7 @@ async def reload_props(
643639 "id" : id ,
644640 "external_user_id" : external_user_id ,
645641 "blocking" : blocking ,
646- "configured_props" : convert_and_respect_annotation_metadata (
647- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
648- ),
642+ "configured_props" : configured_props ,
649643 "dynamic_props_id" : dynamic_props_id ,
650644 },
651645 headers = {
@@ -674,7 +668,7 @@ async def run(
674668 * ,
675669 id : str ,
676670 external_user_id : str ,
677- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
671+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
678672 dynamic_props_id : typing .Optional [str ] = OMIT ,
679673 stash_id : typing .Optional [RunActionOptsStashId ] = OMIT ,
680674 request_options : typing .Optional [RequestOptions ] = None ,
@@ -690,7 +684,8 @@ async def run(
690684 external_user_id : str
691685 The external user ID
692686
693- configured_props : typing.Optional[ConfiguredProps]
687+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
688+ The configured properties for the action
694689
695690 dynamic_props_id : typing.Optional[str]
696691 The ID for dynamic props
@@ -711,9 +706,7 @@ async def run(
711706 json = {
712707 "id" : id ,
713708 "external_user_id" : external_user_id ,
714- "configured_props" : convert_and_respect_annotation_metadata (
715- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
716- ),
709+ "configured_props" : configured_props ,
717710 "dynamic_props_id" : dynamic_props_id ,
718711 "stash_id" : convert_and_respect_annotation_metadata (
719712 object_ = stash_id , annotation = RunActionOptsStashId , direction = "write"
0 commit comments