tccli 3.0.1374.1__py2.py3-none-any.whl → 3.0.1375.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 (32) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/cbs/v20170312/api.json +11 -2
  3. tccli/services/ccc/v20200210/api.json +17 -8
  4. tccli/services/csip/v20221121/api.json +1 -1
  5. tccli/services/cwp/v20180228/api.json +5 -5
  6. tccli/services/dlc/dlc_client.py +399 -28
  7. tccli/services/dlc/v20210125/api.json +557 -0
  8. tccli/services/dlc/v20210125/examples.json +56 -0
  9. tccli/services/es/v20180416/api.json +49 -0
  10. tccli/services/ess/v20201111/api.json +18 -0
  11. tccli/services/essbasic/v20210526/api.json +38 -0
  12. tccli/services/ioa/v20220601/api.json +48 -29
  13. tccli/services/mps/v20190612/api.json +34 -6
  14. tccli/services/postgres/v20170312/api.json +1 -1
  15. tccli/services/rce/v20201103/api.json +1 -1
  16. tccli/services/tbaas/v20180416/api.json +30 -30
  17. tccli/services/tbaas/v20180416/examples.json +4 -4
  18. tccli/services/tcaplusdb/v20190823/api.json +926 -900
  19. tccli/services/tcaplusdb/v20190823/examples.json +56 -56
  20. tccli/services/tcss/v20201101/api.json +4 -4
  21. tccli/services/tdmq/tdmq_client.py +53 -0
  22. tccli/services/tdmq/v20200217/api.json +35 -11
  23. tccli/services/tdmq/v20200217/examples.json +9 -1
  24. tccli/services/trocket/v20230308/api.json +2 -2
  25. tccli/services/tse/v20201207/api.json +9 -0
  26. tccli/services/tsf/v20180326/api.json +48 -48
  27. tccli/services/vod/v20180717/api.json +11 -11
  28. {tccli-3.0.1374.1.dist-info → tccli-3.0.1375.1.dist-info}/METADATA +2 -2
  29. {tccli-3.0.1374.1.dist-info → tccli-3.0.1375.1.dist-info}/RECORD +32 -32
  30. {tccli-3.0.1374.1.dist-info → tccli-3.0.1375.1.dist-info}/WHEEL +0 -0
  31. {tccli-3.0.1374.1.dist-info → tccli-3.0.1375.1.dist-info}/entry_points.txt +0 -0
  32. {tccli-3.0.1374.1.dist-info → tccli-3.0.1375.1.dist-info}/license_files/LICENSE +0 -0
