tccli 3.0.1121.1__py2.py3-none-any.whl → 3.0.1123.1__py2.py3-none-any.whl

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. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/antiddos/v20200309/api.json +19 -0
  4. tccli/services/cdb/v20170320/api.json +127 -26
  5. tccli/services/cdb/v20170320/examples.json +2 -2
  6. tccli/services/domain/v20180808/api.json +120 -102
  7. tccli/services/ess/ess_client.py +53 -0
  8. tccli/services/ess/v20201111/api.json +126 -0
  9. tccli/services/ess/v20201111/examples.json +20 -0
  10. tccli/services/faceid/v20180301/api.json +2 -2
  11. tccli/services/iotcloud/v20210408/api.json +37 -17
  12. tccli/services/iotexplorer/v20190423/api.json +20 -10
  13. tccli/services/lighthouse/v20200324/api.json +78 -70
  14. tccli/services/lighthouse/v20200324/examples.json +1 -1
  15. tccli/services/ms/v20180408/api.json +6 -3
  16. tccli/services/ms/v20180408/examples.json +1 -1
  17. tccli/services/oceanus/v20190422/api.json +10 -0
  18. tccli/services/redis/v20180412/api.json +4 -4
  19. tccli/services/rum/v20210622/api.json +7 -6
  20. tccli/services/rum/v20210622/examples.json +15 -15
  21. tccli/services/tcb/v20180608/api.json +5 -5
  22. tccli/services/tcr/v20190924/api.json +1 -1
  23. tccli/services/tcr/v20190924/examples.json +1 -1
  24. tccli/services/tse/v20201207/api.json +22 -0
  25. tccli/services/tsf/v20180326/api.json +77 -16
  26. tccli/services/vdb/__init__.py +4 -0
  27. tccli/services/vdb/v20230616/api.json +505 -0
  28. tccli/services/vdb/v20230616/examples.json +13 -0
  29. tccli/services/vdb/vdb_client.py +195 -0
  30. tccli/services/waf/v20180125/api.json +124 -0
  31. tccli/services/waf/v20180125/examples.json +8 -0
  32. tccli/services/waf/waf_client.py +53 -0
  33. tccli/services/wedata/v20210820/api.json +9 -0
  34. tccli/services/yinsuda/v20220527/api.json +285 -268
  35. tccli/services/yinsuda/v20220527/examples.json +5 -5
  36. {tccli-3.0.1121.1.dist-info → tccli-3.0.1123.1.dist-info}/METADATA +2 -2
  37. {tccli-3.0.1121.1.dist-info → tccli-3.0.1123.1.dist-info}/RECORD +40 -36
  38. {tccli-3.0.1121.1.dist-info → tccli-3.0.1123.1.dist-info}/WHEEL +0 -0
  39. {tccli-3.0.1121.1.dist-info → tccli-3.0.1123.1.dist-info}/entry_points.txt +0 -0
  40. {tccli-3.0.1121.1.dist-info → tccli-3.0.1123.1.dist-info}/license_files/LICENSE +0 -0
@@ -277,6 +277,58 @@ def doStartFlow(args, parsed_globals):
277
277
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
278
278
 
279
279
 
280
+ def doCreateUserMobileChangeUrl(args, parsed_globals):
281
+ g_param = parse_global_arg(parsed_globals)
282
+
283
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
284
+ cred = credential.CVMRoleCredential()
285
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
286
+ cred = credential.STSAssumeRoleCredential(
287
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
288
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
289
+ )
290
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
291
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
292
+ else:
293
+ cred = credential.Credential(
294
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
295
+ )
296
+ http_profile = HttpProfile(
297
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
298
+ reqMethod="POST",
299
+ endpoint=g_param[OptionsDefine.Endpoint],
300
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
301
+ )
302
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
303
+ if g_param[OptionsDefine.Language]:
304
+ profile.language = g_param[OptionsDefine.Language]
305
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
306
+ client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
307
+ client._sdkVersion += ("_CLI_" + __version__)
308
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
309
+ model = models.CreateUserMobileChangeUrlRequest()
310
+ model.from_json_string(json.dumps(args))
311
+ start_time = time.time()
312
+ while True:
313
+ rsp = client.CreateUserMobileChangeUrl(model)
314
+ result = rsp.to_json_string()
315
+ try:
316
+ json_obj = json.loads(result)
317
+ except TypeError as e:
318
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
319
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
320
+ break
321
+ cur_time = time.time()
322
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
323
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
324
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
325
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
326
+ else:
327
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
328
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
329
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
330
+
331
+
280
332
  def doCancelFlow(args, parsed_globals):
