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

This commit is contained in:
2021-01-08 19:56:49 +00:00
parent 7d6de0936f
commit b9e573311c
51 changed files with 490 additions and 11 deletions

View File

@@ -13,7 +13,9 @@ export declare namespace CreatePermission {
USERGROUP = "USERGROUP",
PERMISSION = "PERMISSION",
STATSCLIENT = "STATSCLIENT",
DONOR = "DONOR"
DONOR = "DONOR",
SCAN = "SCAN",
STATION = "STATION"
}
enum action {
GET = "GET",

View File

@@ -17,6 +17,8 @@ var CreatePermission;
target["PERMISSION"] = "PERMISSION";
target["STATSCLIENT"] = "STATSCLIENT";
target["DONOR"] = "DONOR";
target["SCAN"] = "SCAN";
target["STATION"] = "STATION";
})(target = CreatePermission.target || (CreatePermission.target = {}));
let action;
(function (action) {

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

@@ -0,0 +1,5 @@
export declare type CreateScan = {
runner: number;
valid?: boolean;
distance: number;
};

5
dist/models/CreateScan.js vendored Normal file
View File

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

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

@@ -0,0 +1,5 @@
export declare type CreateScanStation = {
description?: string;
track: number;
enabled?: boolean;
};

5
dist/models/CreateScanStation.js vendored Normal file
View File

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

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

@@ -0,0 +1,8 @@
export declare type CreateTrackScan = {
track: string;
card: string;
station: string;
runner: number;
valid?: boolean;
distance: number;
};

5
dist/models/CreateTrackScan.js vendored Normal file
View File

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

View File

@@ -8,4 +8,5 @@ export declare type CreateUser = {
password: string;
enabled?: boolean;
groups?: any;
profilePic?: string;
};

View File

@@ -13,7 +13,9 @@ export declare namespace Permission {
USERGROUP = "USERGROUP",
PERMISSION = "PERMISSION",
STATSCLIENT = "STATSCLIENT",
DONOR = "DONOR"
DONOR = "DONOR",
SCAN = "SCAN",
STATION = "STATION"
}
enum action {
GET = "GET",

View File

@@ -17,6 +17,8 @@ var Permission;
target["PERMISSION"] = "PERMISSION";
target["STATSCLIENT"] = "STATSCLIENT";
target["DONOR"] = "DONOR";
target["SCAN"] = "SCAN";
target["STATION"] = "STATION";
})(target = Permission.target || (Permission.target = {}));
let action;
(function (action) {

View File

@@ -14,7 +14,9 @@ export declare namespace ResponsePermission {
USERGROUP = "USERGROUP",
PERMISSION = "PERMISSION",
STATSCLIENT = "STATSCLIENT",
DONOR = "DONOR"
DONOR = "DONOR",
SCAN = "SCAN",
STATION = "STATION"
}
enum action {
GET = "GET",

View File

@@ -17,6 +17,8 @@ var ResponsePermission;
target["PERMISSION"] = "PERMISSION";
target["STATSCLIENT"] = "STATSCLIENT";
target["DONOR"] = "DONOR";
target["SCAN"] = "SCAN";
target["STATION"] = "STATION";
})(target = ResponsePermission.target || (ResponsePermission.target = {}));
let action;
(function (action) {

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

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

5
dist/models/ResponseScan.js vendored Normal file
View File

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

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

@@ -0,0 +1,8 @@
export declare type ResponseScanStation = {
id: number;
description?: string;
key?: string;
prefix: string;
track: any;
enabled: boolean;
};

5
dist/models/ResponseScanStation.js vendored Normal file
View File

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

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

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

5
dist/models/ResponseTrackScan.js vendored Normal file
View File

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

View File

@@ -6,7 +6,7 @@ export declare type ResponseUser = {
email: string;
username: string;
enabled: boolean;
profilePic?: string;
profilePic: string;
groups?: Array<any>;
permissions?: Array<any>;
id: number;

View File

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

View File

@@ -0,0 +1,4 @@
export declare type ScanIdsNotMatchingError = {
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 });

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

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

5
dist/models/ScanNotFoundError.js vendored Normal file
View File

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

View File

@@ -2,6 +2,8 @@ export declare type ScanStation = {
id: number;
description?: string;
track: string;
prefix: string;
key: string;
cleartextkey?: string;
enabled: boolean;
};

View File

@@ -0,0 +1,4 @@
export declare type ScanStationHasScansError = {
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 ScanStationIdsNotMatchingError = {
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 ScanStationNotFoundError = {
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 TrackHasScanStationsError = {
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

@@ -7,4 +7,5 @@ export declare type TrackScan = {
id: number;
runner: string;
valid: boolean;
_distance: number;
};

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

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

5
dist/models/UpdateScan.js vendored Normal file
View File

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

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

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

5
dist/models/UpdateScanStation.js vendored Normal file
View File

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

View File

@@ -9,4 +9,5 @@ export declare type UpdateUser = {
password?: string;
enabled: boolean;
groups?: any;
profilePic?: string;
};

View File

@@ -10,7 +10,7 @@ export declare type User = {
groups?: any;
enabled: boolean;
refreshTokenCount: number;
profilePic?: string;
profilePic: string;
resetRequestedTimestamp?: string;
actions?: any;
id: number;