tccli 3.0.1215.1__py2.py3-none-any.whl → 3.0.1217.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 (282) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argparser.py +1 -1
  3. tccli/command.py +2 -2
  4. tccli/configure.py +46 -1
  5. tccli/credentials.py +25 -0
  6. tccli/main.py +6 -2
  7. tccli/plugins/sso/__init__.py +61 -0
  8. tccli/plugins/sso/configs.py +4 -0
  9. tccli/plugins/sso/configure.py +45 -0
  10. tccli/plugins/sso/login.py +144 -0
  11. tccli/plugins/sso/logout.py +21 -0
  12. tccli/plugins/sso/terminal.py +161 -0
  13. tccli/plugins/sso/texts.py +40 -0
  14. tccli/services/__init__.py +6 -3
  15. tccli/services/acp/v20220105/api.json +7 -7
  16. tccli/services/acp/v20220105/examples.json +2 -2
  17. tccli/services/aiart/v20221229/api.json +29 -29
  18. tccli/services/aiart/v20221229/examples.json +8 -8
  19. tccli/services/apigateway/v20180808/api.json +18 -17
  20. tccli/services/apigateway/v20180808/examples.json +12 -12
  21. tccli/services/apm/v20210622/api.json +118 -4
  22. tccli/services/asr/v20190614/api.json +21 -20
  23. tccli/services/asr/v20190614/examples.json +13 -13
  24. tccli/services/autoscaling/v20180419/api.json +371 -309
  25. tccli/services/autoscaling/v20180419/examples.json +17 -17
  26. tccli/services/batch/v20170312/api.json +7 -7
  27. tccli/services/bda/v20200324/api.json +39 -31
  28. tccli/services/bda/v20200324/examples.json +9 -9
  29. tccli/services/bh/__init__.py +4 -0
  30. tccli/services/bh/bh_client.py +3428 -0
  31. tccli/services/bh/v20230418/api.json +8180 -0
  32. tccli/services/bh/v20230418/examples.json +519 -0
  33. tccli/services/bi/v20220105/api.json +80 -4
  34. tccli/services/bi/v20220105/examples.json +1 -1
  35. tccli/services/billing/billing_client.py +53 -0
  36. tccli/services/billing/v20180709/api.json +330 -24
  37. tccli/services/billing/v20180709/examples.json +8 -0
  38. tccli/services/bsca/v20210811/api.json +223 -18
  39. tccli/services/bsca/v20210811/examples.json +4 -4
  40. tccli/services/btoe/v20210514/api.json +4 -4
  41. tccli/services/btoe/v20210514/examples.json +2 -2
  42. tccli/services/ca/v20230228/api.json +60 -0
  43. tccli/services/cam/v20190116/api.json +11 -11
  44. tccli/services/cat/v20180409/api.json +9 -0
  45. tccli/services/cbs/v20170312/api.json +200 -188
  46. tccli/services/cbs/v20170312/examples.json +4 -4
  47. tccli/services/ccc/ccc_client.py +53 -0
  48. tccli/services/ccc/v20200210/api.json +541 -325
  49. tccli/services/ccc/v20200210/examples.json +26 -18
  50. tccli/services/cdb/cdb_client.py +13 -13
  51. tccli/services/cdb/v20170320/api.json +308 -274
  52. tccli/services/cdb/v20170320/examples.json +38 -38
  53. tccli/services/cdc/v20201214/api.json +283 -270
  54. tccli/services/cdc/v20201214/examples.json +26 -26
  55. tccli/services/cdn/v20180606/api.json +5 -3
  56. tccli/services/cds/v20180420/api.json +82 -76
  57. tccli/services/cds/v20180420/examples.json +1 -1
  58. tccli/services/cdwch/v20200915/api.json +1 -1
  59. tccli/services/cdwdoris/v20211228/api.json +54 -4
  60. tccli/services/cdz/v20221123/api.json +41 -5
  61. tccli/services/cfg/v20210820/api.json +31 -0
  62. tccli/services/cfs/v20190719/api.json +89 -1
  63. tccli/services/cfs/v20190719/examples.json +1 -1
  64. tccli/services/cfw/cfw_client.py +0 -53
  65. tccli/services/cfw/v20190904/api.json +1895 -2011
  66. tccli/services/cfw/v20190904/examples.json +175 -171
  67. tccli/services/ciam/v20220331/api.json +316 -315
  68. tccli/services/ciam/v20220331/examples.json +49 -49
  69. tccli/services/ckafka/v20190819/api.json +104 -75
  70. tccli/services/clb/v20180317/api.json +48 -26
  71. tccli/services/clb/v20180317/examples.json +1 -1
  72. tccli/services/cloudapp/v20220530/api.json +5 -1
  73. tccli/services/cloudaudit/cloudaudit_client.py +30 -30
  74. tccli/services/cloudaudit/v20190319/api.json +254 -211
  75. tccli/services/cloudaudit/v20190319/examples.json +19 -19
  76. tccli/services/cloudstudio/v20230508/api.json +38 -37
  77. tccli/services/cloudstudio/v20230508/examples.json +4 -4
  78. tccli/services/cls/cls_client.py +216 -4
  79. tccli/services/cls/v20201016/api.json +935 -147
  80. tccli/services/cls/v20201016/examples.json +43 -5
  81. tccli/services/csip/v20221121/api.json +2566 -2386
  82. tccli/services/csip/v20221121/examples.json +108 -108
  83. tccli/services/cvm/v20170312/api.json +191 -112
  84. tccli/services/cvm/v20170312/examples.json +2 -2
  85. tccli/services/cwp/cwp_client.py +4 -110
  86. tccli/services/cwp/v20180228/api.json +6498 -6252
  87. tccli/services/cwp/v20180228/examples.json +372 -412
  88. tccli/services/cynosdb/v20190107/api.json +170 -110
  89. tccli/services/cynosdb/v20190107/examples.json +91 -91
  90. tccli/services/dasb/v20191018/api.json +859 -637
  91. tccli/services/dasb/v20191018/examples.json +101 -101
  92. tccli/services/dcdb/dcdb_client.py +114 -61
  93. tccli/services/dcdb/v20180411/api.json +141 -7
  94. tccli/services/dcdb/v20180411/examples.json +32 -0
  95. tccli/services/dlc/v20210125/api.json +21 -11
  96. tccli/services/dnspod/dnspod_client.py +417 -46
  97. tccli/services/dnspod/v20210323/api.json +751 -30
  98. tccli/services/dnspod/v20210323/examples.json +62 -0
  99. tccli/services/domain/v20180808/api.json +3 -3
  100. tccli/services/domain/v20180808/examples.json +3 -3
  101. tccli/services/dts/v20211206/api.json +4 -4
  102. tccli/services/eb/v20210416/api.json +15 -15
  103. tccli/services/eb/v20210416/examples.json +1 -1
  104. tccli/services/ecm/v20190719/api.json +2 -2
  105. tccli/services/emr/v20190103/api.json +339 -114
  106. tccli/services/emr/v20190103/examples.json +64 -82
  107. tccli/services/es/es_client.py +249 -37
  108. tccli/services/es/v20180416/api.json +550 -0
  109. tccli/services/es/v20180416/examples.json +33 -1
  110. tccli/services/ess/ess_client.py +53 -0
  111. tccli/services/ess/v20201111/api.json +192 -38
  112. tccli/services/ess/v20201111/examples.json +35 -9
  113. tccli/services/essbasic/essbasic_client.py +106 -0
  114. tccli/services/essbasic/v20210526/api.json +287 -60
  115. tccli/services/essbasic/v20210526/examples.json +58 -18
  116. tccli/services/facefusion/v20181201/api.json +47 -45
  117. tccli/services/facefusion/v20181201/examples.json +2 -2
  118. tccli/services/facefusion/v20220927/api.json +54 -48
  119. tccli/services/facefusion/v20220927/examples.json +5 -5
  120. tccli/services/faceid/v20180301/api.json +497 -496
  121. tccli/services/faceid/v20180301/examples.json +219 -101
  122. tccli/services/fmu/v20191213/api.json +59 -67
  123. tccli/services/fmu/v20191213/examples.json +22 -22
  124. tccli/services/ft/v20200304/api.json +53 -57
  125. tccli/services/ft/v20200304/examples.json +14 -14
  126. tccli/services/gaap/v20180529/api.json +44 -26
  127. tccli/services/gaap/v20180529/examples.json +24 -30
  128. tccli/services/gme/v20180711/api.json +21 -11
  129. tccli/services/gme/v20180711/examples.json +1 -1
  130. tccli/services/hai/v20230812/api.json +116 -9
  131. tccli/services/hai/v20230812/examples.json +4 -4
  132. tccli/services/hunyuan/hunyuan_client.py +436 -12
  133. tccli/services/hunyuan/v20230901/api.json +1482 -118
  134. tccli/services/hunyuan/v20230901/examples.json +82 -18
  135. tccli/services/iai/v20180301/api.json +23 -19
  136. tccli/services/iai/v20180301/examples.json +2 -2
  137. tccli/services/iai/v20200303/api.json +530 -511
  138. tccli/services/iai/v20200303/examples.json +116 -86
  139. tccli/services/ig/__init__.py +4 -0
  140. tccli/services/ig/ig_client.py +195 -0
  141. tccli/services/ig/v20210518/api.json +83 -0
  142. tccli/services/ig/v20210518/examples.json +13 -0
  143. tccli/services/ioa/ioa_client.py +53 -0
  144. tccli/services/ioa/v20220601/api.json +662 -413
  145. tccli/services/ioa/v20220601/examples.json +24 -10
  146. tccli/services/iotexplorer/v20190423/api.json +73 -13
  147. tccli/services/iotexplorer/v20190423/examples.json +3 -3
  148. tccli/services/iotvideo/iotvideo_client.py +106 -0
  149. tccli/services/iotvideo/v20191126/api.json +256 -24
  150. tccli/services/iotvideo/v20191126/examples.json +19 -3
  151. tccli/services/iotvideo/v20201215/api.json +1 -1
  152. tccli/services/iotvideo/v20201215/examples.json +1 -1
  153. tccli/services/iotvideo/v20211125/api.json +1 -1
  154. tccli/services/iotvideo/v20211125/examples.json +2 -2
  155. tccli/services/iss/iss_client.py +69 -122
  156. tccli/services/iss/v20230517/api.json +10 -54
  157. tccli/services/iss/v20230517/examples.json +0 -14
  158. tccli/services/kms/v20190118/api.json +301 -268
  159. tccli/services/kms/v20190118/examples.json +45 -51
  160. tccli/services/lcic/lcic_client.py +159 -0
  161. tccli/services/lcic/v20220817/api.json +273 -1
  162. tccli/services/lcic/v20220817/examples.json +24 -0
  163. tccli/services/lighthouse/v20200324/api.json +56 -0
  164. tccli/services/live/live_client.py +159 -0
  165. tccli/services/live/v20180801/api.json +279 -9
  166. tccli/services/live/v20180801/examples.json +24 -0
  167. tccli/services/lke/v20231130/api.json +17 -17
  168. tccli/services/lke/v20231130/examples.json +19 -25
  169. tccli/services/mariadb/v20170312/api.json +7 -7
  170. tccli/services/market/v20191010/api.json +3 -3
  171. tccli/services/market/v20191010/examples.json +2 -2
  172. tccli/services/mmps/v20200710/api.json +47 -47
  173. tccli/services/mmps/v20200710/examples.json +3 -3
  174. tccli/services/mongodb/v20190725/api.json +10 -12
  175. tccli/services/monitor/v20180724/api.json +46 -19
  176. tccli/services/mps/v20190612/api.json +282 -5
  177. tccli/services/mps/v20190612/examples.json +25 -1
  178. tccli/services/mqtt/v20240516/api.json +2 -2
  179. tccli/services/mrs/v20200910/api.json +72 -34
  180. tccli/services/mrs/v20200910/examples.json +2 -2
  181. tccli/services/ms/v20180408/api.json +535 -506
  182. tccli/services/ms/v20180408/examples.json +25 -25
  183. tccli/services/oceanus/v20190422/api.json +130 -0
  184. tccli/services/ocr/ocr_client.py +232 -20
  185. tccli/services/ocr/v20181119/api.json +2263 -758
  186. tccli/services/ocr/v20181119/examples.json +200 -180
  187. tccli/services/omics/v20221128/api.json +614 -553
  188. tccli/services/omics/v20221128/examples.json +9 -9
  189. tccli/services/organization/organization_client.py +352 -34
  190. tccli/services/organization/v20210331/api.json +464 -4
  191. tccli/services/organization/v20210331/examples.json +49 -1
  192. tccli/services/partners/v20180321/api.json +244 -234
  193. tccli/services/partners/v20180321/examples.json +19 -19
  194. tccli/services/privatedns/privatedns_client.py +428 -4
  195. tccli/services/privatedns/v20201028/api.json +815 -11
  196. tccli/services/privatedns/v20201028/examples.json +64 -0
  197. tccli/services/pts/v20210728/api.json +18 -0
  198. tccli/services/pts/v20210728/examples.json +1 -1
  199. tccli/services/rce/rce_client.py +53 -0
  200. tccli/services/rce/v20201103/api.json +146 -0
  201. tccli/services/rce/v20201103/examples.json +8 -0
  202. tccli/services/redis/v20180412/api.json +42 -42
  203. tccli/services/redis/v20180412/examples.json +19 -19
  204. tccli/services/region/v20220627/api.json +1 -1
  205. tccli/services/rum/v20210622/api.json +9 -0
  206. tccli/services/scf/scf_client.py +269 -4
  207. tccli/services/scf/v20180416/api.json +569 -15
  208. tccli/services/scf/v20180416/examples.json +47 -1
  209. tccli/services/smop/v20201203/api.json +46 -42
  210. tccli/services/smop/v20201203/examples.json +2 -2
  211. tccli/services/soe/v20180724/api.json +10 -10
  212. tccli/services/sqlserver/v20180328/api.json +21 -8
  213. tccli/services/sqlserver/v20180328/examples.json +5 -5
  214. tccli/services/ssl/v20191205/api.json +98 -5
  215. tccli/services/ssm/v20190923/api.json +292 -231
  216. tccli/services/ssm/v20190923/examples.json +42 -42
  217. tccli/services/tat/v20201028/api.json +124 -122
  218. tccli/services/tat/v20201028/examples.json +24 -30
  219. tccli/services/tchd/v20230306/api.json +5 -5
  220. tccli/services/tchd/v20230306/examples.json +3 -3
  221. tccli/services/tcr/v20190924/api.json +1 -1
  222. tccli/services/tcr/v20190924/examples.json +1 -1
  223. tccli/services/tcss/v20201101/api.json +1984 -1437
  224. tccli/services/tcss/v20201101/examples.json +350 -368
  225. tccli/services/tdmq/v20200217/api.json +603 -464
  226. tccli/services/tdmq/v20200217/examples.json +105 -105
  227. tccli/services/tds/v20220801/api.json +4 -4
  228. tccli/services/tem/v20210701/api.json +429 -372
  229. tccli/services/tem/v20210701/examples.json +85 -85
  230. tccli/services/teo/teo_client.py +277 -12
  231. tccli/services/teo/v20220901/api.json +1029 -124
  232. tccli/services/teo/v20220901/examples.json +84 -8
  233. tccli/services/thpc/v20230321/api.json +5 -5
  234. tccli/services/tke/tke_client.py +270 -58
  235. tccli/services/tke/v20180525/api.json +79 -27
  236. tccli/services/tke/v20180525/examples.json +9 -1
  237. tccli/services/tke/v20220501/api.json +176 -0
  238. tccli/services/tke/v20220501/examples.json +24 -0
  239. tccli/services/tms/tms_client.py +4 -57
  240. tccli/services/tms/v20201229/api.json +0 -354
  241. tccli/services/tms/v20201229/examples.json +0 -8
  242. tccli/services/tmt/v20180321/api.json +38 -8
  243. tccli/services/trp/v20210515/api.json +86 -74
  244. tccli/services/trp/v20210515/examples.json +65 -65
  245. tccli/services/trro/v20220325/api.json +72 -71
  246. tccli/services/trro/v20220325/examples.json +8 -8
  247. tccli/services/trtc/trtc_client.py +8 -61
  248. tccli/services/trtc/v20190722/api.json +293 -52
  249. tccli/services/trtc/v20190722/examples.json +3 -11
  250. tccli/services/tse/tse_client.py +110 -4
  251. tccli/services/tse/v20201207/api.json +122 -7
  252. tccli/services/tse/v20201207/examples.json +25 -9
  253. tccli/services/vclm/v20240523/api.json +225 -82
  254. tccli/services/vclm/v20240523/examples.json +13 -19
  255. tccli/services/vod/v20180717/api.json +431 -4
  256. tccli/services/vod/v20180717/examples.json +25 -5
  257. tccli/services/vod/v20240718/api.json +11 -11
  258. tccli/services/vod/v20240718/examples.json +4 -4
  259. tccli/services/vod/vod_client.py +53 -0
  260. tccli/services/vpc/v20170312/api.json +1195 -892
  261. tccli/services/vpc/v20170312/examples.json +84 -68
  262. tccli/services/vpc/vpc_client.py +168 -62
  263. tccli/services/waf/v20180125/api.json +2611 -2187
  264. tccli/services/waf/v20180125/examples.json +224 -284
  265. tccli/services/waf/waf_client.py +225 -119
  266. tccli/services/wav/v20210129/api.json +48 -48
  267. tccli/services/wav/v20210129/examples.json +4 -4
  268. tccli/services/wedata/v20210820/api.json +1595 -25
  269. tccli/services/wedata/v20210820/examples.json +44 -4
  270. tccli/services/wedata/wedata_client.py +265 -0
  271. tccli/services/weilingwith/v20230427/api.json +6 -6
  272. tccli/services/weilingwith/v20230427/examples.json +3 -3
  273. tccli/sso.py +229 -0
  274. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +6 -2
  275. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +278 -265
  276. tccli/services/cr/__init__.py +0 -4
  277. tccli/services/cr/cr_client.py +0 -1626
  278. tccli/services/cr/v20180321/api.json +0 -2829
  279. tccli/services/cr/v20180321/examples.json +0 -235
  280. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
  281. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
  282. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -496,6 +496,7 @@
