tencentcloud-sdk-nodejs-mqtt 4.1.71 → 4.1.91

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-mqtt",
3
- "version": "4.1.71",
3
+ "version": "4.1.91",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -30,6 +30,10 @@ export interface MQTTClientSubscription {
30
30
  * 投递未确认数量
31
31
  */
32
32
  Inflight?: number;
33
+ /**
34
+ * 用户属性
35
+ */
36
+ UserProperties?: Array<SubscriptionUserProperty>;
33
37
  }
34
38
  /**
35
39
  * DeleteUser请求参数结构体
@@ -640,6 +644,16 @@ export interface ModifyInstanceRequest {
640
644
  * 授权策略开关
641
645
  */
642
646
  AuthorizationPolicy?: boolean;
647
+ /**
648
+ * 是否使用默认的服务端证书
649
+ */
650
+ UseDefaultServerCert?: boolean;
651
+ /**
652
+ * TLS:单向认证
653
+ mTLS;双向认证
654
+ BYOC:一机一证
655
+ */
656
+ X509Mode?: string;
643
657
  }
644
658
  /**
645
659
  * RegisterDeviceCertificate返回参数结构体
@@ -2159,6 +2173,18 @@ export interface DescribeInstanceResponse {
2159
2173
  * 单条自动订阅规则TopicFilter数限制
2160
2174
  */
2161
2175
  MaxTopicFilterPerAutoSubscriptionPolicy?: number;
2176
+ /**
2177
+ * 是否使用默认的服务端证书
2178
+ */
2179
+ UseDefaultServerCert?: boolean;
2180
+ /**
2181
+ * 服务端CA最大数量
2182
+ */
2183
+ TrustedCaLimit?: number;
2184
+ /**
2185
+ * 服务端证书最大数量
2186
+ */
2187
+ ServerCertLimit?: number;
2162
2188
  /**
2163
2189
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2164
2190
  */
@@ -2609,6 +2635,19 @@ export interface DeviceCertificateItem {
2609
2635
  */
2610
2636
  NotBeforeTime?: number;
2611
2637
  }
2638
+ /**
2639
+ * 订阅的UserProperty结构
2640
+ */
2641
+ export interface SubscriptionUserProperty {
2642
+ /**
2643
+ * 订阅的UserProperty键
2644
+ */
2645
+ Key?: string;
2646
+ /**
2647
+ * 订阅的UserProperty值
2648
+ */
2649
+ Value?: string;
2650
+ }
2612
2651
  /**
2613
2652
  * MQTT客户端信息
2614
2653
  */