tencentcloud-sdk-nodejs 4.0.370 → 4.0.371
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 +214 -0
- package/SERVICE_CHANGELOG.md +332 -33
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cpdp/v20190820/cpdp_client.ts +163 -38
- package/src/services/cpdp/v20190820/cpdp_models.ts +2077 -462
- package/src/services/eb/v20210416/eb_models.ts +5 -5
- package/src/services/essbasic/v20210526/essbasic_models.ts +13 -14
- package/src/services/gaap/v20180529/gaap_models.ts +6 -0
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +2 -4
- package/src/services/mmps/v20200710/mmps_client.ts +20 -6
- package/src/services/mmps/v20200710/mmps_models.ts +157 -0
- package/src/services/monitor/v20180724/monitor_client.ts +22 -10
- package/src/services/monitor/v20180724/monitor_models.ts +110 -55
- package/src/services/mrs/v20200910/mrs_client.ts +1 -0
- package/src/services/mrs/v20200910/mrs_models.ts +41 -0
- package/src/services/tcbr/v20220217/tcbr_client.ts +1 -0
- package/src/services/tcbr/v20220217/tcbr_models.ts +29 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +27 -0
- package/src/services/tse/v20201207/tse_client.ts +75 -23
- package/src/services/tse/v20201207/tse_models.ts +417 -157
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +45 -9
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +66 -12
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +1706 -338
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +4 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +10 -11
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +5 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +2 -4
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +2 -4
- package/tencentcloud/services/mmps/v20200710/mmps_client.d.ts +7 -3
- package/tencentcloud/services/mmps/v20200710/mmps_client.js +9 -3
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +130 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +7 -3
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +9 -3
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +94 -48
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +35 -0
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +25 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +22 -0
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +21 -5
- package/tencentcloud/services/tse/v20201207/tse_client.js +30 -6
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +366 -144
- package/test/cpdp.v20190820.test.js +98 -8
- package/test/mmps.v20200710.test.js +12 -2
- package/test/monitor.v20180724.test.js +12 -2
- package/test/tse.v20201207.test.js +44 -4
|
@@ -38,6 +38,16 @@ it("cpdp.v20190820.DistributeAccreditQuery", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("cpdp.v20190820.QueryOpenBankSubMerchantRateConfigure", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.QueryOpenBankSubMerchantRateConfigure({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
41
51
|
it("cpdp.v20190820.QueryFlexFreezeOrderList", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.QueryFlexFreezeOrderList({})
|
|
@@ -118,9 +128,9 @@ it("cpdp.v20190820.QueryOrder", async function () {
|
|
|
118
128
|
}
|
|
119
129
|
})
|
|
120
130
|
|
|
121
|
-
it("cpdp.v20190820.
|
|
131
|
+
it("cpdp.v20190820.QueryOpenBankRefundOrder", async function () {
|
|
122
132
|
try {
|
|
123
|
-
const data = await client.
|
|
133
|
+
const data = await client.QueryOpenBankRefundOrder({})
|
|
124
134
|
expect(data).to.be.ok
|
|
125
135
|
} catch(error) {
|
|
126
136
|
expect(error.requestId).to.be.ok
|
|
@@ -218,6 +228,16 @@ it("cpdp.v20190820.ViewContract", async function () {
|
|
|
218
228
|
}
|
|
219
229
|
})
|
|
220
230
|
|
|
231
|
+
it("cpdp.v20190820.CreateOpenBankUnifiedOrder", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.CreateOpenBankUnifiedOrder({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
221
241
|
it("cpdp.v20190820.QueryCustAcctIdBalance", async function () {
|
|
222
242
|
try {
|
|
223
243
|
const data = await client.QueryCustAcctIdBalance({})
|
|
@@ -618,6 +638,16 @@ it("cpdp.v20190820.CreatePayRollPreOrder", async function () {
|
|
|
618
638
|
}
|
|
619
639
|
})
|
|
620
640
|
|
|
641
|
+
it("cpdp.v20190820.AddContract", async function () {
|
|
642
|
+
try {
|
|
643
|
+
const data = await client.AddContract({})
|
|
644
|
+
expect(data).to.be.ok
|
|
645
|
+
} catch(error) {
|
|
646
|
+
expect(error.requestId).to.be.ok
|
|
647
|
+
expect(error.code).to.be.ok
|
|
648
|
+
}
|
|
649
|
+
})
|
|
650
|
+
|
|
621
651
|
it("cpdp.v20190820.CreateCloudSubMerchant", async function () {
|
|
622
652
|
try {
|
|
623
653
|
const data = await client.CreateCloudSubMerchant({})
|
|
@@ -688,6 +718,16 @@ it("cpdp.v20190820.QueryFlexPayeeAccountInfo", async function () {
|
|
|
688
718
|
}
|
|
689
719
|
})
|
|
690
720
|
|
|
721
|
+
it("cpdp.v20190820.RefundOpenBankOrder", async function () {
|
|
722
|
+
try {
|
|
723
|
+
const data = await client.RefundOpenBankOrder({})
|
|
724
|
+
expect(data).to.be.ok
|
|
725
|
+
} catch(error) {
|
|
726
|
+
expect(error.requestId).to.be.ok
|
|
727
|
+
expect(error.code).to.be.ok
|
|
728
|
+
}
|
|
729
|
+
})
|
|
730
|
+
|
|
691
731
|
it("cpdp.v20190820.CreatePayRollToken", async function () {
|
|
692
732
|
try {
|
|
693
733
|
const data = await client.CreatePayRollToken({})
|
|
@@ -698,6 +738,16 @@ it("cpdp.v20190820.CreatePayRollToken", async function () {
|
|
|
698
738
|
}
|
|
699
739
|
})
|
|
700
740
|
|
|
741
|
+
it("cpdp.v20190820.UploadExternalAnchorInfo", async function () {
|
|
742
|
+
try {
|
|
743
|
+
const data = await client.UploadExternalAnchorInfo({})
|
|
744
|
+
expect(data).to.be.ok
|
|
745
|
+
} catch(error) {
|
|
746
|
+
expect(error.requestId).to.be.ok
|
|
747
|
+
expect(error.code).to.be.ok
|
|
748
|
+
}
|
|
749
|
+
})
|
|
750
|
+
|
|
701
751
|
it("cpdp.v20190820.UnifiedOrder", async function () {
|
|
702
752
|
try {
|
|
703
753
|
const data = await client.UnifiedOrder({})
|
|
@@ -738,6 +788,16 @@ it("cpdp.v20190820.QueryContractRelateShop", async function () {
|
|
|
738
788
|
}
|
|
739
789
|
})
|
|
740
790
|
|
|
791
|
+
it("cpdp.v20190820.ViewShop", async function () {
|
|
792
|
+
try {
|
|
793
|
+
const data = await client.ViewShop({})
|
|
794
|
+
expect(data).to.be.ok
|
|
795
|
+
} catch(error) {
|
|
796
|
+
expect(error.requestId).to.be.ok
|
|
797
|
+
expect(error.code).to.be.ok
|
|
798
|
+
}
|
|
799
|
+
})
|
|
800
|
+
|
|
741
801
|
it("cpdp.v20190820.CheckAmount", async function () {
|
|
742
802
|
try {
|
|
743
803
|
const data = await client.CheckAmount({})
|
|
@@ -818,6 +878,16 @@ it("cpdp.v20190820.MigrateOrderRefund", async function () {
|
|
|
818
878
|
}
|
|
819
879
|
})
|
|
820
880
|
|
|
881
|
+
it("cpdp.v20190820.QueryOpenBankSubMerchantCredential", async function () {
|
|
882
|
+
try {
|
|
883
|
+
const data = await client.QueryOpenBankSubMerchantCredential({})
|
|
884
|
+
expect(data).to.be.ok
|
|
885
|
+
} catch(error) {
|
|
886
|
+
expect(error.requestId).to.be.ok
|
|
887
|
+
expect(error.code).to.be.ok
|
|
888
|
+
}
|
|
889
|
+
})
|
|
890
|
+
|
|
821
891
|
it("cpdp.v20190820.QueryFlexPaymentOrderStatus", async function () {
|
|
822
892
|
try {
|
|
823
893
|
const data = await client.QueryFlexPaymentOrderStatus({})
|
|
@@ -878,6 +948,16 @@ it("cpdp.v20190820.QueryBankWithdrawCashDetails", async function () {
|
|
|
878
948
|
}
|
|
879
949
|
})
|
|
880
950
|
|
|
951
|
+
it("cpdp.v20190820.QueryOpenBankBillDataPage", async function () {
|
|
952
|
+
try {
|
|
953
|
+
const data = await client.QueryOpenBankBillDataPage({})
|
|
954
|
+
expect(data).to.be.ok
|
|
955
|
+
} catch(error) {
|
|
956
|
+
expect(error.requestId).to.be.ok
|
|
957
|
+
expect(error.code).to.be.ok
|
|
958
|
+
}
|
|
959
|
+
})
|
|
960
|
+
|
|
881
961
|
it("cpdp.v20190820.QueryDownloadBillURL", async function () {
|
|
882
962
|
try {
|
|
883
963
|
const data = await client.QueryDownloadBillURL({})
|
|
@@ -1408,9 +1488,9 @@ it("cpdp.v20190820.DistributeQuery", async function () {
|
|
|
1408
1488
|
}
|
|
1409
1489
|
})
|
|
1410
1490
|
|
|
1411
|
-
it("cpdp.v20190820.
|
|
1491
|
+
it("cpdp.v20190820.CreateOpenBankSubMerchantRateConfigure", async function () {
|
|
1412
1492
|
try {
|
|
1413
|
-
const data = await client.
|
|
1493
|
+
const data = await client.CreateOpenBankSubMerchantRateConfigure({})
|
|
1414
1494
|
expect(data).to.be.ok
|
|
1415
1495
|
} catch(error) {
|
|
1416
1496
|
expect(error.requestId).to.be.ok
|
|
@@ -1618,6 +1698,16 @@ it("cpdp.v20190820.QueryMemberTransaction", async function () {
|
|
|
1618
1698
|
}
|
|
1619
1699
|
})
|
|
1620
1700
|
|
|
1701
|
+
it("cpdp.v20190820.UploadOpenBankSubMerchantCredential", async function () {
|
|
1702
|
+
try {
|
|
1703
|
+
const data = await client.UploadOpenBankSubMerchantCredential({})
|
|
1704
|
+
expect(data).to.be.ok
|
|
1705
|
+
} catch(error) {
|
|
1706
|
+
expect(error.requestId).to.be.ok
|
|
1707
|
+
expect(error.code).to.be.ok
|
|
1708
|
+
}
|
|
1709
|
+
})
|
|
1710
|
+
|
|
1621
1711
|
it("cpdp.v20190820.DistributeQueryReceiver", async function () {
|
|
1622
1712
|
try {
|
|
1623
1713
|
const data = await client.DistributeQueryReceiver({})
|
|
@@ -1728,9 +1818,9 @@ it("cpdp.v20190820.MigrateOrderRefundQuery", async function () {
|
|
|
1728
1818
|
}
|
|
1729
1819
|
})
|
|
1730
1820
|
|
|
1731
|
-
it("cpdp.v20190820.
|
|
1821
|
+
it("cpdp.v20190820.QueryAgentStatements", async function () {
|
|
1732
1822
|
try {
|
|
1733
|
-
const data = await client.
|
|
1823
|
+
const data = await client.QueryAgentStatements({})
|
|
1734
1824
|
expect(data).to.be.ok
|
|
1735
1825
|
} catch(error) {
|
|
1736
1826
|
expect(error.requestId).to.be.ok
|
|
@@ -1878,9 +1968,9 @@ it("cpdp.v20190820.QueryAcctInfoList", async function () {
|
|
|
1878
1968
|
}
|
|
1879
1969
|
})
|
|
1880
1970
|
|
|
1881
|
-
it("cpdp.v20190820.
|
|
1971
|
+
it("cpdp.v20190820.CreateOpenBankAggregatedSubMerchantRegistration", async function () {
|
|
1882
1972
|
try {
|
|
1883
|
-
const data = await client.
|
|
1973
|
+
const data = await client.CreateOpenBankAggregatedSubMerchantRegistration({})
|
|
1884
1974
|
expect(data).to.be.ok
|
|
1885
1975
|
} catch(error) {
|
|
1886
1976
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("mmps.v20200710.CreateAppScanTask", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("mmps.v20200710.
|
|
31
|
+
it("mmps.v20200710.DescribeFlySecMiniAppScanReportList", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.DescribeFlySecMiniAppScanReportList({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -98,6 +98,16 @@ it("mmps.v20200710.DescribeScanTaskReportUrl", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
+
it("mmps.v20200710.DescribeScanTaskList", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeScanTaskList({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
101
111
|
it("mmps.v20200710.DescribeFlySecMiniAppScanTaskList", async function () {
|
|
102
112
|
try {
|
|
103
113
|
const data = await client.DescribeFlySecMiniAppScanTaskList({})
|
|
@@ -168,9 +168,9 @@ it("monitor.v20180724.GetMonitorData", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
-
it("monitor.v20180724.
|
|
171
|
+
it("monitor.v20180724.CreatePrometheusMultiTenantInstancePostPayMode", async function () {
|
|
172
172
|
try {
|
|
173
|
-
const data = await client.
|
|
173
|
+
const data = await client.CreatePrometheusMultiTenantInstancePostPayMode({})
|
|
174
174
|
expect(data).to.be.ok
|
|
175
175
|
} catch(error) {
|
|
176
176
|
expect(error.requestId).to.be.ok
|
|
@@ -628,6 +628,16 @@ it("monitor.v20180724.SetDefaultAlarmPolicy", async function () {
|
|
|
628
628
|
}
|
|
629
629
|
})
|
|
630
630
|
|
|
631
|
+
it("monitor.v20180724.ModifyAlarmPolicyTasks", async function () {
|
|
632
|
+
try {
|
|
633
|
+
const data = await client.ModifyAlarmPolicyTasks({})
|
|
634
|
+
expect(data).to.be.ok
|
|
635
|
+
} catch(error) {
|
|
636
|
+
expect(error.requestId).to.be.ok
|
|
637
|
+
expect(error.code).to.be.ok
|
|
638
|
+
}
|
|
639
|
+
})
|
|
640
|
+
|
|
631
641
|
it("monitor.v20180724.DescribeRecordingRules", async function () {
|
|
632
642
|
try {
|
|
633
643
|
const data = await client.DescribeRecordingRules({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.tse.v20201207.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("tse.v20201207.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("tse.v20201207.DescribeZookeeperReplicas", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeZookeeperReplicas({})
|
|
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
|
+
|
|
21
31
|
it("tse.v20201207.DeleteEngine", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DeleteEngine({})
|
|
@@ -28,9 +38,29 @@ it("tse.v20201207.DeleteEngine", async function () {
|
|
|
28
38
|
}
|
|
29
39
|
})
|
|
30
40
|
|
|
31
|
-
it("tse.v20201207.
|
|
41
|
+
it("tse.v20201207.DescribeSREInstances", async function () {
|
|
32
42
|
try {
|
|
33
|
-
const data = await client.
|
|
43
|
+
const data = await client.DescribeSREInstances({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it("tse.v20201207.DescribeNacosReplicas", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeNacosReplicas({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
it("tse.v20201207.DescribeZookeeperServerInterfaces", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeZookeeperServerInterfaces({})
|
|
34
64
|
expect(data).to.be.ok
|
|
35
65
|
} catch(error) {
|
|
36
66
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +78,19 @@ it("tse.v20201207.CreateEngine", async function () {
|
|
|
48
78
|
}
|
|
49
79
|
})
|
|
50
80
|
|
|
51
|
-
it("tse.v20201207.
|
|
81
|
+
it("tse.v20201207.DescribeNacosServerInterfaces", async function () {
|
|
52
82
|
try {
|
|
53
|
-
const data = await client.
|
|
83
|
+
const data = await client.DescribeNacosServerInterfaces({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
it("tse.v20201207.DescribeSREInstanceAccessAddress", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeSREInstanceAccessAddress({})
|
|
54
94
|
expect(data).to.be.ok
|
|
55
95
|
} catch(error) {
|
|
56
96
|
expect(error.requestId).to.be.ok
|