oci-aidocument 2.62.1 → 2.62.2

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 (239) hide show
  1. package/lib/aiservicedocument-waiter.d.ts +23 -0
  2. package/lib/aiservicedocument-waiter.js +55 -0
  3. package/lib/aiservicedocument-waiter.js.map +1 -1
  4. package/lib/client.d.ts +163 -3
  5. package/lib/client.js +1132 -19
  6. package/lib/client.js.map +1 -1
  7. package/lib/model/action-type.d.ts +32 -0
  8. package/lib/model/action-type.js +43 -0
  9. package/lib/model/action-type.js.map +1 -0
  10. package/lib/model/change-model-compartment-details.d.ts +25 -0
  11. package/lib/model/change-model-compartment-details.js +29 -0
  12. package/lib/model/change-model-compartment-details.js.map +1 -0
  13. package/lib/model/change-project-compartment-details.d.ts +25 -0
  14. package/lib/model/change-project-compartment-details.js +29 -0
  15. package/lib/model/change-project-compartment-details.js.map +1 -0
  16. package/lib/model/create-model-details.d.ts +75 -0
  17. package/lib/model/create-model-details.js +69 -0
  18. package/lib/model/create-model-details.js.map +1 -0
  19. package/lib/model/create-project-details.d.ts +51 -0
  20. package/lib/model/create-project-details.js +29 -0
  21. package/lib/model/create-project-details.js.map +1 -0
  22. package/lib/model/data-science-labeling-dataset.d.ts +28 -0
  23. package/lib/model/data-science-labeling-dataset.js +52 -0
  24. package/lib/model/data-science-labeling-dataset.js.map +1 -0
  25. package/lib/model/dataset-summary.d.ts +33 -0
  26. package/lib/model/dataset-summary.js +29 -0
  27. package/lib/model/dataset-summary.js.map +1 -0
  28. package/lib/model/dataset.d.ts +22 -0
  29. package/lib/model/dataset.js +72 -0
  30. package/lib/model/dataset.js.map +1 -0
  31. package/lib/model/document-classification-confidence-entry.d.ts +37 -0
  32. package/lib/model/document-classification-confidence-entry.js +29 -0
  33. package/lib/model/document-classification-confidence-entry.js.map +1 -0
  34. package/lib/model/document-classification-feature.d.ts +4 -0
  35. package/lib/model/document-classification-feature.js.map +1 -1
  36. package/lib/model/document-classification-label-metrics-report.d.ts +34 -0
  37. package/lib/model/document-classification-label-metrics-report.js +61 -0
  38. package/lib/model/document-classification-label-metrics-report.js.map +1 -0
  39. package/lib/model/document-classification-model-metrics.d.ts +29 -0
  40. package/lib/model/document-classification-model-metrics.js +72 -0
  41. package/lib/model/document-classification-model-metrics.js.map +1 -0
  42. package/lib/model/document-classification-overall-metrics-report.d.ts +30 -0
  43. package/lib/model/document-classification-overall-metrics-report.js +61 -0
  44. package/lib/model/document-classification-overall-metrics-report.js.map +1 -0
  45. package/lib/model/document-key-value-extraction-feature.d.ts +4 -0
  46. package/lib/model/document-key-value-extraction-feature.js.map +1 -1
  47. package/lib/model/index.d.ts +76 -0
  48. package/lib/model/index.js +78 -1
  49. package/lib/model/index.js.map +1 -1
  50. package/lib/model/key-value-detection-confidence-entry.d.ts +41 -0
  51. package/lib/model/key-value-detection-confidence-entry.js +29 -0
  52. package/lib/model/key-value-detection-confidence-entry.js.map +1 -0
  53. package/lib/model/key-value-detection-label-metrics-report.d.ts +38 -0
  54. package/lib/model/key-value-detection-label-metrics-report.js +61 -0
  55. package/lib/model/key-value-detection-label-metrics-report.js.map +1 -0
  56. package/lib/model/key-value-detection-model-metrics.d.ts +29 -0
  57. package/lib/model/key-value-detection-model-metrics.js +72 -0
  58. package/lib/model/key-value-detection-model-metrics.js.map +1 -0
  59. package/lib/model/key-value-detection-overall-metrics-report.d.ts +34 -0
  60. package/lib/model/key-value-detection-overall-metrics-report.js +61 -0
  61. package/lib/model/key-value-detection-overall-metrics-report.js.map +1 -0
  62. package/lib/model/model-collection.d.ts +26 -0
  63. package/lib/model/model-collection.js +61 -0
  64. package/lib/model/model-collection.js.map +1 -0
  65. package/lib/model/model-metrics.d.ts +24 -0
  66. package/lib/model/model-metrics.js +80 -0
  67. package/lib/model/model-metrics.js.map +1 -0
  68. package/lib/model/model-summary.d.ts +101 -0
  69. package/lib/model/model-summary.js +69 -0
  70. package/lib/model/model-summary.js.map +1 -0
  71. package/lib/model/model.d.ts +136 -0
  72. package/lib/model/model.js +95 -0
  73. package/lib/model/model.js.map +1 -0
  74. package/lib/model/object-storage-dataset.d.ts +36 -0
  75. package/lib/model/object-storage-dataset.js +52 -0
  76. package/lib/model/object-storage-dataset.js.map +1 -0
  77. package/lib/model/operation-status.d.ts +33 -0
  78. package/lib/model/operation-status.js +44 -0
  79. package/lib/model/operation-status.js.map +1 -0
  80. package/lib/model/operation-type.d.ts +34 -0
  81. package/lib/model/operation-type.js +45 -0
  82. package/lib/model/operation-type.js.map +1 -0
  83. package/lib/model/project-collection.d.ts +26 -0
  84. package/lib/model/project-collection.js +61 -0
  85. package/lib/model/project-collection.js.map +1 -0
  86. package/lib/model/project-summary.d.ts +81 -0
  87. package/lib/model/project-summary.js +29 -0
  88. package/lib/model/project-summary.js.map +1 -0
  89. package/lib/model/project.d.ts +94 -0
  90. package/lib/model/project.js +43 -0
  91. package/lib/model/project.js.map +1 -0
  92. package/lib/model/sort-order.d.ts +23 -0
  93. package/lib/model/sort-order.js +34 -0
  94. package/lib/model/sort-order.js.map +1 -0
  95. package/lib/model/update-model-details.d.ts +47 -0
  96. package/lib/model/update-model-details.js +29 -0
  97. package/lib/model/update-model-details.js.map +1 -0
  98. package/lib/model/update-project-details.d.ts +47 -0
  99. package/lib/model/update-project-details.js +29 -0
  100. package/lib/model/update-project-details.js.map +1 -0
  101. package/lib/model/value-array.d.ts +3 -0
  102. package/lib/model/value-array.js.map +1 -1
  103. package/lib/model/work-request-error-collection.d.ts +26 -0
  104. package/lib/model/work-request-error-collection.js +61 -0
  105. package/lib/model/work-request-error-collection.js.map +1 -0
  106. package/lib/model/work-request-error.d.ts +35 -0
  107. package/lib/model/work-request-error.js +29 -0
  108. package/lib/model/work-request-error.js.map +1 -0
  109. package/lib/model/work-request-log-entry-collection.d.ts +26 -0
  110. package/lib/model/work-request-log-entry-collection.js +61 -0
  111. package/lib/model/work-request-log-entry-collection.js.map +1 -0
  112. package/lib/model/work-request-log-entry.d.ts +29 -0
  113. package/lib/model/work-request-log-entry.js +29 -0
  114. package/lib/model/work-request-log-entry.js.map +1 -0
  115. package/lib/model/work-request-resource-metadata-key.d.ts +28 -0
  116. package/lib/model/work-request-resource-metadata-key.js +39 -0
  117. package/lib/model/work-request-resource-metadata-key.js.map +1 -0
  118. package/lib/model/work-request-resource.d.ts +48 -0
  119. package/lib/model/work-request-resource.js +29 -0
  120. package/lib/model/work-request-resource.js.map +1 -0
  121. package/lib/model/work-request-summary-collection.d.ts +26 -0
  122. package/lib/model/work-request-summary-collection.js +61 -0
  123. package/lib/model/work-request-summary-collection.js.map +1 -0
  124. package/lib/model/work-request-summary.d.ts +63 -0
  125. package/lib/model/work-request-summary.js +61 -0
  126. package/lib/model/work-request-summary.js.map +1 -0
  127. package/lib/model/work-request.d.ts +63 -0
  128. package/lib/model/work-request.js +61 -0
  129. package/lib/model/work-request.js.map +1 -0
  130. package/lib/request/cancel-processor-job-request.d.ts +1 -1
  131. package/lib/request/cancel-work-request-request.d.ts +35 -0
  132. package/lib/request/cancel-work-request-request.js +15 -0
  133. package/lib/request/cancel-work-request-request.js.map +1 -0
  134. package/lib/request/change-model-compartment-request.d.ts +40 -0
  135. package/lib/request/change-model-compartment-request.js +15 -0
  136. package/lib/request/change-model-compartment-request.js.map +1 -0
  137. package/lib/request/change-project-compartment-request.d.ts +40 -0
  138. package/lib/request/change-project-compartment-request.js +15 -0
  139. package/lib/request/change-project-compartment-request.js.map +1 -0
  140. package/lib/request/create-model-request.d.ts +36 -0
  141. package/lib/request/create-model-request.js +15 -0
  142. package/lib/request/create-model-request.js.map +1 -0
  143. package/lib/request/create-processor-job-request.d.ts +1 -1
  144. package/lib/request/create-project-request.d.ts +36 -0
  145. package/lib/request/create-project-request.js +15 -0
  146. package/lib/request/create-project-request.js.map +1 -0
  147. package/lib/request/delete-model-request.d.ts +35 -0
  148. package/lib/request/delete-model-request.js +15 -0
  149. package/lib/request/delete-model-request.js.map +1 -0
  150. package/lib/request/delete-project-request.d.ts +35 -0
  151. package/lib/request/delete-project-request.js +15 -0
  152. package/lib/request/delete-project-request.js.map +1 -0
  153. package/lib/request/get-model-request.d.ts +26 -0
  154. package/lib/request/get-model-request.js +15 -0
  155. package/lib/request/get-model-request.js.map +1 -0
  156. package/lib/request/get-processor-job-request.d.ts +1 -1
  157. package/lib/request/get-project-request.d.ts +26 -0
  158. package/lib/request/get-project-request.js +15 -0
  159. package/lib/request/get-project-request.js.map +1 -0
  160. package/lib/request/get-work-request-request.d.ts +26 -0
  161. package/lib/request/get-work-request-request.js +15 -0
  162. package/lib/request/get-work-request-request.js.map +1 -0
  163. package/lib/request/index.d.ts +34 -0
  164. package/lib/request/index.js +30 -0
  165. package/lib/request/index.js.map +1 -1
  166. package/lib/request/list-models-request.d.ts +66 -0
  167. package/lib/request/list-models-request.js +24 -0
  168. package/lib/request/list-models-request.js.map +1 -0
  169. package/lib/request/list-projects-request.d.ts +62 -0
  170. package/lib/request/list-projects-request.js +24 -0
  171. package/lib/request/list-projects-request.js.map +1 -0
  172. package/lib/request/list-work-request-errors-request.d.ts +49 -0
  173. package/lib/request/list-work-request-errors-request.js +23 -0
  174. package/lib/request/list-work-request-errors-request.js.map +1 -0
  175. package/lib/request/list-work-request-logs-request.d.ts +49 -0
  176. package/lib/request/list-work-request-logs-request.js +23 -0
  177. package/lib/request/list-work-request-logs-request.js.map +1 -0
  178. package/lib/request/list-work-requests-request.d.ts +61 -0
  179. package/lib/request/list-work-requests-request.js +23 -0
  180. package/lib/request/list-work-requests-request.js.map +1 -0
  181. package/lib/request/update-model-request.d.ts +40 -0
  182. package/lib/request/update-model-request.js +15 -0
  183. package/lib/request/update-model-request.js.map +1 -0
  184. package/lib/request/update-project-request.d.ts +40 -0
  185. package/lib/request/update-project-request.js +15 -0
  186. package/lib/request/update-project-request.js.map +1 -0
  187. package/lib/response/cancel-work-request-response.d.ts +20 -0
  188. package/lib/response/cancel-work-request-response.js +15 -0
  189. package/lib/response/cancel-work-request-response.js.map +1 -0
  190. package/lib/response/change-model-compartment-response.d.ts +20 -0
  191. package/lib/response/change-model-compartment-response.js +15 -0
  192. package/lib/response/change-model-compartment-response.js.map +1 -0
  193. package/lib/response/change-project-compartment-response.d.ts +20 -0
  194. package/lib/response/change-project-compartment-response.js +15 -0
  195. package/lib/response/change-project-compartment-response.js.map +1 -0
  196. package/lib/response/create-model-response.d.ts +45 -0
  197. package/lib/response/create-model-response.js +15 -0
  198. package/lib/response/create-model-response.js.map +1 -0
  199. package/lib/response/create-project-response.d.ts +45 -0
  200. package/lib/response/create-project-response.js +15 -0
  201. package/lib/response/create-project-response.js.map +1 -0
  202. package/lib/response/delete-model-response.d.ts +25 -0
  203. package/lib/response/delete-model-response.js +15 -0
  204. package/lib/response/delete-model-response.js.map +1 -0
  205. package/lib/response/delete-project-response.d.ts +25 -0
  206. package/lib/response/delete-project-response.js +15 -0
  207. package/lib/response/delete-project-response.js.map +1 -0
  208. package/lib/response/get-model-response.d.ts +30 -0
  209. package/lib/response/get-model-response.js +15 -0
  210. package/lib/response/get-model-response.js.map +1 -0
  211. package/lib/response/get-project-response.d.ts +30 -0
  212. package/lib/response/get-project-response.js +15 -0
  213. package/lib/response/get-project-response.js.map +1 -0
  214. package/lib/response/get-work-request-response.d.ts +34 -0
  215. package/lib/response/get-work-request-response.js +15 -0
  216. package/lib/response/get-work-request-response.js.map +1 -0
  217. package/lib/response/index.d.ts +34 -0
  218. package/lib/response/list-models-response.d.ts +32 -0
  219. package/lib/response/list-models-response.js +15 -0
  220. package/lib/response/list-models-response.js.map +1 -0
  221. package/lib/response/list-projects-response.d.ts +32 -0
  222. package/lib/response/list-projects-response.js +15 -0
  223. package/lib/response/list-projects-response.js.map +1 -0
  224. package/lib/response/list-work-request-errors-response.d.ts +32 -0
  225. package/lib/response/list-work-request-errors-response.js +15 -0
  226. package/lib/response/list-work-request-errors-response.js.map +1 -0
  227. package/lib/response/list-work-request-logs-response.d.ts +32 -0
  228. package/lib/response/list-work-request-logs-response.js +15 -0
  229. package/lib/response/list-work-request-logs-response.js.map +1 -0
  230. package/lib/response/list-work-requests-response.d.ts +32 -0
  231. package/lib/response/list-work-requests-response.js +15 -0
  232. package/lib/response/list-work-requests-response.js.map +1 -0
  233. package/lib/response/update-model-response.d.ts +25 -0
  234. package/lib/response/update-model-response.js +15 -0
  235. package/lib/response/update-model-response.js.map +1 -0
  236. package/lib/response/update-project-response.d.ts +25 -0
  237. package/lib/response/update-project-response.js +15 -0
  238. package/lib/response/update-project-response.js.map +1 -0
  239. package/package.json +3 -3
