tccli 3.0.1338.1__py2.py3-none-any.whl → 3.0.1340.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.
- tccli/__init__.py +1 -1
- tccli/services/apm/v20210622/api.json +10 -0
- tccli/services/bh/v20230418/api.json +10 -0
- tccli/services/ccc/v20200210/api.json +100 -1
- tccli/services/cdb/v20170320/api.json +37 -37
- tccli/services/cdb/v20170320/examples.json +7 -7
- tccli/services/cdn/v20180606/api.json +2 -2
- tccli/services/cfs/v20190719/api.json +9 -0
- tccli/services/cfw/v20190904/examples.json +12 -0
- tccli/services/ckafka/v20190819/api.json +19 -0
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/csip/csip_client.py +791 -102
- tccli/services/csip/v20221121/api.json +6149 -3461
- tccli/services/csip/v20221121/examples.json +104 -0
- tccli/services/cvm/v20170312/api.json +9 -0
- tccli/services/dts/v20211206/api.json +11 -0
- tccli/services/emr/emr_client.py +363 -310
- tccli/services/emr/v20190103/api.json +206 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/es/v20180416/api.json +55 -0
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +117 -6
- tccli/services/ess/v20201111/examples.json +12 -4
- tccli/services/essbasic/essbasic_client.py +57 -4
- tccli/services/essbasic/v20210526/api.json +104 -4
- tccli/services/essbasic/v20210526/examples.json +9 -1
- tccli/services/gs/v20191118/api.json +10 -1
- tccli/services/gwlb/v20240906/api.json +1 -1
- tccli/services/gwlb/v20240906/examples.json +1 -1
- tccli/services/ioa/v20220601/api.json +55 -0
- tccli/services/ioa/v20220601/examples.json +1 -1
- tccli/services/iotexplorer/iotexplorer_client.py +57 -4
- tccli/services/iotexplorer/v20190423/api.json +145 -19
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/live/live_client.py +0 -106
- tccli/services/live/v20180801/api.json +23 -138
- tccli/services/live/v20180801/examples.json +4 -20
- tccli/services/lkeap/lkeap_client.py +0 -53
- tccli/services/lkeap/v20240522/api.json +0 -90
- tccli/services/lkeap/v20240522/examples.json +0 -8
- tccli/services/mqtt/v20240516/api.json +80 -0
- tccli/services/mqtt/v20240516/examples.json +6 -0
- tccli/services/ocr/v20181119/api.json +21 -1
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/organization/v20210331/api.json +11 -0
- tccli/services/organization/v20210331/examples.json +1 -1
- tccli/services/partners/v20180321/api.json +2 -2
- tccli/services/postgres/v20170312/api.json +4 -4
- tccli/services/ssl/ssl_client.py +212 -0
- tccli/services/ssl/v20191205/api.json +625 -10
- tccli/services/ssl/v20191205/examples.json +38 -0
- tccli/services/tcbr/v20220217/api.json +11 -0
- tccli/services/tdmq/v20200217/api.json +56 -47
- tccli/services/tdmq/v20200217/examples.json +8 -8
- tccli/services/trocket/v20230308/api.json +111 -92
- tccli/services/trocket/v20230308/examples.json +13 -13
- tccli/services/trtc/v20190722/api.json +3 -3
- tccli/services/tse/v20201207/api.json +19 -0
- tccli/services/tsf/v20180326/api.json +1 -1
- tccli/services/wedata/v20210820/api.json +607 -3
- tccli/services/wedata/v20210820/examples.json +18 -8
- tccli/services/wedata/wedata_client.py +106 -0
- {tccli-3.0.1338.1.dist-info → tccli-3.0.1340.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1338.1.dist-info → tccli-3.0.1340.1.dist-info}/RECORD +67 -67
- {tccli-3.0.1338.1.dist-info → tccli-3.0.1340.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1338.1.dist-info → tccli-3.0.1340.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1338.1.dist-info → tccli-3.0.1340.1.dist-info}/license_files/LICENSE +0 -0
@@ -400,7 +400,7 @@
|
|
400
400
|
"status": "online"
|
401
401
|
},
|
402
402
|
"RecognizeGeneralInvoice": {
|
403
|
-
"document": "本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票等常用标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。\n\n默认接口请求频率限制:5次/秒。\n\n\n支持返回的细项目子票种SubType、子票种中文TypeDescription、以及对应所属大类票种Type 的说明如下列表:\n<table style=\"width:715px\">\n <thead>\n <tr>\n <th style=\"width:200px\">SubType 子票种英文</th>\n <th style=\"width:200px\">TypeDescription子票种中文</th>\n <th >Type 所属大类票种</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td> VatSpecialInvoice</td>\n <td> 增值税专用发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatCommonInvoice</td>\n <td> 增值税普通发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicCommonInvoice </td>\n <td> 增值税电子普通发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicSpecialInvoice </td>\n <td> 增值税电子专用发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceBlockchain</td>\n <td> 区块链电子发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceToll</td>\n <td> 增值税电子普通发票(通行费)</td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatSalesList</td>\n <td> 增值税销货清单</td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicSpecialInvoiceFull</td>\n <td> 电子发票(专用发票)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceFull</td>\n <td> 电子发票(普通发票) </td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> ElectronicFlightTicketFull</td>\n <td> 电子发票(机票行程单)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> ElectronicTrainTicketFull</td>\n <td> 电子发票(铁路电子客票)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> MotorVehicleSaleInvoice </td>\n <td> 机动车销售统一发票 </td>\n <td> 12 </td>\n </tr>\n <tr>\n <td> UsedCarPurchaseInvoice </td>\n <td> 二手车销售统一发票 </td>\n <td> 12 </td>\n </tr>\n <tr>\n <td> VatInvoiceRoll </td>\n <td> 增值税普通发票(卷票) </td>\n <td> 11 </td>\n </tr>\n <tr>\n <td> TaxiTicket </td>\n <td> 出租车发票 </td>\n <td> 0 </td>\n </tr>\n <tr>\n <td> QuotaInvoice </td>\n <td> 定额发票 </td>\n <td> 1 </td>\n </tr>\n <tr>\n <td> TrainTicket </td>\n <td> 火车票 </td>\n <td> 2 </td>\n </tr>\n <tr>\n <td> AirTransport </td>\n <td> 机票行程单 </td>\n <td> 5 </td>\n </tr>\n <tr>\n <td> MachinePrintedInvoice </td>\n <td> 通用机打发票 </td>\n <td> 8 </td>\n </tr>\n <tr>\n <td> BusInvoice </td>\n <td> 汽车票 </td>\n <td> 9 </td>\n </tr>\n <tr>\n <td> ShippingInvoice </td>\n <td> 轮船票 </td>\n <td> 10 </td>\n </tr>\n <tr>\n <td> NonTaxIncomeGeneralBill </td>\n <td> 非税收入通用票据 </td>\n <td> 15 </td>\n </tr>\n <tr>\n <td> NonTaxIncomeElectronicBill </td>\n <td> 非税收入一般缴款书(电子) </td>\n <td> 15 </td>\n </tr>\n <tr>\n <td> TollInvoice </td>\n <td> 过路过桥费发票 </td>\n <td> 13 </td>\n </tr>\n <tr>\n <td> MedicalOutpatientInvoice </td>\n <td> 医疗门诊收费票据(电子) </td>\n <td> 17 </td>\n </tr>\n <tr>\n <td> MedicalHospitalizedInvoice </td>\n <td> 医疗住院收费票据(电子) </td>\n <td> 17 </td>\n </tr>\n <tr>\n <td> TaxPayment </td>\n <td> 完税凭证 </td>\n <td> 18 </td>\n </tr>\n <tr>\n <td> CustomsPaymentReceipt </td>\n <td> 海关缴款 </td>\n <td> 19 </td>\n </tr>\n <tr>\n <td> BankSlip </td>\n <td> 银行回单 </td>\n <td> 20 </td>\n </tr>\n <tr>\n <td> OnlineTaxiItinerary </td>\n <td> 网约车行程单 </td>\n <td> 21 </td>\n </tr>\n <tr>\n <td> CustomsDeclaration </td>\n <td> 海关进/出口货物报关单 </td>\n <td> 22 </td>\n </tr>\n <tr>\n <td> OverseasInvoice </td>\n <td> 海外发票 </td>\n <td> 23 </td>\n </tr>\n <tr>\n <td> ShoppingReceipt </td>\n <td> 购物小票 </td>\n <td> 24 </td>\n </tr>\n <tr>\n <td> SaleInventory </td>\n <td> 销货清单 </td>\n <td> 25 </td>\n </tr>\n <tr>\n <td> OtherInvoice </td>\n <td> 其他发票 </td>\n <td> -1 </td>\n </tr>\n </tbody>\n </table>",
|
403
|
+
"document": "本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票等常用标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。\n\n默认接口请求频率限制:5次/秒。\n\n\n支持返回的细项目子票种SubType、子票种中文TypeDescription、以及对应所属大类票种Type 的说明如下列表:\n<table style=\"width:715px\">\n <thead>\n <tr>\n <th style=\"width:200px\">SubType 子票种英文</th>\n <th style=\"width:200px\">TypeDescription子票种中文</th>\n <th >Type 所属大类票种</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td> VatSpecialInvoice</td>\n <td> 增值税专用发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatCommonInvoice</td>\n <td> 增值税普通发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicCommonInvoice </td>\n <td> 增值税电子普通发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicSpecialInvoice </td>\n <td> 增值税电子专用发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceBlockchain</td>\n <td> 区块链电子发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceToll</td>\n <td> 增值税电子普通发票(通行费)</td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatSalesList</td>\n <td> 增值税销货清单</td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicSpecialInvoiceFull</td>\n <td> 电子发票(专用发票)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceFull</td>\n <td> 电子发票(普通发票) </td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> ElectronicFlightTicketFull</td>\n <td> 电子发票(机票行程单)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> ElectronicTrainTicketFull</td>\n <td> 电子发票(铁路电子客票)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> MotorVehicleSaleInvoice </td>\n <td> 机动车销售统一发票 </td>\n <td> 12 </td>\n </tr>\n <tr>\n <td> UsedCarPurchaseInvoice </td>\n <td> 二手车销售统一发票 </td>\n <td> 12 </td>\n </tr>\n <tr>\n <td> MotorVehicleSaleInvoiceElectronic </td>\n <td> 机动车销售统一发票(电子)</td>\n <td> 12 </td>\n </tr>\n <tr>\n <td> UsedCarPurchaseInvoiceElectronic </td>\n <td> 二手车销售统一发票(电子)</td>\n <td> 12 </td>\n </tr>\n <tr>\n <td> VatInvoiceRoll </td>\n <td> 增值税普通发票(卷票) </td>\n <td> 11 </td>\n </tr>\n <tr>\n <td> TaxiTicket </td>\n <td> 出租车发票 </td>\n <td> 0 </td>\n </tr>\n <tr>\n <td> QuotaInvoice </td>\n <td> 定额发票 </td>\n <td> 1 </td>\n </tr>\n <tr>\n <td> TrainTicket </td>\n <td> 火车票 </td>\n <td> 2 </td>\n </tr>\n <tr>\n <td> AirTransport </td>\n <td> 机票行程单 </td>\n <td> 5 </td>\n </tr>\n <tr>\n <td> MachinePrintedInvoice </td>\n <td> 通用机打发票 </td>\n <td> 8 </td>\n </tr>\n <tr>\n <td> BusInvoice </td>\n <td> 汽车票 </td>\n <td> 9 </td>\n </tr>\n <tr>\n <td> ShippingInvoice </td>\n <td> 轮船票 </td>\n <td> 10 </td>\n </tr>\n <tr>\n <td> NonTaxIncomeGeneralBill </td>\n <td> 非税收入通用票据 </td>\n <td> 15 </td>\n </tr>\n <tr>\n <td> NonTaxIncomeElectronicBill </td>\n <td> 非税收入一般缴款书(电子) </td>\n <td> 15 </td>\n </tr>\n <tr>\n <td> TollInvoice </td>\n <td> 过路过桥费发票 </td>\n <td> 13 </td>\n </tr>\n <tr>\n <td> MedicalOutpatientInvoice </td>\n <td> 医疗门诊收费票据(电子) </td>\n <td> 17 </td>\n </tr>\n <tr>\n <td> MedicalHospitalizedInvoice </td>\n <td> 医疗住院收费票据(电子) </td>\n <td> 17 </td>\n </tr>\n <tr>\n <td> TaxPayment </td>\n <td> 完税凭证 </td>\n <td> 18 </td>\n </tr>\n <tr>\n <td> CustomsPaymentReceipt </td>\n <td> 海关缴款 </td>\n <td> 19 </td>\n </tr>\n <tr>\n <td> BankSlip </td>\n <td> 银行回单 </td>\n <td> 20 </td>\n </tr>\n <tr>\n <td> OnlineTaxiItinerary </td>\n <td> 网约车行程单 </td>\n <td> 21 </td>\n </tr>\n <tr>\n <td> CustomsDeclaration </td>\n <td> 海关进/出口货物报关单 </td>\n <td> 22 </td>\n </tr>\n <tr>\n <td> OverseasInvoice </td>\n <td> 海外发票 </td>\n <td> 23 </td>\n </tr>\n <tr>\n <td> ShoppingReceipt </td>\n <td> 购物小票 </td>\n <td> 24 </td>\n </tr>\n <tr>\n <td> SaleInventory </td>\n <td> 销货清单 </td>\n <td> 25 </td>\n </tr>\n <tr>\n <td> OtherInvoice </td>\n <td> 其他发票 </td>\n <td> -1 </td>\n </tr>\n </tbody>\n </table>",
|
404
404
|
"input": "RecognizeGeneralInvoiceRequest",
|
405
405
|
"name": "通用票据识别(高级版)",
|
406
406
|
"output": "RecognizeGeneralInvoiceResponse",
|
@@ -16902,6 +16902,26 @@
|
|
16902
16902
|
"output_required": true,
|
16903
16903
|
"type": "object",
|
16904
16904
|
"value_allowed_null": true
|
16905
|
+
},
|
16906
|
+
{
|
16907
|
+
"disabled": false,
|
16908
|
+
"document": "机动车销售统一发票(电子)\n注意:此字段可能返回 null,表示取不到有效值。",
|
16909
|
+
"example": "无",
|
16910
|
+
"member": "MotorVehicleSaleInvoice",
|
16911
|
+
"name": "MotorVehicleSaleInvoiceElectronic",
|
16912
|
+
"output_required": true,
|
16913
|
+
"type": "object",
|
16914
|
+
"value_allowed_null": true
|
16915
|
+
},
|
16916
|
+
{
|
16917
|
+
"disabled": false,
|
16918
|
+
"document": "二手车销售统一发票(电子)\n注意:此字段可能返回 null,表示取不到有效值。",
|
16919
|
+
"example": "无",
|
16920
|
+
"member": "UsedCarPurchaseInvoice",
|
16921
|
+
"name": "UsedCarPurchaseInvoiceElectronic",
|
16922
|
+
"output_required": true,
|
16923
|
+
"type": "object",
|
16924
|
+
"value_allowed_null": true
|
16905
16925
|
}
|
16906
16926
|
],
|
16907
16927
|
"usage": "out"
|
@@ -502,7 +502,7 @@
|
|
502
502
|
{
|
503
503
|
"document": "通用票据识别(高级版)识别多张票据",
|
504
504
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeGeneralInvoice\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/invoice/MixedInvoiceDetect/MixedInvoiceDetect1.jpg\",\n \"EnableMultiplePage\": true\n}",
|
505
|
-
"output": "{\n \"Response\": {\n \"MixedInvoiceItems\": [\n {\n \"Code\": \"OK\",\n \"Type\": 3,\n \"SubType\": \"VatSpecialInvoice\",\n \"TypeDescription\": \"增值税发票\",\n \"SubTypeDescription\": \"增值税专用发票\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 19,\n \"Y\": 888\n },\n \"LeftTop\": {\n \"X\": 19,\n \"Y\": 31\n },\n \"RightBottom\": {\n \"X\": 1347,\n \"Y\": 888\n },\n \"RightTop\": {\n \"X\": 1345,\n \"Y\": 31\n }\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TollInvoice\": null,\n \"TrainTicket\": null,\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"TaxPayment\": null,\n \"CustomsPaymentReceipt\": null,\n \"VatSpecialInvoice\": {\n \"AcquisitionMark\": 0,\n \"AgentMark\": 0,\n \"BlockChainMark\": 0,\n \"Buyer\": \"深圳市腾讯计算机系统有限公司\",\n \"BuyerAddrTel\": \"深圳市南山区高新区高新南一路飞亚达大厦5-10楼0755-86013388\",\n \"BuyerBankAccount\": \"招商银行深圳分行振兴支行817282299619961\",\n \"BuyerTaxID\": \"440300708461136\",\n \"CheckCode\": \"\",\n \"Ciphertext\": \"*7-0<84019---5+68315-99->/51,>814<1/7922/<-23/908+>7474+3,78312-072<3<729-+4<6*315-094,->/5>18493/1-60*6-43/90<--78\",\n \"City\": \"深圳市\",\n \"Code\": \"4403152130\",\n \"CodeConfirm\": \"4403152130\",\n \"CompanySealContent\": \"发票专用章,深圳市游戏科技有限公司,04000,NANDN\",\n \"CompanySealMark\": 1,\n \"Date\": \"2016年04月11日\",\n \"ElectronicFullMark\": 0,\n \"ElectronicFullNumber\": \"\",\n \"FormName\": \"发票联\",\n \"FormType\": \"三\",\n \"Issuer\": \"张三\",\n \"Kind\": \"服务\",\n \"MachineCode\": \"\",\n \"Number\": \"14998456\",\n \"NumberConfirm\": \"14998456\",\n \"OilMark\": 0,\n \"PretaxAmount\": \"778.44\",\n \"Province\": \"广东省\",\n \"QRCodeMark\": 0,\n \"Receiptor\": \"李明\",\n \"Remark\": \"\",\n \"Reviewer\": \"晓艾\",\n \"Seller\": \"深圳市游戏科技有限公司\",\n \"SellerAddrTel\": \"深圳市南山区高新南一道3号赋安科技大楼A座301室0755-86315454\",\n \"SellerBankAccount\": \"浦发行深圳科技园支行79210154740015474\",\n \"SellerTaxID\": \"440300094040109\",\n \"ServiceName\": \"\",\n \"SubTax\": \"\",\n \"SubTotal\": \"\",\n \"Tax\": \"46.71\",\n \"TaxSealContent\": \"\",\n \"Title\": \"深圳增值税专用发票\",\n \"Total\": \"825.15\",\n \"TotalCn\": \"捌佰贰拾伍圆壹角伍分\",\n \"TransitMark\": 0,\n \"TravelTax\": \"\",\n \"VatInvoiceItemInfos\": [\n {\n \"DateEnd\": \"\",\n \"DateStart\": \"\",\n \"LicensePlate\": \"\",\n \"Name\": \"技术服务费\",\n \"Price\": \"\",\n \"Quantity\": \"\",\n \"SerialNumber\": \"\",\n \"Specification\": \"\",\n \"Tax\": \"46.71\",\n \"TaxRate\": \"6%\",\n \"Total\": \"778.44\",\n \"Unit\": \"\",\n \"VehicleType\": \"\"\n }\n ]\n },\n \"BankSlip\": null,\n \"OnlineTaxiItinerary\": null,\n \"CustomsDeclaration\": null,\n \"OverseasInvoice\": null,\n \"ShoppingReceipt\": null,\n \"SaleInventory\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n },\n {\n \"Code\": \"OK\",\n \"Type\": 13,\n \"SubType\": \"TollInvoice\",\n \"TypeDescription\": \"过路过桥费发票\",\n \"SubTypeDescription\": \"过路过桥费发票\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 26,\n \"Y\": 1469\n },\n \"LeftTop\": {\n \"X\": 26,\n \"Y\": 897\n },\n \"RightBottom\": {\n \"X\": 495,\n \"Y\": 1469\n },\n \"RightTop\": {\n \"X\": 497,\n \"Y\": 897\n }\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TaxPayment\": null,\n \"CustomsPaymentReceipt\": null,\n \"TollInvoice\": {\n \"Code\": \"144031700221\",\n \"Date\": \"2018年08月07日\",\n \"Entrance\": \"前海\",\n \"Exit\": \"大铲湾\",\n \"HighwayMark\": 1,\n \"Kind\": \"交通\",\n \"Number\": \"27357827\",\n \"QRCodeMark\": 0,\n \"Time\": \"06:14:03\",\n \"Title\": \"深圳市广深沿江高速公路投资有限公司通用机打发票\",\n \"Total\": \"5.00\"\n },\n \"TrainTicket\": null,\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"VatSpecialInvoice\": null,\n \"BankSlip\": null,\n \"OnlineTaxiItinerary\": null,\n \"CustomsDeclaration\": null,\n \"OverseasInvoice\": null,\n \"ShoppingReceipt\": null,\n \"SaleInventory\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n },\n {\n \"Code\": \"OK\",\n \"Type\": 2,\n \"SubType\": \"TrainTicket\",\n \"TypeDescription\": \"火车票\",\n \"SubTypeDescription\": \"火车票\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 517,\n \"Y\": 1232\n },\n \"LeftTop\": {\n \"X\": 517,\n \"Y\": 950\n },\n \"RightBottom\": {\n \"X\": 971,\n \"Y\": 1232\n },\n \"RightTop\": {\n \"X\": 971,\n \"Y\": 950\n }\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TollInvoice\": null,\n \"TaxPayment\": null,\n \"CustomsPaymentReceipt\": null,\n \"TrainTicket\": {\n \"AdditionalFare\": \"\",\n \"DateGetOn\": \"2018年03月06日\",\n \"GateNumber\": \"候车室6\",\n \"HandlingFee\": \"\",\n \"Kind\": \"交通\",\n \"Name\": \"周周\",\n \"Number\": \"Z96X089517\",\n \"OriginalFare\": \"\",\n \"PickUpAddress\": \"上海\",\n \"QRCodeMark\": 0,\n \"ReceiptNumber\": \"\",\n \"RefundMark\": 0,\n \"ReimburseOnlyMark\": 0,\n \"Seat\": \"新空调硬座\",\n \"SeatNumber\": \"02车016号\",\n \"SerialNumber\": \"30671300960307X089517\",\n \"StationGetOff\": \"南京\",\n \"StationGetOn\": \"上海\",\n \"TicketChange\": \"0\",\n \"TicketChangeMark\": 0,\n \"TimeGetOn\": \"18:51\",\n \"Title\": \"\",\n \"Total\": \"46.50\",\n \"TotalCn\": \"\",\n \"TrainNumber\": \"Z196\",\n \"UserID\": \"3210231991****6666\"\n },\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"VatSpecialInvoice\": null,\n \"BankSlip\": null,\n \"OnlineTaxiItinerary\": null,\n \"CustomsDeclaration\": null,\n \"OverseasInvoice\": null,\n \"ShoppingReceipt\": null,\n \"SaleInventory\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n }\n ],\n \"RequestId\": \"c129cda9-e306-472e-817b-4e133ac5c706\",\n \"TotalPDFCount\": 1\n }\n}",
|
505
|
+
"output": "{\n \"Response\": {\n \"MixedInvoiceItems\": [\n {\n \"Code\": \"OK\",\n \"Type\": 3,\n \"SubType\": \"VatSpecialInvoice\",\n \"TypeDescription\": \"增值税发票\",\n \"SubTypeDescription\": \"增值税专用发票\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 19,\n \"Y\": 888\n },\n \"LeftTop\": {\n \"X\": 19,\n \"Y\": 31\n },\n \"RightBottom\": {\n \"X\": 1347,\n \"Y\": 888\n },\n \"RightTop\": {\n \"X\": 1345,\n \"Y\": 31\n }\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TollInvoice\": null,\n \"TrainTicket\": null,\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"TaxPayment\": null,\n \"CustomsPaymentReceipt\": null,\n \"VatSpecialInvoice\": {\n \"AcquisitionMark\": 0,\n \"AgentMark\": 0,\n \"BlockChainMark\": 0,\n \"Buyer\": \"深圳市腾讯计算机系统有限公司\",\n \"BuyerAddrTel\": \"深圳市南山区高新区高新南一路飞亚达大厦5-10楼0755-86013388\",\n \"BuyerBankAccount\": \"招商银行深圳分行振兴支行817282299619961\",\n \"BuyerTaxID\": \"440300708461136\",\n \"CheckCode\": \"\",\n \"Ciphertext\": \"*7-0<84019---5+68315-99->/51,>814<1/7922/<-23/908+>7474+3,78312-072<3<729-+4<6*315-094,->/5>18493/1-60*6-43/90<--78\",\n \"City\": \"深圳市\",\n \"Code\": \"4403152130\",\n \"CodeConfirm\": \"4403152130\",\n \"CompanySealContent\": \"发票专用章,深圳市游戏科技有限公司,04000,NANDN\",\n \"CompanySealMark\": 1,\n \"Date\": \"2016年04月11日\",\n \"ElectronicFullMark\": 0,\n \"ElectronicFullNumber\": \"\",\n \"FormName\": \"发票联\",\n \"FormType\": \"三\",\n \"Issuer\": \"张三\",\n \"Kind\": \"服务\",\n \"MachineCode\": \"\",\n \"Number\": \"14998456\",\n \"NumberConfirm\": \"14998456\",\n \"OilMark\": 0,\n \"PretaxAmount\": \"778.44\",\n \"Province\": \"广东省\",\n \"QRCodeMark\": 0,\n \"Receiptor\": \"李明\",\n \"Remark\": \"\",\n \"Reviewer\": \"晓艾\",\n \"Seller\": \"深圳市游戏科技有限公司\",\n \"SellerAddrTel\": \"深圳市南山区高新南一道3号赋安科技大楼A座301室0755-86315454\",\n \"SellerBankAccount\": \"浦发行深圳科技园支行79210154740015474\",\n \"SellerTaxID\": \"440300094040109\",\n \"ServiceName\": \"\",\n \"SubTax\": \"\",\n \"SubTotal\": \"\",\n \"Tax\": \"46.71\",\n \"TaxSealContent\": \"\",\n \"Title\": \"深圳增值税专用发票\",\n \"Total\": \"825.15\",\n \"TotalCn\": \"捌佰贰拾伍圆壹角伍分\",\n \"TransitMark\": 0,\n \"TravelTax\": \"\",\n \"VatInvoiceItemInfos\": [\n {\n \"DateEnd\": \"\",\n \"DateStart\": \"\",\n \"LicensePlate\": \"\",\n \"Name\": \"技术服务费\",\n \"Price\": \"\",\n \"Quantity\": \"\",\n \"SerialNumber\": \"\",\n \"Specification\": \"\",\n \"Tax\": \"46.71\",\n \"TaxRate\": \"6%\",\n \"Total\": \"778.44\",\n \"Unit\": \"\",\n \"VehicleType\": \"\"\n }\n ]\n },\n \"BankSlip\": null,\n \"OnlineTaxiItinerary\": null,\n \"CustomsDeclaration\": null,\n \"OverseasInvoice\": null,\n \"ShoppingReceipt\": null,\n \"SaleInventory\": null,\n \"MotorVehicleSaleInvoiceElectronic\": null,\n \"UsedCarPurchaseInvoiceElectronic\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n },\n {\n \"Code\": \"OK\",\n \"Type\": 13,\n \"SubType\": \"TollInvoice\",\n \"TypeDescription\": \"过路过桥费发票\",\n \"SubTypeDescription\": \"过路过桥费发票\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 26,\n \"Y\": 1469\n },\n \"LeftTop\": {\n \"X\": 26,\n \"Y\": 897\n },\n \"RightBottom\": {\n \"X\": 495,\n \"Y\": 1469\n },\n \"RightTop\": {\n \"X\": 497,\n \"Y\": 897\n }\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TaxPayment\": null,\n \"CustomsPaymentReceipt\": null,\n \"TollInvoice\": {\n \"Code\": \"144031700221\",\n \"Date\": \"2018年08月07日\",\n \"Entrance\": \"前海\",\n \"Exit\": \"大铲湾\",\n \"HighwayMark\": 1,\n \"Kind\": \"交通\",\n \"Number\": \"27357827\",\n \"QRCodeMark\": 0,\n \"Time\": \"06:14:03\",\n \"Title\": \"深圳市广深沿江高速公路投资有限公司通用机打发票\",\n \"Total\": \"5.00\"\n },\n \"TrainTicket\": null,\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"VatSpecialInvoice\": null,\n \"BankSlip\": null,\n \"OnlineTaxiItinerary\": null,\n \"CustomsDeclaration\": null,\n \"OverseasInvoice\": null,\n \"ShoppingReceipt\": null,\n \"SaleInventory\": null,\n \"MotorVehicleSaleInvoiceElectronic\": null,\n \"UsedCarPurchaseInvoiceElectronic\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n },\n {\n \"Code\": \"OK\",\n \"Type\": 2,\n \"SubType\": \"TrainTicket\",\n \"TypeDescription\": \"火车票\",\n \"SubTypeDescription\": \"火车票\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 517,\n \"Y\": 1232\n },\n \"LeftTop\": {\n \"X\": 517,\n \"Y\": 950\n },\n \"RightBottom\": {\n \"X\": 971,\n \"Y\": 1232\n },\n \"RightTop\": {\n \"X\": 971,\n \"Y\": 950\n }\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TollInvoice\": null,\n \"TaxPayment\": null,\n \"CustomsPaymentReceipt\": null,\n \"TrainTicket\": {\n \"AdditionalFare\": \"\",\n \"DateGetOn\": \"2018年03月06日\",\n \"GateNumber\": \"候车室6\",\n \"HandlingFee\": \"\",\n \"Kind\": \"交通\",\n \"Name\": \"周周\",\n \"Number\": \"Z96X089517\",\n \"OriginalFare\": \"\",\n \"PickUpAddress\": \"上海\",\n \"QRCodeMark\": 0,\n \"ReceiptNumber\": \"\",\n \"RefundMark\": 0,\n \"ReimburseOnlyMark\": 0,\n \"Seat\": \"新空调硬座\",\n \"SeatNumber\": \"02车016号\",\n \"SerialNumber\": \"30671300960307X089517\",\n \"StationGetOff\": \"南京\",\n \"StationGetOn\": \"上海\",\n \"TicketChange\": \"0\",\n \"TicketChangeMark\": 0,\n \"TimeGetOn\": \"18:51\",\n \"Title\": \"\",\n \"Total\": \"46.50\",\n \"TotalCn\": \"\",\n \"TrainNumber\": \"Z196\",\n \"UserID\": \"3210231991****6666\"\n },\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"VatSpecialInvoice\": null,\n \"BankSlip\": null,\n \"OnlineTaxiItinerary\": null,\n \"CustomsDeclaration\": null,\n \"OverseasInvoice\": null,\n \"ShoppingReceipt\": null,\n \"SaleInventory\": null,\n \"MotorVehicleSaleInvoiceElectronic\": null,\n \"UsedCarPurchaseInvoiceElectronic\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n }\n ],\n \"RequestId\": \"c129cda9-e306-472e-817b-4e133ac5c706\",\n \"TotalPDFCount\": 1\n }\n}",
|
506
506
|
"title": "通用票据识别(高级版)"
|
507
507
|
}
|
508
508
|
],
|
@@ -12391,6 +12391,17 @@
|
|
12391
12391
|
"required": false,
|
12392
12392
|
"type": "bool",
|
12393
12393
|
"value_allowed_null": false
|
12394
|
+
},
|
12395
|
+
{
|
12396
|
+
"disabled": false,
|
12397
|
+
"document": "用户密码",
|
12398
|
+
"example": "d2!x93nesA",
|
12399
|
+
"member": "string",
|
12400
|
+
"name": "Password",
|
12401
|
+
"output_required": false,
|
12402
|
+
"required": false,
|
12403
|
+
"type": "string",
|
12404
|
+
"value_allowed_null": false
|
12394
12405
|
}
|
12395
12406
|
],
|
12396
12407
|
"usage": "both"
|
@@ -228,7 +228,7 @@
|
|
228
228
|
{
|
229
229
|
"document": "创建用户",
|
230
230
|
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUser\n<公共请求参数>\n\n{\n \"ZoneId\": \"z-33w3je****\",\n \"UserName\": \"Alice\",\n \"FirstName\": \"Alice\",\n \"LastName\": \"Alice\",\n \"DisplayName\": \"Alice\",\n \"Description\": \"this is user\",\n \"Email\": \"Alice@example.com\",\n \"UserStatus\": \"Enabled\"\n}",
|
231
|
-
"output": "{\n \"Response\": {\n \"UserInfo\": {\n \"UserName\": \"Alice\",\n \"FirstName\": \"Alice\",\n \"LastName\": \"Alice\",\n \"DisplayName\": \"Alice\",\n \"Description\": \"this is user\",\n \"Email\": \"Alice@example.com\",\n \"UserStatus\": \"Enabled\",\n \"UserType\": \"Manual\",\n \"UserId\": \"u-2342ds2s\",\n \"CreateTime\": \"2024-02-02 12:12:12\",\n \"UpdateTime\": \"2024-02-02 12:12:12\"\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d35d4545\"\n }\n}",
|
231
|
+
"output": "{\n \"Response\": {\n \"UserInfo\": {\n \"UserName\": \"Alice\",\n \"FirstName\": \"Alice\",\n \"LastName\": \"Alice\",\n \"DisplayName\": \"Alice\",\n \"Description\": \"this is user\",\n \"Email\": \"Alice@example.com\",\n \"UserStatus\": \"Enabled\",\n \"UserType\": \"Manual\",\n \"UserId\": \"u-2342ds2s\",\n \"Password\": \"d893nd8!@HK&\",\n \"CreateTime\": \"2024-02-02 12:12:12\",\n \"UpdateTime\": \"2024-02-02 12:12:12\"\n },\n \"RequestId\": \"e297543a-80de-4039-83c8-9d35d4545\"\n }\n}",
|
232
232
|
"title": "创建用户"
|
233
233
|
}
|
234
234
|
],
|
@@ -1823,7 +1823,7 @@
|
|
1823
1823
|
},
|
1824
1824
|
{
|
1825
1825
|
"disabled": false,
|
1826
|
-
"document": "
|
1826
|
+
"document": "下单时间范围起始点【*请必传并控制时间范围最大90天,避免出现超时】",
|
1827
1827
|
"example": "2020-01-01 00:00:00",
|
1828
1828
|
"member": "datetime",
|
1829
1829
|
"name": "CreatTimeRangeStart",
|
@@ -1832,7 +1832,7 @@
|
|
1832
1832
|
},
|
1833
1833
|
{
|
1834
1834
|
"disabled": false,
|
1835
|
-
"document": "
|
1835
|
+
"document": "下单时间范围终止点【*请必传并控制时间范围最大90天,避免出现超时】",
|
1836
1836
|
"example": "2020-01-01 00:00:00",
|
1837
1837
|
"member": "datetime",
|
1838
1838
|
"name": "CreatTimeRangeEnd",
|
@@ -4821,7 +4821,7 @@
|
|
4821
4821
|
},
|
4822
4822
|
{
|
4823
4823
|
"disabled": false,
|
4824
|
-
"document": "按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:\ndb-instance-id:按照实例ID过滤,类型为string。\ndb-instance-name:按照实例名过滤,类型为string。\ndb-instance-ip:按照实例私有网络IP地址过滤,类型为string。\nbase-backup-id:按照备份集ID过滤,类型为string
|
4824
|
+
"document": "按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:\ndb-instance-id:按照实例ID过滤,类型为string。\ndb-instance-name:按照实例名过滤,类型为string。\ndb-instance-ip:按照实例私有网络IP地址过滤,类型为string。\nbase-backup-id:按照备份集ID过滤,类型为string。\ndb-instance-status:按实例状态过滤,类型为string。取值参考DBInstance结构的DBInstanceStatus字段。",
|
4825
4825
|
"example": "[ { \"Values\": [ \"postgres-jdlmoll9\" ], \"Name\": \"db-instance-id\" } ]",
|
4826
4826
|
"member": "Filter",
|
4827
4827
|
"name": "Filters",
|
@@ -4883,7 +4883,7 @@
|
|
4883
4883
|
{
|
4884
4884
|
"disabled": false,
|
4885
4885
|
"document": "数据备份详细信息列表。",
|
4886
|
-
"example": "
|
4886
|
+
"example": "无",
|
4887
4887
|
"member": "BaseBackup",
|
4888
4888
|
"name": "BaseBackupSet",
|
4889
4889
|
"output_required": true,
|
@@ -6126,7 +6126,7 @@
|
|
6126
6126
|
},
|
6127
6127
|
{
|
6128
6128
|
"disabled": false,
|
6129
|
-
"document": "按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:\ndb-instance-id:按照实例ID过滤,类型为string。\ndb-instance-name:按照实例名过滤,类型为string。\ndb-instance-ip:按照实例私有网络IP地址过滤,类型为string
|
6129
|
+
"document": "按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:\ndb-instance-id:按照实例ID过滤,类型为string。\ndb-instance-name:按照实例名过滤,类型为string。\ndb-instance-ip:按照实例私有网络IP地址过滤,类型为string。\ndb-instance-status:按实例状态过滤,类型为string。取值参考DBInstance结构的DBInstanceStatus字段。",
|
6130
6130
|
"example": "[ { \"Values\": [ \"postgres-xxxxxxxx\" ], \"Name\": \"db-instance-id\" } ]",
|
6131
6131
|
"member": "Filter",
|
6132
6132
|
"name": "Filters",
|
@@ -6188,7 +6188,7 @@
|
|
6188
6188
|
{
|
6189
6189
|
"disabled": false,
|
6190
6190
|
"document": "日志备份详细信息列表。",
|
6191
|
-
"example": "
|
6191
|
+
"example": "无",
|
6192
6192
|
"member": "LogBackup",
|
6193
6193
|
"name": "LogBackupSet",
|
6194
6194
|
"output_required": true,
|
tccli/services/ssl/ssl_client.py
CHANGED
@@ -329,6 +329,162 @@ def doUploadRevokeLetter(args, parsed_globals):
|
|
329
329
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
330
330
|
|
331
331
|
|
332
|
+
def doDescribeHostUploadUpdateRecord(args, parsed_globals):
|
333
|
+
g_param = parse_global_arg(parsed_globals)
|
334
|
+
|
335
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
336
|
+
cred = credential.CVMRoleCredential()
|
337
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
338
|
+
cred = credential.STSAssumeRoleCredential(
|
339
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
340
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
341
|
+
)
|
342
|
+
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):
|
343
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
344
|
+
else:
|
345
|
+
cred = credential.Credential(
|
346
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
347
|
+
)
|
348
|
+
http_profile = HttpProfile(
|
349
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
350
|
+
reqMethod="POST",
|
351
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
352
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
353
|
+
)
|
354
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
355
|
+
if g_param[OptionsDefine.Language]:
|
356
|
+
profile.language = g_param[OptionsDefine.Language]
|
357
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
358
|
+
client = mod.SslClient(cred, g_param[OptionsDefine.Region], profile)
|
359
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
360
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
361
|
+
model = models.DescribeHostUploadUpdateRecordRequest()
|
362
|
+
model.from_json_string(json.dumps(args))
|
363
|
+
start_time = time.time()
|
364
|
+
while True:
|
365
|
+
rsp = client.DescribeHostUploadUpdateRecord(model)
|
366
|
+
result = rsp.to_json_string()
|
367
|
+
try:
|
368
|
+
json_obj = json.loads(result)
|
369
|
+
except TypeError as e:
|
370
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
371
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
372
|
+
break
|
373
|
+
cur_time = time.time()
|
374
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
375
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
376
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
377
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
378
|
+
else:
|
379
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
380
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
381
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
382
|
+
|
383
|
+
|
384
|
+
def doUploadUpdateCertificateRecordRetry(args, parsed_globals):
|
385
|
+
g_param = parse_global_arg(parsed_globals)
|
386
|
+
|
387
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
388
|
+
cred = credential.CVMRoleCredential()
|
389
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
390
|
+
cred = credential.STSAssumeRoleCredential(
|
391
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
392
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
393
|
+
)
|
394
|
+
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):
|
395
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
396
|
+
else:
|
397
|
+
cred = credential.Credential(
|
398
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
399
|
+
)
|
400
|
+
http_profile = HttpProfile(
|
401
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
402
|
+
reqMethod="POST",
|
403
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
404
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
405
|
+
)
|
406
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
407
|
+
if g_param[OptionsDefine.Language]:
|
408
|
+
profile.language = g_param[OptionsDefine.Language]
|
409
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
410
|
+
client = mod.SslClient(cred, g_param[OptionsDefine.Region], profile)
|
411
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
412
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
413
|
+
model = models.UploadUpdateCertificateRecordRetryRequest()
|
414
|
+
model.from_json_string(json.dumps(args))
|
415
|
+
start_time = time.time()
|
416
|
+
while True:
|
417
|
+
rsp = client.UploadUpdateCertificateRecordRetry(model)
|
418
|
+
result = rsp.to_json_string()
|
419
|
+
try:
|
420
|
+
json_obj = json.loads(result)
|
421
|
+
except TypeError as e:
|
422
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
423
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
424
|
+
break
|
425
|
+
cur_time = time.time()
|
426
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
427
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
428
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
429
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
430
|
+
else:
|
431
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
432
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
433
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
434
|
+
|
435
|
+
|
436
|
+
def doUploadUpdateCertificateRecordRollback(args, parsed_globals):
|
437
|
+
g_param = parse_global_arg(parsed_globals)
|
438
|
+
|
439
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
440
|
+
cred = credential.CVMRoleCredential()
|
441
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
442
|
+
cred = credential.STSAssumeRoleCredential(
|
443
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
444
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
445
|
+
)
|
446
|
+
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):
|
447
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
448
|
+
else:
|
449
|
+
cred = credential.Credential(
|
450
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
451
|
+
)
|
452
|
+
http_profile = HttpProfile(
|
453
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
454
|
+
reqMethod="POST",
|
455
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
456
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
457
|
+
)
|
458
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
459
|
+
if g_param[OptionsDefine.Language]:
|
460
|
+
profile.language = g_param[OptionsDefine.Language]
|
461
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
462
|
+
client = mod.SslClient(cred, g_param[OptionsDefine.Region], profile)
|
463
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
464
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
465
|
+
model = models.UploadUpdateCertificateRecordRollbackRequest()
|
466
|
+
model.from_json_string(json.dumps(args))
|
467
|
+
start_time = time.time()
|
468
|
+
while True:
|
469
|
+
rsp = client.UploadUpdateCertificateRecordRollback(model)
|
470
|
+
result = rsp.to_json_string()
|
471
|
+
try:
|
472
|
+
json_obj = json.loads(result)
|
473
|
+
except TypeError as e:
|
474
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
475
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
476
|
+
break
|
477
|
+
cur_time = time.time()
|
478
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
479
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
480
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
481
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
482
|
+
else:
|
483
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
484
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
485
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
486
|
+
|
487
|
+
|
332
488
|
def doDeleteManager(args, parsed_globals):
|
333
489
|
g_param = parse_global_arg(parsed_globals)
|
334
490
|
|
@@ -2201,6 +2357,58 @@ def doDescribeHostDeployRecord(args, parsed_globals):
|
|
2201
2357
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2202
2358
|
|
2203
2359
|
|
2360
|
+
def doDescribeHostUploadUpdateRecordDetail(args, parsed_globals):
|
2361
|
+
g_param = parse_global_arg(parsed_globals)
|
2362
|
+
|
2363
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2364
|
+
cred = credential.CVMRoleCredential()
|
2365
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2366
|
+
cred = credential.STSAssumeRoleCredential(
|
2367
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2368
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2369
|
+
)
|
2370
|
+
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):
|
2371
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2372
|
+
else:
|
2373
|
+
cred = credential.Credential(
|
2374
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2375
|
+
)
|
2376
|
+
http_profile = HttpProfile(
|
2377
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2378
|
+
reqMethod="POST",
|
2379
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2380
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2381
|
+
)
|
2382
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2383
|
+
if g_param[OptionsDefine.Language]:
|
2384
|
+
profile.language = g_param[OptionsDefine.Language]
|
2385
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2386
|
+
client = mod.SslClient(cred, g_param[OptionsDefine.Region], profile)
|
2387
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2388
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2389
|
+
model = models.DescribeHostUploadUpdateRecordDetailRequest()
|
2390
|
+
model.from_json_string(json.dumps(args))
|
2391
|
+
start_time = time.time()
|
2392
|
+
while True:
|
2393
|
+
rsp = client.DescribeHostUploadUpdateRecordDetail(model)
|
2394
|
+
result = rsp.to_json_string()
|
2395
|
+
try:
|
2396
|
+
json_obj = json.loads(result)
|
2397
|
+
except TypeError as e:
|
2398
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2399
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2400
|
+
break
|
2401
|
+
cur_time = time.time()
|
2402
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2403
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2404
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2405
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2406
|
+
else:
|
2407
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2408
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2409
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2410
|
+
|
2411
|
+
|
2204
2412
|
def doUpdateCertificateRecordRetry(args, parsed_globals):
|
2205
2413
|
g_param = parse_global_arg(parsed_globals)
|
2206
2414
|
|
@@ -3362,6 +3570,9 @@ ACTION_MAP = {
|
|
3362
3570
|
"CheckCertificateDomainVerification": doCheckCertificateDomainVerification,
|
3363
3571
|
"DescribeHostTkeInstanceList": doDescribeHostTkeInstanceList,
|
3364
3572
|
"UploadRevokeLetter": doUploadRevokeLetter,
|
3573
|
+
"DescribeHostUploadUpdateRecord": doDescribeHostUploadUpdateRecord,
|
3574
|
+
"UploadUpdateCertificateRecordRetry": doUploadUpdateCertificateRecordRetry,
|
3575
|
+
"UploadUpdateCertificateRecordRollback": doUploadUpdateCertificateRecordRollback,
|
3365
3576
|
"DeleteManager": doDeleteManager,
|
3366
3577
|
"CertificateInfoSubmit": doCertificateInfoSubmit,
|
3367
3578
|
"DescribeDownloadCertificateUrl": doDescribeDownloadCertificateUrl,
|
@@ -3398,6 +3609,7 @@ ACTION_MAP = {
|
|
3398
3609
|
"DescribeCertificateBindResourceTaskResult": doDescribeCertificateBindResourceTaskResult,
|
3399
3610
|
"CancelAuditCertificate": doCancelAuditCertificate,
|
3400
3611
|
"DescribeHostDeployRecord": doDescribeHostDeployRecord,
|
3612
|
+
"DescribeHostUploadUpdateRecordDetail": doDescribeHostUploadUpdateRecordDetail,
|
3401
3613
|
"UpdateCertificateRecordRetry": doUpdateCertificateRecordRetry,
|
3402
3614
|
"DescribeDeleteCertificatesTaskResult": doDescribeDeleteCertificatesTaskResult,
|
3403
3615
|
"ModifyCertificateProject": doModifyCertificateProject,
|