Skip to content

Commit 92974a5

Browse files
committed
[Librarian] Regenerated @ 18375def60d612c8e8bd57ea6e45050211ba4c08
1 parent 686bf68 commit 92974a5

File tree

19 files changed

+1292
-40
lines changed

19 files changed

+1292
-40
lines changed

CHANGES.md

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

4+
[2022-11-10] Version 3.83.2
5+
---------------------------
6+
**Flex**
7+
- Adding two new authorization API 'user_roles' and 'gooddata' in version `v1`
8+
9+
**Messaging**
10+
- Add new Campaign properties (MessageFlow, OptInMessage, OptInKeywords, OptOutMessage, OptOutKeywords, HelpMessage, HelpKeywords)
11+
12+
**Twiml**
13+
- Add new speech models to `Gather`.
14+
15+
416
[2022-10-31] Version 3.83.1
517
---------------------------
618
**Api**

lib/rest/FlexApi.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ import V1 = require('./flexApi/V1');
1111
import { ChannelListInstance } from './flexApi/v1/channel';
1212
import { ConfigurationListInstance } from './flexApi/v1/configuration';
1313
import { FlexFlowListInstance } from './flexApi/v1/flexFlow';
14+
import { GoodDataListInstance } from './flexApi/v1/goodData';
1415
import { InteractionListInstance } from './flexApi/v1/interaction';
16+
import { UserRolesListInstance } from './flexApi/v1/userRoles';
1517
import { WebChannelListInstance } from './flexApi/v1/webChannel';
1618

1719

@@ -26,7 +28,9 @@ declare class FlexApi extends Domain {
2628
readonly channel: ChannelListInstance;
2729
readonly configuration: ConfigurationListInstance;
2830
readonly flexFlow: FlexFlowListInstance;
31+
readonly goodData: GoodDataListInstance;
2932
readonly interaction: InteractionListInstance;
33+
readonly userRoles: UserRolesListInstance;
3034
readonly v1: V1;
3135
readonly webChannel: WebChannelListInstance;
3236
}

lib/rest/FlexApi.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ var V1 = require('./flexApi/V1'); /* jshint ignore:line */
2525
* @property {Twilio.FlexApi.V1.ConfigurationList} configuration -
2626
* configuration resource
2727
* @property {Twilio.FlexApi.V1.FlexFlowList} flexFlow - flexFlow resource
28+
* @property {Twilio.FlexApi.V1.GoodDataList} goodData - goodData resource
2829
* @property {Twilio.FlexApi.V1.InteractionList} interaction - interaction resource
30+
* @property {Twilio.FlexApi.V1.UserRolesList} userRoles - userRoles resource
2931
* @property {Twilio.FlexApi.V1.WebChannelList} webChannel - webChannel resource
3032
*
3133
* @param {Twilio} twilio - The twilio client
@@ -70,13 +72,27 @@ Object.defineProperty(FlexApi.prototype,
7072
}
7173
});
7274

75+
Object.defineProperty(FlexApi.prototype,
76+
'goodData', {
77+
get: function() {
78+
return this.v1.goodData;
79+
}
80+
});
81+
7382
Object.defineProperty(FlexApi.prototype,
7483
'interaction', {
7584
get: function() {
7685
return this.v1.interaction;
7786
}
7887
});
7988