@@ -10,20 +10,40 @@
10
10
  * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
11
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
12
  */
13
+ import * as ActionType from "./action-type";
14
+ export import ActionType = ActionType.ActionType;
13
15
  import * as AnalyzeDocumentResult from "./analyze-document-result";
14
16
  export import AnalyzeDocumentResult = AnalyzeDocumentResult.AnalyzeDocumentResult;
15
17
  import * as BoundingPolygon from "./bounding-polygon";
16
18
  export import BoundingPolygon = BoundingPolygon.BoundingPolygon;
17
19
  import * as Cell from "./cell";
18
20
  export import Cell = Cell.Cell;
21
+ import * as ChangeModelCompartmentDetails from "./change-model-compartment-details";
22
+ export import ChangeModelCompartmentDetails = ChangeModelCompartmentDetails.ChangeModelCompartmentDetails;
23
+ import * as ChangeProjectCompartmentDetails from "./change-project-compartment-details";
24
+ export import ChangeProjectCompartmentDetails = ChangeProjectCompartmentDetails.ChangeProjectCompartmentDetails;
25
+ import * as CreateModelDetails from "./create-model-details";
26
+ export import CreateModelDetails = CreateModelDetails.CreateModelDetails;
19
27
  import * as CreateProcessorJobDetails from "./create-processor-job-details";
