tccli 3.0.1148.1__py2.py3-none-any.whl → 3.0.1150.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/cam/v20190116/api.json +4 -4
  3. tccli/services/cam/v20190116/examples.json +1 -1
  4. tccli/services/cbs/v20170312/api.json +2 -2
  5. tccli/services/cwp/v20180228/api.json +63 -16
  6. tccli/services/cwp/v20180228/examples.json +1 -1
  7. tccli/services/cynosdb/v20190107/api.json +2 -2
  8. tccli/services/dc/v20180410/api.json +14 -7
  9. tccli/services/dts/v20211206/api.json +2 -2
  10. tccli/services/ess/ess_client.py +53 -0
  11. tccli/services/ess/v20201111/api.json +67 -5
  12. tccli/services/ess/v20201111/examples.json +14 -0
  13. tccli/services/essbasic/essbasic_client.py +57 -4
  14. tccli/services/essbasic/v20210526/api.json +56 -3
  15. tccli/services/essbasic/v20210526/examples.json +8 -0
  16. tccli/services/gaap/gaap_client.py +53 -0
  17. tccli/services/gaap/v20180529/api.json +34 -0
  18. tccli/services/gaap/v20180529/examples.json +8 -0
  19. tccli/services/iotexplorer/v20190423/api.json +85 -1
  20. tccli/services/live/v20180801/api.json +6 -0
  21. tccli/services/live/v20180801/examples.json +1 -1
  22. tccli/services/lke/v20231130/api.json +10 -1
  23. tccli/services/mariadb/mariadb_client.py +53 -0
  24. tccli/services/mariadb/v20170312/api.json +88 -0
  25. tccli/services/mariadb/v20170312/examples.json +8 -0
  26. tccli/services/mongodb/v20190725/api.json +53 -44
  27. tccli/services/monitor/v20180724/api.json +1 -1
  28. tccli/services/mps/v20190612/api.json +8 -6
  29. tccli/services/mps/v20190612/examples.json +1 -1
  30. tccli/services/oceanus/v20190422/api.json +33 -0
  31. tccli/services/organization/v20210331/api.json +1 -1
  32. tccli/services/rum/v20210622/api.json +9 -0
  33. tccli/services/ses/v20201002/api.json +1 -1
  34. tccli/services/tdmq/v20200217/api.json +4 -2
  35. tccli/services/thpc/v20230321/api.json +11 -3
  36. tccli/services/trtc/v20190722/api.json +15 -5
  37. {tccli-3.0.1148.1.dist-info → tccli-3.0.1150.1.dist-info}/METADATA +2 -2
  38. {tccli-3.0.1148.1.dist-info → tccli-3.0.1150.1.dist-info}/RECORD +41 -41
  39. {tccli-3.0.1148.1.dist-info → tccli-3.0.1150.1.dist-info}/WHEEL +0 -0
  40. {tccli-3.0.1148.1.dist-info → tccli-3.0.1150.1.dist-info}/entry_points.txt +0 -0
  41. {tccli-3.0.1148.1.dist-info → tccli-3.0.1150.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1148.1'
1
+ __version__ = '3.0.1150.1'
@@ -2454,7 +2454,7 @@
2454
2454
  {
2455
2455
  "disabled": false,
2456
2456
  "document": "SAML身份提供商名称",
2457
- "example": "",
2457
+ "example": "testName",
2458
2458
  "member": "string",
2459
2459
  "name": "Name",
2460
2460
  "required": true,
@@ -7016,7 +7016,7 @@
7016
7016
  {
7017
7017
  "disabled": false,
7018
7018
  "document": "SAML身份提供商名称",
7019
- "example": "",
7019
+ "example": "testName",
7020
7020
  "member": "string",
7021
7021
  "name": "Name",
7022
7022
  "required": true,
@@ -7025,7 +7025,7 @@
7025
7025
  {
7026
7026
  "disabled": false,
7027
7027
  "document": "SAML身份提供商描述",
7028
- "example": "",
7028
+ "example": "test",
7029
7029
  "member": "string",
7030
7030
  "name": "Description",
7031
7031
  "required": false,
@@ -7034,7 +7034,7 @@
7034
7034
  {
7035
7035
  "disabled": false,
7036
7036
  "document": "SAML身份提供商Base64编码的元数据文档",
7037
- "example": "",
7037
+ "example": "PD94bWwgdmVyc2lvbj0iMS4wIi***",
7038
7038
  "member": "string",
7039
7039
  "name": "SAMLMetadataDocument",
7040
7040
  "required": false,
@@ -687,7 +687,7 @@
687
687
  "UpdateSAMLProvider": [
688
688
  {
689
689
  "document": "",
690
- "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateSAMLProvider\n<公共请求参数>\n\n{\n \"SAMLMetadataDocument\": \"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48bWQ6RW50aXR5RGVzY3JpcHRvciBlbnRpdHlJRD0iaHR0cDovL3d3dy5va3RhLmNvbS9leGsxa3F4bWNqUW1HQURNeTM1NyIgeG1sbnM6bWQ9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDptZXRhZGF0YSI%2BPG1kOklEUFNTT0Rlc2NyaXB0b3IgV2FudEF1dGhuUmVxdWVzdHNTaWduZWQ9ImZhbHNlIiBwcm90b2NvbFN1cHBvcnRFbnVtZXJhdGlvbj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnB%3D%3D\",\n \"Name\": \"testName\",\n \"Description\": \"testProvider\"\n}",
690
+ "input": "https://cam.tencentcloudapi.com/?Action=UpdateSAMLProvider\r\n&Name=testName\r\n&Description=testProvider\r\n&SAMLMetadataDocument=PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48bWQ6RW50aXR5RGVzY3JpcHRvciBlbnRpdHlJRD0iaHR0cDovL3d3dy5va3RhLmNvbS9leGsxa3F4bWNqUW1HQURNeTM1NyIgeG1sbnM6bWQ9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDptZXRhZGF0YSI%2BPG1kOklEUFNTT0Rlc2NyaXB0b3IgV2FudEF1dGhuUmVxdWVzdHNTaWduZWQ9ImZhbHNlIiBwcm90b2NvbFN1cHBvcnRFbnVtZXJhdGlvbj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnB%3D%3D&Signature=bmqyzCmdLxEFbsI6pu40V%2BEbWNo%3D\r\n&<公共请求参数>",
691
691
  "output": "{\n \"Response\": {\n \"RequestId\": \"1e44e8e5-7878-4aa0-8bd2-555dde56cddb\"\n }\n}",
692
692
  "title": "更新身份提供商"
693
693
  }
@@ -155,11 +155,11 @@
155
155
  "status": "online"
156
156
  },
157
157
  "GetSnapOverview": {
158
- "document": "获取快照概览信息",
158
+ "document": "为进一步规范化API命名,该接口决定预下线,新接口命名为:DescribeSnapshotOverview\n\n获取快照概览信息",
159
159
  "input": "GetSnapOverviewRequest",
160
160
  "name": "获取快照概览信息",
161
161
  "output": "GetSnapOverviewResponse",
162
- "status": "online"
162
+ "status": "deprecated"
163
163
  },
164
164
  "InitializeDisks": {
165
165
  "document": "重新初始化云硬盘至云硬盘初始创建时的状态。使用云硬盘的重新初始化功能时需要注意以下4点:\n1. 如果云硬盘是由快照创建的,则重新初始化会通过此快照重新回滚此云硬盘,即将云硬盘恢复为与快照一致的状态;\n2. 如果云硬盘不是通过快照创建的,则重新初始化会清空此云硬盘的数据;请在重新初始化云硬盘前检查并备份必要的数据;\n3. 当前仅未挂载的、非共享属性的数据盘云硬盘支持重新初始化;\n4. 当创建此云硬盘的原始快照被删除时,不再支持重新初始化此云硬盘。",
@@ -28853,7 +28853,7 @@
28853
28853
  "example": "1",
28854
28854
  "member": "uint64",
28855
28855
  "name": "CheckPattern",
28856
- "required": true,
28856
+ "output_required": true,
28857
28857
  "type": "int",
28858
28858
  "value_allowed_null": false
28859
28859
  },
@@ -28863,7 +28863,7 @@
28863
28863
  "example": "xxx",
28864
28864
  "member": "string",
28865
28865
  "name": "StartTime",
28866
- "required": true,
28866
+ "output_required": true,
28867
28867
  "type": "string",
28868
28868
  "value_allowed_null": false
28869
28869
  },
@@ -28873,7 +28873,7 @@
28873
28873
  "example": "xxx",
28874
28874
  "member": "string",
28875
28875
  "name": "EndTime",
28876
- "required": true,
28876
+ "output_required": true,
28877
28877
  "type": "string",
28878
28878
  "value_allowed_null": false
28879
28879
  },
@@ -28883,7 +28883,7 @@
28883
28883
  "example": "1",
28884
28884
  "member": "uint64",
28885
28885
  "name": "IsGlobal",
28886
- "required": true,
28886
+ "output_required": true,
28887
28887
  "type": "int",
28888
28888
  "value_allowed_null": false
28889
28889
  },
@@ -28893,7 +28893,7 @@
28893
28893
  "example": "[]",
28894
28894
  "member": "string",
28895
28895
  "name": "QuuidList",
28896
- "required": true,
28896
+ "output_required": true,
28897
28897
  "type": "list",
28898
28898
  "value_allowed_null": true
28899
28899
  },
@@ -28903,7 +28903,7 @@
28903
28903
  "example": "1",
28904
28904
  "member": "uint64",
28905
28905
  "name": "MonitoringPattern",
28906
- "required": true,
28906
+ "output_required": true,
28907
28907
  "type": "int",
28908
28908
  "value_allowed_null": false
28909
28909
  },
