@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,40 @@
1
+ # AutoFileJobView
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **jobId** | **string** | | [optional] [default to undefined]
9
+ **createdBy** | **string** | | [optional] [default to undefined]
10
+ **status** | **string** | | [optional] [default to undefined]
11
+ **total** | **number** | | [optional] [default to undefined]
12
+ **filed** | **number** | | [optional] [default to undefined]
13
+ **skipped** | **number** | | [optional] [default to undefined]
14
+ **failed** | **number** | | [optional] [default to undefined]
15
+ **pending** | **number** | | [optional] [default to undefined]
16
+ **items** | [**Array<FilingOutcome>**](FilingOutcome.md) | | [optional] [default to undefined]
17
+ **createdAt** | **string** | | [optional] [default to undefined]
18
+ **finishedAt** | **string** | | [optional] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { AutoFileJobView } from '@openfilz-sdk/typescript-ee';
24
+
25
+ const instance: AutoFileJobView = {
26
+ jobId,
27
+ createdBy,
28
+ status,
29
+ total,
30
+ filed,
31
+ skipped,
32
+ failed,
33
+ pending,
34
+ items,
35
+ createdAt,
36
+ finishedAt,
37
+ };
38
+ ```
39
+
40
+ [[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
+ # AutoFileRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **documentIds** | **Array<string>** | | [optional] [default to undefined]
9
+ **allowNewFolders** | **boolean** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AutoFileRequest } from '@openfilz-sdk/typescript-ee';
15
+
16
+ const instance: AutoFileRequest = {
17
+ documentIds,
18
+ allowNewFolders,
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,22 @@
1
+ # AutoFileTicket
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **jobId** | **string** | | [optional] [default to undefined]
9
+ **status** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AutoFileTicket } from '@openfilz-sdk/typescript-ee';
15
+
16
+ const instance: AutoFileTicket = {
17
+ jobId,
18
+ status,
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)
@@ -736,11 +736,13 @@ const apiInstance = new DocumentControllerApi(configuration);
736
736
 
737
737
  let file: Array<File>; // (default to undefined)
738
738
  let allowDuplicateFileNames: boolean; //when true : if a file with the same name already exists in the target parent folder, a 409 error is raised. When false : the file will be stored (but no existing file with same name will be overwritten) (optional) (default to false)
739
+ let autoFile: boolean; //Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent = the user\'s own switch. Needs openfilz.ai.auto-file.active. (optional) (default to undefined)
739
740
  let parametersByFilename: string; //Paste the JSON array here<br>This array provides optional metadata and attributes for the uploaded files<br><section> <h3>Each object in the array must contain:</h3> <table> <thead> <tr> <th>Field</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>filename</code></td> <td><code>String</code></td> <td>Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.</td> </tr> <tr> <td><code>fileAttributes</code></td> <td><code>JSON Object</code></td> <td>Container for metadata and other file-specific attributes.</td> </tr> </tbody> </table> <h4>Inside <code>fileAttributes</code>:</h4> <table> <thead> <tr> <th>Field</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>parentFolderId</code></td> <td><code>UUID</code></td> <td>UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)</td> </tr> <tr> <td><code>metadata</code></td> <td><code>Map&lt;String, JSON Object&gt;</code></td> <td>Arbitrary metadata to associate with the file (key/value pairs).</td> </tr> </tbody> </table> <h4>Example of <code>parametersByFilename</code> JSON array :</h4> <pre><code>[ { \\\"filename\\\": \\\"file1.txt\\\", \\\"fileAttributes\\\": { \\\"parentFolderId\\\": \\\"f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\", \\\"metadata\\\": { \\\"country\\\": \\\"UK\\\", \\\"owner\\\": { \\\"name\\\": \\\"Joe\\\", \\\"owner_id\\\": 1234568 } } } }, { \\\"filename\\\": \\\"file2.md\\\", \\\"fileAttributes\\\": { \\\"metadata\\\": { \\\"key1\\\": \\\"value1\\\", \\\"key2\\\": \\\"value2\\\", \\\"key3\\\": \\\"value3\\\" } } } ]</code></pre> </section> (optional) (default to undefined)
740
741
 
741
742
  const { status, data } = await apiInstance.uploadDocument(
742
743
  file,
743
744
  allowDuplicateFileNames,
745
+ autoFile,
744
746
  parametersByFilename
745
747
  );
746
748
  ```
