UNPKG

attio-js

Version:

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

19 lines 1.46 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 { GetV2TargetIdentifierAttributesAttributeOptionsRequest, GetV2TargetIdentifierAttributesAttributeOptionsResponse } from "../models/operations/getv2targetidentifierattributesattributeoptions.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * List select options * * @remarks * Lists all select options for a particular attribute on either an object or a list. * * Required scopes: `object_configuration:read`. */ export declare function attributesListSelectOptions(client: AttioCore, request: GetV2TargetIdentifierAttributesAttributeOptionsRequest, options?: RequestOptions): APIPromise<Result<GetV2TargetIdentifierAttributesAttributeOptionsResponse, GetV2TargetIdentifierAttributesAttributeNotFoundError | APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>; //# sourceMappingURL=attributesListSelectOptions.d.ts.map