tencentcloud-sdk-nodejs 4.0.580 → 4.0.582
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 +187 -0
- package/SERVICE_CHANGELOG.md +210 -246
- package/package.json +1 -1
- package/products.md +16 -16
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdn/v20180606/cdn_models.ts +2 -2
- package/src/services/cfs/v20190719/cfs_client.ts +72 -5
- package/src/services/cfs/v20190719/cfs_models.ts +461 -59
- package/src/services/cwp/v20180228/cwp_client.ts +4 -2
- package/src/services/ess/v20201111/ess_client.ts +25 -1
- package/src/services/ess/v20201111/ess_models.ts +91 -16
- package/src/services/faceid/v20180301/faceid_models.ts +34 -3
- package/src/services/ms/v20180408/ms_client.ts +4 -2
- package/src/services/rum/v20210622/rum_client.ts +86 -38
- package/src/services/rum/v20210622/rum_models.ts +283 -13
- package/src/services/trp/v20210515/trp_client.ts +67 -17
- package/src/services/trp/v20210515/trp_models.ts +187 -26
- package/src/services/waf/v20180125/waf_client.ts +39 -14
- package/src/services/waf/v20180125/waf_models.ts +197 -25
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +2 -2
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +26 -1
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +35 -0
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +391 -51
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +3 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +3 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +9 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +12 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +81 -16
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +34 -5
- package/tencentcloud/services/ms/v20180408/ms_client.d.ts +3 -1
- package/tencentcloud/services/ms/v20180408/ms_client.js +3 -1
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +29 -13
- package/tencentcloud/services/rum/v20210622/rum_client.js +42 -18
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +236 -12
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +21 -5
- package/tencentcloud/services/trp/v20210515/trp_client.js +30 -6
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +166 -26
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +13 -5
- package/tencentcloud/services/waf/v20180125/waf_client.js +18 -6
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +168 -23
- package/test/cfs.v20190719.test.js +50 -0
- package/test/ess.v20201111.test.js +20 -0
- package/test/rum.v20210622.test.js +52 -12
- package/test/trp.v20210515.test.js +44 -4
- package/test/waf.v20180125.test.js +24 -4
|
@@ -356,6 +356,61 @@ export interface DescribeRumLogListResponse {
|
|
|
356
356
|
RequestId?: string
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
+
/**
|
|
360
|
+
* DescribeAppMetricsData请求参数结构体
|
|
361
|
+
*/
|
|
362
|
+
export interface DescribeAppMetricsDataRequest {
|
|
363
|
+
/**
|
|
364
|
+
* app 项目ID
|
|
365
|
+
*/
|
|
366
|
+
ProjectID: number
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* 查询的表名
|
|
370
|
+
*/
|
|
371
|
+
From: string
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* 查询指标 field
|
|
375
|
+
*/
|
|
376
|
+
Fields: string
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* 查询的过滤条件
|
|
380
|
+
*/
|
|
381
|
+
Filter: string
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* 查询简单过滤条件
|
|
385
|
+
*/
|
|
386
|
+
FilterSimple?: string
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* group by 条件
|
|
390
|
+
*/
|
|
391
|
+
GroupBy?: Array<string>
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* order by 条件
|
|
395
|
+
*/
|
|
396
|
+
OrderBy?: Array<string>
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* limit 参数
|
|
400
|
+
*/
|
|
401
|
+
Limit?: number
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* offset 参数
|
|
405
|
+
*/
|
|
406
|
+
Offset?: number
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* group by 参数
|
|
410
|
+
*/
|
|
411
|
+
GroupByModifier?: string
|
|
412
|
+
}
|
|
413
|
+
|
|
359
414
|
/**
|
|
360
415
|
* DescribeDataPvUrlInfo返回参数结构体
|
|
361
416
|
*/
|
|
@@ -511,6 +566,36 @@ export interface DescribeErrorResponse {
|
|
|
511
566
|
RequestId?: string
|
|
512
567
|
}
|
|
513
568
|
|
|
569
|
+
/**
|
|
570
|
+
* DescribeAppMetricsData返回参数结构体
|
|
571
|
+
*/
|
|
572
|
+
export interface DescribeAppMetricsDataResponse {
|
|
573
|
+
/**
|
|
574
|
+
* 查询数据返回
|
|
575
|
+
*/
|
|
576
|
+
Data: string
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
580
|
+
*/
|
|
581
|
+
RequestId?: string
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* DescribeAppSingleCaseDetailList返回参数结构体
|
|
586
|
+
*/
|
|
587
|
+
export interface DescribeAppSingleCaseDetailListResponse {
|
|
588
|
+
/**
|
|
589
|
+
* 查询数据返回
|
|
590
|
+
*/
|
|
591
|
+
Data: string
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
595
|
+
*/
|
|
596
|
+
RequestId?: string
|
|
597
|
+
}
|
|
598
|
+
|
|
514
599
|
/**
|
|
515
600
|
* DeleteWhitelist返回参数结构体
|
|
516
601
|
*/
|
|
@@ -1242,6 +1327,21 @@ export interface DeleteInstanceResponse {
|
|
|
1242
1327
|
RequestId?: string
|
|
1243
1328
|
}
|
|
1244
1329
|
|
|
1330
|
+
/**
|
|
1331
|
+
* DescribeAppSingleCaseList返回参数结构体
|
|
1332
|
+
*/
|
|
1333
|
+
export interface DescribeAppSingleCaseListResponse {
|
|
1334
|
+
/**
|
|
1335
|
+
* 查询数据返回
|
|
1336
|
+
*/
|
|
1337
|
+
Data: string
|
|
1338
|
+
|
|
1339
|
+
/**
|
|
1340
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1341
|
+
*/
|
|
1342
|
+
RequestId?: string
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1245
1345
|
/**
|
|
1246
1346
|
* DescribeDataPerformancePage请求参数结构体
|
|
1247
1347
|
*/
|
|
@@ -1598,13 +1698,18 @@ export interface StopInstanceResponse {
|
|
|
1598
1698
|
}
|
|
1599
1699
|
|
|
1600
1700
|
/**
|
|
1601
|
-
*
|
|
1701
|
+
* DescribeDataCustomUrl返回参数结构体
|
|
1602
1702
|
*/
|
|
1603
|
-
export interface
|
|
1703
|
+
export interface DescribeDataCustomUrlResponse {
|
|
1604
1704
|
/**
|
|
1605
|
-
*
|
|
1705
|
+
* 返回值
|
|
1606
1706
|
*/
|
|
1607
|
-
|
|
1707
|
+
Result: string
|
|
1708
|
+
|
|
1709
|
+
/**
|
|
1710
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1711
|
+
*/
|
|
1712
|
+
RequestId?: string
|
|
1608
1713
|
}
|
|
1609
1714
|
|
|
1610
1715
|
/**
|
|
@@ -2115,18 +2220,13 @@ export interface DescribeDataLogUrlInfoRequest {
|
|
|
2115
2220
|
}
|
|
2116
2221
|
|
|
2117
2222
|
/**
|
|
2118
|
-
*
|
|
2223
|
+
* DescribeProjectLimits请求参数结构体
|
|
2119
2224
|
*/
|
|
2120
|
-
export interface
|
|
2121
|
-
/**
|
|
2122
|
-
* 返回值
|
|
2123
|
-
*/
|
|
2124
|
-
Result: string
|
|
2125
|
-
|
|
2225
|
+
export interface DescribeProjectLimitsRequest {
|
|
2126
2226
|
/**
|
|
2127
|
-
*
|
|
2227
|
+
* 项目ID
|
|
2128
2228
|
*/
|
|
2129
|
-
|
|
2229
|
+
ProjectID: number
|
|
2130
2230
|
}
|
|
2131
2231
|
|
|
2132
2232
|
/**
|
|
@@ -2359,6 +2459,56 @@ export interface CreateStarProjectRequest {
|
|
|
2359
2459
|
ID: number
|
|
2360
2460
|
}
|
|
2361
2461
|
|
|
2462
|
+
/**
|
|
2463
|
+
* DescribeAppSingleCaseList请求参数结构体
|
|
2464
|
+
*/
|
|
2465
|
+
export interface DescribeAppSingleCaseListRequest {
|
|
2466
|
+
/**
|
|
2467
|
+
* app 项目 ID
|
|
2468
|
+
*/
|
|
2469
|
+
ProjectID: number
|
|
2470
|
+
|
|
2471
|
+
/**
|
|
2472
|
+
* 查询的表名
|
|
2473
|
+
*/
|
|
2474
|
+
From: string
|
|
2475
|
+
|
|
2476
|
+
/**
|
|
2477
|
+
* 查询指标 field
|
|
2478
|
+
*/
|
|
2479
|
+
Fields: string
|
|
2480
|
+
|
|
2481
|
+
/**
|
|
2482
|
+
* 查询的过滤条件
|
|
2483
|
+
*/
|
|
2484
|
+
Filter: string
|
|
2485
|
+
|
|
2486
|
+
/**
|
|
2487
|
+
* 查询简单过滤条件
|
|
2488
|
+
*/
|
|
2489
|
+
FilterSimple?: string
|
|
2490
|
+
|
|
2491
|
+
/**
|
|
2492
|
+
* group by 条件
|
|
2493
|
+
*/
|
|
2494
|
+
GroupBy?: Array<string>
|
|
2495
|
+
|
|
2496
|
+
/**
|
|
2497
|
+
* order by 条件
|
|
2498
|
+
*/
|
|
2499
|
+
OrderBy?: Array<string>
|
|
2500
|
+
|
|
2501
|
+
/**
|
|
2502
|
+
* limit 参数
|
|
2503
|
+
*/
|
|
2504
|
+
Limit?: number
|
|
2505
|
+
|
|
2506
|
+
/**
|
|
2507
|
+
* offset 参数
|
|
2508
|
+
*/
|
|
2509
|
+
Offset?: number
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2362
2512
|
/**
|
|
2363
2513
|
* DescribeReleaseFileSign请求参数结构体
|
|
2364
2514
|
*/
|
|
@@ -3386,6 +3536,21 @@ export interface DescribeDataEventUrlRequest {
|
|
|
3386
3536
|
Env?: string
|
|
3387
3537
|
}
|
|
3388
3538
|
|
|
3539
|
+
/**
|
|
3540
|
+
* DescribeAppDimensionMetrics返回参数结构体
|
|
3541
|
+
*/
|
|
3542
|
+
export interface DescribeAppDimensionMetricsResponse {
|
|
3543
|
+
/**
|
|
3544
|
+
* 查询数据返回
|
|
3545
|
+
*/
|
|
3546
|
+
Data: string
|
|
3547
|
+
|
|
3548
|
+
/**
|
|
3549
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3550
|
+
*/
|
|
3551
|
+
RequestId?: string
|
|
3552
|
+
}
|
|
3553
|
+
|
|
3389
3554
|
/**
|
|
3390
3555
|
* DescribeOfflineLogConfigs请求参数结构体
|
|
3391
3556
|
*/
|
|
@@ -3396,6 +3561,56 @@ export interface DescribeOfflineLogConfigsRequest {
|
|
|
3396
3561
|
ProjectKey: string
|
|
3397
3562
|
}
|
|
3398
3563
|
|
|
3564
|
+
/**
|
|
3565
|
+
* DescribeAppSingleCaseDetailList请求参数结构体
|
|
3566
|
+
*/
|
|
3567
|
+
export interface DescribeAppSingleCaseDetailListRequest {
|
|
3568
|
+
/**
|
|
3569
|
+
* app 项目ID
|
|
3570
|
+
*/
|
|
3571
|
+
ProjectID: number
|
|
3572
|
+
|
|
3573
|
+
/**
|
|
3574
|
+
* 查询的表名
|
|
3575
|
+
*/
|
|
3576
|
+
From: string
|
|
3577
|
+
|
|
3578
|
+
/**
|
|
3579
|
+
* 查询指标 field
|
|
3580
|
+
*/
|
|
3581
|
+
Fields: string
|
|
3582
|
+
|
|
3583
|
+
/**
|
|
3584
|
+
* 查询的过滤条件
|
|
3585
|
+
*/
|
|
3586
|
+
Filter: string
|
|
3587
|
+
|
|
3588
|
+
/**
|
|
3589
|
+
* 查询简单过滤条件
|
|
3590
|
+
*/
|
|
3591
|
+
FilterSimple?: string
|
|
3592
|
+
|
|
3593
|
+
/**
|
|
3594
|
+
* group by 条件
|
|
3595
|
+
*/
|
|
3596
|
+
GroupBy?: Array<string>
|
|
3597
|
+
|
|
3598
|
+
/**
|
|
3599
|
+
* order by 条件
|
|
3600
|
+
*/
|
|
3601
|
+
OrderBy?: Array<string>
|
|
3602
|
+
|
|
3603
|
+
/**
|
|
3604
|
+
* limit 参数
|
|
3605
|
+
*/
|
|
3606
|
+
Limit?: number
|
|
3607
|
+
|
|
3608
|
+
/**
|
|
3609
|
+
* offset 参数
|
|
3610
|
+
*/
|
|
3611
|
+
Offset?: number
|
|
3612
|
+
}
|
|
3613
|
+
|
|
3399
3614
|
/**
|
|
3400
3615
|
* DescribeRumGroupLog请求参数结构体
|
|
3401
3616
|
*/
|
|
@@ -4246,6 +4461,61 @@ export interface DescribeDataSetUrlStatisticsResponse {
|
|
|
4246
4461
|
RequestId?: string
|
|
4247
4462
|
}
|
|
4248
4463
|
|
|
4464
|
+
/**
|
|
4465
|
+
* DescribeAppDimensionMetrics请求参数结构体
|
|
4466
|
+
*/
|
|
4467
|
+
export interface DescribeAppDimensionMetricsRequest {
|
|
4468
|
+
/**
|
|
4469
|
+
* app 项目ID
|
|
4470
|
+
*/
|
|
4471
|
+
ProjectID: number
|
|
4472
|
+
|
|
4473
|
+
/**
|
|
4474
|
+
* 查询的表名
|
|
4475
|
+
*/
|
|
4476
|
+
From: string
|
|
4477
|
+
|
|
4478
|
+
/**
|
|
4479
|
+
* 查询指标 fields
|
|
4480
|
+
*/
|
|
4481
|
+
Fields: string
|
|
4482
|
+
|
|
4483
|
+
/**
|
|
4484
|
+
* 查询的过滤条件
|
|
4485
|
+
*/
|
|
4486
|
+
Filter: string
|
|
4487
|
+
|
|
4488
|
+
/**
|
|
4489
|
+
* 查询简单过滤条件
|
|
4490
|
+
*/
|
|
4491
|
+
FilterSimple?: string
|
|
4492
|
+
|
|
4493
|
+
/**
|
|
4494
|
+
* group by 条件
|
|
4495
|
+
*/
|
|
4496
|
+
GroupBy?: Array<string>
|
|
4497
|
+
|
|
4498
|
+
/**
|
|
4499
|
+
* order by 条件
|
|
4500
|
+
*/
|
|
4501
|
+
OrderBy?: Array<string>
|
|
4502
|
+
|
|
4503
|
+
/**
|
|
4504
|
+
* limit 参数
|
|
4505
|
+
*/
|
|
4506
|
+
Limit?: number
|
|
4507
|
+
|
|
4508
|
+
/**
|
|
4509
|
+
* offset 参数
|
|
4510
|
+
*/
|
|
4511
|
+
Offset?: number
|
|
4512
|
+
|
|
4513
|
+
/**
|
|
4514
|
+
* 业务上下文参数
|
|
4515
|
+
*/
|
|
4516
|
+
BusinessContext?: string
|
|
4517
|
+
}
|
|
4518
|
+
|
|
4249
4519
|
/**
|
|
4250
4520
|
* Rum实例信息
|
|
4251
4521
|
*/
|
|
@@ -38,13 +38,13 @@ import {
|
|
|
38
38
|
DescribeTraceCodeByIdResponse,
|
|
39
39
|
CustomRule,
|
|
40
40
|
DescribeProductsResponse,
|
|
41
|
-
|
|
41
|
+
CreateTraceChainResponse,
|
|
42
42
|
DescribeTraceDataListResponse,
|
|
43
43
|
DescribeTraceCodesRequest,
|
|
44
44
|
CreateTraceCodesAsyncRequest,
|
|
45
45
|
ModifyTraceDataResponse,
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
AuthorizedTransferResponse,
|
|
47
|
+
CreateCodeBatchResponse,
|
|
48
48
|
CorpQuota,
|
|
49
49
|
CreateCustomRuleRequest,
|
|
50
50
|
DescribeCodePackStatusRequest,
|
|
@@ -57,6 +57,7 @@ import {
|
|
|
57
57
|
DescribeCodePackStatusResponse,
|
|
58
58
|
Job,
|
|
59
59
|
TraceData,
|
|
60
|
+
EffectFeedbackResponse,
|
|
60
61
|
PackSpec,
|
|
61
62
|
ModifyCustomRuleResponse,
|
|
62
63
|
ModifyMerchantResponse,
|
|
@@ -65,14 +66,18 @@ import {
|
|
|
65
66
|
CreateTraceDataRequest,
|
|
66
67
|
Ext,
|
|
67
68
|
DescribeCorpQuotasRequest,
|
|
69
|
+
AuthorizedTransferRequest,
|
|
70
|
+
ReportBatchCallbackStatusRequest,
|
|
68
71
|
CreateProductRequest,
|
|
69
72
|
CreateCustomPackRequest,
|
|
70
73
|
CreateCodePackRequest,
|
|
71
74
|
CreateCodeBatchRequest,
|
|
72
75
|
TraceItem,
|
|
73
76
|
DescribeCustomRuleByIdRequest,
|
|
77
|
+
ReportBatchCallbackStatusResponse,
|
|
74
78
|
ChainData,
|
|
75
79
|
PhaseData,
|
|
80
|
+
DeleteProductRequest,
|
|
76
81
|
ModifyTraceDataRanksRequest,
|
|
77
82
|
ModifyCustomRuleStatusResponse,
|
|
78
83
|
CreateCustomPackResponse,
|
|
@@ -80,10 +85,13 @@ import {
|
|
|
80
85
|
DescribeTmpTokenResponse,
|
|
81
86
|
DescribeCodePackUrlRequest,
|
|
82
87
|
DeleteProductResponse,
|
|
88
|
+
OutputAuthorizedTransfer,
|
|
83
89
|
DeleteTraceDataResponse,
|
|
84
90
|
ModifyCustomRuleStatusRequest,
|
|
85
91
|
CreateCodePackResponse,
|
|
86
92
|
DescribeMerchantByIdResponse,
|
|
93
|
+
EffectFeedbackRequest,
|
|
94
|
+
DescribeTraceDataByIdResponse,
|
|
87
95
|
CodeItem,
|
|
88
96
|
CreateTraceDataResponse,
|
|
89
97
|
DescribeCustomRuleByIdResponse,
|
|
@@ -104,6 +112,8 @@ import {
|
|
|
104
112
|
DeleteTraceDataRequest,
|
|
105
113
|
DescribeScanLogsRequest,
|
|
106
114
|
ModifyTraceCodeUnlinkResponse,
|
|
115
|
+
DescribeTraceDataByIdRequest,
|
|
116
|
+
InputEncryptData,
|
|
107
117
|
Merchant,
|
|
108
118
|
Product,
|
|
109
119
|
DescribeTmpTokenRequest,
|
|
@@ -121,11 +131,11 @@ import {
|
|
|
121
131
|
DescribeCodePacksRequest,
|
|
122
132
|
DescribeJobFileUrlResponse,
|
|
123
133
|
DescribeTraceCodeByIdRequest,
|
|
124
|
-
|
|
134
|
+
ModifyCodeBatchResponse,
|
|
125
135
|
ScanStat,
|
|
126
136
|
ModifyTraceCodeResponse,
|
|
127
137
|
DescribeCodePackUrlResponse,
|
|
128
|
-
|
|
138
|
+
DeleteMerchantRequest,
|
|
129
139
|
} from "./trp_models"
|
|
130
140
|
|
|
131
141
|
/**
|
|
@@ -168,6 +178,16 @@ export class Client extends AbstractClient {
|
|
|
168
178
|
return this.request("ModifyTraceCodeUnlink", req, cb)
|
|
169
179
|
}
|
|
170
180
|
|
|
181
|
+
/**
|
|
182
|
+
* 接收客户侧的用户已授权的号码。
|
|
183
|
+
*/
|
|
184
|
+
async AuthorizedTransfer(
|
|
185
|
+
req: AuthorizedTransferRequest,
|
|
186
|
+
cb?: (error: string, rep: AuthorizedTransferResponse) => void
|
|
187
|
+
): Promise<AuthorizedTransferResponse> {
|
|
188
|
+
return this.request("AuthorizedTransfer", req, cb)
|
|
189
|
+
}
|
|
190
|
+
|
|
171
191
|
/**
|
|
172
192
|
* 查自定义码规则
|
|
173
193
|
*/
|
|
@@ -268,6 +288,16 @@ export class Client extends AbstractClient {
|
|
|
268
288
|
return this.request("DescribeCorpQuotas", req, cb)
|
|
269
289
|
}
|
|
270
290
|
|
|
291
|
+
/**
|
|
292
|
+
* 接收离线筛选包回执,用于效果统计和分析。
|
|
293
|
+
*/
|
|
294
|
+
async ReportBatchCallbackStatus(
|
|
295
|
+
req: ReportBatchCallbackStatusRequest,
|
|
296
|
+
cb?: (error: string, rep: ReportBatchCallbackStatusResponse) => void
|
|
297
|
+
): Promise<ReportBatchCallbackStatusResponse> {
|
|
298
|
+
return this.request("ReportBatchCallbackStatus", req, cb)
|
|
299
|
+
}
|
|
300
|
+
|
|
271
301
|
/**
|
|
272
302
|
* 修改自定义码规则
|
|
273
303
|
*/
|
|
@@ -368,6 +398,16 @@ export class Client extends AbstractClient {
|
|
|
368
398
|
return this.request("CreateCustomPack", req, cb)
|
|
369
399
|
}
|
|
370
400
|
|
|
401
|
+
/**
|
|
402
|
+
* 查询溯源ID查溯源信息,通常溯源信息跟生产批次绑定,即一个批次的所有溯源信息都是一样的
|
|
403
|
+
*/
|
|
404
|
+
async DescribeTraceDataById(
|
|
405
|
+
req: DescribeTraceDataByIdRequest,
|
|
406
|
+
cb?: (error: string, rep: DescribeTraceDataByIdResponse) => void
|
|
407
|
+
): Promise<DescribeTraceDataByIdResponse> {
|
|
408
|
+
return this.request("DescribeTraceDataById", req, cb)
|
|
409
|
+
}
|
|
410
|
+
|
|
371
411
|
/**
|
|
372
412
|
* 以订单方式新建企业信息/配额信息
|
|
373
413
|
*/
|
|
@@ -459,6 +499,16 @@ export class Client extends AbstractClient {
|
|
|
459
499
|
return this.request("CreateCodeBatch", req, cb)
|
|
460
500
|
}
|
|
461
501
|
|
|
502
|
+
/**
|
|
503
|
+
* 接收客户反馈的各环节数据
|
|
504
|
+
*/
|
|
505
|
+
async EffectFeedback(
|
|
506
|
+
req: EffectFeedbackRequest,
|
|
507
|
+
cb?: (error: string, rep: EffectFeedbackResponse) => void
|
|
508
|
+
): Promise<EffectFeedbackResponse> {
|
|
509
|
+
return this.request("EffectFeedback", req, cb)
|
|
510
|
+
}
|
|
511
|
+
|
|
462
512
|
/**
|
|
463
513
|
* 删除批次
|
|
464
514
|
*/
|
|
@@ -490,13 +540,13 @@ export class Client extends AbstractClient {
|
|
|
490
540
|
}
|
|
491
541
|
|
|
492
542
|
/**
|
|
493
|
-
*
|
|
543
|
+
* 生成普通码包
|
|
494
544
|
*/
|
|
495
|
-
async
|
|
496
|
-
req:
|
|
497
|
-
cb?: (error: string, rep:
|
|
498
|
-
): Promise<
|
|
499
|
-
return this.request("
|
|
545
|
+
async CreateCodePack(
|
|
546
|
+
req: CreateCodePackRequest,
|
|
547
|
+
cb?: (error: string, rep: CreateCodePackResponse) => void
|
|
548
|
+
): Promise<CreateCodePackResponse> {
|
|
549
|
+
return this.request("CreateCodePack", req, cb)
|
|
500
550
|
}
|
|
501
551
|
|
|
502
552
|
/**
|
|
@@ -560,13 +610,13 @@ export class Client extends AbstractClient {
|
|
|
560
610
|
}
|
|
561
611
|
|
|
562
612
|
/**
|
|
563
|
-
*
|
|
613
|
+
* 新建商户
|
|
564
614
|
*/
|
|
565
|
-
async
|
|
566
|
-
req:
|
|
567
|
-
cb?: (error: string, rep:
|
|
568
|
-
): Promise<
|
|
569
|
-
return this.request("
|
|
615
|
+
async CreateMerchant(
|
|
616
|
+
req: CreateMerchantRequest,
|
|
617
|
+
cb?: (error: string, rep: CreateMerchantResponse) => void
|
|
618
|
+
): Promise<CreateMerchantResponse> {
|
|
619
|
+
return this.request("CreateMerchant", req, cb)
|
|
570
620
|
}
|
|
571
621
|
|
|
572
622
|
/**
|