attio-js
Version:
Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.
19 lines • 1.62 kB
TypeScript
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 { PutV2ListsListEntriesEntryIdRequest, PutV2ListsListEntriesEntryIdResponse } from "../models/operations/putv2listslistentriesentryid.js";
import { APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";
/**
* Update a list entry (overwrite multiselect values)
*
* @remarks
* Use this endpoint to update list entries by `entry_id`. If the update payload includes multiselect attributes, the values supplied will overwrite/remove the list of values that already exist (if any). Use the `PATCH` endpoint to add multiselect attribute values without removing those value that already exist.
*
* Required scopes: `list_entry:read-write`, `list_configuration:read`.
*/
export declare function entriesOverwrite(client: AttioCore, request: PutV2ListsListEntriesEntryIdRequest, options?: RequestOptions): APIPromise<Result<PutV2ListsListEntriesEntryIdResponse, ImmutableValueError | GetV2ListsListNotFoundError | APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
//# sourceMappingURL=entriesOverwrite.d.ts.map