496
496
  "example": "无",
497
497
  "member": "OutputAuthorizedTransfer",
498
498
  "name": "Data",
499
+ "output_required": true,
499
500
  "type": "object",
500
501
  "value_allowed_null": false
501
502
  },
@@ -1278,7 +1279,7 @@
1278
1279
  {
1279
1280
  "disabled": false,
1280
1281
  "document": "企业ID",
1281
- "example": "1000",
1282
+ "example": "10000",
1282
1283
  "member": "uint64",
1283
1284
  "name": "CorpId",
1284
1285
  "required": false,
@@ -1287,7 +1288,7 @@
1287
1288
  {
1288
1289
  "disabled": false,
1289
1290
  "document": "商户ID",
1290
- "example": "商户ID",
1291
+ "example": "eqdmnz7020bmtvi9",
1291
1292
  "member": "string",
1292
1293
  "name": "MerchantId",
1293
1294
  "required": false,
@@ -1296,7 +1297,7 @@
1296
1297
  {
1297
1298
  "disabled": false,
1298
1299
  "document": "产品ID",
1299
- "example": "产品ID",
1300
+ "example": "tz6jpscwky41u23o9b",
1300
1301
  "member": "string",
1301
1302
  "name": "ProductId",
1302
1303
  "required": false,
@@ -1314,7 +1315,7 @@
1314
1315
  {
1315
1316
  "disabled": false,
1316
1317
  "document": "批次ID,留空时系统自动生成",
1317
- "example": "批次ID",
1318
+ "example": "\"\"",
1318
1319
  "member": "string",
1319
1320
  "name": "BatchId",
1320
1321
  "required": false,
@@ -1640,7 +1641,7 @@
1640
1641
  "example": "1000",
1641
1642
  "member": "uint64",
1642
1643
  "name": "CorpId",
1643
- "required": true,
1644
+ "output_required": true,
1644
1645
  "type": "int",
1645
1646
  "value_allowed_null": true
1646
1647
  },
@@ -1858,7 +1859,7 @@
1858
1859
  "example": "awai9jd37ne73t",
1859
1860
  "member": "string",
1860
1861
  "name": "CustomId",
1861
- "required": true,
1862
+ "output_required": true,
1862
1863
  "type": "string",
1863
1864
  "value_allowed_null": true
1864
1865
  },
@@ -1903,7 +1904,7 @@
1903
1904
  },
1904
1905
  {
1905
1906
  "disabled": false,
1906
- "document": "码包来源 0:自建, 1:第三发",
1907
+ "document": "码包来源 0:自建, 1:第三方",
1907
1908
  "example": "1",
1908
1909
  "member": "int64",
1909
1910
  "name": "CodeType",
@@ -1931,7 +1932,7 @@
1931
1932
  "example": "awai9jd37ng3de73t",
1932
1933
  "member": "string",
1933
1934
  "name": "MerchantId",
1934
- "required": true,
1935
+ "output_required": true,
1935
1936
  "type": "string",
1936
1937
  "value_allowed_null": true
1937
1938
  },
@@ -1959,7 +1960,7 @@
1959
1960
  {
1960
1961
  "disabled": false,
1961
1962
  "document": "商户ID",
1962
- "example": "商户ID",
1963
+ "example": "eqdmnz7020bmtvi9",
1963
1964
  "member": "string",
1964
1965
  "name": "MerchantId",
1965
1966
  "required": true,
@@ -2004,7 +2005,7 @@
2004
2005
  {
2005
2006
  "disabled": false,
2006
2007
  "document": "企业ID",
2007
- "example": "0",
2008
+ "example": "10000",
2008
2009
  "member": "uint64",
2009
2010
  "name": "CorpId",
2010
2011
  "required": false,
@@ -2031,7 +2032,7 @@
2031
2032
  "example": "tz6jpscwky41u23o9b",
2032
2033
  "member": "string",
2033
2034
  "name": "ProductId",
2034
- "required": true,
2035
+ "output_required": true,
2035
2036
  "type": "string",
2036
2037
  "value_allowed_null": true
2037
2038
  },
@@ -2077,7 +2078,7 @@
2077
2078
  "example": "abc",
2078
2079
  "member": "string",
2079
2080
  "name": "TraceId",
2080
- "required": true,
2081
+ "output_required": true,
2081
2082
  "type": "string",
2082
2083
  "value_allowed_null": false
2083
2084
  },
@@ -2132,7 +2133,7 @@
2132
2133
  "example": "batchid",
2133
2134
  "member": "string",
2134
2135
  "name": "BatchId",
2135
- "required": true,
2136
+ "output_required": true,
2136
2137
  "type": "string",
2137
2138
  "value_allowed_null": true
2138
2139
  },
