tencentcloud-sdk-nodejs 4.0.469 → 4.0.471
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 +525 -0
- package/SERVICE_CHANGELOG.md +717 -53
- package/package.json +1 -1
- package/products.md +51 -51
- package/src/common/sdk_version.ts +1 -1
- package/src/services/captcha/v20190722/captcha_models.ts +1 -0
- package/src/services/ccc/v20200210/ccc_client.ts +143 -70
- package/src/services/ccc/v20200210/ccc_models.ts +1373 -1083
- package/src/services/ckafka/v20190819/ckafka_client.ts +1 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +17 -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/dts/index.ts +2 -0
- package/src/services/dts/v20211206/dts_client.ts +520 -0
- package/src/services/dts/v20211206/dts_models.ts +3518 -0
- package/src/services/dts/v20211206/index.ts +6 -0
- package/src/services/ess/v20201111/ess_models.ts +6 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +5 -0
- package/src/services/gme/v20180711/gme_client.ts +7 -3
- package/src/services/gme/v20180711/gme_models.ts +100 -32
- package/src/services/ivld/v20210903/ivld_models.ts +3 -3
- 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/soe/v20180724/soe_models.ts +70 -0
- package/src/services/tag/v20180813/tag_models.ts +1 -1
- package/src/services/teo/v20220901/teo_models.ts +39 -26
- 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/ccc/v20200210/ccc_client.d.ts +31 -7
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +45 -9
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +1260 -1015
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +15 -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/dts/index.d.ts +4 -0
- package/tencentcloud/services/dts/index.js +2 -0
- package/tencentcloud/services/dts/v20211206/dts_client.d.ts +163 -0
- package/tencentcloud/services/dts/v20211206/dts_client.js +256 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +2989 -0
- package/tencentcloud/services/dts/v20211206/dts_models.js +18 -0
- package/tencentcloud/services/dts/v20211206/index.d.ts +6 -0
- package/tencentcloud/services/dts/v20211206/index.js +9 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +6 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +5 -0
- 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/ivld/v20210903/ivld_models.d.ts +3 -3
- 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/soe/v20180724/soe_models.d.ts +58 -0
- package/tencentcloud/services/tag/v20180813/tag_models.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +36 -26
- 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/ccc.v20200210.test.js +66 -6
- package/test/dcdb.v20180411.test.js +30 -0
- package/test/dts.v20211206.test.js +381 -0
- package/test/mongodb.v20190725.test.js +10 -0
- package/test/partners.v20180321.test.js +50 -40
|
@@ -85,6 +85,16 @@ export interface BankSlipOCRRequest {
|
|
|
85
85
|
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
|
86
86
|
*/
|
|
87
87
|
ImageUrl?: string
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
91
|
+
*/
|
|
92
|
+
IsPdf?: boolean
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
96
|
+
*/
|
|
97
|
+
PdfPageNumber?: number
|
|
88
98
|
}
|
|
89
99
|
|
|
90
100
|
/**
|
|
@@ -220,6 +230,16 @@ export interface CarInvoiceOCRRequest {
|
|
|
220
230
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
221
231
|
*/
|
|
222
232
|
ImageUrl?: string
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
236
|
+
*/
|
|
237
|
+
IsPdf?: boolean
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
241
|
+
*/
|
|
242
|
+
PdfPageNumber?: number
|
|
223
243
|
}
|
|
224
244
|
|
|
225
245
|
/**
|
|
@@ -311,6 +331,16 @@ export interface TrainTicketOCRRequest {
|
|
|
311
331
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
312
332
|
*/
|
|
313
333
|
ImageUrl?: string
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
337
|
+
*/
|
|
338
|
+
IsPdf?: boolean
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
342
|
+
*/
|
|
343
|
+
PdfPageNumber?: number
|
|
314
344
|
}
|
|
315
345
|
|
|
316
346
|
/**
|
|
@@ -403,6 +433,16 @@ export interface FlightInvoiceOCRRequest {
|
|
|
403
433
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
404
434
|
*/
|
|
405
435
|
ImageUrl?: string
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
439
|
+
*/
|
|
440
|
+
IsPdf?: boolean
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
444
|
+
*/
|
|
445
|
+
PdfPageNumber?: number
|
|
406
446
|
}
|
|
407
447
|
|
|
408
448
|
/**
|
|
@@ -966,6 +1006,16 @@ export interface InvoiceGeneralOCRRequest {
|
|
|
966
1006
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
967
1007
|
*/
|
|
968
1008
|
ImageUrl?: string
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
1012
|
+
*/
|
|
1013
|
+
IsPdf?: boolean
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
1017
|
+
*/
|
|
1018
|
+
PdfPageNumber?: number
|
|
969
1019
|
}
|
|
970
1020
|
|
|
971
1021
|
/**
|
|
@@ -2845,6 +2895,16 @@ export interface TollInvoiceOCRRequest {
|
|
|
2845
2895
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
2846
2896
|
*/
|
|
2847
2897
|
ImageUrl?: string
|
|
2898
|
+
|
|
2899
|
+
/**
|
|
2900
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
2901
|
+
*/
|
|
2902
|
+
IsPdf?: boolean
|
|
2903
|
+
|
|
2904
|
+
/**
|
|
2905
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
2906
|
+
*/
|
|
2907
|
+
PdfPageNumber?: number
|
|
2848
2908
|
}
|
|
2849
2909
|
|
|
2850
2910
|
/**
|
|
@@ -3115,6 +3175,16 @@ export interface TaxiInvoiceOCRRequest {
|
|
|
3115
3175
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
3116
3176
|
*/
|
|
3117
3177
|
ImageUrl?: string
|
|
3178
|
+
|
|
3179
|
+
/**
|
|
3180
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
3181
|
+
*/
|
|
3182
|
+
IsPdf?: boolean
|
|
3183
|
+
|
|
3184
|
+
/**
|
|
3185
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
3186
|
+
*/
|
|
3187
|
+
PdfPageNumber?: number
|
|
3118
3188
|
}
|
|
3119
3189
|
|
|
3120
3190
|
/**
|
|
@@ -4488,6 +4558,16 @@ export interface MixedInvoiceDetectRequest {
|
|
|
4488
4558
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
4489
4559
|
*/
|
|
4490
4560
|
ImageUrl?: string
|
|
4561
|
+
|
|
4562
|
+
/**
|
|
4563
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
4564
|
+
*/
|
|
4565
|
+
IsPdf?: boolean
|
|
4566
|
+
|
|
4567
|
+
/**
|
|
4568
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
4569
|
+
*/
|
|
4570
|
+
PdfPageNumber?: number
|
|
4491
4571
|
}
|
|
4492
4572
|
|
|
4493
4573
|
/**
|
|
@@ -4915,6 +4995,16 @@ export interface VatRollInvoiceOCRRequest {
|
|
|
4915
4995
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
4916
4996
|
*/
|
|
4917
4997
|
ImageUrl?: string
|
|
4998
|
+
|
|
4999
|
+
/**
|
|
5000
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
5001
|
+
*/
|
|
5002
|
+
IsPdf?: boolean
|
|
5003
|
+
|
|
5004
|
+
/**
|
|
5005
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
5006
|
+
*/
|
|
5007
|
+
PdfPageNumber?: number
|
|
4918
5008
|
}
|
|
4919
5009
|
|
|
4920
5010
|
/**
|
|
@@ -5253,6 +5343,16 @@ export interface DutyPaidProofOCRRequest {
|
|
|
5253
5343
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
5254
5344
|
*/
|
|
5255
5345
|
ImageUrl?: string
|
|
5346
|
+
|
|
5347
|
+
/**
|
|
5348
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
5349
|
+
*/
|
|
5350
|
+
IsPdf?: boolean
|
|
5351
|
+
|
|
5352
|
+
/**
|
|
5353
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
5354
|
+
*/
|
|
5355
|
+
PdfPageNumber?: number
|
|
5256
5356
|
}
|
|
5257
5357
|
|
|
5258
5358
|
/**
|
|
@@ -5466,6 +5566,8 @@ export interface MixedInvoiceOCRRequest {
|
|
|
5466
5566
|
13:过路过桥费发票
|
|
5467
5567
|
15:非税发票
|
|
5468
5568
|
16:全电发票
|
|
5569
|
+
----------------------
|
|
5570
|
+
-1:其他发票,(仅返回,本参数不支持传入-1,请在ReturnOther中控制是否返回)
|
|
5469
5571
|
*/
|
|
5470
5572
|
Types?: Array<number>
|
|
5471
5573
|
|
|
@@ -5475,6 +5577,16 @@ Yes:识别其他类型发票
|
|
|
5475
5577
|
No:不识别其他类型发票
|
|
5476
5578
|
*/
|
|
5477
5579
|
ReturnOther?: string
|
|
5580
|
+
|
|
5581
|
+
/**
|
|
5582
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
5583
|
+
*/
|
|
5584
|
+
IsPdf?: boolean
|
|
5585
|
+
|
|
5586
|
+
/**
|
|
5587
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
5588
|
+
*/
|
|
5589
|
+
PdfPageNumber?: number
|
|
5478
5590
|
}
|
|
5479
5591
|
|
|
5480
5592
|
/**
|
|
@@ -5807,6 +5919,16 @@ export interface RecognizeMedicalInvoiceOCRRequest {
|
|
|
5807
5919
|
* 是否需要返回识别出的文本行在旋转纠正之后的图像中的四点坐标,默认不返回
|
|
5808
5920
|
*/
|
|
5809
5921
|
ReturnCoord?: boolean
|
|
5922
|
+
|
|
5923
|
+
/**
|
|
5924
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
5925
|
+
*/
|
|
5926
|
+
IsPdf?: boolean
|
|
5927
|
+
|
|
5928
|
+
/**
|
|
5929
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
5930
|
+
*/
|
|
5931
|
+
PdfPageNumber?: number
|
|
5810
5932
|
}
|
|
5811
5933
|
|
|
5812
5934
|
/**
|
|
@@ -5870,6 +5992,16 @@ export interface ShipInvoiceOCRRequest {
|
|
|
5870
5992
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
5871
5993
|
*/
|
|
5872
5994
|
ImageUrl?: string
|
|
5995
|
+
|
|
5996
|
+
/**
|
|
5997
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
5998
|
+
*/
|
|
5999
|
+
IsPdf?: boolean
|
|
6000
|
+
|
|
6001
|
+
/**
|
|
6002
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
6003
|
+
*/
|
|
6004
|
+
PdfPageNumber?: number
|
|
5873
6005
|
}
|
|
5874
6006
|
|
|
5875
6007
|
/**
|
|
@@ -6372,6 +6504,16 @@ export interface BusInvoiceOCRRequest {
|
|
|
6372
6504
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
6373
6505
|
*/
|
|
6374
6506
|
ImageUrl?: string
|
|
6507
|
+
|
|
6508
|
+
/**
|
|
6509
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
6510
|
+
*/
|
|
6511
|
+
IsPdf?: boolean
|
|
6512
|
+
|
|
6513
|
+
/**
|
|
6514
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
6515
|
+
*/
|
|
6516
|
+
PdfPageNumber?: number
|
|
6375
6517
|
}
|
|
6376
6518
|
|
|
6377
6519
|
/**
|
|
@@ -6861,6 +7003,16 @@ export interface WaybillOCRRequest {
|
|
|
6861
7003
|
* 预检测开关,当待识别运单占整个输入图像的比例较小时,建议打开预检测开关。默认值为false。
|
|
6862
7004
|
*/
|
|
6863
7005
|
EnablePreDetect?: boolean
|
|
7006
|
+
|
|
7007
|
+
/**
|
|
7008
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
7009
|
+
*/
|
|
7010
|
+
IsPdf?: boolean
|
|
7011
|
+
|
|
7012
|
+
/**
|
|
7013
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
7014
|
+
*/
|
|
7015
|
+
PdfPageNumber?: number
|
|
6864
7016
|
}
|
|
6865
7017
|
|
|
6866
7018
|
/**
|
|
@@ -7211,6 +7363,16 @@ export interface QuotaInvoiceOCRRequest {
|
|
|
7211
7363
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
7212
7364
|
*/
|
|
7213
7365
|
ImageUrl?: string
|
|
7366
|
+
|
|
7367
|
+
/**
|
|
7368
|
+
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
7369
|
+
*/
|
|
7370
|
+
IsPdf?: boolean
|
|
7371
|
+
|
|
7372
|
+
/**
|
|
7373
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
7374
|
+
*/
|
|
7375
|
+
PdfPageNumber?: number
|
|
7214
7376
|
}
|
|
7215
7377
|
|
|
7216
7378
|
/**
|
|
@@ -22,7 +22,9 @@ import {
|
|
|
22
22
|
DescribeAgentDealsCacheRequest,
|
|
23
23
|
DescribeSalesmansRequest,
|
|
24
24
|
DescribeAgentAuditedClientsRequest,
|
|
25
|
+
DescribeRebateInfosNewRequest,
|
|
25
26
|
RemovePayRelationForClientRequest,
|
|
27
|
+
DescribeRebateInfosNewResponse,
|
|
26
28
|
AgentPayDealsRequest,
|
|
27
29
|
DescribeAgentClientGradeResponse,
|
|
28
30
|
DescribeAgentDealsByCacheResponse,
|
|
@@ -70,6 +72,7 @@ import {
|
|
|
70
72
|
DealGoodsPriceNewElem,
|
|
71
73
|
DescribeRebateInfosResponse,
|
|
72
74
|
DescribeAgentClientGradeRequest,
|
|
75
|
+
RebateInfoElemNew,
|
|
73
76
|
DescribeClientBalanceNewResponse,
|
|
74
77
|
} from "./partners_models"
|
|
75
78
|
|
|
@@ -82,16 +85,6 @@ export class Client extends AbstractClient {
|
|
|
82
85
|
super("partners.tencentcloudapi.com", "2018-03-21", clientConfig)
|
|
83
86
|
}
|
|
84
87
|
|
|
85
|
-
/**
|
|
86
|
-
* 【该接口已下线,请切换使用升级版本DescribeAgentSelfPayDealsV2】可以查询代理商下指定客户的自付订单
|
|
87
|
-
*/
|
|
88
|
-
async DescribeAgentSelfPayDeals(
|
|
89
|
-
req: DescribeAgentSelfPayDealsRequest,
|
|
90
|
-
cb?: (error: string, rep: DescribeAgentSelfPayDealsResponse) => void
|
|
91
|
-
): Promise<DescribeAgentSelfPayDealsResponse> {
|
|
92
|
-
return this.request("DescribeAgentSelfPayDeals", req, cb)
|
|
93
|
-
}
|
|
94
|
-
|
|
95
88
|
/**
|
|
96
89
|
* 【该接口已下线,请使用升级版本DescribeAgentDealsByCache】代理商拉取缓存的全量客户订单
|
|
97
90
|
*/
|
|
@@ -102,36 +95,6 @@ export class Client extends AbstractClient {
|
|
|
102
95
|
return this.request("DescribeAgentDealsCache", req, cb)
|
|
103
96
|
}
|
|
104
97
|
|
|
105
|
-
/**
|
|
106
|
-
* 代理商可以对名下客户添加备注、修改备注
|
|
107
|
-
*/
|
|
108
|
-
async ModifyClientRemark(
|
|
109
|
-
req: ModifyClientRemarkRequest,
|
|
110
|
-
cb?: (error: string, rep: ModifyClientRemarkResponse) => void
|
|
111
|
-
): Promise<ModifyClientRemarkResponse> {
|
|
112
|
-
return this.request("ModifyClientRemark", req, cb)
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* 查询代理商名下指定代客的自付订单
|
|
117
|
-
*/
|
|
118
|
-
async DescribeAgentSelfPayDealsV2(
|
|
119
|
-
req: DescribeAgentSelfPayDealsV2Request,
|
|
120
|
-
cb?: (error: string, rep: DescribeAgentSelfPayDealsV2Response) => void
|
|
121
|
-
): Promise<DescribeAgentSelfPayDealsV2Response> {
|
|
122
|
-
return this.request("DescribeAgentSelfPayDealsV2", req, cb)
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* 代理商支付订单接口,支持自付/代付
|
|
127
|
-
*/
|
|
128
|
-
async AgentPayDeals(
|
|
129
|
-
req: AgentPayDealsRequest,
|
|
130
|
-
cb?: (error: string, rep: AgentPayDealsResponse) => void
|
|
131
|
-
): Promise<AgentPayDealsResponse> {
|
|
132
|
-
return this.request("AgentPayDeals", req, cb)
|
|
133
|
-
}
|
|
134
|
-
|
|
135
98
|
/**
|
|
136
99
|
* 代理商可查询自己及名下代客所有业务明细
|
|
137
100
|
*/
|
|
@@ -162,16 +125,6 @@ export class Client extends AbstractClient {
|
|
|
162
125
|
return this.request("DescribeRebateInfos", req, cb)
|
|
163
126
|
}
|
|
164
127
|
|
|
165
|
-
/**
|
|
166
|
-
* 代理商查询名下业务员列表信息
|
|
167
|
-
*/
|
|
168
|
-
async DescribeSalesmans(
|
|
169
|
-
req: DescribeSalesmansRequest,
|
|
170
|
-
cb?: (error: string, rep: DescribeSalesmansResponse) => void
|
|
171
|
-
): Promise<DescribeSalesmansResponse> {
|
|
172
|
-
return this.request("DescribeSalesmans", req, cb)
|
|
173
|
-
}
|
|
174
|
-
|
|
175
128
|
/**
|
|
176
129
|
* 合作伙伴为客户消除强代付关系
|
|
177
130
|
*/
|
|
@@ -182,6 +135,26 @@ export class Client extends AbstractClient {
|
|
|
182
135
|
return this.request("RemovePayRelationForClient", req, cb)
|
|
183
136
|
}
|
|
184
137
|
|
|
138
|
+
/**
|
|
139
|
+
* 代理商可以对名下客户添加备注、修改备注
|
|
140
|
+
*/
|
|
141
|
+
async ModifyClientRemark(
|
|
142
|
+
req: ModifyClientRemarkRequest,
|
|
143
|
+
cb?: (error: string, rep: ModifyClientRemarkResponse) => void
|
|
144
|
+
): Promise<ModifyClientRemarkResponse> {
|
|
145
|
+
return this.request("ModifyClientRemark", req, cb)
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* 【该接口将逐步下线,请切换使用升级版本DescribeClientBalanceNew】为合作伙伴提供查询客户余额能力。调用者必须是合作伙伴,只能查询自己名下客户余额.
|
|
150
|
+
*/
|
|
151
|
+
async DescribeClientBalance(
|
|
152
|
+
req: DescribeClientBalanceRequest,
|
|
153
|
+
cb?: (error: string, rep: DescribeClientBalanceResponse) => void
|
|
154
|
+
): Promise<DescribeClientBalanceResponse> {
|
|
155
|
+
return this.request("DescribeClientBalance", req, cb)
|
|
156
|
+
}
|
|
157
|
+
|
|
185
158
|
/**
|
|
186
159
|
* 为合作伙伴提供查询客户余额能力。调用者必须是合作伙伴,只能查询自己名下客户余额
|
|
187
160
|
*/
|
|
@@ -193,13 +166,13 @@ export class Client extends AbstractClient {
|
|
|
193
166
|
}
|
|
194
167
|
|
|
195
168
|
/**
|
|
196
|
-
*
|
|
169
|
+
* 传入代客uin,查客户级别,客户审核状态,客户实名认证状态
|
|
197
170
|
*/
|
|
198
|
-
async
|
|
199
|
-
req:
|
|
200
|
-
cb?: (error: string, rep:
|
|
201
|
-
): Promise<
|
|
202
|
-
return this.request("
|
|
171
|
+
async DescribeAgentClientGrade(
|
|
172
|
+
req: DescribeAgentClientGradeRequest,
|
|
173
|
+
cb?: (error: string, rep: DescribeAgentClientGradeResponse) => void
|
|
174
|
+
): Promise<DescribeAgentClientGradeResponse> {
|
|
175
|
+
return this.request("DescribeAgentClientGrade", req, cb)
|
|
203
176
|
}
|
|
204
177
|
|
|
205
178
|
/**
|
|
@@ -213,33 +186,33 @@ export class Client extends AbstractClient {
|
|
|
213
186
|
}
|
|
214
187
|
|
|
215
188
|
/**
|
|
216
|
-
*
|
|
189
|
+
* 代理商支付订单接口,支持自付/代付
|
|
217
190
|
*/
|
|
218
|
-
async
|
|
219
|
-
req:
|
|
220
|
-
cb?: (error: string, rep:
|
|
221
|
-
): Promise<
|
|
222
|
-
return this.request("
|
|
191
|
+
async AgentPayDeals(
|
|
192
|
+
req: AgentPayDealsRequest,
|
|
193
|
+
cb?: (error: string, rep: AgentPayDealsResponse) => void
|
|
194
|
+
): Promise<AgentPayDealsResponse> {
|
|
195
|
+
return this.request("AgentPayDeals", req, cb)
|
|
223
196
|
}
|
|
224
197
|
|
|
225
198
|
/**
|
|
226
|
-
*
|
|
199
|
+
* 代理商查询名下业务员列表信息
|
|
227
200
|
*/
|
|
228
|
-
async
|
|
229
|
-
req:
|
|
230
|
-
cb?: (error: string, rep:
|
|
231
|
-
): Promise<
|
|
232
|
-
return this.request("
|
|
201
|
+
async DescribeSalesmans(
|
|
202
|
+
req: DescribeSalesmansRequest,
|
|
203
|
+
cb?: (error: string, rep: DescribeSalesmansResponse) => void
|
|
204
|
+
): Promise<DescribeSalesmansResponse> {
|
|
205
|
+
return this.request("DescribeSalesmans", req, cb)
|
|
233
206
|
}
|
|
234
207
|
|
|
235
208
|
/**
|
|
236
|
-
*
|
|
209
|
+
* 【该接口已下线,请切换使用升级版本DescribeAgentPayDealsV2】可以查询代理商代付的所有订单
|
|
237
210
|
*/
|
|
238
|
-
async
|
|
239
|
-
req:
|
|
240
|
-
cb?: (error: string, rep:
|
|
241
|
-
): Promise<
|
|
242
|
-
return this.request("
|
|
211
|
+
async DescribeAgentPayDeals(
|
|
212
|
+
req: DescribeAgentPayDealsRequest,
|
|
213
|
+
cb?: (error: string, rep: DescribeAgentPayDealsResponse) => void
|
|
214
|
+
): Promise<DescribeAgentPayDealsResponse> {
|
|
215
|
+
return this.request("DescribeAgentPayDeals", req, cb)
|
|
243
216
|
}
|
|
244
217
|
|
|
245
218
|
/**
|
|
@@ -263,13 +236,13 @@ export class Client extends AbstractClient {
|
|
|
263
236
|
}
|
|
264
237
|
|
|
265
238
|
/**
|
|
266
|
-
*
|
|
239
|
+
* 查询代理商名下指定代客的自付订单
|
|
267
240
|
*/
|
|
268
|
-
async
|
|
269
|
-
req:
|
|
270
|
-
cb?: (error: string, rep:
|
|
271
|
-
): Promise<
|
|
272
|
-
return this.request("
|
|
241
|
+
async DescribeAgentSelfPayDealsV2(
|
|
242
|
+
req: DescribeAgentSelfPayDealsV2Request,
|
|
243
|
+
cb?: (error: string, rep: DescribeAgentSelfPayDealsV2Response) => void
|
|
244
|
+
): Promise<DescribeAgentSelfPayDealsV2Response> {
|
|
245
|
+
return this.request("DescribeAgentSelfPayDealsV2", req, cb)
|
|
273
246
|
}
|
|
274
247
|
|
|
275
248
|
/**
|
|
@@ -291,4 +264,44 @@ export class Client extends AbstractClient {
|
|
|
291
264
|
): Promise<DescribeAgentDealsByCacheResponse> {
|
|
292
265
|
return this.request("DescribeAgentDealsByCache", req, cb)
|
|
293
266
|
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* 【该接口已下线,请切换使用升级版本DescribeAgentSelfPayDealsV2】可以查询代理商下指定客户的自付订单
|
|
270
|
+
*/
|
|
271
|
+
async DescribeAgentSelfPayDeals(
|
|
272
|
+
req: DescribeAgentSelfPayDealsRequest,
|
|
273
|
+
cb?: (error: string, rep: DescribeAgentSelfPayDealsResponse) => void
|
|
274
|
+
): Promise<DescribeAgentSelfPayDealsResponse> {
|
|
275
|
+
return this.request("DescribeAgentSelfPayDeals", req, cb)
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* 代理商可查询自己名下全部返佣信息
|
|
280
|
+
*/
|
|
281
|
+
async DescribeRebateInfosNew(
|
|
282
|
+
req: DescribeRebateInfosNewRequest,
|
|
283
|
+
cb?: (error: string, rep: DescribeRebateInfosNewResponse) => void
|
|
284
|
+
): Promise<DescribeRebateInfosNewResponse> {
|
|
285
|
+
return this.request("DescribeRebateInfosNew", req, cb)
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* 代理商可查询自己名下待审核客户列表
|
|
290
|
+
*/
|
|
291
|
+
async DescribeAgentClients(
|
|
292
|
+
req: DescribeAgentClientsRequest,
|
|
293
|
+
cb?: (error: string, rep: DescribeAgentClientsResponse) => void
|
|
294
|
+
): Promise<DescribeAgentClientsResponse> {
|
|
295
|
+
return this.request("DescribeAgentClients", req, cb)
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* 合作伙伴为客户创建强代付关系
|
|
300
|
+
*/
|
|
301
|
+
async CreatePayRelationForClient(
|
|
302
|
+
req: CreatePayRelationForClientRequest,
|
|
303
|
+
cb?: (error: string, rep: CreatePayRelationForClientResponse) => void
|
|
304
|
+
): Promise<CreatePayRelationForClientResponse> {
|
|
305
|
+
return this.request("CreatePayRelationForClient", req, cb)
|
|
306
|
+
}
|
|
294
307
|
}
|
|
@@ -228,6 +228,26 @@ export interface DescribeAgentAuditedClientsRequest {
|
|
|
228
228
|
SalesName?: string
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
+
/**
|
|
232
|
+
* DescribeRebateInfosNew请求参数结构体
|
|
233
|
+
*/
|
|
234
|
+
export interface DescribeRebateInfosNewRequest {
|
|
235
|
+
/**
|
|
236
|
+
* 返佣月份,如2018-02
|
|
237
|
+
*/
|
|
238
|
+
RebateMonth?: string
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* 偏移量
|
|
242
|
+
*/
|
|
243
|
+
Offset?: number
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* 限制数目
|
|
247
|
+
*/
|
|
248
|
+
Limit?: number
|
|
249
|
+
}
|
|
250
|
+
|
|
231
251
|
/**
|
|
232
252
|
* RemovePayRelationForClient请求参数结构体
|
|
233
253
|
*/
|
|
@@ -238,6 +258,26 @@ export interface RemovePayRelationForClientRequest {
|
|
|
238
258
|
ClientUin: string
|
|
239
259
|
}
|
|
240
260
|
|
|
261
|
+
/**
|
|
262
|
+
* DescribeRebateInfosNew返回参数结构体
|
|
263
|
+
*/
|
|
264
|
+
export interface DescribeRebateInfosNewResponse {
|
|
265
|
+
/**
|
|
266
|
+
* 返佣信息列表
|
|
267
|
+
*/
|
|
268
|
+
RebateInfoSet: Array<RebateInfoElemNew>
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* 符合查询条件返佣信息数目
|
|
272
|
+
*/
|
|
273
|
+
TotalCount: number
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
277
|
+
*/
|
|
278
|
+
RequestId?: string
|
|
279
|
+
}
|
|
280
|
+
|
|
241
281
|
/**
|
|
242
282
|
* AgentPayDeals请求参数结构体
|
|
243
283
|
*/
|
|
@@ -1745,6 +1785,41 @@ export interface DescribeAgentClientGradeRequest {
|
|
|
1745
1785
|
ClientUin: string
|
|
1746
1786
|
}
|
|
1747
1787
|
|
|
1788
|
+
/**
|
|
1789
|
+
* 返佣信息定义
|
|
1790
|
+
*/
|
|
1791
|
+
export interface RebateInfoElemNew {
|
|
1792
|
+
/**
|
|
1793
|
+
* 代理商账号ID
|
|
1794
|
+
*/
|
|
1795
|
+
Uin: string
|
|
1796
|
+
|
|
1797
|
+
/**
|
|
1798
|
+
* 返佣月份,如2018-02
|
|
1799
|
+
*/
|
|
1800
|
+
RebateMonth: string
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
* 返佣金额,单位分
|
|
1804
|
+
*/
|
|
1805
|
+
Amt: number
|
|
1806
|
+
|
|
1807
|
+
/**
|
|
1808
|
+
* 月度业绩,单位分
|
|
1809
|
+
*/
|
|
1810
|
+
MonthSales: number
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* 季度业绩,单位分
|
|
1814
|
+
*/
|
|
1815
|
+
QuarterSales: number
|
|
1816
|
+
|
|
1817
|
+
/**
|
|
1818
|
+
* NORMAL(正常)/HAS_OVERDUE_BILL(欠费)/NO_CONTRACT(缺合同)
|
|
1819
|
+
*/
|
|
1820
|
+
ExceptionFlag: string
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1748
1823
|
/**
|
|
1749
1824
|
* DescribeClientBalanceNew返回参数结构体
|
|
1750
1825
|
*/
|