tccli 3.0.1135.1__py2.py3-none-any.whl → 3.0.1137.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 (72) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/command.py +4 -1
  3. tccli/help_command.py +4 -1
  4. tccli/services/__init__.py +3 -0
  5. tccli/services/asr/asr_client.py +53 -0
  6. tccli/services/asr/v20190614/api.json +193 -1
  7. tccli/services/asr/v20190614/examples.json +8 -0
  8. tccli/services/batch/v20170312/api.json +8 -5
  9. tccli/services/batch/v20170312/examples.json +1 -1
  10. tccli/services/cdb/v20170320/api.json +3 -3
  11. tccli/services/ckafka/v20190819/api.json +1 -1
  12. tccli/services/cls/v20201016/api.json +93 -0
  13. tccli/services/cwp/cwp_client.py +0 -53
  14. tccli/services/cwp/v20180228/api.json +0 -43
  15. tccli/services/cwp/v20180228/examples.json +0 -8
  16. tccli/services/cynosdb/v20190107/api.json +10 -0
  17. tccli/services/dlc/dlc_client.py +53 -0
  18. tccli/services/dlc/v20210125/api.json +157 -23
  19. tccli/services/dlc/v20210125/examples.json +14 -6
  20. tccli/services/dsgc/v20190723/api.json +35 -35
  21. tccli/services/dts/v20211206/api.json +3 -3
  22. tccli/services/eiam/v20210420/api.json +4 -4
  23. tccli/services/eiam/v20210420/examples.json +4 -4
  24. tccli/services/ess/v20201111/api.json +1 -1
  25. tccli/services/essbasic/v20210526/api.json +4 -4
  26. tccli/services/faceid/v20180301/api.json +1 -1
  27. tccli/services/ioa/ioa_client.py +159 -0
  28. tccli/services/ioa/v20220601/api.json +897 -80
  29. tccli/services/ioa/v20220601/examples.json +24 -0
  30. tccli/services/iotexplorer/iotexplorer_client.py +231 -19
  31. tccli/services/iotexplorer/v20190423/api.json +332 -0
  32. tccli/services/iotexplorer/v20190423/examples.json +32 -0
  33. tccli/services/lighthouse/v20200324/api.json +14 -14
  34. tccli/services/lighthouse/v20200324/examples.json +7 -7
  35. tccli/services/live/v20180801/api.json +12 -6
  36. tccli/services/lke/lke_client.py +175 -16
  37. tccli/services/lke/v20231130/api.json +429 -4
  38. tccli/services/lke/v20231130/examples.json +24 -0
  39. tccli/services/ocr/v20181119/api.json +3 -3
  40. tccli/services/partners/v20180321/api.json +26 -16
  41. tccli/services/tcr/v20190924/api.json +57 -35
  42. tccli/services/tcr/v20190924/examples.json +4 -4
  43. tccli/services/tcss/v20201101/api.json +123 -13
  44. tccli/services/tcss/v20201101/examples.json +3 -3
  45. tccli/services/tdmq/tdmq_client.py +53 -0
  46. tccli/services/tdmq/v20200217/api.json +301 -0
  47. tccli/services/tdmq/v20200217/examples.json +8 -0
  48. tccli/services/tem/v20210701/api.json +8 -5
  49. tccli/services/tem/v20210701/examples.json +2 -2
  50. tccli/services/tke/v20180525/api.json +13 -3
  51. tccli/services/trocket/trocket_client.py +65 -12
  52. tccli/services/trocket/v20230308/api.json +196 -0
  53. tccli/services/trocket/v20230308/examples.json +8 -0
  54. tccli/services/trtc/v20190722/api.json +45 -63
  55. tccli/services/tsi/__init__.py +4 -0
  56. tccli/services/tsi/tsi_client.py +301 -0
  57. tccli/services/tsi/v20210325/api.json +373 -0
  58. tccli/services/tsi/v20210325/examples.json +29 -0
  59. tccli/services/tts/v20190823/api.json +2 -2
  60. tccli/services/vpc/v20170312/api.json +36 -16
  61. tccli/services/vpc/v20170312/examples.json +9 -3
  62. tccli/services/waf/v20180125/api.json +70 -0
  63. tccli/services/waf/v20180125/examples.json +8 -0
  64. tccli/services/waf/waf_client.py +53 -0
  65. tccli/services/wedata/v20210820/api.json +377 -0
  66. tccli/services/wedata/v20210820/examples.json +8 -0
  67. tccli/services/wedata/wedata_client.py +61 -8
  68. {tccli-3.0.1135.1.dist-info → tccli-3.0.1137.1.dist-info}/METADATA +2 -2
  69. {tccli-3.0.1135.1.dist-info → tccli-3.0.1137.1.dist-info}/RECORD +72 -68
  70. {tccli-3.0.1135.1.dist-info → tccli-3.0.1137.1.dist-info}/WHEEL +0 -0
  71. {tccli-3.0.1135.1.dist-info → tccli-3.0.1137.1.dist-info}/entry_points.txt +0 -0
  72. {tccli-3.0.1135.1.dist-info → tccli-3.0.1137.1.dist-info}/license_files/LICENSE +0 -0
