@openfilz-sdk/typescript-ee 1.7.5 → 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.
- package/.openapi-generator/FILES +16 -1
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +16 -2
- package/api/aichat-api.ts +341 -0
- package/api/aisettings-api.ts +335 -0
- package/api.ts +2 -0
- package/common.ts +2 -2
- package/dist/api/aichat-api.d.ts +161 -0
- package/dist/api/aichat-api.js +332 -0
- package/dist/api/aisettings-api.d.ts +157 -0
- package/dist/api/aisettings-api.js +326 -0
- package/dist/api/collaboration-audit-controller-api.d.ts +3 -3
- package/dist/api/collaboration-controller-api.d.ts +15 -15
- package/dist/api/comments-api.d.ts +3 -3
- package/dist/api/dashboard-api.d.ts +1 -1
- package/dist/api/delegated-browse-grants-admin-api.d.ts +5 -5
- package/dist/api/delegated-browse-grants-end-user-api.d.ts +5 -5
- package/dist/api/digital-signature-api.d.ts +6 -6
- package/dist/api/digital-signature-public-api.d.ts +5 -5
- package/dist/api/document-controller-api.d.ts +15 -15
- package/dist/api/document-suggestion-controller-api.d.ts +1 -1
- package/dist/api/document-version-controller-api.d.ts +3 -3
- package/dist/api/favorites-api.d.ts +4 -4
- package/dist/api/file-controller-api.d.ts +4 -4
- package/dist/api/folder-controller-api.d.ts +7 -7
- package/dist/api/notifications-api.d.ts +5 -5
- package/dist/api/scan-agent-api.d.ts +2 -2
- package/dist/api/scanner-proxy-api.d.ts +5 -5
- package/dist/api/search-administration-api.d.ts +4 -4
- package/dist/api/settings-api.d.ts +2 -2
- package/dist/api/tus-controller-api.d.ts +9 -9
- package/dist/api/upload-token-controller-api.d.ts +2 -2
- package/dist/api/user-privacy-api.d.ts +2 -2
- package/dist/api/webhook-proxy-controller-api.d.ts +7 -7
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/esm/api/aichat-api.d.ts +161 -0
- package/dist/esm/api/aichat-api.js +325 -0
- package/dist/esm/api/aisettings-api.d.ts +157 -0
- package/dist/esm/api/aisettings-api.js +319 -0
- package/dist/esm/api/collaboration-audit-controller-api.d.ts +3 -3
- package/dist/esm/api/collaboration-controller-api.d.ts +15 -15
- package/dist/esm/api/comments-api.d.ts +3 -3
- package/dist/esm/api/dashboard-api.d.ts +1 -1
- package/dist/esm/api/delegated-browse-grants-admin-api.d.ts +5 -5
- package/dist/esm/api/delegated-browse-grants-end-user-api.d.ts +5 -5
- package/dist/esm/api/digital-signature-api.d.ts +6 -6
- package/dist/esm/api/digital-signature-public-api.d.ts +5 -5
- package/dist/esm/api/document-controller-api.d.ts +15 -15
- package/dist/esm/api/document-suggestion-controller-api.d.ts +1 -1
- package/dist/esm/api/document-version-controller-api.d.ts +3 -3
- package/dist/esm/api/favorites-api.d.ts +4 -4
- package/dist/esm/api/file-controller-api.d.ts +4 -4
- package/dist/esm/api/folder-controller-api.d.ts +7 -7
- package/dist/esm/api/notifications-api.d.ts +5 -5
- package/dist/esm/api/scan-agent-api.d.ts +2 -2
- package/dist/esm/api/scanner-proxy-api.d.ts +5 -5
- package/dist/esm/api/search-administration-api.d.ts +4 -4
- package/dist/esm/api/settings-api.d.ts +2 -2
- package/dist/esm/api/tus-controller-api.d.ts +9 -9
- package/dist/esm/api/upload-token-controller-api.d.ts +2 -2
- package/dist/esm/api/user-privacy-api.d.ts +2 -2
- package/dist/esm/api/webhook-proxy-controller-api.d.ts +7 -7
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/models/ai-chat-conversation.d.ts +18 -0
- package/dist/esm/models/ai-chat-conversation.js +14 -0
- package/dist/esm/models/ai-chat-request.d.ts +15 -0
- package/dist/esm/models/ai-chat-request.js +14 -0
- package/dist/esm/models/ai-chat-response.d.ts +23 -0
- package/dist/esm/models/ai-chat-response.js +18 -0
- package/dist/esm/models/ai-connection-test-result.d.ts +16 -0
- package/dist/esm/models/ai-connection-test-result.js +14 -0
- package/dist/esm/models/ai-settings-response.d.ts +21 -0
- package/dist/esm/models/ai-settings-response.js +14 -0
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.js +6 -0
- package/dist/esm/models/save-ai-settings-request.d.ts +36 -0
- package/dist/esm/models/save-ai-settings-request.js +19 -0
- package/dist/esm/models/settings.d.ts +2 -0
- package/dist/models/ai-chat-conversation.d.ts +18 -0
- package/dist/models/ai-chat-conversation.js +15 -0
- package/dist/models/ai-chat-request.d.ts +15 -0
- package/dist/models/ai-chat-request.js +15 -0
- package/dist/models/ai-chat-response.d.ts +23 -0
- package/dist/models/ai-chat-response.js +21 -0
- package/dist/models/ai-connection-test-result.d.ts +16 -0
- package/dist/models/ai-connection-test-result.js +15 -0
- package/dist/models/ai-settings-response.d.ts +21 -0
- package/dist/models/ai-settings-response.js +15 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/save-ai-settings-request.d.ts +36 -0
- package/dist/models/save-ai-settings-request.js +22 -0
- package/dist/models/settings.d.ts +2 -0
- package/docs/AIChatApi.md +209 -0
- package/docs/AISettingsApi.md +203 -0
- package/docs/AiChatConversation.md +28 -0
- package/docs/AiChatRequest.md +22 -0
- package/docs/AiChatResponse.md +26 -0
- package/docs/AiConnectionTestResult.md +24 -0
- package/docs/AiSettingsResponse.md +34 -0
- package/docs/SaveAiSettingsRequest.md +26 -0
- package/docs/Settings.md +4 -0
- package/models/ai-chat-conversation.ts +24 -0
- package/models/ai-chat-request.ts +21 -0
- package/models/ai-chat-response.ts +32 -0
- package/models/ai-connection-test-result.ts +22 -0
- package/models/ai-settings-response.ts +27 -0
- package/models/index.ts +6 -0
- package/models/save-ai-settings-request.ts +45 -0
- package/models/settings.ts +2 -0
- package/package.json +1 -1
|
@@ -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,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
|
+
|
package/models/index.ts
CHANGED
|
@@ -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';
|
|
@@ -0,0 +1,45 @@
|
|
|
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 SaveAiSettingsRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Chat LLM provider
|
|
20
|
+
*/
|
|
21
|
+
'provider': SaveAiSettingsRequestProviderEnum;
|
|
22
|
+
/**
|
|
23
|
+
* Model id, e.g. claude-opus-5, gpt-4o, gemini-2.5-flash
|
|
24
|
+
*/
|
|
25
|
+
'model'?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Base URL — required for OPENAI_COMPATIBLE, ignored otherwise
|
|
28
|
+
*/
|
|
29
|
+
'baseUrl'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* API key (write-only). Omit to keep the stored key.
|
|
32
|
+
*/
|
|
33
|
+
'apiKey'?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export const SaveAiSettingsRequestProviderEnum = {
|
|
37
|
+
Openai: 'OPENAI',
|
|
38
|
+
Anthropic: 'ANTHROPIC',
|
|
39
|
+
Google: 'GOOGLE',
|
|
40
|
+
OpenaiCompatible: 'OPENAI_COMPATIBLE',
|
|
41
|
+
} as const;
|
|
42
|
+
|
|
43
|
+
export type SaveAiSettingsRequestProviderEnum = typeof SaveAiSettingsRequestProviderEnum[keyof typeof SaveAiSettingsRequestProviderEnum];
|
|
44
|
+
|
|
45
|
+
|
package/models/settings.ts
CHANGED