@@ -751,6 +753,7 @@ const { status, data } = await apiInstance.uploadDocument(
751
753
  |------------- | ------------- | ------------- | -------------|
752
754
  | **file** | **Array&lt;File&gt;** | | defaults to undefined|
753
755
  | **allowDuplicateFileNames** | [**boolean**] | when true : if a file with the same name already exists in the target parent folder, a 409 error is raised. When false : the file will be stored (but no existing file with same name will be overwritten) | (optional) defaults to false|
756
+ | **autoFile** | [**boolean**] | Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active. | (optional) defaults to undefined|
754
757
  | **parametersByFilename** | [**string**] | Paste the JSON array here&lt;br&gt;This array provides optional metadata and attributes for the uploaded files&lt;br&gt;&lt;section&gt; &lt;h3&gt;Each object in the array must contain:&lt;/h3&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;filename&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Must match the filename of one of the uploaded files. Filenames must be unique in the upload request.&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;fileAttributes&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;JSON Object&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Container for metadata and other file-specific attributes.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Inside &lt;code&gt;fileAttributes&lt;/code&gt;:&lt;/h4&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Field&lt;/th&gt; &lt;th&gt;Type&lt;/th&gt; &lt;th&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;parentFolderId&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;UUID&lt;/code&gt;&lt;/td&gt; &lt;td&gt;UUID of the target folder to upload the file (if not provided : the file will be uploaded at the root level)&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;code&gt;metadata&lt;/code&gt;&lt;/td&gt; &lt;td&gt;&lt;code&gt;Map&amp;lt;String, JSON Object&amp;gt;&lt;/code&gt;&lt;/td&gt; &lt;td&gt;Arbitrary metadata to associate with the file (key/value pairs).&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;h4&gt;Example of &lt;code&gt;parametersByFilename&lt;/code&gt; JSON array :&lt;/h4&gt; &lt;pre&gt;&lt;code&gt;[ { \\\&quot;filename\\\&quot;: \\\&quot;file1.txt\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;parentFolderId\\\&quot;: \\\&quot;f8c3de3d-1fea-4d7c-a8b0-29f63c4c3454\\\&quot;, \\\&quot;metadata\\\&quot;: { \\\&quot;country\\\&quot;: \\\&quot;UK\\\&quot;, \\\&quot;owner\\\&quot;: { \\\&quot;name\\\&quot;: \\\&quot;Joe\\\&quot;, \\\&quot;owner_id\\\&quot;: 1234568 } } } }, { \\\&quot;filename\\\&quot;: \\\&quot;file2.md\\\&quot;, \\\&quot;fileAttributes\\\&quot;: { \\\&quot;metadata\\\&quot;: { \\\&quot;key1\\\&quot;: \\\&quot;value1\\\&quot;, \\\&quot;key2\\\&quot;: \\\&quot;value2\\\&quot;, \\\&quot;key3\\\&quot;: \\\&quot;value3\\\&quot; } } } ]&lt;/code&gt;&lt;/pre&gt; &lt;/section&gt; | (optional) defaults to undefined|
755
758
 
756
759
 
@@ -793,12 +796,14 @@ const apiInstance = new DocumentControllerApi(configuration);
793
796
 
794
797
  let file: File; // (default to undefined)
795
798
  let allowDuplicateFileNames: boolean; //when true : if a file with the same name already exists in the target parent folder, a 409 error is raised. When false : the file will be stored (but no existing file with same name will be overwritten) (optional) (default to false)
799
+ let autoFile: boolean; //Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent = the user\'s own switch. Needs openfilz.ai.auto-file.active. (optional) (default to undefined)
796
800
  let parentFolderId: string; //Target parent folder ID to store the file; if not sent or null, the file is stored at the root level (optional) (default to undefined)
797
801
  let metadata: string; // (optional) (default to undefined)
798
802
 