@@ -14,6 +14,13 @@
14
14
  "output": "CheckAttributeLabelReferResponse",
15
15
  "status": "online"
16
16
  },
17
+ "ConvertDocument": {
18
+ "document": "接口支持图片和PDF转可编辑word格式文件,将文件中的图片、文本、表格等元素识别,并根据位置进行还原。",
19
+ "input": "ConvertDocumentRequest",
20
+ "name": "文档转换",
21
+ "output": "ConvertDocumentResponse",
22
+ "status": "online"
23
+ },
17
24
  "CreateApp": {
18
25
  "document": "创建知识引擎应用。",
19
26
  "input": "CreateAppRequest",
@@ -217,6 +224,13 @@
217
224
  "output": "GenerateQAResponse",
218
225
  "status": "online"
219
226
  },
227
+ "GetAnswerTypeDataCount": {
228
+ "document": "回答类型数据统计",
229
+ "input": "GetAnswerTypeDataCountRequest",
230
+ "name": "回答类型数据统计",
231
+ "output": "GetAnswerTypeDataCountResponse",
232
+ "status": "online"
233
+ },
220
234
  "GetAppKnowledgeCount": {
221
235
  "document": "获取模型列表",
222
236
  "input": "GetAppKnowledgeCountRequest",
@@ -245,6 +259,13 @@
245
259
  "output": "GetEmbeddingResponse",
246
260
  "status": "online"
247
261
  },
262
+ "GetLikeDataCount": {
263
+ "document": "点赞点踩数据统计",
264
+ "input": "GetLikeDataCountRequest",
265
+ "name": "点踩点赞数据统计",
266
+ "output": "GetLikeDataCountResponse",
267
+ "status": "online"
268
+ },
248
269
  "GetMsgRecord": {
249
270
  "document": "获取推荐问题",
250
271
  "input": "GetMsgRecordRequest",
@@ -1335,6 +1356,70 @@
1335
1356
  ],
1336
1357
  "usage": "out"
1337
1358
  },
