@openfilz-sdk/typescript-ee 1.9.5 → 1.9.7

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 (146) hide show
  1. package/.openapi-generator/FILES +32 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +30 -3
  4. package/api/aichat-api.ts +228 -0
  5. package/api/document-controller-api.ts +30 -14
  6. package/api/document-insights-api.ts +275 -0
  7. package/api/esign-api.ts +9 -9
  8. package/api/settings-api.ts +142 -0
  9. package/api/smart-filing-api.ts +421 -0
  10. package/api.ts +2 -0
  11. package/dist/api/aichat-api.d.ts +103 -0
  12. package/dist/api/aichat-api.js +213 -0
  13. package/dist/api/document-controller-api.d.ts +16 -8
  14. package/dist/api/document-controller-api.js +28 -14
  15. package/dist/api/document-insights-api.d.ts +133 -0
  16. package/dist/api/document-insights-api.js +269 -0
  17. package/dist/api/esign-api.d.ts +4 -4
  18. package/dist/api/esign-api.js +9 -9
  19. package/dist/api/settings-api.d.ts +62 -0
  20. package/dist/api/settings-api.js +132 -0
  21. package/dist/api/smart-filing-api.d.ts +197 -0
  22. package/dist/api/smart-filing-api.js +409 -0
  23. package/dist/api.d.ts +2 -0
  24. package/dist/api.js +2 -0
  25. package/dist/esm/api/aichat-api.d.ts +103 -0
  26. package/dist/esm/api/aichat-api.js +213 -0
  27. package/dist/esm/api/document-controller-api.d.ts +16 -8
  28. package/dist/esm/api/document-controller-api.js +28 -14
  29. package/dist/esm/api/document-insights-api.d.ts +133 -0
  30. package/dist/esm/api/document-insights-api.js +262 -0
  31. package/dist/esm/api/esign-api.d.ts +4 -4
  32. package/dist/esm/api/esign-api.js +9 -9
  33. package/dist/esm/api/settings-api.d.ts +62 -0
  34. package/dist/esm/api/settings-api.js +132 -0
  35. package/dist/esm/api/smart-filing-api.d.ts +197 -0
  36. package/dist/esm/api/smart-filing-api.js +402 -0
  37. package/dist/esm/api.d.ts +2 -0
  38. package/dist/esm/api.js +2 -0
  39. package/dist/esm/models/ai-preferences-view.d.ts +16 -0
  40. package/dist/esm/models/ai-preferences-view.js +14 -0
  41. package/dist/esm/models/auto-file-job-view.d.ts +25 -0
  42. package/dist/esm/models/auto-file-job-view.js +14 -0
  43. package/dist/esm/models/auto-file-request.d.ts +15 -0
  44. package/dist/esm/models/auto-file-request.js +14 -0
  45. package/dist/esm/models/auto-file-ticket.d.ts +15 -0
  46. package/dist/esm/models/auto-file-ticket.js +14 -0
  47. package/dist/esm/models/document-insight-view.d.ts +33 -0
  48. package/dist/esm/models/document-insight-view.js +14 -0
  49. package/dist/esm/models/filing-outcome.d.ts +25 -0
  50. package/dist/esm/models/filing-outcome.js +14 -0
  51. package/dist/esm/models/index.d.ts +14 -0
  52. package/dist/esm/models/index.js +14 -0
  53. package/dist/esm/models/insight-backfill-request.d.ts +15 -0
  54. package/dist/esm/models/insight-backfill-request.js +14 -0
  55. package/dist/esm/models/insight-backfill-status.d.ts +23 -0
  56. package/dist/esm/models/insight-backfill-status.js +14 -0
  57. package/dist/esm/models/item-result.d.ts +16 -0
  58. package/dist/esm/models/item-result.js +14 -0
  59. package/dist/esm/models/item.d.ts +21 -0
  60. package/dist/esm/models/item.js +14 -0
  61. package/dist/esm/models/reorganization-apply-request.d.ts +14 -0
  62. package/dist/esm/models/reorganization-apply-request.js +14 -0
  63. package/dist/esm/models/reorganization-apply-result.d.ts +22 -0
  64. package/dist/esm/models/reorganization-apply-result.js +14 -0
  65. package/dist/esm/models/reorganization-plan-view.d.ts +28 -0
  66. package/dist/esm/models/reorganization-plan-view.js +14 -0
  67. package/dist/esm/models/save-ai-preferences-request.d.ts +15 -0
  68. package/dist/esm/models/save-ai-preferences-request.js +14 -0
  69. package/dist/esm/models/settings.d.ts +2 -0
  70. package/dist/esm/models/tus-finalize-request.d.ts +1 -0
  71. package/dist/esm/models/upload-response.d.ts +2 -0
  72. package/dist/models/ai-preferences-view.d.ts +16 -0
  73. package/dist/models/ai-preferences-view.js +15 -0
  74. package/dist/models/auto-file-job-view.d.ts +25 -0
  75. package/dist/models/auto-file-job-view.js +15 -0
  76. package/dist/models/auto-file-request.d.ts +15 -0
  77. package/dist/models/auto-file-request.js +15 -0
  78. package/dist/models/auto-file-ticket.d.ts +15 -0
  79. package/dist/models/auto-file-ticket.js +15 -0
  80. package/dist/models/document-insight-view.d.ts +33 -0
  81. package/dist/models/document-insight-view.js +15 -0
  82. package/dist/models/filing-outcome.d.ts +25 -0
  83. package/dist/models/filing-outcome.js +15 -0
  84. package/dist/models/index.d.ts +14 -0
  85. package/dist/models/index.js +14 -0
  86. package/dist/models/insight-backfill-request.d.ts +15 -0
  87. package/dist/models/insight-backfill-request.js +15 -0
  88. package/dist/models/insight-backfill-status.d.ts +23 -0
  89. package/dist/models/insight-backfill-status.js +15 -0
  90. package/dist/models/item-result.d.ts +16 -0
  91. package/dist/models/item-result.js +15 -0
  92. package/dist/models/item.d.ts +21 -0
  93. package/dist/models/item.js +15 -0
  94. package/dist/models/reorganization-apply-request.d.ts +14 -0
  95. package/dist/models/reorganization-apply-request.js +15 -0
  96. package/dist/models/reorganization-apply-result.d.ts +22 -0
  97. package/dist/models/reorganization-apply-result.js +15 -0
  98. package/dist/models/reorganization-plan-view.d.ts +28 -0
  99. package/dist/models/reorganization-plan-view.js +15 -0
  100. package/dist/models/save-ai-preferences-request.d.ts +15 -0
  101. package/dist/models/save-ai-preferences-request.js +15 -0
  102. package/dist/models/settings.d.ts +2 -0
  103. package/dist/models/tus-finalize-request.d.ts +1 -0
  104. package/dist/models/upload-response.d.ts +2 -0
  105. package/docs/AIChatApi.md +159 -0
  106. package/docs/AiPreferencesView.md +24 -0
  107. package/docs/AutoFileJobView.md +40 -0
  108. package/docs/AutoFileRequest.md +22 -0
  109. package/docs/AutoFileTicket.md +22 -0
  110. package/docs/DocumentControllerApi.md +6 -0
  111. package/docs/DocumentInsightView.md +54 -0
  112. package/docs/DocumentInsightsApi.md +163 -0
  113. package/docs/ESignApi.md +4 -4
  114. package/docs/FilingOutcome.md +42 -0
  115. package/docs/InsightBackfillRequest.md +22 -0
  116. package/docs/InsightBackfillStatus.md +38 -0
  117. package/docs/Item.md +34 -0
  118. package/docs/ItemResult.md +24 -0
  119. package/docs/ReorganizationApplyRequest.md +20 -0
  120. package/docs/ReorganizationApplyResult.md +34 -0
  121. package/docs/ReorganizationPlanView.md +44 -0
  122. package/docs/SaveAiPreferencesRequest.md +22 -0
  123. package/docs/Settings.md +4 -0
  124. package/docs/SettingsApi.md +97 -0
  125. package/docs/SmartFilingApi.md +264 -0
  126. package/docs/TusFinalizeRequest.md +2 -0
  127. package/docs/UploadResponse.md +2 -0
  128. package/models/ai-preferences-view.ts +22 -0
  129. package/models/auto-file-job-view.ts +33 -0
  130. package/models/auto-file-request.ts +21 -0
  131. package/models/auto-file-ticket.ts +21 -0
  132. package/models/document-insight-view.ts +37 -0
  133. package/models/filing-outcome.ts +31 -0
  134. package/models/index.ts +14 -0
  135. package/models/insight-backfill-request.ts +21 -0
  136. package/models/insight-backfill-status.ts +29 -0
  137. package/models/item-result.ts +22 -0
  138. package/models/item.ts +27 -0
  139. package/models/reorganization-apply-request.ts +20 -0
  140. package/models/reorganization-apply-result.ts +30 -0
  141. package/models/reorganization-plan-view.ts +38 -0
  142. package/models/save-ai-preferences-request.ts +21 -0
  143. package/models/settings.ts +2 -0
  144. package/models/tus-finalize-request.ts +1 -0
  145. package/models/upload-response.ts +4 -0
  146. package/package.json +1 -1
