attio-js
Version:
Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.
19 lines • 1.45 kB
TypeScript
import { AttioCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import { APIError } from "../models/errors/apierror.js";
import { GetV2TargetIdentifierAttributesAttributeNotFoundError, SystemEditUnauthorizedError } from "../models/errors/getv2objectsobject.js";
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
import { PatchV2TargetIdentifierAttributesAttributeRequest, PatchV2TargetIdentifierAttributesAttributeResponse } from "../models/operations/patchv2targetidentifierattributesattribute.js";
import { APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";
/**
* Update an attribute
*
* @remarks
* Updates a single attribute on a given object or list.
*
* Required scopes: `object_configuration:read-write`.
*/
export declare function attributesUpdate(client: AttioCore, request: PatchV2TargetIdentifierAttributesAttributeRequest, options?: RequestOptions): APIPromise<Result<PatchV2TargetIdentifierAttributesAttributeResponse, SystemEditUnauthorizedError | GetV2TargetIdentifierAttributesAttributeNotFoundError | APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
//# sourceMappingURL=attributesUpdate.d.ts.map