1359
+ "ConvertDocumentRequest": {
1360
+ "document": "ConvertDocument请求参数结构体",
1361
+ "members": [
1362
+ {
1363
+ "disabled": false,
1364
+ "document": "图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。",
1365
+ "example": "无",
1366
+ "member": "string",
1367
+ "name": "FileUrl",
1368
+ "required": false,
1369
+ "type": "string"
1370
+ },
1371
+ {
1372
+ "disabled": false,
1373
+ "document": "图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。",
1374
+ "example": "无",
1375
+ "member": "string",
1376
+ "name": "FileBase64",
1377
+ "required": false,
1378
+ "type": "string"
1379
+ },
1380
+ {
1381
+ "disabled": false,
1382
+ "document": "当传入文件是PDF类型(FileType=PDF)时,用来指定pdf识别的起始页码,识别的页码包含当前值。",
1383
+ "example": "1",
1384
+ "member": "int64",
1385
+ "name": "FileStartPageNumber",
1386
+ "required": false,
1387
+ "type": "int"
1388
+ },
1389
+ {
1390
+ "disabled": false,
1391
+ "document": "当传入文件是PDF类型(FileType=PDF)时,用来指定pdf识别的结束页码,识别的页码包含当前值。\n建议一次请求的页面不超过3页。",
1392
+ "example": "2",
1393
+ "member": "int64",
1394
+ "name": "FileEndPageNumber",
1395
+ "required": false,
1396
+ "type": "int"
1397
+ }
1398
+ ],
1399
+ "type": "object"
1400
+ },
1401
+ "ConvertDocumentResponse": {
1402
+ "document": "ConvertDocument返回参数结构体",
1403
+ "members": [
1404
+ {
1405
+ "disabled": false,
1406
+ "document": "识别生成的word文件base64编码的字符串\n注意:此字段可能返回 null,表示取不到有效值。",
1407
+ "example": "无",
1408
+ "member": "WordRecognizeInfo",
1409
+ "name": "WordRecognizeInfo",
1410
+ "output_required": false,
1411
+ "type": "list",
1412
+ "value_allowed_null": true
1413
+ },
1414
+ {
1415
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1416
+ "member": "string",
1417
+ "name": "RequestId",
1418
+ "type": "string"
1419
+ }
1420
+ ],
1421
+ "type": "object"
1422
+ },
1338
1423
  "Coord": {
1339
1424
  "document": "坐标",
1340
1425
  "members": [
@@ -1784,7 +1869,7 @@
1784
1869
  },
1785
1870
  {
1786
1871
  "disabled": false,
1787
- "document": "当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。",
1872
+ "document": "当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。默认为1,表示从pdf文件的第1页开始识别。",
1788
1873
  "example": "1",
1789
1874
  "member": "int64",
1790
1875
  "name": "FileStartPageNumber",
@@ -1793,7 +1878,7 @@
1793
1878
  },
1794
1879
  {
1795
1880
  "disabled": false,
1796
- "document": "当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。",
1881
+ "document": "当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。默认为100,表示识别到pdf文件的第100页。单次调用最多支持识别100页内容,即FileEndPageNumber-FileStartPageNumber需要不大于100。",
1797
1882
  "example": "3",
1798
1883
  "member": "int64",
1799
1884
  "name": "FileEndPageNumber",
@@ -4037,6 +4122,178 @@
4037
4122
  ],
4038
4123
  "type": "object"
4039
4124
  },
