twilio 4.19.3 → 4.20.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.
@@ -80,8 +80,6 @@ interface AuthorizedConnectAppResource {
80
80
  connect_app_friendly_name: string;
81
81
  connect_app_homepage_url: string;
82
82
  connect_app_sid: string;
83
- date_created: Date;
84
- date_updated: Date;
85
83
  permissions: Array<AuthorizedConnectAppPermission>;
86
84
  uri: string;
87
85
  }
@@ -114,14 +112,6 @@ export declare class AuthorizedConnectAppInstance {
114
112
  * The SID that we assigned to the Connect App.
115
113
  */
116
114
  connectAppSid: string;
117
- /**
118
- * The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
119
- */
120
- dateCreated: Date;
121
- /**
122
- * The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
123
- */
124
- dateUpdated: Date;
125
115
  /**
126
116
  * The set of permissions that you authorized for the Connect App. Can be: `get-all` or `post-all`.
127
117
  */
@@ -151,8 +141,6 @@ export declare class AuthorizedConnectAppInstance {
151
141
  connectAppFriendlyName: string;
152
142
  connectAppHomepageUrl: string;
153
143
  connectAppSid: string;
154
- dateCreated: Date;
155
- dateUpdated: Date;
156
144
  permissions: AuthorizedConnectAppPermission[];
157
145
  uri: string;
158
146
  };
@@ -66,8 +66,6 @@ class AuthorizedConnectAppInstance {
66
66
  this.connectAppFriendlyName = payload.connect_app_friendly_name;
67
67
  this.connectAppHomepageUrl = payload.connect_app_homepage_url;
68
68
  this.connectAppSid = payload.connect_app_sid;
69
- this.dateCreated = deserialize.rfc2822DateTime(payload.date_created);
70
- this.dateUpdated = deserialize.rfc2822DateTime(payload.date_updated);
71
69
  this.permissions = payload.permissions;
72
70
  this.uri = payload.uri;
73
71
  this._solution = {
@@ -104,8 +102,6 @@ class AuthorizedConnectAppInstance {
104
102
  connectAppFriendlyName: this.connectAppFriendlyName,
105
103
  connectAppHomepageUrl: this.connectAppHomepageUrl,
106
104
  connectAppSid: this.connectAppSid,
107
- dateCreated: this.dateCreated,
108
- dateUpdated: this.dateUpdated,
109
105
  permissions: this.permissions,
110
106
  uri: this.uri,
111
107
  };
@@ -7,7 +7,7 @@ import V1 from "../../V1";
7
7
  * Options to pass to update a SubscribedEventInstance
8
8
  */
9
9
  export interface SubscribedEventContextUpdateOptions {
10
- /** The schema version that the subscription should use. */
10
+ /** The schema version that the Subscription should use. */
11
11
  schemaVersion?: number;
12
12
  }
13
13
  /**
@@ -16,7 +16,7 @@ export interface SubscribedEventContextUpdateOptions {
16
16
  export interface SubscribedEventListInstanceCreateOptions {
17
17
  /** Type of event being subscribed to. */
18
18
  type: string;
19
- /** The schema version that the subscription should use. */
19
+ /** The schema version that the Subscription should use. */
20
20
  schemaVersion?: number;
21
21
  }
22
22
  /**
@@ -136,7 +136,7 @@ export declare class SubscribedEventInstance {
136
136
  */
137
137
  type: string;
138
138
  /**
139
- * The schema version that the subscription should use.
139
+ * The schema version that the Subscription should use.
140
140
  */
141
141
  schemaVersion: number;
142
142
  /**
@@ -2,6 +2,7 @@ import NumbersBase from "../NumbersBase";
2
2
  import Version from "../../base/Version";
3
3
  import { BulkEligibilityListInstance } from "./v1/bulkEligibility";
4
4
  import { PortingBulkPortabilityListInstance } from "./v1/portingBulkPortability";
5
+ import { PortingPortInFetchListInstance } from "./v1/portingPortInFetch";
5
6
  import { PortingPortabilityListInstance } from "./v1/portingPortability";
6
7
  export default class V1 extends Version {
7
8
  /**
@@ -14,12 +15,16 @@ export default class V1 extends Version {
14
15
  protected _bulkEligibilities?: BulkEligibilityListInstance;
15
16
  /** portingBulkPortabilities - { Twilio.Numbers.V1.PortingBulkPortabilityListInstance } resource */
16
17
  protected _portingBulkPortabilities?: PortingBulkPortabilityListInstance;
18
+ /** portingPortIns - { Twilio.Numbers.V1.PortingPortInFetchListInstance } resource */
19
+ protected _portingPortIns?: PortingPortInFetchListInstance;
17
20
  /** portingPortabilities - { Twilio.Numbers.V1.PortingPortabilityListInstance } resource */
18
21
  protected _portingPortabilities?: PortingPortabilityListInstance;
19
22
  /** Getter for bulkEligibilities resource */
20
23
  get bulkEligibilities(): BulkEligibilityListInstance;
21
24
  /** Getter for portingBulkPortabilities resource */
22
25
  get portingBulkPortabilities(): PortingBulkPortabilityListInstance;
26
+ /** Getter for portingPortIns resource */
27
+ get portingPortIns(): PortingPortInFetchListInstance;
23
28
  /** Getter for portingPortabilities resource */
24
29
  get portingPortabilities(): PortingPortabilityListInstance;
25
30
  }
@@ -19,6 +19,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
19
19
  const Version_1 = __importDefault(require("../../base/Version"));
20
20
  const bulkEligibility_1 = require("./v1/bulkEligibility");
21
21
  const portingBulkPortability_1 = require("./v1/portingBulkPortability");
22
+ const portingPortInFetch_1 = require("./v1/portingPortInFetch");
22
23
  const portingPortability_1 = require("./v1/portingPortability");
23
24
  class V1 extends Version_1.default {
24
25
  /**
@@ -42,6 +43,12 @@ class V1 extends Version_1.default {
42
43
  (0, portingBulkPortability_1.PortingBulkPortabilityListInstance)(this);
43
44
  return this._portingBulkPortabilities;
44
45
  }
46
+ /** Getter for portingPortIns resource */
47
+ get portingPortIns() {
48
+ this._portingPortIns =
49
+ this._portingPortIns || (0, portingPortInFetch_1.PortingPortInFetchListInstance)(this);
50
+ return this._portingPortIns;
51
+ }
45
52
  /** Getter for portingPortabilities resource */
46
53
  get portingPortabilities() {
47
54
  this._portingPortabilities =
@@ -0,0 +1,136 @@
1
+ /// <reference types="node" />
2
+ import { inspect, InspectOptions } from "util";
3
+ import V1 from "../V1";
4
+ export interface PortingPortInFetchContext {
5
+ /**
6
+ * Fetch a PortingPortInFetchInstance
7
+ *
8
+ * @param callback - Callback to handle processed record
9
+ *
10
+ * @returns Resolves to processed PortingPortInFetchInstance
11
+ */
12
+ fetch(callback?: (error: Error | null, item?: PortingPortInFetchInstance) => any): Promise<PortingPortInFetchInstance>;
13
+ /**
14
+ * Provide a user-friendly representation
15
+ */
16
+ toJSON(): any;
17
+ [inspect.custom](_depth: any, options: InspectOptions): any;
18
+ }
19
+ export interface PortingPortInFetchContextSolution {
20
+ portInRequestSid: string;
21
+ }
22
+ export declare class PortingPortInFetchContextImpl implements PortingPortInFetchContext {
23
+ protected _version: V1;
24
+ protected _solution: PortingPortInFetchContextSolution;
25
+ protected _uri: string;
26
+ constructor(_version: V1, portInRequestSid: string);
27
+ fetch(callback?: (error: Error | null, item?: PortingPortInFetchInstance) => any): Promise<PortingPortInFetchInstance>;
28
+ /**
29
+ * Provide a user-friendly representation
30
+ *
31
+ * @returns Object
32
+ */
33
+ toJSON(): PortingPortInFetchContextSolution;
34
+ [inspect.custom](_depth: any, options: InspectOptions): string;
35
+ }
36
+ interface PortingPortInFetchResource {
37
+ port_in_request_sid: string;
38
+ url: string;
39
+ account_sid: string;
40
+ notification_emails: Array<string>;
41
+ target_port_in_date: Date;
42
+ target_port_in_time_range_start: string;
43
+ target_port_in_time_range_end: string;
44
+ losing_carrier_information: any;
45
+ phone_numbers: Array<any>;
46
+ documents: Array<string>;
47
+ }
48
+ export declare class PortingPortInFetchInstance {
49
+ protected _version: V1;
50
+ protected _solution: PortingPortInFetchContextSolution;
51
+ protected _context?: PortingPortInFetchContext;
52
+ constructor(_version: V1, payload: PortingPortInFetchResource, portInRequestSid?: string);
53
+ /**
54
+ * The SID of the Port In request. This is a unique identifier of the port in request.
55
+ */
56
+ portInRequestSid: string;
57
+ /**
58
+ * The URL of this Port In request
59
+ */
60
+ url: string;
61
+ /**
62
+ * The Account SID that the numbers will be added to after they are ported into Twilio.
63
+ */
64
+ accountSid: string;
65
+ /**
66
+ * List of emails for getting notifications about the LOA signing process. Allowed Max 10 emails.
67
+ */
68
+ notificationEmails: Array<string>;
69
+ /**
70
+ * Minimum number of days in the future (at least 2 days) needs to be established with the Ops team for validation.
71
+ */
72
+ targetPortInDate: Date;
73
+ /**
74
+ * Minimum hour in the future needs to be established with the Ops team for validation.
75
+ */
76
+ targetPortInTimeRangeStart: string;
77
+ /**
78
+ * Maximum hour in the future needs to be established with the Ops team for validation.
79
+ */
80
+ targetPortInTimeRangeEnd: string;
81
+ /**
82
+ * The information for the losing carrier.
83
+ */
84
+ losingCarrierInformation: any;
85
+ /**
86
+ * The list of phone numbers to Port in. Phone numbers are in E.164 format (e.g. +16175551212).
87
+ */
88
+ phoneNumbers: Array<any>;
89
+ /**
90
+ * The list of documents SID referencing a utility bills
91
+ */
92
+ documents: Array<string>;
93
+ private get _proxy();
94
+ /**
95
+ * Fetch a PortingPortInFetchInstance
96
+ *
97
+ * @param callback - Callback to handle processed record
98
+ *
99
+ * @returns Resolves to processed PortingPortInFetchInstance
100
+ */
101
+ fetch(callback?: (error: Error | null, item?: PortingPortInFetchInstance) => any): Promise<PortingPortInFetchInstance>;
102
+ /**
103
+ * Provide a user-friendly representation
104
+ *
105
+ * @returns Object
106
+ */
107
+ toJSON(): {
108
+ portInRequestSid: string;
109
+ url: string;
110
+ accountSid: string;
111
+ notificationEmails: string[];
112
+ targetPortInDate: Date;
113
+ targetPortInTimeRangeStart: string;
114
+ targetPortInTimeRangeEnd: string;
115
+ losingCarrierInformation: any;
116
+ phoneNumbers: any[];
117
+ documents: string[];
118
+ };
119
+ [inspect.custom](_depth: any, options: InspectOptions): string;
120
+ }
121
+ export interface PortingPortInFetchSolution {
122
+ }
123
+ export interface PortingPortInFetchListInstance {
124
+ _version: V1;
125
+ _solution: PortingPortInFetchSolution;
126
+ _uri: string;
127
+ (portInRequestSid: string): PortingPortInFetchContext;
128
+ get(portInRequestSid: string): PortingPortInFetchContext;
129
+ /**
130
+ * Provide a user-friendly representation
131
+ */
132
+ toJSON(): any;
133
+ [inspect.custom](_depth: any, options: InspectOptions): any;
134
+ }
135
+ export declare function PortingPortInFetchListInstance(version: V1): PortingPortInFetchListInstance;
136
+ export {};
@@ -0,0 +1,126 @@
1
+ "use strict";
2
+ /*
3
+ * This code was generated by
4
+ * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
5
+ * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
6
+ * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
7
+ *
8
+ * Twilio - Numbers
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.PortingPortInFetchListInstance = exports.PortingPortInFetchInstance = exports.PortingPortInFetchContextImpl = void 0;
17
+ const util_1 = require("util");
18
+ const deserialize = require("../../../base/deserialize");
19
+ const serialize = require("../../../base/serialize");
20
+ const utility_1 = require("../../../base/utility");
21
+ class PortingPortInFetchContextImpl {
22
+ constructor(_version, portInRequestSid) {
23
+ this._version = _version;
24
+ if (!(0, utility_1.isValidPathParam)(portInRequestSid)) {
25
+ throw new Error("Parameter 'portInRequestSid' is not valid.");
26
+ }
27
+ this._solution = { portInRequestSid };
28
+ this._uri = `/Porting/PortIn/${portInRequestSid}`;
29
+ }
30
+ fetch(callback) {
31
+ const instance = this;
32
+ let operationVersion = instance._version, operationPromise = operationVersion.fetch({
33
+ uri: instance._uri,
34
+ method: "get",
35
+ });
36
+ operationPromise = operationPromise.then((payload) => new PortingPortInFetchInstance(operationVersion, payload, instance._solution.portInRequestSid));
37
+ operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
38
+ return operationPromise;
39
+ }
40
+ /**
41
+ * Provide a user-friendly representation
42
+ *
43
+ * @returns Object
44
+ */
45
+ toJSON() {
46
+ return this._solution;
47
+ }
48
+ [util_1.inspect.custom](_depth, options) {
49
+ return (0, util_1.inspect)(this.toJSON(), options);
50
+ }
51
+ }
52
+ exports.PortingPortInFetchContextImpl = PortingPortInFetchContextImpl;
53
+ class PortingPortInFetchInstance {
54
+ constructor(_version, payload, portInRequestSid) {
55
+ this._version = _version;
56
+ this.portInRequestSid = payload.port_in_request_sid;
57
+ this.url = payload.url;
58
+ this.accountSid = payload.account_sid;
59
+ this.notificationEmails = payload.notification_emails;
60
+ this.targetPortInDate = deserialize.iso8601Date(payload.target_port_in_date);
61
+ this.targetPortInTimeRangeStart = payload.target_port_in_time_range_start;
62
+ this.targetPortInTimeRangeEnd = payload.target_port_in_time_range_end;
63
+ this.losingCarrierInformation = payload.losing_carrier_information;
64
+ this.phoneNumbers = payload.phone_numbers;
65
+ this.documents = payload.documents;
66
+ this._solution = {
67
+ portInRequestSid: portInRequestSid || this.portInRequestSid,
68
+ };
69
+ }
70
+ get _proxy() {
71
+ this._context =
72
+ this._context ||
73
+ new PortingPortInFetchContextImpl(this._version, this._solution.portInRequestSid);
74
+ return this._context;
75
+ }
76
+ /**
77
+ * Fetch a PortingPortInFetchInstance
78
+ *
79
+ * @param callback - Callback to handle processed record
80
+ *
81
+ * @returns Resolves to processed PortingPortInFetchInstance
82
+ */
83
+ fetch(callback) {
84
+ return this._proxy.fetch(callback);
85
+ }
86
+ /**
87
+ * Provide a user-friendly representation
88
+ *
89
+ * @returns Object
90
+ */
91
+ toJSON() {
92
+ return {
93
+ portInRequestSid: this.portInRequestSid,
94
+ url: this.url,
95
+ accountSid: this.accountSid,
96
+ notificationEmails: this.notificationEmails,
97
+ targetPortInDate: this.targetPortInDate,
98
+ targetPortInTimeRangeStart: this.targetPortInTimeRangeStart,
99
+ targetPortInTimeRangeEnd: this.targetPortInTimeRangeEnd,
100
+ losingCarrierInformation: this.losingCarrierInformation,
101
+ phoneNumbers: this.phoneNumbers,
102
+ documents: this.documents,
103
+ };
104
+ }
105
+ [util_1.inspect.custom](_depth, options) {
106
+ return (0, util_1.inspect)(this.toJSON(), options);
107
+ }
108
+ }
109
+ exports.PortingPortInFetchInstance = PortingPortInFetchInstance;
110
+ function PortingPortInFetchListInstance(version) {
111
+ const instance = ((portInRequestSid) => instance.get(portInRequestSid));
112
+ instance.get = function get(portInRequestSid) {
113
+ return new PortingPortInFetchContextImpl(version, portInRequestSid);
114
+ };
115
+ instance._version = version;
116
+ instance._solution = {};
117
+ instance._uri = ``;
118
+ instance.toJSON = function toJSON() {
119
+ return instance._solution;
120
+ };
121
+ instance[util_1.inspect.custom] = function inspectImpl(_depth, options) {
122
+ return (0, util_1.inspect)(instance.toJSON(), options);
123
+ };
124
+ return instance;
125
+ }
126
+ exports.PortingPortInFetchListInstance = PortingPortInFetchListInstance;
@@ -119,6 +119,8 @@ export interface ReservationContextUpdateOptions {
119
119
  endConferenceOnCustomerExit?: boolean;
120
120
  /** Whether to play a notification beep when the customer joins. */
121
121
  beepOnCustomerEntrance?: boolean;
122
+ /** The jitter buffer size for conference. Can be: `small`, `medium`, `large`, `off`. */
123
+ jitterBufferSize?: string;
122
124
  }
123
125
  /**
124
126
  * Options to pass to each
@@ -166,6 +166,8 @@ class ReservationContextImpl {
166
166
  data["EndConferenceOnCustomerExit"] = serialize.bool(params["endConferenceOnCustomerExit"]);
167
167
  if (params["beepOnCustomerEntrance"] !== undefined)
168
168
  data["BeepOnCustomerEntrance"] = serialize.bool(params["beepOnCustomerEntrance"]);
169
+ if (params["jitterBufferSize"] !== undefined)
170
+ data["JitterBufferSize"] = params["jitterBufferSize"];
169
171
  const headers = {};
170
172
  headers["Content-Type"] = "application/x-www-form-urlencoded";
171
173
  if (params["ifMatch"] !== undefined)
@@ -114,6 +114,8 @@ export interface ReservationContextUpdateOptions {
114
114
  endConferenceOnCustomerExit?: boolean;
115
115
  /** Whether to play a notification beep when the customer joins. */
116
116
  beepOnCustomerEntrance?: boolean;
117
+ /** The jitter buffer size for conference. Can be: `small`, `medium`, `large`, `off`. */
118
+ jitterBufferSize?: string;
117
119
  }
118
120
  /**
119
121
  * Options to pass to each
@@ -162,6 +162,8 @@ class ReservationContextImpl {
162
162
  data["EndConferenceOnCustomerExit"] = serialize.bool(params["endConferenceOnCustomerExit"]);
163
163
  if (params["beepOnCustomerEntrance"] !== undefined)
164
164
  data["BeepOnCustomerEntrance"] = serialize.bool(params["beepOnCustomerEntrance"]);
165
+ if (params["jitterBufferSize"] !== undefined)
166
+ data["JitterBufferSize"] = params["jitterBufferSize"];
165
167
  const headers = {};
166
168
  headers["Content-Type"] = "application/x-www-form-urlencoded";
167
169
  if (params["ifMatch"] !== undefined)
@@ -1,14 +1,53 @@
1
1
  /// <reference types="node" />
2
2
  import { inspect, InspectOptions } from "util";
3
3
  import V1 from "../V1";
4
+ export type ComplianceTollfreeInquiriesOptInType = "VERBAL" | "WEB_FORM" | "PAPER_FORM" | "VIA_TEXT" | "MOBILE_QR_CODE";
4
5
  /**
5
6
  * Options to pass to create a ComplianceTollfreeInquiriesInstance
6
7
  */
7
8
  export interface ComplianceTollfreeInquiriesListInstanceCreateOptions {
8
9
  /** The Tollfree phone number to be verified */
9
10
  tollfreePhoneNumber: string;
10
- /** The notification email to be triggered when verification status is changed */
11
+ /** The email address to receive the notification about the verification result. */
11
12
  notificationEmail: string;
13
+ /** The name of the business or organization using the Tollfree number. */
14
+ businessName?: string;
15
+ /** The website of the business or organization using the Tollfree number. */
16
+ businessWebsite?: string;
17
+ /** The category of the use case for the Tollfree Number. List as many are applicable.. */
18
+ useCaseCategories?: Array<string>;
19
+ /** Use this to further explain how messaging is used by the business or organization. */
20
+ useCaseSummary?: string;
21
+ /** An example of message content, i.e. a sample message. */
22
+ productionMessageSample?: string;
23
+ /** Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL. */
24
+ optInImageUrls?: Array<string>;
25
+ /** */
26
+ optInType?: ComplianceTollfreeInquiriesOptInType;
27
+ /** Estimate monthly volume of messages from the Tollfree Number. */
28
+ messageVolume?: string;
29
+ /** The address of the business or organization using the Tollfree number. */
30
+ businessStreetAddress?: string;
31
+ /** The address of the business or organization using the Tollfree number. */
32
+ businessStreetAddress2?: string;
33
+ /** The city of the business or organization using the Tollfree number. */
34
+ businessCity?: string;
35
+ /** The state/province/region of the business or organization using the Tollfree number. */
36
+ businessStateProvinceRegion?: string;
37
+ /** The postal code of the business or organization using the Tollfree number. */
38
+ businessPostalCode?: string;
39
+ /** The country of the business or organization using the Tollfree number. */
40
+ businessCountry?: string;
41
+ /** Additional information to be provided for verification. */
42
+ additionalInformation?: string;
43
+ /** The first name of the contact for the business or organization using the Tollfree number. */
44
+ businessContactFirstName?: string;
45
+ /** The last name of the contact for the business or organization using the Tollfree number. */
46
+ businessContactLastName?: string;
47
+ /** The email address of the contact for the business or organization using the Tollfree number. */
48
+ businessContactEmail?: string;
49
+ /** The phone number of the contact for the business or organization using the Tollfree number. */
50
+ businessContactPhone?: string;
12
51
  }
13
52
  export interface ComplianceTollfreeInquiriesSolution {
14
53
  }
@@ -37,6 +37,45 @@ function ComplianceTollfreeInquiriesListInstance(version) {
37
37
  let data = {};
38
38
  data["TollfreePhoneNumber"] = params["tollfreePhoneNumber"];
39
39
  data["NotificationEmail"] = params["notificationEmail"];
40
+ if (params["businessName"] !== undefined)
41
+ data["BusinessName"] = params["businessName"];
42
+ if (params["businessWebsite"] !== undefined)
43
+ data["BusinessWebsite"] = params["businessWebsite"];
44
+ if (params["useCaseCategories"] !== undefined)
45
+ data["UseCaseCategories"] = serialize.map(params["useCaseCategories"], (e) => e);
46
+ if (params["useCaseSummary"] !== undefined)
47
+ data["UseCaseSummary"] = params["useCaseSummary"];
48
+ if (params["productionMessageSample"] !== undefined)
49
+ data["ProductionMessageSample"] = params["productionMessageSample"];
50
+ if (params["optInImageUrls"] !== undefined)
51
+ data["OptInImageUrls"] = serialize.map(params["optInImageUrls"], (e) => e);
52
+ if (params["optInType"] !== undefined)
53
+ data["OptInType"] = params["optInType"];
54
+ if (params["messageVolume"] !== undefined)
55
+ data["MessageVolume"] = params["messageVolume"];
56
+ if (params["businessStreetAddress"] !== undefined)
57
+ data["BusinessStreetAddress"] = params["businessStreetAddress"];
58
+ if (params["businessStreetAddress2"] !== undefined)
59
+ data["BusinessStreetAddress2"] = params["businessStreetAddress2"];
60
+ if (params["businessCity"] !== undefined)
61
+ data["BusinessCity"] = params["businessCity"];
62
+ if (params["businessStateProvinceRegion"] !== undefined)
63
+ data["BusinessStateProvinceRegion"] =
64
+ params["businessStateProvinceRegion"];
65
+ if (params["businessPostalCode"] !== undefined)
66
+ data["BusinessPostalCode"] = params["businessPostalCode"];
67
+ if (params["businessCountry"] !== undefined)
68
+ data["BusinessCountry"] = params["businessCountry"];
69
+ if (params["additionalInformation"] !== undefined)
70
+ data["AdditionalInformation"] = params["additionalInformation"];
71
+ if (params["businessContactFirstName"] !== undefined)
72
+ data["BusinessContactFirstName"] = params["businessContactFirstName"];
73
+ if (params["businessContactLastName"] !== undefined)
74
+ data["BusinessContactLastName"] = params["businessContactLastName"];
75
+ if (params["businessContactEmail"] !== undefined)
76
+ data["BusinessContactEmail"] = params["businessContactEmail"];
77
+ if (params["businessContactPhone"] !== undefined)
78
+ data["BusinessContactPhone"] = params["businessContactPhone"];
40
79
  const headers = {};
41
80
  headers["Content-Type"] = "application/x-www-form-urlencoded";
42
81
  let operationVersion = version, operationPromise = operationVersion.create({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "twilio",
3
3
  "description": "A Twilio helper library",
4
- "version": "4.19.3",
4
+ "version": "4.20.0",
5
5
  "author": "API Team <api@twilio.com>",
6
6
  "contributors": [
7
7
  {