281
333
  g_param = parse_global_arg(parsed_globals)
282
334
 
@@ -4349,6 +4401,7 @@ ACTION_MAP = {
4349
4401
  "DescribeOrganizationGroupOrganizations": doDescribeOrganizationGroupOrganizations,
4350
4402
  "ModifyApplicationCallbackInfo": doModifyApplicationCallbackInfo,
4351
4403
  "StartFlow": doStartFlow,
4404
+ "CreateUserMobileChangeUrl": doCreateUserMobileChangeUrl,
4352
4405
  "CancelFlow": doCancelFlow,
4353
4406
  "DescribeFlowTemplates": doDescribeFlowTemplates,
4354
4407
  "DeleteSealPolicies": doDeleteSealPolicies,
@@ -287,6 +287,13 @@
287
287
  "output": "CreateUserAutoSignSealUrlResponse",
288
288
  "status": "online"
289
289
  },
290
+ "CreateUserMobileChangeUrl": {
291
+ "document": "该接口会生成一个手机号变更的链接,用户可以通过该链接进入电子签系统进行手机号的变更。\n该接口支持员工和个人端手机号的变更。",
292
+ "input": "CreateUserMobileChangeUrlRequest",
293
+ "name": "生成修改用户手机号链接",
294
+ "output": "CreateUserMobileChangeUrlResponse",
295
+ "status": "online"
296
+ },
290
297
  "CreateUserVerifyUrl": {
291
298
  "document": "客户可以主动调用生成实名链接去做C端用户实名,会对实名的用户进行打标记为调用链接客户的用户\n使用场景:\n用户集成场景\n使用限制:\n此接口需要购买单独的实名套餐包方可调用,如有需求请联系对接人员评估",
292
299
  "input": "CreateUserVerifyUrlRequest",
@@ -6322,6 +6329,125 @@
6322
6329
  ],
6323
6330
  "type": "object"
6324
6331
  },
