@openfilz-sdk/typescript-ee 1.7.4 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/.openapi-generator/FILES +16 -1
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +16 -2
  4. package/api/aichat-api.ts +341 -0
  5. package/api/aisettings-api.ts +335 -0
  6. package/api.ts +2 -0
  7. package/common.ts +2 -2
  8. package/dist/api/aichat-api.d.ts +161 -0
  9. package/dist/api/aichat-api.js +332 -0
  10. package/dist/api/aisettings-api.d.ts +157 -0
  11. package/dist/api/aisettings-api.js +326 -0
  12. package/dist/api/collaboration-audit-controller-api.d.ts +3 -3
  13. package/dist/api/collaboration-controller-api.d.ts +15 -15
  14. package/dist/api/comments-api.d.ts +3 -3
  15. package/dist/api/dashboard-api.d.ts +1 -1
  16. package/dist/api/delegated-browse-grants-admin-api.d.ts +5 -5
  17. package/dist/api/delegated-browse-grants-end-user-api.d.ts +5 -5
  18. package/dist/api/digital-signature-api.d.ts +6 -6
  19. package/dist/api/digital-signature-public-api.d.ts +5 -5
  20. package/dist/api/document-controller-api.d.ts +15 -15
  21. package/dist/api/document-suggestion-controller-api.d.ts +1 -1
  22. package/dist/api/document-version-controller-api.d.ts +3 -3
  23. package/dist/api/favorites-api.d.ts +4 -4
  24. package/dist/api/file-controller-api.d.ts +4 -4
  25. package/dist/api/folder-controller-api.d.ts +7 -7
  26. package/dist/api/notifications-api.d.ts +5 -5
  27. package/dist/api/scan-agent-api.d.ts +2 -2
  28. package/dist/api/scanner-proxy-api.d.ts +5 -5
  29. package/dist/api/search-administration-api.d.ts +4 -4
  30. package/dist/api/settings-api.d.ts +2 -2
  31. package/dist/api/tus-controller-api.d.ts +9 -9
  32. package/dist/api/upload-token-controller-api.d.ts +2 -2
  33. package/dist/api/user-privacy-api.d.ts +2 -2
  34. package/dist/api/webhook-proxy-controller-api.d.ts +7 -7
  35. package/dist/api.d.ts +2 -0
  36. package/dist/api.js +2 -0
  37. package/dist/esm/api/aichat-api.d.ts +161 -0
  38. package/dist/esm/api/aichat-api.js +325 -0
  39. package/dist/esm/api/aisettings-api.d.ts +157 -0
  40. package/dist/esm/api/aisettings-api.js +319 -0
  41. package/dist/esm/api/collaboration-audit-controller-api.d.ts +3 -3
  42. package/dist/esm/api/collaboration-controller-api.d.ts +15 -15
  43. package/dist/esm/api/comments-api.d.ts +3 -3
  44. package/dist/esm/api/dashboard-api.d.ts +1 -1
  45. package/dist/esm/api/delegated-browse-grants-admin-api.d.ts +5 -5
  46. package/dist/esm/api/delegated-browse-grants-end-user-api.d.ts +5 -5
  47. package/dist/esm/api/digital-signature-api.d.ts +6 -6
  48. package/dist/esm/api/digital-signature-public-api.d.ts +5 -5
  49. package/dist/esm/api/document-controller-api.d.ts +15 -15
  50. package/dist/esm/api/document-suggestion-controller-api.d.ts +1 -1
  51. package/dist/esm/api/document-version-controller-api.d.ts +3 -3
  52. package/dist/esm/api/favorites-api.d.ts +4 -4
  53. package/dist/esm/api/file-controller-api.d.ts +4 -4
  54. package/dist/esm/api/folder-controller-api.d.ts +7 -7
  55. package/dist/esm/api/notifications-api.d.ts +5 -5
  56. package/dist/esm/api/scan-agent-api.d.ts +2 -2
  57. package/dist/esm/api/scanner-proxy-api.d.ts +5 -5
  58. package/dist/esm/api/search-administration-api.d.ts +4 -4
  59. package/dist/esm/api/settings-api.d.ts +2 -2
  60. package/dist/esm/api/tus-controller-api.d.ts +9 -9
  61. package/dist/esm/api/upload-token-controller-api.d.ts +2 -2
  62. package/dist/esm/api/user-privacy-api.d.ts +2 -2
  63. package/dist/esm/api/webhook-proxy-controller-api.d.ts +7 -7
  64. package/dist/esm/api.d.ts +2 -0
  65. package/dist/esm/api.js +2 -0
  66. package/dist/esm/models/ai-chat-conversation.d.ts +18 -0
  67. package/dist/esm/models/ai-chat-conversation.js +14 -0
  68. package/dist/esm/models/ai-chat-request.d.ts +15 -0
  69. package/dist/esm/models/ai-chat-request.js +14 -0
  70. package/dist/esm/models/ai-chat-response.d.ts +23 -0
  71. package/dist/esm/models/ai-chat-response.js +18 -0
  72. package/dist/esm/models/ai-connection-test-result.d.ts +16 -0
  73. package/dist/esm/models/ai-connection-test-result.js +14 -0
  74. package/dist/esm/models/ai-settings-response.d.ts +21 -0
  75. package/dist/esm/models/ai-settings-response.js +14 -0
  76. package/dist/esm/models/index.d.ts +6 -0
  77. package/dist/esm/models/index.js +6 -0
  78. package/dist/esm/models/save-ai-settings-request.d.ts +36 -0
  79. package/dist/esm/models/save-ai-settings-request.js +19 -0
  80. package/dist/esm/models/settings.d.ts +2 -0
  81. package/dist/models/ai-chat-conversation.d.ts +18 -0
  82. package/dist/models/ai-chat-conversation.js +15 -0
  83. package/dist/models/ai-chat-request.d.ts +15 -0
  84. package/dist/models/ai-chat-request.js +15 -0
  85. package/dist/models/ai-chat-response.d.ts +23 -0
  86. package/dist/models/ai-chat-response.js +21 -0
  87. package/dist/models/ai-connection-test-result.d.ts +16 -0
  88. package/dist/models/ai-connection-test-result.js +15 -0
  89. package/dist/models/ai-settings-response.d.ts +21 -0
  90. package/dist/models/ai-settings-response.js +15 -0
  91. package/dist/models/index.d.ts +6 -0
  92. package/dist/models/index.js +6 -0
  93. package/dist/models/save-ai-settings-request.d.ts +36 -0
  94. package/dist/models/save-ai-settings-request.js +22 -0
  95. package/dist/models/settings.d.ts +2 -0
  96. package/docs/AIChatApi.md +209 -0
  97. package/docs/AISettingsApi.md +203 -0
  98. package/docs/AiChatConversation.md +28 -0
  99. package/docs/AiChatRequest.md +22 -0
  100. package/docs/AiChatResponse.md +26 -0
  101. package/docs/AiConnectionTestResult.md +24 -0
  102. package/docs/AiSettingsResponse.md +34 -0
  103. package/docs/SaveAiSettingsRequest.md +26 -0
  104. package/docs/Settings.md +4 -0
  105. package/models/ai-chat-conversation.ts +24 -0
  106. package/models/ai-chat-request.ts +21 -0
  107. package/models/ai-chat-response.ts +32 -0
  108. package/models/ai-connection-test-result.ts +22 -0
  109. package/models/ai-settings-response.ts +27 -0
  110. package/models/index.ts +6 -0
  111. package/models/save-ai-settings-request.ts +45 -0
  112. package/models/settings.ts +2 -0
  113. package/package.json +1 -1
