"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Videos = void 0;
const resource_1 = require("cloudflaredev/resource");
class Videos extends resource_1.APIResource {
    /**
     * Returns information about an account's storage use.
     */
    storageUsage(params, options) {
        const { account_id, ...query } = params;
        return this._client.get(`/accounts/${account_id}/stream/storage-usage`, {
            query,
            ...options,
        })._thenUnwrap((obj) => obj.result);
    }
}
exports.Videos = Videos;
(function (Videos) {
})(Videos = exports.Videos || (exports.Videos = {}));
//# sourceMappingURL=videos.js.map