89+
Object.defineProperty(FlexApi.prototype,
90+
'userRoles', {
91+
get: function() {
92+
return this.v1.userRoles;
93+
}
94+
});
95+
8096
Object.defineProperty(FlexApi.prototype,
8197
'webChannel', {
8298
get: function() {

lib/rest/api/v2010/account/call/userDefinedMessage.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import { SerializableClass } from '../../../../../interfaces';
1414
* Initialize the UserDefinedMessageList
1515
*
1616
* @param version - Version of the resource
17-
* @param accountSid - Account Sid.
18-
* @param callSid - Call Sid.
17+
* @param accountSid - Account SID.
18+
* @param callSid - Call SID.
1919
*/
2020
declare function UserDefinedMessageList(version: V2010, accountSid: string, callSid: string): UserDefinedMessageListInstance;
2121

@@ -36,7 +36,7 @@ interface UserDefinedMessageListInstance {
3636
/**
3737
* Options to pass to create
3838
*
39-
* @property content - A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated.
39+
* @property content - The User Defined Message in the form of URL-encoded JSON string.
4040
* @property idempotencyKey - A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated.
4141
*/
4242
interface UserDefinedMessageListInstanceCreateOptions {
@@ -66,8 +66,8 @@ declare class UserDefinedMessageInstance extends SerializableClass {
6666
*
6767
* @param version - Version of the resource
6868
* @param payload - The instance payload
69-
* @param accountSid - Account Sid.
70-
* @param callSid - Call Sid.
69+
* @param accountSid - Account SID.
70+
* @param callSid - Call SID.
7171
*/
7272
constructor(version: V2010, payload: UserDefinedMessagePayload, accountSid: string, callSid: string);
7373

lib/rest/api/v2010/account/call/userDefinedMessage.js

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ var UserDefinedMessageInstance;
2828
* @constructor Twilio.Api.V2010.AccountContext.CallContext.UserDefinedMessageList
2929
*
3030
* @param {Twilio.Api.V2010} version - Version of the resource
31-
* @param {string} accountSid - Account Sid.
32-
* @param {string} callSid - Call Sid.
31+
* @param {string} accountSid - Account SID.
32+
* @param {string} callSid - Call SID.
3333
*/
3434
/* jshint ignore:end */
3535
UserDefinedMessageList = function UserDefinedMessageList(version, accountSid,
@@ -61,7 +61,7 @@ UserDefinedMessageList = function UserDefinedMessageList(version, accountSid,
6161
*
6262
* @param {object} opts - Options for request
6363
* @param {string} opts.content -
64-
* A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated.
64+
* The User Defined Message in the form of URL-encoded JSON string.
6565
* @param {string} [opts.idempotencyKey] -
6666
* A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated.
6767
* @param {function} [callback] - Callback to handle processed record
@@ -200,16 +200,15 @@ UserDefinedMessagePage.prototype[util.inspect.custom] = function inspect(depth,
200200
*
201201
* @constructor Twilio.Api.V2010.AccountContext.CallContext.UserDefinedMessageInstance
202202
*
203-
* @property {string} accountSid - Account Sid.
204-
* @property {string} callSid - Call Sid.
205-
* @property {string} sid -
206-
* A string that uniquely identifies this User Defined Message.
207-
* @property {Date} dateCreated - The date this User Defined Message was created
203+
* @property {string} accountSid - Account SID.
204+
* @property {string} callSid - Call SID.
205+
* @property {string} sid - User Defined Message SID.
206+
* @property {Date} dateCreated - The date this User Defined Message was created.
208207
*
209208
* @param {V2010} version - Version of the resource
210209
* @param {UserDefinedMessagePayload} payload - The instance payload
211-
* @param {sid} accountSid - Account Sid.
212-
* @param {sid} callSid - Call Sid.
210+
* @param {sid} accountSid - Account SID.
211+
* @param {sid} callSid - Call SID.
213212
*/
214213
/* jshint ignore:end */
215214
UserDefinedMessageInstance = function UserDefinedMessageInstance(version,

lib/rest/api/v2010/account/call/userDefinedMessageSubscription.d.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import { SerializableClass } from '../../../../../interfaces';
1414
* Initialize the UserDefinedMessageSubscriptionList
1515
*
1616
* @param version - Version of the resource
17-
* @param accountSid - Account Sid.
18-
* @param callSid - Call Sid.
17+
* @param accountSid - Account SID.
18+
* @param callSid - Call SID.
1919
*/
2020
declare function UserDefinedMessageSubscriptionList(version: V2010, accountSid: string, callSid: string): UserDefinedMessageSubscriptionListInstance;
2121

@@ -34,7 +34,7 @@ interface UserDefinedMessageSubscriptionListInstance {
3434
/**
3535
* Constructs a user_defined_message_subscription
3636
*
37-
* @param sid - User Defined Message Subscription Sid
37+
* @param sid - User Defined Message Subscription SID.
3838
*/
3939
get(sid: string): UserDefinedMessageSubscriptionContext;
4040
/**
@@ -78,9 +78,9 @@ declare class UserDefinedMessageSubscriptionContext {
7878
* Initialize the UserDefinedMessageSubscriptionContext
7979
*
8080
* @param version - Version of the resource
81-
* @param accountSid - Account Sid.
82-
* @param callSid - Call Sid.
83-
* @param sid - User Defined Message Subscription Sid
81+
* @param accountSid - Account SID.
82+
* @param callSid - Call SID.
83+
* @param sid - User Defined Message Subscription SID.
8484
*/
8585
constructor(version: V2010, accountSid: string, callSid: string, sid: string);
8686

@@ -103,9 +103,9 @@ declare class UserDefinedMessageSubscriptionInstance extends SerializableClass {
103103
*
104104
* @param version - Version of the resource
105105
* @param payload - The instance payload
106-
* @param accountSid - Account Sid.
107-
* @param callSid - Call Sid.
108-
* @param sid - User Defined Message Subscription Sid
106+
* @param accountSid - Account SID.
107+
* @param callSid - Call SID.
108+
* @param sid - User Defined Message Subscription SID.
109109
*/
110110
constructor(version: V2010, payload: UserDefinedMessageSubscriptionPayload, accountSid: string, callSid: string, sid: string);
111111

lib/rest/api/v2010/account/call/userDefinedMessageSubscription.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ var UserDefinedMessageSubscriptionContext;
2929
* @constructor Twilio.Api.V2010.AccountContext.CallContext.UserDefinedMessageSubscriptionList
3030
*
3131
* @param {Twilio.Api.V2010} version - Version of the resource
32-
* @param {string} accountSid - Account Sid.
33-
* @param {string} callSid - Call Sid.
32+
* @param {string} accountSid - Account SID.
33+
* @param {string} callSid - Call SID.
3434
*/
3535
/* jshint ignore:end */
3636
UserDefinedMessageSubscriptionList = function
@@ -120,7 +120,7 @@ UserDefinedMessageSubscriptionList = function
120120
* @function get
121121
* @memberof Twilio.Api.V2010.AccountContext.CallContext.UserDefinedMessageSubscriptionList#
122122
*
123-
* @param {string} sid - User Defined Message Subscription Sid
123+
* @param {string} sid - User Defined Message Subscription SID.
124124
*
125125
* @returns {Twilio.Api.V2010.AccountContext.CallContext.UserDefinedMessageSubscriptionContext}
126126
*/
@@ -236,19 +236,19 @@ UserDefinedMessageSubscriptionPage.prototype[util.inspect.custom] = function
236236
*
237237
* @constructor Twilio.Api.V2010.AccountContext.CallContext.UserDefinedMessageSubscriptionInstance
238238
*
239-
* @property {string} accountSid - Account Sid.
240-
* @property {string} callSid - Call Sid.
241-
* @property {string} sid - User Defined Message Subscription Sid
239+
* @property {string} accountSid - Account SID.
240+
* @property {string} callSid - Call SID.
241+
* @property {string} sid - User Defined Message Subscription SID.
242242
* @property {Date} dateCreated -
243-
* The date this User Defined Message Subscription was created
243+
* The date this User Defined Message Subscription was created.
244244
* @property {string} uri -
245-
* The URI of the resource, relative to `https://api.twilio.com`.
245+
* The URI of the User Defined Message Subscription Resource, relative to `https://api.twilio.com`.
246246
*
247247
* @param {V2010} version - Version of the resource
248248
* @param {UserDefinedMessageSubscriptionPayload} payload - The instance payload
249-
* @param {sid} accountSid - Account Sid.
250-
* @param {sid} callSid - Call Sid.
251-
* @param {sid} sid - User Defined Message Subscription Sid
249+
* @param {sid} accountSid - Account SID.
250+
* @param {sid} callSid - Call SID.
251+
* @param {sid} sid - User Defined Message Subscription SID.
252252
*/
253253
/* jshint ignore:end */
254254
UserDefinedMessageSubscriptionInstance = function
@@ -334,9 +334,9 @@ UserDefinedMessageSubscriptionInstance.prototype[util.inspect.custom] = function
334334
* @constructor Twilio.Api.V2010.AccountContext.CallContext.UserDefinedMessageSubscriptionContext
335335
*
336336
* @param {V2010} version - Version of the resource
337-
* @param {sid} accountSid - Account Sid.
338-
* @param {sid} callSid - Call Sid.
339-
* @param {sid} sid - User Defined Message Subscription Sid
337+
* @param {sid} accountSid - Account SID.
338+
* @param {sid} callSid - Call SID.
339+
* @param {sid} sid - User Defined Message Subscription SID.
340340
*/
341341
/* jshint ignore:end */
342342
UserDefinedMessageSubscriptionContext = function

lib/rest/flexApi/V1.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@ import { ConfigurationList } from './v1/configuration';
1313
import { ConfigurationListInstance } from './v1/configuration';
1414
import { FlexFlowList } from './v1/flexFlow';
1515
import { FlexFlowListInstance } from './v1/flexFlow';
16+
import { GoodDataList } from './v1/goodData';
17+
import { GoodDataListInstance } from './v1/goodData';
1618
import { InteractionList } from './v1/interaction';
1719
import { InteractionListInstance } from './v1/interaction';
20+
import { UserRolesList } from './v1/userRoles';
21+
import { UserRolesListInstance } from './v1/userRoles';
1822
import { WebChannelList } from './v1/webChannel';
1923
import { WebChannelListInstance } from './v1/webChannel';
2024

@@ -30,7 +34,9 @@ declare class V1 extends Version {
3034
readonly channel: ChannelListInstance;
3135
readonly configuration: ConfigurationListInstance;
3236
readonly flexFlow: FlexFlowListInstance;
37+
readonly goodData: GoodDataListInstance;
3338
readonly interaction: InteractionListInstance;
39+
readonly userRoles: UserRolesListInstance;
3440
readonly webChannel: WebChannelListInstance;
3541
}
3642

lib/rest/flexApi/V1.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ var _ = require('lodash'); /* jshint ignore:line */
1313
var ChannelList = require('./v1/channel').ChannelList;
1414
var ConfigurationList = require('./v1/configuration').ConfigurationList;
1515
var FlexFlowList = require('./v1/flexFlow').FlexFlowList;
16+
var GoodDataList = require('./v1/goodData').GoodDataList;
1617
var InteractionList = require('./v1/interaction').InteractionList;
18+
var UserRolesList = require('./v1/userRoles').UserRolesList;
1719
var Version = require('../../base/Version'); /* jshint ignore:line */
1820
var WebChannelList = require('./v1/webChannel').WebChannelList;
1921

@@ -28,7 +30,9 @@ var WebChannelList = require('./v1/webChannel').WebChannelList;
2830
* @property {Twilio.FlexApi.V1.ConfigurationList} configuration -
2931
* configuration resource
3032
* @property {Twilio.FlexApi.V1.FlexFlowList} flexFlow - flexFlow resource
33+
* @property {Twilio.FlexApi.V1.GoodDataList} goodData - goodData resource
3134
* @property {Twilio.FlexApi.V1.InteractionList} interaction - interaction resource
35+
* @property {Twilio.FlexApi.V1.UserRolesList} userRoles - userRoles resource
3236
* @property {Twilio.FlexApi.V1.WebChannelList} webChannel - webChannel resource
3337
*
3438
* @param {Twilio.FlexApi} domain - The twilio domain
@@ -41,7 +45,9 @@ function V1(domain) {
4145
this._channel = undefined;
4246
this._configuration = undefined;
4347
this._flexFlow = undefined;
48+
this._goodData = undefined;
4449
this._interaction = undefined;
50+
this._userRoles = undefined;
4551
this._webChannel = undefined;
4652
}
4753

@@ -72,6 +78,14 @@ Object.defineProperty(V1.prototype,
7278
}
7379
});
7480

81+
Object.defineProperty(V1.prototype,
82+
'goodData', {
83+
get: function() {
84+
this._goodData = this._goodData || new GoodDataList(this);
85+
return this._goodData;
86+
}
87+
});
88+
7589
Object.defineProperty(V1.prototype,
7690
'interaction', {
7791
get: function() {
@@ -80,6 +94,14 @@ Object.defineProperty(V1.prototype,
8094
}
8195
});
8296

97+
Object.defineProperty(V1.prototype,
98+
'userRoles', {
99+
get: function() {
100+
this._userRoles = this._userRoles || new UserRolesList(this);
101+
return this._userRoles;
102+
}
103+
});
104+
83105
Object.defineProperty(V1.prototype,
84106
'webChannel', {
85107
get: function() {

0 commit comments

Comments
 (0)