"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Info = void 0;
const utils_js_1 = require("./utils.cjs");
/**
 * Info utilities for OpenMeter
 */
class Info {
    client;
    constructor(client) {
        this.client = client;
    }
    /**
     * List supported currencies
     * @description List all supported currencies.
     * @param options - The request options
     * @returns The supported currencies
     */
    async listCurrencies(options) {
        const resp = await this.client.GET('/api/v1/info/currencies', {
            ...options,
        });
        return (0, utils_js_1.transformResponse)(resp);
    }
    /**
     * Get progress
     * @param id - The ID of the progress to get
     * @param options - The request options
     * @returns The progress
     */
    async getProgress(id, options) {
        const resp = await this.client.GET('/api/v1/info/progress/{id}', {
            params: {
                path: { id },
            },
            ...options,
        });
        return (0, utils_js_1.transformResponse)(resp);
    }
}
exports.Info = Info;
//# sourceMappingURL=info.cjs.map