Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sip routing sdk changes. #33261

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ export interface BeginSearchAvailablePhoneNumbersOptions extends OperationOption
export interface BeginUpdatePhoneNumberCapabilitiesOptions extends OperationOptions {
}

// @public (undocumented)
export type ExpandEnum = "trunks/health";

// @public
export type GetPurchasedPhoneNumberOptions = OperationOptions;

Expand Down Expand Up @@ -60,10 +63,12 @@ export interface ListPurchasedPhoneNumbersOptions extends OperationOptions {

// @public
export interface ListSipRoutesOptions extends OperationOptions {
expand?: ExpandEnum;
}

// @public
export interface ListSipTrunksOptions extends OperationOptions {
expand?: ExpandEnum;
}

// @public
Expand Down Expand Up @@ -233,6 +238,11 @@ export interface PurchasePhoneNumbersResult {
export interface ReleasePhoneNumberResult {
}

// @public
export interface RoutesForNumber {
matchingRoutes?: SipTrunkRoute[];
}

// @public
export interface SearchAvailablePhoneNumbersRequest extends PhoneNumberSearchRequest {
countryCode: string;
Expand All @@ -256,6 +266,7 @@ export class SipRoutingClient {
setRoutes(routes: SipTrunkRoute[], options?: OperationOptions): Promise<SipTrunkRoute[]>;
setTrunk(trunk: SipTrunk, options?: OperationOptions): Promise<SipTrunk>;
setTrunks(trunks: SipTrunk[], options?: OperationOptions): Promise<SipTrunk[]>;
testRoutesWithNumber(targetPhoneNumber: string, routes: SipTrunkRoute[], options?: OperationOptions): Promise<TestRoutesWithNumberResponse>;
}

// @public
Expand All @@ -271,6 +282,11 @@ export interface SipRoutingError {
readonly target?: string;
}

// @public
export interface SipRoutingGetOptions extends OperationOptions {
expand?: ExpandEnum;
}

// @public
export interface SipTrunk {
fqdn: string;
Expand All @@ -279,12 +295,17 @@ export interface SipTrunk {

// @public
export interface SipTrunkRoute {
callerIdOverride?: string;
description?: string;
name: string;
numberPattern: string;
trunks?: string[];
}

// @public
export interface TestRoutesWithNumberResponse extends RoutesForNumber {
}

// (No @packageDocumentation comment for this package)

```

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading