tencentcloud-sdk-nodejs 4.0.249 → 4.0.250
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 +166 -136
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_models.ts +20 -0
- package/src/services/asr/v20190614/asr_client.ts +2 -2
- package/src/services/asr/v20190614/asr_models.ts +4 -2
- package/src/services/ccc/v20200210/ccc_client.ts +31 -15
- package/src/services/ccc/v20200210/ccc_models.ts +334 -179
- package/src/services/cdn/v20180606/cdn_client.ts +1 -0
- package/src/services/cdn/v20180606/cdn_models.ts +45 -4
- package/src/services/cpdp/v20190820/cpdp_client.ts +34 -9
- package/src/services/cpdp/v20190820/cpdp_models.ts +266 -159
- package/src/services/domain/v20180808/domain_models.ts +20 -0
- package/src/services/ecm/v20190719/ecm_models.ts +2 -2
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +26 -13
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +71 -21
- package/src/services/postgres/v20170312/postgres_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +16 -0
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +2 -2
- package/tencentcloud/services/asr/v20190614/asr_client.js +2 -2
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +4 -2
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +9 -5
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +12 -6
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +283 -153
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +39 -4
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +11 -3
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +15 -3
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +227 -136
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +16 -0
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +2 -2
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +9 -5
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +12 -6
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +61 -18
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +1 -1
- package/test/ccc.v20200210.test.js +14 -4
- package/test/cpdp.v20190820.test.js +22 -2
- package/test/iotexplorer.v20190423.test.js +14 -4
|
@@ -474,6 +474,15 @@ export interface QueryContractPayWayListRequest {
|
|
|
474
474
|
*/
|
|
475
475
|
Profile?: string;
|
|
476
476
|
}
|
|
477
|
+
/**
|
|
478
|
+
* QueryAssignment请求参数结构体
|
|
479
|
+
*/
|
|
480
|
+
export interface QueryAssignmentRequest {
|
|
481
|
+
/**
|
|
482
|
+
* 主播ID
|
|
483
|
+
*/
|
|
484
|
+
AnchorId: string;
|
|
485
|
+
}
|
|
477
486
|
/**
|
|
478
487
|
* QueryMemberTransaction返回参数结构体
|
|
479
488
|
*/
|
|
@@ -3190,68 +3199,25 @@ export interface QueryDeclareData {
|
|
|
3190
3199
|
Status: string;
|
|
3191
3200
|
}
|
|
3192
3201
|
/**
|
|
3193
|
-
*
|
|
3202
|
+
* QueryContractPayFee请求参数结构体
|
|
3194
3203
|
*/
|
|
3195
|
-
export interface
|
|
3196
|
-
/**
|
|
3197
|
-
* 聚鑫分配的支付主MidasAppId
|
|
3198
|
-
*/
|
|
3199
|
-
MidasAppId: string;
|
|
3200
|
-
/**
|
|
3201
|
-
* 用户ID,长度不小于5位,仅支持字母和数字的组合
|
|
3202
|
-
*/
|
|
3203
|
-
UserId: string;
|
|
3204
|
-
/**
|
|
3205
|
-
* 签约使用的渠道
|
|
3206
|
-
*/
|
|
3207
|
-
Channel: string;
|
|
3208
|
-
/**
|
|
3209
|
-
* 业务签约合同协议号
|
|
3210
|
-
*/
|
|
3211
|
-
OutContractCode: string;
|
|
3212
|
-
/**
|
|
3213
|
-
* 签约状态,枚举值
|
|
3214
|
-
CONTRACT_STATUS_INVALID=无效状态
|
|
3215
|
-
CONTRACT_STATUS_SIGNED=已签约
|
|
3216
|
-
CONTRACT_STATUS_TERMINATED=已解约
|
|
3217
|
-
CONTRACT_STATUS_PENDING=签约进行中
|
|
3218
|
-
*/
|
|
3219
|
-
ContractStatus: string;
|
|
3220
|
-
/**
|
|
3221
|
-
* 签约同步信息
|
|
3222
|
-
*/
|
|
3223
|
-
ContractSyncInfo: ContractSyncInfo;
|
|
3224
|
-
/**
|
|
3225
|
-
* 按照聚鑫安全密钥计算的签名
|
|
3226
|
-
*/
|
|
3227
|
-
MidasSignature: string;
|
|
3228
|
-
/**
|
|
3229
|
-
* 聚鑫分配的安全ID
|
|
3230
|
-
*/
|
|
3231
|
-
MidasSecretId: string;
|
|
3204
|
+
export interface QueryContractPayFeeRequest {
|
|
3232
3205
|
/**
|
|
3233
|
-
*
|
|
3206
|
+
* 收单系统分配的开放ID
|
|
3234
3207
|
*/
|
|
3235
|
-
|
|
3208
|
+
OpenId: string;
|
|
3236
3209
|
/**
|
|
3237
|
-
*
|
|
3238
|
-
USER_ID: 用户ID
|
|
3239
|
-
ANONYMOUS: 匿名类型 USER_ID
|
|
3240
|
-
默认值为 USER_ID
|
|
3210
|
+
* 收单系统分配的密钥
|
|
3241
3211
|
*/
|
|
3242
|
-
|
|
3212
|
+
OpenKey: string;
|
|
3243
3213
|
/**
|
|
3244
|
-
*
|
|
3214
|
+
* 支付方式编号
|
|
3245
3215
|
*/
|
|
3246
|
-
|
|
3216
|
+
PaymentId: string;
|
|
3247
3217
|
/**
|
|
3248
|
-
*
|
|
3249
|
-
release: 现网环境
|
|
3250
|
-
sandbox: 沙箱环境
|
|
3251
|
-
development: 开发环境
|
|
3252
|
-
缺省: release
|
|
3218
|
+
* 沙箱环境填sandbox,正式环境不填
|
|
3253
3219
|
*/
|
|
3254
|
-
|
|
3220
|
+
Profile?: string;
|
|
3255
3221
|
}
|
|
3256
3222
|
/**
|
|
3257
3223
|
* 订单退款响应对象
|
|
@@ -5266,6 +5232,23 @@ export interface UnifiedTlinxOrderRequest {
|
|
|
5266
5232
|
*/
|
|
5267
5233
|
Royalty?: string;
|
|
5268
5234
|
}
|
|
5235
|
+
/**
|
|
5236
|
+
* DeduceQuota请求参数结构体
|
|
5237
|
+
*/
|
|
5238
|
+
export interface DeduceQuotaRequest {
|
|
5239
|
+
/**
|
|
5240
|
+
* 主播ID
|
|
5241
|
+
*/
|
|
5242
|
+
AnchorId: string;
|
|
5243
|
+
/**
|
|
5244
|
+
* 提现金额,单位为"分"
|
|
5245
|
+
*/
|
|
5246
|
+
Amount: number;
|
|
5247
|
+
/**
|
|
5248
|
+
* 外部业务订单号
|
|
5249
|
+
*/
|
|
5250
|
+
OrderId: string;
|
|
5251
|
+
}
|
|
5269
5252
|
/**
|
|
5270
5253
|
* RevokeMemberRechargeThirdPay请求参数结构体
|
|
5271
5254
|
*/
|
|
@@ -6023,25 +6006,68 @@ export interface AgentTaxPaymentBatch {
|
|
|
6023
6006
|
Type: number;
|
|
6024
6007
|
}
|
|
6025
6008
|
/**
|
|
6026
|
-
*
|
|
6009
|
+
* SyncContractData请求参数结构体
|
|
6027
6010
|
*/
|
|
6028
|
-
export interface
|
|
6011
|
+
export interface SyncContractDataRequest {
|
|
6029
6012
|
/**
|
|
6030
|
-
*
|
|
6013
|
+
* 聚鑫分配的支付主MidasAppId
|
|
6031
6014
|
*/
|
|
6032
|
-
|
|
6015
|
+
MidasAppId: string;
|
|
6033
6016
|
/**
|
|
6034
|
-
*
|
|
6017
|
+
* 用户ID,长度不小于5位,仅支持字母和数字的组合
|
|
6035
6018
|
*/
|
|
6036
|
-
|
|
6019
|
+
UserId: string;
|
|
6037
6020
|
/**
|
|
6038
|
-
*
|
|
6021
|
+
* 签约使用的渠道
|
|
6039
6022
|
*/
|
|
6040
|
-
|
|
6023
|
+
Channel: string;
|
|
6041
6024
|
/**
|
|
6042
|
-
*
|
|
6025
|
+
* 业务签约合同协议号
|
|
6043
6026
|
*/
|
|
6044
|
-
|
|
6027
|
+
OutContractCode: string;
|
|
6028
|
+
/**
|
|
6029
|
+
* 签约状态,枚举值
|
|
6030
|
+
CONTRACT_STATUS_INVALID=无效状态
|
|
6031
|
+
CONTRACT_STATUS_SIGNED=已签约
|
|
6032
|
+
CONTRACT_STATUS_TERMINATED=已解约
|
|
6033
|
+
CONTRACT_STATUS_PENDING=签约进行中
|
|
6034
|
+
*/
|
|
6035
|
+
ContractStatus: string;
|
|
6036
|
+
/**
|
|
6037
|
+
* 签约同步信息
|
|
6038
|
+
*/
|
|
6039
|
+
ContractSyncInfo: ContractSyncInfo;
|
|
6040
|
+
/**
|
|
6041
|
+
* 按照聚鑫安全密钥计算的签名
|
|
6042
|
+
*/
|
|
6043
|
+
MidasSignature: string;
|
|
6044
|
+
/**
|
|
6045
|
+
* 聚鑫分配的安全ID
|
|
6046
|
+
*/
|
|
6047
|
+
MidasSecretId: string;
|
|
6048
|
+
/**
|
|
6049
|
+
* 聚鑫计费SubAppId,代表子商户
|
|
6050
|
+
*/
|
|
6051
|
+
SubAppId?: string;
|
|
6052
|
+
/**
|
|
6053
|
+
* 用户类型,枚举值
|
|
6054
|
+
USER_ID: 用户ID
|
|
6055
|
+
ANONYMOUS: 匿名类型 USER_ID
|
|
6056
|
+
默认值为 USER_ID
|
|
6057
|
+
*/
|
|
6058
|
+
UserType?: string;
|
|
6059
|
+
/**
|
|
6060
|
+
* 场景信息
|
|
6061
|
+
*/
|
|
6062
|
+
SceneInfo?: SceneInfo;
|
|
6063
|
+
/**
|
|
6064
|
+
* 环境名:
|
|
6065
|
+
release: 现网环境
|
|
6066
|
+
sandbox: 沙箱环境
|
|
6067
|
+
development: 开发环境
|
|
6068
|
+
缺省: release
|
|
6069
|
+
*/
|
|
6070
|
+
MidasEnvironment?: string;
|
|
6045
6071
|
}
|
|
6046
6072
|
/**
|
|
6047
6073
|
* RechargeByThirdPay请求参数结构体
|
|
@@ -7416,6 +7442,28 @@ development: 开发环境
|
|
|
7416
7442
|
*/
|
|
7417
7443
|
WithdrawOrderId?: string;
|
|
7418
7444
|
}
|
|
7445
|
+
/**
|
|
7446
|
+
* QueryAssignment返回参数结构体
|
|
7447
|
+
*/
|
|
7448
|
+
export interface QueryAssignmentResponse {
|
|
7449
|
+
/**
|
|
7450
|
+
* 错误码。响应成功:"SUCCESS",其他为不成功。
|
|
7451
|
+
*/
|
|
7452
|
+
ErrCode: string;
|
|
7453
|
+
/**
|
|
7454
|
+
* 响应消息
|
|
7455
|
+
*/
|
|
7456
|
+
ErrMsg: string;
|
|
7457
|
+
/**
|
|
7458
|
+
* 返回响应
|
|
7459
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7460
|
+
*/
|
|
7461
|
+
Result: AssignmentData;
|
|
7462
|
+
/**
|
|
7463
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7464
|
+
*/
|
|
7465
|
+
RequestId?: string;
|
|
7466
|
+
}
|
|
7419
7467
|
/**
|
|
7420
7468
|
* QuerySinglePaymentResult返回参数结构体
|
|
7421
7469
|
*/
|
|
@@ -11668,6 +11716,91 @@ export interface CreateAgentTaxPaymentInfosResponse {
|
|
|
11668
11716
|
*/
|
|
11669
11717
|
RequestId?: string;
|
|
11670
11718
|
}
|
|
11719
|
+
/**
|
|
11720
|
+
* 合同-支付方式列表响应对象
|
|
11721
|
+
*/
|
|
11722
|
+
export interface ContractPayListResult {
|
|
11723
|
+
/**
|
|
11724
|
+
* 支付标签
|
|
11725
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11726
|
+
*/
|
|
11727
|
+
PaymentTag: string;
|
|
11728
|
+
/**
|
|
11729
|
+
* 支付方式图片url路径
|
|
11730
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11731
|
+
*/
|
|
11732
|
+
PaymentIcon: string;
|
|
11733
|
+
/**
|
|
11734
|
+
* 支付方式
|
|
11735
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11736
|
+
*/
|
|
11737
|
+
PaymentOptionSix?: string;
|
|
11738
|
+
/**
|
|
11739
|
+
* 付款方式名称
|
|
11740
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11741
|
+
*/
|
|
11742
|
+
PaymentName: string;
|
|
11743
|
+
/**
|
|
11744
|
+
* 支付方式
|
|
11745
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11746
|
+
*/
|
|
11747
|
+
PaymentOptionSeven?: string;
|
|
11748
|
+
/**
|
|
11749
|
+
* 支付方式
|
|
11750
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11751
|
+
*/
|
|
11752
|
+
PaymentOptionTwo?: string;
|
|
11753
|
+
/**
|
|
11754
|
+
* 支付方式
|
|
11755
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11756
|
+
*/
|
|
11757
|
+
PaymentOptionOne?: string;
|
|
11758
|
+
/**
|
|
11759
|
+
* 支付方式
|
|
11760
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11761
|
+
*/
|
|
11762
|
+
PaymentOptionOther?: string;
|
|
11763
|
+
/**
|
|
11764
|
+
* 支持的交易类型(多个以小写逗号分开,0现金,1刷卡,2主扫,3被扫,4JSPAY,5预授权)
|
|
11765
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11766
|
+
*/
|
|
11767
|
+
PaymentType: string;
|
|
11768
|
+
/**
|
|
11769
|
+
* 支付方式
|
|
11770
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11771
|
+
*/
|
|
11772
|
+
PaymentOptionFive?: string;
|
|
11773
|
+
/**
|
|
11774
|
+
* 支付方式
|
|
11775
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11776
|
+
*/
|
|
11777
|
+
PaymentOptionNine?: string;
|
|
11778
|
+
/**
|
|
11779
|
+
* 支付方式编号
|
|
11780
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11781
|
+
*/
|
|
11782
|
+
PaymentId: string;
|
|
11783
|
+
/**
|
|
11784
|
+
* 支付方式
|
|
11785
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11786
|
+
*/
|
|
11787
|
+
PaymentOptionThree?: string;
|
|
11788
|
+
/**
|
|
11789
|
+
* 付款方式名称(内部名称)
|
|
11790
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11791
|
+
*/
|
|
11792
|
+
PaymentInternalName: string;
|
|
11793
|
+
/**
|
|
11794
|
+
* 支付方式
|
|
11795
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11796
|
+
*/
|
|
11797
|
+
PaymentOptionFour?: string;
|
|
11798
|
+
/**
|
|
11799
|
+
* 支付方式
|
|
11800
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11801
|
+
*/
|
|
11802
|
+
PaymentOptionTen?: string;
|
|
11803
|
+
}
|
|
11671
11804
|
/**
|
|
11672
11805
|
* 发票结果
|
|
11673
11806
|
*/
|
|
@@ -12433,6 +12566,27 @@ export interface ApplyOutwardOrderRequest {
|
|
|
12433
12566
|
*/
|
|
12434
12567
|
Profile?: string;
|
|
12435
12568
|
}
|
|
12569
|
+
/**
|
|
12570
|
+
* 分配关系
|
|
12571
|
+
*/
|
|
12572
|
+
export interface AssignmentData {
|
|
12573
|
+
/**
|
|
12574
|
+
* 主播ID
|
|
12575
|
+
*/
|
|
12576
|
+
AnchorId: string;
|
|
12577
|
+
/**
|
|
12578
|
+
* 主播名称
|
|
12579
|
+
*/
|
|
12580
|
+
AnchorName: string;
|
|
12581
|
+
/**
|
|
12582
|
+
* 代理商ID
|
|
12583
|
+
*/
|
|
12584
|
+
AgentId: string;
|
|
12585
|
+
/**
|
|
12586
|
+
* 代理商名称
|
|
12587
|
+
*/
|
|
12588
|
+
AgentName: string;
|
|
12589
|
+
}
|
|
12436
12590
|
/**
|
|
12437
12591
|
* DistributeAccreditTlinx返回参数结构体
|
|
12438
12592
|
*/
|
|
@@ -13244,89 +13398,26 @@ export interface ApplyTradeData {
|
|
|
13244
13398
|
Status: string;
|
|
13245
13399
|
}
|
|
13246
13400
|
/**
|
|
13247
|
-
*
|
|
13401
|
+
* DeduceQuota返回参数结构体
|
|
13248
13402
|
*/
|
|
13249
|
-
export interface
|
|
13250
|
-
/**
|
|
13251
|
-
* 支付标签
|
|
13252
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13253
|
-
*/
|
|
13254
|
-
PaymentTag: string;
|
|
13255
|
-
/**
|
|
13256
|
-
* 支付方式图片url路径
|
|
13257
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13258
|
-
*/
|
|
13259
|
-
PaymentIcon: string;
|
|
13260
|
-
/**
|
|
13261
|
-
* 支付方式
|
|
13262
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13263
|
-
*/
|
|
13264
|
-
PaymentOptionSix?: string;
|
|
13265
|
-
/**
|
|
13266
|
-
* 付款方式名称
|
|
13267
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13268
|
-
*/
|
|
13269
|
-
PaymentName: string;
|
|
13270
|
-
/**
|
|
13271
|
-
* 支付方式
|
|
13272
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13273
|
-
*/
|
|
13274
|
-
PaymentOptionSeven?: string;
|
|
13275
|
-
/**
|
|
13276
|
-
* 支付方式
|
|
13277
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13278
|
-
*/
|
|
13279
|
-
PaymentOptionTwo?: string;
|
|
13280
|
-
/**
|
|
13281
|
-
* 支付方式
|
|
13282
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13283
|
-
*/
|
|
13284
|
-
PaymentOptionOne?: string;
|
|
13403
|
+
export interface DeduceQuotaResponse {
|
|
13285
13404
|
/**
|
|
13286
|
-
*
|
|
13287
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13288
|
-
*/
|
|
13289
|
-
PaymentOptionOther?: string;
|
|
13290
|
-
/**
|
|
13291
|
-
* 支持的交易类型(多个以小写逗号分开,0现金,1刷卡,2主扫,3被扫,4JSPAY,5预授权)
|
|
13292
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13293
|
-
*/
|
|
13294
|
-
PaymentType: string;
|
|
13295
|
-
/**
|
|
13296
|
-
* 支付方式
|
|
13297
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13298
|
-
*/
|
|
13299
|
-
PaymentOptionFive?: string;
|
|
13300
|
-
/**
|
|
13301
|
-
* 支付方式
|
|
13302
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13303
|
-
*/
|
|
13304
|
-
PaymentOptionNine?: string;
|
|
13305
|
-
/**
|
|
13306
|
-
* 支付方式编号
|
|
13307
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13308
|
-
*/
|
|
13309
|
-
PaymentId: string;
|
|
13310
|
-
/**
|
|
13311
|
-
* 支付方式
|
|
13312
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13405
|
+
* 错误码。响应成功:"SUCCESS",其他为不成功。
|
|
13313
13406
|
*/
|
|
13314
|
-
|
|
13407
|
+
ErrCode: string;
|
|
13315
13408
|
/**
|
|
13316
|
-
*
|
|
13317
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13409
|
+
* 响应消息
|
|
13318
13410
|
*/
|
|
13319
|
-
|
|
13411
|
+
ErrMsg: string;
|
|
13320
13412
|
/**
|
|
13321
|
-
*
|
|
13413
|
+
* 返回响应
|
|
13322
13414
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13323
13415
|
*/
|
|
13324
|
-
|
|
13416
|
+
Result: AssignmentData;
|
|
13325
13417
|
/**
|
|
13326
|
-
*
|
|
13327
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13418
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
13328
13419
|
*/
|
|
13329
|
-
|
|
13420
|
+
RequestId?: string;
|
|
13330
13421
|
}
|
|
13331
13422
|
/**
|
|
13332
13423
|
* 米大师内部存放的合约信息
|
|
@@ -161,6 +161,14 @@ false:关闭60天内禁止转移注册商锁定
|
|
|
161
161
|
默认 true
|
|
162
162
|
*/
|
|
163
163
|
LockTransfer?: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* 是否开启更新锁:0=默认不开启,1=开启
|
|
166
|
+
*/
|
|
167
|
+
UpdateProhibition?: number;
|
|
168
|
+
/**
|
|
169
|
+
* 是否开启转移锁:0=默认不开启,1=开启
|
|
170
|
+
*/
|
|
171
|
+
TransferProhibition?: number;
|
|
164
172
|
}
|
|
165
173
|
/**
|
|
166
174
|
* CreateDomainBatch返回参数结构体
|
|
@@ -843,6 +851,14 @@ export interface CreateDomainBatchRequest {
|
|
|
843
851
|
* 使用的特惠包ID,PayMode为2时必填
|
|
844
852
|
*/
|
|
845
853
|
PackageResourceId?: string;
|
|
854
|
+
/**
|
|
855
|
+
* 是否开启更新锁:0=默认不开启,1=开启
|
|
856
|
+
*/
|
|
857
|
+
UpdateProhibition?: number;
|
|
858
|
+
/**
|
|
859
|
+
* 是否开启转移锁:0=默认不开启,1=开启
|
|
860
|
+
*/
|
|
861
|
+
TransferProhibition?: number;
|
|
846
862
|
}
|
|
847
863
|
/**
|
|
848
864
|
* SendPhoneEmailCode请求参数结构体
|
|
@@ -5465,12 +5465,12 @@ export interface DescribeModuleResponse {
|
|
|
5465
5465
|
* 符合条件的模块数量。
|
|
5466
5466
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5467
5467
|
*/
|
|
5468
|
-
TotalCount
|
|
5468
|
+
TotalCount: number;
|
|
5469
5469
|
/**
|
|
5470
5470
|
* 模块详情信息的列表。
|
|
5471
5471
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5472
5472
|
*/
|
|
5473
|
-
ModuleItemSet
|
|
5473
|
+
ModuleItemSet: Array<ModuleItem>;
|
|
5474
5474
|
/**
|
|
5475
5475
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5476
5476
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { UpdateDevicesEnableStateResponse, DeleteProjectRequest, DeleteFenceBindRequest, DescribeModelDefinitionResponse, DeleteDevicesResponse, ModifyStudioProductResponse, DeleteStudioProductResponse, GetPositionSpaceListRequest, GetDeviceListResponse, DeleteLoRaFrequencyResponse, DescribeTopicPolicyRequest, ModifyPositionFenceRequest, DeleteTopicRuleResponse, ModifyModelDefinitionRequest, CreateStudioProductResponse, CallDeviceActionSyncRequest, DescribeDevicePositionListRequest, GetDeviceLocationHistoryResponse, UpdateFirmwareResponse, ModifyPositionFenceResponse, ModifyStudioProductRequest, ModifyPositionSpaceResponse, CreateStudioProductRequest, ModifyFenceBindResponse, CreateBatchProductionRequest, DeletePositionFenceResponse, UploadFirmwareRequest, ListEventHistoryRequest, SearchTopicRuleRequest, DescribeDeviceDataRequest, ListTopicPolicyResponse, SearchPositionSpaceResponse, DescribePositionFenceListResponse,
|
|
3
|
+
import { UpdateDevicesEnableStateResponse, DeleteProjectRequest, DeleteFenceBindRequest, DescribeModelDefinitionResponse, DeleteDevicesResponse, ModifyStudioProductResponse, DeleteStudioProductResponse, GetPositionSpaceListRequest, GetDeviceListResponse, DeleteLoRaFrequencyResponse, DescribeTopicPolicyRequest, ModifyPositionFenceRequest, DeleteTopicRuleResponse, ModifyModelDefinitionRequest, CreateStudioProductResponse, CallDeviceActionSyncRequest, DescribeDevicePositionListRequest, GetDeviceLocationHistoryResponse, UpdateFirmwareResponse, ModifyPositionFenceResponse, ModifyStudioProductRequest, ModifyPositionSpaceResponse, CreateStudioProductRequest, ModifyFenceBindResponse, CreateBatchProductionRequest, DeletePositionFenceResponse, UploadFirmwareRequest, ListEventHistoryRequest, SearchTopicRuleRequest, DescribeDeviceDataRequest, ListTopicPolicyResponse, SearchPositionSpaceResponse, DescribePositionFenceListResponse, GenSingleDeviceSignatureOfPublicResponse, DescribeDevicePositionListResponse, GetProjectListResponse, DescribeStudioProductResponse, DescribeProjectResponse, SearchStudioProductResponse, GetTopicRuleListRequest, DescribeBatchProductionResponse, ListTopicPolicyRequest, DescribeLoRaFrequencyRequest, DeleteDeviceRequest, DeleteLoRaFrequencyRequest, ControlDeviceDataRequest, ListFirmwaresResponse, ReleaseStudioProductResponse, DescribeSpaceFenceEventListResponse, DeleteLoRaGatewayRequest, DescribeTopicPolicyResponse, SearchPositionSpaceRequest, ModifyTopicPolicyResponse, SearchTopicRuleResponse, DescribeFenceEventListResponse, UpdateDevicesEnableStateRequest, DescribeTopicRuleRequest, GetDeviceLocationHistoryRequest, CallDeviceActionSyncResponse, CreateLoRaGatewayRequest, ReleaseStudioProductRequest, CreateProjectResponse, DescribeDeviceDataHistoryResponse, DeleteProjectResponse, CreateTopicPolicyResponse, CreateDeviceResponse, CreateDeviceRequest, DeletePositionSpaceRequest, GetStudioProductListRequest, DescribeFirmwareTaskResponse, DisableTopicRuleResponse, GetCOSURLRequest, CreateProjectRequest, CreateFenceBindRequest, DescribeDeviceResponse, ListFirmwaresRequest, GetStudioProductListResponse, PublishMessageRequest, ModifyTopicRuleRequest, GetDeviceListRequest, ModifySpacePropertyRequest, GetPositionSpaceListResponse, GetCOSURLResponse, ModifyFenceBindRequest, GetTopicRuleListResponse, DescribeFenceEventListRequest, ModifyPositionSpaceRequest, GetLoRaGatewayListResponse, DirectBindDeviceInFamilyResponse, CallDeviceActionAsyncRequest, CallDeviceActionAsyncResponse, DeleteFenceBindResponse, DeleteTopicPolicyRequest, CreateFenceBindResponse, DescribeFenceBindListRequest, CreatePositionFenceResponse, DescribeTopicRuleResponse, DescribeDeviceRequest, DescribePositionFenceListRequest, ModifyTopicRuleResponse, DescribeBatchProductionRequest, CreateTopicPolicyRequest, DirectBindDeviceInFamilyRequest, DescribeLoRaFrequencyResponse, DescribeSpaceFenceEventListRequest, GetLoRaGatewayListRequest, DescribeProjectRequest, ModifyLoRaFrequencyRequest, UploadFirmwareResponse, ModifyTopicPolicyRequest, DeleteTopicRuleRequest, CreateLoRaGatewayResponse, DeleteTopicPolicyResponse, DeleteLoRaGatewayResponse, CreateLoRaFrequencyRequest, ControlDeviceDataResponse, DescribeDeviceDataHistoryRequest, UpdateFirmwareRequest, DescribeStudioProductRequest, CreatePositionSpaceResponse, CreateBatchProductionResponse, ModifyModelDefinitionResponse, DeletePositionFenceRequest, GetProjectListRequest, DeletePositionSpaceResponse, CreateLoRaFrequencyResponse, EnableTopicRuleResponse, SearchStudioProductRequest, GenSingleDeviceSignatureOfPublicRequest, DeleteDevicesRequest, ModifyProjectResponse, DeleteStudioProductRequest, ModifyProjectRequest, ModifySpacePropertyResponse, PublishMessageResponse, ModifyLoRaGatewayResponse, DescribeFenceBindListResponse, CreatePositionFenceRequest, DescribeModelDefinitionRequest, DisableTopicRuleRequest, CreateTopicRuleResponse, DescribeDeviceDataResponse, CreateTopicRuleRequest, GetBatchProductionsListRequest, DeleteDeviceResponse, ModifyLoRaFrequencyResponse, ModifyLoRaGatewayRequest, ListEventHistoryResponse, GetBatchProductionsListResponse, EnableTopicRuleRequest, DescribeFirmwareTaskRequest, CreatePositionSpaceRequest } from "./iotexplorer_models";
|
|
4
4
|
/**
|
|
5
5
|
* iotexplorer client
|
|
6
6
|
* @class
|
|
@@ -23,6 +23,10 @@ export declare class Client extends AbstractClient {
|
|
|
23
23
|
* 提供删除某个项目下产品的能力
|
|
24
24
|
*/
|
|
25
25
|
DeleteStudioProduct(req: DeleteStudioProductRequest, cb?: (error: string, rep: DeleteStudioProductResponse) => void): Promise<DeleteStudioProductResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* 产品开发完成并测试通过后,通过发布产品将产品设置为发布状态
|
|
28
|
+
*/
|
|
29
|
+
ReleaseStudioProduct(req: ReleaseStudioProductRequest, cb?: (error: string, rep: ReleaseStudioProductResponse) => void): Promise<ReleaseStudioProductResponse>;
|
|
26
30
|
/**
|
|
27
31
|
* 搜索位置空间
|
|
28
32
|
*/
|
|
@@ -208,17 +212,17 @@ export declare class Client extends AbstractClient {
|
|
|
208
212
|
*/
|
|
209
213
|
DescribeFenceEventList(req: DescribeFenceEventListRequest, cb?: (error: string, rep: DescribeFenceEventListResponse) => void): Promise<DescribeFenceEventListResponse>;
|
|
210
214
|
/**
|
|
211
|
-
*
|
|
215
|
+
* 获取位置空间列表
|
|
212
216
|
*/
|
|
213
|
-
|
|
217
|
+
GetPositionSpaceList(req: GetPositionSpaceListRequest, cb?: (error: string, rep: GetPositionSpaceListResponse) => void): Promise<GetPositionSpaceListResponse>;
|
|
214
218
|
/**
|
|
215
219
|
* 查询固件升级任务列表
|
|
216
220
|
*/
|
|
217
221
|
DescribeFirmwareTask(req: DescribeFirmwareTaskRequest, cb?: (error: string, rep: DescribeFirmwareTaskResponse) => void): Promise<DescribeFirmwareTaskResponse>;
|
|
218
222
|
/**
|
|
219
|
-
*
|
|
223
|
+
* 无
|
|
220
224
|
*/
|
|
221
|
-
|
|
225
|
+
GenSingleDeviceSignatureOfPublic(req: GenSingleDeviceSignatureOfPublicRequest, cb?: (error: string, rep: GenSingleDeviceSignatureOfPublicResponse) => void): Promise<GenSingleDeviceSignatureOfPublicResponse>;
|
|
222
226
|
/**
|
|
223
227
|
* 删除围栏
|
|
224
228
|
*/
|
|
@@ -51,6 +51,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
51
51
|
async DeleteStudioProduct(req, cb) {
|
|
52
52
|
return this.request("DeleteStudioProduct", req, cb);
|
|
53
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* 产品开发完成并测试通过后,通过发布产品将产品设置为发布状态
|
|
56
|
+
*/
|
|
57
|
+
async ReleaseStudioProduct(req, cb) {
|
|
58
|
+
return this.request("ReleaseStudioProduct", req, cb);
|
|
59
|
+
}
|
|
54
60
|
/**
|
|
55
61
|
* 搜索位置空间
|
|
56
62
|
*/
|
|
@@ -328,10 +334,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
328
334
|
return this.request("DescribeFenceEventList", req, cb);
|
|
329
335
|
}
|
|
330
336
|
/**
|
|
331
|
-
*
|
|
337
|
+
* 获取位置空间列表
|
|
332
338
|
*/
|
|
333
|
-
async
|
|
334
|
-
return this.request("
|
|
339
|
+
async GetPositionSpaceList(req, cb) {
|
|
340
|
+
return this.request("GetPositionSpaceList", req, cb);
|
|
335
341
|
}
|
|
336
342
|
/**
|
|
337
343
|
* 查询固件升级任务列表
|
|
@@ -340,10 +346,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
340
346
|
return this.request("DescribeFirmwareTask", req, cb);
|
|
341
347
|
}
|
|
342
348
|
/**
|
|
343
|
-
*
|
|
349
|
+
* 无
|
|
344
350
|
*/
|
|
345
|
-
async
|
|
346
|
-
return this.request("
|
|
351
|
+
async GenSingleDeviceSignatureOfPublic(req, cb) {
|
|
352
|
+
return this.request("GenSingleDeviceSignatureOfPublic", req, cb);
|
|
347
353
|
}
|
|
348
354
|
/**
|
|
349
355
|
* 删除围栏
|
|
@@ -756,29 +756,17 @@ export interface DescribePositionFenceListResponse {
|
|
|
756
756
|
RequestId?: string;
|
|
757
757
|
}
|
|
758
758
|
/**
|
|
759
|
-
*
|
|
759
|
+
* GenSingleDeviceSignatureOfPublic返回参数结构体
|
|
760
760
|
*/
|
|
761
|
-
export interface
|
|
761
|
+
export interface GenSingleDeviceSignatureOfPublicResponse {
|
|
762
762
|
/**
|
|
763
|
-
*
|
|
763
|
+
* 设备签名
|
|
764
764
|
*/
|
|
765
|
-
|
|
765
|
+
DeviceSignature: DeviceSignatureInfo;
|
|
766
766
|
/**
|
|
767
|
-
*
|
|
768
|
-
*/
|
|
769
|
-
DeviceName: string;
|
|
770
|
-
/**
|
|
771
|
-
* 查询起始时间,Unix时间,单位为毫秒
|
|
772
|
-
*/
|
|
773
|
-
StartTime: number;
|
|
774
|
-
/**
|
|
775
|
-
* 查询结束时间,Unix时间,单位为毫秒
|
|
776
|
-
*/
|
|
777
|
-
EndTime: number;
|
|
778
|
-
/**
|
|
779
|
-
* 坐标类型
|
|
767
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
780
768
|
*/
|
|
781
|
-
|
|
769
|
+
RequestId?: string;
|
|
782
770
|
}
|
|
783
771
|
/**
|
|
784
772
|
* DescribeDevicePositionList返回参数结构体
|
|
@@ -1370,6 +1358,31 @@ export interface DescribeTopicRuleRequest {
|
|
|
1370
1358
|
*/
|
|
1371
1359
|
RuleName: string;
|
|
1372
1360
|
}
|
|
1361
|
+
/**
|
|
1362
|
+
* GetDeviceLocationHistory请求参数结构体
|
|
1363
|
+
*/
|
|
1364
|
+
export interface GetDeviceLocationHistoryRequest {
|
|
1365
|
+
/**
|
|
1366
|
+
* 产品Id
|
|
1367
|
+
*/
|
|
1368
|
+
ProductId: string;
|
|
1369
|
+
/**
|
|
1370
|
+
* 设备名
|
|
1371
|
+
*/
|
|
1372
|
+
DeviceName: string;
|
|
1373
|
+
/**
|
|
1374
|
+
* 查询起始时间,Unix时间,单位为毫秒
|
|
1375
|
+
*/
|
|
1376
|
+
StartTime: number;
|
|
1377
|
+
/**
|
|
1378
|
+
* 查询结束时间,Unix时间,单位为毫秒
|
|
1379
|
+
*/
|
|
1380
|
+
EndTime: number;
|
|
1381
|
+
/**
|
|
1382
|
+
* 坐标类型
|
|
1383
|
+
*/
|
|
1384
|
+
CoordinateType?: number;
|
|
1385
|
+
}
|
|
1373
1386
|
/**
|
|
1374
1387
|
* CallDeviceActionSync返回参数结构体
|
|
1375
1388
|
*/
|
|
@@ -2281,6 +2294,19 @@ export interface PositionFenceInfo {
|
|
|
2281
2294
|
*/
|
|
2282
2295
|
UpdateTime: number;
|
|
2283
2296
|
}
|
|
2297
|
+
/**
|
|
2298
|
+
* 设备签名
|
|
2299
|
+
*/
|
|
2300
|
+
export interface DeviceSignatureInfo {
|
|
2301
|
+
/**
|
|
2302
|
+
* 设备名
|
|
2303
|
+
*/
|
|
2304
|
+
DeviceName: string;
|
|
2305
|
+
/**
|
|
2306
|
+
* 设备签名
|
|
2307
|
+
*/
|
|
2308
|
+
DeviceSignature: string;
|
|
2309
|
+
}
|
|
2284
2310
|
/**
|
|
2285
2311
|
* 位置空间详情
|
|
2286
2312
|
*/
|
|
@@ -2973,6 +2999,23 @@ export interface SearchStudioProductRequest {
|
|
|
2973
2999
|
*/
|
|
2974
3000
|
ProductId?: string;
|
|
2975
3001
|
}
|
|
3002
|
+
/**
|
|
3003
|
+
* GenSingleDeviceSignatureOfPublic请求参数结构体
|
|
3004
|
+
*/
|
|
3005
|
+
export interface GenSingleDeviceSignatureOfPublicRequest {
|
|
3006
|
+
/**
|
|
3007
|
+
* 设备所属的产品ID
|
|
3008
|
+
*/
|
|
3009
|
+
ProductId: string;
|
|
3010
|
+
/**
|
|
3011
|
+
* 需要绑定的设备
|
|
3012
|
+
*/
|
|
3013
|
+
DeviceName: string;
|
|
3014
|
+
/**
|
|
3015
|
+
* 设备绑定签名的有效时间,以秒为单位。取值范围:0 < Expire <= 86400,Expire == -1(十年)
|
|
3016
|
+
*/
|
|
3017
|
+
Expire: number;
|
|
3018
|
+
}
|
|
2976
3019
|
/**
|
|
2977
3020
|
* DeleteDevices请求参数结构体
|
|
2978
3021
|
*/
|