@@ -2205,6 +2206,7 @@
2205
2206
  "example": "abc",
2206
2207
  "member": "string",
2207
2208
  "name": "BatchId",
2209
+ "output_required": true,
2208
2210
  "type": "string",
2209
2211
  "value_allowed_null": false
2210
2212
  },
@@ -2214,6 +2216,7 @@
2214
2216
  "example": "1",
2215
2217
  "member": "uint64",
2216
2218
  "name": "ActiveCnt",
2219
+ "output_required": true,
2217
2220
  "type": "int",
2218
2221
  "value_allowed_null": false
2219
2222
  },
@@ -2223,6 +2226,7 @@
2223
2226
  "example": "1",
2224
2227
  "member": "uint64",
2225
2228
  "name": "CodeCnt",
2229
+ "output_required": true,
2226
2230
  "type": "int",
2227
2231
  "value_allowed_null": false
2228
2232
  },
@@ -2349,7 +2353,7 @@
2349
2353
  "example": "abc",
2350
2354
  "member": "string",
2351
2355
  "name": "TraceId",
2352
- "required": true,
2356
+ "output_required": true,
2353
2357
  "type": "string",
2354
2358
  "value_allowed_null": false
2355
2359
  },
@@ -2464,7 +2468,7 @@
2464
2468
  {
2465
2469
  "disabled": false,
2466
2470
  "document": "企业ID",
2467
- "example": "1000",
2471
+ "example": "10000",
2468
2472
  "member": "uint64",
2469
2473
  "name": "CorpId",
2470
2474
  "required": false,
@@ -2473,7 +2477,7 @@
2473
2477
  {
2474
2478
  "disabled": false,
2475
2479
  "document": "批次ID",
2476
- "example": "ccc",
2480
+ "example": "20121212000001",
2477
2481
  "member": "string",
2478
2482
  "name": "BatchId",
2479
2483
  "required": false,
@@ -2488,10 +2492,10 @@
2488
2492
  {
2489
2493
  "disabled": false,
2490
2494
  "document": "批次ID",
2491
- "example": "abc",
2495
+ "example": "20121212000001",
2492
2496
  "member": "string",
2493
2497
  "name": "BatchId",
2494
- "required": true,
2498
+ "output_required": true,
2495
2499
  "type": "string",
2496
2500
  "value_allowed_null": false
2497
2501
  },
@@ -2537,7 +2541,7 @@
2537
2541
  "example": "\"awai9jd37ng3de7p3t\"",
2538
2542
  "member": "string",
2539
2543
  "name": "MerchantId",
2540
- "required": true,
2544
+ "output_required": true,
2541
2545
  "type": "string",
2542
2546
  "value_allowed_null": true
2543
2547
  },
@@ -2629,7 +2633,7 @@
2629
2633
  "example": "\"awai9jd37ng3de7p3t\"",
2630
2634
  "member": "string",
2631
2635
  "name": "TraceId",
2632
- "required": true,
2636
+ "output_required": true,
2633
2637
  "type": "string",
2634
2638
  "value_allowed_null": true
2635
2639
  },
