UNPKG

attio-js

Version:

Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.

19 lines 1.39 kB
import { AttioCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { APIError } from "../models/errors/apierror.js"; import { GetV2TargetIdentifierAttributesAttributeNotFoundError } from "../models/errors/getv2objectsobject.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { GetV2TargetIdentifierAttributesAttributeRequest, GetV2TargetIdentifierAttributesAttributeResponse } from "../models/operations/getv2targetidentifierattributesattribute.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Get an attribute * * @remarks * Gets information about a single attribute on either an object or a list. * * Required scopes: `object_configuration:read`. */ export declare function attributesGet(client: AttioCore, request: GetV2TargetIdentifierAttributesAttributeRequest, options?: RequestOptions): APIPromise<Result<GetV2TargetIdentifierAttributesAttributeResponse, GetV2TargetIdentifierAttributesAttributeNotFoundError | APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>; //# sourceMappingURL=attributesGet.d.ts.map