@@ -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 });
@@ -3,11 +3,15 @@ export * from './ai-chat-request';
3
3
  export * from './ai-chat-response';
4
4
  export * from './ai-connection-test-result';
5
5
  export * from './ai-models-response';
6
+ export * from './ai-preferences-view';
6
7
  export * from './ai-settings-response';
7
8
  export * from './ancestor-info';
8
9
  export * from './apply-signature-request';
9
10
  export * from './audit-log-details';
10
11
  export * from './audit-verification-result';
12
+ export * from './auto-file-job-view';
13
+ export * from './auto-file-request';
14
+ export * from './auto-file-ticket';
11
15
  export * from './broken-link';
12
16
  export * from './bulk-row';
13
17
  export * from './bulk-row-result';
@@ -36,6 +40,7 @@ export * from './delete-metadata-request';
36
40
  export * from './delete-request';
37
41
  export * from './delete-share-request';
38
42
  export * from './document-info';
43
+ export * from './document-insight-view';
39
44
  export * from './document-position';
40
45
  export * from './document-version-info';
41
46
  export * from './element-info';
@@ -44,11 +49,16 @@ export * from './enriched-audit-log';
44
49
  export * from './enriched-audit-log-details';
45
50
  export * from './feature-entitlement';
46
51
  export * from './file-type-stats';