4125
+ "GetAnswerTypeDataCountRequest": {
4126
+ "document": "GetAnswerTypeDataCount请求参数结构体",
4127
+ "members": [
4128
+ {
4129
+ "disabled": false,
4130
+ "document": "开始日期",
4131
+ "example": "1716368386",
4132
+ "member": "uint64",
4133
+ "name": "StartTime",
4134
+ "required": true,
4135
+ "type": "int"
4136
+ },
4137
+ {
4138
+ "disabled": false,
4139
+ "document": "结束日期",
4140
+ "example": "1716454119",
4141
+ "member": "uint64",
4142
+ "name": "EndTime",
4143
+ "required": true,
4144
+ "type": "int"
4145
+ },
4146
+ {
4147
+ "disabled": false,
4148
+ "document": "应用id",
4149
+ "example": "1747088166522585088",
4150
+ "member": "string",
4151
+ "name": "AppBizId",
4152
+ "required": false,
4153
+ "type": "list"
4154
+ },
4155
+ {
4156
+ "disabled": false,
4157
+ "document": "消息来源(1、分享用户端 2、对话API 3、对话测试 4、应用评测)",
4158
+ "example": "1",
4159
+ "member": "uint64",
4160
+ "name": "Type",
4161
+ "required": false,
4162
+ "type": "int"
4163
+ },
4164
+ {
4165
+ "disabled": false,
4166
+ "document": "登录用户主账号(集成商模式必填)",
4167
+ "example": "6000005624511",
4168
+ "member": "string",
4169
+ "name": "LoginUin",
4170
+ "required": false,
4171
+ "type": "string"
4172
+ },
4173
+ {
4174
+ "disabled": false,
4175
+ "document": "登录用户子账号(集成商模式必填)\t",
4176
+ "example": "6000005624511",
4177
+ "member": "string",
4178
+ "name": "LoginSubAccountUin",
4179
+ "required": false,
4180
+ "type": "string"
4181
+ }
4182
+ ],
4183
+ "type": "object"
4184
+ },
4185
+ "GetAnswerTypeDataCountResponse": {
4186
+ "document": "GetAnswerTypeDataCount返回参数结构体",
4187
+ "members": [
4188
+ {
4189
+ "disabled": false,
4190
+ "document": "总消息数",
4191
+ "example": "45",
4192
+ "member": "uint64",
4193
+ "name": "Total",
4194
+ "output_required": false,
4195
+ "type": "int",
4196
+ "value_allowed_null": false
4197
+ },
4198
+ {
4199
+ "disabled": false,
4200
+ "document": "大模型直接回复总数",
4201
+ "example": "1",
4202
+ "member": "uint64",
4203
+ "name": "ModelReplyCount",
4204
+ "output_required": false,
4205
+ "type": "int",
4206
+ "value_allowed_null": false
4207
+ },
4208
+ {
4209
+ "disabled": false,
4210
+ "document": "知识型回复总数",
4211
+ "example": "2",
4212
+ "member": "uint64",
4213
+ "name": "KnowledgeCount",
4214
+ "output_required": false,
4215
+ "type": "int",
4216
+ "value_allowed_null": false
4217
+ },
4218
+ {
4219
+ "disabled": false,
4220
+ "document": "任务流回复总数",
4221
+ "example": "3",
4222
+ "member": "uint64",
4223
+ "name": "TaskFlowCount",
4224
+ "output_required": false,
4225
+ "type": "int",
4226
+ "value_allowed_null": false
4227
+ },
4228
+ {
4229
+ "disabled": false,
4230
+ "document": "搜索引擎回复总数",
4231
+ "example": "4",
4232
+ "member": "uint64",
4233
+ "name": "SearchEngineCount",
4234
+ "output_required": false,
4235
+ "type": "int",
4236
+ "value_allowed_null": false
4237
+ },
4238
+ {
4239
+ "disabled": false,
4240
+ "document": "图片理解回复总数",
4241
+ "example": "5",
4242
+ "member": "uint64",
4243
+ "name": "ImageUnderstandingCount",
4244
+ "output_required": false,
4245
+ "type": "int",
4246
+ "value_allowed_null": false
4247
+ },
4248
+ {
4249
+ "disabled": false,
4250
+ "document": "拒答回复总数",
4251
+ "example": "6",
4252
+ "member": "uint64",
4253
+ "name": "RejectCount",
4254
+ "output_required": false,
4255
+ "type": "int",
4256
+ "value_allowed_null": false
4257
+ },
4258
+ {
4259
+ "disabled": false,
4260
+ "document": "敏感回复总数",
4261
+ "example": "7",
4262
+ "member": "uint64",
4263
+ "name": "SensitiveCount",
4264
+ "output_required": false,
4265
+ "type": "int",
4266
+ "value_allowed_null": false
4267
+ },
4268
+ {
4269
+ "disabled": false,
4270
+ "document": "并发超限回复总数",
4271
+ "example": "8",
4272
+ "member": "uint64",
4273
+ "name": "ConcurrentLimitCount",
4274
+ "output_required": false,
4275
+ "type": "int",
4276
+ "value_allowed_null": false
4277
+ },
4278
+ {
4279
+ "disabled": false,
4280
+ "document": "未知问题回复总数",
4281
+ "example": "9",
4282
+ "member": "uint64",
4283
+ "name": "UnknownIssuesCount",
4284
+ "output_required": false,
4285
+ "type": "int",
4286
+ "value_allowed_null": false
4287
+ },
4288
+ {
4289
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4290
+ "member": "string",
4291
+ "name": "RequestId",
4292
+ "type": "string"
4293
+ }
4294
+ ],
4295
+ "type": "object"
4296
+ },
4040
4297
  "GetAppKnowledgeCountRequest": {
4041
4298
  "document": "GetAppKnowledgeCount请求参数结构体",
4042
4299
  "members": [
@@ -4328,6 +4585,148 @@
4328
4585
  ],
4329
4586
  "type": "object"
4330
4587
  },
