UNPKG

attio-js

Version:

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

19 lines 1.59 kB
import { AttioCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { APIError } from "../models/errors/apierror.js"; import { GetV2ListsListNotFoundError, ImmutableValueError } from "../models/errors/getv2objectsobject.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { PatchV2ListsListEntriesEntryIdRequest, PatchV2ListsListEntriesEntryIdResponse } from "../models/operations/patchv2listslistentriesentryid.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Update a list entry (append multiselect values) * * @remarks * Use this endpoint to update list entries by `entry_id`. If the update payload includes multiselect attributes, the values supplied will be created and prepended to the list of values that already exist (if any). Use the `PUT` endpoint to overwrite or remove multiselect attribute values. * * Required scopes: `list_entry:read-write`, `list_configuration:read`. */ export declare function entriesUpdate(client: AttioCore, request: PatchV2ListsListEntriesEntryIdRequest, options?: RequestOptions): APIPromise<Result<PatchV2ListsListEntriesEntryIdResponse, ImmutableValueError | GetV2ListsListNotFoundError | APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>; //# sourceMappingURL=entriesUpdate.d.ts.map