tencentcloud-sdk-python 3.0.1491__py2.py3-none-any.whl → 3.1.6__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aai/v20180522/aai_client_async.py +100 -0
- tencentcloud/aca/v20210323/aca_client_async.py +170 -0
- tencentcloud/acp/v20220105/acp_client_async.py +170 -0
- tencentcloud/advisor/v20200721/advisor_client_async.py +62 -0
- tencentcloud/af/v20200226/af_client_async.py +86 -0
- tencentcloud/afc/v20200226/afc_client_async.py +82 -0
- tencentcloud/ags/v20250920/ags_client_async.py +243 -0
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +102 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +513 -0
- tencentcloud/ame/v20190916/ame_client_async.py +586 -0
- tencentcloud/ams/v20200608/ams_client_async.py +179 -0
- tencentcloud/ams/v20201229/ams_client_async.py +169 -0
- tencentcloud/anicloud/v20220923/anicloud_client_async.py +80 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +1718 -0
- tencentcloud/ape/v20200513/ape_client_async.py +170 -0
- tencentcloud/api/v20201106/api_client_async.py +80 -0
- tencentcloud/apigateway/v20180808/apigateway_client_async.py +1830 -0
- tencentcloud/apm/v20210622/apm_client_async.py +495 -0
- tencentcloud/asr/v20190614/asr_client_async.py +647 -0
- tencentcloud/asw/v20200722/asw_client_async.py +188 -0
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -0
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1230 -0
- tencentcloud/autoscaling/v20180419/models.py +36 -0
- tencentcloud/ba/v20200720/ba_client_async.py +81 -0
- tencentcloud/batch/v20170312/batch_client_async.py +582 -0
- tencentcloud/bda/v20200324/bda_client_async.py +116 -0
- tencentcloud/bh/v20230418/bh_client.py +230 -0
- tencentcloud/bh/v20230418/bh_client_async.py +1844 -0
- tencentcloud/bh/v20230418/models.py +1677 -216
- tencentcloud/bi/v20220105/bi_client_async.py +548 -0
- tencentcloud/billing/v20180709/billing_client_async.py +1149 -0
- tencentcloud/bizlive/v20190313/bizlive_client_async.py +134 -0
- tencentcloud/bm/v20180423/bm_client_async.py +1012 -0
- tencentcloud/bma/v20210624/bma_client_async.py +530 -0
- tencentcloud/bma/v20221115/bma_client_async.py +224 -0
- tencentcloud/bmeip/v20180625/bmeip_client_async.py +386 -0
- tencentcloud/bmlb/v20180625/bmlb_client_async.py +908 -0
- tencentcloud/bmvpc/v20180625/bmvpc_client_async.py +1171 -0
- tencentcloud/bpaas/v20181217/bpaas_client_async.py +62 -0
- tencentcloud/bri/v20190328/bri_client_async.py +58 -0
- tencentcloud/bsca/v20210811/bsca_client_async.py +152 -0
- tencentcloud/btoe/v20210303/btoe_client_async.py +267 -0
- tencentcloud/btoe/v20210514/btoe_client_async.py +287 -0
- tencentcloud/ca/v20230228/ca_client_async.py +80 -0
- tencentcloud/cam/v20190116/cam_client_async.py +1684 -0
- tencentcloud/captcha/v20190722/captcha_client_async.py +350 -0
- tencentcloud/car/v20220110/car_client_async.py +134 -0
- tencentcloud/cat/v20180409/cat_client_async.py +279 -0
- tencentcloud/cbs/v20170312/cbs_client_async.py +959 -0
- tencentcloud/ccc/v20200210/ccc_client_async.py +1494 -0
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client_async.py +3254 -0
- tencentcloud/cdb/v20170320/models.py +74 -44
- tencentcloud/cdc/v20201214/cdc_client_async.py +440 -0
- tencentcloud/cdn/v20180606/cdn_client_async.py +1090 -0
- tencentcloud/cds/v20180420/cds_client_async.py +116 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +548 -0
- tencentcloud/cdwch/v20200915/models.py +34 -4
- tencentcloud/cdwdoris/v20211228/cdwdoris_client_async.py +1106 -0
- tencentcloud/cdwpg/v20201230/cdwpg_client_async.py +458 -0
- tencentcloud/cdz/v20221123/cdz_client_async.py +62 -0
- tencentcloud/cfg/v20210820/cfg_client_async.py +332 -0
- tencentcloud/cfs/v20190719/cfs_client_async.py +1054 -0
- tencentcloud/cfs/v20190719/models.py +40 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/cfw_client_async.py +2067 -0
- tencentcloud/cfw/v20190904/models.py +784 -8
- tencentcloud/chc/v20230418/chc_client_async.py +710 -0
- tencentcloud/chdfs/v20190718/chdfs_client_async.py +546 -0
- tencentcloud/chdfs/v20201112/chdfs_client_async.py +548 -0
- tencentcloud/ciam/v20220331/ciam_client_async.py +440 -0
- tencentcloud/cii/v20201210/cii_client_async.py +80 -0
- tencentcloud/cii/v20210408/cii_client_async.py +262 -0
- tencentcloud/cim/v20190318/cim_client_async.py +44 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +92 -0
- tencentcloud/ckafka/v20190819/ckafka_client_async.py +1701 -0
- tencentcloud/ckafka/v20190819/errorcodes.py +3 -0
- tencentcloud/ckafka/v20190819/models.py +741 -62
- tencentcloud/clb/v20180317/clb_client_async.py +1683 -0
- tencentcloud/cloudapp/v20220530/cloudapp_client_async.py +175 -0
- tencentcloud/cloudaudit/v20190319/cloudaudit_client_async.py +372 -0
- tencentcloud/cloudhsm/v20191112/cloudhsm_client_async.py +278 -0
- tencentcloud/cloudhsm/v20191112/models.py +49 -0
- tencentcloud/cloudstudio/v20230508/cloudstudio_client_async.py +188 -0
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/cls_client_async.py +2362 -0
- tencentcloud/cls/v20201016/models.py +1427 -74
- tencentcloud/cme/v20191029/cme_client_async.py +983 -0
- tencentcloud/cmq/v20190304/cmq_client_async.py +62 -0
- tencentcloud/cms/v20190321/cms_client_async.py +134 -0
- tencentcloud/common/abstract_client_async.py +654 -0
- tencentcloud/common/common_client_async.py +45 -0
- tencentcloud/common/http/request_async.py +62 -0
- tencentcloud/common/retry_async.py +87 -0
- tencentcloud/config/v20220802/config_client_async.py +152 -0
- tencentcloud/controlcenter/v20230110/controlcenter_client_async.py +116 -0
- tencentcloud/cpdp/v20190820/cpdp_client_async.py +3979 -0
- tencentcloud/csip/v20221121/csip_client.py +1 -1
- tencentcloud/csip/v20221121/csip_client_async.py +1502 -0
- tencentcloud/csip/v20221121/models.py +105 -0
- tencentcloud/csxg/v20230303/csxg_client_async.py +116 -0
- tencentcloud/ctem/v20231128/ctem_client.py +644 -0
- tencentcloud/ctem/v20231128/ctem_client_async.py +1124 -0
- tencentcloud/ctem/v20231128/models.py +4999 -711
- tencentcloud/ctsdb/v20230202/ctsdb_client_async.py +69 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +2025 -0
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +14 -14
- tencentcloud/cwp/v20180228/cwp_client_async.py +9288 -0
- tencentcloud/cws/v20180312/cws_client_async.py +368 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +3068 -0
- tencentcloud/cynosdb/v20190107/models.py +99 -2
- tencentcloud/dasb/v20191018/dasb_client_async.py +1160 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +224 -0
- tencentcloud/dataagent/v20250513/models.py +15 -0
- tencentcloud/dayu/v20180709/dayu_client_async.py +2042 -0
- tencentcloud/dbbrain/v20191016/dbbrain_client_async.py +530 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +1538 -0
- tencentcloud/dbbrain/v20210527/models.py +463 -12
- tencentcloud/dbdc/v20201029/dbdc_client_async.py +134 -0
- tencentcloud/dc/v20180410/dc_client_async.py +425 -0
- tencentcloud/dcdb/v20180411/dcdb_client_async.py +1541 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +3322 -0
- tencentcloud/dlc/v20210125/errorcodes.py +9 -0
- tencentcloud/dlc/v20210125/models.py +1424 -17
- tencentcloud/dnspod/v20210323/dnspod_client_async.py +1710 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/dnspod/v20210323/models.py +2 -2
- tencentcloud/domain/v20180808/domain_client_async.py +1022 -0
- tencentcloud/drm/v20181115/drm_client_async.py +231 -0
- tencentcloud/ds/v20180523/ds_client_async.py +244 -0
- tencentcloud/dsgc/v20190723/dsgc_client_async.py +2452 -0
- tencentcloud/dsgc/v20190723/models.py +36 -36
- tencentcloud/dts/v20180330/dts_client_async.py +438 -0
- tencentcloud/dts/v20211206/dts_client.py +184 -0
- tencentcloud/dts/v20211206/dts_client_async.py +1480 -0
- tencentcloud/dts/v20211206/models.py +1275 -98
- tencentcloud/eb/v20210416/eb_client_async.py +602 -0
- tencentcloud/ecc/v20181213/ecc_client_async.py +100 -0
- tencentcloud/ecdn/v20191012/ecdn_client_async.py +162 -0
- tencentcloud/ecm/v20190719/ecm_client_async.py +2602 -0
- tencentcloud/eiam/v20210420/eiam_client_async.py +782 -0
- tencentcloud/eis/v20200715/eis_client_async.py +80 -0
- tencentcloud/eis/v20210601/eis_client_async.py +116 -0
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/emr_client_async.py +1659 -0
- tencentcloud/emr/v20190103/models.py +395 -0
- tencentcloud/es/v20180416/es_client_async.py +1209 -0
- tencentcloud/es/v20250101/es_client.py +6 -5
- tencentcloud/es/v20250101/es_client_async.py +216 -0
- tencentcloud/es/v20250101/models.py +6 -6
- tencentcloud/ess/v20201111/ess_client.py +6 -2
- tencentcloud/ess/v20201111/ess_client_async.py +3406 -0
- tencentcloud/ess/v20201111/models.py +468 -19
- tencentcloud/essbasic/v20201222/essbasic_client_async.py +1029 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/essbasic/v20210526/essbasic_client_async.py +2757 -0
- tencentcloud/essbasic/v20210526/models.py +320 -6
- tencentcloud/evt/__init__.py +0 -0
- tencentcloud/evt/v20250217/__init__.py +0 -0
- tencentcloud/evt/v20250217/errorcodes.py +15 -0
- tencentcloud/evt/v20250217/evt_client.py +49 -0
- tencentcloud/evt/v20250217/evt_client_async.py +44 -0
- tencentcloud/evt/v20250217/models.py +228 -0
- tencentcloud/facefusion/v20181201/facefusion_client_async.py +86 -0
- tencentcloud/facefusion/v20220927/facefusion_client_async.py +83 -0
- tencentcloud/faceid/v20180301/errorcodes.py +0 -6
- tencentcloud/faceid/v20180301/faceid_client.py +0 -23
- tencentcloud/faceid/v20180301/faceid_client_async.py +674 -0
- tencentcloud/faceid/v20180301/models.py +45 -195
- tencentcloud/fmu/v20191213/fmu_client_async.py +161 -0
- tencentcloud/ft/v20200304/ft_client_async.py +134 -0
- tencentcloud/gaap/v20180529/gaap_client_async.py +1865 -0
- tencentcloud/gme/v20180711/gme_client_async.py +865 -0
- tencentcloud/goosefs/v20220519/goosefs_client_async.py +514 -0
- tencentcloud/gs/v20191118/gs_client.py +46 -0
- tencentcloud/gs/v20191118/gs_client_async.py +1527 -0
- tencentcloud/gs/v20191118/models.py +227 -0
- tencentcloud/gwlb/v20240906/gwlb_client_async.py +373 -0
- tencentcloud/habo/v20181203/habo_client_async.py +62 -0
- tencentcloud/hai/v20230812/hai_client_async.py +316 -0
- tencentcloud/hasim/v20210716/hasim_client_async.py +422 -0
- tencentcloud/hcm/v20181106/hcm_client_async.py +44 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client_async.py +469 -0
- tencentcloud/iai/v20180301/iai_client.py +0 -44
- tencentcloud/iai/v20180301/iai_client_async.py +728 -0
- tencentcloud/iai/v20180301/models.py +0 -171
- tencentcloud/iai/v20200303/iai_client.py +1 -35
- tencentcloud/iai/v20200303/iai_client_async.py +802 -0
- tencentcloud/iai/v20200303/models.py +0 -175
- tencentcloud/iap/v20240713/iap_client_async.py +134 -0
- tencentcloud/ic/v20190307/ic_client_async.py +193 -0
- tencentcloud/icr/v20211014/icr_client_async.py +44 -0
- tencentcloud/ie/v20200304/ie_client_async.py +206 -0
- tencentcloud/ig/v20210518/ig_client_async.py +44 -0
- tencentcloud/igtm/v20231024/igtm_client_async.py +494 -0
- tencentcloud/igtm/v20231024/models.py +110 -0
- tencentcloud/ims/v20200713/ims_client_async.py +60 -0
- tencentcloud/ims/v20201229/ims_client_async.py +132 -0
- tencentcloud/ioa/v20220601/ioa_client_async.py +512 -0
- tencentcloud/iot/v20180123/iot_client_async.py +838 -0
- tencentcloud/iotcloud/v20180614/iotcloud_client_async.py +1268 -0
- tencentcloud/iotcloud/v20210408/iotcloud_client_async.py +1340 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +161 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +3632 -0
- tencentcloud/iotexplorer/v20190423/models.py +1669 -337
- tencentcloud/iotvideo/v20191126/iotvideo_client_async.py +1278 -0
- tencentcloud/iotvideo/v20201215/iotvideo_client_async.py +1448 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client_async.py +1970 -0
- tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client_async.py +1921 -0
- tencentcloud/irp/v20220324/irp_client_async.py +98 -0
- tencentcloud/irp/v20220805/irp_client_async.py +152 -0
- tencentcloud/iss/v20230517/iss_client_async.py +1686 -0
- tencentcloud/iss/v20230517/models.py +2 -2
- tencentcloud/ivld/v20210903/ivld_client_async.py +636 -0
- tencentcloud/keewidb/v20220308/keewidb_client_async.py +711 -0
- tencentcloud/kms/v20190118/kms_client_async.py +1252 -0
- tencentcloud/lcic/v20220817/lcic_client_async.py +1331 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client_async.py +2331 -0
- tencentcloud/live/v20180801/live_client.py +0 -25
- tencentcloud/live/v20180801/live_client_async.py +3758 -0
- tencentcloud/live/v20180801/models.py +0 -282
- tencentcloud/lke/v20231130/lke_client_async.py +1923 -0
- tencentcloud/lke/v20231130/models.py +82 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -13
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +618 -0
- tencentcloud/lowcode/v20210108/lowcode_client_async.py +332 -0
- tencentcloud/mall/v20230518/mall_client_async.py +44 -0
- tencentcloud/mariadb/v20170312/mariadb_client_async.py +1505 -0
- tencentcloud/market/v20191010/market_client_async.py +62 -0
- tencentcloud/memcached/v20190318/memcached_client_async.py +44 -0
- tencentcloud/mmps/v20200710/mmps_client_async.py +296 -0
- tencentcloud/mna/v20210119/mna_client_async.py +764 -0
- tencentcloud/mongodb/v20180408/mongodb_client_async.py +260 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/models.py +390 -2
- tencentcloud/mongodb/v20190725/mongodb_client.py +46 -0
- tencentcloud/mongodb/v20190725/mongodb_client_async.py +1220 -0
- tencentcloud/monitor/v20180724/monitor_client_async.py +3099 -0
- tencentcloud/monitor/v20230616/monitor_client_async.py +44 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +2329 -290
- tencentcloud/mps/v20190612/mps_client.py +232 -0
- tencentcloud/mps/v20190612/mps_client_async.py +2729 -0
- tencentcloud/mqtt/v20240516/mqtt_client_async.py +1153 -0
- tencentcloud/mrs/v20200910/mrs_client_async.py +231 -0
- tencentcloud/ms/v20180408/ms_client_async.py +450 -0
- tencentcloud/msp/v20180319/msp_client_async.py +154 -0
- tencentcloud/nlp/v20190408/nlp_client_async.py +140 -0
- tencentcloud/npp/v20190823/npp_client_async.py +170 -0
- tencentcloud/oceanus/v20190422/oceanus_client_async.py +844 -0
- tencentcloud/ocr/v20181119/models.py +232 -0
- tencentcloud/ocr/v20181119/ocr_client_async.py +2228 -0
- tencentcloud/omics/v20221128/omics_client_async.py +386 -0
- tencentcloud/organization/v20181225/organization_client_async.py +386 -0
- tencentcloud/organization/v20210331/organization_client_async.py +2348 -0
- tencentcloud/partners/v20180321/partners_client_async.py +444 -0
- tencentcloud/postgres/v20170312/errorcodes.py +6 -0
- tencentcloud/postgres/v20170312/postgres_client_async.py +1908 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +9 -0
- tencentcloud/privatedns/v20201028/models.py +783 -17
- tencentcloud/privatedns/v20201028/privatedns_client.py +93 -1
- tencentcloud/privatedns/v20201028/privatedns_client_async.py +746 -0
- tencentcloud/pts/v20210728/pts_client_async.py +890 -0
- tencentcloud/rce/v20201103/rce_client_async.py +224 -0
- tencentcloud/redis/v20180412/redis_client_async.py +2008 -0
- tencentcloud/region/v20220627/region_client_async.py +80 -0
- tencentcloud/rum/v20210622/rum_client_async.py +999 -0
- tencentcloud/scf/v20180416/errorcodes.py +6 -0
- tencentcloud/scf/v20180416/models.py +263 -0
- tencentcloud/scf/v20180416/scf_client_async.py +984 -0
- tencentcloud/securitylake/v20240117/securitylake_client_async.py +44 -0
- tencentcloud/ses/v20201002/ses_client_async.py +657 -0
- tencentcloud/smh/v20210712/smh_client_async.py +296 -0
- tencentcloud/smop/v20201203/smop_client_async.py +46 -0
- tencentcloud/sms/v20190711/sms_client_async.py +326 -0
- tencentcloud/sms/v20210111/sms_client_async.py +365 -0
- tencentcloud/soe/v20180724/soe_client_async.py +98 -0
- tencentcloud/sqlserver/v20180328/sqlserver_client_async.py +2693 -0
- tencentcloud/ssa/v20180608/ssa_client_async.py +440 -0
- tencentcloud/ssl/v20191205/ssl_client_async.py +1257 -0
- tencentcloud/sslpod/v20190605/sslpod_client_async.py +206 -0
- tencentcloud/ssm/v20190923/ssm_client_async.py +468 -0
- tencentcloud/sts/v20180813/sts_client_async.py +205 -0
- tencentcloud/svp/v20240125/svp_client_async.py +116 -0
- tencentcloud/taf/v20200210/taf_client_async.py +44 -0
- tencentcloud/tag/v20180813/tag_client_async.py +584 -0
- tencentcloud/tat/v20201028/tat_client_async.py +565 -0
- tencentcloud/tbaas/v20180416/tbaas_client_async.py +458 -0
- tencentcloud/tbp/v20190311/tbp_client_async.py +98 -0
- tencentcloud/tbp/v20190627/tbp_client_async.py +62 -0
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +986 -0
- tencentcloud/tcb/v20180608/tcb_client_async.py +1632 -0
- tencentcloud/tcbr/v20220217/models.py +15 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +206 -0
- tencentcloud/tccatalog/v20241024/tccatalog_client_async.py +98 -0
- tencentcloud/tchd/v20230306/tchd_client_async.py +65 -0
- tencentcloud/tcm/v20210413/tcm_client_async.py +242 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +2008 -0
- tencentcloud/tcss/v20201101/tcss_client_async.py +6169 -0
- tencentcloud/tdai/v20250717/models.py +55 -10
- tencentcloud/tdai/v20250717/tdai_client.py +1 -1
- tencentcloud/tdai/v20250717/tdai_client_async.py +350 -0
- tencentcloud/tdcpg/v20211118/tdcpg_client_async.py +482 -0
- tencentcloud/tdid/v20210519/tdid_client_async.py +353 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +636 -904
- tencentcloud/tdmq/v20200217/tdmq_client.py +44 -73
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +2732 -0
- tencentcloud/tds/v20220801/tds_client_async.py +116 -0
- tencentcloud/tem/v20201221/tem_client_async.py +332 -0
- tencentcloud/tem/v20210701/tem_client_async.py +949 -0
- tencentcloud/teo/v20220106/teo_client_async.py +120 -0
- tencentcloud/teo/v20220901/models.py +267 -4
- tencentcloud/teo/v20220901/teo_client_async.py +3609 -0
- tencentcloud/thpc/v20211109/thpc_client_async.py +98 -0
- tencentcloud/thpc/v20220401/thpc_client_async.py +321 -0
- tencentcloud/thpc/v20230321/models.py +30 -0
- tencentcloud/thpc/v20230321/thpc_client_async.py +591 -0
- tencentcloud/tia/v20180226/tia_client_async.py +206 -0
- tencentcloud/tiia/v20190529/tiia_client_async.py +536 -0
- tencentcloud/tione/v20191022/tione_client_async.py +422 -0
- tencentcloud/tione/v20211111/tione_client_async.py +1003 -0
- tencentcloud/tiw/v20190919/tiw_client_async.py +656 -0
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +3129 -288
- tencentcloud/tke/v20180525/tke_client.py +414 -0
- tencentcloud/tke/v20180525/tke_client_async.py +4562 -0
- tencentcloud/tke/v20220501/tke_client_async.py +343 -0
- tencentcloud/tkgdq/v20190411/tkgdq_client_async.py +80 -0
- tencentcloud/tms/v20200713/tms_client_async.py +98 -0
- tencentcloud/tms/v20201229/tms_client_async.py +97 -0
- tencentcloud/tmt/v20180321/tmt_client_async.py +183 -0
- tencentcloud/tourism/v20230215/tourism_client_async.py +44 -0
- tencentcloud/trabbit/v20230418/trabbit_client_async.py +548 -0
- tencentcloud/trocket/v20230308/trocket_client_async.py +1390 -0
- tencentcloud/trp/v20210515/trp_client_async.py +1002 -0
- tencentcloud/trro/v20220325/trro_client_async.py +588 -0
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +21 -6
- tencentcloud/trtc/v20190722/trtc_client.py +1 -0
- tencentcloud/trtc/v20190722/trtc_client_async.py +1516 -0
- tencentcloud/tse/v20201207/tse_client_async.py +2240 -0
- tencentcloud/tsf/v20180326/models.py +4 -4
- tencentcloud/tsf/v20180326/tsf_client_async.py +4143 -0
- tencentcloud/tsi/v20210325/tsi_client_async.py +104 -0
- tencentcloud/tsw/v20200924/tsw_client_async.py +44 -0
- tencentcloud/tsw/v20210412/tsw_client_async.py +80 -0
- tencentcloud/tts/v20190823/tts_client_async.py +107 -0
- tencentcloud/vcg/v20240404/vcg_client_async.py +62 -0
- tencentcloud/vclm/v20240523/errorcodes.py +27 -0
- tencentcloud/vclm/v20240523/models.py +415 -16
- tencentcloud/vclm/v20240523/vclm_client.py +47 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +263 -0
- tencentcloud/vcube/v20220410/models.py +98 -0
- tencentcloud/vcube/v20220410/vcube_client.py +46 -0
- tencentcloud/vcube/v20220410/vcube_client_async.py +674 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +278 -0
- tencentcloud/vm/v20200709/vm_client_async.py +120 -0
- tencentcloud/vm/v20201229/vm_client_async.py +139 -0
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client_async.py +148 -0
- tencentcloud/vms/v20200902/vms_client_async.py +62 -0
- tencentcloud/vod/v20180717/models.py +6 -2
- tencentcloud/vod/v20180717/vod_client_async.py +3712 -0
- tencentcloud/vod/v20240718/vod_client_async.py +160 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +8139 -0
- tencentcloud/vrs/v20200824/vrs_client_async.py +182 -0
- tencentcloud/vtc/v20240223/vtc_client_async.py +132 -0
- tencentcloud/waf/v20180125/models.py +3924 -0
- tencentcloud/waf/v20180125/waf_client.py +230 -0
- tencentcloud/waf/v20180125/waf_client_async.py +3542 -0
- tencentcloud/wav/v20210129/wav_client_async.py +494 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +5384 -0
- tencentcloud/wedata/v20250806/wedata_client_async.py +2168 -0
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +1180 -0
- tencentcloud/wsa/v20250508/wsa_client_async.py +44 -0
- tencentcloud/wss/v20180426/wss_client_async.py +80 -0
- tencentcloud/yinsuda/v20220527/yinsuda_client_async.py +386 -0
- tencentcloud/yunjing/v20180228/yunjing_client_async.py +1826 -0
- tencentcloud/yunsou/v20180504/yunsou_client_async.py +62 -0
- tencentcloud/yunsou/v20191115/yunsou_client_async.py +62 -0
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/METADATA +3 -1
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/RECORD +391 -103
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,3406 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.ess.v20201111 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class EssClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2020-11-11'
|
|
25
|
+
_endpoint = 'ess.tencentcloudapi.com'
|
|
26
|
+
_service = 'ess'
|
|
27
|
+
|
|
28
|
+
async def ArchiveDynamicFlow(
|
|
29
|
+
self,
|
|
30
|
+
request: models.ArchiveDynamicFlowRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.ArchiveDynamicFlowResponse:
|
|
33
|
+
"""
|
|
34
|
+
该接口用于结束动态签署方2.0的合同流程。
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
**功能开通**
|
|
38
|
+
- 动态签署方2.0功能的使用需要先<font color="red">联系产品经理开通模块化计费功能</font>,然后到控制台中打开此功能。详细的使用说明请参考<a href="https://qian.tencent.com/developers/company/dynamic_signer_v2" target="_blank">动态签署方2.0</a>文档。
|
|
39
|
+
|
|
40
|
+
**使用条件**
|
|
41
|
+
- 此接口只能在<font color="red">合同处于非终态且<b>所有的签署方都已经完成签署</b></font>。一旦合同进入终态(例如:过期、拒签、撤销或者调用过此接口成功过),将无法通过此接口结束合同流程。
|
|
42
|
+
|
|
43
|
+
**整体流程**
|
|
44
|
+

|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
kwargs = {}
|
|
48
|
+
kwargs["action"] = "ArchiveDynamicFlow"
|
|
49
|
+
kwargs["params"] = request._serialize()
|
|
50
|
+
kwargs["resp_cls"] = models.ArchiveDynamicFlowResponse
|
|
51
|
+
kwargs["headers"] = request.headers
|
|
52
|
+
kwargs["opts"] = opts or {}
|
|
53
|
+
|
|
54
|
+
return await self.call_and_deserialize(**kwargs)
|
|
55
|
+
|
|
56
|
+
async def BindEmployeeUserIdWithClientOpenId(
|
|
57
|
+
self,
|
|
58
|
+
request: models.BindEmployeeUserIdWithClientOpenIdRequest,
|
|
59
|
+
opts: Dict = None,
|
|
60
|
+
) -> models.BindEmployeeUserIdWithClientOpenIdResponse:
|
|
61
|
+
"""
|
|
62
|
+
此接口(BindEmployeeUserIdWithClientOpenId)用于将电子签系统员工UserId与客户系统员工OpenId进行绑定。
|
|
63
|
+
|
|
64
|
+
此OpenId只在 [更新企业员工信息 ](https://qian.tencent.com/developers/companyApis/staffs/UpdateIntegrationEmployees)、[移除企业员工](https://qian.tencent.com/developers/companyApis/staffs/DeleteIntegrationEmployees) 等场景下可以使用
|
|
65
|
+
"""
|
|
66
|
+
|
|
67
|
+
kwargs = {}
|
|
68
|
+
kwargs["action"] = "BindEmployeeUserIdWithClientOpenId"
|
|
69
|
+
kwargs["params"] = request._serialize()
|
|
70
|
+
kwargs["resp_cls"] = models.BindEmployeeUserIdWithClientOpenIdResponse
|
|
71
|
+
kwargs["headers"] = request.headers
|
|
72
|
+
kwargs["opts"] = opts or {}
|
|
73
|
+
|
|
74
|
+
return await self.call_and_deserialize(**kwargs)
|
|
75
|
+
|
|
76
|
+
async def CancelFlow(
|
|
77
|
+
self,
|
|
78
|
+
request: models.CancelFlowRequest,
|
|
79
|
+
opts: Dict = None,
|
|
80
|
+
) -> models.CancelFlowResponse:
|
|
81
|
+
"""
|
|
82
|
+
用于撤销合同流程<br/>
|
|
83
|
+
适用场景:如果某个合同流程当前至少还有一方没有签署,则可通过该接口取消该合同流程。常用于合同发错、内容填错,需要及时撤销的场景。<br/>
|
|
84
|
+
- **可撤回合同状态**:未全部签署完成
|
|
85
|
+
- **不撤回合同状态**:已全部签署完成、已拒签、已过期、已撤回、拒绝填写、已解除等合同状态。
|
|
86
|
+
|
|
87
|
+
注:
|
|
88
|
+
1. 如果合同流程中的参与方均已签署完毕,则无法通过该接口撤销合同,签署完毕的合同需要双方走解除流程将合同作废,可以参考<a href="https://qian.tencent.com/developers/companyApis/operateFlows/CreateReleaseFlow" target="_blank">发起解除合同流程</a>接口。
|
|
89
|
+
|
|
90
|
+
2. 有对应合同撤销权限的人: <font color='red'>合同的发起人(并已经授予撤销权限)或者发起人所在企业的超管、法人</font>
|
|
91
|
+

|
|
92
|
+
|
|
93
|
+
3. <font color='red'>只有撤销没有参与方签署过或只有自动签署签署过的合同,才会返还合同额度。</font>
|
|
94
|
+
|
|
95
|
+
4. 撤销后可以看合同PDF内容的人员: 发起方的超管, 发起方自己,发起方撤销合同的操作人员,已经签署合同、已经填写合同、邀请填写已经补充信息的参与人员, 其他参与人员看不到合同的内容。
|
|
96
|
+
"""
|
|
97
|
+
|
|
98
|
+
kwargs = {}
|
|
99
|
+
kwargs["action"] = "CancelFlow"
|
|
100
|
+
kwargs["params"] = request._serialize()
|
|
101
|
+
kwargs["resp_cls"] = models.CancelFlowResponse
|
|
102
|
+
kwargs["headers"] = request.headers
|
|
103
|
+
kwargs["opts"] = opts or {}
|
|
104
|
+
|
|
105
|
+
return await self.call_and_deserialize(**kwargs)
|
|
106
|
+
|
|
107
|
+
async def CancelMultiFlowSignQRCode(
|
|
108
|
+
self,
|
|
109
|
+
request: models.CancelMultiFlowSignQRCodeRequest,
|
|
110
|
+
opts: Dict = None,
|
|
111
|
+
) -> models.CancelMultiFlowSignQRCodeResponse:
|
|
112
|
+
"""
|
|
113
|
+
此接口(CancelMultiFlowSignQRCode)用于废除一码多签签署码。
|
|
114
|
+
该接口所需的二维码ID,源自[创建一码多签签署码](https://qian.tencent.com/developers/companyApis/startFlows/CreateMultiFlowSignQRCode)生成的。
|
|
115
|
+
如果该签署码尚处于有效期内,可通过本接口将其设置为失效状态。
|
|
116
|
+
"""
|
|
117
|
+
|
|
118
|
+
kwargs = {}
|
|
119
|
+
kwargs["action"] = "CancelMultiFlowSignQRCode"
|
|
120
|
+
kwargs["params"] = request._serialize()
|
|
121
|
+
kwargs["resp_cls"] = models.CancelMultiFlowSignQRCodeResponse
|
|
122
|
+
kwargs["headers"] = request.headers
|
|
123
|
+
kwargs["opts"] = opts or {}
|
|
124
|
+
|
|
125
|
+
return await self.call_and_deserialize(**kwargs)
|
|
126
|
+
|
|
127
|
+
async def CancelUserAutoSignEnableUrl(
|
|
128
|
+
self,
|
|
129
|
+
request: models.CancelUserAutoSignEnableUrlRequest,
|
|
130
|
+
opts: Dict = None,
|
|
131
|
+
) -> models.CancelUserAutoSignEnableUrlResponse:
|
|
132
|
+
"""
|
|
133
|
+
用来撤销<a href="https://qian.tencent.com/developers/companyApis/users/CreateUserAutoSignEnableUrl" target="_blank">获取个人用户自动签的开通状态</a>生成的开通链接,撤销生成的链接失效。
|
|
134
|
+
|
|
135
|
+
注:
|
|
136
|
+
<ul><li>若个人用户已经用生成的完成自动签署的开通,撤销链接无效不会对开通结果产生影响(此情况接口会报错)。</li>
|
|
137
|
+
<li>处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。</li></ul>
|
|
138
|
+
"""
|
|
139
|
+
|
|
140
|
+
kwargs = {}
|
|
141
|
+
kwargs["action"] = "CancelUserAutoSignEnableUrl"
|
|
142
|
+
kwargs["params"] = request._serialize()
|
|
143
|
+
kwargs["resp_cls"] = models.CancelUserAutoSignEnableUrlResponse
|
|
144
|
+
kwargs["headers"] = request.headers
|
|
145
|
+
kwargs["opts"] = opts or {}
|
|
146
|
+
|
|
147
|
+
return await self.call_and_deserialize(**kwargs)
|
|
148
|
+
|
|
149
|
+
async def CreateBatchAdminChangeInvitations(
|
|
150
|
+
self,
|
|
151
|
+
request: models.CreateBatchAdminChangeInvitationsRequest,
|
|
152
|
+
opts: Dict = None,
|
|
153
|
+
) -> models.CreateBatchAdminChangeInvitationsResponse:
|
|
154
|
+
"""
|
|
155
|
+
本接口(CreateBatchAdminChangeInvitations)用于批量创建企业超管信息变更。
|
|
156
|
+
该接口为提交任务接口,如果需要获得链接, 需要使用接口创建超管变更链接(CreateBatchAdminChangeInvitationsUrl)。
|
|
157
|
+
|
|
158
|
+
批量创建链接有以下限制:
|
|
159
|
+
|
|
160
|
+
1. 单次最多创建10个企业的超管变更。
|
|
161
|
+
2. 同一批创建的企业不能重复,唯一值为企业 Id。
|
|
162
|
+
|
|
163
|
+
注意:
|
|
164
|
+
此接口创建的超管变更企业,必须是以下两种企业。
|
|
165
|
+
1. 集团子企业,调用方必须是主企业。
|
|
166
|
+
2. 代认证企业,此企业是由[创建企业认证链接](https://qian.tencent.com/developers/companyApis/organizations/CreateOrganizationAuthUrl)创建的
|
|
167
|
+
"""
|
|
168
|
+
|
|
169
|
+
kwargs = {}
|
|
170
|
+
kwargs["action"] = "CreateBatchAdminChangeInvitations"
|
|
171
|
+
kwargs["params"] = request._serialize()
|
|
172
|
+
kwargs["resp_cls"] = models.CreateBatchAdminChangeInvitationsResponse
|
|
173
|
+
kwargs["headers"] = request.headers
|
|
174
|
+
kwargs["opts"] = opts or {}
|
|
175
|
+
|
|
176
|
+
return await self.call_and_deserialize(**kwargs)
|
|
177
|
+
|
|
178
|
+
async def CreateBatchAdminChangeInvitationsUrl(
|
|
179
|
+
self,
|
|
180
|
+
request: models.CreateBatchAdminChangeInvitationsUrlRequest,
|
|
181
|
+
opts: Dict = None,
|
|
182
|
+
) -> models.CreateBatchAdminChangeInvitationsUrlResponse:
|
|
183
|
+
"""
|
|
184
|
+
此接口用于获取企业批量变更超管链接,包含多条超管变更任务。
|
|
185
|
+
一次性最多获取 500 条任务。
|
|
186
|
+
|
|
187
|
+
前提条件:已调用 [CreateBatchAdminChangeInvitations生成批量变更超管任务接口](https://qian.tencent.com/developers/companyApis/organizations/CreateBatchAdminChangeInvitations) 确保任务提交。
|
|
188
|
+
此链接包含多条超管变更流程,使用该链接可以批量的对企业进行超管变更。
|
|
189
|
+
"""
|
|
190
|
+
|
|
191
|
+
kwargs = {}
|
|
192
|
+
kwargs["action"] = "CreateBatchAdminChangeInvitationsUrl"
|
|
193
|
+
kwargs["params"] = request._serialize()
|
|
194
|
+
kwargs["resp_cls"] = models.CreateBatchAdminChangeInvitationsUrlResponse
|
|
195
|
+
kwargs["headers"] = request.headers
|
|
196
|
+
kwargs["opts"] = opts or {}
|
|
197
|
+
|
|
198
|
+
return await self.call_and_deserialize(**kwargs)
|
|
199
|
+
|
|
200
|
+
async def CreateBatchCancelFlowUrl(
|
|
201
|
+
self,
|
|
202
|
+
request: models.CreateBatchCancelFlowUrlRequest,
|
|
203
|
+
opts: Dict = None,
|
|
204
|
+
) -> models.CreateBatchCancelFlowUrlResponse:
|
|
205
|
+
"""
|
|
206
|
+
指定需要批量撤回的签署流程Id,以获取批量撤销链接。
|
|
207
|
+
客户需指定要撤回的签署流程Id,最多可指定100个,超过100则不处理。
|
|
208
|
+
接口调用成功后,将返回批量撤回合同的链接。通过点击链接,可跳转至电子签小程序完成批量撤回操作。
|
|
209
|
+
|
|
210
|
+
- **可撤回合同状态**:未全部签署完成
|
|
211
|
+
- **不撤回合同状态**:已全部签署完成、已拒签、已过期、已撤回、拒绝填写、已解除等合同状态。
|
|
212
|
+
|
|
213
|
+
批量撤销结果可以通过接口返回的TaskId关联[批量撤销任务结果回调](https://qian.tencent.com/developers/company/callback_types_contracts_sign#%E4%B9%9D-%E6%89%B9%E9%87%8F%E6%92%A4%E9%94%80%E7%BB%93%E6%9E%9C%E5%9B%9E%E8%B0%83)或通过接口[查询批量撤销签署流程任务结果](https://qian.tencent.com/developers/companyApis/operateFlows/CreateBatchCancelFlowUrl)
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
注:
|
|
217
|
+
1. 如果合同流程中的参与方均已签署完毕,则无法通过该接口撤销合同,签署完毕的合同需要双方走解除流程将合同作废,可以参考<a href="https://qian.tencent.com/developers/companyApis/operateFlows/CreateReleaseFlow" target="_blank">发起解除合同流程</a>接口。
|
|
218
|
+
|
|
219
|
+
2. 有对应合同撤销权限的人: <font color='red'>合同的发起人(并已经授予撤销权限)或者发起人所在企业的超管、法人</font>
|
|
220
|
+

|
|
221
|
+
|
|
222
|
+
3. <font color='red'>只有撤销没有参与方签署过或只有自动签署签署过的合同,才会返还合同额度。</font>
|
|
223
|
+
|
|
224
|
+
4. 撤销后可以看合同PDF内容的人员: 发起方的超管, 发起方自己,发起方撤销合同的操作人员,已经签署合同、已经填写合同、邀请填写已经补充信息的参与人员, 其他参与人员看不到合同的内容。
|
|
225
|
+
"""
|
|
226
|
+
|
|
227
|
+
kwargs = {}
|
|
228
|
+
kwargs["action"] = "CreateBatchCancelFlowUrl"
|
|
229
|
+
kwargs["params"] = request._serialize()
|
|
230
|
+
kwargs["resp_cls"] = models.CreateBatchCancelFlowUrlResponse
|
|
231
|
+
kwargs["headers"] = request.headers
|
|
232
|
+
kwargs["opts"] = opts or {}
|
|
233
|
+
|
|
234
|
+
return await self.call_and_deserialize(**kwargs)
|
|
235
|
+
|
|
236
|
+
async def CreateBatchContractReviewTask(
|
|
237
|
+
self,
|
|
238
|
+
request: models.CreateBatchContractReviewTaskRequest,
|
|
239
|
+
opts: Dict = None,
|
|
240
|
+
) -> models.CreateBatchContractReviewTaskResponse:
|
|
241
|
+
"""
|
|
242
|
+
此接口(CreateBatchContractReviewTask)用来通过上传后的PDF资源编号来批量创建合同智能审查任务。
|
|
243
|
+
|
|
244
|
+
适用场景:根据合同内容识别出合同的风险信息。审查结果由AI生成,仅供参考。请结合相关法律法规和公司制度要求综合判断。
|
|
245
|
+
|
|
246
|
+
注:
|
|
247
|
+
1. PDF格式限制大小为10M以下
|
|
248
|
+
2. 仅支持5份PDF文件批量发起(一份PDF对应一个审查任务)
|
|
249
|
+
"""
|
|
250
|
+
|
|
251
|
+
kwargs = {}
|
|
252
|
+
kwargs["action"] = "CreateBatchContractReviewTask"
|
|
253
|
+
kwargs["params"] = request._serialize()
|
|
254
|
+
kwargs["resp_cls"] = models.CreateBatchContractReviewTaskResponse
|
|
255
|
+
kwargs["headers"] = request.headers
|
|
256
|
+
kwargs["opts"] = opts or {}
|
|
257
|
+
|
|
258
|
+
return await self.call_and_deserialize(**kwargs)
|
|
259
|
+
|
|
260
|
+
async def CreateBatchInformationExtractionTask(
|
|
261
|
+
self,
|
|
262
|
+
request: models.CreateBatchInformationExtractionTaskRequest,
|
|
263
|
+
opts: Dict = None,
|
|
264
|
+
) -> models.CreateBatchInformationExtractionTaskResponse:
|
|
265
|
+
"""
|
|
266
|
+
此接口(CreateBatchInformationExtractionTask)用来通过上传后的PDF资源编号来批量创建合同智能审查任务。<br/>
|
|
267
|
+
|
|
268
|
+
适用场景:根据合同关键词(字段名称)来提取PDF合同文件的字段结果信息。
|
|
269
|
+
|
|
270
|
+
注:
|
|
271
|
+
1. PDF格式限制大小为10M以下
|
|
272
|
+
2. 仅支持5个PDF文件批量发起(一份PDF对应一个合同提取任务)
|
|
273
|
+
"""
|
|
274
|
+
|
|
275
|
+
kwargs = {}
|
|
276
|
+
kwargs["action"] = "CreateBatchInformationExtractionTask"
|
|
277
|
+
kwargs["params"] = request._serialize()
|
|
278
|
+
kwargs["resp_cls"] = models.CreateBatchInformationExtractionTaskResponse
|
|
279
|
+
kwargs["headers"] = request.headers
|
|
280
|
+
kwargs["opts"] = opts or {}
|
|
281
|
+
|
|
282
|
+
return await self.call_and_deserialize(**kwargs)
|
|
283
|
+
|
|
284
|
+
async def CreateBatchInitOrganizationUrl(
|
|
285
|
+
self,
|
|
286
|
+
request: models.CreateBatchInitOrganizationUrlRequest,
|
|
287
|
+
opts: Dict = None,
|
|
288
|
+
) -> models.CreateBatchInitOrganizationUrlResponse:
|
|
289
|
+
"""
|
|
290
|
+
支持企业进行批量初始化操作:
|
|
291
|
+
|
|
292
|
+
此接口存在以下限制:
|
|
293
|
+
1. 若批量操作中包含<font color="red">加入集团企业</font>操作,则调用此接口的员工须有<font color="red">集团企业管理权限</font>。
|
|
294
|
+
2. 批量操作的企业需要已经完成电子签的认证流程。
|
|
295
|
+
3. 通过此接口生成的链接在小程序端进行操作时,操作人需要是<font color="red">所有企业的超管或法人</font>。
|
|
296
|
+
4. 批量操作的企业,需要是<a href="https://qian.tencent.com/developers/companyApis/organizations/CreateOrganizationAuthUrl" target="_blank">通过平台方引导认证</a>的企业。
|
|
297
|
+
5. <font color="red">操作链接过期时间默认为生成链接后7天。</font>
|
|
298
|
+
"""
|
|
299
|
+
|
|
300
|
+
kwargs = {}
|
|
301
|
+
kwargs["action"] = "CreateBatchInitOrganizationUrl"
|
|
302
|
+
kwargs["params"] = request._serialize()
|
|
303
|
+
kwargs["resp_cls"] = models.CreateBatchInitOrganizationUrlResponse
|
|
304
|
+
kwargs["headers"] = request.headers
|
|
305
|
+
kwargs["opts"] = opts or {}
|
|
306
|
+
|
|
307
|
+
return await self.call_and_deserialize(**kwargs)
|
|
308
|
+
|
|
309
|
+
async def CreateBatchOrganizationAuthorizationUrl(
|
|
310
|
+
self,
|
|
311
|
+
request: models.CreateBatchOrganizationAuthorizationUrlRequest,
|
|
312
|
+
opts: Dict = None,
|
|
313
|
+
) -> models.CreateBatchOrganizationAuthorizationUrlResponse:
|
|
314
|
+
"""
|
|
315
|
+
此接口用于获取企业批量认证链接-单链接包含多条认证流。
|
|
316
|
+
|
|
317
|
+
前提条件:已调用 [CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任务接口](https://qian.tencent.com/developers/companyApis/organizations/CreateBatchOrganizationRegistrationTasks) 和[查询企业批量认证链接DescribeBatchOrganizationRegistrationUrls](https://qian.tencent.com/developers/companyApis/organizations/DescribeBatchOrganizationRegistrationUrls) 确保认证任务已经完成。
|
|
318
|
+
|
|
319
|
+
异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间。
|
|
320
|
+
此链接包含多条认证流程,使用该链接可以批量的对企业进行认证。
|
|
321
|
+
"""
|
|
322
|
+
|
|
323
|
+
kwargs = {}
|
|
324
|
+
kwargs["action"] = "CreateBatchOrganizationAuthorizationUrl"
|
|
325
|
+
kwargs["params"] = request._serialize()
|
|
326
|
+
kwargs["resp_cls"] = models.CreateBatchOrganizationAuthorizationUrlResponse
|
|
327
|
+
kwargs["headers"] = request.headers
|
|
328
|
+
kwargs["opts"] = opts or {}
|
|
329
|
+
|
|
330
|
+
return await self.call_and_deserialize(**kwargs)
|
|
331
|
+
|
|
332
|
+
async def CreateBatchOrganizationRegistrationTasks(
|
|
333
|
+
self,
|
|
334
|
+
request: models.CreateBatchOrganizationRegistrationTasksRequest,
|
|
335
|
+
opts: Dict = None,
|
|
336
|
+
) -> models.CreateBatchOrganizationRegistrationTasksResponse:
|
|
337
|
+
"""
|
|
338
|
+
本接口(CreateBatchOrganizationRegistrationTasks)用于批量创建企业认证链接
|
|
339
|
+
该接口为异步提交任务接口,需要跟查询企业批量认证链接(DescribeBatchOrganizationRegistrationUrls) 配合使用.
|
|
340
|
+
|
|
341
|
+
批量创建链接有以下限制:
|
|
342
|
+
|
|
343
|
+
1. 单次最多创建10个企业。
|
|
344
|
+
2. 一天同一家企业最多创建8000家企业。
|
|
345
|
+
3. 同一批创建的企业不能重复 其中包括 企业名称,企业统一信用代码
|
|
346
|
+
4. 跳转到小程序的实现,参考微信官方文档(分为全屏、半屏两种方式),如何配置也可以请参考: 跳转电子签小程序配置
|
|
347
|
+
|
|
348
|
+
注:
|
|
349
|
+
|
|
350
|
+
1. 此接口需要 <font color="red"><b>购买单独的实名套餐包</b></font>方可调用,如有需求请联系对接人员评估
|
|
351
|
+
|
|
352
|
+
2. 如果生成的链接是APP链接,跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
**腾讯电子签小程序的AppID 和 原始Id如下:**
|
|
356
|
+
|
|
357
|
+
| 小程序 | AppID | 原始ID |
|
|
358
|
+
| --- | --- | --- |
|
|
359
|
+
| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
|
|
360
|
+
| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
|
|
361
|
+
"""
|
|
362
|
+
|
|
363
|
+
kwargs = {}
|
|
364
|
+
kwargs["action"] = "CreateBatchOrganizationRegistrationTasks"
|
|
365
|
+
kwargs["params"] = request._serialize()
|
|
366
|
+
kwargs["resp_cls"] = models.CreateBatchOrganizationRegistrationTasksResponse
|
|
367
|
+
kwargs["headers"] = request.headers
|
|
368
|
+
kwargs["opts"] = opts or {}
|
|
369
|
+
|
|
370
|
+
return await self.call_and_deserialize(**kwargs)
|
|
371
|
+
|
|
372
|
+
async def CreateBatchQuickSignUrl(
|
|
373
|
+
self,
|
|
374
|
+
request: models.CreateBatchQuickSignUrlRequest,
|
|
375
|
+
opts: Dict = None,
|
|
376
|
+
) -> models.CreateBatchQuickSignUrlResponse:
|
|
377
|
+
"""
|
|
378
|
+
该接口用于发起合同后,生成个人/企业用户的批量待办链接。
|
|
379
|
+
**注意:**
|
|
380
|
+
1. 该接口可生成签署人的批量、合同组签署/查看链接 。
|
|
381
|
+
2. 该签署链接**有效期为30分钟**,过期后将失效,如需签署可重新创建批量签署链接 。
|
|
382
|
+
3. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,**不支持微信小程序嵌入**。
|
|
383
|
+
跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>。
|
|
384
|
+
4. 因h5涉及人脸身份认证能力基于慧眼人脸核身,对Android和iOS系统均有一定要求, 因此<font color='red'>App嵌入H5签署合同需要按照慧眼提供的<a href="https://cloud.tencent.com/document/product/1007/61076">慧眼人脸核身兼容性文档</a>做兼容性适配</font>。
|
|
385
|
+
5. H5签署现在仅支持中国大陆身份证和中国港澳台居民居住证。
|
|
386
|
+
"""
|
|
387
|
+
|
|
388
|
+
kwargs = {}
|
|
389
|
+
kwargs["action"] = "CreateBatchQuickSignUrl"
|
|
390
|
+
kwargs["params"] = request._serialize()
|
|
391
|
+
kwargs["resp_cls"] = models.CreateBatchQuickSignUrlResponse
|
|
392
|
+
kwargs["headers"] = request.headers
|
|
393
|
+
kwargs["opts"] = opts or {}
|
|
394
|
+
|
|
395
|
+
return await self.call_and_deserialize(**kwargs)
|
|
396
|
+
|
|
397
|
+
async def CreateBatchSignUrl(
|
|
398
|
+
self,
|
|
399
|
+
request: models.CreateBatchSignUrlRequest,
|
|
400
|
+
opts: Dict = None,
|
|
401
|
+
) -> models.CreateBatchSignUrlResponse:
|
|
402
|
+
"""
|
|
403
|
+
通过此接口,可以创建小程序批量签署链接,个人/企业员工可通过此链接跳转至小程序进行批量签署。请确保生成链接时的身份信息与签署合同参与方的信息保持一致。
|
|
404
|
+
|
|
405
|
+
注意事项:
|
|
406
|
+
- 使用此接口生成链接,需要贵企业先开通 <font color="red">个人签署方仅校验手机号 </font>功能。您可以在 <b>【腾讯电子签网页端控制台】->【更多】->【高级签署能力】</b>中找到该功能。
|
|
407
|
+
- 生成批量签署链接时,<font color="red">合同目标参与方的状态必须为<b>待签署</b>状态</font>。签署人点击链接后需要输入短信验证码才能查看合同内容。
|
|
408
|
+
- 企业员工批量签署链接:需要传入签署方所在企业名称,用户名字和手机号(或者身份证件信息)参数来生成签署链接。
|
|
409
|
+
- 个人批量签署链接:需要传入签署方用户名字和手机号(或者身份证件信息)参数来生成签署链接。个人批量签署进行的合同的签名区, 全部变成<font color="red">手写签名</font>(不管合同里边设置的签名限制)来进行。
|
|
410
|
+
- 不支持签署方含有签批控件,或设置了签署方在签署时自行添加签署控件功能的合同进行批量签署。
|
|
411
|
+
- 进行小程序批量签署必须指定待签署的流程id,<font color="red">接口中FlowIds参数必传。</font>
|
|
412
|
+
"""
|
|
413
|
+
|
|
414
|
+
kwargs = {}
|
|
415
|
+
kwargs["action"] = "CreateBatchSignUrl"
|
|
416
|
+
kwargs["params"] = request._serialize()
|
|
417
|
+
kwargs["resp_cls"] = models.CreateBatchSignUrlResponse
|
|
418
|
+
kwargs["headers"] = request.headers
|
|
419
|
+
kwargs["opts"] = opts or {}
|
|
420
|
+
|
|
421
|
+
return await self.call_and_deserialize(**kwargs)
|
|
422
|
+
|
|
423
|
+
async def CreateContractComparisonTask(
|
|
424
|
+
self,
|
|
425
|
+
request: models.CreateContractComparisonTaskRequest,
|
|
426
|
+
opts: Dict = None,
|
|
427
|
+
) -> models.CreateContractComparisonTaskResponse:
|
|
428
|
+
"""
|
|
429
|
+
此接口(CreateContractComparisonTask)用于创建合同对比任务。
|
|
430
|
+
适用场景:对比两份合同中字段(如:金额、日期、甲方名称等)的内容差异。
|
|
431
|
+
"""
|
|
432
|
+
|
|
433
|
+
kwargs = {}
|
|
434
|
+
kwargs["action"] = "CreateContractComparisonTask"
|
|
435
|
+
kwargs["params"] = request._serialize()
|
|
436
|
+
kwargs["resp_cls"] = models.CreateContractComparisonTaskResponse
|
|
437
|
+
kwargs["headers"] = request.headers
|
|
438
|
+
kwargs["opts"] = opts or {}
|
|
439
|
+
|
|
440
|
+
return await self.call_and_deserialize(**kwargs)
|
|
441
|
+
|
|
442
|
+
async def CreateContractDiffTaskWebUrl(
|
|
443
|
+
self,
|
|
444
|
+
request: models.CreateContractDiffTaskWebUrlRequest,
|
|
445
|
+
opts: Dict = None,
|
|
446
|
+
) -> models.CreateContractDiffTaskWebUrlResponse:
|
|
447
|
+
"""
|
|
448
|
+
接口(CreateContractDiffTaskWebUrl)用于创建合同对比的可嵌入web页面链接(此web页面可以通过iframe方式嵌入到贵方系统的网页中)。
|
|
449
|
+
注:
|
|
450
|
+
|
|
451
|
+
1. 对比仅支持pdf、word格式,限制大小为60M以下
|
|
452
|
+
2. 本接口生成的web页面暂不支持<a href="https://qian.tencent.com/developers/companyApis/embedPages/CreateWebThemeConfig" target="_blank">设置本企业嵌入式页面主题配置</a>
|
|
453
|
+
|
|
454
|
+
未跳过上传确认的嵌入页面长相如下:
|
|
455
|
+

|
|
456
|
+
跳过上传确认的嵌入页面长相如下:
|
|
457
|
+

|
|
458
|
+
"""
|
|
459
|
+
|
|
460
|
+
kwargs = {}
|
|
461
|
+
kwargs["action"] = "CreateContractDiffTaskWebUrl"
|
|
462
|
+
kwargs["params"] = request._serialize()
|
|
463
|
+
kwargs["resp_cls"] = models.CreateContractDiffTaskWebUrlResponse
|
|
464
|
+
kwargs["headers"] = request.headers
|
|
465
|
+
kwargs["opts"] = opts or {}
|
|
466
|
+
|
|
467
|
+
return await self.call_and_deserialize(**kwargs)
|
|
468
|
+
|
|
469
|
+
async def CreateContractReviewWebUrl(
|
|
470
|
+
self,
|
|
471
|
+
request: models.CreateContractReviewWebUrlRequest,
|
|
472
|
+
opts: Dict = None,
|
|
473
|
+
) -> models.CreateContractReviewWebUrlResponse:
|
|
474
|
+
"""
|
|
475
|
+
此接口(CreateContractReviewWebUrl)用来创建合同审查web页面链接(此web页面可以通过iframe方式嵌入到贵方系统的网页中)。
|
|
476
|
+
|
|
477
|
+
适用场景:根据合同内容识别出合同的风险信息。审查结果由AI生成,仅供参考。请结合相关法律法规和公司制度要求综合判断。
|
|
478
|
+
|
|
479
|
+
注:
|
|
480
|
+
1. pdf、word格式限制大小为10M以下
|
|
481
|
+
2. 如果文件资源为word类型生成的链接不能进行iframe嵌入,需要在单独窗口打开
|
|
482
|
+
"""
|
|
483
|
+
|
|
484
|
+
kwargs = {}
|
|
485
|
+
kwargs["action"] = "CreateContractReviewWebUrl"
|
|
486
|
+
kwargs["params"] = request._serialize()
|
|
487
|
+
kwargs["resp_cls"] = models.CreateContractReviewWebUrlResponse
|
|
488
|
+
kwargs["headers"] = request.headers
|
|
489
|
+
kwargs["opts"] = opts or {}
|
|
490
|
+
|
|
491
|
+
return await self.call_and_deserialize(**kwargs)
|
|
492
|
+
|
|
493
|
+
async def CreateConvertTaskApi(
|
|
494
|
+
self,
|
|
495
|
+
request: models.CreateConvertTaskApiRequest,
|
|
496
|
+
opts: Dict = None,
|
|
497
|
+
) -> models.CreateConvertTaskApiResponse:
|
|
498
|
+
"""
|
|
499
|
+
此接口(CreateConvertTaskApi)用来将word、excel、html、图片、txt类型文件转换为PDF文件。<br />
|
|
500
|
+
前提条件:源文件已经通过 <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles" target="_blank">文件上传接口</a>完成上传,并得到了源文件的资源Id。<br />
|
|
501
|
+
适用场景1:已经上传了一个word文件,希望将该word文件转换成pdf文件后发起合同
|
|
502
|
+
适用场景2:已经上传了一个jpg图片文件,希望将该图片文件转换成pdf文件后发起合同<br />
|
|
503
|
+
转换文件是一个耗时操作,若想查看转换任务是否完成,可以通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/GetTaskResultApi" target="_blank">查询转换任务状态</a>接口获取任务状态。<br />
|
|
504
|
+
注:
|
|
505
|
+
1. `支持的文件类型有doc、docx、xls、xlsx、html、jpg、jpeg、png、bmp、txt`
|
|
506
|
+
2. `可通过发起合同时设置预览来检查转换文件是否达到预期效果`
|
|
507
|
+
"""
|
|
508
|
+
|
|
509
|
+
kwargs = {}
|
|
510
|
+
kwargs["action"] = "CreateConvertTaskApi"
|
|
511
|
+
kwargs["params"] = request._serialize()
|
|
512
|
+
kwargs["resp_cls"] = models.CreateConvertTaskApiResponse
|
|
513
|
+
kwargs["headers"] = request.headers
|
|
514
|
+
kwargs["opts"] = opts or {}
|
|
515
|
+
|
|
516
|
+
return await self.call_and_deserialize(**kwargs)
|
|
517
|
+
|
|
518
|
+
async def CreateDocument(
|
|
519
|
+
self,
|
|
520
|
+
request: models.CreateDocumentRequest,
|
|
521
|
+
opts: Dict = None,
|
|
522
|
+
) -> models.CreateDocumentResponse:
|
|
523
|
+
"""
|
|
524
|
+
创建签署流程电子文档<br />
|
|
525
|
+
|
|
526
|
+
### 调用流程
|
|
527
|
+
该接口需要给对应的流程指定一个模板id,并且填充该模板中需要补充的信息。需要配置<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateFlow" target="_blank">创建签署流程</a>和<a href="https://qian.tencent.com/developers/companyApis/startFlows/StartFlow" target="_blank">发起签署流程</a>接口使用。具体逻辑可以参考下图:
|
|
528
|
+
|
|
529
|
+

|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
### 填充模板中定义的填写控件
|
|
533
|
+
模板中配置的<font color="red">发起人填充控件</font>可以通过本接口的**FormFields数组**字段填充。
|
|
534
|
+
|
|
535
|
+
**<font color="red">填充填写控件需要进行Pdf合成工作,文档合成完成后会收到[合同文档合成完成回调](https://qian.tencent.com/developers/company/callback_types_contracts_sign#%E4%B9%9D-%E5%90%88%E5%90%8C%E6%96%87%E6%A1%A3%E5%90%88%E6%88%90%E5%AE%8C%E6%88%90%E5%9B%9E%E8%B0%83),建议在收到此回调后再调用 [StartFlow](https://qian.tencent.com/developers/companyApis/startFlows/StartFlow) 接口。</font>**
|
|
536
|
+
|
|
537
|
+

|
|
538
|
+
|
|
539
|
+
填充的传参示例如下
|
|
540
|
+
|
|
541
|
+
```
|
|
542
|
+
request.FormFields = [{
|
|
543
|
+
"ComponentName": "项目的名字",
|
|
544
|
+
"ComponentValue": "休闲山庄"
|
|
545
|
+
}, {
|
|
546
|
+
"ComponentName": "项目的地址",
|
|
547
|
+
"ComponentValue": "凤凰山北侧",
|
|
548
|
+
}, {
|
|
549
|
+
"ComponentName": "范围",
|
|
550
|
+
"ComponentValue": "凤凰山至107国道",
|
|
551
|
+
}, {
|
|
552
|
+
"ComponentName": "面积",
|
|
553
|
+
"ComponentValue": "100亩",
|
|
554
|
+
}, {
|
|
555
|
+
"ComponentName": "基本情况",
|
|
556
|
+
"ComponentValue": "完好",
|
|
557
|
+
}, , {
|
|
558
|
+
"ComponentName": "用途",
|
|
559
|
+
"ComponentValue": "经营农家乐",
|
|
560
|
+
}
|
|
561
|
+
]
|
|
562
|
+
```
|
|
563
|
+
合成后合同样子示例
|
|
564
|
+
|
|
565
|
+

|
|
566
|
+
"""
|
|
567
|
+
|
|
568
|
+
kwargs = {}
|
|
569
|
+
kwargs["action"] = "CreateDocument"
|
|
570
|
+
kwargs["params"] = request._serialize()
|
|
571
|
+
kwargs["resp_cls"] = models.CreateDocumentResponse
|
|
572
|
+
kwargs["headers"] = request.headers
|
|
573
|
+
kwargs["opts"] = opts or {}
|
|
574
|
+
|
|
575
|
+
return await self.call_and_deserialize(**kwargs)
|
|
576
|
+
|
|
577
|
+
async def CreateDynamicFlowApprover(
|
|
578
|
+
self,
|
|
579
|
+
request: models.CreateDynamicFlowApproverRequest,
|
|
580
|
+
opts: Dict = None,
|
|
581
|
+
) -> models.CreateDynamicFlowApproverResponse:
|
|
582
|
+
"""
|
|
583
|
+
此接口(CreateDynamicFlowApprover)接口主要用于补充动态签署方2.0合同的签署方信息,包括但不限于名字、手机号和签署区域等信息。
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
**使用条件**
|
|
587
|
+
- 在发起合同时,必须将OpenDynamicSignFlow参数设置为true,以确保合同以动态签署方2.0的方式处理,否则默认处理为普通合同。
|
|
588
|
+
- 此接口只能在合同处于非终态时调用。一旦合同进入终态(例如:过期、拒签或撤销),将无法通过此接口添加新的签署方。
|
|
589
|
+
- 此接口补充的动态签署人暂不支持他方企业自动签署。
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
动态签署方2.0合同<font color="red">不会自动结束(整个合同变为签署完成)</font>,需要通过调用<a href="https://qian.tencent.com/developers/companyApis/operateFlows/ArchiveDynamicFlow/" target="_blank">结束动态签署合同</a>来手动结束签署流程。整体的流程如下图
|
|
593
|
+
|
|
594
|
+

|
|
595
|
+
"""
|
|
596
|
+
|
|
597
|
+
kwargs = {}
|
|
598
|
+
kwargs["action"] = "CreateDynamicFlowApprover"
|
|
599
|
+
kwargs["params"] = request._serialize()
|
|
600
|
+
kwargs["resp_cls"] = models.CreateDynamicFlowApproverResponse
|
|
601
|
+
kwargs["headers"] = request.headers
|
|
602
|
+
kwargs["opts"] = opts or {}
|
|
603
|
+
|
|
604
|
+
return await self.call_and_deserialize(**kwargs)
|
|
605
|
+
|
|
606
|
+
async def CreateEmbedWebUrl(
|
|
607
|
+
self,
|
|
608
|
+
request: models.CreateEmbedWebUrlRequest,
|
|
609
|
+
opts: Dict = None,
|
|
610
|
+
) -> models.CreateEmbedWebUrlResponse:
|
|
611
|
+
"""
|
|
612
|
+
本接口(CreateEmbedWebUrl)用于创建可嵌入web页面的URL(此web页面可以通过iframe方式嵌入到贵方系统的网页中),支持以下类型的Web链接创建:
|
|
613
|
+
1. 创建印章
|
|
614
|
+
2. 创建模板
|
|
615
|
+
3. 修改模板
|
|
616
|
+
4. 创建起草合同
|
|
617
|
+
5. 预览模板
|
|
618
|
+
6. 预览合同流程
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
预览模板的嵌入页面长相如下:
|
|
622
|
+

|
|
623
|
+
|
|
624
|
+
预览合同流程的嵌入页面长相如下:
|
|
625
|
+

|
|
626
|
+
"""
|
|
627
|
+
|
|
628
|
+
kwargs = {}
|
|
629
|
+
kwargs["action"] = "CreateEmbedWebUrl"
|
|
630
|
+
kwargs["params"] = request._serialize()
|
|
631
|
+
kwargs["resp_cls"] = models.CreateEmbedWebUrlResponse
|
|
632
|
+
kwargs["headers"] = request.headers
|
|
633
|
+
kwargs["opts"] = opts or {}
|
|
634
|
+
|
|
635
|
+
return await self.call_and_deserialize(**kwargs)
|
|
636
|
+
|
|
637
|
+
async def CreateEmployeeChangeUrl(
|
|
638
|
+
self,
|
|
639
|
+
request: models.CreateEmployeeChangeUrlRequest,
|
|
640
|
+
opts: Dict = None,
|
|
641
|
+
) -> models.CreateEmployeeChangeUrlResponse:
|
|
642
|
+
"""
|
|
643
|
+
生成员工信息变更链接,当前仅支持变更手机号
|
|
644
|
+
|
|
645
|
+
注:
|
|
646
|
+
1. 目前仅支持修改员工手机号,待修改员工必须已经实名且在职
|
|
647
|
+
2. 仅支持返回小程序链接
|
|
648
|
+
"""
|
|
649
|
+
|
|
650
|
+
kwargs = {}
|
|
651
|
+
kwargs["action"] = "CreateEmployeeChangeUrl"
|
|
652
|
+
kwargs["params"] = request._serialize()
|
|
653
|
+
kwargs["resp_cls"] = models.CreateEmployeeChangeUrlResponse
|
|
654
|
+
kwargs["headers"] = request.headers
|
|
655
|
+
kwargs["opts"] = opts or {}
|
|
656
|
+
|
|
657
|
+
return await self.call_and_deserialize(**kwargs)
|
|
658
|
+
|
|
659
|
+
async def CreateEmployeeQualificationSealQrCode(
|
|
660
|
+
self,
|
|
661
|
+
request: models.CreateEmployeeQualificationSealQrCodeRequest,
|
|
662
|
+
opts: Dict = None,
|
|
663
|
+
) -> models.CreateEmployeeQualificationSealQrCodeResponse:
|
|
664
|
+
"""
|
|
665
|
+
该接口用于获取个人授权执业章给企业的微信二维码,需要个人用户通过微信扫码。
|
|
666
|
+
|
|
667
|
+
扫描后将跳转到腾讯电子签小程序,进入到授权执业章的流程。
|
|
668
|
+
|
|
669
|
+
个人用户授权成功后,企业印章管理员需对印章进行审核,审核通过后,即可使用个人授权的执业章进行盖章操作。
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
**注意**
|
|
673
|
+
1. 该二维码**有效期为7天**,过期后将失效,可重新创建。
|
|
674
|
+
|
|
675
|
+
整体流程入下图
|
|
676
|
+
|
|
677
|
+

|
|
678
|
+
"""
|
|
679
|
+
|
|
680
|
+
kwargs = {}
|
|
681
|
+
kwargs["action"] = "CreateEmployeeQualificationSealQrCode"
|
|
682
|
+
kwargs["params"] = request._serialize()
|
|
683
|
+
kwargs["resp_cls"] = models.CreateEmployeeQualificationSealQrCodeResponse
|
|
684
|
+
kwargs["headers"] = request.headers
|
|
685
|
+
kwargs["opts"] = opts or {}
|
|
686
|
+
|
|
687
|
+
return await self.call_and_deserialize(**kwargs)
|
|
688
|
+
|
|
689
|
+
async def CreateExtendedServiceAuthInfos(
|
|
690
|
+
self,
|
|
691
|
+
request: models.CreateExtendedServiceAuthInfosRequest,
|
|
692
|
+
opts: Dict = None,
|
|
693
|
+
) -> models.CreateExtendedServiceAuthInfosResponse:
|
|
694
|
+
"""
|
|
695
|
+
创建企业扩展服务授权,当前仅支持授权 “企业自动签” 和 “批量签署” 给企业员工。
|
|
696
|
+
该接口作用和电子签控制台 企业设置-扩展服务-企业自动签署和批量签署授权 两个模块功能相同,可通过该接口授权给企业员工。
|
|
697
|
+
|
|
698
|
+
注:“企业自动签授权”支持集团代子企业操作,请联系运营开通此功能。
|
|
699
|
+
"""
|
|
700
|
+
|
|
701
|
+
kwargs = {}
|
|
702
|
+
kwargs["action"] = "CreateExtendedServiceAuthInfos"
|
|
703
|
+
kwargs["params"] = request._serialize()
|
|
704
|
+
kwargs["resp_cls"] = models.CreateExtendedServiceAuthInfosResponse
|
|
705
|
+
kwargs["headers"] = request.headers
|
|
706
|
+
kwargs["opts"] = opts or {}
|
|
707
|
+
|
|
708
|
+
return await self.call_and_deserialize(**kwargs)
|
|
709
|
+
|
|
710
|
+
async def CreateFileCounterSign(
|
|
711
|
+
self,
|
|
712
|
+
request: models.CreateFileCounterSignRequest,
|
|
713
|
+
opts: Dict = None,
|
|
714
|
+
) -> models.CreateFileCounterSignResponse:
|
|
715
|
+
"""
|
|
716
|
+
此接口用于发起数字文件CA加签操作。可以使用同步或者异步模式进行。
|
|
717
|
+
|
|
718
|
+
**注意: 1. 文件类型暂时仅支持PDF类型文件。2. 此接口为『数字文件CA加签服务』白名单功能,使用前请联系对接的客户经理沟通。**
|
|
719
|
+
"""
|
|
720
|
+
|
|
721
|
+
kwargs = {}
|
|
722
|
+
kwargs["action"] = "CreateFileCounterSign"
|
|
723
|
+
kwargs["params"] = request._serialize()
|
|
724
|
+
kwargs["resp_cls"] = models.CreateFileCounterSignResponse
|
|
725
|
+
kwargs["headers"] = request.headers
|
|
726
|
+
kwargs["opts"] = opts or {}
|
|
727
|
+
|
|
728
|
+
return await self.call_and_deserialize(**kwargs)
|
|
729
|
+
|
|
730
|
+
async def CreateFlow(
|
|
731
|
+
self,
|
|
732
|
+
request: models.CreateFlowRequest,
|
|
733
|
+
opts: Dict = None,
|
|
734
|
+
) -> models.CreateFlowResponse:
|
|
735
|
+
"""
|
|
736
|
+
通过模板创建签署流程<br/>
|
|
737
|
+
适用场景:在标准制式的合同场景中,可通过提前预制好模板文件,每次调用模板文件的id,补充合同内容信息及签署信息生成电子合同。
|
|
738
|
+
<table>
|
|
739
|
+
<thead>
|
|
740
|
+
<tr>
|
|
741
|
+
<th>签署人类别</th>
|
|
742
|
+
<th>需要提前准备的信息</th>
|
|
743
|
+
</tr>
|
|
744
|
+
</thead>
|
|
745
|
+
<tbody>
|
|
746
|
+
<tr>
|
|
747
|
+
<td>自己企业的员工签署(未认证加入或已认证加入)</td>
|
|
748
|
+
<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>
|
|
749
|
+
</tr>
|
|
750
|
+
<tr>
|
|
751
|
+
<td>自己企业的员工签署(已认证加入)</td>
|
|
752
|
+
<td>签署企业的名字、员工在电子签平台的ID(UserId)</td>
|
|
753
|
+
</tr>
|
|
754
|
+
<tr>
|
|
755
|
+
<td>其他企业的员工签署</td>
|
|
756
|
+
<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>
|
|
757
|
+
</tr>
|
|
758
|
+
<tr>
|
|
759
|
+
<td>个人(自然人)签署</td>
|
|
760
|
+
<td>个人的真实名字、个人的触达手机号、个人的身份证(证件号非必传)</td>
|
|
761
|
+
</tr>
|
|
762
|
+
</tbody>
|
|
763
|
+
</table>
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
注:配合<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument" target="_blank">创建电子文档</a>和<a href="https://qian.tencent.com/developers/companyApis/startFlows/StartFlow" target="_blank">发起签署流程</a>接口使用。整体的逻辑如下图
|
|
767
|
+
|
|
768
|
+

|
|
769
|
+
|
|
770
|
+
注:**静默(自动)签署不支持合同签署方存在填写**功能
|
|
771
|
+
<br>
|
|
772
|
+
|
|
773
|
+
<font color="red">相关视频指引</font> <br>
|
|
774
|
+
1. <a href="https://dyn.ess.tencent.cn/guide/apivideo/createflow_seversign.mp4" target="_blank">创建静默(自动)签署模板和开通自动签署</a><br>
|
|
775
|
+
2. <a href="https://dyn.ess.tencent.cn/guide/apivideo/flow_document_start.mp4" target="_blank">用模板创建发起合同</a><br>
|
|
776
|
+
"""
|
|
777
|
+
|
|
778
|
+
kwargs = {}
|
|
779
|
+
kwargs["action"] = "CreateFlow"
|
|
780
|
+
kwargs["params"] = request._serialize()
|
|
781
|
+
kwargs["resp_cls"] = models.CreateFlowResponse
|
|
782
|
+
kwargs["headers"] = request.headers
|
|
783
|
+
kwargs["opts"] = opts or {}
|
|
784
|
+
|
|
785
|
+
return await self.call_and_deserialize(**kwargs)
|
|
786
|
+
|
|
787
|
+
async def CreateFlowApprovers(
|
|
788
|
+
self,
|
|
789
|
+
request: models.CreateFlowApproversRequest,
|
|
790
|
+
opts: Dict = None,
|
|
791
|
+
) -> models.CreateFlowApproversResponse:
|
|
792
|
+
"""
|
|
793
|
+
**适用场景 :**
|
|
794
|
+
|
|
795
|
+
当通过模板或文件发起合同时, 签署人不制定, 等合同发起后再指定 可以用下面2种方案
|
|
796
|
+
|
|
797
|
+
<b><font color="red">1. 或签合同</font>: 若未指定企业签署人信息(只指定企业的名字),合同变成或签合同(个人签署方不支持或签合同)</b>。需调用此接口补充或添加签署人。或签签署人在控制台上的展示样式如下(会带有<b>或签</b>标识):
|
|
798
|
+
|
|
799
|
+

|
|
800
|
+
|
|
801
|
+
<b><font color="red">2. 动态签署人合同</font>: 若未指定具体签署人的信息,则合同变成动态签署人合同</b>。需调用此接口补充或添加签署人。可以参考文档 <a href="https://qian.tencent.com/developers/company/dynamic_signer/" target="_blank">动态签署人合同</a> 。动态签署人在控制台上的展示样式如下:
|
|
802
|
+
|
|
803
|
+

|
|
804
|
+
|
|
805
|
+
实际签署人需要通过[获取跳转至腾讯电子签小程序的签署链接](https://qian.tencent.com/developers/companyApis/startFlows/CreateSchemeUrl/)生成的链接进入小程序,领取合同并签署。同一签署环节可补充多个员工作为或签署人,最终实际签署人取决于谁先领取合同完成签署。
|
|
806
|
+
|
|
807
|
+
**接口使用说明**:
|
|
808
|
+
|
|
809
|
+
1.本接口现已支持批量补充签署人
|
|
810
|
+
|
|
811
|
+
2.当<a href="https://qian.tencent.com/developers/companyApis/dataTypes/#fillapproverinfo/" target="_blank">补充签署人结构体</a>中指定需要补充的FlowId时,可以对指定合同补充签署人;可以指定多个相同发起方的不同合同在完成批量补充
|
|
812
|
+
|
|
813
|
+
3.当<a href="https://qian.tencent.com/developers/companyApis/operateFlows/CreateFlowApprovers/" target="_blank">补充签署人接口入参</a>中指定需要补充的FlowId时,是对指定的合同补充多个指定的签署人
|
|
814
|
+
|
|
815
|
+
4.如果同时指定了<a href="https://qian.tencent.com/developers/companyApis/dataTypes/#fillapproverinfo/" target="_blank">补充签署人结构体</a>中的FlowId和<a href="https://qian.tencent.com/developers/companyApis/operateFlows/CreateFlowApprovers/" target="_blank">补充签署人接口入参</a>中的FlowId,仅使用<a href="https://qian.tencent.com/developers/companyApis/dataTypes/#fillapproverinfo/" target="_blank">补充签署人结构体</a>中的FlowId作为补充的合同
|
|
816
|
+
|
|
817
|
+
5.如果部分指定了<a href="https://qian.tencent.com/developers/companyApis/dataTypes/#fillapproverinfo/" target="_blank">补充签署人结构体</a>中的FlowId,又指定了<a href="https://qian.tencent.com/developers/companyApis/operateFlows/CreateFlowApprovers/" target="_blank">补充签署人接口入参</a>中的FlowId;那么<a href="https://qian.tencent.com/developers/companyApis/dataTypes/#fillapproverinfo/" target="_blank">补充签署人结构体</a>存在指定的FlowId,则使用<a href="https://qian.tencent.com/developers/companyApis/dataTypes/#fillapproverinfo/" target="_blank">补充签署人结构体</a>中的FlowId,不存在则使用<a href="https://qian.tencent.com/developers/companyApis/operateFlows/CreateFlowApprovers/" target="_blank">补充签署人接口入参</a>中的FlowId作为补充的合同
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
6.如果同时未指定了<a href="https://qian.tencent.com/developers/companyApis/dataTypes/#fillapproverinfo/" target="_blank">补充签署人结构体</a>中的FlowId和<a href="https://qian.tencent.com/developers/companyApis/operateFlows/CreateFlowApprovers/" target="_blank">补充签署人接口入参</a>中的FlowId,则传参错误。
|
|
821
|
+
|
|
822
|
+
7.新加入的签署方<font color="red">平台不会发送短信</font>通知。请您生成相应的链接,并将该链接发送给签署方以便完成签署过程。
|
|
823
|
+
|
|
824
|
+
**限制条件**:
|
|
825
|
+
|
|
826
|
+
1.本企业(发起方企业)企业微信签署人仅支持通过企业微信UserId或姓名+手机号进行补充。
|
|
827
|
+
|
|
828
|
+
2.本企业(发起方企业)非企业微信签署人仅支持通过姓名+手机号进行补充。
|
|
829
|
+
|
|
830
|
+
3.他方企业仅支持通过姓名+手机号进行补充。
|
|
831
|
+
|
|
832
|
+
4.个人签署人支持通过姓名+手机号进行补充(若<b>个人用户已完成实名</b>,动态签署人合同也可以可通过姓名+证件号码进行补充)
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
**整体流程如下图:**
|
|
836
|
+
|
|
837
|
+

|
|
838
|
+
"""
|
|
839
|
+
|
|
840
|
+
kwargs = {}
|
|
841
|
+
kwargs["action"] = "CreateFlowApprovers"
|
|
842
|
+
kwargs["params"] = request._serialize()
|
|
843
|
+
kwargs["resp_cls"] = models.CreateFlowApproversResponse
|
|
844
|
+
kwargs["headers"] = request.headers
|
|
845
|
+
kwargs["opts"] = opts or {}
|
|
846
|
+
|
|
847
|
+
return await self.call_and_deserialize(**kwargs)
|
|
848
|
+
|
|
849
|
+
async def CreateFlowBlockchainEvidenceUrl(
|
|
850
|
+
self,
|
|
851
|
+
request: models.CreateFlowBlockchainEvidenceUrlRequest,
|
|
852
|
+
opts: Dict = None,
|
|
853
|
+
) -> models.CreateFlowBlockchainEvidenceUrlResponse:
|
|
854
|
+
"""
|
|
855
|
+
获取区块链存证证书查看链接/二维码接口
|
|
856
|
+
|
|
857
|
+
适用场景:企业员工可以通过此接口生成合同区块链存证证书的查看链接/二维码,以供他人扫码打开腾讯电子签小程序查看。
|
|
858
|
+
|
|
859
|
+
[点击查看区块链存证证书样式](https://qcloudimg.tencent-cloud.cn/raw/47d5e9c2ffa90ad4e27b3cd14095aa08.jpg)
|
|
860
|
+
|
|
861
|
+
注:
|
|
862
|
+
<ul><li>1. 二维码下载链接过期时间为5分钟,请尽快下载保存。二维码/短链的过期时间为<font color="red">7天</font>,超过有效期则不可用。</li>
|
|
863
|
+
<li>2. 合同状态需为<font color="red">签署完成</font> 、<font color="red">已解除</font>才能生成证书查看二维码/短链。</li>
|
|
864
|
+
<li>3. 调用接口时,需确保接口调用身份拥有此合同的访问数据权限或为合同参与方。</li>
|
|
865
|
+
<li>4. 通过扫码或者点击链接,用户无需登录或者鉴权即可查看对应合同的区块链存证证书,请妥善保管好二维码或链接。</li></ul>
|
|
866
|
+
"""
|
|
867
|
+
|
|
868
|
+
kwargs = {}
|
|
869
|
+
kwargs["action"] = "CreateFlowBlockchainEvidenceUrl"
|
|
870
|
+
kwargs["params"] = request._serialize()
|
|
871
|
+
kwargs["resp_cls"] = models.CreateFlowBlockchainEvidenceUrlResponse
|
|
872
|
+
kwargs["headers"] = request.headers
|
|
873
|
+
kwargs["opts"] = opts or {}
|
|
874
|
+
|
|
875
|
+
return await self.call_and_deserialize(**kwargs)
|
|
876
|
+
|
|
877
|
+
async def CreateFlowByFiles(
|
|
878
|
+
self,
|
|
879
|
+
request: models.CreateFlowByFilesRequest,
|
|
880
|
+
opts: Dict = None,
|
|
881
|
+
) -> models.CreateFlowByFilesResponse:
|
|
882
|
+
"""
|
|
883
|
+
此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建待签署的合同流程。<br/>
|
|
884
|
+
适用场景:适用非制式的合同文件签署。一般开发者自己有完整的签署文件,可以通过该接口传入完整的PDF文件及流程信息生成待签署的合同流程。<br/>
|
|
885
|
+
|
|
886
|
+
<table>
|
|
887
|
+
<thead>
|
|
888
|
+
<tr>
|
|
889
|
+
<th>签署人类别</th>
|
|
890
|
+
<th>需要提前准备的信息</th>
|
|
891
|
+
</tr>
|
|
892
|
+
</thead>
|
|
893
|
+
<tbody>
|
|
894
|
+
<tr>
|
|
895
|
+
<td>自己企业的员工签署(未认证加入或已认证加入)</td>
|
|
896
|
+
<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>
|
|
897
|
+
</tr>
|
|
898
|
+
<tr>
|
|
899
|
+
<td>自己企业的员工签署(已认证加入)</td>
|
|
900
|
+
<td>签署企业的名字、员工在电子签平台的ID(UserId)</td>
|
|
901
|
+
</tr>
|
|
902
|
+
<tr>
|
|
903
|
+
<td>其他企业的员工签署</td>
|
|
904
|
+
<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>
|
|
905
|
+
</tr>
|
|
906
|
+
<tr>
|
|
907
|
+
<td>个人(自然人)签署</td>
|
|
908
|
+
<td>个人的真实名字、个人的触达手机号、个人的身份证(证件号非必传)</td>
|
|
909
|
+
</tr>
|
|
910
|
+
</tbody>
|
|
911
|
+
</table>
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
该接口需要依赖[上传文件](https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles)接口生成pdf资源编号(FileIds)进行使用。(如果非pdf文件需要调用[创建文件转换任务](https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi)接口转换成pdf资源)<br/>
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+

|
|
919
|
+
|
|
920
|
+
注:
|
|
921
|
+
- 合同**发起后就会扣减合同的额度**, 只有撤销没有参与方签署过或只有自动签署签署过的合同,才会返还合同额度。(**过期,拒签,签署完成,解除完成等状态不会返还额度**)
|
|
922
|
+
- **静默(自动)签署不支持合同签署方存在填写**功能
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
<font color="red">相关视频指引</font> <br>
|
|
926
|
+
1. <a href="https://dyn.ess.tencent.cn/guide/apivideo/ess_uploadfiles.mp4" target="_blank">上传用于合同发起的PDF文件代码编写示例</a><br>
|
|
927
|
+
2. <a href="https://dyn.ess.tencent.cn/guide/apivideo/ess-CreateFlowByFiles.mp4" target="_blank">用PDF文件创建签署流程编写示例</a><br>
|
|
928
|
+
"""
|
|
929
|
+
|
|
930
|
+
kwargs = {}
|
|
931
|
+
kwargs["action"] = "CreateFlowByFiles"
|
|
932
|
+
kwargs["params"] = request._serialize()
|
|
933
|
+
kwargs["resp_cls"] = models.CreateFlowByFilesResponse
|
|
934
|
+
kwargs["headers"] = request.headers
|
|
935
|
+
kwargs["opts"] = opts or {}
|
|
936
|
+
|
|
937
|
+
return await self.call_and_deserialize(**kwargs)
|
|
938
|
+
|
|
939
|
+
async def CreateFlowEvidenceReport(
|
|
940
|
+
self,
|
|
941
|
+
request: models.CreateFlowEvidenceReportRequest,
|
|
942
|
+
opts: Dict = None,
|
|
943
|
+
) -> models.CreateFlowEvidenceReportResponse:
|
|
944
|
+
"""
|
|
945
|
+
提交申请出证报告任务并返回报告ID。
|
|
946
|
+
|
|
947
|
+
出证报告的示例样式可以参考 [出征报告.PDF](https://qcloudimg.tencent-cloud.cn/raw/a55214fcddaebbd1582cc9c57cc6cf1b.pdf)
|
|
948
|
+
|
|
949
|
+
注意:
|
|
950
|
+
<ul><li>使用此功能`需搭配出证套餐` ,使用前请联系对接的客户经理沟通。</li>
|
|
951
|
+
<li>操作人必须是`发起方或者签署方企业的(非走授权书认证)法人或者超管`。</li>
|
|
952
|
+
<li>合同流程必须所有参与方`已经签署完成`。</li>
|
|
953
|
+
<li>出证过程需一定时间,建议在`提交出证任务后的24小时之后`,通过<a href="https://qian.tencent.com/developers/companyApis/certificate/DescribeFlowEvidenceReport" target="_blank">获取出证报告任务执行结果</a>接口进行查询执行结果和出证报告的下载URL。</li></ul>
|
|
954
|
+
|
|
955
|
+
<svg id="SvgjsSvg1006" width="262" height="229" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs"><defs id="SvgjsDefs1007"><pattern patternUnits="userSpaceOnUse" id="pattern_mark_0" width="300" height="300"><text x="150" y="100" fill="rgba(229,229,229,0.8)" font-size="18" transform="rotate(-45, 150, 150)" style="dominant-baseline: middle; text-anchor: middle;"></text></pattern><pattern patternUnits="userSpaceOnUse" id="pattern_mark_1" width="300" height="300"><text x="150" y="200" fill="rgba(229,229,229,0.8)" font-size="18" transform="rotate(-45, 150, 150)" style="dominant-baseline: middle; text-anchor: middle;"></text></pattern><marker id="SvgjsMarker1021" markerWidth="12" markerHeight="8" refX="9" refY="4" viewBox="0 0 12 8" orient="auto" markerUnits="userSpaceOnUse" stroke-dasharray="0,0"><path id="SvgjsPath1022" d="M0,0 L12,4 L0,8 L0,0" fill="#323232" stroke="#323232" stroke-width="1"></path></marker></defs><rect id="svgbackgroundid" width="262" height="229" fill="transparent"></rect><rect id="SvgjsRect1009" width="262" height="229" fill="url(#pattern_mark_0)"></rect><rect id="SvgjsRect1010" width="262" height="229" fill="url(#pattern_mark_1)"></rect><g id="SvgjsG1011" transform="translate(31.75,25)"><path id="SvgjsPath1012" d="M 0 0L 198 0L 198 59L 0 59Z" stroke="rgba(86,146,48,1)" stroke-width="1" fill-opacity="1" fill="#e7ebed"></path><g id="SvgjsG1013"><text id="SvgjsText1014" font-family="微软雅黑" text-anchor="middle" font-size="13px" width="178px" fill="#323232" font-weight="400" align="middle" lineHeight="125%" anchor="middle" family="微软雅黑" size="13px" weight="400" font-style="" opacity="1" y="10.375" transform="rotate(0)"><tspan id="SvgjsTspan1015" dy="16" x="99"><tspan id="SvgjsTspan1016" style="text-decoration:;fill: rgb(28, 30, 33);">CreateFlowEvidenceReport</tspan></tspan><tspan id="SvgjsTspan1017" dy="16" x="99"><tspan id="SvgjsTspan1018" style="text-decoration:;fill: rgb(51, 51, 51);">提交申请出证报告任务</tspan></tspan></text></g></g><g id="SvgjsG1019"><path id="SvgjsPath1020" d="M130.75 84.5L130.75 114.5L130.75 114.5L130.75 143.2" stroke="#323232" stroke-width="1" fill="none" marker-end="url(#SvgjsMarker1021)"></path></g><g id="SvgjsG1023" transform="translate(25,145)"><path id="SvgjsPath1024" d="M 0 0L 211.5 0L 211.5 59L 0 59Z" stroke="rgba(86,146,48,1)" stroke-width="1" fill-opacity="1" fill="#e7ebed"></path><g id="SvgjsG1025"><text id="SvgjsText1026" font-family="微软雅黑" text-anchor="middle" font-size="13px" width="192px" fill="#323232" font-weight="400" align="middle" lineHeight="125%" anchor="middle" family="微软雅黑" size="13px" weight="400" font-style="" opacity="1" y="10.375" transform="rotate(0)"><tspan id="SvgjsTspan1027" dy="16" x="106"><tspan id="SvgjsTspan1028" style="text-decoration:;fill: rgb(28, 30, 33);">DescribeFlowEvidenceReport</tspan></tspan><tspan id="SvgjsTspan1029" dy="16" x="106"><tspan id="SvgjsTspan1030" style="text-decoration:;fill: rgb(51, 51, 51);">获取出证报告任务执行结果</tspan></tspan></text></g></g></svg>
|
|
956
|
+
"""
|
|
957
|
+
|
|
958
|
+
kwargs = {}
|
|
959
|
+
kwargs["action"] = "CreateFlowEvidenceReport"
|
|
960
|
+
kwargs["params"] = request._serialize()
|
|
961
|
+
kwargs["resp_cls"] = models.CreateFlowEvidenceReportResponse
|
|
962
|
+
kwargs["headers"] = request.headers
|
|
963
|
+
kwargs["opts"] = opts or {}
|
|
964
|
+
|
|
965
|
+
return await self.call_and_deserialize(**kwargs)
|
|
966
|
+
|
|
967
|
+
async def CreateFlowForwards(
|
|
968
|
+
self,
|
|
969
|
+
request: models.CreateFlowForwardsRequest,
|
|
970
|
+
opts: Dict = None,
|
|
971
|
+
) -> models.CreateFlowForwardsResponse:
|
|
972
|
+
"""
|
|
973
|
+
该接口用于将合同中本企业当前经办人转为本企业其他员工进行操作。
|
|
974
|
+
|
|
975
|
+
注意:
|
|
976
|
+
1. 转交的目标经办人需要已经加入企业,且完成实名。
|
|
977
|
+
2. 仅企业拥有`超管`、`法人`或者`合同管理员`角色的员工才有调用本接口的权限。如果使用主带子方式调用,请确保您已经加入子企业,且账号在子企业中担任任一上述角色。
|
|
978
|
+
3. 仅支持当前经办人为待签署或待填写状态时进行转交操作。
|
|
979
|
+
4. 若原合同有填写控件,且当前经办人已经完成填写,则不支持进行转交。
|
|
980
|
+
5. 若当前经办人已签署完成,或者处于签署流程中,则不支持进行转交。
|
|
981
|
+
"""
|
|
982
|
+
|
|
983
|
+
kwargs = {}
|
|
984
|
+
kwargs["action"] = "CreateFlowForwards"
|
|
985
|
+
kwargs["params"] = request._serialize()
|
|
986
|
+
kwargs["resp_cls"] = models.CreateFlowForwardsResponse
|
|
987
|
+
kwargs["headers"] = request.headers
|
|
988
|
+
kwargs["opts"] = opts or {}
|
|
989
|
+
|
|
990
|
+
return await self.call_and_deserialize(**kwargs)
|
|
991
|
+
|
|
992
|
+
async def CreateFlowGroupByFiles(
|
|
993
|
+
self,
|
|
994
|
+
request: models.CreateFlowGroupByFilesRequest,
|
|
995
|
+
opts: Dict = None,
|
|
996
|
+
) -> models.CreateFlowGroupByFilesResponse:
|
|
997
|
+
"""
|
|
998
|
+
此接口(CreateFlowGroupByFiles)可用于通过多个文件创建合同组签署流程。使用该接口需要先依赖[多文件上传](https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles)接口返回的FileIds。
|
|
999
|
+
|
|
1000
|
+
- 该接口允许通过PDF资源ID一次性创建多个合同,这些合同被组织在一个合同组中。
|
|
1001
|
+
- 每个签署方将收到一个签署链接,通过这个链接可以访问并签署合同组中的所有合同。
|
|
1002
|
+
- 合同组中的合同必须作为一个整体进行签署,不能将合同组拆分成单独的合同进行逐一签署。
|
|
1003
|
+
|
|
1004
|
+
<img src="https://qcloudimg.tencent-cloud.cn/raw/a63074a0293c9ff5bf6c0bb74c0d3b20.png" width="400" />
|
|
1005
|
+
|
|
1006
|
+
### 2. 适用场景
|
|
1007
|
+
|
|
1008
|
+
该接口适用于需要一次性完成多份合同签署的情况,多份合同一般具有关联性,用户以目录的形式查看合同。
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
### 3. 合同额度的扣减与返还
|
|
1012
|
+
- **扣减时机**:合同一旦发起,相关的合同额度就会被扣减,合同组下面的每个合同都要扣减一个合同额度。
|
|
1013
|
+
- **返还条件**:只有在合同被撤销且没有任何签署方签署过,或者只有自动签署的情况下,合同额度才会被返还。
|
|
1014
|
+
- **不返还的情况**:如果合同已过期、被拒签、签署完成或已解除,合同额度将不会被返还。
|
|
1015
|
+
|
|
1016
|
+
### 4.合同组暂不支持抄送功能
|
|
1017
|
+
"""
|
|
1018
|
+
|
|
1019
|
+
kwargs = {}
|
|
1020
|
+
kwargs["action"] = "CreateFlowGroupByFiles"
|
|
1021
|
+
kwargs["params"] = request._serialize()
|
|
1022
|
+
kwargs["resp_cls"] = models.CreateFlowGroupByFilesResponse
|
|
1023
|
+
kwargs["headers"] = request.headers
|
|
1024
|
+
kwargs["opts"] = opts or {}
|
|
1025
|
+
|
|
1026
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1027
|
+
|
|
1028
|
+
async def CreateFlowGroupByTemplates(
|
|
1029
|
+
self,
|
|
1030
|
+
request: models.CreateFlowGroupByTemplatesRequest,
|
|
1031
|
+
opts: Dict = None,
|
|
1032
|
+
) -> models.CreateFlowGroupByTemplatesResponse:
|
|
1033
|
+
"""
|
|
1034
|
+
此接口(CreateFlowGroupByTemplates)可用于通过多个模板创建合同组签署流程。
|
|
1035
|
+
|
|
1036
|
+
- 该接口允许通过选择多个模板一次性创建多个合同,这些合同被组织在一个合同组中。
|
|
1037
|
+
- 每个签署方将收到一个签署链接,通过这个链接可以访问并签署合同组中的所有合同。
|
|
1038
|
+
- 合同组中的合同必须作为一个整体进行签署,不能将合同组拆分成单独的合同进行逐一签署。
|
|
1039
|
+
|
|
1040
|
+
<img src="https://qcloudimg.tencent-cloud.cn/raw/a63074a0293c9ff5bf6c0bb74c0d3b20.png" width="400" />
|
|
1041
|
+
|
|
1042
|
+
### 2. 适用场景
|
|
1043
|
+
|
|
1044
|
+
该接口适用于需要一次性完成多份合同签署的情况,多份合同一般具有关联性,用户以目录的形式查看合同。
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
### 3. 合同额度的扣减与返还
|
|
1048
|
+
- **扣减时机**:合同一旦发起,相关的合同额度就会被扣减,合同组下面的每个合同都要扣减一个合同额度。
|
|
1049
|
+
- **返还条件**:只有在合同被撤销且没有任何签署方签署过,或者只有自动签署的情况下,合同额度才会被返还。
|
|
1050
|
+
- **不返还的情况**:如果合同已过期、被拒签、签署完成或已解除,合同额度将不会被返还。
|
|
1051
|
+
|
|
1052
|
+
### 4.合同组暂不支持抄送功能
|
|
1053
|
+
"""
|
|
1054
|
+
|
|
1055
|
+
kwargs = {}
|
|
1056
|
+
kwargs["action"] = "CreateFlowGroupByTemplates"
|
|
1057
|
+
kwargs["params"] = request._serialize()
|
|
1058
|
+
kwargs["resp_cls"] = models.CreateFlowGroupByTemplatesResponse
|
|
1059
|
+
kwargs["headers"] = request.headers
|
|
1060
|
+
kwargs["opts"] = opts or {}
|
|
1061
|
+
|
|
1062
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1063
|
+
|
|
1064
|
+
async def CreateFlowGroupSignReview(
|
|
1065
|
+
self,
|
|
1066
|
+
request: models.CreateFlowGroupSignReviewRequest,
|
|
1067
|
+
opts: Dict = None,
|
|
1068
|
+
) -> models.CreateFlowGroupSignReviewResponse:
|
|
1069
|
+
"""
|
|
1070
|
+
提交合同组签署流程审批结果的适用场景包括:
|
|
1071
|
+
|
|
1072
|
+
1. 在使用[通过多文件创建合同组签署流程](https://qian.tencent.com/developers/companyApis/startFlows/CreateFlowGroupByFiles)或[通过多模板创建合同组签署流程](https://qian.tencent.com/developers/companyApis/startFlows/CreateFlowGroupByTemplates)创建合同组签署流程时,若指定了以下参数 为true,则可以调用此接口提交企业内部签署审批结果。即使是自动签署也需要进行审核通过才会进行签署。
|
|
1073
|
+
- [FlowGroupInfo.NeedSignReview](https://qian.tencent.com/developers/companyApis/dataTypes/#flowgroupinfo)
|
|
1074
|
+
- [ApproverInfo.ApproverNeedSignReview](https://qian.tencent.com/developers/companyApis/dataTypes/#approverinfo)
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
2. 同一合同组,同一签署人可以多次提交签署审批结果,签署时的最后一个“审批结果”有效。
|
|
1078
|
+
"""
|
|
1079
|
+
|
|
1080
|
+
kwargs = {}
|
|
1081
|
+
kwargs["action"] = "CreateFlowGroupSignReview"
|
|
1082
|
+
kwargs["params"] = request._serialize()
|
|
1083
|
+
kwargs["resp_cls"] = models.CreateFlowGroupSignReviewResponse
|
|
1084
|
+
kwargs["headers"] = request.headers
|
|
1085
|
+
kwargs["opts"] = opts or {}
|
|
1086
|
+
|
|
1087
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1088
|
+
|
|
1089
|
+
async def CreateFlowReminds(
|
|
1090
|
+
self,
|
|
1091
|
+
request: models.CreateFlowRemindsRequest,
|
|
1092
|
+
opts: Dict = None,
|
|
1093
|
+
) -> models.CreateFlowRemindsResponse:
|
|
1094
|
+
"""
|
|
1095
|
+
指定需要批量催办的签署流程ID,批量催办合同,最多100个。需要符合以下条件的合同才可被催办:
|
|
1096
|
+
|
|
1097
|
+
1. 发起合同时,**签署人的NotifyType需设置为sms**
|
|
1098
|
+
2. 合同中当前状态为 **待签署** 的签署人是催办的对象
|
|
1099
|
+
3. **每个合同只能催办一次**
|
|
1100
|
+
|
|
1101
|
+
**催办的效果**: 对方会收到如下的短信通知
|
|
1102
|
+
|
|
1103
|
+

|
|
1104
|
+
|
|
1105
|
+
注:`合同催办是白名单功能,请联系客户经理申请开白后使用`
|
|
1106
|
+
"""
|
|
1107
|
+
|
|
1108
|
+
kwargs = {}
|
|
1109
|
+
kwargs["action"] = "CreateFlowReminds"
|
|
1110
|
+
kwargs["params"] = request._serialize()
|
|
1111
|
+
kwargs["resp_cls"] = models.CreateFlowRemindsResponse
|
|
1112
|
+
kwargs["headers"] = request.headers
|
|
1113
|
+
kwargs["opts"] = opts or {}
|
|
1114
|
+
|
|
1115
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1116
|
+
|
|
1117
|
+
async def CreateFlowSignReview(
|
|
1118
|
+
self,
|
|
1119
|
+
request: models.CreateFlowSignReviewRequest,
|
|
1120
|
+
opts: Dict = None,
|
|
1121
|
+
) -> models.CreateFlowSignReviewResponse:
|
|
1122
|
+
"""
|
|
1123
|
+
提交企业流程审批结果
|
|
1124
|
+
**当前存在两种审核操作:**
|
|
1125
|
+
<ul>
|
|
1126
|
+
<li>签署审核
|
|
1127
|
+
<ul>
|
|
1128
|
+
<li>在通过接口<ul>
|
|
1129
|
+
<li>CreateFlowByFiles</li>
|
|
1130
|
+
<li>CreateFlow</li>
|
|
1131
|
+
<li>CreateFlowGroupByTemplates</li>
|
|
1132
|
+
<li>CreateFlowGroupByFiles</li>
|
|
1133
|
+
<li>CreatePrepareFlow</li>
|
|
1134
|
+
</ul>
|
|
1135
|
+
发起签署流程时,通过指定NeedSignReview为true,则可以调用此接口,并指定operate=SignReview,以提交企业内部签署审批结果(<font color="red">审核对象:本企业合同参与方的签署动作</font>)</li>
|
|
1136
|
+
<li>在通过接口
|
|
1137
|
+
<ul>
|
|
1138
|
+
<li>CreateFlowByFiles</li>
|
|
1139
|
+
<li>CreateFlow</li>
|
|
1140
|
+
<li>CreateFlowGroupByTemplates</li>
|
|
1141
|
+
<li>CreateFlowGroupByFiles</li>
|
|
1142
|
+
</ul>
|
|
1143
|
+
发起签署流程时,通过指定签署人ApproverNeedSignReview为true,则可以调用此接口,并指定operate=SignReview,并指定RecipientId,以提交企业内部签署审批结果(<font color="red">审核对象:本企业、合同企业、自然人合同参与方的签署动作</font>)</li>
|
|
1144
|
+
</ul>
|
|
1145
|
+
</li>
|
|
1146
|
+
|
|
1147
|
+
对应签署人在签署页面会看到下面的提示:
|
|
1148
|
+

|
|
1149
|
+
|
|
1150
|
+
<li>发起审核
|
|
1151
|
+
<ul>
|
|
1152
|
+
<li>通过接口CreatePrepareFlow指定发起后需要审核,那么可以调用此接口,并指定operate=CreateReview,以提交企业内部审批结果。可以多次提交审批结果,但一旦审批通过,后续提交的结果将无效(<font color="red">审核对象:本企业合同发起方的发起动作</font>)
|
|
1153
|
+
</li>
|
|
1154
|
+
</ul>
|
|
1155
|
+
|
|
1156
|
+
对应发起人在发起合同的最后环节会有<b>提交审批</b>的按钮:
|
|
1157
|
+
|
|
1158
|
+

|
|
1159
|
+
|
|
1160
|
+
</li>
|
|
1161
|
+
</ul>
|
|
1162
|
+
"""
|
|
1163
|
+
|
|
1164
|
+
kwargs = {}
|
|
1165
|
+
kwargs["action"] = "CreateFlowSignReview"
|
|
1166
|
+
kwargs["params"] = request._serialize()
|
|
1167
|
+
kwargs["resp_cls"] = models.CreateFlowSignReviewResponse
|
|
1168
|
+
kwargs["headers"] = request.headers
|
|
1169
|
+
kwargs["opts"] = opts or {}
|
|
1170
|
+
|
|
1171
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1172
|
+
|
|
1173
|
+
async def CreateFlowSignUrl(
|
|
1174
|
+
self,
|
|
1175
|
+
request: models.CreateFlowSignUrlRequest,
|
|
1176
|
+
opts: Dict = None,
|
|
1177
|
+
) -> models.CreateFlowSignUrlResponse:
|
|
1178
|
+
"""
|
|
1179
|
+
该接口用于发起合同后,生成用户的签署链接 <br/>
|
|
1180
|
+
|
|
1181
|
+
**注意**
|
|
1182
|
+
1. 该签署**链接有效期为30分钟**,过期后将失效,如需签署可重新创建签署链接 。
|
|
1183
|
+
2. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,**不支持微信小程序嵌入**。配置方式请参考:<a href="https://qian.tencent.com/developers/company/openqianh5/">跳转电子签H5</a>。
|
|
1184
|
+
如需跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>。
|
|
1185
|
+
3. 因h5涉及人脸身份认证能力基于慧眼人脸核身,对Android和iOS系统均有一定要求, 因此<font color='red'>App嵌入H5签署合同需要按照慧眼提供的<a href="https://cloud.tencent.com/document/product/1007/61076">慧眼人脸核身兼容性文档</a>做兼容性适配</font>。
|
|
1186
|
+
4. H5签署现在仅支持中国大陆身份证和中国港澳台居民居住证。
|
|
1187
|
+
"""
|
|
1188
|
+
|
|
1189
|
+
kwargs = {}
|
|
1190
|
+
kwargs["action"] = "CreateFlowSignUrl"
|
|
1191
|
+
kwargs["params"] = request._serialize()
|
|
1192
|
+
kwargs["resp_cls"] = models.CreateFlowSignUrlResponse
|
|
1193
|
+
kwargs["headers"] = request.headers
|
|
1194
|
+
kwargs["opts"] = opts or {}
|
|
1195
|
+
|
|
1196
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1197
|
+
|
|
1198
|
+
async def CreateInformationExtractionWebUrl(
|
|
1199
|
+
self,
|
|
1200
|
+
request: models.CreateInformationExtractionWebUrlRequest,
|
|
1201
|
+
opts: Dict = None,
|
|
1202
|
+
) -> models.CreateInformationExtractionWebUrlResponse:
|
|
1203
|
+
"""
|
|
1204
|
+
此接口(CreateInformationExtractionWebUrl)用来创建合同信息提取web页面链接(此web页面可以通过iframe方式嵌入到贵方系统的网页中)。
|
|
1205
|
+
|
|
1206
|
+
注:
|
|
1207
|
+
1. pdf、word格式限制大小为10M以下
|
|
1208
|
+
2. pdg、jpeg、jpg格式限制大小为5M以下
|
|
1209
|
+
"""
|
|
1210
|
+
|
|
1211
|
+
kwargs = {}
|
|
1212
|
+
kwargs["action"] = "CreateInformationExtractionWebUrl"
|
|
1213
|
+
kwargs["params"] = request._serialize()
|
|
1214
|
+
kwargs["resp_cls"] = models.CreateInformationExtractionWebUrlResponse
|
|
1215
|
+
kwargs["headers"] = request.headers
|
|
1216
|
+
kwargs["opts"] = opts or {}
|
|
1217
|
+
|
|
1218
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1219
|
+
|
|
1220
|
+
async def CreateIntegrationDepartment(
|
|
1221
|
+
self,
|
|
1222
|
+
request: models.CreateIntegrationDepartmentRequest,
|
|
1223
|
+
opts: Dict = None,
|
|
1224
|
+
) -> models.CreateIntegrationDepartmentResponse:
|
|
1225
|
+
"""
|
|
1226
|
+
此接口(CreateIntegrationDepartment)用于创建企业的部门信息,支持绑定客户系统部门ID。
|
|
1227
|
+
"""
|
|
1228
|
+
|
|
1229
|
+
kwargs = {}
|
|
1230
|
+
kwargs["action"] = "CreateIntegrationDepartment"
|
|
1231
|
+
kwargs["params"] = request._serialize()
|
|
1232
|
+
kwargs["resp_cls"] = models.CreateIntegrationDepartmentResponse
|
|
1233
|
+
kwargs["headers"] = request.headers
|
|
1234
|
+
kwargs["opts"] = opts or {}
|
|
1235
|
+
|
|
1236
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1237
|
+
|
|
1238
|
+
async def CreateIntegrationEmployees(
|
|
1239
|
+
self,
|
|
1240
|
+
request: models.CreateIntegrationEmployeesRequest,
|
|
1241
|
+
opts: Dict = None,
|
|
1242
|
+
) -> models.CreateIntegrationEmployeesResponse:
|
|
1243
|
+
"""
|
|
1244
|
+
此接口(CreateIntegrationEmployees)用于创建企业员工。创建的员工初始化为未实名,如下图所示。
|
|
1245
|
+
|
|
1246
|
+

|
|
1247
|
+
|
|
1248
|
+
支持以下场景
|
|
1249
|
+
<table>
|
|
1250
|
+
<tbody>
|
|
1251
|
+
<tr>
|
|
1252
|
+
<td>生成端</td>
|
|
1253
|
+
<td >入参</td>
|
|
1254
|
+
<td>提醒方式</td>
|
|
1255
|
+
</tr>
|
|
1256
|
+
<tr>
|
|
1257
|
+
<td>普通saas员工</td>
|
|
1258
|
+
<td>将Employees中的DisplayName设置员工的名字,Mobile设置成员工的手机号</td>
|
|
1259
|
+
<td>发送短信通知员工(短信中带有认证加入企业的链接) </td>
|
|
1260
|
+
</tr>
|
|
1261
|
+
<tr>
|
|
1262
|
+
<td>企微员工</td>
|
|
1263
|
+
<td>将Employees 中的WeworkOpenId字段设置为企微员工明文的openid,需<font color="red">确保该企微员工在应用的可见范围内</font></td>
|
|
1264
|
+
<td>企微内部实名消息</td>
|
|
1265
|
+
</tr>
|
|
1266
|
+
<tr>
|
|
1267
|
+
<td>H5端 saas员工</td>
|
|
1268
|
+
<td>传递 InvitationNotifyType = H5,将Employees中的DisplayName设置员工的名字,Mobile设置成员工的手机号,<font color="red">此场景不支持企微</font></td>
|
|
1269
|
+
<td>生成认证加入企业的H5链接,贵方可以通过自己的渠道触达到此员工</td>
|
|
1270
|
+
</tr>
|
|
1271
|
+
</tbody>
|
|
1272
|
+
</table>
|
|
1273
|
+
注意:
|
|
1274
|
+
|
|
1275
|
+
- <b> 新增员工的手机号、OpenId不能与已加入员工重复</b>, 不管已加入员工的手机号、OpenId是否已经实名
|
|
1276
|
+
- <b>若通过手机号发现员工已经创建且信息一致(名字,openId等),则不会重复创建,但会发送短信或者生成链接提醒员工实名。</b>
|
|
1277
|
+
- jumpUrl 仅支持H5的邀请方式,回跳的url,使用前请联系对接的客户经理沟通,进行域名的配置。
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
短信的样式
|
|
1282
|
+
|
|
1283
|
+

|
|
1284
|
+
"""
|
|
1285
|
+
|
|
1286
|
+
kwargs = {}
|
|
1287
|
+
kwargs["action"] = "CreateIntegrationEmployees"
|
|
1288
|
+
kwargs["params"] = request._serialize()
|
|
1289
|
+
kwargs["resp_cls"] = models.CreateIntegrationEmployeesResponse
|
|
1290
|
+
kwargs["headers"] = request.headers
|
|
1291
|
+
kwargs["opts"] = opts or {}
|
|
1292
|
+
|
|
1293
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1294
|
+
|
|
1295
|
+
async def CreateIntegrationRole(
|
|
1296
|
+
self,
|
|
1297
|
+
request: models.CreateIntegrationRoleRequest,
|
|
1298
|
+
opts: Dict = None,
|
|
1299
|
+
) -> models.CreateIntegrationRoleResponse:
|
|
1300
|
+
"""
|
|
1301
|
+
此接口(CreateIntegrationRole)用来创建企业自定义的SaaS角色或集团角色。
|
|
1302
|
+
|
|
1303
|
+
适用场景1:创建当前企业的自定义SaaS角色或集团角色,并且创建时不进行权限的设置(PermissionGroups 参数不传),角色中的权限内容可通过控制台编辑角色或通过接口 ModifyIntegrationRole 完成更新。
|
|
1304
|
+
|
|
1305
|
+
适用场景2:创建当前企业的自定义SaaS角色或集团角色,并且创建时进行权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 DescribeIntegrationRoles 的输出。此处注意权限树内容可能会更新,需尽量拉取最新的权限树内容,并且权限树内容 PermissionGroups 必须是一颗完整的权限树。
|
|
1306
|
+
|
|
1307
|
+
适用场景3:创建集团角色时可同时设置角色管理的子企业列表,可通过设置 SubOrganizationIds 参数达到此效果。
|
|
1308
|
+
|
|
1309
|
+
适用场景4:主企业代理子企业操作的场景,需要设置Agent参数,并且ProxyOrganizationId设置为子企业的id即可。
|
|
1310
|
+
|
|
1311
|
+
注意事项:SaaS角色和集团角色对应的权限树是不一样的。
|
|
1312
|
+
"""
|
|
1313
|
+
|
|
1314
|
+
kwargs = {}
|
|
1315
|
+
kwargs["action"] = "CreateIntegrationRole"
|
|
1316
|
+
kwargs["params"] = request._serialize()
|
|
1317
|
+
kwargs["resp_cls"] = models.CreateIntegrationRoleResponse
|
|
1318
|
+
kwargs["headers"] = request.headers
|
|
1319
|
+
kwargs["opts"] = opts or {}
|
|
1320
|
+
|
|
1321
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1322
|
+
|
|
1323
|
+
async def CreateIntegrationSubOrganizationActiveRecord(
|
|
1324
|
+
self,
|
|
1325
|
+
request: models.CreateIntegrationSubOrganizationActiveRecordRequest,
|
|
1326
|
+
opts: Dict = None,
|
|
1327
|
+
) -> models.CreateIntegrationSubOrganizationActiveRecordResponse:
|
|
1328
|
+
"""
|
|
1329
|
+
使用此接口,可创建子企业激活记录。<font color="red">集团企业管理员</font>可以针对尚未激活的成员企业进行激活操作。
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
这个操作与页面端激活成员企业操作类似
|
|
1333
|
+

|
|
1334
|
+
|
|
1335
|
+
注意:
|
|
1336
|
+
1. 此接口只能用于激活,**不能用于续期**。
|
|
1337
|
+
2. 在激活子企业时,**请确保子企业的许可证数量充足**。
|
|
1338
|
+
"""
|
|
1339
|
+
|
|
1340
|
+
kwargs = {}
|
|
1341
|
+
kwargs["action"] = "CreateIntegrationSubOrganizationActiveRecord"
|
|
1342
|
+
kwargs["params"] = request._serialize()
|
|
1343
|
+
kwargs["resp_cls"] = models.CreateIntegrationSubOrganizationActiveRecordResponse
|
|
1344
|
+
kwargs["headers"] = request.headers
|
|
1345
|
+
kwargs["opts"] = opts or {}
|
|
1346
|
+
|
|
1347
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1348
|
+
|
|
1349
|
+
async def CreateIntegrationUserRoles(
|
|
1350
|
+
self,
|
|
1351
|
+
request: models.CreateIntegrationUserRolesRequest,
|
|
1352
|
+
opts: Dict = None,
|
|
1353
|
+
) -> models.CreateIntegrationUserRolesResponse:
|
|
1354
|
+
"""
|
|
1355
|
+
此接口用于赋予员工指定的角色权限,如需解绑请使用 DeleteIntegrationRoleUsers 接口。
|
|
1356
|
+
"""
|
|
1357
|
+
|
|
1358
|
+
kwargs = {}
|
|
1359
|
+
kwargs["action"] = "CreateIntegrationUserRoles"
|
|
1360
|
+
kwargs["params"] = request._serialize()
|
|
1361
|
+
kwargs["resp_cls"] = models.CreateIntegrationUserRolesResponse
|
|
1362
|
+
kwargs["headers"] = request.headers
|
|
1363
|
+
kwargs["opts"] = opts or {}
|
|
1364
|
+
|
|
1365
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1366
|
+
|
|
1367
|
+
async def CreateLegalSealQrCode(
|
|
1368
|
+
self,
|
|
1369
|
+
request: models.CreateLegalSealQrCodeRequest,
|
|
1370
|
+
opts: Dict = None,
|
|
1371
|
+
) -> models.CreateLegalSealQrCodeResponse:
|
|
1372
|
+
"""
|
|
1373
|
+
该接口用于获取创建法人章的二维码,需要通过微信扫描。扫描后将跳转到腾讯电子签署,进入到创建法人章的流程。
|
|
1374
|
+
|
|
1375
|
+
**注意**
|
|
1376
|
+
1. 该二维码**有效期为7天**,过期后将失效,可重新创建 。
|
|
1377
|
+
2. 每个公司**只能有1个法人章**,无法重复创建或者创建多个
|
|
1378
|
+
|
|
1379
|
+
法人章的样式可以参考下图索引(也可以自己上传法人印章图片):
|
|
1380
|
+
|
|
1381
|
+

|
|
1382
|
+
"""
|
|
1383
|
+
|
|
1384
|
+
kwargs = {}
|
|
1385
|
+
kwargs["action"] = "CreateLegalSealQrCode"
|
|
1386
|
+
kwargs["params"] = request._serialize()
|
|
1387
|
+
kwargs["resp_cls"] = models.CreateLegalSealQrCodeResponse
|
|
1388
|
+
kwargs["headers"] = request.headers
|
|
1389
|
+
kwargs["opts"] = opts or {}
|
|
1390
|
+
|
|
1391
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1392
|
+
|
|
1393
|
+
async def CreateMiniAppPrepareFlow(
|
|
1394
|
+
self,
|
|
1395
|
+
request: models.CreateMiniAppPrepareFlowRequest,
|
|
1396
|
+
opts: Dict = None,
|
|
1397
|
+
) -> models.CreateMiniAppPrepareFlowResponse:
|
|
1398
|
+
"""
|
|
1399
|
+
创建小程序发起流程链接,在小程序页面上完成签署人等信息的编辑与确认后,可快速发起流程。
|
|
1400
|
+
<br/>
|
|
1401
|
+
适用场景:如果需要签署人在自己的APP、小程序、H5应用中发起合同,可在收集合同信息,签署人等信息后(非必选),通过此接口获取跳转腾讯电子签小程序的合同发起跳转链接,跳转到腾讯电子签小程序继续合同的发起。
|
|
1402
|
+
|
|
1403
|
+
跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
|
|
1404
|
+
|
|
1405
|
+
注:
|
|
1406
|
+
<ul>
|
|
1407
|
+
<li>1. 签署链接的有效期为<font color="red">90天</font>,超过有效期链接不可用</li>
|
|
1408
|
+
<li>2. <font color="red">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)</li>
|
|
1409
|
+
<li>3. 调用接口后,<font color="red">流程不会立即发起,需使用链接跳转到小程序上继续发起流程操作</font>。</li>
|
|
1410
|
+
<li>4. <font color="red">使用链接成功发起一份合同后,链接立即失效</font></li>
|
|
1411
|
+
</ul>
|
|
1412
|
+
|
|
1413
|
+
其中小程序的原始Id如下,或者查看小程序信息自助获取。
|
|
1414
|
+
|
|
1415
|
+
| 小程序 | AppID | 原始ID |
|
|
1416
|
+
| ------------ | ------------ | ------------ |
|
|
1417
|
+
| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
|
|
1418
|
+
| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
|
|
1419
|
+
"""
|
|
1420
|
+
|
|
1421
|
+
kwargs = {}
|
|
1422
|
+
kwargs["action"] = "CreateMiniAppPrepareFlow"
|
|
1423
|
+
kwargs["params"] = request._serialize()
|
|
1424
|
+
kwargs["resp_cls"] = models.CreateMiniAppPrepareFlowResponse
|
|
1425
|
+
kwargs["headers"] = request.headers
|
|
1426
|
+
kwargs["opts"] = opts or {}
|
|
1427
|
+
|
|
1428
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1429
|
+
|
|
1430
|
+
async def CreateModifyAdminAuthorizationUrl(
|
|
1431
|
+
self,
|
|
1432
|
+
request: models.CreateModifyAdminAuthorizationUrlRequest,
|
|
1433
|
+
opts: Dict = None,
|
|
1434
|
+
) -> models.CreateModifyAdminAuthorizationUrlResponse:
|
|
1435
|
+
"""
|
|
1436
|
+
本接口(CreateModifyAdminAuthorizationUrl)用于重新上传超管授权书。
|
|
1437
|
+
|
|
1438
|
+
注意:
|
|
1439
|
+
1. 重新上传超管授权书,必须是审核失败的情况下才能重新上传,可以通过回调[!企业认证审核结果回调](https://qian.tencent.com/developers/company/callback_types_staffs#%E5%8D%81%E5%85%AD-%E6%8E%88%E6%9D%83%E4%B9%A6%E8%AE%A4%E8%AF%81%E5%AE%A1%E6%A0%B8%E7%BB%93%E6%9E%9C%E5%9B%9E%E8%B0%83)得到授权书是否审核失败的结果。
|
|
1440
|
+
"""
|
|
1441
|
+
|
|
1442
|
+
kwargs = {}
|
|
1443
|
+
kwargs["action"] = "CreateModifyAdminAuthorizationUrl"
|
|
1444
|
+
kwargs["params"] = request._serialize()
|
|
1445
|
+
kwargs["resp_cls"] = models.CreateModifyAdminAuthorizationUrlResponse
|
|
1446
|
+
kwargs["headers"] = request.headers
|
|
1447
|
+
kwargs["opts"] = opts or {}
|
|
1448
|
+
|
|
1449
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1450
|
+
|
|
1451
|
+
async def CreateMultiFlowSignQRCode(
|
|
1452
|
+
self,
|
|
1453
|
+
request: models.CreateMultiFlowSignQRCodeRequest,
|
|
1454
|
+
opts: Dict = None,
|
|
1455
|
+
) -> models.CreateMultiFlowSignQRCodeResponse:
|
|
1456
|
+
"""
|
|
1457
|
+
此接口(CreateMultiFlowSignQRCode)用于创建一码多签签署码。
|
|
1458
|
+
|
|
1459
|
+
**适用场景**:
|
|
1460
|
+
签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
|
|
1461
|
+
|
|
1462
|
+
**注意**:
|
|
1463
|
+
1.满足以下条件的模板支持创建签署码:
|
|
1464
|
+
- 签署对象:企业与个人(无序签署)、企业与个人(顺序签署&企业非首位)、 仅个人签署。
|
|
1465
|
+
- 其发起方没有填写控件,签署方(B端或C端)可以有填写控件。
|
|
1466
|
+
- 如签署对象中含企业方,企业方签署区只能由发起方企业签署。
|
|
1467
|
+
|
|
1468
|
+
2. 通过一码多签签署码发起的合同,合同涉及到的回调消息可参考文档[合同发起及签署相关回调
|
|
1469
|
+
]( https://qian.tencent.com/developers/company/callback_types_contracts_sign)
|
|
1470
|
+
3. 用户通过一码多签签署码发起合同时,因企业额度不足导致失败 会触发签署二维码相关回调,具体参考文档[签署二维码相关回调](https://qian.tencent.com/developers/company/callback_types_commons#%E7%AD%BE%E7%BD%B2%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%9B%B8%E5%85%B3%E5%9B%9E%E8%B0%83)
|
|
1471
|
+
|
|
1472
|
+
签署码的样式如下图:
|
|
1473
|
+
|
|
1474
|
+

|
|
1475
|
+
"""
|
|
1476
|
+
|
|
1477
|
+
kwargs = {}
|
|
1478
|
+
kwargs["action"] = "CreateMultiFlowSignQRCode"
|
|
1479
|
+
kwargs["params"] = request._serialize()
|
|
1480
|
+
kwargs["resp_cls"] = models.CreateMultiFlowSignQRCodeResponse
|
|
1481
|
+
kwargs["headers"] = request.headers
|
|
1482
|
+
kwargs["opts"] = opts or {}
|
|
1483
|
+
|
|
1484
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1485
|
+
|
|
1486
|
+
async def CreateOrganizationAuthFile(
|
|
1487
|
+
self,
|
|
1488
|
+
request: models.CreateOrganizationAuthFileRequest,
|
|
1489
|
+
opts: Dict = None,
|
|
1490
|
+
) -> models.CreateOrganizationAuthFileResponse:
|
|
1491
|
+
"""
|
|
1492
|
+
生成合成后的各类企业授权书,包括:
|
|
1493
|
+
- 企业认证超管授权书
|
|
1494
|
+
- 超管变更授权书
|
|
1495
|
+
- 企业注销授权书
|
|
1496
|
+
|
|
1497
|
+
注: 需自行保证传入真实的企业/法人/超管信息,否则后续的审核将会拒绝。
|
|
1498
|
+
"""
|
|
1499
|
+
|
|
1500
|
+
kwargs = {}
|
|
1501
|
+
kwargs["action"] = "CreateOrganizationAuthFile"
|
|
1502
|
+
kwargs["params"] = request._serialize()
|
|
1503
|
+
kwargs["resp_cls"] = models.CreateOrganizationAuthFileResponse
|
|
1504
|
+
kwargs["headers"] = request.headers
|
|
1505
|
+
kwargs["opts"] = opts or {}
|
|
1506
|
+
|
|
1507
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1508
|
+
|
|
1509
|
+
async def CreateOrganizationAuthUrl(
|
|
1510
|
+
self,
|
|
1511
|
+
request: models.CreateOrganizationAuthUrlRequest,
|
|
1512
|
+
opts: Dict = None,
|
|
1513
|
+
) -> models.CreateOrganizationAuthUrlResponse:
|
|
1514
|
+
"""
|
|
1515
|
+
本接口(CreateOrganizationAuthUrl)的主要功能是生成合作企业的认证链接。
|
|
1516
|
+
|
|
1517
|
+
在生成链接的过程中,可以提供一部分已知信息,以便为对方进行认证流程提供便利。
|
|
1518
|
+
|
|
1519
|
+

|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
- **企业统一社会信用代码**: 对应上图中的**1**
|
|
1523
|
+
- **企业名称**: 对应上图中的**2**
|
|
1524
|
+
- **企业法定代表人的名字**:对应上图中的**3**
|
|
1525
|
+
- **企业详细住所**:对应上图中的**4**
|
|
1526
|
+
|
|
1527
|
+
|
|
1528
|
+
|
|
1529
|
+
|
|
1530
|
+
<b>注</b>:此接口需要 <font color="red"><b>购买单独的实名套餐包</b></font>方可调用,如有需求请联系对接人员评估
|
|
1531
|
+
"""
|
|
1532
|
+
|
|
1533
|
+
kwargs = {}
|
|
1534
|
+
kwargs["action"] = "CreateOrganizationAuthUrl"
|
|
1535
|
+
kwargs["params"] = request._serialize()
|
|
1536
|
+
kwargs["resp_cls"] = models.CreateOrganizationAuthUrlResponse
|
|
1537
|
+
kwargs["headers"] = request.headers
|
|
1538
|
+
kwargs["opts"] = opts or {}
|
|
1539
|
+
|
|
1540
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1541
|
+
|
|
1542
|
+
async def CreateOrganizationBatchSignUrl(
|
|
1543
|
+
self,
|
|
1544
|
+
request: models.CreateOrganizationBatchSignUrlRequest,
|
|
1545
|
+
opts: Dict = None,
|
|
1546
|
+
) -> models.CreateOrganizationBatchSignUrlResponse:
|
|
1547
|
+
"""
|
|
1548
|
+
使用此接口,您可以创建企业批量签署链接,员工只需点击链接即可跳转至控制台进行批量签署。<br/>
|
|
1549
|
+
|
|
1550
|
+
注:
|
|
1551
|
+
<ul>
|
|
1552
|
+
<li>员工必须需作为批量签署合同的签署方,或者是或签合同的候选人之一。</li>
|
|
1553
|
+
<li><b>本方企业签署链接</b>:如有UserId,应以UserId为主要标识;如果没有UserId,则必须填写Name和Mobile信息。</li>
|
|
1554
|
+
<li><b>他方企业签署链接</b>:传RecipientIds,且必须是合同发起方调用此接口。打开链接后需要他方签署人登录电子签系统。(<b>如果签署人没有加入对方企业则会引导加入;如果对方企业还没有注册认证,会引导企业注册和认证</b>)</li>
|
|
1555
|
+
<li>只支持待签署、待填写状态的合同生成签署链接。</li>
|
|
1556
|
+
</ul>
|
|
1557
|
+
|
|
1558
|
+
签署的嵌入页面长相如下:
|
|
1559
|
+

|
|
1560
|
+
"""
|
|
1561
|
+
|
|
1562
|
+
kwargs = {}
|
|
1563
|
+
kwargs["action"] = "CreateOrganizationBatchSignUrl"
|
|
1564
|
+
kwargs["params"] = request._serialize()
|
|
1565
|
+
kwargs["resp_cls"] = models.CreateOrganizationBatchSignUrlResponse
|
|
1566
|
+
kwargs["headers"] = request.headers
|
|
1567
|
+
kwargs["opts"] = opts or {}
|
|
1568
|
+
|
|
1569
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1570
|
+
|
|
1571
|
+
async def CreateOrganizationGroupInvitationLink(
|
|
1572
|
+
self,
|
|
1573
|
+
request: models.CreateOrganizationGroupInvitationLinkRequest,
|
|
1574
|
+
opts: Dict = None,
|
|
1575
|
+
) -> models.CreateOrganizationGroupInvitationLinkResponse:
|
|
1576
|
+
"""
|
|
1577
|
+
生成集团加入链接,分享至子企业超管或者法人,子企业管理员可通过链接加入集团。
|
|
1578
|
+
注意:调用当前接口的企业 必须为集团企业。如何成为集团企业可以参考下面的文档[集团操作文档](https://qian.tencent.com/document/86707)
|
|
1579
|
+
"""
|
|
1580
|
+
|
|
1581
|
+
kwargs = {}
|
|
1582
|
+
kwargs["action"] = "CreateOrganizationGroupInvitationLink"
|
|
1583
|
+
kwargs["params"] = request._serialize()
|
|
1584
|
+
kwargs["resp_cls"] = models.CreateOrganizationGroupInvitationLinkResponse
|
|
1585
|
+
kwargs["headers"] = request.headers
|
|
1586
|
+
kwargs["opts"] = opts or {}
|
|
1587
|
+
|
|
1588
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1589
|
+
|
|
1590
|
+
async def CreateOrganizationInfoChangeUrl(
|
|
1591
|
+
self,
|
|
1592
|
+
request: models.CreateOrganizationInfoChangeUrlRequest,
|
|
1593
|
+
opts: Dict = None,
|
|
1594
|
+
) -> models.CreateOrganizationInfoChangeUrlResponse:
|
|
1595
|
+
"""
|
|
1596
|
+
此接口(CreateOrganizationInfoChangeUrl)用于创建企业信息变更链接,支持创建企业超管变更链接或企业基础信息变更链接,通过入参ChangeType指定。
|
|
1597
|
+
|
|
1598
|
+
需要企业的<font color="red">现有的超级管理员、法人来点击</font>链接执行变动操作。
|
|
1599
|
+
|
|
1600
|
+
### 2. 企业基础信息
|
|
1601
|
+
#### A. 可变动的信息
|
|
1602
|
+
- **企业名称**
|
|
1603
|
+
- **法定代表人姓名**(新法人将收到邀请链接)
|
|
1604
|
+
- **企业地址和所在地**
|
|
1605
|
+
- **企业超级管理员变更** (此变更将企业超级管理员的职责转移给企业的其他员工)
|
|
1606
|
+
|
|
1607
|
+
#### B. 不可变动的信息
|
|
1608
|
+
- **统一社会信用代码**
|
|
1609
|
+
- **企业主体类型**
|
|
1610
|
+
|
|
1611
|
+
### 3.变更影响
|
|
1612
|
+
|
|
1613
|
+
如果企业的名字变更将导致下面的影响:
|
|
1614
|
+
|
|
1615
|
+
- **合同**:已存在的合同将保持不变。新发起的合同需使用新的企业名称作为签署方,否则无法签署。
|
|
1616
|
+
- **印章**:所有现有的机构公章和合同专用章将被删除,并将根据新的企业名称重新生成。法人章、财务专用章和人事专用章将不做处理。
|
|
1617
|
+
- **证书**:企业证书将重新由CA机构使用新的企业名称生成。
|
|
1618
|
+
"""
|
|
1619
|
+
|
|
1620
|
+
kwargs = {}
|
|
1621
|
+
kwargs["action"] = "CreateOrganizationInfoChangeUrl"
|
|
1622
|
+
kwargs["params"] = request._serialize()
|
|
1623
|
+
kwargs["resp_cls"] = models.CreateOrganizationInfoChangeUrlResponse
|
|
1624
|
+
kwargs["headers"] = request.headers
|
|
1625
|
+
kwargs["opts"] = opts or {}
|
|
1626
|
+
|
|
1627
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1628
|
+
|
|
1629
|
+
async def CreatePartnerAutoSignAuthUrl(
|
|
1630
|
+
self,
|
|
1631
|
+
request: models.CreatePartnerAutoSignAuthUrlRequest,
|
|
1632
|
+
opts: Dict = None,
|
|
1633
|
+
) -> models.CreatePartnerAutoSignAuthUrlResponse:
|
|
1634
|
+
"""
|
|
1635
|
+
创建一个用于他方自动签授权的链接(可选择他方授权或我方授权)。通过这个链接,合作方企业可以直接进入小程序,进行自动签授权操作。
|
|
1636
|
+
|
|
1637
|
+
如果授权企业尚未开通企业自动签功能,该链接还将引导他们首先开通本企业的自动签服务
|
|
1638
|
+
|
|
1639
|
+
注:
|
|
1640
|
+
1. <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Operator.UserId 需要传递超管或者法人的UserId)
|
|
1641
|
+
2. 已经在授权中或者授权成功的企业,无法重复授权
|
|
1642
|
+
3. 授权企业和被授权企业必须都是已认证企业
|
|
1643
|
+
4. <font color='red'>需要授权企业或被授权企业的超管或者法人打开链接</font>走开通逻辑。
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
|
+
**该接口效果同控制台: 企业设置-> 扩展服务 -> 企业自动签署 -> 合作企业方授权**
|
|
1647
|
+

|
|
1648
|
+
"""
|
|
1649
|
+
|
|
1650
|
+
kwargs = {}
|
|
1651
|
+
kwargs["action"] = "CreatePartnerAutoSignAuthUrl"
|
|
1652
|
+
kwargs["params"] = request._serialize()
|
|
1653
|
+
kwargs["resp_cls"] = models.CreatePartnerAutoSignAuthUrlResponse
|
|
1654
|
+
kwargs["headers"] = request.headers
|
|
1655
|
+
kwargs["opts"] = opts or {}
|
|
1656
|
+
|
|
1657
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1658
|
+
|
|
1659
|
+
async def CreatePersonAuthCertificateImage(
|
|
1660
|
+
self,
|
|
1661
|
+
request: models.CreatePersonAuthCertificateImageRequest,
|
|
1662
|
+
opts: Dict = None,
|
|
1663
|
+
) -> models.CreatePersonAuthCertificateImageResponse:
|
|
1664
|
+
"""
|
|
1665
|
+
获取个人用户认证证书图片下载URL
|
|
1666
|
+
|
|
1667
|
+
个人用户认证证书图片样式如下图
|
|
1668
|
+
|
|
1669
|
+

|
|
1670
|
+
|
|
1671
|
+
注:
|
|
1672
|
+
<ul>
|
|
1673
|
+
<li>只能获取个人用户证明图片, 企业员工的暂不支持</li>
|
|
1674
|
+
<li>专为电子处方单(医疗自动签)特定场景使用。在使用前,请务必与您的客户经理联系以确认已经开通电子处方单功能 </li>
|
|
1675
|
+
</ul>
|
|
1676
|
+
"""
|
|
1677
|
+
|
|
1678
|
+
kwargs = {}
|
|
1679
|
+
kwargs["action"] = "CreatePersonAuthCertificateImage"
|
|
1680
|
+
kwargs["params"] = request._serialize()
|
|
1681
|
+
kwargs["resp_cls"] = models.CreatePersonAuthCertificateImageResponse
|
|
1682
|
+
kwargs["headers"] = request.headers
|
|
1683
|
+
kwargs["opts"] = opts or {}
|
|
1684
|
+
|
|
1685
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1686
|
+
|
|
1687
|
+
async def CreatePrepareFlow(
|
|
1688
|
+
self,
|
|
1689
|
+
request: models.CreatePrepareFlowRequest,
|
|
1690
|
+
opts: Dict = None,
|
|
1691
|
+
) -> models.CreatePrepareFlowResponse:
|
|
1692
|
+
"""
|
|
1693
|
+
创建发起流程Web页面,通过该接口可以获取发起流程的可嵌入web页面的URL(此web页面可以通过iframe方式嵌入到贵方系统的网页中)。在页面上完成签署控件等信息的编辑与确认后,可快速发起流程。
|
|
1694
|
+
|
|
1695
|
+
<br/>注意:调用接口后,<font color="red">流程不会立即发起,需在嵌入页面上点击【发起合同】按钮来发起流程</font>。
|
|
1696
|
+
|
|
1697
|
+
嵌入页面长相如下:
|
|
1698
|
+

|
|
1699
|
+
"""
|
|
1700
|
+
|
|
1701
|
+
kwargs = {}
|
|
1702
|
+
kwargs["action"] = "CreatePrepareFlow"
|
|
1703
|
+
kwargs["params"] = request._serialize()
|
|
1704
|
+
kwargs["resp_cls"] = models.CreatePrepareFlowResponse
|
|
1705
|
+
kwargs["headers"] = request.headers
|
|
1706
|
+
kwargs["opts"] = opts or {}
|
|
1707
|
+
|
|
1708
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1709
|
+
|
|
1710
|
+
async def CreatePrepareFlowGroup(
|
|
1711
|
+
self,
|
|
1712
|
+
request: models.CreatePrepareFlowGroupRequest,
|
|
1713
|
+
opts: Dict = None,
|
|
1714
|
+
) -> models.CreatePrepareFlowGroupResponse:
|
|
1715
|
+
"""
|
|
1716
|
+
接口(CreatePrepareFlowGroup)用于创建嵌入式合同组签署流程。
|
|
1717
|
+
|
|
1718
|
+
- 该接口当前仅支持文件发起
|
|
1719
|
+
- 该接口能力和CreateFlowGroupByFiles,~~CreateFlowGroupByTemplates~~保持一致。
|
|
1720
|
+
- 返回的FlowGroupId 为临时id,只有在页面内成功发起后FlowGroupId才会有效。
|
|
1721
|
+
"""
|
|
1722
|
+
|
|
1723
|
+
kwargs = {}
|
|
1724
|
+
kwargs["action"] = "CreatePrepareFlowGroup"
|
|
1725
|
+
kwargs["params"] = request._serialize()
|
|
1726
|
+
kwargs["resp_cls"] = models.CreatePrepareFlowGroupResponse
|
|
1727
|
+
kwargs["headers"] = request.headers
|
|
1728
|
+
kwargs["opts"] = opts or {}
|
|
1729
|
+
|
|
1730
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1731
|
+
|
|
1732
|
+
async def CreatePreparedPersonalEsign(
|
|
1733
|
+
self,
|
|
1734
|
+
request: models.CreatePreparedPersonalEsignRequest,
|
|
1735
|
+
opts: Dict = None,
|
|
1736
|
+
) -> models.CreatePreparedPersonalEsignResponse:
|
|
1737
|
+
"""
|
|
1738
|
+
本接口(CreatePreparedPersonalEsign)用于创建导入个人印章(处方单场景专用,使用此接口请与客户经理确认)。
|
|
1739
|
+
"""
|
|
1740
|
+
|
|
1741
|
+
kwargs = {}
|
|
1742
|
+
kwargs["action"] = "CreatePreparedPersonalEsign"
|
|
1743
|
+
kwargs["params"] = request._serialize()
|
|
1744
|
+
kwargs["resp_cls"] = models.CreatePreparedPersonalEsignResponse
|
|
1745
|
+
kwargs["headers"] = request.headers
|
|
1746
|
+
kwargs["opts"] = opts or {}
|
|
1747
|
+
|
|
1748
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1749
|
+
|
|
1750
|
+
async def CreateReleaseFlow(
|
|
1751
|
+
self,
|
|
1752
|
+
request: models.CreateReleaseFlowRequest,
|
|
1753
|
+
opts: Dict = None,
|
|
1754
|
+
) -> models.CreateReleaseFlowResponse:
|
|
1755
|
+
"""
|
|
1756
|
+
发起解除协议的主要应用场景为:基于一份已经签署的合同(签署流程),进行解除操作。
|
|
1757
|
+
解除协议的模板是官方提供 ,经过提供法务审核,暂不支持自定义。具体用法可以参考文档[合同解除](https://qian.tencent.com/developers/company/flow_release)。
|
|
1758
|
+
|
|
1759
|
+
注意:
|
|
1760
|
+
<ul>
|
|
1761
|
+
<li><strong>完成原合同签署后方可发起解除协议:</strong>只有在原合同所有签署人完成签署后,才可以启动解除协议的流程。</li>
|
|
1762
|
+
<li><strong>原合同状态更新:</strong>解除协议一旦签署完毕,原合同状态将更新为“已解除”。</li>
|
|
1763
|
+
<li><strong>解除协议的个人参与要求:</strong>原合同中的个人参与者必须直接参与解除协议,禁止替换为其他第三方个人。</li>
|
|
1764
|
+
<li><strong>企业参与人的代理权:</strong>若原合同的企业参与人无法亲自参与解除协议,可指派具有等同权限的企业员工代行。</li>
|
|
1765
|
+
<li><strong>解除协议的费用问题:</strong>发起解除协议将产生费用,其扣费标准与其他企业合同相同。</li>
|
|
1766
|
+
<li><strong>解除协议的发起资格:</strong>仅限原合同中的企业类型参与者发起解除协议,个人参与者无此权限。</li>
|
|
1767
|
+
<li><strong>非原合同企业参与者的权限:</strong>非原合同的企业参与者发起解除协议时,必须具备相应的解除权限。</li>
|
|
1768
|
+
<li><strong>自动签署:</strong>支持本企业的自动签署,不支持其他企业的自动签署(不能不动声色的把别人参与的合同作废了)</li>
|
|
1769
|
+
</ul>
|
|
1770
|
+
|
|
1771
|
+

|
|
1772
|
+
"""
|
|
1773
|
+
|
|
1774
|
+
kwargs = {}
|
|
1775
|
+
kwargs["action"] = "CreateReleaseFlow"
|
|
1776
|
+
kwargs["params"] = request._serialize()
|
|
1777
|
+
kwargs["resp_cls"] = models.CreateReleaseFlowResponse
|
|
1778
|
+
kwargs["headers"] = request.headers
|
|
1779
|
+
kwargs["opts"] = opts or {}
|
|
1780
|
+
|
|
1781
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1782
|
+
|
|
1783
|
+
async def CreateSchemeUrl(
|
|
1784
|
+
self,
|
|
1785
|
+
request: models.CreateSchemeUrlRequest,
|
|
1786
|
+
opts: Dict = None,
|
|
1787
|
+
) -> models.CreateSchemeUrlResponse:
|
|
1788
|
+
"""
|
|
1789
|
+
获取跳转至腾讯电子签小程序的签署链接
|
|
1790
|
+
|
|
1791
|
+
适用场景:如果需要签署人在自己的APP、小程序、H5应用中签署,可以通过此接口获取跳转腾讯电子签小程序的签署跳转链接。
|
|
1792
|
+
|
|
1793
|
+
跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
|
|
1794
|
+
|
|
1795
|
+
注:
|
|
1796
|
+
<ul><li>1. 如果签署人是在PC端扫码签署,可以通过生成跳转链接自主转换成二维码,让签署人在PC端扫码签署</li>
|
|
1797
|
+
<li>2. 签署链接的有效期为<font color="red">90天</font>,超过有效期链接不可用</li>
|
|
1798
|
+
<li>3. 如果需跳转详情页(即PathType值为1)进行填写或签署合同,需指定签署方信息:姓名、手机号码、企业名称等,才能生成正确的跳转链接</li>
|
|
1799
|
+
<li>4. <font color="red">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)</li></ul>
|
|
1800
|
+
|
|
1801
|
+
其中小程序的原始Id如下,或者查看小程序信息自助获取。
|
|
1802
|
+
|
|
1803
|
+
| 小程序 | AppID | 原始ID |
|
|
1804
|
+
| ------------ | ------------ | ------------ |
|
|
1805
|
+
| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
|
|
1806
|
+
| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
|
|
1807
|
+
"""
|
|
1808
|
+
|
|
1809
|
+
kwargs = {}
|
|
1810
|
+
kwargs["action"] = "CreateSchemeUrl"
|
|
1811
|
+
kwargs["params"] = request._serialize()
|
|
1812
|
+
kwargs["resp_cls"] = models.CreateSchemeUrlResponse
|
|
1813
|
+
kwargs["headers"] = request.headers
|
|
1814
|
+
kwargs["opts"] = opts or {}
|
|
1815
|
+
|
|
1816
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1817
|
+
|
|
1818
|
+
async def CreateSeal(
|
|
1819
|
+
self,
|
|
1820
|
+
request: models.CreateSealRequest,
|
|
1821
|
+
opts: Dict = None,
|
|
1822
|
+
) -> models.CreateSealResponse:
|
|
1823
|
+
"""
|
|
1824
|
+
本接口(CreateSeal)用于创建企业电子印章,支持创建企业公章,合同章,财务专用章和人事专用章创建。
|
|
1825
|
+
|
|
1826
|
+
1. 可以**通过图片**创建印章,图片最大5MB
|
|
1827
|
+
2. 可以**系统创建**创建印章, 系统创建的印章样子下图(样式可以调整)
|
|
1828
|
+
|
|
1829
|
+

|
|
1830
|
+
"""
|
|
1831
|
+
|
|
1832
|
+
kwargs = {}
|
|
1833
|
+
kwargs["action"] = "CreateSeal"
|
|
1834
|
+
kwargs["params"] = request._serialize()
|
|
1835
|
+
kwargs["resp_cls"] = models.CreateSealResponse
|
|
1836
|
+
kwargs["headers"] = request.headers
|
|
1837
|
+
kwargs["opts"] = opts or {}
|
|
1838
|
+
|
|
1839
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1840
|
+
|
|
1841
|
+
async def CreateSealPolicy(
|
|
1842
|
+
self,
|
|
1843
|
+
request: models.CreateSealPolicyRequest,
|
|
1844
|
+
opts: Dict = None,
|
|
1845
|
+
) -> models.CreateSealPolicyResponse:
|
|
1846
|
+
"""
|
|
1847
|
+
本接口(CreateSealPolicy)用于对企业员工进行印章授权
|
|
1848
|
+
"""
|
|
1849
|
+
|
|
1850
|
+
kwargs = {}
|
|
1851
|
+
kwargs["action"] = "CreateSealPolicy"
|
|
1852
|
+
kwargs["params"] = request._serialize()
|
|
1853
|
+
kwargs["resp_cls"] = models.CreateSealPolicyResponse
|
|
1854
|
+
kwargs["headers"] = request.headers
|
|
1855
|
+
kwargs["opts"] = opts or {}
|
|
1856
|
+
|
|
1857
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1858
|
+
|
|
1859
|
+
async def CreateSingleSignOnEmployees(
|
|
1860
|
+
self,
|
|
1861
|
+
request: models.CreateSingleSignOnEmployeesRequest,
|
|
1862
|
+
opts: Dict = None,
|
|
1863
|
+
) -> models.CreateSingleSignOnEmployeesResponse:
|
|
1864
|
+
"""
|
|
1865
|
+
此接口(CreateSingleSignOnEmployees)用于创建单点登录企业员工。
|
|
1866
|
+
创建好的员工,可以通过腾讯电子签提供的链接, 如下图位置,进行登录。
|
|
1867
|
+
此操作的功能:
|
|
1868
|
+
1. 可以绑定已经实名的员工,然后 sso 登录实名绑定。
|
|
1869
|
+
2. 可以提前导入员工,在 sso 登录的时候进行实名。
|
|
1870
|
+
3. 如果已经绑定过,可以直接通过 sso 链接登录腾讯电子签。
|
|
1871
|
+
|
|
1872
|
+

|
|
1873
|
+
"""
|
|
1874
|
+
|
|
1875
|
+
kwargs = {}
|
|
1876
|
+
kwargs["action"] = "CreateSingleSignOnEmployees"
|
|
1877
|
+
kwargs["params"] = request._serialize()
|
|
1878
|
+
kwargs["resp_cls"] = models.CreateSingleSignOnEmployeesResponse
|
|
1879
|
+
kwargs["headers"] = request.headers
|
|
1880
|
+
kwargs["opts"] = opts or {}
|
|
1881
|
+
|
|
1882
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1883
|
+
|
|
1884
|
+
async def CreateUserAutoSignEnableUrl(
|
|
1885
|
+
self,
|
|
1886
|
+
request: models.CreateUserAutoSignEnableUrlRequest,
|
|
1887
|
+
opts: Dict = None,
|
|
1888
|
+
) -> models.CreateUserAutoSignEnableUrlResponse:
|
|
1889
|
+
"""
|
|
1890
|
+
获取个人用户自动签的开通链接。
|
|
1891
|
+
|
|
1892
|
+
注意: `处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。`
|
|
1893
|
+
"""
|
|
1894
|
+
|
|
1895
|
+
kwargs = {}
|
|
1896
|
+
kwargs["action"] = "CreateUserAutoSignEnableUrl"
|
|
1897
|
+
kwargs["params"] = request._serialize()
|
|
1898
|
+
kwargs["resp_cls"] = models.CreateUserAutoSignEnableUrlResponse
|
|
1899
|
+
kwargs["headers"] = request.headers
|
|
1900
|
+
kwargs["opts"] = opts or {}
|
|
1901
|
+
|
|
1902
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1903
|
+
|
|
1904
|
+
async def CreateUserAutoSignSealUrl(
|
|
1905
|
+
self,
|
|
1906
|
+
request: models.CreateUserAutoSignSealUrlRequest,
|
|
1907
|
+
opts: Dict = None,
|
|
1908
|
+
) -> models.CreateUserAutoSignSealUrlResponse:
|
|
1909
|
+
"""
|
|
1910
|
+
获取设置自动签印章小程序链接。
|
|
1911
|
+
|
|
1912
|
+
注意:
|
|
1913
|
+
<ul><li>需要<code>企业开通自动签</code>后使用。</li>
|
|
1914
|
+
<li>仅支持<code>已经开通了自动签的个人</code>更换自动签印章。</li>
|
|
1915
|
+
<li>链接有效期默认7天,<code>最多30天</code>。</li>
|
|
1916
|
+
<li>该接口的链接适用于<code>小程序</code>端。</li>
|
|
1917
|
+
<li>该接口不会扣除您的合同套餐,暂不参与计费。</li></ul>
|
|
1918
|
+
"""
|
|
1919
|
+
|
|
1920
|
+
kwargs = {}
|
|
1921
|
+
kwargs["action"] = "CreateUserAutoSignSealUrl"
|
|
1922
|
+
kwargs["params"] = request._serialize()
|
|
1923
|
+
kwargs["resp_cls"] = models.CreateUserAutoSignSealUrlResponse
|
|
1924
|
+
kwargs["headers"] = request.headers
|
|
1925
|
+
kwargs["opts"] = opts or {}
|
|
1926
|
+
|
|
1927
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1928
|
+
|
|
1929
|
+
async def CreateUserMobileChangeUrl(
|
|
1930
|
+
self,
|
|
1931
|
+
request: models.CreateUserMobileChangeUrlRequest,
|
|
1932
|
+
opts: Dict = None,
|
|
1933
|
+
) -> models.CreateUserMobileChangeUrlResponse:
|
|
1934
|
+
"""
|
|
1935
|
+
该接口会生成一个手机号变更的链接,用户可以通过该链接进入电子签系统进行手机号的变更。
|
|
1936
|
+
该接口支持员工和个人端手机号的变更。
|
|
1937
|
+
"""
|
|
1938
|
+
|
|
1939
|
+
kwargs = {}
|
|
1940
|
+
kwargs["action"] = "CreateUserMobileChangeUrl"
|
|
1941
|
+
kwargs["params"] = request._serialize()
|
|
1942
|
+
kwargs["resp_cls"] = models.CreateUserMobileChangeUrlResponse
|
|
1943
|
+
kwargs["headers"] = request.headers
|
|
1944
|
+
kwargs["opts"] = opts or {}
|
|
1945
|
+
|
|
1946
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1947
|
+
|
|
1948
|
+
async def CreateUserNameChangeUrl(
|
|
1949
|
+
self,
|
|
1950
|
+
request: models.CreateUserNameChangeUrlRequest,
|
|
1951
|
+
opts: Dict = None,
|
|
1952
|
+
) -> models.CreateUserNameChangeUrlResponse:
|
|
1953
|
+
"""
|
|
1954
|
+
生成个人用户实名更名链接,个人用户点击此链接进入更名流程(若用户未完成实名认证,则直接进入实名页面实名后再进行更名)。此链接为通用链接,任何点击生成链接的用户将会被引导至小程序个人更名页面完成更名。
|
|
1955
|
+
|
|
1956
|
+
注: 调用此接口需要购买<font color="red"><b>单独的实名套餐包</b></font>。使用前请联系对接的客户经理沟通。
|
|
1957
|
+
"""
|
|
1958
|
+
|
|
1959
|
+
kwargs = {}
|
|
1960
|
+
kwargs["action"] = "CreateUserNameChangeUrl"
|
|
1961
|
+
kwargs["params"] = request._serialize()
|
|
1962
|
+
kwargs["resp_cls"] = models.CreateUserNameChangeUrlResponse
|
|
1963
|
+
kwargs["headers"] = request.headers
|
|
1964
|
+
kwargs["opts"] = opts or {}
|
|
1965
|
+
|
|
1966
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1967
|
+
|
|
1968
|
+
async def CreateUserVerifyUrl(
|
|
1969
|
+
self,
|
|
1970
|
+
request: models.CreateUserVerifyUrlRequest,
|
|
1971
|
+
opts: Dict = None,
|
|
1972
|
+
) -> models.CreateUserVerifyUrlResponse:
|
|
1973
|
+
"""
|
|
1974
|
+
生成个人用户实名认证链接,个人用户点击此链接进入实名流程(若用户已完成实名认证,则直接进入成功页面)。用户点击此接口生成的链接完成实名认证后,其数据将通过[企业引导个人实名认证后回调](https://qian.tencent.com/developers/company/callback_types_staffs/#%E5%8D%81%E4%BA%8C-%E4%BC%81%E4%B8%9A%E5%BC%95%E5%AF%BC%E4%B8%AA%E4%BA%BA%E5%AE%9E%E5%90%8D%E8%AE%A4%E8%AF%81%E5%90%8E%E5%9B%9E%E8%B0%83)返回
|
|
1975
|
+
|
|
1976
|
+
注: 调用此接口需要购买<font color="red"><b>单独的实名套餐包</b></font>。使用前请联系对接的客户经理沟通。
|
|
1977
|
+
"""
|
|
1978
|
+
|
|
1979
|
+
kwargs = {}
|
|
1980
|
+
kwargs["action"] = "CreateUserVerifyUrl"
|
|
1981
|
+
kwargs["params"] = request._serialize()
|
|
1982
|
+
kwargs["resp_cls"] = models.CreateUserVerifyUrlResponse
|
|
1983
|
+
kwargs["headers"] = request.headers
|
|
1984
|
+
kwargs["opts"] = opts or {}
|
|
1985
|
+
|
|
1986
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1987
|
+
|
|
1988
|
+
async def CreateWebThemeConfig(
|
|
1989
|
+
self,
|
|
1990
|
+
request: models.CreateWebThemeConfigRequest,
|
|
1991
|
+
opts: Dict = None,
|
|
1992
|
+
) -> models.CreateWebThemeConfigResponse:
|
|
1993
|
+
"""
|
|
1994
|
+
用来设置本企业嵌入式页面个性化主题配置(例如是否展示电子签logo、定义主题色等),设置后获取的web签署界面都会使用此配置进行展示。
|
|
1995
|
+
|
|
1996
|
+
如果多次调用,会以最后一次的配置为准
|
|
1997
|
+
"""
|
|
1998
|
+
|
|
1999
|
+
kwargs = {}
|
|
2000
|
+
kwargs["action"] = "CreateWebThemeConfig"
|
|
2001
|
+
kwargs["params"] = request._serialize()
|
|
2002
|
+
kwargs["resp_cls"] = models.CreateWebThemeConfigResponse
|
|
2003
|
+
kwargs["headers"] = request.headers
|
|
2004
|
+
kwargs["opts"] = opts or {}
|
|
2005
|
+
|
|
2006
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2007
|
+
|
|
2008
|
+
async def DeleteExtendedServiceAuthInfos(
|
|
2009
|
+
self,
|
|
2010
|
+
request: models.DeleteExtendedServiceAuthInfosRequest,
|
|
2011
|
+
opts: Dict = None,
|
|
2012
|
+
) -> models.DeleteExtendedServiceAuthInfosResponse:
|
|
2013
|
+
"""
|
|
2014
|
+
删除企业扩展服务授权,当前仅支持 “企业自动签” 和“批量签署” 的取消授权。
|
|
2015
|
+
该接口作用和电子签控制台 企业设置-扩展服务-企业自动签署和批量签署授权 两个模块功能相同,可通过该接口取消企业员工授权。
|
|
2016
|
+
|
|
2017
|
+
注:支持集团代子企业操作,请联系运营开通此功能。
|
|
2018
|
+
"""
|
|
2019
|
+
|
|
2020
|
+
kwargs = {}
|
|
2021
|
+
kwargs["action"] = "DeleteExtendedServiceAuthInfos"
|
|
2022
|
+
kwargs["params"] = request._serialize()
|
|
2023
|
+
kwargs["resp_cls"] = models.DeleteExtendedServiceAuthInfosResponse
|
|
2024
|
+
kwargs["headers"] = request.headers
|
|
2025
|
+
kwargs["opts"] = opts or {}
|
|
2026
|
+
|
|
2027
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2028
|
+
|
|
2029
|
+
async def DeleteIntegrationDepartment(
|
|
2030
|
+
self,
|
|
2031
|
+
request: models.DeleteIntegrationDepartmentRequest,
|
|
2032
|
+
opts: Dict = None,
|
|
2033
|
+
) -> models.DeleteIntegrationDepartmentResponse:
|
|
2034
|
+
"""
|
|
2035
|
+
此接口(DeleteIntegrationDepartment)用于删除企业的部门信息。
|
|
2036
|
+
"""
|
|
2037
|
+
|
|
2038
|
+
kwargs = {}
|
|
2039
|
+
kwargs["action"] = "DeleteIntegrationDepartment"
|
|
2040
|
+
kwargs["params"] = request._serialize()
|
|
2041
|
+
kwargs["resp_cls"] = models.DeleteIntegrationDepartmentResponse
|
|
2042
|
+
kwargs["headers"] = request.headers
|
|
2043
|
+
kwargs["opts"] = opts or {}
|
|
2044
|
+
|
|
2045
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2046
|
+
|
|
2047
|
+
async def DeleteIntegrationEmployees(
|
|
2048
|
+
self,
|
|
2049
|
+
request: models.DeleteIntegrationEmployeesRequest,
|
|
2050
|
+
opts: Dict = None,
|
|
2051
|
+
) -> models.DeleteIntegrationEmployeesResponse:
|
|
2052
|
+
"""
|
|
2053
|
+
该接口(DeleteIntegrationEmployees)用于离职本企业员工,同时可选择是否进行离职交接。
|
|
2054
|
+
|
|
2055
|
+
|
|
2056
|
+
- 如果该员工没有未处理的合同,可不设置交接人的ReceiveUserId或ReceiveOpenId进行离职操作。
|
|
2057
|
+
- 如果该员工有未处理的合同,需要设置ReceiveUserId或ReceiveOpenId表示交接的负责人,交接后员工会进行离职操作。
|
|
2058
|
+
|
|
2059
|
+
未处理的合同包括以下:
|
|
2060
|
+
|
|
2061
|
+
- 待签署的合同(包括顺序签署还没有轮到的合同,此类合同某些情况可能不会出现在用户的列表中)。
|
|
2062
|
+
- 待填写的合同。
|
|
2063
|
+
- 待解除的合同等。
|
|
2064
|
+
|
|
2065
|
+
注:
|
|
2066
|
+
1. <font color="red">超管或法人身份的员工不能被离职</font>, 需要在控制台或小程序更换法人和超管后进行离职删除。
|
|
2067
|
+
2. <font color="red">员工存在待处理合同时必须交接</font>后才能离职无人交接时不能被离职删除。
|
|
2068
|
+
3. 未实名的员工可以直接离职,不用交接合同
|
|
2069
|
+
"""
|
|
2070
|
+
|
|
2071
|
+
kwargs = {}
|
|
2072
|
+
kwargs["action"] = "DeleteIntegrationEmployees"
|
|
2073
|
+
kwargs["params"] = request._serialize()
|
|
2074
|
+
kwargs["resp_cls"] = models.DeleteIntegrationEmployeesResponse
|
|
2075
|
+
kwargs["headers"] = request.headers
|
|
2076
|
+
kwargs["opts"] = opts or {}
|
|
2077
|
+
|
|
2078
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2079
|
+
|
|
2080
|
+
async def DeleteIntegrationRoleUsers(
|
|
2081
|
+
self,
|
|
2082
|
+
request: models.DeleteIntegrationRoleUsersRequest,
|
|
2083
|
+
opts: Dict = None,
|
|
2084
|
+
) -> models.DeleteIntegrationRoleUsersResponse:
|
|
2085
|
+
"""
|
|
2086
|
+
解绑员工与对应角色的关系,如需绑定请使用 CreateIntegrationUserRoles 接口。
|
|
2087
|
+
"""
|
|
2088
|
+
|
|
2089
|
+
kwargs = {}
|
|
2090
|
+
kwargs["action"] = "DeleteIntegrationRoleUsers"
|
|
2091
|
+
kwargs["params"] = request._serialize()
|
|
2092
|
+
kwargs["resp_cls"] = models.DeleteIntegrationRoleUsersResponse
|
|
2093
|
+
kwargs["headers"] = request.headers
|
|
2094
|
+
kwargs["opts"] = opts or {}
|
|
2095
|
+
|
|
2096
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2097
|
+
|
|
2098
|
+
async def DeleteOrganizationAuthorizations(
|
|
2099
|
+
self,
|
|
2100
|
+
request: models.DeleteOrganizationAuthorizationsRequest,
|
|
2101
|
+
opts: Dict = None,
|
|
2102
|
+
) -> models.DeleteOrganizationAuthorizationsResponse:
|
|
2103
|
+
"""
|
|
2104
|
+
批量清理未认证的企业认证流程。
|
|
2105
|
+
|
|
2106
|
+
此接口用来清除企业方认证信息填写错误,批量清理认证中的认证流信息。
|
|
2107
|
+
为接口[创建企业批量认证链接](https://qian.tencent.com/developers/companyApis/organizations/CreateBatchOrganizationRegistrationTasks) 和[查询企业批量认证链接](https://qian.tencent.com/developers/companyApis/organizations/DescribeBatchOrganizationRegistrationUrls) 接口的扩展接口。即在批量认证过程中,当发起认证企业发现超管信息错误的时候,可以将当前超管下的所有认证流企业清除。
|
|
2108
|
+
|
|
2109
|
+
注意:
|
|
2110
|
+
**这个接口的操作人必须跟生成批量认证链接接口的操作人一致,才可以调用,否则会返回当前操作人没有认证中的企业认证流**
|
|
2111
|
+
"""
|
|
2112
|
+
|
|
2113
|
+
kwargs = {}
|
|
2114
|
+
kwargs["action"] = "DeleteOrganizationAuthorizations"
|
|
2115
|
+
kwargs["params"] = request._serialize()
|
|
2116
|
+
kwargs["resp_cls"] = models.DeleteOrganizationAuthorizationsResponse
|
|
2117
|
+
kwargs["headers"] = request.headers
|
|
2118
|
+
kwargs["opts"] = opts or {}
|
|
2119
|
+
|
|
2120
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2121
|
+
|
|
2122
|
+
async def DeleteSealPolicies(
|
|
2123
|
+
self,
|
|
2124
|
+
request: models.DeleteSealPoliciesRequest,
|
|
2125
|
+
opts: Dict = None,
|
|
2126
|
+
) -> models.DeleteSealPoliciesResponse:
|
|
2127
|
+
"""
|
|
2128
|
+
本接口(DeleteSealPolicies)用于撤销企业员工持有的印章权限
|
|
2129
|
+
"""
|
|
2130
|
+
|
|
2131
|
+
kwargs = {}
|
|
2132
|
+
kwargs["action"] = "DeleteSealPolicies"
|
|
2133
|
+
kwargs["params"] = request._serialize()
|
|
2134
|
+
kwargs["resp_cls"] = models.DeleteSealPoliciesResponse
|
|
2135
|
+
kwargs["headers"] = request.headers
|
|
2136
|
+
kwargs["opts"] = opts or {}
|
|
2137
|
+
|
|
2138
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2139
|
+
|
|
2140
|
+
async def DeleteSingleSignOnEmployees(
|
|
2141
|
+
self,
|
|
2142
|
+
request: models.DeleteSingleSignOnEmployeesRequest,
|
|
2143
|
+
opts: Dict = None,
|
|
2144
|
+
) -> models.DeleteSingleSignOnEmployeesResponse:
|
|
2145
|
+
"""
|
|
2146
|
+
此接口(DeleteSingleSignOnEmployees)用于删除单点登录企业员工。
|
|
2147
|
+
注意:
|
|
2148
|
+
此接口只能删除未跟腾讯电子签绑定的单点登录企业员工,
|
|
2149
|
+
如果企业员工的单点登录信息已经和腾讯电子签里面的企业员工绑定,需要企业的超级管理员或者组织管理员在腾讯电子签控制台对当前企业员工进行离职操作,如下图操作。
|
|
2150
|
+

|
|
2151
|
+
"""
|
|
2152
|
+
|
|
2153
|
+
kwargs = {}
|
|
2154
|
+
kwargs["action"] = "DeleteSingleSignOnEmployees"
|
|
2155
|
+
kwargs["params"] = request._serialize()
|
|
2156
|
+
kwargs["resp_cls"] = models.DeleteSingleSignOnEmployeesResponse
|
|
2157
|
+
kwargs["headers"] = request.headers
|
|
2158
|
+
kwargs["opts"] = opts or {}
|
|
2159
|
+
|
|
2160
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2161
|
+
|
|
2162
|
+
async def DescribeBatchOrganizationRegistrationTasks(
|
|
2163
|
+
self,
|
|
2164
|
+
request: models.DescribeBatchOrganizationRegistrationTasksRequest,
|
|
2165
|
+
opts: Dict = None,
|
|
2166
|
+
) -> models.DescribeBatchOrganizationRegistrationTasksResponse:
|
|
2167
|
+
"""
|
|
2168
|
+
本接口(DescribeBatchOrganizationRegistrationTasks)用于查询企业批量认证任务状态。
|
|
2169
|
+
"""
|
|
2170
|
+
|
|
2171
|
+
kwargs = {}
|
|
2172
|
+
kwargs["action"] = "DescribeBatchOrganizationRegistrationTasks"
|
|
2173
|
+
kwargs["params"] = request._serialize()
|
|
2174
|
+
kwargs["resp_cls"] = models.DescribeBatchOrganizationRegistrationTasksResponse
|
|
2175
|
+
kwargs["headers"] = request.headers
|
|
2176
|
+
kwargs["opts"] = opts or {}
|
|
2177
|
+
|
|
2178
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2179
|
+
|
|
2180
|
+
async def DescribeBatchOrganizationRegistrationUrls(
|
|
2181
|
+
self,
|
|
2182
|
+
request: models.DescribeBatchOrganizationRegistrationUrlsRequest,
|
|
2183
|
+
opts: Dict = None,
|
|
2184
|
+
) -> models.DescribeBatchOrganizationRegistrationUrlsResponse:
|
|
2185
|
+
"""
|
|
2186
|
+
此接口用于获取企业批量认证异步任务的状态及结果。
|
|
2187
|
+
|
|
2188
|
+
前提条件:已调用 CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任务接口,并得到了任务Id。
|
|
2189
|
+
|
|
2190
|
+
异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间
|
|
2191
|
+
"""
|
|
2192
|
+
|
|
2193
|
+
kwargs = {}
|
|
2194
|
+
kwargs["action"] = "DescribeBatchOrganizationRegistrationUrls"
|
|
2195
|
+
kwargs["params"] = request._serialize()
|
|
2196
|
+
kwargs["resp_cls"] = models.DescribeBatchOrganizationRegistrationUrlsResponse
|
|
2197
|
+
kwargs["headers"] = request.headers
|
|
2198
|
+
kwargs["opts"] = opts or {}
|
|
2199
|
+
|
|
2200
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2201
|
+
|
|
2202
|
+
async def DescribeBillUsage(
|
|
2203
|
+
self,
|
|
2204
|
+
request: models.DescribeBillUsageRequest,
|
|
2205
|
+
opts: Dict = None,
|
|
2206
|
+
) -> models.DescribeBillUsageResponse:
|
|
2207
|
+
"""
|
|
2208
|
+
通过此接口(DescribeBillUsage)查询该企业的套餐套餐使用情况。
|
|
2209
|
+
"""
|
|
2210
|
+
|
|
2211
|
+
kwargs = {}
|
|
2212
|
+
kwargs["action"] = "DescribeBillUsage"
|
|
2213
|
+
kwargs["params"] = request._serialize()
|
|
2214
|
+
kwargs["resp_cls"] = models.DescribeBillUsageResponse
|
|
2215
|
+
kwargs["headers"] = request.headers
|
|
2216
|
+
kwargs["opts"] = opts or {}
|
|
2217
|
+
|
|
2218
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2219
|
+
|
|
2220
|
+
async def DescribeBillUsageDetail(
|
|
2221
|
+
self,
|
|
2222
|
+
request: models.DescribeBillUsageDetailRequest,
|
|
2223
|
+
opts: Dict = None,
|
|
2224
|
+
) -> models.DescribeBillUsageDetailResponse:
|
|
2225
|
+
"""
|
|
2226
|
+
通过此接口(DescribeBillUsageDetail)查询该企业的套餐消耗详情。
|
|
2227
|
+
"""
|
|
2228
|
+
|
|
2229
|
+
kwargs = {}
|
|
2230
|
+
kwargs["action"] = "DescribeBillUsageDetail"
|
|
2231
|
+
kwargs["params"] = request._serialize()
|
|
2232
|
+
kwargs["resp_cls"] = models.DescribeBillUsageDetailResponse
|
|
2233
|
+
kwargs["headers"] = request.headers
|
|
2234
|
+
kwargs["opts"] = opts or {}
|
|
2235
|
+
|
|
2236
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2237
|
+
|
|
2238
|
+
async def DescribeCancelFlowsTask(
|
|
2239
|
+
self,
|
|
2240
|
+
request: models.DescribeCancelFlowsTaskRequest,
|
|
2241
|
+
opts: Dict = None,
|
|
2242
|
+
) -> models.DescribeCancelFlowsTaskResponse:
|
|
2243
|
+
"""
|
|
2244
|
+
通过[获取批量撤销签署流程腾讯电子签小程序链接](https://qian.tencent.com/developers/companyApis/operateFlows/CreateBatchCancelFlowUrl)发起批量撤销任务后,可通过此接口查询批量撤销任务的结果。
|
|
2245
|
+
"""
|
|
2246
|
+
|
|
2247
|
+
kwargs = {}
|
|
2248
|
+
kwargs["action"] = "DescribeCancelFlowsTask"
|
|
2249
|
+
kwargs["params"] = request._serialize()
|
|
2250
|
+
kwargs["resp_cls"] = models.DescribeCancelFlowsTaskResponse
|
|
2251
|
+
kwargs["headers"] = request.headers
|
|
2252
|
+
kwargs["opts"] = opts or {}
|
|
2253
|
+
|
|
2254
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2255
|
+
|
|
2256
|
+
async def DescribeContractComparisonTask(
|
|
2257
|
+
self,
|
|
2258
|
+
request: models.DescribeContractComparisonTaskRequest,
|
|
2259
|
+
opts: Dict = None,
|
|
2260
|
+
) -> models.DescribeContractComparisonTaskResponse:
|
|
2261
|
+
"""
|
|
2262
|
+
本接口(DescribeContractComparisonTask)用于查询合同对比任务结果详情。
|
|
2263
|
+
"""
|
|
2264
|
+
|
|
2265
|
+
kwargs = {}
|
|
2266
|
+
kwargs["action"] = "DescribeContractComparisonTask"
|
|
2267
|
+
kwargs["params"] = request._serialize()
|
|
2268
|
+
kwargs["resp_cls"] = models.DescribeContractComparisonTaskResponse
|
|
2269
|
+
kwargs["headers"] = request.headers
|
|
2270
|
+
kwargs["opts"] = opts or {}
|
|
2271
|
+
|
|
2272
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2273
|
+
|
|
2274
|
+
async def DescribeContractDiffTaskWebUrl(
|
|
2275
|
+
self,
|
|
2276
|
+
request: models.DescribeContractDiffTaskWebUrlRequest,
|
|
2277
|
+
opts: Dict = None,
|
|
2278
|
+
) -> models.DescribeContractDiffTaskWebUrlResponse:
|
|
2279
|
+
"""
|
|
2280
|
+
接口(DescribeContractDiffTaskWebUrl)用于获取合同对比结果可嵌入的web页面链接(此web页面可以通过iframe方式嵌入到贵方系统的网页中)。
|
|
2281
|
+
注:本接口生成的web页面暂不支持<a href="https://qian.tencent.com/developers/companyApis/embedPages/CreateWebThemeConfig" target="_blank">设置本企业嵌入式页面主题配置</a>
|
|
2282
|
+
|
|
2283
|
+
嵌入页面长相如下:
|
|
2284
|
+

|
|
2285
|
+
"""
|
|
2286
|
+
|
|
2287
|
+
kwargs = {}
|
|
2288
|
+
kwargs["action"] = "DescribeContractDiffTaskWebUrl"
|
|
2289
|
+
kwargs["params"] = request._serialize()
|
|
2290
|
+
kwargs["resp_cls"] = models.DescribeContractDiffTaskWebUrlResponse
|
|
2291
|
+
kwargs["headers"] = request.headers
|
|
2292
|
+
kwargs["opts"] = opts or {}
|
|
2293
|
+
|
|
2294
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2295
|
+
|
|
2296
|
+
async def DescribeContractReviewTask(
|
|
2297
|
+
self,
|
|
2298
|
+
request: models.DescribeContractReviewTaskRequest,
|
|
2299
|
+
opts: Dict = None,
|
|
2300
|
+
) -> models.DescribeContractReviewTaskResponse:
|
|
2301
|
+
"""
|
|
2302
|
+
本接口(DescribeContractReviewTask)用于获取合同审查任务详情,包括任务的状态和识别出的风险信息。
|
|
2303
|
+
"""
|
|
2304
|
+
|
|
2305
|
+
kwargs = {}
|
|
2306
|
+
kwargs["action"] = "DescribeContractReviewTask"
|
|
2307
|
+
kwargs["params"] = request._serialize()
|
|
2308
|
+
kwargs["resp_cls"] = models.DescribeContractReviewTaskResponse
|
|
2309
|
+
kwargs["headers"] = request.headers
|
|
2310
|
+
kwargs["opts"] = opts or {}
|
|
2311
|
+
|
|
2312
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2313
|
+
|
|
2314
|
+
async def DescribeContractReviewWebUrl(
|
|
2315
|
+
self,
|
|
2316
|
+
request: models.DescribeContractReviewWebUrlRequest,
|
|
2317
|
+
opts: Dict = None,
|
|
2318
|
+
) -> models.DescribeContractReviewWebUrlResponse:
|
|
2319
|
+
"""
|
|
2320
|
+
此接口(DescribeContractReviewWebUrl)用来创建合同审查web页面链接(此web页面可以通过iframe方式嵌入到贵方系统的网页中)。
|
|
2321
|
+
|
|
2322
|
+
适用场景:根据合同内容识别出合同的风险信息。审查结果由AI生成,仅供参考。请结合相关法律法规和公司制度要求综合判断。
|
|
2323
|
+
|
|
2324
|
+
注意: `如果文件资源为word类型生成的链接不能进行iframe嵌入,需要在单独窗口打开`
|
|
2325
|
+
"""
|
|
2326
|
+
|
|
2327
|
+
kwargs = {}
|
|
2328
|
+
kwargs["action"] = "DescribeContractReviewWebUrl"
|
|
2329
|
+
kwargs["params"] = request._serialize()
|
|
2330
|
+
kwargs["resp_cls"] = models.DescribeContractReviewWebUrlResponse
|
|
2331
|
+
kwargs["headers"] = request.headers
|
|
2332
|
+
kwargs["opts"] = opts or {}
|
|
2333
|
+
|
|
2334
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2335
|
+
|
|
2336
|
+
async def DescribeExtendedServiceAuthDetail(
|
|
2337
|
+
self,
|
|
2338
|
+
request: models.DescribeExtendedServiceAuthDetailRequest,
|
|
2339
|
+
opts: Dict = None,
|
|
2340
|
+
) -> models.DescribeExtendedServiceAuthDetailResponse:
|
|
2341
|
+
"""
|
|
2342
|
+
查询企业扩展服务的授权详情(列表),当前支持查询以下内容:
|
|
2343
|
+
1. 企业自动签(本企业授权、集团企业授权、合作企业授权)
|
|
2344
|
+
2. 批量签署能力
|
|
2345
|
+
|
|
2346
|
+
|
|
2347
|
+
注: <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Agent.ProxyOperator.OpenId 需要传递超管或者法人的OpenId)
|
|
2348
|
+
"""
|
|
2349
|
+
|
|
2350
|
+
kwargs = {}
|
|
2351
|
+
kwargs["action"] = "DescribeExtendedServiceAuthDetail"
|
|
2352
|
+
kwargs["params"] = request._serialize()
|
|
2353
|
+
kwargs["resp_cls"] = models.DescribeExtendedServiceAuthDetailResponse
|
|
2354
|
+
kwargs["headers"] = request.headers
|
|
2355
|
+
kwargs["opts"] = opts or {}
|
|
2356
|
+
|
|
2357
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2358
|
+
|
|
2359
|
+
async def DescribeExtendedServiceAuthInfos(
|
|
2360
|
+
self,
|
|
2361
|
+
request: models.DescribeExtendedServiceAuthInfosRequest,
|
|
2362
|
+
opts: Dict = None,
|
|
2363
|
+
) -> models.DescribeExtendedServiceAuthInfosResponse:
|
|
2364
|
+
"""
|
|
2365
|
+
查询企业扩展服务的开通和授权情况,当前支持查询以下内容:
|
|
2366
|
+
|
|
2367
|
+
1. **企业自动签署**
|
|
2368
|
+
2. **批量签署授权**
|
|
2369
|
+
3. **企业与港澳台居民签署合同**
|
|
2370
|
+
4. **拓宽签署方年龄限制**
|
|
2371
|
+
5. **个人签署方仅校验手机号**
|
|
2372
|
+
6. **隐藏合同经办人姓名**
|
|
2373
|
+
7. **正楷临摹签名失败后更换其他签名类型**
|
|
2374
|
+
8. **短信通知签署方**
|
|
2375
|
+
9. **个人签署方手写签名时需逐个手写**
|
|
2376
|
+
10. **签署密码开通引导**
|
|
2377
|
+
11. **个人签署方手动签名**
|
|
2378
|
+
12. **限制企业员工小程序端登录**
|
|
2379
|
+
13. **限制企业员工网页端登录**
|
|
2380
|
+
|
|
2381
|
+
|
|
2382
|
+
对应能力开通页面在【Web控制台】-> 【更多】->【高级签署能力】,如下图所示:
|
|
2383
|
+
|
|
2384
|
+

|
|
2385
|
+
|
|
2386
|
+
注: <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Operator.UserId需要传递超管或者法人的UserId)
|
|
2387
|
+
"""
|
|
2388
|
+
|
|
2389
|
+
kwargs = {}
|
|
2390
|
+
kwargs["action"] = "DescribeExtendedServiceAuthInfos"
|
|
2391
|
+
kwargs["params"] = request._serialize()
|
|
2392
|
+
kwargs["resp_cls"] = models.DescribeExtendedServiceAuthInfosResponse
|
|
2393
|
+
kwargs["headers"] = request.headers
|
|
2394
|
+
kwargs["opts"] = opts or {}
|
|
2395
|
+
|
|
2396
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2397
|
+
|
|
2398
|
+
async def DescribeFileCounterSignResult(
|
|
2399
|
+
self,
|
|
2400
|
+
request: models.DescribeFileCounterSignResultRequest,
|
|
2401
|
+
opts: Dict = None,
|
|
2402
|
+
) -> models.DescribeFileCounterSignResultResponse:
|
|
2403
|
+
"""
|
|
2404
|
+
文件CA加签任务结果查询接口,用于查询 CreateFileCounterSign接口 发起的异步加签任务。
|
|
2405
|
+
|
|
2406
|
+
注意:`此接口为『数字文件CA加签服务』白名单功能,使用前请联系对接的客户经理沟通。`
|
|
2407
|
+
"""
|
|
2408
|
+
|
|
2409
|
+
kwargs = {}
|
|
2410
|
+
kwargs["action"] = "DescribeFileCounterSignResult"
|
|
2411
|
+
kwargs["params"] = request._serialize()
|
|
2412
|
+
kwargs["resp_cls"] = models.DescribeFileCounterSignResultResponse
|
|
2413
|
+
kwargs["headers"] = request.headers
|
|
2414
|
+
kwargs["opts"] = opts or {}
|
|
2415
|
+
|
|
2416
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2417
|
+
|
|
2418
|
+
async def DescribeFileUrls(
|
|
2419
|
+
self,
|
|
2420
|
+
request: models.DescribeFileUrlsRequest,
|
|
2421
|
+
opts: Dict = None,
|
|
2422
|
+
) -> models.DescribeFileUrlsResponse:
|
|
2423
|
+
"""
|
|
2424
|
+
本接口(DescribeFileUrls)用于查询文件的下载URL。
|
|
2425
|
+
适用场景:通过传参合同流程编号,下载对应的合同PDF文件流到本地。
|
|
2426
|
+
|
|
2427
|
+
|
|
2428
|
+
### 2. 确保合同的PDF已经合成后,再调用本接口。
|
|
2429
|
+
|
|
2430
|
+
用户创建合同或者提交签署动作后,后台需要1~3秒的时间就进行合同PDF合成或者签名,为了确保您下载的是签署完成的完整合同文件,我们建议采取下面两种方式的一种来<font color="red"><b>确保PDF已经合成完成,然后在调用本接口</b></font>。
|
|
2431
|
+
|
|
2432
|
+
**第一种**:请确保您的系统配置了[接收合同完成通知的回调](https://qian.tencent.com/developers/company/callback_types_contracts_sign)功能。一旦所有参与方签署完毕,我们的系统将自动向您提供的回调地址发送完成通知。
|
|
2433
|
+
|
|
2434
|
+
**第二种**:通过调用我们的[获取合同信息](https://qian.tencent.com/developers/companyApis/queryFlows/DescribeFlowBriefs)接口来主动检查合同的签署状态。请仅在确认合同状态为“签署完成”后,进行文件的下载操作。
|
|
2435
|
+
|
|
2436
|
+
### 3. 链接具有有效期限
|
|
2437
|
+
<font color="red"><b>生成的链接是有时间限制的,过期后将无法访问</b></font>。您可以在接口返回的信息中查看具体的过期时间。为避免错误,请确保在链接过期之前进行下载操作。
|
|
2438
|
+
"""
|
|
2439
|
+
|
|
2440
|
+
kwargs = {}
|
|
2441
|
+
kwargs["action"] = "DescribeFileUrls"
|
|
2442
|
+
kwargs["params"] = request._serialize()
|
|
2443
|
+
kwargs["resp_cls"] = models.DescribeFileUrlsResponse
|
|
2444
|
+
kwargs["headers"] = request.headers
|
|
2445
|
+
kwargs["opts"] = opts or {}
|
|
2446
|
+
|
|
2447
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2448
|
+
|
|
2449
|
+
async def DescribeFlowBriefs(
|
|
2450
|
+
self,
|
|
2451
|
+
request: models.DescribeFlowBriefsRequest,
|
|
2452
|
+
opts: Dict = None,
|
|
2453
|
+
) -> models.DescribeFlowBriefsResponse:
|
|
2454
|
+
"""
|
|
2455
|
+
查询流程基础信息,主要用于<font color="red">查询合同的状态</font>信息。可以配合回调通知使用。
|
|
2456
|
+
|
|
2457
|
+
注: `每个企业限制日调用量限制:100W,当日超过此限制后再调用接口返回错误`
|
|
2458
|
+
"""
|
|
2459
|
+
|
|
2460
|
+
kwargs = {}
|
|
2461
|
+
kwargs["action"] = "DescribeFlowBriefs"
|
|
2462
|
+
kwargs["params"] = request._serialize()
|
|
2463
|
+
kwargs["resp_cls"] = models.DescribeFlowBriefsResponse
|
|
2464
|
+
kwargs["headers"] = request.headers
|
|
2465
|
+
kwargs["opts"] = opts or {}
|
|
2466
|
+
|
|
2467
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2468
|
+
|
|
2469
|
+
async def DescribeFlowComponents(
|
|
2470
|
+
self,
|
|
2471
|
+
request: models.DescribeFlowComponentsRequest,
|
|
2472
|
+
opts: Dict = None,
|
|
2473
|
+
) -> models.DescribeFlowComponentsResponse:
|
|
2474
|
+
"""
|
|
2475
|
+
您可以通过合同流程ID查询相关的<font color="red"><b>填写控件</b></font>信息及其内容。这包括控件的归属方、控件的填写状态(是否已填写)以及具体的填写内容。
|
|
2476
|
+
|
|
2477
|
+
无论是发起方还是签署方填写的控件,均包含在查询结果中。
|
|
2478
|
+
|
|
2479
|
+

|
|
2480
|
+
|
|
2481
|
+
|
|
2482
|
+
### 2. 那些控件会出现在结果里边?
|
|
2483
|
+
**A.不返回的控件类型:**
|
|
2484
|
+
- 动态表格
|
|
2485
|
+
- 附件控件
|
|
2486
|
+
- 水印控件
|
|
2487
|
+
|
|
2488
|
+
**B.返回的控件类型:**
|
|
2489
|
+
- 单行文本
|
|
2490
|
+
- 多行文本
|
|
2491
|
+
- 勾选框控件
|
|
2492
|
+
- 数字控件
|
|
2493
|
+
- 日期控件
|
|
2494
|
+
- 图片控件(图片下载地址)
|
|
2495
|
+
- 邮箱控件
|
|
2496
|
+
- 地址控件
|
|
2497
|
+
- 学历控件
|
|
2498
|
+
- 性别控件
|
|
2499
|
+
- 省市区控件
|
|
2500
|
+
"""
|
|
2501
|
+
|
|
2502
|
+
kwargs = {}
|
|
2503
|
+
kwargs["action"] = "DescribeFlowComponents"
|
|
2504
|
+
kwargs["params"] = request._serialize()
|
|
2505
|
+
kwargs["resp_cls"] = models.DescribeFlowComponentsResponse
|
|
2506
|
+
kwargs["headers"] = request.headers
|
|
2507
|
+
kwargs["opts"] = opts or {}
|
|
2508
|
+
|
|
2509
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2510
|
+
|
|
2511
|
+
async def DescribeFlowEvidenceReport(
|
|
2512
|
+
self,
|
|
2513
|
+
request: models.DescribeFlowEvidenceReportRequest,
|
|
2514
|
+
opts: Dict = None,
|
|
2515
|
+
) -> models.DescribeFlowEvidenceReportResponse:
|
|
2516
|
+
"""
|
|
2517
|
+
获取出证报告任务执行结果,返回报告 URL。
|
|
2518
|
+
|
|
2519
|
+
|
|
2520
|
+
|
|
2521
|
+
注意:
|
|
2522
|
+
<ul><li>使用此功能`需搭配出证套餐` ,使用前请联系对接的客户经理沟通。</li>
|
|
2523
|
+
<li>需调用创建并返回出证报告接口<a href="https://qian.tencent.com/developers/companyApis/certificate/CreateFlowEvidenceReport" target="_blank">提交申请出证报告任务</a>获取报告编号后调用当前接口获取报告链接。</li></ul>
|
|
2524
|
+
|
|
2525
|
+
<svg id="SvgjsSvg1006" width="262" height="229" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs"><defs id="SvgjsDefs1007"><pattern patternUnits="userSpaceOnUse" id="pattern_mark_0" width="300" height="300"><text x="150" y="100" fill="rgba(229,229,229,0.8)" font-size="18" transform="rotate(-45, 150, 150)" style="dominant-baseline: middle; text-anchor: middle;"></text></pattern><pattern patternUnits="userSpaceOnUse" id="pattern_mark_1" width="300" height="300"><text x="150" y="200" fill="rgba(229,229,229,0.8)" font-size="18" transform="rotate(-45, 150, 150)" style="dominant-baseline: middle; text-anchor: middle;"></text></pattern><marker id="SvgjsMarker1021" markerWidth="12" markerHeight="8" refX="9" refY="4" viewBox="0 0 12 8" orient="auto" markerUnits="userSpaceOnUse" stroke-dasharray="0,0"><path id="SvgjsPath1022" d="M0,0 L12,4 L0,8 L0,0" fill="#323232" stroke="#323232" stroke-width="1"></path></marker></defs><rect id="svgbackgroundid" width="262" height="229" fill="transparent"></rect><rect id="SvgjsRect1009" width="262" height="229" fill="url(#pattern_mark_0)"></rect><rect id="SvgjsRect1010" width="262" height="229" fill="url(#pattern_mark_1)"></rect><g id="SvgjsG1011" transform="translate(31.75,25)"><path id="SvgjsPath1012" d="M 0 0L 198 0L 198 59L 0 59Z" stroke="rgba(86,146,48,1)" stroke-width="1" fill-opacity="1" fill="#e7ebed"></path><g id="SvgjsG1013"><text id="SvgjsText1014" font-family="微软雅黑" text-anchor="middle" font-size="13px" width="178px" fill="#323232" font-weight="400" align="middle" lineHeight="125%" anchor="middle" family="微软雅黑" size="13px" weight="400" font-style="" opacity="1" y="10.375" transform="rotate(0)"><tspan id="SvgjsTspan1015" dy="16" x="99"><tspan id="SvgjsTspan1016" style="text-decoration:;fill: rgb(28, 30, 33);">CreateFlowEvidenceReport</tspan></tspan><tspan id="SvgjsTspan1017" dy="16" x="99"><tspan id="SvgjsTspan1018" style="text-decoration:;fill: rgb(51, 51, 51);">提交申请出证报告任务</tspan></tspan></text></g></g><g id="SvgjsG1019"><path id="SvgjsPath1020" d="M130.75 84.5L130.75 114.5L130.75 114.5L130.75 143.2" stroke="#323232" stroke-width="1" fill="none" marker-end="url(#SvgjsMarker1021)"></path></g><g id="SvgjsG1023" transform="translate(25,145)"><path id="SvgjsPath1024" d="M 0 0L 211.5 0L 211.5 59L 0 59Z" stroke="rgba(86,146,48,1)" stroke-width="1" fill-opacity="1" fill="#e7ebed"></path><g id="SvgjsG1025"><text id="SvgjsText1026" font-family="微软雅黑" text-anchor="middle" font-size="13px" width="192px" fill="#323232" font-weight="400" align="middle" lineHeight="125%" anchor="middle" family="微软雅黑" size="13px" weight="400" font-style="" opacity="1" y="10.375" transform="rotate(0)"><tspan id="SvgjsTspan1027" dy="16" x="106"><tspan id="SvgjsTspan1028" style="text-decoration:;fill: rgb(28, 30, 33);">DescribeFlowEvidenceReport</tspan></tspan><tspan id="SvgjsTspan1029" dy="16" x="106"><tspan id="SvgjsTspan1030" style="text-decoration:;fill: rgb(51, 51, 51);">获取出证报告任务执行结果</tspan></tspan></text></g></g></svg>
|
|
2526
|
+
"""
|
|
2527
|
+
|
|
2528
|
+
kwargs = {}
|
|
2529
|
+
kwargs["action"] = "DescribeFlowEvidenceReport"
|
|
2530
|
+
kwargs["params"] = request._serialize()
|
|
2531
|
+
kwargs["resp_cls"] = models.DescribeFlowEvidenceReportResponse
|
|
2532
|
+
kwargs["headers"] = request.headers
|
|
2533
|
+
kwargs["opts"] = opts or {}
|
|
2534
|
+
|
|
2535
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2536
|
+
|
|
2537
|
+
async def DescribeFlowInfo(
|
|
2538
|
+
self,
|
|
2539
|
+
request: models.DescribeFlowInfoRequest,
|
|
2540
|
+
opts: Dict = None,
|
|
2541
|
+
) -> models.DescribeFlowInfoResponse:
|
|
2542
|
+
"""
|
|
2543
|
+
此接口用于查询合同流程的详情信息,支持查询多个(数量不能超过100)。
|
|
2544
|
+
|
|
2545
|
+
适用场景:可用于主动查询某个合同详情信息。
|
|
2546
|
+
"""
|
|
2547
|
+
|
|
2548
|
+
kwargs = {}
|
|
2549
|
+
kwargs["action"] = "DescribeFlowInfo"
|
|
2550
|
+
kwargs["params"] = request._serialize()
|
|
2551
|
+
kwargs["resp_cls"] = models.DescribeFlowInfoResponse
|
|
2552
|
+
kwargs["headers"] = request.headers
|
|
2553
|
+
kwargs["opts"] = opts or {}
|
|
2554
|
+
|
|
2555
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2556
|
+
|
|
2557
|
+
async def DescribeFlowTemplates(
|
|
2558
|
+
self,
|
|
2559
|
+
request: models.DescribeFlowTemplatesRequest,
|
|
2560
|
+
opts: Dict = None,
|
|
2561
|
+
) -> models.DescribeFlowTemplatesResponse:
|
|
2562
|
+
"""
|
|
2563
|
+
此接口(DescribeFlowTemplates)用于查询本企业模板列表信息。
|
|
2564
|
+
|
|
2565
|
+
|
|
2566
|
+
**适用场景**
|
|
2567
|
+
该接口常用来配合<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument" target="_blank">模板发起合同-创建电子文档</a>接口,作为创建电子文档的前置接口使用。
|
|
2568
|
+
通过此接口查询到模板信息后,再通过调用创建电子文档接口,指定模板ID,指定模板中需要的填写控件内容等,完成电子文档的创建。
|
|
2569
|
+
|
|
2570
|
+
**一个模板通常会包含以下结构信息**
|
|
2571
|
+
|
|
2572
|
+
- 模板模板ID, 模板名字等基本信息
|
|
2573
|
+
- 发起方参与信息Promoter、签署参与方 Recipients,后者会在模板发起合同时用于指定参与方
|
|
2574
|
+
- 发起方和签署方的填写控件 Components
|
|
2575
|
+
- 签署方的签署控件 SignComponents
|
|
2576
|
+
|
|
2577
|
+

|
|
2578
|
+
|
|
2579
|
+
模板中各元素的层级关系, 所有的填写控件和签署控件都归属某一个角色(通过控件的ComponentRecipientId来关联)
|
|
2580
|
+

|
|
2581
|
+
"""
|
|
2582
|
+
|
|
2583
|
+
kwargs = {}
|
|
2584
|
+
kwargs["action"] = "DescribeFlowTemplates"
|
|
2585
|
+
kwargs["params"] = request._serialize()
|
|
2586
|
+
kwargs["resp_cls"] = models.DescribeFlowTemplatesResponse
|
|
2587
|
+
kwargs["headers"] = request.headers
|
|
2588
|
+
kwargs["opts"] = opts or {}
|
|
2589
|
+
|
|
2590
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2591
|
+
|
|
2592
|
+
async def DescribeInformationExtractionTask(
|
|
2593
|
+
self,
|
|
2594
|
+
request: models.DescribeInformationExtractionTaskRequest,
|
|
2595
|
+
opts: Dict = None,
|
|
2596
|
+
) -> models.DescribeInformationExtractionTaskResponse:
|
|
2597
|
+
"""
|
|
2598
|
+
本接口(DescribeInformationExtractionTask)用于获取合同智能提取任务详情,包括任务的状态和提取的字段结果信息。
|
|
2599
|
+
"""
|
|
2600
|
+
|
|
2601
|
+
kwargs = {}
|
|
2602
|
+
kwargs["action"] = "DescribeInformationExtractionTask"
|
|
2603
|
+
kwargs["params"] = request._serialize()
|
|
2604
|
+
kwargs["resp_cls"] = models.DescribeInformationExtractionTaskResponse
|
|
2605
|
+
kwargs["headers"] = request.headers
|
|
2606
|
+
kwargs["opts"] = opts or {}
|
|
2607
|
+
|
|
2608
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2609
|
+
|
|
2610
|
+
async def DescribeInformationExtractionWebUrl(
|
|
2611
|
+
self,
|
|
2612
|
+
request: models.DescribeInformationExtractionWebUrlRequest,
|
|
2613
|
+
opts: Dict = None,
|
|
2614
|
+
) -> models.DescribeInformationExtractionWebUrlResponse:
|
|
2615
|
+
"""
|
|
2616
|
+
此接口(DescribeInformationExtractionWebUrl)用来获取合同信息提取web页面链接(此web页面可以通过iframe方式嵌入到贵方系统的网页中)。
|
|
2617
|
+
"""
|
|
2618
|
+
|
|
2619
|
+
kwargs = {}
|
|
2620
|
+
kwargs["action"] = "DescribeInformationExtractionWebUrl"
|
|
2621
|
+
kwargs["params"] = request._serialize()
|
|
2622
|
+
kwargs["resp_cls"] = models.DescribeInformationExtractionWebUrlResponse
|
|
2623
|
+
kwargs["headers"] = request.headers
|
|
2624
|
+
kwargs["opts"] = opts or {}
|
|
2625
|
+
|
|
2626
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2627
|
+
|
|
2628
|
+
async def DescribeIntegrationDepartments(
|
|
2629
|
+
self,
|
|
2630
|
+
request: models.DescribeIntegrationDepartmentsRequest,
|
|
2631
|
+
opts: Dict = None,
|
|
2632
|
+
) -> models.DescribeIntegrationDepartmentsResponse:
|
|
2633
|
+
"""
|
|
2634
|
+
此接口(DescribeIntegrationDepartments)用于查询企业的部门信息列表,支持查询单个部门节点或单个部门节点及一级子节点部门列表。
|
|
2635
|
+
"""
|
|
2636
|
+
|
|
2637
|
+
kwargs = {}
|
|
2638
|
+
kwargs["action"] = "DescribeIntegrationDepartments"
|
|
2639
|
+
kwargs["params"] = request._serialize()
|
|
2640
|
+
kwargs["resp_cls"] = models.DescribeIntegrationDepartmentsResponse
|
|
2641
|
+
kwargs["headers"] = request.headers
|
|
2642
|
+
kwargs["opts"] = opts or {}
|
|
2643
|
+
|
|
2644
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2645
|
+
|
|
2646
|
+
async def DescribeIntegrationEmployees(
|
|
2647
|
+
self,
|
|
2648
|
+
request: models.DescribeIntegrationEmployeesRequest,
|
|
2649
|
+
opts: Dict = None,
|
|
2650
|
+
) -> models.DescribeIntegrationEmployeesResponse:
|
|
2651
|
+
"""
|
|
2652
|
+
此接口(DescribeIntegrationEmployees)用于分页查询企业员工信息列表,支持设置过滤条件以筛选员工查询结果。
|
|
2653
|
+
"""
|
|
2654
|
+
|
|
2655
|
+
kwargs = {}
|
|
2656
|
+
kwargs["action"] = "DescribeIntegrationEmployees"
|
|
2657
|
+
kwargs["params"] = request._serialize()
|
|
2658
|
+
kwargs["resp_cls"] = models.DescribeIntegrationEmployeesResponse
|
|
2659
|
+
kwargs["headers"] = request.headers
|
|
2660
|
+
kwargs["opts"] = opts or {}
|
|
2661
|
+
|
|
2662
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2663
|
+
|
|
2664
|
+
async def DescribeIntegrationRoles(
|
|
2665
|
+
self,
|
|
2666
|
+
request: models.DescribeIntegrationRolesRequest,
|
|
2667
|
+
opts: Dict = None,
|
|
2668
|
+
) -> models.DescribeIntegrationRolesResponse:
|
|
2669
|
+
"""
|
|
2670
|
+
此接口(DescribeIntegrationRoles)用于分页查询企业角色列表,列表按照角色创建时间升序排列。
|
|
2671
|
+
|
|
2672
|
+
角色分为系统默认角色与企业自定义角色,其中系统默认角色不可以禁用、删除、编辑权限项,只可往默认角色中添加成员。企业自定义角色为企业根据自身需要新增的角色,可根据企业具体情况设置各个角色的权限,例如新增财务岗、销售岗等角色。
|
|
2673
|
+
|
|
2674
|
+
企业版的系统默认角色包含如下角色:
|
|
2675
|
+
|
|
2676
|
+
| 角色名称 | 角色描述 |
|
|
2677
|
+
|------------------------------|--------------------------------------------------------------------------|
|
|
2678
|
+
| 超级管理员(电子签业务最高权限,e.g.法务/业务负责人) | 所有功能和数据管理权限,只能设置一位超管。 |
|
|
2679
|
+
| IT信息管理员(IT系统负责人,e.g. CTO) | 组织员工、计费模块、应用模块等权限能力。 |
|
|
2680
|
+
| 企业合同管理员(企业法务负责人) | 企业全部合同管理、可申请出证等权限能力。 |
|
|
2681
|
+
| 企业模板管理员 | 企业全部模板管理权限能力。 |
|
|
2682
|
+
| 企业印章管理员(企业行政负责人) | 管理企业的所有电子印章,如添加印章、启用停用印章、印章授权等。 |
|
|
2683
|
+
| 用印审批岗(各部门的印章管理岗) | 可对被授权的印章进行日常使用管理,如合同盖章用印的审核及登记。 |
|
|
2684
|
+
| 部门管理员(部门的合同+印章+模板管理) | 部门级(含子部门)所有合同管理权限能力。 |
|
|
2685
|
+
| 业务员(销售员、采购员) | 发起合同、签署合同(含填写、拒签)、撤销合同、持有印章等权限能力。 |
|
|
2686
|
+
"""
|
|
2687
|
+
|
|
2688
|
+
kwargs = {}
|
|
2689
|
+
kwargs["action"] = "DescribeIntegrationRoles"
|
|
2690
|
+
kwargs["params"] = request._serialize()
|
|
2691
|
+
kwargs["resp_cls"] = models.DescribeIntegrationRolesResponse
|
|
2692
|
+
kwargs["headers"] = request.headers
|
|
2693
|
+
kwargs["opts"] = opts or {}
|
|
2694
|
+
|
|
2695
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2696
|
+
|
|
2697
|
+
async def DescribeOrganizationAuthStatus(
|
|
2698
|
+
self,
|
|
2699
|
+
request: models.DescribeOrganizationAuthStatusRequest,
|
|
2700
|
+
opts: Dict = None,
|
|
2701
|
+
) -> models.DescribeOrganizationAuthStatusResponse:
|
|
2702
|
+
"""
|
|
2703
|
+
查询企业认证状态- 仅通过[CreateOrganizationAuthUrl](https://qian.tencent.com/developers/companyApis/organizations/CreateOrganizationAuthUrl) 和[CreateBatchOrganizationRegistrationTasks](https://qian.tencent.com/developers/companyApis/organizations/CreateBatchOrganizationRegistrationTasks)这两个接口进行引导认证的企业,调用方企业可以依据这个接口,查询认证状态。
|
|
2704
|
+
"""
|
|
2705
|
+
|
|
2706
|
+
kwargs = {}
|
|
2707
|
+
kwargs["action"] = "DescribeOrganizationAuthStatus"
|
|
2708
|
+
kwargs["params"] = request._serialize()
|
|
2709
|
+
kwargs["resp_cls"] = models.DescribeOrganizationAuthStatusResponse
|
|
2710
|
+
kwargs["headers"] = request.headers
|
|
2711
|
+
kwargs["opts"] = opts or {}
|
|
2712
|
+
|
|
2713
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2714
|
+
|
|
2715
|
+
async def DescribeOrganizationGroupOrganizations(
|
|
2716
|
+
self,
|
|
2717
|
+
request: models.DescribeOrganizationGroupOrganizationsRequest,
|
|
2718
|
+
opts: Dict = None,
|
|
2719
|
+
) -> models.DescribeOrganizationGroupOrganizationsResponse:
|
|
2720
|
+
"""
|
|
2721
|
+
此API接口用来查询加入集团的成员企业信息
|
|
2722
|
+
适用场景:子企业在加入集团后,主企业可能通过此接口获取到所有的子企业列表,方便进行展示和统计
|
|
2723
|
+
"""
|
|
2724
|
+
|
|
2725
|
+
kwargs = {}
|
|
2726
|
+
kwargs["action"] = "DescribeOrganizationGroupOrganizations"
|
|
2727
|
+
kwargs["params"] = request._serialize()
|
|
2728
|
+
kwargs["resp_cls"] = models.DescribeOrganizationGroupOrganizationsResponse
|
|
2729
|
+
kwargs["headers"] = request.headers
|
|
2730
|
+
kwargs["opts"] = opts or {}
|
|
2731
|
+
|
|
2732
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2733
|
+
|
|
2734
|
+
async def DescribeOrganizationSeals(
|
|
2735
|
+
self,
|
|
2736
|
+
request: models.DescribeOrganizationSealsRequest,
|
|
2737
|
+
opts: Dict = None,
|
|
2738
|
+
) -> models.DescribeOrganizationSealsResponse:
|
|
2739
|
+
"""
|
|
2740
|
+
查询企业印章列表。
|
|
2741
|
+
|
|
2742
|
+
注:
|
|
2743
|
+
1. 此操作要求操作者具备<b>印章查询权限</b>(若调用者尚无此权限,请联系超级管理员前往Web控制台【组织管理】->【角色管理】添加相应权限)。
|
|
2744
|
+
"""
|
|
2745
|
+
|
|
2746
|
+
kwargs = {}
|
|
2747
|
+
kwargs["action"] = "DescribeOrganizationSeals"
|
|
2748
|
+
kwargs["params"] = request._serialize()
|
|
2749
|
+
kwargs["resp_cls"] = models.DescribeOrganizationSealsResponse
|
|
2750
|
+
kwargs["headers"] = request.headers
|
|
2751
|
+
kwargs["opts"] = opts or {}
|
|
2752
|
+
|
|
2753
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2754
|
+
|
|
2755
|
+
async def DescribeOrganizationVerifyStatus(
|
|
2756
|
+
self,
|
|
2757
|
+
request: models.DescribeOrganizationVerifyStatusRequest,
|
|
2758
|
+
opts: Dict = None,
|
|
2759
|
+
) -> models.DescribeOrganizationVerifyStatusResponse:
|
|
2760
|
+
"""
|
|
2761
|
+
仅且仅能查询企业本身在电子签的认证状态
|
|
2762
|
+
"""
|
|
2763
|
+
|
|
2764
|
+
kwargs = {}
|
|
2765
|
+
kwargs["action"] = "DescribeOrganizationVerifyStatus"
|
|
2766
|
+
kwargs["params"] = request._serialize()
|
|
2767
|
+
kwargs["resp_cls"] = models.DescribeOrganizationVerifyStatusResponse
|
|
2768
|
+
kwargs["headers"] = request.headers
|
|
2769
|
+
kwargs["opts"] = opts or {}
|
|
2770
|
+
|
|
2771
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2772
|
+
|
|
2773
|
+
async def DescribePersonCertificate(
|
|
2774
|
+
self,
|
|
2775
|
+
request: models.DescribePersonCertificateRequest,
|
|
2776
|
+
opts: Dict = None,
|
|
2777
|
+
) -> models.DescribePersonCertificateResponse:
|
|
2778
|
+
"""
|
|
2779
|
+
此接口(DescribePersonCertificate)用于查询个人数字证书信息。<br />注:`1.目前仅用于查询开通了医疗自动签署功能的个人数字证书。`<br />`2.调用此接口需要开通白名单,使用前请联系相关人员开通白名单。`
|
|
2780
|
+
"""
|
|
2781
|
+
|
|
2782
|
+
kwargs = {}
|
|
2783
|
+
kwargs["action"] = "DescribePersonCertificate"
|
|
2784
|
+
kwargs["params"] = request._serialize()
|
|
2785
|
+
kwargs["resp_cls"] = models.DescribePersonCertificateResponse
|
|
2786
|
+
kwargs["headers"] = request.headers
|
|
2787
|
+
kwargs["opts"] = opts or {}
|
|
2788
|
+
|
|
2789
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2790
|
+
|
|
2791
|
+
async def DescribeSignFaceVideo(
|
|
2792
|
+
self,
|
|
2793
|
+
request: models.DescribeSignFaceVideoRequest,
|
|
2794
|
+
opts: Dict = None,
|
|
2795
|
+
) -> models.DescribeSignFaceVideoResponse:
|
|
2796
|
+
"""
|
|
2797
|
+
该接口用于在使用视频认证方式签署合同后,获取用户的签署人脸认证视频。
|
|
2798
|
+
|
|
2799
|
+
1. 该接口**仅适用于在H5端签署**的合同,**在通过视频认证后**获取人脸视频。
|
|
2800
|
+
2. 该接口**不支持小程序端**的签署人脸视频获取。
|
|
2801
|
+
3. 请在**签署完成后的三天内**获取人脸视频,**过期后将无法获取**。
|
|
2802
|
+
|
|
2803
|
+
**注意:该接口需要开通白名单,请联系客户经理开通后使用。**
|
|
2804
|
+
"""
|
|
2805
|
+
|
|
2806
|
+
kwargs = {}
|
|
2807
|
+
kwargs["action"] = "DescribeSignFaceVideo"
|
|
2808
|
+
kwargs["params"] = request._serialize()
|
|
2809
|
+
kwargs["resp_cls"] = models.DescribeSignFaceVideoResponse
|
|
2810
|
+
kwargs["headers"] = request.headers
|
|
2811
|
+
kwargs["opts"] = opts or {}
|
|
2812
|
+
|
|
2813
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2814
|
+
|
|
2815
|
+
async def DescribeSingleSignOnEmployees(
|
|
2816
|
+
self,
|
|
2817
|
+
request: models.DescribeSingleSignOnEmployeesRequest,
|
|
2818
|
+
opts: Dict = None,
|
|
2819
|
+
) -> models.DescribeSingleSignOnEmployeesResponse:
|
|
2820
|
+
"""
|
|
2821
|
+
此接口(DescribeSingleSignOnEmployees)用于查询单点登录企业员工。
|
|
2822
|
+
"""
|
|
2823
|
+
|
|
2824
|
+
kwargs = {}
|
|
2825
|
+
kwargs["action"] = "DescribeSingleSignOnEmployees"
|
|
2826
|
+
kwargs["params"] = request._serialize()
|
|
2827
|
+
kwargs["resp_cls"] = models.DescribeSingleSignOnEmployeesResponse
|
|
2828
|
+
kwargs["headers"] = request.headers
|
|
2829
|
+
kwargs["opts"] = opts or {}
|
|
2830
|
+
|
|
2831
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2832
|
+
|
|
2833
|
+
async def DescribeThirdPartyAuthCode(
|
|
2834
|
+
self,
|
|
2835
|
+
request: models.DescribeThirdPartyAuthCodeRequest,
|
|
2836
|
+
opts: Dict = None,
|
|
2837
|
+
) -> models.DescribeThirdPartyAuthCodeResponse:
|
|
2838
|
+
"""
|
|
2839
|
+
通过AuthCode查询个人用户是否实名
|
|
2840
|
+
|
|
2841
|
+
|
|
2842
|
+
注意:
|
|
2843
|
+
<ul>
|
|
2844
|
+
<li>此接口为合作引流场景使用,使用<b>有白名单限制</b>,使用前请联系对接的客户经理沟通。</li>
|
|
2845
|
+
<li><b>AuthCode 只能使用一次</b>,查询一次再次查询会返回错误</li>
|
|
2846
|
+
</ul>
|
|
2847
|
+
"""
|
|
2848
|
+
|
|
2849
|
+
kwargs = {}
|
|
2850
|
+
kwargs["action"] = "DescribeThirdPartyAuthCode"
|
|
2851
|
+
kwargs["params"] = request._serialize()
|
|
2852
|
+
kwargs["resp_cls"] = models.DescribeThirdPartyAuthCodeResponse
|
|
2853
|
+
kwargs["headers"] = request.headers
|
|
2854
|
+
kwargs["opts"] = opts or {}
|
|
2855
|
+
|
|
2856
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2857
|
+
|
|
2858
|
+
async def DescribeUserAutoSignStatus(
|
|
2859
|
+
self,
|
|
2860
|
+
request: models.DescribeUserAutoSignStatusRequest,
|
|
2861
|
+
opts: Dict = None,
|
|
2862
|
+
) -> models.DescribeUserAutoSignStatusResponse:
|
|
2863
|
+
"""
|
|
2864
|
+
通过此接口获取个人用户自动签的开通状态。
|
|
2865
|
+
|
|
2866
|
+
注意: `处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。`
|
|
2867
|
+
"""
|
|
2868
|
+
|
|
2869
|
+
kwargs = {}
|
|
2870
|
+
kwargs["action"] = "DescribeUserAutoSignStatus"
|
|
2871
|
+
kwargs["params"] = request._serialize()
|
|
2872
|
+
kwargs["resp_cls"] = models.DescribeUserAutoSignStatusResponse
|
|
2873
|
+
kwargs["headers"] = request.headers
|
|
2874
|
+
kwargs["opts"] = opts or {}
|
|
2875
|
+
|
|
2876
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2877
|
+
|
|
2878
|
+
async def DescribeUserFlowType(
|
|
2879
|
+
self,
|
|
2880
|
+
request: models.DescribeUserFlowTypeRequest,
|
|
2881
|
+
opts: Dict = None,
|
|
2882
|
+
) -> models.DescribeUserFlowTypeResponse:
|
|
2883
|
+
"""
|
|
2884
|
+
查询用户模板类型,分为两种模式:
|
|
2885
|
+
<ul>
|
|
2886
|
+
<li>QueryBindTemplate:false,查询用户合同模板类型,返回用户合同模板类型ID,用户合同模板类型名称,用户合同模板类型描述信息</li>
|
|
2887
|
+
<li>QueryBindTemplate:false,查询用户合同模板类型,返回用户合同模板类型ID,用户合同模板类型名称,用户合同模板类型描述信息,被绑定的模板数量</li>
|
|
2888
|
+
</ul>
|
|
2889
|
+
"""
|
|
2890
|
+
|
|
2891
|
+
kwargs = {}
|
|
2892
|
+
kwargs["action"] = "DescribeUserFlowType"
|
|
2893
|
+
kwargs["params"] = request._serialize()
|
|
2894
|
+
kwargs["resp_cls"] = models.DescribeUserFlowTypeResponse
|
|
2895
|
+
kwargs["headers"] = request.headers
|
|
2896
|
+
kwargs["opts"] = opts or {}
|
|
2897
|
+
|
|
2898
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2899
|
+
|
|
2900
|
+
async def DescribeUserVerifyStatus(
|
|
2901
|
+
self,
|
|
2902
|
+
request: models.DescribeUserVerifyStatusRequest,
|
|
2903
|
+
opts: Dict = None,
|
|
2904
|
+
) -> models.DescribeUserVerifyStatusResponse:
|
|
2905
|
+
"""
|
|
2906
|
+
检测个人用户是否已经实名。
|
|
2907
|
+
|
|
2908
|
+
在调用生成C端用户实名链接([CreateUserVerifyUrl](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl))接口之前,客户企业应首先调用本接口判断C端用户是否已经完成实名认证。如果用户已经实名,那么无需再次调用([CreateUserVerifyUrl](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl))生成链接并走实名认证流程。
|
|
2909
|
+
|
|
2910
|
+
注意:
|
|
2911
|
+
|
|
2912
|
+
- 此接口<font color="red">仅用于确认通过本公司生成[C端用户实名链接(CreateUserVerifyUrl)](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl)接口注册认证的用户,不包括其他途径(如主动注册认证、在签署合同中注册认证等)在电子签平台上进行的实名认证</font>。
|
|
2913
|
+
|
|
2914
|
+
- 调用此接口需要购买单独的实名套餐包。<font color="red">使用前请联系对接的客户经理沟通</font>。
|
|
2915
|
+
"""
|
|
2916
|
+
|
|
2917
|
+
kwargs = {}
|
|
2918
|
+
kwargs["action"] = "DescribeUserVerifyStatus"
|
|
2919
|
+
kwargs["params"] = request._serialize()
|
|
2920
|
+
kwargs["resp_cls"] = models.DescribeUserVerifyStatusResponse
|
|
2921
|
+
kwargs["headers"] = request.headers
|
|
2922
|
+
kwargs["opts"] = opts or {}
|
|
2923
|
+
|
|
2924
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2925
|
+
|
|
2926
|
+
async def DisableUserAutoSign(
|
|
2927
|
+
self,
|
|
2928
|
+
request: models.DisableUserAutoSignRequest,
|
|
2929
|
+
opts: Dict = None,
|
|
2930
|
+
) -> models.DisableUserAutoSignResponse:
|
|
2931
|
+
"""
|
|
2932
|
+
通过此接口可以关闭个人用户自动签功能。
|
|
2933
|
+
无需对应的用户刷脸等方式同意即可关闭。
|
|
2934
|
+
|
|
2935
|
+
注意:
|
|
2936
|
+
|
|
2937
|
+
<ul><li>处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。</li>
|
|
2938
|
+
<li>如果此用户在开通时候绑定过个人自动签账号许可, 关闭此用户的自动签不会归还个人自动签账号许可的额度。</li></ul>
|
|
2939
|
+
"""
|
|
2940
|
+
|
|
2941
|
+
kwargs = {}
|
|
2942
|
+
kwargs["action"] = "DisableUserAutoSign"
|
|
2943
|
+
kwargs["params"] = request._serialize()
|
|
2944
|
+
kwargs["resp_cls"] = models.DisableUserAutoSignResponse
|
|
2945
|
+
kwargs["headers"] = request.headers
|
|
2946
|
+
kwargs["opts"] = opts or {}
|
|
2947
|
+
|
|
2948
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2949
|
+
|
|
2950
|
+
async def ExportContractComparisonTask(
|
|
2951
|
+
self,
|
|
2952
|
+
request: models.ExportContractComparisonTaskRequest,
|
|
2953
|
+
opts: Dict = None,
|
|
2954
|
+
) -> models.ExportContractComparisonTaskResponse:
|
|
2955
|
+
"""
|
|
2956
|
+
本接口(ExportContractComparisonTask)用于导出指定的合同对比任务的结果文件。任务完成后,用户可根据不同的使用场景,选择导出可视化对比报告(PDF)或结构化差异明细(EXCEL)。
|
|
2957
|
+
"""
|
|
2958
|
+
|
|
2959
|
+
kwargs = {}
|
|
2960
|
+
kwargs["action"] = "ExportContractComparisonTask"
|
|
2961
|
+
kwargs["params"] = request._serialize()
|
|
2962
|
+
kwargs["resp_cls"] = models.ExportContractComparisonTaskResponse
|
|
2963
|
+
kwargs["headers"] = request.headers
|
|
2964
|
+
kwargs["opts"] = opts or {}
|
|
2965
|
+
|
|
2966
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2967
|
+
|
|
2968
|
+
async def GetTaskResultApi(
|
|
2969
|
+
self,
|
|
2970
|
+
request: models.GetTaskResultApiRequest,
|
|
2971
|
+
opts: Dict = None,
|
|
2972
|
+
) -> models.GetTaskResultApiResponse:
|
|
2973
|
+
"""
|
|
2974
|
+
此接口(GetTaskResultApi)用来查询转换任务的状态。如需发起转换任务,请使用<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务接口</a>进行资源文件的转换操作<br />
|
|
2975
|
+
前提条件:已调用 <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务接口</a>进行文件转换,并得到了返回的转换任务Id。<br />
|
|
2976
|
+
|
|
2977
|
+
适用场景:已创建一个文件转换任务,想查询该文件转换任务的状态,或获取转换后的文件资源Id。<br />
|
|
2978
|
+
注:
|
|
2979
|
+
1. `大文件转换所需的时间可能会比较长`
|
|
2980
|
+
2. `本接口返回的文件资源ID就是PDF资源ID,可以直接用于【用PDF文件创建签署流程】接口发起合同。`
|
|
2981
|
+
"""
|
|
2982
|
+
|
|
2983
|
+
kwargs = {}
|
|
2984
|
+
kwargs["action"] = "GetTaskResultApi"
|
|
2985
|
+
kwargs["params"] = request._serialize()
|
|
2986
|
+
kwargs["resp_cls"] = models.GetTaskResultApiResponse
|
|
2987
|
+
kwargs["headers"] = request.headers
|
|
2988
|
+
kwargs["opts"] = opts or {}
|
|
2989
|
+
|
|
2990
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2991
|
+
|
|
2992
|
+
async def ModifyApplicationCallbackInfo(
|
|
2993
|
+
self,
|
|
2994
|
+
request: models.ModifyApplicationCallbackInfoRequest,
|
|
2995
|
+
opts: Dict = None,
|
|
2996
|
+
) -> models.ModifyApplicationCallbackInfoResponse:
|
|
2997
|
+
"""
|
|
2998
|
+
新增/删除企业应用集成中的回调配置。
|
|
2999
|
+
新增回调配置只会增加不存在的CallbackUrl;删除操作将针对找到的相同CallbackUrl的配置进行删除。
|
|
3000
|
+
请确保回调地址能够接收并处理 HTTP POST 请求,并返回状态码 200 以表示处理正常。
|
|
3001
|
+
更多回调相关的说明参考文档[回调通知能力](https://qian.tencent.com/developers/company/callback_types_v2)
|
|
3002
|
+
"""
|
|
3003
|
+
|
|
3004
|
+
kwargs = {}
|
|
3005
|
+
kwargs["action"] = "ModifyApplicationCallbackInfo"
|
|
3006
|
+
kwargs["params"] = request._serialize()
|
|
3007
|
+
kwargs["resp_cls"] = models.ModifyApplicationCallbackInfoResponse
|
|
3008
|
+
kwargs["headers"] = request.headers
|
|
3009
|
+
kwargs["opts"] = opts or {}
|
|
3010
|
+
|
|
3011
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3012
|
+
|
|
3013
|
+
async def ModifyExtendedService(
|
|
3014
|
+
self,
|
|
3015
|
+
request: models.ModifyExtendedServiceRequest,
|
|
3016
|
+
opts: Dict = None,
|
|
3017
|
+
) -> models.ModifyExtendedServiceResponse:
|
|
3018
|
+
"""
|
|
3019
|
+
管理企业扩展服务
|
|
3020
|
+
|
|
3021
|
+
- **直接开通的情形:** 若在操作过程中接口没有返回跳转链接,这表明无需进行任何跳转操作。此时,相应的企业高级签署能力将会直接被开通或关闭。
|
|
3022
|
+
|
|
3023
|
+
- **需要法人或者超管签署开通协议的情形:** 当需要开通以下企业高级签署能力时, 系统将返回一个操作链接。贵方需要主动联系并通知企业的超级管理员(超管)或法人。由他们点击该链接,完成服务的开通操作。
|
|
3024
|
+
- **OPEN_SERVER_SIGN(企业自动签)**
|
|
3025
|
+
|
|
3026
|
+
注意: `在调用此接口以管理企业扩展服务时,操作者(入参中的Operator)必须是企业的超级管理员(超管)或法人`
|
|
3027
|
+
|
|
3028
|
+
|
|
3029
|
+
对应的扩展服务能力可以在控制台的【高级签署能力】中找到
|
|
3030
|
+
|
|
3031
|
+

|
|
3032
|
+

|
|
3033
|
+
"""
|
|
3034
|
+
|
|
3035
|
+
kwargs = {}
|
|
3036
|
+
kwargs["action"] = "ModifyExtendedService"
|
|
3037
|
+
kwargs["params"] = request._serialize()
|
|
3038
|
+
kwargs["resp_cls"] = models.ModifyExtendedServiceResponse
|
|
3039
|
+
kwargs["headers"] = request.headers
|
|
3040
|
+
kwargs["opts"] = opts or {}
|
|
3041
|
+
|
|
3042
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3043
|
+
|
|
3044
|
+
async def ModifyFlowDeadline(
|
|
3045
|
+
self,
|
|
3046
|
+
request: models.ModifyFlowDeadlineRequest,
|
|
3047
|
+
opts: Dict = None,
|
|
3048
|
+
) -> models.ModifyFlowDeadlineResponse:
|
|
3049
|
+
"""
|
|
3050
|
+
在已启动的签署流程中,可对签署截止日期进行延期操作,主要分为以下两个层面:
|
|
3051
|
+
1. <b> 合同(流程)层面</b>:仅需提供签署流程ID。此操作将对整个签署流程以及未单独设置签署截止时间的签署人进行延期。
|
|
3052
|
+
2. <b> 签署人层面</b> :需提供流程ID和签署人ID。此操作针对特定签署人进行延期,特别是对于有序合同(流程),签署截止时间不得超过后续签署人的流程截止时间。
|
|
3053
|
+
|
|
3054
|
+
此接口存在以下限制:
|
|
3055
|
+
1. 执行操作的员工须为<font color="red">发起方企业的超级管理员、法定代表人或签署流程发起人</font>。
|
|
3056
|
+
2. 延长整个签署流程时,<font color="red">应至少有一方尚未签署</font>(即签署流程不能处于已全部签署完成、已拒签、已过期、已撤回、拒绝填写、已解除等状态)。
|
|
3057
|
+
3. 延长整个签署流程时,新的签署截止日期应晚于已设定的签署截止日期和当前日期。
|
|
3058
|
+
4. 延长签署方截止时间时,<font color="red">签署方不能处于流程完结或已终止状态</font>(即签署人不能处于已签署、已拒签、已过期、已撤回、拒绝填写、已解除等状态)。
|
|
3059
|
+
5. 延长签署方截止时间时,新的签署截止日期应晚于当前日期和已设定的截止日期。若为有序合同,还需早于或等于下一签署人的截止日期,且早于签署流程整体的截止日期。
|
|
3060
|
+
6. <font color="red">不支持操作合同组合同</font>。
|
|
3061
|
+
|
|
3062
|
+
合同(流程)层面 截止时间控制台展示的位置:
|
|
3063
|
+

|
|
3064
|
+
"""
|
|
3065
|
+
|
|
3066
|
+
kwargs = {}
|
|
3067
|
+
kwargs["action"] = "ModifyFlowDeadline"
|
|
3068
|
+
kwargs["params"] = request._serialize()
|
|
3069
|
+
kwargs["resp_cls"] = models.ModifyFlowDeadlineResponse
|
|
3070
|
+
kwargs["headers"] = request.headers
|
|
3071
|
+
kwargs["opts"] = opts or {}
|
|
3072
|
+
|
|
3073
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3074
|
+
|
|
3075
|
+
async def ModifyIntegrationDepartment(
|
|
3076
|
+
self,
|
|
3077
|
+
request: models.ModifyIntegrationDepartmentRequest,
|
|
3078
|
+
opts: Dict = None,
|
|
3079
|
+
) -> models.ModifyIntegrationDepartmentResponse:
|
|
3080
|
+
"""
|
|
3081
|
+
此接口(ModifyIntegrationDepartment)用于更新企业的部门信息,支持更新部门名称、客户系统部门ID和部门序号等信息。
|
|
3082
|
+
"""
|
|
3083
|
+
|
|
3084
|
+
kwargs = {}
|
|
3085
|
+
kwargs["action"] = "ModifyIntegrationDepartment"
|
|
3086
|
+
kwargs["params"] = request._serialize()
|
|
3087
|
+
kwargs["resp_cls"] = models.ModifyIntegrationDepartmentResponse
|
|
3088
|
+
kwargs["headers"] = request.headers
|
|
3089
|
+
kwargs["opts"] = opts or {}
|
|
3090
|
+
|
|
3091
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3092
|
+
|
|
3093
|
+
async def ModifyIntegrationRole(
|
|
3094
|
+
self,
|
|
3095
|
+
request: models.ModifyIntegrationRoleRequest,
|
|
3096
|
+
opts: Dict = None,
|
|
3097
|
+
) -> models.ModifyIntegrationRoleResponse:
|
|
3098
|
+
"""
|
|
3099
|
+
此接口(ModifyIntegrationRole)用来更新企业自定义的SaaS角色或集团角色。
|
|
3100
|
+
|
|
3101
|
+
适用场景1:更新当前企业的自定义SaaS角色或集团角色,并且更新时不进行角色中权限的更新(PermissionGroups 参数不传)。
|
|
3102
|
+
|
|
3103
|
+
适用场景2:更新当前企业的自定义SaaS角色或集团角色,并且更新时进行角色中权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 DescribeIntegrationRoles 的输出。此处注意权限树内容可能会更新,需尽量拉取最新的权限树内容,并且权限树内容 PermissionGroups 必须是一颗完整的权限树。
|
|
3104
|
+
|
|
3105
|
+
适用场景3:更新集团角色管理的子企业列表,可通过设置 SubOrganizationIds 参数达到此效果。
|
|
3106
|
+
|
|
3107
|
+
适用场景4:主企业代理子企业操作的场景,需要设置Agent参数,并且ProxyOrganizationId设置为子企业的id即可。
|
|
3108
|
+
|
|
3109
|
+
注意事项:SaaS角色和集团角色对应的权限树是不一样的。
|
|
3110
|
+
"""
|
|
3111
|
+
|
|
3112
|
+
kwargs = {}
|
|
3113
|
+
kwargs["action"] = "ModifyIntegrationRole"
|
|
3114
|
+
kwargs["params"] = request._serialize()
|
|
3115
|
+
kwargs["resp_cls"] = models.ModifyIntegrationRoleResponse
|
|
3116
|
+
kwargs["headers"] = request.headers
|
|
3117
|
+
kwargs["opts"] = opts or {}
|
|
3118
|
+
|
|
3119
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3120
|
+
|
|
3121
|
+
async def ModifyPartnerAutoSignAuthUrl(
|
|
3122
|
+
self,
|
|
3123
|
+
request: models.ModifyPartnerAutoSignAuthUrlRequest,
|
|
3124
|
+
opts: Dict = None,
|
|
3125
|
+
) -> models.ModifyPartnerAutoSignAuthUrlResponse:
|
|
3126
|
+
"""
|
|
3127
|
+
创建一个用于更新他方自动签授权的链接(可选择他方授权或我方授权)。通过这个链接,合作方企业可以直接进入小程序,进行自动签授权的更新(更新印章)操作。
|
|
3128
|
+
|
|
3129
|
+
如果授权企业尚未开通企业自动签功能,该链接还将引导他们首先开通本企业的自动签服务
|
|
3130
|
+
|
|
3131
|
+
注:
|
|
3132
|
+
1. <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Operator.UserId 需要传递超管或者法人的UserId)
|
|
3133
|
+
2. 只能更新授权的印章,被授权的企业无法更新
|
|
3134
|
+
3. 授权企业和被授权企业必须都是已认证企业
|
|
3135
|
+
4. <font color='red'>需要授权企业或被授权企业的超管或者法人打开链接</font>走开通逻辑。
|
|
3136
|
+
"""
|
|
3137
|
+
|
|
3138
|
+
kwargs = {}
|
|
3139
|
+
kwargs["action"] = "ModifyPartnerAutoSignAuthUrl"
|
|
3140
|
+
kwargs["params"] = request._serialize()
|
|
3141
|
+
kwargs["resp_cls"] = models.ModifyPartnerAutoSignAuthUrlResponse
|
|
3142
|
+
kwargs["headers"] = request.headers
|
|
3143
|
+
kwargs["opts"] = opts or {}
|
|
3144
|
+
|
|
3145
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3146
|
+
|
|
3147
|
+
async def ModifySingleSignOnEmployees(
|
|
3148
|
+
self,
|
|
3149
|
+
request: models.ModifySingleSignOnEmployeesRequest,
|
|
3150
|
+
opts: Dict = None,
|
|
3151
|
+
) -> models.ModifySingleSignOnEmployeesResponse:
|
|
3152
|
+
"""
|
|
3153
|
+
此接口(ModifySingleSignOnEmployees)用于修改单点登录企业员工。
|
|
3154
|
+
注意: 此接口只能修改未跟腾讯电子签绑定的单点登录企业员工, 如果企业员工的单点登录信息已经和腾讯电子签里面的企业员工绑定,需要在腾讯电子签小程序进行个人信息变更操作。
|
|
3155
|
+
"""
|
|
3156
|
+
|
|
3157
|
+
kwargs = {}
|
|
3158
|
+
kwargs["action"] = "ModifySingleSignOnEmployees"
|
|
3159
|
+
kwargs["params"] = request._serialize()
|
|
3160
|
+
kwargs["resp_cls"] = models.ModifySingleSignOnEmployeesResponse
|
|
3161
|
+
kwargs["headers"] = request.headers
|
|
3162
|
+
kwargs["opts"] = opts or {}
|
|
3163
|
+
|
|
3164
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3165
|
+
|
|
3166
|
+
async def OperateSeals(
|
|
3167
|
+
self,
|
|
3168
|
+
request: models.OperateSealsRequest,
|
|
3169
|
+
opts: Dict = None,
|
|
3170
|
+
) -> models.OperateSealsResponse:
|
|
3171
|
+
"""
|
|
3172
|
+
修改印章状态(停用、启用)
|
|
3173
|
+
"""
|
|
3174
|
+
|
|
3175
|
+
kwargs = {}
|
|
3176
|
+
kwargs["action"] = "OperateSeals"
|
|
3177
|
+
kwargs["params"] = request._serialize()
|
|
3178
|
+
kwargs["resp_cls"] = models.OperateSealsResponse
|
|
3179
|
+
kwargs["headers"] = request.headers
|
|
3180
|
+
kwargs["opts"] = opts or {}
|
|
3181
|
+
|
|
3182
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3183
|
+
|
|
3184
|
+
async def OperateTemplate(
|
|
3185
|
+
self,
|
|
3186
|
+
request: models.OperateTemplateRequest,
|
|
3187
|
+
opts: Dict = None,
|
|
3188
|
+
) -> models.OperateTemplateResponse:
|
|
3189
|
+
"""
|
|
3190
|
+
此接口(OperateTemplate)用于对企业自有模板进行管理操作,所有操作都会有对应的回调触发,具体参考回调文档 <a href="https://qian.tencent.com/developers/company/callback_types_templates" target="_blank">模板操作相关回调</a>
|
|
3191
|
+
|
|
3192
|
+
|
|
3193
|
+
# 支持的操作
|
|
3194
|
+
## 1. 删除模板 (OperateType=DELETE)
|
|
3195
|
+
此操作会将模板从企业自有模板中彻底删除,若要保留模板而不删除,可将模板停用。
|
|
3196
|
+
|
|
3197
|
+
## 2. 启用模板 (OperateType=ENABLE)
|
|
3198
|
+
此操作是将已停用的模板启用,操作幂等,若模板已启用,接口不报错。
|
|
3199
|
+
|
|
3200
|
+
## 3. 停用模板 (OperateType=DISABLE)
|
|
3201
|
+
此操作是将已启用的模板停用,操作幂等,若模板已停用,接口不报错,停用后,无法通过此模板发起合同,已发起的合同不受影响。
|
|
3202
|
+
|
|
3203
|
+
## 4. 复制模板 (OperateType=COPY)
|
|
3204
|
+
此操作将复制一个完全一样的模板,仅支持修改模板名称,若要修改其他模板内容,需到腾讯电子签控制台操作。
|
|
3205
|
+
"""
|
|
3206
|
+
|
|
3207
|
+
kwargs = {}
|
|
3208
|
+
kwargs["action"] = "OperateTemplate"
|
|
3209
|
+
kwargs["params"] = request._serialize()
|
|
3210
|
+
kwargs["resp_cls"] = models.OperateTemplateResponse
|
|
3211
|
+
kwargs["headers"] = request.headers
|
|
3212
|
+
kwargs["opts"] = opts or {}
|
|
3213
|
+
|
|
3214
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3215
|
+
|
|
3216
|
+
async def RenewAutoSignLicense(
|
|
3217
|
+
self,
|
|
3218
|
+
request: models.RenewAutoSignLicenseRequest,
|
|
3219
|
+
opts: Dict = None,
|
|
3220
|
+
) -> models.RenewAutoSignLicenseResponse:
|
|
3221
|
+
"""
|
|
3222
|
+
已经不再使用
|
|
3223
|
+
|
|
3224
|
+
给医疗个人自动签许可续期。续期成功后,可对医疗自动签许可追加一年有效期,只可续期一次。
|
|
3225
|
+
|
|
3226
|
+
注意: `处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。`
|
|
3227
|
+
"""
|
|
3228
|
+
|
|
3229
|
+
kwargs = {}
|
|
3230
|
+
kwargs["action"] = "RenewAutoSignLicense"
|
|
3231
|
+
kwargs["params"] = request._serialize()
|
|
3232
|
+
kwargs["resp_cls"] = models.RenewAutoSignLicenseResponse
|
|
3233
|
+
kwargs["headers"] = request.headers
|
|
3234
|
+
kwargs["opts"] = opts or {}
|
|
3235
|
+
|
|
3236
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3237
|
+
|
|
3238
|
+
async def StartFlow(
|
|
3239
|
+
self,
|
|
3240
|
+
request: models.StartFlowRequest,
|
|
3241
|
+
opts: Dict = None,
|
|
3242
|
+
) -> models.StartFlowResponse:
|
|
3243
|
+
"""
|
|
3244
|
+
此接口用于启动流程。它是模板发起合同的最后一步。
|
|
3245
|
+
在[创建签署流程](https://qian.tencent.com/developers/companyApis/startFlows/CreateFlow)和[创建电子文档](https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument)之后,用于开始整个合同流程, 推进流程进入到签署环节。
|
|
3246
|
+
|
|
3247
|
+

|
|
3248
|
+
|
|
3249
|
+
注:
|
|
3250
|
+
1.<font color="red">合同发起后就会扣减合同的额度</font>, 只有撤销没有参与方签署过或只有自动签署签署过的合同,才会返还合同额度。(过期,拒签,签署完成,解除完成等状态不会返还额度)
|
|
3251
|
+
|
|
3252
|
+
2.<font color="red">静默(自动)签署不支持非本企业合同签署方存在填写</font>功能
|
|
3253
|
+
|
|
3254
|
+
3.<font color="red">在发起签署流程之前,建议等待 [PDF合成完成的回调](https://qian.tencent.com/developers/company/callback_types_contracts_sign#%E4%B9%9D-%E5%90%88%E5%90%8C%E6%96%87%E6%A1%A3%E5%90%88%E6%88%90%E5%AE%8C%E6%88%90%E5%9B%9E%E8%B0%83)</font>,尤其是当模板中存在动态表格等复杂填写控件时,因为合成过程可能会耗费秒级别的时间。
|
|
3255
|
+
"""
|
|
3256
|
+
|
|
3257
|
+
kwargs = {}
|
|
3258
|
+
kwargs["action"] = "StartFlow"
|
|
3259
|
+
kwargs["params"] = request._serialize()
|
|
3260
|
+
kwargs["resp_cls"] = models.StartFlowResponse
|
|
3261
|
+
kwargs["headers"] = request.headers
|
|
3262
|
+
kwargs["opts"] = opts or {}
|
|
3263
|
+
|
|
3264
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3265
|
+
|
|
3266
|
+
async def UnbindEmployeeUserIdWithClientOpenId(
|
|
3267
|
+
self,
|
|
3268
|
+
request: models.UnbindEmployeeUserIdWithClientOpenIdRequest,
|
|
3269
|
+
opts: Dict = None,
|
|
3270
|
+
) -> models.UnbindEmployeeUserIdWithClientOpenIdResponse:
|
|
3271
|
+
"""
|
|
3272
|
+
此接口(UnbindEmployeeUserIdWithClientOpenId)用于解除电子签系统员工UserId与客户系统员工OpenId之间的绑定关系。
|
|
3273
|
+
|
|
3274
|
+
注:`在调用此接口时,需确保OpenId已通过调用`<a href="https://qian.tencent.com/developers/companyApis/staffs/BindEmployeeUserIdWithClientOpenId" target="_blank">BindEmployeeUserIdWithClientOpenId</a>`接口与电子签系统的UserId绑定过。若OpenId未经过绑定,则无法使用此接口进行解绑操作。`
|
|
3275
|
+
"""
|
|
3276
|
+
|
|
3277
|
+
kwargs = {}
|
|
3278
|
+
kwargs["action"] = "UnbindEmployeeUserIdWithClientOpenId"
|
|
3279
|
+
kwargs["params"] = request._serialize()
|
|
3280
|
+
kwargs["resp_cls"] = models.UnbindEmployeeUserIdWithClientOpenIdResponse
|
|
3281
|
+
kwargs["headers"] = request.headers
|
|
3282
|
+
kwargs["opts"] = opts or {}
|
|
3283
|
+
|
|
3284
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3285
|
+
|
|
3286
|
+
async def UpdateIntegrationEmployees(
|
|
3287
|
+
self,
|
|
3288
|
+
request: models.UpdateIntegrationEmployeesRequest,
|
|
3289
|
+
opts: Dict = None,
|
|
3290
|
+
) -> models.UpdateIntegrationEmployeesResponse:
|
|
3291
|
+
"""
|
|
3292
|
+
此接口(UpdateIntegrationEmployees)<font color="red"><b>用于修改未实名企业员工信息(姓名,手机号,邮件、部门)</b></font>。
|
|
3293
|
+
如果企业员工已经实名, 姓名,手机号,邮件等需要企业员工到小程序或者控制台自己修改, 部门则需要超管到控制台分配
|
|
3294
|
+
|
|
3295
|
+
修改手机号的时候,支持以下场景进行提醒通知
|
|
3296
|
+
<table>
|
|
3297
|
+
<tbody>
|
|
3298
|
+
<tr>
|
|
3299
|
+
<td>生成端</td>
|
|
3300
|
+
<td >入参</td>
|
|
3301
|
+
<td>提醒方式</td>
|
|
3302
|
+
</tr>
|
|
3303
|
+
<tr>
|
|
3304
|
+
<td>普通saas员工</td>
|
|
3305
|
+
<td>将Employees中的DisplayName设置员工的名字,Mobile设置成员工的手机号</td>
|
|
3306
|
+
<td>发送短信通知员工(短信中带有认证加入企业的链接)</td>
|
|
3307
|
+
</tr>
|
|
3308
|
+
<tr>
|
|
3309
|
+
<td>企微员工</td>
|
|
3310
|
+
<td>将Employees 中的WeworkOpenId字段设置为企微员工明文的openid,需<font color="red">确保该企微员工在应用的可见范围内</font></td>
|
|
3311
|
+
<td>企微内部实名消息</td>
|
|
3312
|
+
</tr>
|
|
3313
|
+
<tr>
|
|
3314
|
+
<td>H5端 saas员工</td>
|
|
3315
|
+
<td>传递 InvitationNotifyType = H5,将Employees中的DisplayName设置员工的名字,Mobile设置成员工的手机号,<font color="red">此场景不支持企微</font></td>
|
|
3316
|
+
<td>生成认证加入企业的H5链接,贵方可以通过自己的渠道触达到此员工</td>
|
|
3317
|
+
</tr>
|
|
3318
|
+
</tbody>
|
|
3319
|
+
</table>
|
|
3320
|
+
注意:
|
|
3321
|
+
|
|
3322
|
+
- <b>若通过手机号发现员工已经创建,则不会重复创建,但会发送短信或者生成链接提醒员工实名。</b>
|
|
3323
|
+
- jumpUrl 仅支持H5的邀请方式,回跳的url,使用前请联系对接的客户经理沟通,进行域名的配置。
|
|
3324
|
+
"""
|
|
3325
|
+
|
|
3326
|
+
kwargs = {}
|
|
3327
|
+
kwargs["action"] = "UpdateIntegrationEmployees"
|
|
3328
|
+
kwargs["params"] = request._serialize()
|
|
3329
|
+
kwargs["resp_cls"] = models.UpdateIntegrationEmployeesResponse
|
|
3330
|
+
kwargs["headers"] = request.headers
|
|
3331
|
+
kwargs["opts"] = opts or {}
|
|
3332
|
+
|
|
3333
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3334
|
+
|
|
3335
|
+
async def UploadFiles(
|
|
3336
|
+
self,
|
|
3337
|
+
request: models.UploadFilesRequest,
|
|
3338
|
+
opts: Dict = None,
|
|
3339
|
+
) -> models.UploadFilesResponse:
|
|
3340
|
+
"""
|
|
3341
|
+
此接口(UploadFiles)文件上传。<br/>
|
|
3342
|
+
|
|
3343
|
+
适用场景:用于合同,印章的文件上传。文件上传以后,
|
|
3344
|
+
如果是PDF格式文件可配合<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateFlowByFiles" target="_blank">用PDF文件创建签署流程</a>接口进行合同流程的发起
|
|
3345
|
+
如果是其他类型可以配合<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务</a>接口转换成PDF文件
|
|
3346
|
+
|
|
3347
|
+
注:
|
|
3348
|
+
1. 图片类型(png/jpg/jpeg)限制大小为5M以下, PDF/word/excel等其他格式限制大小为60M以下
|
|
3349
|
+
2. 调用此接口时需要设置单独的Domain请求域名,<font color="red">联调开发环境为: file.test.ess.tencent.cn,正式环境需要设置为:file.ess.tencent.cn</font>,代码示例
|
|
3350
|
+
```
|
|
3351
|
+
HttpProfile httpProfile = new HttpProfile();
|
|
3352
|
+
httpProfile.setEndpoint("file.test.ess.tencent.cn");
|
|
3353
|
+
```
|
|
3354
|
+
|
|
3355
|
+
<font color="red">相关视频指引</font> <br>
|
|
3356
|
+
1. <a href="https://dyn.ess.tencent.cn/guide/apivideo/ess_uploadfiles.mp4" target="_blank">上传用于合同发起的PDF文件代码编写示例</a><br>
|
|
3357
|
+
"""
|
|
3358
|
+
|
|
3359
|
+
kwargs = {}
|
|
3360
|
+
kwargs["action"] = "UploadFiles"
|
|
3361
|
+
kwargs["params"] = request._serialize()
|
|
3362
|
+
kwargs["resp_cls"] = models.UploadFilesResponse
|
|
3363
|
+
kwargs["headers"] = request.headers
|
|
3364
|
+
kwargs["opts"] = opts or {}
|
|
3365
|
+
|
|
3366
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3367
|
+
|
|
3368
|
+
async def VerifyDigitFile(
|
|
3369
|
+
self,
|
|
3370
|
+
request: models.VerifyDigitFileRequest,
|
|
3371
|
+
opts: Dict = None,
|
|
3372
|
+
) -> models.VerifyDigitFileResponse:
|
|
3373
|
+
"""
|
|
3374
|
+
对加签后的文件进行数字签名验证,判断数字签名是否有效。
|
|
3375
|
+
"""
|
|
3376
|
+
|
|
3377
|
+
kwargs = {}
|
|
3378
|
+
kwargs["action"] = "VerifyDigitFile"
|
|
3379
|
+
kwargs["params"] = request._serialize()
|
|
3380
|
+
kwargs["resp_cls"] = models.VerifyDigitFileResponse
|
|
3381
|
+
kwargs["headers"] = request.headers
|
|
3382
|
+
kwargs["opts"] = opts or {}
|
|
3383
|
+
|
|
3384
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3385
|
+
|
|
3386
|
+
async def VerifyPdf(
|
|
3387
|
+
self,
|
|
3388
|
+
request: models.VerifyPdfRequest,
|
|
3389
|
+
opts: Dict = None,
|
|
3390
|
+
) -> models.VerifyPdfResponse:
|
|
3391
|
+
"""
|
|
3392
|
+
对合同流程文件进行数字签名验证,判断数字签名是否有效,合同文件内容是否被篡改。
|
|
3393
|
+
|
|
3394
|
+
|
|
3395
|
+
**补充**: 可以到控制台[合同验签](https://qian.tencent.com/verifySign)体验验签功能,界面如下
|
|
3396
|
+

|
|
3397
|
+
"""
|
|
3398
|
+
|
|
3399
|
+
kwargs = {}
|
|
3400
|
+
kwargs["action"] = "VerifyPdf"
|
|
3401
|
+
kwargs["params"] = request._serialize()
|
|
3402
|
+
kwargs["resp_cls"] = models.VerifyPdfResponse
|
|
3403
|
+
kwargs["headers"] = request.headers
|
|
3404
|
+
kwargs["opts"] = opts or {}
|
|
3405
|
+
|
|
3406
|
+
return await self.call_and_deserialize(**kwargs)
|