new lib version [CI SKIP]

This commit is contained in:
2021-01-10 17:19:49 +00:00
parent 7efff57b5d
commit 73636cbce4
45 changed files with 302 additions and 38 deletions

View File

@@ -15,7 +15,8 @@ export declare namespace CreatePermission {
STATSCLIENT = "STATSCLIENT",
DONOR = "DONOR",
SCAN = "SCAN",
STATION = "STATION"
STATION = "STATION",
CARD = "CARD"
}
enum action {
GET = "GET",

View File

@@ -19,6 +19,7 @@ var CreatePermission;
target["DONOR"] = "DONOR";
target["SCAN"] = "SCAN";
target["STATION"] = "STATION";
target["CARD"] = "CARD";
})(target = CreatePermission.target || (CreatePermission.target = {}));
let action;
(function (action) {

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

@@ -0,0 +1,4 @@
export declare type CreateRunnerCard = {
runner?: number;
enabled: boolean;
};

View File

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

View File

@@ -15,7 +15,8 @@ export declare namespace Permission {
STATSCLIENT = "STATSCLIENT",
DONOR = "DONOR",
SCAN = "SCAN",
STATION = "STATION"
STATION = "STATION",
CARD = "CARD"
}
enum action {
GET = "GET",

View File

@@ -19,6 +19,7 @@ var Permission;
target["DONOR"] = "DONOR";
target["SCAN"] = "SCAN";
target["STATION"] = "STATION";
target["CARD"] = "CARD";
})(target = Permission.target || (Permission.target = {}));
let action;
(function (action) {

View File

@@ -1,4 +1,4 @@
export declare type Auth = {
export declare type ResponseAuth = {
access_token: string;
refresh_token: string;
access_token_expires_at: number;

5
dist/models/ResponseAuth.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

@@ -16,7 +16,8 @@ export declare namespace ResponsePermission {
STATSCLIENT = "STATSCLIENT",
DONOR = "DONOR",
SCAN = "SCAN",
STATION = "STATION"
STATION = "STATION",
CARD = "CARD"
}
enum action {
GET = "GET",

View File

@@ -19,6 +19,7 @@ var ResponsePermission;
target["DONOR"] = "DONOR";
target["SCAN"] = "SCAN";
target["STATION"] = "STATION";
target["CARD"] = "CARD";
})(target = ResponsePermission.target || (ResponsePermission.target = {}));
let action;
(function (action) {

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

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

5
dist/models/ResponseRunnerCard.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

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

View File

@@ -0,0 +1,4 @@
export declare type RunnerCardHasScansError = {
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 RunnerCardIdOutOfRangeError = {
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 RunnerCardIdsNotMatchingError = {
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 RunnerCardNotFoundError = {
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

@@ -3,7 +3,7 @@ export declare type TrackScan = {
card: string;
station: string;
distance: number;
timestamp: string;
timestamp: number;
id: number;
runner: string;
valid: boolean;

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

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

5
dist/models/UpdateRunnerCard.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 });

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

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

5
dist/models/UpdateTrackScan.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/UpdateUserGroup.d.ts vendored Normal file
View File

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

5
dist/models/UpdateUserGroup.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 });