52
+ export * from './filing-outcome';
47
53
  export * from './filter-input';
48
54
  export * from './folder-element-info';
49
55
  export * from './folder-response';
50
56
  export * from './ingestion-status-dto';
57
+ export * from './insight-backfill-request';
58
+ export * from './insight-backfill-status';
51
59
  export * from './instantiate-template-request';
60
+ export * from './item';
61
+ export * from './item-result';
52
62
  export * from './license-info';
53
63
  export * from './list-ai-models-request';
54
64
  export * from './mcp-agent-token-info';
@@ -72,12 +82,16 @@ export * from './pdf-transform-audit';
72
82
  export * from './public-signature-view';
73
83
  export * from './rename-audit';
74
84
  export * from './rename-request';
85
+ export * from './reorganization-apply-request';
86
+ export * from './reorganization-apply-result';
87
+ export * from './reorganization-plan-view';
75
88
  export * from './replace-audit';
76
89
  export * from './response';
77
90
  export * from './restore-version-audit';
78
91
  export * from './restore-version-response';
79
92
  export * from './role-binding';
80
93
  export * from './rotate-request';
94
+ export * from './save-ai-preferences-request';
81
95
  export * from './save-ai-settings-request';
82
96
  export * from './scan-job-status-dto';
83
97
  export * from './scan-request-dto';
@@ -19,11 +19,15 @@ __exportStar(require("./ai-chat-request"), exports);
19
19
  __exportStar(require("./ai-chat-response"), exports);
20
20
  __exportStar(require("./ai-connection-test-result"), exports);
21
21
  __exportStar(require("./ai-models-response"), exports);
22
+ __exportStar(require("./ai-preferences-view"), exports);
22
23
  __exportStar(require("./ai-settings-response"), exports);
23
24
  __exportStar(require("./ancestor-info"), exports);
24
25
  __exportStar(require("./apply-signature-request"), exports);
25
26
  __exportStar(require("./audit-log-details"), exports);
26
27
  __exportStar(require("./audit-verification-result"), exports);
28
+ __exportStar(require("./auto-file-job-view"), exports);
29
+ __exportStar(require("./auto-file-request"), exports);
30
+ __exportStar(require("./auto-file-ticket"), exports);
27
31
  __exportStar(require("./broken-link"), exports);
28
32
  __exportStar(require("./bulk-row"), exports);
29
33
  __exportStar(require("./bulk-row-result"), exports);
@@ -52,6 +56,7 @@ __exportStar(require("./delete-metadata-request"), exports);
52
56
  __exportStar(require("./delete-request"), exports);
