tencentcloud-sdk-nodejs 4.0.553 → 4.0.554

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 (47) hide show
  1. package/CHANGELOG.md +196 -0
  2. package/SERVICE_CHANGELOG.md +306 -197
  3. package/package.json +1 -1
  4. package/products.md +21 -22
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/bpaas/v20181217/bpaas_models.ts +6 -0
  7. package/src/services/ccc/v20200210/ccc_models.ts +5 -5
  8. package/src/services/clb/v20180317/clb_models.ts +13 -1
  9. package/src/services/essbasic/v20210526/essbasic_client.ts +18 -2
  10. package/src/services/essbasic/v20210526/essbasic_models.ts +252 -13
  11. package/src/services/index.ts +0 -1
  12. package/src/services/monitor/v20180724/monitor_models.ts +27 -2
  13. package/src/services/tcbr/v20220217/tcbr_models.ts +7 -2
  14. package/src/services/tke/v20180525/tke_models.ts +19 -19
  15. package/src/services/trtc/v20190722/trtc_client.ts +1 -0
  16. package/src/services/trtc/v20190722/trtc_models.ts +55 -1
  17. package/src/services/wedata/v20210820/wedata_client.ts +1 -0
  18. package/src/services/wedata/v20210820/wedata_models.ts +111 -22
  19. package/tencentcloud/common/sdk_version.d.ts +1 -1
  20. package/tencentcloud/common/sdk_version.js +1 -1
  21. package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +5 -0
  22. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -4
  23. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +11 -1
  24. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +5 -1
  25. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +6 -0
  26. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +215 -13
  27. package/tencentcloud/services/index.d.ts +0 -1
  28. package/tencentcloud/services/index.js +0 -2
  29. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +24 -2
  30. package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +6 -2
  31. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +19 -19
  32. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +46 -1
  33. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +93 -18
  34. package/test/essbasic.v20210526.test.js +10 -0
  35. package/src/services/intlpartnersmgt/index.ts +0 -5
  36. package/src/services/intlpartnersmgt/v20220928/index.ts +0 -6
  37. package/src/services/intlpartnersmgt/v20220928/intlpartnersmgt_client.ts +0 -178
  38. package/src/services/intlpartnersmgt/v20220928/intlpartnersmgt_models.ts +0 -608
  39. package/tencentcloud/services/intlpartnersmgt/index.d.ts +0 -6
  40. package/tencentcloud/services/intlpartnersmgt/index.js +0 -7
  41. package/tencentcloud/services/intlpartnersmgt/v20220928/index.d.ts +0 -6
  42. package/tencentcloud/services/intlpartnersmgt/v20220928/index.js +0 -9
  43. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_client.d.ts +0 -62
  44. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_client.js +0 -105
  45. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_models.d.ts +0 -500
  46. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_models.js +0 -18
  47. package/test/intlpartnersmgt.v20220928.test.js +0 -131
