This commit is contained in:
55
dist/services/ImportService.d.ts
vendored
Normal file
55
dist/services/ImportService.d.ts
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
import type { ImportRunner } from '../models/ImportRunner';
|
||||
import type { ResponseRunner } from '../models/ResponseRunner';
|
||||
export declare class ImportService {
|
||||
/**
|
||||
* Post json
|
||||
* Create new runners from json and insert them into the provided group. <br> If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead.
|
||||
* @param group
|
||||
* @param requestBody ImportRunner
|
||||
* @returns ResponseRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static importControllerPostJson(group?: number, requestBody?: Array<ImportRunner>): Promise<Array<ResponseRunner>>;
|
||||
/**
|
||||
* Post orgs json
|
||||
* Create new runners from json and insert them into the provided org. <br> If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead.
|
||||
* @param id
|
||||
* @param requestBody ImportRunner
|
||||
* @returns ResponseRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static importControllerPostOrgsJson(id: number, requestBody?: Array<ImportRunner>): Promise<Array<ResponseRunner>>;
|
||||
/**
|
||||
* Post teams json
|
||||
* Create new runners from json and insert them into the provided team
|
||||
* @param id
|
||||
* @param requestBody ImportRunner
|
||||
* @returns ResponseRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static importControllerPostTeamsJson(id: number, requestBody?: Array<ImportRunner>): Promise<Array<ResponseRunner>>;
|
||||
/**
|
||||
* Post csv
|
||||
* Create new runners from csv and insert them into the provided group. <br> If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead.
|
||||
* @param group
|
||||
* @returns ResponseRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static importControllerPostCsv(group?: number): Promise<Array<ResponseRunner>>;
|
||||
/**
|
||||
* Post orgs csv
|
||||
* Create new runners from csv and insert them into the provided org. <br> If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead.
|
||||
* @param id
|
||||
* @returns ResponseRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static importControllerPostOrgsCsv(id: number): Promise<Array<ResponseRunner>>;
|
||||
/**
|
||||
* Post teams csv
|
||||
* Create new runners from csv and insert them into the provided team
|
||||
* @param id
|
||||
* @returns ResponseRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static importControllerPostTeamsCsv(id: number): Promise<Array<ResponseRunner>>;
|
||||
}
|
||||
Reference in New Issue
Block a user