twilio 4.16.0 → 4.18.0

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.
Files changed (35) hide show
  1. package/lib/rest/api/V2010.d.ts +5 -0
  2. package/lib/rest/api/V2010.js +6 -0
  3. package/lib/rest/api/v2010/account/message/feedback.d.ts +4 -4
  4. package/lib/rest/api/v2010/account/message.d.ts +9 -1
  5. package/lib/rest/api/v2010/account/message.js +4 -0
  6. package/lib/rest/api/v2010/safelist.d.ts +107 -0
  7. package/lib/rest/api/v2010/safelist.js +119 -0
  8. package/lib/rest/chat/v3/channel.d.ts +2 -2
  9. package/lib/rest/conversations/v1/addressConfiguration.d.ts +1 -1
  10. package/lib/rest/conversations/v1/configuration.d.ts +2 -2
  11. package/lib/rest/conversations/v1/conversation/message.d.ts +4 -0
  12. package/lib/rest/conversations/v1/conversation/message.js +4 -0
  13. package/lib/rest/conversations/v1/conversation.d.ts +11 -3
  14. package/lib/rest/conversations/v1/conversation.js +8 -0
  15. package/lib/rest/conversations/v1/service/conversation/message.d.ts +4 -0
  16. package/lib/rest/conversations/v1/service/conversation/message.js +4 -0
  17. package/lib/rest/conversations/v1/service/conversation.d.ts +11 -3
  18. package/lib/rest/conversations/v1/service/conversation.js +8 -0
  19. package/lib/rest/flexApi/v1/configuration.d.ts +12 -0
  20. package/lib/rest/flexApi/v1/configuration.js +4 -0
  21. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +4 -4
  22. package/lib/rest/messaging/v1/externalCampaign.d.ts +2 -2
  23. package/lib/rest/messaging/v1/service/usAppToPerson.d.ts +1 -1
  24. package/lib/rest/messaging/v1/service.d.ts +6 -6
  25. package/lib/rest/numbers/v2/authorizationDocument/dependentHostedNumberOrder.d.ts +3 -3
  26. package/lib/rest/numbers/v2/authorizationDocument.d.ts +3 -3
  27. package/lib/rest/numbers/v2/bulkHostedNumberOrder.d.ts +8 -14
  28. package/lib/rest/numbers/v2/bulkHostedNumberOrder.js +14 -16
  29. package/lib/rest/numbers/v2/hostedNumberOrder.d.ts +2 -2
  30. package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.d.ts +3 -3
  31. package/lib/rest/preview/hosted_numbers/authorizationDocument.d.ts +3 -3
  32. package/lib/rest/preview/hosted_numbers/hostedNumberOrder.d.ts +2 -2
  33. package/lib/rest/proxy/v1/service.d.ts +3 -3
  34. package/lib/rest/verify/v2/service/messagingConfiguration.d.ts +3 -3
  35. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  import ApiBase from "../ApiBase";
2
2
  import Version from "../../base/Version";
3
3
  import { AccountListInstance } from "./v2010/account";
4
+ import { SafelistListInstance } from "./v2010/safelist";
4
5
  import { AccountContext } from "./v2010/account";
5
6
  export default class V2010 extends Version {
6
7
  /**
@@ -11,10 +12,14 @@ export default class V2010 extends Version {
11
12
  constructor(domain: ApiBase);
12
13
  /** accounts - { Twilio.Api.V2010.AccountListInstance } resource */
13
14
  protected _accounts?: AccountListInstance;
15
+ /** safelist - { Twilio.Api.V2010.SafelistListInstance } resource */
16
+ protected _safelist?: SafelistListInstance;
14
17
  /** account - { Twilio.Api.V2010.AccountContext } resource */
15
18
  protected _account?: AccountContext;
16
19
  /** Getter for accounts resource */
17
20
  get accounts(): AccountListInstance;
21
+ /** Getter for safelist resource */
22
+ get safelist(): SafelistListInstance;
18
23
  /** Getter for account resource */
19
24
  get account(): AccountContext;
20
25
  }
@@ -18,6 +18,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
19
  const Version_1 = __importDefault(require("../../base/Version"));
20
20
  const account_1 = require("./v2010/account");
