new lib version [CI SKIP]
This commit is contained in:
2
dist/models/CreateAuth.d.ts
vendored
2
dist/models/CreateAuth.d.ts
vendored
@@ -1,5 +1,5 @@
|
||||
export declare type CreateAuth = {
|
||||
username?: string;
|
||||
password: string;
|
||||
email?: string;
|
||||
password: string;
|
||||
};
|
||||
|
||||
23
dist/models/CreatePermission.d.ts
vendored
Normal file
23
dist/models/CreatePermission.d.ts
vendored
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
27
dist/models/CreatePermission.js
vendored
Normal file
27
dist/models/CreatePermission.js
vendored
Normal file
@@ -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 = {}));
|
||||
2
dist/models/CreateUser.d.ts
vendored
2
dist/models/CreateUser.d.ts
vendored
@@ -6,5 +6,5 @@ export declare type CreateUser = {
|
||||
email?: string;
|
||||
phone?: string;
|
||||
password: string;
|
||||
groupId?: any;
|
||||
groups?: any;
|
||||
};
|
||||
|
||||
4
dist/models/ExpiredJWTError.d.ts
vendored
4
dist/models/ExpiredJWTError.d.ts
vendored
@@ -1,4 +0,0 @@
|
||||
export declare type ExpiredJWTError = {
|
||||
name: string;
|
||||
message: string;
|
||||
};
|
||||
7
dist/models/ImportRunner.d.ts
vendored
Normal file
7
dist/models/ImportRunner.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
export declare type ImportRunner = {
|
||||
firstname: string;
|
||||
middlename?: string;
|
||||
lastname: string;
|
||||
team?: string;
|
||||
class?: string;
|
||||
};
|
||||
12
dist/models/JwtUser.d.ts
vendored
Normal file
12
dist/models/JwtUser.d.ts
vendored
Normal file
@@ -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;
|
||||
};
|
||||
5
dist/models/JwtUser.js
vendored
Normal file
5
dist/models/JwtUser.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
22
dist/models/Permission.d.ts
vendored
22
dist/models/Permission.d.ts
vendored
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
22
dist/models/Permission.js
vendored
22
dist/models/Permission.js
vendored
@@ -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 = {}));
|
||||
|
||||
4
dist/models/PermissionIdsNotMatchingError.d.ts
vendored
Normal file
4
dist/models/PermissionIdsNotMatchingError.d.ts
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
export declare type PermissionIdsNotMatchingError = {
|
||||
name: string;
|
||||
message: string;
|
||||
};
|
||||
5
dist/models/PermissionIdsNotMatchingError.js
vendored
Normal file
5
dist/models/PermissionIdsNotMatchingError.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
4
dist/models/PermissionNeedsPrincipalError.d.ts
vendored
Normal file
4
dist/models/PermissionNeedsPrincipalError.d.ts
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
export declare type PermissionNeedsPrincipalError = {
|
||||
name: string;
|
||||
message: string;
|
||||
};
|
||||
5
dist/models/PermissionNeedsPrincipalError.js
vendored
Normal file
5
dist/models/PermissionNeedsPrincipalError.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
4
dist/models/PermissionNotFoundError.d.ts
vendored
Normal file
4
dist/models/PermissionNotFoundError.d.ts
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
export declare type PermissionNotFoundError = {
|
||||
name: string;
|
||||
message: string;
|
||||
};
|
||||
5
dist/models/PermissionNotFoundError.js
vendored
Normal file
5
dist/models/PermissionNotFoundError.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
3
dist/models/Principal.d.ts
vendored
Normal file
3
dist/models/Principal.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
export declare type Principal = {
|
||||
id: number;
|
||||
};
|
||||
5
dist/models/Principal.js
vendored
Normal file
5
dist/models/Principal.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
4
dist/models/PrincipalNotFoundError.d.ts
vendored
Normal file
4
dist/models/PrincipalNotFoundError.d.ts
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
export declare type PrincipalNotFoundError = {
|
||||
name: string;
|
||||
message: string;
|
||||
};
|
||||
5
dist/models/PrincipalNotFoundError.js
vendored
Normal file
5
dist/models/PrincipalNotFoundError.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
4
dist/models/PrincipalWrongTypeError.d.ts
vendored
Normal file
4
dist/models/PrincipalWrongTypeError.d.ts
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
export declare type PrincipalWrongTypeError = {
|
||||
name: string;
|
||||
message: string;
|
||||
};
|
||||
5
dist/models/PrincipalWrongTypeError.js
vendored
Normal file
5
dist/models/PrincipalWrongTypeError.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
25
dist/models/ResponsePermission.d.ts
vendored
Normal file
25
dist/models/ResponsePermission.d.ts
vendored
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
27
dist/models/ResponsePermission.js
vendored
Normal file
27
dist/models/ResponsePermission.js
vendored
Normal file
@@ -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 = {}));
|
||||
3
dist/models/ResponsePrincipal.d.ts
vendored
Normal file
3
dist/models/ResponsePrincipal.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
export declare type ResponsePrincipal = {
|
||||
id: number;
|
||||
};
|
||||
5
dist/models/ResponsePrincipal.js
vendored
Normal file
5
dist/models/ResponsePrincipal.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
13
dist/models/ResponseUser.d.ts
vendored
Normal file
13
dist/models/ResponseUser.d.ts
vendored
Normal file
@@ -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;
|
||||
};
|
||||
5
dist/models/ResponseUser.js
vendored
Normal file
5
dist/models/ResponseUser.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
6
dist/models/ResponseUserGroup.d.ts
vendored
Normal file
6
dist/models/ResponseUserGroup.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
export declare type ResponseUserGroup = {
|
||||
name: string;
|
||||
description?: string;
|
||||
permissions?: Array<any>;
|
||||
id: number;
|
||||
};
|
||||
5
dist/models/ResponseUserGroup.js
vendored
Normal file
5
dist/models/ResponseUserGroup.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
7
dist/models/UpdatePermission.d.ts
vendored
Normal file
7
dist/models/UpdatePermission.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { Principal } from './Principal';
|
||||
export declare type UpdatePermission = {
|
||||
id: number;
|
||||
principal: Principal;
|
||||
target: string;
|
||||
action: string;
|
||||
};
|
||||
5
dist/models/UpdatePermission.js
vendored
Normal file
5
dist/models/UpdatePermission.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
6
dist/models/UpdateRunnerOrganisation.d.ts
vendored
Normal file
6
dist/models/UpdateRunnerOrganisation.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
export declare type UpdateRunnerOrganisation = {
|
||||
id: number;
|
||||
address?: number;
|
||||
name: string;
|
||||
contact?: number;
|
||||
};
|
||||
5
dist/models/UpdateRunnerOrganisation.js
vendored
Normal file
5
dist/models/UpdateRunnerOrganisation.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
12
dist/models/UpdateUser.d.ts
vendored
Normal file
12
dist/models/UpdateUser.d.ts
vendored
Normal file
@@ -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;
|
||||
};
|
||||
5
dist/models/UpdateUser.js
vendored
Normal file
5
dist/models/UpdateUser.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
3
dist/models/User.d.ts
vendored
3
dist/models/User.d.ts
vendored
@@ -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;
|
||||
};
|
||||
|
||||
11
dist/models/UserAction.d.ts
vendored
11
dist/models/UserAction.d.ts
vendored
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
12
dist/models/UserAction.js
vendored
12
dist/models/UserAction.js
vendored
@@ -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 = {}));
|
||||
|
||||
2
dist/models/UserGroup.d.ts
vendored
2
dist/models/UserGroup.d.ts
vendored
@@ -1,5 +1,5 @@
|
||||
export declare type UserGroup = {
|
||||
id: number;
|
||||
name: string;
|
||||
description?: string;
|
||||
id: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user