"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Usage = void 0;
const usageGetUsage_js_1 = require("../funcs/usageGetUsage.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
class Usage extends sdks_js_1.ClientSDK {
    /**
     * Retrieves comprehensive usage metrics and account statistics
     *
     * @remarks
     * A report on the status of product environment usage, including storage, credits, bandwidth, requests, number of resources, and add-on usage.
     */
    async getUsage(date, options) {
        return (0, fp_js_1.unwrapAsync)((0, usageGetUsage_js_1.usageGetUsage)(this, date, options));
    }
}
exports.Usage = Usage;
//# sourceMappingURL=usage.js.map