@@ -2729,7 +2733,7 @@
2729
2733
  "example": "无",
2730
2734
  "member": "CodeBatch",
2731
2735
  "name": "CodeBatch",
2732
- "required": true,
2736
+ "output_required": true,
2733
2737
  "type": "object",
2734
2738
  "value_allowed_null": false
2735
2739
  },
@@ -2748,7 +2752,7 @@
2748
2752
  {
2749
2753
  "disabled": false,
2750
2754
  "document": "查询商户ID",
2751
- "example": "商户ID",
2755
+ "example": "eqdmnz7020bmtvi9",
2752
2756
  "member": "string",
2753
2757
  "name": "MerchantId",
2754
2758
  "required": false,
@@ -2757,7 +2761,7 @@
2757
2761
  {
2758
2762
  "disabled": false,
2759
2763
  "document": "查询商品ID",
2760
- "example": "商品ID",
2764
+ "example": "tz6jpscwky41u23o9b",
2761
2765
  "member": "string",
2762
2766
  "name": "ProductId",
2763
2767
  "required": false,
@@ -2793,7 +2797,7 @@
2793
2797
  {
2794
2798
  "disabled": false,
2795
2799
  "document": "批次类型 0:溯源 1:营销",
2796
- "example": "",
2800
+ "example": "0",
2797
2801
  "member": "string",
2798
2802
  "name": "BatchType",
2799
2803
  "required": false,
@@ -2802,7 +2806,7 @@
2802
2806
  {
2803
2807
  "disabled": false,
2804
2808
  "document": "企业ID",
2805
- "example": "0",
2809
+ "example": "10000",
2806
2810
  "member": "uint64",
2807
2811
  "name": "CorpId",
2808
2812
  "required": false,
@@ -2810,7 +2814,7 @@
2810
2814
  },
2811
2815
  {
2812
2816
  "disabled": false,
2813
- "document": "批次状态",
2817
+ "document": "批次状态 0: 未激活 1: 已激活 -1: 已冻结",
2814
2818
  "example": "1",
2815
2819
  "member": "uint64",
2816
2820
  "name": "Status",
@@ -3080,7 +3084,7 @@
3080
3084
  {
3081
3085
  "disabled": false,
3082
3086
  "document": "每页数量",
3083
- "example": "7999",
3087
+ "example": "10",
3084
3088
  "member": "uint64",
3085
3089
  "name": "PageSize",
3086
3090
  "required": false,
@@ -3089,7 +3093,7 @@
3089
3093
  {
3090
3094
  "disabled": false,
3091
3095
  "document": "页数",
3092
- "example": "7999",
3096
+ "example": "1",
3093
3097
  "member": "uint64",
3094
3098
  "name": "PageNumber",
3095
3099
  "required": false,
@@ -3116,7 +3120,7 @@
3116
3120
  {
3117
3121
  "disabled": false,
3118
3122
  "document": "是否有流水码 0:无 1:有",
3119
- "example": "number",
3123
+ "example": "0",
3120
3124
  "member": "uint64",
3121
3125
  "name": "SerialType",
3122
3126
  "required": false,
@@ -3125,7 +3129,7 @@
3125
3129
  {
3126
3130
  "disabled": false,
3127
3131
  "document": "资源类型 batch:批次, order_in 入库, order_out: 出入",
3128
- "example": "",
3132
+ "example": "batch",
3129
3133
  "member": "string",
3130
3134
  "name": "ResType",
3131
3135
  "required": false,
@@ -3134,7 +3138,7 @@
3134
3138
  {
3135
3139
  "disabled": false,
3136
3140
  "document": "资源ID ResType是 batch 时对应是批次ID, 是 order_in, order_out时,则是订单ID",
3137
- "example": "",
3141
+ "example": "20121212000001",
3138
3142
  "member": "string",
3139
3143
  "name": "ResId",
3140
3144
  "required": false,
@@ -3177,7 +3181,7 @@
3177
3181
  {
3178
3182
  "disabled": false,
3179
3183
  "document": "总数\n注意:此字段可能返回 null,表示取不到有效值。",
3180
- "example": "131",
3184
+ "example": "10",
3181
3185
  "member": "uint64",
3182
3186
  "name": "TotalCount",
3183
3187
  "output_required": true,
@@ -3290,7 +3294,7 @@
3290
3294
  "example": "[]",
3291
3295
  "member": "CorpQuota",
3292
3296
  "name": "CorpQuotas",
3293
- "required": true,
3297
+ "output_required": true,
3294
3298
  "type": "list",
3295
3299
  "value_allowed_null": true
3296
3300
  },
@@ -3300,7 +3304,7 @@
3300
3304
  "example": "22",
3301
3305
  "member": "uint64",
3302
3306
  "name": "Total",
3303
- "required": true,
3307
+ "output_required": true,
3304
3308
  "type": "int",
3305
3309
  "value_allowed_null": true
3306
3310
  },
@@ -3328,7 +3332,7 @@
3328
3332
  {
3329
3333
  "disabled": false,
3330
3334
  "document": "企业ID",
3331
- "example": "0",
3335
+ "example": "10000",
3332
3336
  "member": "uint64",
3333
3337
  "name": "CorpId",
3334
3338
  "required": false,
@@ -3346,7 +3350,7 @@
3346
3350
  "example": "无",
3347
3351
  "member": "CustomRule",
3348
3352
  "name": "CustomRule",
3349
- "required": true,
3353
+ "output_required": true,
3350
3354
  "type": "object",
3351
3355
  "value_allowed_null": true
3352
3356
  },
@@ -3428,7 +3432,7 @@
3428
3432
  "example": "无",
3429
3433
  "member": "CustomRule",
3430
3434
  "name": "CustomRules",
3431
- "required": true,
3435
+ "output_required": true,
3432
3436
  "type": "list",
3433
3437
  "value_allowed_null": true
3434
3438
  },
@@ -3438,7 +3442,7 @@
3438
3442
  "example": "10",
3439
3443
  "member": "uint64",
3440
3444
  "name": "TotalCount",
3441
- "required": true,
3445
+ "output_required": true,
3442
3446
  "type": "int",
3443
3447
  "value_allowed_null": true
3444
3448
  },
@@ -3530,7 +3534,7 @@
3530
3534
  "example": "无",
3531
3535
  "member": "Merchant",
3532
3536
  "name": "Merchant",
3533
- "required": true,
3537
+ "output_required": true,
3534
3538
  "type": "object",
3535
3539
  "value_allowed_null": true
3536
3540
  },
@@ -3576,7 +3580,7 @@
3576
3580
  {
3577
3581
  "disabled": false,
3578
3582
  "document": "企业ID",
3579
- "example": "0",
3583
+ "example": "10000",
3580
3584
  "member": "uint64",
3581
3585
  "name": "CorpId",
3582
3586
  "required": false,
@@ -3603,7 +3607,7 @@
3603
3607
  "example": "无",
3604
3608
  "member": "Merchant",
3605
3609
  "name": "Merchants",
3606
- "required": true,
3610
+ "output_required": true,
3607
3611
  "type": "list",
3608
3612
  "value_allowed_null": true
3609
3613
  },
@@ -3613,7 +3617,7 @@
3613
3617
  "example": "10",
3614
3618
  "member": "uint64",
3615
3619
  "name": "TotalCount",
3616
- "required": true,
3620
+ "output_required": true,
3617
3621
  "type": "int",
3618
3622
  "value_allowed_null": true
3619
3623
  },
@@ -3836,7 +3840,7 @@
3836
3840
  "example": "无",
3837
3841
  "member": "Product",
3838
3842
  "name": "Product",
3839
- "required": true,
3843
+ "output_required": true,
3840
3844
  "type": "object",
3841
3845
  "value_allowed_null": true
3842
3846
  },
@@ -4194,6 +4198,7 @@
4194
4198
  "example": "无",
4195
4199
  "member": "ScanStat",
4196
4200
  "name": "ScanStats",
4201
+ "output_required": true,
4197
4202
  "type": "list",
4198
4203
  "value_allowed_null": false
4199
4204
  },
@@ -4230,6 +4235,7 @@
4230
4235
  "example": "AbXtx",
4231
4236
  "member": "string",
4232
4237
  "name": "Token",
4238
+ "output_required": true,
4233
4239
  "type": "string",
4234
4240
  "value_allowed_null": true
4235
4241
  },
@@ -4275,6 +4281,7 @@
4275
4281
  "example": "无",
4276
4282
  "member": "TraceCode",
4277
4283
  "name": "TraceCode",
4284
+ "output_required": true,
4278
4285
  "type": "object",
4279
4286
  "value_allowed_null": false
4280
4287
  },