6332
+ "CreateUserMobileChangeUrlRequest": {
6333
+ "document": "CreateUserMobileChangeUrl请求参数结构体",
6334
+ "members": [
6335
+ {
6336
+ "disabled": false,
6337
+ "document": "执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。",
6338
+ "example": "无",
6339
+ "member": "UserInfo",
6340
+ "name": "Operator",
6341
+ "required": true,
6342
+ "type": "object"
6343
+ },
6344
+ {
6345
+ "disabled": false,
6346
+ "document": "代理企业和员工的信息。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。",
6347
+ "example": "无",
6348
+ "member": "Agent",
6349
+ "name": "Agent",
6350
+ "required": false,
6351
+ "type": "object"
6352
+ },
6353
+ {
6354
+ "disabled": false,
6355
+ "document": "如果您要修改企业员工用户ID,传递此用户ID即可,其他参数(Name,UserAccountType,IdCardType,IdCardNumber)将被忽略。如果不传此用户ID,则会使用其他参数来进行链接生成。\n\n[点击查看用户ID的获取方式](https://res.ess.tencent.cn/cdn/tsign-developer-center/assets/images/%E7%BB%84%E7%BB%87%E6%9E%B6%E6%9E%84-47eb7105dd300e6dc0c502fba22688ae.png)",
6356
+ "example": "yDRCLUUgygq2xun5UuO4zjEwg0vjoimj",
6357
+ "member": "string",
6358
+ "name": "UserId",
6359
+ "required": false,
6360
+ "type": "string"
6361
+ },
6362
+ {
6363
+ "disabled": false,
6364
+ "document": "要修改手机号用户的类型。\n<ul><li>0:员工 (默认)</li><li>1:个人</li>\n</ul>\n如果是员工类型,<b>只能修改本方员工,而不能修改其他企业的员工</b>。\n如果是个人类型,可<b>不指定用户身份,生成的是固定的链接,当前登录电子签小程序的用户可进行换绑。</b>\n",
6365
+ "example": "1",
6366
+ "member": "uint64",
6367
+ "name": "UserAccountType",
6368
+ "required": false,
6369
+ "type": "int"
6370
+ },
6371
+ {
6372
+ "disabled": false,
6373
+ "document": "要修改手机号用户的姓名,请确保填写的姓名为对方的真实姓名,而非昵称等代名。\n\n如果没有传递 userId且 userAccountType 是 0 或者没有传递, 此参数为<b>必填项。</b>",
6374
+ "example": "典子谦",
6375
+ "member": "string",
6376
+ "name": "Name",
6377
+ "required": false,
6378
+ "type": "string"
6379
+ },
6380
+ {
6381
+ "disabled": false,
6382
+ "document": "要修改手机号用户的证件类型,\n目前支持的账号类型如下:\n\n<ul><li><b>ID_CARD </b>: (默认)中国大陆居民身份证 </li>\n<li><b>HONGKONG_AND_MACAO</b> : 港澳居民来往内地通行证</li>\n<li><b>HONGKONG_MACAO_AND_TAIWAN </b>: 港澳台居民居住证(格式同居民身份证)</li></ul>\n",
6383
+ "example": "ID_CARD ",
6384
+ "member": "string",
6385
+ "name": "IdCardType",
6386
+ "required": false,
6387
+ "type": "string"
6388
+ },
6389
+ {
6390
+ "disabled": false,
6391
+ "document": "要修改手机号用户的身份证号码,应符合以下规则\n<ul><li>居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li>\n<li>港澳居民来往内地通行证号码共11位。第1位为字母,“H”字头签发给香港居民,“M”字头签发给澳门居民;第2位至第11位为数字。</li>\n<li>港澳台居民居住证号码编码规则与中国大陆身份证相同,应为18位字符串。</li></ul>\n如果没有传递 userId且 userAccountType 是 0 或者没有传递, 此参数为<b>必填项。</b>",
6392
+ "example": "620000198802020000",
6393
+ "member": "string",
6394
+ "name": "IdCardNumber",
6395
+ "required": false,
6396
+ "type": "string"
6397
+ },
6398
+ {
6399
+ "disabled": false,
6400
+ "document": "要跳转的链接类型\n\n<ul>\n<li><b>HTTP</b>:(默认)跳转电子签小程序的http_url,短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)</li>\n<li><b>HTTP_SHORT_URL</b>:跳转电子签小程序的http_url,短信通知或者H5跳转适合此类型,此时返回短链</li>\n<li><b>APP</b>:第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型</li>\n</ul>\n\n",
6401
+ "example": "APP",
6402
+ "member": "string",
6403
+ "name": "Endpoint",
6404
+ "required": false,
6405
+ "type": "string"
6406
+ },
6407
+ {
6408
+ "disabled": false,
6409
+ "document": "在用户完成实名认证后,其自定义数据将通过[手机号换绑回调](https://qian.tencent.com/developers/company/callback_types_staffs/#%E5%8D%81%E4%B8%89-%E4%B8%AA%E4%BA%BA%E5%91%98%E5%B7%A5%E6%89%8B%E6%9C%BA%E5%8F%B7%E4%BF%AE%E6%94%B9%E5%90%8E%E5%9B%9E%E8%B0%83)返回,以便用户确认其个人数据信息。请注意,自定义数据的字符长度上限为1000,且必须采用base64编码格式。\n\n请注意:\n此参数仅支持通过[获取c端用户实名链接](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl)接口实名的用户生效。",
6410
+ "example": "MTIzNDU2Nzg5",
6411
+ "member": "string",
6412
+ "name": "UserData",
6413
+ "required": false,
6414
+ "type": "string"
6415
+ }
6416
+ ],
6417
+ "type": "object"
6418
+ },
6419
+ "CreateUserMobileChangeUrlResponse": {
6420
+ "document": "CreateUserMobileChangeUrl返回参数结构体",
6421
+ "members": [
6422
+ {
6423
+ "disabled": false,
6424
+ "document": "腾讯电子签小程序的实名认证链接。\n如果没有传递,默认值是 HTTP。 链接的有效期均是 7 天。\n\n- 如果EndPoint是APP,\n得到的链接类似于pages/guide/index?to=MOBILE_CHANGE_INTENTION&shortKey=yDCZHUyOcExAlcOvNod0, 用法可以参考描述中的\"跳转到小程序的实现\"\n\n- 如果EndPoint是HTTP,\n得到的链接类似于https://res.ess.tencent.cn/cdn/h5-activity/jump-mp.html?to=MOBILE_CHANGE_INTENTION&shortKey=yDCZHUyOcChrfpaswT0d,点击后会跳转到腾讯电子签小程序进行签署\n\n- 如果EndPoint是HTTP_SHORT_URL,\n得到的链接类似于https://essurl.cn/2n**42Nd,点击后会跳转到腾讯电子签小程序进行签署\n\n\n注: 生成的链路后面不能再增加参数\n示例值:https://essurl.cn/2n**42Nd",
6425
+ "example": "无",
6426
+ "member": "string",
6427
+ "name": "Url",
6428
+ "output_required": false,
6429
+ "type": "string",
6430
+ "value_allowed_null": false
6431
+ },
6432
+ {
6433
+ "disabled": false,
6434
+ "document": "链接失效期限如下:\n\n<ul>\n<li>如果指定更换绑定手机号的用户(指定用户ID或姓名等信息),则设定的链接失效期限为7天后。</li>\n<li>如果没有指定更换绑定手机号的用户,则生成通用跳转到个人换手机号的界面,链接不会过期。</li>\n</ul>",
6435
+ "example": "无",
6436
+ "member": "int64",
6437
+ "name": "ExpireTime",
6438
+ "output_required": false,
6439
+ "type": "int",
6440
+ "value_allowed_null": false
6441
+ },
6442
+ {
6443
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6444
+ "member": "string",
6445
+ "name": "RequestId",
6446
+ "type": "string"
6447
+ }
6448
+ ],
6449
+ "type": "object"
6450
+ },
6325
6451
  "CreateUserVerifyUrlRequest": {
6326
6452
  "document": "CreateUserVerifyUrl请求参数结构体",
6327
6453
  "members": [
@@ -1012,6 +1012,26 @@
1012
1012
  "title": "错误示例-获取设置自动签印章的小程序链接。"
1013
1013
  }
1014
1014
  ],
