"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefaultPolicy = void 0;
const resource_1 = require("cloudflaredev/resource");
class DefaultPolicy extends resource_1.APIResource {
    /**
     * Fetches the default device settings profile for an account.
     */
    get(params, options) {
        const { account_id } = params;
        return this._client.get(`/accounts/${account_id}/devices/policy`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.DefaultPolicy = DefaultPolicy;
(function (DefaultPolicy) {
})(DefaultPolicy = exports.DefaultPolicy || (exports.DefaultPolicy = {}));
//# sourceMappingURL=default-policy.js.map