@@ -4284,6 +4291,7 @@
4284
4291
  "example": "无",
4285
4292
  "member": "string",
4286
4293
  "name": "CodePath",
4294
+ "output_required": true,
4287
4295
  "type": "list",
4288
4296
  "value_allowed_null": false
4289
4297
  },
@@ -4412,7 +4420,7 @@
4412
4420
  "example": "无",
4413
4421
  "member": "TraceData",
4414
4422
  "name": "TraceData",
4415
- "required": true,
4423
+ "output_required": true,
4416
4424
  "type": "object",
4417
4425
  "value_allowed_null": false
4418
4426
  },
@@ -4466,7 +4474,7 @@
4466
4474
  },
4467
4475
  {
4468
4476
  "disabled": false,
4469
- "document": "二维码",
4477
+ "document": "溯源码",
4470
4478
  "example": "xfetmgoiky2nms6nk8",
4471
4479
  "member": "string",
4472
4480
  "name": "Code",
@@ -4499,21 +4507,21 @@
4499
4507
  "members": [
4500
4508
  {
4501
4509
  "disabled": false,
4502
- "document": "数量",
4510
+ "document": "溯源阶段数量",
4503
4511
  "example": "10",
4504
4512
  "member": "uint64",
4505
4513
  "name": "TotalCount",
4506
- "required": true,
4514
+ "output_required": true,
4507
4515
  "type": "int",
4508
4516
  "value_allowed_null": false
4509
4517
  },
4510
4518
  {
4511
4519
  "disabled": false,
4512
- "document": "",
4520
+ "document": "溯源明细",
4513
4521
  "example": "无",
4514
4522
  "member": "TraceData",
4515
4523
  "name": "TraceDataList",
4516
- "required": true,
4524
+ "output_required": true,
4517
4525
  "type": "list",
4518
4526
  "value_allowed_null": false
4519
4527
  },
@@ -4550,6 +4558,7 @@
4550
4558
  "example": "无",
4551
4559
  "member": "OutputAuthorizedTransfer",
4552
4560
  "name": "Data",
4561
+ "output_required": true,
4553
4562
  "type": "object",
4554
4563
  "value_allowed_null": false
4555
4564
  },
@@ -4768,7 +4777,7 @@
4768
4777
  {
4769
4778
  "disabled": false,
4770
4779
  "document": "批次ID",
4771
- "example": "abc",
4780
+ "example": "20121212000001",
4772
4781
  "member": "string",
4773
4782
  "name": "BatchId",
4774
4783
  "required": true,
@@ -4777,7 +4786,7 @@
4777
4786
  {
4778
4787
  "disabled": false,
4779
4788
  "document": "企业ID",
4780
- "example": "1",
4789
+ "example": "10000",
4781
4790
  "member": "uint64",
4782
4791
  "name": "CorpId",
4783
4792
  "required": false,
@@ -4795,7 +4804,7 @@
4795
4804
  {
4796
4805
  "disabled": false,
4797
4806
  "document": "模板ID,或者活动ID",
4798
- "example": "abc",
4807
+ "example": "模板ID",
4799
4808
  "member": "string",
4800
4809
  "name": "MpTpl",
4801
4810
  "required": false,
@@ -4804,7 +4813,7 @@
4804
4813
  {
4805
4814
  "disabled": false,
4806
4815
  "document": "商户ID",
4807
- "example": "1",
4816
+ "example": "eqdmnz7020bmtvi9",
4808
4817
  "member": "string",
4809
4818
  "name": "MerchantId",
4810
4819
  "required": false,
@@ -4813,7 +4822,7 @@
4813
4822
  {
4814
4823
  "disabled": false,
4815
4824
  "document": "商品ID",
4816
- "example": "1",
4825
+ "example": "tz6jpscwky41u23o9b",
4817
4826
  "member": "string",
4818
4827
  "name": "ProductId",
4819
4828
  "required": false,
@@ -4822,7 +4831,7 @@
4822
4831
  {
4823
4832
  "disabled": false,
4824
4833
  "document": "备注",
4825
- "example": "abc",
4834
+ "example": "备注",
4826
4835
  "member": "string",
4827
4836
  "name": "Remark",
4828
4837
  "required": false,
@@ -4840,7 +4849,7 @@
4840
4849
  {
4841
4850
  "disabled": false,
4842
4851
  "document": "有效期",
4843
- "example": "2023-05-01",
4852
+ "example": "2022-11-12",
4844
4853
  "member": "string",
4845
4854
  "name": "ValidDate",
4846
4855
  "required": false,
@@ -4849,7 +4858,7 @@
4849
4858
  {
4850
4859
  "disabled": false,
4851
4860
  "document": "生产日期",
4852
- "example": "2023-05-01",
4861
+ "example": "2022-05-12",
4853
4862
  "member": "string",
4854
4863
  "name": "ProductionDate",
4855
4864
  "required": false,
@@ -4867,6 +4876,7 @@
4867
4876
  "example": "abc",
4868
4877
  "member": "string",
4869
4878
  "name": "BatchId",
4879
+ "output_required": true,
4870
4880
  "type": "string",
4871
4881
  "value_allowed_null": false
4872
4882
  },
@@ -4939,7 +4949,7 @@
4939
4949
  "example": "awai9jd37ne73t",
4940
4950
  "member": "string",
4941
4951
  "name": "CustomId",
4942
- "required": true,
4952
+ "output_required": true,
4943
4953
  "type": "string",
4944
4954
  "value_allowed_null": true
4945
4955
  },
@@ -4994,7 +5004,7 @@
4994
5004
  "example": "awai9jd37ne73t",
4995
5005
  "member": "string",
4996
5006
  "name": "CustomId",
4997
- "required": true,
5007
+ "output_required": true,
4998
5008
  "type": "string",
4999
5009
  "value_allowed_null": true
5000
5010
  },
@@ -5048,7 +5058,7 @@
5048
5058
  },
5049
5059
  {
5050
5060
  "disabled": false,
5051
- "document": "码包来源 0:自建, 1:第三码包,暂不支持修改",
5061
+ "document": "码包来源 0:自建, 1:第三方码包,暂不支持修改",
5052
5062
  "example": "0",
5053
5063
  "member": "int64",
5054
5064
  "name": "CodeType",
@@ -5076,7 +5086,7 @@
5076
5086
  "example": "awai9jd37ng3de7p3t",
5077
5087
  "member": "string",
5078
5088
  "name": "MerchantId",
5079
- "required": true,
5089
+ "output_required": true,
5080
5090
  "type": "string",
5081
5091
  "value_allowed_null": true
5082
5092
  },
@@ -5131,7 +5141,7 @@
5131
5141
  {
5132
5142
  "disabled": false,
5133
5143
  "document": "商品图片",
5134
- "example": "[]",
5144
+ "example": "[\"http://xxx.xxx.com/logo.png\"]",
5135
5145
  "member": "string",
5136
5146
  "name": "Logo",
5137
5147
  "required": false,
@@ -5167,7 +5177,7 @@
5167
5177
  "example": "85tfp1sn78r9m1568i",
5168
5178
  "member": "string",
5169
5179
  "name": "ProductId",
5170
- "required": true,
5180
+ "output_required": true,
5171
5181
  "type": "string",
5172
5182
  "value_allowed_null": true
5173
5183
  },
@@ -5351,7 +5361,7 @@
5351
5361
  "example": "abc",
5352
5362
  "member": "string",
5353
5363
  "name": "BatchId",
5354
- "required": true,
5364
+ "output_required": true,
5355
5365
  "type": "string",
5356
5366
  "value_allowed_null": true
5357
5367
  },
@@ -5532,6 +5542,7 @@
5532
5542
  "example": "abc",
5533
5543
  "member": "string",
5534
5544
  "name": "TraceId",
5545
+ "output_required": true,
5535
5546
  "type": "string",
5536
5547
  "value_allowed_null": false
5537
5548
  },
@@ -6317,6 +6328,7 @@
6317
6328
  "example": "无",
6318
6329
  "member": "OutputAuthorizedTransfer",
6319
6330
  "name": "Data",
6331
+ "output_required": true,
6320
6332
  "type": "object",
6321
6333
  "value_allowed_null": false
6322
6334
  },
@@ -7108,7 +7120,7 @@
7108
7120
  "example": "1",
7109
7121
  "member": "uint64",
7110
7122
  "name": "CorpId",
7111
- "required": true,
7123
+ "output_required": true,
7112
7124
  "type": "int",
7113
7125
  "value_allowed_null": true
7114
7126
  },
@@ -7118,7 +7130,7 @@
7118
7130
  "example": "10",
7119
7131
  "member": "int64",
7120
7132
  "name": "FactoryCnt",
7121
- "required": true,
7133
+ "output_required": true,
7122
7134
  "type": "int",
7123
7135
  "value_allowed_null": true
7124
7136
  },
