twilio 5.8.2 → 5.10.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 (81) hide show
  1. package/README.md +103 -0
  2. package/lib/index.d.ts +3 -0
  3. package/lib/index.js +2 -0
  4. package/lib/rest/NumbersBase.d.ts +3 -0
  5. package/lib/rest/NumbersBase.js +5 -0
  6. package/lib/rest/OauthBase.d.ts +3 -0
  7. package/lib/rest/OauthBase.js +5 -0
  8. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.d.ts +3 -3
  9. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.d.ts +3 -3
  10. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.d.ts +3 -3
  11. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.d.ts +3 -3
  12. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.d.ts +3 -3
  13. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.d.ts +3 -3
  14. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.d.ts +3 -3
  15. package/lib/rest/api/v2010/account/recording.d.ts +1 -1
  16. package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +9 -10
  17. package/lib/rest/api/v2010/account/usage/record/daily.d.ts +9 -10
  18. package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +9 -10
  19. package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +9 -10
  20. package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +9 -10
  21. package/lib/rest/api/v2010/account/usage/record/today.d.ts +9 -10
  22. package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +9 -10
  23. package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +9 -10
  24. package/lib/rest/api/v2010/account/usage/record.d.ts +9 -10
  25. package/lib/rest/api/v2010/account/usage/trigger.d.ts +11 -12
  26. package/lib/rest/api/v2010/account/usage.d.ts +0 -4
  27. package/lib/rest/assistants/v1/assistant/feedback.d.ts +2 -2
  28. package/lib/rest/assistants/v1/assistant/message.d.ts +1 -1
  29. package/lib/rest/assistants/v1/assistant.d.ts +20 -20
  30. package/lib/rest/assistants/v1/knowledge.d.ts +6 -6
  31. package/lib/rest/assistants/v1/tool.d.ts +8 -8
  32. package/lib/rest/content/v1/content.d.ts +41 -25
  33. package/lib/rest/content/v1/content.js +7 -1
  34. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +1 -1
  35. package/lib/rest/insights/v1/room/participant.d.ts +1 -1
  36. package/lib/rest/insights/v1/room.d.ts +1 -1
  37. package/lib/rest/intelligence/v2/service.d.ts +10 -0
  38. package/lib/rest/intelligence/v2/service.js +6 -0
  39. package/lib/rest/intelligence/v2/transcript/encryptedOperatorResults.d.ts +113 -0
  40. package/lib/rest/intelligence/v2/transcript/encryptedOperatorResults.js +120 -0
  41. package/lib/rest/intelligence/v2/transcript/encryptedSentences.d.ts +113 -0
  42. package/lib/rest/intelligence/v2/transcript/encryptedSentences.js +120 -0
  43. package/lib/rest/intelligence/v2/transcript.d.ts +22 -0
  44. package/lib/rest/intelligence/v2/transcript.js +28 -0
  45. package/lib/rest/lookups/v2/lookupOverride.d.ts +1 -1
  46. package/lib/rest/lookups/v2/query.d.ts +71 -71
  47. package/lib/rest/marketplace/v1/installedAddOn/installedAddOnUsage.d.ts +2 -2
  48. package/lib/rest/marketplace/v1/referralConversion.d.ts +1 -1
  49. package/lib/rest/messaging/v2/channelsSender.d.ts +71 -71
  50. package/lib/rest/messaging/v2/channelsSender.js +6 -6
  51. package/lib/rest/numbers/V3.d.ts +15 -0
  52. package/lib/rest/numbers/V3.js +37 -0
  53. package/lib/rest/numbers/v1/portingPortIn.d.ts +3 -3
  54. package/lib/rest/numbers/v3/hostedNumberOrder.d.ts +210 -0
  55. package/lib/rest/numbers/v3/hostedNumberOrder.js +154 -0
  56. package/lib/rest/oauth/V2.d.ts +15 -0
  57. package/lib/rest/oauth/V2.js +36 -0
  58. package/lib/rest/oauth/v2/token.d.ts +87 -0
  59. package/lib/rest/oauth/v2/token.js +99 -0
  60. package/lib/rest/previewIam/versionless/organization/roleAssignment.d.ts +1 -1
  61. package/lib/rest/pricing/v1/messaging/country.d.ts +6 -6
  62. package/lib/rest/pricing/v1/phoneNumber/country.d.ts +3 -3
  63. package/lib/rest/pricing/v1/voice/country.d.ts +6 -6
  64. package/lib/rest/pricing/v1/voice/number.d.ts +5 -5
  65. package/lib/rest/pricing/v2/country.d.ts +8 -8
  66. package/lib/rest/pricing/v2/number.d.ts +8 -8
  67. package/lib/rest/pricing/v2/voice/country.d.ts +8 -8
  68. package/lib/rest/pricing/v2/voice/number.d.ts +6 -6
  69. package/lib/rest/verify/V2.d.ts +5 -0
  70. package/lib/rest/verify/V2.js +6 -0
  71. package/lib/rest/verify/v2/newChallenge.d.ts +204 -0
  72. package/lib/rest/verify/v2/newChallenge.js +150 -0
  73. package/lib/rest/verify/v2/service/newFactor.d.ts +154 -0
  74. package/lib/rest/verify/v2/service/newFactor.js +118 -0
  75. package/lib/rest/verify/v2/service.d.ts +8 -0
  76. package/lib/rest/verify/v2/service.js +13 -0
  77. package/lib/twiml/VoiceResponse.d.ts +22 -0
  78. package/lib/twiml/VoiceResponse.js +19 -0
  79. package/lib-esm/index.js +49 -0
  80. package/lib-esm/package.json +3 -0
  81. package/package.json +15 -4
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ /*
3
+ * This code was generated by
4
+ * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
5
+ * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
6
+ * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
7
+ *
8
+ * Twilio - Intelligence
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.EncryptedSentencesInstance = exports.EncryptedSentencesContextImpl = void 0;
17
+ exports.EncryptedSentencesListInstance = EncryptedSentencesListInstance;
18
+ const util_1 = require("util");
19
+ const deserialize = require("../../../../base/deserialize");
20
+ const serialize = require("../../../../base/serialize");
21
+ const utility_1 = require("../../../../base/utility");
22
+ class EncryptedSentencesContextImpl {
23
+ constructor(_version, transcriptSid) {
24
+ this._version = _version;
25
+ if (!(0, utility_1.isValidPathParam)(transcriptSid)) {
26
+ throw new Error("Parameter 'transcriptSid' is not valid.");
27
+ }
28
+ this._solution = { transcriptSid };
29
+ this._uri = `/Transcripts/${transcriptSid}/Sentences/Encrypted`;
30
+ }
31
+ fetch(params, callback) {
32
+ if (params instanceof Function) {
33
+ callback = params;
34
+ params = {};
35
+ }
36
+ else {
37
+ params = params || {};
38
+ }
39
+ let data = {};
40
+ if (params["redacted"] !== undefined)
41
+ data["Redacted"] = serialize.bool(params["redacted"]);
42
+ const headers = {};
43
+ headers["Accept"] = "application/json";
44
+ const instance = this;
45
+ let operationVersion = instance._version, operationPromise = operationVersion.fetch({
46
+ uri: instance._uri,
47
+ method: "get",
48
+ params: data,
49
+ headers,
50
+ });
51
+ operationPromise = operationPromise.then((payload) => new EncryptedSentencesInstance(operationVersion, payload, instance._solution.transcriptSid));
52
+ operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
53
+ return operationPromise;
54
+ }
55
+ /**
56
+ * Provide a user-friendly representation
57
+ *
58
+ * @returns Object
59
+ */
60
+ toJSON() {
61
+ return this._solution;
62
+ }
63
+ [util_1.inspect.custom](_depth, options) {
64
+ return (0, util_1.inspect)(this.toJSON(), options);
65
+ }
66
+ }
67
+ exports.EncryptedSentencesContextImpl = EncryptedSentencesContextImpl;
68
+ class EncryptedSentencesInstance {
69
+ constructor(_version, payload, transcriptSid) {
70
+ this._version = _version;
71
+ this.location = payload.location;
72
+ this.transcriptSid = payload.transcript_sid;
73
+ this.url = payload.url;
74
+ this._solution = { transcriptSid };
75
+ }
76
+ get _proxy() {
77
+ this._context =
78
+ this._context ||
79
+ new EncryptedSentencesContextImpl(this._version, this._solution.transcriptSid);
80
+ return this._context;
81
+ }
82
+ fetch(params, callback) {
83
+ return this._proxy.fetch(params, callback);
84
+ }
85
+ /**
86
+ * Provide a user-friendly representation
87
+ *
88
+ * @returns Object
89
+ */
90
+ toJSON() {
91
+ return {
92
+ location: this.location,
93
+ transcriptSid: this.transcriptSid,
94
+ url: this.url,
95
+ };
96
+ }
97
+ [util_1.inspect.custom](_depth, options) {
98
+ return (0, util_1.inspect)(this.toJSON(), options);
99
+ }
100
+ }
101
+ exports.EncryptedSentencesInstance = EncryptedSentencesInstance;
102
+ function EncryptedSentencesListInstance(version, transcriptSid) {
103
+ if (!(0, utility_1.isValidPathParam)(transcriptSid)) {
104
+ throw new Error("Parameter 'transcriptSid' is not valid.");
105
+ }
106
+ const instance = (() => instance.get());
107
+ instance.get = function get() {
108
+ return new EncryptedSentencesContextImpl(version, transcriptSid);
109
+ };
110
+ instance._version = version;
111
+ instance._solution = { transcriptSid };
112
+ instance._uri = ``;
113
+ instance.toJSON = function toJSON() {
114
+ return instance._solution;
115
+ };
116
+ instance[util_1.inspect.custom] = function inspectImpl(_depth, options) {
117
+ return (0, util_1.inspect)(instance.toJSON(), options);
118
+ };
119
+ return instance;
120
+ }
@@ -2,6 +2,8 @@ import { inspect, InspectOptions } from "util";
2
2
  import Page, { TwilioResponsePayload } from "../../../base/Page";