1015
+ "CreateUserMobileChangeUrl": [
1016
+ {
1017
+ "document": "生成修改个人手机号链接,\n此用户是通过 获取c端用户实名链接实名的,\n调用方知道用户的 userId, 所以使用 UserId 的方式生成手机号变更链接\n生成的链接是 APP 的方式,所以参数中 Endpoint 为 APP",
1018
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUserMobileChangeUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUgygq2xun5UuO4zjEwg0vjoimj\",\n \"ClientIp\": \"8.8.8.8\"\n },\n \"UserId\": \"yDCZmUUckpy1jpdxUBBx43i4P29qekYx\",\n \"Endpoint\": \"APP\",\n \"UserData\": \"MjMwMDAwMTM4Mw==\"\n}",
1019
+ "output": "{\n \"Response\": {\n \"ExpireTime\": 1717751037,\n \"RequestId\": \"s1717146237659391990\",\n \"Url\": \"pages/guide/index?to=MOBILE_CHANGE_INTENTION&shortKey=yDCZiUv2ByIvoFcoDTfb&autoJumpBack=true\"\n }\n}",
1020
+ "title": "生成修改个人手机号链接"
1021
+ },
1022
+ {
1023
+ "document": "使用二要素(姓名/证件号)生成修改个人手机号链接\n此用户是通过 获取c端用户实名链接实名的,\n调用方不知道用户的 userId,但是有用户的二要素信息(姓名和证件号)\n此时需要传递参数UserAccountType 为 1,表示个人\n生成的链接是 短链的方式,所以参数中 Endpoint 为 HTTP_SHORT_URL",
1024
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUserMobileChangeUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUgygq2xun5UuO4zjEwg0vjoimj\",\n \"ClientIp\": \"8.8.8.8\"\n },\n \"UserAccountType\": 1,\n \"Name\": \"典子谦\",\n \"IdCardType\": \"ID_CARD\",\n \"IdCardNumber\": \"620000198802020000\",\n \"Endpoint\": \"HTTP_SHORT_URL\",\n \"UserData\": \"MjMwMDAwMTM4Mw==\"\n}",
1025
+ "output": "{\n \"Response\": {\n \"ExpireTime\": 1717754432,\n \"RequestId\": \"s1717149632556325434\",\n \"Url\": \"https://test.essurl.cn/qLAEUBG2s4\"\n }\n}",
1026
+ "title": "使用二要素生成修改个人手机号链接"
1027
+ },
1028
+ {
1029
+ "document": "使用二要素(姓名/证件号)生成修改员工手机号链接\n此用户是通过 获取c端用户实名链接实名的,\n调用方不知道用户的 userId,但是有用户的二要素信息(姓名和证件号)\n此时需要传递参数UserAccountType 为 0,表示员工\n生成的链接是 短链的方式,所以参数中 Endpoint 为 HTTP_SHORT_URL",
1030
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUserMobileChangeUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUgygq2xun5UuO4zjEwg0vjoimj\",\n \"ClientIp\": \"8.8.8.8\"\n },\n \"UserAccountType\": 0,\n \"Name\": \"典子谦\",\n \"IdCardType\": \"ID_CARD\",\n \"IdCardNumber\": \"620000198802020000\",\n \"Endpoint\": \"HTTP_SHORT_URL\",\n \"UserData\": \"MjMwMDAwMTM4Mw==\"\n}",
1031
+ "output": "{\n \"Response\": {\n \"ExpireTime\": 1717754432,\n \"RequestId\": \"s1717149632556325434\",\n \"Url\": \"https://test.essurl.cn/qHAEUjG2s4\"\n }\n}",
1032
+ "title": "使用二要素生成修改员工手机号链接"
1033
+ }
1034
+ ],
1015
1035
  "CreateUserVerifyUrl": [
1016
1036
  {
1017
1037
  "document": "获取c端用户实名链接",
@@ -2521,7 +2521,7 @@
2521
2521
  },
2522
2522
  {
2523
2523
  "disabled": false,
2524
- "document": "意愿核身过程中识别用户的回答意图,开启后除了IntentionQuestions的Answers列表中的标准回答会通过,近似意图的回答也会通过,默认不开启。",
2524
+ "document": "意愿核身过程中识别用户的回答意图,开启后除了IntentionQuestions的Answers列表中的标准回答会通过,近似意图的回答也会通过,默认开启。",
2525
2525
  "example": "true",
2526
2526
  "member": "bool",
2527
2527
  "name": "IntentionRecognition",
@@ -5033,7 +5033,7 @@
5033
5033
  "members": [
5034
5034
  {
5035
5035
  "disabled": false,
5036
- "document": "意愿核身过程中识别用户的回答意图,开启后除了IntentionQuestions的Answers列表中的标准回答会通过,近似意图的回答也会通过,默认不开启。",
5036
+ "document": "意愿核身过程中识别用户的回答意图,开启后除了IntentionQuestions的Answers列表中的标准回答会通过,近似意图的回答也会通过,默认开启。",
5037
5037
  "example": "true",
5038
5038
  "member": "bool",
5039
5039
  "name": "IntentionRecognition",
@@ -2489,7 +2489,7 @@
2489
2489
  "example": "1.0.3",
2490
2490
  "member": "string",
2491
2491
  "name": "Version",
2492
- "required": true,
2492
+ "output_required": true,
2493
2493
  "type": "string",
2494
2494
  "value_allowed_null": false
2495
2495
  },
@@ -2499,7 +2499,7 @@
2499
2499
  "example": "7ZISKXPJVU",
2500
2500
  "member": "string",
2501
2501
  "name": "ProductId",
2502
- "required": true,
2502
+ "output_required": true,
2503
2503
  "type": "string",
2504
2504
  "value_allowed_null": false
2505
2505
  },
@@ -2509,7 +2509,7 @@
2509
2509
  "example": "name",
2510
2510
  "member": "string",
2511
2511
  "name": "Name",
2512
- "required": true,
2512
+ "output_required": true,
2513
2513
  "type": "string",
2514
2514
  "value_allowed_null": true
2515
2515
  },
@@ -2519,7 +2519,7 @@
2519
2519
  "example": "desc",
2520
2520
  "member": "string",
2521
2521
  "name": "Description",
2522
- "required": true,
2522
+ "output_required": true,
2523
2523
  "type": "string",
2524
2524
  "value_allowed_null": true
2525
2525
  },