20
28
  export import CreateProcessorJobDetails = CreateProcessorJobDetails.CreateProcessorJobDetails;
29
+ import * as CreateProjectDetails from "./create-project-details";
30
+ export import CreateProjectDetails = CreateProjectDetails.CreateProjectDetails;
31
+ import * as Dataset from "./dataset";
32
+ export import Dataset = Dataset.Dataset;
33
+ import * as DatasetSummary from "./dataset-summary";
34
+ export import DatasetSummary = DatasetSummary.DatasetSummary;
21
35
  import * as DetectedDocumentType from "./detected-document-type";
22
36
  export import DetectedDocumentType = DetectedDocumentType.DetectedDocumentType;
23
37
  import * as DetectedLanguage from "./detected-language";
24
38
  export import DetectedLanguage = DetectedLanguage.DetectedLanguage;
25
39
  import * as Dimensions from "./dimensions";
26
40
  export import Dimensions = Dimensions.Dimensions;
41
+ import * as DocumentClassificationConfidenceEntry from "./document-classification-confidence-entry";
42
+ export import DocumentClassificationConfidenceEntry = DocumentClassificationConfidenceEntry.DocumentClassificationConfidenceEntry;
43
+ import * as DocumentClassificationLabelMetricsReport from "./document-classification-label-metrics-report";
44
+ export import DocumentClassificationLabelMetricsReport = DocumentClassificationLabelMetricsReport.DocumentClassificationLabelMetricsReport;
45
+ import * as DocumentClassificationOverallMetricsReport from "./document-classification-overall-metrics-report";
46
+ export import DocumentClassificationOverallMetricsReport = DocumentClassificationOverallMetricsReport.DocumentClassificationOverallMetricsReport;
27
47
  import * as DocumentFeature from "./document-feature";
