UNPKG

attio-js

Version:

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

19 lines 1.67 kB
import { AttioCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { APIError } from "../models/errors/apierror.js"; import { GetV2ObjectsObjectNotFoundError, MissingValueError } from "../models/errors/getv2objectsobject.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { PatchV2ObjectsObjectRecordsRecordIdRequest, PatchV2ObjectsObjectRecordsRecordIdResponse } from "../models/operations/patchv2objectsobjectrecordsrecordid.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Update a record (append multiselect values) * * @remarks * Use this endpoint to update people, companies, and other records by `record_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: `record_permission:read-write`, `object_configuration:read`. */ export declare function recordsPartialUpdate(client: AttioCore, request: PatchV2ObjectsObjectRecordsRecordIdRequest, options?: RequestOptions): APIPromise<Result<PatchV2ObjectsObjectRecordsRecordIdResponse, MissingValueError | GetV2ObjectsObjectNotFoundError | APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>; //# sourceMappingURL=recordsPartialUpdate.d.ts.map