import type * as Pinnacle from "../index.mjs";
/**
* Response for get toll-free campaign status.
*/
export interface TollFreeCampaignStatus {
/**
* Summary of errors related to the verification process.
*
* These errors may request additional information or point out erroneous and/or missing fields.
*/
error?: string;
/** The unique identifier of the toll-free campaign. This identifier is a string that always begins with the prefix `tf_`, for example: `tf_1234567890`. */
id: string;
/**
* Status of phone numbers that are being attached to this campaign.
*
* Note that phone numbers can only be attached to `VERIFIED` campaigns via the [attach campaign endpoint](../phone-numbers/attach-campaign).
*/
updates: TollFreeCampaignStatus.Updates;
}
export declare namespace TollFreeCampaignStatus {
/**
* Status of phone numbers that are being attached to this campaign.
*
* Note that phone numbers can only be attached to `VERIFIED` campaigns via the [attach campaign endpoint](../phone-numbers/attach-campaign).
*/
interface Updates {
/** List of errors that occurred. */
errors: string[];
/** Number associated with the campaign in E.164 format. */
number: string;
/**
* Current assignment status of the toll free number to this campaign.
*
* `IN_PROGRESS`: Being reviewed.
* `WAITING_FOR_PROVIDER`: Being reviewed by our toll-free vendor.
* `WAITING_FOR_TELECO:` Final review by carriers before number is live.
* `VERIFIED`: Verified and ready to send messages.
* `REJECTED`: Issues were found related to your campaign. See the [errors field](toll-free-campaign#response.body.error).
*/
status: Pinnacle.TollFreeStatusEnum;
}
}