// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
import * as BulksAPI from 'cloudflare/resources/intel/domains/bulks';
export class Domains extends APIResource {
    constructor() {
        super(...arguments);
        this.bulks = new BulksAPI.Bulks(this._client);
    }
    /**
     * Get Domain Details
     */
    get(params, options) {
        const { account_id, ...query } = params;
        return this._client.get(`/accounts/${account_id}/intel/domain`, { query, ...options })._thenUnwrap((obj) => obj.result);
    }
}
(function (Domains) {
    Domains.Bulks = BulksAPI.Bulks;
})(Domains || (Domains = {}));
//# sourceMappingURL=domains.mjs.map