tencentcloud-sdk-nodejs 4.0.976 → 4.0.977
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.
- package/CHANGELOG.md +267 -0
- package/SERVICE_CHANGELOG.md +502 -192
- package/package.json +1 -1
- package/products.md +26 -25
- package/src/common/sdk_version.ts +1 -1
- package/src/services/af/v20200226/af_client.ts +3 -1
- package/src/services/billing/v20180709/billing_models.ts +13 -13
- package/src/services/ckafka/v20190819/ckafka_models.ts +3 -3
- package/src/services/clb/v20180317/clb_models.ts +6 -6
- package/src/services/cwp/v20180228/cwp_models.ts +8 -0
- package/src/services/ess/v20201111/ess_models.ts +10 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +10 -0
- package/src/services/faceid/v20180301/faceid_models.ts +2 -0
- package/src/services/iai/v20180301/iai_models.ts +10 -10
- package/src/services/iap/index.ts +5 -0
- package/src/services/iap/v20240713/iap_client.ts +103 -0
- package/src/services/iap/v20240713/iap_models.ts +241 -0
- package/src/services/iap/v20240713/index.ts +6 -0
- package/src/services/index.ts +1 -0
- package/src/services/lcic/v20220817/lcic_models.ts +6 -3
- package/src/services/live/v20180801/live_client.ts +112 -12
- package/src/services/live/v20180801/live_models.ts +1108 -526
- package/src/services/market/v20191010/market_client.ts +2 -3
- package/src/services/market/v20191010/market_models.ts +3 -3
- package/src/services/mps/v20190612/mps_models.ts +9 -0
- package/src/services/redis/v20180412/redis_client.ts +47 -47
- package/src/services/redis/v20180412/redis_models.ts +166 -117
- package/src/services/tat/v20201028/tat_models.ts +5 -5
- package/src/services/tke/v20220501/tke_client.ts +2 -2
- package/src/services/tse/v20201207/tse_models.ts +98 -12
- package/src/services/vpc/v20170312/vpc_client.ts +56 -7
- package/src/services/vpc/v20170312/vpc_models.ts +514 -313
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/af/v20200226/af_client.d.ts +3 -1
- package/tencentcloud/services/af/v20200226/af_client.js +3 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +13 -13
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +3 -3
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +6 -6
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +8 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +10 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +10 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +2 -0
- package/tencentcloud/services/iai/v20180301/iai_models.d.ts +10 -10
- package/tencentcloud/services/iap/index.d.ts +6 -0
- package/tencentcloud/services/iap/index.js +7 -0
- package/tencentcloud/services/iap/v20240713/iap_client.d.ts +34 -0
- package/tencentcloud/services/iap/v20240713/iap_client.js +67 -0
- package/tencentcloud/services/iap/v20240713/iap_models.d.ts +213 -0
- package/tencentcloud/services/iap/v20240713/iap_models.js +18 -0
- package/tencentcloud/services/iap/v20240713/index.d.ts +6 -0
- package/tencentcloud/services/iap/v20240713/index.js +9 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +6 -3
- package/tencentcloud/services/live/v20180801/live_client.d.ts +34 -1
- package/tencentcloud/services/live/v20180801/live_client.js +49 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1106 -543
- package/tencentcloud/services/market/v20191010/market_client.d.ts +0 -1
- package/tencentcloud/services/market/v20191010/market_client.js +0 -1
- package/tencentcloud/services/market/v20191010/market_models.d.ts +3 -3
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +9 -0
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +47 -47
- package/tencentcloud/services/redis/v20180412/redis_client.js +47 -47
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +166 -117
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +5 -5
- package/tencentcloud/services/tke/v20220501/tke_client.d.ts +2 -2
- package/tencentcloud/services/tke/v20220501/tke_client.js +2 -2
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +98 -12
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +18 -2
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +25 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +508 -316
- package/test/iap.v20240713.test.js +81 -0
- package/test/live.v20180801.test.js +80 -0
- package/test/vpc.v20170312.test.js +40 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.977";
|
|
@@ -18,7 +18,9 @@ export declare class Client extends AbstractClient {
|
|
|
18
18
|
*/
|
|
19
19
|
GetAntiFraud(req: GetAntiFraudRequest, cb?: (error: string, rep: GetAntiFraudResponse) => void): Promise<GetAntiFraudResponse>;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* 该接口未在使用,后端地址已无法访问,经查近60天日志无正常业务访问记录,申请预下线。
|
|
22
|
+
|
|
23
|
+
天御反欺诈服务,主要应用于银行、证券、保险、消费金融等金融行业客户,通过腾讯的大数据风控能力,
|
|
22
24
|
可以准确识别恶意用户信息,解决客户在支付、活动、理财,风控等业务环节遇到的欺诈威胁,降低企业
|
|
23
25
|
的损失。
|
|
24
26
|
*/
|
|
@@ -42,7 +42,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
42
42
|
return this.request("GetAntiFraud", req, cb);
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* 该接口未在使用,后端地址已无法访问,经查近60天日志无正常业务访问记录,申请预下线。
|
|
46
|
+
|
|
47
|
+
天御反欺诈服务,主要应用于银行、证券、保险、消费金融等金融行业客户,通过腾讯的大数据风控能力,
|
|
46
48
|
可以准确识别恶意用户信息,解决客户在支付、活动、理财,风控等业务环节遇到的欺诈威胁,降低企业
|
|
47
49
|
的损失。
|
|
48
50
|
*/
|
|
@@ -346,7 +346,7 @@ export interface DescribeCostSummaryByProductResponse {
|
|
|
346
346
|
*/
|
|
347
347
|
Data?: Array<ConsumptionBusinessSummaryDataItem>;
|
|
348
348
|
/**
|
|
349
|
-
* 记录数量,NeedRecordNum为0
|
|
349
|
+
* 记录数量,NeedRecordNum为0时返回null
|
|
350
350
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
351
351
|
*/
|
|
352
352
|
RecordNum?: number;
|
|
@@ -2543,12 +2543,12 @@ export interface ConsumptionSummaryTrend {
|
|
|
2543
2543
|
/**
|
|
2544
2544
|
* 趋势类型,upward上升/downward下降/none无
|
|
2545
2545
|
*/
|
|
2546
|
-
Type
|
|
2546
|
+
Type?: string;
|
|
2547
2547
|
/**
|
|
2548
2548
|
* 趋势值,Type为none是该字段值为null
|
|
2549
2549
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2550
2550
|
*/
|
|
2551
|
-
Value
|
|
2551
|
+
Value?: string;
|
|
2552
2552
|
}
|
|
2553
2553
|
/**
|
|
2554
2554
|
* DescribeBillDownloadUrl请求参数结构体
|
|
@@ -6636,43 +6636,43 @@ export interface BusinessSummaryOverviewItem {
|
|
|
6636
6636
|
* 产品编码
|
|
6637
6637
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6638
6638
|
*/
|
|
6639
|
-
BusinessCode
|
|
6639
|
+
BusinessCode?: string;
|
|
6640
6640
|
/**
|
|
6641
6641
|
* 产品名称:用户所采购的各类云产品,例如:云服务器 CVM
|
|
6642
6642
|
*/
|
|
6643
|
-
BusinessCodeName
|
|
6643
|
+
BusinessCodeName?: string;
|
|
6644
6644
|
/**
|
|
6645
6645
|
* 费用所占百分比,两位小数
|
|
6646
6646
|
*/
|
|
6647
|
-
RealTotalCostRatio
|
|
6647
|
+
RealTotalCostRatio?: string;
|
|
6648
6648
|
/**
|
|
6649
6649
|
* 优惠后总价
|
|
6650
6650
|
*/
|
|
6651
|
-
RealTotalCost
|
|
6651
|
+
RealTotalCost?: string;
|
|
6652
6652
|
/**
|
|
6653
6653
|
* 现金账户支出:通过现金账户支付的金额
|
|
6654
6654
|
*/
|
|
6655
|
-
CashPayAmount
|
|
6655
|
+
CashPayAmount?: string;
|
|
6656
6656
|
/**
|
|
6657
6657
|
* 赠送账户支出:使用赠送金支付的金额
|
|
6658
6658
|
*/
|
|
6659
|
-
IncentivePayAmount
|
|
6659
|
+
IncentivePayAmount?: string;
|
|
6660
6660
|
/**
|
|
6661
6661
|
* 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
|
6662
6662
|
*/
|
|
6663
|
-
VoucherPayAmount
|
|
6663
|
+
VoucherPayAmount?: string;
|
|
6664
6664
|
/**
|
|
6665
6665
|
* 分成金账户支出:通过分成金账户支付的金额
|
|
6666
6666
|
*/
|
|
6667
|
-
TransferPayAmount
|
|
6667
|
+
TransferPayAmount?: string;
|
|
6668
6668
|
/**
|
|
6669
6669
|
* 账单月份,格式2019-08
|
|
6670
6670
|
*/
|
|
6671
|
-
BillMonth
|
|
6671
|
+
BillMonth?: string;
|
|
6672
6672
|
/**
|
|
6673
6673
|
* 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
6674
6674
|
*/
|
|
6675
|
-
TotalCost
|
|
6675
|
+
TotalCost?: string;
|
|
6676
6676
|
}
|
|
6677
6677
|
/**
|
|
6678
6678
|
* DescribeSavingPlanUsage返回参数结构体
|
|
@@ -1402,17 +1402,17 @@ export interface InstanceDetailResponse {
|
|
|
1402
1402
|
*/
|
|
1403
1403
|
export interface ModifyInstancePreRequest {
|
|
1404
1404
|
/**
|
|
1405
|
-
*
|
|
1405
|
+
* ckafka集群实例Id
|
|
1406
1406
|
*/
|
|
1407
1407
|
InstanceId: string;
|
|
1408
1408
|
/**
|
|
1409
1409
|
* 预计磁盘,根据磁盘步长,规格向上调整。
|
|
1410
1410
|
*/
|
|
1411
|
-
DiskSize
|
|
1411
|
+
DiskSize?: number;
|
|
1412
1412
|
/**
|
|
1413
1413
|
* 预计带宽,根据带宽步长,规格向上调整。
|
|
1414
1414
|
*/
|
|
1415
|
-
BandWidth
|
|
1415
|
+
BandWidth?: number;
|
|
1416
1416
|
/**
|
|
1417
1417
|
* 预计分区,根据带宽步长,规格向上调整。
|
|
1418
1418
|
*/
|
|
@@ -2007,28 +2007,28 @@ export interface ConfigListItem {
|
|
|
2007
2007
|
/**
|
|
2008
2008
|
* 配置ID
|
|
2009
2009
|
*/
|
|
2010
|
-
UconfigId
|
|
2010
|
+
UconfigId?: string;
|
|
2011
2011
|
/**
|
|
2012
2012
|
* 配置类型
|
|
2013
2013
|
*/
|
|
2014
|
-
ConfigType
|
|
2014
|
+
ConfigType?: string;
|
|
2015
2015
|
/**
|
|
2016
2016
|
* 配置名字
|
|
2017
2017
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2018
2018
|
*/
|
|
2019
|
-
ConfigName
|
|
2019
|
+
ConfigName?: string;
|
|
2020
2020
|
/**
|
|
2021
2021
|
* 配置内容
|
|
2022
2022
|
*/
|
|
2023
|
-
ConfigContent
|
|
2023
|
+
ConfigContent?: string;
|
|
2024
2024
|
/**
|
|
2025
2025
|
* 增加配置时间
|
|
2026
2026
|
*/
|
|
2027
|
-
CreateTimestamp
|
|
2027
|
+
CreateTimestamp?: string;
|
|
2028
2028
|
/**
|
|
2029
2029
|
* 修改配置时间
|
|
2030
2030
|
*/
|
|
2031
|
-
UpdateTimestamp
|
|
2031
|
+
UpdateTimestamp?: string;
|
|
2032
2032
|
}
|
|
2033
2033
|
/**
|
|
2034
2034
|
* RegisterTargetsWithClassicalLB请求参数结构体
|
|
@@ -25696,6 +25696,14 @@ export interface VulInfoList {
|
|
|
25696
25696
|
CvssScore?: number;
|
|
25697
25697
|
/**
|
|
25698
25698
|
* 漏洞标签 多个逗号分割
|
|
25699
|
+
|
|
25700
|
+
存在EXP:EXP
|
|
25701
|
+
在野攻击:KNOWN_EXPLOITED
|
|
25702
|
+
本地利用:LOCAL
|
|
25703
|
+
必修漏洞:NEED_FIX
|
|
25704
|
+
远程利用:NETWORK
|
|
25705
|
+
存在POC:POC
|
|
25706
|
+
系统重启:RESTART
|
|
25699
25707
|
*/
|
|
25700
25708
|
Labels?: string;
|
|
25701
25709
|
/**
|
|
@@ -8322,6 +8322,16 @@ export interface CreateBatchSignUrlRequest {
|
|
|
8322
8322
|
* 批量签署合同相关信息,指定合同和签署方的信息,用于补充动态签署人。
|
|
8323
8323
|
*/
|
|
8324
8324
|
FlowBatchUrlInfo?: FlowBatchUrlInfo;
|
|
8325
|
+
/**
|
|
8326
|
+
* 签署完成后是否自动回跳
|
|
8327
|
+
<ul><li>false:否, 签署完成不会自动跳转回来(默认)</li><li>true:是, 签署完成会自动跳转回来</li></ul>
|
|
8328
|
+
|
|
8329
|
+
注:
|
|
8330
|
+
1. 该参数<font color="red">只针对APP类型(电子签小程序跳转贵方小程序)场景</font> 的签署链接有效
|
|
8331
|
+
2. <font color="red">手机应用APP 或 微信小程序需要监控界面的返回走后序逻辑</font>, 微信小程序的文档可以参考[这个](https://developers.weixin.qq.com/miniprogram/dev/reference/api/App.html#onShow-Object-object)
|
|
8332
|
+
3. <font color="red">电子签小程序跳转贵方APP,不支持自动跳转,必需用户手动点击完成按钮(微信的限制)</font>
|
|
8333
|
+
*/
|
|
8334
|
+
AutoJumpBack?: boolean;
|
|
8325
8335
|
}
|
|
8326
8336
|
/**
|
|
8327
8337
|
* CreateFlowReminds请求参数结构体
|
|
@@ -7088,6 +7088,16 @@ export interface ChannelCreateBatchSignUrlRequest {
|
|
|
7088
7088
|
* 第三方平台子客企业的企业的标识, 即OrganizationOpenId,批签合同经办人为子客企业员工是为必填。
|
|
7089
7089
|
*/
|
|
7090
7090
|
OrganizationOpenId?: string;
|
|
7091
|
+
/**
|
|
7092
|
+
* 签署完成后是否自动回跳
|
|
7093
|
+
<ul><li>false:否, 签署完成不会自动跳转回来(默认)</li><li>true:是, 签署完成会自动跳转回来</li></ul>
|
|
7094
|
+
|
|
7095
|
+
注:
|
|
7096
|
+
1. 该参数<font color="red">只针对APP类型(电子签小程序跳转贵方小程序)场景</font> 的签署链接有效
|
|
7097
|
+
2. <font color="red">手机应用APP 或 微信小程序需要监控界面的返回走后序逻辑</font>, 微信小程序的文档可以参考[这个](https://developers.weixin.qq.com/miniprogram/dev/reference/api/App.html#onShow-Object-object)
|
|
7098
|
+
3. <font color="red">电子签小程序跳转贵方APP,不支持自动跳转,必需用户手动点击完成按钮(微信的限制)</font>
|
|
7099
|
+
*/
|
|
7100
|
+
AutoJumpBack?: boolean;
|
|
7091
7101
|
}
|
|
7092
7102
|
/**
|
|
7093
7103
|
* ChannelCreateOrganizationModifyQrCode返回参数结构体
|
|
@@ -194,6 +194,7 @@ export interface IntentionQuestionResult {
|
|
|
194
194
|
-801: "用户未授权摄像头和麦克风权限"
|
|
195
195
|
-802: "核验流程异常中断,请勿切屏或进行其他操作"
|
|
196
196
|
-803: "用户主动关闭链接/异常断开链接"
|
|
197
|
+
-804: "用户当前网络不稳定,请重试"
|
|
197
198
|
-998: "系统数据异常"
|
|
198
199
|
-999: "系统未知错误,请联系人工核实"
|
|
199
200
|
- 若在人脸核身过程失败、未进入意愿确认过程,则该参数返回为空,请参考人脸核身错误码结果(DetectInfoText.ErrCode)
|
|
@@ -2877,6 +2878,7 @@ export interface IntentionActionResult {
|
|
|
2877
2878
|
-801: "用户未授权摄像头和麦克风权限"
|
|
2878
2879
|
-802: "核验流程异常中断,请勿切屏或进行其他操作"
|
|
2879
2880
|
-803: "用户主动关闭链接/异常断开链接"
|
|
2881
|
+
-804: "用户当前网络不稳定,请重试"
|
|
2880
2882
|
-998: "系统数据异常"
|
|
2881
2883
|
-999: "系统未知错误,请联系人工核实"
|
|
2882
2884
|
若在人脸核身过程失败、未进入意愿确认过程,则该参数返回为空,请参考人脸核身错误码结果(DetectInfoText.ErrCode)
|
|
@@ -2397,24 +2397,24 @@ export interface AttributeItem {
|
|
|
2397
2397
|
export interface FaceRect {
|
|
2398
2398
|
/**
|
|
2399
2399
|
* 人脸框左上角横坐标。
|
|
2400
|
-
人脸框包含人脸五官位置并在此基础上进行一定的扩展,若人脸框超出图片范围,会导致坐标负值。
|
|
2401
|
-
若需截取完整人脸,可以在完整分completess满足需求的情况下,将负值坐标取0。
|
|
2400
|
+
- 人脸框包含人脸五官位置并在此基础上进行一定的扩展,若人脸框超出图片范围,会导致坐标负值。
|
|
2401
|
+
- 若需截取完整人脸,可以在完整分completess满足需求的情况下,将负值坐标取0。
|
|
2402
2402
|
*/
|
|
2403
|
-
X
|
|
2403
|
+
X?: number;
|
|
2404
2404
|
/**
|
|
2405
2405
|
* 人脸框左上角纵坐标。
|
|
2406
|
-
人脸框包含人脸五官位置并在此基础上进行一定的扩展,若人脸框超出图片范围,会导致坐标负值。
|
|
2407
|
-
若需截取完整人脸,可以在完整分completess满足需求的情况下,将负值坐标取0。
|
|
2406
|
+
- 人脸框包含人脸五官位置并在此基础上进行一定的扩展,若人脸框超出图片范围,会导致坐标负值。
|
|
2407
|
+
- 若需截取完整人脸,可以在完整分completess满足需求的情况下,将负值坐标取0。
|
|
2408
2408
|
*/
|
|
2409
|
-
Y
|
|
2409
|
+
Y?: number;
|
|
2410
2410
|
/**
|
|
2411
|
-
*
|
|
2411
|
+
* 人脸宽度。
|
|
2412
2412
|
*/
|
|
2413
|
-
Width
|
|
2413
|
+
Width?: number;
|
|
2414
2414
|
/**
|
|
2415
|
-
*
|
|
2415
|
+
* 人脸高度。
|
|
2416
2416
|
*/
|
|
2417
|
-
Height
|
|
2417
|
+
Height?: number;
|
|
2418
2418
|
}
|
|
2419
2419
|
/**
|
|
2420
2420
|
* ModifyPersonGroupInfo返回参数结构体
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { ModifyIAPLoginSessionDurationRequest, DescribeIAPLoginSessionDurationRequest, CreateIAPUserOIDCConfigResponse, CreateIAPUserOIDCConfigRequest, DisableIAPUserSSOResponse, DescribeIAPUserOIDCConfigRequest, ModifyIAPLoginSessionDurationResponse, DescribeIAPUserOIDCConfigResponse, UpdateIAPUserOIDCConfigResponse, UpdateIAPUserOIDCConfigRequest, DisableIAPUserSSORequest, DescribeIAPLoginSessionDurationResponse } from "./iap_models";
|
|
4
|
+
/**
|
|
5
|
+
* iap client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 修改用户OIDC配置
|
|
12
|
+
*/
|
|
13
|
+
UpdateIAPUserOIDCConfig(req: UpdateIAPUserOIDCConfigRequest, cb?: (error: string, rep: UpdateIAPUserOIDCConfigResponse) => void): Promise<UpdateIAPUserOIDCConfigResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 查询登录会话时长
|
|
16
|
+
*/
|
|
17
|
+
DescribeIAPLoginSessionDuration(req?: DescribeIAPLoginSessionDurationRequest, cb?: (error: string, rep: DescribeIAPLoginSessionDurationResponse) => void): Promise<DescribeIAPLoginSessionDurationResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* 查询用户OIDC配置
|
|
20
|
+
*/
|
|
21
|
+
DescribeIAPUserOIDCConfig(req?: DescribeIAPUserOIDCConfigRequest, cb?: (error: string, rep: DescribeIAPUserOIDCConfigResponse) => void): Promise<DescribeIAPUserOIDCConfigResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* 禁用用户SSO
|
|
24
|
+
*/
|
|
25
|
+
DisableIAPUserSSO(req?: DisableIAPUserSSORequest, cb?: (error: string, rep: DisableIAPUserSSOResponse) => void): Promise<DisableIAPUserSSOResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* 创建用户OIDC配置。只能创建一个用户OIDC身份提供商,并且创建用户OIDC配置之后会自动关闭用户SAML SSO身份提供商。
|
|
28
|
+
*/
|
|
29
|
+
CreateIAPUserOIDCConfig(req: CreateIAPUserOIDCConfigRequest, cb?: (error: string, rep: CreateIAPUserOIDCConfigResponse) => void): Promise<CreateIAPUserOIDCConfigResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* 修改登录会话时长
|
|
32
|
+
*/
|
|
33
|
+
ModifyIAPLoginSessionDuration(req: ModifyIAPLoginSessionDurationRequest, cb?: (error: string, rep: ModifyIAPLoginSessionDurationResponse) => void): Promise<ModifyIAPLoginSessionDurationResponse>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Client = void 0;
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
|
+
/*
|
|
6
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing,
|
|
15
|
+
* software distributed under the License is distributed on an
|
|
16
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
17
|
+
* KIND, either express or implied. See the License for the
|
|
18
|
+
* specific language governing permissions and limitations
|
|
19
|
+
* under the License.
|
|
20
|
+
*/
|
|
21
|
+
const abstract_client_1 = require("../../../common/abstract_client");
|
|
22
|
+
/**
|
|
23
|
+
* iap client
|
|
24
|
+
* @class
|
|
25
|
+
*/
|
|
26
|
+
class Client extends abstract_client_1.AbstractClient {
|
|
27
|
+
constructor(clientConfig) {
|
|
28
|
+
super("iap.tencentcloudapi.com", "2024-07-13", clientConfig);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 修改用户OIDC配置
|
|
32
|
+
*/
|
|
33
|
+
async UpdateIAPUserOIDCConfig(req, cb) {
|
|
34
|
+
return this.request("UpdateIAPUserOIDCConfig", req, cb);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 查询登录会话时长
|
|
38
|
+
*/
|
|
39
|
+
async DescribeIAPLoginSessionDuration(req, cb) {
|
|
40
|
+
return this.request("DescribeIAPLoginSessionDuration", req, cb);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 查询用户OIDC配置
|
|
44
|
+
*/
|
|
45
|
+
async DescribeIAPUserOIDCConfig(req, cb) {
|
|
46
|
+
return this.request("DescribeIAPUserOIDCConfig", req, cb);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* 禁用用户SSO
|
|
50
|
+
*/
|
|
51
|
+
async DisableIAPUserSSO(req, cb) {
|
|
52
|
+
return this.request("DisableIAPUserSSO", req, cb);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* 创建用户OIDC配置。只能创建一个用户OIDC身份提供商,并且创建用户OIDC配置之后会自动关闭用户SAML SSO身份提供商。
|
|
56
|
+
*/
|
|
57
|
+
async CreateIAPUserOIDCConfig(req, cb) {
|
|
58
|
+
return this.request("CreateIAPUserOIDCConfig", req, cb);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* 修改登录会话时长
|
|
62
|
+
*/
|
|
63
|
+
async ModifyIAPLoginSessionDuration(req, cb) {
|
|
64
|
+
return this.request("ModifyIAPLoginSessionDuration", req, cb);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.Client = Client;
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ModifyIAPLoginSessionDuration请求参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface ModifyIAPLoginSessionDurationRequest {
|
|
5
|
+
/**
|
|
6
|
+
* 登录会话时长
|
|
7
|
+
*/
|
|
8
|
+
Duration: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* DescribeIAPLoginSessionDuration请求参数结构体
|
|
12
|
+
*/
|
|
13
|
+
export declare type DescribeIAPLoginSessionDurationRequest = null;
|
|
14
|
+
/**
|
|
15
|
+
* CreateIAPUserOIDCConfig返回参数结构体
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateIAPUserOIDCConfigResponse {
|
|
18
|
+
/**
|
|
19
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20
|
+
*/
|
|
21
|
+
RequestId?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* CreateIAPUserOIDCConfig请求参数结构体
|
|
25
|
+
*/
|
|
26
|
+
export interface CreateIAPUserOIDCConfigRequest {
|
|
27
|
+
/**
|
|
28
|
+
* 身份提供商URL。OpenID Connect身份提供商标识。对应企业IdP提供的Openid-configuration中"issuer"字段的值。
|
|
29
|
+
*/
|
|
30
|
+
IdentityUrl: string;
|
|
31
|
+
/**
|
|
32
|
+
* 客户端ID,在OpenID Connect身份提供商注册的客户端ID。
|
|
33
|
+
*/
|
|
34
|
+
ClientId: string;
|
|
35
|
+
/**
|
|
36
|
+
* 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。
|
|
37
|
+
*/
|
|
38
|
+
AuthorizationEndpoint: string;
|
|
39
|
+
/**
|
|
40
|
+
* 授权请求Response type,固定值id_token
|
|
41
|
+
*/
|
|
42
|
+
ResponseType: string;
|
|
43
|
+
/**
|
|
44
|
+
* 授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。
|
|
45
|
+
*/
|
|
46
|
+
ResponseMode: string;
|
|
47
|
+
/**
|
|
48
|
+
* 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段
|
|
49
|
+
*/
|
|
50
|
+
MappingFiled: string;
|
|
51
|
+
/**
|
|
52
|
+
* 签名公钥,需要base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的账号安全,建议您定期轮换签名公钥。
|
|
53
|
+
*/
|
|
54
|
+
IdentityKey: string;
|
|
55
|
+
/**
|
|
56
|
+
* 授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。
|
|
57
|
+
*/
|
|
58
|
+
Scope?: Array<string>;
|
|
59
|
+
/**
|
|
60
|
+
* 描述
|
|
61
|
+
*/
|
|
62
|
+
Description?: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* DisableIAPUserSSO返回参数结构体
|
|
66
|
+
*/
|
|
67
|
+
export interface DisableIAPUserSSOResponse {
|
|
68
|
+
/**
|
|
69
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
70
|
+
*/
|
|
71
|
+
RequestId?: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* DescribeIAPUserOIDCConfig请求参数结构体
|
|
75
|
+
*/
|
|
76
|
+
export declare type DescribeIAPUserOIDCConfigRequest = null;
|
|
77
|
+
/**
|
|
78
|
+
* ModifyIAPLoginSessionDuration返回参数结构体
|
|
79
|
+
*/
|
|
80
|
+
export interface ModifyIAPLoginSessionDurationResponse {
|
|
81
|
+
/**
|
|
82
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
83
|
+
*/
|
|
84
|
+
RequestId?: string;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* DescribeIAPUserOIDCConfig返回参数结构体
|
|
88
|
+
*/
|
|
89
|
+
export interface DescribeIAPUserOIDCConfigResponse {
|
|
90
|
+
/**
|
|
91
|
+
* 身份提供商类型。 13:IAP用户OIDC身份提供商
|
|
92
|
+
*/
|
|
93
|
+
ProviderType?: number;
|
|
94
|
+
/**
|
|
95
|
+
* 身份提供商URL
|
|
96
|
+
*/
|
|
97
|
+
IdentityUrl?: string;
|
|
98
|
+
/**
|
|
99
|
+
* 签名公钥
|
|
100
|
+
*/
|
|
101
|
+
IdentityKey?: string;
|
|
102
|
+
/**
|
|
103
|
+
* 客户端id
|
|
104
|
+
*/
|
|
105
|
+
ClientId?: string;
|
|
106
|
+
/**
|
|
107
|
+
* 状态:0:未设置,11:已开启,2:已禁用
|
|
108
|
+
*/
|
|
109
|
+
Status?: number;
|
|
110
|
+
/**
|
|
111
|
+
* HTTPS CA证书的验证指纹,允许英文字母和数字,每个指纹长度为40个字符,最多5个指纹。
|
|
112
|
+
*/
|
|
113
|
+
Fingerprints?: Array<string>;
|
|
114
|
+
/**
|
|
115
|
+
* 是否需要开启自动使用OIDC签名公钥,1:需要,2:不需要,默认不需要
|
|
116
|
+
*/
|
|
117
|
+
EnableAutoPublicKey?: number;
|
|
118
|
+
/**
|
|
119
|
+
* 授权请求Endpoint
|
|
120
|
+
*/
|
|
121
|
+
AuthorizationEndpoint?: string;
|
|
122
|
+
/**
|
|
123
|
+
* 授权请求Scope
|
|
124
|
+
*/
|
|
125
|
+
Scope?: Array<string>;
|
|
126
|
+
/**
|
|
127
|
+
* 授权请求Response type
|
|
128
|
+
*/
|
|
129
|
+
ResponseType?: string;
|
|
130
|
+
/**
|
|
131
|
+
* 授权请求Response mode
|
|
132
|
+
*/
|
|
133
|
+
ResponseMode?: string;
|
|
134
|
+
/**
|
|
135
|
+
* 映射字段名称
|
|
136
|
+
*/
|
|
137
|
+
MappingFiled?: string;
|
|
138
|
+
/**
|
|
139
|
+
* 描述
|
|
140
|
+
*/
|
|
141
|
+
Description?: string;
|
|
142
|
+
/**
|
|
143
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
144
|
+
*/
|
|
145
|
+
RequestId?: string;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* UpdateIAPUserOIDCConfig返回参数结构体
|
|
149
|
+
*/
|
|
150
|
+
export interface UpdateIAPUserOIDCConfigResponse {
|
|
151
|
+
/**
|
|
152
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
153
|
+
*/
|
|
154
|
+
RequestId?: string;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* UpdateIAPUserOIDCConfig请求参数结构体
|
|
158
|
+
*/
|
|
159
|
+
export interface UpdateIAPUserOIDCConfigRequest {
|
|
160
|
+
/**
|
|
161
|
+
* 身份提供商URL。OpenID Connect身份提供商标识。对应企业IdP提供的Openid-configuration中"issuer"字段的值。
|
|
162
|
+
*/
|
|
163
|
+
IdentityUrl: string;
|
|
164
|
+
/**
|
|
165
|
+
* 客户端ID,在OpenID Connect身份提供商注册的客户端ID。
|
|
166
|
+
*/
|
|
167
|
+
ClientId: string;
|
|
168
|
+
/**
|
|
169
|
+
* 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。
|
|
170
|
+
*/
|
|
171
|
+
AuthorizationEndpoint: string;
|
|
172
|
+
/**
|
|
173
|
+
* 授权请求Response type,固定值id_token
|
|
174
|
+
*/
|
|
175
|
+
ResponseType: string;
|
|
176
|
+
/**
|
|
177
|
+
* 授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。
|
|
178
|
+
*/
|
|
179
|
+
ResponseMode: string;
|
|
180
|
+
/**
|
|
181
|
+
* 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段
|
|
182
|
+
*/
|
|
183
|
+
MappingFiled: string;
|
|
184
|
+
/**
|
|
185
|
+
* RSA签名公钥,JWKS格式,需要进行base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的账号安全,建议您定期轮换签名公钥。
|
|
186
|
+
*/
|
|
187
|
+
IdentityKey: string;
|
|
188
|
+
/**
|
|
189
|
+
* 授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。
|
|
190
|
+
*/
|
|
191
|
+
Scope?: Array<string>;
|
|
192
|
+
/**
|
|
193
|
+
* 描述,长度为1~255个英文或中文字符,默认值为空。
|
|
194
|
+
*/
|
|
195
|
+
Description?: string;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* DisableIAPUserSSO请求参数结构体
|
|
199
|
+
*/
|
|
200
|
+
export declare type DisableIAPUserSSORequest = null;
|
|
201
|
+
/**
|
|
202
|
+
* DescribeIAPLoginSessionDuration返回参数结构体
|
|
203
|
+
*/
|
|
204
|
+
export interface DescribeIAPLoginSessionDurationResponse {
|
|
205
|
+
/**
|
|
206
|
+
* 登录会话时长
|
|
207
|
+
*/
|
|
208
|
+
Duration?: number;
|
|
209
|
+
/**
|
|
210
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
211
|
+
*/
|
|
212
|
+
RequestId?: string;
|
|
213
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.v20240713 = void 0;
|
|
4
|
+
const Models = require("./iap_models");
|
|
5
|
+
const iap_client_1 = require("./iap_client");
|
|
6
|
+
exports.v20240713 = {
|
|
7
|
+
Client: iap_client_1.Client,
|
|
8
|
+
Models: Models
|
|
9
|
+
};
|
|
@@ -117,6 +117,7 @@ export { hasim } from "./hasim";
|
|
|
117
117
|
export { hcm } from "./hcm";
|
|
118
118
|
export { hunyuan } from "./hunyuan";
|
|
119
119
|
export { iai } from "./iai";
|
|
120
|
+
export { iap } from "./iap";
|
|
120
121
|
export { ic } from "./ic";
|
|
121
122
|
export { icr } from "./icr";
|
|
122
123
|
export { ie } from "./ie";
|
|
@@ -238,6 +238,8 @@ var hunyuan_1 = require("./hunyuan");
|
|
|
238
238
|
Object.defineProperty(exports, "hunyuan", { enumerable: true, get: function () { return hunyuan_1.hunyuan; } });
|
|
239
239
|
var iai_1 = require("./iai");
|
|
240
240
|
Object.defineProperty(exports, "iai", { enumerable: true, get: function () { return iai_1.iai; } });
|
|
241
|
+
var iap_1 = require("./iap");
|
|
242
|
+
Object.defineProperty(exports, "iap", { enumerable: true, get: function () { return iap_1.iap; } });
|
|
241
243
|
var ic_1 = require("./ic");
|
|
242
244
|
Object.defineProperty(exports, "ic", { enumerable: true, get: function () { return ic_1.ic; } });
|
|
243
245
|
var icr_1 = require("./icr");
|