@odit/lfk-client-js
Advanced tools
Comparing version 0.0.9 to 0.0.10
import type { CreateUser } from '../models/CreateUser'; | ||
import type { ResponseEmpty } from '../models/ResponseEmpty'; | ||
import type { ResponseUser } from '../models/ResponseUser'; | ||
import type { UpdateUser } from '../models/UpdateUser'; | ||
import type { User } from '../models/User'; | ||
import type { UserGroupNotFoundError } from '../models/UserGroupNotFoundError'; | ||
@@ -10,6 +10,6 @@ export declare class UserService { | ||
* Lists all users. <br> This includes their groups and permissions directly granted to them (if existing/associated). | ||
* @returns User | ||
* @returns ResponseUser | ||
* @throws ApiError | ||
*/ | ||
static userControllerGetAll(): Promise<Array<User>>; | ||
static userControllerGetAll(): Promise<Array<ResponseUser>>; | ||
/** | ||
@@ -22,3 +22,3 @@ * Post | ||
*/ | ||
static userControllerPost(requestBody?: CreateUser): Promise<(User | UserGroupNotFoundError)>; | ||
static userControllerPost(requestBody?: CreateUser): Promise<(ResponseUser | UserGroupNotFoundError)>; | ||
/** | ||
@@ -28,6 +28,6 @@ * Get one | ||
* @param id | ||
* @returns User | ||
* @returns ResponseUser | ||
* @throws ApiError | ||
*/ | ||
static userControllerGetOne(id: number): Promise<User>; | ||
static userControllerGetOne(id: number): Promise<ResponseUser>; | ||
/** | ||
@@ -38,6 +38,6 @@ * Put | ||
* @param requestBody UpdateUser | ||
* @returns User | ||
* @returns ResponseUser | ||
* @throws ApiError | ||
*/ | ||
static userControllerPut(id: number, requestBody?: UpdateUser): Promise<User>; | ||
static userControllerPut(id: number, requestBody?: UpdateUser): Promise<ResponseUser>; | ||
/** | ||
@@ -48,7 +48,7 @@ * Remove | ||
* @param force | ||
* @returns User | ||
* @returns ResponseUser | ||
* @returns ResponseEmpty | ||
* @throws ApiError | ||
*/ | ||
static userControllerRemove(id: number, force?: boolean): Promise<User | ResponseEmpty>; | ||
static userControllerRemove(id: number, force?: boolean): Promise<ResponseUser | ResponseEmpty>; | ||
} |
@@ -9,3 +9,3 @@ "use strict"; | ||
* Lists all users. <br> This includes their groups and permissions directly granted to them (if existing/associated). | ||
* @returns User | ||
* @returns ResponseUser | ||
* @throws ApiError | ||
@@ -39,3 +39,3 @@ */ | ||
* @param id | ||
* @returns User | ||
* @returns ResponseUser | ||
* @throws ApiError | ||
@@ -55,3 +55,3 @@ */ | ||
* @param requestBody UpdateUser | ||
* @returns User | ||
* @returns ResponseUser | ||
* @throws ApiError | ||
@@ -72,3 +72,3 @@ */ | ||
* @param force | ||
* @returns User | ||
* @returns ResponseUser | ||
* @returns ResponseEmpty | ||
@@ -75,0 +75,0 @@ * @throws ApiError |
{ | ||
"name": "@odit/lfk-client-js", | ||
"description": "A lib to interact with https://git.odit.services/lfk/backend. Use this version for native JS applications.", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"license": "CC-BY-NC-SA-4.0", | ||
@@ -6,0 +6,0 @@ "main": "./dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
154369