@@ -7128,7 +7140,7 @@
7128
7140
  "example": "10",
7129
7141
  "member": "int64",
7130
7142
  "name": "ItemCnt",
7131
- "required": true,
7143
+ "output_required": true,
7132
7144
  "type": "int",
7133
7145
  "value_allowed_null": true
7134
7146
  },
@@ -7138,7 +7150,7 @@
7138
7150
  "example": "10",
7139
7151
  "member": "int64",
7140
7152
  "name": "TrackCnt",
7141
- "required": true,
7153
+ "output_required": true,
7142
7154
  "type": "int",
7143
7155
  "value_allowed_null": true
7144
7156
  },
@@ -7148,7 +7160,7 @@
7148
7160
  "example": "10",
7149
7161
  "member": "int64",
7150
7162
  "name": "SaleCnt",
7151
- "required": true,
7163
+ "output_required": true,
7152
7164
  "type": "int",
7153
7165
  "value_allowed_null": true
7154
7166
  },
@@ -7158,17 +7170,17 @@
7158
7170
  "example": "10",
7159
7171
  "member": "int64",
7160
7172
  "name": "ChainCnt",
7161
- "required": true,
7173
+ "output_required": true,
7162
7174
  "type": "int",
7163
7175
  "value_allowed_null": true
7164
7176
  },
7165
7177
  {
7166
- "disabled": false,
7167
- "document": "营销风控次数\n注意:此字段可能返回 null,表示取不到有效值。",
7178
+ "disabled": true,
7179
+ "document": "风险检测次数\n注意:此字段可能返回 null,表示取不到有效值。",
7168
7180
  "example": "10",
7169
7181
  "member": "int64",
7170
7182
  "name": "RiskCnt",
7171
- "required": true,
7183
+ "output_required": true,
7172
7184
  "type": "int",
7173
7185
  "value_allowed_null": true
7174
7186
  },
@@ -7178,7 +7190,7 @@
7178
7190
  "example": "2020-05-20",
7179
7191
  "member": "string",
7180
7192
  "name": "UpdateTime",
7181
- "required": true,
7193
+ "output_required": true,
7182
7194
  "type": "string",
7183
7195
  "value_allowed_null": true
7184
7196
  }