Skip to content

Commit

Permalink
[Librarian] Regenerated @ f75e0fb81b57afeb6b457dc85e19644ebb530f9b
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Feb 27, 2024
1 parent 010d9f9 commit 450593c
Show file tree
Hide file tree
Showing 12 changed files with 111 additions and 1,590 deletions.
27 changes: 27 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
twilio-node changelog
=====================

[2024-02-27] Version 4.23.0
---------------------------
**Library - Chore**
- [PR #1005](https://github.com/twilio/twilio-node/pull/1005): cluster tests enabled. Thanks to [@sbansla](https://github.com/sbansla)!

**Api**
- remove feedback and feedback summary from call resource

**Flex**
- Adding `routing_properties` to Interactions Channels Participant

**Lookups**
- Add new `line_status` package to the lookup response
- Remove `live_activity` package from the lookup response **(breaking change)**

**Messaging**
- Add tollfree multiple rejection reasons response array

**Trusthub**
- Add ENUM for businessRegistrationAuthority in compliance_registration. **(breaking change)**
- Add new field in isIsvEmbed in compliance_registration.
- Add additional optional fields in compliance_registration for Individual business type.

**Twiml**
- Add support for new Amazon Polly and Google voices (Q1 2024) for `Say` verb


[2024-02-09] Version 4.22.0
---------------------------
**Library - Chore**
Expand Down
37 changes: 0 additions & 37 deletions src/rest/api/v2010/account/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ const deserialize = require("../../../../base/deserialize");
const serialize = require("../../../../base/serialize");
import { isValidPathParam } from "../../../../base/utility";
import { EventListInstance } from "./call/event";
import { FeedbackListInstance } from "./call/feedback";
import { FeedbackSummaryListInstance } from "./call/feedbackSummary";
import { NotificationListInstance } from "./call/notification";
import { PaymentListInstance } from "./call/payment";
import { RecordingListInstance } from "./call/recording";
Expand Down Expand Up @@ -240,7 +238,6 @@ export interface CallListInstancePageOptions {

export interface CallContext {
events: EventListInstance;
feedback: FeedbackListInstance;
notifications: NotificationListInstance;
payments: PaymentListInstance;
recordings: RecordingListInstance;
Expand Down Expand Up @@ -311,7 +308,6 @@ export class CallContextImpl implements CallContext {
protected _uri: string;

protected _events?: EventListInstance;
protected _feedback?: FeedbackListInstance;
protected _notifications?: NotificationListInstance;
protected _payments?: PaymentListInstance;
protected _recordings?: RecordingListInstance;
Expand Down Expand Up @@ -344,17 +340,6 @@ export class CallContextImpl implements CallContext {
return this._events;
}

get feedback(): FeedbackListInstance {
this._feedback =
this._feedback ||
FeedbackListInstance(
this._version,
this._solution.accountSid,
this._solution.sid
);
return this._feedback;
}

get notifications(): NotificationListInstance {
this._notifications =
this._notifications ||
Expand Down Expand Up @@ -799,13 +784,6 @@ export class CallInstance {
return this._proxy.events;
}

/**
* Access the feedback.
*/
feedback(): FeedbackListInstance {
return this._proxy.feedback;
}

/**
* Access the notifications.
*/
Expand Down Expand Up @@ -908,9 +886,6 @@ export interface CallListInstance {
(sid: string): CallContext;
get(sid: string): CallContext;

_feedbackSummaries?: FeedbackSummaryListInstance;
feedbackSummaries: FeedbackSummaryListInstance;

/**
* Create a CallInstance
*
Expand Down Expand Up @@ -1018,18 +993,6 @@ export function CallListInstance(
instance._solution = { accountSid };
instance._uri = `/Accounts/${accountSid}/Calls.json`;

Object.defineProperty(instance, "feedbackSummaries", {
get: function feedbackSummaries() {
if (!instance._feedbackSummaries) {
instance._feedbackSummaries = FeedbackSummaryListInstance(
instance._version,
instance._solution.accountSid
);
}
return instance._feedbackSummaries;
},
});

instance.create = function create(
params: CallListInstanceCreateOptions,
callback?: (error: Error | null, items: CallInstance) => any
Expand Down
Loading

0 comments on commit 450593c

Please sign in to comment.