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.
- package/CHANGELOG.md +196 -0
- package/SERVICE_CHANGELOG.md +306 -197
- package/package.json +1 -1
- package/products.md +21 -22
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bpaas/v20181217/bpaas_models.ts +6 -0
- package/src/services/ccc/v20200210/ccc_models.ts +5 -5
- package/src/services/clb/v20180317/clb_models.ts +13 -1
- package/src/services/essbasic/v20210526/essbasic_client.ts +18 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +252 -13
- package/src/services/index.ts +0 -1
- package/src/services/monitor/v20180724/monitor_models.ts +27 -2
- package/src/services/tcbr/v20220217/tcbr_models.ts +7 -2
- package/src/services/tke/v20180525/tke_models.ts +19 -19
- package/src/services/trtc/v20190722/trtc_client.ts +1 -0
- package/src/services/trtc/v20190722/trtc_models.ts +55 -1
- package/src/services/wedata/v20210820/wedata_client.ts +1 -0
- package/src/services/wedata/v20210820/wedata_models.ts +111 -22
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +5 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -4
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +11 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +5 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +6 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +215 -13
- package/tencentcloud/services/index.d.ts +0 -1
- package/tencentcloud/services/index.js +0 -2
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +24 -2
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +6 -2
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +19 -19
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +46 -1
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +93 -18
- package/test/essbasic.v20210526.test.js +10 -0
- package/src/services/intlpartnersmgt/index.ts +0 -5
- package/src/services/intlpartnersmgt/v20220928/index.ts +0 -6
- package/src/services/intlpartnersmgt/v20220928/intlpartnersmgt_client.ts +0 -178
- package/src/services/intlpartnersmgt/v20220928/intlpartnersmgt_models.ts +0 -608
- package/tencentcloud/services/intlpartnersmgt/index.d.ts +0 -6
- package/tencentcloud/services/intlpartnersmgt/index.js +0 -7
- package/tencentcloud/services/intlpartnersmgt/v20220928/index.d.ts +0 -6
- package/tencentcloud/services/intlpartnersmgt/v20220928/index.js +0 -9
- package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_client.d.ts +0 -62
- package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_client.js +0 -105
- package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_models.d.ts +0 -500
- package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_models.js +0 -18
- package/test/intlpartnersmgt.v20220928.test.js +0 -131
|
@@ -1,608 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.v20220928 = void 0;
|
|
4
|
-
const Models = require("./intlpartnersmgt_models");
|
|
5
|
-
const intlpartnersmgt_client_1 = require("./intlpartnersmgt_client");
|
|
6
|
-
exports.v20220928 = {
|
|
7
|
-
Client: intlpartnersmgt_client_1.Client,
|
|
8
|
-
Models: Models
|
|
9
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
-
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { GetCountryCodesRequest, QueryPartnerCreditResponse, QueryVoucherListByUinRequest, QueryVoucherAmountByUinResponse, AllocateCustomerCreditRequest, GetCountryCodesResponse, QueryCustomersCreditRequest, QueryCreditByUinListRequest, CreateAccountResponse, QueryPartnerCreditRequest, QueryCreditByUinListResponse, QueryVoucherPoolResponse, QueryCreditAllocationHistoryResponse, CreateAccountRequest, QueryDirectCustomersCreditRequest, AllocateCustomerCreditResponse, QueryVoucherAmountByUinRequest, QueryCreditAllocationHistoryRequest, QueryDirectCustomersCreditResponse, QueryVoucherListByUinResponse, QueryVoucherPoolRequest, QueryCustomersCreditResponse } from "./intlpartnersmgt_models";
|
|
4
|
-
/**
|
|
5
|
-
* intlpartnersmgt client
|
|
6
|
-
* @class
|
|
7
|
-
*/
|
|
8
|
-
export declare class Client extends AbstractClient {
|
|
9
|
-
constructor(clientConfig: ClientConfig);
|
|
10
|
-
/**
|
|
11
|
-
* 查询用户列表信用
|
|
12
|
-
*/
|
|
13
|
-
QueryCreditByUinList(req: QueryCreditByUinListRequest, cb?: (error: string, rep: QueryCreditByUinListResponse) => void): Promise<QueryCreditByUinListResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* 查询代金券额度池
|
|
16
|
-
*/
|
|
17
|
-
QueryVoucherPool(req?: QueryVoucherPoolRequest, cb?: (error: string, rep: QueryVoucherPoolResponse) => void): Promise<QueryVoucherPoolResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* 查询直接子客信用
|
|
20
|
-
*/
|
|
21
|
-
QueryDirectCustomersCredit(req?: QueryDirectCustomersCreditRequest, cb?: (error: string, rep: QueryDirectCustomersCreditResponse) => void): Promise<QueryDirectCustomersCreditResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* 在合作伙伴平台,创建腾讯云账号,子客户注册完成后,自动与合作伙伴账号绑定。
|
|
24
|
-
|
|
25
|
-
注意事项:<br>
|
|
26
|
-
1、创建腾讯云账号,输入的邮箱、手机号,需要合作伙伴做有效性验证。<br>
|
|
27
|
-
2、客户首次登录需要补充个人信息
|
|
28
|
-
*/
|
|
29
|
-
CreateAccount(req: CreateAccountRequest, cb?: (error: string, rep: CreateAccountResponse) => void): Promise<CreateAccountResponse>;
|
|
30
|
-
/**
|
|
31
|
-
* 根据客户uin查询代金券列表
|
|
32
|
-
*/
|
|
33
|
-
QueryVoucherListByUin(req: QueryVoucherListByUinRequest, cb?: (error: string, rep: QueryVoucherListByUinResponse) => void): Promise<QueryVoucherListByUinResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* 查询合作伙伴自己的总信用额度、可用信用额度、已使用信用额度,单位为美元
|
|
36
|
-
*/
|
|
37
|
-
QueryPartnerCredit(req?: QueryPartnerCreditRequest, cb?: (error: string, rep: QueryPartnerCreditResponse) => void): Promise<QueryPartnerCreditResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* 合作伙伴可以为关联客户设置信用额度,包括调高额度、降低额度、设置额度为0
|
|
40
|
-
1、信用额度长期有效,不会定期清0;
|
|
41
|
-
2、可用信用额度为0,会触发客户停服,请谨慎操作;
|
|
42
|
-
3、如需限制客户新购,但不影响已购产品使用,可与渠道经理申请客户欠费不停服特权后,设置可用信用额度为0;
|
|
43
|
-
4、设置的额度,为当前可用信用额度的增量,最大不能超过合作伙伴可分配的剩余额度,设置负数代表回收额度,可用信用额度最低设置为0。
|
|
44
|
-
*/
|
|
45
|
-
AllocateCustomerCredit(req: AllocateCustomerCreditRequest, cb?: (error: string, rep: AllocateCustomerCreditResponse) => void): Promise<AllocateCustomerCreditResponse>;
|
|
46
|
-
/**
|
|
47
|
-
* 获取国家和地区的代码
|
|
48
|
-
*/
|
|
49
|
-
GetCountryCodes(req?: GetCountryCodesRequest, cb?: (error: string, rep: GetCountryCodesResponse) => void): Promise<GetCountryCodesResponse>;
|
|
50
|
-
/**
|
|
51
|
-
* 查询单个客户的全部历史分配记录
|
|
52
|
-
*/
|
|
53
|
-
QueryCreditAllocationHistory(req: QueryCreditAllocationHistoryRequest, cb?: (error: string, rep: QueryCreditAllocationHistoryResponse) => void): Promise<QueryCreditAllocationHistoryResponse>;
|
|
54
|
-
/**
|
|
55
|
-
* 合作伙伴可以查询关联客户的信用额度,以及客户的基础信息
|
|
56
|
-
*/
|
|
57
|
-
QueryCustomersCredit(req: QueryCustomersCreditRequest, cb?: (error: string, rep: QueryCustomersCreditResponse) => void): Promise<QueryCustomersCreditResponse>;
|
|
58
|
-
/**
|
|
59
|
-
* 根据客户uin查询代金券额度
|
|
60
|
-
*/
|
|
61
|
-
QueryVoucherAmountByUin(req: QueryVoucherAmountByUinRequest, cb?: (error: string, rep: QueryVoucherAmountByUinResponse) => void): Promise<QueryVoucherAmountByUinResponse>;
|
|
62
|
-
}
|