"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Bindings = void 0;
const resource_1 = require("cloudflare/resource");
class Bindings extends resource_1.APIResource {
    /**
     * Fetch script bindings from a script uploaded to a Workers for Platforms
     * namespace.
     */
    get(dispatchNamespace, scriptName, params, options) {
        const { account_id } = params;
        return this._client.get(`/accounts/${account_id}/workers/dispatch/namespaces/${dispatchNamespace}/scripts/${scriptName}/bindings`, options);
    }
}
exports.Bindings = Bindings;
(function (Bindings) {
})(Bindings = exports.Bindings || (exports.Bindings = {}));
//# sourceMappingURL=bindings.js.map