claude-flow
Version:
Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)
123 lines (122 loc) • 5.75 kB
TypeScript
import basem = require('./ClientApiBases');
import VsoBaseInterfaces = require('./interfaces/common/VsoBaseInterfaces');
import ProfileInterfaces = require("./interfaces/ProfileInterfaces");
import VSSInterfaces = require("./interfaces/common/VSSInterfaces");
export interface IProfileApi extends basem.ClientApiBase {
constructor(id: string, descriptor: string): Promise<void>;
constructor(id: string, descriptor: string): Promise<ProfileInterfaces.ProfileAttribute>;
constructor(id: string, partition: string, modifiedSince?: string, modifiedAfterRevision?: string, withCoreAttributes?: boolean, coreAttributes?: string): Promise<ProfileInterfaces.ProfileAttribute[]>;
constructor(container: any, id: string, descriptor: string): Promise<void>;
constructor(attributesCollection: VSSInterfaces.VssJsonCollectionWrapperV<ProfileInterfaces.ProfileAttributeBase<any>[]>, id: string): Promise<void>;
constructor(id: string, size?: string, format?: string): Promise<ProfileInterfaces.Avatar>;
constructor(container: any, id: string, size?: string, format?: string, displayName?: string): Promise<ProfileInterfaces.Avatar>;
constructor(id: string): Promise<void>;
constructor(container: any, id: string): Promise<void>;
constructor(ipaddress: string): Promise<ProfileInterfaces.GeoRegion>;
constructor(createProfileContext: ProfileInterfaces.CreateProfileContext, autoCreate?: boolean): Promise<ProfileInterfaces.Profile>;
constructor(id: string, details?: boolean, withAttributes?: boolean, partition?: string, coreAttributes?: string, forceRefresh?: boolean): Promise<ProfileInterfaces.Profile>;
constructor(profile: ProfileInterfaces.Profile, id: string): Promise<void>;
constructor(): Promise<ProfileInterfaces.ProfileRegions>;
constructor(): Promise<string[]>;
constructor(includeAvatar?: boolean): Promise<ProfileInterfaces.Profile>;
constructor(id: string): Promise<ProfileInterfaces.Profile>;
}
export declare class ProfileApi extends basem.ClientApiBase implements IProfileApi {
constructor(baseUrl: string, handlers: VsoBaseInterfaces.IRequestHandler[], options?: VsoBaseInterfaces.IRequestOptions);
/**
* @param {string} id
* @param {string} descriptor
*/
constructor(id: string, descriptor: string): Promise<void>;
/**
* @param {string} id
* @param {string} descriptor
*/
constructor(id: string, descriptor: string): Promise<ProfileInterfaces.ProfileAttribute>;
/**
* @param {string} id
* @param {string} partition
* @param {string} modifiedSince
* @param {string} modifiedAfterRevision
* @param {boolean} withCoreAttributes
* @param {string} coreAttributes
*/
constructor(id: string, partition: string, modifiedSince?: string, modifiedAfterRevision?: string, withCoreAttributes?: boolean, coreAttributes?: string): Promise<ProfileInterfaces.ProfileAttribute[]>;
/**
* @param {any} container
* @param {string} id
* @param {string} descriptor
*/
constructor(container: any, id: string, descriptor: string): Promise<void>;
/**
* @param {VSSInterfaces.VssJsonCollectionWrapperV<ProfileInterfaces.ProfileAttributeBase<any>[]>} attributesCollection
* @param {string} id
*/
constructor(attributesCollection: VSSInterfaces.VssJsonCollectionWrapperV<ProfileInterfaces.ProfileAttributeBase<any>[]>, id: string): Promise<void>;
/**
* @param {string} id
* @param {string} size
* @param {string} format
*/
constructor(id: string, size?: string, format?: string): Promise<ProfileInterfaces.Avatar>;
/**
* @param {any} container
* @param {string} id
* @param {string} size
* @param {string} format
* @param {string} displayName
*/
constructor(container: any, id: string, size?: string, format?: string, displayName?: string): Promise<ProfileInterfaces.Avatar>;
/**
* @param {string} id
*/
constructor(id: string): Promise<void>;
/**
* @param {any} container
* @param {string} id
*/
constructor(container: any, id: string): Promise<void>;
/**
* Lookup up country/region based on provided IPv4, null if using the remote IPv4 address.
*
* @param {string} ipaddress - IPv4 address to be used for reverse lookup, null if using RemoteIPAddress in request context
*/
constructor(ipaddress: string): Promise<ProfileInterfaces.GeoRegion>;
/**
* Create profile
*
* @param {ProfileInterfaces.CreateProfileContext} createProfileContext - Context for profile creation
* @param {boolean} autoCreate - Create profile automatically
*/
constructor(createProfileContext: ProfileInterfaces.CreateProfileContext, autoCreate?: boolean): Promise<ProfileInterfaces.Profile>;
/**
* @param {string} id
* @param {boolean} details
* @param {boolean} withAttributes
* @param {string} partition
* @param {string} coreAttributes
* @param {boolean} forceRefresh
*/
constructor(id: string, details?: boolean, withAttributes?: boolean, partition?: string, coreAttributes?: string, forceRefresh?: boolean): Promise<ProfileInterfaces.Profile>;
/**
* Update profile
*
* @param {ProfileInterfaces.Profile} profile - Update profile
* @param {string} id - Profile ID
*/
constructor(profile: ProfileInterfaces.Profile, id: string): Promise<void>;
/**
*/
constructor(): Promise<ProfileInterfaces.ProfileRegions>;
/**
*/
constructor(): Promise<string[]>;
/**
* @param {boolean} includeAvatar
*/
constructor(includeAvatar?: boolean): Promise<ProfileInterfaces.Profile>;
/**
* @param {string} id
*/
constructor(id: string): Promise<ProfileInterfaces.Profile>;
}