28
48
  export import DocumentFeature = DocumentFeature.DocumentFeature;
29
49
  import * as DocumentField from "./document-field";
@@ -40,12 +60,30 @@ import * as FieldValue from "./field-value";
40
60
  export import FieldValue = FieldValue.FieldValue;
41
61
  import * as InputLocation from "./input-location";
42
62
  export import InputLocation = InputLocation.InputLocation;
63
+ import * as KeyValueDetectionConfidenceEntry from "./key-value-detection-confidence-entry";
64
+ export import KeyValueDetectionConfidenceEntry = KeyValueDetectionConfidenceEntry.KeyValueDetectionConfidenceEntry;
65
+ import * as KeyValueDetectionLabelMetricsReport from "./key-value-detection-label-metrics-report";
66
+ export import KeyValueDetectionLabelMetricsReport = KeyValueDetectionLabelMetricsReport.KeyValueDetectionLabelMetricsReport;
67
+ import * as KeyValueDetectionOverallMetricsReport from "./key-value-detection-overall-metrics-report";
68
+ export import KeyValueDetectionOverallMetricsReport = KeyValueDetectionOverallMetricsReport.KeyValueDetectionOverallMetricsReport;
43
69
  import * as Line from "./line";
44
70
  export import Line = Line.Line;
71
+ import * as Model from "./model";
72
+ export import Model = Model.Model;
73
+ import * as ModelCollection from "./model-collection";
74
+ export import ModelCollection = ModelCollection.ModelCollection;
75
+ import * as ModelMetrics from "./model-metrics";
76
+ export import ModelMetrics = ModelMetrics.ModelMetrics;
77
+ import * as ModelSummary from "./model-summary";
78
+ export import ModelSummary = ModelSummary.ModelSummary;
45
79
  import * as NormalizedVertex from "./normalized-vertex";
46
80
  export import NormalizedVertex = NormalizedVertex.NormalizedVertex;
47
81
  import * as ObjectLocation from "./object-location";
48
82
  export import ObjectLocation = ObjectLocation.ObjectLocation;
83
+ import * as OperationStatus from "./operation-status";
84
+ export import OperationStatus = OperationStatus.OperationStatus;
85
+ import * as OperationType from "./operation-type";
86
+ export import OperationType = OperationType.OperationType;
49
87
  import * as OutputLocation from "./output-location";
50
88
  export import OutputLocation = OutputLocation.OutputLocation;
51
89
  import * as Page from "./page";
@@ -58,14 +96,48 @@ import * as ProcessorJob from "./processor-job";
58
96
  export import ProcessorJob = ProcessorJob.ProcessorJob;
59
97
  import * as ProcessorType from "./processor-type";
60
98
  export import ProcessorType = ProcessorType.ProcessorType;
99
+ import * as Project from "./project";
100
+ export import Project = Project.Project;
101
+ import * as ProjectCollection from "./project-collection";
102
+ export import ProjectCollection = ProjectCollection.ProjectCollection;
103
+ import * as ProjectSummary from "./project-summary";
104
+ export import ProjectSummary = ProjectSummary.ProjectSummary;
105
+ import * as SortOrder from "./sort-order";
106
+ export import SortOrder = SortOrder.SortOrder;
61
107
  import * as Table from "./table";
62
108
  export import Table = Table.Table;
63
109
  import * as TableRow from "./table-row";
64
110
  export import TableRow = TableRow.TableRow;
111
+ import * as UpdateModelDetails from "./update-model-details";
112
+ export import UpdateModelDetails = UpdateModelDetails.UpdateModelDetails;
113
+ import * as UpdateProjectDetails from "./update-project-details";
114
+ export import UpdateProjectDetails = UpdateProjectDetails.UpdateProjectDetails;
65
115
  import * as Word from "./word";
66
116
  export import Word = Word.Word;
117
+ import * as WorkRequest from "./work-request";
118
+ export import WorkRequest = WorkRequest.WorkRequest;
119
+ import * as WorkRequestError from "./work-request-error";
120
+ export import WorkRequestError = WorkRequestError.WorkRequestError;
121
+ import * as WorkRequestErrorCollection from "./work-request-error-collection";
122
+ export import WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection;
123
+ import * as WorkRequestLogEntry from "./work-request-log-entry";
124
+ export import WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry;
125
+ import * as WorkRequestLogEntryCollection from "./work-request-log-entry-collection";
126
+ export import WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection;
127
+ import * as WorkRequestResource from "./work-request-resource";
128
+ export import WorkRequestResource = WorkRequestResource.WorkRequestResource;
129
+ import * as WorkRequestResourceMetadataKey from "./work-request-resource-metadata-key";
130
+ export import WorkRequestResourceMetadataKey = WorkRequestResourceMetadataKey.WorkRequestResourceMetadataKey;
131
+ import * as WorkRequestSummary from "./work-request-summary";
132
+ export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary;
133
+ import * as WorkRequestSummaryCollection from "./work-request-summary-collection";
134
+ export import WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection;
135
+ import * as DataScienceLabelingDataset from "./data-science-labeling-dataset";
136
+ export import DataScienceLabelingDataset = DataScienceLabelingDataset.DataScienceLabelingDataset;
67
137
  import * as DocumentClassificationFeature from "./document-classification-feature";
68
138
  export import DocumentClassificationFeature = DocumentClassificationFeature.DocumentClassificationFeature;
139
+ import * as DocumentClassificationModelMetrics from "./document-classification-model-metrics";
140
+ export import DocumentClassificationModelMetrics = DocumentClassificationModelMetrics.DocumentClassificationModelMetrics;
69
141
  import * as DocumentKeyValueExtractionFeature from "./document-key-value-extraction-feature";
70
142
  export import DocumentKeyValueExtractionFeature = DocumentKeyValueExtractionFeature.DocumentKeyValueExtractionFeature;
71
143
  import * as DocumentLanguageClassificationFeature from "./document-language-classification-feature";
@@ -78,6 +150,10 @@ import * as GeneralProcessorConfig from "./general-processor-config";
78
150
  export import GeneralProcessorConfig = GeneralProcessorConfig.GeneralProcessorConfig;