@@ -28913,7 +28913,7 @@
28913
28913
  "example": "1",
28914
28914
  "member": "uint64",
28915
28915
  "name": "Cycle",
28916
- "required": true,
28916
+ "output_required": true,
28917
28917
  "type": "int",
28918
28918
  "value_allowed_null": false
28919
28919
  },
@@ -28923,7 +28923,7 @@
28923
28923
  "example": "1",
28924
28924
  "member": "int64",
28925
28925
  "name": "EnableScan",
28926
- "required": true,
28926
+ "output_required": true,
28927
28927
  "type": "int",
28928
28928
  "value_allowed_null": false
28929
28929
  },
@@ -28933,7 +28933,7 @@
28933
28933
  "example": "xxx",
28934
28934
  "member": "int64",
28935
28935
  "name": "Id",
28936
- "required": true,
28936
+ "output_required": true,
28937
28937
  "type": "int",
28938
28938
  "value_allowed_null": false
28939
28939
  },
@@ -28943,7 +28943,7 @@
28943
28943
  "example": "1",
28944
28944
  "member": "int64",
28945
28945
  "name": "RealTimeMonitoring",
28946
- "required": true,
28946
+ "output_required": true,
28947
28947
  "type": "int",
28948
28948
  "value_allowed_null": false
28949
28949
  },
