Skip to content

Commit

Permalink
[Librarian] Regenerated @ bd01257c5bef8696988f5e9f18d803d8ccdb5a0f 0d…
Browse files Browse the repository at this point in the history
…301f7b8858e2f9dc391bd6803943499955b8f0
  • Loading branch information
twilio-dx committed Apr 18, 2024
1 parent 2a2f71f commit b70b8e0
Show file tree
Hide file tree
Showing 8 changed files with 672 additions and 42 deletions.
20 changes: 20 additions & 0 deletions CHANGES.md
@@ -1,6 +1,26 @@
twilio-node changelog
=====================

[2024-04-18] Version 5.0.4
--------------------------
**Library - Chore**
- [PR #1018](https://github.com/twilio/twilio-node/pull/1018): upgrading jsonwebtoken to fix vulnerability. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
- [PR #1017](https://github.com/twilio/twilio-node/pull/1017): moving off from url-parse. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
- [PR #993](https://github.com/twilio/twilio-node/pull/993): Upgrade axios to version 1.6.8. Thanks to [@robertbagge](https://github.com/robertbagge)!

**Library - Docs**
- [PR #1000](https://github.com/twilio/twilio-node/pull/1000): update README node version. Thanks to [@yashvesikar](https://github.com/yashvesikar)!

**Flex**
- Add header `ui_version` to `web_channels` API

**Messaging**
- Redeploy after failed pipeline

**Numbers**
- Add Delete Port In request phone number api and Add Delete Port In request api


[2024-04-04] Version 5.0.3
--------------------------
**Api**
Expand Down
10 changes: 5 additions & 5 deletions src/rest/api/v2010/account/call/stream.ts
Expand Up @@ -36,15 +36,15 @@ export interface StreamContextUpdateOptions {
* Options to pass to create a StreamInstance
*/
export interface StreamListInstanceCreateOptions {
/** Relative or absolute url where WebSocket connection will be established. */
/** Relative or absolute URL where WebSocket connection will be established. */
url: string;
/** The user-specified name of this Stream, if one was given when the Stream was created. This may be used to stop the Stream. */
/** The user-specified name of this Stream, if one was given when the Stream was created. This can be used to stop the Stream. */
name?: string;
/** */
track?: StreamTrack;
/** Absolute URL of the status callback. */
/** Absolute URL to which Twilio sends status callback HTTP requests. */
statusCallback?: string;
/** The http method for the status_callback (one of GET, POST). */
/** The HTTP method Twilio uses when sending `status_callback` requests. Possible values are `GET` and `POST`. Default is `POST`. */
statusCallbackMethod?: string;
/** Parameter name */
"parameter1.name"?: string;
Expand Down Expand Up @@ -604,7 +604,7 @@ export class StreamInstance {
*/
callSid: string;
/**
* The user-specified name of this Stream, if one was given when the Stream was created. This may be used to stop the Stream.
* The user-specified name of this Stream, if one was given when the Stream was created. This can be used to stop the Stream.
*/
name: string;
status: StreamStatus;
Expand Down
9 changes: 9 additions & 0 deletions src/rest/flexApi/V2.ts
Expand Up @@ -14,6 +14,7 @@

import FlexApiBase from "../FlexApiBase";
import Version from "../../base/Version";
import { FlexUserListInstance } from "./v2/flexUser";
import { WebChannelsListInstance } from "./v2/webChannels";

export default class V2 extends Version {
Expand All @@ -26,9 +27,17 @@ export default class V2 extends Version {
super(domain, "v2");
}

/** flexUser - { Twilio.FlexApi.V2.FlexUserListInstance } resource */
protected _flexUser?: FlexUserListInstance;
/** webChannels - { Twilio.FlexApi.V2.WebChannelsListInstance } resource */
protected _webChannels?: WebChannelsListInstance;

/** Getter for flexUser resource */
get flexUser(): FlexUserListInstance {
this._flexUser = this._flexUser || FlexUserListInstance(this);
return this._flexUser;
}

/** Getter for webChannels resource */
get webChannels(): WebChannelsListInstance {
this._webChannels = this._webChannels || WebChannelsListInstance(this);
Expand Down

0 comments on commit b70b8e0

Please sign in to comment.