@alicloud/aimiaobi20230801 1.43.0 → 1.44.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 (45) hide show
  1. package/dist/client.d.ts +15 -0
  2. package/dist/client.js +63 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/GetPptInfoRequest.d.ts +23 -0
  5. package/dist/models/GetPptInfoRequest.js +60 -0
  6. package/dist/models/GetPptInfoRequest.js.map +1 -0
  7. package/dist/models/GetPptInfoResponse.d.ts +19 -0
  8. package/dist/models/GetPptInfoResponse.js +69 -0
  9. package/dist/models/GetPptInfoResponse.js.map +1 -0
  10. package/dist/models/GetPptInfoResponseBody.d.ts +80 -0
  11. package/dist/models/GetPptInfoResponseBody.js +103 -0
  12. package/dist/models/GetPptInfoResponseBody.js.map +1 -0
  13. package/dist/models/InitiatePptCreationV2request.d.ts +5 -0
  14. package/dist/models/InitiatePptCreationV2request.js +2 -0
  15. package/dist/models/InitiatePptCreationV2request.js.map +1 -1
  16. package/dist/models/InitiatePptCreationV2responseBody.d.ts +5 -0
  17. package/dist/models/InitiatePptCreationV2responseBody.js +2 -0
  18. package/dist/models/InitiatePptCreationV2responseBody.js.map +1 -1
  19. package/dist/models/RunBookBrainmapRequest.d.ts +9 -0
  20. package/dist/models/RunBookBrainmapRequest.js +2 -0
  21. package/dist/models/RunBookBrainmapRequest.js.map +1 -1
  22. package/dist/models/RunBookIntroductionRequest.d.ts +13 -0
  23. package/dist/models/RunBookIntroductionRequest.js +2 -0
  24. package/dist/models/RunBookIntroductionRequest.js.map +1 -1
  25. package/dist/models/RunBookIntroductionResponseBody.d.ts +48 -0
  26. package/dist/models/RunBookIntroductionResponseBody.js +37 -1
  27. package/dist/models/RunBookIntroductionResponseBody.js.map +1 -1
  28. package/dist/models/RunDocBrainmapRequest.d.ts +29 -3
  29. package/dist/models/RunDocBrainmapRequest.js +2 -0
  30. package/dist/models/RunDocBrainmapRequest.js.map +1 -1
  31. package/dist/models/model.d.ts +5 -0
  32. package/dist/models/model.js +41 -31
  33. package/dist/models/model.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/client.ts +74 -0
  36. package/src/models/GetPptInfoRequest.ts +38 -0
  37. package/src/models/GetPptInfoResponse.ts +40 -0
  38. package/src/models/GetPptInfoResponseBody.ts +129 -0
  39. package/src/models/InitiatePptCreationV2request.ts +7 -0
  40. package/src/models/InitiatePptCreationV2responseBody.ts +7 -0
  41. package/src/models/RunBookBrainmapRequest.ts +11 -0
  42. package/src/models/RunBookIntroductionRequest.ts +15 -0
  43. package/src/models/RunBookIntroductionResponseBody.ts +75 -0
  44. package/src/models/RunDocBrainmapRequest.ts +31 -3
  45. package/src/models/model.ts +5 -0
