import Base, { MaybeRaw } from "../../../Base"; import { CreateTag, PatchTag, Tag } from "../../../interfaces/cosmo/tag/tag"; /** * @class Tag * @extends Base * * @remarks * **Under development, breaking changes possible** * * Represents an Asset resource in Cosmo, providing methods to interact with the Asset API. */ export declare class CosmoTag extends Base { protected getEndpoint(endpoint: string): string; /** * Create a new Tag in Cosmo inside the specified Organization, Space and Namespace. * @remarks * ** Under development, breaking changes possible** * @param orgName Name of the Organization * @param spaceName Name of the Space * @param namespaceName Name of the Namespace * @param createTag The Tag to be created * @returns The created tag */ createTag(orgName: string, spaceName: string, namespaceName: string, createTag: CreateTag, raw?: { raw: R; }): Promise>; /** * Get a list of all Tags in Cosmo inside the specified Organization, Space and Namespace. * @remarks * ** Under development, breaking changes possible** * @param orgName Name of the Organization * @param spaceName Name of the Space * @param namespaceName Name of the Namespace * @param createTag The Tag to be created * @returns The created tag */ getTags(orgName: string, spaceName: string, namespaceName: string, raw?: { raw: R; }): Promise>; /** * Update a Tag in Cosmo inside the specified Organization, Space and Namespace. * @remarks * ** Under development, breaking changes possible** * @param orgName Name of the Organization * @param spaceName Name of the Space * @param namespaceName Name of the Namespace * @param tagName Name of the Tag to be updated * @param patchTag The Tag data to be updated * @returns The updated tag */ updateTag(orgName: string, spaceName: string, namespaceName: string, tagName: string, patchTag: PatchTag, raw?: { raw: R; }): Promise>; /** * Reorder Tags in Cosmo inside the specified Organization, Space and Namespace. * @remarks * ** Under development, breaking changes possible** * @param orgName Name of the Organization * @param spaceName Name of the Space * @param namespaceName Name of the Namespace * @param tagIds Ordered array of tag IDs representing the desired sort order * @returns 204 No Content if successful */ reorderTags(orgName: string, spaceName: string, namespaceName: string, tagIds: string[], raw?: { raw: R; }): Promise>; /** * Delete a Tag in Cosmo inside the specified Organization, Space and Namespace. * @remarks * ** Under development, breaking changes possible** * @param orgName Name of the Organization * @param spaceName Name of the Space * @param namespaceName Name of the Namespace * @param tagName Name of the Tag to be deleted * @returns 204 No Content if successful */ deleteTag(orgName: string, spaceName: string, namespaceName: string, tagName: string, raw?: { raw: R; }): Promise>; }