@@ -28953,7 +28953,7 @@
28953
28953
  "example": "1",
28954
28954
  "member": "uint64",
28955
28955
  "name": "AutoIsolation",
28956
- "required": true,
28956
+ "output_required": true,
28957
28957
  "type": "int",
28958
28958
  "value_allowed_null": false
28959
28959
  },
@@ -28963,7 +28963,7 @@
28963
28963
  "example": "60",
28964
28964
  "member": "uint64",
28965
28965
  "name": "ClickTimeout",
28966
- "required": true,
28966
+ "output_required": true,
28967
28967
  "type": "int",
28968
28968
  "value_allowed_null": false
28969
28969
  },
@@ -28973,7 +28973,7 @@
28973
28973
  "example": "1",
28974
28974
  "member": "uint64",
28975
28975
  "name": "KillProcess",
28976
- "required": true,
28976
+ "output_required": true,
28977
28977
  "type": "int",
28978
28978
  "value_allowed_null": false
28979
28979
  },
@@ -28983,7 +28983,7 @@
28983
28983
  "example": "1",
28984
28984
  "member": "uint64",
28985
28985
  "name": "EngineType",
28986
- "required": true,
28986
+ "output_required": true,
28987
28987
  "type": "int",
28988
28988
  "value_allowed_null": false
28989
28989
  },
@@ -28993,7 +28993,7 @@
28993
28993
  "example": "1",
28994
28994
  "member": "uint64",
28995
28995
  "name": "EnableInspiredEngine",
28996
- "required": true,
28996
+ "output_required": true,
28997
28997
  "type": "int",
28998
28998
  "value_allowed_null": false
28999
28999
  },
@@ -29003,7 +29003,27 @@
29003
29003
  "example": "1",
29004
29004
  "member": "uint64",
29005
29005
  "name": "EnableMemShellScan",
29006
- "required": true,
29006
+ "output_required": true,
29007
+ "type": "int",
29008
+ "value_allowed_null": false
29009
+ },
29010
+ {
29011
+ "disabled": false,
29012
+ "document": "防护模式 0 标准 1 重保",
29013
+ "example": "0",
29014
+ "member": "uint64",
29015
+ "name": "ProtectMode",
29016
+ "output_required": false,
29017
+ "type": "int",
29018
+ "value_allowed_null": false
29019
+ },
29020
+ {
29021
+ "disabled": false,
29022
+ "document": "查杀范围 0 脚本类之外的恶意文件,1全部恶意文件",
29023
+ "example": "0",
29024
+ "member": "uint64",
29025
+ "name": "ProtectFileScope",
29026
+ "output_required": false,
29007
29027
  "type": "int",
29008
29028
  "value_allowed_null": false
29009
29029
  },
@@ -47974,6 +47994,15 @@
47974
47994
  "required": false,
47975
47995
  "type": "int"
47976
47996
  },
