import type * as Pinnacle from "../index.mjs"; /** * Response for get DLC campaign status. */ export interface DlcCampaignStatus { /** * 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 10DLC campaign. This identifier is a string that always begins with the prefix `dlc_`, for example: `dlc_1234567890`. */ id: string; /** * Current review status of the DLC campaign.
* * `INCOMPLETE`: Not submitted.
* `IN REVIEW`: Being reviewed by carriers.
* `VERIFIED`: Approved and ready to send messages.
* `FAILED`: Issues and errors related to the campaign's details. See [error](dlc-campaign#response.body.error) for these potential issues. */ status: Pinnacle.ProfileStatusEnum; /** * Status of local long code 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: DlcCampaignStatus.Updates; } export declare namespace DlcCampaignStatus { /** * Status of local long code 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 { /** Number associated with the campaign in E.164 format. */ number: string; /** * Current assignment status of the phone number to this campaign.
* * `ASSIGNED`: Number assigned and ready to send messages.
* `PENDING_ASSIGNMENT`: In the process of being assigned. This should take no more than 10 minutes.
* `PENDING_UNASSIGNMENT`: In the process of being unassigned. This should take no more that 5 minutes.
* `FAILED_ASSIGNMENT`: Failed to assign the number. Use the phone number status endpoint to see errors.
* `FAILED_UNASSIGNMENT`: Failed to unassign the number. Use the phone number status endpoint to see errors. */ status: Pinnacle.DlcAssignmentStatusEnum; /** List of errors that occurred. */ errors: string[]; } }