package/dist/client.d.ts CHANGED
@@ -1358,6 +1358,21 @@ export default class Client extends OpenApi {
1358
1358
  * @returns GetPptConfigResponse
1359
1359
  */
1360
1360
  getPptConfig(request: $_model.GetPptConfigRequest): Promise<$_model.GetPptConfigResponse>;
1361
+ /**
1362
+ * 查询PPT任务信息
1363
+ *
1364
+ * @param request - GetPptInfoRequest
1365
+ * @param runtime - runtime options for this request RuntimeOptions
1366
+ * @returns GetPptInfoResponse
1367
+ */
1368
+ getPptInfoWithOptions(request: $_model.GetPptInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetPptInfoResponse>;
1369
+ /**
1370
+ * 查询PPT任务信息
1371
+ *
1372
+ * @param request - GetPptInfoRequest
1373
+ * @returns GetPptInfoResponse
1374
+ */
1375
+ getPptInfo(request: $_model.GetPptInfoRequest): Promise<$_model.GetPptInfoResponse>;
1361
1376
  /**
1362
1377
  * 查询PPT模板筛选器
1363
1378
  *
package/dist/client.js CHANGED
@@ -4417,6 +4417,48 @@ class Client extends openapi_core_1.default {
4417
4417
  let runtime = new $dara.RuntimeOptions({});
4418
4418
  return await this.getPptConfigWithOptions(request, runtime);
4419
4419
  }
4420
+ /**
4421
+ * 查询PPT任务信息
4422
+ *
4423
+ * @param request - GetPptInfoRequest
4424
+ * @param runtime - runtime options for this request RuntimeOptions
4425
+ * @returns GetPptInfoResponse
4426
+ */
4427
+ async getPptInfoWithOptions(request, runtime) {
4428
+ request.validate();
4429
+ let body = {};
4430
+ if (!$dara.isNull(request.taskId)) {
4431
+ body["TaskId"] = request.taskId;
4432
+ }
4433
+ if (!$dara.isNull(request.workspaceId)) {
4434
+ body["WorkspaceId"] = request.workspaceId;
4435
+ }
4436
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4437
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
4438
+ });
4439
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4440
+ action: "GetPptInfo",
4441
+ version: "2023-08-01",
4442
+ protocol: "HTTPS",
4443
+ pathname: "/",
4444
+ method: "POST",
4445
+ authType: "AK",
4446
+ style: "RPC",
4447
+ reqBodyType: "formData",
4448
+ bodyType: "json",
4449
+ });
4450
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPptInfoResponse({}));
4451
+ }
4452
+ /**
4453
+ * 查询PPT任务信息
4454
+ *
4455
+ * @param request - GetPptInfoRequest
4456
+ * @returns GetPptInfoResponse
4457
+ */
4458
+ async getPptInfo(request) {
4459
+ let runtime = new $dara.RuntimeOptions({});
4460
+ return await this.getPptInfoWithOptions(request, runtime);
4461
+ }
4420
4462
  /**
4421
4463
  * 查询PPT模板筛选器
4422
4464
  *
@@ -4884,6 +4926,9 @@ class Client extends openapi_core_1.default {
4884
4926
  if (!$dara.isNull(request.pptTemplateType)) {
4885
4927
  body["PptTemplateType"] = request.pptTemplateType;
4886
4928
  }
4929
+ if (!$dara.isNull(request.pptTitle)) {
4930
+ body["PptTitle"] = request.pptTitle;
4931
+ }
4887
4932
  if (!$dara.isNull(request.processType)) {
4888
4933
  body["ProcessType"] = request.processType;
4889
4934
  }
@@ -7844,6 +7889,9 @@ class Client extends openapi_core_1.default {
7844
7889
  if (!$dara.isNull(request.prompt)) {
7845
7890
  body["Prompt"] = request.prompt;
7846
7891
  }
7892
+ if (!$dara.isNull(request.responseFormat)) {
7893
+ body["ResponseFormat"] = request.responseFormat;
7894
+ }
7847
7895
  if (!$dara.isNull(request.sessionId)) {
7848
7896
  body["SessionId"] = request.sessionId;
7849
7897
  }
@@ -7916,6 +7964,9 @@ class Client extends openapi_core_1.default {
7916
7964
  if (!$dara.isNull(request.prompt)) {
7917
7965
  body["Prompt"] = request.prompt;
7918
7966
  }
7967
+ if (!$dara.isNull(request.responseFormat)) {
7968
+ body["ResponseFormat"] = request.responseFormat;
7969
+ }
7919
7970
  if (!$dara.isNull(request.sessionId)) {
7920
7971
  body["SessionId"] = request.sessionId;
7921
7972
  }
@@ -7963,6 +8014,9 @@ class Client extends openapi_core_1.default {
7963
8014
  var _a, e_4, _b, _c;
7964
8015
  request.validate();
7965
8016
  let body = {};
8017
+ if (!$dara.isNull(request.cleanCache)) {
8018
+ body["CleanCache"] = request.cleanCache;
8019
+ }
7966
8020
  if (!$dara.isNull(request.docId)) {
7967
8021
  body["DocId"] = request.docId;
7968
8022
  }
@@ -8029,6 +8083,9 @@ class Client extends openapi_core_1.default {
8029
8083
  async runBookIntroductionWithOptions(request, runtime) {
8030
8084
  request.validate();
8031
8085
  let body = {};
8086
+ if (!$dara.isNull(request.cleanCache)) {
8087
+ body["CleanCache"] = request.cleanCache;
8088
+ }
8032
8089
  if (!$dara.isNull(request.docId)) {
8033
8090
  body["DocId"] = request.docId;
8034
8091
  }
@@ -8875,6 +8932,9 @@ class Client extends openapi_core_1.default {
8875
8932
  if (!$dara.isNull(request.prompt)) {
8876
8933
  body["Prompt"] = request.prompt;
8877
8934
  }
8935
+ if (!$dara.isNull(request.responseFormat)) {
8936
+ body["ResponseFormat"] = request.responseFormat;
8937
+ }
8878
8938
  if (!$dara.isNull(request.sessionId)) {
8879
8939
  body["SessionId"] = request.sessionId;
8880
8940
  }
@@ -8953,6 +9013,9 @@ class Client extends openapi_core_1.default {
8953
9013
  if (!$dara.isNull(request.prompt)) {
8954
9014
  body["Prompt"] = request.prompt;
8955
9015
  }
9016
+ if (!$dara.isNull(request.responseFormat)) {
9017
+ body["ResponseFormat"] = request.responseFormat;
9018
+ }
8956
9019
  if (!$dara.isNull(request.sessionId)) {
8957
9020
  body["SessionId"] = request.sessionId;
8958
9021
  }