47997
+ {
47998
+ "disabled": false,
47999
+ "document": "1 清理, 0 不清理\n<li>本操作会修复被篡改的系统命令,计划任务等系统文件,操作中请确保yum/apt 可用</li>",
48000
+ "example": "无",
48001
+ "member": "uint64",
48002
+ "name": "DoClean",
48003
+ "required": false,
48004
+ "type": "int"
48005
+ },
47977
48006
  {
47978
48007
  "disabled": false,
47979
48008
  "document": "1标准模式(只报严重、高危)、2增强模式(报严重、高危、中危)、3严格模式(报严重、高、中、低、提示)",
@@ -48000,6 +48029,24 @@
48000
48029
  "name": "EnableMemShellScan",
48001
48030
  "required": false,
48002
48031
  "type": "int"
48032
+ },
48033
+ {
48034
+ "disabled": false,
48035
+ "document": "防护模式 0 标准 1重保",
48036
+ "example": "0",
48037
+ "member": "uint64",
48038
+ "name": "ProtectMode",
48039
+ "required": false,
48040
+ "type": "int"
48041
+ },
48042
+ {
48043
+ "disabled": false,
48044
+ "document": "查杀范围 0 脚本类之外的恶意文件,1全部恶意文件",
48045
+ "example": "0",
48046
+ "member": "uint64",
48047
+ "name": "ProtectFileScope",
48048
+ "required": false,
48049
+ "type": "int"
48003
48050
  }
48004
48051
  ],
48005
48052
  "type": "object"
@@ -1992,7 +1992,7 @@
1992
1992
  {
1993
1993
  "document": "",
1994
1994
  "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMalwareTimingScanSetting\n<公共请求参数>\n\n{}",
1995
- "output": "{\n \"Response\": {\n \"RequestId\": \"1e96ed81-a2f2-4029-893b-b63ed1328694\",\n \"CheckPattern\": 1,\n \"StartTime\": \"2020-05-20 00:00:00\",\n \"EndTime\": \"2020-05-20 00:00:00\",\n \"IsGlobal\": 1,\n \"QuuidList\": [\n \"972290ce-2e07-4689-8f92-f617239bbf82\"\n ],\n \"RealTimeMonitoring\": 1,\n \"MonitoringPattern\": 0,\n \"Cycle\": 1,\n \"EnableScan\": 1,\n \"Id\": 0,\n \"AutoIsolation\": 1,\n \"KillProcess\": 1,\n \"ClickTimeout\": 0,\n \"EngineType\": 1,\n \"EnableInspiredEngine\": 1,\n \"EnableMemShellScan\": 1\n }\n}",
1995
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1e96ed81-a2f2-4029-893b-b63ed1328694\",\n \"CheckPattern\": 1,\n \"StartTime\": \"2020-05-20 00:00:00\",\n \"EndTime\": \"2020-05-20 00:00:00\",\n \"IsGlobal\": 1,\n \"QuuidList\": [\n \"972290ce-2e07-4689-8f92-f617239bbf82\"\n ],\n \"RealTimeMonitoring\": 1,\n \"MonitoringPattern\": 0,\n \"Cycle\": 1,\n \"EnableScan\": 1,\n \"Id\": 0,\n \"AutoIsolation\": 1,\n \"KillProcess\": 1,\n \"ClickTimeout\": 0,\n \"EngineType\": 1,\n \"EnableInspiredEngine\": 1,\n \"EnableMemShellScan\": 1,\n \"ProtectMode\": 0,\n \"ProtectFileScope\": 0\n }\n}",
1996
1996
  "title": "查询定时扫描配置"
1997
1997
  }
1998
1998
  ],
@@ -3030,7 +3030,7 @@
3030
3030
  "example": "123",
3031
3031
  "member": "int64",
3032
3032
  "name": "FlowId",
3033
- "required": true,
3033
+ "output_required": true,
3034
3034
  "type": "int",
3035
3035
  "value_allowed_null": false
3036
3036
  },
@@ -13935,7 +13935,7 @@
13935
13935
  "example": "123",
13936
13936
  "member": "int64",
13937
13937
  "name": "FlowId",
13938
- "required": true,
13938
+ "output_required": true,
13939
13939
  "type": "int",
13940
13940
  "value_allowed_null": false
13941
13941
  },
@@ -1166,45 +1166,50 @@
1166
1166
  {
1167
1167
  "disabled": false,
1168
1168
  "document": "IPv6互联网公网允许的最小前缀长度\n注意:此字段可能返回 null,表示取不到有效值。",
1169
- "example": "",
1169
+ "example": "64",
1170
1170
  "member": "int64",
1171
1171
  "name": "Ipv6PrefixLen",
1172
+ "output_required": true,
1172
1173
  "type": "int",
1173
1174
  "value_allowed_null": true
1174
1175
  },
