tencentcloud-sdk-nodejs 4.0.552 → 4.0.553

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.
Files changed (44) hide show
  1. package/CHANGELOG.md +208 -0
  2. package/SERVICE_CHANGELOG.md +335 -52
  3. package/package.json +1 -1
  4. package/products.md +15 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ccc/v20200210/ccc_models.ts +5 -0
  7. package/src/services/cwp/v20180228/cwp_client.ts +445 -84
  8. package/src/services/cwp/v20180228/cwp_models.ts +2230 -688
  9. package/src/services/dlc/v20210125/dlc_client.ts +103 -30
  10. package/src/services/dlc/v20210125/dlc_models.ts +437 -150
  11. package/src/services/essbasic/v20210526/essbasic_models.ts +4 -4
  12. package/src/services/index.ts +1 -0
  13. package/src/services/intlpartnersmgt/index.ts +5 -0
  14. package/src/services/intlpartnersmgt/v20220928/index.ts +6 -0
  15. package/src/services/intlpartnersmgt/v20220928/intlpartnersmgt_client.ts +178 -0
  16. package/src/services/intlpartnersmgt/v20220928/intlpartnersmgt_models.ts +608 -0
  17. package/src/services/tdmq/v20200217/tdmq_models.ts +24 -16
  18. package/src/services/tse/v20201207/tse_client.ts +1 -0
  19. package/src/services/tse/v20201207/tse_models.ts +28 -0
  20. package/tencentcloud/common/sdk_version.d.ts +1 -1
  21. package/tencentcloud/common/sdk_version.js +1 -1
  22. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -0
  23. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +137 -21
  24. package/tencentcloud/services/cwp/v20180228/cwp_client.js +204 -30
  25. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1860 -544
  26. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +33 -9
  27. package/tencentcloud/services/dlc/v20210125/dlc_client.js +48 -12
  28. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +368 -128
  29. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -4
  30. package/tencentcloud/services/index.d.ts +1 -0
  31. package/tencentcloud/services/index.js +2 -0
  32. package/tencentcloud/services/intlpartnersmgt/index.d.ts +6 -0
  33. package/tencentcloud/services/intlpartnersmgt/index.js +7 -0
  34. package/tencentcloud/services/intlpartnersmgt/v20220928/index.d.ts +6 -0
  35. package/tencentcloud/services/intlpartnersmgt/v20220928/index.js +9 -0
  36. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_client.d.ts +62 -0
  37. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_client.js +105 -0
  38. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_models.d.ts +500 -0
  39. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_models.js +18 -0
  40. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +22 -15
  41. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +24 -0
  42. package/test/cwp.v20180228.test.js +310 -20
  43. package/test/dlc.v20210125.test.js +68 -8
  44. package/test/intlpartnersmgt.v20220928.test.js +131 -0
