attio-js
Version:
Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.
24 lines • 989 B
JavaScript
;
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Values = void 0;
const entriesAttributesValuesList_js_1 = require("../funcs/entriesAttributesValuesList.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
class Values extends sdks_js_1.ClientSDK {
/**
* List attribute values for a list entry
*
* @remarks
* Gets all values for a given attribute on a list entry. If the attribute is historic, this endpoint has the ability to return all historic values using the `show_historic` query param.
*
* Required scopes: `list_entry:read`, `list_configuration:read`.
*/
async list(request, options) {
return (0, fp_js_1.unwrapAsync)((0, entriesAttributesValuesList_js_1.entriesAttributesValuesList)(this, request, options));
}
}
exports.Values = Values;
//# sourceMappingURL=values.js.map