new lib version [CI SKIP]

This commit is contained in:
2020-12-13 18:49:21 +00:00
parent 55cdf79f9c
commit 823fb926a5
87 changed files with 859 additions and 0 deletions

9
dist/models/Address.d.ts vendored Normal file
View File

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

4
dist/models/AddressNotFoundError.d.ts vendored Normal file
View File

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

View File

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

6
dist/models/Auth.d.ts vendored Normal file
View File

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

5
dist/models/CreateAuth.d.ts vendored Normal file
View File

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

8
dist/models/CreateParticipant.d.ts vendored Normal file
View File

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

9
dist/models/CreateRunner.d.ts vendored Normal file
View File

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

4
dist/models/CreateRunnerGroup.d.ts vendored Normal file
View File

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

View File

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

5
dist/models/CreateRunnerTeam.d.ts vendored Normal file
View File

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

4
dist/models/CreateTrack.d.ts vendored Normal file
View File

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

10
dist/models/CreateUser.d.ts vendored Normal file
View File

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

4
dist/models/CreateUserGroup.d.ts vendored Normal file
View File

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

6
dist/models/DistanceDonation.d.ts vendored Normal file
View File

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

4
dist/models/Donation.d.ts vendored Normal file
View File

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

4
dist/models/ExpiredJWTError.d.ts vendored Normal file
View File

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

9
dist/models/GroupContact.d.ts vendored Normal file
View File

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

View File

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

View File

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

4
dist/models/GroupNameNeededError.d.ts vendored Normal file
View File

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

3
dist/models/HandleLogout.d.ts vendored Normal file
View File

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

4
dist/models/IllegalJWTError.d.ts vendored Normal file
View File

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

View File

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

4
dist/models/JwtNotProvidedError.d.ts vendored Normal file
View File

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

3
dist/models/Logout.d.ts vendored Normal file
View File

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

4
dist/models/NoPermissionError.d.ts vendored Normal file
View File

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

8
dist/models/Participant.d.ts vendored Normal file
View File

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

4
dist/models/PasswordNeededError.d.ts vendored Normal file
View File

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

5
dist/models/Permission.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
export declare type Permission = {
id: number;
target: string;
action: string;
};

3
dist/models/RefreshAuth.d.ts vendored Normal file
View File

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

View File

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

3
dist/models/ResponseEmpty.d.ts vendored Normal file
View File

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

8
dist/models/ResponseParticipant.d.ts vendored Normal file
View File

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

11
dist/models/ResponseRunner.d.ts vendored Normal file
View File

@@ -0,0 +1,11 @@
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;
};

6
dist/models/ResponseRunnerGroup.d.ts vendored Normal file
View File

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

View File

@@ -0,0 +1,9 @@
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;
};

8
dist/models/ResponseRunnerTeam.d.ts vendored Normal file
View File

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

5
dist/models/ResponseTrack.d.ts vendored Normal file
View File

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

10
dist/models/Runner.d.ts vendored Normal file
View File

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

6
dist/models/RunnerCard.d.ts vendored Normal file
View File

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

5
dist/models/RunnerGroup.d.ts vendored Normal file
View File

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

View File

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

View File

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

View File

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

4
dist/models/RunnerNotFoundError.d.ts vendored Normal file
View File

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

6
dist/models/RunnerOrganisation.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
export declare type RunnerOrganisation = {
address?: any;
id: number;
name: string;
contact?: any;
};

View File

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

View File

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

View File

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

View File

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

View File

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

6
dist/models/RunnerTeam.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
export declare type RunnerTeam = {
parentGroup: string;
id: number;
name: string;
contact?: any;
};

View File

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

View File

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

View File

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

View File

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

6
dist/models/Scan.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
export declare type Scan = {
id: number;
runner: string;
distance: number;
valid: boolean;
};

7
dist/models/ScanStation.d.ts vendored Normal file
View File

@@ -0,0 +1,7 @@
export declare type ScanStation = {
id: number;
description?: string;
track: string;
key: string;
enabled: boolean;
};

5
dist/models/Track.d.ts vendored Normal file
View File

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

View File

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

4
dist/models/TrackNotFoundError.d.ts vendored Normal file
View File

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

10
dist/models/TrackScan.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
export declare type TrackScan = {
track: string;
card: string;
station: string;
distance: number;
timestamp: string;
id: number;
runner: string;
valid: boolean;
};

11
dist/models/UpdateRunner.d.ts vendored Normal file
View File

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

7
dist/models/UpdateRunnerTeam.d.ts vendored Normal file
View File

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

17
dist/models/User.d.ts vendored Normal file
View File

@@ -0,0 +1,17 @@
export declare type User = {
id: number;
uuid: string;
email: string;
phone?: string;
username: string;
firstname: string;
middlename?: string;
lastname: string;
password: string;
permissions?: any;
groups?: any;
enabled: boolean;
refreshTokenCount: number;
profilePic?: string;
actions?: any;
};

6
dist/models/UserAction.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
export declare type UserAction = {
id: number;
target: string;
action: string;
changed?: string;
};

5
dist/models/UserGroup.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
export declare type UserGroup = {
id: number;
name: string;
description?: string;
};

View File

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

View File

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

View File

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

View File

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

4
dist/models/UserNotFoundError.d.ts vendored Normal file
View File

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

View File

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

View File

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