4588
+ "GetLikeDataCountRequest": {
4589
+ "document": "GetLikeDataCount请求参数结构体",
4590
+ "members": [
4591
+ {
4592
+ "disabled": false,
4593
+ "document": "开始日期",
4594
+ "example": "1716368386",
4595
+ "member": "uint64",
4596
+ "name": "StartTime",
4597
+ "required": true,
4598
+ "type": "int"
4599
+ },
4600
+ {
4601
+ "disabled": false,
4602
+ "document": "结束日期",
4603
+ "example": "1716454119",
4604
+ "member": "uint64",
4605
+ "name": "EndTime",
4606
+ "required": true,
4607
+ "type": "int"
4608
+ },
4609
+ {
4610
+ "disabled": false,
4611
+ "document": "应用id",
4612
+ "example": "1747088166522585088",
4613
+ "member": "string",
4614
+ "name": "AppBizId",
4615
+ "required": false,
4616
+ "type": "list"
4617
+ },
4618
+ {
4619
+ "disabled": false,
4620
+ "document": "消息来源(1、分享用户端 2、对话API)",
4621
+ "example": "1",
4622
+ "member": "uint64",
4623
+ "name": "Type",
4624
+ "required": false,
4625
+ "type": "int"
4626
+ },
4627
+ {
4628
+ "disabled": false,
4629
+ "document": "登录用户主账号(集成商模式必填)",
4630
+ "example": "6000005624511",
4631
+ "member": "string",
4632
+ "name": "LoginUin",
4633
+ "required": false,
4634
+ "type": "string"
4635
+ },
4636
+ {
4637
+ "disabled": false,
4638
+ "document": "登录用户子账号(集成商模式必填)\t",
4639
+ "example": "6000005624511",
4640
+ "member": "string",
4641
+ "name": "LoginSubAccountUin",
4642
+ "required": false,
4643
+ "type": "string"
4644
+ }
4645
+ ],
4646
+ "type": "object"
4647
+ },
4648
+ "GetLikeDataCountResponse": {
4649
+ "document": "GetLikeDataCount返回参数结构体",
4650
+ "members": [
4651
+ {
4652
+ "disabled": false,
4653
+ "document": "可评价消息数",
4654
+ "example": "20",
4655
+ "member": "uint64",
4656
+ "name": "Total",
4657
+ "output_required": false,
4658
+ "type": "int",
4659
+ "value_allowed_null": false
4660
+ },
4661
+ {
4662
+ "disabled": false,
4663
+ "document": "评价数",
4664
+ "example": "10",
4665
+ "member": "uint64",
4666
+ "name": "AppraisalTotal",
4667
+ "output_required": false,
4668
+ "type": "int",
4669
+ "value_allowed_null": false
4670
+ },
4671
+ {
4672
+ "disabled": false,
4673
+ "document": "参评率",
4674
+ "example": "0.5",
4675
+ "member": "float",
4676
+ "name": "ParticipationRate",
4677
+ "output_required": false,
4678
+ "type": "float",
4679
+ "value_allowed_null": false
4680
+ },
4681
+ {
4682
+ "disabled": false,
4683
+ "document": "点赞数",
4684
+ "example": "8",
4685
+ "member": "uint64",
4686
+ "name": "LikeTotal",
4687
+ "output_required": false,
4688
+ "type": "int",
4689
+ "value_allowed_null": false
4690
+ },
4691
+ {
4692
+ "disabled": false,
4693
+ "document": "点赞率",
4694
+ "example": "0.8",
4695
+ "member": "float",
4696
+ "name": "LikeRate",
4697
+ "output_required": false,
4698
+ "type": "float",
4699
+ "value_allowed_null": false
4700
+ },
4701
+ {
4702
+ "disabled": false,
4703
+ "document": "点踩数",
4704
+ "example": "2",
4705
+ "member": "uint64",
4706
+ "name": "DislikeTotal",
4707
+ "output_required": false,
4708
+ "type": "int",
4709
+ "value_allowed_null": false
4710
+ },
4711
+ {
4712
+ "disabled": false,
4713
+ "document": "点踩率",
4714
+ "example": "0.2",
4715
+ "member": "float",
4716
+ "name": "DislikeRate",
4717
+ "output_required": false,
4718
+ "type": "float",
4719
+ "value_allowed_null": false
4720
+ },
4721
+ {
4722
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4723
+ "member": "string",
4724
+ "name": "RequestId",
4725
+ "type": "string"
4726
+ }
4727
+ ],
4728
+ "type": "object"
4729
+ },
4331
4730
  "GetMsgRecordRequest": {
4332
4731
  "document": "GetMsgRecord请求参数结构体",
4333
4732
  "members": [
@@ -8710,7 +9109,7 @@
8710
9109
  },
8711
9110
  {
8712
9111
  "disabled": false,
8713
- "document": "当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。",
9112
+ "document": "当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。默认为1,表示从pdf文件的第1页开始识别。",
8714
9113
  "example": "1",
8715
9114
  "member": "int64",
8716
9115
  "name": "FileStartPageNumber",
@@ -8719,7 +9118,7 @@
8719
9118
  },
8720
9119
  {
8721
9120
  "disabled": false,
8722
- "document": "当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。单次调用,最多支持10pdf的文档解析。",
9121
+ "document": "当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。默认为10,表示识别到pdf文件的第10页。单次调用最多支持识别10页内容,即FileEndPageNumber-FileStartPageNumber需要不大于10。",
8723
9122
  "example": "3",
8724
9123
  "member": "int64",
8725
9124
  "name": "FileEndPageNumber",
@@ -10240,6 +10639,32 @@
10240
10639
  }
10241
10640
  ],
10242
10641
  "type": "object"
10642
+ },
10643
+ "WordRecognizeInfo": {
10644
+ "document": "解析为 word 文档的结果",
10645
+ "members": [
10646
+ {
10647
+ "disabled": false,
10648
+ "document": "输入文件的页码数\n注意:此字段可能返回 null,表示取不到有效值。",
10649
+ "example": "1",
10650
+ "member": "int64",
10651
+ "name": "PageNumber",
10652
+ "output_required": false,
10653
+ "type": "int",
10654
+ "value_allowed_null": true
10655
+ },
10656
+ {
10657
+ "disabled": false,
10658
+ "document": "word的base64\n注意:此字段可能返回 null,表示取不到有效值。",
10659
+ "example": "无",
10660
+ "member": "string",
10661
+ "name": "WordBase64",
10662
+ "output_required": false,
10663
+ "type": "string",
10664
+ "value_allowed_null": true
10665
+ }
10666
+ ],
10667
+ "usage": "out"
10243
10668
  }
10244
10669
  },
10245
10670
  "version": "1.0"