testrail-modern-client
Version:
A modern TypeScript client for TestRail API
17 lines (16 loc) • 733 B
TypeScript
import { ResultField } from '../models/result-fields';
import { BaseService } from './base';
/**
* Service for managing TestRail result fields (custom fields for test results).
*/
export declare class ResultFieldService extends BaseService {
/**
* Returns a list of available test result custom fields.
* @param offset - The offset of the first record to return (used for pagination)
* @param limit - The maximum number of records to return (used for pagination, max 250)
* @returns A list of result fields
* @throws {Error} 403 - No access to the project
* @throws {Error} 429 - Too many requests (TestRail Cloud only)
*/
list(offset?: number, limit?: number): Promise<ResultField[]>;
}