@@ -1,105 +0,0 @@
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
- * intlpartnersmgt client
24
- * @class
25
- */
26
- class Client extends abstract_client_1.AbstractClient {
27
- constructor(clientConfig) {
28
- super("intlpartnersmgt.tencentcloudapi.com", "2022-09-28", clientConfig);
29
- }
30
- /**
31
- * 查询用户列表信用
32
- */
33
- async QueryCreditByUinList(req, cb) {
34
- return this.request("QueryCreditByUinList", req, cb);
35
- }
36
- /**
37
- * 查询代金券额度池
38
- */
39
- async QueryVoucherPool(req, cb) {
40
- return this.request("QueryVoucherPool", req, cb);
41
- }
42
- /**
43
- * 查询直接子客信用
44
- */
45
- async QueryDirectCustomersCredit(req, cb) {
46
- return this.request("QueryDirectCustomersCredit", req, cb);
47
- }
48
- /**
49
- * 在合作伙伴平台,创建腾讯云账号,子客户注册完成后,自动与合作伙伴账号绑定。
50
-
51
- 注意事项:<br>
52
- 1、创建腾讯云账号,输入的邮箱、手机号,需要合作伙伴做有效性验证。<br>
53
- 2、客户首次登录需要补充个人信息
54
- */
55
- async CreateAccount(req, cb) {
56
- return this.request("CreateAccount", req, cb);
57
- }
58
- /**
59
- * 根据客户uin查询代金券列表
60
- */
61
- async QueryVoucherListByUin(req, cb) {
62
- return this.request("QueryVoucherListByUin", req, cb);
63
- }
64
- /**
65
- * 查询合作伙伴自己的总信用额度、可用信用额度、已使用信用额度,单位为美元
66
- */
67
- async QueryPartnerCredit(req, cb) {
68
- return this.request("QueryPartnerCredit", req, cb);
69
- }
70
- /**
71
- * 合作伙伴可以为关联客户设置信用额度,包括调高额度、降低额度、设置额度为0
72
- 1、信用额度长期有效,不会定期清0;
73
- 2、可用信用额度为0,会触发客户停服,请谨慎操作;
74
- 3、如需限制客户新购,但不影响已购产品使用,可与渠道经理申请客户欠费不停服特权后,设置可用信用额度为0;
75
- 4、设置的额度,为当前可用信用额度的增量,最大不能超过合作伙伴可分配的剩余额度,设置负数代表回收额度,可用信用额度最低设置为0。
76
- */
77
- async AllocateCustomerCredit(req, cb) {
78
- return this.request("AllocateCustomerCredit", req, cb);
79
- }
80
- /**
81
- * 获取国家和地区的代码
82
- */
83
- async GetCountryCodes(req, cb) {
84
- return this.request("GetCountryCodes", req, cb);
85
- }
86
- /**
87
- * 查询单个客户的全部历史分配记录
88
- */
89
- async QueryCreditAllocationHistory(req, cb) {
90
- return this.request("QueryCreditAllocationHistory", req, cb);
91
- }
92
- /**
93
- * 合作伙伴可以查询关联客户的信用额度,以及客户的基础信息
94
- */
95
- async QueryCustomersCredit(req, cb) {
96
- return this.request("QueryCustomersCredit", req, cb);
97
- }
98
- /**
99
- * 根据客户uin查询代金券额度
100
- */
101
- async QueryVoucherAmountByUin(req, cb) {
102
- return this.request("QueryVoucherAmountByUin", req, cb);
103
- }
104
- }
105
- exports.Client = Client;
@@ -1,500 +0,0 @@
1
- /**
2
- * GetCountryCodes请求参数结构体
3
- */
4
- export declare type GetCountryCodesRequest = null;
5
- /**
6
- * QueryPartnerCredit返回参数结构体
7
- */
8
- export interface QueryPartnerCreditResponse {
9
- /**
10
- * 已分配额度
11
- */
12
- AllocatedCredit: number;
13
- /**
14
- * 额度总数
15
- */
16
- TotalCredit: number;
17
- /**
18
- * 剩余额度
19
- */
20
- RemainingCredit: number;
21
- /**
22
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
23
- */
24
- RequestId?: string;
25
- }
26
- /**
27
- * QueryVoucherListByUin请求参数结构体
28
- */
29
- export interface QueryVoucherListByUinRequest {
30
- /**
31
- * 子客uin列表
32
- */
33
- ClientUins: Array<number>;
34
- /**
35
- * 状态,不传时默认查询所有状态。Unused,Used,Expired
36
- */
37
- Status?: string;
38
- }
39
- /**
40
- * QueryVoucherAmountByUin返回参数结构体
41
- */
42
- export interface QueryVoucherAmountByUinResponse {
43
- /**
44
- * 子客代金券额度数据
45
- */
46
- Data: Array<QueryVoucherAmountByUinItem>;
47
- /**
48
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
49
- */
50
- RequestId?: string;
51
- }
52
- /**
53
- * 子客代金券额度
54
- */
55
- export interface QueryVoucherAmountByUinItem {
56
- /**
57
- * 子客uin
58
- */
59
- ClientUin: number;
60
- /**
61
- * 代金券额度
62
- */
63
- TotalAmount: number;
64
- /**
65
- * 代金券余额
66
- */
67
- RemainAmount: number;
68
- }
69
- /**
70
- * 查询子客授信历史记录返回信息
71
- */
72
- export interface QueryCreditAllocationHistoryData {
73
- /**
74
- * 分配时间
75
- */
76
- AllocatedTime: string;
77
- /**
78
- * 操作员
79
- */
80
- Operator: string;
81
- /**
82
- * 分配的信用值
83
- */
84
- Credit: number;
85
- /**
86
- * 分配的总金额
87
- */
88
- AllocatedCredit: number;
89
- }
90
- /**
91
- * AllocateCustomerCredit请求参数结构体
92
- */
93
- export interface AllocateCustomerCreditRequest {
94
- /**
95
- * 分配客户信用的具体值
96
- */
97
- AddedCredit: number;
98
- /**
99
- * 客户uin
100
- */
101
- ClientUin: number;
102
- }
103
- /**
104
- * GetCountryCodes返回参数结构体
105
- */
106
- export interface GetCountryCodesResponse {
107
- /**
108
- * 国家地区代码列表
109
- */
110
- Data: Array<CountryCodeItem>;
111
- /**
112
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
113
- */
114
- RequestId?: string;
115
- }
116
- /**
117
- * QueryCustomersCredit请求参数结构体
118
- */
119
- export interface QueryCustomersCreditRequest {
120
- /**
121
- * 搜索条件类型,只能是:ClientUin|Name|Remark|Email四选一
122
- */
123
- FilterType?: string;
124
- /**
125
- * 查询条件值
126
- */
127
- Filter?: string;
128
- /**
129
- * 分页参数:当前页数,从1开始
130
- */
131
- Page?: number;
132
- /**
133
- * 分页参数:每页条数
134
- */
135
- PageSize?: number;
136
- /**
137
- * 排序参数,根据AssociationTime按照空或者desc:逆序,asc:顺序的方式进行排序
138
- */
139
- Order?: string;
140
- }
141
- /**
142
- * QueryCreditByUinList请求参数结构体
143
- */
144
- export interface QueryCreditByUinListRequest {
145
- /**
146
- * 用户列表
147
- */
148
- UinList: Array<number>;
149
- }
150
- /**
151
- * CreateAccount返回参数结构体
152
- */
153
- export interface CreateAccountResponse {
154
- /**
155
- * 账号的uin
156
- */
157
- Uin: string;
158
- /**
159
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
160
- */
161
- RequestId?: string;
162
- }
163
- /**
164
- * QueryPartnerCredit请求参数结构体
165
- */
166
- export declare type QueryPartnerCreditRequest = null;
167
- /**
168
- * QueryCreditByUinList返回参数结构体
169
- */
170
- export interface QueryCreditByUinListResponse {
171
- /**
172
- * 用户信息列表
173
- */
174
- Data: Array<QueryDirectCustomersCreditData>;
175
- /**
176
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
177
- */
178
- RequestId?: string;
179
- }
180
- /**
181
- * QueryVoucherPool返回参数结构体
182
- */
183
- export interface QueryVoucherPoolResponse {
184
- /**
185
- * 经销商姓名
186
- */
187
- AgentName: string;
188
- /**
189
- * 经销商角色类型:1:经销商 2:总经销商 3:二级经销商
190
- */
191
- AccountType: number;
192
- /**
193
- * 总额度
194
- */
195
- TotalQuota: number;
196
- /**
197
- * 剩余额度
198
- */
199
- RemainingQuota: number;
200
- /**
201
- * 已发放的代金券数量
202
- */
203
- IssuedNum: number;
204
- /**
205
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
206
- */
207
- RequestId?: string;
208
- }
209
- /**
210
- * QueryCreditAllocationHistory返回参数结构体
211
- */
212
- export interface QueryCreditAllocationHistoryResponse {
213
- /**
214
- * 历史信息总条数
215
- 注意:此字段可能返回 null,表示取不到有效值。
216
- */
217
- Total: number;
218
- /**
219
- * 历史信息详细列表数据
220
- 注意:此字段可能返回 null,表示取不到有效值。
221
- */
222
- History: Array<QueryCreditAllocationHistoryData>;
223
- /**
224
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
225
- */
226
- RequestId?: string;
227
- }
228
- /**
229
- * CreateAccount请求参数结构体
230
- */
231
- export interface CreateAccountRequest {
232
- /**
233
- * 新建客户的账户类型标识。本接口取值为:personal或company
234
- */
235
- AccountType: string;
236
- /**
237
- * 注册邮件地址。需要调用方保证邮件地址的有效性和正确性。
238
- 需要满足邮件的格式。如:account@qq.com
239
- */
240
- Mail: string;
241
- /**
242
- * 账户密码。
243
- 长度限制:[8,20]。
244
- 需同时包含数字、字母以及特殊符号(!@#$%^&*()等非空格)
245
- */
246
- Password: string;
247
- /**
248
- * 二次确认密码。必须和Password值相同
249
- */
250
- ConfirmPassword: string;
251
- /**
252
- * 客户手机号码。需要调用方保证手机号码的有效性和正确性。
253
- 长度限制:[1,32]。支持全球手机号。如18888888888
254
- */
255
- PhoneNum: string;
256
- /**
257
- * 客户的国家/地区代码。取值参考获取国家/地区码接口GetCountryCodes。如852
258
- */
259
- CountryCode: string;
260
- /**
261
- * 客户的IOS2标准国家/地区代码。参考获取国家/地区码接口GetCountryCodes。需要与CountryCode值对应。如HK
262
- */
263
- Area: string;
264
- /**
265
- * 拓展字段,默认为空
266
- */
267
- Extended?: string;
268
- }
269
- /**
270
- * QueryDirectCustomersCredit请求参数结构体
271
- */
272
- export declare type QueryDirectCustomersCreditRequest = null;
273
- /**
274
- * AllocateCustomerCredit返回参数结构体
275
- */
276
- export interface AllocateCustomerCreditResponse {
277
- /**
278
- * 更新后的信用总额
279
- */
280
- TotalCredit: number;
281
- /**
282
- * 更新后的信用余额
283
- */
284
- RemainingCredit: number;
285
- /**
286
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
287
- */
288
- RequestId?: string;
289
- }
290
- /**
291
- * 子客代金券数据
292
- */
293
- export interface QueryVoucherListByUinVoucherItem {
294
- /**
295
- * 券号
296
- */
297
- VoucherId: string;
298
- /**
299
- * 状态
300
- */
301
- VoucherStatus: string;
302
- /**
303
- * 面额
304
- */
305
- TotalAmount: number;
306
- /**
307
- * 余额
308
- */
309
- RemainAmount: number;
310
- }
311
- /**
312
- * QueryVoucherAmountByUin请求参数结构体
313
- */
314
- export interface QueryVoucherAmountByUinRequest {
315
- /**
316
- * 子客uin列表
317
- */
318
- ClientUins: Array<number>;
319
- }
320
- /**
321
- * 直接子客信用信息
322
- */
323
- export interface QueryDirectCustomersCreditData {
324
- /**
325
- * 用户Uin
326
- */
327
- Uin: number;
328
- /**
329
- * 总信用值
330
- */
331
- TotalCredit: number;
332
- /**
333
- * 剩余信用值
334
- */
335
- RemainingCredit: number;
336
- }
337
- /**
338
- * QueryCreditAllocationHistory请求参数结构体
339
- */
340
- export interface QueryCreditAllocationHistoryRequest {
341
- /**
342
- * 客户uin
343
- */
344
- ClientUin: number;
345
- /**
346
- * 翻页参数,所在页数
347
- */
348
- Page?: number;
349
- /**
350
- * 翻页参数,每页数据量
351
- */
352
- PageSize?: number;
353
- }
354
- /**
355
- * 获取国家码接口的一个元素类型
356
- */
357
- export interface CountryCodeItem {
358
- /**
359
- * 国家英文名
360
- */
361
- EnName: string;
362
- /**
363
- * 国家中文名
364
- */
365
- Name: string;
366
- /**
367
- * ISO2标准国家/地区代码
368
- */
369
- IOS2: string;
370
- /**
371
- * ISO3标准国家/地区代码
372
- */
373
- IOS3: string;
374
- /**
375
- * 电话代码
376
- */
377
- Code: string;
378
- }
379
- /**
380
- * QueryDirectCustomersCredit返回参数结构体
381
- */
382
- export interface QueryDirectCustomersCreditResponse {
383
- /**
384
- * 直接子客信息列表
385
- */
386
- Data: Array<QueryDirectCustomersCreditData>;
387
- /**
388
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
389
- */
390
- RequestId?: string;
391
- }
392
- /**
393
- * QueryVoucherListByUin返回参数结构体
394
- */
395
- export interface QueryVoucherListByUinResponse {
396
- /**
397
- * 子客代金券数据
398
- */
399
- Data: Array<QueryVoucherListByUinItem>;
400
- /**
401
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
402
- */
403
- RequestId?: string;
404
- }
405
- /**
406
- * QueryVoucherPool请求参数结构体
407
- */
408
- export declare type QueryVoucherPoolRequest = null;
409
- /**
410
- * 单个客户代金券数据
411
- */
412
- export interface QueryVoucherListByUinItem {
413
- /**
414
- * 子客uin
415
- */
416
- ClientUin: number;
417
- /**
418
- * 券总数量
419
- */
420
- TotalCount: number;
421
- /**
422
- * 券详情
423
- */
424
- Data: Array<QueryVoucherListByUinVoucherItem>;
425
- }
426
- /**
427
- * 查询客户信用额度出参复杂类型
428
- */
429
- export interface QueryCustomersCreditData {
430
- /**
431
- * 名字
432
- */
433
- Name: string;
434
- /**
435
- * 类型
436
- */
437
- Type: string;
438
- /**
439
- * 电话
440
- */
441
- Mobile: string;
442
- /**
443
- * 邮箱
444
- */
445
- Email: string;
446
- /**
447
- * 欠费标记
448
- */
449
- Arrears: string;
450
- /**
451
- * 绑定时间
452
- */
453
- AssociationTime: string;
454
- /**
455
- * 最近到期时间
456
- */
457
- RecentExpiry: string;
458
- /**
459
- * 子客uin
460
- */
461
- ClientUin: number;
462
- /**
463
- * 子客授信额度
464
- */
465
- Credit: number;
466
- /**
467
- * 子客剩余额度
468
- */
469
- RemainingCredit: number;
470
- /**
471
- * 0:未实名 1: 个人实名 2:企业实名
472
- */
473
- IdentifyType: number;
474
- /**
475
- * 客户备注
476
- */
477
- Remark: string;
478
- /**
479
- * 强制状态
480
- */
481
- Force: number;
482
- }
483
- /**
484
- * QueryCustomersCredit返回参数结构体
485
- */
486
- export interface QueryCustomersCreditResponse {
487
- /**
488
- * 查询客户列表
489
- 注意:此字段可能返回 null,表示取不到有效值。
490
- */
491
- Data: Array<QueryCustomersCreditData>;
492
- /**
493
- * 客户数量
494
- */
495
- Total: number;
496
- /**
497
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
498
- */
499
- RequestId?: string;
500
- }
@@ -1,18 +0,0 @@
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 });