🚀New lib version v0.3.0 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2021-01-24 18:01:44 +00:00
parent bec78aa2fd
commit 01191cefe9
54 changed files with 238 additions and 143 deletions

View File

@@ -6,7 +6,7 @@ export declare type CreatePermission = {
export declare namespace CreatePermission {
enum target {
RUNNER = "RUNNER",
ORGANISATION = "ORGANISATION",
ORGANIZATION = "ORGANIZATION",
TEAM = "TEAM",
TRACK = "TRACK",
USER = "USER",

View File

@@ -9,7 +9,7 @@ var CreatePermission;
let target;
(function (target) {
target["RUNNER"] = "RUNNER";
target["ORGANISATION"] = "ORGANISATION";
target["ORGANIZATION"] = "ORGANIZATION";
target["TEAM"] = "TEAM";
target["TRACK"] = "TRACK";
target["USER"] = "USER";

View File

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

View File

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

View File

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

View File

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

View File

@@ -6,7 +6,7 @@ export declare type Permission = {
export declare namespace Permission {
enum target {
RUNNER = "RUNNER",
ORGANISATION = "ORGANISATION",
ORGANIZATION = "ORGANIZATION",
TEAM = "TEAM",
TRACK = "TRACK",
USER = "USER",

View File

@@ -9,7 +9,7 @@ var Permission;
let target;
(function (target) {
target["RUNNER"] = "RUNNER";
target["ORGANISATION"] = "ORGANISATION";
target["ORGANIZATION"] = "ORGANIZATION";
target["TEAM"] = "TEAM";
target["TRACK"] = "TRACK";
target["USER"] = "USER";

View File

@@ -7,7 +7,7 @@ export declare type ResponsePermission = {
export declare namespace ResponsePermission {
enum target {
RUNNER = "RUNNER",
ORGANISATION = "ORGANISATION",
ORGANIZATION = "ORGANIZATION",
TEAM = "TEAM",
TRACK = "TRACK",
USER = "USER",

View File

@@ -9,7 +9,7 @@ var ResponsePermission;
let target;
(function (target) {
target["RUNNER"] = "RUNNER";
target["ORGANISATION"] = "ORGANISATION";
target["ORGANIZATION"] = "ORGANIZATION";
target["TEAM"] = "TEAM";
target["TRACK"] = "TRACK";
target["USER"] = "USER";

View File

@@ -1,7 +0,0 @@
export declare type ResponseRunnerOrganisation = {
address?: any;
teams: Array<any>;
id: number;
name: string;
contact?: any;
};

View File

@@ -0,0 +1,9 @@
export declare type ResponseRunnerOrganization = {
address?: any;
teams: Array<any>;
registrationKey?: string;
registrationEnabled?: boolean;
id: number;
name: string;
contact?: any;
};

View File

@@ -3,6 +3,7 @@ export declare type ResponseSelfServiceRunner = {
donationAmount: number;
group: string;
donations: string;
token?: string;
id: number;
firstname: string;
middlename: string;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,5 +1,6 @@
export declare type RunnerOrganisation = {
export declare type RunnerOrganization = {
address?: any;
key?: string;
distance: number;
distanceDonationAmount: number;
id: number;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,7 @@
export declare type UpdateRunnerOrganization = {
id: number;
address?: any;
registrationEnabled?: boolean;
name: string;
contact?: number;
};

View File

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