new lib version [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Nicolai Ort 2021-01-03 17:33:51 +00:00
parent 9d65a8ec78
commit 6c9f6e856d
192 changed files with 6 additions and 2614 deletions

93
dist/index.d.ts vendored
View File

@ -1,116 +1,23 @@
export { ApiError } from './core/ApiError'; export { ApiError } from './core/ApiError';
export { OpenAPI } from './core/OpenAPI'; export { OpenAPI } from './core/OpenAPI';
export type { Address } from './models/Address';
export type { AddressNotFoundError } from './models/AddressNotFoundError';
export type { AddressWrongTypeError } from './models/AddressWrongTypeError';
export type { Auth } from './models/Auth';
export type { CreateAuth } from './models/CreateAuth';
export type { CreateParticipant } from './models/CreateParticipant';
export { CreatePermission } from './models/CreatePermission';
export type { CreateResetToken } from './models/CreateResetToken';
export type { CreateRunner } from './models/CreateRunner';
export type { CreateRunnerGroup } from './models/CreateRunnerGroup';
export type { CreateRunnerOrganisation } from './models/CreateRunnerOrganisation';
export type { CreateRunnerTeam } from './models/CreateRunnerTeam';
export type { CreateStatsClient } from './models/CreateStatsClient';
export type { CreateTrack } from './models/CreateTrack';
export type { CreateUser } from './models/CreateUser';
export type { CreateUserGroup } from './models/CreateUserGroup';
export type { DistanceDonation } from './models/DistanceDonation';
export type { Donation } from './models/Donation';
export type { GroupContact } from './models/GroupContact';
export type { GroupContactNotFoundError } from './models/GroupContactNotFoundError';
export type { GroupContactWrongTypeError } from './models/GroupContactWrongTypeError';
export type { GroupNameNeededError } from './models/GroupNameNeededError';
export type { HandleLogout } from './models/HandleLogout';
export type { IllegalJWTError } from './models/IllegalJWTError'; export type { IllegalJWTError } from './models/IllegalJWTError';
export type { ImportRunner } from './models/ImportRunner';
export type { InvalidCredentialsError } from './models/InvalidCredentialsError'; export type { InvalidCredentialsError } from './models/InvalidCredentialsError';
export type { JwtNotProvidedError } from './models/JwtNotProvidedError'; export type { JwtNotProvidedError } from './models/JwtNotProvidedError';
export type { JwtUser } from './models/JwtUser'; export type { JwtUser } from './models/JwtUser';
export type { Logout } from './models/Logout';
export type { NoPermissionError } from './models/NoPermissionError'; export type { NoPermissionError } from './models/NoPermissionError';
export type { Participant } from './models/Participant';
export type { PasswordNeededError } from './models/PasswordNeededError'; export type { PasswordNeededError } from './models/PasswordNeededError';
export { Permission } from './models/Permission'; export { Permission } from './models/Permission';
export type { PermissionIdsNotMatchingError } from './models/PermissionIdsNotMatchingError';
export type { PermissionNeedsPrincipalError } from './models/PermissionNeedsPrincipalError';
export type { PermissionNotFoundError } from './models/PermissionNotFoundError';
export type { Principal } from './models/Principal'; export type { Principal } from './models/Principal';
export type { PrincipalNotFoundError } from './models/PrincipalNotFoundError';
export type { PrincipalWrongTypeError } from './models/PrincipalWrongTypeError';
export type { RefreshAuth } from './models/RefreshAuth';
export type { RefreshTokenCountInvalidError } from './models/RefreshTokenCountInvalidError'; export type { RefreshTokenCountInvalidError } from './models/RefreshTokenCountInvalidError';
export type { ResetAlreadyRequestedError } from './models/ResetAlreadyRequestedError'; export type { ResetAlreadyRequestedError } from './models/ResetAlreadyRequestedError';
export type { ResetPassword } from './models/ResetPassword';
export type { ResponseEmpty } from './models/ResponseEmpty';
export type { ResponseParticipant } from './models/ResponseParticipant';
export { ResponsePermission } from './models/ResponsePermission';
export type { ResponsePrincipal } from './models/ResponsePrincipal'; export type { ResponsePrincipal } from './models/ResponsePrincipal';
export type { ResponseRunner } from './models/ResponseRunner';
export type { ResponseRunnerGroup } from './models/ResponseRunnerGroup';
export type { ResponseRunnerOrganisation } from './models/ResponseRunnerOrganisation';
export type { ResponseRunnerTeam } from './models/ResponseRunnerTeam';
export type { ResponseStats } from './models/ResponseStats';
export type { ResponseStatsClient } from './models/ResponseStatsClient';
export type { ResponseStatsOrgnisation } from './models/ResponseStatsOrgnisation';
export type { ResponseStatsRunner } from './models/ResponseStatsRunner';
export type { ResponseStatsTeam } from './models/ResponseStatsTeam';
export type { ResponseTrack } from './models/ResponseTrack';
export type { ResponseUser } from './models/ResponseUser'; export type { ResponseUser } from './models/ResponseUser';
export type { ResponseUserGroup } from './models/ResponseUserGroup'; export type { ResponseUserGroup } from './models/ResponseUserGroup';
export type { Runner } from './models/Runner';
export type { RunnerCard } from './models/RunnerCard';
export type { RunnerGroup } from './models/RunnerGroup';
export type { RunnerGroupNeededError } from './models/RunnerGroupNeededError';
export type { RunnerGroupNotFoundError } from './models/RunnerGroupNotFoundError';
export type { RunnerIdsNotMatchingError } from './models/RunnerIdsNotMatchingError';
export type { RunnerNotFoundError } from './models/RunnerNotFoundError';
export type { RunnerOrganisation } from './models/RunnerOrganisation';
export type { RunnerOrganisationHasRunnersError } from './models/RunnerOrganisationHasRunnersError';
export type { RunnerOrganisationHasTeamsError } from './models/RunnerOrganisationHasTeamsError';
export type { RunnerOrganisationIdsNotMatchingError } from './models/RunnerOrganisationIdsNotMatchingError';
export type { RunnerOrganisationNotFoundError } from './models/RunnerOrganisationNotFoundError';
export type { RunnerOrganisationWrongTypeError } from './models/RunnerOrganisationWrongTypeError';
export type { RunnerTeam } from './models/RunnerTeam';
export type { RunnerTeamHasRunnersError } from './models/RunnerTeamHasRunnersError';
export type { RunnerTeamIdsNotMatchingError } from './models/RunnerTeamIdsNotMatchingError';
export type { RunnerTeamNeedsParentError } from './models/RunnerTeamNeedsParentError';
export type { RunnerTeamNotFoundError } from './models/RunnerTeamNotFoundError';
export type { Scan } from './models/Scan';
export type { ScanStation } from './models/ScanStation';
export type { StatsClient } from './models/StatsClient';
export type { StatsClientIdsNotMatchingError } from './models/StatsClientIdsNotMatchingError';
export type { StatsClientNotFoundError } from './models/StatsClientNotFoundError';
export type { Track } from './models/Track';
export type { TrackIdsNotMatchingError } from './models/TrackIdsNotMatchingError';
export type { TrackNotFoundError } from './models/TrackNotFoundError';
export type { TrackScan } from './models/TrackScan';
export type { UpdatePermission } from './models/UpdatePermission';
export type { UpdateRunner } from './models/UpdateRunner';
export type { UpdateRunnerOrganisation } from './models/UpdateRunnerOrganisation';
export type { UpdateRunnerTeam } from './models/UpdateRunnerTeam';
export type { UpdateUser } from './models/UpdateUser';
export type { User } from './models/User'; export type { User } from './models/User';
export { UserAction } from './models/UserAction'; export { UserAction } from './models/UserAction';
export type { UserDisabledError } from './models/UserDisabledError'; export type { UserDisabledError } from './models/UserDisabledError';
export type { UserGroup } from './models/UserGroup'; export type { UserGroup } from './models/UserGroup';
export type { UserGroupIdsNotMatchingError } from './models/UserGroupIdsNotMatchingError';
export type { UserGroupNotFoundError } from './models/UserGroupNotFoundError';
export type { UserIdsNotMatchingError } from './models/UserIdsNotMatchingError';
export type { UsernameOrEmailNeededError } from './models/UsernameOrEmailNeededError'; export type { UsernameOrEmailNeededError } from './models/UsernameOrEmailNeededError';
export type { UserNonexistantOrRefreshtokenInvalidError } from './models/UserNonexistantOrRefreshtokenInvalidError'; export type { UserNonexistantOrRefreshtokenInvalidError } from './models/UserNonexistantOrRefreshtokenInvalidError';
export type { UserNotFoundError } from './models/UserNotFoundError'; export type { UserNotFoundError } from './models/UserNotFoundError';
export type { UserNotFoundOrRefreshTokenCountInvalidError } from './models/UserNotFoundOrRefreshTokenCountInvalidError'; export type { UserNotFoundOrRefreshTokenCountInvalidError } from './models/UserNotFoundOrRefreshTokenCountInvalidError';
export { AuthService } from './services/AuthService';
export { ImportService } from './services/ImportService';
export { PermissionService } from './services/PermissionService';
export { RunnerOrganisationService } from './services/RunnerOrganisationService';
export { RunnerService } from './services/RunnerService';
export { RunnerTeamService } from './services/RunnerTeamService';
export { StatsClientService } from './services/StatsClientService';
export { StatsService } from './services/StatsService';
export { StatusService } from './services/StatusService';
export { TrackService } from './services/TrackService';
export { UserGroupService } from './services/UserGroupService';
export { UserService } from './services/UserService';

30
dist/index.js vendored
View File

@ -1,6 +1,6 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.UserService = exports.UserGroupService = exports.TrackService = exports.StatusService = exports.StatsService = exports.StatsClientService = exports.RunnerTeamService = exports.RunnerService = exports.RunnerOrganisationService = exports.PermissionService = exports.ImportService = exports.AuthService = exports.UserAction = exports.ResponsePermission = exports.Permission = exports.CreatePermission = exports.OpenAPI = exports.ApiError = void 0; exports.UserAction = exports.Permission = exports.OpenAPI = exports.ApiError = void 0;
/* istanbul ignore file */ /* istanbul ignore file */
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
@ -8,35 +8,7 @@ var ApiError_1 = require("./core/ApiError");
Object.defineProperty(exports, "ApiError", { enumerable: true, get: function () { return ApiError_1.ApiError; } }); Object.defineProperty(exports, "ApiError", { enumerable: true, get: function () { return ApiError_1.ApiError; } });
var OpenAPI_1 = require("./core/OpenAPI"); var OpenAPI_1 = require("./core/OpenAPI");
Object.defineProperty(exports, "OpenAPI", { enumerable: true, get: function () { return OpenAPI_1.OpenAPI; } }); Object.defineProperty(exports, "OpenAPI", { enumerable: true, get: function () { return OpenAPI_1.OpenAPI; } });
var CreatePermission_1 = require("./models/CreatePermission");
Object.defineProperty(exports, "CreatePermission", { enumerable: true, get: function () { return CreatePermission_1.CreatePermission; } });
var Permission_1 = require("./models/Permission"); var Permission_1 = require("./models/Permission");
Object.defineProperty(exports, "Permission", { enumerable: true, get: function () { return Permission_1.Permission; } }); Object.defineProperty(exports, "Permission", { enumerable: true, get: function () { return Permission_1.Permission; } });
var ResponsePermission_1 = require("./models/ResponsePermission");
Object.defineProperty(exports, "ResponsePermission", { enumerable: true, get: function () { return ResponsePermission_1.ResponsePermission; } });
var UserAction_1 = require("./models/UserAction"); var UserAction_1 = require("./models/UserAction");
Object.defineProperty(exports, "UserAction", { enumerable: true, get: function () { return UserAction_1.UserAction; } }); Object.defineProperty(exports, "UserAction", { enumerable: true, get: function () { return UserAction_1.UserAction; } });
var AuthService_1 = require("./services/AuthService");
Object.defineProperty(exports, "AuthService", { enumerable: true, get: function () { return AuthService_1.AuthService; } });
var ImportService_1 = require("./services/ImportService");
Object.defineProperty(exports, "ImportService", { enumerable: true, get: function () { return ImportService_1.ImportService; } });
var PermissionService_1 = require("./services/PermissionService");
Object.defineProperty(exports, "PermissionService", { enumerable: true, get: function () { return PermissionService_1.PermissionService; } });
var RunnerOrganisationService_1 = require("./services/RunnerOrganisationService");
Object.defineProperty(exports, "RunnerOrganisationService", { enumerable: true, get: function () { return RunnerOrganisationService_1.RunnerOrganisationService; } });
var RunnerService_1 = require("./services/RunnerService");
Object.defineProperty(exports, "RunnerService", { enumerable: true, get: function () { return RunnerService_1.RunnerService; } });
var RunnerTeamService_1 = require("./services/RunnerTeamService");
Object.defineProperty(exports, "RunnerTeamService", { enumerable: true, get: function () { return RunnerTeamService_1.RunnerTeamService; } });
var StatsClientService_1 = require("./services/StatsClientService");
Object.defineProperty(exports, "StatsClientService", { enumerable: true, get: function () { return StatsClientService_1.StatsClientService; } });
var StatsService_1 = require("./services/StatsService");
Object.defineProperty(exports, "StatsService", { enumerable: true, get: function () { return StatsService_1.StatsService; } });
var StatusService_1 = require("./services/StatusService");
Object.defineProperty(exports, "StatusService", { enumerable: true, get: function () { return StatusService_1.StatusService; } });
var TrackService_1 = require("./services/TrackService");
Object.defineProperty(exports, "TrackService", { enumerable: true, get: function () { return TrackService_1.TrackService; } });
var UserGroupService_1 = require("./services/UserGroupService");
Object.defineProperty(exports, "UserGroupService", { enumerable: true, get: function () { return UserGroupService_1.UserGroupService; } });
var UserService_1 = require("./services/UserService");
Object.defineProperty(exports, "UserService", { enumerable: true, get: function () { return UserService_1.UserService; } });

View File

@ -1,9 +0,0 @@
export declare type Address = {
id: number;
description?: string;
address1: string;
address2?: string;
postalcode: string;
city: string;
country: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,4 +0,0 @@
export declare type AddressNotFoundError = {
name: string;
message: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,4 +0,0 @@
export declare type AddressWrongTypeError = {
name: string;
message: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,6 +0,0 @@
export declare type Auth = {
access_token: string;
refresh_token: string;
access_token_expires_at: number;
refresh_token_expires_at: number;
};

5
dist/models/Auth.js vendored
View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,5 +0,0 @@
export declare type CreateAuth = {
username?: string;
email?: string;
password: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,8 +0,0 @@
export declare type CreateParticipant = {
firstname: string;
middlename?: string;
lastname: string;
phone?: string;
email?: string;
address?: number;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,24 +0,0 @@
export declare type CreatePermission = {
principal: number;
target: CreatePermission.target;
action: CreatePermission.action;
};
export declare namespace CreatePermission {
enum target {
RUNNER = "RUNNER",
ORGANISATION = "ORGANISATION",
TEAM = "TEAM",
TRACK = "TRACK",
USER = "USER",
USERGROUP = "USERGROUP",
PERMISSION = "PERMISSION",
STATSCLIENT = "STATSCLIENT"
}
enum action {
GET = "GET",
CREATE = "CREATE",
UPDATE = "UPDATE",
DELETE = "DELETE",
IMPORT = "IMPORT"
}
}

View File

@ -1,28 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.CreatePermission = void 0;
var CreatePermission;
(function (CreatePermission) {
let target;
(function (target) {
target["RUNNER"] = "RUNNER";
target["ORGANISATION"] = "ORGANISATION";
target["TEAM"] = "TEAM";
target["TRACK"] = "TRACK";
target["USER"] = "USER";
target["USERGROUP"] = "USERGROUP";
target["PERMISSION"] = "PERMISSION";
target["STATSCLIENT"] = "STATSCLIENT";
})(target = CreatePermission.target || (CreatePermission.target = {}));
let action;
(function (action) {
action["GET"] = "GET";
action["CREATE"] = "CREATE";
action["UPDATE"] = "UPDATE";
action["DELETE"] = "DELETE";
action["IMPORT"] = "IMPORT";
})(action = CreatePermission.action || (CreatePermission.action = {}));
})(CreatePermission = exports.CreatePermission || (exports.CreatePermission = {}));

View File

@ -1,4 +0,0 @@
export declare type CreateResetToken = {
username?: string;
email?: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,9 +0,0 @@
export declare type CreateRunner = {
group: number;
firstname: string;
middlename?: string;
lastname: string;
phone?: string;
email?: string;
address?: number;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,4 +0,0 @@
export declare type CreateRunnerGroup = {
name: string;
contact?: number;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,5 +0,0 @@
export declare type CreateRunnerOrganisation = {
address?: number;
name: string;
contact?: number;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,5 +0,0 @@
export declare type CreateRunnerTeam = {
parentGroup: number;
name: string;
contact?: number;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,3 +0,0 @@
export declare type CreateStatsClient = {
description?: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,4 +0,0 @@
export declare type CreateTrack = {
name: string;
distance: number;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,11 +0,0 @@
export declare type CreateUser = {
firstname: string;
middlename?: string;
lastname: string;
username?: string;
email?: string;
phone?: string;
password: string;
enabled?: boolean;
groups?: any;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,4 +0,0 @@
export declare type CreateUserGroup = {
name: string;
description?: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,6 +0,0 @@
export declare type DistanceDonation = {
runner: string;
amountPerDistance: number;
id: number;
donor: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,4 +0,0 @@
export declare type Donation = {
id: number;
donor: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,9 +0,0 @@
export declare type GroupContact = {
id: number;
firstname: string;
middlename?: string;
lastname: string;
address?: any;
phone?: string;
email?: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,4 +0,0 @@
export declare type GroupContactNotFoundError = {
name: string;
message: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,4 +0,0 @@
export declare type GroupContactWrongTypeError = {
name: string;
message: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,4 +0,0 @@
export declare type GroupNameNeededError = {
name: string;
message: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,3 +0,0 @@
export declare type HandleLogout = {
token?: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,7 +0,0 @@
export declare type ImportRunner = {
firstname: string;
middlename?: string;
lastname: string;
team?: string;
class?: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,3 +0,0 @@
export declare type Logout = {
timestamp: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,8 +0,0 @@
export declare type Participant = {
id: number;
firstname: string;
middlename?: string;
lastname: string;
phone?: string;
email?: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -12,7 +12,8 @@ export declare namespace Permission {
USER = "USER", USER = "USER",
USERGROUP = "USERGROUP", USERGROUP = "USERGROUP",
PERMISSION = "PERMISSION", PERMISSION = "PERMISSION",
STATSCLIENT = "STATSCLIENT" STATSCLIENT = "STATSCLIENT",
DONOR = "DONOR"
} }
enum action { enum action {
GET = "GET", GET = "GET",

View File

@ -16,6 +16,7 @@ var Permission;
target["USERGROUP"] = "USERGROUP"; target["USERGROUP"] = "USERGROUP";
target["PERMISSION"] = "PERMISSION"; target["PERMISSION"] = "PERMISSION";
target["STATSCLIENT"] = "STATSCLIENT"; target["STATSCLIENT"] = "STATSCLIENT";
target["DONOR"] = "DONOR";
})(target = Permission.target || (Permission.target = {})); })(target = Permission.target || (Permission.target = {}));
let action; let action;
(function (action) { (function (action) {

View File

@ -1,4 +0,0 @@
export declare type PermissionIdsNotMatchingError = {
name: string;
message: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,4 +0,0 @@
export declare type PermissionNeedsPrincipalError = {
name: string;
message: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,4 +0,0 @@
export declare type PermissionNotFoundError = {
name: string;
message: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,4 +0,0 @@
export declare type PrincipalNotFoundError = {
name: string;
message: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,4 +0,0 @@
export declare type PrincipalWrongTypeError = {
name: string;
message: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,3 +0,0 @@
export declare type RefreshAuth = {
token?: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,4 +0,0 @@
export declare type ResetPassword = {
resetToken?: string;
password: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,3 +0,0 @@
export declare type ResponseEmpty = {
response: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,8 +0,0 @@
export declare type ResponseParticipant = {
id: number;
firstname: string;
middlename: string;
lastname: string;
phone: string;
email: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,26 +0,0 @@
import type { ResponsePrincipal } from './ResponsePrincipal';
export declare type ResponsePermission = {
id: number;
principal: ResponsePrincipal;
target: ResponsePermission.target;
action: ResponsePermission.action;
};
export declare namespace ResponsePermission {
enum target {
RUNNER = "RUNNER",
ORGANISATION = "ORGANISATION",
TEAM = "TEAM",
TRACK = "TRACK",
USER = "USER",
USERGROUP = "USERGROUP",
PERMISSION = "PERMISSION",
STATSCLIENT = "STATSCLIENT"
}
enum action {
GET = "GET",
CREATE = "CREATE",
UPDATE = "UPDATE",
DELETE = "DELETE",
IMPORT = "IMPORT"
}
}

View File

@ -1,28 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ResponsePermission = void 0;
var ResponsePermission;
(function (ResponsePermission) {
let target;
(function (target) {
target["RUNNER"] = "RUNNER";
target["ORGANISATION"] = "ORGANISATION";
target["TEAM"] = "TEAM";
target["TRACK"] = "TRACK";
target["USER"] = "USER";
target["USERGROUP"] = "USERGROUP";
target["PERMISSION"] = "PERMISSION";
target["STATSCLIENT"] = "STATSCLIENT";
})(target = ResponsePermission.target || (ResponsePermission.target = {}));
let action;
(function (action) {
action["GET"] = "GET";
action["CREATE"] = "CREATE";
action["UPDATE"] = "UPDATE";
action["DELETE"] = "DELETE";
action["IMPORT"] = "IMPORT";
})(action = ResponsePermission.action || (ResponsePermission.action = {}));
})(ResponsePermission = exports.ResponsePermission || (exports.ResponsePermission = {}));

View File

@ -1,11 +0,0 @@
import type { RunnerGroup } from './RunnerGroup';
export declare type ResponseRunner = {
distance: number;
group: RunnerGroup;
id: number;
firstname: string;
middlename: string;
lastname: string;
phone: string;
email: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,6 +0,0 @@
import type { GroupContact } from './GroupContact';
export declare type ResponseRunnerGroup = {
id: number;
name: string;
contact?: GroupContact;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,9 +0,0 @@
import type { Address } from './Address';
import type { GroupContact } from './GroupContact';
export declare type ResponseRunnerOrganisation = {
address: Address;
teams: Array<any>;
id: number;
name: string;
contact?: GroupContact;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,8 +0,0 @@
import type { GroupContact } from './GroupContact';
import type { RunnerOrganisation } from './RunnerOrganisation';
export declare type ResponseRunnerTeam = {
parentGroup: RunnerOrganisation;
id: number;
name: string;
contact?: GroupContact;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,10 +0,0 @@
export declare type ResponseStats = {
total_runners: number;
total_teams: number;
total_orgs: number;
total_users: number;
total_scans: number;
total_distance: number;
total_donation: number;
average_distance: number;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,6 +0,0 @@
export declare type ResponseStatsClient = {
id: number;
description?: string;
key?: string;
prefix: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,6 +0,0 @@
export declare type ResponseStatsOrgnisation = {
id: number;
name: string;
distance: number;
donationAmount: number;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,10 +0,0 @@
import type { RunnerGroup } from './RunnerGroup';
export declare type ResponseStatsRunner = {
id: number;
firstname: string;
middlename: string;
lastname: string;
distance: number;
donationAmount: number;
group: RunnerGroup;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,8 +0,0 @@
import type { RunnerGroup } from './RunnerGroup';
export declare type ResponseStatsTeam = {
id: number;
name: string;
distance: number;
donationAmount: number;
parent: RunnerGroup;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,5 +0,0 @@
export declare type ResponseTrack = {
id: number;
name: string;
distance: number;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,11 +0,0 @@
export declare type Runner = {
group: string;
distance: number;
distanceDonationAmount: number;
id: number;
firstname: string;
middlename?: string;
lastname: string;
phone?: string;
email?: string;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@ -1,6 +0,0 @@
export declare type RunnerCard = {
id: number;
runner?: any;
code: string;
enabled: boolean;
};

View File

@ -1,5 +0,0 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

Some files were not shown because too many files have changed in this diff Show More