HEX
Server: Apache
System: Linux hz.vslconceptsdomains.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: dkfounda (3233)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/local/mailchannels/clients/InboundApi/InboundApi.php
<?php
namespace MailChannels;

interface InboundApi {

    /**
     * @param $domain
     * @param $subscriptionHandle
     * @return WHM\Domain
     * @throws InboundApiException
     */
    public function provisionDomain($domain, $subscriptionHandle);

    /**
     * @param $domain
     * @throws InboundApiException
     */
    public function deprovisionDomain($domain);

    public function getSubscriptions();

    public function getDomains($domains);

    /**
     * @param $domain
     * @param $limit
     * @param $offset
     * @return DownstreamAddress[]
     * @throws InboundApiConnectException
     * @throws InboundApiInternalServerErrorException
     * @throws InboundApiNotFoundException
     * @throws InboundApiUnauthorizedException
     */
    public function getDownstreamAddresses($domain, $limit=null, $offset=null);

    /**
     * @param $domain string
     * @param $records DownstreamAddress[]
     * @throws InboundApiUnauthorizedException
     * @throws InboundApiConflictException
     * @throws InboundApiInternalServerErrorException
     * @throws InboundApiException
     */
    public function setDownstreamAddresses($domain, $records);
}