79
151
  import * as InlineDocumentContent from "./inline-document-content";
80
152
  export import InlineDocumentContent = InlineDocumentContent.InlineDocumentContent;
153
+ import * as KeyValueDetectionModelMetrics from "./key-value-detection-model-metrics";
154
+ export import KeyValueDetectionModelMetrics = KeyValueDetectionModelMetrics.KeyValueDetectionModelMetrics;
155
+ import * as ObjectStorageDataset from "./object-storage-dataset";
156
+ export import ObjectStorageDataset = ObjectStorageDataset.ObjectStorageDataset;
81
157
  import * as ObjectStorageLocations from "./object-storage-locations";
82
158
  export import ObjectStorageLocations = ObjectStorageLocations.ObjectStorageLocations;
83
159
  import * as ValueArray from "./value-array";
@@ -31,21 +31,42 @@ var __importStar = (this && this.__importStar) || function (mod) {
31
31
  return result;
32
32
  };
33
33
  Object.defineProperty(exports, "__esModule", { value: true });
34
- exports.ValueTime = exports.ValueString = exports.ValuePhoneNumber = exports.ValueNumber = exports.ValueInteger = exports.ValueDate = exports.ValueArray = exports.ObjectStorageLocations = exports.InlineDocumentContent = exports.GeneralProcessorConfig = exports.DocumentTextExtractionFeature = exports.DocumentTableExtractionFeature = exports.DocumentLanguageClassificationFeature = exports.DocumentKeyValueExtractionFeature = exports.DocumentClassificationFeature = exports.Word = exports.TableRow = exports.Table = exports.ProcessorType = exports.ProcessorJob = exports.ProcessorConfig = exports.ProcessingError = exports.Page = exports.OutputLocation = exports.ObjectLocation = exports.NormalizedVertex = exports.Line = exports.InputLocation = exports.FieldValue = exports.FieldName = exports.FieldLabel = exports.DocumentType = exports.DocumentMetadata = exports.DocumentField = exports.DocumentFeature = exports.Dimensions = exports.DetectedLanguage = exports.DetectedDocumentType = exports.CreateProcessorJobDetails = exports.Cell = exports.BoundingPolygon = exports.AnalyzeDocumentResult = void 0;
34
+ exports.UpdateModelDetails = exports.TableRow = exports.Table = exports.SortOrder = exports.ProjectSummary = exports.ProjectCollection = exports.Project = exports.ProcessorType = exports.ProcessorJob = exports.ProcessorConfig = exports.ProcessingError = exports.Page = exports.OutputLocation = exports.OperationType = exports.OperationStatus = exports.ObjectLocation = exports.NormalizedVertex = exports.ModelSummary = exports.ModelMetrics = exports.ModelCollection = exports.Model = exports.Line = exports.KeyValueDetectionOverallMetricsReport = exports.KeyValueDetectionLabelMetricsReport = exports.KeyValueDetectionConfidenceEntry = exports.InputLocation = exports.FieldValue = exports.FieldName = exports.FieldLabel = exports.DocumentType = exports.DocumentMetadata = exports.DocumentField = exports.DocumentFeature = exports.DocumentClassificationOverallMetricsReport = exports.DocumentClassificationLabelMetricsReport = exports.DocumentClassificationConfidenceEntry = exports.Dimensions = exports.DetectedLanguage = exports.DetectedDocumentType = exports.DatasetSummary = exports.Dataset = exports.CreateProjectDetails = exports.CreateProcessorJobDetails = exports.CreateModelDetails = exports.ChangeProjectCompartmentDetails = exports.ChangeModelCompartmentDetails = exports.Cell = exports.BoundingPolygon = exports.AnalyzeDocumentResult = exports.ActionType = void 0;
35
+ exports.ValueTime = exports.ValueString = exports.ValuePhoneNumber = exports.ValueNumber = exports.ValueInteger = exports.ValueDate = exports.ValueArray = exports.ObjectStorageLocations = exports.ObjectStorageDataset = exports.KeyValueDetectionModelMetrics = exports.InlineDocumentContent = exports.GeneralProcessorConfig = exports.DocumentTextExtractionFeature = exports.DocumentTableExtractionFeature = exports.DocumentLanguageClassificationFeature = exports.DocumentKeyValueExtractionFeature = exports.DocumentClassificationModelMetrics = exports.DocumentClassificationFeature = exports.DataScienceLabelingDataset = exports.WorkRequestSummaryCollection = exports.WorkRequestSummary = exports.WorkRequestResourceMetadataKey = exports.WorkRequestResource = exports.WorkRequestLogEntryCollection = exports.WorkRequestLogEntry = exports.WorkRequestErrorCollection = exports.WorkRequestError = exports.WorkRequest = exports.Word = exports.UpdateProjectDetails = void 0;
36
+ const ActionType = __importStar(require("./action-type"));
37
+ exports.ActionType = ActionType.ActionType;
35
38
  const AnalyzeDocumentResult = __importStar(require("./analyze-document-result"));
36
39
  exports.AnalyzeDocumentResult = AnalyzeDocumentResult.AnalyzeDocumentResult;
37
40
  const BoundingPolygon = __importStar(require("./bounding-polygon"));
38
41
  exports.BoundingPolygon = BoundingPolygon.BoundingPolygon;
39
42
  const Cell = __importStar(require("./cell"));
40
43
  exports.Cell = Cell.Cell;
44
+ const ChangeModelCompartmentDetails = __importStar(require("./change-model-compartment-details"));
45
+ exports.ChangeModelCompartmentDetails = ChangeModelCompartmentDetails.ChangeModelCompartmentDetails;
46
+ const ChangeProjectCompartmentDetails = __importStar(require("./change-project-compartment-details"));
47
+ exports.ChangeProjectCompartmentDetails = ChangeProjectCompartmentDetails.ChangeProjectCompartmentDetails;
48
+ const CreateModelDetails = __importStar(require("./create-model-details"));
49
+ exports.CreateModelDetails = CreateModelDetails.CreateModelDetails;
41
50
  const CreateProcessorJobDetails = __importStar(require("./create-processor-job-details"));
42
51
  exports.CreateProcessorJobDetails = CreateProcessorJobDetails.CreateProcessorJobDetails;