@@ -1832,7 +1832,7 @@
1832
1832
  {
1833
1833
  "disabled": false,
1834
1834
  "document": "网络ID,可在区块链网络详情或列表中获取",
1835
- "example": "251005746bc987bojjue8",
1835
+ "example": "chainmaker-j1juwsmndn",
1836
1836
  "member": "string",
1837
1837
  "name": "ClusterId",
1838
1838
  "required": true,
@@ -1841,7 +1841,7 @@
1841
1841
  {
1842
1842
  "disabled": false,
1843
1843
  "document": "业务链ID,可在网络概览页获取",
1844
- "example": "chain-test",
1844
+ "example": "chain_dcwtt",
1845
1845
  "member": "string",
1846
1846
  "name": "ChainId",
1847
1847
  "required": true,
@@ -1859,7 +1859,7 @@
1859
1859
  {
1860
1860
  "disabled": false,
1861
1861
  "document": "合约方法名",
1862
- "example": "send",
1862
+ "example": "save",
1863
1863
  "member": "string",
1864
1864
  "name": "FuncName",
1865
1865
  "required": true,
@@ -1868,7 +1868,7 @@
1868
1868
  {
1869
1869
  "disabled": false,
1870
1870
  "document": "合约方法入参,json格式字符串,key/value都是string类型的map",
1871
- "example": "{\\\"name\\\":\\\"test\\\"}",
1871
+ "example": "{\\\"time\\\":\\\"7908\\\",\\\"file_hash\\\":\\\"file\\\",\\\"file_name\\\":\\\"file\\\"}",
1872
1872
  "member": "string",
1873
1873
  "name": "FuncParam",
1874
1874
  "required": false,
@@ -1877,7 +1877,7 @@
1877
1877
  {
1878
1878
  "disabled": false,
1879
1879
  "document": "是否异步执行,1为是,否则为0;如果异步执行,可使用返回值中的交易TxID查询执行结果",
1880
- "example": "1",
1880
+ "example": "0",
1881
1881
  "member": "int64",
1882
1882
  "name": "AsyncFlag",
1883
1883
  "required": false,
@@ -1923,7 +1923,7 @@
1923
1923
  {
1924
1924
  "disabled": false,
1925
1925
  "document": "业务链ID,可在网络概览页获取",
1926
- "example": "chain_test",
1926
+ "example": "chain_demo",
1927
1927
  "member": "string",
1928
1928
  "name": "ChainId",
1929
1929
  "required": true,
@@ -1932,7 +1932,7 @@
1932
1932
  {
1933
1933
  "disabled": false,
1934
1934
  "document": "合约名称,可在合约管理中获取",
1935
- "example": "fact",
1935
+ "example": "ChainMakerDemo",
1936
1936
  "member": "string",
1937
1937
  "name": "ContractName",
1938
1938
  "required": true,
@@ -1940,8 +1940,8 @@
1940
1940
  },
1941
1941
  {
1942
1942
  "disabled": false,
1943
- "document": "合约方法名",
1944
- "example": "send",
1943
+ "document": "合约方法名,由合约代码定义,可以参考合约详情中的合约调用定义",
1944
+ "example": "save",
1945
1945
  "member": "string",
1946
1946
  "name": "FuncName",
1947
1947
  "required": true,
@@ -1949,8 +1949,8 @@
1949
1949
  },
1950
1950
  {
1951
1951
  "disabled": false,
1952
- "document": "合约方法入参,json格式字符串,key/value都是string类型的map",
1953
- "example": "{\\\"name\\\":\\\"test\\\"}",
1952
+ "document": "合约方法入参,json格式字符串,key/value都是string类型的map,由合约代码定义,可以参考合约详情中的合约调用定义",
1953
+ "example": "{\"key\":\"key1\",\"field\":\"field1\",\"value\":\"value1\"}",
1954
1954
  "member": "string",
1955
1955
  "name": "FuncParam",
1956
1956
  "required": false,
@@ -1959,7 +1959,7 @@
1959
1959
  {
1960
1960
  "disabled": false,
1961
1961
  "document": "是否异步执行,1为是,否则为0;如果异步执行,可使用返回值中的交易TxID查询执行结果",
1962
- "example": "1",
1962
+ "example": "0",
1963
1963
  "member": "int64",
1964
1964
  "name": "AsyncFlag",
1965
1965
  "required": false,
@@ -2345,7 +2345,7 @@
2345
2345
  {
2346
2346
  "disabled": false,
2347
2347
  "document": "网络ID,可在区块链网络详情或列表中获取",
2348
- "example": "251005746bc987bojjue8",
2348
+ "example": "chainmaker-j1juwsmndn",
2349
2349
  "member": "string",
2350
2350
  "name": "ClusterId",
2351
2351
  "required": true,
@@ -2354,7 +2354,7 @@
2354
2354
  {
2355
2355
  "disabled": false,
2356
2356
  "document": "业务链ID,可在网络概览页获取",
2357
- "example": "chain-test",
2357
+ "example": "chain_dcwtt",
2358
2358
  "member": "string",
2359
2359
  "name": "ChainId",
2360
2360
  "required": true,
@@ -2371,8 +2371,8 @@
2371
2371
  },
2372
2372
  {
2373
2373
  "disabled": false,
2374
- "document": "合约方法名",
2375
- "example": "send",
2374
+ "document": "合约方法名,由合约代码定义",
2375
+ "example": "find_by_file_hash",
2376
2376
  "member": "string",
2377
2377
  "name": "FuncName",
2378
2378
  "required": true,
@@ -2380,8 +2380,8 @@
2380
2380
  },
2381
2381
  {
2382
2382
  "disabled": false,
2383
- "document": "合约方法入参,json格式字符串,key/value都是string类型的map",
2384
- "example": "{\\\"name\\\":\\\"test\\\"}",
2383
+ "document": "合约方法入参,json格式字符串,key/value都是string类型的map,由合约代码定义",
2384
+ "example": "{\\\"file_hash\\\":\\\"test\\\"}",
2385
2385
  "member": "string",
2386
2386
  "name": "FuncParam",
2387
2387
  "required": false,
@@ -2427,7 +2427,7 @@
2427
2427
  {
2428
2428
  "disabled": false,
2429
2429
  "document": "业务链ID,可在网络概览页获取",
2430
- "example": "chain_test",
2430
+ "example": "chain_demo",
2431
2431
  "member": "string",
2432
2432
  "name": "ChainId",
2433
2433
  "required": true,
@@ -2512,7 +2512,7 @@
2512
2512
  {
2513
2513
  "disabled": false,
2514
2514
  "document": "业务链ID,可在网络概览页获取",
2515
- "example": "chain_test",
2515
+ "example": "chain_demo",
2516
2516
  "member": "string",
2517
2517
  "name": "ChainId",
2518
2518
  "required": true,
@@ -2521,7 +2521,7 @@
2521
2521
  {
2522
2522
  "disabled": false,
2523
2523
  "document": "合约名称,可在合约管理中获取",
2524
- "example": "fact",
2524
+ "example": "ChainMakerDemo",
2525
2525
  "member": "string",
2526
2526
  "name": "ContractName",
2527
2527
  "required": true,
@@ -2529,8 +2529,8 @@
2529
2529
  },
2530
2530
  {
2531
2531
  "disabled": false,
2532
- "document": "合约方法名",
2533
- "example": "send",
2532
+ "document": "合约方法名,由合约代码定义,可以参考合约详情中的合约调用定义",
2533
+ "example": "get",
2534
2534
  "member": "string",
2535
2535
  "name": "FuncName",
2536
2536
  "required": true,
@@ -2538,8 +2538,8 @@
2538
2538
  },
2539
2539
  {
2540
2540
  "disabled": false,
2541
- "document": "合约方法入参,json格式字符串,key/value都是string类型的map",
2542
- "example": "{\\\"name\\\":\\\"test\\\"}",
2541
+ "document": "合约方法入参,json格式字符串,key/value都是string类型的map,由合约代码定义,可以参考合约详情中的合约调用定义",
2542
+ "example": "{\"key\":\"key1\",\"field\":\"field1\"}",
2543
2543
  "member": "string",
2544
2544
  "name": "FuncParam",
2545
2545
  "required": false,
@@ -2585,7 +2585,7 @@
2585
2585
  {
2586
2586
  "disabled": false,
2587
2587
  "document": "业务链ID,可在网络概览页获取",
2588
- "example": "chain_test",
2588
+ "example": "chain_demo",
2589
2589
  "member": "string",
2590
2590
  "name": "ChainId",
2591
2591
  "required": true,
@@ -2594,7 +2594,7 @@
2594
2594
  {
2595
2595
  "disabled": false,
2596
2596
  "document": "交易ID,通过调用合约的返回值获取",
2597
- "example": "HHHHHHHHHHHHHH",
2597
+ "example": "f6cf450f9b0b496f9ee6d332e739b8b182fe1e3b34ed446ab068a151f1ee8cbe",
2598
2598
  "member": "string",
2599
2599
  "name": "TxID",
2600
2600
  "required": true,
@@ -2631,7 +2631,7 @@
2631
2631
  {
2632
2632
  "disabled": false,
2633
2633
  "document": "网络ID,可在区块链网络详情或列表中获取",
2634
- "example": "251005746bc987bojjue8",
2634
+ "example": "chainmaker-j1juwsmndn",
2635
2635
  "member": "string",
2636
2636
  "name": "ClusterId",
2637
2637
  "required": true,
@@ -2640,7 +2640,7 @@
2640
2640
  {
2641
2641
  "disabled": false,
2642
2642
  "document": "业务链ID,可在网络概览页获取",
2643
- "example": "chain-test",
2643
+ "example": "chain_dcwtt",
2644
2644
  "member": "string",
2645
2645
  "name": "ChainId",
2646
2646
  "required": true,
@@ -2649,7 +2649,7 @@
2649
2649
  {
2650
2650
  "disabled": false,
2651
2651
  "document": "交易ID,通过调用合约的返回值获取",
2652
- "example": "HHHHHHHHHHHHHH",
2652
+ "example": "f6cf450f9b0b496f9ee6d332e739b8b182fe1e3b34ed446ab068a151f1ee8cbe",
2653
2653
  "member": "string",
2654
2654
  "name": "TxID",
2655
2655
  "required": true,
@@ -105,7 +105,7 @@
105
105
  "InvokeChainMakerContract": [
106
106
  {
107
107
  "document": "调用长安链合约执行交易",
108
- "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeChainMakerContract\n<公共请求参数>\n\n{\n \"ChainId\": \"chain_dcwtt\",\n \"FuncParam\": \"{\\\"time\\\":\\\"2021-07-26\\\",\\\"file_hash\\\":\\\"123456\\\",\\\"file_name\\\":\\\"test.jpg\\\"}\",\n \"ClusterId\": \"chainmaker-j1juwsmndn\",\n \"FuncName\": \"save\",\n \"AsyncFlag\": \"0\",\n \"ContractName\": \"fact\"\n}",
108
+ "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeChainMakerContract\n<公共请求参数>\n\n{\n \"ChainId\": \"chain_dcwtt\",\n \"FuncParam\": \"{\\\"time\\\":\\\"282039\\\",\\\"file_hash\\\":\\\"123456\\\",\\\"file_name\\\":\\\"test.jpg\\\"}\",\n \"ClusterId\": \"chainmaker-j1juwsmndn\",\n \"FuncName\": \"save\",\n \"AsyncFlag\": 0,\n \"ContractName\": \"fact\"\n}",
109
109
  "output": "{\n \"Response\": {\n \"RequestId\": \"2974e7ac-72e2-49c3-ae39-bc2bc6a7330b\",\n \"Result\": {\n \"Code\": 0,\n \"CodeMessage\": \"OK\",\n \"Message\": \"\",\n \"TxId\": \"963b8210f10e45e6ab6fe5cd37ba7f6719db5948a38c494ca9137fa2b8c9033d\",\n \"GasUsed\": 9573483,\n \"Result\": \"b2s=\"\n }\n }\n}",
110
110
  "title": "调用长安链合约执行交易"
111
111
  }
@@ -113,7 +113,7 @@
113
113
  "InvokeChainMakerDemoContract": [
114
114
  {
115
115
  "document": "调用长安链体验网络合约执行交易",
116
- "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeChainMakerDemoContract\n<公共请求参数>\n\n{\n \"ChainId\": \"chain_test\",\n \"FuncParam\": \"{\\\"time\\\":\\\"2021-07-26\\\",\\\"file_hash\\\":\\\"123456\\\",\\\"file_name\\\":\\\"test.jpg\\\"}\",\n \"ClusterId\": \"chainmaker-demo\",\n \"FuncName\": \"save\",\n \"AsyncFlag\": \"0\",\n \"ContractName\": \"fact\"\n}",
116
+ "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeChainMakerDemoContract\n<公共请求参数>\n\n{\n \"ChainId\": \"chain_demo\",\n \"FuncParam\": \"{\\\"key\\\":\\\"key1\\\",\\\"field\\\":\\\"field1\\\",\\\"value\\\":\\\"value1\\\"}\",\n \"ClusterId\": \"chainmaker-demo\",\n \"FuncName\": \"save\",\n \"AsyncFlag\": 0,\n \"ContractName\": \"fact\"\n}",
117
117
  "output": "{\n \"Response\": {\n \"RequestId\": \"2974e7ac-72e2-49c3-ae39-bc2bc6a7330b\",\n \"Result\": {\n \"Code\": 0,\n \"CodeMessage\": \"OK\",\n \"Message\": \"\",\n \"TxId\": \"963b8210f10e45e6ab6fe5cd37ba7f6719db5948a38c494ca9137fa2b8c9033d\",\n \"GasUsed\": 9573483,\n \"Result\": \"b2s=\"\n }\n }\n}",
118
118
  "title": "调用长安链体验网络合约执行交易"
119
119
  }
@@ -153,7 +153,7 @@
153
153
  "QueryChainMakerDemoBlockTransaction": [
154
154
  {
155
155
  "document": "查询长安链体验网络指定高度区块的交易",
156
- "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryChainMakerDemoBlockTransaction\n<公共请求参数>\n\n{\n \"BlockHeight\": \"2\",\n \"ChainId\": \"chain_test\",\n \"ClusterId\": \"chainmaker-demo\"\n}",
156
+ "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryChainMakerDemoBlockTransaction\n<公共请求参数>\n\n{\n \"BlockHeight\": 2,\n \"ChainId\": \"chain_test\",\n \"ClusterId\": \"chainmaker-demo\"\n}",
157
157
  "output": "{\n \"Response\": {\n \"RequestId\": \"0c64831e-a310-47c7-bf6c-a625c5cfde17\",\n \"BlockHeight\": 2,\n \"TxCount\": 1,\n \"BlockTimestamp\": 1627267176,\n \"Result\": [\n {\n \"Code\": 0,\n \"CodeMessage\": \"\",\n \"Message\": \"\",\n \"TxId\": \"f6cf450f9b0b496f9ee6d332e739b8b182fe1e3b34ed446ab068a151f1ee8cbe\",\n \"Timestamp\": 1627267173,\n \"GasUsed\": 230871,\n \"BlockHeight\": 2,\n \"ContractEvent\": \"\"\n }\n ]\n }\n}",
158
158
  "title": "查询长安链体验网络指定高度区块的交易"
159
159
  }
@@ -161,7 +161,7 @@
161
161
  "QueryChainMakerDemoContract": [
162
162
  {
163
163
  "document": "调用长安链体验网络合约查询",
164
- "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryChainMakerDemoContract\n<公共请求参数>\n\n{\n \"ChainId\": \"chain_test\",\n \"ClusterId\": \"chainmaker-demo\",\n \"ContractName\": \"fact\",\n \"FuncParam\": \"{\\\"file_hash\\\":\\\"1234567\\\"}\",\n \"FuncName\": \"find_by_file_hash\"\n}",
164
+ "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryChainMakerDemoContract\n<公共请求参数>\n\n{\n \"ChainId\": \"chain_demo\",\n \"ClusterId\": \"chainmaker-demo\",\n \"ContractName\": \"ChainMakerDemo\",\n \"FuncParam\": \"{\\\"key\\\":\\\"key1\\\",\\\"field\\\":\\\"field1\\\"}\",\n \"FuncName\": \"get\"\n}",
165
165
  "output": "{\n \"Response\": {\n \"RequestId\": \"fac6ef5a-7637-4a75-a2d3-0f7d87b5b8b5\",\n \"Result\": {\n \"Code\": 0,\n \"CodeMessage\": \"OK\",\n \"Message\": \"\",\n \"TxId\": \"3ae794a658af4a219f849f5891d7a390eae524de4d614339ace2411059aaa19c\",\n \"GasUsed\": 6100540,\n \"Result\": \"b2s=\"\n }\n }\n}",
166
166
  "title": "调用长安链体验网络合约查询"
167
167
  }