1175
1176
  {
1176
1177
  "disabled": false,
1177
1178
  "document": "BGP类型IPv4互联网地址配额\n注意:此字段可能返回 null,表示取不到有效值。",
1178
- "example": "",
1179
+ "example": "64",
1179
1180
  "member": "int64",
1180
1181
  "name": "Ipv4BgpQuota",
1182
+ "output_required": true,
1181
1183
  "type": "int",
1182
1184
  "value_allowed_null": true
1183
1185
  },
1184
1186
  {
1185
1187
  "disabled": false,
1186
1188
  "document": "非BGP类型IPv4互联网地址配额\n注意:此字段可能返回 null,表示取不到有效值。",
1187
- "example": "",
1189
+ "example": "0",
1188
1190
  "member": "int64",
1189
1191
  "name": "Ipv4OtherQuota",
1192
+ "output_required": true,
1190
1193
  "type": "int",
1191
1194
  "value_allowed_null": true
1192
1195
  },
1193
1196
  {
1194
1197
  "disabled": false,
1195
1198
  "document": "BGP类型IPv4互联网地址已使用数量\n注意:此字段可能返回 null,表示取不到有效值。",
1196
- "example": "",
1199
+ "example": "8",
1197
1200
  "member": "int64",
1198
1201
  "name": "Ipv4BgpNum",
1202
+ "output_required": true,
1199
1203
  "type": "int",
1200
1204
  "value_allowed_null": true
1201
1205
  },
1202
1206
  {
1203
1207
  "disabled": false,
1204
1208
  "document": "非BGP类型互联网地址已使用数量\n注意:此字段可能返回 null,表示取不到有效值。",
1205
- "example": "",
1209
+ "example": "0",
1206
1210
  "member": "int64",
1207
1211
  "name": "Ipv4OtherNum",
1212
+ "output_required": true,
1208
1213
  "type": "int",
1209
1214
  "value_allowed_null": true
1210
1215
  },
@@ -1291,18 +1296,20 @@
1291
1296
  {
1292
1297
  "disabled": false,
1293
1298
  "document": "互联网公网地址统计信息数量",
1294
- "example": "",
1299
+ "example": "0",
1295
1300
  "member": "int64",
1296
1301
  "name": "TotalCount",
1302
+ "output_required": true,
1297
1303
  "type": "int",
1298
1304
  "value_allowed_null": false
1299
1305
  },
1300
1306
  {
1301
1307
  "disabled": false,
1302
1308
  "document": "互联网公网地址统计信息列表\n注意:此字段可能返回 null,表示取不到有效值。",
1303
- "example": "",
1309
+ "example": "{\"Region\": \"bj\", \"SubnetNum\": 0}",
1304
1310
  "member": "InternetAddressStatistics",
1305
1311
  "name": "InternetAddressStatistics",
1312
+ "output_required": true,
1306
1313
  "type": "list",
1307
1314
  "value_allowed_null": true
1308
1315
  },
