10000 [Librarian] Regenerated @ 160660ccc2266b2b6f15f8e8291a4b07d233dc21 81… · twilio/twilio-node@8bd2f0f · GitHub
[go: up one dir, main page]

Skip to content

Commit 8bd2f0f

Browse files
committed
[Librarian] Regenerated @ 160660ccc2266b2b6f15f8e8291a4b07d233dc21 817197bb9e54bf7b3518030a6183a4c45eb689fa
1 parent 8b35ec3 commit 8bd2f0f

File tree

147 files changed

+772
-6348
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+772
-6348
lines changed

CHANGES.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
twilio-node changelog
22
=====================
33

4+
[2025-03-20] Version 5.5.1
5+
--------------------------
6+
**Accounts**
7+
- Update Safelist API docs as part of prefix supoort
8+
9+
**Flex**
10+
- Removing `first_name`, `last_name`, and `friendly_name` from the Flex User API
11+
12+
**Messaging**
13+
- Add missing tests under transaction/phone_numbers and transaction/short_code
14+
15+
416
[2025-03-11] Version 5.5.0
517
--------------------------
618
**Library - Feature**

src/rest/PreviewBase.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@
1111

1212
import Domain from "../base/Domain";
1313
import HostedNumbers from "./preview/HostedNumbers";
14-
import Sync from "./preview/Sync";
1514
import Marketplace from "./preview/Marketplace";
1615
import Wireless from "./preview/Wireless";
1716

1817
class PreviewBase extends Domain {
1918
_hosted_numbers?: HostedNumbers;
20-
_sync?: Sync;
2119
_marketplace?: Marketplace;
2220
_wireless?: Wireless;
2321

@@ -34,10 +32,6 @@ class PreviewBase extends Domain {
3432
this._hosted_numbers = this._hosted_numbers || new HostedNumbers(this);
3533
return this._hosted_numbers;
3634
}
37-
get sync(): Sync {
38-
this._sync = this._sync || new Sync(this);
39-
return this._sync;
40-
}
4135
get marketplace(): Marketplace {
4236
this._marketplace = this._marketplace || new Marketplace(this);
4337
return this._marketplace;

src/rest/accounts/v1/safelist.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,23 @@ import { isValidPathParam } from "../../../base/utility";
2222
* Options to pass to create a SafelistInstance
2323
*/
2424
export interface SafelistListInstanceCreateOptions {
25-
/** The phone number to be added in SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). */
25+
/** The phone number or phone number 1k prefix to be added in SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). */
2626
phoneNumber: string;
2727
}
2828

2929
/**
3030
* Options to pass to remove a SafelistInstance
3131
*/
3232
export interface SafelistListInstanceRemoveOptions {
33-
/** The phone number to be removed from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). */
33+
/** The phone number or phone number 1k prefix to be removed from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). */
3434
phoneNumber?: string;
3535
}
3636

3737
/**
3838
* Options to pass to fetch a SafelistInstance
3939
*/
4040
export interface SafelistListInstanceFetchOptions {
41-
/** The phone number to be fetched from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). */
41+
/** The phone number or phone number 1k prefix to be fetched from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). */
4242
phoneNumber?: string;
4343
}
4444

@@ -268,7 +268,7 @@ export class SafelistInstance {
268268
*/
269269
sid: string;
270270
/**
271-
* The phone number in SafeList.
271+
* The phone number or phone number 1k prefix in SafeList.
272272
*/
273273
phoneNumber: string;
274274

src/rest/api/v2010/account.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,14 @@ import { TranscriptionListInstance } from "./account/transcription";
4444
import { UsageListInstance } from "./account/usage";
4545
import { ValidationRequestListInstance } from "./account/validationRequest";
4646

47+
/**
48+
* The status of this account. Usually `active`, but can be `suspended` or `closed`.
49+
*/
4750
export type AccountStatus = "active" | "suspended" | "closed";
4851

52+
/**
53+
* The type of this account. Either `Trial` or `Full` if it\'s been upgraded
54+
*/
4955
export type AccountType = "Trial" | "Full";
5056

5157
/**

src/rest/api/v2010/account/address/dependentPhoneNumber.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ export type DependentPhoneNumberAddressRequirement =
2626
| "local"
2727
| "foreign";
2828

29+
/**
30+
* Whether the phone number is enabled for emergency calling.
31+
*/
2932
export type DependentPhoneNumberEmergencyStatus = "Active" | "Inactive";
3033

3134
/**

src/rest/api/v2010/account/call.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ import { UserDefinedMessageListInstance } from "./call/userDefinedMessage";
3030
import { UserDefinedMessageSubscriptionListInstance } from "./call/userDefinedMessageSubscription";
3131
import TwiML from "../../../../twiml/TwiML";
3232

33+
/**
34+
* The status of this call. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy` or `no-answer`. See [Call Status Values](https://www.twilio.com/docs/voice/api/call-resource#call-status-values) below for more information.
35+
*/
3336
export type CallStatus =
3437
| "queued"
3538
| "ringing"

src/rest/api/v2010/account/call/recording.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ const deserialize = require("../../../../../base/deserialize");
2020
const serialize = require("../../../../../base/serialize");
2121
import { isValidPathParam } from "../../../../../base/utility";
2222

23+
/**
24+
* How the recording was created. Can be: `DialVerb`, `Conference`, `OutboundAPI`, `Trunking`, `RecordVerb`, `StartCallRecordingAPI`, and `StartConferenceRecordingAPI`.
25+
*/
2326
export type RecordingSource =
2427
| "DialVerb"
2528
| "Conference"
@@ -29,6 +32,9 @@ export type RecordingSource =
2932
| "StartCallRecordingAPI"
3033
| "StartConferenceRecordingAPI";
3134

35+
/**
36+
* The status of the recording. Can be: `processing`, `completed` and `absent`. For more detailed statuses on in-progress recordings, check out how to [Update a Recording Resource](https://www.twilio.com/docs/voice/api/recording#update-a-recording-resource).
37+
*/
3238
export type RecordingStatus =
3339
| "in-progress"
3440
| "paused"

src/rest/api/v2010/account/call/siprec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ const deserialize = require("../../../../../base/deserialize");
1818
const serialize = require("../../../../../base/serialize");
1919
import { isValidPathParam } from "../../../../../base/utility";
2020

21+
/**
22+
* The status - one of `stopped`, `in-progress`
23+
*/
2124
export type SiprecStatus = "in-progress" | "stopped";
2225

2326
export type SiprecTrack = "inbound_track" | "outbound_track" | "both_tracks";

src/rest/api/v2010/account/call/stream.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ const deserialize = require("../../../../../base/deserialize");
1818
const serialize = require("../../../../../base/serialize");
1919
import { isValidPathParam } from "../../../../../base/utility";
2020

21+
/**
22+
* The status of the Stream. Possible values are `stopped` and `in-progress`.
23+
*/
2124
export type StreamStatus = "in-progress" | "stopped";
2225

2326
export type StreamTrack = "inbound_track" | "outbound_track" | "both_tracks";

src/rest/api/v2010/account/call/transcription.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ const deserialize = require("../../../../../base/deserialize");
1818
const serialize = require("../../../../../base/serialize");
1919
import { isValidPathParam } from "../../../../../base/utility";
2020

21+
/**
22+
* The status - one of `stopped`, `in-flight`
23+
*/
2124
export type TranscriptionStatus = "in-progress" | "stopped";
2225

2326
export type TranscriptionTrack =

0 commit comments

Comments
 (0)
0