@@ -0,0 +1,608 @@
1
+ /*
2
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an
12
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ * KIND, either express or implied. See the License for the
14
+ * specific language governing permissions and limitations
15
+ * under the License.
16
+ */
17
+
18
+ /**
19
+ * GetCountryCodes请求参数结构体
20
+ */
21
+ export type GetCountryCodesRequest = null
22
+
23
+ /**
24
+ * QueryPartnerCredit返回参数结构体
25
+ */
26
+ export interface QueryPartnerCreditResponse {
27
+ /**
28
+ * 已分配额度
29
+ */
30
+ AllocatedCredit: number
31
+
32
+ /**
33
+ * 额度总数
34
+ */
35
+ TotalCredit: number
36
+
37
+ /**
38
+ * 剩余额度
39
+ */
40
+ RemainingCredit: number
41
+
42
+ /**
43
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
44
+ */
45
+ RequestId?: string
46
+ }
47
+
48
+ /**
49
+ * QueryVoucherListByUin请求参数结构体
50
+ */
51
+ export interface QueryVoucherListByUinRequest {
52
+ /**
53
+ * 子客uin列表
54
+ */
55
+ ClientUins: Array<number>
56
+
57
+ /**
58
+ * 状态,不传时默认查询所有状态。Unused,Used,Expired
59
+ */
60
+ Status?: string
61
+ }
62
+
63
+ /**
64
+ * QueryVoucherAmountByUin返回参数结构体
65
+ */
66
+ export interface QueryVoucherAmountByUinResponse {
67
+ /**
68
+ * 子客代金券额度数据
69
+ */
70
+ Data: Array<QueryVoucherAmountByUinItem>
71
+
72
+ /**
73
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
74
+ */
75
+ RequestId?: string
76
+ }
77
+
78
+ /**
79
+ * 子客代金券额度
80
+ */
81
+ export interface QueryVoucherAmountByUinItem {
82
+ /**
83
+ * 子客uin
84
+ */
85
+ ClientUin: number
86
+
87
+ /**
88
+ * 代金券额度
89
+ */
90
+ TotalAmount: number
91
+
92
+ /**
93
+ * 代金券余额
94
+ */
95
+ RemainAmount: number
96
+ }
97
+
98
+ /**
99
+ * 查询子客授信历史记录返回信息
100
+ */
101
+ export interface QueryCreditAllocationHistoryData {
102
+ /**
103
+ * 分配时间
104
+ */
105
+ AllocatedTime: string
106
+
107
+ /**
108
+ * 操作员
109
+ */
110
+ Operator: string
111
+
112
+ /**
113
+ * 分配的信用值
114
+ */
115
+ Credit: number
116
+
117
+ /**
118
+ * 分配的总金额
119
+ */
120
+ AllocatedCredit: number
121
+ }
122
+
123
+ /**
124
+ * AllocateCustomerCredit请求参数结构体
125
+ */
126
+ export interface AllocateCustomerCreditRequest {
127
+ /**
128
+ * 分配客户信用的具体值
129
+ */
130
+ AddedCredit: number
131
+
132
+ /**
133
+ * 客户uin
134
+ */
135
+ ClientUin: number
136
+ }
137
+
138
+ /**
139
+ * GetCountryCodes返回参数结构体
140
+ */
141
+ export interface GetCountryCodesResponse {
142
+ /**
143
+ * 国家地区代码列表
144
+ */
145
+ Data: Array<CountryCodeItem>
146
+
147
+ /**
148
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
149
+ */
150
+ RequestId?: string
151
+ }
152
+
153
+ /**
154
+ * QueryCustomersCredit请求参数结构体
155
+ */
156
+ export interface QueryCustomersCreditRequest {
157
+ /**
158
+ * 搜索条件类型,只能是:ClientUin|Name|Remark|Email四选一
159
+ */
160
+ FilterType?: string
161
+
162
+ /**
163
+ * 查询条件值
164
+ */
165
+ Filter?: string
166
+
167
+ /**
168
+ * 分页参数:当前页数,从1开始
169
+ */
170
+ Page?: number
171
+
172
+ /**
173
+ * 分页参数:每页条数
174
+ */
175
+ PageSize?: number
176
+
177
+ /**
178
+ * 排序参数,根据AssociationTime按照空或者desc:逆序,asc:顺序的方式进行排序
179
+ */
180
+ Order?: string
181
+ }
182
+
183
+ /**
184
+ * QueryCreditByUinList请求参数结构体
185
+ */
186
+ export interface QueryCreditByUinListRequest {
187
+ /**
188
+ * 用户列表
189
+ */
190
+ UinList: Array<number>
191
+ }
192
+
193
+ /**
194
+ * CreateAccount返回参数结构体
195
+ */
196
+ export interface CreateAccountResponse {
197
+ /**
198
+ * 账号的uin
199
+ */
200
+ Uin: string
201
+
202
+ /**
203
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
204
+ */
205
+ RequestId?: string
206
+ }
207
+
208
+ /**
209
+ * QueryPartnerCredit请求参数结构体
210
+ */
211
+ export type QueryPartnerCreditRequest = null
212
+
213
+ /**
214
+ * QueryCreditByUinList返回参数结构体
215
+ */
216
+ export interface QueryCreditByUinListResponse {
217
+ /**
218
+ * 用户信息列表
219
+ */
220
+ Data: Array<QueryDirectCustomersCreditData>
221
+
222
+ /**
223
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
224
+ */
225
+ RequestId?: string
226
+ }
227
+
228
+ /**
229
+ * QueryVoucherPool返回参数结构体
230
+ */
231
+ export interface QueryVoucherPoolResponse {
232
+ /**
233
+ * 经销商姓名
234
+ */
235
+ AgentName: string
236
+
237
+ /**
238
+ * 经销商角色类型:1:经销商 2:总经销商 3:二级经销商
239
+ */
240
+ AccountType: number
241
+
242
+ /**
243
+ * 总额度
244
+ */
245
+ TotalQuota: number
246
+
247
+ /**
248
+ * 剩余额度
249
+ */
250
+ RemainingQuota: number
251
+
252
+ /**
253
+ * 已发放的代金券数量
254
+ */
255
+ IssuedNum: number
256
+
257
+ /**
258
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
259
+ */
260
+ RequestId?: string
261
+ }
262
+
263
+ /**
264
+ * QueryCreditAllocationHistory返回参数结构体
265
+ */
266
+ export interface QueryCreditAllocationHistoryResponse {
267
+ /**
268
+ * 历史信息总条数
269
+ 注意:此字段可能返回 null,表示取不到有效值。
270
+ */
271
+ Total: number
272
+
273
+ /**
274
+ * 历史信息详细列表数据
275
+ 注意:此字段可能返回 null,表示取不到有效值。
276
+ */
277
+ History: Array<QueryCreditAllocationHistoryData>
278
+
279
+ /**
280
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
281
+ */
282
+ RequestId?: string
283
+ }
284
+
285
+ /**
286
+ * CreateAccount请求参数结构体
287
+ */
288
+ export interface CreateAccountRequest {
289
+ /**
290
+ * 新建客户的账户类型标识。本接口取值为:personal或company
291
+ */
292
+ AccountType: string
293
+
294
+ /**
295
+ * 注册邮件地址。需要调用方保证邮件地址的有效性和正确性。
296
+ 需要满足邮件的格式。如:account@qq.com
297
+ */
298
+ Mail: string
299
+
300
+ /**
301
+ * 账户密码。
302
+ 长度限制:[8,20]。
303
+ 需同时包含数字、字母以及特殊符号(!@#$%^&*()等非空格)
304
+ */
305
+ Password: string
306
+
307
+ /**
308
+ * 二次确认密码。必须和Password值相同
309
+ */
310
+ ConfirmPassword: string
311
+
312
+ /**
313
+ * 客户手机号码。需要调用方保证手机号码的有效性和正确性。
314
+ 长度限制:[1,32]。支持全球手机号。如18888888888
315
+ */
316
+ PhoneNum: string
317
+
318
+ /**
319
+ * 客户的国家/地区代码。取值参考获取国家/地区码接口GetCountryCodes。如852
320
+ */
321
+ CountryCode: string
322
+
323
+ /**
324
+ * 客户的IOS2标准国家/地区代码。参考获取国家/地区码接口GetCountryCodes。需要与CountryCode值对应。如HK
325
+ */
326
+ Area: string
327
+
328
+ /**
329
+ * 拓展字段,默认为空
330
+ */
331
+ Extended?: string
332
+ }
333
+
334
+ /**
335
+ * QueryDirectCustomersCredit请求参数结构体
336
+ */
337
+ export type QueryDirectCustomersCreditRequest = null
338
+
339
+ /**
340
+ * AllocateCustomerCredit返回参数结构体
341
+ */
342
+ export interface AllocateCustomerCreditResponse {
343
+ /**
344
+ * 更新后的信用总额
345
+ */
346
+ TotalCredit: number
347
+
348
+ /**
349
+ * 更新后的信用余额
350
+ */
351
+ RemainingCredit: number
352
+
353
+ /**
354
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
355
+ */
356
+ RequestId?: string
357
+ }
358
+
359
+ /**
360
+ * 子客代金券数据
361
+ */
362
+ export interface QueryVoucherListByUinVoucherItem {
363
+ /**
364
+ * 券号
365
+ */
366
+ VoucherId: string
367
+
368
+ /**
369
+ * 状态
370
+ */
371
+ VoucherStatus: string
372
+
373
+ /**
374
+ * 面额
375
+ */
376
+ TotalAmount: number
377
+
378
+ /**
379
+ * 余额
380
+ */
381
+ RemainAmount: number
382
+ }
383
+
384
+ /**
385
+ * QueryVoucherAmountByUin请求参数结构体
386
+ */
387
+ export interface QueryVoucherAmountByUinRequest {
388
+ /**
389
+ * 子客uin列表
390
+ */
391
+ ClientUins: Array<number>
392
+ }
393
+
394
+ /**
395
+ * 直接子客信用信息
396
+ */
397
+ export interface QueryDirectCustomersCreditData {
398
+ /**
399
+ * 用户Uin
400
+ */
401
+ Uin: number
402
+
403
+ /**
404
+ * 总信用值
405
+ */
406
+ TotalCredit: number
407
+
408
+ /**
409
+ * 剩余信用值
410
+ */
411
+ RemainingCredit: number
412
+ }
413
+
414
+ /**
415
+ * QueryCreditAllocationHistory请求参数结构体
416
+ */
417
+ export interface QueryCreditAllocationHistoryRequest {
418
+ /**
419
+ * 客户uin
420
+ */
421
+ ClientUin: number
422
+
423
+ /**
424
+ * 翻页参数,所在页数
425
+ */
426
+ Page?: number
427
+
428
+ /**
429
+ * 翻页参数,每页数据量
430
+ */
431
+ PageSize?: number
432
+ }
433
+
434
+ /**
435
+ * 获取国家码接口的一个元素类型
436
+ */
437
+ export interface CountryCodeItem {
438
+ /**
439
+ * 国家英文名
440
+ */
441
+ EnName: string
442
+
443
+ /**
444
+ * 国家中文名
445
+ */
446
+ Name: string
447
+
448
+ /**
449
+ * ISO2标准国家/地区代码
450
+ */
451
+ IOS2: string
452
+
453
+ /**
454
+ * ISO3标准国家/地区代码
455
+ */
456
+ IOS3: string
457
+
458
+ /**
459
+ * 电话代码
460
+ */
461
+ Code: string
462
+ }
463
+
464
+ /**
465
+ * QueryDirectCustomersCredit返回参数结构体
466
+ */
467
+ export interface QueryDirectCustomersCreditResponse {
468
+ /**
469
+ * 直接子客信息列表
470
+ */
471
+ Data: Array<QueryDirectCustomersCreditData>
472
+
473
+ /**
474
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
475
+ */
476
+ RequestId?: string
477
+ }
478
+
479
+ /**
480
+ * QueryVoucherListByUin返回参数结构体
481
+ */
482
+ export interface QueryVoucherListByUinResponse {
483
+ /**
484
+ * 子客代金券数据
485
+ */
486
+ Data: Array<QueryVoucherListByUinItem>
487
+
488
+ /**
489
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
490
+ */
491
+ RequestId?: string
492
+ }
493
+
494
+ /**
495
+ * QueryVoucherPool请求参数结构体
496
+ */
497
+ export type QueryVoucherPoolRequest = null
498
+
499
+ /**
500
+ * 单个客户代金券数据
501
+ */
502
+ export interface QueryVoucherListByUinItem {
503
+ /**
504
+ * 子客uin
505
+ */
506
+ ClientUin: number
507
+
508
+ /**
509
+ * 券总数量
510
+ */
511
+ TotalCount: number
512
+
513
+ /**
514
+ * 券详情
515
+ */
516
+ Data: Array<QueryVoucherListByUinVoucherItem>
517
+ }
518
+
519
+ /**
520
+ * 查询客户信用额度出参复杂类型
521
+ */
522
+ export interface QueryCustomersCreditData {
523
+ /**
524
+ * 名字
525
+ */
526
+ Name: string
527
+
528
+ /**
529
+ * 类型
530
+ */
531
+ Type: string
532
+
533
+ /**
534
+ * 电话
535
+ */
536
+ Mobile: string
537
+
538
+ /**
539
+ * 邮箱
540
+ */
541
+ Email: string
542
+
543
+ /**
544
+ * 欠费标记
545
+ */
546
+ Arrears: string
547
+
548
+ /**
549
+ * 绑定时间
550
+ */
551
+ AssociationTime: string
552
+
553
+ /**
554
+ * 最近到期时间
555
+ */
556
+ RecentExpiry: string
557
+
558
+ /**
559
+ * 子客uin
560
+ */
561
+ ClientUin: number
562
+
563
+ /**
564
+ * 子客授信额度
565
+ */
566
+ Credit: number
567
+
568
+ /**
569
+ * 子客剩余额度
570
+ */
571
+ RemainingCredit: number
572
+
573
+ /**
574
+ * 0:未实名 1: 个人实名 2:企业实名
575
+ */
576
+ IdentifyType: number
577
+
578
+ /**
579
+ * 客户备注
580
+ */
581
+ Remark: string
582
+
583
+ /**
584
+ * 强制状态
585
+ */
586
+ Force: number
587
+ }
588
+
589
+ /**
590
+ * QueryCustomersCredit返回参数结构体
591
+ */
592
+ export interface QueryCustomersCreditResponse {
593
+ /**
594
+ * 查询客户列表
595
+ 注意:此字段可能返回 null,表示取不到有效值。
596
+ */
597
+ Data: Array<QueryCustomersCreditData>
598
+
599
+ /**
600
+ * 客户数量
601
+ */
602
+ Total: number
603
+
604
+ /**
605
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
606
+ */
607
+ RequestId?: string
608
+ }
@@ -570,7 +570,7 @@ export interface RocketMQVipInstance {
570
570
  InstanceVersion: string
571
571
 
572
572
  /**
573
- * 实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常, 5 - 发货失败
573
+ * 实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常, 5 - 发货失败,6 - 变配中,7 - 变配失败
574
574
  */
575
575
  Status: number
576
576
 
@@ -823,57 +823,63 @@ export interface RocketMQInstanceConfig {
823
823
  /**
824
824
  * 单命名空间TPS上线
825
825
  */
826
- MaxTpsPerNamespace: number
826
+ MaxTpsPerNamespace?: number
827
827
 
828
828
  /**
829
829
  * 最大命名空间数量
830
830
  */
831
- MaxNamespaceNum: number
831
+ MaxNamespaceNum?: number
832
832
 
833
833
  /**
834
834
  * 已使用命名空间数量
835
835
  */
836
- UsedNamespaceNum: number
836
+ UsedNamespaceNum?: number
837
837
 
838
838
  /**
839
839
  * 最大Topic数量
840
840
  */
841
- MaxTopicNum: number
841
+ MaxTopicNum?: number
842
842
 
843
843
  /**
844
844
  * 已使用Topic数量
845
845
  */
846
- UsedTopicNum: number
846
+ UsedTopicNum?: number
847
847
 
848
848
  /**
849
849
  * 最大Group数量
850
850
  */
851
- MaxGroupNum: number
851
+ MaxGroupNum?: number
852
852
 
853
853
  /**
854
854
  * 已使用Group数量
855
855
  */
856
- UsedGroupNum: number
856
+ UsedGroupNum?: number
857
857
 
858
858
  /**
859
859
  * 集群类型
860
860
  */
861
- ConfigDisplay: string
861
+ ConfigDisplay?: string
862
862
 
863
863
  /**
864
864
  * 集群节点数
865
865
  */
866
- NodeCount: number
866
+ NodeCount?: number
867
867
 
868
868
  /**
869
869
  * 节点分布情况
870
870
  */
871
- NodeDistribution: Array<InstanceNodeDistribution>
871
+ NodeDistribution?: Array<InstanceNodeDistribution>
872
872
 
873
873
  /**
874
874
  * topic分布情况
875
875
  */
876
- TopicDistribution: Array<RocketMQTopicDistribution>
876
+ TopicDistribution?: Array<RocketMQTopicDistribution>
877
+
878
+ /**
879
+ * 每个主题最大队列数
880
+ 注意:此字段可能返回 null,表示取不到有效值。
881
+ */
882
+ MaxQueuesPerTopic?: number
877
883
  }
878
884
 
879
885
  /**
@@ -4652,8 +4658,10 @@ export interface CreateAMQPClusterResponse {
4652
4658
  */
4653
4659
  export interface DescribeRocketMQVipInstancesRequest {
4654
4660
  /**
4655
- * 查询条件过滤器
4656
- */
4661
+ * 查询条件过滤器,支持的查询条件如下:
4662
+ instanceIds - 实例ID
4663
+ instanceName - 实例名称
4664
+ */
4657
4665
  Filters?: Array<Filter>
4658
4666
 
4659
4667
  /**
@@ -6896,12 +6904,12 @@ export interface DescribeRocketMQVipInstancesResponse {
6896
6904
  /**
6897
6905
  * 未分页的总数目
6898
6906
  */
6899
- TotalCount: number
6907
+ TotalCount?: number
6900
6908
 
6901
6909
  /**
6902
6910
  * 实例信息列表
6903
6911
  */
6904
- Instances: Array<RocketMQVipInstance>
6912
+ Instances?: Array<RocketMQVipInstance>
6905
6913
 
6906
6914
  /**
6907
6915
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -31,6 +31,7 @@ import {
31
31
  DescribeCloudNativeAPIGatewayNodesRequest,
32
32
  DescribeCloudNativeAPIGatewayNodesResult,
33
33
  ZookeeperReplica,
34
+ EngineRegionInfo,
34
35
  DescribeNacosServerInterfacesRequest,
35
36
  SREInstance,
36
37
  DescribeSREInstanceAccessAddressResponse,