tencentcloud-sdk-nodejs 4.0.409 → 4.0.410
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 +195 -0
- package/SERVICE_CHANGELOG.md +270 -62
- package/package.json +1 -1
- package/products.md +13 -13
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bda/v20200324/bda_models.ts +12 -0
- package/src/services/cat/v20180409/cat_models.ts +1 -5
- package/src/services/cbs/v20170312/cbs_models.ts +31 -19
- package/src/services/cdb/v20170320/cdb_models.ts +1 -1
- package/src/services/cdn/v20180606/cdn_models.ts +12 -0
- package/src/services/cpdp/v20190820/cpdp_client.ts +9 -36
- package/src/services/cpdp/v20190820/cpdp_models.ts +19 -260
- package/src/services/cvm/v20170312/cvm_models.ts +2 -2
- package/src/services/dnspod/v20210323/dnspod_models.ts +5 -0
- package/src/services/faceid/v20180301/faceid_models.ts +19 -3
- package/src/services/tcr/v20190924/tcr_models.ts +2 -2
- package/src/services/tem/v20210701/tem_client.ts +72 -8
- package/src/services/tem/v20210701/tem_models.ts +550 -111
- package/src/services/teo/v20220106/teo_models.ts +9 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bda/v20200324/bda_models.d.ts +10 -0
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +1 -5
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +25 -15
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +10 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +4 -12
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +4 -16
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +16 -218
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -2
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +4 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +16 -3
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +2 -2
- package/tencentcloud/services/tem/v20210701/tem_client.d.ts +23 -3
- package/tencentcloud/services/tem/v20210701/tem_client.js +32 -2
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +469 -98
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +8 -3
- package/test/cpdp.v20190820.test.js +2 -22
- package/test/tem.v20210701.test.js +50 -0
|
@@ -1762,21 +1762,6 @@ export interface QueryCloudChannelDataResponse {
|
|
|
1762
1762
|
RequestId?: string
|
|
1763
1763
|
}
|
|
1764
1764
|
|
|
1765
|
-
/**
|
|
1766
|
-
* QuerySinglePay返回参数结构体
|
|
1767
|
-
*/
|
|
1768
|
-
export interface QuerySinglePayResponse {
|
|
1769
|
-
/**
|
|
1770
|
-
* 返回结果
|
|
1771
|
-
*/
|
|
1772
|
-
Result: QuerySinglePayResult
|
|
1773
|
-
|
|
1774
|
-
/**
|
|
1775
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1776
|
-
*/
|
|
1777
|
-
RequestId?: string
|
|
1778
|
-
}
|
|
1779
|
-
|
|
1780
1765
|
/**
|
|
1781
1766
|
* UploadExternalAnchorInfo返回参数结构体
|
|
1782
1767
|
*/
|
|
@@ -4375,35 +4360,6 @@ export interface CreateInvoiceV2Response {
|
|
|
4375
4360
|
RequestId?: string
|
|
4376
4361
|
}
|
|
4377
4362
|
|
|
4378
|
-
/**
|
|
4379
|
-
* 银企直连-查询单笔支付状态条目
|
|
4380
|
-
*/
|
|
4381
|
-
export interface QuerySinglePayItem {
|
|
4382
|
-
/**
|
|
4383
|
-
* 付款状态(S:支付成功;P:支付处理中;F:支付失败)
|
|
4384
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4385
|
-
*/
|
|
4386
|
-
PayStatus: string
|
|
4387
|
-
|
|
4388
|
-
/**
|
|
4389
|
-
* 平台信息
|
|
4390
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4391
|
-
*/
|
|
4392
|
-
PlatformMsg: string
|
|
4393
|
-
|
|
4394
|
-
/**
|
|
4395
|
-
* 银行原始返回码
|
|
4396
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4397
|
-
*/
|
|
4398
|
-
BankRetCode: string
|
|
4399
|
-
|
|
4400
|
-
/**
|
|
4401
|
-
* 银行原始返回
|
|
4402
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4403
|
-
*/
|
|
4404
|
-
BankRetMsg: string
|
|
4405
|
-
}
|
|
4406
|
-
|
|
4407
4363
|
/**
|
|
4408
4364
|
* QueryInvoiceV2返回参数结构体
|
|
4409
4365
|
*/
|
|
@@ -5127,21 +5083,6 @@ export interface RevokeMemberRechargeThirdPayRequest {
|
|
|
5127
5083
|
Profile?: string
|
|
5128
5084
|
}
|
|
5129
5085
|
|
|
5130
|
-
/**
|
|
5131
|
-
* QuerySinglePay请求参数结构体
|
|
5132
|
-
*/
|
|
5133
|
-
export interface QuerySinglePayRequest {
|
|
5134
|
-
/**
|
|
5135
|
-
* 业务流水号
|
|
5136
|
-
*/
|
|
5137
|
-
SerialNumber: string
|
|
5138
|
-
|
|
5139
|
-
/**
|
|
5140
|
-
* 接入环境。沙箱环境填sandbox
|
|
5141
|
-
*/
|
|
5142
|
-
Profile?: string
|
|
5143
|
-
}
|
|
5144
|
-
|
|
5145
5086
|
/**
|
|
5146
5087
|
* ApplyTrade返回参数结构体
|
|
5147
5088
|
*/
|
|
@@ -10708,51 +10649,6 @@ export interface BindRelateAccReUnionPayRequest {
|
|
|
10708
10649
|
Profile?: string
|
|
10709
10650
|
}
|
|
10710
10651
|
|
|
10711
|
-
/**
|
|
10712
|
-
* 银企直连-单笔支付响应结果
|
|
10713
|
-
*/
|
|
10714
|
-
export interface CreateSinglePayResult {
|
|
10715
|
-
/**
|
|
10716
|
-
* 受理状态(S:处理成功;F:处理失败)
|
|
10717
|
-
*/
|
|
10718
|
-
HandleStatus: string
|
|
10719
|
-
|
|
10720
|
-
/**
|
|
10721
|
-
* 受理状态描述
|
|
10722
|
-
*/
|
|
10723
|
-
HandleMsg: string
|
|
10724
|
-
|
|
10725
|
-
/**
|
|
10726
|
-
* 业务流水号,历史唯一
|
|
10727
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10728
|
-
*/
|
|
10729
|
-
SerialNo: string
|
|
10730
|
-
|
|
10731
|
-
/**
|
|
10732
|
-
* 银行指令流水
|
|
10733
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10734
|
-
*/
|
|
10735
|
-
BankSerialNo: string
|
|
10736
|
-
|
|
10737
|
-
/**
|
|
10738
|
-
* 付款状态
|
|
10739
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10740
|
-
*/
|
|
10741
|
-
PayStatus: string
|
|
10742
|
-
|
|
10743
|
-
/**
|
|
10744
|
-
* 银行原始返回码
|
|
10745
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10746
|
-
*/
|
|
10747
|
-
BankRetCode: string
|
|
10748
|
-
|
|
10749
|
-
/**
|
|
10750
|
-
* 银行原始返回
|
|
10751
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10752
|
-
*/
|
|
10753
|
-
BankRetMsg: string
|
|
10754
|
-
}
|
|
10755
|
-
|
|
10756
10652
|
/**
|
|
10757
10653
|
* QueryAcctInfo返回参数结构体
|
|
10758
10654
|
*/
|
|
@@ -18716,21 +18612,6 @@ __test__:测试环境
|
|
|
18716
18612
|
Environment?: string
|
|
18717
18613
|
}
|
|
18718
18614
|
|
|
18719
|
-
/**
|
|
18720
|
-
* CreateSinglePay返回参数结构体
|
|
18721
|
-
*/
|
|
18722
|
-
export interface CreateSinglePayResponse {
|
|
18723
|
-
/**
|
|
18724
|
-
* 返回结果
|
|
18725
|
-
*/
|
|
18726
|
-
Result: CreateSinglePayResult
|
|
18727
|
-
|
|
18728
|
-
/**
|
|
18729
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
18730
|
-
*/
|
|
18731
|
-
RequestId?: string
|
|
18732
|
-
}
|
|
18733
|
-
|
|
18734
18615
|
/**
|
|
18735
18616
|
* MigrateOrderRefund请求参数结构体
|
|
18736
18617
|
*/
|
|
@@ -22505,39 +22386,6 @@ export interface AddFlexIdInfoResponse {
|
|
|
22505
22386
|
RequestId?: string
|
|
22506
22387
|
}
|
|
22507
22388
|
|
|
22508
|
-
/**
|
|
22509
|
-
* RefundOrder返回参数结构体
|
|
22510
|
-
*/
|
|
22511
|
-
export interface RefundOrderResponse {
|
|
22512
|
-
/**
|
|
22513
|
-
* 进件成功后返给商户方的AppId
|
|
22514
|
-
*/
|
|
22515
|
-
MerchantAppId: string
|
|
22516
|
-
|
|
22517
|
-
/**
|
|
22518
|
-
* 平台流水号。消费订单发起成功后,返回的平台唯一订单号。
|
|
22519
|
-
*/
|
|
22520
|
-
OrderNo: string
|
|
22521
|
-
|
|
22522
|
-
/**
|
|
22523
|
-
* 订单退款状态。0-退款失败
|
|
22524
|
-
1-退款成功
|
|
22525
|
-
2-可疑状态
|
|
22526
|
-
*/
|
|
22527
|
-
Status: string
|
|
22528
|
-
|
|
22529
|
-
/**
|
|
22530
|
-
* 订单退款状态描述
|
|
22531
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
22532
|
-
*/
|
|
22533
|
-
Description: string
|
|
22534
|
-
|
|
22535
|
-
/**
|
|
22536
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
22537
|
-
*/
|
|
22538
|
-
RequestId?: string
|
|
22539
|
-
}
|
|
22540
|
-
|
|
22541
22389
|
/**
|
|
22542
22390
|
* 银行在途清算结果信息
|
|
22543
22391
|
*/
|
|
@@ -24586,30 +24434,36 @@ export interface AmountBeforeTaxResult {
|
|
|
24586
24434
|
}
|
|
24587
24435
|
|
|
24588
24436
|
/**
|
|
24589
|
-
*
|
|
24437
|
+
* RefundOrder返回参数结构体
|
|
24590
24438
|
*/
|
|
24591
|
-
export interface
|
|
24439
|
+
export interface RefundOrderResponse {
|
|
24592
24440
|
/**
|
|
24593
|
-
*
|
|
24441
|
+
* 进件成功后返给商户方的AppId
|
|
24594
24442
|
*/
|
|
24595
|
-
|
|
24443
|
+
MerchantAppId: string
|
|
24596
24444
|
|
|
24597
24445
|
/**
|
|
24598
|
-
|
|
24599
|
-
|
|
24600
|
-
|
|
24601
|
-
HandleMsg: string
|
|
24446
|
+
* 平台流水号。消费订单发起成功后,返回的平台唯一订单号。
|
|
24447
|
+
*/
|
|
24448
|
+
OrderNo: string
|
|
24602
24449
|
|
|
24603
24450
|
/**
|
|
24604
|
-
|
|
24605
|
-
|
|
24606
|
-
|
|
24451
|
+
* 订单退款状态。0-退款失败
|
|
24452
|
+
1-退款成功
|
|
24453
|
+
2-可疑状态
|
|
24454
|
+
*/
|
|
24455
|
+
Status: string
|
|
24607
24456
|
|
|
24608
24457
|
/**
|
|
24609
|
-
*
|
|
24458
|
+
* 订单退款状态描述
|
|
24610
24459
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
24611
24460
|
*/
|
|
24612
|
-
|
|
24461
|
+
Description: string
|
|
24462
|
+
|
|
24463
|
+
/**
|
|
24464
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
24465
|
+
*/
|
|
24466
|
+
RequestId?: string
|
|
24613
24467
|
}
|
|
24614
24468
|
|
|
24615
24469
|
/**
|
|
@@ -25062,101 +24916,6 @@ READY: 可以下载
|
|
|
25062
24916
|
ReceiptStatus: string
|
|
25063
24917
|
}
|
|
25064
24918
|
|
|
25065
|
-
/**
|
|
25066
|
-
* CreateSinglePay请求参数结构体
|
|
25067
|
-
*/
|
|
25068
|
-
export interface CreateSinglePayRequest {
|
|
25069
|
-
/**
|
|
25070
|
-
* 业务流水号,历史唯一
|
|
25071
|
-
*/
|
|
25072
|
-
SerialNumber: string
|
|
25073
|
-
|
|
25074
|
-
/**
|
|
25075
|
-
* 付方账户号
|
|
25076
|
-
*/
|
|
25077
|
-
PayAccountNumber: string
|
|
25078
|
-
|
|
25079
|
-
/**
|
|
25080
|
-
* 付方账户名称
|
|
25081
|
-
*/
|
|
25082
|
-
PayAccountName: string
|
|
25083
|
-
|
|
25084
|
-
/**
|
|
25085
|
-
* 金额
|
|
25086
|
-
*/
|
|
25087
|
-
Amount: number
|
|
25088
|
-
|
|
25089
|
-
/**
|
|
25090
|
-
* 收方账户号
|
|
25091
|
-
*/
|
|
25092
|
-
RecvAccountNumber: string
|
|
25093
|
-
|
|
25094
|
-
/**
|
|
25095
|
-
* 收方账户名称
|
|
25096
|
-
*/
|
|
25097
|
-
RecvAccountName: string
|
|
25098
|
-
|
|
25099
|
-
/**
|
|
25100
|
-
* 付方账户CNAPS号
|
|
25101
|
-
*/
|
|
25102
|
-
PayBankCnaps?: string
|
|
25103
|
-
|
|
25104
|
-
/**
|
|
25105
|
-
* 付方账户银行大类,PayBankCnaps为空时必传(见常见问题-银企直连银行类型)
|
|
25106
|
-
*/
|
|
25107
|
-
PayBankType?: string
|
|
25108
|
-
|
|
25109
|
-
/**
|
|
25110
|
-
* 付方账户银行所在省,PayBankCnaps为空时必传(见常见问题-银企直连省份枚举信息)
|
|
25111
|
-
*/
|
|
25112
|
-
PayBankProvince?: string
|
|
25113
|
-
|
|
25114
|
-
/**
|
|
25115
|
-
* 付方账户银行所在地区,PayBankCnaps为空时必传(见常见问题-银企直连城市枚举信息)
|
|
25116
|
-
*/
|
|
25117
|
-
PayBankCity?: string
|
|
25118
|
-
|
|
25119
|
-
/**
|
|
25120
|
-
* 收方账户CNAPS号
|
|
25121
|
-
*/
|
|
25122
|
-
RecvBankCnaps?: string
|
|
25123
|
-
|
|
25124
|
-
/**
|
|
25125
|
-
* 收方账户银行大类,RecvBankCnaps为空时必传(见常见问题-银企直连银行类型)
|
|
25126
|
-
*/
|
|
25127
|
-
RecvBankType?: string
|
|
25128
|
-
|
|
25129
|
-
/**
|
|
25130
|
-
* 收方账户银行所在省,RecvBankCnaps为空时必传(见常见问题-银企直连省份枚举信息)
|
|
25131
|
-
*/
|
|
25132
|
-
RecvBankProvince?: string
|
|
25133
|
-
|
|
25134
|
-
/**
|
|
25135
|
-
* 收方账户银行所在地区,RecvBankCnaps为空时必传(见常见问题-银企直连城市枚举信息)
|
|
25136
|
-
*/
|
|
25137
|
-
RecvBankCity?: string
|
|
25138
|
-
|
|
25139
|
-
/**
|
|
25140
|
-
* 收款方证件类型(见常见问题-银企直连证件类型枚举信息)
|
|
25141
|
-
*/
|
|
25142
|
-
RecvCertType?: string
|
|
25143
|
-
|
|
25144
|
-
/**
|
|
25145
|
-
* 收款方证件号码
|
|
25146
|
-
*/
|
|
25147
|
-
RecvCertNo?: string
|
|
25148
|
-
|
|
25149
|
-
/**
|
|
25150
|
-
* 摘要信息
|
|
25151
|
-
*/
|
|
25152
|
-
Summary?: string
|
|
25153
|
-
|
|
25154
|
-
/**
|
|
25155
|
-
* 接入环境。沙箱环境填sandbox
|
|
25156
|
-
*/
|
|
25157
|
-
Profile?: string
|
|
25158
|
-
}
|
|
25159
|
-
|
|
25160
24919
|
/**
|
|
25161
24920
|
* QueryRefund返回参数结构体
|
|
25162
24921
|
*/
|
|
@@ -1404,7 +1404,7 @@ export interface InquiryPriceResizeInstanceDisksRequest {
|
|
|
1404
1404
|
*/
|
|
1405
1405
|
export interface RunInstancesResponse {
|
|
1406
1406
|
/**
|
|
1407
|
-
* 当通过本接口来创建实例时会返回该参数,表示一个或多个实例`ID`。返回实例`ID`列表并不代表实例创建成功,可根据 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口查询返回的InstancesSet中对应实例的`ID
|
|
1407
|
+
* 当通过本接口来创建实例时会返回该参数,表示一个或多个实例`ID`。返回实例`ID`列表并不代表实例创建成功,可根据 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口查询返回的InstancesSet中对应实例的`ID`的状态来判断创建是否完成;如果实例状态由“PENDING(创建中)”变为“运行中(RUNNING)”,则为创建成功。
|
|
1408
1408
|
*/
|
|
1409
1409
|
InstanceIdSet: Array<string>
|
|
1410
1410
|
|
|
@@ -3970,7 +3970,7 @@ export interface RunInstancesRequest {
|
|
|
3970
3970
|
DataDisks?: Array<DataDisk>
|
|
3971
3971
|
|
|
3972
3972
|
/**
|
|
3973
|
-
* 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID
|
|
3973
|
+
* 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID等信息。若在此参数中指定了私有网络IP,即表示每个实例的主网卡IP;同时,InstanceCount参数必须与私有网络IP的个数一致且不能大于20。
|
|
3974
3974
|
*/
|
|
3975
3975
|
VirtualPrivateCloud?: VirtualPrivateCloud
|
|
3976
3976
|
|
|
@@ -395,9 +395,19 @@ export interface GetEidTokenConfig {
|
|
|
395
395
|
UseIntentionVerify?: boolean
|
|
396
396
|
|
|
397
397
|
/**
|
|
398
|
-
*
|
|
398
|
+
* 意愿核身模式。枚举值:1( 朗读模式),2(问答模式) 。默认值1
|
|
399
|
+
*/
|
|
400
|
+
IntentionMode?: string
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* 意愿核身朗读模式使用的文案,若未使用意愿核身朗读功能,该字段无需传入。默认为空,最长可接受120的字符串长度。
|
|
399
404
|
*/
|
|
400
405
|
IntentionVerifyText?: string
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* 意愿核身问答模式的配置列表。当前仅支持一个问答。
|
|
409
|
+
*/
|
|
410
|
+
IntentionQuestions?: Array<IntentionQuestion>
|
|
401
411
|
}
|
|
402
412
|
|
|
403
413
|
/**
|
|
@@ -607,7 +617,7 @@ export interface GetEidResultRequest {
|
|
|
607
617
|
EidToken: string
|
|
608
618
|
|
|
609
619
|
/**
|
|
610
|
-
* 指定拉取的结果信息,取值(0:全部;1:文本类;2:身份证信息;3:最佳截图信息;5
|
|
620
|
+
* 指定拉取的结果信息,取值(0:全部;1:文本类;2:身份证信息;3:最佳截图信息;5:意愿核身朗读模式相关结果;6:意愿核身问答模式相关结果)。
|
|
611
621
|
如 13表示拉取文本类、最佳截图信息。
|
|
612
622
|
默认值:0
|
|
613
623
|
*/
|
|
@@ -1874,11 +1884,17 @@ export interface GetEidResultResponse {
|
|
|
1874
1884
|
EidInfo: EidInfo
|
|
1875
1885
|
|
|
1876
1886
|
/**
|
|
1877
|
-
*
|
|
1887
|
+
* 意愿核身朗读模式相关信息。若未使用意愿核身朗读功能,该字段返回值可以不处理。
|
|
1878
1888
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1879
1889
|
*/
|
|
1880
1890
|
IntentionVerifyData: IntentionVerifyData
|
|
1881
1891
|
|
|
1892
|
+
/**
|
|
1893
|
+
* 意愿核身问答模式相关信息。若未使用意愿核身问答模式功能,该字段返回值可以不处理。
|
|
1894
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1895
|
+
*/
|
|
1896
|
+
IntentionQuestionResult: IntentionQuestionResult
|
|
1897
|
+
|
|
1882
1898
|
/**
|
|
1883
1899
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1884
1900
|
*/
|
|
@@ -4608,7 +4608,7 @@ export interface TcrRepositoryInfo {
|
|
|
4608
4608
|
Namespace: string
|
|
4609
4609
|
|
|
4610
4610
|
/**
|
|
4611
|
-
*
|
|
4611
|
+
* 创建时间,格式"2006-01-02 15:04:05.999999999 -0700 MST"
|
|
4612
4612
|
*/
|
|
4613
4613
|
CreationTime: string
|
|
4614
4614
|
|
|
@@ -4630,7 +4630,7 @@ export interface TcrRepositoryInfo {
|
|
|
4630
4630
|
BriefDescription: string
|
|
4631
4631
|
|
|
4632
4632
|
/**
|
|
4633
|
-
*
|
|
4633
|
+
* 更新时间,格式"2006-01-02 15:04:05.999999999 -0700 MST"
|
|
4634
4634
|
*/
|
|
4635
4635
|
UpdateTime: string
|
|
4636
4636
|
}
|
|
@@ -24,6 +24,7 @@ import {
|
|
|
24
24
|
DescribeApplicationInfoResponse,
|
|
25
25
|
ModifyIngressResponse,
|
|
26
26
|
RestartApplicationPodRequest,
|
|
27
|
+
DestroyLogConfigResponse,
|
|
27
28
|
ResumeDeployApplicationResponse,
|
|
28
29
|
StorageConf,
|
|
29
30
|
DescribeApplicationPodsRequest,
|
|
@@ -34,7 +35,7 @@ import {
|
|
|
34
35
|
ModifyApplicationAutoscalerResponse,
|
|
35
36
|
RollingUpdateApplicationByVersionRequest,
|
|
36
37
|
CreateCosTokenResponse,
|
|
37
|
-
|
|
38
|
+
ModifyLogConfigResponse,
|
|
38
39
|
RollingUpdateApplicationByVersionResponse,
|
|
39
40
|
StopApplicationRequest,
|
|
40
41
|
ModifyApplicationInfoRequest,
|
|
@@ -46,9 +47,11 @@ import {
|
|
|
46
47
|
DescribeApplicationsResponse,
|
|
47
48
|
IngressInfo,
|
|
48
49
|
DescribeEnvironmentsRequest,
|
|
49
|
-
|
|
50
|
+
LogConfigListPage,
|
|
51
|
+
ServiceVersionBrief,
|
|
50
52
|
CreateEnvironmentRequest,
|
|
51
53
|
NodeInfo,
|
|
54
|
+
DescribeLogConfigRequest,
|
|
52
55
|
TemDeployApplicationDetailInfo,
|
|
53
56
|
DescribeEnvironmentStatusResponse,
|
|
54
57
|
IngressTls,
|
|
@@ -56,13 +59,15 @@ import {
|
|
|
56
59
|
DescribeConfigDataListRequest,
|
|
57
60
|
ServicePage,
|
|
58
61
|
TemServiceVersionInfo,
|
|
62
|
+
ServicePortMapping,
|
|
59
63
|
CreateCosTokenRequest,
|
|
60
64
|
ModifyApplicationAutoscalerRequest,
|
|
61
|
-
|
|
65
|
+
ModifyConfigDataResponse,
|
|
62
66
|
ModifyIngressRequest,
|
|
63
67
|
EnablePrometheusConf,
|
|
64
68
|
DescribeIngressesRequest,
|
|
65
69
|
StorageMountConf,
|
|
70
|
+
CreateLogConfigRequest,
|
|
66
71
|
RestartApplicationResponse,
|
|
67
72
|
DescribeIngressesResponse,
|
|
68
73
|
ModifyConfigDataRequest,
|
|
@@ -84,7 +89,7 @@ import {
|
|
|
84
89
|
DescribeApplicationAutoscalerListRequest,
|
|
85
90
|
DescribeApplicationsStatusResponse,
|
|
86
91
|
DescribeDeployApplicationDetailRequest,
|
|
87
|
-
|
|
92
|
+
DeleteIngressRequest,
|
|
88
93
|
DescribeRelatedIngressesRequest,
|
|
89
94
|
CosToken,
|
|
90
95
|
GenerateApplicationPackageDownloadUrlRequest,
|
|
@@ -92,6 +97,7 @@ import {
|
|
|
92
97
|
DeleteApplicationAutoscalerResponse,
|
|
93
98
|
DescribeRelatedIngressesResponse,
|
|
94
99
|
TemNamespaceInfo,
|
|
100
|
+
DescribePagedLogConfigListRequest,
|
|
95
101
|
TemEnvironmentStartingStatus,
|
|
96
102
|
TemService,
|
|
97
103
|
IngressRule,
|
|
@@ -103,7 +109,9 @@ import {
|
|
|
103
109
|
ResumeDeployApplicationRequest,
|
|
104
110
|
DescribeConfigDataRequest,
|
|
105
111
|
MountedSettingConf,
|
|
112
|
+
CreateLogConfigResponse,
|
|
106
113
|
DescribeConfigDataListResponse,
|
|
114
|
+
DescribePagedLogConfigListResponse,
|
|
107
115
|
HealthCheckConfig,
|
|
108
116
|
DeployServiceBatchDetail,
|
|
109
117
|
Autoscaler,
|
|
@@ -120,19 +128,25 @@ import {
|
|
|
120
128
|
DescribeRunPodPage,
|
|
121
129
|
ModifyApplicationReplicasResponse,
|
|
122
130
|
UseDefaultRepoParameters,
|
|
131
|
+
CronHorizontalAutoscalerSchedule,
|
|
132
|
+
ModifyEnvironmentRequest,
|
|
123
133
|
GenerateApplicationPackageDownloadUrlResponse,
|
|
124
134
|
IngressRuleBackend,
|
|
125
135
|
DeployStrategyConf,
|
|
126
136
|
DescribeIngressResponse,
|
|
127
137
|
WorkloadInfo,
|
|
128
138
|
IngressRulePath,
|
|
129
|
-
|
|
139
|
+
DescribeLogConfigResponse,
|
|
140
|
+
ServicePortMappingItem,
|
|
141
|
+
RevertDeployApplicationRequest,
|
|
130
142
|
CreateApplicationResponse,
|
|
131
143
|
HorizontalAutoscaler,
|
|
132
144
|
PortMapping,
|
|
133
145
|
ModifyEnvironmentResponse,
|
|
134
146
|
ModifyApplicationReplicasRequest,
|
|
135
|
-
|
|
147
|
+
ModifyLogConfigRequest,
|
|
148
|
+
DestroyLogConfigRequest,
|
|
149
|
+
LogConfig,
|
|
136
150
|
EksService,
|
|
137
151
|
Pair,
|
|
138
152
|
} from "./tem_models"
|
|
@@ -166,6 +180,16 @@ export class Client extends AbstractClient {
|
|
|
166
180
|
return this.request("DescribeApplicationsStatus", req, cb)
|
|
167
181
|
}
|
|
168
182
|
|
|
183
|
+
/**
|
|
184
|
+
* 查询分页的日志收集配置列表
|
|
185
|
+
*/
|
|
186
|
+
async DescribePagedLogConfigList(
|
|
187
|
+
req: DescribePagedLogConfigListRequest,
|
|
188
|
+
cb?: (error: string, rep: DescribePagedLogConfigListResponse) => void
|
|
189
|
+
): Promise<DescribePagedLogConfigListResponse> {
|
|
190
|
+
return this.request("DescribePagedLogConfigList", req, cb)
|
|
191
|
+
}
|
|
192
|
+
|
|
169
193
|
/**
|
|
170
194
|
* 创建或者更新 Ingress 规则
|
|
171
195
|
*/
|
|
@@ -206,6 +230,16 @@ export class Client extends AbstractClient {
|
|
|
206
230
|
return this.request("RestartApplicationPod", req, cb)
|
|
207
231
|
}
|
|
208
232
|
|
|
233
|
+
/**
|
|
234
|
+
* 编辑日志收集配置
|
|
235
|
+
*/
|
|
236
|
+
async ModifyLogConfig(
|
|
237
|
+
req: ModifyLogConfigRequest,
|
|
238
|
+
cb?: (error: string, rep: ModifyLogConfigResponse) => void
|
|
239
|
+
): Promise<ModifyLogConfigResponse> {
|
|
240
|
+
return this.request("ModifyLogConfig", req, cb)
|
|
241
|
+
}
|
|
242
|
+
|
|
209
243
|
/**
|
|
210
244
|
* 服务删除
|
|
211
245
|
- 停止当前运行服务
|
|
@@ -289,6 +323,16 @@ export class Client extends AbstractClient {
|
|
|
289
323
|
return this.request("ModifyEnvironment", req, cb)
|
|
290
324
|
}
|
|
291
325
|
|
|
326
|
+
/**
|
|
327
|
+
* 查询日志收集配置详情
|
|
328
|
+
*/
|
|
329
|
+
async DescribeLogConfig(
|
|
330
|
+
req: DescribeLogConfigRequest,
|
|
331
|
+
cb?: (error: string, rep: DescribeLogConfigResponse) => void
|
|
332
|
+
): Promise<DescribeLogConfigResponse> {
|
|
333
|
+
return this.request("DescribeLogConfig", req, cb)
|
|
334
|
+
}
|
|
335
|
+
|
|
292
336
|
/**
|
|
293
337
|
* 服务停止
|
|
294
338
|
*/
|
|
@@ -299,6 +343,16 @@ export class Client extends AbstractClient {
|
|
|
299
343
|
return this.request("StopApplication", req, cb)
|
|
300
344
|
}
|
|
301
345
|
|
|
346
|
+
/**
|
|
347
|
+
* 创建日志收集配置
|
|
348
|
+
*/
|
|
349
|
+
async CreateLogConfig(
|
|
350
|
+
req: CreateLogConfigRequest,
|
|
351
|
+
cb?: (error: string, rep: CreateLogConfigResponse) => void
|
|
352
|
+
): Promise<CreateLogConfigResponse> {
|
|
353
|
+
return this.request("CreateLogConfig", req, cb)
|
|
354
|
+
}
|
|
355
|
+
|
|
302
356
|
/**
|
|
303
357
|
* 服务基本信息查看
|
|
304
358
|
*/
|
|
@@ -360,7 +414,7 @@ export class Client extends AbstractClient {
|
|
|
360
414
|
}
|
|
361
415
|
|
|
362
416
|
/**
|
|
363
|
-
*
|
|
417
|
+
* 获取环境列表
|
|
364
418
|
*/
|
|
365
419
|
async DescribeEnvironments(
|
|
366
420
|
req: DescribeEnvironmentsRequest,
|
|
@@ -469,6 +523,16 @@ export class Client extends AbstractClient {
|
|
|
469
523
|
return this.request("RevertDeployApplication", req, cb)
|
|
470
524
|
}
|
|
471
525
|
|
|
526
|
+
/**
|
|
527
|
+
* 销毁日志收集配置
|
|
528
|
+
*/
|
|
529
|
+
async DestroyLogConfig(
|
|
530
|
+
req: DestroyLogConfigRequest,
|
|
531
|
+
cb?: (error: string, rep: DestroyLogConfigResponse) => void
|
|
532
|
+
): Promise<DestroyLogConfigResponse> {
|
|
533
|
+
return this.request("DestroyLogConfig", req, cb)
|
|
534
|
+
}
|
|
535
|
+
|
|
472
536
|
/**
|
|
473
537
|
* 查询应用关联的 Ingress 规则列表
|
|
474
538
|
*/
|
|
@@ -510,7 +574,7 @@ export class Client extends AbstractClient {
|
|
|
510
574
|
}
|
|
511
575
|
|
|
512
576
|
/**
|
|
513
|
-
*
|
|
577
|
+
* 销毁环境
|
|
514
578
|
*/
|
|
515
579
|
async DestroyEnvironment(
|
|
516
580
|
req: DestroyEnvironmentRequest,
|