Comparing version 4.22.0 to 4.23.0
@@ -7,4 +7,2 @@ /// <reference types="node" /> | ||
import { EventListInstance } from "./call/event"; | ||
import { FeedbackListInstance } from "./call/feedback"; | ||
import { FeedbackSummaryListInstance } from "./call/feedbackSummary"; | ||
import { NotificationListInstance } from "./call/notification"; | ||
@@ -213,3 +211,2 @@ import { PaymentListInstance } from "./call/payment"; | ||
events: EventListInstance; | ||
feedback: FeedbackListInstance; | ||
notifications: NotificationListInstance; | ||
@@ -270,3 +267,2 @@ payments: PaymentListInstance; | ||
protected _events?: EventListInstance; | ||
protected _feedback?: FeedbackListInstance; | ||
protected _notifications?: NotificationListInstance; | ||
@@ -281,3 +277,2 @@ protected _payments?: PaymentListInstance; | ||
get events(): EventListInstance; | ||
get feedback(): FeedbackListInstance; | ||
get notifications(): NotificationListInstance; | ||
@@ -477,6 +472,2 @@ get payments(): PaymentListInstance; | ||
/** | ||
* Access the feedback. | ||
*/ | ||
feedback(): FeedbackListInstance; | ||
/** | ||
* Access the notifications. | ||
@@ -553,4 +544,2 @@ */ | ||
get(sid: string): CallContext; | ||
_feedbackSummaries?: FeedbackSummaryListInstance; | ||
feedbackSummaries: FeedbackSummaryListInstance; | ||
/** | ||
@@ -557,0 +546,0 @@ * Create a CallInstance |
@@ -26,4 +26,2 @@ "use strict"; | ||
const event_1 = require("./call/event"); | ||
const feedback_1 = require("./call/feedback"); | ||
const feedbackSummary_1 = require("./call/feedbackSummary"); | ||
const notification_1 = require("./call/notification"); | ||
@@ -54,8 +52,2 @@ const payment_1 = require("./call/payment"); | ||
} | ||
get feedback() { | ||
this._feedback = | ||
this._feedback || | ||
(0, feedback_1.FeedbackListInstance)(this._version, this._solution.accountSid, this._solution.sid); | ||
return this._feedback; | ||
} | ||
get notifications() { | ||
@@ -242,8 +234,2 @@ this._notifications = | ||
/** | ||
* Access the feedback. | ||
*/ | ||
feedback() { | ||
return this._proxy.feedback; | ||
} | ||
/** | ||
* Access the notifications. | ||
@@ -341,10 +327,2 @@ */ | ||
instance._uri = `/Accounts/${accountSid}/Calls.json`; | ||
Object.defineProperty(instance, "feedbackSummaries", { | ||
get: function feedbackSummaries() { | ||
if (!instance._feedbackSummaries) { | ||
instance._feedbackSummaries = (0, feedbackSummary_1.FeedbackSummaryListInstance)(instance._version, instance._solution.accountSid); | ||
} | ||
return instance._feedbackSummaries; | ||
}, | ||
}); | ||
instance.create = function create(params, callback) { | ||
@@ -351,0 +329,0 @@ if (params === null || params === undefined) { |
@@ -8,4 +8,2 @@ import FlexApiBase from "../FlexApiBase"; | ||
import { InsightsAssessmentsCommentListInstance } from "./v1/insightsAssessmentsComment"; | ||
import { InsightsConversationalAiListInstance } from "./v1/insightsConversationalAi"; | ||
import { InsightsConversationalAiReportInsightsListInstance } from "./v1/insightsConversationalAiReportInsights"; | ||
import { InsightsConversationsListInstance } from "./v1/insightsConversations"; | ||
@@ -40,6 +38,2 @@ import { InsightsQuestionnairesListInstance } from "./v1/insightsQuestionnaires"; | ||
protected _insightsAssessmentsComment?: InsightsAssessmentsCommentListInstance; | ||
/** insightsConversationalAi - { Twilio.FlexApi.V1.InsightsConversationalAiListInstance } resource */ | ||
protected _insightsConversationalAi?: InsightsConversationalAiListInstance; | ||
/** insightsConversationalAiReportInsights - { Twilio.FlexApi.V1.InsightsConversationalAiReportInsightsListInstance } resource */ | ||
protected _insightsConversationalAiReportInsights?: InsightsConversationalAiReportInsightsListInstance; | ||
/** insightsConversations - { Twilio.FlexApi.V1.InsightsConversationsListInstance } resource */ | ||
@@ -79,6 +73,2 @@ protected _insightsConversations?: InsightsConversationsListInstance; | ||
get insightsAssessmentsComment(): InsightsAssessmentsCommentListInstance; | ||
/** Getter for insightsConversationalAi resource */ | ||
get insightsConversationalAi(): InsightsConversationalAiListInstance; | ||
/** Getter for insightsConversationalAiReportInsights resource */ | ||
get insightsConversationalAiReportInsights(): InsightsConversationalAiReportInsightsListInstance; | ||
/** Getter for insightsConversations resource */ | ||
@@ -85,0 +75,0 @@ get insightsConversations(): InsightsConversationsListInstance; |
@@ -25,4 +25,2 @@ "use strict"; | ||
const insightsAssessmentsComment_1 = require("./v1/insightsAssessmentsComment"); | ||
const insightsConversationalAi_1 = require("./v1/insightsConversationalAi"); | ||
const insightsConversationalAiReportInsights_1 = require("./v1/insightsConversationalAiReportInsights"); | ||
const insightsConversations_1 = require("./v1/insightsConversations"); | ||
@@ -77,16 +75,2 @@ const insightsQuestionnaires_1 = require("./v1/insightsQuestionnaires"); | ||
} | ||
/** Getter for insightsConversationalAi resource */ | ||
get insightsConversationalAi() { | ||
this._insightsConversationalAi = | ||
this._insightsConversationalAi || | ||
(0, insightsConversationalAi_1.InsightsConversationalAiListInstance)(this); | ||
return this._insightsConversationalAi; | ||
} | ||
/** Getter for insightsConversationalAiReportInsights resource */ | ||
get insightsConversationalAiReportInsights() { | ||
this._insightsConversationalAiReportInsights = | ||
this._insightsConversationalAiReportInsights || | ||
(0, insightsConversationalAiReportInsights_1.InsightsConversationalAiReportInsightsListInstance)(this); | ||
return this._insightsConversationalAiReportInsights; | ||
} | ||
/** Getter for insightsConversations resource */ | ||
@@ -93,0 +77,0 @@ get insightsConversations() { |
@@ -23,2 +23,4 @@ /// <reference types="node" /> | ||
mediaProperties: any; | ||
/** Object representing the Routing Properties for the new Participant. */ | ||
routingProperties?: any; | ||
} | ||
@@ -102,2 +104,3 @@ /** | ||
url: string; | ||
routing_properties: any; | ||
} | ||
@@ -123,2 +126,6 @@ export declare class InteractionChannelParticipantInstance { | ||
url: string; | ||
/** | ||
* The Participant\'s routing properties. | ||
*/ | ||
routingProperties: any; | ||
private get _proxy(); | ||
@@ -145,2 +152,3 @@ /** | ||
url: string; | ||
routingProperties: any; | ||
}; | ||
@@ -147,0 +155,0 @@ [inspect.custom](_depth: any, options: InspectOptions): string; |
@@ -83,2 +83,3 @@ "use strict"; | ||
this.url = payload.url; | ||
this.routingProperties = payload.routing_properties; | ||
this._solution = { interactionSid, channelSid, sid: sid || this.sid }; | ||
@@ -107,2 +108,3 @@ } | ||
url: this.url, | ||
routingProperties: this.routingProperties, | ||
}; | ||
@@ -143,2 +145,4 @@ } | ||
data["MediaProperties"] = serialize.object(params["mediaProperties"]); | ||
if (params["routingProperties"] !== undefined) | ||
data["RoutingProperties"] = serialize.object(params["routingProperties"]); | ||
const headers = {}; | ||
@@ -145,0 +149,0 @@ headers["Content-Type"] = "application/x-www-form-urlencoded"; |
@@ -9,3 +9,3 @@ /// <reference types="node" /> | ||
export interface PhoneNumberContextFetchOptions { | ||
/** A comma-separated list of fields to return. Possible values are caller_name, sim_swap, call_forwarding, live_activity, line_type_intelligence, identity_match, reassigned_number. */ | ||
/** A comma-separated list of fields to return. Possible values are validation, caller_name, sim_swap, call_forwarding, line_status, line_type_intelligence, identity_match, reassigned_number, sms_pumping_risk, phone_number_quality_score. */ | ||
fields?: string; | ||
@@ -88,3 +88,3 @@ /** The [country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) used if the phone number provided is in national format. */ | ||
call_forwarding: any; | ||
live_activity: any; | ||
line_status: any; | ||
line_type_intelligence: any; | ||
@@ -139,5 +139,5 @@ identity_match: any; | ||
/** | ||
* An object that contains live activity information for a mobile phone number. | ||
* An object that contains line status information for a mobile phone number. | ||
*/ | ||
liveActivity: any; | ||
lineStatus: any; | ||
/** | ||
@@ -200,3 +200,3 @@ * An object that contains line type information including the carrier name, mobile country code, and mobile network code. | ||
callForwarding: any; | ||
liveActivity: any; | ||
lineStatus: any; | ||
lineTypeIntelligence: any; | ||
@@ -203,0 +203,0 @@ identityMatch: any; |
@@ -102,3 +102,3 @@ "use strict"; | ||
this.callForwarding = payload.call_forwarding; | ||
this.liveActivity = payload.live_activity; | ||
this.lineStatus = payload.line_status; | ||
this.lineTypeIntelligence = payload.line_type_intelligence; | ||
@@ -137,3 +137,3 @@ this.identityMatch = payload.identity_match; | ||
callForwarding: this.callForwarding, | ||
liveActivity: this.liveActivity, | ||
lineStatus: this.lineStatus, | ||
lineTypeIntelligence: this.lineTypeIntelligence, | ||
@@ -140,0 +140,0 @@ identityMatch: this.identityMatch, |
@@ -50,3 +50,3 @@ /// <reference types="node" /> | ||
businessContactEmail?: string; | ||
/** The phone number of the contact for the business or organization using the Tollfree number. */ | ||
/** The E.164 formatted phone number of the contact for the business or organization using the Tollfree number. */ | ||
businessContactPhone?: string; | ||
@@ -102,3 +102,3 @@ /** Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to \\\'Website fixed\\\'. */ | ||
businessContactEmail?: string; | ||
/** The phone number of the contact for the business or organization using the Tollfree number. */ | ||
/** The E.164 formatted phone number of the contact for the business or organization using the Tollfree number. */ | ||
businessContactPhone?: string; | ||
@@ -250,2 +250,3 @@ /** An optional external reference ID supplied by customer and echoed back on status retrieval. */ | ||
edit_allowed: boolean; | ||
rejection_reasons: Array<any>; | ||
resource_links: any; | ||
@@ -332,3 +333,3 @@ external_reference_id: string; | ||
/** | ||
* The phone number of the contact for the business or organization using the Tollfree number. | ||
* The E.164 formatted phone number of the contact for the business or organization using the Tollfree number. | ||
*/ | ||
@@ -391,2 +392,6 @@ businessContactPhone: string; | ||
/** | ||
* A list of rejection reasons and codes describing why a Tollfree Verification has been rejected. | ||
*/ | ||
rejectionReasons: Array<any>; | ||
/** | ||
* The URLs of the documents associated with the Tollfree Verification resource. | ||
@@ -473,2 +478,3 @@ */ | ||
editAllowed: boolean; | ||
rejectionReasons: any[]; | ||
resourceLinks: any; | ||
@@ -475,0 +481,0 @@ externalReferenceId: string; |
@@ -168,2 +168,3 @@ "use strict"; | ||
this.editAllowed = payload.edit_allowed; | ||
this.rejectionReasons = payload.rejection_reasons; | ||
this.resourceLinks = payload.resource_links; | ||
@@ -243,2 +244,3 @@ this.externalReferenceId = payload.external_reference_id; | ||
editAllowed: this.editAllowed, | ||
rejectionReasons: this.rejectionReasons, | ||
resourceLinks: this.resourceLinks, | ||
@@ -245,0 +247,0 @@ externalReferenceId: this.externalReferenceId, |
@@ -5,2 +5,3 @@ /// <reference types="node" /> | ||
export type ComplianceRegistrationInquiriesBusinessIdentityType = "direct_customer" | "isv_reseller_or_partner" | "unknown"; | ||
export type ComplianceRegistrationInquiriesBusinessRegistrationAuthority = "UK:CRN" | "US:EIN" | "CA:CBN" | "AU:ACN" | "Other"; | ||
export type ComplianceRegistrationInquiriesEndUserType = "Individual" | "Business"; | ||
@@ -18,4 +19,4 @@ export type ComplianceRegistrationInquiriesPhoneNumberType = "local" | "national" | "mobile" | "toll-free"; | ||
businessIdentityType?: ComplianceRegistrationInquiriesBusinessIdentityType; | ||
/** The authority that registered the business */ | ||
businessRegistrationAuthority?: string; | ||
/** */ | ||
businessRegistrationAuthority?: ComplianceRegistrationInquiriesBusinessRegistrationAuthority; | ||
/** he name of the business or organization using the Tollfree number. */ | ||
@@ -73,2 +74,14 @@ businessLegalName?: string; | ||
file?: string; | ||
/** The first name of the Individual User. */ | ||
firstName?: string; | ||
/** The last name of the Individual User. */ | ||
lastName?: string; | ||
/** The date of birth of the Individual User. */ | ||
dateOfBirth?: string; | ||
/** The email address of the Individual User. */ | ||
individualEmail?: string; | ||
/** The phone number of the Individual User. */ | ||
individualPhone?: string; | ||
/** Indicates if the inquiry is being started from an ISV embedded component. */ | ||
isIsvEmbed?: boolean; | ||
} | ||
@@ -75,0 +88,0 @@ export interface ComplianceRegistrationInquiriesSolution { |
@@ -104,2 +104,14 @@ "use strict"; | ||
data["File"] = params["file"]; | ||
if (params["firstName"] !== undefined) | ||
data["FirstName"] = params["firstName"]; | ||
if (params["lastName"] !== undefined) | ||
data["LastName"] = params["lastName"]; | ||
if (params["dateOfBirth"] !== undefined) | ||
data["DateOfBirth"] = params["dateOfBirth"]; | ||
if (params["individualEmail"] !== undefined) | ||
data["IndividualEmail"] = params["individualEmail"]; | ||
if (params["individualPhone"] !== undefined) | ||
data["IndividualPhone"] = params["individualPhone"]; | ||
if (params["isIsvEmbed"] !== undefined) | ||
data["IsIsvEmbed"] = serialize.bool(params["isIsvEmbed"]); | ||
const headers = {}; | ||
@@ -106,0 +118,0 @@ headers["Content-Type"] = "application/x-www-form-urlencoded"; |
{ | ||
"name": "twilio", | ||
"description": "A Twilio helper library", | ||
"version": "4.22.0", | ||
"version": "4.23.0", | ||
"author": "API Team <api@twilio.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9687139
1199
238533