@@ -2529,7 +2529,7 @@
2529
2529
  "example": "md5",
2530
2530
  "member": "string",
2531
2531
  "name": "Md5sum",
2532
- "required": true,
2532
+ "output_required": true,
2533
2533
  "type": "string",
2534
2534
  "value_allowed_null": true
2535
2535
  },
@@ -2539,7 +2539,7 @@
2539
2539
  "example": "1597047368",
2540
2540
  "member": "uint64",
2541
2541
  "name": "Createtime",
2542
- "required": true,
2542
+ "output_required": true,
2543
2543
  "type": "int",
2544
2544
  "value_allowed_null": true
2545
2545
  },
@@ -2549,7 +2549,7 @@
2549
2549
  "example": "ABC",
2550
2550
  "member": "string",
2551
2551
  "name": "ProductName",
2552
- "required": true,
2552
+ "output_required": true,
2553
2553
  "type": "string",
2554
2554
  "value_allowed_null": false
2555
2555
  },
@@ -2559,10 +2559,20 @@
2559
2559
  "example": "mcu",
2560
2560
  "member": "string",
2561
2561
  "name": "FwType",
2562
- "required": true,
2562
+ "output_required": true,
2563
2563
  "type": "string",
2564
2564
  "value_allowed_null": false
2565
2565
  },
