tencentcloud-sdk-nodejs 4.0.962 → 4.0.963
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 +1033 -0
- package/SERVICE_CHANGELOG.md +2001 -422
- package/package.json +1 -1
- package/products.md +51 -52
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apm/v20210622/apm_models.ts +10 -0
- package/src/services/asr/v20190614/asr_models.ts +3 -2
- package/src/services/bi/v20220105/bi_models.ts +20 -4
- package/src/services/billing/v20180709/billing_client.ts +15 -2
- package/src/services/billing/v20180709/billing_models.ts +181 -23
- package/src/services/bsca/v20210811/bsca_client.ts +2 -0
- package/src/services/bsca/v20210811/bsca_models.ts +112 -8
- package/src/services/ccc/v20200210/ccc_client.ts +14 -1
- package/src/services/ccc/v20200210/ccc_models.ts +100 -18
- package/src/services/cdb/v20170320/cdb_client.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +9 -1
- package/src/services/cdn/v20180606/cdn_models.ts +1 -1
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +13 -2
- package/src/services/cfs/v20190719/cfs_models.ts +3 -3
- package/src/services/cfw/v20190904/cfw_client.ts +16 -20
- package/src/services/cfw/v20190904/cfw_models.ts +36 -13
- package/src/services/ciam/v20220331/ciam_models.ts +80 -75
- package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
- package/src/services/cloudaudit/v20190319/cloudaudit_client.ts +23 -25
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +162 -141
- package/src/services/cls/v20201016/cls_client.ts +16 -6
- package/src/services/cls/v20201016/cls_models.ts +265 -114
- package/src/services/cvm/v20170312/cvm_client.ts +1 -0
- package/src/services/cvm/v20170312/cvm_models.ts +26 -0
- package/src/services/cwp/v20180228/cwp_client.ts +2 -3
- package/src/services/cwp/v20180228/cwp_models.ts +251 -220
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +22 -21
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +26 -0
- package/src/services/dasb/v20191018/dasb_models.ts +37 -0
- package/src/services/dlc/v20210125/dlc_models.ts +5 -0
- package/src/services/domain/v20180808/domain_models.ts +1 -1
- package/src/services/eb/v20210416/eb_models.ts +12 -12
- package/src/services/emr/v20190103/emr_models.ts +4 -0
- package/src/services/es/v20180416/es_client.ts +118 -68
- package/src/services/es/v20180416/es_models.ts +371 -101
- package/src/services/ess/v20201111/ess_client.ts +82 -39
- package/src/services/ess/v20201111/ess_models.ts +171 -70
- package/src/services/essbasic/v20210526/essbasic_client.ts +68 -9
- package/src/services/essbasic/v20210526/essbasic_models.ts +211 -69
- package/src/services/gaap/v20180529/gaap_models.ts +38 -17
- package/src/services/index.ts +0 -1
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +20 -0
- package/src/services/iss/v20230517/iss_models.ts +9 -0
- package/src/services/live/v20180801/live_client.ts +1 -0
- package/src/services/live/v20180801/live_models.ts +15 -0
- package/src/services/mongodb/v20190725/mongodb_models.ts +3 -7
- package/src/services/mqtt/v20240516/mqtt_models.ts +2 -2
- package/src/services/ocr/v20181119/ocr_models.ts +2 -11
- package/src/services/organization/v20210331/organization_client.ts +96 -23
- package/src/services/organization/v20210331/organization_models.ts +334 -108
- package/src/services/partners/v20180321/partners_client.ts +18 -6
- package/src/services/partners/v20180321/partners_models.ts +25 -0
- package/src/services/region/v20220627/region_models.ts +0 -1
- package/src/services/scf/v20180416/scf_client.ts +73 -8
- package/src/services/scf/v20180416/scf_models.ts +311 -26
- package/src/services/ssl/v20191205/ssl_models.ts +17 -5
- package/src/services/tat/v20201028/tat_models.ts +4 -9
- package/src/services/tcss/v20201101/tcss_client.ts +2 -1
- package/src/services/tcss/v20201101/tcss_models.ts +108 -1
- package/src/services/tdmq/v20200217/tdmq_models.ts +11 -11
- package/src/services/tem/v20210701/tem_models.ts +39 -35
- package/src/services/teo/v20220901/teo_client.ts +77 -8
- package/src/services/teo/v20220901/teo_models.ts +610 -147
- package/src/services/tke/v20180525/tke_client.ts +12 -0
- package/src/services/tke/v20180525/tke_models.ts +24 -0
- package/src/services/tms/v20201229/tms_client.ts +2 -18
- package/src/services/tms/v20201229/tms_models.ts +50 -235
- package/src/services/trtc/v20190722/trtc_client.ts +5 -1
- package/src/services/trtc/v20190722/trtc_models.ts +129 -10
- package/src/services/vpc/v20170312/vpc_client.ts +13 -1
- package/src/services/vpc/v20170312/vpc_models.ts +60 -25
- package/src/services/waf/v20180125/waf_client.ts +12 -0
- package/src/services/waf/v20180125/waf_models.ts +32 -0
- package/src/services/wedata/v20210820/wedata_client.ts +37 -7
- package/src/services/wedata/v20210820/wedata_models.ts +455 -118
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +10 -0
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +3 -2
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +20 -4
- package/tencentcloud/services/billing/v20180709/billing_client.d.ts +5 -1
- package/tencentcloud/services/billing/v20180709/billing_client.js +6 -0
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +178 -23
- package/tencentcloud/services/bsca/v20210811/bsca_models.d.ts +110 -8
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +97 -18
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +9 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +1 -1
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +13 -2
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +3 -3
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +6 -10
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +6 -10
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +36 -13
- package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +80 -75
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.d.ts +7 -11
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.js +9 -13
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +156 -137
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +9 -2
- package/tencentcloud/services/cls/v20201016/cls_client.js +8 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +262 -114
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +25 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +0 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +0 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +251 -220
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +21 -21
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +21 -21
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +25 -0
- package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +37 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +5 -0
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +1 -1
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +12 -12
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +4 -0
- package/tencentcloud/services/es/v20180416/es_client.d.ts +41 -25
- package/tencentcloud/services/es/v20180416/es_client.js +58 -34
- package/tencentcloud/services/es/v20180416/es_models.d.ts +361 -101
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +57 -23
- package/tencentcloud/services/ess/v20201111/ess_client.js +62 -26
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +168 -70
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +51 -9
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +54 -8
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +206 -69
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +38 -17
- package/tencentcloud/services/index.d.ts +0 -1
- package/tencentcloud/services/index.js +0 -2
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +20 -0
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +9 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +14 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +3 -7
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +2 -2
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2 -11
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +31 -7
- package/tencentcloud/services/organization/v20210331/organization_client.js +45 -9
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +320 -107
- package/tencentcloud/services/partners/v20180321/partners_client.d.ts +7 -3
- package/tencentcloud/services/partners/v20180321/partners_client.js +9 -3
- package/tencentcloud/services/partners/v20180321/partners_models.d.ts +23 -0
- package/tencentcloud/services/region/v20220627/region_models.d.ts +0 -1
- package/tencentcloud/services/scf/v20180416/scf_client.d.ts +23 -3
- package/tencentcloud/services/scf/v20180416/scf_client.js +33 -3
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +296 -26
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +17 -5
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +4 -9
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +107 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +11 -11
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +39 -35
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +21 -1
- package/tencentcloud/services/teo/v20220901/teo_client.js +30 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +601 -157
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +5 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +6 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +22 -0
- package/tencentcloud/services/tms/v20201229/tms_client.d.ts +1 -5
- package/tencentcloud/services/tms/v20201229/tms_client.js +0 -6
- package/tencentcloud/services/tms/v20201229/tms_models.d.ts +49 -228
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +125 -10
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +5 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +6 -0
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +58 -25
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +30 -0
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +9 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +12 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +445 -118
- package/test/billing.v20180709.test.js +10 -0
- package/test/ccc.v20200210.test.js +10 -0
- package/test/cloudaudit.v20190319.test.js +12 -12
- package/test/es.v20180416.test.js +64 -24
- package/test/ess.v20201111.test.js +24 -14
- package/test/essbasic.v20210526.test.js +20 -0
- package/test/organization.v20210331.test.js +72 -12
- package/test/partners.v20180321.test.js +12 -2
- package/test/scf.v20180416.test.js +52 -2
- package/test/teo.v20220901.test.js +50 -0
- package/test/tke.v20180525.test.js +10 -0
- package/test/tms.v20201229.test.js +0 -10
- package/test/vpc.v20170312.test.js +10 -0
- package/test/waf.v20180125.test.js +10 -0
- package/test/wedata.v20210820.test.js +20 -0
- package/src/services/cr/index.ts +0 -5
- package/src/services/cr/v20180321/cr_client.ts +0 -385
- package/src/services/cr/v20180321/cr_models.ts +0 -1663
- package/src/services/cr/v20180321/index.ts +0 -6
- package/tencentcloud/services/cr/index.d.ts +0 -6
- package/tencentcloud/services/cr/index.js +0 -7
- package/tencentcloud/services/cr/v20180321/cr_client.d.ts +0 -123
- package/tencentcloud/services/cr/v20180321/cr_client.js +0 -203
- package/tencentcloud/services/cr/v20180321/cr_models.d.ts +0 -1577
- package/tencentcloud/services/cr/v20180321/cr_models.js +0 -18
- package/tencentcloud/services/cr/v20180321/index.d.ts +0 -6
- package/tencentcloud/services/cr/v20180321/index.js +0 -9
- package/test/cr.v20180321.test.js +0 -301
|
@@ -28,6 +28,16 @@ it("teo.v20220901.DestroyPlan", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("teo.v20220901.DescribeOriginGroupHealthStatus", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeOriginGroupHealthStatus({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
31
41
|
it("teo.v20220901.DeleteFunction", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.DeleteFunction({})
|
|
@@ -348,6 +358,16 @@ it("teo.v20220901.DeleteOriginGroup", async function () {
|
|
|
348
358
|
}
|
|
349
359
|
})
|
|
350
360
|
|
|
361
|
+
it("teo.v20220901.DescribeLoadBalancerList", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.DescribeLoadBalancerList({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
351
371
|
it("teo.v20220901.CreateSecurityIPGroup", async function () {
|
|
352
372
|
try {
|
|
353
373
|
const data = await client.CreateSecurityIPGroup({})
|
|
@@ -368,6 +388,16 @@ it("teo.v20220901.DescribeIPRegion", async function () {
|
|
|
368
388
|
}
|
|
369
389
|
})
|
|
370
390
|
|
|
391
|
+
it("teo.v20220901.ModifyLoadBalancer", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.ModifyLoadBalancer({})
|
|
394
|
+
expect(data).to.be.ok
|
|
395
|
+
} catch(error) {
|
|
396
|
+
expect(error.requestId).to.be.ok
|
|
397
|
+
expect(error.code).to.be.ok
|
|
398
|
+
}
|
|
399
|
+
})
|
|
400
|
+
|
|
371
401
|
it("teo.v20220901.DeleteAccelerationDomains", async function () {
|
|
372
402
|
try {
|
|
373
403
|
const data = await client.DeleteAccelerationDomains({})
|
|
@@ -728,6 +758,16 @@ it("teo.v20220901.DescribeCustomErrorPages", async function () {
|
|
|
728
758
|
}
|
|
729
759
|
})
|
|
730
760
|
|
|
761
|
+
it("teo.v20220901.DeleteLoadBalancer", async function () {
|
|
762
|
+
try {
|
|
763
|
+
const data = await client.DeleteLoadBalancer({})
|
|
764
|
+
expect(data).to.be.ok
|
|
765
|
+
} catch(error) {
|
|
766
|
+
expect(error.requestId).to.be.ok
|
|
767
|
+
expect(error.code).to.be.ok
|
|
768
|
+
}
|
|
769
|
+
})
|
|
770
|
+
|
|
731
771
|
it("teo.v20220901.DescribeRulesSetting", async function () {
|
|
732
772
|
try {
|
|
733
773
|
const data = await client.DescribeRulesSetting({})
|
|
@@ -918,6 +958,16 @@ it("teo.v20220901.ModifyAliasDomain", async function () {
|
|
|
918
958
|
}
|
|
919
959
|
})
|
|
920
960
|
|
|
961
|
+
it("teo.v20220901.CreateLoadBalancer", async function () {
|
|
962
|
+
try {
|
|
963
|
+
const data = await client.CreateLoadBalancer({})
|
|
964
|
+
expect(data).to.be.ok
|
|
965
|
+
} catch(error) {
|
|
966
|
+
expect(error.requestId).to.be.ok
|
|
967
|
+
expect(error.code).to.be.ok
|
|
968
|
+
}
|
|
969
|
+
})
|
|
970
|
+
|
|
921
971
|
it("teo.v20220901.ModifyApplicationProxyRule", async function () {
|
|
922
972
|
try {
|
|
923
973
|
const data = await client.ModifyApplicationProxyRule({})
|
|
@@ -1168,6 +1168,16 @@ it("tke.v20180525.ModifyNodePoolInstanceTypes", async function () {
|
|
|
1168
1168
|
}
|
|
1169
1169
|
})
|
|
1170
1170
|
|
|
1171
|
+
it("tke.v20180525.ModifyClusterImage", async function () {
|
|
1172
|
+
try {
|
|
1173
|
+
const data = await client.ModifyClusterImage({})
|
|
1174
|
+
expect(data).to.be.ok
|
|
1175
|
+
} catch(error) {
|
|
1176
|
+
expect(error.requestId).to.be.ok
|
|
1177
|
+
expect(error.code).to.be.ok
|
|
1178
|
+
}
|
|
1179
|
+
})
|
|
1180
|
+
|
|
1171
1181
|
it("tke.v20180525.DescribeLogConfigs", async function () {
|
|
1172
1182
|
try {
|
|
1173
1183
|
const data = await client.DescribeLogConfigs({})
|
|
@@ -18,16 +18,6 @@ const client = new tencentcloud.tms.v20201229.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("tms.v20201229.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("tms.v20201229.ModerateText", async function () {
|
|
22
|
-
try {
|
|
23
|
-
const data = await client.ModerateText({})
|
|
24
|
-
expect(data).to.be.ok
|
|
25
|
-
} catch(error) {
|
|
26
|
-
expect(error.requestId).to.be.ok
|
|
27
|
-
expect(error.code).to.be.ok
|
|
28
|
-
}
|
|
29
|
-
})
|
|
30
|
-
|
|
31
21
|
it("tms.v20201229.TextModeration", async function () {
|
|
32
22
|
try {
|
|
33
23
|
const data = await client.TextModeration({})
|
|
@@ -2308,6 +2308,16 @@ it("vpc.v20170312.ModifyCcnRouteTables", async function () {
|
|
|
2308
2308
|
}
|
|
2309
2309
|
})
|
|
2310
2310
|
|
|
2311
|
+
it("vpc.v20170312.ModifyAddressesRenewFlag", async function () {
|
|
2312
|
+
try {
|
|
2313
|
+
const data = await client.ModifyAddressesRenewFlag({})
|
|
2314
|
+
expect(data).to.be.ok
|
|
2315
|
+
} catch(error) {
|
|
2316
|
+
expect(error.requestId).to.be.ok
|
|
2317
|
+
expect(error.code).to.be.ok
|
|
2318
|
+
}
|
|
2319
|
+
})
|
|
2320
|
+
|
|
2311
2321
|
it("vpc.v20170312.ModifyHighPriorityRouteECMPAlgorithm", async function () {
|
|
2312
2322
|
try {
|
|
2313
2323
|
const data = await client.ModifyHighPriorityRouteECMPAlgorithm({})
|
|
@@ -1088,6 +1088,16 @@ it("waf.v20180125.DescribeHost", async function () {
|
|
|
1088
1088
|
}
|
|
1089
1089
|
})
|
|
1090
1090
|
|
|
1091
|
+
it("waf.v20180125.ModifyUserSignatureRuleV2", async function () {
|
|
1092
|
+
try {
|
|
1093
|
+
const data = await client.ModifyUserSignatureRuleV2({})
|
|
1094
|
+
expect(data).to.be.ok
|
|
1095
|
+
} catch(error) {
|
|
1096
|
+
expect(error.requestId).to.be.ok
|
|
1097
|
+
expect(error.code).to.be.ok
|
|
1098
|
+
}
|
|
1099
|
+
})
|
|
1100
|
+
|
|
1091
1101
|
it("waf.v20180125.DescribeAccessExports", async function () {
|
|
1092
1102
|
try {
|
|
1093
1103
|
const data = await client.DescribeAccessExports({})
|
|
@@ -1578,6 +1578,16 @@ it("wedata.v20210820.DagInstances", async function () {
|
|
|
1578
1578
|
}
|
|
1579
1579
|
})
|
|
1580
1580
|
|
|
1581
|
+
it("wedata.v20210820.DescribeDataServicePublishedApiList", async function () {
|
|
1582
|
+
try {
|
|
1583
|
+
const data = await client.DescribeDataServicePublishedApiList({})
|
|
1584
|
+
expect(data).to.be.ok
|
|
1585
|
+
} catch(error) {
|
|
1586
|
+
expect(error.requestId).to.be.ok
|
|
1587
|
+
expect(error.code).to.be.ok
|
|
1588
|
+
}
|
|
1589
|
+
})
|
|
1590
|
+
|
|
1581
1591
|
it("wedata.v20210820.ModifyApproveStatus", async function () {
|
|
1582
1592
|
try {
|
|
1583
1593
|
const data = await client.ModifyApproveStatus({})
|
|
@@ -1998,6 +2008,16 @@ it("wedata.v20210820.DescribeIntegrationTask", async function () {
|
|
|
1998
2008
|
}
|
|
1999
2009
|
})
|
|
2000
2010
|
|
|
2011
|
+
it("wedata.v20210820.DescribeDataServicePublishedApiDetail", async function () {
|
|
2012
|
+
try {
|
|
2013
|
+
const data = await client.DescribeDataServicePublishedApiDetail({})
|
|
2014
|
+
expect(data).to.be.ok
|
|
2015
|
+
} catch(error) {
|
|
2016
|
+
expect(error.requestId).to.be.ok
|
|
2017
|
+
expect(error.code).to.be.ok
|
|
2018
|
+
}
|
|
2019
|
+
})
|
|
2020
|
+
|
|
2001
2021
|
it("wedata.v20210820.DescribeWorkflowTaskCount", async function () {
|
|
2002
2022
|
try {
|
|
2003
2023
|
const data = await client.DescribeWorkflowTaskCount({})
|
package/src/services/cr/index.ts
DELETED
|
@@ -1,385 +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
|
-
QueryCallListRequest,
|
|
22
|
-
CreateBotTaskRequest,
|
|
23
|
-
ChangeBotTaskStatusResponse,
|
|
24
|
-
UploadFileRequest,
|
|
25
|
-
BotFlow,
|
|
26
|
-
UploadFileResponse,
|
|
27
|
-
UploadDataJsonResponse,
|
|
28
|
-
DescribeBotFlowResponse,
|
|
29
|
-
DescribeTaskStatusResponse,
|
|
30
|
-
QueryBlackListDataRequest,
|
|
31
|
-
DownloadBotRecordRequest,
|
|
32
|
-
DownloadReportRequest,
|
|
33
|
-
ApplyCreditAuditResponse,
|
|
34
|
-
UploadDataFileResponse,
|
|
35
|
-
DownloadRecordListRequest,
|
|
36
|
-
CallInfo,
|
|
37
|
-
BotFileData,
|
|
38
|
-
DescribeFileModelRequest,
|
|
39
|
-
QueryInstantDataResponse,
|
|
40
|
-
CallTimeDict,
|
|
41
|
-
UploadBotFileResponse,
|
|
42
|
-
QueryBlackListDataResponse,
|
|
43
|
-
CallTimeInfo,
|
|
44
|
-
BlackListData,
|
|
45
|
-
DescribeCreditResultResponse,
|
|
46
|
-
UploadBotDataRequest,
|
|
47
|
-
DownloadDialogueTextResponse,
|
|
48
|
-
DescribeBotFlowRequest,
|
|
49
|
-
SingleBlackApply,
|
|
50
|
-
BotInfo,
|
|
51
|
-
ApplyBlackListResponse,
|
|
52
|
-
DescribeRecordsRequest,
|
|
53
|
-
QueryBotListRequest,
|
|
54
|
-
QueryRecordListRequest,
|
|
55
|
-
ExportBotDataResponse,
|
|
56
|
-
SingleRecord,
|
|
57
|
-
QueryRecordListResponse,
|
|
58
|
-
QueryInstantDataRequest,
|
|
59
|
-
ExportBotDataRequest,
|
|
60
|
-
ApplyBlackListDataRequest,
|
|
61
|
-
ChangeBotCallStatusResponse,
|
|
62
|
-
ApplyBlackListRequest,
|
|
63
|
-
ApplyBlackListDataResponse,
|
|
64
|
-
ApplyCreditAuditRequest,
|
|
65
|
-
DownloadReportResponse,
|
|
66
|
-
SmsTemplate,
|
|
67
|
-
RecordInfo,
|
|
68
|
-
PhonePool,
|
|
69
|
-
UpdateBotTaskResponse,
|
|
70
|
-
UploadBotDataResponse,
|
|
71
|
-
ChangeBotTaskStatusRequest,
|
|
72
|
-
DownloadRecordListResponse,
|
|
73
|
-
CreateBotTaskResponse,
|
|
74
|
-
UpdateBotTaskRequest,
|
|
75
|
-
DescribeCreditResultRequest,
|
|
76
|
-
UploadBotFileRequest,
|
|
77
|
-
UploadDataFileRequest,
|
|
78
|
-
UploadDataJsonRequest,
|
|
79
|
-
DescribeFileModelResponse,
|
|
80
|
-
QueryBotListResponse,
|
|
81
|
-
DescribeTaskStatusRequest,
|
|
82
|
-
ChangeBotCallStatusRequest,
|
|
83
|
-
ProductQueryInfo,
|
|
84
|
-
DownloadBotRecordResponse,
|
|
85
|
-
QueryProductsRequest,
|
|
86
|
-
QueryCallListResponse,
|
|
87
|
-
SmsSign,
|
|
88
|
-
QueryProductsResponse,
|
|
89
|
-
DescribeRecordsResponse,
|
|
90
|
-
DownloadDialogueTextRequest,
|
|
91
|
-
} from "./cr_models"
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* cr client
|
|
95
|
-
* @class
|
|
96
|
-
*/
|
|
97
|
-
export class Client extends AbstractClient {
|
|
98
|
-
constructor(clientConfig: ClientConfig) {
|
|
99
|
-
super("cr.tencentcloudapi.com", "2018-03-21", clientConfig)
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* 客户通过调用该接口上传需催收文档,格式需为excel格式。接口返回任务ID。
|
|
104
|
-
*/
|
|
105
|
-
async UploadFile(
|
|
106
|
-
req: UploadFileRequest,
|
|
107
|
-
cb?: (error: string, rep: UploadFileResponse) => void
|
|
108
|
-
): Promise<UploadFileResponse> {
|
|
109
|
-
return this.request("UploadFile", req, cb)
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* 查询机器人任务状态列表
|
|
114
|
-
*/
|
|
115
|
-
async QueryBotList(
|
|
116
|
-
req: QueryBotListRequest,
|
|
117
|
-
cb?: (error: string, rep: QueryBotListResponse) => void
|
|
118
|
-
): Promise<QueryBotListResponse> {
|
|
119
|
-
return this.request("QueryBotList", req, cb)
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* 查询机器人对话流
|
|
124
|
-
*/
|
|
125
|
-
async DescribeBotFlow(
|
|
126
|
-
req: DescribeBotFlowRequest,
|
|
127
|
-
cb?: (error: string, rep: DescribeBotFlowResponse) => void
|
|
128
|
-
): Promise<DescribeBotFlowResponse> {
|
|
129
|
-
return this.request("DescribeBotFlow", req, cb)
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* 查询录音列表
|
|
134
|
-
*/
|
|
135
|
-
async QueryRecordList(
|
|
136
|
-
req: QueryRecordListRequest,
|
|
137
|
-
cb?: (error: string, rep: QueryRecordListResponse) => void
|
|
138
|
-
): Promise<QueryRecordListResponse> {
|
|
139
|
-
return this.request("QueryRecordList", req, cb)
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* 实时数据查询
|
|
144
|
-
*/
|
|
145
|
-
async QueryInstantData(
|
|
146
|
-
req: QueryInstantDataRequest,
|
|
147
|
-
cb?: (error: string, rep: QueryInstantDataResponse) => void
|
|
148
|
-
): Promise<QueryInstantDataResponse> {
|
|
149
|
-
return this.request("QueryInstantData", req, cb)
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* 更新机器人任务
|
|
154
|
-
*/
|
|
155
|
-
async UpdateBotTask(
|
|
156
|
-
req: UpdateBotTaskRequest,
|
|
157
|
-
cb?: (error: string, rep: UpdateBotTaskResponse) => void
|
|
158
|
-
): Promise<UpdateBotTaskResponse> {
|
|
159
|
-
return this.request("UpdateBotTask", req, cb)
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* 上传机器人任务数据
|
|
164
|
-
*/
|
|
165
|
-
async UploadBotData(
|
|
166
|
-
req: UploadBotDataRequest,
|
|
167
|
-
cb?: (error: string, rep: UploadBotDataResponse) => void
|
|
168
|
-
): Promise<UploadBotDataResponse> {
|
|
169
|
-
return this.request("UploadBotData", req, cb)
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* 查看黑名单数据列表
|
|
174
|
-
*/
|
|
175
|
-
async QueryBlackListData(
|
|
176
|
-
req: QueryBlackListDataRequest,
|
|
177
|
-
cb?: (error: string, rep: QueryBlackListDataResponse) => void
|
|
178
|
-
): Promise<QueryBlackListDataResponse> {
|
|
179
|
-
return this.request("QueryBlackListData", req, cb)
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* 用于获取指定案件的录音地址,次日早上8:00后可查询前日录音。
|
|
184
|
-
*/
|
|
185
|
-
async DescribeRecords(
|
|
186
|
-
req: DescribeRecordsRequest,
|
|
187
|
-
cb?: (error: string, rep: DescribeRecordsResponse) => void
|
|
188
|
-
): Promise<DescribeRecordsResponse> {
|
|
189
|
-
return this.request("DescribeRecords", req, cb)
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* 导出机器人数据
|
|
194
|
-
*/
|
|
195
|
-
async ExportBotData(
|
|
196
|
-
req: ExportBotDataRequest,
|
|
197
|
-
cb?: (error: string, rep: ExportBotDataResponse) => void
|
|
198
|
-
): Promise<ExportBotDataResponse> {
|
|
199
|
-
return this.request("ExportBotData", req, cb)
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* 用于获取指定案件的对话文本内容,次日早上8:00后可查询前日对话文本内容。
|
|
204
|
-
*/
|
|
205
|
-
async DownloadDialogueText(
|
|
206
|
-
req: DownloadDialogueTextRequest,
|
|
207
|
-
cb?: (error: string, rep: DownloadDialogueTextResponse) => void
|
|
208
|
-
): Promise<DownloadDialogueTextResponse> {
|
|
209
|
-
return this.request("DownloadDialogueText", req, cb)
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* 上传机器人文件
|
|
214
|
-
*/
|
|
215
|
-
async UploadBotFile(
|
|
216
|
-
req: UploadBotFileRequest,
|
|
217
|
-
cb?: (error: string, rep: UploadBotFileResponse) => void
|
|
218
|
-
): Promise<UploadBotFileResponse> {
|
|
219
|
-
return this.request("UploadBotFile", req, cb)
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* 查询机器人文件模板
|
|
224
|
-
*/
|
|
225
|
-
async DescribeFileModel(
|
|
226
|
-
req: DescribeFileModelRequest,
|
|
227
|
-
cb?: (error: string, rep: DescribeFileModelResponse) => void
|
|
228
|
-
): Promise<DescribeFileModelResponse> {
|
|
229
|
-
return this.request("DescribeFileModel", req, cb)
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* 更新机器人任务作业状态
|
|
234
|
-
*/
|
|
235
|
-
async ChangeBotCallStatus(
|
|
236
|
-
req: ChangeBotCallStatusRequest,
|
|
237
|
-
cb?: (error: string, rep: ChangeBotCallStatusResponse) => void
|
|
238
|
-
): Promise<ChangeBotCallStatusResponse> {
|
|
239
|
-
return this.request("ChangeBotCallStatus", req, cb)
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* 提交黑名单后,黑名单中有效期内的号码将停止拨打,适用于到期/逾期提醒、回访场景。
|
|
244
|
-
*/
|
|
245
|
-
async ApplyBlackList(
|
|
246
|
-
req: ApplyBlackListRequest,
|
|
247
|
-
cb?: (error: string, rep: ApplyBlackListResponse) => void
|
|
248
|
-
): Promise<ApplyBlackListResponse> {
|
|
249
|
-
return this.request("ApplyBlackList", req, cb)
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* 更新机器人任务状态
|
|
254
|
-
*/
|
|
255
|
-
async ChangeBotTaskStatus(
|
|
256
|
-
req: ChangeBotTaskStatusRequest,
|
|
257
|
-
cb?: (error: string, rep: ChangeBotTaskStatusResponse) => void
|
|
258
|
-
): Promise<ChangeBotTaskStatusResponse> {
|
|
259
|
-
return this.request("ChangeBotTaskStatus", req, cb)
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* 根据信审任务ID和请求日期,获取相关信审结果。
|
|
264
|
-
*/
|
|
265
|
-
async DescribeCreditResult(
|
|
266
|
-
req: DescribeCreditResultRequest,
|
|
267
|
-
cb?: (error: string, rep: DescribeCreditResultResponse) => void
|
|
268
|
-
): Promise<DescribeCreditResultResponse> {
|
|
269
|
-
return this.request("DescribeCreditResult", req, cb)
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* 根据上传文件接口的输出参数DataResId,获取相关上传结果。
|
|
274
|
-
*/
|
|
275
|
-
async DescribeTaskStatus(
|
|
276
|
-
req: DescribeTaskStatusRequest,
|
|
277
|
-
cb?: (error: string, rep: DescribeTaskStatusResponse) => void
|
|
278
|
-
): Promise<DescribeTaskStatusResponse> {
|
|
279
|
-
return this.request("DescribeTaskStatus", req, cb)
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* 提交机器人黑名单申请
|
|
284
|
-
*/
|
|
285
|
-
async ApplyBlackListData(
|
|
286
|
-
req: ApplyBlackListDataRequest,
|
|
287
|
-
cb?: (error: string, rep: ApplyBlackListDataResponse) => void
|
|
288
|
-
): Promise<ApplyBlackListDataResponse> {
|
|
289
|
-
return this.request("ApplyBlackListData", req, cb)
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* 查询产品列表
|
|
294
|
-
*/
|
|
295
|
-
async QueryProducts(
|
|
296
|
-
req: QueryProductsRequest,
|
|
297
|
-
cb?: (error: string, rep: QueryProductsResponse) => void
|
|
298
|
-
): Promise<QueryProductsResponse> {
|
|
299
|
-
return this.request("QueryProducts", req, cb)
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* <p>用于获取录音下载链接清单,次日早上8:00后可查询前日录音清单。</p>
|
|
304
|
-
<p>注意:录音清单中的录音下载链接仅次日20:00之前有效,请及时下载。</p>
|
|
305
|
-
*/
|
|
306
|
-
async DownloadRecordList(
|
|
307
|
-
req: DownloadRecordListRequest,
|
|
308
|
-
cb?: (error: string, rep: DownloadRecordListResponse) => void
|
|
309
|
-
): Promise<DownloadRecordListResponse> {
|
|
310
|
-
return this.request("DownloadRecordList", req, cb)
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* 上传Json格式数据,接口返回数据任务ID
|
|
315
|
-
*/
|
|
316
|
-
async UploadDataJson(
|
|
317
|
-
req: UploadDataJsonRequest,
|
|
318
|
-
cb?: (error: string, rep: UploadDataJsonResponse) => void
|
|
319
|
-
): Promise<UploadDataJsonResponse> {
|
|
320
|
-
return this.request("UploadDataJson", req, cb)
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* 提交信审外呼申请,返回当次请求日期。
|
|
325
|
-
*/
|
|
326
|
-
async ApplyCreditAudit(
|
|
327
|
-
req: ApplyCreditAuditRequest,
|
|
328
|
-
cb?: (error: string, rep: ApplyCreditAuditResponse) => void
|
|
329
|
-
): Promise<ApplyCreditAuditResponse> {
|
|
330
|
-
return this.request("ApplyCreditAudit", req, cb)
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* 用于下载结果报表。当日23:00后,可获取当日到期/逾期提醒结果,次日00:30后,可获取昨日回访结果。
|
|
335
|
-
*/
|
|
336
|
-
async DownloadReport(
|
|
337
|
-
req: DownloadReportRequest,
|
|
338
|
-
cb?: (error: string, rep: DownloadReportResponse) => void
|
|
339
|
-
): Promise<DownloadReportResponse> {
|
|
340
|
-
return this.request("DownloadReport", req, cb)
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* 下载任务录音与文本,第二天12点后可使用此接口获取对应的录音与文本
|
|
345
|
-
*/
|
|
346
|
-
async DownloadBotRecord(
|
|
347
|
-
req: DownloadBotRecordRequest,
|
|
348
|
-
cb?: (error: string, rep: DownloadBotRecordResponse) => void
|
|
349
|
-
): Promise<DownloadBotRecordResponse> {
|
|
350
|
-
return this.request("DownloadBotRecord", req, cb)
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* 上传文件,接口返回数据任务ID,支持xlsx、xls、csv、zip格式。
|
|
355
|
-
*/
|
|
356
|
-
async UploadDataFile(
|
|
357
|
-
req: UploadDataFileRequest,
|
|
358
|
-
cb?: (error: string, rep: UploadDataFileResponse) => void
|
|
359
|
-
): Promise<UploadDataFileResponse> {
|
|
360
|
-
let options = {
|
|
361
|
-
multipart: true,
|
|
362
|
-
}
|
|
363
|
-
return this.request("UploadDataFile", req, cb)
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* 创建机器人任务
|
|
368
|
-
*/
|
|
369
|
-
async CreateBotTask(
|
|
370
|
-
req: CreateBotTaskRequest,
|
|
371
|
-
cb?: (error: string, rep: CreateBotTaskResponse) => void
|
|
372
|
-
): Promise<CreateBotTaskResponse> {
|
|
373
|
-
return this.request("CreateBotTask", req, cb)
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* 机器人任务查询
|
|
378
|
-
*/
|
|
379
|
-
async QueryCallList(
|
|
380
|
-
req: QueryCallListRequest,
|
|
381
|
-
cb?: (error: string, rep: QueryCallListResponse) => void
|
|
382
|
-
): Promise<QueryCallListResponse> {
|
|
383
|
-
return this.request("QueryCallList", req, cb)
|
|
384
|
-
}
|
|
385
|
-
}
|