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,52 @@
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.ValuePhoneNumber = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ValuePhoneNumber;
37
+ (function (ValuePhoneNumber) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.FieldValue.getJsonObj(obj))), {});
40
+ return jsonObj;
41
+ }
42
+ ValuePhoneNumber.getJsonObj = getJsonObj;
43
+ ValuePhoneNumber.valueType = "PHONE_NUMBER";
44
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
45
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
46
+ ? obj
47
+ : model.FieldValue.getDeserializedJsonObj(obj))), {});
48
+ return jsonObj;
49
+ }
50
+ ValuePhoneNumber.getDeserializedJsonObj = getDeserializedJsonObj;
51
+ })(ValuePhoneNumber = exports.ValuePhoneNumber || (exports.ValuePhoneNumber = {}));
52
+ //# sourceMappingURL=value-phone-number.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"value-phone-number.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/value-phone-number.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,gBAAgB,CAoBhC;AApBD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB,EAAE,eAAyB;QACzE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAsB,CAAC,GAChF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,2BAAU,aAOzB,CAAA;IACY,0BAAS,GAAG,cAAc,CAAC;IACxC,SAAgB,sBAAsB,CAAC,GAAqB,EAAE,eAAyB;QACrF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,GAAG,CAAsB,CAAC,GACpE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,uCAAsB,yBASrC,CAAA;AACH,CAAC,EApBgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAoBhC"}
@@ -0,0 +1,28 @@
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
+ * The string field value.
16
+ */
17
+ export interface ValueString extends model.FieldValue {
18
+ /**
19
+ * The string text.
20
+ */
21
+ "value": string;
22
+ "valueType": string;
23
+ }
24
+ export declare namespace ValueString {
25
+ function getJsonObj(obj: ValueString, isParentJsonObj?: boolean): object;
26
+ const valueType = "STRING";
27
+ function getDeserializedJsonObj(obj: ValueString, isParentJsonObj?: boolean): object;
28
+ }
@@ -0,0 +1,50 @@
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.ValueString = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ValueString;
37
+ (function (ValueString) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.FieldValue.getJsonObj(obj))), {});
40
+ return jsonObj;
41
+ }
42
+ ValueString.getJsonObj = getJsonObj;
43
+ ValueString.valueType = "STRING";
44
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
45
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.FieldValue.getDeserializedJsonObj(obj))), {});
46
+ return jsonObj;
47
+ }
48
+ ValueString.getDeserializedJsonObj = getDeserializedJsonObj;
49
+ })(ValueString = exports.ValueString || (exports.ValueString = {}));
50
+ //# sourceMappingURL=value-string.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"value-string.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/value-string.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,WAAW,CAkB3B;AAlBD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB,EAAE,eAAyB;QACpE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAiB,CAAC,GAC3E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,sBAAU,aAOzB,CAAA;IACY,qBAAS,GAAG,QAAQ,CAAC;IAClC,SAAgB,sBAAsB,CAAC,GAAgB,EAAE,eAAyB;QAChF,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,GAAG,CAAiB,CAAC,GACvF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,kCAAsB,yBAOrC,CAAA;AACH,CAAC,EAlBgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAkB3B"}
@@ -0,0 +1,28 @@
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
+ * The time field value.
16
+ */
17
+ export interface ValueTime extends model.FieldValue {
18
+ /**
19
+ * The time field value as yyyy-mm-dd hh-mm-ss.
20
+ */
21
+ "value": Date;
22
+ "valueType": string;
23
+ }
24
+ export declare namespace ValueTime {
25
+ function getJsonObj(obj: ValueTime, isParentJsonObj?: boolean): object;
26
+ const valueType = "TIME";
27
+ function getDeserializedJsonObj(obj: ValueTime, isParentJsonObj?: boolean): object;
28
+ }
@@ -0,0 +1,50 @@
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.ValueTime = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var ValueTime;
37
+ (function (ValueTime) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.FieldValue.getJsonObj(obj))), {});
40
+ return jsonObj;
41
+ }
42
+ ValueTime.getJsonObj = getJsonObj;
43
+ ValueTime.valueType = "TIME";
44
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
45
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.FieldValue.getDeserializedJsonObj(obj))), {});
46
+ return jsonObj;
47
+ }
48
+ ValueTime.getDeserializedJsonObj = getDeserializedJsonObj;
49
+ })(ValueTime = exports.ValueTime || (exports.ValueTime = {}));
50
+ //# sourceMappingURL=value-time.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"value-time.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/value-time.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,SAAS,CAkBzB;AAlBD,WAAiB,SAAS;IACxB,SAAgB,UAAU,CAAC,GAAc,EAAE,eAAyB;QAClE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAe,CAAC,GACzE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,oBAAU,aAOzB,CAAA;IACY,mBAAS,GAAG,MAAM,CAAC;IAChC,SAAgB,sBAAsB,CAAC,GAAc,EAAE,eAAyB;QAC9E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,GAAG,CAAe,CAAC,GACrF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,gCAAsB,yBAOrC,CAAA;AACH,CAAC,EAlBgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAkBzB"}
@@ -0,0 +1,31 @@
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
+ * A single word.
16
+ */
17
+ export interface Word {
18
+ /**
19
+ * The string of text characters in the word.
20
+ */
21
+ "text": string;
22
+ /**
23
+ * the confidence score between 0 and 1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
24
+ */
25
+ "confidence": number;
26
+ "boundingPolygon": model.BoundingPolygon;
27
+ }
28
+ export declare namespace Word {
29
+ function getJsonObj(obj: Word): object;
30
+ function getDeserializedJsonObj(obj: Word): object;
31
+ }
@@ -0,0 +1,57 @@
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.Word = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var Word;
37
+ (function (Word) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "boundingPolygon": obj.boundingPolygon
41
+ ? model.BoundingPolygon.getJsonObj(obj.boundingPolygon)
42
+ : undefined
43
+ });
44
+ return jsonObj;
45
+ }
46
+ Word.getJsonObj = getJsonObj;
47
+ function getDeserializedJsonObj(obj) {
48
+ const jsonObj = Object.assign(Object.assign({}, obj), {
49
+ "boundingPolygon": obj.boundingPolygon
50
+ ? model.BoundingPolygon.getDeserializedJsonObj(obj.boundingPolygon)
51
+ : undefined
52
+ });
53
+ return jsonObj;
54
+ }
55
+ Word.getDeserializedJsonObj = getDeserializedJsonObj;
56
+ })(Word = exports.Word || (exports.Word = {}));
57
+ //# sourceMappingURL=word.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"word.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/model/word.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkBlC,IAAiB,IAAI,CAyBpB;AAzBD,WAAiB,IAAI;IACnB,SAAgB,UAAU,CAAC,GAAS;QAClC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBACvD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,eAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAS;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACnE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,2BAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAyBpB"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ *
3
+ *
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 common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/aidocument/CancelProcessorJob.ts.html |here} to see how to use CancelProcessorJobRequest.
16
+ */
17
+ export interface CancelProcessorJobRequest extends common.BaseRequest {
18
+ /**
19
+ * Processor job id.
20
+ */
21
+ "processorJobId": string;
22
+ /**
23
+ * For optimistic concurrency control. In the PUT or DELETE call
24
+ * for a resource, set the `if-match` parameter to the value of the
25
+ * etag from a previous GET or POST response for that resource.
26
+ * The resource will be updated or deleted only if the etag you
27
+ * provide matches the resource's current etag value.
28
+ *
29
+ */
30
+ "ifMatch"?: string;
31
+ /**
32
+ * The client request ID for tracing.
33
+ */
34
+ "opcRequestId"?: string;
35
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
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
+ //# sourceMappingURL=cancel-processor-job-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cancel-processor-job-request.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/request/cancel-processor-job-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ *
3
+ *
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
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/aidocument/CreateProcessorJob.ts.html |here} to see how to use CreateProcessorJobRequest.
17
+ */
18
+ export interface CreateProcessorJobRequest extends common.BaseRequest {
19
+ /**
20
+ * The details for creating the processor job.
21
+ */
22
+ "createProcessorJobDetails": model.CreateProcessorJobDetails;
23
+ /**
24
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
25
+ * server error without the risk of executing that same action again. Retry tokens expire after 24
26
+ * hours, but can be invalidated before then due to conflicting operations. For example, if a resource
27
+ * has been deleted and purged from the system, then a retry of the original creation request
28
+ * might be rejected.
29
+ *
30
+ */
31
+ "opcRetryToken"?: string;
32
+ /**
33
+ * The client request ID for tracing.
34
+ */
35
+ "opcRequestId"?: string;
36
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
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
+ //# sourceMappingURL=create-processor-job-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-processor-job-request.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/request/create-processor-job-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ *
3
+ *
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 common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.49.0/aidocument/GetProcessorJob.ts.html |here} to see how to use GetProcessorJobRequest.
16
+ */
17
+ export interface GetProcessorJobRequest extends common.BaseRequest {
18
+ /**
19
+ * Processor job id.
20
+ */
21
+ "processorJobId": string;
22
+ /**
23
+ * The client request ID for tracing.
24
+ */
25
+ "opcRequestId"?: string;
26
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
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
+ //# sourceMappingURL=get-processor-job-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-processor-job-request.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/request/get-processor-job-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,18 @@
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 CancelProcessorJobRequest from "./cancel-processor-job-request";
14
+ export import CancelProcessorJobRequest = CancelProcessorJobRequest.CancelProcessorJobRequest;
15
+ import * as CreateProcessorJobRequest from "./create-processor-job-request";
16
+ export import CreateProcessorJobRequest = CreateProcessorJobRequest.CreateProcessorJobRequest;
17
+ import * as GetProcessorJobRequest from "./get-processor-job-request";
18
+ export import GetProcessorJobRequest = GetProcessorJobRequest.GetProcessorJobRequest;
@@ -0,0 +1,15 @@
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
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ *
3
+ *
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
+ export interface CancelProcessorJobResponse {
14
+ /**
15
+ * A unique Oracle-assigned identifier for the request. If you need to contact
16
+ * Oracle about a particular request, please provide the request ID.
17
+ *
18
+ */
19
+ "opcRequestId": string;
20
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
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
+ //# sourceMappingURL=cancel-processor-job-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cancel-processor-job-response.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/response/cancel-processor-job-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ *
3
+ *
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
+ export interface CreateProcessorJobResponse {
15
+ /**
16
+ * A unique Oracle-assigned identifier for the request. If you need to contact
17
+ * Oracle about a particular request, please provide the request ID.
18
+ *
19
+ */
20
+ "opcRequestId": string;
21
+ /**
22
+ * For optimistic concurrency control. See `if-match`.
23
+ *
24
+ */
25
+ "etag": string;
26
+ /**
27
+ * The returned model.ProcessorJob instance.
28
+ */
29
+ "processorJob": model.ProcessorJob;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
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
+ //# sourceMappingURL=create-processor-job-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-processor-job-response.js","sourceRoot":"","sources":["../../../../../lib/aidocument/lib/response/create-processor-job-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ *
3
+ *
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
+ export interface GetProcessorJobResponse {
15
+ /**
16
+ * For optimistic concurrency control. See `if-match`.
17
+ *
18
+ */
19
+ "etag": string;
20
+ /**
21
+ * A unique Oracle-assigned identifier for the request. If you need to contact
22
+ * Oracle about a particular request, please provide the request ID.
23
+ *
24
+ */
25
+ "opcRequestId": string;
26
+ /**
27
+ * The returned model.ProcessorJob instance.
28
+ */
29
+ "processorJob": model.ProcessorJob;
30
+ }