799
803
  const { status, data } = await apiInstance.uploadDocument1(
800
804
  file,
801
805
  allowDuplicateFileNames,
806
+ autoFile,
802
807
  parentFolderId,
803
808
  metadata
804
809
  );
@@ -810,6 +815,7 @@ const { status, data } = await apiInstance.uploadDocument1(
810
815
  |------------- | ------------- | ------------- | -------------|
811
816
  | **file** | [**File**] | | defaults to undefined|
812
817
  | **allowDuplicateFileNames** | [**boolean**] | when true : if a file with the same name already exists in the target parent folder, a 409 error is raised. When false : the file will be stored (but no existing file with same name will be overwritten) | (optional) defaults to false|
818
+ | **autoFile** | [**boolean**] | Smart filing: true asks OpenFilz to choose the destination folder of the uploaded file(s) after the upload (a job id comes back in autoFile.jobId); false leaves them where they are; absent &#x3D; the user\&#39;s own switch. Needs openfilz.ai.auto-file.active. | (optional) defaults to undefined|
813
819
  | **parentFolderId** | [**string**] | Target parent folder ID to store the file; if not sent or null, the file is stored at the root level | (optional) defaults to undefined|
814
820
  | **metadata** | [**string**] | | (optional) defaults to undefined|
815
821
 
@@ -0,0 +1,54 @@
1
+ # DocumentInsightView
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **documentId** | **string** | | [optional] [default to undefined]
9
+ **fileTitle** | **string** | | [optional] [default to undefined]
10
+ **fileAuthor** | **string** | | [optional] [default to undefined]
11
+ **fileCreatedAt** | **string** | | [optional] [default to undefined]
12
+ **fileModifiedAt** | **string** | | [optional] [default to undefined]
13
+ **pageCount** | **number** | | [optional] [default to undefined]
14
+ **language** | **string** | | [optional] [default to undefined]
15
+ **category** | **string** | | [optional] [default to undefined]
16
+ **summary** | **string** | | [optional] [default to undefined]
17
+ **keywords** | **Array&lt;string&gt;** | | [optional] [default to undefined]
18
+ **entities** | **{ [key: string]: any; }** | | [optional] [default to undefined]
19
+ **tier** | **number** | | [optional] [default to undefined]
20
+ **model** | **string** | | [optional] [default to undefined]
21
+ **promptVersion** | **number** | | [optional] [default to undefined]
22
+ **status** | **string** | | [optional] [default to undefined]
23
+ **error** | **string** | | [optional] [default to undefined]
24
+ **createdAt** | **string** | | [optional] [default to undefined]
25
+ **updatedAt** | **string** | | [optional] [default to undefined]
26
+
27
+ ## Example
28
+
29
+ ```typescript
30
+ import { DocumentInsightView } from '@openfilz-sdk/typescript-ee';
31
+
32
+ const instance: DocumentInsightView = {
33
+ documentId,
34
+ fileTitle,
35
+ fileAuthor,
36
+ fileCreatedAt,
37
+ fileModifiedAt,
38
+ pageCount,
39
+ language,
40
+ category,
41
+ summary,
42
+ keywords,
43
+ entities,
44
+ tier,
45
+ model,
46
+ promptVersion,
47
+ status,
48
+ error,
49
+ createdAt,
50
+ updatedAt,
51
+ };
52
+ ```
53
+
54
+ [[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,163 @@
1
+ # DocumentInsightsApi
2
+
3
+ All URIs are relative to *http://localhost:8081*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**backfill**](#backfill) | **POST** /api/v1/ai/insights/backfill | Enrich existing documents|
8
+ |[**backfillStatus**](#backfillstatus) | **GET** /api/v1/ai/insights/backfill/{jobId} | Progress of a backfill job|
9
+ |[**getInsights**](#getinsights) | **GET** /api/v1/documents/{documentId}/insights | Get the insights of a document|
10
+
11
+ # **backfill**
12
+ > InsightBackfillStatus backfill()
13
+
14
+ Queues every FILE without a tier-2 insight (or with an older prompt version when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}.
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ DocumentInsightsApi,
21
+ Configuration,
22
+ InsightBackfillRequest
23
+ } from '@openfilz-sdk/typescript-ee';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new DocumentInsightsApi(configuration);
27
+
28
+ let insightBackfillRequest: InsightBackfillRequest; // (optional)
29
+
30
+ const { status, data } = await apiInstance.backfill(
31
+ insightBackfillRequest
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **insightBackfillRequest** | **InsightBackfillRequest**| | |
40
+
41
+
42
+ ### Return type
43
+
44
+ **InsightBackfillStatus**
45
+
46
+ ### Authorization
47
+
48
+ [keycloak_auth](../README.md#keycloak_auth)
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: application/json
53
+ - **Accept**: application/json
54
+
55
+
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**200** | OK | - |
60
+
61
+ [[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)
62
+
63
+ # **backfillStatus**
64
+ > InsightBackfillStatus backfillStatus()
65
+
66
+
67
+ ### Example
68
+
69
+ ```typescript
70
+ import {
71
+ DocumentInsightsApi,
72
+ Configuration
73
+ } from '@openfilz-sdk/typescript-ee';
74
+
75
+ const configuration = new Configuration();
76
+ const apiInstance = new DocumentInsightsApi(configuration);
77
+
78
+ let jobId: string; // (default to undefined)
79
+
80
+ const { status, data } = await apiInstance.backfillStatus(
81
+ jobId
82
+ );
83
+ ```
84
+
85
+ ### Parameters
86
+
87
+ |Name | Type | Description | Notes|
88
+ |------------- | ------------- | ------------- | -------------|
89
+ | **jobId** | [**string**] | | defaults to undefined|
90
+
91
+
92
+ ### Return type
93
+
94
+ **InsightBackfillStatus**
95
+
96
+ ### Authorization
97
+
98
+ [keycloak_auth](../README.md#keycloak_auth)
99
+
100
+ ### HTTP request headers
101
+
102
+ - **Content-Type**: Not defined
103
+ - **Accept**: application/json
104
+
105
+
106
+ ### HTTP response details
107
+ | Status code | Description | Response headers |
108
+ |-------------|-------------|------------------|
109
+ |**200** | OK | - |
110
+
111
+ [[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)
112
+
113
+ # **getInsights**
114
+ > DocumentInsightView getInsights()
115
+
116
+ Tier 1: the file\'s own metadata (title, author, dates, page count, language) captured at upload. Tier 2: the AI-derived category, summary, keywords and entities when openfilz.ai.insights.active is on. 404 when the document is not visible or has no insights yet.
117
+
118
+ ### Example
119
+
120
+ ```typescript
121
+ import {
122
+ DocumentInsightsApi,
123
+ Configuration
124
+ } from '@openfilz-sdk/typescript-ee';
125
+
126
+ const configuration = new Configuration();
127
+ const apiInstance = new DocumentInsightsApi(configuration);
128
+
129
+ let documentId: string; // (default to undefined)
130
+
131
+ const { status, data } = await apiInstance.getInsights(
132
+ documentId
133
+ );
134
+ ```
135
+
136
+ ### Parameters
137
+
138
+ |Name | Type | Description | Notes|
139
+ |------------- | ------------- | ------------- | -------------|
140
+ | **documentId** | [**string**] | | defaults to undefined|
141
+
142
+
143
+ ### Return type
144
+
145
+ **DocumentInsightView**
146
+
147
+ ### Authorization
148
+
149
+ [keycloak_auth](../README.md#keycloak_auth)
150
+
151
+ ### HTTP request headers
152
+
153
+ - **Content-Type**: Not defined
154
+ - **Accept**: application/json
155
+
156
+
157
+ ### HTTP response details
158
+ | Status code | Description | Response headers |
159
+ |-------------|-------------|------------------|
160
+ |**200** | OK | - |
161
+
162
+ [[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)
163
+
package/docs/ESignApi.md CHANGED
@@ -8,7 +8,7 @@ All URIs are relative to *http://localhost:8081*
8
8
  |[**cloudSubscription**](#cloudsubscription) | **GET** /api/v1/signatures/cloud-subscription | Cloud Signing subscription and month-to-date usage (openfilz-cloud seal provider only)|
9
9
  |[**create**](#create) | **POST** /api/v1/signatures | Create an envelope (sent immediately unless send&#x3D;false)|
10
10
  |[**events**](#events) | **GET** /api/v1/signatures/{id}/events | Audit trail of one of my envelopes|
11
- |[**get2**](#get2) | **GET** /api/v1/signatures/{id} | Get one of my envelopes (recipients + fields)|
11
+ |[**get3**](#get3) | **GET** /api/v1/signatures/{id} | Get one of my envelopes (recipients + fields)|
12
12
  |[**listSent**](#listsent) | **GET** /api/v1/signatures | List envelopes I sent for signature|
13
13
  |[**listToSign**](#listtosign) | **GET** /api/v1/signatures/to-sign | List envelopes waiting for my signature|
14
14
  |[**resend**](#resend) | **POST** /api/v1/signatures/{id}/recipients/{recipientId}/resend | Resend the signing link to a recipient (new token, previous one revoked)|
@@ -209,8 +209,8 @@ const { status, data } = await apiInstance.events(
209
209
 
210
210
  [[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)
211
211
 
212
- # **get2**
213
- > SignatureEnvelopeDTO get2()
212
+ # **get3**
213
+ > SignatureEnvelopeDTO get3()
214
214
 
215
215
 
216
216
  ### Example
@@ -226,7 +226,7 @@ const apiInstance = new ESignApi(configuration);
226
226
 
227
227
  let id: string; // (default to undefined)
228
228
 
229
- const { status, data } = await apiInstance.get2(
229
+ const { status, data } = await apiInstance.get3(
230
230
  id
231
231
  );
232
232
  ```
@@ -0,0 +1,42 @@
1
+ # FilingOutcome
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **documentId** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **status** | **string** | | [optional] [default to undefined]
11
+ **fromFolderId** | **string** | | [optional] [default to undefined]
12
+ **fromPath** | **string** | | [optional] [default to undefined]
13
+ **toFolderId** | **string** | | [optional] [default to undefined]
14
+ **toPath** | **string** | | [optional] [default to undefined]
15
+ **stage** | **string** | | [optional] [default to undefined]
16
+ **confidence** | **number** | | [optional] [default to undefined]
17
+ **reason** | **string** | | [optional] [default to undefined]
18
+ **planId** | **string** | | [optional] [default to undefined]
19
+ **decidedAt** | **string** | | [optional] [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { FilingOutcome } from '@openfilz-sdk/typescript-ee';
25
+
26
+ const instance: FilingOutcome = {
27
+ documentId,
28
+ name,
29
+ status,
30
+ fromFolderId,
31
+ fromPath,
32
+ toFolderId,
33
+ toPath,
34
+ stage,
35
+ confidence,
36
+ reason,
37
+ planId,
38
+ decidedAt,
39
+ };
40
+ ```
41
+
42
+ [[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
+ # InsightBackfillRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **folderId** | **string** | | [optional] [default to undefined]
9
+ **force** | **boolean** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { InsightBackfillRequest } from '@openfilz-sdk/typescript-ee';
15
+
16
+ const instance: InsightBackfillRequest = {
17
+ folderId,
18
+ force,
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,38 @@
1
+ # InsightBackfillStatus
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **jobId** | **string** | | [optional] [default to undefined]
9
+ **folderId** | **string** | | [optional] [default to undefined]
10
+ **force** | **boolean** | | [optional] [default to undefined]
11
+ **status** | **string** | | [optional] [default to undefined]
12
+ **total** | **number** | | [optional] [default to undefined]
13
+ **done** | **number** | | [optional] [default to undefined]
14
+ **failed** | **number** | | [optional] [default to undefined]
15
+ **skipped** | **number** | | [optional] [default to undefined]
16
+ **startedAt** | **string** | | [optional] [default to undefined]
17
+ **finishedAt** | **string** | | [optional] [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { InsightBackfillStatus } from '@openfilz-sdk/typescript-ee';
23
+
24
+ const instance: InsightBackfillStatus = {
25
+ jobId,
26
+ folderId,
27
+ force,
28
+ status,
29
+ total,
30
+ done,
31
+ failed,
32
+ skipped,
33
+ startedAt,
34
+ finishedAt,
35
+ };
36
+ ```
37
+
38
+ [[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/Item.md ADDED
@@ -0,0 +1,34 @@
1
+ # Item
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **documentId** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **type** | **string** | | [optional] [default to undefined]
11
+ **currentPath** | **string** | | [optional] [default to undefined]
12
+ **targetPath** | **string** | | [optional] [default to undefined]
13
+ **targetExists** | **boolean** | | [optional] [default to undefined]
14
+ **applicable** | **boolean** | | [optional] [default to undefined]
15
+ **issue** | **string** | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { Item } from '@openfilz-sdk/typescript-ee';
21
+
22
+ const instance: Item = {
23
+ documentId,
24
+ name,
25
+ type,
26
+ currentPath,
27
+ targetPath,
28
+ targetExists,
29
+ applicable,
30
+ issue,
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
+ # ItemResult
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **documentId** | **string** | | [optional] [default to undefined]
9
+ **outcome** | **string** | | [optional] [default to undefined]
10
+ **detail** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { ItemResult } from '@openfilz-sdk/typescript-ee';
16
+
17
+ const instance: ItemResult = {
18
+ documentId,
19
+ outcome,
20
+ detail,
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,20 @@
1
+ # ReorganizationApplyRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **itemIds** | **Array&lt;string&gt;** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { ReorganizationApplyRequest } from '@openfilz-sdk/typescript-ee';
14
+
15
+ const instance: ReorganizationApplyRequest = {
16
+ itemIds,
17
+ };
18
+ ```
19
+
20
+ [[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
+ # ReorganizationApplyResult
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **planId** | **string** | | [optional] [default to undefined]
9
+ **status** | **string** | | [optional] [default to undefined]
10
+ **moved** | **number** | | [optional] [default to undefined]
11
+ **failed** | **number** | | [optional] [default to undefined]
12
+ **skipped** | **number** | | [optional] [default to undefined]
13
+ **createdFolders** | **Array&lt;string&gt;** | | [optional] [default to undefined]
14
+ **modifiedFolderIds** | **Array&lt;string&gt;** | | [optional] [default to undefined]
15
+ **plan** | [**ReorganizationPlanView**](ReorganizationPlanView.md) | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { ReorganizationApplyResult } from '@openfilz-sdk/typescript-ee';
21
+
22
+ const instance: ReorganizationApplyResult = {
23
+ planId,
24
+ status,
25
+ moved,
26
+ failed,
27
+ skipped,
28
+ createdFolders,
29
+ modifiedFolderIds,
30
+ plan,
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,44 @@
1
+ # ReorganizationPlanView
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **status** | **string** | | [optional] [default to undefined]
10
+ **rootFolderId** | **string** | | [optional] [default to undefined]
11
+ **rootFolderPath** | **string** | | [optional] [default to undefined]
12
+ **rationale** | **string** | | [optional] [default to undefined]
13
+ **items** | [**Array&lt;Item&gt;**](Item.md) | | [optional] [default to undefined]
14
+ **foldersToCreate** | **Array&lt;string&gt;** | | [optional] [default to undefined]
15
+ **applicable** | **number** | | [optional] [default to undefined]
16
+ **blocked** | **number** | | [optional] [default to undefined]
17
+ **createdBy** | **string** | | [optional] [default to undefined]
18
+ **createdAt** | **string** | | [optional] [default to undefined]
19
+ **appliedAt** | **string** | | [optional] [default to undefined]
20
+ **results** | [**Array&lt;ItemResult&gt;**](ItemResult.md) | | [optional] [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { ReorganizationPlanView } from '@openfilz-sdk/typescript-ee';
26
+
27
+ const instance: ReorganizationPlanView = {
28
+ id,
29
+ status,
30
+ rootFolderId,
31
+ rootFolderPath,
32
+ rationale,
33
+ items,
34
+ foldersToCreate,
35
+ applicable,
36
+ blocked,
37
+ createdBy,
38
+ createdAt,
39
+ appliedAt,
40
+ results,
41
+ };
42
+ ```
43
+
44
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)