oci-aidocument 2.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/LICENSE.txt +89 -0
  2. package/NOTICE.txt +1 -0
  3. package/README.md +22 -0
  4. package/THIRD_PARTY_LICENSES.txt +576 -0
  5. package/index.d.ts +22 -0
  6. package/index.js +45 -0
  7. package/index.js.map +1 -0
  8. package/lib/aiservicedocument-waiter.d.ts +29 -0
  9. package/lib/aiservicedocument-waiter.js +45 -0
  10. package/lib/aiservicedocument-waiter.js.map +1 -0
  11. package/lib/client.d.ts +102 -0
  12. package/lib/client.js +341 -0
  13. package/lib/client.js.map +1 -0
  14. package/lib/model/analyze-document-result.d.ts +63 -0
  15. package/lib/model/analyze-document-result.js +97 -0
  16. package/lib/model/analyze-document-result.js.map +1 -0
  17. package/lib/model/bounding-polygon.d.ts +28 -0
  18. package/lib/model/bounding-polygon.js +61 -0
  19. package/lib/model/bounding-polygon.js.map +1 -0
  20. package/lib/model/cell.d.ts +43 -0
  21. package/lib/model/cell.js +57 -0
  22. package/lib/model/cell.js.map +1 -0
  23. package/lib/model/create-processor-job-details.d.ts +33 -0
  24. package/lib/model/create-processor-job-details.js +69 -0
  25. package/lib/model/create-processor-job-details.js.map +1 -0
  26. package/lib/model/detected-document-type.d.ts +29 -0
  27. package/lib/model/detected-document-type.js +29 -0
  28. package/lib/model/detected-document-type.js.map +1 -0
  29. package/lib/model/detected-language.d.ts +29 -0
  30. package/lib/model/detected-language.js +29 -0
  31. package/lib/model/detected-language.js.map +1 -0
  32. package/lib/model/dimensions.d.ts +42 -0
  33. package/lib/model/dimensions.js +39 -0
  34. package/lib/model/dimensions.js.map +1 -0
  35. package/lib/model/document-classification-feature.d.ts +28 -0
  36. package/lib/model/document-classification-feature.js +54 -0
  37. package/lib/model/document-classification-feature.js.map +1 -0
  38. package/lib/model/document-feature.d.ts +22 -0
  39. package/lib/model/document-feature.js +84 -0
  40. package/lib/model/document-feature.js.map +1 -0
  41. package/lib/model/document-field.d.ts +40 -0
  42. package/lib/model/document-field.js +75 -0
  43. package/lib/model/document-field.js.map +1 -0
  44. package/lib/model/document-key-value-extraction-feature.d.ts +24 -0
  45. package/lib/model/document-key-value-extraction-feature.js +54 -0
  46. package/lib/model/document-key-value-extraction-feature.js.map +1 -0
  47. package/lib/model/document-language-classification-feature.d.ts +28 -0
  48. package/lib/model/document-language-classification-feature.js +54 -0
  49. package/lib/model/document-language-classification-feature.js.map +1 -0
  50. package/lib/model/document-metadata.d.ts +29 -0
  51. package/lib/model/document-metadata.js +29 -0
  52. package/lib/model/document-metadata.js.map +1 -0
  53. package/lib/model/document-table-extraction-feature.d.ts +24 -0
  54. package/lib/model/document-table-extraction-feature.js +54 -0
  55. package/lib/model/document-table-extraction-feature.js.map +1 -0
  56. package/lib/model/document-text-extraction-feature.d.ts +28 -0
  57. package/lib/model/document-text-extraction-feature.js +54 -0
  58. package/lib/model/document-text-extraction-feature.js.map +1 -0
  59. package/lib/model/document-type.d.ts +36 -0
  60. package/lib/model/document-type.js +47 -0
  61. package/lib/model/document-type.js.map +1 -0
  62. package/lib/model/field-label.d.ts +29 -0
  63. package/lib/model/field-label.js +29 -0
  64. package/lib/model/field-label.js.map +1 -0
  65. package/lib/model/field-name.d.ts +35 -0
  66. package/lib/model/field-name.js +57 -0
  67. package/lib/model/field-name.js.map +1 -0
  68. package/lib/model/field-value.d.ts +36 -0
  69. package/lib/model/field-value.js +100 -0
  70. package/lib/model/field-value.js.map +1 -0
  71. package/lib/model/general-processor-config.d.ts +40 -0
  72. package/lib/model/general-processor-config.js +66 -0
  73. package/lib/model/general-processor-config.js.map +1 -0
  74. package/lib/model/index.d.ts +96 -0
  75. package/lib/model/index.js +119 -0
  76. package/lib/model/index.js.map +1 -0
  77. package/lib/model/inline-document-content.d.ts +28 -0
  78. package/lib/model/inline-document-content.js +52 -0
  79. package/lib/model/inline-document-content.js.map +1 -0
  80. package/lib/model/input-location.d.ts +22 -0
  81. package/lib/model/input-location.js +72 -0
  82. package/lib/model/input-location.js.map +1 -0
  83. package/lib/model/line.d.ts +35 -0
  84. package/lib/model/line.js +57 -0
  85. package/lib/model/line.js.map +1 -0
  86. package/lib/model/normalized-vertex.d.ts +32 -0
  87. package/lib/model/normalized-vertex.js +29 -0
  88. package/lib/model/normalized-vertex.js.map +1 -0
  89. package/lib/model/object-location.d.ts +33 -0
  90. package/lib/model/object-location.js +29 -0
  91. package/lib/model/object-location.js.map +1 -0
  92. package/lib/model/object-storage-locations.d.ts +28 -0
  93. package/lib/model/object-storage-locations.js +64 -0
  94. package/lib/model/object-storage-locations.js.map +1 -0
  95. package/lib/model/output-location.d.ts +33 -0
  96. package/lib/model/output-location.js +29 -0
  97. package/lib/model/output-location.js.map +1 -0
  98. package/lib/model/page.d.ts +51 -0
  99. package/lib/model/page.js +115 -0
  100. package/lib/model/page.js.map +1 -0
  101. package/lib/model/processing-error.d.ts +29 -0
  102. package/lib/model/processing-error.js +29 -0
  103. package/lib/model/processing-error.js.map +1 -0
  104. package/lib/model/processor-config.d.ts +22 -0
  105. package/lib/model/processor-config.js +68 -0
  106. package/lib/model/processor-config.js.map +1 -0
  107. package/lib/model/processor-job.d.ts +83 -0
  108. package/lib/model/processor-job.js +93 -0
  109. package/lib/model/processor-job.js.map +1 -0
  110. package/lib/model/processor-type.d.ts +27 -0
  111. package/lib/model/processor-type.js +38 -0
  112. package/lib/model/processor-type.js.map +1 -0
  113. package/lib/model/table-row.d.ts +26 -0
  114. package/lib/model/table-row.js +61 -0
  115. package/lib/model/table-row.js.map +1 -0
  116. package/lib/model/table.d.ts +47 -0
  117. package/lib/model/table.js +87 -0
  118. package/lib/model/table.js.map +1 -0
  119. package/lib/model/value-array.d.ts +25 -0
  120. package/lib/model/value-array.js +62 -0
  121. package/lib/model/value-array.js.map +1 -0
  122. package/lib/model/value-date.d.ts +28 -0
  123. package/lib/model/value-date.js +50 -0
  124. package/lib/model/value-date.js.map +1 -0
  125. package/lib/model/value-integer.d.ts +28 -0
  126. package/lib/model/value-integer.js +50 -0
  127. package/lib/model/value-integer.js.map +1 -0
  128. package/lib/model/value-number.d.ts +28 -0
  129. package/lib/model/value-number.js +50 -0
  130. package/lib/model/value-number.js.map +1 -0
  131. package/lib/model/value-phone-number.d.ts +28 -0
  132. package/lib/model/value-phone-number.js +52 -0
  133. package/lib/model/value-phone-number.js.map +1 -0
  134. package/lib/model/value-string.d.ts +28 -0
  135. package/lib/model/value-string.js +50 -0
  136. package/lib/model/value-string.js.map +1 -0
  137. package/lib/model/value-time.d.ts +28 -0
  138. package/lib/model/value-time.js +50 -0
  139. package/lib/model/value-time.js.map +1 -0
  140. package/lib/model/word.d.ts +31 -0
  141. package/lib/model/word.js +57 -0
  142. package/lib/model/word.js.map +1 -0
  143. package/lib/request/cancel-processor-job-request.d.ts +35 -0
  144. package/lib/request/cancel-processor-job-request.js +15 -0
  145. package/lib/request/cancel-processor-job-request.js.map +1 -0
  146. package/lib/request/create-processor-job-request.d.ts +36 -0
  147. package/lib/request/create-processor-job-request.js +15 -0
  148. package/lib/request/create-processor-job-request.js.map +1 -0
  149. package/lib/request/get-processor-job-request.d.ts +26 -0
  150. package/lib/request/get-processor-job-request.js +15 -0
  151. package/lib/request/get-processor-job-request.js.map +1 -0
  152. package/lib/request/index.d.ts +18 -0
  153. package/lib/request/index.js +15 -0
  154. package/lib/request/index.js.map +1 -0
  155. package/lib/response/cancel-processor-job-response.d.ts +20 -0
  156. package/lib/response/cancel-processor-job-response.js +15 -0
  157. package/lib/response/cancel-processor-job-response.js.map +1 -0
  158. package/lib/response/create-processor-job-response.d.ts +30 -0
  159. package/lib/response/create-processor-job-response.js +15 -0
  160. package/lib/response/create-processor-job-response.js.map +1 -0
  161. package/lib/response/get-processor-job-response.d.ts +30 -0
  162. package/lib/response/get-processor-job-response.js +15 -0
  163. package/lib/response/get-processor-job-response.js.map +1 -0
  164. package/lib/response/index.d.ts +18 -0
  165. package/lib/response/index.js +15 -0
  166. package/lib/response/index.js.map +1 -0
  167. package/package.json +29 -0
