alibabacloud-aliding20230426 2.44.4__tar.gz → 2.45.1__tar.gz

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 (17) hide show
  1. {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.1}/ChangeLog.md +8 -0
  2. {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.1}/PKG-INFO +1 -1
  3. alibabacloud_aliding20230426-2.45.1/alibabacloud_aliding20230426/__init__.py +1 -0
  4. {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.1}/alibabacloud_aliding20230426/client.py +288 -0
  5. {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.1}/alibabacloud_aliding20230426/models.py +618 -0
  6. {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.1}/alibabacloud_aliding20230426.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.1}/setup.py +1 -1
  8. alibabacloud_aliding20230426-2.44.4/alibabacloud_aliding20230426/__init__.py +0 -1
  9. {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.1}/LICENSE +0 -0
  10. {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.1}/MANIFEST.in +0 -0
  11. {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.1}/README-CN.md +0 -0
  12. {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.1}/README.md +0 -0
  13. {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.1}/alibabacloud_aliding20230426.egg-info/SOURCES.txt +0 -0
  14. {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.1}/alibabacloud_aliding20230426.egg-info/dependency_links.txt +0 -0
  15. {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.1}/alibabacloud_aliding20230426.egg-info/requires.txt +0 -0
  16. {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.1}/alibabacloud_aliding20230426.egg-info/top_level.txt +0 -0
  17. {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.1}/setup.cfg +0 -0
@@ -1,3 +1,11 @@
1
+ 2025-10-14 Version: 2.45.0
2
+ - Support API DocBlocksDelete.
3
+ - Support API DocBlocksModify.
4
+
5
+
6
+ 2025-10-14 Version: 2.44.4
7
+ - Generated python 2023-04-26 for aliding.
8
+
1
9
  2025-08-20 Version: 2.44.3
2
10
  - Update API GetOrgLiveList: add response parameters Body.result.NewLive.LiveList.$.AnchorUnionIdInAlibaba.
3
11
  - Update API GetOrgLiveList: add response parameters Body.result.UpdateLive.LiveList.$.AnchorUnionIdInAlibaba.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_aliding20230426
3
- Version: 2.44.4
3
+ Version: 2.45.1
4
4
  Summary: Alibaba Cloud aliding (20230426) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -0,0 +1 @@
1
+ __version__ = '2.45.1'
@@ -11099,6 +11099,290 @@ class Client(OpenApiClient):
11099
11099
  headers = aliding_20230426_models.DeleteWorkspaceMembersHeaders()
11100
11100
  return await self.delete_workspace_members_with_options_async(request, headers, runtime)
11101
11101
 
