import type { AttributeValue } from '../models/AttributeValue'; import type { Team } from '../models/Team'; import type { TeamPatch } from '../models/TeamPatch'; export declare class TeamsService { /** * @returns Team list of Teams * @throws ApiError */ static listTeams({ organizationName, pageSize, pageNumber, sortFieldName, sortDirection, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; /** The number of items to get per page. Min: 1 Max: 100 **/ pageSize?: number; /** The page number to get. Min: 1 **/ pageNumber?: number; /** name of a field to sort on **/ sortFieldName?: string; /** sort direction **/ sortDirection?: 'asc' | 'desc'; }): Promise>; /** * @returns Team New team * @throws ApiError */ static createTeam({ organizationName, requestBody, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; /** Team information **/ requestBody?: Team; }): Promise; /** * @returns Team a team * @throws ApiError */ static getTeam({ organizationName, teamName, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; /** name of a team **/ teamName: string; }): Promise; /** * @returns Team Updated team * @throws ApiError */ static updateTeam({ organizationName, teamName, ifMatch, requestBody, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; /** name of a team **/ teamName: string; /** Provide the etag value for a previous GET request of a resource on update (PATCH) in order to avoid "lost updates" **/ ifMatch?: string; /** An updated team object. **/ requestBody?: TeamPatch; }): Promise; /** * @returns void * @throws ApiError */ static deleteTeam({ organizationName, teamName, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; /** name of a team **/ teamName: string; }): Promise; /** * @returns AttributeValue attribute value * @throws ApiError */ static getTeamAppAttribute({ organizationName, teamName, appName, attributeName, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; /** name of a team **/ teamName: string; /** the name of the app **/ appName: string; attributeName: string; }): Promise; /** * @returns AttributeValue Updated Attribute Value * @throws ApiError */ static createTeamAppAttribute({ organizationName, teamName, appName, attributeName, ifMatch, requestBody, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; /** name of a team **/ teamName: string; /** the name of the app **/ appName: string; attributeName: string; /** Provide the etag value for a previous GET request of a resource on update (PATCH) in order to avoid "lost updates" **/ ifMatch?: string; /** Attribute value **/ requestBody?: AttributeValue; }): Promise; /** * @returns AttributeValue Updated Attribute Value * @throws ApiError */ static updateTeamAppAttribute({ organizationName, teamName, appName, attributeName, ifMatch, requestBody, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; /** name of a team **/ teamName: string; /** the name of the app **/ appName: string; attributeName: string; /** Provide the etag value for a previous GET request of a resource on update (PATCH) in order to avoid "lost updates" **/ ifMatch?: string; /** Attribute value **/ requestBody?: AttributeValue; }): Promise; /** * @returns void * @throws ApiError */ static deleteTeamAppAttribute({ organizationName, teamName, appName, attributeName, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; /** name of a team **/ teamName: string; /** the name of the app **/ appName: string; attributeName: string; }): Promise; }