"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Details = void 0;
const resource_1 = require("cloudflare/resource");
class Details extends resource_1.APIResource {
    /**
     * Get Deployment Detail
     */
    get(scriptId, deploymentId, params, options) {
        const { account_id } = params;
        return this._client.get(`/accounts/${account_id}/workers/deployments/by-script/${scriptId}/detail/${deploymentId}`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.Details = Details;
(function (Details) {
})(Details = exports.Details || (exports.Details = {}));
//# sourceMappingURL=details.js.map