52
+ const CreateProjectDetails = __importStar(require("./create-project-details"));
53
+ exports.CreateProjectDetails = CreateProjectDetails.CreateProjectDetails;
54
+ const Dataset = __importStar(require("./dataset"));
55
+ exports.Dataset = Dataset.Dataset;
56
+ const DatasetSummary = __importStar(require("./dataset-summary"));
57
+ exports.DatasetSummary = DatasetSummary.DatasetSummary;
43
58
  const DetectedDocumentType = __importStar(require("./detected-document-type"));
44
59
  exports.DetectedDocumentType = DetectedDocumentType.DetectedDocumentType;
45
60
  const DetectedLanguage = __importStar(require("./detected-language"));
46
61
  exports.DetectedLanguage = DetectedLanguage.DetectedLanguage;
47
62
  const Dimensions = __importStar(require("./dimensions"));
48
63
  exports.Dimensions = Dimensions.Dimensions;
64
+ const DocumentClassificationConfidenceEntry = __importStar(require("./document-classification-confidence-entry"));
65
+ exports.DocumentClassificationConfidenceEntry = DocumentClassificationConfidenceEntry.DocumentClassificationConfidenceEntry;
66
+ const DocumentClassificationLabelMetricsReport = __importStar(require("./document-classification-label-metrics-report"));
67
+ exports.DocumentClassificationLabelMetricsReport = DocumentClassificationLabelMetricsReport.DocumentClassificationLabelMetricsReport;
68
+ const DocumentClassificationOverallMetricsReport = __importStar(require("./document-classification-overall-metrics-report"));
69
+ exports.DocumentClassificationOverallMetricsReport = DocumentClassificationOverallMetricsReport.DocumentClassificationOverallMetricsReport;
49
70
  const DocumentFeature = __importStar(require("./document-feature"));
50
71
  exports.DocumentFeature = DocumentFeature.DocumentFeature;
51
72
  const DocumentField = __importStar(require("./document-field"));
@@ -62,12 +83,30 @@ const FieldValue = __importStar(require("./field-value"));
62
83
  exports.FieldValue = FieldValue.FieldValue;
63
84
  const InputLocation = __importStar(require("./input-location"));
64
85
  exports.InputLocation = InputLocation.InputLocation;
86
+ const KeyValueDetectionConfidenceEntry = __importStar(require("./key-value-detection-confidence-entry"));
87
+ exports.KeyValueDetectionConfidenceEntry = KeyValueDetectionConfidenceEntry.KeyValueDetectionConfidenceEntry;
88
+ const KeyValueDetectionLabelMetricsReport = __importStar(require("./key-value-detection-label-metrics-report"));
89
+ exports.KeyValueDetectionLabelMetricsReport = KeyValueDetectionLabelMetricsReport.KeyValueDetectionLabelMetricsReport;
90
+ const KeyValueDetectionOverallMetricsReport = __importStar(require("./key-value-detection-overall-metrics-report"));
91
+ exports.KeyValueDetectionOverallMetricsReport = KeyValueDetectionOverallMetricsReport.KeyValueDetectionOverallMetricsReport;
65
92
  const Line = __importStar(require("./line"));
66
93
  exports.Line = Line.Line;
94
+ const Model = __importStar(require("./model"));
95
+ exports.Model = Model.Model;
96
+ const ModelCollection = __importStar(require("./model-collection"));
97
+ exports.ModelCollection = ModelCollection.ModelCollection;
98
+ const ModelMetrics = __importStar(require("./model-metrics"));
99
+ exports.ModelMetrics = ModelMetrics.ModelMetrics;
100
+ const ModelSummary = __importStar(require("./model-summary"));
101
+ exports.ModelSummary = ModelSummary.ModelSummary;
67
102
  const NormalizedVertex = __importStar(require("./normalized-vertex"));
68
103
  exports.NormalizedVertex = NormalizedVertex.NormalizedVertex;
69
104
  const ObjectLocation = __importStar(require("./object-location"));
70
105
  exports.ObjectLocation = ObjectLocation.ObjectLocation;
106
+ const OperationStatus = __importStar(require("./operation-status"));
107
+ exports.OperationStatus = OperationStatus.OperationStatus;
108
+ const OperationType = __importStar(require("./operation-type"));
109
+ exports.OperationType = OperationType.OperationType;
71
110
  const OutputLocation = __importStar(require("./output-location"));
72
111
  exports.OutputLocation = OutputLocation.OutputLocation;
73
112
  const Page = __importStar(require("./page"));
@@ -80,14 +119,48 @@ const ProcessorJob = __importStar(require("./processor-job"));
80
119
  exports.ProcessorJob = ProcessorJob.ProcessorJob;
81
120
  const ProcessorType = __importStar(require("./processor-type"));
82
121
  exports.ProcessorType = ProcessorType.ProcessorType;
122
+ const Project = __importStar(require("./project"));
123
+ exports.Project = Project.Project;
124
+ const ProjectCollection = __importStar(require("./project-collection"));
125
+ exports.ProjectCollection = ProjectCollection.ProjectCollection;
126
+ const ProjectSummary = __importStar(require("./project-summary"));
127
+ exports.ProjectSummary = ProjectSummary.ProjectSummary;
128
+ const SortOrder = __importStar(require("./sort-order"));
129
+ exports.SortOrder = SortOrder.SortOrder;
83
130
  const Table = __importStar(require("./table"));
84
131
  exports.Table = Table.Table;
85
132
  const TableRow = __importStar(require("./table-row"));
86
133
  exports.TableRow = TableRow.TableRow;
134
+ const UpdateModelDetails = __importStar(require("./update-model-details"));
135
+ exports.UpdateModelDetails = UpdateModelDetails.UpdateModelDetails;
136
+ const UpdateProjectDetails = __importStar(require("./update-project-details"));
137
+ exports.UpdateProjectDetails = UpdateProjectDetails.UpdateProjectDetails;
87
138
  const Word = __importStar(require("./word"));
88
139
  exports.Word = Word.Word;
