///
import { inspect, InspectOptions } from "util";
import V1 from "../V1";
/**
* Options to pass to create a PortingWebhookConfigurationInstance
*/
export interface PortingWebhookConfigurationListInstanceCreateOptions {
/** */
body?: object;
}
export interface PortingWebhookConfigurationSolution {
}
export interface PortingWebhookConfigurationListInstance {
_version: V1;
_solution: PortingWebhookConfigurationSolution;
_uri: string;
/**
* Create a PortingWebhookConfigurationInstance
*
* @param callback - Callback to handle processed record
*
* @returns Resolves to processed PortingWebhookConfigurationInstance
*/
create(callback?: (error: Error | null, item?: PortingWebhookConfigurationInstance) => any): Promise;
/**
* Create a PortingWebhookConfigurationInstance
*
* @param params - Body for request
* @param headers - header params for request
* @param callback - Callback to handle processed record
*
* @returns Resolves to processed PortingWebhookConfigurationInstance
*/
create(params: object, headers?: any, callback?: (error: Error | null, item?: PortingWebhookConfigurationInstance) => any): Promise;
/**
* Provide a user-friendly representation
*/
toJSON(): any;
[inspect.custom](_depth: any, options: InspectOptions): any;
}
export declare function PortingWebhookConfigurationListInstance(version: V1): PortingWebhookConfigurationListInstance;
interface PortingWebhookConfigurationResource {
url: string;
port_in_target_url: string;
port_out_target_url: string;
notifications_of: Array;
}
export declare class PortingWebhookConfigurationInstance {
protected _version: V1;
constructor(_version: V1, payload: PortingWebhookConfigurationResource);
/**
* The URL of the webhook configuration request
*/
url: string;
/**
* The complete webhook url that will be called when a notification event for port in request or port in phone number happens
*/
portInTargetUrl: string;
/**
* The complete webhook url that will be called when a notification event for a port out phone number happens.
*/
portOutTargetUrl: string;
/**
* A list to filter what notification events to receive for this account and its sub accounts. If it is an empty list, then it means that there are no filters for the notifications events to send in each webhook and all events will get sent.
*/
notificationsOf: Array;
/**
* Provide a user-friendly representation
*
* @returns Object
*/
toJSON(): {
url: string;
portInTargetUrl: string;
portOutTargetUrl: string;
notificationsOf: string[];
};
[inspect.custom](_depth: any, options: InspectOptions): string;
}
export {};