@@ -0,0 +1,33 @@
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, 2022, 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
+ * The Object Storage Location.
15
+ */
16
+ export interface OutputLocation {
17
+ /**
18
+ * The Object Storage namespace.
19
+ */
20
+ "namespaceName": string;
21
+ /**
22
+ * The Object Storage bucket name.
23
+ */
24
+ "bucketName": string;
25
+ /**
26
+ * The Object Storage folder name.
27
+ */
28
+ "prefix": string;
29
+ }
30
+ export declare namespace OutputLocation {
31
+ function getJsonObj(obj: OutputLocation): object;
32
+ function getDeserializedJsonObj(obj: OutputLocation): object;
33
+ }
@@ -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, 2022, 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.OutputLocation = void 0;
16
+ var OutputLocation;
17
+ (function (OutputLocation) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ OutputLocation.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ OutputLocation.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(OutputLocation = exports.OutputLocation || (exports.OutputLocation = {}));
29
+ //# sourceMappingURL=output-location.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-location.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/output-location.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuBH,IAAiB,cAAc,CAW9B;AAXD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAW9B"}
@@ -0,0 +1,51 @@
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, 2022, 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
+ * One page document analysis result.
16
+ */
17
+ export interface Page {
18
+ /**
19
+ * The document page number. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
20
+ */
21
+ "pageNumber": number;
22
+ "dimensions"?: model.Dimensions;
23
+ /**
24
+ * An array of detected document types.
25
+ */
26
+ "detectedDocumentTypes"?: Array<model.DetectedDocumentType>;
27
+ /**
28
+ * An array of detected languages.
29
+ */
30
+ "detectedLanguages"?: Array<model.DetectedLanguage>;
31
+ /**
32
+ * The words detected on the page.
33
+ */
34
+ "words"?: Array<model.Word>;
35
+ /**
36
+ * The lines of text detected on the page.
37
+ */
38
+ "lines"?: Array<model.Line>;
39
+ /**
40
+ * The tables detected on the page.
41
+ */
42
+ "tables"?: Array<model.Table>;
43
+ /**
44
+ * The form fields detected on the page.
45
+ */
46
+ "documentFields"?: Array<model.DocumentField>;
47
+ }
48
+ export declare namespace Page {
49
+ function getJsonObj(obj: Page): object;
50
+ function getDeserializedJsonObj(obj: Page): object;
51
+ }
@@ -0,0 +1,115 @@
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, 2022, 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.Page = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var Page;
37
+ (function (Page) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "dimensions": obj.dimensions ? model.Dimensions.getJsonObj(obj.dimensions) : undefined,
41
+ "detectedDocumentTypes": obj.detectedDocumentTypes
42
+ ? obj.detectedDocumentTypes.map(item => {
43
+ return model.DetectedDocumentType.getJsonObj(item);
44
+ })
45
+ : undefined,
46
+ "detectedLanguages": obj.detectedLanguages
47
+ ? obj.detectedLanguages.map(item => {
48
+ return model.DetectedLanguage.getJsonObj(item);
49
+ })
50
+ : undefined,
51
+ "words": obj.words
52
+ ? obj.words.map(item => {
53
+ return model.Word.getJsonObj(item);
54
+ })
55
+ : undefined,
56
+ "lines": obj.lines
57
+ ? obj.lines.map(item => {
58
+ return model.Line.getJsonObj(item);
59
+ })
60
+ : undefined,
61
+ "tables": obj.tables
62
+ ? obj.tables.map(item => {
63
+ return model.Table.getJsonObj(item);
64
+ })
65
+ : undefined,
66
+ "documentFields": obj.documentFields
67
+ ? obj.documentFields.map(item => {
68
+ return model.DocumentField.getJsonObj(item);
69
+ })
70
+ : undefined
71
+ });
72
+ return jsonObj;
73
+ }
74
+ Page.getJsonObj = getJsonObj;
75
+ function getDeserializedJsonObj(obj) {
76
+ const jsonObj = Object.assign(Object.assign({}, obj), {
77
+ "dimensions": obj.dimensions
78
+ ? model.Dimensions.getDeserializedJsonObj(obj.dimensions)
79
+ : undefined,
80
+ "detectedDocumentTypes": obj.detectedDocumentTypes
81
+ ? obj.detectedDocumentTypes.map(item => {
82
+ return model.DetectedDocumentType.getDeserializedJsonObj(item);
83
+ })
84
+ : undefined,
85
+ "detectedLanguages": obj.detectedLanguages
86
+ ? obj.detectedLanguages.map(item => {
87
+ return model.DetectedLanguage.getDeserializedJsonObj(item);
88
+ })
89
+ : undefined,
90
+ "words": obj.words
91
+ ? obj.words.map(item => {
92
+ return model.Word.getDeserializedJsonObj(item);
93
+ })
94
+ : undefined,
95
+ "lines": obj.lines
96
+ ? obj.lines.map(item => {
97
+ return model.Line.getDeserializedJsonObj(item);
98
+ })
99
+ : undefined,
100
+ "tables": obj.tables
101
+ ? obj.tables.map(item => {
102
+ return model.Table.getDeserializedJsonObj(item);
103
+ })
104
+ : undefined,
105
+ "documentFields": obj.documentFields
106
+ ? obj.documentFields.map(item => {
107
+ return model.DocumentField.getDeserializedJsonObj(item);
108
+ })
109
+ : undefined
110
+ });
111
+ return jsonObj;
112
+ }
113
+ Page.getDeserializedJsonObj = getDeserializedJsonObj;
114
+ })(Page = exports.Page || (exports.Page = {}));
115
+ //# sourceMappingURL=page.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/page.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsClC,IAAiB,IAAI,CAmFpB;AAnFD,WAAiB,IAAI;IACnB,SAAgB,UAAU,CAAC,GAAS;QAClC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS;YACtF,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AAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpB,OAAO,KAAK,CAAC,KAAK,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC5B,OAAO,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAzCe,2BAAsB,yBAyCrC,CAAA;AACH,CAAC,EAnFgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAmFpB"}
@@ -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, 2022, 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
+ * The error in document processing.
15
+ */
16
+ export interface ProcessingError {
17
+ /**
18
+ * The error code.
19
+ */
20
+ "code": string;
21
+ /**
22
+ * The error message.
23
+ */
24
+ "message": string;
25
+ }
26
+ export declare namespace ProcessingError {
27
+ function getJsonObj(obj: ProcessingError): object;
28
+ function getDeserializedJsonObj(obj: ProcessingError): object;
29
+ }
@@ -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, 2022, 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.ProcessingError = void 0;
16
+ var ProcessingError;
17
+ (function (ProcessingError) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ ProcessingError.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ ProcessingError.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(ProcessingError = exports.ProcessingError || (exports.ProcessingError = {}));
29
+ //# sourceMappingURL=processing-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"processing-error.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/processing-error.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,eAAe,CAW/B;AAXD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAW/B"}
@@ -0,0 +1,22 @@
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, 2022, 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
+ * The configuration of a processor.
15
+ */
16
+ export interface ProcessorConfig {
17
+ "processorType": string;
18
+ }
19
+ export declare namespace ProcessorConfig {
20
+ function getJsonObj(obj: ProcessorConfig): object;
21
+ function getDeserializedJsonObj(obj: ProcessorConfig): object;
22
+ }
@@ -0,0 +1,68 @@
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, 2022, 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.ProcessorConfig = void 0;
35
+ const model = __importStar(require("../model"));
36
+ const common = require("oci-common");
37
+ var ProcessorConfig;
38
+ (function (ProcessorConfig) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
41
+ if (obj && "processorType" in obj && obj.processorType) {
42
+ switch (obj.processorType) {
43
+ case "GENERAL":
44
+ return model.GeneralProcessorConfig.getJsonObj(jsonObj, true);
45
+ default:
46
+ if (common.LOG.logger)
47
+ common.LOG.logger.info(`Unknown value for: ${obj.processorType}`);
48
+ }
49
+ }
50
+ return jsonObj;
51
+ }
52
+ ProcessorConfig.getJsonObj = getJsonObj;
53
+ function getDeserializedJsonObj(obj) {
54
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
55
+ if (obj && "processorType" in obj && obj.processorType) {
56
+ switch (obj.processorType) {
57
+ case "GENERAL":
58
+ return model.GeneralProcessorConfig.getDeserializedJsonObj(jsonObj, true);
59
+ default:
60
+ if (common.LOG.logger)
61
+ common.LOG.logger.info(`Unknown value for: ${obj.processorType}`);
62
+ }
63
+ }
64
+ return jsonObj;
65
+ }
66
+ ProcessorConfig.getDeserializedJsonObj = getDeserializedJsonObj;
67
+ })(ProcessorConfig = exports.ProcessorConfig || (exports.ProcessorConfig = {}));
68
+ //# sourceMappingURL=processor-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"processor-config.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/processor-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,eAAe,CAiC/B;AAjCD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,eAAe,IAAI,GAAG,IAAI,GAAG,CAAC,aAAa,EAAE;YACtD,QAAQ,GAAG,CAAC,aAAa,EAAE;gBACzB,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CACL,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC;aAC5F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,0BAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,eAAe,IAAI,GAAG,IAAI,GAAG,CAAC,aAAa,EAAE;YACtD,QAAQ,GAAG,CAAC,aAAa,EAAE;gBACzB,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CACjB,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC;aAC5F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,sCAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAiC/B"}
@@ -0,0 +1,83 @@
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, 2022, 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
+ * Details of a processor job.
16
+ */
17
+ export interface ProcessorJob {
18
+ /**
19
+ * The id of the processor job.
20
+ */
21
+ "id": string;
22
+ /**
23
+ * The compartment identifier.
24
+ */
25
+ "compartmentId": string;
26
+ /**
27
+ * The display name of the processor job.
28
+ */
29
+ "displayName"?: string;
30
+ "processorConfig": model.GeneralProcessorConfig;
31
+ "inputLocation"?: model.InlineDocumentContent | model.ObjectStorageLocations;
32
+ /**
33
+ * The job acceptance time.
34
+ */
35
+ "timeAccepted": Date;
36
+ /**
37
+ * The job start time.
38
+ */
39
+ "timeStarted"?: Date;
40
+ /**
41
+ * The job finish time.
42
+ */
43
+ "timeFinished"?: Date;
44
+ /**
45
+ * How much progress the operation has made, compared to the total amount of work to be performed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
46
+ */
47
+ "percentComplete"?: number;
48
+ "outputLocation": model.OutputLocation;
49
+ /**
50
+ * The current state of the processor job.
51
+ */
52
+ "lifecycleState": ProcessorJob.LifecycleState;
53
+ /**
54
+ * The detailed status of FAILED state.
55
+ */
56
+ "lifecycleDetails"?: ProcessorJob.LifecycleDetails;
57
+ }
58
+ export declare namespace ProcessorJob {
59
+ enum LifecycleState {
60
+ Succeeded = "SUCCEEDED",
61
+ Failed = "FAILED",
62
+ Accepted = "ACCEPTED",
63
+ Canceled = "CANCELED",
64
+ InProgress = "IN_PROGRESS",
65
+ Canceling = "CANCELING",
66
+ /**
67
+ * This value is used if a service returns a value for this enum that is not recognized by this
68
+ * version of the SDK.
69
+ */
70
+ UnknownValue = "UNKNOWN_VALUE"
71
+ }
72
+ enum LifecycleDetails {
73
+ PartiallySucceeded = "PARTIALLY_SUCCEEDED",
74
+ CompletelyFailed = "COMPLETELY_FAILED",
75
+ /**
76
+ * This value is used if a service returns a value for this enum that is not recognized by this
77
+ * version of the SDK.
78
+ */
79
+ UnknownValue = "UNKNOWN_VALUE"
80
+ }
81
+ function getJsonObj(obj: ProcessorJob): object;
82
+ function getDeserializedJsonObj(obj: ProcessorJob): object;
83
+ }
@@ -0,0 +1,93 @@
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, 2022, 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.ProcessorJob = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ProcessorJob;
37
+ (function (ProcessorJob) {
38
+ let LifecycleState;
39
+ (function (LifecycleState) {
40
+ LifecycleState["Succeeded"] = "SUCCEEDED";
41
+ LifecycleState["Failed"] = "FAILED";
42
+ LifecycleState["Accepted"] = "ACCEPTED";
43
+ LifecycleState["Canceled"] = "CANCELED";
44
+ LifecycleState["InProgress"] = "IN_PROGRESS";
45
+ LifecycleState["Canceling"] = "CANCELING";
46
+ /**
47
+ * This value is used if a service returns a value for this enum that is not recognized by this
48
+ * version of the SDK.
49
+ */
50
+ LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
51
+ })(LifecycleState = ProcessorJob.LifecycleState || (ProcessorJob.LifecycleState = {}));
52
+ let LifecycleDetails;
53
+ (function (LifecycleDetails) {
54
+ LifecycleDetails["PartiallySucceeded"] = "PARTIALLY_SUCCEEDED";
55
+ LifecycleDetails["CompletelyFailed"] = "COMPLETELY_FAILED";
56
+ /**
57
+ * This value is used if a service returns a value for this enum that is not recognized by this
58
+ * version of the SDK.
59
+ */
60
+ LifecycleDetails["UnknownValue"] = "UNKNOWN_VALUE";
61
+ })(LifecycleDetails = ProcessorJob.LifecycleDetails || (ProcessorJob.LifecycleDetails = {}));
62
+ function getJsonObj(obj) {
63
+ const jsonObj = Object.assign(Object.assign({}, obj), {
64
+ "processorConfig": obj.processorConfig
65
+ ? model.ProcessorConfig.getJsonObj(obj.processorConfig)
66
+ : undefined,
67
+ "inputLocation": obj.inputLocation
68
+ ? model.InputLocation.getJsonObj(obj.inputLocation)
69
+ : undefined,
70
+ "outputLocation": obj.outputLocation
71
+ ? model.OutputLocation.getJsonObj(obj.outputLocation)
72
+ : undefined
73
+ });
74
+ return jsonObj;
75
+ }
76
+ ProcessorJob.getJsonObj = getJsonObj;
77
+ function getDeserializedJsonObj(obj) {
78
+ const jsonObj = Object.assign(Object.assign({}, obj), {
79
+ "processorConfig": obj.processorConfig
80
+ ? model.ProcessorConfig.getDeserializedJsonObj(obj.processorConfig)
81
+ : undefined,
82
+ "inputLocation": obj.inputLocation
83
+ ? model.InputLocation.getDeserializedJsonObj(obj.inputLocation)
84
+ : undefined,
85
+ "outputLocation": obj.outputLocation
86
+ ? model.OutputLocation.getDeserializedJsonObj(obj.outputLocation)
87
+ : undefined
88
+ });
89
+ return jsonObj;
90
+ }
91
+ ProcessorJob.getDeserializedJsonObj = getDeserializedJsonObj;
92
+ })(ProcessorJob = exports.ProcessorJob || (exports.ProcessorJob = {}));
93
+ //# sourceMappingURL=processor-job.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"processor-job.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/processor-job.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgDlC,IAAiB,YAAY,CA+D5B;AA/DD,WAAiB,YAAY;IAC3B,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,yCAAuB,CAAA;QACvB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,4CAA0B,CAAA;QAC1B,yCAAuB,CAAA;QACvB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,2BAAc,KAAd,2BAAc,QAYzB;IAED,IAAY,gBAQX;IARD,WAAY,gBA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AAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,mCAAsB,yBAkBrC,CAAA;AACH,CAAC,EA/DgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QA+D5B"}
@@ -0,0 +1,27 @@
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, 2022, 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
+ * The type of a processor.
15
+ **/
16
+ export declare enum ProcessorType {
17
+ General = "GENERAL",
18
+ /**
19
+ * This value is used if a service returns a value for this enum that is not recognized by this
20
+ * version of the SDK.
21
+ */
22
+ UnknownValue = "UNKNOWN_VALUE"
23
+ }
24
+ export declare namespace ProcessorType {
25
+ function getJsonObj(obj: ProcessorType): ProcessorType;
26
+ function getDeserializedJsonObj(obj: ProcessorType): ProcessorType;
27
+ }
@@ -0,0 +1,38 @@
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, 2022, 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.ProcessorType = void 0;
16
+ /**
17
+ * The type of a processor.
18
+ **/
19
+ var ProcessorType;
20
+ (function (ProcessorType) {
21
+ ProcessorType["General"] = "GENERAL";
22
+ /**
23
+ * This value is used if a service returns a value for this enum that is not recognized by this
24
+ * version of the SDK.
25
+ */
26
+ ProcessorType["UnknownValue"] = "UNKNOWN_VALUE";
27
+ })(ProcessorType = exports.ProcessorType || (exports.ProcessorType = {}));
28
+ (function (ProcessorType) {
29
+ function getJsonObj(obj) {
30
+ return obj;
31
+ }
32
+ ProcessorType.getJsonObj = getJsonObj;
33
+ function getDeserializedJsonObj(obj) {
34
+ return obj;
35
+ }
36
+ ProcessorType.getDeserializedJsonObj = getDeserializedJsonObj;
37
+ })(ProcessorType = exports.ProcessorType || (exports.ProcessorType = {}));
38
+ //# sourceMappingURL=processor-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"processor-type.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/processor-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,aAQX;AARD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IAEnB;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EARW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAQxB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}