@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,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
+
@@ -21,5 +21,7 @@ export interface Settings {
21
21
  'language'?: string;
22
22
  'theme'?: string;
23
23
  'thumbnailsActive'?: boolean;
24
+ 'aiActive'?: boolean;
25
+ 'aiUserSettingsEnabled'?: boolean;
24
26
  }
25
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfilz-sdk/typescript-ee",
3
- "version": "1.7.4",
3
+ "version": "1.8.0",
4
4
  "description": "OpenAPI client for @openfilz-sdk/typescript-ee",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {