@alicloud/aimiaobi20230801 1.31.0 → 1.31.1

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 (40) hide show
  1. package/dist/client.js +18 -0
  2. package/dist/client.js.map +1 -1
  3. package/dist/models/GetSmartAuditResultResponseBody.d.ts +1 -0
  4. package/dist/models/GetSmartAuditResultResponseBody.js +2 -0
  5. package/dist/models/GetSmartAuditResultResponseBody.js.map +1 -1
  6. package/dist/models/RunAbbreviationContentRequest.d.ts +1 -0
  7. package/dist/models/RunAbbreviationContentRequest.js +2 -0
  8. package/dist/models/RunAbbreviationContentRequest.js.map +1 -1
  9. package/dist/models/RunExpandContentRequest.d.ts +1 -0
  10. package/dist/models/RunExpandContentRequest.js +2 -0
  11. package/dist/models/RunExpandContentRequest.js.map +1 -1
  12. package/dist/models/RunKeywordsExtractionGenerationRequest.d.ts +1 -0
  13. package/dist/models/RunKeywordsExtractionGenerationRequest.js +2 -0
  14. package/dist/models/RunKeywordsExtractionGenerationRequest.js.map +1 -1
  15. package/dist/models/RunKeywordsExtractionGenerationShrinkRequest.d.ts +1 -0
  16. package/dist/models/RunKeywordsExtractionGenerationShrinkRequest.js +2 -0
  17. package/dist/models/RunKeywordsExtractionGenerationShrinkRequest.js.map +1 -1
  18. package/dist/models/RunTextPolishingRequest.d.ts +1 -0
  19. package/dist/models/RunTextPolishingRequest.js +2 -0
  20. package/dist/models/RunTextPolishingRequest.js.map +1 -1
  21. package/dist/models/SubmitSmartAuditRequest.d.ts +15 -0
  22. package/dist/models/SubmitSmartAuditRequest.js +27 -1
  23. package/dist/models/SubmitSmartAuditRequest.js.map +1 -1
  24. package/dist/models/SubmitSmartAuditShrinkRequest.d.ts +1 -0
  25. package/dist/models/SubmitSmartAuditShrinkRequest.js +2 -0
  26. package/dist/models/SubmitSmartAuditShrinkRequest.js.map +1 -1
  27. package/dist/models/model.d.ts +1 -0
  28. package/dist/models/model.js +17 -15
  29. package/dist/models/model.js.map +1 -1
  30. package/package.json +1 -1
  31. package/src/client.ts +24 -0
  32. package/src/models/GetSmartAuditResultResponseBody.ts +3 -0
  33. package/src/models/RunAbbreviationContentRequest.ts +3 -0
  34. package/src/models/RunExpandContentRequest.ts +3 -0
  35. package/src/models/RunKeywordsExtractionGenerationRequest.ts +3 -0
  36. package/src/models/RunKeywordsExtractionGenerationShrinkRequest.ts +3 -0
  37. package/src/models/RunTextPolishingRequest.ts +3 -0
  38. package/src/models/SubmitSmartAuditRequest.ts +32 -0
  39. package/src/models/SubmitSmartAuditShrinkRequest.ts +3 -0
  40. package/src/models/model.ts +1 -0
package/dist/client.js CHANGED
@@ -5426,6 +5426,9 @@ class Client extends openapi_core_1.default {
5426
5426
  if (!$dara.isNull(request.content)) {
5427
5427
  body["Content"] = request.content;
5428
5428
  }
5429
+ if (!$dara.isNull(request.prompt)) {
5430
+ body["Prompt"] = request.prompt;
5431
+ }
5429
5432
  if (!$dara.isNull(request.workspaceId)) {
5430
5433
  body["WorkspaceId"] = request.workspaceId;
5431
5434
  }
@@ -6297,6 +6300,9 @@ class Client extends openapi_core_1.default {
6297
6300
  if (!$dara.isNull(request.content)) {
6298
6301
  body["Content"] = request.content;
6299
6302
  }
6303
+ if (!$dara.isNull(request.prompt)) {
6304
+ body["Prompt"] = request.prompt;
6305
+ }
6300
6306
  if (!$dara.isNull(request.workspaceId)) {
6301
6307
  body["WorkspaceId"] = request.workspaceId;
6302
6308
  }
@@ -6446,6 +6452,9 @@ class Client extends openapi_core_1.default {
6446
6452
  request.referenceDataShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.referenceData, "ReferenceData", "json");
6447
6453
  }
6448
6454
  let body = {};
6455
+ if (!$dara.isNull(request.prompt)) {
6456
+ body["Prompt"] = request.prompt;
6457
+ }
6449
6458
  if (!$dara.isNull(request.referenceDataShrink)) {
6450
6459
  body["ReferenceData"] = request.referenceDataShrink;
6451
6460
  }
@@ -6837,6 +6846,9 @@ class Client extends openapi_core_1.default {
6837
6846
  if (!$dara.isNull(request.content)) {
6838
6847
  body["Content"] = request.content;
6839
6848
  }
6849
+ if (!$dara.isNull(request.prompt)) {
6850
+ body["Prompt"] = request.prompt;
6851
+ }
6840
6852
  if (!$dara.isNull(request.workspaceId)) {
6841
6853
  body["WorkspaceId"] = request.workspaceId;
6842
6854
  }
@@ -8101,6 +8113,9 @@ class Client extends openapi_core_1.default {
8101
8113
  if (!$dara.isNull(tmpReq.subCodes)) {
8102
8114
  request.subCodesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.subCodes, "SubCodes", "json");
8103
8115
  }
8116
+ if (!$dara.isNull(tmpReq.imageUrls)) {
8117
+ request.imageUrlsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.imageUrls, "imageUrls", "json");
8118
+ }
8104
8119
  let body = {};
8105
8120
  if (!$dara.isNull(request.subCodesShrink)) {
8106
8121
  body["SubCodes"] = request.subCodesShrink;
@@ -8111,6 +8126,9 @@ class Client extends openapi_core_1.default {
8111
8126
  if (!$dara.isNull(request.workspaceId)) {
8112
8127
  body["WorkspaceId"] = request.workspaceId;
8113
8128
  }
8129
+ if (!$dara.isNull(request.imageUrlsShrink)) {
8130
+ body["imageUrls"] = request.imageUrlsShrink;
8131
+ }
8114
8132
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8115
8133
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
8116
8134
  });