attio-js
Version:
Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.
18 lines • 1.23 kB
TypeScript
import { AttioCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import { APIError } from "../models/errors/apierror.js";
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
import { GetV2TargetIdentifierAttributesRequest, GetV2TargetIdentifierAttributesResponse } from "../models/operations/getv2targetidentifierattributes.js";
import { APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";
/**
* List attributes
*
* @remarks
* Lists all attributes defined on a specific object or list. Attributes are returned in the order that they are sorted by in the UI.
*
* Required scopes: `object_configuration:read`.
*/
export declare function attributesList(client: AttioCore, request: GetV2TargetIdentifierAttributesRequest, options?: RequestOptions): APIPromise<Result<GetV2TargetIdentifierAttributesResponse, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
//# sourceMappingURL=attributesList.d.ts.map