🚀New lib version v0.3.0 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
48
dist/services/RunnerOrganizationService.d.ts
vendored
Normal file
48
dist/services/RunnerOrganizationService.d.ts
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
import type { CreateRunnerOrganization } from '../models/CreateRunnerOrganization';
|
||||
import type { ResponseEmpty } from '../models/ResponseEmpty';
|
||||
import type { ResponseRunnerOrganization } from '../models/ResponseRunnerOrganization';
|
||||
import type { UpdateRunnerOrganization } from '../models/UpdateRunnerOrganization';
|
||||
export declare class RunnerOrganizationService {
|
||||
/**
|
||||
* Get all
|
||||
* Lists all organizations. <br> This includes their address, contact and teams (if existing/associated).
|
||||
* @returns ResponseRunnerOrganization
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerOrganizationControllerGetAll(): Promise<Array<ResponseRunnerOrganization>>;
|
||||
/**
|
||||
* Post
|
||||
* Create a new organsisation.
|
||||
* @param requestBody CreateRunnerOrganization
|
||||
* @returns ResponseRunnerOrganization
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerOrganizationControllerPost(requestBody?: CreateRunnerOrganization): Promise<ResponseRunnerOrganization>;
|
||||
/**
|
||||
* Get one
|
||||
* Lists all information about the organization whose id got provided.
|
||||
* @param id
|
||||
* @returns ResponseRunnerOrganization
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerOrganizationControllerGetOne(id: number): Promise<ResponseRunnerOrganization>;
|
||||
/**
|
||||
* Put
|
||||
* Update the organization whose id you provided. <br> Please remember that ids can't be changed.
|
||||
* @param id
|
||||
* @param requestBody UpdateRunnerOrganization
|
||||
* @returns ResponseRunnerOrganization
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerOrganizationControllerPut(id: number, requestBody?: UpdateRunnerOrganization): Promise<ResponseRunnerOrganization>;
|
||||
/**
|
||||
* Remove
|
||||
* Delete the organsisation whose id you provided. <br> If the organization still has runners and/or teams associated this will fail. <br> To delete the organization with all associated runners and teams set the force QueryParam to true (cascading deletion might take a while). <br> This won't delete the associated contact. <br> If no organization with this id exists it will just return 204(no content).
|
||||
* @param id
|
||||
* @param force
|
||||
* @returns ResponseRunnerOrganization
|
||||
* @returns ResponseEmpty
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerOrganizationControllerRemove(id: number, force?: boolean): Promise<ResponseRunnerOrganization | ResponseEmpty>;
|
||||
}
|
||||
Reference in New Issue
Block a user