Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d629cb7

Browse files
committed
[Librarian] Regenerated @ 741a326a48cb7081b6b7e1de11dfd3e942a09979 c69f995414b3de49d803f8cacdc0944ab8fb62ed
1 parent 75127db commit d629cb7

File tree

5 files changed

+51
-0
lines changed

5 files changed

+51
-0
lines changed

CHANGES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ twilio-python Changelog
33

44
Here you can see the full list of changes between each twilio-python release.
55

6+
[2025-08-28] Version 9.7.2
7+
--------------------------
8+
**Studio**
9+
- Add `type` to Step resource APIs
10+
11+
**Verify**
12+
- Allow to update all passkeys parameters in the service update
13+
14+
615
[2025-08-18] Version 9.7.1
716
--------------------------
817
**Accounts**

twilio/rest/studio/v1/flow/engagement/step/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class StepInstance(InstanceResource):
3434
:ivar parent_step_sid: The SID of the parent Step.
3535
:ivar transitioned_from: The Widget that preceded the Widget for the Step.
3636
:ivar transitioned_to: The Widget that will follow the Widget for the Step.
37+
:ivar type: The type of the widget that was executed.
3738
:ivar date_created: The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
3839
:ivar date_updated: The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
3940
:ivar url: The absolute URL of the resource.
@@ -59,6 +60,7 @@ def __init__(
5960
self.parent_step_sid: Optional[str] = payload.get("parent_step_sid")
6061
self.transitioned_from: Optional[str] = payload.get("transitioned_from")
6162
self.transitioned_to: Optional[str] = payload.get("transitioned_to")
63+
self.type: Optional[str] = payload.get("type")
6264
self.date_created: Optional[datetime] = deserialize.iso8601_datetime(
6365
payload.get("date_created")
6466
)

twilio/rest/studio/v1/flow/execution/execution_step/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class ExecutionStepInstance(InstanceResource):
3636
:ivar context: The current state of the Flow's Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution.
3737
:ivar transitioned_from: The Widget that preceded the Widget for the Step.
3838
:ivar transitioned_to: The Widget that will follow the Widget for the Step.
39+
:ivar type: The type of the widget that was executed.
3940
:ivar date_created: The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
4041
:ivar date_updated: The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
4142
:ivar url: The absolute URL of the resource.
@@ -61,6 +62,7 @@ def __init__(
6162
self.context: Optional[Dict[str, object]] = payload.get("context")
6263
self.transitioned_from: Optional[str] = payload.get("transitioned_from")
6364
self.transitioned_to: Optional[str] = payload.get("transitioned_to")
65+
self.type: Optional[str] = payload.get("type")
6466
self.date_created: Optional[datetime] = deserialize.iso8601_datetime(
6567
payload.get("date_created")
6668
)

twilio/rest/studio/v2/flow/execution/execution_step/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class ExecutionStepInstance(InstanceResource):
3636
:ivar context: The current state of the Flow's Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution.
3737
:ivar transitioned_from: The Widget that preceded the Widget for the Step.
3838
:ivar transitioned_to: The Widget that will follow the Widget for the Step.
39+
:ivar type: The type of the widget that was executed.
3940
:ivar date_created: The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
4041
:ivar date_updated: The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
4142
:ivar url: The absolute URL of the resource.
@@ -61,6 +62,7 @@ def __init__(
6162
self.context: Optional[Dict[str, object]] = payload.get("context")
6263
self.transitioned_from: Optional[str] = payload.get("transitioned_from")
6364
self.transitioned_to: Optional[str] = payload.get("transitioned_to")
65+
self.type: Optional[str] = payload.get("type")
6466
self.date_created: Optional[datetime] = deserialize.iso8601_datetime(
6567
payload.get("date_created")
6668
)

twilio/rest/verify/v2/service/__init__.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ def update(
175175
passkeys_relying_party_id: Union[str, object] = values.unset,
176176
passkeys_relying_party_name: Union[str, object] = values.unset,
177177
passkeys_relying_party_origins: Union[str, object] = values.unset,
178+
passkeys_authenticator_attachment: Union[str, object] = values.unset,
179+
passkeys_discoverable_credentials: Union[str, object] = values.unset,
180+
passkeys_user_verification: Union[str, object] = values.unset,
178181
verify_event_subscription_enabled: Union[bool, object] = values.unset,
179182
) -> "ServiceInstance":
180183
"""
@@ -202,6 +205,9 @@ def update(
202205
:param passkeys_relying_party_id: The Relying Party ID for Passkeys. This is the domain of your application, e.g. `example.com`. It is used to identify your application when creating Passkeys.
203206
:param passkeys_relying_party_name: The Relying Party Name for Passkeys. This is the name of your application, e.g. `Example App`. It is used to identify your application when creating Passkeys.
204207
:param passkeys_relying_party_origins: The Relying Party Origins for Passkeys. This is the origin of your application, e.g. `login.example.com,www.example.com`. It is used to identify your application when creating Passkeys, it can have multiple origins split by `,`.
208+
:param passkeys_authenticator_attachment: The Authenticator Attachment for Passkeys. This is the type of authenticator that will be used to create Passkeys. It can be empty or it can have the values `platform`, `cross-platform` or `any`.
209+
:param passkeys_discoverable_credentials: Indicates whether credentials must be discoverable by the authenticator. It can be empty or it can have the values `required`, `preferred` or `discouraged`.
210+
:param passkeys_user_verification: The User Verification for Passkeys. This is the type of user verification that will be used to create Passkeys. It can be empty or it can have the values `required`, `preferred` or `discouraged`.
205211
:param verify_event_subscription_enabled: Whether to allow verifications from the service to reach the stream-events sinks if configured
206212
207213
:returns: The updated ServiceInstance
@@ -229,6 +235,9 @@ def update(
229235
passkeys_relying_party_id=passkeys_relying_party_id,
230236
passkeys_relying_party_name=passkeys_relying_party_name,
231237
passkeys_relying_party_origins=passkeys_relying_party_origins,
238+
passkeys_authenticator_attachment=passkeys_authenticator_attachment,
239+
passkeys_discoverable_credentials=passkeys_discoverable_credentials,
240+
passkeys_user_verification=passkeys_user_verification,
232241
verify_event_subscription_enabled=verify_event_subscription_enabled,
233242
)
234243

@@ -256,6 +265,9 @@ async def update_async(
256265
passkeys_relying_party_id: Union[str, object] = values.unset,
257266
passkeys_relying_party_name: Union[str, object] = values.unset,
258267
passkeys_relying_party_origins: Union[str, object] = values.unset,
268+
passkeys_authenticator_attachment: Union[str, object] = values.unset,
269+
passkeys_discoverable_credentials: Union[str, object] = values.unset,
270+
passkeys_user_verification: Union[str, object] = values.unset,
259271
verify_event_subscription_enabled: Union[bool, object] = values.unset,
260272
) -> "ServiceInstance":
261273
"""
@@ -283,6 +295,9 @@ async def update_async(
283295
:param passkeys_relying_party_id: The Relying Party ID for Passkeys. This is the domain of your application, e.g. `example.com`. It is used to identify your application when creating Passkeys.
284296
:param passkeys_relying_party_name: The Relying Party Name for Passkeys. This is the name of your application, e.g. `Example App`. It is used to identify your application when creating Passkeys.
285297
:param passkeys_relying_party_origins: The Relying Party Origins for Passkeys. This is the origin of your application, e.g. `login.example.com,www.example.com`. It is used to identify your application when creating Passkeys, it can have multiple origins split by `,`.
298+
:param passkeys_authenticator_attachment: The Authenticator Attachment for Passkeys. This is the type of authenticator that will be used to create Passkeys. It can be empty or it can have the values `platform`, `cross-platform` or `any`.
299+
:param passkeys_discoverable_credentials: Indicates whether credentials must be discoverable by the authenticator. It can be empty or it can have the values `required`, `preferred` or `discouraged`.
300+
:param passkeys_user_verification: The User Verification for Passkeys. This is the type of user verification that will be used to create Passkeys. It can be empty or it can have the values `required`, `preferred` or `discouraged`.
286301
:param verify_event_subscription_enabled: Whether to allow verifications from the service to reach the stream-events sinks if configured
287302
288303
:returns: The updated ServiceInstance
@@ -310,6 +325,9 @@ async def update_async(
310325
passkeys_relying_party_id=passkeys_relying_party_id,
311326
passkeys_relying_party_name=passkeys_relying_party_name,
312327
passkeys_relying_party_origins=passkeys_relying_party_origins,
328+
passkeys_authenticator_attachment=passkeys_authenticator_attachment,
329+
passkeys_discoverable_credentials=passkeys_discoverable_credentials,
330+
passkeys_user_verification=passkeys_user_verification,
313331
verify_event_subscription_enabled=verify_event_subscription_enabled,
314332
)
315333

@@ -489,6 +507,9 @@ def update(
489507
passkeys_relying_party_id: Union[str, object] = values.unset,
490508
passkeys_relying_party_name: Union[str, object] = values.unset,
491509
passkeys_relying_party_origins: Union[str, object] = values.unset,
510+
passkeys_authenticator_attachment: Union[str, object] = values.unset,
511+
passkeys_discoverable_credentials: Union[str, object] = values.unset,
512+
passkeys_user_verification: Union[str, object] = values.unset,
492513
verify_event_subscription_enabled: Union[bool, object] = values.unset,
493514
) -> ServiceInstance:
494515
"""
@@ -516,6 +537,9 @@ def update(
516537
:param passkeys_relying_party_id: The Relying Party ID for Passkeys. This is the domain of your application, e.g. `example.com`. It is used to identify your application when creating Passkeys.
517538
:param passkeys_relying_party_name: The Relying Party Name for Passkeys. This is the name of your application, e.g. `Example App`. It is used to identify your application when creating Passkeys.
518539
:param passkeys_relying_party_origins: The Relying Party Origins for Passkeys. This is the origin of your application, e.g. `login.example.com,www.example.com`. It is used to identify your application when creating Passkeys, it can have multiple origins split by `,`.
540+
:param passkeys_authenticator_attachment: The Authenticator Attachment for Passkeys. This is the type of authenticator that will be used to create Passkeys. It can be empty or it can have the values `platform`, `cross-platform` or `any`.
541+
:param passkeys_discoverable_credentials: Indicates whether credentials must be discoverable by the authenticator. It can be empty or it can have the values `required`, `preferred` or `discouraged`.
542+
:param passkeys_user_verification: The User Verification for Passkeys. This is the type of user verification that will be used to create Passkeys. It can be empty or it can have the values `required`, `preferred` or `discouraged`.
519543
:param verify_event_subscription_enabled: Whether to allow verifications from the service to reach the stream-events sinks if configured
520544
521545
:returns: The updated ServiceInstance
@@ -549,6 +573,9 @@ def update(
549573
"Passkeys.RelyingParty.Id": passkeys_relying_party_id,
550574
"Passkeys.RelyingParty.Name": passkeys_relying_party_name,
551575
"Passkeys.RelyingParty.Origins": passkeys_relying_party_origins,
576+
"Passkeys.AuthenticatorAttachment": passkeys_authenticator_attachment,
577+
"Passkeys.DiscoverableCredentials": passkeys_discoverable_credentials,
578+
"Passkeys.UserVerification": passkeys_user_verification,
552579
"VerifyEventSubscriptionEnabled": serialize.boolean_to_string(
553580
verify_event_subscription_enabled
554581
),
@@ -590,6 +617,9 @@ async def update_async(
590617
passkeys_relying_party_id: Union[str, object] = values.unset,
591618
passkeys_relying_party_name: Union[str, object] = values.unset,
592619
passkeys_relying_party_origins: Union[str, object] = values.unset,
620+
passkeys_authenticator_attachment: Union[str, object] = values.unset,
621+
passkeys_discoverable_credentials: Union[str, object] = values.unset,
622+
passkeys_user_verification: Union[str, object] = values.unset,
593623
verify_event_subscription_enabled: Union[bool, object] = values.unset,
594624
) -> ServiceInstance:
595625
"""
@@ -617,6 +647,9 @@ async def update_async(
617647
:param passkeys_relying_party_id: The Relying Party ID for Passkeys. This is the domain of your application, e.g. `example.com`. It is used to identify your application when creating Passkeys.
618648
:param passkeys_relying_party_name: The Relying Party Name for Passkeys. This is the name of your application, e.g. `Example App`. It is used to identify your application when creating Passkeys.
619649
:param passkeys_relying_party_origins: The Relying Party Origins for Passkeys. This is the origin of your application, e.g. `login.example.com,www.example.com`. It is used to identify your application when creating Passkeys, it can have multiple origins split by `,`.
650+
:param passkeys_authenticator_attachment: The Authenticator Attachment for Passkeys. This is the type of authenticator that will be used to create Passkeys. It can be empty or it can have the values `platform`, `cross-platform` or `any`.
651+
:param passkeys_discoverable_credentials: Indicates whether credentials must be discoverable by the authenticator. It can be empty or it can have the values `required`, `preferred` or `discouraged`.
652+
:param passkeys_user_verification: The User Verification for Passkeys. This is the type of user verification that will be used to create Passkeys. It can be empty or it can have the values `required`, `preferred` or `discouraged`.
620653
:param verify_event_subscription_enabled: Whether to allow verifications from the service to reach the stream-events sinks if configured
621654
622655
:returns: The updated ServiceInstance
@@ -650,6 +683,9 @@ async def update_async(
650683
"Passkeys.RelyingParty.Id": passkeys_relying_party_id,
651684
"Passkeys.RelyingParty.Name": passkeys_relying_party_name,
652685
"Passkeys.RelyingParty.Origins": passkeys_relying_party_origins,
686+
"Passkeys.AuthenticatorAttachment": passkeys_authenticator_attachment,
687+
"Passkeys.DiscoverableCredentials": passkeys_discoverable_credentials,
688+
"Passkeys.UserVerification": passkeys_user_verification,
653689
"VerifyEventSubscriptionEnabled": serialize.boolean_to_string(
654690
verify_event_subscription_enabled
655691
),

0 commit comments

Comments
 (0)