140
+ const WorkRequest = __importStar(require("./work-request"));
141
+ exports.WorkRequest = WorkRequest.WorkRequest;
142
+ const WorkRequestError = __importStar(require("./work-request-error"));
143
+ exports.WorkRequestError = WorkRequestError.WorkRequestError;
144
+ const WorkRequestErrorCollection = __importStar(require("./work-request-error-collection"));
145
+ exports.WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection;
146
+ const WorkRequestLogEntry = __importStar(require("./work-request-log-entry"));
147
+ exports.WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry;
148
+ const WorkRequestLogEntryCollection = __importStar(require("./work-request-log-entry-collection"));
149
+ exports.WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection;
150
+ const WorkRequestResource = __importStar(require("./work-request-resource"));
151
+ exports.WorkRequestResource = WorkRequestResource.WorkRequestResource;
152
+ const WorkRequestResourceMetadataKey = __importStar(require("./work-request-resource-metadata-key"));
153
+ exports.WorkRequestResourceMetadataKey = WorkRequestResourceMetadataKey.WorkRequestResourceMetadataKey;
154
+ const WorkRequestSummary = __importStar(require("./work-request-summary"));
155
+ exports.WorkRequestSummary = WorkRequestSummary.WorkRequestSummary;
156
+ const WorkRequestSummaryCollection = __importStar(require("./work-request-summary-collection"));
157
+ exports.WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection;
158
+ const DataScienceLabelingDataset = __importStar(require("./data-science-labeling-dataset"));
159
+ exports.DataScienceLabelingDataset = DataScienceLabelingDataset.DataScienceLabelingDataset;
89
160
  const DocumentClassificationFeature = __importStar(require("./document-classification-feature"));
90
161
  exports.DocumentClassificationFeature = DocumentClassificationFeature.DocumentClassificationFeature;
162
+ const DocumentClassificationModelMetrics = __importStar(require("./document-classification-model-metrics"));
163
+ exports.DocumentClassificationModelMetrics = DocumentClassificationModelMetrics.DocumentClassificationModelMetrics;
91
164
  const DocumentKeyValueExtractionFeature = __importStar(require("./document-key-value-extraction-feature"));
92
165
  exports.DocumentKeyValueExtractionFeature = DocumentKeyValueExtractionFeature.DocumentKeyValueExtractionFeature;
93
166
  const DocumentLanguageClassificationFeature = __importStar(require("./document-language-classification-feature"));