53
57
  __exportStar(require("./delete-share-request"), exports);
54
58
  __exportStar(require("./document-info"), exports);
59
+ __exportStar(require("./document-insight-view"), exports);
55
60
  __exportStar(require("./document-position"), exports);
56
61
  __exportStar(require("./document-version-info"), exports);
57
62
  __exportStar(require("./element-info"), exports);
@@ -60,11 +65,16 @@ __exportStar(require("./enriched-audit-log"), exports);
60
65
  __exportStar(require("./enriched-audit-log-details"), exports);
61
66
  __exportStar(require("./feature-entitlement"), exports);
62
67
  __exportStar(require("./file-type-stats"), exports);
68
+ __exportStar(require("./filing-outcome"), exports);
63
69
  __exportStar(require("./filter-input"), exports);
64
70
  __exportStar(require("./folder-element-info"), exports);
65
71
  __exportStar(require("./folder-response"), exports);
66
72
  __exportStar(require("./ingestion-status-dto"), exports);
73
+ __exportStar(require("./insight-backfill-request"), exports);
74
+ __exportStar(require("./insight-backfill-status"), exports);
67
75
  __exportStar(require("./instantiate-template-request"), exports);
76
+ __exportStar(require("./item"), exports);
77
+ __exportStar(require("./item-result"), exports);
68
78
  __exportStar(require("./license-info"), exports);
69
79
  __exportStar(require("./list-ai-models-request"), exports);
70
80
  __exportStar(require("./mcp-agent-token-info"), exports);
@@ -88,12 +98,16 @@ __exportStar(require("./pdf-transform-audit"), exports);
88
98
  __exportStar(require("./public-signature-view"), exports);
89
99
  __exportStar(require("./rename-audit"), exports);
90
100
  __exportStar(require("./rename-request"), exports);
101
+ __exportStar(require("./reorganization-apply-request"), exports);
102
+ __exportStar(require("./reorganization-apply-result"), exports);
103
+ __exportStar(require("./reorganization-plan-view"), exports);
91
104
  __exportStar(require("./replace-audit"), exports);
92
105
  __exportStar(require("./response"), exports);
93
106
  __exportStar(require("./restore-version-audit"), exports);
94
107
  __exportStar(require("./restore-version-response"), exports);
95
108
  __exportStar(require("./role-binding"), exports);
96
109
  __exportStar(require("./rotate-request"), exports);
110
+ __exportStar(require("./save-ai-preferences-request"), exports);
97
111
  __exportStar(require("./save-ai-settings-request"), exports);
98
112
  __exportStar(require("./scan-job-status-dto"), exports);
99
113
  __exportStar(require("./scan-request-dto"), exports);
