@openfilz-sdk/typescript-ee 1.7.5 → 1.8.1

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 (125) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +19 -2
  4. package/api/aichat-api.ts +341 -0
  5. package/api/aisettings-api.ts +412 -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 +191 -0
  11. package/dist/api/aisettings-api.js +396 -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 +191 -0
  40. package/dist/esm/api/aisettings-api.js +389 -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-models-response.d.ts +41 -0
  75. package/dist/esm/models/ai-models-response.js +23 -0
  76. package/dist/esm/models/ai-settings-response.d.ts +21 -0
  77. package/dist/esm/models/ai-settings-response.js +14 -0
  78. package/dist/esm/models/index.d.ts +8 -0
  79. package/dist/esm/models/index.js +8 -0
  80. package/dist/esm/models/list-ai-models-request.d.ts +32 -0
  81. package/dist/esm/models/list-ai-models-request.js +19 -0
  82. package/dist/esm/models/save-ai-settings-request.d.ts +36 -0
  83. package/dist/esm/models/save-ai-settings-request.js +19 -0
  84. package/dist/esm/models/settings.d.ts +2 -0
  85. package/dist/models/ai-chat-conversation.d.ts +18 -0
  86. package/dist/models/ai-chat-conversation.js +15 -0
  87. package/dist/models/ai-chat-request.d.ts +15 -0
  88. package/dist/models/ai-chat-request.js +15 -0
  89. package/dist/models/ai-chat-response.d.ts +23 -0
  90. package/dist/models/ai-chat-response.js +21 -0
  91. package/dist/models/ai-connection-test-result.d.ts +16 -0
  92. package/dist/models/ai-connection-test-result.js +15 -0
  93. package/dist/models/ai-models-response.d.ts +41 -0
  94. package/dist/models/ai-models-response.js +26 -0
  95. package/dist/models/ai-settings-response.d.ts +21 -0
  96. package/dist/models/ai-settings-response.js +15 -0
  97. package/dist/models/index.d.ts +8 -0
  98. package/dist/models/index.js +8 -0
  99. package/dist/models/list-ai-models-request.d.ts +32 -0
  100. package/dist/models/list-ai-models-request.js +22 -0
  101. package/dist/models/save-ai-settings-request.d.ts +36 -0
  102. package/dist/models/save-ai-settings-request.js +22 -0
  103. package/dist/models/settings.d.ts +2 -0
  104. package/docs/AIChatApi.md +209 -0
  105. package/docs/AISettingsApi.md +256 -0
  106. package/docs/AiChatConversation.md +28 -0
  107. package/docs/AiChatRequest.md +22 -0
  108. package/docs/AiChatResponse.md +26 -0
  109. package/docs/AiConnectionTestResult.md +24 -0
  110. package/docs/AiModelsResponse.md +26 -0
  111. package/docs/AiSettingsResponse.md +34 -0
  112. package/docs/ListAiModelsRequest.md +24 -0
  113. package/docs/SaveAiSettingsRequest.md +26 -0
  114. package/docs/Settings.md +4 -0
  115. package/models/ai-chat-conversation.ts +24 -0
  116. package/models/ai-chat-request.ts +21 -0
  117. package/models/ai-chat-response.ts +32 -0
  118. package/models/ai-connection-test-result.ts +22 -0
  119. package/models/ai-models-response.ts +51 -0
  120. package/models/ai-settings-response.ts +27 -0
  121. package/models/index.ts +8 -0
  122. package/models/list-ai-models-request.ts +41 -0
  123. package/models/save-ai-settings-request.ts +45 -0
  124. package/models/settings.ts +2 -0
  125. package/package.json +1 -1