2566
+ {
2567
+ "disabled": false,
2568
+ "document": "固件用户自定义配置信息\n注意:此字段可能返回 null,表示取不到有效值。",
2569
+ "example": "{\"key1\":\"value1\", \"key2\":\"支持中文\"}",
2570
+ "member": "string",
2571
+ "name": "UserDefined",
2572
+ "output_required": false,
2573
+ "type": "string",
2574
+ "value_allowed_null": true
2575
+ },
2566
2576
  {
2567
2577
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2568
2578
  "member": "string",
@@ -4447,7 +4457,7 @@
4447
4457
  "example": "1.0.1",
4448
4458
  "member": "string",
4449
4459
  "name": "Version",
4450
- "required": true,
4460
+ "output_required": true,
4451
4461
  "type": "string",
4452
4462
  "value_allowed_null": false
4453
4463
  },
@@ -4457,7 +4467,7 @@
4457
4467
  "example": "2f8222b4f275c4f18e69c34f66d2631b",
4458
4468
  "member": "string",
4459
4469
  "name": "Md5sum",
4460
- "required": true,
4470
+ "output_required": true,
4461
4471
  "type": "string",
4462
4472
  "value_allowed_null": false
4463
4473
  },
@@ -4467,7 +4477,7 @@
4467
4477
  "example": "1617801604",
4468
4478
  "member": "uint64",
4469
4479
  "name": "CreateTime",
4470
- "required": true,
4480
+ "output_required": true,
4471
4481
  "type": "int",
4472
4482
  "value_allowed_null": false
4473
4483
  },
@@ -4477,7 +4487,7 @@
4477
4487
  "example": "ABCDE12345",
4478
4488
  "member": "string",
4479
4489
  "name": "ProductName",
4480
- "required": true,
4490
+ "output_required": true,
4481
4491
  "type": "string",
4482
4492
  "value_allowed_null": true
4483
4493
  },
@@ -4487,7 +4497,7 @@
4487
4497
  "example": "固件名称",
4488
4498
  "member": "string",
4489
4499
  "name": "Name",
4490
- "required": true,
4500
+ "output_required": true,
4491
4501
  "type": "string",
4492
4502
  "value_allowed_null": true
4493
4503
  },
@@ -4497,7 +4507,7 @@
4497
4507
  "example": "固件信息描述",
4498
4508
  "member": "string",
4499
4509
  "name": "Description",
4500
- "required": true,
4510
+ "output_required": true,
4501
4511
  "type": "string",
4502
4512
  "value_allowed_null": true
4503
4513
  },
@@ -4507,7 +4517,7 @@
4507
4517
  "example": "ABCDE12345",
4508
4518
  "member": "string",
4509
4519
  "name": "ProductId",
4510
- "required": true,
4520
+ "output_required": true,
4511
4521
  "type": "string",
4512
4522
  "value_allowed_null": true
4513
4523
  },
@@ -4517,7 +4527,7 @@
4517
4527
  "example": "mcu",
4518
4528
  "member": "string",
4519
4529
  "name": "FwType",
4520
- "required": true,
4530
+ "output_required": true,
4521
4531
  "type": "string",
4522
4532
  "value_allowed_null": true
4523
4533
  },
@@ -4527,9 +4537,19 @@
4527
4537
  "example": "0",
4528
4538
  "member": "uint64",
4529
4539
  "name": "CreateUserId",
4530
- "required": true,
4540
+ "output_required": true,
4531
4541
  "type": "int",
