new lib version [CI SKIP]
This commit is contained in:
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
||||
export declare type CreateAuth = {
|
||||
username?: string;
|
||||
password: string;
|
||||
email?: string;
|
||||
password: string;
|
||||
};
|
||||
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
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"
|
||||
}
|
||||
enum action {
|
||||
GET = "GET",
|
||||
CREATE = "CREATE",
|
||||
UPDATE = "UPDATE",
|
||||
DELETE = "DELETE",
|
||||
IMPORT = "IMPORT"
|
||||
}
|
||||
}
|
||||
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
"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 = 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 = {}));
|
||||
Vendored
+1
-1
@@ -6,5 +6,5 @@ export declare type CreateUser = {
|
||||
email?: string;
|
||||
phone?: string;
|
||||
password: string;
|
||||
groupId?: any;
|
||||
groups?: any;
|
||||
};
|
||||
|
||||
Vendored
-4
@@ -1,4 +0,0 @@
|
||||
export declare type ExpiredJWTError = {
|
||||
name: string;
|
||||
message: string;
|
||||
};
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
export declare type ImportRunner = {
|
||||
firstname: string;
|
||||
middlename?: string;
|
||||
lastname: string;
|
||||
team?: string;
|
||||
class?: string;
|
||||
};
|
||||
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
export declare type JwtUser = {
|
||||
id: number;
|
||||
uuid: string;
|
||||
email?: string;
|
||||
username?: string;
|
||||
firstname: string;
|
||||
middlename?: string;
|
||||
lastname: string;
|
||||
enabled: boolean;
|
||||
refreshTokenCount: number;
|
||||
profilePic?: string;
|
||||
};
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
Vendored
+20
-2
@@ -1,5 +1,23 @@
|
||||
export declare type Permission = {
|
||||
id: number;
|
||||
target: string;
|
||||
action: string;
|
||||
target: Permission.target;
|
||||
action: Permission.action;
|
||||
};
|
||||
export declare namespace Permission {
|
||||
enum target {
|
||||
RUNNER = "RUNNER",
|
||||
ORGANISATION = "ORGANISATION",
|
||||
TEAM = "TEAM",
|
||||
TRACK = "TRACK",
|
||||
USER = "USER",
|
||||
USERGROUP = "USERGROUP",
|
||||
PERMISSION = "PERMISSION"
|
||||
}
|
||||
enum action {
|
||||
GET = "GET",
|
||||
CREATE = "CREATE",
|
||||
UPDATE = "UPDATE",
|
||||
DELETE = "DELETE",
|
||||
IMPORT = "IMPORT"
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+22
@@ -3,3 +3,25 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Permission = void 0;
|
||||
var Permission;
|
||||
(function (Permission) {
|
||||
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 = Permission.target || (Permission.target = {}));
|
||||
let action;
|
||||
(function (action) {
|
||||
action["GET"] = "GET";
|
||||
action["CREATE"] = "CREATE";
|
||||
action["UPDATE"] = "UPDATE";
|
||||
action["DELETE"] = "DELETE";
|
||||
action["IMPORT"] = "IMPORT";
|
||||
})(action = Permission.action || (Permission.action = {}));
|
||||
})(Permission = exports.Permission || (exports.Permission = {}));
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
export declare type PermissionIdsNotMatchingError = {
|
||||
name: string;
|
||||
message: string;
|
||||
};
|
||||
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
@@ -0,0 +1,4 @@
|
||||
export declare type PermissionNeedsPrincipalError = {
|
||||
name: string;
|
||||
message: string;
|
||||
};
|
||||
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
export declare type PermissionNotFoundError = {
|
||||
name: string;
|
||||
message: string;
|
||||
};
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
export declare type Principal = {
|
||||
id: number;
|
||||
};
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
export declare type PrincipalNotFoundError = {
|
||||
name: string;
|
||||
message: string;
|
||||
};
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
export declare type PrincipalWrongTypeError = {
|
||||
name: string;
|
||||
message: string;
|
||||
};
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
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"
|
||||
}
|
||||
enum action {
|
||||
GET = "GET",
|
||||
CREATE = "CREATE",
|
||||
UPDATE = "UPDATE",
|
||||
DELETE = "DELETE",
|
||||
IMPORT = "IMPORT"
|
||||
}
|
||||
}
|
||||
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
"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 = 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 = {}));
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
export declare type ResponsePrincipal = {
|
||||
id: number;
|
||||
};
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
export declare type ResponseUser = {
|
||||
firstname: string;
|
||||
middlename: string;
|
||||
lastname: string;
|
||||
phone: string;
|
||||
email: string;
|
||||
username: string;
|
||||
enabled: boolean;
|
||||
profilePic?: string;
|
||||
groups?: Array<any>;
|
||||
permissions?: Array<any>;
|
||||
id: number;
|
||||
};
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
export declare type ResponseUserGroup = {
|
||||
name: string;
|
||||
description?: string;
|
||||
permissions?: Array<any>;
|
||||
id: number;
|
||||
};
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
import type { Principal } from './Principal';
|
||||
export declare type UpdatePermission = {
|
||||
id: number;
|
||||
principal: Principal;
|
||||
target: string;
|
||||
action: string;
|
||||
};
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
export declare type UpdateRunnerOrganisation = {
|
||||
id: number;
|
||||
address?: number;
|
||||
name: string;
|
||||
contact?: number;
|
||||
};
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
export declare type UpdateUser = {
|
||||
id: number;
|
||||
firstname: string;
|
||||
middlename?: string;
|
||||
lastname: string;
|
||||
username?: string;
|
||||
email?: string;
|
||||
phone?: string;
|
||||
password?: string;
|
||||
enabled: boolean;
|
||||
groups?: any;
|
||||
};
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
Vendored
+1
-2
@@ -1,5 +1,4 @@
|
||||
export declare type User = {
|
||||
id: number;
|
||||
uuid: string;
|
||||
email: string;
|
||||
phone?: string;
|
||||
@@ -8,10 +7,10 @@ export declare type User = {
|
||||
middlename?: string;
|
||||
lastname: string;
|
||||
password: string;
|
||||
permissions?: any;
|
||||
groups?: any;
|
||||
enabled: boolean;
|
||||
refreshTokenCount: number;
|
||||
profilePic?: string;
|
||||
actions?: any;
|
||||
id: number;
|
||||
};
|
||||
|
||||
Vendored
+10
-1
@@ -1,6 +1,15 @@
|
||||
export declare type UserAction = {
|
||||
id: number;
|
||||
target: string;
|
||||
action: string;
|
||||
action: UserAction.action;
|
||||
changed?: string;
|
||||
};
|
||||
export declare namespace UserAction {
|
||||
enum action {
|
||||
GET = "GET",
|
||||
CREATE = "CREATE",
|
||||
UPDATE = "UPDATE",
|
||||
DELETE = "DELETE",
|
||||
IMPORT = "IMPORT"
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+12
@@ -3,3 +3,15 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.UserAction = void 0;
|
||||
var UserAction;
|
||||
(function (UserAction) {
|
||||
let action;
|
||||
(function (action) {
|
||||
action["GET"] = "GET";
|
||||
action["CREATE"] = "CREATE";
|
||||
action["UPDATE"] = "UPDATE";
|
||||
action["DELETE"] = "DELETE";
|
||||
action["IMPORT"] = "IMPORT";
|
||||
})(action = UserAction.action || (UserAction.action = {}));
|
||||
})(UserAction = exports.UserAction || (exports.UserAction = {}));
|
||||
|
||||
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
||||
export declare type UserGroup = {
|
||||
id: number;
|
||||
name: string;
|
||||
description?: string;
|
||||
id: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user