UNPKG

attio-js

Version:

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

24 lines 1.36 kB
import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { PatchV2TargetIdentifierAttributesAttributeStatusesStatusRequest, PatchV2TargetIdentifierAttributesAttributeStatusesStatusResponse } from "../models/operations/patchv2targetidentifierattributesattributestatusesstatus.js"; import { PostV2TargetIdentifierAttributesAttributeStatusesRequest, PostV2TargetIdentifierAttributesAttributeStatusesResponse } from "../models/operations/postv2targetidentifierattributesattributestatuses.js"; export declare class Statuses extends ClientSDK { /** * Create a status * * @remarks * Add a new status to a status attribute on either an object or a list. * * Required scopes: `object_configuration:read-write`. */ create(request: PostV2TargetIdentifierAttributesAttributeStatusesRequest, options?: RequestOptions): Promise<PostV2TargetIdentifierAttributesAttributeStatusesResponse>; /** * Update a status * * @remarks * Update a status on an status attribute on either an object or a list. * * Required scopes: `object_configuration:read-write`. */ update(request: PatchV2TargetIdentifierAttributesAttributeStatusesStatusRequest, options?: RequestOptions): Promise<PatchV2TargetIdentifierAttributesAttributeStatusesStatusResponse>; } //# sourceMappingURL=statuses.d.ts.map