tencentcloud-sdk-nodejs-es 4.1.73 → 4.1.91

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-es",
3
- "version": "4.1.73",
3
+ "version": "4.1.91",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -149,6 +149,15 @@ export interface GetDocumentParseResultRequest {
149
149
  */
150
150
  TaskId: string;
151
151
  }
152
+ /**
153
+ * 消耗页数
154
+ */
155
+ export interface PageUsage {
156
+ /**
157
+ * 消耗总页数
158
+ */
159
+ TotalPages?: number;
160
+ }
152
161
  /**
153
162
  * token消耗总数
154
163
  */
@@ -185,6 +194,10 @@ export interface ParseDocumentResponse {
185
194
  * 失败页码。
186
195
  */
187
196
  FailedPages?: Array<number | bigint>;
197
+ /**
198
+ * 消耗页数
199
+ */
200
+ Usage?: PageUsage;
188
201
  /**
189
202
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
190
203
  */
@@ -286,6 +299,10 @@ export interface GetDocumentParseResultResponse {
286
299
  注意:此字段可能返回 null,表示取不到有效值。
287
300
  */
288
301
  FailedPages?: Array<number | bigint>;
302
+ /**
303
+ * 消耗页数
304
+ */
305
+ Usage?: PageUsage;
289
306
  /**
290
307
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
291
308
  */