@@ -100,6 +173,10 @@ const GeneralProcessorConfig = __importStar(require("./general-processor-config"
100
173
  exports.GeneralProcessorConfig = GeneralProcessorConfig.GeneralProcessorConfig;
101
174
  const InlineDocumentContent = __importStar(require("./inline-document-content"));
102
175
  exports.InlineDocumentContent = InlineDocumentContent.InlineDocumentContent;
176
+ const KeyValueDetectionModelMetrics = __importStar(require("./key-value-detection-model-metrics"));
177
+ exports.KeyValueDetectionModelMetrics = KeyValueDetectionModelMetrics.KeyValueDetectionModelMetrics;
178
+ const ObjectStorageDataset = __importStar(require("./object-storage-dataset"));
179
+ exports.ObjectStorageDataset = ObjectStorageDataset.ObjectStorageDataset;
103
180
  const ObjectStorageLocations = __importStar(require("./object-storage-locations"));
104
181
  exports.ObjectStorageLocations = ObjectStorageLocations.ObjectStorageLocations;
105
182
  const ValueArray = __importStar(require("./value-array"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,iFAAmE;AACrD,QAAA,qBAAqB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;AAClF,oEAAsD;AACxC,QAAA,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC;AAChE,6CAA+B;AACjB,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;AAC/B,0FAA4E;AAC9D,QAAA,yBAAyB,GAAG,yBAAyB,CAAC,yBAAyB,CAAC;AAC9F,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,sEAAwD;AAC1C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,yDAA2C;AAC7B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,oEAAsD;AACxC,QAAA,eAAe,GAAG,eAAe,CAAC,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SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,8DAAgD;AAClC,QAAA,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC;AACvD,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,uEAAyD;AAC3C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,wDAA0C;AAC5B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Document Understanding API
3
+ * Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
4
+ * OpenAPI spec version: 20221109
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ /**
14
+ * Key Value Detection Confidence Entry.
15
+ */
16
+ export interface KeyValueDetectionConfidenceEntry {
17
+ /**
18
+ * Threshold used to calculate precision and recall. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
19
+ */
20
+ "threshold": number;
21
+ /**
22
+ * Precision under the threshold Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
23
+ */
24
+ "precision": number;
25
+ /**
26
+ * Recall under the threshold Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
27
+ */
28
+ "recall": number;
29
+ /**
30
+ * f1Score under the threshold Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
31
+ */
32
+ "f1Score": number;
33
+ /**
34
+ * accuracy under the threshold Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
35
+ */
36
+ "accuracy": number;
37
+ }
38
+ export declare namespace KeyValueDetectionConfidenceEntry {
39
+ function getJsonObj(obj: KeyValueDetectionConfidenceEntry): object;
40
+ function getDeserializedJsonObj(obj: KeyValueDetectionConfidenceEntry): object;
41
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Document Understanding API
4
+ * Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
5
+ * OpenAPI spec version: 20221109
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.KeyValueDetectionConfidenceEntry = void 0;
16
+ var KeyValueDetectionConfidenceEntry;
17
+ (function (KeyValueDetectionConfidenceEntry) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ KeyValueDetectionConfidenceEntry.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ KeyValueDetectionConfidenceEntry.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(KeyValueDetectionConfidenceEntry = exports.KeyValueDetectionConfidenceEntry || (exports.KeyValueDetectionConfidenceEntry = {}));
29
+ //# sourceMappingURL=key-value-detection-confidence-entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key-value-detection-confidence-entry.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/key-value-detection-confidence-entry.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA+BH,IAAiB,gCAAgC,CAWhD;AAXD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CAAC,GAAqC;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqC;QAC1E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAWhD"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Document Understanding API
3
+ * Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
4
+ * OpenAPI spec version: 20221109
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Label Metrics report for Key Value Detection Model.
16
+ */
17
+ export interface KeyValueDetectionLabelMetricsReport {
18
+ /**
19
+ * Label name
20
+ */
21
+ "label"?: string;
22
+ /**
23
+ * Total test documents in the label. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
24
+ */
25
+ "documentCount"?: number;
26
+ /**
27
+ * Mean average precision under different thresholds Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
28
+ */
29
+ "meanAveragePrecision": number;
30
+ /**
31
+ * List of key value detection confidence report.
32
+ */
33
+ "confidenceEntries": Array<model.KeyValueDetectionConfidenceEntry>;
34
+ }
35
+ export declare namespace KeyValueDetectionLabelMetricsReport {
36
+ function getJsonObj(obj: KeyValueDetectionLabelMetricsReport): object;
37
+ function getDeserializedJsonObj(obj: KeyValueDetectionLabelMetricsReport): object;
38
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Document Understanding API
4
+ * Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
5
+ * OpenAPI spec version: 20221109
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.KeyValueDetectionLabelMetricsReport = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var KeyValueDetectionLabelMetricsReport;
37
+ (function (KeyValueDetectionLabelMetricsReport) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "confidenceEntries": obj.confidenceEntries
41
+ ? obj.confidenceEntries.map(item => {
42
+ return model.KeyValueDetectionConfidenceEntry.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ KeyValueDetectionLabelMetricsReport.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "confidenceEntries": obj.confidenceEntries
52
+ ? obj.confidenceEntries.map(item => {
53
+ return model.KeyValueDetectionConfidenceEntry.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ KeyValueDetectionLabelMetricsReport.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(KeyValueDetectionLabelMetricsReport = exports.KeyValueDetectionLabelMetricsReport || (exports.KeyValueDetectionLabelMetricsReport = {}));
61
+ //# sourceMappingURL=key-value-detection-label-metrics-report.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key-value-detection-label-metrics-report.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/key-value-detection-label-metrics-report.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyBlC,IAAiB,mCAAmC,CA6BnD;AA7BD,WAAiB,mCAAmC;IAClD,SAAgB,UAAU,CAAC,GAAwC;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,8CAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwC;QAC7E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0DAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QA6BnD"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Document Understanding API
3
+ * Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
4
+ * OpenAPI spec version: 20221109
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Metrics for Document Key Value Detection Model.
16
+ */
17
+ export interface KeyValueDetectionModelMetrics extends model.ModelMetrics {
18
+ /**
19
+ * List of metrics entries per label.
20
+ */
21
+ "labelMetricsReport": Array<model.KeyValueDetectionLabelMetricsReport>;
22
+ "overallMetricsReport": model.KeyValueDetectionOverallMetricsReport;
23
+ "modelType": string;
24
+ }
25
+ export declare namespace KeyValueDetectionModelMetrics {
26
+ function getJsonObj(obj: KeyValueDetectionModelMetrics, isParentJsonObj?: boolean): object;
27
+ const modelType = "KEY_VALUE_EXTRACTION";
28
+ function getDeserializedJsonObj(obj: KeyValueDetectionModelMetrics, isParentJsonObj?: boolean): object;
29
+ }
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ /**
3
+ * Document Understanding API
4
+ * Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
5
+ * OpenAPI spec version: 20221109
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.KeyValueDetectionModelMetrics = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var KeyValueDetectionModelMetrics;
37
+ (function (KeyValueDetectionModelMetrics) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
40
+ ? obj
41
+ : model.ModelMetrics.getJsonObj(obj))), {
42
+ "labelMetricsReport": obj.labelMetricsReport
43
+ ? obj.labelMetricsReport.map(item => {
44
+ return model.KeyValueDetectionLabelMetricsReport.getJsonObj(item);
45
+ })
46
+ : undefined,
47
+ "overallMetricsReport": obj.overallMetricsReport
48
+ ? model.KeyValueDetectionOverallMetricsReport.getJsonObj(obj.overallMetricsReport)
49
+ : undefined
50
+ });
51
+ return jsonObj;
52
+ }
53
+ KeyValueDetectionModelMetrics.getJsonObj = getJsonObj;
54
+ KeyValueDetectionModelMetrics.modelType = "KEY_VALUE_EXTRACTION";
55
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
56
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
57
+ ? obj
58
+ : model.ModelMetrics.getDeserializedJsonObj(obj))), {
59
+ "labelMetricsReport": obj.labelMetricsReport
60
+ ? obj.labelMetricsReport.map(item => {
61
+ return model.KeyValueDetectionLabelMetricsReport.getDeserializedJsonObj(item);
62
+ })
63
+ : undefined,
64
+ "overallMetricsReport": obj.overallMetricsReport
65
+ ? model.KeyValueDetectionOverallMetricsReport.getDeserializedJsonObj(obj.overallMetricsReport)
66
+ : undefined
67
+ });
68
+ return jsonObj;
69
+ }
70
+ KeyValueDetectionModelMetrics.getDeserializedJsonObj = getDeserializedJsonObj;
71
+ })(KeyValueDetectionModelMetrics = exports.KeyValueDetectionModelMetrics || (exports.KeyValueDetectionModelMetrics = {}));
72
+ //# sourceMappingURL=key-value-detection-model-metrics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key-value-detection-model-metrics.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/key-value-detection-model-metrics.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,6BAA6B,CAgD7C;AAhDD,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oBAAoB,CACzB;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,oDAAsB,yBAuBrC,CAAA;AACH,CAAC,EAhDgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAgD7C"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Document Understanding API
3
+ * Document AI helps customers perform various analysis on their documents. If a customer has lots of documents, they can process them in batch using asynchronous API endpoints.
4
+ * OpenAPI spec version: 20221109
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Overall Metrics report for Key Value Detection Model.
16
+ */
17
+ export interface KeyValueDetectionOverallMetricsReport {
18
+ /**
19
+ * Total test documents in the label. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
20
+ */
21
+ "documentCount"?: number;
22
+ /**
23
+ * Mean average precision under different thresholds Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
24
+ */
25
+ "meanAveragePrecision": number;
26
+ /**
27
+ * List of key value detection confidence report.
28
+ */
29
+ "confidenceEntries": Array<model.KeyValueDetectionConfidenceEntry>;
30
+ }
31
+ export declare namespace KeyValueDetectionOverallMetricsReport {
32
+ function getJsonObj(obj: KeyValueDetectionOverallMetricsReport): object;
33
+ function getDeserializedJsonObj(obj: KeyValueDetectionOverallMetricsReport): object;
34
+ }