@@ -0,0 +1,256 @@
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
+ |[**listModels**](#listmodels) | **POST** /api/v1/settings/ai/models | List the provider\'s chat models|
10
+ |[**saveSettings1**](#savesettings1) | **PUT** /api/v1/settings/ai | Save my AI settings|
11
+ |[**testConnection**](#testconnection) | **POST** /api/v1/settings/ai/test | Test AI provider connection|
12
+
13
+ # **deleteSettings**
14
+ > deleteSettings()
15
+
16
+ Remove my chat-LLM override and go back to the server default model.
17
+
18
+ ### Example
19
+
20
+ ```typescript
21
+ import {
22
+ AISettingsApi,
23
+ Configuration
24
+ } from '@openfilz-sdk/typescript-ee';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new AISettingsApi(configuration);
28
+
29
+ const { status, data } = await apiInstance.deleteSettings();
30
+ ```
31
+
32
+ ### Parameters
33
+ This endpoint does not have any parameters.
34
+
35
+
36
+ ### Return type
37
+
38
+ void (empty response body)
39
+
40
+ ### Authorization
41
+
42
+ [keycloak_auth](../README.md#keycloak_auth)
43
+
44
+ ### HTTP request headers
45
+
46
+ - **Content-Type**: Not defined
47
+ - **Accept**: Not defined
48
+
49
+
50
+ ### HTTP response details
51
+ | Status code | Description | Response headers |
52
+ |-------------|-------------|------------------|
53
+ |**200** | OK | - |
54
+
55
+ [[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)
56
+
57
+ # **getSettings1**
58
+ > AiSettingsResponse getSettings1()
59
+
60
+ Current user\'s chat-LLM override. The API key is never returned — only hasApiKey and its last characters.
61
+
62
+ ### Example
63
+
64
+ ```typescript
65
+ import {
66
+ AISettingsApi,
67
+ Configuration
68
+ } from '@openfilz-sdk/typescript-ee';
69
+
70
+ const configuration = new Configuration();
71
+ const apiInstance = new AISettingsApi(configuration);
72
+
73
+ const { status, data } = await apiInstance.getSettings1();
74
+ ```
75
+
76
+ ### Parameters
77
+ This endpoint does not have any parameters.
78
+
79
+
80
+ ### Return type
81
+
82
+ **AiSettingsResponse**
83
+
84
+ ### Authorization
85
+
86
+ [keycloak_auth](../README.md#keycloak_auth)
87
+
88
+ ### HTTP request headers
89
+
90
+ - **Content-Type**: Not defined
91
+ - **Accept**: application/json
92
+
93
+
94
+ ### HTTP response details
95
+ | Status code | Description | Response headers |
96
+ |-------------|-------------|------------------|
97
+ |**200** | OK | - |
98
+
99
+ [[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)
100
+
101
+ # **listModels**
102
+ > AiModelsResponse listModels(listAiModelsRequest)
103
+
104
+ Ask the provider which chat models this key can use, so the picker reflects what exists today rather than a list baked into a release. Falls back to a built-in list (source=FALLBACK) when the provider cannot be reached. POST rather than GET because the key travels in the body, never in a query string; omit apiKey to use the stored key.
105
+
106
+ ### Example
107
+
108
+ ```typescript
109
+ import {
110
+ AISettingsApi,
111
+ Configuration,
112
+ ListAiModelsRequest
113
+ } from '@openfilz-sdk/typescript-ee';
114
+
115
+ const configuration = new Configuration();
116
+ const apiInstance = new AISettingsApi(configuration);
117
+
118
+ let listAiModelsRequest: ListAiModelsRequest; //
119
+
120
+ const { status, data } = await apiInstance.listModels(
121
+ listAiModelsRequest
122
+ );
123
+ ```
124
+
125
+ ### Parameters
126
+
127
+ |Name | Type | Description | Notes|
128
+ |------------- | ------------- | ------------- | -------------|
129
+ | **listAiModelsRequest** | **ListAiModelsRequest**| | |
130
+
131
+
132
+ ### Return type
133
+
134
+ **AiModelsResponse**
135
+
136
+ ### Authorization
137
+
138
+ [keycloak_auth](../README.md#keycloak_auth)
139
+
140
+ ### HTTP request headers
141
+
142
+ - **Content-Type**: application/json
143
+ - **Accept**: application/json
144
+
145
+
146
+ ### HTTP response details
147
+ | Status code | Description | Response headers |
148
+ |-------------|-------------|------------------|
149
+ |**200** | OK | - |
150
+
151
+ [[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)
152
+
153
+ # **saveSettings1**
154
+ > AiSettingsResponse saveSettings1(saveAiSettingsRequest)
155
+
156
+ Set the chat LLM to use for my conversations. Omit apiKey to keep the previously stored key.
157
+
158
+ ### Example
159
+
160
+ ```typescript
161
+ import {
162
+ AISettingsApi,
163
+ Configuration,
164
+ SaveAiSettingsRequest
165
+ } from '@openfilz-sdk/typescript-ee';
166
+
167
+ const configuration = new Configuration();
168
+ const apiInstance = new AISettingsApi(configuration);
169
+
170
+ let saveAiSettingsRequest: SaveAiSettingsRequest; //
171
+
172
+ const { status, data } = await apiInstance.saveSettings1(
173
+ saveAiSettingsRequest
174
+ );
175
+ ```
176
+
177
+ ### Parameters
178
+
179
+ |Name | Type | Description | Notes|
180
+ |------------- | ------------- | ------------- | -------------|
181
+ | **saveAiSettingsRequest** | **SaveAiSettingsRequest**| | |
182
+
183
+
184
+ ### Return type
185
+
186
+ **AiSettingsResponse**
187
+
188
+ ### Authorization
189
+
190
+ [keycloak_auth](../README.md#keycloak_auth)
191
+
192
+ ### HTTP request headers
193
+
194
+ - **Content-Type**: application/json
195
+ - **Accept**: application/json
196
+
197
+
198
+ ### HTTP response details
199
+ | Status code | Description | Response headers |
200
+ |-------------|-------------|------------------|
201
+ |**200** | OK | - |
202
+
203
+ [[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)
204
+
205
+ # **testConnection**
206
+ > AiConnectionTestResult testConnection(saveAiSettingsRequest)
207
+
208
+ Send a minimal completion request with the submitted settings (falls back to the stored key when apiKey is omitted).
209
+
210
+ ### Example
211
+
212
+ ```typescript
213
+ import {
214
+ AISettingsApi,
215
+ Configuration,
216
+ SaveAiSettingsRequest
217
+ } from '@openfilz-sdk/typescript-ee';
218
+
219
+ const configuration = new Configuration();
220
+ const apiInstance = new AISettingsApi(configuration);
221
+
222
+ let saveAiSettingsRequest: SaveAiSettingsRequest; //
223
+
224
+ const { status, data } = await apiInstance.testConnection(
225
+ saveAiSettingsRequest
226
+ );
227
+ ```
228
+
229
+ ### Parameters
230
+
231
+ |Name | Type | Description | Notes|
232
+ |------------- | ------------- | ------------- | -------------|
233
+ | **saveAiSettingsRequest** | **SaveAiSettingsRequest**| | |
234
+
235
+
236
+ ### Return type
237
+
238
+ **AiConnectionTestResult**
239
+
240
+ ### Authorization
241
+
242
+ [keycloak_auth](../README.md#keycloak_auth)
243
+
244
+ ### HTTP request headers
245
+
246
+ - **Content-Type**: application/json
247
+ - **Accept**: application/json
248
+
249
+
250
+ ### HTTP response details
251
+ | Status code | Description | Response headers |
252
+ |-------------|-------------|------------------|
253
+ |**200** | OK | - |
254
+
255
+ [[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)
256
+
@@ -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<string>** | | [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,26 @@
1
+ # AiModelsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **provider** | **string** | Provider the list belongs to | [optional] [default to undefined]
9
+ **models** | **Array<string>** | Model ids, best default first | [optional] [default to undefined]
10
+ **source** | **string** | LIVE or FALLBACK | [optional] [default to undefined]
11
+ **message** | **string** | Why the provider list is unavailable, when source is FALLBACK | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AiModelsResponse } from '@openfilz-sdk/typescript-ee';
17
+
18
+ const instance: AiModelsResponse = {
19
+ provider,
20
+ models,
21
+ source,
22
+ message,
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,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)
@@ -0,0 +1,24 @@
1
+ # ListAiModelsRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **provider** | **string** | Chat LLM provider | [default to undefined]
9
+ **baseUrl** | **string** | Base URL — required for OPENAI_COMPATIBLE, ignored otherwise | [optional] [default to undefined]
10
+ **apiKey** | **string** | API key (write-only). Omit to use the stored key. | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { ListAiModelsRequest } from '@openfilz-sdk/typescript-ee';
16
+
17
+ const instance: ListAiModelsRequest = {
18
+ provider,
19
+ baseUrl,
20
+ apiKey,
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,26 @@
1
+ # SaveAiSettingsRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **provider** | **string** | Chat LLM provider | [default to undefined]
9
+ **model** | **string** | Model id, e.g. claude-opus-5, gpt-4o, gemini-2.5-flash | [optional] [default to undefined]
10
+ **baseUrl** | **string** | Base URL — required for OPENAI_COMPATIBLE, ignored otherwise | [optional] [default to undefined]
11
+ **apiKey** | **string** | API key (write-only). Omit to keep the stored key. | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { SaveAiSettingsRequest } from '@openfilz-sdk/typescript-ee';
17
+
18
+ const instance: SaveAiSettingsRequest = {
19
+ provider,
20
+ model,
21
+ baseUrl,
22
+ apiKey,
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)
package/docs/Settings.md CHANGED
@@ -11,6 +11,8 @@ Name | Type | Description | Notes
11
11
  **language** | **string** | | [optional] [default to undefined]
12
12
  **theme** | **string** | | [optional] [default to undefined]
13
13
  **thumbnailsActive** | **boolean** | | [optional] [default to undefined]
14
+ **aiActive** | **boolean** | | [optional] [default to undefined]
15
+ **aiUserSettingsEnabled** | **boolean** | | [optional] [default to undefined]
14
16
 
15
17
  ## Example
16
18
 
@@ -24,6 +26,8 @@ const instance: Settings = {
24
26
  language,
25
27
  theme,
26
28
  thumbnailsActive,
29
+ aiActive,
30
+ aiUserSettingsEnabled,
27
31
  };
28
32
  ```
29
33
 
@@ -0,0 +1,24 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface AiChatConversation {
18
+ 'id'?: string;
19
+ 'title'?: string;
20
+ 'createdBy'?: string;
21
+ 'createdAt'?: string;
22
+ 'updatedAt'?: string;
23
+ }
24
+
@@ -0,0 +1,21 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface AiChatRequest {
18
+ 'message': string;
19
+ 'conversationId'?: string;
20
+ }
21
+
@@ -0,0 +1,32 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface AiChatResponse {
18
+ 'conversationId'?: string;
19
+ 'content'?: string;
20
+ 'type'?: AiChatResponseTypeEnum;
21
+ 'modifiedFolderIds'?: Array<string>;
22
+ }
23
+
24
+ export const AiChatResponseTypeEnum = {
25
+ Message: 'MESSAGE',
26
+ Done: 'DONE',
27
+ Error: 'ERROR',
28
+ } as const;
29
+
30
+ export type AiChatResponseTypeEnum = typeof AiChatResponseTypeEnum[keyof typeof AiChatResponseTypeEnum];
31
+
32
+
@@ -0,0 +1,22 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface AiConnectionTestResult {
18
+ 'ok'?: boolean;
19
+ 'message'?: string;
20
+ 'latencyMs'?: number;
21
+ }
22
+
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface AiModelsResponse {
18
+ /**
19
+ * Provider the list belongs to
20
+ */
21
+ 'provider'?: AiModelsResponseProviderEnum;
22
+ /**
23
+ * Model ids, best default first
24
+ */
25
+ 'models'?: Array<string>;
26
+ /**
27
+ * LIVE or FALLBACK
28
+ */
29
+ 'source'?: AiModelsResponseSourceEnum;
30
+ /**
31
+ * Why the provider list is unavailable, when source is FALLBACK
32
+ */
33
+ 'message'?: string;
34
+ }
35
+
36
+ export const AiModelsResponseProviderEnum = {
37
+ Openai: 'OPENAI',
38
+ Anthropic: 'ANTHROPIC',
39
+ Google: 'GOOGLE',
40
+ OpenaiCompatible: 'OPENAI_COMPATIBLE',
41
+ } as const;
42
+
43
+ export type AiModelsResponseProviderEnum = typeof AiModelsResponseProviderEnum[keyof typeof AiModelsResponseProviderEnum];
44
+ export const AiModelsResponseSourceEnum = {
45
+ Live: 'LIVE',
46
+ Fallback: 'FALLBACK',
47
+ } as const;
48
+
49
+ export type AiModelsResponseSourceEnum = typeof AiModelsResponseSourceEnum[keyof typeof AiModelsResponseSourceEnum];
50
+
51
+
@@ -0,0 +1,27 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface AiSettingsResponse {
18
+ 'enabled'?: boolean;
19
+ 'provider'?: string;
20
+ 'model'?: string;
21
+ 'baseUrl'?: string;
22
+ 'hasApiKey'?: boolean;
23
+ 'keySuffix'?: string;
24
+ 'defaultProvider'?: string;
25
+ 'defaultModel'?: string;
26
+ }
27
+