Skip to content

Commit 4d0f1fa

Browse files
committed
[Librarian] Regenerated @ 741a326a48cb7081b6b7e1de11dfd3e942a09979 c69f995414b3de49d803f8cacdc0944ab8fb62ed
1 parent 54629b0 commit 4d0f1fa

File tree

5 files changed

+81
-3
lines changed

5 files changed

+81
-3
lines changed

CHANGES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
twilio-java changelog
22
=====================
33

4+
[2025-08-28] Version 11.0.0-rc.5
5+
--------------------------------
6+
**Studio**
7+
- Add `type` to Step resource APIs
8+
9+
**Verify**
10+
- Allow to update all passkeys parameters in the service update
11+
12+
413
[2025-08-18] Version 11.0.0-rc.4
514
--------------------------------
615
**Accounts**

src/main/java/com/twilio/rest/studio/v1/flow/engagement/Step.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
@ToString
3939
public class Step extends Resource {
4040

41-
private static final long serialVersionUID = 84557375462184L;
41+
private static final long serialVersionUID = 119488428044573L;
4242

4343
public static StepFetcher fetcher(
4444
final String pathFlowSid,
@@ -107,6 +107,7 @@ public static Step fromJson(
107107
private final String parentStepSid;
108108
private final String transitionedFrom;
109109
private final String transitionedTo;
110+
private final String type;
110111
private final ZonedDateTime dateCreated;
111112
private final ZonedDateTime dateUpdated;
112113
private final URI url;
@@ -123,6 +124,7 @@ private Step(
123124
@JsonProperty("parent_step_sid") final String parentStepSid,
124125
@JsonProperty("transitioned_from") final String transitionedFrom,
125126
@JsonProperty("transitioned_to") final String transitionedTo,
127+
@JsonProperty("type") final String type,
126128
@JsonProperty("date_created") final String dateCreated,
127129
@JsonProperty("date_updated") final String dateUpdated,
128130
@JsonProperty("url") final URI url,
@@ -137,6 +139,7 @@ private Step(
137139
this.parentStepSid = parentStepSid;
138140
this.transitionedFrom = transitionedFrom;
139141
this.transitionedTo = transitionedTo;
142+
this.type = type;
140143
this.dateCreated = DateConverter.iso8601DateTimeFromString(dateCreated);
141144
this.dateUpdated = DateConverter.iso8601DateTimeFromString(dateUpdated);
142145
this.url = url;
@@ -179,6 +182,10 @@ public final String getTransitionedTo() {
179182
return this.transitionedTo;
180183
}
181184

185+
public final String getType() {
186+
return this.type;
187+
}
188+
182189
public final ZonedDateTime getDateCreated() {
183190
return this.dateCreated;
184191
}
@@ -217,6 +224,7 @@ public boolean equals(final Object o) {
217224
Objects.equals(parentStepSid, other.parentStepSid) &&
218225
Objects.equals(transitionedFrom, other.transitionedFrom) &&
219226
Objects.equals(transitionedTo, other.transitionedTo) &&
227+
Objects.equals(type, other.type) &&
220228
Objects.equals(dateCreated, other.dateCreated) &&
221229
Objects.equals(dateUpdated, other.dateUpdated) &&
222230
Objects.equals(url, other.url) &&
@@ -236,6 +244,7 @@ public int hashCode() {
236244
parentStepSid,
237245
transitionedFrom,
238246
transitionedTo,
247+
type,
239248
dateCreated,
240249
dateUpdated,
241250
url,

src/main/java/com/twilio/rest/studio/v1/flow/execution/ExecutionStep.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
@ToString
3939
public class ExecutionStep extends Resource {
4040

41-
private static final long serialVersionUID = 56382327963536L;
41+
private static final long serialVersionUID = 221887175359099L;
4242

4343
public static ExecutionStepFetcher fetcher(
4444
final String pathFlowSid,
@@ -107,6 +107,7 @@ public static ExecutionStep fromJson(
107107
private final Map<String, Object> context;
108108
private final String transitionedFrom;
109109
private final String transitionedTo;
110+
private final String type;
110111
private final ZonedDateTime dateCreated;
111112
private final ZonedDateTime dateUpdated;
112113
private final URI url;
@@ -123,6 +124,7 @@ private ExecutionStep(
123124
@JsonProperty("context") final Map<String, Object> context,
124125
@JsonProperty("transitioned_from") final String transitionedFrom,
125126
@JsonProperty("transitioned_to") final String transitionedTo,
127+
@JsonProperty("type") final String type,
126128
@JsonProperty("date_created") final String dateCreated,
127129
@JsonProperty("date_updated") final String dateUpdated,
128130
@JsonProperty("url") final URI url,
@@ -137,6 +139,7 @@ private ExecutionStep(
137139
this.context = context;
138140
this.transitionedFrom = transitionedFrom;
139141
this.transitionedTo = transitionedTo;
142+
this.type = type;
140143
this.dateCreated = DateConverter.iso8601DateTimeFromString(dateCreated);
141144
this.dateUpdated = DateConverter.iso8601DateTimeFromString(dateUpdated);
142145
this.url = url;
@@ -179,6 +182,10 @@ public final String getTransitionedTo() {
179182
return this.transitionedTo;
180183
}
181184

185+
public final String getType() {
186+
return this.type;
187+
}
188+
182189
public final ZonedDateTime getDateCreated() {
183190
return this.dateCreated;
184191
}
@@ -217,6 +224,7 @@ public boolean equals(final Object o) {
217224
Objects.equals(context, other.context) &&
218225
Objects.equals(transitionedFrom, other.transitionedFrom) &&
219226
Objects.equals(transitionedTo, other.transitionedTo) &&
227+
Objects.equals(type, other.type) &&
220228
Objects.equals(dateCreated, other.dateCreated) &&
221229
Objects.equals(dateUpdated, other.dateUpdated) &&
222230
Objects.equals(url, other.url) &&
@@ -236,6 +244,7 @@ public int hashCode() {
236244
context,
237245
transitionedFrom,
238246
transitionedTo,
247+
type,
239248
dateCreated,
240249
dateUpdated,
241250
url,

src/main/java/com/twilio/rest/studio/v2/flow/execution/ExecutionStep.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
@ToString
3939
public class ExecutionStep extends Resource {
4040

41-
private static final long serialVersionUID = 56382327963536L;
41+
private static final long serialVersionUID = 221887175359099L;
4242

4343
public static ExecutionStepFetcher fetcher(
4444
final String pathFlowSid,
@@ -107,6 +107,7 @@ public static ExecutionStep fromJson(
107107
private final Map<String, Object> context;
108108
private final String transitionedFrom;
109109
private final String transitionedTo;
110+
private final String type;
110111
private final ZonedDateTime dateCreated;
111112
private final ZonedDateTime dateUpdated;
112113
private final URI url;
@@ -123,6 +124,7 @@ private ExecutionStep(
123124
@JsonProperty("context") final Map<String, Object> context,
124125
@JsonProperty("transitioned_from") final String transitionedFrom,
125126
@JsonProperty("transitioned_to") final String transitionedTo,
127+
@JsonProperty("type") final String type,
126128
@JsonProperty("date_created") final String dateCreated,
127129
@JsonProperty("date_updated") final String dateUpdated,
128130
@JsonProperty("url") final URI url,
@@ -137,6 +139,7 @@ private ExecutionStep(
137139
this.context = context;
138140
this.transitionedFrom = transitionedFrom;
139141
this.transitionedTo = transitionedTo;
142+
this.type = type;
140143
this.dateCreated = DateConverter.iso8601DateTimeFromString(dateCreated);
141144
this.dateUpdated = DateConverter.iso8601DateTimeFromString(dateUpdated);
142145
this.url = url;
@@ -179,6 +182,10 @@ public final String getTransitionedTo() {
179182
return this.transitionedTo;
180183
}
181184

185+
public final String getType() {
186+
return this.type;
187+
}
188+
182189
public final ZonedDateTime getDateCreated() {
183190
return this.dateCreated;
184191
}
@@ -217,6 +224,7 @@ public boolean equals(final Object o) {
217224
Objects.equals(context, other.context) &&
218225
Objects.equals(transitionedFrom, other.transitionedFrom) &&
219226
Objects.equals(transitionedTo, other.transitionedTo) &&
227+
Objects.equals(type, other.type) &&
220228
Objects.equals(dateCreated, other.dateCreated) &&
221229
Objects.equals(dateUpdated, other.dateUpdated) &&
222230
Objects.equals(url, other.url) &&
@@ -236,6 +244,7 @@ public int hashCode() {
236244
context,
237245
transitionedFrom,
238246
transitionedTo,
247+
type,
239248
dateCreated,
240249
dateUpdated,
241250
url,

src/main/java/com/twilio/rest/verify/v2/ServiceUpdater.java

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ public class ServiceUpdater extends Updater<Service> {
5050
private String passkeysRelyingPartyId;
5151
private String passkeysRelyingPartyName;
5252
private String passkeysRelyingPartyOrigins;
53+
private String passkeysAuthenticatorAttachment;
54+
private String passkeysDiscoverableCredentials;
55+
private String passkeysUserVerification;
5356
private Boolean verifyEventSubscriptionEnabled;
5457

5558
public ServiceUpdater(final String pathSid) {
@@ -188,6 +191,27 @@ public ServiceUpdater setPasskeysRelyingPartyOrigins(
188191
return this;
189192
}
190193

194+
public ServiceUpdater setPasskeysAuthenticatorAttachment(
195+
final String passkeysAuthenticatorAttachment
196+
) {
197+
this.passkeysAuthenticatorAttachment = passkeysAuthenticatorAttachment;
198+
return this;
199+
}
200+
201+
public ServiceUpdater setPasskeysDiscoverableCredentials(
202+
final String passkeysDiscoverableCredentials
203+
) {
204+
this.passkeysDiscoverableCredentials = passkeysDiscoverableCredentials;
205+
return this;
206+
}
207+
208+
public ServiceUpdater setPasskeysUserVerification(
209+
final String passkeysUserVerification
210+
) {
211+
this.passkeysUserVerification = passkeysUserVerification;
212+
return this;
213+
}
214+
191215
public ServiceUpdater setVerifyEventSubscriptionEnabled(
192216
final Boolean verifyEventSubscriptionEnabled
193217
) {
@@ -324,6 +348,24 @@ private void addPostParams(final Request request) {
324348
passkeysRelyingPartyOrigins
325349
);
326350
}
351+
if (passkeysAuthenticatorAttachment != null) {
352+
request.addPostParam(
353+
"Passkeys.AuthenticatorAttachment",
354+
passkeysAuthenticatorAttachment
355+
);
356+
}
357+
if (passkeysDiscoverableCredentials != null) {
358+
request.addPostParam(
359+
"Passkeys.DiscoverableCredentials",
360+
passkeysDiscoverableCredentials
361+
);
362+
}
363+
if (passkeysUserVerification != null) {
364+
request.addPostParam(
365+
"Passkeys.UserVerification",
366+
passkeysUserVerification
367+
);
368+
}
327369
if (verifyEventSubscriptionEnabled != null) {
328370
request.addPostParam(
329371
"VerifyEventSubscriptionEnabled",

0 commit comments

Comments
 (0)