tccli 3.0.1113.1__py2.py3-none-any.whl → 3.0.1115.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/asr/v20190614/api.json +1 -1
  3. tccli/services/cat/v20180409/api.json +2 -2
  4. tccli/services/cat/v20180409/examples.json +2 -2
  5. tccli/services/cdwdoris/v20211228/api.json +9 -0
  6. tccli/services/cynosdb/v20190107/api.json +151 -50
  7. tccli/services/dasb/dasb_client.py +347 -29
  8. tccli/services/dasb/v20191018/api.json +966 -13
  9. tccli/services/dasb/v20191018/examples.json +48 -0
  10. tccli/services/dbbrain/dbbrain_client.py +110 -4
  11. tccli/services/dbbrain/v20210527/api.json +235 -5
  12. tccli/services/dbbrain/v20210527/examples.json +23 -1
  13. tccli/services/dlc/dlc_client.py +190 -31
  14. tccli/services/dlc/v20210125/api.json +176 -0
  15. tccli/services/dlc/v20210125/examples.json +24 -0
  16. tccli/services/dsgc/v20190723/api.json +30 -17
  17. tccli/services/dsgc/v20190723/examples.json +1 -1
  18. tccli/services/ess/ess_client.py +110 -4
  19. tccli/services/ess/v20201111/api.json +146 -1
  20. tccli/services/ess/v20201111/examples.json +17 -1
  21. tccli/services/essbasic/v20210526/api.json +12 -2
  22. tccli/services/essbasic/v20210526/examples.json +4 -4
  23. tccli/services/hunyuan/v20230901/api.json +6 -6
  24. tccli/services/hunyuan/v20230901/examples.json +6 -6
  25. tccli/services/iotexplorer/iotexplorer_client.py +326 -8
  26. tccli/services/iotexplorer/v20190423/api.json +583 -0
  27. tccli/services/iotexplorer/v20190423/examples.json +48 -0
  28. tccli/services/monitor/v20180724/api.json +27 -0
  29. tccli/services/mps/v20190612/api.json +67 -1
  30. tccli/services/svp/svp_client.py +159 -0
  31. tccli/services/svp/v20240125/api.json +723 -0
  32. tccli/services/svp/v20240125/examples.json +24 -0
  33. tccli/services/tdmq/v20200217/api.json +2 -2
  34. tccli/services/tione/v20211111/api.json +11 -0
  35. {tccli-3.0.1113.1.dist-info → tccli-3.0.1115.1.dist-info}/METADATA +2 -2
  36. {tccli-3.0.1113.1.dist-info → tccli-3.0.1115.1.dist-info}/RECORD +39 -39
  37. {tccli-3.0.1113.1.dist-info → tccli-3.0.1115.1.dist-info}/WHEEL +0 -0
  38. {tccli-3.0.1113.1.dist-info → tccli-3.0.1115.1.dist-info}/entry_points.txt +0 -0
  39. {tccli-3.0.1113.1.dist-info → tccli-3.0.1115.1.dist-info}/license_files/LICENSE +0 -0
@@ -8,6 +8,14 @@
8
8
  "title": "DMS元数据新增分区"
9
9
  }
10
10
  ],
11
+ "AddOptimizerEngines": [
12
+ {
13
+ "document": "",
14
+ "input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddOptimizerEngines\n<公共请求参数>\n\n{}",
15
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1304581893_25027_1709796072623_223\"\n }\n}",
16
+ "title": "实例一"
17
+ }
18
+ ],
11
19
  "AddUsersToWorkGroup": [
12
20
  {
13
21
  "document": "",
@@ -664,6 +672,14 @@
664
672
  "title": "查询任务列表"
665
673
  }
666
674
  ],
675
+ "DescribeTasksCostInfo": [
676
+ {
677
+ "document": "",
678
+ "input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasksCostInfo\n<公共请求参数>\n\n{}",
679
+ "output": "{\n \"Response\": {\n \"SearchAfter\": \"abc\",\n \"Data\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
680
+ "title": "查询任务消耗"
681
+ }
682
+ ],
667
683
  "DescribeUpdatableDataEngines": [
668
684
  {
669
685
  "document": "查询需要更新结果桶集群配置的sparksql引擎",
@@ -806,6 +822,14 @@
806
822
  "title": "查询日志详情"
807
823
  }
808
824
  ],
