tccli 3.0.1028.1__py2.py3-none-any.whl → 3.0.1030.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/examples/asr/v20190614/CreateAsyncRecognitionTask.md +1 -1
- tccli/examples/ccc/v20200210/CreateCarrierPrivilegeNumberApplicant.md +5 -1
- tccli/examples/ccc/v20200210/DescribeAutoCalloutTask.md +7 -4
- tccli/examples/ccc/v20200210/DescribeAutoCalloutTasks.md +3 -3
- tccli/examples/ccc/v20200210/DescribeCarrierPrivilegeNumberApplicants.md +4 -1
- tccli/examples/ccc/v20200210/DescribeChatMessages.md +27 -2
- tccli/examples/ccc/v20200210/DescribeExtensions.md +2 -2
- tccli/examples/ccc/v20200210/DescribePSTNActiveSessionList.md +2 -2
- tccli/examples/ccc/v20200210/DescribeProtectedTelCdr.md +2 -0
- tccli/examples/ccc/v20200210/DescribeSkillGroupInfoList.md +1 -0
- tccli/examples/ccc/v20200210/DescribeTelCdr.md +2 -0
- tccli/examples/cvm/v20170312/InquiryPriceTerminateInstances.md +2 -1
- tccli/examples/cvm/v20170312/ModifyInstanceDiskType.md +1 -1
- tccli/examples/ocr/v20181119/VatInvoiceVerifyNew.md +56 -0
- tccli/examples/tdmq/v20200217/DescribeNamespaceBundlesOpt.md +1 -23
- tccli/examples/teo/v20220901/ModifyAccelerationDomainStatuses.md +1 -1
- tccli/examples/tione/v20211111/DescribeBillingResourceGroups.md +72 -22
- tccli/examples/trp/v20210515/DescribePlanQRCodeScanRecords.md +36 -0
- tccli/examples/vod/v20180717/EnhanceMediaQuality.md +22 -0
- tccli/services/ams/v20201229/api.json +143 -2
- tccli/services/asr/v20190614/api.json +1 -1
- tccli/services/asr/v20190614/examples.json +1 -1
- tccli/services/bi/v20220105/api.json +10 -0
- tccli/services/ccc/v20200210/api.json +88 -74
- tccli/services/ccc/v20200210/examples.json +11 -11
- tccli/services/cdb/v20170320/api.json +45 -24
- tccli/services/cdwdoris/v20211228/api.json +10 -0
- tccli/services/cvm/v20170312/api.json +23 -21
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/dlc/v20210125/api.json +7 -4
- tccli/services/dnspod/v20210323/api.json +10 -0
- tccli/services/dts/v20211206/api.json +5 -1
- tccli/services/ess/v20201111/api.json +69 -69
- tccli/services/essbasic/v20210526/api.json +13 -13
- tccli/services/essbasic/v20210526/examples.json +1 -1
- tccli/services/faceid/v20180301/api.json +62 -0
- tccli/services/lcic/v20220817/api.json +13 -4
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/ocr/v20181119/api.json +548 -10
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/redis/v20180412/api.json +27 -15
- tccli/services/tag/v20180813/api.json +14 -14
- tccli/services/tdmq/v20200217/api.json +2 -15
- tccli/services/tdmq/v20200217/examples.json +1 -1
- tccli/services/teo/v20220901/examples.json +1 -1
- tccli/services/tione/v20211111/api.json +18 -18
- tccli/services/tione/v20211111/examples.json +2 -2
- tccli/services/trp/trp_client.py +69 -16
- tccli/services/trp/v20210515/api.json +207 -22
- tccli/services/trp/v20210515/examples.json +8 -0
- tccli/services/vm/v20210922/api.json +141 -0
- tccli/services/vod/v20180717/api.json +131 -0
- tccli/services/vod/v20180717/examples.json +8 -0
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +8 -8
- {tccli-3.0.1028.1.dist-info → tccli-3.0.1030.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1028.1.dist-info → tccli-3.0.1030.1.dist-info}/RECORD +61 -59
- {tccli-3.0.1028.1.dist-info → tccli-3.0.1030.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1028.1.dist-info → tccli-3.0.1030.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1028.1.dist-info → tccli-3.0.1030.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/trp/trp_client.py
CHANGED
@@ -225,7 +225,7 @@ def doAuthorizedTransfer(args, parsed_globals):
|
|
225
225
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
226
226
|
|
227
227
|
|
228
|
-
def
|
228
|
+
def doDescribeCustomRuleById(args, parsed_globals):
|
229
229
|
g_param = parse_global_arg(parsed_globals)
|
230
230
|
|
231
231
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -254,11 +254,11 @@ def doModifyProduct(args, parsed_globals):
|
|
254
254
|
client = mod.TrpClient(cred, g_param[OptionsDefine.Region], profile)
|
255
255
|
client._sdkVersion += ("_CLI_" + __version__)
|
256
256
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
257
|
-
model = models.
|
257
|
+
model = models.DescribeCustomRuleByIdRequest()
|
258
258
|
model.from_json_string(json.dumps(args))
|
259
259
|
start_time = time.time()
|
260
260
|
while True:
|
261
|
-
rsp = client.
|
261
|
+
rsp = client.DescribeCustomRuleById(model)
|
262
262
|
result = rsp.to_json_string()
|
263
263
|
try:
|
264
264
|
json_obj = json.loads(result)
|
@@ -953,7 +953,7 @@ def doDescribeCodeBatches(args, parsed_globals):
|
|
953
953
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
954
954
|
|
955
955
|
|
956
|
-
def
|
956
|
+
def doModifyProduct(args, parsed_globals):
|
957
957
|
g_param = parse_global_arg(parsed_globals)
|
958
958
|
|
959
959
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -982,11 +982,11 @@ def doDescribeCustomRuleById(args, parsed_globals):
|
|
982
982
|
client = mod.TrpClient(cred, g_param[OptionsDefine.Region], profile)
|
983
983
|
client._sdkVersion += ("_CLI_" + __version__)
|
984
984
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
985
|
-
model = models.
|
985
|
+
model = models.ModifyProductRequest()
|
986
986
|
model.from_json_string(json.dumps(args))
|
987
987
|
start_time = time.time()
|
988
988
|
while True:
|
989
|
-
rsp = client.
|
989
|
+
rsp = client.ModifyProduct(model)
|
990
990
|
result = rsp.to_json_string()
|
991
991
|
try:
|
992
992
|
json_obj = json.loads(result)
|
@@ -1265,7 +1265,7 @@ def doDeleteProduct(args, parsed_globals):
|
|
1265
1265
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1266
1266
|
|
1267
1267
|
|
1268
|
-
def
|
1268
|
+
def doCreateTraceChain(args, parsed_globals):
|
1269
1269
|
g_param = parse_global_arg(parsed_globals)
|
1270
1270
|
|
1271
1271
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1294,11 +1294,11 @@ def doCreateCodeBatch(args, parsed_globals):
|
|
1294
1294
|
client = mod.TrpClient(cred, g_param[OptionsDefine.Region], profile)
|
1295
1295
|
client._sdkVersion += ("_CLI_" + __version__)
|
1296
1296
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1297
|
-
model = models.
|
1297
|
+
model = models.CreateTraceChainRequest()
|
1298
1298
|
model.from_json_string(json.dumps(args))
|
1299
1299
|
start_time = time.time()
|
1300
1300
|
while True:
|
1301
|
-
rsp = client.
|
1301
|
+
rsp = client.CreateTraceChain(model)
|
1302
1302
|
result = rsp.to_json_string()
|
1303
1303
|
try:
|
1304
1304
|
json_obj = json.loads(result)
|
@@ -1889,7 +1889,7 @@ def doModifyMerchant(args, parsed_globals):
|
|
1889
1889
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1890
1890
|
|
1891
1891
|
|
1892
|
-
def
|
1892
|
+
def doDescribePlanQRCodeScanRecords(args, parsed_globals):
|
1893
1893
|
g_param = parse_global_arg(parsed_globals)
|
1894
1894
|
|
1895
1895
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1918,11 +1918,11 @@ def doCreateTraceChain(args, parsed_globals):
|
|
1918
1918
|
client = mod.TrpClient(cred, g_param[OptionsDefine.Region], profile)
|
1919
1919
|
client._sdkVersion += ("_CLI_" + __version__)
|
1920
1920
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1921
|
-
model = models.
|
1921
|
+
model = models.DescribePlanQRCodeScanRecordsRequest()
|
1922
1922
|
model.from_json_string(json.dumps(args))
|
1923
1923
|
start_time = time.time()
|
1924
1924
|
while True:
|
1925
|
-
rsp = client.
|
1925
|
+
rsp = client.DescribePlanQRCodeScanRecords(model)
|
1926
1926
|
result = rsp.to_json_string()
|
1927
1927
|
try:
|
1928
1928
|
json_obj = json.loads(result)
|
@@ -2565,6 +2565,58 @@ def doModifyCodeBatch(args, parsed_globals):
|
|
2565
2565
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2566
2566
|
|
2567
2567
|
|
2568
|
+
def doCreateCodeBatch(args, parsed_globals):
|
2569
|
+
g_param = parse_global_arg(parsed_globals)
|
2570
|
+
|
2571
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2572
|
+
cred = credential.CVMRoleCredential()
|
2573
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2574
|
+
cred = credential.STSAssumeRoleCredential(
|
2575
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2576
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
2577
|
+
)
|
2578
|
+
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):
|
2579
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2580
|
+
else:
|
2581
|
+
cred = credential.Credential(
|
2582
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2583
|
+
)
|
2584
|
+
http_profile = HttpProfile(
|
2585
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2586
|
+
reqMethod="POST",
|
2587
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2588
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2589
|
+
)
|
2590
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2591
|
+
if g_param[OptionsDefine.Language]:
|
2592
|
+
profile.language = g_param[OptionsDefine.Language]
|
2593
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2594
|
+
client = mod.TrpClient(cred, g_param[OptionsDefine.Region], profile)
|
2595
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2596
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2597
|
+
model = models.CreateCodeBatchRequest()
|
2598
|
+
model.from_json_string(json.dumps(args))
|
2599
|
+
start_time = time.time()
|
2600
|
+
while True:
|
2601
|
+
rsp = client.CreateCodeBatch(model)
|
2602
|
+
result = rsp.to_json_string()
|
2603
|
+
try:
|
2604
|
+
json_obj = json.loads(result)
|
2605
|
+
except TypeError as e:
|
2606
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2607
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2608
|
+
break
|
2609
|
+
cur_time = time.time()
|
2610
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2611
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2612
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2613
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2614
|
+
else:
|
2615
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2616
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2617
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2618
|
+
|
2619
|
+
|
2568
2620
|
def doDescribeMerchants(args, parsed_globals):
|
2569
2621
|
g_param = parse_global_arg(parsed_globals)
|
2570
2622
|
|
@@ -2736,7 +2788,7 @@ ACTION_MAP = {
|
|
2736
2788
|
"DescribeCustomRules": doDescribeCustomRules,
|
2737
2789
|
"DescribeTraceCodes": doDescribeTraceCodes,
|
2738
2790
|
"AuthorizedTransfer": doAuthorizedTransfer,
|
2739
|
-
"
|
2791
|
+
"DescribeCustomRuleById": doDescribeCustomRuleById,
|
2740
2792
|
"CreateTraceCodesAsync": doCreateTraceCodesAsync,
|
2741
2793
|
"DescribeCodeBatchById": doDescribeCodeBatchById,
|
2742
2794
|
"ModifyTraceDataRanks": doModifyTraceDataRanks,
|
@@ -2750,13 +2802,13 @@ ACTION_MAP = {
|
|
2750
2802
|
"ModifyCustomRule": doModifyCustomRule,
|
2751
2803
|
"ModifyTraceData": doModifyTraceData,
|
2752
2804
|
"DescribeCodeBatches": doDescribeCodeBatches,
|
2753
|
-
"
|
2805
|
+
"ModifyProduct": doModifyProduct,
|
2754
2806
|
"ModifyCustomRuleStatus": doModifyCustomRuleStatus,
|
2755
2807
|
"DescribeProductById": doDescribeProductById,
|
2756
2808
|
"DescribeTmpToken": doDescribeTmpToken,
|
2757
2809
|
"DescribeAgentCorps": doDescribeAgentCorps,
|
2758
2810
|
"DeleteProduct": doDeleteProduct,
|
2759
|
-
"
|
2811
|
+
"CreateTraceChain": doCreateTraceChain,
|
2760
2812
|
"CreateCustomPack": doCreateCustomPack,
|
2761
2813
|
"DescribeTraceDataById": doDescribeTraceDataById,
|
2762
2814
|
"CreateCorporationOrder": doCreateCorporationOrder,
|
@@ -2768,7 +2820,7 @@ ACTION_MAP = {
|
|
2768
2820
|
"CreateMerchant": doCreateMerchant,
|
2769
2821
|
"DeleteCodeBatch": doDeleteCodeBatch,
|
2770
2822
|
"ModifyMerchant": doModifyMerchant,
|
2771
|
-
"
|
2823
|
+
"DescribePlanQRCodeScanRecords": doDescribePlanQRCodeScanRecords,
|
2772
2824
|
"EffectFeedback": doEffectFeedback,
|
2773
2825
|
"DescribeCodePackUrl": doDescribeCodePackUrl,
|
2774
2826
|
"CreateTraceCodes": doCreateTraceCodes,
|
@@ -2781,6 +2833,7 @@ ACTION_MAP = {
|
|
2781
2833
|
"DescribeCodePacks": doDescribeCodePacks,
|
2782
2834
|
"DescribeScanLogs": doDescribeScanLogs,
|
2783
2835
|
"ModifyCodeBatch": doModifyCodeBatch,
|
2836
|
+
"CreateCodeBatch": doCreateCodeBatch,
|
2784
2837
|
"DescribeMerchants": doDescribeMerchants,
|
2785
2838
|
"DescribeRawScanLogs": doDescribeRawScanLogs,
|
2786
2839
|
"DescribeJobFileUrl": doDescribeJobFileUrl,
|
@@ -210,6 +210,13 @@
|
|
210
210
|
"output": "DescribeMerchantsResponse",
|
211
211
|
"status": "online"
|
212
212
|
},
|
213
|
+
"DescribePlanQRCodeScanRecords": {
|
214
|
+
"document": "查询安心计划二维码扫码记录",
|
215
|
+
"input": "DescribePlanQRCodeScanRecordsRequest",
|
216
|
+
"name": "查询安心计划二维码扫码记录",
|
217
|
+
"output": "DescribePlanQRCodeScanRecordsResponse",
|
218
|
+
"status": "online"
|
219
|
+
},
|
213
220
|
"DescribePlanQRCodes": {
|
214
221
|
"document": "查询安心计划二维码列表",
|
215
222
|
"input": "DescribePlanQRCodesRequest",
|
@@ -539,7 +546,7 @@
|
|
539
546
|
"example": "20121212000001",
|
540
547
|
"member": "string",
|
541
548
|
"name": "BatchId",
|
542
|
-
"
|
549
|
+
"output_required": true,
|
543
550
|
"type": "string",
|
544
551
|
"value_allowed_null": true
|
545
552
|
},
|
@@ -549,7 +556,7 @@
|
|
549
556
|
"example": "1000",
|
550
557
|
"member": "int64",
|
551
558
|
"name": "CorpId",
|
552
|
-
"
|
559
|
+
"output_required": true,
|
553
560
|
"type": "int",
|
554
561
|
"value_allowed_null": true
|
555
562
|
},
|
@@ -559,7 +566,7 @@
|
|
559
566
|
"example": "20121212000001",
|
560
567
|
"member": "string",
|
561
568
|
"name": "BatchCode",
|
562
|
-
"
|
569
|
+
"output_required": true,
|
563
570
|
"type": "string",
|
564
571
|
"value_allowed_null": true
|
565
572
|
},
|
@@ -569,7 +576,7 @@
|
|
569
576
|
"example": "10",
|
570
577
|
"member": "int64",
|
571
578
|
"name": "CodeCnt",
|
572
|
-
"
|
579
|
+
"output_required": true,
|
573
580
|
"type": "int",
|
574
581
|
"value_allowed_null": true
|
575
582
|
},
|
@@ -579,7 +586,7 @@
|
|
579
586
|
"example": "eqdmnz7020bmtvi9",
|
580
587
|
"member": "string",
|
581
588
|
"name": "MerchantId",
|
582
|
-
"
|
589
|
+
"output_required": true,
|
583
590
|
"type": "string",
|
584
591
|
"value_allowed_null": true
|
585
592
|
},
|
@@ -589,7 +596,7 @@
|
|
589
596
|
"example": "85tfp1sn78r9m1568i",
|
590
597
|
"member": "string",
|
591
598
|
"name": "ProductId",
|
592
|
-
"
|
599
|
+
"output_required": true,
|
593
600
|
"type": "string",
|
594
601
|
"value_allowed_null": true
|
595
602
|
},
|
@@ -599,7 +606,7 @@
|
|
599
606
|
"example": "0",
|
600
607
|
"member": "int64",
|
601
608
|
"name": "BatchType",
|
602
|
-
"
|
609
|
+
"output_required": true,
|
603
610
|
"type": "int",
|
604
611
|
"value_allowed_null": true
|
605
612
|
},
|
@@ -609,7 +616,7 @@
|
|
609
616
|
"example": "备注",
|
610
617
|
"member": "string",
|
611
618
|
"name": "Remark",
|
612
|
-
"
|
619
|
+
"output_required": true,
|
613
620
|
"type": "string",
|
614
621
|
"value_allowed_null": true
|
615
622
|
},
|
@@ -619,7 +626,7 @@
|
|
619
626
|
"example": "微信模板",
|
620
627
|
"member": "string",
|
621
628
|
"name": "MpTpl",
|
622
|
-
"
|
629
|
+
"output_required": true,
|
623
630
|
"type": "string",
|
624
631
|
"value_allowed_null": true
|
625
632
|
},
|
@@ -629,7 +636,7 @@
|
|
629
636
|
"example": "0",
|
630
637
|
"member": "int64",
|
631
638
|
"name": "Status",
|
632
|
-
"
|
639
|
+
"output_required": true,
|
633
640
|
"type": "int",
|
634
641
|
"value_allowed_null": true
|
635
642
|
},
|
@@ -639,7 +646,7 @@
|
|
639
646
|
"example": "2021-12-01T06:48:45.000Z",
|
640
647
|
"member": "string",
|
641
648
|
"name": "CreateTime",
|
642
|
-
"
|
649
|
+
"output_required": true,
|
643
650
|
"type": "string",
|
644
651
|
"value_allowed_null": true
|
645
652
|
},
|
@@ -649,7 +656,7 @@
|
|
649
656
|
"example": "2021-12-01T06:48:45.000Z",
|
650
657
|
"member": "string",
|
651
658
|
"name": "UpdateTime",
|
652
|
-
"
|
659
|
+
"output_required": true,
|
653
660
|
"type": "string",
|
654
661
|
"value_allowed_null": true
|
655
662
|
},
|
@@ -659,7 +666,7 @@
|
|
659
666
|
"example": "所属商户名称",
|
660
667
|
"member": "string",
|
661
668
|
"name": "MerchantName",
|
662
|
-
"
|
669
|
+
"output_required": true,
|
663
670
|
"type": "string",
|
664
671
|
"value_allowed_null": true
|
665
672
|
},
|
@@ -669,17 +676,17 @@
|
|
669
676
|
"example": "产品名称",
|
670
677
|
"member": "string",
|
671
678
|
"name": "ProductName",
|
672
|
-
"
|
679
|
+
"output_required": true,
|
673
680
|
"type": "string",
|
674
681
|
"value_allowed_null": true
|
675
682
|
},
|
676
683
|
{
|
677
|
-
"disabled":
|
684
|
+
"disabled": true,
|
678
685
|
"document": "未使用\n注意:此字段可能返回 null,表示取不到有效值。",
|
679
686
|
"example": "扩展字段",
|
680
687
|
"member": "Ext",
|
681
688
|
"name": "Ext",
|
682
|
-
"
|
689
|
+
"output_required": true,
|
683
690
|
"type": "object",
|
684
691
|
"value_allowed_null": true
|
685
692
|
},
|
@@ -689,7 +696,7 @@
|
|
689
696
|
"example": "模板名称",
|
690
697
|
"member": "string",
|
691
698
|
"name": "TplName",
|
692
|
-
"
|
699
|
+
"output_required": true,
|
693
700
|
"type": "string",
|
694
701
|
"value_allowed_null": true
|
695
702
|
},
|
@@ -699,7 +706,7 @@
|
|
699
706
|
"example": "无",
|
700
707
|
"member": "Job",
|
701
708
|
"name": "Job",
|
702
|
-
"
|
709
|
+
"output_required": true,
|
703
710
|
"type": "object",
|
704
711
|
"value_allowed_null": true
|
705
712
|
},
|
@@ -709,7 +716,7 @@
|
|
709
716
|
"example": "2022-05-12",
|
710
717
|
"member": "string",
|
711
718
|
"name": "ProductionDate",
|
712
|
-
"
|
719
|
+
"output_required": true,
|
713
720
|
"type": "string",
|
714
721
|
"value_allowed_null": true
|
715
722
|
},
|
@@ -719,7 +726,7 @@
|
|
719
726
|
"example": "2022",
|
720
727
|
"member": "string",
|
721
728
|
"name": "ValidDate",
|
722
|
-
"
|
729
|
+
"output_required": true,
|
723
730
|
"type": "string",
|
724
731
|
"value_allowed_null": true
|
725
732
|
},
|
@@ -729,7 +736,7 @@
|
|
729
736
|
"example": "无",
|
730
737
|
"member": "AttrItem",
|
731
738
|
"name": "Attrs",
|
732
|
-
"
|
739
|
+
"output_required": true,
|
733
740
|
"type": "list",
|
734
741
|
"value_allowed_null": false
|
735
742
|
}
|
@@ -3404,6 +3411,90 @@
|
|
3404
3411
|
],
|
3405
3412
|
"type": "object"
|
3406
3413
|
},
|
3414
|
+
"DescribePlanQRCodeScanRecordsRequest": {
|
3415
|
+
"document": "DescribePlanQRCodeScanRecords请求参数结构体",
|
3416
|
+
"members": [
|
3417
|
+
{
|
3418
|
+
"disabled": false,
|
3419
|
+
"document": "开始时间",
|
3420
|
+
"example": "无",
|
3421
|
+
"member": "string",
|
3422
|
+
"name": "StartTime",
|
3423
|
+
"required": true,
|
3424
|
+
"type": "string"
|
3425
|
+
},
|
3426
|
+
{
|
3427
|
+
"disabled": false,
|
3428
|
+
"document": "结束时间",
|
3429
|
+
"example": "无",
|
3430
|
+
"member": "string",
|
3431
|
+
"name": "EndTime",
|
3432
|
+
"required": true,
|
3433
|
+
"type": "string"
|
3434
|
+
},
|
3435
|
+
{
|
3436
|
+
"disabled": false,
|
3437
|
+
"document": "页码",
|
3438
|
+
"example": "无",
|
3439
|
+
"member": "int64",
|
3440
|
+
"name": "PageNo",
|
3441
|
+
"required": true,
|
3442
|
+
"type": "int"
|
3443
|
+
},
|
3444
|
+
{
|
3445
|
+
"disabled": false,
|
3446
|
+
"document": "页大小",
|
3447
|
+
"example": "无",
|
3448
|
+
"member": "int64",
|
3449
|
+
"name": "PageSize",
|
3450
|
+
"required": true,
|
3451
|
+
"type": "int"
|
3452
|
+
}
|
3453
|
+
],
|
3454
|
+
"type": "object"
|
3455
|
+
},
|
3456
|
+
"DescribePlanQRCodeScanRecordsResponse": {
|
3457
|
+
"document": "DescribePlanQRCodeScanRecords返回参数结构体",
|
3458
|
+
"members": [
|
3459
|
+
{
|
3460
|
+
"disabled": false,
|
3461
|
+
"document": "返回码",
|
3462
|
+
"example": "无",
|
3463
|
+
"member": "int64",
|
3464
|
+
"name": "Ret",
|
3465
|
+
"output_required": false,
|
3466
|
+
"type": "int",
|
3467
|
+
"value_allowed_null": false
|
3468
|
+
},
|
3469
|
+
{
|
3470
|
+
"disabled": false,
|
3471
|
+
"document": "总数",
|
3472
|
+
"example": "无",
|
3473
|
+
"member": "int64",
|
3474
|
+
"name": "Total",
|
3475
|
+
"output_required": false,
|
3476
|
+
"type": "int",
|
3477
|
+
"value_allowed_null": false
|
3478
|
+
},
|
3479
|
+
{
|
3480
|
+
"disabled": false,
|
3481
|
+
"document": "数据",
|
3482
|
+
"example": "无",
|
3483
|
+
"member": "PlanQRCodeRecord",
|
3484
|
+
"name": "Data",
|
3485
|
+
"output_required": false,
|
3486
|
+
"type": "list",
|
3487
|
+
"value_allowed_null": false
|
3488
|
+
},
|
3489
|
+
{
|
3490
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
3491
|
+
"member": "string",
|
3492
|
+
"name": "RequestId",
|
3493
|
+
"type": "string"
|
3494
|
+
}
|
3495
|
+
],
|
3496
|
+
"type": "object"
|
3497
|
+
},
|
3407
3498
|
"DescribePlanQRCodesRequest": {
|
3408
3499
|
"document": "DescribePlanQRCodes请求参数结构体",
|
3409
3500
|
"members": [
|
@@ -4246,7 +4337,18 @@
|
|
4246
4337
|
},
|
4247
4338
|
"Ext": {
|
4248
4339
|
"document": "预留字段",
|
4249
|
-
"members": [
|
4340
|
+
"members": [
|
4341
|
+
{
|
4342
|
+
"disabled": true,
|
4343
|
+
"document": "字符串\n注意:此字段可能返回 null,表示取不到有效值。",
|
4344
|
+
"example": "无",
|
4345
|
+
"member": "string",
|
4346
|
+
"name": "Value",
|
4347
|
+
"output_required": false,
|
4348
|
+
"type": "string",
|
4349
|
+
"value_allowed_null": true
|
4350
|
+
}
|
4351
|
+
],
|
4250
4352
|
"usage": "out"
|
4251
4353
|
},
|
4252
4354
|
"InputEncryptData": {
|
@@ -5396,6 +5498,89 @@
|
|
5396
5498
|
],
|
5397
5499
|
"usage": "both"
|
5398
5500
|
},
|
5501
|
+
"PlanQRCodeRecord": {
|
5502
|
+
"document": "安心计划二维码扫码记录",
|
5503
|
+
"members": [
|
5504
|
+
{
|
5505
|
+
"disabled": false,
|
5506
|
+
"document": "二维码\n注意:此字段可能返回 null,表示取不到有效值。",
|
5507
|
+
"example": "无",
|
5508
|
+
"member": "string",
|
5509
|
+
"name": "Url",
|
5510
|
+
"output_required": false,
|
5511
|
+
"required": true,
|
5512
|
+
"type": "string",
|
5513
|
+
"value_allowed_null": true
|
5514
|
+
},
|
5515
|
+
{
|
5516
|
+
"disabled": false,
|
5517
|
+
"document": "OpenID\n注意:此字段可能返回 null,表示取不到有效值。",
|
5518
|
+
"example": "无",
|
5519
|
+
"member": "string",
|
5520
|
+
"name": "OpenId",
|
5521
|
+
"output_required": false,
|
5522
|
+
"required": true,
|
5523
|
+
"type": "string",
|
5524
|
+
"value_allowed_null": true
|
5525
|
+
},
|
5526
|
+
{
|
5527
|
+
"disabled": false,
|
5528
|
+
"document": "扫码时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
5529
|
+
"example": "无",
|
5530
|
+
"member": "string",
|
5531
|
+
"name": "ScanTime",
|
5532
|
+
"output_required": false,
|
5533
|
+
"required": true,
|
5534
|
+
"type": "string",
|
5535
|
+
"value_allowed_null": true
|
5536
|
+
},
|
5537
|
+
{
|
5538
|
+
"disabled": false,
|
5539
|
+
"document": "IP 地址\n注意:此字段可能返回 null,表示取不到有效值。",
|
5540
|
+
"example": "无",
|
5541
|
+
"member": "string",
|
5542
|
+
"name": "Ip",
|
5543
|
+
"output_required": false,
|
5544
|
+
"required": true,
|
5545
|
+
"type": "string",
|
5546
|
+
"value_allowed_null": true
|
5547
|
+
},
|
5548
|
+
{
|
5549
|
+
"disabled": false,
|
5550
|
+
"document": "国家\n注意:此字段可能返回 null,表示取不到有效值。",
|
5551
|
+
"example": "无",
|
5552
|
+
"member": "string",
|
5553
|
+
"name": "Country",
|
5554
|
+
"output_required": false,
|
5555
|
+
"required": true,
|
5556
|
+
"type": "string",
|
5557
|
+
"value_allowed_null": true
|
5558
|
+
},
|
5559
|
+
{
|
5560
|
+
"disabled": false,
|
5561
|
+
"document": "省份\n注意:此字段可能返回 null,表示取不到有效值。",
|
5562
|
+
"example": "无",
|
5563
|
+
"member": "string",
|
5564
|
+
"name": "Province",
|
5565
|
+
"output_required": false,
|
5566
|
+
"required": true,
|
5567
|
+
"type": "string",
|
5568
|
+
"value_allowed_null": true
|
5569
|
+
},
|
5570
|
+
{
|
5571
|
+
"disabled": false,
|
5572
|
+
"document": "城市\n注意:此字段可能返回 null,表示取不到有效值。",
|
5573
|
+
"example": "无",
|
5574
|
+
"member": "string",
|
5575
|
+
"name": "City",
|
5576
|
+
"output_required": false,
|
5577
|
+
"required": true,
|
5578
|
+
"type": "string",
|
5579
|
+
"value_allowed_null": true
|
5580
|
+
}
|
5581
|
+
],
|
5582
|
+
"usage": "both"
|
5583
|
+
},
|
5399
5584
|
"Product": {
|
5400
5585
|
"document": "商品信息",
|
5401
5586
|
"members": [
|
@@ -240,6 +240,14 @@
|
|
240
240
|
"title": "查询商户列表"
|
241
241
|
}
|
242
242
|
],
|
243
|
+
"DescribePlanQRCodeScanRecords": [
|
244
|
+
{
|
245
|
+
"document": "",
|
246
|
+
"input": "POST / HTTP/1.1\nHost: trp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePlanQRCodeScanRecords\n<公共请求参数>\n\n{\n \"StartTime\": \"2023-10-10 00:00:00\",\n \"EndTime\": \"2023-10-10 23:59:59\",\n \"PageNo\": 1,\n \"PageSize\": 10\n}",
|
247
|
+
"output": "{\n \"Response\": {\n \"Ret\": 0,\n \"Total\": 1,\n \"Data\": [\n {\n \"Url\": \"xxx\",\n \"OpenId\": \"\",\n \"ScanTime\": \"2023-10-10 00:00:00\",\n \"Ip\": \"\",\n \"Country\": \"\",\n \"Province\": \"\",\n \"City\": \"\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
248
|
+
"title": "查询安心计划二维码扫码记录"
|
249
|
+
}
|
250
|
+
],
|
243
251
|
"DescribePlanQRCodes": [
|
244
252
|
{
|
245
253
|
"document": "",
|