@alicloud/cms20240330 6.2.0 → 6.2.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.
package/dist/client.js CHANGED
@@ -1211,6 +1211,9 @@ class Client extends openapi_core_1.default {
1211
1211
  async createThreadWithOptions(name, request, headers, runtime) {
1212
1212
  request.validate();
1213
1213
  let body = {};
1214
+ if (!$dara.isNull(request.attributes)) {
1215
+ body["attributes"] = request.attributes;
1216
+ }
1214
1217
  if (!$dara.isNull(request.title)) {
1215
1218
  body["title"] = request.title;
1216
1219
  }
@@ -5911,6 +5914,9 @@ class Client extends openapi_core_1.default {
5911
5914
  async updateThreadWithOptions(name, threadId, request, headers, runtime) {
5912
5915
  request.validate();
5913
5916
  let body = {};
5917
+ if (!$dara.isNull(request.attributes)) {
5918
+ body["attributes"] = request.attributes;
5919
+ }
5914
5920
  if (!$dara.isNull(request.status)) {
5915
5921
  body["status"] = request.status;
5916
5922
  }