@@ -1047,7 +1047,7 @@
1047
1047
  "members": [
1048
1048
  {
1049
1049
  "disabled": false,
1050
- "document": "对比方式:dataCheck(完整数据对比)、sampleDataCheck(抽样数据对比)、rowsCount(行数对比)\n注意:此字段可能返回 null,表示取不到有效值。",
1050
+ "document": "对比方式:dataCheck(完整数据对比)、sampleDataCheck(抽样数据对比)、rowsCount(行数对比), 默认为dataCheck\n注意:此字段可能返回 null,表示取不到有效值。",
1051
1051
  "example": "dataCheck",
1052
1052
  "member": "string",
1053
1053
  "name": "Method",
@@ -1058,7 +1058,7 @@
1058
1058
  },
1059
1059
  {
1060
1060
  "disabled": false,
1061
- "document": "抽样比例;范围0,100\n注意:此字段可能返回 null,表示取不到有效值。",
1061
+ "document": "抽样比例;范围0,100。默认为100\n注意:此字段可能返回 null,表示取不到有效值。",
1062
1062
  "example": "100",
1063
1063
  "member": "int64",
1064
1064
  "name": "SampleRate",
@@ -2877,6 +2877,58 @@ def doCreateBatchOrganizationRegistrationTasks(args, parsed_globals):
2877
2877
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2878
2878
 
2879
2879
 
2880
+ def doCreateEmployeeQualificationSealQrCode(args, parsed_globals):
2881
+ g_param = parse_global_arg(parsed_globals)
2882
+
2883
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2884
+ cred = credential.CVMRoleCredential()
2885
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2886
+ cred = credential.STSAssumeRoleCredential(
2887
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2888
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2889
+ )
2890
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
2891
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2892
+ else:
2893
+ cred = credential.Credential(
2894
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2895
+ )
2896
+ http_profile = HttpProfile(
2897
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2898
+ reqMethod="POST",
2899
+ endpoint=g_param[OptionsDefine.Endpoint],
2900
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2901
+ )
2902
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2903
+ if g_param[OptionsDefine.Language]:
2904
+ profile.language = g_param[OptionsDefine.Language]
2905
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2906
+ client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2907
+ client._sdkVersion += ("_CLI_" + __version__)
2908
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2909
+ model = models.CreateEmployeeQualificationSealQrCodeRequest()
2910
+ model.from_json_string(json.dumps(args))
2911
+ start_time = time.time()
2912
+ while True:
2913
+ rsp = client.CreateEmployeeQualificationSealQrCode(model)
2914
+ result = rsp.to_json_string()
2915
+ try:
2916
+ json_obj = json.loads(result)
2917
+ except TypeError as e:
2918
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2919
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2920
+ break
2921
+ cur_time = time.time()
2922
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2923
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2924
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2925
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2926
+ else:
2927
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2928
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2929
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2930
+
2931
+
2880
2932
  def doCreateExtendedServiceAuthInfos(args, parsed_globals):
2881
2933
  g_param = parse_global_arg(parsed_globals)
2882
2934
 
@@ -4555,6 +4607,7 @@ ACTION_MAP = {
4555
4607
  "DescribeUserVerifyStatus": doDescribeUserVerifyStatus,
4556
4608
  "ModifyIntegrationRole": doModifyIntegrationRole,
4557
4609
  "CreateBatchOrganizationRegistrationTasks": doCreateBatchOrganizationRegistrationTasks,
4610
+ "CreateEmployeeQualificationSealQrCode": doCreateEmployeeQualificationSealQrCode,
4558
4611
  "CreateExtendedServiceAuthInfos": doCreateExtendedServiceAuthInfos,
4559
4612
  "CreateOrganizationInfoChangeUrl": doCreateOrganizationInfoChangeUrl,
4560
4613
  "CreateConvertTaskApi": doCreateConvertTaskApi,
@@ -77,6 +77,13 @@
77
77
  "output": "CreateEmbedWebUrlResponse",
78
78
  "status": "online"
79
79
  },
80
+ "CreateEmployeeQualificationSealQrCode": {
81
+ "document": "该接口用于获取个人授权执业章给企业的二维码,需要个人用户通过微信扫码。扫描后将跳转到腾讯电子签小程序,进入到授权执业章的流程。个人用户授权成功后,企业印章管理员需对印章进行审核,审核通过后,即可使用个人授权的执业章进行盖章操作。\n\n**注意**\n1. 该二维码**有效期为7天**,过期后将失效,可重新创建。",
82
+ "input": "CreateEmployeeQualificationSealQrCodeRequest",
83
+ "name": "创建个人印章授权给企业使用的授权二维码",
84
+ "output": "CreateEmployeeQualificationSealQrCodeResponse",
85
+ "status": "online"
86
+ },
80
87
  "CreateExtendedServiceAuthInfos": {
81
88
  "document": "创建企业扩展服务授权,当前仅支持授权 “企业自动签” 和 “批量签署” 给企业员工。\n该接口作用和电子签控制台 企业设置-扩展服务-企业自动签署和批量签署授权 两个模块功能相同,可通过该接口授权给企业员工。\n\n注:“企业自动签授权”支持集团代子企业操作,请联系运营开通此功能。",
82
89
  "input": "CreateExtendedServiceAuthInfosRequest",
@@ -2747,6 +2754,61 @@
2747
2754
  ],
2748
2755
  "type": "object"
2749
2756
  },
2757
+ "CreateEmployeeQualificationSealQrCodeRequest": {
2758
+ "document": "CreateEmployeeQualificationSealQrCode请求参数结构体",
2759
+ "members": [
2760
+ {
2761
+ "disabled": false,
2762
+ "document": "执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`",
2763
+ "example": "无",
2764
+ "member": "UserInfo",
2765
+ "name": "Operator",
2766
+ "required": true,
2767
+ "type": "object"
2768
+ },
2769
+ {
2770
+ "disabled": false,
2771
+ "document": "代理企业和员工的信息。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。",
2772
+ "example": "无",
2773
+ "member": "Agent",
2774
+ "name": "Agent",
2775
+ "required": false,
2776
+ "type": "object"
2777
+ },
2778
+ {
2779
+ "disabled": false,
2780
+ "document": "提示信息,扫码后此信息会展示给扫描用户,用来提示用户授权操作的目的",
2781
+ "example": "无",
2782
+ "member": "string",
2783
+ "name": "HintText",
2784
+ "required": false,
2785
+ "type": "string"
2786
+ }
2787
+ ],
2788
+ "type": "object"
2789
+ },
2790
+ "CreateEmployeeQualificationSealQrCodeResponse": {
2791
+ "document": "CreateEmployeeQualificationSealQrCode返回参数结构体",
2792
+ "members": [
2793
+ {
2794
+ "disabled": false,
2795
+ "document": "二维码图片的Base64 注: `此二维码的有效时间为7天,过期后需要重新生成新的二维码图片`",
2796
+ "example": "无",
2797
+ "member": "string",
2798
+ "name": "QrcodeBase64",
2799
+ "output_required": false,
2800
+ "type": "string",
2801
+ "value_allowed_null": false
2802
+ },
2803
+ {
2804
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2805
+ "member": "string",
2806
+ "name": "RequestId",
2807
+ "type": "string"
2808
+ }
2809
+ ],
2810
+ "type": "object"
2811
+ },
2750
2812
  "CreateExtendedServiceAuthInfosRequest": {
2751
2813
  "document": "CreateExtendedServiceAuthInfos请求参数结构体",
2752
2814
  "members": [
@@ -2990,7 +3052,7 @@
2990
3052
  },
2991
3053
  {
2992
3054
  "disabled": false,
2993
- "document": "合同流程的名称(可自定义此名称),长度不能超过200,只能由中文、字母、数字和下划线组成。\n\n该名称还将用于合同签署完成后的下载文件名。",
3055
+ "document": "合同流程的名称(可自定义此名称),长度不能超过200个字符,只能由中文、字母、数字、中划线和下划线组成。\n\n该名称还将用于合同签署完成后的下载文件名。",
2994
3056
  "example": "2013年采购西红柿合同",
2995
3057
  "member": "string",
2996
3058
  "name": "FlowName",
@@ -3035,7 +3097,7 @@
3035
3097
  },
3036
3098
  {
3037
3099
  "disabled": false,
3038
- "document": "模板或者合同中的填写控件列表,列表中可支持下列多种填写控件,控件的详细定义参考开发者中心的Component结构体\n<ul><li> 单行文本控件 </li>\n<li> 多行文本控件 </li>\n<li> 勾选框控件 </li>\n<li> 数字控件 </li>\n<li> 图片控件 </li>\n<li> 动态表格等填写控件</li></ul>",
3100
+ "document": "模板或者合同中的填写控件列表,列表中可支持下列多种填写控件,控件的详细定义参考开发者中心的Component结构体\n<ul><li> 单行文本控件 </li>\n<li> 多行文本控件 </li>\n<li> 勾选框控件 </li>\n<li> 数字控件 </li>\n<li> 图片控件 </li>\n<li> 水印控件 </li>\n<li> 动态表格等填写控件</li></ul>",
3039
3101
  "example": "无",
3040
3102
  "member": "Component",
3041
3103
  "name": "Components",
@@ -7521,7 +7583,7 @@
7521
7583
  },
7522
7584
  {
7523
7585
  "disabled": false,
7524
- "document": "要查询的扩展服务类型。\n默认为空,即查询当前支持的所有扩展服务信息。\n若需查询单个扩展服务的开通情况,请传递相应的值,如下所示:\n<ul><li>OPEN_SERVER_SIGN:企业自动签署</li>\n<li>BATCH_SIGN:批量签署</li>\n<li>OVERSEA_SIGN:企业与港澳台居民签署合同</li>\n<li>AGE_LIMIT_EXPANSION:拓宽签署方年龄限制</li>\n<li>MOBILE_CHECK_APPROVER:个人签署方仅校验手机号</li>\n<li>HIDE_OPERATOR_DISPLAY:隐藏合同经办人姓名</li>\n<li>ORGANIZATION_OCR_FALLBACK:正楷临摹签名失败后更换其他签名类型</li>\n<li>ORGANIZATION_FLOW_NOTIFY_TYPE:短信通知签署方</li>\n<li>HIDE_ONE_KEY_SIGN:个人签署方手动签字</li>\n<li>PAGING_SEAL:骑缝章</li>\n<li>ORGANIZATION_FLOW_PASSWD_NOTIFY:签署密码开通引导</li></ul>",
7586
+ "document": "要查询的扩展服务类型。\n默认为空,即查询当前支持的所有扩展服务信息。\n若需查询单个扩展服务的开通情况,请传递相应的值,如下所示:\n<ul><li>OPEN_SERVER_SIGN:企业自动签署</li>\n<li>AUTO_SIGN_CAN_FILL_IN:本企业自动签合同支持签前内容补充</li>\n<li>BATCH_SIGN:批量签署</li>\n<li>OVERSEA_SIGN:企业与港澳台居民签署合同</li>\n<li>AGE_LIMIT_EXPANSION:拓宽签署方年龄限制</li>\n<li>MOBILE_CHECK_APPROVER:个人签署方仅校验手机号</li>\n<li>HIDE_OPERATOR_DISPLAY:隐藏合同经办人姓名</li>\n<li>ORGANIZATION_OCR_FALLBACK:正楷临摹签名失败后更换其他签名类型</li>\n<li>ORGANIZATION_FLOW_NOTIFY_TYPE:短信通知签署方</li>\n<li>HIDE_ONE_KEY_SIGN:个人签署方手动签字</li>\n<li>ORGANIZATION_FLOW_EMAIL_NOTIFY:邮件通知签署方</li>\n<li>FLOW_APPROVAL:合同审批强制开启</li>\n<li>ORGANIZATION_FLOW_PASSWD_NOTIFY:签署密码开通引导</li></ul>",
7525
7587
  "example": "OPEN_SERVER_SIGN",
7526
7588
  "member": "string",
7527
7589
  "name": "ExtendServiceType",
@@ -8574,7 +8636,7 @@
8574
8636
  },
8575
8637
  {
8576
8638
  "disabled": false,
8577
- "document": "印章种类列表(均为组织机构印章)。 若无特定需求,将展示所有类型的印章。 \n\n目前支持以下几种:\n\n<ul> <li><strong>OFFICIAL</strong>:企业公章;</li> <li><strong>CONTRACT</strong>:合同专用章;</li> <li><strong>ORGANIZATION_SEAL</strong>:企业印章(通过图片上传创建);</li> <li><strong>LEGAL_PERSON_SEAL</strong>:法定代表人章。</li> </ul>",
8639
+ "document": "印章种类列表(均为组织机构印章)。 若无特定需求,将展示所有类型的印章。 目前支持以下几种:<ul> <li><strong>OFFICIAL</strong>:企业公章;</li> <li><strong>CONTRACT</strong>:合同专用章;</li> <li><strong>ORGANIZATION_SEAL</strong>:企业印章(通过图片上传创建);</li> <li><strong>LEGAL_PERSON_SEAL</strong>:法定代表人章。</li> <li><strong>EMPLOYEE_QUALIFICATION_SEAL</strong>:员工执业章。</li> </ul>",
8578
8640
  "example": "无",
8579
8641
  "member": "string",
8580
8642
  "name": "SealTypes",
@@ -11251,7 +11313,7 @@
11251
11313
  },
11252
11314
  {
11253
11315
  "disabled": false,
11254
- "document": "要管理的拓展服务类型。\n<ul><li>OPEN_SERVER_SIGN:企业自动签署</li>\n<li>OVERSEA_SIGN:企业与港澳台居民签署合同</li>\n<li>AGE_LIMIT_EXPANSION:拓宽签署方年龄限制</li>\n<li>MOBILE_CHECK_APPROVER:个人签署方仅校验手机号</li>\n<li>HIDE_OPERATOR_DISPLAY:隐藏合同经办人姓名</li>\n<li>ORGANIZATION_OCR_FALLBACK:正楷临摹签名失败后更换其他签名类型</li>\n<li>ORGANIZATION_FLOW_NOTIFY_TYPE:短信通知签署方</li>\n<li>HIDE_ONE_KEY_SIGN:个人签署方手动签字</li>\n<li>PAGING_SEAL:骑缝章</li>\n<li>ORGANIZATION_FLOW_PASSWD_NOTIFY:签署密码开通引导</li></ul>",
11316
+ "document": "要管理的拓展服务类型。\n<ul><li>OPEN_SERVER_SIGN:企业自动签署</li>\n<li>AUTO_SIGN_CAN_FILL_IN:本企业自动签合同支持签前内容补充</li>\n<li>OVERSEA_SIGN:企业与港澳台居民签署合同</li>\n<li>AGE_LIMIT_EXPANSION:拓宽签署方年龄限制</li>\n<li>MOBILE_CHECK_APPROVER:个人签署方仅校验手机号</li>\n<li>HIDE_OPERATOR_DISPLAY:隐藏合同经办人姓名</li>\n<li>ORGANIZATION_OCR_FALLBACK:正楷临摹签名失败后更换其他签名类型</li>\n<li>ORGANIZATION_FLOW_NOTIFY_TYPE:短信通知签署方</li>\n<li>HIDE_ONE_KEY_SIGN:个人签署方手动签字</li>\n<li>ORGANIZATION_FLOW_EMAIL_NOTIFY:邮件通知签署方</li>\n<li>FLOW_APPROVAL:合同审批强制开启</li>\n<li>ORGANIZATION_FLOW_PASSWD_NOTIFY:签署密码开通引导</li></ul>",
11255
11317
  "example": "MOBILE_CHECK_APPROVER",
11256
11318
  "member": "string",
11257
11319
  "name": "ServiceType",