11102
+ def doc_blocks_delete_with_options(
11103
+ self,
11104
+ tmp_req: aliding_20230426_models.DocBlocksDeleteRequest,
11105
+ tmp_header: aliding_20230426_models.DocBlocksDeleteHeaders,
11106
+ runtime: util_models.RuntimeOptions,
11107
+ ) -> aliding_20230426_models.DocBlocksDeleteResponse:
11108
+ """
11109
+ @summary 删除块元素
11110
+
11111
+ @param tmp_req: DocBlocksDeleteRequest
11112
+ @param tmp_header: DocBlocksDeleteHeaders
11113
+ @param runtime: runtime options for this request RuntimeOptions
11114
+ @return: DocBlocksDeleteResponse
11115
+ """
11116
+ UtilClient.validate_model(tmp_req)
11117
+ request = aliding_20230426_models.DocBlocksDeleteShrinkRequest()
11118
+ OpenApiUtilClient.convert(tmp_req, request)
11119
+ headers = aliding_20230426_models.DocBlocksDeleteShrinkHeaders()
11120
+ OpenApiUtilClient.convert(tmp_header, headers)
11121
+ if not UtilClient.is_unset(tmp_header.account_context):
11122
+ headers.account_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_header.account_context, 'AccountContext', 'json')
11123
+ if not UtilClient.is_unset(tmp_req.tenant_context):
11124
+ request.tenant_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tenant_context, 'TenantContext', 'json')
11125
+ body = {}
11126
+ if not UtilClient.is_unset(request.block_id):
11127
+ body['BlockId'] = request.block_id
11128
+ if not UtilClient.is_unset(request.dentry_uuid):
11129
+ body['DentryUuid'] = request.dentry_uuid
11130
+ if not UtilClient.is_unset(request.tenant_context_shrink):
11131
+ body['TenantContext'] = request.tenant_context_shrink
11132
+ real_headers = {}
11133
+ if not UtilClient.is_unset(headers.common_headers):
11134
+ real_headers = headers.common_headers
11135
+ if not UtilClient.is_unset(headers.account_context_shrink):
11136
+ real_headers['AccountContext'] = UtilClient.to_jsonstring(headers.account_context_shrink)
11137
+ req = open_api_models.OpenApiRequest(
11138
+ headers=real_headers,
11139
+ body=OpenApiUtilClient.parse_to_map(body)
11140
+ )
11141
+ params = open_api_models.Params(
11142
+ action='DocBlocksDelete',
11143
+ version='2023-04-26',
11144
+ protocol='HTTPS',
11145
+ pathname=f'/dingtalk/v1/documents/docBlocksDelete',
11146
+ method='POST',
11147
+ auth_type='AK',
11148
+ style='ROA',
11149
+ req_body_type='formData',
11150
+ body_type='json'
11151
+ )
11152
+ return TeaCore.from_map(
11153
+ aliding_20230426_models.DocBlocksDeleteResponse(),
11154
+ self.call_api(params, req, runtime)
11155
+ )
11156
+
11157
+ async def doc_blocks_delete_with_options_async(
11158
+ self,
11159
+ tmp_req: aliding_20230426_models.DocBlocksDeleteRequest,
11160
+ tmp_header: aliding_20230426_models.DocBlocksDeleteHeaders,
11161
+ runtime: util_models.RuntimeOptions,
11162
+ ) -> aliding_20230426_models.DocBlocksDeleteResponse:
11163
+ """
11164
+ @summary 删除块元素
11165
+
11166
+ @param tmp_req: DocBlocksDeleteRequest
11167
+ @param tmp_header: DocBlocksDeleteHeaders
11168
+ @param runtime: runtime options for this request RuntimeOptions
11169
+ @return: DocBlocksDeleteResponse
11170
+ """
11171
+ UtilClient.validate_model(tmp_req)
11172
+ request = aliding_20230426_models.DocBlocksDeleteShrinkRequest()
11173
+ OpenApiUtilClient.convert(tmp_req, request)
11174
+ headers = aliding_20230426_models.DocBlocksDeleteShrinkHeaders()
11175
+ OpenApiUtilClient.convert(tmp_header, headers)
11176
+ if not UtilClient.is_unset(tmp_header.account_context):
11177
+ headers.account_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_header.account_context, 'AccountContext', 'json')
11178
+ if not UtilClient.is_unset(tmp_req.tenant_context):
11179
+ request.tenant_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tenant_context, 'TenantContext', 'json')
11180
+ body = {}
11181
+ if not UtilClient.is_unset(request.block_id):
11182
+ body['BlockId'] = request.block_id
11183
+ if not UtilClient.is_unset(request.dentry_uuid):
11184
+ body['DentryUuid'] = request.dentry_uuid
11185
+ if not UtilClient.is_unset(request.tenant_context_shrink):
11186
+ body['TenantContext'] = request.tenant_context_shrink
11187
+ real_headers = {}
11188
+ if not UtilClient.is_unset(headers.common_headers):
11189
+ real_headers = headers.common_headers
11190
+ if not UtilClient.is_unset(headers.account_context_shrink):
11191
+ real_headers['AccountContext'] = UtilClient.to_jsonstring(headers.account_context_shrink)
11192
+ req = open_api_models.OpenApiRequest(
11193
+ headers=real_headers,
11194
+ body=OpenApiUtilClient.parse_to_map(body)
11195
+ )
11196
+ params = open_api_models.Params(
11197
+ action='DocBlocksDelete',
11198
+ version='2023-04-26',
11199
+ protocol='HTTPS',
11200
+ pathname=f'/dingtalk/v1/documents/docBlocksDelete',
11201
+ method='POST',
11202
+ auth_type='AK',
11203
+ style='ROA',
11204
+ req_body_type='formData',
11205
+ body_type='json'
11206
+ )
11207
+ return TeaCore.from_map(
11208
+ aliding_20230426_models.DocBlocksDeleteResponse(),
11209
+ await self.call_api_async(params, req, runtime)
11210
+ )
11211
+
11212
+ def doc_blocks_delete(
11213
+ self,
11214
+ request: aliding_20230426_models.DocBlocksDeleteRequest,
11215
+ ) -> aliding_20230426_models.DocBlocksDeleteResponse:
11216
+ """
11217
+ @summary 删除块元素
11218
+
11219
+ @param request: DocBlocksDeleteRequest
11220
+ @return: DocBlocksDeleteResponse
11221
+ """
11222
+ runtime = util_models.RuntimeOptions()
11223
+ headers = aliding_20230426_models.DocBlocksDeleteHeaders()
11224
+ return self.doc_blocks_delete_with_options(request, headers, runtime)
11225
+
11226
+ async def doc_blocks_delete_async(
11227
+ self,
11228
+ request: aliding_20230426_models.DocBlocksDeleteRequest,
11229
+ ) -> aliding_20230426_models.DocBlocksDeleteResponse:
11230
+ """
11231
+ @summary 删除块元素
11232
+
11233
+ @param request: DocBlocksDeleteRequest
11234
+ @return: DocBlocksDeleteResponse
11235
+ """
11236
+ runtime = util_models.RuntimeOptions()
11237
+ headers = aliding_20230426_models.DocBlocksDeleteHeaders()
11238
+ return await self.doc_blocks_delete_with_options_async(request, headers, runtime)
11239
+
11240
+ def doc_blocks_modify_with_options(
11241
+ self,
11242
+ tmp_req: aliding_20230426_models.DocBlocksModifyRequest,
11243
+ tmp_header: aliding_20230426_models.DocBlocksModifyHeaders,
11244
+ runtime: util_models.RuntimeOptions,
11245
+ ) -> aliding_20230426_models.DocBlocksModifyResponse:
11246
+ """
11247
+ @summary 更新块元素
11248
+
11249
+ @param tmp_req: DocBlocksModifyRequest
11250
+ @param tmp_header: DocBlocksModifyHeaders
11251
+ @param runtime: runtime options for this request RuntimeOptions
11252
+ @return: DocBlocksModifyResponse
11253
+ """
11254
+ UtilClient.validate_model(tmp_req)
11255
+ request = aliding_20230426_models.DocBlocksModifyShrinkRequest()
11256
+ OpenApiUtilClient.convert(tmp_req, request)
11257
+ headers = aliding_20230426_models.DocBlocksModifyShrinkHeaders()
11258
+ OpenApiUtilClient.convert(tmp_header, headers)
11259
+ if not UtilClient.is_unset(tmp_header.account_context):
11260
+ headers.account_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_header.account_context, 'AccountContext', 'json')
11261
+ if not UtilClient.is_unset(tmp_req.element):
11262
+ request.element_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.element, 'Element', 'json')
11263
+ if not UtilClient.is_unset(tmp_req.tenant_context):
11264
+ request.tenant_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tenant_context, 'TenantContext', 'json')
11265
+ body = {}
11266
+ if not UtilClient.is_unset(request.block_id):
11267
+ body['BlockId'] = request.block_id
11268
+ if not UtilClient.is_unset(request.dentry_uuid):
11269
+ body['DentryUuid'] = request.dentry_uuid
11270
+ if not UtilClient.is_unset(request.element_shrink):
11271
+ body['Element'] = request.element_shrink
11272
+ if not UtilClient.is_unset(request.tenant_context_shrink):
11273
+ body['TenantContext'] = request.tenant_context_shrink
11274
+ real_headers = {}
11275
+ if not UtilClient.is_unset(headers.common_headers):
11276
+ real_headers = headers.common_headers
11277
+ if not UtilClient.is_unset(headers.account_context_shrink):
11278
+ real_headers['AccountContext'] = UtilClient.to_jsonstring(headers.account_context_shrink)
11279
+ req = open_api_models.OpenApiRequest(
11280
+ headers=real_headers,
11281
+ body=OpenApiUtilClient.parse_to_map(body)
11282
+ )
11283
+ params = open_api_models.Params(
11284
+ action='DocBlocksModify',
11285
+ version='2023-04-26',
11286
+ protocol='HTTPS',
11287
+ pathname=f'/dingtalk/v1/documents/docBlocksModify',
11288
+ method='POST',
11289
+ auth_type='AK',
11290
+ style='ROA',
11291
+ req_body_type='formData',
11292
+ body_type='json'
11293
+ )
11294
+ return TeaCore.from_map(
11295
+ aliding_20230426_models.DocBlocksModifyResponse(),
11296
+ self.call_api(params, req, runtime)
11297
+ )
11298
+
11299
+ async def doc_blocks_modify_with_options_async(
11300
+ self,
11301
+ tmp_req: aliding_20230426_models.DocBlocksModifyRequest,
11302
+ tmp_header: aliding_20230426_models.DocBlocksModifyHeaders,
11303
+ runtime: util_models.RuntimeOptions,
11304
+ ) -> aliding_20230426_models.DocBlocksModifyResponse:
11305
+ """
11306
+ @summary 更新块元素
11307
+
11308
+ @param tmp_req: DocBlocksModifyRequest
11309
+ @param tmp_header: DocBlocksModifyHeaders
11310
+ @param runtime: runtime options for this request RuntimeOptions
11311
+ @return: DocBlocksModifyResponse
11312
+ """
11313
+ UtilClient.validate_model(tmp_req)
11314
+ request = aliding_20230426_models.DocBlocksModifyShrinkRequest()
11315
+ OpenApiUtilClient.convert(tmp_req, request)
11316
+ headers = aliding_20230426_models.DocBlocksModifyShrinkHeaders()
11317
+ OpenApiUtilClient.convert(tmp_header, headers)
11318
+ if not UtilClient.is_unset(tmp_header.account_context):
11319
+ headers.account_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_header.account_context, 'AccountContext', 'json')
11320
+ if not UtilClient.is_unset(tmp_req.element):
11321
+ request.element_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.element, 'Element', 'json')
11322
+ if not UtilClient.is_unset(tmp_req.tenant_context):
11323
+ request.tenant_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tenant_context, 'TenantContext', 'json')
11324
+ body = {}
11325
+ if not UtilClient.is_unset(request.block_id):
11326
+ body['BlockId'] = request.block_id
11327
+ if not UtilClient.is_unset(request.dentry_uuid):
11328
+ body['DentryUuid'] = request.dentry_uuid
11329
+ if not UtilClient.is_unset(request.element_shrink):
11330
+ body['Element'] = request.element_shrink
11331
+ if not UtilClient.is_unset(request.tenant_context_shrink):
11332
+ body['TenantContext'] = request.tenant_context_shrink
11333
+ real_headers = {}
11334
+ if not UtilClient.is_unset(headers.common_headers):
11335
+ real_headers = headers.common_headers
11336
+ if not UtilClient.is_unset(headers.account_context_shrink):
11337
+ real_headers['AccountContext'] = UtilClient.to_jsonstring(headers.account_context_shrink)
11338
+ req = open_api_models.OpenApiRequest(
11339
+ headers=real_headers,
11340
+ body=OpenApiUtilClient.parse_to_map(body)
11341
+ )
11342
+ params = open_api_models.Params(
11343
+ action='DocBlocksModify',
11344
+ version='2023-04-26',
11345
+ protocol='HTTPS',
11346
+ pathname=f'/dingtalk/v1/documents/docBlocksModify',
11347
+ method='POST',
11348
+ auth_type='AK',
11349
+ style='ROA',
11350
+ req_body_type='formData',
11351
+ body_type='json'
11352
+ )
11353
+ return TeaCore.from_map(
11354
+ aliding_20230426_models.DocBlocksModifyResponse(),
11355
+ await self.call_api_async(params, req, runtime)
11356
+ )
11357
+
11358
+ def doc_blocks_modify(
11359
+ self,
11360
+ request: aliding_20230426_models.DocBlocksModifyRequest,
11361
+ ) -> aliding_20230426_models.DocBlocksModifyResponse:
11362
+ """
11363
+ @summary 更新块元素
11364
+
11365
+ @param request: DocBlocksModifyRequest
11366
+ @return: DocBlocksModifyResponse
11367
+ """
11368
+ runtime = util_models.RuntimeOptions()
11369
+ headers = aliding_20230426_models.DocBlocksModifyHeaders()
11370
+ return self.doc_blocks_modify_with_options(request, headers, runtime)
11371
+
11372
+ async def doc_blocks_modify_async(
11373
+ self,
11374
+ request: aliding_20230426_models.DocBlocksModifyRequest,
11375
+ ) -> aliding_20230426_models.DocBlocksModifyResponse:
11376
+ """
11377
+ @summary 更新块元素
11378
+
11379
+ @param request: DocBlocksModifyRequest
11380
+ @return: DocBlocksModifyResponse
11381
+ """
11382
+ runtime = util_models.RuntimeOptions()
11383
+ headers = aliding_20230426_models.DocBlocksModifyHeaders()
11384
+ return await self.doc_blocks_modify_with_options_async(request, headers, runtime)
11385
+
11102
11386
  def doc_blocks_query_with_options(
11103
11387
  self,
11104
11388
  tmp_req: aliding_20230426_models.DocBlocksQueryRequest,
@@ -22367,6 +22651,8 @@ class Client(OpenApiClient):
22367
22651
  body['SkillId'] = request.skill_id
22368
22652
  if not UtilClient.is_unset(request.stream):
22369
22653
  body['Stream'] = request.stream
22654
+ if not UtilClient.is_unset(request.source_id_of_assistant_id):
22655
+ body['sourceIdOfAssistantId'] = request.source_id_of_assistant_id
22370
22656
  real_headers = {}
22371
22657
  if not UtilClient.is_unset(headers.common_headers):
22372
22658
  real_headers = headers.common_headers
@@ -22422,6 +22708,8 @@ class Client(OpenApiClient):
22422
22708
  body['SkillId'] = request.skill_id
22423
22709
  if not UtilClient.is_unset(request.stream):
22424
22710
  body['Stream'] = request.stream
22711
+ if not UtilClient.is_unset(request.source_id_of_assistant_id):
22712
+ body['sourceIdOfAssistantId'] = request.source_id_of_assistant_id
22425
22713
  real_headers = {}
22426
22714
  if not UtilClient.is_unset(headers.common_headers):
22427
22715
  real_headers = headers.common_headers
@@ -30207,6 +30207,606 @@ class DeleteWorkspaceMembersResponse(TeaModel):
30207
30207
  return self
30208
30208
 
30209
30209
 
30210
+ class DocBlocksDeleteHeadersAccountContext(TeaModel):
30211
+ def __init__(
30212
+ self,
30213
+ account_id: str = None,
30214
+ ):
30215
+ # This parameter is required.
30216
+ self.account_id = account_id
30217
+
30218
+ def validate(self):
30219
+ pass
30220
+
30221
+ def to_map(self):
30222
+ _map = super().to_map()
30223
+ if _map is not None:
30224
+ return _map
30225
+
30226
+ result = dict()
30227
+ if self.account_id is not None:
30228
+ result['accountId'] = self.account_id
30229
+ return result
30230
+
30231
+ def from_map(self, m: dict = None):
30232
+ m = m or dict()
30233
+ if m.get('accountId') is not None:
30234
+ self.account_id = m.get('accountId')
30235
+ return self
30236
+
30237
+
30238
+ class DocBlocksDeleteHeaders(TeaModel):
30239
+ def __init__(
30240
+ self,
30241
+ common_headers: Dict[str, str] = None,
30242
+ account_context: DocBlocksDeleteHeadersAccountContext = None,
30243
+ ):
30244
+ self.common_headers = common_headers
30245
+ self.account_context = account_context
30246
+
30247
+ def validate(self):
30248
+ if self.account_context:
30249
+ self.account_context.validate()
30250
+
30251
+ def to_map(self):
30252
+ _map = super().to_map()
30253
+ if _map is not None:
30254
+ return _map
30255
+
30256
+ result = dict()
30257
+ if self.common_headers is not None:
30258
+ result['commonHeaders'] = self.common_headers
30259
+ if self.account_context is not None:
30260
+ result['AccountContext'] = self.account_context.to_map()
30261
+ return result
30262
+
30263
+ def from_map(self, m: dict = None):
30264
+ m = m or dict()
30265
+ if m.get('commonHeaders') is not None:
30266
+ self.common_headers = m.get('commonHeaders')
30267
+ if m.get('AccountContext') is not None:
30268
+ temp_model = DocBlocksDeleteHeadersAccountContext()
30269
+ self.account_context = temp_model.from_map(m['AccountContext'])
30270
+ return self
30271
+
30272
+
30273
+ class DocBlocksDeleteShrinkHeaders(TeaModel):
30274
+ def __init__(
30275
+ self,
30276
+ common_headers: Dict[str, str] = None,
30277
+ account_context_shrink: str = None,
30278
+ ):
30279
+ self.common_headers = common_headers
30280
+ self.account_context_shrink = account_context_shrink
30281
+
30282
+ def validate(self):
30283
+ pass
30284
+
30285
+ def to_map(self):
30286
+ _map = super().to_map()
30287
+ if _map is not None:
30288
+ return _map
30289
+
30290
+ result = dict()
30291
+ if self.common_headers is not None:
30292
+ result['commonHeaders'] = self.common_headers
30293
+ if self.account_context_shrink is not None:
30294
+ result['AccountContext'] = self.account_context_shrink
30295
+ return result
30296
+
30297
+ def from_map(self, m: dict = None):
30298
+ m = m or dict()
30299
+ if m.get('commonHeaders') is not None:
30300
+ self.common_headers = m.get('commonHeaders')
30301
+ if m.get('AccountContext') is not None:
30302
+ self.account_context_shrink = m.get('AccountContext')
30303
+ return self
30304
+
30305
+
30306
+ class DocBlocksDeleteRequestTenantContext(TeaModel):
30307
+ def __init__(
30308
+ self,
30309
+ tenant_id: str = None,
30310
+ ):
30311
+ self.tenant_id = tenant_id
30312
+
30313
+ def validate(self):
30314
+ pass
30315
+
30316
+ def to_map(self):
30317
+ _map = super().to_map()
30318
+ if _map is not None:
30319
+ return _map
30320
+
30321
+ result = dict()
30322
+ if self.tenant_id is not None:
30323
+ result['tenantId'] = self.tenant_id
30324
+ return result
30325
+
30326
+ def from_map(self, m: dict = None):
30327
+ m = m or dict()
30328
+ if m.get('tenantId') is not None:
30329
+ self.tenant_id = m.get('tenantId')
30330
+ return self
30331
+
30332
+
30333
+ class DocBlocksDeleteRequest(TeaModel):
30334
+ def __init__(
30335
+ self,
30336
+ block_id: str = None,
30337
+ dentry_uuid: str = None,
30338
+ tenant_context: DocBlocksDeleteRequestTenantContext = None,
30339
+ ):
30340
+ # This parameter is required.
30341
+ self.block_id = block_id
30342
+ # This parameter is required.
30343
+ self.dentry_uuid = dentry_uuid
30344
+ self.tenant_context = tenant_context
30345
+
30346
+ def validate(self):
30347
+ if self.tenant_context:
30348
+ self.tenant_context.validate()
30349
+
30350
+ def to_map(self):
30351
+ _map = super().to_map()
30352
+ if _map is not None:
30353
+ return _map
30354
+
30355
+ result = dict()
30356
+ if self.block_id is not None:
30357
+ result['BlockId'] = self.block_id
30358
+ if self.dentry_uuid is not None:
30359
+ result['DentryUuid'] = self.dentry_uuid
30360
+ if self.tenant_context is not None:
30361
+ result['TenantContext'] = self.tenant_context.to_map()
30362
+ return result
30363
+
30364
+ def from_map(self, m: dict = None):
30365
+ m = m or dict()
30366
+ if m.get('BlockId') is not None:
30367
+ self.block_id = m.get('BlockId')
30368
+ if m.get('DentryUuid') is not None:
30369
+ self.dentry_uuid = m.get('DentryUuid')
30370
+ if m.get('TenantContext') is not None:
30371
+ temp_model = DocBlocksDeleteRequestTenantContext()
30372
+ self.tenant_context = temp_model.from_map(m['TenantContext'])
30373
+ return self
30374
+
30375
+
30376
+ class DocBlocksDeleteShrinkRequest(TeaModel):
30377
+ def __init__(
30378
+ self,
30379
+ block_id: str = None,
30380
+ dentry_uuid: str = None,
30381
+ tenant_context_shrink: str = None,
30382
+ ):
30383
+ # This parameter is required.
30384
+ self.block_id = block_id
30385
+ # This parameter is required.
30386
+ self.dentry_uuid = dentry_uuid
30387
+ self.tenant_context_shrink = tenant_context_shrink
30388
+
30389
+ def validate(self):
30390
+ pass
30391
+
30392
+ def to_map(self):
30393
+ _map = super().to_map()
30394
+ if _map is not None:
30395
+ return _map
30396
+
30397
+ result = dict()
30398
+ if self.block_id is not None:
30399
+ result['BlockId'] = self.block_id
30400
+ if self.dentry_uuid is not None:
30401
+ result['DentryUuid'] = self.dentry_uuid
30402
+ if self.tenant_context_shrink is not None:
30403
+ result['TenantContext'] = self.tenant_context_shrink
30404
+ return result
30405
+
30406
+ def from_map(self, m: dict = None):
30407
+ m = m or dict()
30408
+ if m.get('BlockId') is not None:
30409
+ self.block_id = m.get('BlockId')
30410
+ if m.get('DentryUuid') is not None:
30411
+ self.dentry_uuid = m.get('DentryUuid')
30412
+ if m.get('TenantContext') is not None:
30413
+ self.tenant_context_shrink = m.get('TenantContext')
30414
+ return self
30415
+
30416
+
30417
+ class DocBlocksDeleteResponseBody(TeaModel):
30418
+ def __init__(
30419
+ self,
30420
+ success: bool = None,
30421
+ request_id: str = None,
30422
+ vendor_request_id: str = None,
30423
+ vendor_type: str = None,
30424
+ ):
30425
+ self.success = success
30426
+ self.request_id = request_id
30427
+ self.vendor_request_id = vendor_request_id
30428
+ self.vendor_type = vendor_type
30429
+
30430
+ def validate(self):
30431
+ pass
30432
+
30433
+ def to_map(self):
30434
+ _map = super().to_map()
30435
+ if _map is not None:
30436
+ return _map
30437
+
30438
+ result = dict()
30439
+ if self.success is not None:
30440
+ result['Success'] = self.success
30441
+ if self.request_id is not None:
30442
+ result['requestId'] = self.request_id
30443
+ if self.vendor_request_id is not None:
30444
+ result['vendorRequestId'] = self.vendor_request_id
30445
+ if self.vendor_type is not None:
30446
+ result['vendorType'] = self.vendor_type
30447
+ return result
30448
+
30449
+ def from_map(self, m: dict = None):
30450
+ m = m or dict()
30451
+ if m.get('Success') is not None:
30452
+ self.success = m.get('Success')
30453
+ if m.get('requestId') is not None:
30454
+ self.request_id = m.get('requestId')
30455
+ if m.get('vendorRequestId') is not None:
30456
+ self.vendor_request_id = m.get('vendorRequestId')
30457
+ if m.get('vendorType') is not None:
30458
+ self.vendor_type = m.get('vendorType')
30459
+ return self
30460
+
30461
+
30462
+ class DocBlocksDeleteResponse(TeaModel):
30463
+ def __init__(
30464
+ self,
30465
+ headers: Dict[str, str] = None,
30466
+ status_code: int = None,
30467
+ body: DocBlocksDeleteResponseBody = None,
30468
+ ):
30469
+ self.headers = headers
30470
+ self.status_code = status_code
30471
+ self.body = body
30472
+
30473
+ def validate(self):
30474
+ if self.body:
30475
+ self.body.validate()
30476
+
30477
+ def to_map(self):
30478
+ _map = super().to_map()
30479
+ if _map is not None:
30480
+ return _map
30481
+
30482
+ result = dict()
30483
+ if self.headers is not None:
30484
+ result['headers'] = self.headers
30485
+ if self.status_code is not None:
30486
+ result['statusCode'] = self.status_code
30487
+ if self.body is not None:
30488
+ result['body'] = self.body.to_map()
30489
+ return result
30490
+
30491
+ def from_map(self, m: dict = None):
30492
+ m = m or dict()
30493
+ if m.get('headers') is not None:
30494
+ self.headers = m.get('headers')
30495
+ if m.get('statusCode') is not None:
30496
+ self.status_code = m.get('statusCode')
30497
+ if m.get('body') is not None:
30498
+ temp_model = DocBlocksDeleteResponseBody()
30499
+ self.body = temp_model.from_map(m['body'])
30500
+ return self
30501
+
30502
+
30503
+ class DocBlocksModifyHeadersAccountContext(TeaModel):
30504
+ def __init__(
30505
+ self,
30506
+ account_id: str = None,
30507
+ ):
30508
+ # This parameter is required.
30509
+ self.account_id = account_id
30510
+
30511
+ def validate(self):
30512
+ pass
30513
+
30514
+ def to_map(self):
30515
+ _map = super().to_map()
30516
+ if _map is not None:
30517
+ return _map
30518
+
30519
+ result = dict()
30520
+ if self.account_id is not None:
30521
+ result['accountId'] = self.account_id
30522
+ return result
30523
+
30524
+ def from_map(self, m: dict = None):
30525
+ m = m or dict()
30526
+ if m.get('accountId') is not None:
30527
+ self.account_id = m.get('accountId')
30528
+ return self
30529
+
30530
+
30531
+ class DocBlocksModifyHeaders(TeaModel):
30532
+ def __init__(
30533
+ self,
30534
+ common_headers: Dict[str, str] = None,
30535
+ account_context: DocBlocksModifyHeadersAccountContext = None,
30536
+ ):
30537
+ self.common_headers = common_headers
30538
+ self.account_context = account_context
30539
+
30540
+ def validate(self):
30541
+ if self.account_context:
30542
+ self.account_context.validate()
30543
+
30544
+ def to_map(self):
30545
+ _map = super().to_map()
30546
+ if _map is not None:
30547
+ return _map
30548
+
30549
+ result = dict()
30550
+ if self.common_headers is not None:
30551
+ result['commonHeaders'] = self.common_headers
30552
+ if self.account_context is not None:
30553
+ result['AccountContext'] = self.account_context.to_map()
30554
+ return result
30555
+
30556
+ def from_map(self, m: dict = None):
30557
+ m = m or dict()
30558
+ if m.get('commonHeaders') is not None:
30559
+ self.common_headers = m.get('commonHeaders')
30560
+ if m.get('AccountContext') is not None:
30561
+ temp_model = DocBlocksModifyHeadersAccountContext()
30562
+ self.account_context = temp_model.from_map(m['AccountContext'])
30563
+ return self
30564
+
30565
+
30566
+ class DocBlocksModifyShrinkHeaders(TeaModel):
30567
+ def __init__(
30568
+ self,
30569
+ common_headers: Dict[str, str] = None,
30570
+ account_context_shrink: str = None,
30571
+ ):
30572
+ self.common_headers = common_headers
30573
+ self.account_context_shrink = account_context_shrink
30574
+
30575
+ def validate(self):
30576
+ pass
30577
+
30578
+ def to_map(self):
30579
+ _map = super().to_map()
30580
+ if _map is not None:
30581
+ return _map
30582
+
30583
+ result = dict()
30584
+ if self.common_headers is not None:
30585
+ result['commonHeaders'] = self.common_headers
30586
+ if self.account_context_shrink is not None:
30587
+ result['AccountContext'] = self.account_context_shrink
30588
+ return result
30589
+
30590
+ def from_map(self, m: dict = None):
30591
+ m = m or dict()
30592
+ if m.get('commonHeaders') is not None:
30593
+ self.common_headers = m.get('commonHeaders')
30594
+ if m.get('AccountContext') is not None:
30595
+ self.account_context_shrink = m.get('AccountContext')
30596
+ return self
30597
+
30598
+
30599
+ class DocBlocksModifyRequestTenantContext(TeaModel):
30600
+ def __init__(
30601
+ self,
30602
+ tenant_id: str = None,
30603
+ ):
30604
+ self.tenant_id = tenant_id
30605
+
30606
+ def validate(self):
30607
+ pass
30608
+
30609
+ def to_map(self):
30610
+ _map = super().to_map()
30611
+ if _map is not None:
30612
+ return _map
30613
+
30614
+ result = dict()
30615
+ if self.tenant_id is not None:
30616
+ result['tenantId'] = self.tenant_id
30617
+ return result
30618
+
30619
+ def from_map(self, m: dict = None):
30620
+ m = m or dict()
30621
+ if m.get('tenantId') is not None:
30622
+ self.tenant_id = m.get('tenantId')
30623
+ return self
30624
+
30625
+
30626
+ class DocBlocksModifyRequest(TeaModel):
30627
+ def __init__(
30628
+ self,
30629
+ block_id: str = None,
30630
+ dentry_uuid: str = None,
30631
+ element: Dict[str, Any] = None,
30632
+ tenant_context: DocBlocksModifyRequestTenantContext = None,
30633
+ ):
30634
+ # This parameter is required.
30635
+ self.block_id = block_id
30636
+ # This parameter is required.
30637
+ self.dentry_uuid = dentry_uuid
30638
+ # This parameter is required.
30639
+ self.element = element
30640
+ self.tenant_context = tenant_context
30641
+
30642
+ def validate(self):
30643
+ if self.tenant_context:
30644
+ self.tenant_context.validate()
30645
+
30646
+ def to_map(self):
30647
+ _map = super().to_map()
30648
+ if _map is not None:
30649
+ return _map
30650
+
30651
+ result = dict()
30652
+ if self.block_id is not None:
30653
+ result['BlockId'] = self.block_id
30654
+ if self.dentry_uuid is not None:
30655
+ result['DentryUuid'] = self.dentry_uuid
30656
+ if self.element is not None:
30657
+ result['Element'] = self.element
30658
+ if self.tenant_context is not None:
30659
+ result['TenantContext'] = self.tenant_context.to_map()
30660
+ return result
30661
+
30662
+ def from_map(self, m: dict = None):
30663
+ m = m or dict()
30664
+ if m.get('BlockId') is not None:
30665
+ self.block_id = m.get('BlockId')
30666
+ if m.get('DentryUuid') is not None:
30667
+ self.dentry_uuid = m.get('DentryUuid')
30668
+ if m.get('Element') is not None:
30669
+ self.element = m.get('Element')
30670
+ if m.get('TenantContext') is not None:
30671
+ temp_model = DocBlocksModifyRequestTenantContext()
30672
+ self.tenant_context = temp_model.from_map(m['TenantContext'])
30673
+ return self
30674
+
30675
+
30676
+ class DocBlocksModifyShrinkRequest(TeaModel):
30677
+ def __init__(
30678
+ self,
30679
+ block_id: str = None,
30680
+ dentry_uuid: str = None,
30681
+ element_shrink: str = None,
30682
+ tenant_context_shrink: str = None,
30683
+ ):
30684
+ # This parameter is required.
30685
+ self.block_id = block_id
30686
+ # This parameter is required.
30687
+ self.dentry_uuid = dentry_uuid
30688
+ # This parameter is required.
30689
+ self.element_shrink = element_shrink
30690
+ self.tenant_context_shrink = tenant_context_shrink
30691
+
30692
+ def validate(self):
30693
+ pass
30694
+
30695
+ def to_map(self):
30696
+ _map = super().to_map()
30697
+ if _map is not None:
30698
+ return _map
30699
+
30700
+ result = dict()
30701
+ if self.block_id is not None:
30702
+ result['BlockId'] = self.block_id
30703
+ if self.dentry_uuid is not None:
30704
+ result['DentryUuid'] = self.dentry_uuid
30705
+ if self.element_shrink is not None:
30706
+ result['Element'] = self.element_shrink
30707
+ if self.tenant_context_shrink is not None:
30708
+ result['TenantContext'] = self.tenant_context_shrink
30709
+ return result
30710
+
30711
+ def from_map(self, m: dict = None):
30712
+ m = m or dict()
30713
+ if m.get('BlockId') is not None:
30714
+ self.block_id = m.get('BlockId')
30715
+ if m.get('DentryUuid') is not None:
30716
+ self.dentry_uuid = m.get('DentryUuid')
30717
+ if m.get('Element') is not None:
30718
+ self.element_shrink = m.get('Element')
30719
+ if m.get('TenantContext') is not None:
30720
+ self.tenant_context_shrink = m.get('TenantContext')
30721
+ return self
30722
+
30723
+
30724
+ class DocBlocksModifyResponseBody(TeaModel):
30725
+ def __init__(
30726
+ self,
30727
+ success: bool = None,
30728
+ request_id: str = None,
30729
+ vendor_request_id: str = None,
30730
+ vendor_type: str = None,
30731
+ ):
30732
+ self.success = success
30733
+ self.request_id = request_id
30734
+ self.vendor_request_id = vendor_request_id
30735
+ self.vendor_type = vendor_type
30736
+
30737
+ def validate(self):
30738
+ pass
30739
+
30740
+ def to_map(self):
30741
+ _map = super().to_map()
30742
+ if _map is not None:
30743
+ return _map
30744
+
30745
+ result = dict()
30746
+ if self.success is not None:
30747
+ result['Success'] = self.success
30748
+ if self.request_id is not None:
30749
+ result['requestId'] = self.request_id
30750
+ if self.vendor_request_id is not None:
30751
+ result['vendorRequestId'] = self.vendor_request_id
30752
+ if self.vendor_type is not None:
30753
+ result['vendorType'] = self.vendor_type
30754
+ return result
30755
+
30756
+ def from_map(self, m: dict = None):
30757
+ m = m or dict()
30758
+ if m.get('Success') is not None:
30759
+ self.success = m.get('Success')
30760
+ if m.get('requestId') is not None:
30761
+ self.request_id = m.get('requestId')
30762
+ if m.get('vendorRequestId') is not None:
30763
+ self.vendor_request_id = m.get('vendorRequestId')
30764
+ if m.get('vendorType') is not None:
30765
+ self.vendor_type = m.get('vendorType')
30766
+ return self
30767
+
30768
+
30769
+ class DocBlocksModifyResponse(TeaModel):
30770
+ def __init__(
30771
+ self,
30772
+ headers: Dict[str, str] = None,
30773
+ status_code: int = None,
30774
+ body: DocBlocksModifyResponseBody = None,
30775
+ ):
30776
+ self.headers = headers
30777
+ self.status_code = status_code
30778
+ self.body = body
30779
+
30780
+ def validate(self):
30781
+ if self.body:
30782
+ self.body.validate()
30783
+
30784
+ def to_map(self):
30785
+ _map = super().to_map()
30786
+ if _map is not None:
30787
+ return _map
30788
+
30789
+ result = dict()
30790
+ if self.headers is not None:
30791
+ result['headers'] = self.headers
30792
+ if self.status_code is not None:
30793
+ result['statusCode'] = self.status_code
30794
+ if self.body is not None:
30795
+ result['body'] = self.body.to_map()
30796
+ return result
30797
+
30798
+ def from_map(self, m: dict = None):
30799
+ m = m or dict()
30800
+ if m.get('headers') is not None:
30801
+ self.headers = m.get('headers')
30802
+ if m.get('statusCode') is not None:
30803
+ self.status_code = m.get('statusCode')
30804
+ if m.get('body') is not None:
30805
+ temp_model = DocBlocksModifyResponseBody()
30806
+ self.body = temp_model.from_map(m['body'])
30807
+ return self
30808
+
30809
+
30210
30810
  class DocBlocksQueryHeadersAccountContext(TeaModel):
30211
30811
  def __init__(
30212
30812
  self,
@@ -63491,9 +64091,11 @@ class InvokeSkillHeadersAccountContext(TeaModel):
63491
64091
  def __init__(
63492
64092
  self,
63493
64093
  account_id: str = None,
64094
+ sso_ticket: str = None,
63494
64095
  ):
63495
64096
  # This parameter is required.
63496
64097
  self.account_id = account_id
64098
+ self.sso_ticket = sso_ticket
63497
64099
 
63498
64100
  def validate(self):
63499
64101
  pass
@@ -63506,12 +64108,16 @@ class InvokeSkillHeadersAccountContext(TeaModel):
63506
64108
  result = dict()
63507
64109
  if self.account_id is not None:
63508
64110
  result['accountId'] = self.account_id
64111
+ if self.sso_ticket is not None:
64112
+ result['ssoTicket'] = self.sso_ticket
63509
64113
  return result
63510
64114
 
63511
64115
  def from_map(self, m: dict = None):
63512
64116
  m = m or dict()
63513
64117
  if m.get('accountId') is not None:
63514
64118
  self.account_id = m.get('accountId')
64119
+ if m.get('ssoTicket') is not None:
64120
+ self.sso_ticket = m.get('ssoTicket')
63515
64121
  return self
63516
64122
 
63517
64123
 
@@ -63589,11 +64195,13 @@ class InvokeSkillRequest(TeaModel):
63589
64195
  params: Dict[str, Any] = None,
63590
64196
  skill_id: str = None,
63591
64197
  stream: bool = None,
64198
+ source_id_of_assistant_id: str = None,
63592
64199
  ):
63593
64200
  self.params = params
63594
64201
  # This parameter is required.
63595
64202
  self.skill_id = skill_id
63596
64203
  self.stream = stream
64204
+ self.source_id_of_assistant_id = source_id_of_assistant_id
63597
64205
 
63598
64206
  def validate(self):
63599
64207
  pass
@@ -63610,6 +64218,8 @@ class InvokeSkillRequest(TeaModel):
63610
64218
  result['SkillId'] = self.skill_id
63611
64219
  if self.stream is not None:
63612
64220
  result['Stream'] = self.stream
64221
+ if self.source_id_of_assistant_id is not None:
64222
+ result['sourceIdOfAssistantId'] = self.source_id_of_assistant_id
63613
64223
  return result
63614
64224
 
63615
64225
  def from_map(self, m: dict = None):
@@ -63620,6 +64230,8 @@ class InvokeSkillRequest(TeaModel):
63620
64230
  self.skill_id = m.get('SkillId')
63621
64231
  if m.get('Stream') is not None:
63622
64232
  self.stream = m.get('Stream')
64233
+ if m.get('sourceIdOfAssistantId') is not None:
64234
+ self.source_id_of_assistant_id = m.get('sourceIdOfAssistantId')
63623
64235
  return self
63624
64236
 
63625
64237
 
@@ -63629,11 +64241,13 @@ class InvokeSkillShrinkRequest(TeaModel):
63629
64241
  params_shrink: str = None,
63630
64242
  skill_id: str = None,
63631
64243
  stream: bool = None,
64244
+ source_id_of_assistant_id: str = None,
63632
64245
  ):