@@ -0,0 +1,21 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface AiSettingsResponse {
13
+ 'enabled'?: boolean;
14
+ 'provider'?: string;
15
+ 'model'?: string;
16
+ 'baseUrl'?: string;
17
+ 'hasApiKey'?: boolean;
18
+ 'keySuffix'?: string;
19
+ 'defaultProvider'?: string;
20
+ 'defaultModel'?: string;
21
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * openfilz-api
6
+ * API for Document Management System
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,8 @@
1
+ export * from './ai-chat-conversation';
2
+ export * from './ai-chat-request';
3
+ export * from './ai-chat-response';
4
+ export * from './ai-connection-test-result';
5
+ export * from './ai-settings-response';
1
6
  export * from './ancestor-info';
2
7
  export * from './apply-signature-request';
3
8
  export * from './audit-log-details';
@@ -45,6 +50,7 @@ export * from './rename-request';
45
50
  export * from './replace-audit';
46
51
  export * from './restore-version-audit';
47
52
  export * from './restore-version-response';
53
+ export * from './save-ai-settings-request';
48
54
  export * from './scan-job-status-dto';
49
55
  export * from './scan-request-dto';
50
56
  export * from './scanner-info-dto';
@@ -14,6 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ai-chat-conversation"), exports);
18
+ __exportStar(require("./ai-chat-request"), exports);
19
+ __exportStar(require("./ai-chat-response"), exports);
20
+ __exportStar(require("./ai-connection-test-result"), exports);
21
+ __exportStar(require("./ai-settings-response"), exports);
17
22
  __exportStar(require("./ancestor-info"), exports);
18
23
  __exportStar(require("./apply-signature-request"), exports);
19
24
  __exportStar(require("./audit-log-details"), exports);
@@ -61,6 +66,7 @@ __exportStar(require("./rename-request"), exports);
61
66
  __exportStar(require("./replace-audit"), exports);
62
67
  __exportStar(require("./restore-version-audit"), exports);
63
68
  __exportStar(require("./restore-version-response"), exports);
69
+ __exportStar(require("./save-ai-settings-request"), exports);
64
70
  __exportStar(require("./scan-job-status-dto"), exports);
65
71
  __exportStar(require("./scan-request-dto"), exports);
66
72
  __exportStar(require("./scanner-info-dto"), exports);
@@ -0,0 +1,36 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface SaveAiSettingsRequest {
13
+ /**
14
+ * Chat LLM provider
15
+ */
16
+ 'provider': SaveAiSettingsRequestProviderEnum;
17
+ /**
18
+ * Model id, e.g. claude-opus-5, gpt-4o, gemini-2.5-flash
19
+ */
20
+ 'model'?: string;
21
+ /**
22
+ * Base URL — required for OPENAI_COMPATIBLE, ignored otherwise
23
+ */
24
+ 'baseUrl'?: string;
25
+ /**
26
+ * API key (write-only). Omit to keep the stored key.
27
+ */
28
+ 'apiKey'?: string;
29
+ }
30
+ export declare const SaveAiSettingsRequestProviderEnum: {
31
+ readonly Openai: "OPENAI";
32
+ readonly Anthropic: "ANTHROPIC";
33
+ readonly Google: "GOOGLE";
34
+ readonly OpenaiCompatible: "OPENAI_COMPATIBLE";
35
+ };
36
+ export type SaveAiSettingsRequestProviderEnum = typeof SaveAiSettingsRequestProviderEnum[keyof typeof SaveAiSettingsRequestProviderEnum];
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * openfilz-api
6
+ * API for Document Management System
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SaveAiSettingsRequestProviderEnum = void 0;
17
+ exports.SaveAiSettingsRequestProviderEnum = {
18
+ Openai: 'OPENAI',
19
+ Anthropic: 'ANTHROPIC',
20
+ Google: 'GOOGLE',
21
+ OpenaiCompatible: 'OPENAI_COMPATIBLE',
22
+ };
@@ -16,4 +16,6 @@ export interface Settings {
16
16
  'language'?: string;
17
17
  'theme'?: string;
18
18
  'thumbnailsActive'?: boolean;
19
+ 'aiActive'?: boolean;
20
+ 'aiUserSettingsEnabled'?: boolean;
19
21
  }
@@ -0,0 +1,209 @@
1
+ # AIChatApi
2
+
3
+ All URIs are relative to *http://localhost:8081*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**chat**](#chat) | **POST** /api/v1/ai/chat | Chat with AI assistant|
8
+ |[**deleteConversation**](#deleteconversation) | **DELETE** /api/v1/ai/conversations/{conversationId} | Delete conversation|
9
+ |[**getConversationHistory**](#getconversationhistory) | **GET** /api/v1/ai/conversations/{conversationId} | Get conversation history|
10
+ |[**listConversations**](#listconversations) | **GET** /api/v1/ai/conversations | List conversations|
11
+
12
+ # **chat**
13
+ > Array<AiChatResponse> chat(aiChatRequest)
14
+
15
+ Send a message and receive a streaming response. The AI can answer questions about documents, search, summarize, and reorganize files.
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ AIChatApi,
22
+ Configuration,
23
+ AiChatRequest
24
+ } from '@openfilz-sdk/typescript-ee';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new AIChatApi(configuration);
28
+
29
+ let aiChatRequest: AiChatRequest; //
30
+
31
+ const { status, data } = await apiInstance.chat(
32
+ aiChatRequest
33
+ );
34
+ ```
35
+
36
+ ### Parameters
37
+
38
+ |Name | Type | Description | Notes|
39
+ |------------- | ------------- | ------------- | -------------|
40
+ | **aiChatRequest** | **AiChatRequest**| | |
41
+
42
+
43
+ ### Return type
44
+
45
+ **Array<AiChatResponse>**
46
+
47
+ ### Authorization
48
+
49
+ [keycloak_auth](../README.md#keycloak_auth)
50
+
51
+ ### HTTP request headers
52
+
53
+ - **Content-Type**: application/json
54
+ - **Accept**: text/event-stream
55
+
56
+
57
+ ### HTTP response details
58
+ | Status code | Description | Response headers |
59
+ |-------------|-------------|------------------|
60
+ |**200** | OK | - |
61
+
62
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
63
+
64
+ # **deleteConversation**
65
+ > deleteConversation()
66
+
67
+ Delete a conversation and all its messages
68
+
69
+ ### Example
70
+
71
+ ```typescript
72
+ import {
73
+ AIChatApi,
74
+ Configuration
75
+ } from '@openfilz-sdk/typescript-ee';
76
+
77
+ const configuration = new Configuration();
78
+ const apiInstance = new AIChatApi(configuration);
79
+
80
+ let conversationId: string; // (default to undefined)
81
+
82
+ const { status, data } = await apiInstance.deleteConversation(
83
+ conversationId
84
+ );
85
+ ```
86
+
87
+ ### Parameters
88
+
89
+ |Name | Type | Description | Notes|
90
+ |------------- | ------------- | ------------- | -------------|
91
+ | **conversationId** | [**string**] | | defaults to undefined|
92
+
93
+
94
+ ### Return type
95
+
96
+ void (empty response body)
97
+
98
+ ### Authorization
99
+
100
+ [keycloak_auth](../README.md#keycloak_auth)
101
+
102
+ ### HTTP request headers
103
+
104
+ - **Content-Type**: Not defined
105
+ - **Accept**: Not defined
106
+
107
+
108
+ ### HTTP response details
109
+ | Status code | Description | Response headers |
110
+ |-------------|-------------|------------------|
111
+ |**200** | OK | - |
112
+
113
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
114
+
115
+ # **getConversationHistory**
116
+ > Array<AiChatResponse> getConversationHistory()
117
+
118
+ Get all messages in a conversation
119
+
120
+ ### Example
121
+
122
+ ```typescript
123
+ import {
124
+ AIChatApi,
125
+ Configuration
126
+ } from '@openfilz-sdk/typescript-ee';
127
+
128
+ const configuration = new Configuration();
129
+ const apiInstance = new AIChatApi(configuration);
130
+
131
+ let conversationId: string; // (default to undefined)
132
+
133
+ const { status, data } = await apiInstance.getConversationHistory(
134
+ conversationId
135
+ );
136
+ ```
137
+
138
+ ### Parameters
139
+
140
+ |Name | Type | Description | Notes|
141
+ |------------- | ------------- | ------------- | -------------|
142
+ | **conversationId** | [**string**] | | defaults to undefined|
143
+
144
+
145
+ ### Return type
146
+
147
+ **Array<AiChatResponse>**
148
+
149
+ ### Authorization
150
+
151
+ [keycloak_auth](../README.md#keycloak_auth)
152
+
153
+ ### HTTP request headers
154
+
155
+ - **Content-Type**: Not defined
156
+ - **Accept**: application/json
157
+
158
+
159
+ ### HTTP response details
160
+ | Status code | Description | Response headers |
161
+ |-------------|-------------|------------------|
162
+ |**200** | OK | - |
163
+
164
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
165
+
166
+ # **listConversations**
167
+ > Array<AiChatConversation> listConversations()
168
+
169
+ Get all AI chat conversations for the current user
170
+
171
+ ### Example
172
+
173
+ ```typescript
174
+ import {
175
+ AIChatApi,
176
+ Configuration
177
+ } from '@openfilz-sdk/typescript-ee';
178
+
179
+ const configuration = new Configuration();
180
+ const apiInstance = new AIChatApi(configuration);
181
+
182
+ const { status, data } = await apiInstance.listConversations();
183
+ ```
184
+
185
+ ### Parameters
186
+ This endpoint does not have any parameters.
187
+
188
+
189
+ ### Return type
190
+
191
+ **Array<AiChatConversation>**
192
+
193
+ ### Authorization
194
+
195
+ [keycloak_auth](../README.md#keycloak_auth)
196
+
197
+ ### HTTP request headers
198
+
199
+ - **Content-Type**: Not defined
200
+ - **Accept**: application/json
201
+
202
+
203
+ ### HTTP response details
204
+ | Status code | Description | Response headers |
205
+ |-------------|-------------|------------------|
206
+ |**200** | OK | - |
207
+
208
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
209
+
@@ -0,0 +1,203 @@
1
+ # AISettingsApi
2
+
3
+ All URIs are relative to *http://localhost:8081*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**deleteSettings**](#deletesettings) | **DELETE** /api/v1/settings/ai | Reset my AI settings|
8
+ |[**getSettings1**](#getsettings1) | **GET** /api/v1/settings/ai | Get my AI settings|
9
+ |[**saveSettings1**](#savesettings1) | **PUT** /api/v1/settings/ai | Save my AI settings|
10
+ |[**testConnection**](#testconnection) | **POST** /api/v1/settings/ai/test | Test AI provider connection|
11
+
12
+ # **deleteSettings**
13
+ > deleteSettings()
14
+
15
+ Remove my chat-LLM override and go back to the server default model.
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ AISettingsApi,
22
+ Configuration
23
+ } from '@openfilz-sdk/typescript-ee';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new AISettingsApi(configuration);
27
+
28
+ const { status, data } = await apiInstance.deleteSettings();
29
+ ```
30
+
31
+ ### Parameters
32
+ This endpoint does not have any parameters.
33
+
34
+
35
+ ### Return type
36
+
37
+ void (empty response body)
38
+
39
+ ### Authorization
40
+
41
+ [keycloak_auth](../README.md#keycloak_auth)
42
+
43
+ ### HTTP request headers
44
+
45
+ - **Content-Type**: Not defined
46
+ - **Accept**: Not defined
47
+
48
+
49
+ ### HTTP response details
50
+ | Status code | Description | Response headers |
51
+ |-------------|-------------|------------------|
52
+ |**200** | OK | - |
53
+
54
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
55
+
56
+ # **getSettings1**
57
+ > AiSettingsResponse getSettings1()
58
+
59
+ Current user\'s chat-LLM override. The API key is never returned — only hasApiKey and its last characters.
60
+
61
+ ### Example
62
+
63
+ ```typescript
64
+ import {
65
+ AISettingsApi,
66
+ Configuration
67
+ } from '@openfilz-sdk/typescript-ee';
68
+
69
+ const configuration = new Configuration();
70
+ const apiInstance = new AISettingsApi(configuration);
71
+
72
+ const { status, data } = await apiInstance.getSettings1();
73
+ ```
74
+
75
+ ### Parameters
76
+ This endpoint does not have any parameters.
77
+
78
+
79
+ ### Return type
80
+
81
+ **AiSettingsResponse**
82
+
83
+ ### Authorization
84
+
85
+ [keycloak_auth](../README.md#keycloak_auth)
86
+
87
+ ### HTTP request headers
88
+
89
+ - **Content-Type**: Not defined
90
+ - **Accept**: application/json
91
+
92
+
93
+ ### HTTP response details
94
+ | Status code | Description | Response headers |
95
+ |-------------|-------------|------------------|
96
+ |**200** | OK | - |
97
+
98
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
99
+
100
+ # **saveSettings1**
101
+ > AiSettingsResponse saveSettings1(saveAiSettingsRequest)
102
+
103
+ Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
104
+
105
+ ### Example
106
+
107
+ ```typescript
108
+ import {
109
+ AISettingsApi,
110
+ Configuration,
111
+ SaveAiSettingsRequest
112
+ } from '@openfilz-sdk/typescript-ee';
113
+
114
+ const configuration = new Configuration();
115
+ const apiInstance = new AISettingsApi(configuration);
116
+
117
+ let saveAiSettingsRequest: SaveAiSettingsRequest; //
118
+
119
+ const { status, data } = await apiInstance.saveSettings1(
120
+ saveAiSettingsRequest
121
+ );
122
+ ```
123
+
124
+ ### Parameters
125
+
126
+ |Name | Type | Description | Notes|
127
+ |------------- | ------------- | ------------- | -------------|
128
+ | **saveAiSettingsRequest** | **SaveAiSettingsRequest**| | |
129
+
130
+
131
+ ### Return type
132
+
133
+ **AiSettingsResponse**
134
+
135
+ ### Authorization
136
+
137
+ [keycloak_auth](../README.md#keycloak_auth)
138
+
139
+ ### HTTP request headers
140
+
141
+ - **Content-Type**: application/json
142
+ - **Accept**: application/json
143
+
144
+
145
+ ### HTTP response details
146
+ | Status code | Description | Response headers |
147
+ |-------------|-------------|------------------|
148
+ |**200** | OK | - |
149
+
150
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
151
+
152
+ # **testConnection**
153
+ > AiConnectionTestResult testConnection(saveAiSettingsRequest)
154
+
155
+ Send a minimal completion request with the submitted settings (falls back to the stored key when apiKey is omitted).
156
+
157
+ ### Example
158
+
159
+ ```typescript
160
+ import {
161
+ AISettingsApi,
162
+ Configuration,
163
+ SaveAiSettingsRequest
164
+ } from '@openfilz-sdk/typescript-ee';
165
+
166
+ const configuration = new Configuration();
167
+ const apiInstance = new AISettingsApi(configuration);
168
+
169
+ let saveAiSettingsRequest: SaveAiSettingsRequest; //
170
+
171
+ const { status, data } = await apiInstance.testConnection(
172
+ saveAiSettingsRequest
173
+ );
174
+ ```
175
+
176
+ ### Parameters
177
+
178
+ |Name | Type | Description | Notes|
179
+ |------------- | ------------- | ------------- | -------------|
180
+ | **saveAiSettingsRequest** | **SaveAiSettingsRequest**| | |
181
+
182
+
183
+ ### Return type
184
+
185
+ **AiConnectionTestResult**
186
+
187
+ ### Authorization
188
+
189
+ [keycloak_auth](../README.md#keycloak_auth)
190
+
191
+ ### HTTP request headers
192
+
193
+ - **Content-Type**: application/json
194
+ - **Accept**: application/json
195
+
196
+
197
+ ### HTTP response details
198
+ | Status code | Description | Response headers |
199
+ |-------------|-------------|------------------|
200
+ |**200** | OK | - |
201
+
202
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
203
+
@@ -0,0 +1,28 @@
1
+ # AiChatConversation
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **title** | **string** | | [optional] [default to undefined]
10
+ **createdBy** | **string** | | [optional] [default to undefined]
11
+ **createdAt** | **string** | | [optional] [default to undefined]
12
+ **updatedAt** | **string** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { AiChatConversation } from '@openfilz-sdk/typescript-ee';
18
+
19
+ const instance: AiChatConversation = {
20
+ id,
21
+ title,
22
+ createdBy,
23
+ createdAt,
24
+ updatedAt,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # AiChatRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [default to undefined]
9
+ **conversationId** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AiChatRequest } from '@openfilz-sdk/typescript-ee';
15
+
16
+ const instance: AiChatRequest = {
17
+ message,
18
+ conversationId,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # AiChatResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **conversationId** | **string** | | [optional] [default to undefined]
9
+ **content** | **string** | | [optional] [default to undefined]
10
+ **type** | **string** | | [optional] [default to undefined]
11
+ **modifiedFolderIds** | **Array&lt;string&gt;** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AiChatResponse } from '@openfilz-sdk/typescript-ee';
17
+
18
+ const instance: AiChatResponse = {
19
+ conversationId,
20
+ content,
21
+ type,
22
+ modifiedFolderIds,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # AiConnectionTestResult
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **ok** | **boolean** | | [optional] [default to undefined]
9
+ **message** | **string** | | [optional] [default to undefined]
10
+ **latencyMs** | **number** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AiConnectionTestResult } from '@openfilz-sdk/typescript-ee';
16
+
17
+ const instance: AiConnectionTestResult = {
18
+ ok,
19
+ message,
20
+ latencyMs,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,34 @@
1
+ # AiSettingsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **enabled** | **boolean** | | [optional] [default to undefined]
9
+ **provider** | **string** | | [optional] [default to undefined]
10
+ **model** | **string** | | [optional] [default to undefined]
11
+ **baseUrl** | **string** | | [optional] [default to undefined]
12
+ **hasApiKey** | **boolean** | | [optional] [default to undefined]
13
+ **keySuffix** | **string** | | [optional] [default to undefined]
14
+ **defaultProvider** | **string** | | [optional] [default to undefined]
15
+ **defaultModel** | **string** | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { AiSettingsResponse } from '@openfilz-sdk/typescript-ee';
21
+
22
+ const instance: AiSettingsResponse = {
23
+ enabled,
24
+ provider,
25
+ model,
26
+ baseUrl,
27
+ hasApiKey,
28
+ keySuffix,
29
+ defaultProvider,
30
+ defaultModel,
31
+ };
32
+ ```
33
+
34
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)