claude-flow
Version:
Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)
69 lines (68 loc) • 3.89 kB
TypeScript
import basem = require('./ClientApiBases');
import VsoBaseInterfaces = require('./interfaces/common/VsoBaseInterfaces');
import LocationsInterfaces = require("./interfaces/LocationsInterfaces");
import VSSInterfaces = require("./interfaces/common/VSSInterfaces");
export interface ILocationsApi extends basem.ClientApiBase {
constructor(connectOptions?: VSSInterfaces.ConnectOptions, lastChangeId?: number, lastChangeId64?: number): Promise<LocationsInterfaces.ConnectionData>;
constructor(areaId: string, enterpriseName?: string, organizationName?: string): Promise<LocationsInterfaces.ResourceAreaInfo>;
constructor(areaId: string, hostId: string): Promise<LocationsInterfaces.ResourceAreaInfo>;
constructor(enterpriseName?: string, organizationName?: string): Promise<LocationsInterfaces.ResourceAreaInfo[]>;
constructor(hostId: string): Promise<LocationsInterfaces.ResourceAreaInfo[]>;
constructor(serviceType: string, identifier: string): Promise<void>;
constructor(serviceType: string, identifier: string, allowFaultIn?: boolean, previewFaultIn?: boolean): Promise<LocationsInterfaces.ServiceDefinition>;
constructor(serviceType?: string): Promise<LocationsInterfaces.ServiceDefinition[]>;
constructor(serviceDefinitions: VSSInterfaces.VssJsonCollectionWrapperV<LocationsInterfaces.ServiceDefinition[]>): Promise<void>;
}
export declare class LocationsApi extends basem.ClientApiBase implements ILocationsApi {
constructor(baseUrl: string, handlers: VsoBaseInterfaces.IRequestHandler[], options?: VsoBaseInterfaces.IRequestOptions);
/**
* This was copied and adapted from TeamFoundationConnectionService.Connect()
*
* @param {VSSInterfaces.ConnectOptions} connectOptions
* @param {number} lastChangeId - Obsolete 32-bit LastChangeId
* @param {number} lastChangeId64 - Non-truncated 64-bit LastChangeId
*/
constructor(connectOptions?: VSSInterfaces.ConnectOptions, lastChangeId?: number, lastChangeId64?: number): Promise<LocationsInterfaces.ConnectionData>;
/**
* @param {string} areaId
* @param {string} enterpriseName
* @param {string} organizationName
*/
constructor(areaId: string, enterpriseName?: string, organizationName?: string): Promise<LocationsInterfaces.ResourceAreaInfo>;
/**
* @param {string} areaId
* @param {string} hostId
*/
constructor(areaId: string, hostId: string): Promise<LocationsInterfaces.ResourceAreaInfo>;
/**
* @param {string} enterpriseName
* @param {string} organizationName
*/
constructor(enterpriseName?: string, organizationName?: string): Promise<LocationsInterfaces.ResourceAreaInfo[]>;
/**
* @param {string} hostId
*/
constructor(hostId: string): Promise<LocationsInterfaces.ResourceAreaInfo[]>;
/**
* @param {string} serviceType
* @param {string} identifier
*/
constructor(serviceType: string, identifier: string): Promise<void>;
/**
* Finds a given service definition.
*
* @param {string} serviceType
* @param {string} identifier
* @param {boolean} allowFaultIn - If true, we will attempt to fault in a host instance mapping if in SPS.
* @param {boolean} previewFaultIn - If true, we will calculate and return a host instance mapping, but not persist it.
*/
constructor(serviceType: string, identifier: string, allowFaultIn?: boolean, previewFaultIn?: boolean): Promise<LocationsInterfaces.ServiceDefinition>;
/**
* @param {string} serviceType
*/
constructor(serviceType?: string): Promise<LocationsInterfaces.ServiceDefinition[]>;
/**
* @param {VSSInterfaces.VssJsonCollectionWrapperV<LocationsInterfaces.ServiceDefinition[]>} serviceDefinitions
*/
constructor(serviceDefinitions: VSSInterfaces.VssJsonCollectionWrapperV<LocationsInterfaces.ServiceDefinition[]>): Promise<void>;
}