This commit is contained in:
16
dist/services/RunnerSelfService.js
vendored
16
dist/services/RunnerSelfService.js
vendored
@@ -7,7 +7,7 @@ class RunnerSelfService {
|
||||
* Get
|
||||
* Lists all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please use the forgot endpoint.
|
||||
* @param jwt
|
||||
* @result ResponseSelfServiceRunner
|
||||
* @returns ResponseSelfServiceRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerSelfServiceControllerGet(jwt) {
|
||||
@@ -22,7 +22,7 @@ class RunnerSelfService {
|
||||
* Deletes all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please use the forgot endpoint.
|
||||
* @param jwt
|
||||
* @param force
|
||||
* @result ResponseSelfServiceRunner
|
||||
* @returns ResponseSelfServiceRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerSelfServiceControllerRemove(jwt, force) {
|
||||
@@ -39,7 +39,7 @@ class RunnerSelfService {
|
||||
* Get scans
|
||||
* Lists all your (runner) scans. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please contact support.
|
||||
* @param jwt
|
||||
* @result ResponseSelfServiceScan
|
||||
* @returns ResponseSelfServiceScan
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerSelfServiceControllerGetScans(jwt) {
|
||||
@@ -52,7 +52,7 @@ class RunnerSelfService {
|
||||
/**
|
||||
* Get station me
|
||||
* Lists basic information about the station whose token got provided. <br> This includes it's associated track.
|
||||
* @result ResponseScanStation
|
||||
* @returns ResponseScanStation
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerSelfServiceControllerGetStationMe() {
|
||||
@@ -67,7 +67,7 @@ class RunnerSelfService {
|
||||
* Use this endpoint to reuqest a new selfservice token/link to be sent to your mail address (rate limited to one mail every 24hrs).
|
||||
* @param mail
|
||||
* @param locale
|
||||
* @result any Successful response
|
||||
* @returns any Successful response
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerSelfServiceControllerRequestNewToken(mail, locale) {
|
||||
@@ -86,7 +86,7 @@ class RunnerSelfService {
|
||||
* Create a new selfservice runner in the citizen org. <br> This endpoint shoud be used to allow "everyday citizen" to register themselves. <br> You have to provide a mail address, b/c the future we'll implement email verification.
|
||||
* @param locale
|
||||
* @param requestBody CreateSelfServiceCitizenRunner
|
||||
* @result ResponseSelfServiceRunner
|
||||
* @returns ResponseSelfServiceRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerSelfServiceControllerRegisterRunner(locale, requestBody) {
|
||||
@@ -106,7 +106,7 @@ class RunnerSelfService {
|
||||
* @param token
|
||||
* @param locale
|
||||
* @param requestBody CreateSelfServiceRunner
|
||||
* @result ResponseSelfServiceRunner
|
||||
* @returns ResponseSelfServiceRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerSelfServiceControllerRegisterOrganizationRunner(token, locale, requestBody) {
|
||||
@@ -124,7 +124,7 @@ class RunnerSelfService {
|
||||
* Get selfservice org
|
||||
* Get the basic info and teams for a org.
|
||||
* @param token
|
||||
* @result ResponseSelfServiceOrganisation
|
||||
* @returns ResponseSelfServiceOrganisation
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerSelfServiceControllerGetSelfserviceOrg(token) {
|
||||
|
||||
Reference in New Issue
Block a user