|
|
@@ -1,4 +1,4 @@
|
|
|
-import { apiv3Post, apiv3Put, apiv3Delete } from '~/client/util/apiv3-client';
|
|
|
+import { apiv3Post, apiv3Delete } from '~/client/util/apiv3-client';
|
|
|
|
|
|
import type { UpsertAiAssistantData } from '../../interfaces/ai-assistant';
|
|
|
|
|
|
@@ -6,10 +6,6 @@ export const createAiAssistant = async(body: UpsertAiAssistantData): Promise<voi
|
|
|
await apiv3Post('/openai/ai-assistant', body);
|
|
|
};
|
|
|
|
|
|
-export const updateAiAssistant = async(id: string, body: UpsertAiAssistantData): Promise<void> => {
|
|
|
- await apiv3Put(`/openai/ai-assistant/${id}`, body);
|
|
|
-};
|
|
|
-
|
|
|
export const deleteAiAssistant = async(id: string): Promise<void> => {
|
|
|
await apiv3Delete(`/openai/ai-assistant/${id}`);
|
|
|
};
|