twilio 5.8.1 → 5.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/rest/intelligence/v2/transcript/sentence.d.ts +3 -3
- package/lib/rest/studio/v1/flow/engagement/step.d.ts +6 -0
- package/lib/rest/studio/v1/flow/engagement/step.js +2 -0
- package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +6 -0
- package/lib/rest/studio/v1/flow/execution/executionStep.js +2 -0
- package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +6 -0
- package/lib/rest/studio/v2/flow/execution/executionStep.js +2 -0
- package/lib/rest/verify/v2/service.d.ts +6 -0
- package/lib/rest/verify/v2/service.js +8 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ export interface SentenceListInstanceEachOptions {
|
|
|
10
10
|
redacted?: boolean;
|
|
11
11
|
/** Returns word level timestamps information, if word_timestamps is enabled. The default is `false`. */
|
|
12
12
|
wordTimestamps?: boolean;
|
|
13
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
13
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 5000. */
|
|
14
14
|
pageSize?: number;
|
|
15
15
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
16
16
|
callback?: (item: SentenceInstance, done: (err?: Error) => void) => void;
|
|
@@ -27,7 +27,7 @@ export interface SentenceListInstanceOptions {
|
|
|
27
27
|
redacted?: boolean;
|
|
28
28
|
/** Returns word level timestamps information, if word_timestamps is enabled. The default is `false`. */
|
|
29
29
|
wordTimestamps?: boolean;
|
|
30
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
30
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 5000. */
|
|
31
31
|
pageSize?: number;
|
|
32
32
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
33
33
|
limit?: number;
|
|
@@ -40,7 +40,7 @@ export interface SentenceListInstancePageOptions {
|
|
|
40
40
|
redacted?: boolean;
|
|
41
41
|
/** Returns word level timestamps information, if word_timestamps is enabled. The default is `false`. */
|
|
42
42
|
wordTimestamps?: boolean;
|
|
43
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
43
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 5000. */
|
|
44
44
|
pageSize?: number;
|
|
45
45
|
/** Page Number, this value is simply for client state */
|
|
46
46
|
pageNumber?: number;
|
|
@@ -86,6 +86,7 @@ interface StepResource {
|
|
|
86
86
|
parent_step_sid: string;
|
|
87
87
|
transitioned_from: string;
|
|
88
88
|
transitioned_to: string;
|
|
89
|
+
type: string;
|
|
89
90
|
date_created: Date;
|
|
90
91
|
date_updated: Date;
|
|
91
92
|
url: string;
|
|
@@ -132,6 +133,10 @@ export declare class StepInstance {
|
|
|
132
133
|
* The Widget that will follow the Widget for the Step.
|
|
133
134
|
*/
|
|
134
135
|
transitionedTo: string;
|
|
136
|
+
/**
|
|
137
|
+
* The type of the widget that was executed.
|
|
138
|
+
*/
|
|
139
|
+
type: string;
|
|
135
140
|
/**
|
|
136
141
|
* The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
137
142
|
*/
|
|
@@ -176,6 +181,7 @@ export declare class StepInstance {
|
|
|
176
181
|
parentStepSid: string;
|
|
177
182
|
transitionedFrom: string;
|
|
178
183
|
transitionedTo: string;
|
|
184
|
+
type: string;
|
|
179
185
|
dateCreated: Date;
|
|
180
186
|
dateUpdated: Date;
|
|
181
187
|
url: string;
|
|
@@ -83,6 +83,7 @@ class StepInstance {
|
|
|
83
83
|
this.parentStepSid = payload.parent_step_sid;
|
|
84
84
|
this.transitionedFrom = payload.transitioned_from;
|
|
85
85
|
this.transitionedTo = payload.transitioned_to;
|
|
86
|
+
this.type = payload.type;
|
|
86
87
|
this.dateCreated = deserialize.iso8601DateTime(payload.date_created);
|
|
87
88
|
this.dateUpdated = deserialize.iso8601DateTime(payload.date_updated);
|
|
88
89
|
this.url = payload.url;
|
|
@@ -127,6 +128,7 @@ class StepInstance {
|
|
|
127
128
|
parentStepSid: this.parentStepSid,
|
|
128
129
|
transitionedFrom: this.transitionedFrom,
|
|
129
130
|
transitionedTo: this.transitionedTo,
|
|
131
|
+
type: this.type,
|
|
130
132
|
dateCreated: this.dateCreated,
|
|
131
133
|
dateUpdated: this.dateUpdated,
|
|
132
134
|
url: this.url,
|
|
@@ -86,6 +86,7 @@ interface ExecutionStepResource {
|
|
|
86
86
|
context: any;
|
|
87
87
|
transitioned_from: string;
|
|
88
88
|
transitioned_to: string;
|
|
89
|
+
type: string;
|
|
89
90
|
date_created: Date;
|
|
90
91
|
date_updated: Date;
|
|
91
92
|
url: string;
|
|
@@ -132,6 +133,10 @@ export declare class ExecutionStepInstance {
|
|
|
132
133
|
* The Widget that will follow the Widget for the Step.
|
|
133
134
|
*/
|
|
134
135
|
transitionedTo: string;
|
|
136
|
+
/**
|
|
137
|
+
* The type of the widget that was executed.
|
|
138
|
+
*/
|
|
139
|
+
type: string;
|
|
135
140
|
/**
|
|
136
141
|
* The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
137
142
|
*/
|
|
@@ -176,6 +181,7 @@ export declare class ExecutionStepInstance {
|
|
|
176
181
|
context: any;
|
|
177
182
|
transitionedFrom: string;
|
|
178
183
|
transitionedTo: string;
|
|
184
|
+
type: string;
|
|
179
185
|
dateCreated: Date;
|
|
180
186
|
dateUpdated: Date;
|
|
181
187
|
url: string;
|
|
@@ -83,6 +83,7 @@ class ExecutionStepInstance {
|
|
|
83
83
|
this.context = payload.context;
|
|
84
84
|
this.transitionedFrom = payload.transitioned_from;
|
|
85
85
|
this.transitionedTo = payload.transitioned_to;
|
|
86
|
+
this.type = payload.type;
|
|
86
87
|
this.dateCreated = deserialize.iso8601DateTime(payload.date_created);
|
|
87
88
|
this.dateUpdated = deserialize.iso8601DateTime(payload.date_updated);
|
|
88
89
|
this.url = payload.url;
|
|
@@ -127,6 +128,7 @@ class ExecutionStepInstance {
|
|
|
127
128
|
context: this.context,
|
|
128
129
|
transitionedFrom: this.transitionedFrom,
|
|
129
130
|
transitionedTo: this.transitionedTo,
|
|
131
|
+
type: this.type,
|
|
130
132
|
dateCreated: this.dateCreated,
|
|
131
133
|
dateUpdated: this.dateUpdated,
|
|
132
134
|
url: this.url,
|
|
@@ -86,6 +86,7 @@ interface ExecutionStepResource {
|
|
|
86
86
|
context: any;
|
|
87
87
|
transitioned_from: string;
|
|
88
88
|
transitioned_to: string;
|
|
89
|
+
type: string;
|
|
89
90
|
date_created: Date;
|
|
90
91
|
date_updated: Date;
|
|
91
92
|
url: string;
|
|
@@ -132,6 +133,10 @@ export declare class ExecutionStepInstance {
|
|
|
132
133
|
* The Widget that will follow the Widget for the Step.
|
|
133
134
|
*/
|
|
134
135
|
transitionedTo: string;
|
|
136
|
+
/**
|
|
137
|
+
* The type of the widget that was executed.
|
|
138
|
+
*/
|
|
139
|
+
type: string;
|
|
135
140
|
/**
|
|
136
141
|
* The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
137
142
|
*/
|
|
@@ -176,6 +181,7 @@ export declare class ExecutionStepInstance {
|
|
|
176
181
|
context: any;
|
|
177
182
|
transitionedFrom: string;
|
|
178
183
|
transitionedTo: string;
|
|
184
|
+
type: string;
|
|
179
185
|
dateCreated: Date;
|
|
180
186
|
dateUpdated: Date;
|
|
181
187
|
url: string;
|
|
@@ -83,6 +83,7 @@ class ExecutionStepInstance {
|
|
|
83
83
|
this.context = payload.context;
|
|
84
84
|
this.transitionedFrom = payload.transitioned_from;
|
|
85
85
|
this.transitionedTo = payload.transitioned_to;
|
|
86
|
+
this.type = payload.type;
|
|
86
87
|
this.dateCreated = deserialize.iso8601DateTime(payload.date_created);
|
|
87
88
|
this.dateUpdated = deserialize.iso8601DateTime(payload.date_updated);
|
|
88
89
|
this.url = payload.url;
|
|
@@ -127,6 +128,7 @@ class ExecutionStepInstance {
|
|
|
127
128
|
context: this.context,
|
|
128
129
|
transitionedFrom: this.transitionedFrom,
|
|
129
130
|
transitionedTo: this.transitionedTo,
|
|
131
|
+
type: this.type,
|
|
130
132
|
dateCreated: this.dateCreated,
|
|
131
133
|
dateUpdated: this.dateUpdated,
|
|
132
134
|
url: this.url,
|
|
@@ -57,6 +57,12 @@ export interface ServiceContextUpdateOptions {
|
|
|
57
57
|
"passkeys.relyingParty.name"?: string;
|
|
58
58
|
/** 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 `,`. */
|
|
59
59
|
"passkeys.relyingParty.origins"?: string;
|
|
60
|
+
/** 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`. */
|
|
61
|
+
"passkeys.authenticatorAttachment"?: string;
|
|
62
|
+
/** Indicates whether credentials must be discoverable by the authenticator. It can be empty or it can have the values `required`, `preferred` or `discouraged`. */
|
|
63
|
+
"passkeys.discoverableCredentials"?: string;
|
|
64
|
+
/** 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`. */
|
|
65
|
+
"passkeys.userVerification"?: string;
|
|
60
66
|
/** Whether to allow verifications from the service to reach the stream-events sinks if configured */
|
|
61
67
|
verifyEventSubscriptionEnabled?: boolean;
|
|
62
68
|
}
|
|
@@ -157,6 +157,14 @@ class ServiceContextImpl {
|
|
|
157
157
|
if (params["passkeys.relyingParty.origins"] !== undefined)
|
|
158
158
|
data["Passkeys.RelyingParty.Origins"] =
|
|
159
159
|
params["passkeys.relyingParty.origins"];
|
|
160
|
+
if (params["passkeys.authenticatorAttachment"] !== undefined)
|
|
161
|
+
data["Passkeys.AuthenticatorAttachment"] =
|
|
162
|
+
params["passkeys.authenticatorAttachment"];
|
|
163
|
+
if (params["passkeys.discoverableCredentials"] !== undefined)
|
|
164
|
+
data["Passkeys.DiscoverableCredentials"] =
|
|
165
|
+
params["passkeys.discoverableCredentials"];
|
|
166
|
+
if (params["passkeys.userVerification"] !== undefined)
|
|
167
|
+
data["Passkeys.UserVerification"] = params["passkeys.userVerification"];
|
|
160
168
|
if (params["verifyEventSubscriptionEnabled"] !== undefined)
|
|
161
169
|
data["VerifyEventSubscriptionEnabled"] = serialize.bool(params["verifyEventSubscriptionEnabled"]);
|
|
162
170
|
const headers = {};
|