tccli 3.0.1323.1__py2.py3-none-any.whl → 3.0.1324.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/autoscaling/v20180419/api.json +1 -1
- tccli/services/batch/v20170312/api.json +16 -16
- tccli/services/cloudaudit/v20190319/api.json +4 -4
- tccli/services/csip/v20221121/api.json +1 -1
- tccli/services/cvm/v20170312/api.json +35 -35
- tccli/services/cvm/v20170312/examples.json +6 -6
- tccli/services/cynosdb/cynosdb_client.py +334 -16
- tccli/services/cynosdb/v20190107/api.json +558 -0
- tccli/services/cynosdb/v20190107/examples.json +48 -0
- tccli/services/emr/v20190103/api.json +4 -4
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/monitor/v20180724/api.json +5 -2
- tccli/services/monitor/v20180724/examples.json +1 -1
- tccli/services/ocr/v20181119/api.json +201 -2
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/ses/ses_client.py +170 -11
- tccli/services/ses/v20201002/api.json +138 -0
- tccli/services/ses/v20201002/examples.json +24 -0
- tccli/services/tcss/v20201101/api.json +3 -3
- tccli/services/tcss/v20201101/examples.json +1 -1
- tccli/services/trtc/v20190722/api.json +2 -2
- tccli/services/trtc/v20190722/examples.json +6 -0
- {tccli-3.0.1323.1.dist-info → tccli-3.0.1324.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1323.1.dist-info → tccli-3.0.1324.1.dist-info}/RECORD +30 -30
- {tccli-3.0.1323.1.dist-info → tccli-3.0.1324.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1323.1.dist-info → tccli-3.0.1324.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1323.1.dist-info → tccli-3.0.1324.1.dist-info}/license_files/LICENSE +0 -0
@@ -470,7 +470,7 @@
|
|
470
470
|
{
|
471
471
|
"document": "通用票据识别(高级版)识别多张票据",
|
472
472
|
"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}",
|
473
|
-
"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 },\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 },\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 },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n }\n ],\n \"RequestId\": \"c129cda9-e306-472e-817b-4e133ac5c706\",\n \"TotalPDFCount\": 1\n }\n}",
|
473
|
+
"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}",
|
474
474
|
"title": "通用票据识别(高级版)"
|
475
475
|
}
|
476
476
|
],
|
tccli/services/ses/ses_client.py
CHANGED
@@ -121,6 +121,58 @@ def doCreateEmailAddress(args, parsed_globals):
|
|
121
121
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
122
122
|
|
123
123
|
|
124
|
+
def doCreateEmailIdentity(args, parsed_globals):
|
125
|
+
g_param = parse_global_arg(parsed_globals)
|
126
|
+
|
127
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
128
|
+
cred = credential.CVMRoleCredential()
|
129
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
130
|
+
cred = credential.STSAssumeRoleCredential(
|
131
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
132
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
133
|
+
)
|
134
|
+
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):
|
135
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
136
|
+
else:
|
137
|
+
cred = credential.Credential(
|
138
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
139
|
+
)
|
140
|
+
http_profile = HttpProfile(
|
141
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
142
|
+
reqMethod="POST",
|
143
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
144
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
145
|
+
)
|
146
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
147
|
+
if g_param[OptionsDefine.Language]:
|
148
|
+
profile.language = g_param[OptionsDefine.Language]
|
149
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
150
|
+
client = mod.SesClient(cred, g_param[OptionsDefine.Region], profile)
|
151
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
152
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
153
|
+
model = models.CreateEmailIdentityRequest()
|
154
|
+
model.from_json_string(json.dumps(args))
|
155
|
+
start_time = time.time()
|
156
|
+
while True:
|
157
|
+
rsp = client.CreateEmailIdentity(model)
|
158
|
+
result = rsp.to_json_string()
|
159
|
+
try:
|
160
|
+
json_obj = json.loads(result)
|
161
|
+
except TypeError as e:
|
162
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
163
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
164
|
+
break
|
165
|
+
cur_time = time.time()
|
166
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
167
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
168
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
169
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
170
|
+
else:
|
171
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
172
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
173
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
174
|
+
|
175
|
+
|
124
176
|
def doCreateReceiverDetailWithData(args, parsed_globals):
|
125
177
|
g_param = parse_global_arg(parsed_globals)
|
126
178
|
|
@@ -329,7 +381,7 @@ def doCreateReceiver(args, parsed_globals):
|
|
329
381
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
330
382
|
|
331
383
|
|
332
|
-
def
|
384
|
+
def doGetEmailTemplate(args, parsed_globals):
|
333
385
|
g_param = parse_global_arg(parsed_globals)
|
334
386
|
|
335
387
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -358,11 +410,11 @@ def doGetEmailIdentity(args, parsed_globals):
|
|
358
410
|
client = mod.SesClient(cred, g_param[OptionsDefine.Region], profile)
|
359
411
|
client._sdkVersion += ("_CLI_" + __version__)
|
360
412
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
361
|
-
model = models.
|
413
|
+
model = models.GetEmailTemplateRequest()
|
362
414
|
model.from_json_string(json.dumps(args))
|
363
415
|
start_time = time.time()
|
364
416
|
while True:
|
365
|
-
rsp = client.
|
417
|
+
rsp = client.GetEmailTemplate(model)
|
366
418
|
result = rsp.to_json_string()
|
367
419
|
try:
|
368
420
|
json_obj = json.loads(result)
|
@@ -381,7 +433,7 @@ def doGetEmailIdentity(args, parsed_globals):
|
|
381
433
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
382
434
|
|
383
435
|
|
384
|
-
def
|
436
|
+
def doGetEmailIdentity(args, parsed_globals):
|
385
437
|
g_param = parse_global_arg(parsed_globals)
|
386
438
|
|
387
439
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -410,11 +462,11 @@ def doGetEmailTemplate(args, parsed_globals):
|
|
410
462
|
client = mod.SesClient(cred, g_param[OptionsDefine.Region], profile)
|
411
463
|
client._sdkVersion += ("_CLI_" + __version__)
|
412
464
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
413
|
-
model = models.
|
465
|
+
model = models.GetEmailIdentityRequest()
|
414
466
|
model.from_json_string(json.dumps(args))
|
415
467
|
start_time = time.time()
|
416
468
|
while True:
|
417
|
-
rsp = client.
|
469
|
+
rsp = client.GetEmailIdentity(model)
|
418
470
|
result = rsp.to_json_string()
|
419
471
|
try:
|
420
472
|
json_obj = json.loads(result)
|
@@ -849,7 +901,7 @@ def doDeleteReceiver(args, parsed_globals):
|
|
849
901
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
850
902
|
|
851
903
|
|
852
|
-
def
|
904
|
+
def doCreateAddressUnsubscribeConfig(args, parsed_globals):
|
853
905
|
g_param = parse_global_arg(parsed_globals)
|
854
906
|
|
855
907
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -878,11 +930,11 @@ def doCreateEmailIdentity(args, parsed_globals):
|
|
878
930
|
client = mod.SesClient(cred, g_param[OptionsDefine.Region], profile)
|
879
931
|
client._sdkVersion += ("_CLI_" + __version__)
|
880
932
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
881
|
-
model = models.
|
933
|
+
model = models.CreateAddressUnsubscribeConfigRequest()
|
882
934
|
model.from_json_string(json.dumps(args))
|
883
935
|
start_time = time.time()
|
884
936
|
while True:
|
885
|
-
rsp = client.
|
937
|
+
rsp = client.CreateAddressUnsubscribeConfig(model)
|
886
938
|
result = rsp.to_json_string()
|
887
939
|
try:
|
888
940
|
json_obj = json.loads(result)
|
@@ -1005,6 +1057,58 @@ def doUpdateEmailSmtpPassWord(args, parsed_globals):
|
|
1005
1057
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1006
1058
|
|
1007
1059
|
|
1060
|
+
def doUpdateAddressUnsubscribeConfig(args, parsed_globals):
|
1061
|
+
g_param = parse_global_arg(parsed_globals)
|
1062
|
+
|
1063
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1064
|
+
cred = credential.CVMRoleCredential()
|
1065
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1066
|
+
cred = credential.STSAssumeRoleCredential(
|
1067
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1068
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1069
|
+
)
|
1070
|
+
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):
|
1071
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1072
|
+
else:
|
1073
|
+
cred = credential.Credential(
|
1074
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1075
|
+
)
|
1076
|
+
http_profile = HttpProfile(
|
1077
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1078
|
+
reqMethod="POST",
|
1079
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1080
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1081
|
+
)
|
1082
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1083
|
+
if g_param[OptionsDefine.Language]:
|
1084
|
+
profile.language = g_param[OptionsDefine.Language]
|
1085
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1086
|
+
client = mod.SesClient(cred, g_param[OptionsDefine.Region], profile)
|
1087
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1088
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1089
|
+
model = models.UpdateAddressUnsubscribeConfigRequest()
|
1090
|
+
model.from_json_string(json.dumps(args))
|
1091
|
+
start_time = time.time()
|
1092
|
+
while True:
|
1093
|
+
rsp = client.UpdateAddressUnsubscribeConfig(model)
|
1094
|
+
result = rsp.to_json_string()
|
1095
|
+
try:
|
1096
|
+
json_obj = json.loads(result)
|
1097
|
+
except TypeError as e:
|
1098
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1099
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1100
|
+
break
|
1101
|
+
cur_time = time.time()
|
1102
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1103
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1104
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1105
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1106
|
+
else:
|
1107
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1108
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1109
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1110
|
+
|
1111
|
+
|
1008
1112
|
def doCreateCustomBlacklist(args, parsed_globals):
|
1009
1113
|
g_param = parse_global_arg(parsed_globals)
|
1010
1114
|
|
@@ -1109,6 +1213,58 @@ def doDeleteEmailTemplate(args, parsed_globals):
|
|
1109
1213
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1110
1214
|
|
1111
1215
|
|
1216
|
+
def doDeleteAddressUnsubscribeConfig(args, parsed_globals):
|
1217
|
+
g_param = parse_global_arg(parsed_globals)
|
1218
|
+
|
1219
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1220
|
+
cred = credential.CVMRoleCredential()
|
1221
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1222
|
+
cred = credential.STSAssumeRoleCredential(
|
1223
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1224
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1225
|
+
)
|
1226
|
+
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):
|
1227
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1228
|
+
else:
|
1229
|
+
cred = credential.Credential(
|
1230
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1231
|
+
)
|
1232
|
+
http_profile = HttpProfile(
|
1233
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1234
|
+
reqMethod="POST",
|
1235
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1236
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1237
|
+
)
|
1238
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1239
|
+
if g_param[OptionsDefine.Language]:
|
1240
|
+
profile.language = g_param[OptionsDefine.Language]
|
1241
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1242
|
+
client = mod.SesClient(cred, g_param[OptionsDefine.Region], profile)
|
1243
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1244
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1245
|
+
model = models.DeleteAddressUnsubscribeConfigRequest()
|
1246
|
+
model.from_json_string(json.dumps(args))
|
1247
|
+
start_time = time.time()
|
1248
|
+
while True:
|
1249
|
+
rsp = client.DeleteAddressUnsubscribeConfig(model)
|
1250
|
+
result = rsp.to_json_string()
|
1251
|
+
try:
|
1252
|
+
json_obj = json.loads(result)
|
1253
|
+
except TypeError as e:
|
1254
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1255
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1256
|
+
break
|
1257
|
+
cur_time = time.time()
|
1258
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1259
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1260
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1261
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1262
|
+
else:
|
1263
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1264
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1265
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1266
|
+
|
1267
|
+
|
1112
1268
|
def doListEmailTemplates(args, parsed_globals):
|
1113
1269
|
g_param = parse_global_arg(parsed_globals)
|
1114
1270
|
|
@@ -1694,12 +1850,13 @@ MODELS_MAP = {
|
|
1694
1850
|
ACTION_MAP = {
|
1695
1851
|
"ListEmailIdentities": doListEmailIdentities,
|
1696
1852
|
"CreateEmailAddress": doCreateEmailAddress,
|
1853
|
+
"CreateEmailIdentity": doCreateEmailIdentity,
|
1697
1854
|
"CreateReceiverDetailWithData": doCreateReceiverDetailWithData,
|
1698
1855
|
"GetSendEmailStatus": doGetSendEmailStatus,
|
1699
1856
|
"ListReceiverDetails": doListReceiverDetails,
|
1700
1857
|
"CreateReceiver": doCreateReceiver,
|
1701
|
-
"GetEmailIdentity": doGetEmailIdentity,
|
1702
1858
|
"GetEmailTemplate": doGetEmailTemplate,
|
1859
|
+
"GetEmailIdentity": doGetEmailIdentity,
|
1703
1860
|
"UpdateCustomBlackList": doUpdateCustomBlackList,
|
1704
1861
|
"ListBlackEmailAddress": doListBlackEmailAddress,
|
1705
1862
|
"ListAddressUnsubscribeConfig": doListAddressUnsubscribeConfig,
|
@@ -1708,11 +1865,13 @@ ACTION_MAP = {
|
|
1708
1865
|
"DeleteEmailIdentity": doDeleteEmailIdentity,
|
1709
1866
|
"ListEmailAddress": doListEmailAddress,
|
1710
1867
|
"DeleteReceiver": doDeleteReceiver,
|
1711
|
-
"
|
1868
|
+
"CreateAddressUnsubscribeConfig": doCreateAddressUnsubscribeConfig,
|
1712
1869
|
"BatchSendEmail": doBatchSendEmail,
|
1713
1870
|
"UpdateEmailSmtpPassWord": doUpdateEmailSmtpPassWord,
|
1871
|
+
"UpdateAddressUnsubscribeConfig": doUpdateAddressUnsubscribeConfig,
|
1714
1872
|
"CreateCustomBlacklist": doCreateCustomBlacklist,
|
1715
1873
|
"DeleteEmailTemplate": doDeleteEmailTemplate,
|
1874
|
+
"DeleteAddressUnsubscribeConfig": doDeleteAddressUnsubscribeConfig,
|
1716
1875
|
"ListEmailTemplates": doListEmailTemplates,
|
1717
1876
|
"DeleteBlackList": doDeleteBlackList,
|
1718
1877
|
"CreateEmailTemplate": doCreateEmailTemplate,
|
@@ -7,6 +7,13 @@
|
|
7
7
|
"output": "BatchSendEmailResponse",
|
8
8
|
"status": "online"
|
9
9
|
},
|
10
|
+
"CreateAddressUnsubscribeConfig": {
|
11
|
+
"document": "创建地址级退订配置",
|
12
|
+
"input": "CreateAddressUnsubscribeConfigRequest",
|
13
|
+
"name": "创建地址级退订配置",
|
14
|
+
"output": "CreateAddressUnsubscribeConfigResponse",
|
15
|
+
"status": "online"
|
16
|
+
},
|
10
17
|
"CreateCustomBlacklist": {
|
11
18
|
"document": "添加自定义黑名单",
|
12
19
|
"input": "CreateCustomBlacklistRequest",
|
@@ -56,6 +63,13 @@
|
|
56
63
|
"output": "CreateReceiverDetailWithDataResponse",
|
57
64
|
"status": "online"
|
58
65
|
},
|
66
|
+
"DeleteAddressUnsubscribeConfig": {
|
67
|
+
"document": "删除地址级退订配置",
|
68
|
+
"input": "DeleteAddressUnsubscribeConfigRequest",
|
69
|
+
"name": "删除地址级退订配置",
|
70
|
+
"output": "DeleteAddressUnsubscribeConfigResponse",
|
71
|
+
"status": "online"
|
72
|
+
},
|
59
73
|
"DeleteBlackList": {
|
60
74
|
"document": "邮箱被拉黑之后,用户如果确认收件邮箱有效或者已经处于激活状态,可以从腾讯云地址库中删除该黑名单之后继续投递。",
|
61
75
|
"input": "DeleteBlackListRequest",
|
@@ -196,6 +210,13 @@
|
|
196
210
|
"output": "SendEmailResponse",
|
197
211
|
"status": "online"
|
198
212
|
},
|
213
|
+
"UpdateAddressUnsubscribeConfig": {
|
214
|
+
"document": "用于更新地址级退订配置",
|
215
|
+
"input": "UpdateAddressUnsubscribeConfigRequest",
|
216
|
+
"name": "更新地址级退订配置",
|
217
|
+
"output": "UpdateAddressUnsubscribeConfigResponse",
|
218
|
+
"status": "online"
|
219
|
+
},
|
199
220
|
"UpdateCustomBlackList": {
|
200
221
|
"document": "更新自定义黑名单",
|
201
222
|
"input": "UpdateCustomBlackListRequest",
|
@@ -532,6 +553,51 @@
|
|
532
553
|
],
|
533
554
|
"usage": "out"
|
534
555
|
},
|
556
|
+
"CreateAddressUnsubscribeConfigRequest": {
|
557
|
+
"document": "CreateAddressUnsubscribeConfig请求参数结构体",
|
558
|
+
"members": [
|
559
|
+
{
|
560
|
+
"disabled": false,
|
561
|
+
"document": "发信地址",
|
562
|
+
"example": "test@exmaple.com",
|
563
|
+
"member": "string",
|
564
|
+
"name": "Address",
|
565
|
+
"required": true,
|
566
|
+
"type": "string"
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"disabled": false,
|
570
|
+
"document": "退订链接选项 0: 不加入退订链接 1: 简体中文 2: 英文 3: 繁体中文 4: 西班牙语 5: 法语 6: 德语 7: 日语 8: 韩语 9: 阿拉伯语 10: 泰语",
|
571
|
+
"example": "0",
|
572
|
+
"member": "string",
|
573
|
+
"name": "UnsubscribeConfig",
|
574
|
+
"required": true,
|
575
|
+
"type": "string"
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"disabled": false,
|
579
|
+
"document": "0:关闭,1:打开",
|
580
|
+
"example": "1",
|
581
|
+
"member": "uint64",
|
582
|
+
"name": "Status",
|
583
|
+
"required": true,
|
584
|
+
"type": "int"
|
585
|
+
}
|
586
|
+
],
|
587
|
+
"type": "object"
|
588
|
+
},
|
589
|
+
"CreateAddressUnsubscribeConfigResponse": {
|
590
|
+
"document": "CreateAddressUnsubscribeConfig返回参数结构体",
|
591
|
+
"members": [
|
592
|
+
{
|
593
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
594
|
+
"member": "string",
|
595
|
+
"name": "RequestId",
|
596
|
+
"type": "string"
|
597
|
+
}
|
598
|
+
],
|
599
|
+
"type": "object"
|
600
|
+
},
|
535
601
|
"CreateCustomBlacklistRequest": {
|
536
602
|
"document": "CreateCustomBlacklist请求参数结构体",
|
537
603
|
"members": [
|
@@ -1079,6 +1145,33 @@
|
|
1079
1145
|
],
|
1080
1146
|
"usage": "out"
|
1081
1147
|
},
|
1148
|
+
"DeleteAddressUnsubscribeConfigRequest": {
|
1149
|
+
"document": "DeleteAddressUnsubscribeConfig请求参数结构体",
|
1150
|
+
"members": [
|
1151
|
+
{
|
1152
|
+
"disabled": false,
|
1153
|
+
"document": "需要操作的发信地址",
|
1154
|
+
"example": "test@example.com",
|
1155
|
+
"member": "string",
|
1156
|
+
"name": "Address",
|
1157
|
+
"required": false,
|
1158
|
+
"type": "string"
|
1159
|
+
}
|
1160
|
+
],
|
1161
|
+
"type": "object"
|
1162
|
+
},
|
1163
|
+
"DeleteAddressUnsubscribeConfigResponse": {
|
1164
|
+
"document": "DeleteAddressUnsubscribeConfig返回参数结构体",
|
1165
|
+
"members": [
|
1166
|
+
{
|
1167
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1168
|
+
"member": "string",
|
1169
|
+
"name": "RequestId",
|
1170
|
+
"type": "string"
|
1171
|
+
}
|
1172
|
+
],
|
1173
|
+
"type": "object"
|
1174
|
+
},
|
1082
1175
|
"DeleteBlackListRequest": {
|
1083
1176
|
"document": "DeleteBlackList请求参数结构体",
|
1084
1177
|
"members": [
|
@@ -3011,6 +3104,51 @@
|
|
3011
3104
|
],
|
3012
3105
|
"usage": "both"
|
3013
3106
|
},
|
3107
|
+
"UpdateAddressUnsubscribeConfigRequest": {
|
3108
|
+
"document": "UpdateAddressUnsubscribeConfig请求参数结构体",
|
3109
|
+
"members": [
|
3110
|
+
{
|
3111
|
+
"disabled": false,
|
3112
|
+
"document": "发信地址",
|
3113
|
+
"example": "test@example.com",
|
3114
|
+
"member": "string",
|
3115
|
+
"name": "Address",
|
3116
|
+
"required": true,
|
3117
|
+
"type": "string"
|
3118
|
+
},
|
3119
|
+
{
|
3120
|
+
"disabled": false,
|
3121
|
+
"document": "退订链接选项 0: 不加入退订链接 1: 简体中文 2: 英文 3: 繁体中文 4: 西班牙语 5: 法语 6: 德语 7: 日语 8: 韩语 9: 阿拉伯语 10: 泰语",
|
3122
|
+
"example": "0",
|
3123
|
+
"member": "string",
|
3124
|
+
"name": "UnsubscribeConfig",
|
3125
|
+
"required": true,
|
3126
|
+
"type": "string"
|
3127
|
+
},
|
3128
|
+
{
|
3129
|
+
"disabled": false,
|
3130
|
+
"document": "0:关闭配置,1:打开配置",
|
3131
|
+
"example": "1",
|
3132
|
+
"member": "uint64",
|
3133
|
+
"name": "Status",
|
3134
|
+
"required": true,
|
3135
|
+
"type": "int"
|
3136
|
+
}
|
3137
|
+
],
|
3138
|
+
"type": "object"
|
3139
|
+
},
|
3140
|
+
"UpdateAddressUnsubscribeConfigResponse": {
|
3141
|
+
"document": "UpdateAddressUnsubscribeConfig返回参数结构体",
|
3142
|
+
"members": [
|
3143
|
+
{
|
3144
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3145
|
+
"member": "string",
|
3146
|
+
"name": "RequestId",
|
3147
|
+
"type": "string"
|
3148
|
+
}
|
3149
|
+
],
|
3150
|
+
"type": "object"
|
3151
|
+
},
|
3014
3152
|
"UpdateCustomBlackListRequest": {
|
3015
3153
|
"document": "UpdateCustomBlackList请求参数结构体",
|
3016
3154
|
"members": [
|
@@ -8,6 +8,14 @@
|
|
8
8
|
"title": "新增批量发送任务"
|
9
9
|
}
|
10
10
|
],
|
11
|
+
"CreateAddressUnsubscribeConfig": [
|
12
|
+
{
|
13
|
+
"document": "",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: ses.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAddressUnsubscribeConfig\n<公共请求参数>\n\n{\n \"Address\": \"test@example.com\",\n \"UnsubscribeConfig\": \"7\",\n \"Status\": 1\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c30ca2e0-71d7-40dc-8808-fce32493b1f7\"\n }\n}",
|
16
|
+
"title": "成功示例"
|
17
|
+
}
|
18
|
+
],
|
11
19
|
"CreateCustomBlacklist": [
|
12
20
|
{
|
13
21
|
"document": "",
|
@@ -76,6 +84,14 @@
|
|
76
84
|
"title": "添加收件人地址附带模板参数"
|
77
85
|
}
|
78
86
|
],
|
87
|
+
"DeleteAddressUnsubscribeConfig": [
|
88
|
+
{
|
89
|
+
"document": "",
|
90
|
+
"input": "POST / HTTP/1.1\nHost: ses.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAddressUnsubscribeConfig\n<公共请求参数>\n\n{\n \"Address\": \"test@example.com\"\n}",
|
91
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"003fc71e-55d3-443e-b72e-eb8b4e8c1379\"\n }\n}",
|
92
|
+
"title": "成功示例"
|
93
|
+
}
|
94
|
+
],
|
79
95
|
"DeleteBlackList": [
|
80
96
|
{
|
81
97
|
"document": "",
|
@@ -254,6 +270,14 @@
|
|
254
270
|
"title": "发送纯文本邮件"
|
255
271
|
}
|
256
272
|
],
|
273
|
+
"UpdateAddressUnsubscribeConfig": [
|
274
|
+
{
|
275
|
+
"document": "",
|
276
|
+
"input": "POST / HTTP/1.1\nHost: ses.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateAddressUnsubscribeConfig\n<公共请求参数>\n\n{\n \"Address\": \"test@example.com\",\n \"UnsubscribeConfig\": \"1\",\n \"Status\": 1\n}",
|
277
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"962cdec7-08bf-40f0-b3cf-0acb944bff4d\"\n }\n}",
|
278
|
+
"title": "成功示例"
|
279
|
+
}
|
280
|
+
],
|
257
281
|
"UpdateCustomBlackList": [
|
258
282
|
{
|
259
283
|
"document": "",
|
@@ -5499,7 +5499,7 @@
|
|
5499
5499
|
"type": "object"
|
5500
5500
|
},
|
5501
5501
|
"CkafkaRouteInfo": {
|
5502
|
-
"document": "
|
5502
|
+
"document": "Ckafka路由详情",
|
5503
5503
|
"members": [
|
5504
5504
|
{
|
5505
5505
|
"disabled": false,
|
@@ -12931,7 +12931,7 @@
|
|
12931
12931
|
"members": [
|
12932
12932
|
{
|
12933
12933
|
"disabled": false,
|
12934
|
-
"document": "
|
12934
|
+
"document": "excel下载地址",
|
12935
12935
|
"example": "https://www.**.com/**",
|
12936
12936
|
"member": "string",
|
12937
12937
|
"name": "DownloadUrl",
|
@@ -24191,7 +24191,7 @@
|
|
24191
24191
|
"members": [
|
24192
24192
|
{
|
24193
24193
|
"disabled": false,
|
24194
|
-
"document": "
|
24194
|
+
"document": "excel下载地址",
|
24195
24195
|
"example": "https://www.***.com/***",
|
24196
24196
|
"member": "string",
|
24197
24197
|
"name": "DownloadUrl",
|
@@ -1341,7 +1341,7 @@
|
|
1341
1341
|
"document": "",
|
1342
1342
|
"input": "https://tcss.tencentcloudapi.com/?Action=DescribeEscapeRuleInfo\n&<公共请求参数>",
|
1343
1343
|
"output": "{\n \"Response\": {\n \"RequestId\": \"d8663c94-1030-4256-8e10-a3822d7b5e10\",\n \"RuleSet\": [\n {\n \"Group\": \"PROCESS_PRIVILEGE\",\n \"IsEnable\": true,\n \"Name\": \"突破namespace限制\",\n \"Type\": \"PRIVILEGE\"\n },\n {\n \"Group\": \"RISK_CONTAINER\",\n \"IsEnable\": true,\n \"Name\": \"敏感路径挂载\",\n \"Type\": \"MOUNT_SENSITIVE_PTAH\"\n },\n {\n \"Group\": \"CONTAINER_ESCAPE\",\n \"IsEnable\": true,\n \"Name\": \"逃逸漏洞利用\",\n \"Type\": \"ESCAPE_VUL_OCCURRED\"\n },\n {\n \"Group\": \"CONTAINER_ESCAPE\",\n \"IsEnable\": true,\n \"Name\": \"访问Docker API接口逃逸\",\n \"Type\": \"ESCAPE_DOCKER_API\"\n },\n {\n \"Group\": \"CONTAINER_ESCAPE\",\n \"IsEnable\": true,\n \"Name\": \"篡改敏感文件逃逸\",\n \"Type\": \"ESCAPE_TAMPER_SENSITIVE_FILE\"\n },\n {\n \"Group\": \"CONTAINER_ESCAPE\",\n \"IsEnable\": true,\n \"Name\": \"利用cgroup机制逃逸\",\n \"Type\": \"ESCAPE_CGROUPS\"\n }\n ]\n }\n}",
|
1344
|
-
"title": "
|
1344
|
+
"title": "获取逃逸规则"
|
1345
1345
|
}
|
1346
1346
|
],
|
1347
1347
|
"DescribeEscapeSafeState": [
|
@@ -3758,7 +3758,7 @@
|
|
3758
3758
|
},
|
3759
3759
|
{
|
3760
3760
|
"disabled": false,
|
3761
|
-
"document": "音频用户白名单,start时,为空或不填表示混所有主播音频,填具体值表示混指定主播音频;update时,不填表示不更新,为空表示更新为混所有主播音频,填具体值表示更新为混指定主播音频。\n
|
3761
|
+
"document": "音频用户白名单,start时,为空或不填表示混所有主播音频,填具体值表示混指定主播音频;update时,不填表示不更新,为空表示更新为混所有主播音频,填具体值表示更新为混指定主播音频。\n使用黑白名单时,黑白名单必须同时填写。都不填写时表示不更新。同一个用户同时在黑白名单时,以黑名单为主。\n注:如果是跨房pk时,跨房混流需要指定音频白名单,否则pk主播的的音频上行会被拉到两次,产生重音。",
|
3762
3762
|
"example": "[{\"UserInfo\":{\"RoomIdType\":0,\"RoomId\":\"123456\",\"UserId\":\"user_a\"}}]",
|
3763
3763
|
"member": "McuUserInfoParams",
|
3764
3764
|
"name": "SubscribeAudioList",
|
@@ -6659,7 +6659,7 @@
|
|
6659
6659
|
"members": [
|
6660
6660
|
{
|
6661
6661
|
"disabled": false,
|
6662
|
-
"document": "用于唯一标识转推任务,由腾讯云服务端生成,后续更新和停止请求都需要携带
|
6662
|
+
"document": "用于唯一标识转推任务,由腾讯云服务端生成,后续更新和停止请求都需要携带TaskID参数。",
|
6663
6663
|
"example": "-nHPekVU7h******sceOqAZ1YVQE.",
|
6664
6664
|
"member": "string",
|
6665
6665
|
"name": "TaskId",
|