21
+ const safelist_1 = require("./v2010/safelist");
21
22
  class V2010 extends Version_1.default {
22
23
  /**
23
24
  * Initialize the V2010 version of Api
@@ -32,6 +33,11 @@ class V2010 extends Version_1.default {
32
33
  this._accounts = this._accounts || (0, account_1.AccountListInstance)(this);
33
34
  return this._accounts;
34
35
  }
36
+ /** Getter for safelist resource */
37
+ get safelist() {
38
+ this._safelist = this._safelist || (0, safelist_1.SafelistListInstance)(this);
39
+ return this._safelist;
40
+ }
35
41
  /** Getter for account resource */
36
42
  get account() {
37
43
  this._account =
@@ -53,20 +53,20 @@ export declare class FeedbackInstance {
53
53
  protected _version: V2010;
54
54
  constructor(_version: V2010, payload: FeedbackResource, accountSid: string, messageSid: string);
55
55
  /**
56
- * The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the MessageFeedback resource.
56
+ * The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with this MessageFeedback resource.
57
57
  */
58
58
  accountSid: string;
59
59
  /**
60
- * The SID of the Message resource for which the feedback was provided.
60
+ * The SID of the Message resource associated with this MessageFeedback resource.
61
61
  */
62
62
  messageSid: string;
63
63
  outcome: FeedbackOutcome;
64
64
  /**
65
- * The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
65
+ * The date and time in GMT when this MessageFeedback resource was created, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
66
66
  */
67
67
  dateCreated: Date;
68
68
  /**
69
- * The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
69
+ * The date and time in GMT when this MessageFeedback resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
70
70
  */
71
71
  dateUpdated: Date;
72
72
  /**
@@ -59,9 +59,11 @@ export interface MessageListInstanceCreateOptions {
59
59
  sendAsMms?: boolean;
60
60
  /** For [Content Editor/API](https://www.twilio.com/docs/content) only: Key-value pairs of [Template variables](https://www.twilio.com/docs/content/using-variables-with-content-api) and their substitution values. `content_sid` parameter must also be provided. If values are not defined in the `content_variables` parameter, the [Template\\\'s default placeholder values](https://www.twilio.com/docs/content/content-api-resources#create-templates) are used. */
61
61
  contentVariables?: string;
62
+ /** A string containing a JSON map of key value pairs of tags to be recorded as metadata for the message. The object may contain up to 10 tags. Keys and values can each be up to 128 characters in length. */
63
+ tags?: string;
62
64
  /** */
63
65
  riskCheck?: MessageRiskCheck;
64
- /** The sender\\\'s Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belong to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service\\\'s Sender Pool) or you can provide a specific sender from your Sender Pool. */
66
+ /** The sender\\\'s Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belongs to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service\\\'s Sender Pool) or you can provide a specific sender from your Sender Pool. */
65
67
  from?: string;
66
68
  /** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services) you want to associate with the Message. When this parameter is provided and the `from` parameter is omitted, Twilio selects the optimal sender from the Messaging Service\\\'s Sender Pool. You may also provide a `from` parameter if you want to use a specific Sender from the Sender Pool. */
67
69
  messagingServiceSid?: string;
@@ -225,6 +227,7 @@ interface MessageResource {
225
227
  price_unit: string;
226
228
  api_version: string;
227
229
  subresource_uris: Record<string, string>;
230
+ tags: any;
228
231
  }
229
232
  export declare class MessageInstance {
230
233
  protected _version: V2010;
@@ -305,6 +308,10 @@ export declare class MessageInstance {
305
308
  * A list of related resources identified by their URIs relative to `https://api.twilio.com`
306
309
  */
307
310
  subresourceUris: Record<string, string>;
311
+ /**
312
+ * A string containing a JSON map of key value pairs of tags to be recorded as metadata for the message.
313
+ */
314
+ tags: any;
308
315
  private get _proxy();
309
316
  /**
310
317
  * Remove a MessageInstance
@@ -373,6 +380,7 @@ export declare class MessageInstance {
373
380
  priceUnit: string;
374
381
  apiVersion: string;
375
382
  subresourceUris: Record<string, string>;
383
+ tags: any;
376
384
  };
377
385
  [inspect.custom](_depth: any, options: InspectOptions): string;
378
386
  }
@@ -129,6 +129,7 @@ class MessageInstance {
129
129
  this.priceUnit = payload.price_unit;
130
130
  this.apiVersion = payload.api_version;
131
131
  this.subresourceUris = payload.subresource_uris;
132
+ this.tags = payload.tags;
132
133
  this._solution = { accountSid, sid: sid || this.sid };
133
134
  }
134
135
  get _proxy() {
@@ -199,6 +200,7 @@ class MessageInstance {
199
200
  priceUnit: this.priceUnit,
200
201
  apiVersion: this.apiVersion,
201
202
  subresourceUris: this.subresourceUris,
203
+ tags: this.tags,
202
204
  };
203
205
  }
204
206
  [util_1.inspect.custom](_depth, options) {
@@ -258,6 +260,8 @@ function MessageListInstance(version, accountSid) {
258
260
  data["SendAsMms"] = serialize.bool(params["sendAsMms"]);
259
261
  if (params["contentVariables"] !== undefined)
260
262
  data["ContentVariables"] = params["contentVariables"];
263
+ if (params["tags"] !== undefined)
264
+ data["Tags"] = params["tags"];
261
265
  if (params["riskCheck"] !== undefined)
262
266
  data["RiskCheck"] = params["riskCheck"];
263
267
  if (params["from"] !== undefined)
@@ -0,0 +1,107 @@
1
+ /// <reference types="node" />
2
+ import { inspect, InspectOptions } from "util";
3
+ import V2010 from "../V2010";
4
+ /**
5
+ * Options to pass to create a SafelistInstance
6
+ */
7
+ export interface SafelistListInstanceCreateOptions {
8
+ /** The phone number to be added in SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). */
9
+ phoneNumber: string;
10
+ }
11
+ /**
12
+ * Options to pass to remove a SafelistInstance
13
+ */
14
+ export interface SafelistListInstanceRemoveOptions {
15
+ /** The phone number to be removed from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). */
16
+ phoneNumber?: string;
17
+ }
18
+ /**
19
+ * Options to pass to fetch a SafelistInstance
20
+ */
21
+ export interface SafelistListInstanceFetchOptions {
22
+ /** The phone number to be fetched from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). */
23
+ phoneNumber?: string;
24
+ }
25
+ export interface SafelistSolution {
26
+ }
27
+ export interface SafelistListInstance {
28
+ _version: V2010;
29
+ _solution: SafelistSolution;
30
+ _uri: string;
31
+ /**
32
+ * Create a SafelistInstance
33
+ *
34
+ * @param params - Parameter for request
35
+ * @param callback - Callback to handle processed record
36
+ *
37
+ * @returns Resolves to processed SafelistInstance
38
+ */
39
+ create(params: SafelistListInstanceCreateOptions, callback?: (error: Error | null, item?: SafelistInstance) => any): Promise<SafelistInstance>;
40
+ /**
41
+ * Remove a SafelistInstance
42
+ *
43
+ * @param callback - Callback to handle processed record
44
+ *
45
+ * @returns Resolves to processed boolean
46
+ */
47
+ remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
48
+ /**
49
+ * Remove a SafelistInstance
50
+ *
51
+ * @param params - Parameter for request
52
+ * @param callback - Callback to handle processed record
53
+ *
54
+ * @returns Resolves to processed SafelistInstance
55
+ */
56
+ remove(params: SafelistListInstanceRemoveOptions, callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
57
+ /**
58
+ * Fetch a SafelistInstance
59
+ *
60
+ * @param callback - Callback to handle processed record
61
+ *
62
+ * @returns Resolves to processed SafelistInstance
63
+ */
64
+ fetch(callback?: (error: Error | null, item?: SafelistInstance) => any): Promise<SafelistInstance>;
65
+ /**
66
+ * Fetch a SafelistInstance
67
+ *
68
+ * @param params - Parameter for request
69
+ * @param callback - Callback to handle processed record
70
+ *
71
+ * @returns Resolves to processed SafelistInstance
72
+ */
73
+ fetch(params: SafelistListInstanceFetchOptions, callback?: (error: Error | null, item?: SafelistInstance) => any): Promise<SafelistInstance>;
74
+ /**
75
+ * Provide a user-friendly representation
76
+ */
77
+ toJSON(): any;
78
+ [inspect.custom](_depth: any, options: InspectOptions): any;
79
+ }
80
+ export declare function SafelistListInstance(version: V2010): SafelistListInstance;
81
+ interface SafelistResource {
82
+ sid: string;
83
+ phone_number: string;
84
+ }
85
+ export declare class SafelistInstance {
86
+ protected _version: V2010;
87
+ constructor(_version: V2010, payload: SafelistResource);
88
+ /**
89
+ * The unique string that we created to identify the SafeList resource.
90
+ */
91
+ sid: string;
92
+ /**
93
+ * The phone number in SafeList.
94
+ */
95
+ phoneNumber: string;
96
+ /**
97
+ * Provide a user-friendly representation
98
+ *
99
+ * @returns Object
100
+ */
101
+ toJSON(): {
102
+ sid: string;
103
+ phoneNumber: string;
104
+ };
105
+ [inspect.custom](_depth: any, options: InspectOptions): string;
106
+ }
107
+ export {};
@@ -0,0 +1,119 @@
1
+ "use strict";
2
+ /*
3
+ * This code was generated by
4
+ * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
5
+ * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
6
+ * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
7
+ *
8
+ * Twilio - Api
9
+ * This is the public Twilio REST API.
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator.
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SafelistInstance = exports.SafelistListInstance = void 0;
17
+ const util_1 = require("util");
18
+ const deserialize = require("../../../base/deserialize");
19
+ const serialize = require("../../../base/serialize");
20
+ function SafelistListInstance(version) {
21
+ const instance = {};
22
+ instance._version = version;
23
+ instance._solution = {};
24
+ instance._uri = `/SafeList/Numbers.json`;
25
+ instance.create = function create(params, callback) {
26
+ if (params === null || params === undefined) {
27
+ throw new Error('Required parameter "params" missing.');
28
+ }
29
+ if (params["phoneNumber"] === null || params["phoneNumber"] === undefined) {
30
+ throw new Error("Required parameter \"params['phoneNumber']\" missing.");
31
+ }
32
+ let data = {};
33
+ data["PhoneNumber"] = params["phoneNumber"];
34
+ const headers = {};
35
+ headers["Content-Type"] = "application/x-www-form-urlencoded";
36
+ let operationVersion = version, operationPromise = operationVersion.create({
37
+ uri: instance._uri,
38
+ method: "post",
39
+ data,
40
+ headers,
41
+ });
42
+ operationPromise = operationPromise.then((payload) => new SafelistInstance(operationVersion, payload));
43
+ operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
44
+ return operationPromise;
45
+ };
46
+ instance.remove = function remove(params, callback) {
47
+ if (params instanceof Function) {
48
+ callback = params;
49
+ params = {};
50
+ }
51
+ else {
52
+ params = params || {};
53
+ }
54
+ let data = {};
55
+ if (params["phoneNumber"] !== undefined)
56
+ data["PhoneNumber"] = params["phoneNumber"];
57
+ const headers = {};
58
+ let operationVersion = version, operationPromise = operationVersion.remove({
59
+ uri: instance._uri,
60
+ method: "delete",
61
+ params: data,
62
+ headers,
63
+ });
64
+ operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
65
+ return operationPromise;
66
+ };
67
+ instance.fetch = function fetch(params, callback) {
68
+ if (params instanceof Function) {
69
+ callback = params;
70
+ params = {};
71
+ }
72
+ else {
73
+ params = params || {};
74
+ }
75
+ let data = {};
76
+ if (params["phoneNumber"] !== undefined)
77
+ data["PhoneNumber"] = params["phoneNumber"];
78
+ const headers = {};
79
+ let operationVersion = version, operationPromise = operationVersion.fetch({
80
+ uri: instance._uri,
81
+ method: "get",
82
+ params: data,
83
+ headers,
84
+ });
85
+ operationPromise = operationPromise.then((payload) => new SafelistInstance(operationVersion, payload));
86
+ operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
87
+ return operationPromise;
88
+ };
89
+ instance.toJSON = function toJSON() {
90
+ return instance._solution;
91
+ };
92
+ instance[util_1.inspect.custom] = function inspectImpl(_depth, options) {
93
+ return (0, util_1.inspect)(instance.toJSON(), options);
94
+ };
95
+ return instance;
96
+ }
97
+ exports.SafelistListInstance = SafelistListInstance;
98
+ class SafelistInstance {
99
+ constructor(_version, payload) {
100
+ this._version = _version;
101
+ this.sid = payload.sid;
102
+ this.phoneNumber = payload.phone_number;
103
+ }
104
+ /**
105
+ * Provide a user-friendly representation
106
+ *
107
+ * @returns Object
108
+ */
109
+ toJSON() {
110
+ return {
111
+ sid: this.sid,
112
+ phoneNumber: this.phoneNumber,
113
+ };
114
+ }
115
+ [util_1.inspect.custom](_depth, options) {
116
+ return (0, util_1.inspect)(this.toJSON(), options);
117
+ }
118
+ }
119
+ exports.SafelistInstance = SafelistInstance;
@@ -11,7 +11,7 @@ export interface ChannelContextUpdateOptions {
11
11
  xTwilioWebhookEnabled?: ChannelWebhookEnabledType;
12
12
  /** */
13
13
  type?: ChannelChannelType;
14
- /** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this channel belongs to. */
14
+ /** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this channel belongs to. */
15
15
  messagingServiceSid?: string;
16
16
  }
17
17
  export interface ChannelContext {
@@ -123,7 +123,7 @@ export declare class ChannelInstance {
123
123
  */
124
124
  messagesCount: number;
125
125
  /**
126
- * The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this channel belongs to.
126
+ * The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this channel belongs to.
127
127
  */
128
128
  messagingServiceSid: string;
129
129
  /**
@@ -5,7 +5,7 @@ import Response from "../../../http/response";
5
5
  import V1 from "../V1";
6
6
  export type AddressConfigurationAutoCreationType = "webhook" | "studio" | "default";
7
7
  export type AddressConfigurationMethod = "GET" | "POST";
8
- export type AddressConfigurationType = "sms" | "whatsapp" | "messenger" | "gbm";
8
+ export type AddressConfigurationType = "sms" | "whatsapp" | "messenger" | "gbm" | "email";
9
9
  /**
10
10
  * Options to pass to update a AddressConfigurationInstance
11
11
  */
@@ -8,7 +8,7 @@ import { WebhookListInstance } from "./configuration/webhook";
8
8
  export interface ConfigurationContextUpdateOptions {
9
9
  /** The SID of the default [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) to use when creating a conversation. */
10
10
  defaultChatServiceSid?: string;
11
- /** The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to use when creating a conversation. */
11
+ /** The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to use when creating a conversation. */
12
12
  defaultMessagingServiceSid?: string;
13
13
  /** Default ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. */
14
14
  defaultInactiveTimer?: string;
@@ -87,7 +87,7 @@ export declare class ConfigurationInstance {
87
87
  */
88
88
  defaultChatServiceSid: string;
89
89
  /**
90
- * The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/services/api) used when creating a conversation.
90
+ * The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) used when creating a conversation.
91
91
  */
92
92
  defaultMessagingServiceSid: string;
93
93
  /**
@@ -29,6 +29,8 @@ export interface MessageContextUpdateOptions {
29
29
  dateUpdated?: Date;
30
30
  /** A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. */
31
31
  attributes?: string;
32
+ /** The subject of the message, can be up to 256 characters long. */
33
+ subject?: string;
32
34
  }
33
35
  /**
34
36
  * Options to pass to create a MessageInstance
@@ -52,6 +54,8 @@ export interface MessageListInstanceCreateOptions {
52
54
  contentSid?: string;
53
55
  /** A structurally valid JSON string that contains values to resolve Rich Content template variables. */
54
56
  contentVariables?: string;
57
+ /** The subject of the message, can be up to 256 characters long. */
58
+ subject?: string;
55
59
  }
56
60
  /**
57
61
  * Options to pass to each
@@ -92,6 +92,8 @@ class MessageContextImpl {
92
92
  data["DateUpdated"] = serialize.iso8601DateTime(params["dateUpdated"]);
93
93
  if (params["attributes"] !== undefined)
94
94
  data["Attributes"] = params["attributes"];
95
+ if (params["subject"] !== undefined)
96
+ data["Subject"] = params["subject"];
95
97
  const headers = {};
96
98
  headers["Content-Type"] = "application/x-www-form-urlencoded";
97
99
  if (params["xTwilioWebhookEnabled"] !== undefined)
@@ -233,6 +235,8 @@ function MessageListInstance(version, conversationSid) {
233
235
  data["ContentSid"] = params["contentSid"];
234
236
  if (params["contentVariables"] !== undefined)
235
237
  data["ContentVariables"] = params["contentVariables"];
238
+ if (params["subject"] !== undefined)
239
+ data["Subject"] = params["subject"];
236
240
  const headers = {};
237
241
  headers["Content-Type"] = "application/x-www-form-urlencoded";
238
242
  if (params["xTwilioWebhookEnabled"] !== undefined)
@@ -29,7 +29,7 @@ export interface ConversationContextUpdateOptions {
29
29
  dateUpdated?: Date;
30
30
  /** An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. */
31
31
  attributes?: string;
32
- /** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. */
32
+ /** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. */
33
33
  messagingServiceSid?: string;
34
34
  /** */
35
35
  state?: ConversationState;
@@ -39,6 +39,10 @@ export interface ConversationContextUpdateOptions {
39
39
  "timers.closed"?: string;
40
40
  /** An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource\\\'s `sid` in the URL. */
41
41
  uniqueName?: string;
42
+ /** The default email address that will be used when sending outbound emails in this conversation. */
43
+ "bindings.email.address"?: string;
44
+ /** The default name that will be used when sending outbound emails in this conversation. */
45
+ "bindings.email.name"?: string;
42
46
  }
43
47
  /**
44
48
  * Options to pass to create a ConversationInstance
@@ -54,7 +58,7 @@ export interface ConversationListInstanceCreateOptions {
54
58
  dateCreated?: Date;
55
59
  /** The date that this resource was last updated. */
56
60
  dateUpdated?: Date;
57
- /** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. */
61
+ /** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. */
58
62
  messagingServiceSid?: string;
59
63
  /** An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. */
60
64
  attributes?: string;
@@ -64,6 +68,10 @@ export interface ConversationListInstanceCreateOptions {
64
68
  "timers.inactive"?: string;
65
69
  /** ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. */
66
70
  "timers.closed"?: string;
71
+ /** The default email address that will be used when sending outbound emails in this conversation. */
72
+ "bindings.email.address"?: string;
73
+ /** The default name that will be used when sending outbound emails in this conversation. */
74
+ "bindings.email.name"?: string;
67
75
  }
68
76
  /**
69
77
  * Options to pass to each
@@ -226,7 +234,7 @@ export declare class ConversationInstance {
226
234
  */
227
235
  chatServiceSid: string;
228
236
  /**
229
- * The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to.
237
+ * The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to.
230
238
  */
231
239
  messagingServiceSid: string;
232
240
  /**
@@ -109,6 +109,10 @@ class ConversationContextImpl {
109
109
  data["Timers.Closed"] = params["timers.closed"];
110
110
  if (params["uniqueName"] !== undefined)
111
111
  data["UniqueName"] = params["uniqueName"];
112
+ if (params["bindings.email.address"] !== undefined)
113
+ data["Bindings.Email.Address"] = params["bindings.email.address"];
114
+ if (params["bindings.email.name"] !== undefined)
115
+ data["Bindings.Email.Name"] = params["bindings.email.name"];
112
116
  const headers = {};
113
117
  headers["Content-Type"] = "application/x-www-form-urlencoded";
114
118
  if (params["xTwilioWebhookEnabled"] !== undefined)
@@ -259,6 +263,10 @@ function ConversationListInstance(version) {
259
263
  data["Timers.Inactive"] = params["timers.inactive"];
260
264
  if (params["timers.closed"] !== undefined)
261
265
  data["Timers.Closed"] = params["timers.closed"];
266
+ if (params["bindings.email.address"] !== undefined)
267
+ data["Bindings.Email.Address"] = params["bindings.email.address"];
268
+ if (params["bindings.email.name"] !== undefined)
269
+ data["Bindings.Email.Name"] = params["bindings.email.name"];
262
270
  const headers = {};
263
271
  headers["Content-Type"] = "application/x-www-form-urlencoded";
264
272
  if (params["xTwilioWebhookEnabled"] !== undefined)
@@ -29,6 +29,8 @@ export interface MessageContextUpdateOptions {
29
29
  dateUpdated?: Date;
30
30
  /** A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. */
31
31
  attributes?: string;
32
+ /** The subject of the message, can be up to 256 characters long. */
33
+ subject?: string;
32
34
  }
33
35
  /**
34
36
  * Options to pass to create a MessageInstance
@@ -52,6 +54,8 @@ export interface MessageListInstanceCreateOptions {
52
54
  contentSid?: string;
53
55
  /** A structurally valid JSON string that contains values to resolve Rich Content template variables. */
54
56
  contentVariables?: string;
57
+ /** The subject of the message, can be up to 256 characters long. */
58
+ subject?: string;
55
59
  }
56
60
  /**
57
61
  * Options to pass to each
@@ -95,6 +95,8 @@ class MessageContextImpl {
95
95
  data["DateUpdated"] = serialize.iso8601DateTime(params["dateUpdated"]);
96
96
  if (params["attributes"] !== undefined)
97
97
  data["Attributes"] = params["attributes"];
98
+ if (params["subject"] !== undefined)
99
+ data["Subject"] = params["subject"];
98
100
  const headers = {};
99
101
  headers["Content-Type"] = "application/x-www-form-urlencoded";
100
102
  if (params["xTwilioWebhookEnabled"] !== undefined)
@@ -241,6 +243,8 @@ function MessageListInstance(version, chatServiceSid, conversationSid) {
241
243
  data["ContentSid"] = params["contentSid"];
242
244
  if (params["contentVariables"] !== undefined)
243
245
  data["ContentVariables"] = params["contentVariables"];
246
+ if (params["subject"] !== undefined)
247
+ data["Subject"] = params["subject"];
244
248
  const headers = {};
245
249
  headers["Content-Type"] = "application/x-www-form-urlencoded";
246
250
  if (params["xTwilioWebhookEnabled"] !== undefined)
@@ -29,7 +29,7 @@ export interface ConversationContextUpdateOptions {
29
29
  dateUpdated?: Date;
30
30
  /** An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. */
31
31
  attributes?: string;
32
- /** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. */
32
+ /** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. */
33
33
  messagingServiceSid?: string;
34
34
  /** */
35
35
  state?: ConversationState;
@@ -39,6 +39,10 @@ export interface ConversationContextUpdateOptions {
39
39
  "timers.closed"?: string;
40
40
  /** An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource\\\'s `sid` in the URL. */
41
41
  uniqueName?: string;
42
+ /** The default email address that will be used when sending outbound emails in this conversation. */
43
+ "bindings.email.address"?: string;
44
+ /** The default name that will be used when sending outbound emails in this conversation. */
45
+ "bindings.email.name"?: string;
42
46
  }
43
47
  /**
44
48
  * Options to pass to create a ConversationInstance
@@ -52,7 +56,7 @@ export interface ConversationListInstanceCreateOptions {
52
56
  uniqueName?: string;
53
57
  /** An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. */
54
58
  attributes?: string;
55
- /** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. */
59
+ /** The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. */
56
60
  messagingServiceSid?: string;
57
61
  /** The date that this resource was created. */
58
62
  dateCreated?: Date;
@@ -64,6 +68,10 @@ export interface ConversationListInstanceCreateOptions {
64
68
  "timers.inactive"?: string;
65
69
  /** ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. */
66
70
  "timers.closed"?: string;
71
+ /** The default email address that will be used when sending outbound emails in this conversation. */
72
+ "bindings.email.address"?: string;
73
+ /** The default name that will be used when sending outbound emails in this conversation. */
74
+ "bindings.email.name"?: string;
67
75
  }
68
76
  /**
69
77
  * Options to pass to each
@@ -227,7 +235,7 @@ export declare class ConversationInstance {
227
235
  */
228
236
  chatServiceSid: string;
229
237
  /**
230
- * The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to.
238
+ * The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to.
231
239
  */
232
240
  messagingServiceSid: string;
233
241
  /**
@@ -114,6 +114,10 @@ class ConversationContextImpl {
114
114
  data["Timers.Closed"] = params["timers.closed"];
115
115
  if (params["uniqueName"] !== undefined)
116
116
  data["UniqueName"] = params["uniqueName"];
117
+ if (params["bindings.email.address"] !== undefined)
118
+ data["Bindings.Email.Address"] = params["bindings.email.address"];
119
+ if (params["bindings.email.name"] !== undefined)
120
+ data["Bindings.Email.Name"] = params["bindings.email.name"];
117
121
  const headers = {};
118
122
  headers["Content-Type"] = "application/x-www-form-urlencoded";
119
123
  if (params["xTwilioWebhookEnabled"] !== undefined)
@@ -267,6 +271,10 @@ function ConversationListInstance(version, chatServiceSid) {
267
271
  data["Timers.Inactive"] = params["timers.inactive"];
268
272
  if (params["timers.closed"] !== undefined)
269
273
  data["Timers.Closed"] = params["timers.closed"];
274
+ if (params["bindings.email.address"] !== undefined)
275
+ data["Bindings.Email.Address"] = params["bindings.email.address"];
276
+ if (params["bindings.email.name"] !== undefined)
277
+ data["Bindings.Email.Name"] = params["bindings.email.name"];
270
278
  const headers = {};
271
279
  headers["Content-Type"] = "application/x-www-form-urlencoded";
272
280
  if (params["xTwilioWebhookEnabled"] !== undefined)
@@ -95,6 +95,8 @@ interface ConfigurationResource {
95
95
  channel_configs: Array<any>;
96
96
  debugger_integration: any;
97
97
  flex_ui_status_report: any;
98
+ agent_conv_end_methods: any;
99
+ citrix_voice_vdi: any;
98
100
  }
99
101
  export declare class ConfigurationInstance {
100
102
  protected _version: V1;
@@ -278,6 +280,14 @@ export declare class ConfigurationInstance {
278
280
  * Configurable parameters for Flex UI Status report.
279
281
  */
280
282
  flexUiStatusReport: any;
283
+ /**
284
+ * Agent conversation end methods.
285
+ */
286
+ agentConvEndMethods: any;
287
+ /**
288
+ * Citrix voice vdi configuration and settings.
289
+ */
290
+ citrixVoiceVdi: any;
281
291
  private get _proxy();
282
292
  /**
283
293
  * Fetch a ConfigurationInstance
@@ -347,6 +357,8 @@ export declare class ConfigurationInstance {
347
357
  channelConfigs: any[];
348
358
  debuggerIntegration: any;
349
359
  flexUiStatusReport: any;
360
+ agentConvEndMethods: any;
361
+ citrixVoiceVdi: any;
350
362
  };
351
363
  [inspect.custom](_depth: any, options: InspectOptions): string;
352
364
  }
@@ -107,6 +107,8 @@ class ConfigurationInstance {
107
107
  this.channelConfigs = payload.channel_configs;
108
108
  this.debuggerIntegration = payload.debugger_integration;
109
109
  this.flexUiStatusReport = payload.flex_ui_status_report;
110
+ this.agentConvEndMethods = payload.agent_conv_end_methods;
111
+ this.citrixVoiceVdi = payload.citrix_voice_vdi;
110
112
  this._solution = {};
111
113
  }
112
114
  get _proxy() {
@@ -169,6 +171,8 @@ class ConfigurationInstance {
169
171
  channelConfigs: this.channelConfigs,
170
172
  debuggerIntegration: this.debuggerIntegration,
171
173
  flexUiStatusReport: this.flexUiStatusReport,
174
+ agentConvEndMethods: this.agentConvEndMethods,
175
+ citrixVoiceVdi: this.citrixVoiceVdi,
172
176
  };
173
177
  }
174
178
  [util_1.inspect.custom](_depth, options) {
@@ -5,16 +5,16 @@ import Response from "../../../../http/response";
5
5
  import V1 from "../../V1";
6
6
  import { InteractionChannelInviteListInstance } from "./interactionChannel/interactionChannelInvite";
7
7
  import { InteractionChannelParticipantListInstance } from "./interactionChannel/interactionChannelParticipant";
8
- export type InteractionChannelChannelStatus = "setup" | "active" | "failed" | "closed";
9
- export type InteractionChannelStatus = "closed" | "wrapup";
8
+ export type InteractionChannelChannelStatus = "setup" | "active" | "failed" | "closed" | "inactive";
10
9
  export type InteractionChannelType = "voice" | "sms" | "email" | "web" | "whatsapp" | "chat" | "messenger" | "gbm";
10
+ export type InteractionChannelUpdateChannelStatus = "closed" | "inactive";
11
11
  /**
12
12
  * Options to pass to update a InteractionChannelInstance
13
13
  */
14
14
  export interface InteractionChannelContextUpdateOptions {
15
15
  /** */
16
- status: InteractionChannelStatus;
17
- /** Optional. The state of associated tasks. If not specified, all tasks will be set to `wrapping`. */
16
+ status: InteractionChannelUpdateChannelStatus;
17
+ /** It changes the state of associated tasks. Routing status is required, When the channel status is set to `inactive`. Allowed Value for routing status is `closed`. Otherwise Optional, if not specified, all tasks will be set to `wrapping`. */
18
18
  routing?: any;
19
19
  }
20
20
  /**
@@ -7,7 +7,7 @@ import V1 from "../V1";
7
7
  export interface ExternalCampaignListInstanceCreateOptions {
8
8
  /** ID of the preregistered campaign. */
9
9
  campaignId: string;
10
- /** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) that the resource is associated with. */
10
+ /** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with. */
11
11
  messagingServiceSid: string;
12
12
  }
13
13
  export interface ExternalCampaignSolution {
@@ -55,7 +55,7 @@ export declare class ExternalCampaignInstance {
55
55
  */
56
56
  campaignId: string;
57
57
  /**
58
- * The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) that the resource is associated with.
58
+ * The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with.
59
59
  */
60
60
  messagingServiceSid: string;
61
61
  /**
@@ -157,7 +157,7 @@ export declare class UsAppToPersonInstance {
157
157
  */
158
158
  brandRegistrationSid: string;
159
159
  /**
160
- * The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) that the resource is associated with.
160
+ * The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with.
161
161
  */
162
162
  messagingServiceSid: string;
163
163
  /**
@@ -34,7 +34,7 @@ export interface ServiceContextUpdateOptions {
34
34
  smartEncoding?: boolean;
35
35
  /** */
36
36
  scanMessageContent?: ServiceScanMessageContent;
37
- /** Whether to enable [Fallback to Long Code](https://www.twilio.com/docs/messaging/services#fallback-to-long-code) for messages sent through the Service instance. */
37
+ /** [OBSOLETE] Former feature used to fallback to long code sender after certain short code message failures. */
38
38
  fallbackToLongCode?: boolean;
39
39
  /** Whether to enable [Area Code Geomatch](https://www.twilio.com/docs/messaging/services#area-code-geomatch) on the Service Instance. */
40
40
  areaCodeGeomatch?: boolean;
@@ -42,7 +42,7 @@ export interface ServiceContextUpdateOptions {
42
42
  validityPeriod?: number;
43
43
  /** Reserved. */
44
44
  synchronousValidation?: boolean;
45
- /** A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..] */
45
+ /** A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`. */
46
46
  usecase?: string;
47
47
  /** A boolean value that indicates either the webhook url configured on the phone number will be used or `inbound_request_url`/`fallback_url` url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the `inbound_request_url`/`fallback_url` defined for the Messaging Service. */
48
48
  useInboundWebhookOnNumber?: boolean;
@@ -71,7 +71,7 @@ export interface ServiceListInstanceCreateOptions {
71
71
  smartEncoding?: boolean;
72
72
  /** */
73
73
  scanMessageContent?: ServiceScanMessageContent;
74
- /** Whether to enable [Fallback to Long Code](https://www.twilio.com/docs/messaging/services#fallback-to-long-code) for messages sent through the Service instance. */
74
+ /** [OBSOLETE] Former feature used to fallback to long code sender after certain short code message failures. */
75
75
  fallbackToLongCode?: boolean;
76
76
  /** Whether to enable [Area Code Geomatch](https://www.twilio.com/docs/messaging/services#area-code-geomatch) on the Service Instance. */
77
77
  areaCodeGeomatch?: boolean;
@@ -79,7 +79,7 @@ export interface ServiceListInstanceCreateOptions {
79
79
  validityPeriod?: number;
80
80
  /** Reserved. */
81
81
  synchronousValidation?: boolean;
82
- /** A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..]. */
82
+ /** A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`. */
83
83
  usecase?: string;
84
84
  /** A boolean value that indicates either the webhook url configured on the phone number will be used or `inbound_request_url`/`fallback_url` url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the `inbound_request_url`/`fallback_url` defined for the Messaging Service. */
85
85
  useInboundWebhookOnNumber?: boolean;
@@ -281,7 +281,7 @@ export declare class ServiceInstance {
281
281
  smartEncoding: boolean;
282
282
  scanMessageContent: ServiceScanMessageContent;
283
283
  /**
284
- * Whether to enable [Fallback to Long Code](https://www.twilio.com/docs/messaging/services#fallback-to-long-code) for messages sent through the Service instance.
284
+ * [OBSOLETE] Former feature used to fallback to long code sender after certain short code message failures.
285
285
  */
286
286
  fallbackToLongCode: boolean;
287
287
  /**
@@ -305,7 +305,7 @@ export declare class ServiceInstance {
305
305
  */
306
306
  links: Record<string, string>;
307
307
  /**
308
- * A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..]
308
+ * A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`.
309
309
  */
310
310
  usecase: string;
311
311
  /**
@@ -9,7 +9,7 @@ export type DependentHostedNumberOrderStatus = "received" | "verified" | "pendin
9
9
  * Options to pass to each
10
10
  */
11
11
  export interface DependentHostedNumberOrderListInstanceEachOptions {
12
- /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
12
+ /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
13
13
  status?: DependentHostedNumberOrderStatus;
14
14
  /** An E164 formatted phone number hosted by this HostedNumberOrder. */
15
15
  phoneNumber?: string;
@@ -30,7 +30,7 @@ export interface DependentHostedNumberOrderListInstanceEachOptions {
30
30
  * Options to pass to list
31
31
  */
32
32
  export interface DependentHostedNumberOrderListInstanceOptions {
33
- /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
33
+ /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
34
34
  status?: DependentHostedNumberOrderStatus;
35
35
  /** An E164 formatted phone number hosted by this HostedNumberOrder. */
36
36
  phoneNumber?: string;
@@ -47,7 +47,7 @@ export interface DependentHostedNumberOrderListInstanceOptions {
47
47
  * Options to pass to page
48
48
  */
49
49
  export interface DependentHostedNumberOrderListInstancePageOptions {
50
- /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
50
+ /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
51
51
  status?: DependentHostedNumberOrderStatus;
52
52
  /** An E164 formatted phone number hosted by this HostedNumberOrder. */
53
53
  phoneNumber?: string;
@@ -28,7 +28,7 @@ export interface AuthorizationDocumentListInstanceCreateOptions {
28
28
  export interface AuthorizationDocumentListInstanceEachOptions {
29
29
  /** Email that this AuthorizationDocument will be sent to for signing. */
30
30
  email?: string;
31
- /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
31
+ /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
32
32
  status?: AuthorizationDocumentStatus;
33
33
  /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
34
34
  pageSize?: number;
@@ -45,7 +45,7 @@ export interface AuthorizationDocumentListInstanceEachOptions {
45
45
  export interface AuthorizationDocumentListInstanceOptions {
46
46
  /** Email that this AuthorizationDocument will be sent to for signing. */
47
47
  email?: string;
48
- /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
48
+ /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
49
49
  status?: AuthorizationDocumentStatus;
50
50
  /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
51
51
  pageSize?: number;
@@ -58,7 +58,7 @@ export interface AuthorizationDocumentListInstanceOptions {
58
58
  export interface AuthorizationDocumentListInstancePageOptions {
59
59
  /** Email that this AuthorizationDocument will be sent to for signing. */
60
60
  email?: string;
61
- /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
61
+ /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
62
62
  status?: AuthorizationDocumentStatus;
63
63
  /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
64
64
  pageSize?: number;
@@ -34,13 +34,13 @@ export interface BulkHostedNumberOrderContext {
34
34
  [inspect.custom](_depth: any, options: InspectOptions): any;
35
35
  }
36
36
  export interface BulkHostedNumberOrderContextSolution {
37
- sid: string;
37
+ bulkHostingSid: string;
38
38
  }
39
39
  export declare class BulkHostedNumberOrderContextImpl implements BulkHostedNumberOrderContext {
40
40
  protected _version: V2;
41
41
  protected _solution: BulkHostedNumberOrderContextSolution;
42
42
  protected _uri: string;
43
- constructor(_version: V2, sid: string);
43
+ constructor(_version: V2, bulkHostingSid: string);
44
44
  fetch(params?: BulkHostedNumberOrderContextFetchOptions | ((error: Error | null, item?: BulkHostedNumberOrderInstance) => any), callback?: (error: Error | null, item?: BulkHostedNumberOrderInstance) => any): Promise<BulkHostedNumberOrderInstance>;
45
45
  /**
46
46
  * Provide a user-friendly representation
@@ -51,8 +51,7 @@ export declare class BulkHostedNumberOrderContextImpl implements BulkHostedNumbe
51
51
  [inspect.custom](_depth: any, options: InspectOptions): string;
52
52
  }
53
53
  interface BulkHostedNumberOrderResource {
54
- sid: string;
55
- account_sid: string;
54
+ bulk_hosting_sid: string;
56
55
  request_status: BulkHostedNumberOrderRequestStatus;
57
56
  friendly_name: string;
58
57
  notification_email: string;
@@ -66,15 +65,11 @@ export declare class BulkHostedNumberOrderInstance {
66
65
  protected _version: V2;
67
66
  protected _solution: BulkHostedNumberOrderContextSolution;
68
67
  protected _context?: BulkHostedNumberOrderContext;
69
- constructor(_version: V2, payload: BulkHostedNumberOrderResource, sid?: string);
68
+ constructor(_version: V2, payload: BulkHostedNumberOrderResource, bulkHostingSid?: string);
70
69
  /**
71
70
  * A 34 character string that uniquely identifies this BulkHostedNumberOrder.
72
71
  */
73
- sid: string;
74
- /**
75
- * A 34 character string that uniquely identifies the account.
76
- */
77
- accountSid: string;
72
+ bulkHostingSid: string;
78
73
  requestStatus: BulkHostedNumberOrderRequestStatus;
79
74
  /**
80
75
  * A 128 character string that is a human-readable text that describes this resource.
@@ -128,8 +123,7 @@ export declare class BulkHostedNumberOrderInstance {
128
123
  * @returns Object
129
124
  */
130
125
  toJSON(): {
131
- sid: string;
132
- accountSid: string;
126
+ bulkHostingSid: string;
133
127
  requestStatus: BulkHostedNumberOrderRequestStatus;
134
128
  friendlyName: string;
135
129
  notificationEmail: string;
@@ -147,8 +141,8 @@ export interface BulkHostedNumberOrderListInstance {
147
141
  _version: V2;
148
142
  _solution: BulkHostedNumberOrderSolution;
149
143
  _uri: string;
150
- (sid: string): BulkHostedNumberOrderContext;
151
- get(sid: string): BulkHostedNumberOrderContext;
144
+ (bulkHostingSid: string): BulkHostedNumberOrderContext;
145
+ get(bulkHostingSid: string): BulkHostedNumberOrderContext;
152
146
  /**
153
147
  * Provide a user-friendly representation
154
148
  */
@@ -19,13 +19,13 @@ const deserialize = require("../../../base/deserialize");
19
19
  const serialize = require("../../../base/serialize");
20
20
  const utility_1 = require("../../../base/utility");
21
21
  class BulkHostedNumberOrderContextImpl {
22
- constructor(_version, sid) {
22
+ constructor(_version, bulkHostingSid) {
23
23
  this._version = _version;
24
- if (!(0, utility_1.isValidPathParam)(sid)) {
25
- throw new Error("Parameter 'sid' is not valid.");
24
+ if (!(0, utility_1.isValidPathParam)(bulkHostingSid)) {
25
+ throw new Error("Parameter 'bulkHostingSid' is not valid.");
26
26
  }
27
- this._solution = { sid };
28
- this._uri = `/HostedNumber/Orders/Bulk/${sid}`;
27
+ this._solution = { bulkHostingSid };
28
+ this._uri = `/HostedNumber/Orders/Bulk/${bulkHostingSid}`;
29
29
  }
30
30
  fetch(params, callback) {
31
31
  if (params instanceof Function) {
@@ -46,7 +46,7 @@ class BulkHostedNumberOrderContextImpl {
46
46
  params: data,
47
47
  headers,
48
48
  });
49
- operationPromise = operationPromise.then((payload) => new BulkHostedNumberOrderInstance(operationVersion, payload, instance._solution.sid));
49
+ operationPromise = operationPromise.then((payload) => new BulkHostedNumberOrderInstance(operationVersion, payload, instance._solution.bulkHostingSid));
50
50
  operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
51
51
  return operationPromise;
52
52
  }
@@ -64,10 +64,9 @@ class BulkHostedNumberOrderContextImpl {
64
64
  }
65
65
  exports.BulkHostedNumberOrderContextImpl = BulkHostedNumberOrderContextImpl;
66
66
  class BulkHostedNumberOrderInstance {
67
- constructor(_version, payload, sid) {
67
+ constructor(_version, payload, bulkHostingSid) {
68
68
  this._version = _version;
69
- this.sid = payload.sid;
70
- this.accountSid = payload.account_sid;
69
+ this.bulkHostingSid = payload.bulk_hosting_sid;
71
70
  this.requestStatus = payload.request_status;
72
71
  this.friendlyName = payload.friendly_name;
73
72
  this.notificationEmail = payload.notification_email;
@@ -76,12 +75,12 @@ class BulkHostedNumberOrderInstance {
76
75
  this.url = payload.url;
77
76
  this.totalCount = deserialize.integer(payload.total_count);
78
77
  this.results = payload.results;
79
- this._solution = { sid: sid || this.sid };
78
+ this._solution = { bulkHostingSid: bulkHostingSid || this.bulkHostingSid };
80
79
  }
81
80
  get _proxy() {
82
81
  this._context =
83
82
  this._context ||
84
- new BulkHostedNumberOrderContextImpl(this._version, this._solution.sid);
83
+ new BulkHostedNumberOrderContextImpl(this._version, this._solution.bulkHostingSid);
85
84
  return this._context;
86
85
  }
87
86
  fetch(params, callback) {
@@ -94,8 +93,7 @@ class BulkHostedNumberOrderInstance {
94
93
  */
95
94
  toJSON() {
96
95
  return {
97
- sid: this.sid,
98
- accountSid: this.accountSid,
96
+ bulkHostingSid: this.bulkHostingSid,
99
97
  requestStatus: this.requestStatus,
100
98
  friendlyName: this.friendlyName,
101
99
  notificationEmail: this.notificationEmail,
@@ -112,9 +110,9 @@ class BulkHostedNumberOrderInstance {
112
110
  }
113
111
  exports.BulkHostedNumberOrderInstance = BulkHostedNumberOrderInstance;
114
112
  function BulkHostedNumberOrderListInstance(version) {
115
- const instance = ((sid) => instance.get(sid));
116
- instance.get = function get(sid) {
117
- return new BulkHostedNumberOrderContextImpl(version, sid);
113
+ const instance = ((bulkHostingSid) => instance.get(bulkHostingSid));
114
+ instance.get = function get(bulkHostingSid) {
115
+ return new BulkHostedNumberOrderContextImpl(version, bulkHostingSid);
118
116
  };
119
117
  instance._version = version;
120
118
  instance._solution = {};
@@ -184,7 +184,7 @@ export declare class HostedNumberOrderInstance {
184
184
  */
185
185
  accountSid: string;
186
186
  /**
187
- * A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/api/rest/incoming-phone-numbers) resource that represents the phone number being hosted.
187
+ * A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource) resource that represents the phone number being hosted.
188
188
  */
189
189
  incomingPhoneNumberSid: string;
190
190
  /**
@@ -192,7 +192,7 @@ export declare class HostedNumberOrderInstance {
192
192
  */
193
193
  addressSid: string;
194
194
  /**
195
- * A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents) the user needs to sign.
195
+ * A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource) the user needs to sign.
196
196
  */
197
197
  signingDocumentSid: string;
198
198
  /**
@@ -10,7 +10,7 @@ export type DependentHostedNumberOrderVerificationType = "phone-call" | "phone-b
10
10
  * Options to pass to each
11
11
  */
12
12
  export interface DependentHostedNumberOrderListInstanceEachOptions {
13
- /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
13
+ /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
14
14
  status?: DependentHostedNumberOrderStatus;
15
15
  /** An E164 formatted phone number hosted by this HostedNumberOrder. */
16
16
  phoneNumber?: string;
@@ -33,7 +33,7 @@ export interface DependentHostedNumberOrderListInstanceEachOptions {
33
33
  * Options to pass to list
34
34
  */
35
35
  export interface DependentHostedNumberOrderListInstanceOptions {
36
- /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
36
+ /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
37
37
  status?: DependentHostedNumberOrderStatus;
38
38
  /** An E164 formatted phone number hosted by this HostedNumberOrder. */
39
39
  phoneNumber?: string;
@@ -52,7 +52,7 @@ export interface DependentHostedNumberOrderListInstanceOptions {
52
52
  * Options to pass to page
53
53
  */
54
54
  export interface DependentHostedNumberOrderListInstancePageOptions {
55
- /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
55
+ /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
56
56
  status?: DependentHostedNumberOrderStatus;
57
57
  /** An E164 formatted phone number hosted by this HostedNumberOrder. */
58
58
  phoneNumber?: string;
@@ -47,7 +47,7 @@ export interface AuthorizationDocumentListInstanceCreateOptions {
47
47
  export interface AuthorizationDocumentListInstanceEachOptions {
48
48
  /** Email that this AuthorizationDocument will be sent to for signing. */
49
49
  email?: string;
50
- /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
50
+ /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
51
51
  status?: AuthorizationDocumentStatus;
52
52
  /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
53
53
  pageSize?: number;
@@ -64,7 +64,7 @@ export interface AuthorizationDocumentListInstanceEachOptions {
64
64
  export interface AuthorizationDocumentListInstanceOptions {
65
65
  /** Email that this AuthorizationDocument will be sent to for signing. */
66
66
  email?: string;
67
- /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
67
+ /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
68
68
  status?: AuthorizationDocumentStatus;
69
69
  /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
70
70
  pageSize?: number;
@@ -77,7 +77,7 @@ export interface AuthorizationDocumentListInstanceOptions {
77
77
  export interface AuthorizationDocumentListInstancePageOptions {
78
78
  /** Email that this AuthorizationDocument will be sent to for signing. */
79
79
  email?: string;
80
- /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. */
80
+ /** Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. */
81
81
  status?: AuthorizationDocumentStatus;
82
82
  /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
83
83
  pageSize?: number;
@@ -234,7 +234,7 @@ export declare class HostedNumberOrderInstance {
234
234
  */
235
235
  accountSid: string;
236
236
  /**
237
- * A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/api/rest/incoming-phone-numbers) resource that represents the phone number being hosted.
237
+ * A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource) resource that represents the phone number being hosted.
238
238
  */
239
239
  incomingPhoneNumberSid: string;
240
240
  /**
@@ -242,7 +242,7 @@ export declare class HostedNumberOrderInstance {
242
242
  */
243
243
  addressSid: string;
244
244
  /**
245
- * A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents) the user needs to sign.
245
+ * A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource) the user needs to sign.
246
246
  */
247
247
  signingDocumentSid: string;
248
248
  /**
@@ -24,7 +24,7 @@ export interface ServiceContextUpdateOptions {
24
24
  numberSelectionBehavior?: ServiceNumberSelectionBehavior;
25
25
  /** The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues. */
26
26
  interceptCallbackUrl?: string;
27
- /** The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. */
27
+ /** The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. */
28
28
  outOfSessionCallbackUrl?: string;
29
29
  /** The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship. */
30
30
  chatInstanceSid?: string;
@@ -45,7 +45,7 @@ export interface ServiceListInstanceCreateOptions {
45
45
  numberSelectionBehavior?: ServiceNumberSelectionBehavior;
46
46
  /** The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues. */
47
47
  interceptCallbackUrl?: string;
48
- /** The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. */
48
+ /** The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. */
49
49
  outOfSessionCallbackUrl?: string;
50
50
  /** The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship. */
51
51
  chatInstanceSid?: string;
@@ -206,7 +206,7 @@ export declare class ServiceInstance {
206
206
  */
207
207
  interceptCallbackUrl: string;
208
208
  /**
209
- * The URL we call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
209
+ * The URL we call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information.
210
210
  */
211
211
  outOfSessionCallbackUrl: string;
212
212
  /**
@@ -7,7 +7,7 @@ import V2 from "../../V2";
7
7
  * Options to pass to update a MessagingConfigurationInstance
8
8
  */
9
9
  export interface MessagingConfigurationContextUpdateOptions {
10
- /** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration. */
10
+ /** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration. */
11
11
  messagingServiceSid: string;
12
12
  }
13
13
  /**
@@ -16,7 +16,7 @@ export interface MessagingConfigurationContextUpdateOptions {
16
16
  export interface MessagingConfigurationListInstanceCreateOptions {
17
17
  /** The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country this configuration will be applied to. If this is a global configuration, Country will take the value `all`. */
18
18
  country: string;
19
- /** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration. */
19
+ /** The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration. */
20
20
  messagingServiceSid: string;
21
21
  }
22
22
  /**
@@ -134,7 +134,7 @@ export declare class MessagingConfigurationInstance {
134
134
  */
135
135
  country: string;
136
136
  /**
137
- * The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration.
137
+ * The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
138
138
  */
139
139
  messagingServiceSid: string;
140
140
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "twilio",
3
3
  "description": "A Twilio helper library",
4
- "version": "4.16.0",
4
+ "version": "4.18.0",
5
5
  "author": "API Team <api@twilio.com>",
6
6
  "contributors": [
7
7
  {