tencentcloud-sdk-nodejs 4.0.469 → 4.0.470
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 +295 -0
- package/SERVICE_CHANGELOG.md +532 -7
- package/package.json +1 -1
- package/products.md +15 -15
- package/src/common/sdk_version.ts +1 -1
- package/src/services/captcha/v20190722/captcha_models.ts +1 -0
- package/src/services/cls/v20201016/cls_models.ts +9 -3
- package/src/services/dcdb/v20180411/dcdb_client.ts +37 -1
- package/src/services/dcdb/v20180411/dcdb_models.ts +121 -6
- package/src/services/gme/v20180711/gme_client.ts +7 -3
- package/src/services/gme/v20180711/gme_models.ts +100 -32
- package/src/services/live/v20180801/live_models.ts +8 -1
- package/src/services/mongodb/v20190725/mongodb_client.ts +15 -0
- package/src/services/mongodb/v20190725/mongodb_models.ts +162 -0
- package/src/services/ocr/v20181119/ocr_models.ts +162 -0
- package/src/services/partners/v20180321/partners_client.ts +93 -80
- package/src/services/partners/v20180321/partners_models.ts +75 -0
- package/src/services/tag/v20180813/tag_models.ts +1 -1
- package/src/services/vod/v20180717/vod_models.ts +41 -0
- package/src/services/wedata/v20210820/wedata_models.ts +10 -0
- package/src/services/yinsuda/v20220527/yinsuda_models.ts +16 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +1 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +8 -3
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +13 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +18 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +104 -6
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +2 -2
- package/tencentcloud/services/gme/v20180711/gme_client.js +1 -1
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +86 -26
- package/tencentcloud/services/live/v20180801/live_models.d.ts +7 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +138 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +130 -0
- package/tencentcloud/services/partners/v20180321/partners_client.d.ts +35 -31
- package/tencentcloud/services/partners/v20180321/partners_client.js +51 -45
- package/tencentcloud/services/partners/v20180321/partners_models.d.ts +63 -0
- package/tencentcloud/services/tag/v20180813/tag_models.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +35 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +8 -0
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +13 -0
- package/test/dcdb.v20180411.test.js +30 -0
- package/test/mongodb.v20190725.test.js +10 -0
- package/test/partners.v20180321.test.js +50 -40
|
@@ -58,6 +58,14 @@ export interface BankSlipOCRRequest {
|
|
|
58
58
|
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
|
59
59
|
*/
|
|
60
60
|
ImageUrl?: string;
|
|
61
|
+
/**
|
|
62
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
63
|
+
*/
|
|
64
|
+
IsPdf?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
67
|
+
*/
|
|
68
|
+
PdfPageNumber?: number;
|
|
61
69
|
}
|
|
62
70
|
/**
|
|
63
71
|
* BusinessCardOCR返回参数结构体
|
|
@@ -175,6 +183,14 @@ export interface CarInvoiceOCRRequest {
|
|
|
175
183
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
176
184
|
*/
|
|
177
185
|
ImageUrl?: string;
|
|
186
|
+
/**
|
|
187
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
188
|
+
*/
|
|
189
|
+
IsPdf?: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
192
|
+
*/
|
|
193
|
+
PdfPageNumber?: number;
|
|
178
194
|
}
|
|
179
195
|
/**
|
|
180
196
|
* 混贴票据单张发票识别信息
|
|
@@ -257,6 +273,14 @@ export interface TrainTicketOCRRequest {
|
|
|
257
273
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
258
274
|
*/
|
|
259
275
|
ImageUrl?: string;
|
|
276
|
+
/**
|
|
277
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
278
|
+
*/
|
|
279
|
+
IsPdf?: boolean;
|
|
280
|
+
/**
|
|
281
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
282
|
+
*/
|
|
283
|
+
PdfPageNumber?: number;
|
|
260
284
|
}
|
|
261
285
|
/**
|
|
262
286
|
* EstateCertOCR返回参数结构体
|
|
@@ -334,6 +358,14 @@ export interface FlightInvoiceOCRRequest {
|
|
|
334
358
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
335
359
|
*/
|
|
336
360
|
ImageUrl?: string;
|
|
361
|
+
/**
|
|
362
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
363
|
+
*/
|
|
364
|
+
IsPdf?: boolean;
|
|
365
|
+
/**
|
|
366
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
367
|
+
*/
|
|
368
|
+
PdfPageNumber?: number;
|
|
337
369
|
}
|
|
338
370
|
/**
|
|
339
371
|
* RecognizePhilippinesDrivingLicenseOCR请求参数结构体
|
|
@@ -804,6 +836,14 @@ export interface InvoiceGeneralOCRRequest {
|
|
|
804
836
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
805
837
|
*/
|
|
806
838
|
ImageUrl?: string;
|
|
839
|
+
/**
|
|
840
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
841
|
+
*/
|
|
842
|
+
IsPdf?: boolean;
|
|
843
|
+
/**
|
|
844
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
845
|
+
*/
|
|
846
|
+
PdfPageNumber?: number;
|
|
807
847
|
}
|
|
808
848
|
/**
|
|
809
849
|
* 矩形坐标
|
|
@@ -2410,6 +2450,14 @@ export interface TollInvoiceOCRRequest {
|
|
|
2410
2450
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
2411
2451
|
*/
|
|
2412
2452
|
ImageUrl?: string;
|
|
2453
|
+
/**
|
|
2454
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
2455
|
+
*/
|
|
2456
|
+
IsPdf?: boolean;
|
|
2457
|
+
/**
|
|
2458
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
2459
|
+
*/
|
|
2460
|
+
PdfPageNumber?: number;
|
|
2413
2461
|
}
|
|
2414
2462
|
/**
|
|
2415
2463
|
* LicensePlateOCR返回参数结构体
|
|
@@ -2639,6 +2687,14 @@ export interface TaxiInvoiceOCRRequest {
|
|
|
2639
2687
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
2640
2688
|
*/
|
|
2641
2689
|
ImageUrl?: string;
|
|
2690
|
+
/**
|
|
2691
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
2692
|
+
*/
|
|
2693
|
+
IsPdf?: boolean;
|
|
2694
|
+
/**
|
|
2695
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
2696
|
+
*/
|
|
2697
|
+
PdfPageNumber?: number;
|
|
2642
2698
|
}
|
|
2643
2699
|
/**
|
|
2644
2700
|
* PropOwnerCertOCR请求参数结构体
|
|
@@ -3808,6 +3864,14 @@ export interface MixedInvoiceDetectRequest {
|
|
|
3808
3864
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
3809
3865
|
*/
|
|
3810
3866
|
ImageUrl?: string;
|
|
3867
|
+
/**
|
|
3868
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
3869
|
+
*/
|
|
3870
|
+
IsPdf?: boolean;
|
|
3871
|
+
/**
|
|
3872
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
3873
|
+
*/
|
|
3874
|
+
PdfPageNumber?: number;
|
|
3811
3875
|
}
|
|
3812
3876
|
/**
|
|
3813
3877
|
* FlightInvoiceOCR返回参数结构体
|
|
@@ -4175,6 +4239,14 @@ export interface VatRollInvoiceOCRRequest {
|
|
|
4175
4239
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
4176
4240
|
*/
|
|
4177
4241
|
ImageUrl?: string;
|
|
4242
|
+
/**
|
|
4243
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
4244
|
+
*/
|
|
4245
|
+
IsPdf?: boolean;
|
|
4246
|
+
/**
|
|
4247
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
4248
|
+
*/
|
|
4249
|
+
PdfPageNumber?: number;
|
|
4178
4250
|
}
|
|
4179
4251
|
/**
|
|
4180
4252
|
* 表格标题
|
|
@@ -4469,6 +4541,14 @@ export interface DutyPaidProofOCRRequest {
|
|
|
4469
4541
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
4470
4542
|
*/
|
|
4471
4543
|
ImageUrl?: string;
|
|
4544
|
+
/**
|
|
4545
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
4546
|
+
*/
|
|
4547
|
+
IsPdf?: boolean;
|
|
4548
|
+
/**
|
|
4549
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
4550
|
+
*/
|
|
4551
|
+
PdfPageNumber?: number;
|
|
4472
4552
|
}
|
|
4473
4553
|
/**
|
|
4474
4554
|
* RecognizeHealthCodeOCR返回参数结构体
|
|
@@ -4649,6 +4729,8 @@ export interface MixedInvoiceOCRRequest {
|
|
|
4649
4729
|
13:过路过桥费发票
|
|
4650
4730
|
15:非税发票
|
|
4651
4731
|
16:全电发票
|
|
4732
|
+
----------------------
|
|
4733
|
+
-1:其他发票,(仅返回,本参数不支持传入-1,请在ReturnOther中控制是否返回)
|
|
4652
4734
|
*/
|
|
4653
4735
|
Types?: Array<number>;
|
|
4654
4736
|
/**
|
|
@@ -4657,6 +4739,14 @@ Yes:识别其他类型发票
|
|
|
4657
4739
|
No:不识别其他类型发票
|
|
4658
4740
|
*/
|
|
4659
4741
|
ReturnOther?: string;
|
|
4742
|
+
/**
|
|
4743
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
4744
|
+
*/
|
|
4745
|
+
IsPdf?: boolean;
|
|
4746
|
+
/**
|
|
4747
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
4748
|
+
*/
|
|
4749
|
+
PdfPageNumber?: number;
|
|
4660
4750
|
}
|
|
4661
4751
|
/**
|
|
4662
4752
|
* 表格内容检测
|
|
@@ -4937,6 +5027,14 @@ export interface RecognizeMedicalInvoiceOCRRequest {
|
|
|
4937
5027
|
* 是否需要返回识别出的文本行在旋转纠正之后的图像中的四点坐标,默认不返回
|
|
4938
5028
|
*/
|
|
4939
5029
|
ReturnCoord?: boolean;
|
|
5030
|
+
/**
|
|
5031
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
5032
|
+
*/
|
|
5033
|
+
IsPdf?: boolean;
|
|
5034
|
+
/**
|
|
5035
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
5036
|
+
*/
|
|
5037
|
+
PdfPageNumber?: number;
|
|
4940
5038
|
}
|
|
4941
5039
|
/**
|
|
4942
5040
|
* 卡证智能分类结果
|
|
@@ -4992,6 +5090,14 @@ export interface ShipInvoiceOCRRequest {
|
|
|
4992
5090
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
4993
5091
|
*/
|
|
4994
5092
|
ImageUrl?: string;
|
|
5093
|
+
/**
|
|
5094
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
5095
|
+
*/
|
|
5096
|
+
IsPdf?: boolean;
|
|
5097
|
+
/**
|
|
5098
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
5099
|
+
*/
|
|
5100
|
+
PdfPageNumber?: number;
|
|
4995
5101
|
}
|
|
4996
5102
|
/**
|
|
4997
5103
|
* SealOCR请求参数结构体
|
|
@@ -5412,6 +5518,14 @@ export interface BusInvoiceOCRRequest {
|
|
|
5412
5518
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
5413
5519
|
*/
|
|
5414
5520
|
ImageUrl?: string;
|
|
5521
|
+
/**
|
|
5522
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
5523
|
+
*/
|
|
5524
|
+
IsPdf?: boolean;
|
|
5525
|
+
/**
|
|
5526
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
5527
|
+
*/
|
|
5528
|
+
PdfPageNumber?: number;
|
|
5415
5529
|
}
|
|
5416
5530
|
/**
|
|
5417
5531
|
* QuotaInvoiceOCR返回参数结构体
|
|
@@ -5830,6 +5944,14 @@ export interface WaybillOCRRequest {
|
|
|
5830
5944
|
* 预检测开关,当待识别运单占整个输入图像的比例较小时,建议打开预检测开关。默认值为false。
|
|
5831
5945
|
*/
|
|
5832
5946
|
EnablePreDetect?: boolean;
|
|
5947
|
+
/**
|
|
5948
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
5949
|
+
*/
|
|
5950
|
+
IsPdf?: boolean;
|
|
5951
|
+
/**
|
|
5952
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
5953
|
+
*/
|
|
5954
|
+
PdfPageNumber?: number;
|
|
5833
5955
|
}
|
|
5834
5956
|
/**
|
|
5835
5957
|
* VinOCR请求参数结构体
|
|
@@ -6131,6 +6253,14 @@ export interface QuotaInvoiceOCRRequest {
|
|
|
6131
6253
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
6132
6254
|
*/
|
|
6133
6255
|
ImageUrl?: string;
|
|
6256
|
+
/**
|
|
6257
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
6258
|
+
*/
|
|
6259
|
+
IsPdf?: boolean;
|
|
6260
|
+
/**
|
|
6261
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
6262
|
+
*/
|
|
6263
|
+
PdfPageNumber?: number;
|
|
6134
6264
|
}
|
|
6135
6265
|
/**
|
|
6136
6266
|
* BankCardOCR返回参数结构体
|
|
@@ -1,32 +1,16 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeAgentDealsCacheRequest, DescribeSalesmansRequest, DescribeAgentAuditedClientsRequest, RemovePayRelationForClientRequest, AgentPayDealsRequest, DescribeAgentClientGradeResponse, DescribeAgentDealsByCacheResponse, DescribeClientBalanceResponse, DescribeAgentSelfPayDealsResponse, DescribeAgentPayDealsV2Response, AgentTransferMoneyRequest, DescribeClientBalanceRequest, DescribeAgentPayDealsV2Request, RemovePayRelationForClientResponse, DescribeRebateInfosRequest, CreatePayRelationForClientResponse, DescribeAgentAuditedClientsResponse, DescribeAgentBillsResponse, DescribeAgentPayDealsRequest, AuditApplyClientRequest, ModifyClientRemarkResponse, DescribeAgentClientsResponse, DescribeAgentClientsRequest, DescribeAgentSelfPayDealsV2Request, DescribeSalesmansResponse, DescribeUnbindClientListRequest, DescribeAgentPayDealsResponse, DescribeAgentDealsByCacheRequest, DescribeAgentSelfPayDealsRequest, ModifyClientRemarkRequest, CreatePayRelationForClientRequest, AgentTransferMoneyResponse, DescribeUnbindClientListResponse, DescribeAgentSelfPayDealsV2Response, AuditApplyClientResponse, DescribeAgentDealsCacheResponse, DescribeAgentBillsRequest, AgentPayDealsResponse, DescribeClientBalanceNewRequest, DescribeRebateInfosResponse, DescribeAgentClientGradeRequest, DescribeClientBalanceNewResponse } from "./partners_models";
|
|
3
|
+
import { DescribeAgentDealsCacheRequest, DescribeSalesmansRequest, DescribeAgentAuditedClientsRequest, DescribeRebateInfosNewRequest, RemovePayRelationForClientRequest, DescribeRebateInfosNewResponse, AgentPayDealsRequest, DescribeAgentClientGradeResponse, DescribeAgentDealsByCacheResponse, DescribeClientBalanceResponse, DescribeAgentSelfPayDealsResponse, DescribeAgentPayDealsV2Response, AgentTransferMoneyRequest, DescribeClientBalanceRequest, DescribeAgentPayDealsV2Request, RemovePayRelationForClientResponse, DescribeRebateInfosRequest, CreatePayRelationForClientResponse, DescribeAgentAuditedClientsResponse, DescribeAgentBillsResponse, DescribeAgentPayDealsRequest, AuditApplyClientRequest, ModifyClientRemarkResponse, DescribeAgentClientsResponse, DescribeAgentClientsRequest, DescribeAgentSelfPayDealsV2Request, DescribeSalesmansResponse, DescribeUnbindClientListRequest, DescribeAgentPayDealsResponse, DescribeAgentDealsByCacheRequest, DescribeAgentSelfPayDealsRequest, ModifyClientRemarkRequest, CreatePayRelationForClientRequest, AgentTransferMoneyResponse, DescribeUnbindClientListResponse, DescribeAgentSelfPayDealsV2Response, AuditApplyClientResponse, DescribeAgentDealsCacheResponse, DescribeAgentBillsRequest, AgentPayDealsResponse, DescribeClientBalanceNewRequest, DescribeRebateInfosResponse, DescribeAgentClientGradeRequest, DescribeClientBalanceNewResponse } from "./partners_models";
|
|
4
4
|
/**
|
|
5
5
|
* partners client
|
|
6
6
|
* @class
|
|
7
7
|
*/
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
|
-
/**
|
|
11
|
-
* 【该接口已下线,请切换使用升级版本DescribeAgentSelfPayDealsV2】可以查询代理商下指定客户的自付订单
|
|
12
|
-
*/
|
|
13
|
-
DescribeAgentSelfPayDeals(req: DescribeAgentSelfPayDealsRequest, cb?: (error: string, rep: DescribeAgentSelfPayDealsResponse) => void): Promise<DescribeAgentSelfPayDealsResponse>;
|
|
14
10
|
/**
|
|
15
11
|
* 【该接口已下线,请使用升级版本DescribeAgentDealsByCache】代理商拉取缓存的全量客户订单
|
|
16
12
|
*/
|
|
17
13
|
DescribeAgentDealsCache(req: DescribeAgentDealsCacheRequest, cb?: (error: string, rep: DescribeAgentDealsCacheResponse) => void): Promise<DescribeAgentDealsCacheResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* 代理商可以对名下客户添加备注、修改备注
|
|
20
|
-
*/
|
|
21
|
-
ModifyClientRemark(req: ModifyClientRemarkRequest, cb?: (error: string, rep: ModifyClientRemarkResponse) => void): Promise<ModifyClientRemarkResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* 查询代理商名下指定代客的自付订单
|
|
24
|
-
*/
|
|
25
|
-
DescribeAgentSelfPayDealsV2(req: DescribeAgentSelfPayDealsV2Request, cb?: (error: string, rep: DescribeAgentSelfPayDealsV2Response) => void): Promise<DescribeAgentSelfPayDealsV2Response>;
|
|
26
|
-
/**
|
|
27
|
-
* 代理商支付订单接口,支持自付/代付
|
|
28
|
-
*/
|
|
29
|
-
AgentPayDeals(req: AgentPayDealsRequest, cb?: (error: string, rep: AgentPayDealsResponse) => void): Promise<AgentPayDealsResponse>;
|
|
30
14
|
/**
|
|
31
15
|
* 代理商可查询自己及名下代客所有业务明细
|
|
32
16
|
*/
|
|
@@ -39,38 +23,42 @@ export declare class Client extends AbstractClient {
|
|
|
39
23
|
* 【该接口已下线,请切换使用升级版本DescribeRebateInfosNew】代理商可查询自己名下全部返佣信息
|
|
40
24
|
*/
|
|
41
25
|
DescribeRebateInfos(req: DescribeRebateInfosRequest, cb?: (error: string, rep: DescribeRebateInfosResponse) => void): Promise<DescribeRebateInfosResponse>;
|
|
42
|
-
/**
|
|
43
|
-
* 代理商查询名下业务员列表信息
|
|
44
|
-
*/
|
|
45
|
-
DescribeSalesmans(req: DescribeSalesmansRequest, cb?: (error: string, rep: DescribeSalesmansResponse) => void): Promise<DescribeSalesmansResponse>;
|
|
46
26
|
/**
|
|
47
27
|
* 合作伙伴为客户消除强代付关系
|
|
48
28
|
*/
|
|
49
29
|
RemovePayRelationForClient(req: RemovePayRelationForClientRequest, cb?: (error: string, rep: RemovePayRelationForClientResponse) => void): Promise<RemovePayRelationForClientResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* 代理商可以对名下客户添加备注、修改备注
|
|
32
|
+
*/
|
|
33
|
+
ModifyClientRemark(req: ModifyClientRemarkRequest, cb?: (error: string, rep: ModifyClientRemarkResponse) => void): Promise<ModifyClientRemarkResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 【该接口将逐步下线,请切换使用升级版本DescribeClientBalanceNew】为合作伙伴提供查询客户余额能力。调用者必须是合作伙伴,只能查询自己名下客户余额.
|
|
36
|
+
*/
|
|
37
|
+
DescribeClientBalance(req: DescribeClientBalanceRequest, cb?: (error: string, rep: DescribeClientBalanceResponse) => void): Promise<DescribeClientBalanceResponse>;
|
|
50
38
|
/**
|
|
51
39
|
* 为合作伙伴提供查询客户余额能力。调用者必须是合作伙伴,只能查询自己名下客户余额
|
|
52
40
|
*/
|
|
53
41
|
DescribeClientBalanceNew(req: DescribeClientBalanceNewRequest, cb?: (error: string, rep: DescribeClientBalanceNewResponse) => void): Promise<DescribeClientBalanceNewResponse>;
|
|
54
42
|
/**
|
|
55
|
-
*
|
|
43
|
+
* 传入代客uin,查客户级别,客户审核状态,客户实名认证状态
|
|
56
44
|
*/
|
|
57
|
-
|
|
45
|
+
DescribeAgentClientGrade(req: DescribeAgentClientGradeRequest, cb?: (error: string, rep: DescribeAgentClientGradeResponse) => void): Promise<DescribeAgentClientGradeResponse>;
|
|
58
46
|
/**
|
|
59
47
|
* 代理商名下客户解绑记录查询接口
|
|
60
48
|
*/
|
|
61
49
|
DescribeUnbindClientList(req: DescribeUnbindClientListRequest, cb?: (error: string, rep: DescribeUnbindClientListResponse) => void): Promise<DescribeUnbindClientListResponse>;
|
|
62
50
|
/**
|
|
63
|
-
*
|
|
51
|
+
* 代理商支付订单接口,支持自付/代付
|
|
64
52
|
*/
|
|
65
|
-
|
|
53
|
+
AgentPayDeals(req: AgentPayDealsRequest, cb?: (error: string, rep: AgentPayDealsResponse) => void): Promise<AgentPayDealsResponse>;
|
|
66
54
|
/**
|
|
67
|
-
*
|
|
55
|
+
* 代理商查询名下业务员列表信息
|
|
68
56
|
*/
|
|
69
|
-
|
|
57
|
+
DescribeSalesmans(req: DescribeSalesmansRequest, cb?: (error: string, rep: DescribeSalesmansResponse) => void): Promise<DescribeSalesmansResponse>;
|
|
70
58
|
/**
|
|
71
|
-
*
|
|
59
|
+
* 【该接口已下线,请切换使用升级版本DescribeAgentPayDealsV2】可以查询代理商代付的所有订单
|
|
72
60
|
*/
|
|
73
|
-
|
|
61
|
+
DescribeAgentPayDeals(req: DescribeAgentPayDealsRequest, cb?: (error: string, rep: DescribeAgentPayDealsResponse) => void): Promise<DescribeAgentPayDealsResponse>;
|
|
74
62
|
/**
|
|
75
63
|
* 可以查询代理商代付的所有订单
|
|
76
64
|
*/
|
|
@@ -80,9 +68,9 @@ export declare class Client extends AbstractClient {
|
|
|
80
68
|
*/
|
|
81
69
|
DescribeAgentAuditedClients(req: DescribeAgentAuditedClientsRequest, cb?: (error: string, rep: DescribeAgentAuditedClientsResponse) => void): Promise<DescribeAgentAuditedClientsResponse>;
|
|
82
70
|
/**
|
|
83
|
-
*
|
|
71
|
+
* 查询代理商名下指定代客的自付订单
|
|
84
72
|
*/
|
|
85
|
-
|
|
73
|
+
DescribeAgentSelfPayDealsV2(req: DescribeAgentSelfPayDealsV2Request, cb?: (error: string, rep: DescribeAgentSelfPayDealsV2Response) => void): Promise<DescribeAgentSelfPayDealsV2Response>;
|
|
86
74
|
/**
|
|
87
75
|
* 代理商可以审核其名下申请中代客
|
|
88
76
|
*/
|
|
@@ -91,4 +79,20 @@ export declare class Client extends AbstractClient {
|
|
|
91
79
|
* 供代理商拉取缓存的全量客户订单
|
|
92
80
|
*/
|
|
93
81
|
DescribeAgentDealsByCache(req: DescribeAgentDealsByCacheRequest, cb?: (error: string, rep: DescribeAgentDealsByCacheResponse) => void): Promise<DescribeAgentDealsByCacheResponse>;
|
|
82
|
+
/**
|
|
83
|
+
* 【该接口已下线,请切换使用升级版本DescribeAgentSelfPayDealsV2】可以查询代理商下指定客户的自付订单
|
|
84
|
+
*/
|
|
85
|
+
DescribeAgentSelfPayDeals(req: DescribeAgentSelfPayDealsRequest, cb?: (error: string, rep: DescribeAgentSelfPayDealsResponse) => void): Promise<DescribeAgentSelfPayDealsResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* 代理商可查询自己名下全部返佣信息
|
|
88
|
+
*/
|
|
89
|
+
DescribeRebateInfosNew(req: DescribeRebateInfosNewRequest, cb?: (error: string, rep: DescribeRebateInfosNewResponse) => void): Promise<DescribeRebateInfosNewResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* 代理商可查询自己名下待审核客户列表
|
|
92
|
+
*/
|
|
93
|
+
DescribeAgentClients(req: DescribeAgentClientsRequest, cb?: (error: string, rep: DescribeAgentClientsResponse) => void): Promise<DescribeAgentClientsResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* 合作伙伴为客户创建强代付关系
|
|
96
|
+
*/
|
|
97
|
+
CreatePayRelationForClient(req: CreatePayRelationForClientRequest, cb?: (error: string, rep: CreatePayRelationForClientResponse) => void): Promise<CreatePayRelationForClientResponse>;
|
|
94
98
|
}
|
|
@@ -27,36 +27,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("partners.tencentcloudapi.com", "2018-03-21", clientConfig);
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* 【该接口已下线,请切换使用升级版本DescribeAgentSelfPayDealsV2】可以查询代理商下指定客户的自付订单
|
|
32
|
-
*/
|
|
33
|
-
async DescribeAgentSelfPayDeals(req, cb) {
|
|
34
|
-
return this.request("DescribeAgentSelfPayDeals", req, cb);
|
|
35
|
-
}
|
|
36
30
|
/**
|
|
37
31
|
* 【该接口已下线,请使用升级版本DescribeAgentDealsByCache】代理商拉取缓存的全量客户订单
|
|
38
32
|
*/
|
|
39
33
|
async DescribeAgentDealsCache(req, cb) {
|
|
40
34
|
return this.request("DescribeAgentDealsCache", req, cb);
|
|
41
35
|
}
|
|
42
|
-
/**
|
|
43
|
-
* 代理商可以对名下客户添加备注、修改备注
|
|
44
|
-
*/
|
|
45
|
-
async ModifyClientRemark(req, cb) {
|
|
46
|
-
return this.request("ModifyClientRemark", req, cb);
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* 查询代理商名下指定代客的自付订单
|
|
50
|
-
*/
|
|
51
|
-
async DescribeAgentSelfPayDealsV2(req, cb) {
|
|
52
|
-
return this.request("DescribeAgentSelfPayDealsV2", req, cb);
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* 代理商支付订单接口,支持自付/代付
|
|
56
|
-
*/
|
|
57
|
-
async AgentPayDeals(req, cb) {
|
|
58
|
-
return this.request("AgentPayDeals", req, cb);
|
|
59
|
-
}
|
|
60
36
|
/**
|
|
61
37
|
* 代理商可查询自己及名下代客所有业务明细
|
|
62
38
|
*/
|
|
@@ -75,18 +51,24 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
75
51
|
async DescribeRebateInfos(req, cb) {
|
|
76
52
|
return this.request("DescribeRebateInfos", req, cb);
|
|
77
53
|
}
|
|
78
|
-
/**
|
|
79
|
-
* 代理商查询名下业务员列表信息
|
|
80
|
-
*/
|
|
81
|
-
async DescribeSalesmans(req, cb) {
|
|
82
|
-
return this.request("DescribeSalesmans", req, cb);
|
|
83
|
-
}
|
|
84
54
|
/**
|
|
85
55
|
* 合作伙伴为客户消除强代付关系
|
|
86
56
|
*/
|
|
87
57
|
async RemovePayRelationForClient(req, cb) {
|
|
88
58
|
return this.request("RemovePayRelationForClient", req, cb);
|
|
89
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* 代理商可以对名下客户添加备注、修改备注
|
|
62
|
+
*/
|
|
63
|
+
async ModifyClientRemark(req, cb) {
|
|
64
|
+
return this.request("ModifyClientRemark", req, cb);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 【该接口将逐步下线,请切换使用升级版本DescribeClientBalanceNew】为合作伙伴提供查询客户余额能力。调用者必须是合作伙伴,只能查询自己名下客户余额.
|
|
68
|
+
*/
|
|
69
|
+
async DescribeClientBalance(req, cb) {
|
|
70
|
+
return this.request("DescribeClientBalance", req, cb);
|
|
71
|
+
}
|
|
90
72
|
/**
|
|
91
73
|
* 为合作伙伴提供查询客户余额能力。调用者必须是合作伙伴,只能查询自己名下客户余额
|
|
92
74
|
*/
|
|
@@ -94,10 +76,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
94
76
|
return this.request("DescribeClientBalanceNew", req, cb);
|
|
95
77
|
}
|
|
96
78
|
/**
|
|
97
|
-
*
|
|
79
|
+
* 传入代客uin,查客户级别,客户审核状态,客户实名认证状态
|
|
98
80
|
*/
|
|
99
|
-
async
|
|
100
|
-
return this.request("
|
|
81
|
+
async DescribeAgentClientGrade(req, cb) {
|
|
82
|
+
return this.request("DescribeAgentClientGrade", req, cb);
|
|
101
83
|
}
|
|
102
84
|
/**
|
|
103
85
|
* 代理商名下客户解绑记录查询接口
|
|
@@ -106,22 +88,22 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
106
88
|
return this.request("DescribeUnbindClientList", req, cb);
|
|
107
89
|
}
|
|
108
90
|
/**
|
|
109
|
-
*
|
|
91
|
+
* 代理商支付订单接口,支持自付/代付
|
|
110
92
|
*/
|
|
111
|
-
async
|
|
112
|
-
return this.request("
|
|
93
|
+
async AgentPayDeals(req, cb) {
|
|
94
|
+
return this.request("AgentPayDeals", req, cb);
|
|
113
95
|
}
|
|
114
96
|
/**
|
|
115
|
-
*
|
|
97
|
+
* 代理商查询名下业务员列表信息
|
|
116
98
|
*/
|
|
117
|
-
async
|
|
118
|
-
return this.request("
|
|
99
|
+
async DescribeSalesmans(req, cb) {
|
|
100
|
+
return this.request("DescribeSalesmans", req, cb);
|
|
119
101
|
}
|
|
120
102
|
/**
|
|
121
|
-
*
|
|
103
|
+
* 【该接口已下线,请切换使用升级版本DescribeAgentPayDealsV2】可以查询代理商代付的所有订单
|
|
122
104
|
*/
|
|
123
|
-
async
|
|
124
|
-
return this.request("
|
|
105
|
+
async DescribeAgentPayDeals(req, cb) {
|
|
106
|
+
return this.request("DescribeAgentPayDeals", req, cb);
|
|
125
107
|
}
|
|
126
108
|
/**
|
|
127
109
|
* 可以查询代理商代付的所有订单
|
|
@@ -136,10 +118,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
136
118
|
return this.request("DescribeAgentAuditedClients", req, cb);
|
|
137
119
|
}
|
|
138
120
|
/**
|
|
139
|
-
*
|
|
121
|
+
* 查询代理商名下指定代客的自付订单
|
|
140
122
|
*/
|
|
141
|
-
async
|
|
142
|
-
return this.request("
|
|
123
|
+
async DescribeAgentSelfPayDealsV2(req, cb) {
|
|
124
|
+
return this.request("DescribeAgentSelfPayDealsV2", req, cb);
|
|
143
125
|
}
|
|
144
126
|
/**
|
|
145
127
|
* 代理商可以审核其名下申请中代客
|
|
@@ -153,5 +135,29 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
153
135
|
async DescribeAgentDealsByCache(req, cb) {
|
|
154
136
|
return this.request("DescribeAgentDealsByCache", req, cb);
|
|
155
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* 【该接口已下线,请切换使用升级版本DescribeAgentSelfPayDealsV2】可以查询代理商下指定客户的自付订单
|
|
140
|
+
*/
|
|
141
|
+
async DescribeAgentSelfPayDeals(req, cb) {
|
|
142
|
+
return this.request("DescribeAgentSelfPayDeals", req, cb);
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* 代理商可查询自己名下全部返佣信息
|
|
146
|
+
*/
|
|
147
|
+
async DescribeRebateInfosNew(req, cb) {
|
|
148
|
+
return this.request("DescribeRebateInfosNew", req, cb);
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* 代理商可查询自己名下待审核客户列表
|
|
152
|
+
*/
|
|
153
|
+
async DescribeAgentClients(req, cb) {
|
|
154
|
+
return this.request("DescribeAgentClients", req, cb);
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* 合作伙伴为客户创建强代付关系
|
|
158
|
+
*/
|
|
159
|
+
async CreatePayRelationForClient(req, cb) {
|
|
160
|
+
return this.request("CreatePayRelationForClient", req, cb);
|
|
161
|
+
}
|
|
156
162
|
}
|
|
157
163
|
exports.Client = Client;
|
|
@@ -173,6 +173,23 @@ export interface DescribeAgentAuditedClientsRequest {
|
|
|
173
173
|
*/
|
|
174
174
|
SalesName?: string;
|
|
175
175
|
}
|
|
176
|
+
/**
|
|
177
|
+
* DescribeRebateInfosNew请求参数结构体
|
|
178
|
+
*/
|
|
179
|
+
export interface DescribeRebateInfosNewRequest {
|
|
180
|
+
/**
|
|
181
|
+
* 返佣月份,如2018-02
|
|
182
|
+
*/
|
|
183
|
+
RebateMonth?: string;
|
|
184
|
+
/**
|
|
185
|
+
* 偏移量
|
|
186
|
+
*/
|
|
187
|
+
Offset?: number;
|
|
188
|
+
/**
|
|
189
|
+
* 限制数目
|
|
190
|
+
*/
|
|
191
|
+
Limit?: number;
|
|
192
|
+
}
|
|
176
193
|
/**
|
|
177
194
|
* RemovePayRelationForClient请求参数结构体
|
|
178
195
|
*/
|
|
@@ -182,6 +199,23 @@ export interface RemovePayRelationForClientRequest {
|
|
|
182
199
|
*/
|
|
183
200
|
ClientUin: string;
|
|
184
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* DescribeRebateInfosNew返回参数结构体
|
|
204
|
+
*/
|
|
205
|
+
export interface DescribeRebateInfosNewResponse {
|
|
206
|
+
/**
|
|
207
|
+
* 返佣信息列表
|
|
208
|
+
*/
|
|
209
|
+
RebateInfoSet: Array<RebateInfoElemNew>;
|
|
210
|
+
/**
|
|
211
|
+
* 符合查询条件返佣信息数目
|
|
212
|
+
*/
|
|
213
|
+
TotalCount: number;
|
|
214
|
+
/**
|
|
215
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
216
|
+
*/
|
|
217
|
+
RequestId?: string;
|
|
218
|
+
}
|
|
185
219
|
/**
|
|
186
220
|
* AgentPayDeals请求参数结构体
|
|
187
221
|
*/
|
|
@@ -1446,6 +1480,35 @@ export interface DescribeAgentClientGradeRequest {
|
|
|
1446
1480
|
*/
|
|
1447
1481
|
ClientUin: string;
|
|
1448
1482
|
}
|
|
1483
|
+
/**
|
|
1484
|
+
* 返佣信息定义
|
|
1485
|
+
*/
|
|
1486
|
+
export interface RebateInfoElemNew {
|
|
1487
|
+
/**
|
|
1488
|
+
* 代理商账号ID
|
|
1489
|
+
*/
|
|
1490
|
+
Uin: string;
|
|
1491
|
+
/**
|
|
1492
|
+
* 返佣月份,如2018-02
|
|
1493
|
+
*/
|
|
1494
|
+
RebateMonth: string;
|
|
1495
|
+
/**
|
|
1496
|
+
* 返佣金额,单位分
|
|
1497
|
+
*/
|
|
1498
|
+
Amt: number;
|
|
1499
|
+
/**
|
|
1500
|
+
* 月度业绩,单位分
|
|
1501
|
+
*/
|
|
1502
|
+
MonthSales: number;
|
|
1503
|
+
/**
|
|
1504
|
+
* 季度业绩,单位分
|
|
1505
|
+
*/
|
|
1506
|
+
QuarterSales: number;
|
|
1507
|
+
/**
|
|
1508
|
+
* NORMAL(正常)/HAS_OVERDUE_BILL(欠费)/NO_CONTRACT(缺合同)
|
|
1509
|
+
*/
|
|
1510
|
+
ExceptionFlag: string;
|
|
1511
|
+
}
|
|
1449
1512
|
/**
|
|
1450
1513
|
* DescribeClientBalanceNew返回参数结构体
|
|
1451
1514
|
*/
|