tccli 3.0.1166.1__py2.py3-none-any.whl → 3.0.1167.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/cvm/v20170312/api.json +13 -13
- tccli/services/cvm/v20170312/examples.json +4 -10
- tccli/services/ess/v20201111/api.json +3 -3
- tccli/services/essbasic/v20210526/api.json +3 -3
- tccli/services/hunyuan/hunyuan_client.py +114 -8
- tccli/services/hunyuan/v20230901/api.json +70 -2
- tccli/services/hunyuan/v20230901/examples.json +16 -0
- tccli/services/ocr/v20181119/api.json +26 -16
- tccli/services/pts/v20210728/api.json +4 -4
- tccli/services/pts/v20210728/examples.json +9 -9
- tccli/services/redis/v20180412/api.json +18 -9
- tccli/services/redis/v20180412/examples.json +3 -3
- tccli/services/tcb/v20180608/api.json +17 -7
- tccli/services/tcb/v20180608/examples.json +7 -1
- tccli/services/tds/v20220801/api.json +69 -0
- tccli/services/tds/v20220801/examples.json +1 -1
- tccli/services/tts/v20190823/api.json +2 -2
- tccli/services/vpc/v20170312/api.json +10 -0
- tccli/services/vrs/v20200824/api.json +96 -9
- tccli/services/wedata/v20210820/api.json +690 -28
- tccli/services/wedata/v20210820/examples.json +10 -2
- tccli/services/wedata/wedata_client.py +53 -0
- {tccli-3.0.1166.1.dist-info → tccli-3.0.1167.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1166.1.dist-info → tccli-3.0.1167.1.dist-info}/RECORD +28 -28
- {tccli-3.0.1166.1.dist-info → tccli-3.0.1167.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1166.1.dist-info → tccli-3.0.1167.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1166.1.dist-info → tccli-3.0.1167.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1167.1'
|
@@ -631,7 +631,7 @@
|
|
631
631
|
"status": "online"
|
632
632
|
},
|
633
633
|
"ResetInstancesInternetMaxBandwidth": {
|
634
|
-
"document": "本接口 (ResetInstancesInternetMaxBandwidth) 用于调整实例公网带宽上限。\n\n* 不同机型带宽上限范围不一致,具体限制详见[公网带宽上限](https://cloud.tencent.com/document/product/213/12523)。\n* 对于 `BANDWIDTH_PREPAID` 计费方式的带宽,需要输入参数 `StartTime` 和 `EndTime` ,指定调整后的带宽的生效时间段。在这种场景下目前不支持调小带宽,会涉及扣费,请确保账户余额充足。可通过 [DescribeAccountBalance]
|
634
|
+
"document": "本接口 (ResetInstancesInternetMaxBandwidth) 用于调整实例公网带宽上限。\n\n* 不同机型带宽上限范围不一致,具体限制详见[公网带宽上限](https://cloud.tencent.com/document/product/213/12523)。\n* 对于 `BANDWIDTH_PREPAID` 计费方式的带宽,需要输入参数 `StartTime` 和 `EndTime` ,指定调整后的带宽的生效时间段。在这种场景下目前不支持调小带宽,会涉及扣费,请确保账户余额充足。可通过 [DescribeAccountBalance](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。\n* 对于 `TRAFFIC_POSTPAID_BY_HOUR` 、 `BANDWIDTH_POSTPAID_BY_HOUR` 和 `BANDWIDTH_PACKAGE` 计费方式的带宽,使用该接口调整带宽上限是实时生效的,可以在带宽允许的范围内调大或者调小带宽,不支持输入参数 `StartTime` 和 `EndTime` 。\n* 接口不支持调整 `BANDWIDTH_POSTPAID_BY_MONTH` 计费方式的带宽。\n* 接口不支持批量调整 `BANDWIDTH_PREPAID` 和 `BANDWIDTH_POSTPAID_BY_HOUR` 计费方式的带宽。\n* 接口不支持批量调整混合计费方式的带宽。例如不支持同时调整 `TRAFFIC_POSTPAID_BY_HOUR` 和 `BANDWIDTH_PACKAGE` 计费方式的带宽。\n* 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。",
|
635
635
|
"input": "ResetInstancesInternetMaxBandwidthRequest",
|
636
636
|
"name": "调整实例带宽上限",
|
637
637
|
"output": "ResetInstancesInternetMaxBandwidthResponse",
|
@@ -10732,7 +10732,7 @@
|
|
10732
10732
|
},
|
10733
10733
|
{
|
10734
10734
|
"disabled": false,
|
10735
|
-
"document": "带宽生效的终止时间。格式: `YYYY-MM-DD` ,例如:`2016-10-30` 。新设置的带宽的有效期包含终止时间此日期。终止时间不能晚于包年包月实例的到期时间。实例的到期时间可通过 [
|
10735
|
+
"document": "带宽生效的终止时间。格式: `YYYY-MM-DD` ,例如:`2016-10-30` 。新设置的带宽的有效期包含终止时间此日期。终止时间不能晚于包年包月实例的到期时间。实例的到期时间可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/9388)接口返回值中的`ExpiredTime`获取。该参数只对包年包月带宽有效,其他模式带宽不支持该参数,否则接口会以相应错误码返回。",
|
10736
10736
|
"example": "2017-03-16",
|
10737
10737
|
"member": "string",
|
10738
10738
|
"name": "EndTime",
|
@@ -11552,7 +11552,7 @@
|
|
11552
11552
|
},
|
11553
11553
|
{
|
11554
11554
|
"disabled": false,
|
11555
|
-
"document": "目的同步地域列表,必须满足如下限制:<br><li>必须是一个合法的Region。</li><li>如果是自定义镜像,则目标同步地域不能为源地域。</li><li>如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。</li><li
|
11555
|
+
"document": "目的同步地域列表,必须满足如下限制:<br><li>必须是一个合法的Region。</li><li>如果是自定义镜像,则目标同步地域不能为源地域。</li><li>如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。</li><li>暂不支持部分地域同步,请参考[复制镜像](https://cloud.tencent.com/document/product/213/4943#.E5.A4.8D.E5.88.B6.E8.AF.B4.E6.98.8E)。</li>具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。",
|
11556
11556
|
"example": "[\"ap-guangzhou\"]",
|
11557
11557
|
"member": "string",
|
11558
11558
|
"name": "DestinationRegions",
|
@@ -11561,7 +11561,7 @@
|
|
11561
11561
|
},
|
11562
11562
|
{
|
11563
11563
|
"disabled": false,
|
11564
|
-
"document": "
|
11564
|
+
"document": "检测是否支持发起同步镜像。\n默认值: false",
|
11565
11565
|
"example": "false",
|
11566
11566
|
"member": "bool",
|
11567
11567
|
"name": "DryRun",
|
@@ -11570,8 +11570,8 @@
|
|
11570
11570
|
},
|
11571
11571
|
{
|
11572
11572
|
"disabled": false,
|
11573
|
-
"document": "
|
11574
|
-
"example": "“
|
11573
|
+
"document": "目标镜像名称。默认使用源镜像名称。",
|
11574
|
+
"example": "“test_image”",
|
11575
11575
|
"member": "string",
|
11576
11576
|
"name": "ImageName",
|
11577
11577
|
"required": false,
|
@@ -11579,7 +11579,7 @@
|
|
11579
11579
|
},
|
11580
11580
|
{
|
11581
11581
|
"disabled": false,
|
11582
|
-
"document": "是否需要返回目的地域的镜像ID
|
11582
|
+
"document": "是否需要返回目的地域的镜像ID。\n默认值: false",
|
11583
11583
|
"example": "false",
|
11584
11584
|
"member": "bool",
|
11585
11585
|
"name": "ImageSetRequired",
|
@@ -11727,7 +11727,7 @@
|
|
11727
11727
|
},
|
11728
11728
|
{
|
11729
11729
|
"disabled": false,
|
11730
|
-
"document": "释放实例挂载的包年包月数据盘。true表示销毁实例同时释放包年包月数据盘,false
|
11730
|
+
"document": "释放实例挂载的包年包月数据盘。true表示销毁实例同时释放包年包月数据盘,false表示只销毁实例。\n默认值:false",
|
11731
11731
|
"example": "true",
|
11732
11732
|
"member": "bool",
|
11733
11733
|
"name": "ReleasePrepaidDataDisks",
|
@@ -11815,11 +11815,11 @@
|
|
11815
11815
|
"members": [
|
11816
11816
|
{
|
11817
11817
|
"disabled": false,
|
11818
|
-
"document": "可用区名称,例如,ap-guangzhou-3\n全网可用区名称如下:\n<li> ap-chongqing-1 </li>\n<li> ap-seoul-1 </li>\n<li> ap-seoul-2 </li>\n<li> ap-chengdu-1 </li>\n<li> ap-chengdu-2 </li>\n<li> ap-hongkong-1(售罄) </li>\n<li> ap-hongkong-2 </li>\n<li> ap-hongkong-3 </li>\n<li> ap-shenzhen-fsi-1 </li>\n<li> ap-shenzhen-fsi-2 </li>\n<li> ap-shenzhen-fsi-3 </li>\n<li> ap-guangzhou-1(售罄)</li>\n<li> ap-guangzhou-2(售罄)</li>\n<li> ap-guangzhou-3 </li>\n<li> ap-guangzhou-4 </li>\n<li> ap-guangzhou-6 </li>\n<li> ap-guangzhou-7 </li>\n<li> ap-tokyo-1 </li>\n<li> ap-tokyo-2 </li>\n<li> ap-singapore-1 </li>\n<li> ap-singapore-2 </li>\n<li> ap-singapore-3 </li>\n<li>ap-singapore-4 </li>\n<li> ap-shanghai-fsi-1 </li>\n<li> ap-shanghai-fsi-2 </li>\n<li> ap-shanghai-fsi-3 </li>\n<li> ap-bangkok-1 </li>\n<li> ap-bangkok-2 </li>\n<li> ap-shanghai-1(售罄) </li>\n<li> ap-shanghai-2 </li>\n<li> ap-shanghai-3 </li>\n<li> ap-shanghai-4 </li>\n<li> ap-shanghai-5 </li>\n<li> ap-shanghai-8 </li>\n<li> ap-mumbai-1 </li>\n<li> ap-mumbai-2 </li>\n<li> eu-moscow-1 </li>\n<li> ap-beijing-1(售罄)</li>\n<li> ap-beijing-2 </li>\n<li> ap-beijing-3 </li>\n<li> ap-beijing-4 </li>\n<li> ap-beijing-5 </li>\n<li> ap-beijing-6 </li>\n<li> ap-beijing-7 </li>\n<li> na-siliconvalley-1 </li>\n<li> na-siliconvalley-2 </li>\n<li> eu-frankfurt-1 </li>\n<li> eu-frankfurt-2 </li>\n<li> na-toronto-1 </li>\n<li> na-ashburn-1 </li>\n<li> na-ashburn-2 </li>\n<li> ap-nanjing-1 </li>\n<li> ap-nanjing-2 </li>\n<li> ap-nanjing-3 </li>\n<li> sa-saopaulo-1</li>\n<li> ap-jakarta-1 </li>\n<li> ap-jakarta-2 </li>",
|
11818
|
+
"document": "可用区名称,例如,ap-guangzhou-3\n全网可用区名称如下:\n<li> ap-chongqing-1 </li>\n<li> ap-seoul-1 </li>\n<li> ap-seoul-2 </li>\n<li> ap-chengdu-1 </li>\n<li> ap-chengdu-2 </li>\n<li> ap-hongkong-1(售罄) </li>\n<li> ap-hongkong-2 </li>\n<li> ap-hongkong-3 </li>\n<li> ap-shenzhen-fsi-1 </li>\n<li> ap-shenzhen-fsi-2 </li>\n<li> ap-shenzhen-fsi-3(售罄) </li>\n<li> ap-guangzhou-1(售罄)</li>\n<li> ap-guangzhou-2(售罄)</li>\n<li> ap-guangzhou-3 </li>\n<li> ap-guangzhou-4 </li>\n<li> ap-guangzhou-6 </li>\n<li> ap-guangzhou-7 </li>\n<li> ap-tokyo-1 </li>\n<li> ap-tokyo-2 </li>\n<li> ap-singapore-1 </li>\n<li> ap-singapore-2 </li>\n<li> ap-singapore-3 </li>\n<li>ap-singapore-4 </li>\n<li> ap-shanghai-fsi-1 </li>\n<li> ap-shanghai-fsi-2 </li>\n<li> ap-shanghai-fsi-3 </li>\n<li> ap-bangkok-1 </li>\n<li> ap-bangkok-2 </li>\n<li> ap-shanghai-1(售罄) </li>\n<li> ap-shanghai-2 </li>\n<li> ap-shanghai-3 </li>\n<li> ap-shanghai-4 </li>\n<li> ap-shanghai-5 </li>\n<li> ap-shanghai-8 </li>\n<li> ap-mumbai-1 </li>\n<li> ap-mumbai-2 </li>\n<li> eu-moscow-1 </li>\n<li> ap-beijing-1(售罄)</li>\n<li> ap-beijing-2 </li>\n<li> ap-beijing-3 </li>\n<li> ap-beijing-4 </li>\n<li> ap-beijing-5 </li>\n<li> ap-beijing-6 </li>\n<li> ap-beijing-7 </li>\n<li> na-siliconvalley-1 </li>\n<li> na-siliconvalley-2 </li>\n<li> eu-frankfurt-1 </li>\n<li> eu-frankfurt-2 </li>\n<li> na-toronto-1 </li>\n<li> na-ashburn-1 </li>\n<li> na-ashburn-2 </li>\n<li> ap-nanjing-1 </li>\n<li> ap-nanjing-2 </li>\n<li> ap-nanjing-3 </li>\n<li> sa-saopaulo-1</li>\n<li> ap-jakarta-1 </li>\n<li> ap-jakarta-2 </li>",
|
11819
11819
|
"example": "ap-guangzhou-3",
|
11820
11820
|
"member": "string",
|
11821
11821
|
"name": "Zone",
|
11822
|
-
"
|
11822
|
+
"output_required": true,
|
11823
11823
|
"type": "string",
|
11824
11824
|
"value_allowed_null": false
|
11825
11825
|
},
|
@@ -11829,7 +11829,7 @@
|
|
11829
11829
|
"example": "广州三区",
|
11830
11830
|
"member": "string",
|
11831
11831
|
"name": "ZoneName",
|
11832
|
-
"
|
11832
|
+
"output_required": true,
|
11833
11833
|
"type": "string",
|
11834
11834
|
"value_allowed_null": false
|
11835
11835
|
},
|
@@ -11839,7 +11839,7 @@
|
|
11839
11839
|
"example": "100003",
|
11840
11840
|
"member": "string",
|
11841
11841
|
"name": "ZoneId",
|
11842
|
-
"
|
11842
|
+
"output_required": true,
|
11843
11843
|
"type": "string",
|
11844
11844
|
"value_allowed_null": false
|
11845
11845
|
},
|
@@ -11849,7 +11849,7 @@
|
|
11849
11849
|
"example": "AVAILABLE",
|
11850
11850
|
"member": "string",
|
11851
11851
|
"name": "ZoneState",
|
11852
|
-
"
|
11852
|
+
"output_required": true,
|
11853
11853
|
"type": "string",
|
11854
11854
|
"value_allowed_null": false
|
11855
11855
|
}
|
@@ -512,16 +512,10 @@
|
|
512
512
|
],
|
513
513
|
"InquiryPriceRenewInstances": [
|
514
514
|
{
|
515
|
-
"document": "
|
516
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRenewInstances\n<公共请求参数>\n\n{\n \"InstanceChargePrepaid\": {\n \"
|
517
|
-
"output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"OriginalPrice\": 120
|
515
|
+
"document": "续费实例询价,时长为一个月",
|
516
|
+
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRenewInstances\n<公共请求参数>\n\n{\n \"InstanceChargePrepaid\": {\n \"Period\": 1\n },\n \"InstanceIds\": [\n \"ins-2zvpghhc\"\n ]\n}",
|
517
|
+
"output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"OriginalPrice\": 120,\n \"DiscountPrice\": 1.2\n }\n },\n \"RequestId\": \"e2e81b08-d747-455e-b27a-aecc5acafdba\"\n }\n}",
|
518
518
|
"title": "续费实例询价"
|
519
|
-
},
|
520
|
-
{
|
521
|
-
"document": "查询单个实例费用信息",
|
522
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRenewInstances\n<公共请求参数>\n\n{\n \"InstanceChargePrepaid\": {\n \"RenewFlag\": \"NOTIFY_AND_AUTO_RENEW\",\n \"Period\": 1\n },\n \"InstanceIds\": [\n \"ins-xlsl6f2h\"\n ]\n}",
|
523
|
-
"output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {},\n \"BandwidthPrice\": {}\n },\n \"RequestId\": \"e2e81b08-d747-455e-b27a-aecc5acafdba\"\n }\n}",
|
524
|
-
"title": "查询单个实例费用信息"
|
525
519
|
}
|
526
520
|
],
|
527
521
|
"InquiryPriceResetInstance": [
|
@@ -870,7 +864,7 @@
|
|
870
864
|
{
|
871
865
|
"document": "同步镜像img-o3ycss2p到广州",
|
872
866
|
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncImages\n<公共请求参数>\n\n{\n \"ImageIds\": [\n \"img-o3ycss2p\"\n ],\n \"DestinationRegions\": [\n \"ap-guangzhou\"\n ]\n}",
|
873
|
-
"output": "{\n \"Response\": {\n \"ImageSet\": [
|
867
|
+
"output": "{\n \"Response\": {\n \"ImageSet\": [],\n \"RequestId\": \"71e69b56-32be-4412-ab45-49eded6a87be\"\n }\n}",
|
874
868
|
"title": "同步镜像"
|
875
869
|
},
|
876
870
|
{
|
@@ -874,7 +874,7 @@
|
|
874
874
|
},
|
875
875
|
{
|
876
876
|
"disabled": false,
|
877
|
-
"document": "您可以指定签署方签署合同的认证校验方式,可传递以下值:\n<ul><li>**1**:人脸认证,需进行人脸识别成功后才能签署合同;</li>\n<li>**2**:签署密码,需输入与用户在腾讯电子签设置的密码一致才能校验成功进行合同签署;</li>\n<li>**3**:运营商三要素,需到运营商处比对手机号实名信息(名字、手机号、证件号)校验一致才能成功进行合同签署。(如果是港澳台客户,建议不要选择这个)</li></ul>\n\n默认为1(人脸认证 ),2(签署密码),3(运营商三要素)\n\n注:\n1. 用<font color='red'>模板创建合同场景</font>, 签署人的认证方式需要在配置模板的时候指定, <font color='red'>在创建合同重新指定无效</font>\
|
877
|
+
"document": "您可以指定签署方签署合同的认证校验方式,可传递以下值:\n<ul><li>**1**:人脸认证,需进行人脸识别成功后才能签署合同;</li>\n<li>**2**:签署密码,需输入与用户在腾讯电子签设置的密码一致才能校验成功进行合同签署;</li>\n<li>**3**:运营商三要素,需到运营商处比对手机号实名信息(名字、手机号、证件号)校验一致才能成功进行合同签署。(如果是港澳台客户,建议不要选择这个)</li>\n<li>**5**:设备指纹识别,需要对比手机机主预留的指纹信息,校验一致才能成功进行合同签署。(iOS系统暂不支持该校验方式)</li>\n<li>**6**:设备面容识别,需要对比手机机主预留的人脸信息,校验一致才能成功进行合同签署。(Android系统暂不支持该校验方式)</li></ul>\n\n\n默认为1(人脸认证 ),2(签署密码),3(运营商三要素),5(设备指纹识别),6(设备面容识别)\n\n注:\n1. 用<font color='red'>模板创建合同场景</font>, 签署人的认证方式需要在配置模板的时候指定, <font color='red'>在创建合同重新指定无效</font>\n2. 运营商三要素认证方式对手机号运营商及前缀有限制,可以参考[运营商支持列表类](https://qian.tencent.com/developers/company/mobile_support)得到具体的支持说明\n3. 校验方式不允许只包含<font color='red'>设备指纹识别</font>和<font color='red'>设备面容识别</font>,至少需要再增加一种其他校验方式。\n4. <font color='red'>设备指纹识别</font>和<font color='red'>设备面容识别</font>只支持小程序使用,其他端暂不支持。",
|
878
878
|
"example": "[1,2,3]",
|
879
879
|
"member": "int64",
|
880
880
|
"name": "ApproverSignTypes",
|
@@ -10347,7 +10347,7 @@
|
|
10347
10347
|
},
|
10348
10348
|
{
|
10349
10349
|
"disabled": false,
|
10350
|
-
"document": "您可以指定签署方签署合同的认证校验方式,可传递以下值:\n<ul><li>**1**:人脸认证,需进行人脸识别成功后才能签署合同;</li>\n<li>**2**:签署密码,需输入与用户在腾讯电子签设置的密码一致才能校验成功进行合同签署;</li>\n<li>**3**:运营商三要素,需到运营商处比对手机号实名信息(名字、手机号、证件号)校验一致才能成功进行合同签署。(如果是港澳台客户,建议不要选择这个)</li></ul>\n注:\n<ul><li>默认情况下,认证校验方式为人脸认证和签署密码两种形式;</li>\n<li>您可以传递多种值,表示可用多种认证校验方式。</li></ul>\n\n注:\n`此参数仅针对文件发起设置生效,模板发起合同签署流程, 请以模板配置为主`",
|
10350
|
+
"document": "您可以指定签署方签署合同的认证校验方式,可传递以下值:\n<ul><li>**1**:人脸认证,需进行人脸识别成功后才能签署合同;</li>\n<li>**2**:签署密码,需输入与用户在腾讯电子签设置的密码一致才能校验成功进行合同签署;</li>\n<li>**3**:运营商三要素,需到运营商处比对手机号实名信息(名字、手机号、证件号)校验一致才能成功进行合同签署。(如果是港澳台客户,建议不要选择这个)</li>\n<li>**5**:设备指纹识别,需要对比手机机主预留的指纹信息,校验一致才能成功进行合同签署。(iOS系统暂不支持该校验方式)</li>\n<li>**6**:设备面容识别,需要对比手机机主预留的人脸信息,校验一致才能成功进行合同签署。(Android系统暂不支持该校验方式)</li></ul>\n\n注:\n<ul><li>默认情况下,认证校验方式为人脸认证和签署密码两种形式;</li>\n<li>您可以传递多种值,表示可用多种认证校验方式。</li>\n<li>校验方式不允许只包含设备指纹识别和设备面容识别,至少需要再增加一种其他校验方式。</li>\n<li>设备指纹识别和设备面容识别只支持小程序使用,其他端暂不支持。</li></ul>\n\n注:\n`此参数仅针对文件发起设置生效,模板发起合同签署流程, 请以模板配置为主`",
|
10351
10351
|
"example": "[1,2]",
|
10352
10352
|
"member": "uint64",
|
10353
10353
|
"name": "ApproverSignTypes",
|
@@ -12492,7 +12492,7 @@
|
|
12492
12492
|
},
|
12493
12493
|
{
|
12494
12494
|
"disabled": false,
|
12495
|
-
"document": "签署人进行合同签署时的认证方式,支持的类型如下:\n<ul><li> 1 :人脸认证</li>\n<li> 2 :签署密码</li>\n<li> 3 :运营商三要素认证</li>\n<li> 4 :UKey认证</li></ul>",
|
12495
|
+
"document": "签署人进行合同签署时的认证方式,支持的类型如下:\n<ul><li> 1 :人脸认证</li>\n<li> 2 :签署密码</li>\n<li> 3 :运营商三要素认证</li>\n<li> 4 :UKey认证</li>\n<li> 5 :设备指纹识别</li>\n<li> 6 :设备面容识别</li></ul>",
|
12496
12496
|
"example": "无",
|
12497
12497
|
"member": "int64",
|
12498
12498
|
"name": "ApproverSignTypes",
|
@@ -5504,7 +5504,7 @@
|
|
5504
5504
|
},
|
5505
5505
|
{
|
5506
5506
|
"disabled": false,
|
5507
|
-
"document": "签署人签署合同时的认证方式\n<ul><li> **1** :人脸认证</li>\n<li> **2** :签署密码</li>\n<li> **3** :运营商三要素</li></ul>\n\n默认为1(人脸认证 ),2(签署密码)\n\n注: \n1. 用<font color='red'>模板创建合同场景</font>, 签署人的认证方式需要在配置模板的时候指定, <font color='red'>在创建合同重新指定无效</font>\n2. 运营商三要素认证方式对手机号运营商及前缀有限制,可以参考[运营商支持列表类](https://qian.tencent.com/developers/partner/mobile_support)
|
5507
|
+
"document": "签署人签署合同时的认证方式\n<ul><li> **1** :人脸认证</li>\n<li> **2** :签署密码</li>\n<li> **3** :运营商三要素</li>\n<li> **5** :设备指纹识别</li>\n<li> **6** :设备面容识别</li></ul>\n\n默认为1(人脸认证 ),2(签署密码),3(运营商三要素),5(设备指纹识别),6(设备面容识别)\n\n注: \n1. 用<font color='red'>模板创建合同场景</font>, 签署人的认证方式需要在配置模板的时候指定, <font color='red'>在创建合同重新指定无效</font>\n2. 运营商三要素认证方式对手机号运营商及前缀有限制,可以参考[运营商支持列表类](https://qian.tencent.com/developers/partner/mobile_support)得到具体的支持说明\n3. 校验方式不允许只包含<font color='red'>设备指纹识别</font>和<font color='red'>设备面容识别</font>,至少需要再增加一种其他校验方式。\n4. <font color='red'>设备指纹识别</font>和<font color='red'>设备面容识别</font>只支持小程序使用,其他端暂不支持。",
|
5508
5508
|
"example": "[1,2,3]\t",
|
5509
5509
|
"member": "int64",
|
5510
5510
|
"name": "ApproverSignTypes",
|
@@ -8679,7 +8679,7 @@
|
|
8679
8679
|
},
|
8680
8680
|
{
|
8681
8681
|
"disabled": false,
|
8682
|
-
"document": "签署人签署合同时的认证方式\n<ul><li> **1** :人脸认证</li>\n<li> **2** :签署密码</li>\n<li> **3** :运营商三要素(如果是港澳台客户,建议不要选择这个)</li></ul>\n\n默认为1(人脸认证 ),2(签署密码),3(运营商三要素)\n\n注: \n1. 用<font color='red'>模板创建合同场景</font>, 签署人的认证方式需要在配置模板的时候指定, <font color='red'>在创建合同重新指定无效</font>\n2. 运营商三要素认证方式对手机号运营商及前缀有限制,可以参考[运营商支持列表类](https://qian.tencent.com/developers/partner/mobile_support)
|
8682
|
+
"document": "签署人签署合同时的认证方式\n<ul><li> **1** :人脸认证</li>\n<li> **2** :签署密码</li>\n<li> **3** :运营商三要素(如果是港澳台客户,建议不要选择这个)</li>\n<li>**5**:设备指纹识别,需要对比手机机主预留的指纹信息,校验一致才能成功进行合同签署。(iOS系统暂不支持该校验方式)</li>\n<li>**6**:设备面容识别,需要对比手机机主预留的人脸信息,校验一致才能成功进行合同签署。(Android系统暂不支持该校验方式)</li></ul>\n\n默认为1(人脸认证 ),2(签署密码),3(运营商三要素),5(设备指纹识别),6(设备面容识别)\n\n注: \n1. 用<font color='red'>模板创建合同场景</font>, 签署人的认证方式需要在配置模板的时候指定, <font color='red'>在创建合同重新指定无效</font>\n2. 运营商三要素认证方式对手机号运营商及前缀有限制,可以参考[运营商支持列表类](https://qian.tencent.com/developers/partner/mobile_support)得到具体的支持说明\n3. 校验方式不允许只包含<font color='red'>设备指纹识别</font>和<font color='red'>设备面容识别</font>,至少需要再增加一种其他校验方式。\n4. <font color='red'>设备指纹识别</font>和<font color='red'>设备面容识别</font>只支持小程序使用,其他端暂不支持。",
|
8683
8683
|
"example": "[1,2,3]",
|
8684
8684
|
"member": "int64",
|
8685
8685
|
"name": "ApproverSignTypes",
|
@@ -10752,7 +10752,7 @@
|
|
10752
10752
|
},
|
10753
10753
|
{
|
10754
10754
|
"disabled": false,
|
10755
|
-
"document": "签署人进行合同签署时的认证方式,支持的类型如下:\n<ul><li> 1 :人脸认证</li>\n<li> 2 :签署密码</li>\n<li> 3 :运营商三要素认证</li>\n<li> 4 :UKey认证</li></ul>",
|
10755
|
+
"document": "签署人进行合同签署时的认证方式,支持的类型如下:\n<ul><li> 1 :人脸认证</li>\n<li> 2 :签署密码</li>\n<li> 3 :运营商三要素认证</li>\n<li> 4 :UKey认证</li>\n<li> 5 :设备指纹识别</li>\n<li> 6 :设备面容识别</li></ul>",
|
10756
10756
|
"example": "[1,2,3]",
|
10757
10757
|
"member": "int64",
|
10758
10758
|
"name": "ApproverSignTypes",
|
@@ -121,6 +121,58 @@ def doQueryHunyuanImageJob(args, parsed_globals):
|
|
121
121
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
122
122
|
|
123
123
|
|
124
|
+
def doGetTokenCount(args, parsed_globals):
|
125
|
+
g_param = parse_global_arg(parsed_globals)
|
126
|
+
|
127
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
128
|
+
cred = credential.CVMRoleCredential()
|
129
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
130
|
+
cred = credential.STSAssumeRoleCredential(
|
131
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
132
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
133
|
+
)
|
134
|
+
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):
|
135
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
136
|
+
else:
|
137
|
+
cred = credential.Credential(
|
138
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
139
|
+
)
|
140
|
+
http_profile = HttpProfile(
|
141
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
142
|
+
reqMethod="POST",
|
143
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
144
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
145
|
+
)
|
146
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
147
|
+
if g_param[OptionsDefine.Language]:
|
148
|
+
profile.language = g_param[OptionsDefine.Language]
|
149
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
150
|
+
client = mod.HunyuanClient(cred, g_param[OptionsDefine.Region], profile)
|
151
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
152
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
153
|
+
model = models.GetTokenCountRequest()
|
154
|
+
model.from_json_string(json.dumps(args))
|
155
|
+
start_time = time.time()
|
156
|
+
while True:
|
157
|
+
rsp = client.GetTokenCount(model)
|
158
|
+
result = rsp.to_json_string()
|
159
|
+
try:
|
160
|
+
json_obj = json.loads(result)
|
161
|
+
except TypeError as e:
|
162
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
163
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
164
|
+
break
|
165
|
+
cur_time = time.time()
|
166
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
167
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
168
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
169
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
170
|
+
else:
|
171
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
172
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
173
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
174
|
+
|
175
|
+
|
124
176
|
def doChatCompletions(args, parsed_globals):
|
125
177
|
g_param = parse_global_arg(parsed_globals)
|
126
178
|
|
@@ -173,7 +225,7 @@ def doChatCompletions(args, parsed_globals):
|
|
173
225
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
174
226
|
|
175
227
|
|
176
|
-
def
|
228
|
+
def doGetEmbedding(args, parsed_globals):
|
177
229
|
g_param = parse_global_arg(parsed_globals)
|
178
230
|
|
179
231
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -202,11 +254,63 @@ def doGetTokenCount(args, parsed_globals):
|
|
202
254
|
client = mod.HunyuanClient(cred, g_param[OptionsDefine.Region], profile)
|
203
255
|
client._sdkVersion += ("_CLI_" + __version__)
|
204
256
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
205
|
-
model = models.
|
257
|
+
model = models.GetEmbeddingRequest()
|
206
258
|
model.from_json_string(json.dumps(args))
|
207
259
|
start_time = time.time()
|
208
260
|
while True:
|
209
|
-
rsp = client.
|
261
|
+
rsp = client.GetEmbedding(model)
|
262
|
+
result = rsp.to_json_string()
|
263
|
+
try:
|
264
|
+
json_obj = json.loads(result)
|
265
|
+
except TypeError as e:
|
266
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
267
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
268
|
+
break
|
269
|
+
cur_time = time.time()
|
270
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
271
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
272
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
273
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
274
|
+
else:
|
275
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
276
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
277
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
278
|
+
|
279
|
+
|
280
|
+
def doSetPayMode(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.HunyuanClient(cred, g_param[OptionsDefine.Region], profile)
|
307
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
308
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
309
|
+
model = models.SetPayModeRequest()
|
310
|
+
model.from_json_string(json.dumps(args))
|
311
|
+
start_time = time.time()
|
312
|
+
while True:
|
313
|
+
rsp = client.SetPayMode(model)
|
210
314
|
result = rsp.to_json_string()
|
211
315
|
try:
|
212
316
|
json_obj = json.loads(result)
|
@@ -277,7 +381,7 @@ def doTextToImageLite(args, parsed_globals):
|
|
277
381
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
278
382
|
|
279
383
|
|
280
|
-
def
|
384
|
+
def doActivateService(args, parsed_globals):
|
281
385
|
g_param = parse_global_arg(parsed_globals)
|
282
386
|
|
283
387
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -306,11 +410,11 @@ def doGetEmbedding(args, parsed_globals):
|
|
306
410
|
client = mod.HunyuanClient(cred, g_param[OptionsDefine.Region], profile)
|
307
411
|
client._sdkVersion += ("_CLI_" + __version__)
|
308
412
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
309
|
-
model = models.
|
413
|
+
model = models.ActivateServiceRequest()
|
310
414
|
model.from_json_string(json.dumps(args))
|
311
415
|
start_time = time.time()
|
312
416
|
while True:
|
313
|
-
rsp = client.
|
417
|
+
rsp = client.ActivateService(model)
|
314
418
|
result = rsp.to_json_string()
|
315
419
|
try:
|
316
420
|
json_obj = json.loads(result)
|
@@ -342,10 +446,12 @@ MODELS_MAP = {
|
|
342
446
|
ACTION_MAP = {
|
343
447
|
"SubmitHunyuanImageJob": doSubmitHunyuanImageJob,
|
344
448
|
"QueryHunyuanImageJob": doQueryHunyuanImageJob,
|
345
|
-
"ChatCompletions": doChatCompletions,
|
346
449
|
"GetTokenCount": doGetTokenCount,
|
347
|
-
"
|
450
|
+
"ChatCompletions": doChatCompletions,
|
348
451
|
"GetEmbedding": doGetEmbedding,
|
452
|
+
"SetPayMode": doSetPayMode,
|
453
|
+
"TextToImageLite": doTextToImageLite,
|
454
|
+
"ActivateService": doActivateService,
|
349
455
|
|
350
456
|
}
|
351
457
|
|
@@ -1,5 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"ActivateService": {
|
4
|
+
"document": "开通服务",
|
5
|
+
"input": "ActivateServiceRequest",
|
6
|
+
"name": "开通服务",
|
7
|
+
"output": "ActivateServiceResponse",
|
8
|
+
"status": "online"
|
9
|
+
},
|
3
10
|
"ChatCompletions": {
|
4
11
|
"document": "腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。\n\n 1. 本接口暂不支持返回图片内容。\n 2. 默认每种模型单账号限制并发数为 5 路,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。\n 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。\n 4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。",
|
5
12
|
"input": "ChatCompletionsRequest",
|
@@ -28,6 +35,13 @@
|
|
28
35
|
"output": "QueryHunyuanImageJobResponse",
|
29
36
|
"status": "online"
|
30
37
|
},
|
38
|
+
"SetPayMode": {
|
39
|
+
"document": "设置付费模式",
|
40
|
+
"input": "SetPayModeRequest",
|
41
|
+
"name": "设置付费模式",
|
42
|
+
"output": "SetPayModeResponse",
|
43
|
+
"status": "online"
|
44
|
+
},
|
31
45
|
"SubmitHunyuanImageJob": {
|
32
46
|
"document": "混元生图接口基于混元大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。\n提交任务:输入文本等,提交一个混元生图异步任务,获得任务 ID。\n查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。\n并发任务数(并发)说明:并发任务数指能同时处理的任务数量。混元生图默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
|
33
47
|
"input": "SubmitHunyuanImageJobRequest",
|
@@ -50,6 +64,33 @@
|
|
50
64
|
"serviceShortName": "hunyuan"
|
51
65
|
},
|
52
66
|
"objects": {
|
67
|
+
"ActivateServiceRequest": {
|
68
|
+
"document": "ActivateService请求参数结构体",
|
69
|
+
"members": [
|
70
|
+
{
|
71
|
+
"disabled": false,
|
72
|
+
"document": "开通之后,是否关闭后付费;默认为0,不关闭;1为关闭",
|
73
|
+
"example": "0",
|
74
|
+
"member": "uint64",
|
75
|
+
"name": "PayMode",
|
76
|
+
"required": false,
|
77
|
+
"type": "int"
|
78
|
+
}
|
79
|
+
],
|
80
|
+
"type": "object"
|
81
|
+
},
|
82
|
+
"ActivateServiceResponse": {
|
83
|
+
"document": "ActivateService返回参数结构体",
|
84
|
+
"members": [
|
85
|
+
{
|
86
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
87
|
+
"member": "string",
|
88
|
+
"name": "RequestId",
|
89
|
+
"type": "string"
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"type": "object"
|
93
|
+
},
|
53
94
|
"ChatCompletionsRequest": {
|
54
95
|
"document": "ChatCompletions请求参数结构体",
|
55
96
|
"members": [
|
@@ -91,7 +132,7 @@
|
|
91
132
|
},
|
92
133
|
{
|
93
134
|
"disabled": false,
|
94
|
-
"document": "说明:\n1.
|
135
|
+
"document": "说明:\n1. 影响输出文本的多样性,取值区间为 [0.0, 1.0]。取值越大,生成文本的多样性越强。\n2. 模型已有默认参数,不传值时使用各模型推荐值,不推荐用户修改。",
|
95
136
|
"example": "无",
|
96
137
|
"member": "float",
|
97
138
|
"name": "TopP",
|
@@ -100,7 +141,7 @@
|
|
100
141
|
},
|
101
142
|
{
|
102
143
|
"disabled": false,
|
103
|
-
"document": "说明:\n1.
|
144
|
+
"document": "说明:\n1. 影响模型输出多样性,取值区间为 [0.0, 2.0]。较高的数值会使输出更加多样化和不可预测,而较低的数值会使其更加集中和确定。\n2. 模型已有默认参数,不传值时使用各模型推荐值,不推荐用户修改。",
|
104
145
|
"example": "无",
|
105
146
|
"member": "float",
|
106
147
|
"name": "Temperature",
|
@@ -865,6 +906,33 @@
|
|
865
906
|
],
|
866
907
|
"usage": "both"
|
867
908
|
},
|
909
|
+
"SetPayModeRequest": {
|
910
|
+
"document": "SetPayMode请求参数结构体",
|
911
|
+
"members": [
|
912
|
+
{
|
913
|
+
"disabled": false,
|
914
|
+
"document": "设置后付费状态,0:后付费;1:预付费",
|
915
|
+
"example": "无",
|
916
|
+
"member": "int64",
|
917
|
+
"name": "PayMode",
|
918
|
+
"required": true,
|
919
|
+
"type": "int"
|
920
|
+
}
|
921
|
+
],
|
922
|
+
"type": "object"
|
923
|
+
},
|
924
|
+
"SetPayModeResponse": {
|
925
|
+
"document": "SetPayMode返回参数结构体",
|
926
|
+
"members": [
|
927
|
+
{
|
928
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
929
|
+
"member": "string",
|
930
|
+
"name": "RequestId",
|
931
|
+
"type": "string"
|
932
|
+
}
|
933
|
+
],
|
934
|
+
"type": "object"
|
935
|
+
},
|
868
936
|
"SubmitHunyuanImageJobRequest": {
|
869
937
|
"document": "SubmitHunyuanImageJob请求参数结构体",
|
870
938
|
"members": [
|
@@ -1,5 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"ActivateService": [
|
4
|
+
{
|
5
|
+
"document": "示例\t\n",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ActivateService\n<公共请求参数>\n\n{\n \"PayMode\": 1\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
8
|
+
"title": "示例\t"
|
9
|
+
}
|
10
|
+
],
|
3
11
|
"ChatCompletions": [
|
4
12
|
{
|
5
13
|
"document": "推荐使用 API Explorer 调用接口,见本文档顶部说明。该示例说明 system prompt 的使用方法。",
|
@@ -80,6 +88,14 @@
|
|
80
88
|
"title": "成功查询"
|
81
89
|
}
|
82
90
|
],
|
91
|
+
"SetPayMode": [
|
92
|
+
{
|
93
|
+
"document": "",
|
94
|
+
"input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetPayMode\n<公共请求参数>\n\n{}",
|
95
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
96
|
+
"title": "示例\t"
|
97
|
+
}
|
98
|
+
],
|
83
99
|
"SubmitHunyuanImageJob": [
|
84
100
|
{
|
85
101
|
"document": "调用成功",
|