825
+ "ListTaskJobLogName": [
826
+ {
827
+ "document": "日志名称列表",
828
+ "input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListTaskJobLogName\n<公共请求参数>\n\n{\n \"TaskId\": \"dasj-dasdjes0-dsak-dsa\",\n \"BatchId\": \"eusj-2dks-dsad-edsaw2-dsa\"\n}",
829
+ "output": "{\n \"Response\": {\n \"Names\": [\n \"val1\",\n \"val2\"\n ],\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
830
+ "title": "日志名称列表"
831
+ }
832
+ ],
809
833
  "LockMetaData": [
810
834
  {
811
835
  "document": "",
@@ -12899,7 +12899,7 @@
12899
12899
  {
12900
12900
  "disabled": false,
12901
12901
  "document": "DSPA实例ID。",
12902
- "example": "",
12902
+ "example": "dspa-a1b1",
12903
12903
  "member": "string",
12904
12904
  "name": "DspaId",
12905
12905
  "output_required": true,
@@ -12909,7 +12909,7 @@
12909
12909
  {
12910
12910
  "disabled": false,
12911
12911
  "document": "DSPA实例名称。",
12912
- "example": "",
12912
+ "example": "dspa-name",
12913
12913
  "member": "string",
12914
12914
  "name": "DspaName",
12915
12915
  "output_required": true,
@@ -12919,7 +12919,7 @@
12919
12919
  {
12920
12920
  "disabled": false,
12921
12921
  "document": "DSPA实例描述信息。",
12922
- "example": "",
12922
+ "example": "dspa-desc",
12923
12923
  "member": "string",
12924
12924
  "name": "DspaDescription",
12925
12925
  "output_required": true,
@@ -12939,7 +12939,7 @@
12939
12939
  {
12940
12940
  "disabled": false,
12941
12941
  "document": "DSPA实例已绑定的cos桶数量。",
12942
- "example": "",
12942
+ "example": "10",
12943
12943
  "member": "uint64",
12944
12944
  "name": "CosBindCount",
12945
12945
  "output_required": true,
@@ -12949,7 +12949,7 @@
12949
12949
  {
12950
12950
  "disabled": false,
12951
12951
  "document": "DSPA实例版本。",
12952
- "example": "",
12952
+ "example": "1",
12953
12953
  "member": "string",
12954
12954
  "name": "InstanceVersion",
12955
12955
  "output_required": true,
@@ -12959,7 +12959,7 @@
12959
12959
  {
12960
12960
  "disabled": false,
12961
12961
  "document": "DSPA实例状态。",
12962
- "example": "",
12962
+ "example": "normal",
12963
12963
  "member": "string",
12964
12964
  "name": "Status",
12965
12965
  "output_required": true,
@@ -12969,7 +12969,7 @@
12969
12969
  {
12970
12970
  "disabled": false,
12971
12971
  "document": "实例过期时间戳。",
12972
- "example": "",
12972
+ "example": "12312341",
12973
12973
  "member": "uint64",
12974
12974
  "name": "ExpiredAt",
12975
12975
  "output_required": true,
@@ -12979,7 +12979,7 @@
12979
12979
  {
12980
12980
  "disabled": false,
12981
12981
  "document": "账户APPID。",
12982
- "example": "",
12982
+ "example": "314151324",
12983
12983
  "member": "uint64",
12984
12984
  "name": "AppId",
12985
12985
  "output_required": true,
@@ -12989,7 +12989,7 @@
12989
12989
  {
12990
12990
  "disabled": false,
12991
12991
  "document": "体验版本信息。",
12992
- "example": "",
12992
+ "example": "2",
12993
12993
  "member": "string",
12994
12994
  "name": "TrialVersion",
12995
12995
  "output_required": true,
@@ -12999,7 +12999,7 @@
12999
12999
  {
13000
13000
  "disabled": false,
13001
13001
  "document": "体验版本过期时间戳。",
13002
- "example": "",
13002
+ "example": "12312341",
13003
13003
  "member": "uint64",
13004
13004
  "name": "TrialEndAt",
13005
13005
  "output_required": true,
@@ -13009,7 +13009,7 @@
13009
13009
  {
13010
13010
  "disabled": false,
13011
13011
  "document": "DB已购配额。",
13012
- "example": "",
13012
+ "example": "10",
13013
13013
  "member": "int64",
13014
13014
  "name": "DbTotalQuota",
13015
13015
  "output_required": true,
@@ -13019,7 +13019,7 @@
13019
13019
  {
13020
13020
  "disabled": false,
13021
13021
  "document": "COS已购配额。",
13022
- "example": "",
13022
+ "example": "5",
13023
13023
  "member": "int64",
13024
13024
  "name": "CosTotalQuota",
13025
13025
  "output_required": true,
@@ -13029,7 +13029,7 @@
13029
13029
  {
13030
13030
  "disabled": false,
13031
13031
  "document": "COS配额单位,例如:TB。",
13032
- "example": "",
13032
+ "example": "4",
13033
13033
  "member": "string",
13034
13034
  "name": "CosQuotaUnit",
13035
13035
  "output_required": true,
@@ -13039,12 +13039,22 @@
13039
13039
  {
13040
13040
  "disabled": false,
13041
13041
  "document": "0: 默认状态(用户未设置)\n1: 开启自动续费\n2: 明确不自动续费",
13042
- "example": "",
13042
+ "example": "0",
13043
13043
  "member": "uint64",
13044
13044
  "name": "RenewFlag",
13045
13045
  "output_required": true,
13046
13046
  "type": "int",
13047
13047
  "value_allowed_null": false
13048
+ },
13049
+ {
13050
+ "disabled": false,
13051
+ "document": "实例渠道\n注意:此字段可能返回 null,表示取不到有效值。",
13052
+ "example": "wedata",
13053
+ "member": "string",
13054
+ "name": "Channel",
13055
+ "output_required": false,
13056
+ "type": "string",
13057
+ "value_allowed_null": true
13048
13058
  }
13049
13059
  ],
13050
13060
  "usage": "out"
@@ -14885,7 +14895,7 @@
14885
14895
  {
14886
14896
  "disabled": false,
14887
14897
  "document": "过滤项。\n支持的过滤项包括:DspaId、Status、Version、DspaName。\nDspaId和DspaName支持模糊搜索。\nStatus支持的可选值:enabled、disabled。\nVersion支持的可选值:trial、official。",
14888
- "example": "",
14898
+ "example": "[filter]",
14889
14899
  "member": "DspaDataSourceMngFilter",
14890
14900
  "name": "Filters",
14891
14901
  "required": false,
@@ -14894,7 +14904,7 @@
14894
14904
  {
14895
14905
  "disabled": false,
14896
14906
  "document": "展示模式。",
14897
- "example": "",
14907
+ "example": "mode",
14898
14908
  "member": "string",
14899
14909
  "name": "ListMode",
14900
14910
  "required": false,
@@ -14912,15 +14922,17 @@
14912
14922
  "example": "100",
14913
14923
  "member": "uint64",
14914
14924
  "name": "TotalCount",
14925
+ "output_required": true,
14915
14926
  "type": "int",
14916
14927
  "value_allowed_null": false
14917
14928
  },
14918
14929
  {
14919
14930
  "disabled": false,
14920
14931
  "document": "资源列表。",
14921
- "example": "",
14932
+ "example": "[dspa-a1b2c3]",
14922
14933
  "member": "DspaInstance",
14923
14934
  "name": "InstanceList",
14935
+ "output_required": true,
14924
14936
  "type": "list",
14925
14937
  "value_allowed_null": false
14926
14938
  },
@@ -14930,6 +14942,7 @@
14930
14942
  "example": "false",
14931
14943
  "member": "bool",
14932
14944
  "name": "DenyAll",
14945
+ "output_required": true,
14933
14946
  "type": "bool",
14934
14947
  "value_allowed_null": false
14935
14948
  },
@@ -930,7 +930,7 @@
930
930
  {
931
931
  "document": "拉取DSPA实例列表",
932
932
  "input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDSPAClusters\n<公共请求参数>\n\n{}",
933
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"InstanceList\": [\n {\n \"DspaId\": \"abc\",\n \"DspaName\": \"abc\",\n \"DspaDescription\": \"abc\",\n \"DBAuthCount\": 1,\n \"CosBindCount\": 1,\n \"InstanceVersion\": \"abc\",\n \"Status\": \"abc\",\n \"ExpiredAt\": 1,\n \"AppId\": 1,\n \"TrialVersion\": \"abc\",\n \"TrialEndAt\": 1,\n \"DbTotalQuota\": 0,\n \"CosTotalQuota\": 0,\n \"RenewFlag\": 1\n }\n ],\n \"DenyAll\": true,\n \"RequestId\": \"abc\"\n }\n}",
933
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"InstanceList\": [\n {\n \"DspaId\": \"abc\",\n \"DspaName\": \"abc\",\n \"DspaDescription\": \"abc\",\n \"DBAuthCount\": 1,\n \"CosBindCount\": 1,\n \"InstanceVersion\": \"abc\",\n \"Status\": \"abc\",\n \"ExpiredAt\": 1,\n \"AppId\": 1,\n \"TrialVersion\": \"abc\",\n \"TrialEndAt\": 1,\n \"DbTotalQuota\": 0,\n \"CosTotalQuota\": 0,\n \"CosQuotaUnit\": \"abc\",\n \"RenewFlag\": 1,\n \"Channel\": \"abc\"\n }\n ],\n \"DenyAll\": true,\n \"RequestId\": \"abc\"\n }\n}",
934
934
  "title": "拉取DSPA实例列表"
935
935
  }
936
936
  ],
@@ -1993,6 +1993,58 @@ def doDescribeExtendedServiceAuthInfos(args, parsed_globals):
1993
1993
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1994
1994
 
1995
1995
 
1996
+ def doCreateOrganizationGroupInvitationLink(args, parsed_globals):
1997
+ g_param = parse_global_arg(parsed_globals)
1998
+
1999
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2000
+ cred = credential.CVMRoleCredential()
2001
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2002
+ cred = credential.STSAssumeRoleCredential(
2003
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2004
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2005
+ )
2006
+ 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):
2007
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2008
+ else:
2009
+ cred = credential.Credential(
2010
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2011
+ )
2012
+ http_profile = HttpProfile(
2013
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2014
+ reqMethod="POST",
2015
+ endpoint=g_param[OptionsDefine.Endpoint],
2016
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2017
+ )
2018
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2019
+ if g_param[OptionsDefine.Language]:
2020
+ profile.language = g_param[OptionsDefine.Language]
2021
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2022
+ client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2023
+ client._sdkVersion += ("_CLI_" + __version__)
2024
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2025
+ model = models.CreateOrganizationGroupInvitationLinkRequest()
2026
+ model.from_json_string(json.dumps(args))
2027
+ start_time = time.time()
2028
+ while True:
2029
+ rsp = client.CreateOrganizationGroupInvitationLink(model)
2030
+ result = rsp.to_json_string()
2031
+ try:
2032
+ json_obj = json.loads(result)
2033
+ except TypeError as e:
2034
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2035
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2036
+ break
2037
+ cur_time = time.time()
2038
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2039
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2040
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2041
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2042
+ else:
2043
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2044
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2045
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2046
+
2047
+
1996
2048
  def doDescribeFlowEvidenceReport(args, parsed_globals):
1997
2049
  g_param = parse_global_arg(parsed_globals)
1998
2050
 
@@ -2097,6 +2149,58 @@ def doCreateFlowByFiles(args, parsed_globals):
2097
2149
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2098
2150
 
2099
2151
 
2152
+ def doCreateBatchSignUrl(args, parsed_globals):
2153
+ g_param = parse_global_arg(parsed_globals)
2154
+
2155
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2156
+ cred = credential.CVMRoleCredential()
2157
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2158
+ cred = credential.STSAssumeRoleCredential(
2159
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2160
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2161
+ )
2162
+ 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):
2163
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2164
+ else:
2165
+ cred = credential.Credential(
2166
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2167
+ )
2168
+ http_profile = HttpProfile(
2169
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2170
+ reqMethod="POST",
2171
+ endpoint=g_param[OptionsDefine.Endpoint],
2172
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2173
+ )
2174
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2175
+ if g_param[OptionsDefine.Language]:
2176
+ profile.language = g_param[OptionsDefine.Language]
2177
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2178
+ client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2179
+ client._sdkVersion += ("_CLI_" + __version__)
2180
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2181
+ model = models.CreateBatchSignUrlRequest()
2182
+ model.from_json_string(json.dumps(args))
2183
+ start_time = time.time()
2184
+ while True:
2185
+ rsp = client.CreateBatchSignUrl(model)
2186
+ result = rsp.to_json_string()
2187
+ try:
2188
+ json_obj = json.loads(result)
2189
+ except TypeError as e:
2190
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2191
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2192
+ break
2193
+ cur_time = time.time()
2194
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2195
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2196
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2197
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2198
+ else:
2199
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2200
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2201
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2202
+
2203
+
2100
2204
  def doCreateSeal(args, parsed_globals):
2101
2205
  g_param = parse_global_arg(parsed_globals)
2102
2206
 
@@ -3085,7 +3189,7 @@ def doUploadFiles(args, parsed_globals):
3085
3189
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3086
3190
 
3087
3191
 
3088
- def doCreateBatchSignUrl(args, parsed_globals):
3192
+ def doCreateIntegrationSubOrganizationActiveRecord(args, parsed_globals):
3089
3193
  g_param = parse_global_arg(parsed_globals)
3090
3194
 
3091
3195
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3114,11 +3218,11 @@ def doCreateBatchSignUrl(args, parsed_globals):
3114
3218
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
3115
3219
  client._sdkVersion += ("_CLI_" + __version__)
3116
3220
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3117
- model = models.CreateBatchSignUrlRequest()
3221
+ model = models.CreateIntegrationSubOrganizationActiveRecordRequest()
3118
3222
  model.from_json_string(json.dumps(args))
3119
3223
  start_time = time.time()
3120
3224
  while True:
3121
- rsp = client.CreateBatchSignUrl(model)
3225
+ rsp = client.CreateIntegrationSubOrganizationActiveRecord(model)
3122
3226
  result = rsp.to_json_string()
3123
3227
  try:
3124
3228
  json_obj = json.loads(result)
@@ -4278,8 +4382,10 @@ ACTION_MAP = {
4278
4382
  "DescribeUserAutoSignStatus": doDescribeUserAutoSignStatus,
4279
4383
  "CreateFlowGroupByTemplates": doCreateFlowGroupByTemplates,
4280
4384
  "DescribeExtendedServiceAuthInfos": doDescribeExtendedServiceAuthInfos,
4385
+ "CreateOrganizationGroupInvitationLink": doCreateOrganizationGroupInvitationLink,
4281
4386
  "DescribeFlowEvidenceReport": doDescribeFlowEvidenceReport,
4282
4387
  "CreateFlowByFiles": doCreateFlowByFiles,
4388
+ "CreateBatchSignUrl": doCreateBatchSignUrl,
4283
4389
  "CreateSeal": doCreateSeal,
4284
4390
  "DescribeIntegrationRoles": doDescribeIntegrationRoles,
4285
4391
  "CreateMultiFlowSignQRCode": doCreateMultiFlowSignQRCode,
@@ -4299,7 +4405,7 @@ ACTION_MAP = {
4299
4405
  "CreateIntegrationUserRoles": doCreateIntegrationUserRoles,
4300
4406
  "DescribeSignFaceVideo": doDescribeSignFaceVideo,
4301
4407
  "UploadFiles": doUploadFiles,
4302
- "CreateBatchSignUrl": doCreateBatchSignUrl,
4408
+ "CreateIntegrationSubOrganizationActiveRecord": doCreateIntegrationSubOrganizationActiveRecord,
4303
4409
  "CreateOrganizationBatchSignUrl": doCreateOrganizationBatchSignUrl,
4304
4410
  "CreateFlowSignUrl": doCreateFlowSignUrl,
4305
4411
  "DescribeFlowComponents": doDescribeFlowComponents,
@@ -175,6 +175,13 @@
175
175
  "output": "CreateIntegrationRoleResponse",
176
176
  "status": "online"
177
177
  },
178
+ "CreateIntegrationSubOrganizationActiveRecord": {
179
+ "document": "通过此接口,创建子企业激活记录,集团企业管理员可针对未激活的成员企业进行激活。\n激活子企业时请保证子企业 lisence 充足。\n这个操作与页面端激活成员企业操作类似\n![image](https://qcloudimg.tencent-cloud.cn/raw/c4e76fbac92e4ce451a03601c964793b.png)\n\np.s.\n此接口只能用于激活,不能用于续期。",
180
+ "input": "CreateIntegrationSubOrganizationActiveRecordRequest",
181
+ "name": "创建子企业激活记录",
182
+ "output": "CreateIntegrationSubOrganizationActiveRecordResponse",
183
+ "status": "online"
184
+ },
178
185
  "CreateIntegrationUserRoles": {
179
186
  "document": "此接口用于赋予员工指定的角色权限,如需解绑请使用 DeleteIntegrationRoleUsers 接口。",
180
187
  "input": "CreateIntegrationUserRolesRequest",
@@ -203,6 +210,13 @@
203
210
  "output": "CreateOrganizationBatchSignUrlResponse",
204
211
  "status": "online"
205
212
  },
213
+ "CreateOrganizationGroupInvitationLink": {
214
+ "document": "生成集团加入链接,分享至子企业超管或者法人,子企业管理员可通过链接加入集团。\n注意:调用当前接口的企业 必须为集团企业。如何成为集团企业可以参考下面的文档[集团操作文档](https://qian.tencent.com/document/86707)",
215
+ "input": "CreateOrganizationGroupInvitationLinkRequest",
216
+ "name": "生成集团加入邀请二维码",
217
+ "output": "CreateOrganizationGroupInvitationLinkResponse",
218
+ "status": "online"
219
+ },
206
220
  "CreateOrganizationInfoChangeUrl": {
207
221
  "document": "此接口(CreateOrganizationInfoChangeUrl)用于创建企业信息变更链接,支持创建企业超管变更链接或企业基础信息变更链接,通过入参ChangeType指定。\n\n\n<h3 id=\"1-企业超管变更\">1. 企业超管变更</h3>\n\n<p>换成企业的其他员工来当超管</p>\n\n<h3 id=\"2-企业基础信息变更\">2. 企业基础信息变更</h3>\n\n<h4 id=\"可以变动\">可以变动</h4>\n\n<ul>\n<li>企业名称<br>\n</li>\n<li>法定代表人姓名(新法人有邀请链接)<br>\n</li>\n<li>企业地址和所在地</li>\n</ul>\n\n<h4 id=\"不可变动\">不可变动</h4>\n\n<ul>\n<li>统一社会信用代码<br>\n</li>\n<li>企业主体类型</li>\n</ul>\n\n<p>如果企业名称变动会引起下面的变动</p>\n\n<ul>\n<li>合同: 老合同不做任何处理, 新发起的合同需要用新的企业名字作为签署方, 否则无法签署</li>\n<li>印章: 会删除所有的印章所有的机构公章和合同专用章, 然后用新企业名称生成新的机构公章 和合同专用章, 而法人章, 财务专用章和人事专用章不会处理</li>\n<li>证书: 企业证书会重新请求CA机构用新企业名称生成新的证书</li>\n</ul>",
208
222
  "input": "CreateOrganizationInfoChangeUrlRequest",
@@ -4240,6 +4254,52 @@
4240
4254
  ],
4241
4255
  "type": "object"
4242
4256
  },
4257
+ "CreateIntegrationSubOrganizationActiveRecordRequest": {
4258
+ "document": "CreateIntegrationSubOrganizationActiveRecord请求参数结构体",
4259
+ "members": [
4260
+ {
4261
+ "disabled": false,
4262
+ "document": "执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`",
4263
+ "example": "无",
4264
+ "member": "UserInfo",
4265
+ "name": "Operator",
4266
+ "required": true,
4267
+ "type": "object"
4268
+ },
4269
+ {
4270
+ "disabled": false,
4271
+ "document": "待激活成员企业ID集合",
4272
+ "example": "无",
4273
+ "member": "string",
4274
+ "name": "SubOrganizationIds",
4275
+ "required": true,
4276
+ "type": "list"
4277
+ }
4278
+ ],
4279
+ "type": "object"
4280
+ },
4281
+ "CreateIntegrationSubOrganizationActiveRecordResponse": {
4282
+ "document": "CreateIntegrationSubOrganizationActiveRecord返回参数结构体",
4283
+ "members": [
4284
+ {
4285
+ "disabled": false,
4286
+ "document": "激活失败的成员企业ID集合",
4287
+ "example": "无",
4288
+ "member": "string",
4289
+ "name": "FailedSubOrganizationIds",
4290
+ "output_required": true,
4291
+ "type": "list",
4292
+ "value_allowed_null": false
4293
+ },
4294
+ {
4295
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4296
+ "member": "string",
4297
+ "name": "RequestId",
4298
+ "type": "string"
4299
+ }
4300
+ ],
4301
+ "type": "object"
4302
+ },
4243
4303
  "CreateIntegrationUserRolesRequest": {
4244
4304
  "document": "CreateIntegrationUserRoles请求参数结构体",
4245
4305
  "members": [
@@ -4760,6 +4820,82 @@
4760
4820
  ],
4761
4821
  "type": "object"
4762
4822
  },
4823
+ "CreateOrganizationGroupInvitationLinkRequest": {
4824
+ "document": "CreateOrganizationGroupInvitationLink请求参数结构体",
4825
+ "members": [
4826
+ {
4827
+ "disabled": false,
4828
+ "document": "执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`",
4829
+ "example": "无",
4830
+ "member": "UserInfo",
4831
+ "name": "Operator",
4832
+ "required": true,
4833
+ "type": "object"
4834
+ },
4835
+ {
4836
+ "disabled": false,
4837
+ "document": "到期时间(以秒为单位的时间戳),其上限为30天的有效期限。",
4838
+ "example": "无",
4839
+ "member": "int64",
4840
+ "name": "ExpireTime",
4841
+ "required": true,
4842
+ "type": "int"
4843
+ }
4844
+ ],
4845
+ "type": "object"
4846
+ },
4847
+ "CreateOrganizationGroupInvitationLinkResponse": {
4848
+ "document": "CreateOrganizationGroupInvitationLink返回参数结构体",
4849
+ "members": [
4850
+ {
4851
+ "disabled": false,
4852
+ "document": "加入集团二维码链接,子企业的管理员可以直接扫码进入。\n注意:1. 该链接有效期时间为ExpireTime,同时需要注意保密,不要外泄给无关用户。2. 该链接不支持小程序嵌入,仅支持<b>移动端浏览器</b>打开。3. <font color=\"red\">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)",
4853
+ "example": "无",
4854
+ "member": "string",
4855
+ "name": "Link",
4856
+ "output_required": true,
4857
+ "type": "string",
4858
+ "value_allowed_null": false
4859
+ },
4860
+ {
4861
+ "disabled": false,
4862
+ "document": "到期时间(以秒为单位的时间戳)",
4863
+ "example": "无",
4864
+ "member": "int64",
4865
+ "name": "ExpireTime",
4866
+ "output_required": true,
4867
+ "type": "int",
4868
+ "value_allowed_null": false
4869
+ },
4870
+ {
4871
+ "disabled": false,
4872
+ "document": "加入集团短链接。\n注意:\n1. 该链接有效期时间为ExpireTime,同时需要注意保密,不要外泄给无关用户。\n2. 该链接不支持小程序嵌入,仅支持<b>移动端浏览器</b>打开。\n3. <font color=\"red\">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)",
4873
+ "example": "无",
4874
+ "member": "string",
4875
+ "name": "JumpUrl",
4876
+ "output_required": true,
4877
+ "type": "string",
4878
+ "value_allowed_null": false
4879
+ },
4880
+ {
4881
+ "disabled": false,
4882
+ "document": "腾讯电子签小程序加入集团链接。\n\n<li>小程序和APP集成使用</li>\n<li>得到的链接类似于`pages/guide?shortKey=yDw***k1xFc5`, 用法可以参考:<a href=\"https://qian.tencent.com/developers/company/openwxminiprogram\" target=\"_blank\">跳转电子签小程序</a></li>\n\n\n注: <font color=\"red\">生成的链路后面不能再增加参数</font>",
4883
+ "example": "无",
4884
+ "member": "string",
4885
+ "name": "MiniAppPath",
4886
+ "output_required": false,
4887
+ "type": "string",
4888
+ "value_allowed_null": false
4889
+ },
4890
+ {
4891
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4892
+ "member": "string",
4893
+ "name": "RequestId",
4894
+ "type": "string"
4895
+ }
4896
+ ],
4897
+ "type": "object"
4898
+ },
4763
4899
  "CreateOrganizationInfoChangeUrlRequest": {
4764
4900
  "document": "CreateOrganizationInfoChangeUrl请求参数结构体",
4765
4901
  "members": [
@@ -8530,12 +8666,21 @@
8530
8666
  },
8531
8667
  {
8532
8668
  "disabled": false,
8533
- "document": "证件号,身份证如果有x的话,统一按照大写X传递",
8669
+ "document": "证件号码,应符合以下规则\n<ul><li>居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li>\n<li>港澳居民来往内地通行证号码共11位。第1位为字母,“H”字头签发给香港居民,“M”字头签发给澳门居民;第2位至第11位为数字。</li>\n<li>港澳台居民居住证号码编码规则与中国大陆身份证相同,应为18位字符串。</li></ul>",
8534
8670
  "example": "无",
8535
8671
  "member": "string",
8536
8672
  "name": "IdCardNumber",
8537
8673
  "required": true,
8538
8674
  "type": "string"
8675
+ },
8676
+ {
8677
+ "disabled": false,
8678
+ "document": "证件类型,支持以下类型\n<ul><li>ID_CARD : 居民身份证 (默认值)</li>\n<li>HONGKONG_AND_MACAO : 港澳居民来往内地通行证</li>\n<li>HONGKONG_MACAO_AND_TAIWAN : 港澳台居民居住证(格式同居民身份证)</li></ul>",
8679
+ "example": "无",
8680
+ "member": "string",
8681
+ "name": "IdCardType",
8682
+ "required": true,
8683
+ "type": "string"
8539
8684
  }
8540
8685
  ],
8541
8686
  "type": "object"
@@ -680,6 +680,14 @@
680
680
  "title": "示例-普通企业创建角色(不带权限树参数)"
681
681
  }
682
682
  ],
683
+ "CreateIntegrationSubOrganizationActiveRecord": [
684
+ {
685
+ "document": "通过此接口,创建子企业激活记录,集团企业管理员可针对未激活的成员企业进行授权。",
686
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateIntegrationSubOrganizationActiveRecord\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"abc\"\n },\n \"SubOrganizationIds\": [\n \"123456\"\n ]\n}",
687
+ "output": "{\n \"Response\": {\n \"FailedSubOrganizationIds\": [],\n \"RequestId\": \"yDxbWUyKQDxgXVUuO4zjEB8mxCcDjAyF\"\n }\n}",
688
+ "title": "创建成员企业激活记录"
689
+ }
690
+ ],
683
691
  "CreateIntegrationUserRoles": [
684
692
  {
685
693
  "document": "示例-主代子绑定角色",
@@ -760,6 +768,14 @@
760
768
  "title": "基于RecipientIds 生成他方签署链接"
761
769
  }
762
770
  ],
771
+ "CreateOrganizationGroupInvitationLink": [
772
+ {
773
+ "document": "生成建工集团集团加入邀请链接",
774
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateOrganizationGroupInvitationLink\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDR4yUUgyg1qh6szUxt1qOK1Jy90khKS\",\n \"ClientIp\": \"8.8.8.8\"\n },\n \"ExpireTime\": 1702366386\n}",
775
+ "output": "{\n \"Response\": {\n \"ExpireTime\": 1716683735,\n \"JumpUrl\": \"https://test.essurl.cn/BGgGUBGtln\",\n \"Link\": \"https://dyn.test.ess.tencent.cn/imgs/organization/732aaefa78c439d726f541b89c49e022/qrcode/joingroup/yDCZFUUckpyyo8pgUxP8QQ8yRgWF3en4.png\",\n \"MiniAppPath\": \"/pages/guide/index?shortKey=yDCZFUyOc8a3FdjP9477\",\n \"RequestId\": \"acba9fe30ab0\"\n }\n}",
776
+ "title": "生成建工集团集团加入邀请链接"
777
+ }
778
+ ],
763
779
  "CreateOrganizationInfoChangeUrl": [
764
780
  {
765
781
  "document": "设置changeType为1,生成超管变更链接。",
@@ -1415,7 +1431,7 @@
1415
1431
  "DescribeUserVerifyStatus": [
1416
1432
  {
1417
1433
  "document": "通过二要素查询用户是否实名",
1418
- "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserVerifyStatus\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"abc\"\n },\n \"Name\": \"abc\",\n \"IdCardNumber\": \"abc\"\n}",
1434
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserVerifyStatus\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"abc\"\n },\n \"Name\": \"abc\",\n \"IdCardNumber\": \"abc\",\n \"IdCardType\": \"ID_CARD\"\n}",
1419
1435
  "output": "{\n \"Response\": {\n \"VerifyStatus\": true,\n \"RequestId\": \"abc\"\n }\n}",
1420
1436
  "title": "通过二要素查询用户是否实名"
1421
1437
  }