3
3
  import Response from "../../../http/response";
4
4
  import V2 from "../V2";
5
+ import { EncryptedOperatorResultsListInstance } from "./transcript/encryptedOperatorResults";
6
+ import { EncryptedSentencesListInstance } from "./transcript/encryptedSentences";
5
7
  import { MediaListInstance } from "./transcript/media";
6
8
  import { OperatorResultListInstance } from "./transcript/operatorResult";
7
9
  import { SentenceListInstance } from "./transcript/sentence";
@@ -104,6 +106,8 @@ export interface TranscriptListInstancePageOptions {
104
106
  pageToken?: string;
105
107
  }
106
108
  export interface TranscriptContext {
109
+ encryptedOperatorResults: EncryptedOperatorResultsListInstance;
110
+ encryptedSentences: EncryptedSentencesListInstance;
107
111
  media: MediaListInstance;
108
112
  operatorResults: OperatorResultListInstance;
109
113
  sentences: SentenceListInstance;
@@ -136,10 +140,14 @@ export declare class TranscriptContextImpl implements TranscriptContext {
136
140
  protected _version: V2;
137
141
  protected _solution: TranscriptContextSolution;
138
142
  protected _uri: string;
143
+ protected _encryptedOperatorResults?: EncryptedOperatorResultsListInstance;
144
+ protected _encryptedSentences?: EncryptedSentencesListInstance;
139
145
  protected _media?: MediaListInstance;
140
146
  protected _operatorResults?: OperatorResultListInstance;
141
147
  protected _sentences?: SentenceListInstance;
142
148
  constructor(_version: V2, sid: string);
149
+ get encryptedOperatorResults(): EncryptedOperatorResultsListInstance;
150
+ get encryptedSentences(): EncryptedSentencesListInstance;
143
151
  get media(): MediaListInstance;
144
152
  get operatorResults(): OperatorResultListInstance;
145
153
  get sentences(): SentenceListInstance;
@@ -171,6 +179,7 @@ interface TranscriptResource {
171
179
  duration: number;
172
180
  url: string;
173
181
  redaction: boolean;
182
+ encryption_credential_sid: string;
174
183
  links: Record<string, string>;
175
184
  }
176
185
  export declare class TranscriptInstance {
@@ -228,6 +237,10 @@ export declare class TranscriptInstance {
228
237
  * If the transcript has been redacted, a redacted alternative of the transcript will be available.
229
238
  */
230
239
  redaction: boolean;
240
+ /**
241
+ * The unique SID identifier of the Public Key resource used to encrypt the sentences and operator results.
242
+ */
243
+ encryptionCredentialSid: string;
231
244
  links: Record<string, string>;
232
245
  private get _proxy();
233
246
  /**
@@ -246,6 +259,14 @@ export declare class TranscriptInstance {
246
259
  * @returns Resolves to processed TranscriptInstance
247
260
  */
248
261
  fetch(callback?: (error: Error | null, item?: TranscriptInstance) => any): Promise<TranscriptInstance>;
262
+ /**
263
+ * Access the encryptedOperatorResults.
264
+ */
265
+ encryptedOperatorResults(): EncryptedOperatorResultsListInstance;
266
+ /**
267
+ * Access the encryptedSentences.
268
+ */
269
+ encryptedSentences(): EncryptedSentencesListInstance;
249
270
  /**
250
271
  * Access the media.
251
272
  */
@@ -278,6 +299,7 @@ export declare class TranscriptInstance {
278
299
  duration: number;
279
300
  url: string;
280
301
  redaction: boolean;
302
+ encryptionCredentialSid: string;
281
303
  links: Record<string, string>;
282
304
  };
283
305
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -23,6 +23,8 @@ const Page_1 = __importDefault(require("../../../base/Page"));
23
23
  const deserialize = require("../../../base/deserialize");
24
24
  const serialize = require("../../../base/serialize");
25
25
  const utility_1 = require("../../../base/utility");
26
+ const encryptedOperatorResults_1 = require("./transcript/encryptedOperatorResults");
27
+ const encryptedSentences_1 = require("./transcript/encryptedSentences");
26
28
  const media_1 = require("./transcript/media");
27
29
  const operatorResult_1 = require("./transcript/operatorResult");
28
30
  const sentence_1 = require("./transcript/sentence");
@@ -35,6 +37,18 @@ class TranscriptContextImpl {
35
37
  this._solution = { sid };
36
38
  this._uri = `/Transcripts/${sid}`;
37
39
  }
40
+ get encryptedOperatorResults() {
41
+ this._encryptedOperatorResults =
42
+ this._encryptedOperatorResults ||
43
+ (0, encryptedOperatorResults_1.EncryptedOperatorResultsListInstance)(this._version, this._solution.sid);
44
+ return this._encryptedOperatorResults;
45
+ }
46
+ get encryptedSentences() {
47
+ this._encryptedSentences =
48
+ this._encryptedSentences ||
49
+ (0, encryptedSentences_1.EncryptedSentencesListInstance)(this._version, this._solution.sid);
50
+ return this._encryptedSentences;
51
+ }
38
52
  get media() {
39
53
  this._media =
40
54
  this._media || (0, media_1.MediaListInstance)(this._version, this._solution.sid);
@@ -106,6 +120,7 @@ class TranscriptInstance {
106
120
  this.duration = deserialize.integer(payload.duration);
107
121
  this.url = payload.url;
108
122
  this.redaction = payload.redaction;
123
+ this.encryptionCredentialSid = payload.encryption_credential_sid;
109
124
  this.links = payload.links;
110
125
  this._solution = { sid: sid || this.sid };
111
126
  }
@@ -135,6 +150,18 @@ class TranscriptInstance {
135
150
  fetch(callback) {
136
151
  return this._proxy.fetch(callback);
137
152
  }
153
+ /**
154
+ * Access the encryptedOperatorResults.
155
+ */
156
+ encryptedOperatorResults() {
157
+ return this._proxy.encryptedOperatorResults;
158
+ }
159
+ /**
160
+ * Access the encryptedSentences.
161
+ */
162
+ encryptedSentences() {
163
+ return this._proxy.encryptedSentences;
164
+ }
138
165
  /**
139
166
  * Access the media.
140
167
  */
@@ -174,6 +201,7 @@ class TranscriptInstance {
174
201
  duration: this.duration,
175
202
  url: this.url,
176
203
  redaction: this.redaction,
204
+ encryptionCredentialSid: this.encryptionCredentialSid,
177
205
  links: this.links,
178
206
  };
179
207
  }
@@ -4,7 +4,7 @@ export declare class OverridesRequest {
4
4
  /**
5
5
  * The new line type to override the original line type
6
6
  */
7
- "line_type"?: string;
7
+ "lineType"?: string;
8
8
  /**
9
9
  * The reason for the override
10
10
  */
@@ -1,120 +1,120 @@
1
1
  import { inspect, InspectOptions } from "util";
2
2
  import V2 from "../V2";
3
3
  export declare class CallForwarding {
4
- "call_forwarding_enabled"?: boolean;
5
- "error_code"?: number;
4
+ "callForwardingEnabled"?: boolean;
5
+ "errorCode"?: number;
6
6
  }
7
7
  export declare class CallerName {
8
- "caller_name"?: string;
9
- "caller_type"?: string;
10
- "error_code"?: number;
8
+ "callerName"?: string;
9
+ "callerType"?: string;
10
+ "errorCode"?: number;
11
11
  }
12
12
  export declare class IdentityMatch {
13
- "first_name_match"?: string;
14
- "last_name_match"?: string;
15
- "address_line_match"?: string;
16
- "city_match"?: string;
17
- "state_match"?: string;
18
- "postal_code_match"?: string;
19
- "country_code_match"?: string;
20
- "national_id_match"?: string;
21
- "date_of_birth_match"?: string;
22
- "summary_score"?: number;
23
- "error_code"?: number;
24
- "error_message"?: string;
13
+ "firstNameMatch"?: string;
14
+ "lastNameMatch"?: string;
15
+ "addressLineMatch"?: string;
16
+ "cityMatch"?: string;
17
+ "stateMatch"?: string;
18
+ "postalCodeMatch"?: string;
19
+ "countryCodeMatch"?: string;
20
+ "nationalIdMatch"?: string;
21
+ "dateOfBirthMatch"?: string;
22
+ "summaryScore"?: number;
23
+ "errorCode"?: number;
24
+ "errorMessage"?: string;
25
25
  }
26
26
  export declare class IdentityMatchParameters {
27
- "first_name"?: string;
28
- "last_name"?: string;
29
- "address_line1"?: string;
30
- "address_line2"?: string;
27
+ "firstName"?: string;
28
+ "lastName"?: string;
29
+ "addressLine1"?: string;
30
+ "addressLine2"?: string;
31
31
  "city"?: string;
32
32
  "state"?: string;
33
- "postal_code"?: string;
34
- "address_country_code"?: string;
35
- "national_id"?: string;
36
- "date_of_birth"?: string;
33
+ "postalCode"?: string;
34
+ "addressCountryCode"?: string;
35
+ "nationalId"?: string;
36
+ "dateOfBirth"?: string;
37
37
  }
38
38
  export declare class LastSimSwap {
39
- "last_sim_swap_date"?: Date;
40
- "swapped_period"?: string;
41
- "swapped_in_period"?: boolean;
39
+ "lastSimSwapDate"?: Date;
40
+ "swappedPeriod"?: string;
41
+ "swappedInPeriod"?: boolean;
42
42
  }
43
43
  export declare class LineStatus {
44
44
  "status"?: string;
45
- "error_code"?: number;
45
+ "errorCode"?: number;
46
46
  }
47
47
  export declare class LineTypeIntelligence {
48
48
  "type"?: string;
49
- "carrier_name"?: string;
50
- "mobile_country_code"?: string;
51
- "mobile_network_code"?: string;
52
- "error_code"?: number;
49
+ "carrierName"?: string;
50
+ "mobileCountryCode"?: string;
51
+ "mobileNetworkCode"?: string;
52
+ "errorCode"?: number;
53
53
  }
54
54
  export declare class LookupRequest1 {
55
- "phone_numbers"?: Array<LookupRequestWithCorId>;
55
+ "phoneNumbers"?: Array<LookupRequestWithCorId>;
56
56
  }
57
57
  export declare class LookupRequestWithCorId {
58
58
  /**
59
59
  * Unique identifier used to match request with response
60
60
  */
61
- "correlation_id"?: string;
62
- "phone_number": string;
61
+ "correlationId"?: string;
62
+ "phoneNumber": string;
63
63
  "fields"?: Array<string>;
64
- "country_code"?: string;
65
- "identity_match"?: IdentityMatchParameters;
66
- "reassigned_number"?: ReassignedNumberRequest;
67
- "sms_pumping_risk"?: SmsPumpingRiskParameters;
64
+ "countryCode"?: string;
65
+ "identityMatch"?: IdentityMatchParameters;
66
+ "reassignedNumber"?: ReassignedNumberRequest;
67
+ "smsPumpingRisk"?: SmsPumpingRiskParameters;
68
68
  }
69
69
  export declare class LookupResponseWithCorId {
70
70
  /**
71
71
  * Unique identifier used to match request with response
72
72
  */
73
- "correlation_id"?: string;
73
+ "correlationId"?: string;
74
74
  /**
75
75
  * Twilio error code in case that the request to downstream fails
76
76
  */
77
- "twilio_error_code"?: number;
78
- "calling_country_code"?: string;
79
- "country_code"?: string;
80
- "phone_number"?: string;
81
- "national_format"?: string;
77
+ "twilioErrorCode"?: number;
78
+ "callingCountryCode"?: string;
79
+ "countryCode"?: string;
80
+ "phoneNumber"?: string;
81
+ "nationalFormat"?: string;
82
82
  "valid"?: boolean;
83
- "validation_errors"?: Array<string>;
84
- "caller_name"?: CallerName;
85
- "sim_swap"?: SimSwap;
86
- "call_forwarding"?: CallForwarding;
87
- "line_type_intelligence"?: LineTypeIntelligence;
88
- "line_status"?: LineStatus;
89
- "identity_match"?: IdentityMatch;
90
- "reassigned_number"?: ReassignedNumberResponse;
91
- "sms_pumping_risk"?: SmsPumpingRisk;
83
+ "validationErrors"?: Array<string>;
84
+ "callerName"?: CallerName;
85
+ "simSwap"?: SimSwap;
86
+ "callForwarding"?: CallForwarding;
87
+ "lineTypeIntelligence"?: LineTypeIntelligence;
88
+ "lineStatus"?: LineStatus;
89
+ "identityMatch"?: IdentityMatch;
90
+ "reassignedNumber"?: ReassignedNumberResponse;
91
+ "smsPumpingRisk"?: SmsPumpingRisk;
92
92
  }
93
93
  export declare class ReassignedNumberRequest {
94
- "last_verified_date"?: string;
94
+ "lastVerifiedDate"?: string;
95
95
  }
96
96
  export declare class ReassignedNumberResponse {
97
- "last_verified_date"?: string;
98
- "is_number_reassigned"?: string;
99
- "error_code"?: string;
97
+ "lastVerifiedDate"?: string;
98
+ "isNumberReassigned"?: string;
99
+ "errorCode"?: string;
100
100
  }
101
101
  export declare class SimSwap {
102
- "last_sim_swap"?: LastSimSwap;
103
- "carrier_name"?: string;
104
- "mobile_country_code"?: string;
105
- "mobile_network_code"?: string;
106
- "error_code"?: number;
102
+ "lastSimSwap"?: LastSimSwap;
103
+ "carrierName"?: string;
104
+ "mobileCountryCode"?: string;
105
+ "mobileNetworkCode"?: string;
106
+ "errorCode"?: number;
107
107
  }
108
108
  export declare class SmsPumpingRisk {
109
- "carrier_risk_category"?: string;
110
- "number_blocked"?: boolean;
111
- "number_blocked_date"?: Date;
112
- "number_blocked_last_3_months"?: boolean;
113
- "sms_pumping_risk_score"?: number;
114
- "error_code"?: number;
109
+ "carrierRiskCategory"?: string;
110
+ "numberBlocked"?: boolean;
111
+ "numberBlockedDate"?: Date;
112
+ "numberBlockedLast3Months"?: boolean;
113
+ "smsPumpingRiskScore"?: number;
114
+ "errorCode"?: number;
115
115
  }
116
116
  export declare class SmsPumpingRiskParameters {
117
- "partner_sub_id"?: string;
117
+ "partnerSubId"?: string;
118
118
  }
119
119
  /**
120
120
  * Options to pass to create a QueryInstance
@@ -4,8 +4,8 @@ export declare class MarketplaceV1InstalledAddOnInstalledAddOnUsage {
4
4
  /**
5
5
  * Total amount in local currency that was billed in this request. Aggregates all billable_items that were successfully submitted.
6
6
  */
7
- "total_submitted"?: number;
8
- "billable_items": Array<MarketplaceV1InstalledAddOnInstalledAddOnUsageBillableItems>;
7
+ "totalSubmitted"?: number;
8
+ "billableItems": Array<MarketplaceV1InstalledAddOnInstalledAddOnUsageBillableItems>;
9
9
  }
10
10
  export declare class MarketplaceV1InstalledAddOnInstalledAddOnUsageBillableItems {
11
11
  /**
@@ -1,7 +1,7 @@
1
1
  import { inspect, InspectOptions } from "util";
2
2
  import V1 from "../V1";
3
3
  export declare class CreateReferralConversionRequest {
4
- "referral_account_sid"?: string;
4
+ "referralAccountSid"?: string;
5
5
  }
6
6
  /**
7
7
  * Options to pass to create a ReferralConversionInstance