This commit is contained in:
Oscar
2026-06-04 14:37:19 +03:00
parent 2d665fab66
commit 1c69ff56bb
7 changed files with 247 additions and 45 deletions

View File

@@ -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
*