upd
This commit is contained in:
@@ -268,6 +268,25 @@ export class Api<
|
||||
...params,
|
||||
}),
|
||||
|
||||
/**
|
||||
* @tags Items
|
||||
* @name ItemsAddValueCreate
|
||||
* @summary Create a new item with a given value
|
||||
* @request POST:/api/items/add-value
|
||||
*/
|
||||
itemsAddValueCreate: (
|
||||
data: { value: string },
|
||||
params: RequestParams = {},
|
||||
) =>
|
||||
this.request<{ id: number; value: string }, void>({
|
||||
path: `/api/items/add-value`,
|
||||
method: "POST",
|
||||
body: data,
|
||||
type: ContentType.Json,
|
||||
format: "json",
|
||||
...params,
|
||||
}),
|
||||
|
||||
/**
|
||||
* No description
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user