@aws-sdk/client-textract 3.835.0 → 3.839.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.
- package/dist-cjs/index.js +2 -1
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/commands/AnalyzeDocumentCommand.d.ts +1 -0
- package/dist-types/commands/AnalyzeExpenseCommand.d.ts +4 -0
- package/dist-types/commands/AnalyzeIDCommand.d.ts +1 -0
- package/dist-types/commands/DetectDocumentTextCommand.d.ts +1 -0
- package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +1 -0
- package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +1 -0
- package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +4 -0
- package/dist-types/commands/GetLendingAnalysisCommand.d.ts +2 -0
- package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +7 -3
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -1720,7 +1720,8 @@ var de_ExtractionList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1720
1720
|
var de_Geometry = /* @__PURE__ */ __name((output, context) => {
|
|
1721
1721
|
return (0, import_smithy_client.take)(output, {
|
|
1722
1722
|
BoundingBox: /* @__PURE__ */ __name((_) => de_BoundingBox(_, context), "BoundingBox"),
|
|
1723
|
-
Polygon: /* @__PURE__ */ __name((_) => de_Polygon(_, context), "Polygon")
|
|
1723
|
+
Polygon: /* @__PURE__ */ __name((_) => de_Polygon(_, context), "Polygon"),
|
|
1724
|
+
RotationAngle: import_smithy_client.limitedParseFloat32
|
|
1724
1725
|
});
|
|
1725
1726
|
}, "de_Geometry");
|
|
1726
1727
|
var de_GetAdapterResponse = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -983,6 +983,7 @@ const de_Geometry = (output, context) => {
|
|
|
983
983
|
return take(output, {
|
|
984
984
|
BoundingBox: (_) => de_BoundingBox(_, context),
|
|
985
985
|
Polygon: (_) => de_Polygon(_, context),
|
|
986
|
+
RotationAngle: __limitedParseFloat32,
|
|
986
987
|
});
|
|
987
988
|
};
|
|
988
989
|
const de_GetAdapterResponse = (output, context) => {
|
|
@@ -91,6 +91,7 @@ declare const AnalyzeExpenseCommand_base: {
|
|
|
91
91
|
* // Y: Number("float"),
|
|
92
92
|
* // },
|
|
93
93
|
* // ],
|
|
94
|
+
* // RotationAngle: Number("float"),
|
|
94
95
|
* // },
|
|
95
96
|
* // Confidence: Number("float"),
|
|
96
97
|
* // },
|
|
@@ -109,6 +110,7 @@ declare const AnalyzeExpenseCommand_base: {
|
|
|
109
110
|
* // Y: Number("float"),
|
|
110
111
|
* // },
|
|
111
112
|
* // ],
|
|
113
|
+
* // RotationAngle: Number("float"),
|
|
112
114
|
* // },
|
|
113
115
|
* // Confidence: Number("float"),
|
|
114
116
|
* // },
|
|
@@ -153,6 +155,7 @@ declare const AnalyzeExpenseCommand_base: {
|
|
|
153
155
|
* // Y: Number("float"),
|
|
154
156
|
* // },
|
|
155
157
|
* // ],
|
|
158
|
+
* // RotationAngle: Number("float"),
|
|
156
159
|
* // },
|
|
157
160
|
* // Confidence: Number("float"),
|
|
158
161
|
* // },
|
|
@@ -171,6 +174,7 @@ declare const AnalyzeExpenseCommand_base: {
|
|
|
171
174
|
* // Y: Number("float"),
|
|
172
175
|
* // },
|
|
173
176
|
* // ],
|
|
177
|
+
* // RotationAngle: Number("float"),
|
|
174
178
|
* // },
|
|
175
179
|
* // Confidence: Number("float"),
|
|
176
180
|
* // },
|
|
@@ -87,6 +87,7 @@ declare const GetExpenseAnalysisCommand_base: {
|
|
|
87
87
|
* // Y: Number("float"),
|
|
88
88
|
* // },
|
|
89
89
|
* // ],
|
|
90
|
+
* // RotationAngle: Number("float"),
|
|
90
91
|
* // },
|
|
91
92
|
* // Confidence: Number("float"),
|
|
92
93
|
* // },
|
|
@@ -105,6 +106,7 @@ declare const GetExpenseAnalysisCommand_base: {
|
|
|
105
106
|
* // Y: Number("float"),
|
|
106
107
|
* // },
|
|
107
108
|
* // ],
|
|
109
|
+
* // RotationAngle: Number("float"),
|
|
108
110
|
* // },
|
|
109
111
|
* // Confidence: Number("float"),
|
|
110
112
|
* // },
|
|
@@ -149,6 +151,7 @@ declare const GetExpenseAnalysisCommand_base: {
|
|
|
149
151
|
* // Y: Number("float"),
|
|
150
152
|
* // },
|
|
151
153
|
* // ],
|
|
154
|
+
* // RotationAngle: Number("float"),
|
|
152
155
|
* // },
|
|
153
156
|
* // Confidence: Number("float"),
|
|
154
157
|
* // },
|
|
@@ -167,6 +170,7 @@ declare const GetExpenseAnalysisCommand_base: {
|
|
|
167
170
|
* // Y: Number("float"),
|
|
168
171
|
* // },
|
|
169
172
|
* // ],
|
|
173
|
+
* // RotationAngle: Number("float"),
|
|
170
174
|
* // },
|
|
171
175
|
* // Confidence: Number("float"),
|
|
172
176
|
* // },
|
|
@@ -96,6 +96,7 @@ declare const GetLendingAnalysisCommand_base: {
|
|
|
96
96
|
* // Y: Number("float"),
|
|
97
97
|
* // },
|
|
98
98
|
* // ],
|
|
99
|
+
* // RotationAngle: Number("float"),
|
|
99
100
|
* // },
|
|
100
101
|
* // Confidence: Number("float"),
|
|
101
102
|
* // },
|
|
@@ -116,6 +117,7 @@ declare const GetLendingAnalysisCommand_base: {
|
|
|
116
117
|
* // Y: Number("float"),
|
|
117
118
|
* // },
|
|
118
119
|
* // ],
|
|
120
|
+
* // RotationAngle: Number("float"),
|
|
119
121
|
* // },
|
|
120
122
|
* // Confidence: Number("float"),
|
|
121
123
|
* // },
|
|
@@ -35,7 +35,7 @@ declare const StartDocumentTextDetectionCommand_base: {
|
|
|
35
35
|
* of the document.
|
|
36
36
|
* </p>
|
|
37
37
|
* <p>
|
|
38
|
-
* <code>
|
|
38
|
+
* <code>StartDocumentTextDetection</code> returns a job identifier
|
|
39
39
|
* (<code>JobId</code>) that you use to get the results of the operation. When text
|
|
40
40
|
* detection is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS)
|
|
41
41
|
* topic that you specify in <code>NotificationChannel</code>. To get the results of the text
|
|
@@ -128,8 +128,7 @@ export interface S3Object {
|
|
|
128
128
|
*/
|
|
129
129
|
Bucket?: string | undefined;
|
|
130
130
|
/**
|
|
131
|
-
* <p>The file name of the input document.
|
|
132
|
-
* in JPEG or PNG format. Asynchronous operations also support PDF and TIFF format files.</p>
|
|
131
|
+
* <p>The file name of the input document. Image files may be in PDF, TIFF, JPEG, or PNG format.</p>
|
|
133
132
|
* @public
|
|
134
133
|
*/
|
|
135
134
|
Name?: string | undefined;
|
|
@@ -559,6 +558,11 @@ export interface Geometry {
|
|
|
559
558
|
* @public
|
|
560
559
|
*/
|
|
561
560
|
Polygon?: Point[] | undefined;
|
|
561
|
+
/**
|
|
562
|
+
* <p>Provides a numerical value corresponding to the rotation of the text.</p>
|
|
563
|
+
* @public
|
|
564
|
+
*/
|
|
565
|
+
RotationAngle?: number | undefined;
|
|
562
566
|
}
|
|
563
567
|
/**
|
|
564
568
|
* @public
|
|
@@ -696,7 +700,7 @@ export interface Block {
|
|
|
696
700
|
* </li>
|
|
697
701
|
* <li>
|
|
698
702
|
* <p>
|
|
699
|
-
* <i>LINE</i> - A string of
|
|
703
|
+
* <i>LINE</i> - A string of space-delimited, contiguous words that are
|
|
700
704
|
* detected on a document page.</p>
|
|
701
705
|
* </li>
|
|
702
706
|
* </ul>
|
|
@@ -154,6 +154,7 @@ export interface Point {
|
|
|
154
154
|
export interface Geometry {
|
|
155
155
|
BoundingBox?: BoundingBox | undefined;
|
|
156
156
|
Polygon?: Point[] | undefined;
|
|
157
|
+
RotationAngle?: number | undefined;
|
|
157
158
|
}
|
|
158
159
|
export declare const RelationshipType: {
|
|
159
160
|
readonly ANSWER: "ANSWER";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-textract",
|
|
3
3
|
"description": "AWS SDK for JavaScript Textract Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.839.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-textract",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.839.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.839.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.821.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.839.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.821.0",
|
|
30
30
|
"@aws-sdk/types": "3.821.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.828.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.821.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.839.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.4",
|
|
35
|
-
"@smithy/core": "^3.
|
|
35
|
+
"@smithy/core": "^3.6.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.4",
|
|
37
37
|
"@smithy/hash-node": "^4.0.4",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.4",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.4",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.13",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.14",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.8",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.4",
|
|
44
44
|
"@smithy/node-config-provider": "^4.1.3",
|
|
45
45
|
"@smithy/node-http-handler": "^4.0.6",
|
|
46
46
|
"@smithy/protocol-http": "^5.1.2",
|
|
47
|
-
"@smithy/smithy-client": "^4.4.
|
|
47
|
+
"@smithy/smithy-client": "^4.4.5",
|
|
48
48
|
"@smithy/types": "^4.3.1",
|
|
49
49
|
"@smithy/url-parser": "^4.0.4",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.21",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.21",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.6",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.4",
|
|
57
57
|
"@smithy/util-retry": "^4.0.6",
|