4532
4542
  "value_allowed_null": true
4543
+ },
4544
+ {
4545
+ "disabled": false,
4546
+ "document": "固件用户自定义配置信息\n注意:此字段可能返回 null,表示取不到有效值。",
4547
+ "example": "{\"key1\":\"value1\", \"key2\":\"支持中文\"}",
4548
+ "member": "string",
4549
+ "name": "UserDefined",
4550
+ "output_required": false,
4551
+ "type": "string",
4552
+ "value_allowed_null": true
4533
4553
  }
4534
4554
  ],
4535
4555
  "usage": "out"
@@ -7645,7 +7645,7 @@
7645
7645
  "example": "1.0.0",
7646
7646
  "member": "string",
7647
7647
  "name": "Version",
7648
- "required": true,
7648
+ "output_required": true,
7649
7649
  "type": "string",
7650
7650
  "value_allowed_null": false
7651
7651
  },
@@ -7655,7 +7655,7 @@
7655
7655
  "example": "bd9dc3549a0d75bb242d9d4f5842f221",
7656
7656
  "member": "string",
7657
7657
  "name": "Md5sum",
7658
- "required": true,
7658
+ "output_required": true,
7659
7659
  "type": "string",
7660
7660
  "value_allowed_null": false
7661
7661
  },
@@ -7665,7 +7665,7 @@
7665
7665
  "example": "1619322032",
7666
7666
  "member": "uint64",
7667
7667
  "name": "CreateTime",
7668
- "required": true,
7668
+ "output_required": true,
7669
7669
  "type": "int",
7670
7670
  "value_allowed_null": false
7671
7671
  },
@@ -7675,7 +7675,7 @@
7675
7675
  "example": "productName",
7676
7676
  "member": "string",
7677
7677
  "name": "ProductName",
7678
- "required": true,
7678
+ "output_required": true,
7679
7679
  "type": "string",
7680
7680
  "value_allowed_null": true
7681
7681
  },
@@ -7685,7 +7685,7 @@
7685
7685
  "example": "firmwareName",
7686
7686
  "member": "string",
7687
7687
  "name": "Name",
7688
- "required": true,
7688
+ "output_required": true,
7689
7689
  "type": "string",
7690
7690
  "value_allowed_null": true
7691
7691
  },
@@ -7695,7 +7695,7 @@
7695
7695
  "example": "firmwareDesc",
7696
7696
  "member": "string",
7697
7697
  "name": "Description",
7698
- "required": true,
7698
+ "output_required": true,
7699
7699
  "type": "string",
7700
7700
  "value_allowed_null": true
7701
7701
  },
@@ -7705,7 +7705,7 @@
7705
7705
  "example": "productId",
7706
7706
  "member": "string",
7707
7707
  "name": "ProductId",
7708
- "required": true,
7708
+ "output_required": true,
7709
7709
  "type": "string",
7710
7710
  "value_allowed_null": true
7711
7711
  },
@@ -7715,7 +7715,7 @@
7715
7715
  "example": "mcu",
7716
7716
  "member": "string",
7717
7717
  "name": "FwType",
7718
- "required": true,
7718
+ "output_required": true,
7719
7719
  "type": "string",
7720
7720
  "value_allowed_null": true
7721
7721
  },
@@ -7725,7 +7725,7 @@
7725
7725
  "example": "123",
7726
7726
  "member": "int64",
7727
7727
  "name": "CreateUserId",
7728
- "required": true,
7728
+ "output_required": true,
7729
7729
  "type": "int",
7730
7730
  "value_allowed_null": true
7731
7731
  },
@@ -7735,7 +7735,17 @@
7735
7735
  "example": "喵喵",
7736
7736
  "member": "string",
7737
7737
  "name": "CreatorNickName",
7738
- "required": true,
7738
+ "output_required": true,
7739
+ "type": "string",
7740
+ "value_allowed_null": true
7741
+ },
7742
+ {
7743
+ "disabled": false,
7744
+ "document": "固件用户自定义配置信息\n注意:此字段可能返回 null,表示取不到有效值。",
7745
+ "example": "{\"key1\":\"value1\", \"key2\":\"支持中文\"}",
7746
+ "member": "string",
7747
+ "name": "UserDefined",
7748
+ "output_required": false,
7739
7749
  "type": "string",
7740
7750
  "value_allowed_null": true
7741
7751
  }