From 90652889d404897c059e5755905ac38ed3ebbf7b Mon Sep 17 00:00:00 2001 From: Paul Gerold Date: Thu, 19 Dec 2024 11:05:53 -0500 Subject: [PATCH] feat(MLX): deprecated UserActionHistory class --- .../UserActionHistoryConfiguration.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/resources/MachineLearning/UserActionHistoryConfiguration/UserActionHistoryConfiguration.ts b/src/resources/MachineLearning/UserActionHistoryConfiguration/UserActionHistoryConfiguration.ts index de35860dd..3bb87d6d0 100644 --- a/src/resources/MachineLearning/UserActionHistoryConfiguration/UserActionHistoryConfiguration.ts +++ b/src/resources/MachineLearning/UserActionHistoryConfiguration/UserActionHistoryConfiguration.ts @@ -1,17 +1,29 @@ import API from '../../../APICore.js'; import Resource from '../../Resource.js'; +/** + * @deprecated Will be removed from the API in January 2025 + */ export default class UserActionHistoryConfiguration extends Resource { static baseUrl = `/rest/organizations/${API.orgPlaceholder}/machinelearning/configuration/useractionhistory`; + /** + * @deprecated + */ create() { return this.api.post(UserActionHistoryConfiguration.baseUrl); } + /** + * @deprecated + */ delete() { return this.api.delete(UserActionHistoryConfiguration.baseUrl); } + /** + * @deprecated + */ get() { return this.api.get(UserActionHistoryConfiguration.baseUrl); }