🚀New lib version [CI SKIP]

This commit is contained in:
2023-02-02 09:42:58 +00:00
parent b3676087f2
commit fa42e1085f
220 changed files with 551 additions and 554 deletions

View File

@@ -6,11 +6,11 @@ class RunnerTeamService {
/**
* Get all
* Lists all teams. <br> This includes their parent organization and contact (if existing/associated).
* @returns ResponseRunnerTeam
* @result ResponseRunnerTeam
* @throws ApiError
*/
static async runnerTeamControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/teams`,
});
@@ -20,11 +20,11 @@ class RunnerTeamService {
* Post
* Create a new organsisation. <br> Please remember to provide it's parent group's id.
* @param requestBody CreateRunnerTeam
* @returns ResponseRunnerTeam
* @result ResponseRunnerTeam
* @throws ApiError
*/
static async runnerTeamControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/teams`,
body: requestBody,
@@ -35,11 +35,11 @@ class RunnerTeamService {
* Get one
* Lists all information about the team whose id got provided.
* @param id
* @returns ResponseRunnerTeam
* @result ResponseRunnerTeam
* @throws ApiError
*/
static async runnerTeamControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/teams/${id}`,
});
@@ -50,11 +50,11 @@ class RunnerTeamService {
* Update the team whose id you provided. <br> Please remember that ids can't be changed.
* @param id
* @param requestBody UpdateRunnerTeam
* @returns ResponseRunnerTeam
* @result ResponseRunnerTeam
* @throws ApiError
*/
static async runnerTeamControllerPut(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/teams/${id}`,
body: requestBody,
@@ -66,12 +66,12 @@ class RunnerTeamService {
* Delete the team whose id you provided. <br> If the team still has runners associated this will fail. <br> To delete the team with all associated runners set the force QueryParam to true (cascading deletion might take a while). <br> This won't delete the associated contact.<br> If no team with this id exists it will just return 204(no content).
* @param id
* @param force
* @returns ResponseRunnerTeam
* @returns ResponseEmpty
* @result ResponseRunnerTeam
* @result ResponseEmpty
* @throws ApiError
*/
static async runnerTeamControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/teams/${id}`,
query: {
@@ -84,11 +84,11 @@ class RunnerTeamService {
* Get runners
* Lists all runners from this team. <br> This includes the runner's group and distance ran.
* @param id
* @returns ResponseRunner
* @result ResponseRunner
* @throws ApiError
*/
static async runnerTeamControllerGetRunners(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/teams/${id}/runners`,
});