@@ -0,0 +1,15 @@
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 InsightBackfillRequest {
13
+ 'folderId'?: string;
14
+ 'force'?: boolean;
15
+ }
@@ -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 });
@@ -0,0 +1,23 @@
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 InsightBackfillStatus {
13
+ 'jobId'?: string;
14
+ 'folderId'?: string;
15
+ 'force'?: boolean;
16
+ 'status'?: string;
17
+ 'total'?: number;
18
+ 'done'?: number;
19
+ 'failed'?: number;
20
+ 'skipped'?: number;
21
+ 'startedAt'?: string;
22
+ 'finishedAt'?: string;
23
+ }
@@ -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 });
@@ -0,0 +1,16 @@
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 ItemResult {
13
+ 'documentId'?: string;
14
+ 'outcome'?: string;
15
+ 'detail'?: string;
16
+ }
@@ -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 });
@@ -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 Item {
13
+ 'documentId'?: string;
14
+ 'name'?: string;
15
+ 'type'?: string;
16
+ 'currentPath'?: string;
17
+ 'targetPath'?: string;
18
+ 'targetExists'?: boolean;
19
+ 'applicable'?: boolean;
20
+ 'issue'?: 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 });
@@ -0,0 +1,14 @@
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 ReorganizationApplyRequest {
13
+ 'itemIds'?: Array<string>;
14
+ }
@@ -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 });
@@ -0,0 +1,22 @@
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
+ import type { ReorganizationPlanView } from './reorganization-plan-view';
13
+ export interface ReorganizationApplyResult {
14
+ 'planId'?: string;
15
+ 'status'?: string;
16
+ 'moved'?: number;
17
+ 'failed'?: number;
18
+ 'skipped'?: number;
19
+ 'createdFolders'?: Array<string>;
20
+ 'modifiedFolderIds'?: Array<string>;
21
+ 'plan'?: ReorganizationPlanView;
22
+ }
@@ -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 });
@@ -0,0 +1,28 @@
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
+ import type { Item } from './item';
13
+ import type { ItemResult } from './item-result';
14
+ export interface ReorganizationPlanView {
15
+ 'id'?: string;
16
+ 'status'?: string;
17
+ 'rootFolderId'?: string;
18
+ 'rootFolderPath'?: string;
19
+ 'rationale'?: string;
20
+ 'items'?: Array<Item>;
21
+ 'foldersToCreate'?: Array<string>;
22
+ 'applicable'?: number;
23
+ 'blocked'?: number;
24
+ 'createdBy'?: string;
25
+ 'createdAt'?: string;
26
+ 'appliedAt'?: string;
27
+ 'results'?: Array<ItemResult>;
28
+ }
@@ -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 });
@@ -0,0 +1,15 @@
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 SaveAiPreferencesRequest {
13
+ 'autoFile'?: boolean;
14
+ 'autoFileNewFolders'?: boolean;
15
+ }
@@ -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 });
@@ -18,6 +18,8 @@ export interface Settings {
18
18
  'thumbnailsActive'?: boolean;
19
19
  'aiActive'?: boolean;
20
20
  'aiUserSettingsEnabled'?: boolean;
21
+ 'aiInsightsActive'?: boolean;
22
+ 'aiAutoFileActive'?: boolean;
21
23
  'signatureActive'?: boolean;
22
24
  'pdfToolsActive'?: boolean;
23
25
  'signatureRequesterRoleRequired'?: boolean;
@@ -16,4 +16,5 @@ export interface TusFinalizeRequest {
16
16
  [key: string]: any;
17
17
  };
18
18
  'allowDuplicateFileNames'?: boolean;
19
+ 'autoFile'?: boolean;
19
20
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { AutoFileTicket } from './auto-file-ticket';
12
13
  export interface UploadResponse {
13
14
  'id'?: string;
14
15
  'name'?: string;
@@ -16,4 +17,5 @@ export interface UploadResponse {
16
17
  'size'?: number;
17
18
  'errorType'?: string;
18
19
  'errorMessage'?: string;
20
+ 'autoFile'?: AutoFileTicket;
19
21
  }
package/docs/AIChatApi.md CHANGED
@@ -4,11 +4,69 @@ All URIs are relative to *http://localhost:8081*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
+ |[**apply**](#apply) | **POST** /api/v1/ai/reorganization/{planId}/apply | Apply a proposed reorganisation plan|
7
8
  |[**chat**](#chat) | **POST** /api/v1/ai/chat | Chat with AI assistant|
8
9
  |[**deleteConversation**](#deleteconversation) | **DELETE** /api/v1/ai/conversations/{conversationId} | Delete conversation|
10
+ |[**discard**](#discard) | **POST** /api/v1/ai/reorganization/{planId}/discard | Discard a proposed reorganisation plan|
11
+ |[**get4**](#get4) | **GET** /api/v1/ai/reorganization/{planId} | Get a reorganisation plan proposed by the AI assistant|
9
12
  |[**getConversationHistory**](#getconversationhistory) | **GET** /api/v1/ai/conversations/{conversationId} | Get conversation history|
10
13
  |[**listConversations**](#listconversations) | **GET** /api/v1/ai/conversations | List conversations|
11
14
 
15
+ # **apply**
16
+ > ReorganizationApplyResult apply()
17
+
18
+ Creates the missing folders and moves the selected items (all applicable items when none is given).
19
+
20
+ ### Example
21
+
22
+ ```typescript
23
+ import {
24
+ AIChatApi,
25
+ Configuration,
26
+ ReorganizationApplyRequest
27
+ } from '@openfilz-sdk/typescript-ee';
28
+
29
+ const configuration = new Configuration();
30
+ const apiInstance = new AIChatApi(configuration);
31
+
32
+ let planId: string; // (default to undefined)
33
+ let reorganizationApplyRequest: ReorganizationApplyRequest; // (optional)
34
+
35
+ const { status, data } = await apiInstance.apply(
36
+ planId,
37
+ reorganizationApplyRequest
38
+ );
39
+ ```
40
+
41
+ ### Parameters
42
+
43
+ |Name | Type | Description | Notes|
44
+ |------------- | ------------- | ------------- | -------------|
45
+ | **reorganizationApplyRequest** | **ReorganizationApplyRequest**| | |
46
+ | **planId** | [**string**] | | defaults to undefined|
47
+
48
+
49
+ ### Return type
50
+
51
+ **ReorganizationApplyResult**
52
+
53
+ ### Authorization
54
+
55
+ [keycloak_auth](../README.md#keycloak_auth)
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: application/json
60
+ - **Accept**: application/json
61
+
62
+
63
+ ### HTTP response details
64
+ | Status code | Description | Response headers |
65
+ |-------------|-------------|------------------|
66
+ |**200** | OK | - |
67
+
68
+ [[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)
69
+
12
70
  # **chat**
13
71
  > Array<AiChatResponse> chat(aiChatRequest)
14
72
 
@@ -105,6 +163,107 @@ void (empty response body)
105
163
  - **Accept**: Not defined
106
164
 
107
165
 
166
+ ### HTTP response details
167
+ | Status code | Description | Response headers |
168
+ |-------------|-------------|------------------|
169
+ |**200** | OK | - |
170
+
171
+ [[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)
172
+
173
+ # **discard**
174
+ > ReorganizationPlanView discard()
175
+
176
+
177
+ ### Example
178
+
179
+ ```typescript
180
+ import {
181
+ AIChatApi,
182
+ Configuration
183
+ } from '@openfilz-sdk/typescript-ee';
184
+
185
+ const configuration = new Configuration();
186
+ const apiInstance = new AIChatApi(configuration);
187
+
188
+ let planId: string; // (default to undefined)
189
+
190
+ const { status, data } = await apiInstance.discard(
191
+ planId
192
+ );
193
+ ```
194
+
195
+ ### Parameters
196
+
197
+ |Name | Type | Description | Notes|
198
+ |------------- | ------------- | ------------- | -------------|
199
+ | **planId** | [**string**] | | defaults to undefined|
200
+
201
+
202
+ ### Return type
203
+
204
+ **ReorganizationPlanView**
205
+
206
+ ### Authorization
207
+
208
+ [keycloak_auth](../README.md#keycloak_auth)
209
+
210
+ ### HTTP request headers
211
+
212
+ - **Content-Type**: Not defined
213
+ - **Accept**: application/json
214
+
215
+
216
+ ### HTTP response details
217
+ | Status code | Description | Response headers |
218
+ |-------------|-------------|------------------|
219
+ |**200** | OK | - |
220
+
221
+ [[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)
222
+
223
+ # **get4**
224
+ > ReorganizationPlanView get4()
225
+
226
+ The plan\'s items (what moves where), which are applicable, and its status.
227
+
228
+ ### Example
229
+
230
+ ```typescript
231
+ import {
232
+ AIChatApi,
233
+ Configuration
234
+ } from '@openfilz-sdk/typescript-ee';
235
+
236
+ const configuration = new Configuration();
237
+ const apiInstance = new AIChatApi(configuration);
238
+
239
+ let planId: string; // (default to undefined)
240
+
241
+ const { status, data } = await apiInstance.get4(
242
+ planId
243
+ );
244
+ ```
245
+
246
+ ### Parameters
247
+
248
+ |Name | Type | Description | Notes|
249
+ |------------- | ------------- | ------------- | -------------|
250
+ | **planId** | [**string**] | | defaults to undefined|
251
+
252
+
253
+ ### Return type
254
+
255
+ **ReorganizationPlanView**
256
+
257
+ ### Authorization
258
+
259
+ [keycloak_auth](../README.md#keycloak_auth)
260
+
261
+ ### HTTP request headers
262
+
263
+ - **Content-Type**: Not defined
264
+ - **Accept**: application/json
265
+
266
+
108
267
  ### HTTP response details
109
268
  | Status code | Description | Response headers |
110
269
  |-------------|-------------|------------------|
@@ -0,0 +1,24 @@
1
+ # AiPreferencesView
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **autoFileAvailable** | **boolean** | | [optional] [default to undefined]
9
+ **autoFile** | **boolean** | | [optional] [default to undefined]
10
+ **autoFileNewFolders** | **boolean** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AiPreferencesView } from '@openfilz-sdk/typescript-ee';
16
+
17
+ const instance: AiPreferencesView = {
18
+ autoFileAvailable,
19
+ autoFile,
20
+ autoFileNewFolders,
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)