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
|
@@ -952,10 +952,6 @@ export interface AlarmEventInfo {
|
|
|
952
952
|
* 告警级别,0表示普通,1表示重要,2表示紧急
|
|
953
953
|
*/
|
|
954
954
|
AlarmLevel: number;
|
|
955
|
-
/**
|
|
956
|
-
* 告警指标,0表示任务失败,1表示任务运行超时,2表示任务停止,3表示任务暂停
|
|
957
|
-
*/
|
|
958
|
-
AlarmIndicator: number;
|
|
959
955
|
/**
|
|
960
956
|
* 告警方式,多个用逗号隔开(1:邮件,2:短信,3:微信,4:语音,5:代表企业微信,6:http)
|
|
961
957
|
*/
|
|
@@ -968,6 +964,10 @@ export interface AlarmEventInfo {
|
|
|
968
964
|
* 项目ID
|
|
969
965
|
*/
|
|
970
966
|
ProjectId: string;
|
|
967
|
+
/**
|
|
968
|
+
* 告警指标,0表示任务失败,1表示任务运行超时,2表示任务停止,3表示任务暂停
|
|
969
|
+
*/
|
|
970
|
+
AlarmIndicator?: number;
|
|
971
971
|
/**
|
|
972
972
|
* 告警指标描述
|
|
973
973
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -3577,6 +3577,16 @@ export interface IntegrationTaskInfo {
|
|
|
3577
3577
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3578
3578
|
*/
|
|
3579
3579
|
InLongManagerVersion?: string;
|
|
3580
|
+
/**
|
|
3581
|
+
* dataproxy url
|
|
3582
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3583
|
+
*/
|
|
3584
|
+
DataProxyUrl?: Array<string>;
|
|
3585
|
+
/**
|
|
3586
|
+
* 任务版本是否已提交运维
|
|
3587
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3588
|
+
*/
|
|
3589
|
+
Submit?: boolean;
|
|
3580
3590
|
}
|
|
3581
3591
|
/**
|
|
3582
3592
|
* SubmitTask返回参数结构体
|
|
@@ -4614,28 +4624,14 @@ export interface TaskAlarmInfo {
|
|
|
4614
4624
|
* 告警级别(0表示普通,1表示重要,2表示紧急)
|
|
4615
4625
|
*/
|
|
4616
4626
|
AlarmLevel: number;
|
|
4617
|
-
/**
|
|
4618
|
-
* 告警指标,0表示任务失败,1表示任务运行超时,2表示任务停止,3表示任务暂停
|
|
4619
|
-
,4写入速度,5读取速度,6读取吞吐,7写入吞吐, 8脏数据字节数,9脏数据条数
|
|
4620
|
-
*/
|
|
4621
|
-
AlarmIndicator: number;
|
|
4622
4627
|
/**
|
|
4623
4628
|
* 告警方式,多个用逗号隔开(1:邮件,2:短信,3:微信,4:语音,5:代表企业微信,6:http)
|
|
4624
4629
|
*/
|
|
4625
4630
|
AlarmWay: string;
|
|
4626
|
-
/**
|
|
4627
|
-
* 告警接收人ID,多个用逗号隔开
|
|
4628
|
-
*/
|
|
4629
|
-
AlarmRecipientId: string;
|
|
4630
4631
|
/**
|
|
4631
4632
|
* 任务类型(201表示实时,202表示离线)
|
|
4632
4633
|
*/
|
|
4633
4634
|
TaskType: number;
|
|
4634
|
-
/**
|
|
4635
|
-
* 告警接收人昵称,多个用逗号隔开
|
|
4636
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4637
|
-
*/
|
|
4638
|
-
AlarmRecipientName: string;
|
|
4639
4635
|
/**
|
|
4640
4636
|
* 主键ID
|
|
4641
4637
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -4645,6 +4641,11 @@ export interface TaskAlarmInfo {
|
|
|
4645
4641
|
* 规则ID
|
|
4646
4642
|
*/
|
|
4647
4643
|
RegularId?: string;
|
|
4644
|
+
/**
|
|
4645
|
+
* 告警指标,0表示任务失败,1表示任务运行超时,2表示任务停止,3表示任务暂停
|
|
4646
|
+
,4写入速度,5读取速度,6读取吞吐,7写入吞吐, 8脏数据字节数,9脏数据条数
|
|
4647
|
+
*/
|
|
4648
|
+
AlarmIndicator?: number;
|
|
4648
4649
|
/**
|
|
4649
4650
|
* 指标阈值(1表示离线任务第一次运行失败,2表示离线任务所有重试完成后失败)
|
|
4650
4651
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -4655,6 +4656,10 @@ export interface TaskAlarmInfo {
|
|
|
4655
4656
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4656
4657
|
*/
|
|
4657
4658
|
EstimatedTime?: number;
|
|
4659
|
+
/**
|
|
4660
|
+
* 告警接收人ID,多个用逗号隔开
|
|
4661
|
+
*/
|
|
4662
|
+
AlarmRecipientId?: string;
|
|
4658
4663
|
/**
|
|
4659
4664
|
* 项目ID
|
|
4660
4665
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -4665,6 +4670,11 @@ export interface TaskAlarmInfo {
|
|
|
4665
4670
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4666
4671
|
*/
|
|
4667
4672
|
Creater?: string;
|
|
4673
|
+
/**
|
|
4674
|
+
* 告警接收人昵称,多个用逗号隔开
|
|
4675
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4676
|
+
*/
|
|
4677
|
+
AlarmRecipientName?: string;
|
|
4668
4678
|
/**
|
|
4669
4679
|
* 告警指标描述
|
|
4670
4680
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -4685,6 +4695,21 @@ export interface TaskAlarmInfo {
|
|
|
4685
4695
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4686
4696
|
*/
|
|
4687
4697
|
NodeName?: string;
|
|
4698
|
+
/**
|
|
4699
|
+
* 指标列表
|
|
4700
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4701
|
+
*/
|
|
4702
|
+
AlarmIndicatorInfos?: Array<AlarmIndicatorInfo>;
|
|
4703
|
+
/**
|
|
4704
|
+
* 告警接收人类型,0指定人员;1任务责任人
|
|
4705
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4706
|
+
*/
|
|
4707
|
+
AlarmRecipientType?: number;
|
|
4708
|
+
/**
|
|
4709
|
+
* 企业微信群Hook地址,多个hook地址使用,隔开
|
|
4710
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4711
|
+
*/
|
|
4712
|
+
WeComHook?: string;
|
|
4688
4713
|
}
|
|
4689
4714
|
/**
|
|
4690
4715
|
* DescribeClusterNamespaceList请求参数结构体
|
|
@@ -4735,6 +4760,11 @@ export interface AlarmReceiverInfo {
|
|
|
4735
4760
|
* http,0:未设置,1:成功,2:失败
|
|
4736
4761
|
*/
|
|
4737
4762
|
Http: number;
|
|
4763
|
+
/**
|
|
4764
|
+
* 企业微信群,0:未设置,1:成功,2:失败
|
|
4765
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4766
|
+
*/
|
|
4767
|
+
WecomGroup?: number;
|
|
4738
4768
|
}
|
|
4739
4769
|
/**
|
|
4740
4770
|
* Spark SQL配置参数
|
|
@@ -5462,6 +5492,16 @@ export interface TableInfo {
|
|
|
5462
5492
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5463
5493
|
*/
|
|
5464
5494
|
TableName: string;
|
|
5495
|
+
/**
|
|
5496
|
+
* 表databaseName
|
|
5497
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5498
|
+
*/
|
|
5499
|
+
OriginDatabaseName: string;
|
|
5500
|
+
/**
|
|
5501
|
+
* 表schemaName
|
|
5502
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5503
|
+
*/
|
|
5504
|
+
OriginSchemaName: string;
|
|
5465
5505
|
}
|
|
5466
5506
|
/**
|
|
5467
5507
|
* DescribeProject请求参数结构体
|
|
@@ -8497,6 +8537,41 @@ export interface DescribeRuleTemplatesRequest {
|
|
|
8497
8537
|
*/
|
|
8498
8538
|
SourceEngineTypes?: Array<number>;
|
|
8499
8539
|
}
|
|
8540
|
+
/**
|
|
8541
|
+
* 告警指标
|
|
8542
|
+
*/
|
|
8543
|
+
export interface AlarmIndicatorInfo {
|
|
8544
|
+
/**
|
|
8545
|
+
* 指标id
|
|
8546
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8547
|
+
*/
|
|
8548
|
+
Id?: string;
|
|
8549
|
+
/**
|
|
8550
|
+
* 告警指标,0表示任务失败,1表示任务运行超时,2表示任务停止,3表示任务暂停
|
|
8551
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8552
|
+
*/
|
|
8553
|
+
AlarmIndicator?: number;
|
|
8554
|
+
/**
|
|
8555
|
+
* 告警指标描述
|
|
8556
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8557
|
+
*/
|
|
8558
|
+
AlarmIndicatorDesc?: string;
|
|
8559
|
+
/**
|
|
8560
|
+
* 指标阈值,1表示离线任务第一次运行失败,2表示离线任务所有重试完成后失败
|
|
8561
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8562
|
+
*/
|
|
8563
|
+
TriggerType?: number;
|
|
8564
|
+
/**
|
|
8565
|
+
* 预计的超时时间,分钟级别
|
|
8566
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8567
|
+
*/
|
|
8568
|
+
EstimatedTime?: number;
|
|
8569
|
+
/**
|
|
8570
|
+
* 实时任务告警需要的参数
|
|
8571
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8572
|
+
*/
|
|
8573
|
+
Operator?: number;
|
|
8574
|
+
}
|
|
8500
8575
|
/**
|
|
8501
8576
|
* RegisterEvent返回参数结构体
|
|
8502
8577
|
*/
|
|
@@ -178,6 +178,16 @@ it("essbasic.v20210526.ChannelCreateBoundFlows", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
+
it("essbasic.v20210526.ChannelCreatePrepareFlow", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.ChannelCreatePrepareFlow({})
|
|
184
|
+
expect(data).to.be.ok
|
|
185
|
+
} catch(error) {
|
|
186
|
+
expect(error.requestId).to.be.ok
|
|
187
|
+
expect(error.code).to.be.ok
|
|
188
|
+
}
|
|
189
|
+
})
|
|
190
|
+
|
|
181
191
|
it("essbasic.v20210526.ChannelCreateBatchCancelFlowUrl", async function () {
|
|
182
192
|
try {
|
|
183
193
|
const data = await client.ChannelCreateBatchCancelFlowUrl({})
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
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
|
-
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
|
-
import { ClientConfig } from "../../../common/interface"
|
|
20
|
-
import {
|
|
21
|
-
GetCountryCodesRequest,
|
|
22
|
-
QueryPartnerCreditResponse,
|
|
23
|
-
QueryVoucherListByUinRequest,
|
|
24
|
-
QueryVoucherAmountByUinResponse,
|
|
25
|
-
QueryVoucherAmountByUinItem,
|
|
26
|
-
QueryCreditAllocationHistoryData,
|
|
27
|
-
AllocateCustomerCreditRequest,
|
|
28
|
-
GetCountryCodesResponse,
|
|
29
|
-
QueryCustomersCreditRequest,
|
|
30
|
-
QueryCreditByUinListRequest,
|
|
31
|
-
CreateAccountResponse,
|
|
32
|
-
QueryPartnerCreditRequest,
|
|
33
|
-
QueryCreditByUinListResponse,
|
|
34
|
-
QueryVoucherPoolResponse,
|
|
35
|
-
QueryCreditAllocationHistoryResponse,
|
|
36
|
-
CreateAccountRequest,
|
|
37
|
-
QueryDirectCustomersCreditRequest,
|
|
38
|
-
AllocateCustomerCreditResponse,
|
|
39
|
-
QueryVoucherListByUinVoucherItem,
|
|
40
|
-
QueryVoucherAmountByUinRequest,
|
|
41
|
-
QueryDirectCustomersCreditData,
|
|
42
|
-
QueryCreditAllocationHistoryRequest,
|
|
43
|
-
CountryCodeItem,
|
|
44
|
-
QueryDirectCustomersCreditResponse,
|
|
45
|
-
QueryVoucherListByUinResponse,
|
|
46
|
-
QueryVoucherPoolRequest,
|
|
47
|
-
QueryVoucherListByUinItem,
|
|
48
|
-
QueryCustomersCreditData,
|
|
49
|
-
QueryCustomersCreditResponse,
|
|
50
|
-
} from "./intlpartnersmgt_models"
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* intlpartnersmgt client
|
|
54
|
-
* @class
|
|
55
|
-
*/
|
|
56
|
-
export class Client extends AbstractClient {
|
|
57
|
-
constructor(clientConfig: ClientConfig) {
|
|
58
|
-
super("intlpartnersmgt.tencentcloudapi.com", "2022-09-28", clientConfig)
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* 查询用户列表信用
|
|
63
|
-
*/
|
|
64
|
-
async QueryCreditByUinList(
|
|
65
|
-
req: QueryCreditByUinListRequest,
|
|
66
|
-
cb?: (error: string, rep: QueryCreditByUinListResponse) => void
|
|
67
|
-
): Promise<QueryCreditByUinListResponse> {
|
|
68
|
-
return this.request("QueryCreditByUinList", req, cb)
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* 查询代金券额度池
|
|
73
|
-
*/
|
|
74
|
-
async QueryVoucherPool(
|
|
75
|
-
req?: QueryVoucherPoolRequest,
|
|
76
|
-
cb?: (error: string, rep: QueryVoucherPoolResponse) => void
|
|
77
|
-
): Promise<QueryVoucherPoolResponse> {
|
|
78
|
-
return this.request("QueryVoucherPool", req, cb)
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* 查询直接子客信用
|
|
83
|
-
*/
|
|
84
|
-
async QueryDirectCustomersCredit(
|
|
85
|
-
req?: QueryDirectCustomersCreditRequest,
|
|
86
|
-
cb?: (error: string, rep: QueryDirectCustomersCreditResponse) => void
|
|
87
|
-
): Promise<QueryDirectCustomersCreditResponse> {
|
|
88
|
-
return this.request("QueryDirectCustomersCredit", req, cb)
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* 在合作伙伴平台,创建腾讯云账号,子客户注册完成后,自动与合作伙伴账号绑定。
|
|
93
|
-
|
|
94
|
-
注意事项:<br>
|
|
95
|
-
1、创建腾讯云账号,输入的邮箱、手机号,需要合作伙伴做有效性验证。<br>
|
|
96
|
-
2、客户首次登录需要补充个人信息
|
|
97
|
-
*/
|
|
98
|
-
async CreateAccount(
|
|
99
|
-
req: CreateAccountRequest,
|
|
100
|
-
cb?: (error: string, rep: CreateAccountResponse) => void
|
|
101
|
-
): Promise<CreateAccountResponse> {
|
|
102
|
-
return this.request("CreateAccount", req, cb)
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* 根据客户uin查询代金券列表
|
|
107
|
-
*/
|
|
108
|
-
async QueryVoucherListByUin(
|
|
109
|
-
req: QueryVoucherListByUinRequest,
|
|
110
|
-
cb?: (error: string, rep: QueryVoucherListByUinResponse) => void
|
|
111
|
-
): Promise<QueryVoucherListByUinResponse> {
|
|
112
|
-
return this.request("QueryVoucherListByUin", req, cb)
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* 查询合作伙伴自己的总信用额度、可用信用额度、已使用信用额度,单位为美元
|
|
117
|
-
*/
|
|
118
|
-
async QueryPartnerCredit(
|
|
119
|
-
req?: QueryPartnerCreditRequest,
|
|
120
|
-
cb?: (error: string, rep: QueryPartnerCreditResponse) => void
|
|
121
|
-
): Promise<QueryPartnerCreditResponse> {
|
|
122
|
-
return this.request("QueryPartnerCredit", req, cb)
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* 合作伙伴可以为关联客户设置信用额度,包括调高额度、降低额度、设置额度为0
|
|
127
|
-
1、信用额度长期有效,不会定期清0;
|
|
128
|
-
2、可用信用额度为0,会触发客户停服,请谨慎操作;
|
|
129
|
-
3、如需限制客户新购,但不影响已购产品使用,可与渠道经理申请客户欠费不停服特权后,设置可用信用额度为0;
|
|
130
|
-
4、设置的额度,为当前可用信用额度的增量,最大不能超过合作伙伴可分配的剩余额度,设置负数代表回收额度,可用信用额度最低设置为0。
|
|
131
|
-
*/
|
|
132
|
-
async AllocateCustomerCredit(
|
|
133
|
-
req: AllocateCustomerCreditRequest,
|
|
134
|
-
cb?: (error: string, rep: AllocateCustomerCreditResponse) => void
|
|
135
|
-
): Promise<AllocateCustomerCreditResponse> {
|
|
136
|
-
return this.request("AllocateCustomerCredit", req, cb)
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* 获取国家和地区的代码
|
|
141
|
-
*/
|
|
142
|
-
async GetCountryCodes(
|
|
143
|
-
req?: GetCountryCodesRequest,
|
|
144
|
-
cb?: (error: string, rep: GetCountryCodesResponse) => void
|
|
145
|
-
): Promise<GetCountryCodesResponse> {
|
|
146
|
-
return this.request("GetCountryCodes", req, cb)
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* 查询单个客户的全部历史分配记录
|
|
151
|
-
*/
|
|
152
|
-
async QueryCreditAllocationHistory(
|
|
153
|
-
req: QueryCreditAllocationHistoryRequest,
|
|
154
|
-
cb?: (error: string, rep: QueryCreditAllocationHistoryResponse) => void
|
|
155
|
-
): Promise<QueryCreditAllocationHistoryResponse> {
|
|
156
|
-
return this.request("QueryCreditAllocationHistory", req, cb)
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* 合作伙伴可以查询关联客户的信用额度,以及客户的基础信息
|
|
161
|
-
*/
|
|
162
|
-
async QueryCustomersCredit(
|
|
163
|
-
req: QueryCustomersCreditRequest,
|
|
164
|
-
cb?: (error: string, rep: QueryCustomersCreditResponse) => void
|
|
165
|
-
): Promise<QueryCustomersCreditResponse> {
|
|
166
|
-
return this.request("QueryCustomersCredit", req, cb)
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* 根据客户uin查询代金券额度
|
|
171
|
-
*/
|
|
172
|
-
async QueryVoucherAmountByUin(
|
|
173
|
-
req: QueryVoucherAmountByUinRequest,
|
|
174
|
-
cb?: (error: string, rep: QueryVoucherAmountByUinResponse) => void
|
|
175
|
-
): Promise<QueryVoucherAmountByUinResponse> {
|
|
176
|
-
return this.request("QueryVoucherAmountByUin", req, cb)
|
|
177
|
-
}
|
|
178
|
-
}
|