This commit is contained in:
14
dist/services/RunnerOrganizationService.js
vendored
14
dist/services/RunnerOrganizationService.js
vendored
@@ -6,7 +6,7 @@ class RunnerOrganizationService {
|
||||
/**
|
||||
* Get all
|
||||
* Lists all organizations. <br> This includes their address, contact and teams (if existing/associated).
|
||||
* @result ResponseRunnerOrganization
|
||||
* @returns ResponseRunnerOrganization
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerOrganizationControllerGetAll() {
|
||||
@@ -20,7 +20,7 @@ class RunnerOrganizationService {
|
||||
* Post
|
||||
* Create a new organsisation.
|
||||
* @param requestBody CreateRunnerOrganization
|
||||
* @result ResponseRunnerOrganization
|
||||
* @returns ResponseRunnerOrganization
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerOrganizationControllerPost(requestBody) {
|
||||
@@ -35,7 +35,7 @@ class RunnerOrganizationService {
|
||||
* Get one
|
||||
* Lists all information about the organization whose id got provided.
|
||||
* @param id
|
||||
* @result ResponseRunnerOrganization
|
||||
* @returns ResponseRunnerOrganization
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerOrganizationControllerGetOne(id) {
|
||||
@@ -50,7 +50,7 @@ class RunnerOrganizationService {
|
||||
* Update the organization whose id you provided. <br> Please remember that ids can't be changed.
|
||||
* @param id
|
||||
* @param requestBody UpdateRunnerOrganization
|
||||
* @result ResponseRunnerOrganization
|
||||
* @returns ResponseRunnerOrganization
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerOrganizationControllerPut(id, requestBody) {
|
||||
@@ -66,8 +66,8 @@ class RunnerOrganizationService {
|
||||
* 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
|
||||
* @result ResponseRunnerOrganization
|
||||
* @result ResponseEmpty
|
||||
* @returns ResponseRunnerOrganization
|
||||
* @returns ResponseEmpty
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerOrganizationControllerRemove(id, force) {
|
||||
@@ -85,7 +85,7 @@ class RunnerOrganizationService {
|
||||
* Lists all runners from this org and it's teams (if you don't provide the ?onlyDirect=true param). <br> This includes the runner's group and distance ran.
|
||||
* @param id
|
||||
* @param onlyDirect
|
||||
* @result ResponseRunner
|
||||
* @returns ResponseRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerOrganizationControllerGetRunners(id, onlyDirect) {
|
||||
|
||||
Reference in New Issue
Block a user