tccli 3.0.1171.1__py2.py3-none-any.whl → 3.0.1172.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/billing/v20180709/api.json +125 -5
- tccli/services/es/v20180416/api.json +89 -2
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +101 -0
- tccli/services/ess/v20201111/examples.json +8 -0
- tccli/services/essbasic/essbasic_client.py +67 -14
- tccli/services/essbasic/v20210526/api.json +92 -0
- tccli/services/essbasic/v20210526/examples.json +8 -0
- tccli/services/faceid/v20180301/api.json +2 -2
- tccli/services/mongodb/v20190725/api.json +57 -57
- tccli/services/mongodb/v20190725/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +46 -46
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/organization/organization_client.py +2837 -293
- tccli/services/organization/v20210331/api.json +7182 -1735
- tccli/services/organization/v20210331/examples.json +384 -0
- tccli/services/tat/tat_client.py +53 -0
- tccli/services/tat/v20201028/api.json +149 -5
- tccli/services/tat/v20201028/examples.json +8 -0
- tccli/services/trocket/v20230308/api.json +65 -12
- {tccli-3.0.1171.1.dist-info → tccli-3.0.1172.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1171.1.dist-info → tccli-3.0.1172.1.dist-info}/RECORD +26 -26
- {tccli-3.0.1171.1.dist-info → tccli-3.0.1172.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1171.1.dist-info → tccli-3.0.1172.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1171.1.dist-info → tccli-3.0.1172.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1172.1'
|
@@ -15021,7 +15021,7 @@
|
|
15021
15021
|
"example": "某产品",
|
15022
15022
|
"member": "string",
|
15023
15023
|
"name": "ProductName",
|
15024
|
-
"
|
15024
|
+
"output_required": true,
|
15025
15025
|
"type": "string",
|
15026
15026
|
"value_allowed_null": true
|
15027
15027
|
},
|
@@ -15031,7 +15031,87 @@
|
|
15031
15031
|
"example": "某子产品",
|
15032
15032
|
"member": "string",
|
15033
15033
|
"name": "SubProductName",
|
15034
|
-
"
|
15034
|
+
"output_required": true,
|
15035
|
+
"type": "string",
|
15036
|
+
"value_allowed_null": true
|
15037
|
+
},
|
15038
|
+
{
|
15039
|
+
"disabled": false,
|
15040
|
+
"document": "产品码\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
15041
|
+
"example": "无",
|
15042
|
+
"member": "string",
|
15043
|
+
"name": "ProductCode",
|
15044
|
+
"output_required": false,
|
15045
|
+
"type": "string",
|
15046
|
+
"value_allowed_null": true
|
15047
|
+
},
|
15048
|
+
{
|
15049
|
+
"disabled": false,
|
15050
|
+
"document": "子产品码\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
15051
|
+
"example": "无",
|
15052
|
+
"member": "string",
|
15053
|
+
"name": "SubProductCode",
|
15054
|
+
"output_required": false,
|
15055
|
+
"type": "string",
|
15056
|
+
"value_allowed_null": true
|
15057
|
+
},
|
15058
|
+
{
|
15059
|
+
"disabled": false,
|
15060
|
+
"document": "计费项码\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
15061
|
+
"example": "无",
|
15062
|
+
"member": "string",
|
15063
|
+
"name": "BillingItemCode",
|
15064
|
+
"output_required": false,
|
15065
|
+
"type": "string",
|
15066
|
+
"value_allowed_null": true
|
15067
|
+
},
|
15068
|
+
{
|
15069
|
+
"disabled": false,
|
15070
|
+
"document": "计费细项码\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
15071
|
+
"example": "无",
|
15072
|
+
"member": "string",
|
15073
|
+
"name": "SubBillingItemCode",
|
15074
|
+
"output_required": false,
|
15075
|
+
"type": "string",
|
15076
|
+
"value_allowed_null": true
|
15077
|
+
},
|
15078
|
+
{
|
15079
|
+
"disabled": false,
|
15080
|
+
"document": "产品英文名\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
15081
|
+
"example": "无",
|
15082
|
+
"member": "string",
|
15083
|
+
"name": "ProductEnName",
|
15084
|
+
"output_required": false,
|
15085
|
+
"type": "string",
|
15086
|
+
"value_allowed_null": true
|
15087
|
+
},
|
15088
|
+
{
|
15089
|
+
"disabled": false,
|
15090
|
+
"document": "子产品英文名\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
15091
|
+
"example": "无",
|
15092
|
+
"member": "string",
|
15093
|
+
"name": "SubProductEnName",
|
15094
|
+
"output_required": false,
|
15095
|
+
"type": "string",
|
15096
|
+
"value_allowed_null": true
|
15097
|
+
},
|
15098
|
+
{
|
15099
|
+
"disabled": false,
|
15100
|
+
"document": "结算周期\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
15101
|
+
"example": "无",
|
15102
|
+
"member": "string",
|
15103
|
+
"name": "CalcUnit",
|
15104
|
+
"output_required": false,
|
15105
|
+
"type": "string",
|
15106
|
+
"value_allowed_null": true
|
15107
|
+
},
|
15108
|
+
{
|
15109
|
+
"disabled": false,
|
15110
|
+
"document": "payMode为prepay 且 payScene为common的情况下存在\n注意:此字段可能返回 null,表示取不到有效值。",
|
15111
|
+
"example": "无",
|
15112
|
+
"member": "string",
|
15113
|
+
"name": "Action",
|
15114
|
+
"output_required": false,
|
15035
15115
|
"type": "string",
|
15036
15116
|
"value_allowed_null": true
|
15037
15117
|
}
|
@@ -15047,7 +15127,7 @@
|
|
15047
15127
|
"example": "123",
|
15048
15128
|
"member": "int64",
|
15049
15129
|
"name": "UsedAmount",
|
15050
|
-
"
|
15130
|
+
"output_required": true,
|
15051
15131
|
"type": "int",
|
15052
15132
|
"value_allowed_null": false
|
15053
15133
|
},
|
@@ -15057,7 +15137,7 @@
|
|
15057
15137
|
"example": "2020-01-01",
|
15058
15138
|
"member": "string",
|
15059
15139
|
"name": "UsedTime",
|
15060
|
-
"
|
15140
|
+
"output_required": true,
|
15061
15141
|
"type": "string",
|
15062
15142
|
"value_allowed_null": false
|
15063
15143
|
},
|
@@ -15067,9 +15147,49 @@
|
|
15067
15147
|
"example": "无",
|
15068
15148
|
"member": "UsageDetails",
|
15069
15149
|
"name": "UsageDetails",
|
15070
|
-
"
|
15150
|
+
"output_required": true,
|
15071
15151
|
"type": "list",
|
15072
15152
|
"value_allowed_null": true
|
15153
|
+
},
|
15154
|
+
{
|
15155
|
+
"disabled": false,
|
15156
|
+
"document": "付费模式",
|
15157
|
+
"example": "prePay",
|
15158
|
+
"member": "string",
|
15159
|
+
"name": "PayMode",
|
15160
|
+
"output_required": true,
|
15161
|
+
"type": "string",
|
15162
|
+
"value_allowed_null": false
|
15163
|
+
},
|
15164
|
+
{
|
15165
|
+
"disabled": false,
|
15166
|
+
"document": "查询的券id\n注意:此字段可能返回 null,表示取不到有效值。",
|
15167
|
+
"example": "无",
|
15168
|
+
"member": "string",
|
15169
|
+
"name": "VoucherId",
|
15170
|
+
"output_required": true,
|
15171
|
+
"type": "string",
|
15172
|
+
"value_allowed_null": true
|
15173
|
+
},
|
15174
|
+
{
|
15175
|
+
"disabled": false,
|
15176
|
+
"document": "交易场景:(adjust:调账、common:正常交易场景)\n注意:此字段可能返回 null,表示取不到有效值。",
|
15177
|
+
"example": "无",
|
15178
|
+
"member": "string",
|
15179
|
+
"name": "PayScene",
|
15180
|
+
"output_required": false,
|
15181
|
+
"type": "string",
|
15182
|
+
"value_allowed_null": true
|
15183
|
+
},
|
15184
|
+
{
|
15185
|
+
"disabled": false,
|
15186
|
+
"document": "唯一id,对应交易:预付费的dealName,调账/后付费的outTradeNo\n注意:此字段可能返回 null,表示取不到有效值。",
|
15187
|
+
"example": "无",
|
15188
|
+
"member": "string",
|
15189
|
+
"name": "SeqId",
|
15190
|
+
"output_required": true,
|
15191
|
+
"type": "string",
|
15192
|
+
"value_allowed_null": true
|
15073
15193
|
}
|
15074
15194
|
],
|
15075
15195
|
"usage": "out"
|
@@ -176,7 +176,7 @@
|
|
176
176
|
"status": "online"
|
177
177
|
},
|
178
178
|
"DescribeServerlessMetrics": {
|
179
|
-
"document": "获取serverless实例对应指标,获取space维度时不需要传入indexid,获取index时不需要传入spaceid",
|
179
|
+
"document": "获取serverless实例对应指标,获取space维度时不需要传入indexid,获取index时不需要传入spaceid\n获取一段时间时间范围内的指标数据",
|
180
180
|
"input": "DescribeServerlessMetricsRequest",
|
181
181
|
"name": "获取实例对应的监控指标",
|
182
182
|
"output": "DescribeServerlessMetricsResponse",
|
@@ -1833,6 +1833,15 @@
|
|
1833
1833
|
"name": "ZoneId",
|
1834
1834
|
"required": false,
|
1835
1835
|
"type": "int"
|
1836
|
+
},
|
1837
|
+
{
|
1838
|
+
"disabled": false,
|
1839
|
+
"document": "标签信息",
|
1840
|
+
"example": "无",
|
1841
|
+
"member": "TagInfo",
|
1842
|
+
"name": "TagList",
|
1843
|
+
"required": false,
|
1844
|
+
"type": "list"
|
1836
1845
|
}
|
1837
1846
|
],
|
1838
1847
|
"type": "object"
|
@@ -3404,12 +3413,21 @@
|
|
3404
3413
|
},
|
3405
3414
|
{
|
3406
3415
|
"disabled": false,
|
3407
|
-
"document": "指标类型,暂时只支持Storage",
|
3416
|
+
"document": "指标类型,暂时只支持Storage(存储大小),AllMetric(所有存储指标:索引流量、存储大小、文档数量、读请求和写请求)",
|
3408
3417
|
"example": "[\"Storage\"]",
|
3409
3418
|
"member": "string",
|
3410
3419
|
"name": "MetricType",
|
3411
3420
|
"required": false,
|
3412
3421
|
"type": "list"
|
3422
|
+
},
|
3423
|
+
{
|
3424
|
+
"disabled": false,
|
3425
|
+
"document": "时间长度类型DurationType(1: 3小时, 2: 昨天1天,3: 今日0点到现在)",
|
3426
|
+
"example": "1",
|
3427
|
+
"member": "int64",
|
3428
|
+
"name": "DurationType",
|
3429
|
+
"required": false,
|
3430
|
+
"type": "int"
|
3413
3431
|
}
|
3414
3432
|
],
|
3415
3433
|
"type": "object"
|
@@ -3427,6 +3445,46 @@
|
|
3427
3445
|
"type": "float",
|
3428
3446
|
"value_allowed_null": false
|
3429
3447
|
},
|
3448
|
+
{
|
3449
|
+
"disabled": false,
|
3450
|
+
"document": "IndexTraffic指标值,单位byte",
|
3451
|
+
"example": "2262158.88",
|
3452
|
+
"member": "float",
|
3453
|
+
"name": "IndexTraffic",
|
3454
|
+
"output_required": false,
|
3455
|
+
"type": "float",
|
3456
|
+
"value_allowed_null": false
|
3457
|
+
},
|
3458
|
+
{
|
3459
|
+
"disabled": false,
|
3460
|
+
"document": "读请求数,单位次数",
|
3461
|
+
"example": "100",
|
3462
|
+
"member": "int64",
|
3463
|
+
"name": "ReadReqTimes",
|
3464
|
+
"output_required": false,
|
3465
|
+
"type": "int",
|
3466
|
+
"value_allowed_null": false
|
3467
|
+
},
|
3468
|
+
{
|
3469
|
+
"disabled": false,
|
3470
|
+
"document": "写请求数,单位次数",
|
3471
|
+
"example": "100",
|
3472
|
+
"member": "int64",
|
3473
|
+
"name": "WriteReqTimes",
|
3474
|
+
"output_required": false,
|
3475
|
+
"type": "int",
|
3476
|
+
"value_allowed_null": false
|
3477
|
+
},
|
3478
|
+
{
|
3479
|
+
"disabled": false,
|
3480
|
+
"document": "文档数量,单位个数",
|
3481
|
+
"example": "100",
|
3482
|
+
"member": "int64",
|
3483
|
+
"name": "DocCount",
|
3484
|
+
"output_required": false,
|
3485
|
+
"type": "int",
|
3486
|
+
"value_allowed_null": false
|
3487
|
+
},
|
3430
3488
|
{
|
3431
3489
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3432
3490
|
"member": "string",
|
@@ -3593,6 +3651,15 @@
|
|
3593
3651
|
"name": "Limit",
|
3594
3652
|
"required": false,
|
3595
3653
|
"type": "int"
|
3654
|
+
},
|
3655
|
+
{
|
3656
|
+
"disabled": false,
|
3657
|
+
"document": "标签信息",
|
3658
|
+
"example": "无",
|
3659
|
+
"member": "TagInfo",
|
3660
|
+
"name": "TagList",
|
3661
|
+
"required": false,
|
3662
|
+
"type": "list"
|
3596
3663
|
}
|
3597
3664
|
],
|
3598
3665
|
"type": "object"
|
@@ -8403,6 +8470,16 @@
|
|
8403
8470
|
"output_required": true,
|
8404
8471
|
"type": "list",
|
8405
8472
|
"value_allowed_null": false
|
8473
|
+
},
|
8474
|
+
{
|
8475
|
+
"disabled": false,
|
8476
|
+
"document": "3782478.47\n注意:此字段可能返回 null,表示取不到有效值。",
|
8477
|
+
"example": "索引流量,单位byte",
|
8478
|
+
"member": "float",
|
8479
|
+
"name": "IndexTraffic",
|
8480
|
+
"output_required": false,
|
8481
|
+
"type": "float",
|
8482
|
+
"value_allowed_null": true
|
8406
8483
|
}
|
8407
8484
|
],
|
8408
8485
|
"usage": "out"
|
@@ -8730,6 +8807,16 @@
|
|
8730
8807
|
"output_required": false,
|
8731
8808
|
"type": "int",
|
8732
8809
|
"value_allowed_null": true
|
8810
|
+
},
|
8811
|
+
{
|
8812
|
+
"disabled": false,
|
8813
|
+
"document": "key:value\n注意:此字段可能返回 null,表示取不到有效值。",
|
8814
|
+
"example": "空间标签信息",
|
8815
|
+
"member": "TagInfo",
|
8816
|
+
"name": "TagList",
|
8817
|
+
"output_required": false,
|
8818
|
+
"type": "list",
|
8819
|
+
"value_allowed_null": true
|
8733
8820
|
}
|
8734
8821
|
],
|
8735
8822
|
"usage": "out"
|
tccli/services/ess/ess_client.py
CHANGED
@@ -2201,6 +2201,58 @@ def doCreateFlowSignUrl(args, parsed_globals):
|
|
2201
2201
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2202
2202
|
|
2203
2203
|
|
2204
|
+
def doCreateBatchInitOrganizationUrl(args, parsed_globals):
|
2205
|
+
g_param = parse_global_arg(parsed_globals)
|
2206
|
+
|
2207
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2208
|
+
cred = credential.CVMRoleCredential()
|
2209
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2210
|
+
cred = credential.STSAssumeRoleCredential(
|
2211
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2212
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2213
|
+
)
|
2214
|
+
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):
|
2215
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2216
|
+
else:
|
2217
|
+
cred = credential.Credential(
|
2218
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2219
|
+
)
|
2220
|
+
http_profile = HttpProfile(
|
2221
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2222
|
+
reqMethod="POST",
|
2223
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2224
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2225
|
+
)
|
2226
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2227
|
+
if g_param[OptionsDefine.Language]:
|
2228
|
+
profile.language = g_param[OptionsDefine.Language]
|
2229
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2230
|
+
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
2231
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2232
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2233
|
+
model = models.CreateBatchInitOrganizationUrlRequest()
|
2234
|
+
model.from_json_string(json.dumps(args))
|
2235
|
+
start_time = time.time()
|
2236
|
+
while True:
|
2237
|
+
rsp = client.CreateBatchInitOrganizationUrl(model)
|
2238
|
+
result = rsp.to_json_string()
|
2239
|
+
try:
|
2240
|
+
json_obj = json.loads(result)
|
2241
|
+
except TypeError as e:
|
2242
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2243
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2244
|
+
break
|
2245
|
+
cur_time = time.time()
|
2246
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2247
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2248
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2249
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2250
|
+
else:
|
2251
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2252
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2253
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2254
|
+
|
2255
|
+
|
2204
2256
|
def doCancelUserAutoSignEnableUrl(args, parsed_globals):
|
2205
2257
|
g_param = parse_global_arg(parsed_globals)
|
2206
2258
|
|
@@ -4646,6 +4698,7 @@ ACTION_MAP = {
|
|
4646
4698
|
"DescribeFlowBriefs": doDescribeFlowBriefs,
|
4647
4699
|
"DescribeSignFaceVideo": doDescribeSignFaceVideo,
|
4648
4700
|
"CreateFlowSignUrl": doCreateFlowSignUrl,
|
4701
|
+
"CreateBatchInitOrganizationUrl": doCreateBatchInitOrganizationUrl,
|
4649
4702
|
"CancelUserAutoSignEnableUrl": doCancelUserAutoSignEnableUrl,
|
4650
4703
|
"DescribeBillUsageDetail": doDescribeBillUsageDetail,
|
4651
4704
|
"DescribeIntegrationDepartments": doDescribeIntegrationDepartments,
|
@@ -35,6 +35,13 @@
|
|
35
35
|
"output": "CreateBatchCancelFlowUrlResponse",
|
36
36
|
"status": "online"
|
37
37
|
},
|
38
|
+
"CreateBatchInitOrganizationUrl": {
|
39
|
+
"document": "支持企业进行批量初始化操作:\n\n此接口存在以下限制:\n1. 若批量操作中包含<font color=\"red\">加入集团企业</font>操作,则调用此接口的员工须有<font color=\"red\">集团企业管理权限</font>。\n2. 批量操作的企业需要已经完成电子签的认证流程。\n3. 通过此接口生成的链接在小程序端进行操作时,操作人需要是<font color=\"red\">所有企业的超管或法人</font>。\n4. 批量操作的企业,需要是<a href=\"https://qian.tencent.com/developers/companyApis/organizations/CreateOrganizationAuthUrl\" target=\"_blank\">通过平台方引导认证</a>的企业。\n5. <font color=\"red\">操作链接过期时间默认为生成链接后7天。</font>",
|
40
|
+
"input": "CreateBatchInitOrganizationUrlRequest",
|
41
|
+
"name": "批量操作企业初始化",
|
42
|
+
"output": "CreateBatchInitOrganizationUrlResponse",
|
43
|
+
"status": "online"
|
44
|
+
},
|
38
45
|
"CreateBatchOrganizationRegistrationTasks": {
|
39
46
|
"document": "本接口(CreateBatchOrganizationRegistrationTasks)用于批量创建企业认证链接\n该接口为异步提交任务接口,需要跟查询企业批量认证链接(DescribeBatchOrganizationRegistrationUrls) 配合使用.\n\n批量创建链接有以下限制:\n\n1. 单次最多创建10个企业。\n2. 一天同一家企业最多创建8000家企业。\n3. 同一批创建的企业不能重复 其中包括 企业名称,企业统一信用代码\n4. 跳转到小程序的实现,参考微信官方文档(分为全屏、半屏两种方式),如何配置也可以请参考: 跳转电子签小程序配置\n\n注:\n\n1. **此接口需要购买单独的实名套餐包方可调用,如有需求请联系对接人员评估**\n \n2. 如果生成的链接是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>\n \n\n**腾讯电子签小程序的AppID 和 原始Id如下:**\n\n| 小程序 | AppID | 原始ID |\n| --- | --- | --- |\n| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |\n| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |",
|
40
47
|
"input": "CreateBatchOrganizationRegistrationTasksRequest",
|
@@ -2129,6 +2136,100 @@
|
|
2129
2136
|
],
|
2130
2137
|
"type": "object"
|
2131
2138
|
},
|
2139
|
+
"CreateBatchInitOrganizationUrlRequest": {
|
2140
|
+
"document": "CreateBatchInitOrganizationUrl请求参数结构体",
|
2141
|
+
"members": [
|
2142
|
+
{
|
2143
|
+
"disabled": false,
|
2144
|
+
"document": "执行本接口操作的员工信息。\n注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`",
|
2145
|
+
"example": "无",
|
2146
|
+
"member": "UserInfo",
|
2147
|
+
"name": "Operator",
|
2148
|
+
"required": true,
|
2149
|
+
"type": "object"
|
2150
|
+
},
|
2151
|
+
{
|
2152
|
+
"disabled": false,
|
2153
|
+
"document": "初始化操作类型\n<ul><li>CREATE_SEAL : 创建印章</li>\n<li>AUTH_JOIN_ORGANIZATION_GROUP : 加入集团企业</li>\n<li>OPEN_AUTO_SIGN :开通企业自动签署</li></ul>",
|
2154
|
+
"example": "无",
|
2155
|
+
"member": "string",
|
2156
|
+
"name": "OperateTypes",
|
2157
|
+
"required": true,
|
2158
|
+
"type": "list"
|
2159
|
+
},
|
2160
|
+
{
|
2161
|
+
"disabled": false,
|
2162
|
+
"document": "批量操作的企业Id列表,最大支持50个",
|
2163
|
+
"example": "无",
|
2164
|
+
"member": "string",
|
2165
|
+
"name": "OrganizationIds",
|
2166
|
+
"required": true,
|
2167
|
+
"type": "list"
|
2168
|
+
},
|
2169
|
+
{
|
2170
|
+
"disabled": false,
|
2171
|
+
"document": "代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填",
|
2172
|
+
"example": "无",
|
2173
|
+
"member": "Agent",
|
2174
|
+
"name": "Agent",
|
2175
|
+
"required": false,
|
2176
|
+
"type": "object"
|
2177
|
+
}
|
2178
|
+
],
|
2179
|
+
"type": "object"
|
2180
|
+
},
|
2181
|
+
"CreateBatchInitOrganizationUrlResponse": {
|
2182
|
+
"document": "CreateBatchInitOrganizationUrl返回参数结构体",
|
2183
|
+
"members": [
|
2184
|
+
{
|
2185
|
+
"disabled": false,
|
2186
|
+
"document": "小程序路径",
|
2187
|
+
"example": "无",
|
2188
|
+
"member": "string",
|
2189
|
+
"name": "MiniAppPath",
|
2190
|
+
"output_required": true,
|
2191
|
+
"type": "string",
|
2192
|
+
"value_allowed_null": false
|
2193
|
+
},
|
2194
|
+
{
|
2195
|
+
"disabled": false,
|
2196
|
+
"document": "操作长链",
|
2197
|
+
"example": "无",
|
2198
|
+
"member": "string",
|
2199
|
+
"name": "OperateLongUrl",
|
2200
|
+
"output_required": true,
|
2201
|
+
"type": "string",
|
2202
|
+
"value_allowed_null": false
|
2203
|
+
},
|
2204
|
+
{
|
2205
|
+
"disabled": false,
|
2206
|
+
"document": "操作短链",
|
2207
|
+
"example": "无",
|
2208
|
+
"member": "string",
|
2209
|
+
"name": "OperateShortUrl",
|
2210
|
+
"output_required": true,
|
2211
|
+
"type": "string",
|
2212
|
+
"value_allowed_null": false
|
2213
|
+
},
|
2214
|
+
{
|
2215
|
+
"disabled": false,
|
2216
|
+
"document": "操作二维码",
|
2217
|
+
"example": "无",
|
2218
|
+
"member": "string",
|
2219
|
+
"name": "QRCodeUrl",
|
2220
|
+
"output_required": true,
|
2221
|
+
"type": "string",
|
2222
|
+
"value_allowed_null": false
|
2223
|
+
},
|
2224
|
+
{
|
2225
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2226
|
+
"member": "string",
|
2227
|
+
"name": "RequestId",
|
2228
|
+
"type": "string"
|
2229
|
+
}
|
2230
|
+
],
|
2231
|
+
"type": "object"
|
2232
|
+
},
|
2132
2233
|
"CreateBatchOrganizationRegistrationTasksRequest": {
|
2133
2234
|
"document": "CreateBatchOrganizationRegistrationTasks请求参数结构体",
|
2134
2235
|
"members": [
|
@@ -88,6 +88,14 @@
|
|
88
88
|
"title": "获取批量撤销签署流程链接部分成功"
|
89
89
|
}
|
90
90
|
],
|
91
|
+
"CreateBatchInitOrganizationUrl": [
|
92
|
+
{
|
93
|
+
"document": "",
|
94
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBatchInitOrganizationUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxjOXXgydjfxgnzUuO4zjEWA07rD2xl\"\n },\n \"OperateTypes\": [\n \"OPEN_AUTO_SIGN\",\n \"AUTH_JOIN_ORGANIZATION_GROUP\",\n \"CREATE_SEAL\"\n ],\n \"OrganizationIds\": [\n \"yDCpSUUckpao78exUIqrf58JQDTLbbTr\",\n \"yDCpSUUckpao696tUIqrf5x1nPoxNy7C\"\n ]\n}",
|
95
|
+
"output": "{\n \"Response\": {\n \"MiniAppPath\": \"pages/guide/index?to=BATCH_INITIALIZATION_ORGANIZATIONS&shortKey=yDAHpURDfyLc5LgBhXb6\",\n \"OperateLongUrl\": \"https://res.ess.tencent.cn/cdn/h5-activity-dev/jump-mp.html?to=BATCH_INITIALIZATION_ORGANIZATIONS&shortKey=yDCHpURDfyLc5LgBhXb6\",\n \"OperateShortUrl\": \"https://essurl.cn/zahbUBHxW3\",\n \"QRCodeUrl\": \"https://dyn.ess.tencent.cn/imgs/qrcode_urls/batch_initialization_organizations/yDCHHUUckpacc9ijUuXGmVcuzZCNH5pF.png\",\n \"RequestId\": \"s1723520103899037060\"\n }\n}",
|
96
|
+
"title": "创建批量操作企业初始化链接"
|
97
|
+
}
|
98
|
+
],
|
91
99
|
"CreateBatchOrganizationRegistrationTasks": [
|
92
100
|
{
|
93
101
|
"document": "",
|