63633
64246
  self.params_shrink = params_shrink
63634
64247
  # This parameter is required.
63635
64248
  self.skill_id = skill_id
63636
64249
  self.stream = stream
64250
+ self.source_id_of_assistant_id = source_id_of_assistant_id
63637
64251
 
63638
64252
  def validate(self):
63639
64253
  pass
@@ -63650,6 +64264,8 @@ class InvokeSkillShrinkRequest(TeaModel):
63650
64264
  result['SkillId'] = self.skill_id
63651
64265
  if self.stream is not None:
63652
64266
  result['Stream'] = self.stream
64267
+ if self.source_id_of_assistant_id is not None:
64268
+ result['sourceIdOfAssistantId'] = self.source_id_of_assistant_id
63653
64269
  return result
63654
64270
 
63655
64271
  def from_map(self, m: dict = None):
@@ -63660,6 +64276,8 @@ class InvokeSkillShrinkRequest(TeaModel):
63660
64276
  self.skill_id = m.get('SkillId')
63661
64277
  if m.get('Stream') is not None:
63662
64278
  self.stream = m.get('Stream')
64279
+ if m.get('sourceIdOfAssistantId') is not None:
64280
+ self.source_id_of_assistant_id = m.get('sourceIdOfAssistantId')
63663
64281
  return self
63664
64282
 
63665
64283
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-aliding20230426
3
- Version: 2.44.4
3
+ Version: 2.45.1
4
4
  Summary: Alibaba Cloud aliding (20230426) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_aliding20230426.
26
26
 
27
- Created on 14/10/2025
27
+ Created on 20/11/2025
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -1 +0,0 @@
1
- __version__ = '2.44.4'