tencentcloud-sdk-nodejs 4.0.551 → 4.0.553

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.
Files changed (71) hide show
  1. package/CHANGELOG.md +320 -0
  2. package/SERVICE_CHANGELOG.md +382 -101
  3. package/package.json +1 -1
  4. package/products.md +24 -23
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/asr/v20190614/asr_client.ts +2 -2
  7. package/src/services/asr/v20190614/asr_models.ts +4 -0
  8. package/src/services/bma/v20221115/bma_models.ts +6 -0
  9. package/src/services/ccc/v20200210/ccc_models.ts +5 -0
  10. package/src/services/ckafka/v20190819/ckafka_models.ts +2 -2
  11. package/src/services/cwp/v20180228/cwp_client.ts +445 -84
  12. package/src/services/cwp/v20180228/cwp_models.ts +2230 -688
  13. package/src/services/dlc/v20210125/dlc_client.ts +103 -30
  14. package/src/services/dlc/v20210125/dlc_models.ts +437 -150
  15. package/src/services/ess/v20201111/ess_client.ts +40 -2
  16. package/src/services/ess/v20201111/ess_models.ts +292 -92
  17. package/src/services/essbasic/v20210526/essbasic_client.ts +11 -11
  18. package/src/services/essbasic/v20210526/essbasic_models.ts +65 -57
  19. package/src/services/gme/v20180711/gme_client.ts +130 -67
  20. package/src/services/gme/v20180711/gme_models.ts +1040 -813
  21. package/src/services/index.ts +1 -0
  22. package/src/services/intlpartnersmgt/index.ts +5 -0
  23. package/src/services/intlpartnersmgt/v20220928/index.ts +6 -0
  24. package/src/services/intlpartnersmgt/v20220928/intlpartnersmgt_client.ts +178 -0
  25. package/src/services/intlpartnersmgt/v20220928/intlpartnersmgt_models.ts +608 -0
  26. package/src/services/tdmq/v20200217/tdmq_models.ts +24 -16
  27. package/src/services/trtc/v20190722/trtc_client.ts +3 -1
  28. package/src/services/tse/v20201207/tse_client.ts +1 -0
  29. package/src/services/tse/v20201207/tse_models.ts +28 -0
  30. package/tencentcloud/common/sdk_version.d.ts +1 -1
  31. package/tencentcloud/common/sdk_version.js +1 -1
  32. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +2 -2
  33. package/tencentcloud/services/asr/v20190614/asr_client.js +2 -2
  34. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +4 -0
  35. package/tencentcloud/services/bma/v20221115/bma_models.d.ts +5 -0
  36. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -0
  37. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +2 -2
  38. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +137 -21
  39. package/tencentcloud/services/cwp/v20180228/cwp_client.js +204 -30
  40. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1860 -544
  41. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +33 -9
  42. package/tencentcloud/services/dlc/v20210125/dlc_client.js +48 -12
  43. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +368 -128
  44. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +13 -1
  45. package/tencentcloud/services/ess/v20201111/ess_client.js +18 -0
  46. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +251 -80
  47. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +11 -11
  48. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +11 -11
  49. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +64 -57
  50. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +26 -5
  51. package/tencentcloud/services/gme/v20180711/gme_client.js +37 -6
  52. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +978 -783
  53. package/tencentcloud/services/index.d.ts +1 -0
  54. package/tencentcloud/services/index.js +2 -0
  55. package/tencentcloud/services/intlpartnersmgt/index.d.ts +6 -0
  56. package/tencentcloud/services/intlpartnersmgt/index.js +7 -0
  57. package/tencentcloud/services/intlpartnersmgt/v20220928/index.d.ts +6 -0
  58. package/tencentcloud/services/intlpartnersmgt/v20220928/index.js +9 -0
  59. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_client.d.ts +62 -0
  60. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_client.js +105 -0
  61. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_models.d.ts +500 -0
  62. package/tencentcloud/services/intlpartnersmgt/v20220928/intlpartnersmgt_models.js +18 -0
  63. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +22 -15
  64. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +3 -1
  65. package/tencentcloud/services/trtc/v20190722/trtc_client.js +3 -1
  66. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +24 -0
  67. package/test/cwp.v20180228.test.js +310 -20
  68. package/test/dlc.v20210125.test.js +68 -8
  69. package/test/ess.v20201111.test.js +30 -0
  70. package/test/gme.v20180711.test.js +54 -4
  71. package/test/intlpartnersmgt.v20220928.test.js +131 -0
@@ -158,6 +158,16 @@ it("dlc.v20210125.CancelNotebookSessionStatementBatch", async function () {
158
158
  }
159
159
  })
160
160
 
161
+ it("dlc.v20210125.ModifySparkApp", async function () {
162
+ try {
163
+ const data = await client.ModifySparkApp({})
164
+ expect(data).to.be.ok
165
+ } catch(error) {
166
+ expect(error.requestId).to.be.ok
167
+ expect(error.code).to.be.ok
168
+ }
169
+ })
170
+
161
171
  it("dlc.v20210125.DeleteSparkApp", async function () {
162
172
  try {
163
173
  const data = await client.DeleteSparkApp({})
@@ -318,6 +328,16 @@ it("dlc.v20210125.DescribeNotebookSessionLog", async function () {
318
328
  }
319
329
  })
320
330
 
331
+ it("dlc.v20210125.SwitchDataEngine", async function () {
332
+ try {
333
+ const data = await client.SwitchDataEngine({})
334
+ expect(data).to.be.ok
335
+ } catch(error) {
336
+ expect(error.requestId).to.be.ok
337
+ expect(error.code).to.be.ok
338
+ }
339
+ })
340
+
321
341
  it("dlc.v20210125.AlterDMSDatabase", async function () {
322
342
  try {
323
343
  const data = await client.AlterDMSDatabase({})
@@ -328,9 +348,9 @@ it("dlc.v20210125.AlterDMSDatabase", async function () {
328
348
  }
329
349
  })
330
350
 
331
- it("dlc.v20210125.ModifySparkApp", async function () {
351
+ it("dlc.v20210125.DescribeSparkAppTasks", async function () {
332
352
  try {
333
- const data = await client.ModifySparkApp({})
353
+ const data = await client.DescribeSparkAppTasks({})
334
354
  expect(data).to.be.ok
335
355
  } catch(error) {
336
356
  expect(error.requestId).to.be.ok
@@ -438,6 +458,16 @@ it("dlc.v20210125.CreateScript", async function () {
438
458
  }
439
459
  })
440
460
 
461
+ it("dlc.v20210125.UpdateRowFilter", async function () {
462
+ try {
463
+ const data = await client.UpdateRowFilter({})
464
+ expect(data).to.be.ok
465
+ } catch(error) {
466
+ expect(error.requestId).to.be.ok
467
+ expect(error.code).to.be.ok
468
+ }
469
+ })
470
+
441
471
  it("dlc.v20210125.DescribeDMSTables", async function () {
442
472
  try {
443
473
  const data = await client.DescribeDMSTables({})
@@ -538,6 +568,16 @@ it("dlc.v20210125.DescribeTable", async function () {
538
568
  }
539
569
  })
540
570
 
571
+ it("dlc.v20210125.DetachUserPolicy", async function () {
572
+ try {
573
+ const data = await client.DetachUserPolicy({})
574
+ expect(data).to.be.ok
575
+ } catch(error) {
576
+ expect(error.requestId).to.be.ok
577
+ expect(error.code).to.be.ok
578
+ }
579
+ })
580
+
541
581
  it("dlc.v20210125.DescribeNotebookSessionStatements", async function () {
542
582
  try {
543
583
  const data = await client.DescribeNotebookSessionStatements({})
@@ -588,6 +628,16 @@ it("dlc.v20210125.BindWorkGroupsToUser", async function () {
588
628
  }
589
629
  })
590
630
 
631
+ it("dlc.v20210125.SuspendResumeDataEngine", async function () {
632
+ try {
633
+ const data = await client.SuspendResumeDataEngine({})
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
+
591
641
  it("dlc.v20210125.CreateSparkAppTask", async function () {
592
642
  try {
593
643
  const data = await client.CreateSparkAppTask({})
@@ -628,9 +678,19 @@ it("dlc.v20210125.DeleteUser", async function () {
628
678
  }
629
679
  })
630
680
 
631
- it("dlc.v20210125.SuspendResumeDataEngine", async function () {
681
+ it("dlc.v20210125.DescribeLakeFsDirSummary", async function () {
632
682
  try {
633
- const data = await client.SuspendResumeDataEngine({})
683
+ const data = await client.DescribeLakeFsDirSummary({})
684
+ expect(data).to.be.ok
685
+ } catch(error) {
686
+ expect(error.requestId).to.be.ok
687
+ expect(error.code).to.be.ok
688
+ }
689
+ })
690
+
691
+ it("dlc.v20210125.DescribeEngineUsageInfo", async function () {
692
+ try {
693
+ const data = await client.DescribeEngineUsageInfo({})
634
694
  expect(data).to.be.ok
635
695
  } catch(error) {
636
696
  expect(error.requestId).to.be.ok
@@ -728,9 +788,9 @@ it("dlc.v20210125.ModifyGovernEventRule", async function () {
728
788
  }
729
789
  })
730
790
 
731
- it("dlc.v20210125.DescribeSparkAppTasks", async function () {
791
+ it("dlc.v20210125.CreateDataEngine", async function () {
732
792
  try {
733
- const data = await client.DescribeSparkAppTasks({})
793
+ const data = await client.CreateDataEngine({})
734
794
  expect(data).to.be.ok
735
795
  } catch(error) {
736
796
  expect(error.requestId).to.be.ok
@@ -778,9 +838,9 @@ it("dlc.v20210125.CreateNotebookSessionStatement", async function () {
778
838
  }
779
839
  })
780
840
 
781
- it("dlc.v20210125.DetachUserPolicy", async function () {
841
+ it("dlc.v20210125.DescribeLakeFsInfo", async function () {
782
842
  try {
783
- const data = await client.DetachUserPolicy({})
843
+ const data = await client.DescribeLakeFsInfo({})
784
844
  expect(data).to.be.ok
785
845
  } catch(error) {
786
846
  expect(error.requestId).to.be.ok
@@ -88,6 +88,16 @@ it("ess.v20201111.DescribeFileUrls", async function () {
88
88
  }
89
89
  })
90
90
 
91
+ it("ess.v20201111.CreateUserAutoSignEnableUrl", async function () {
92
+ try {
93
+ const data = await client.CreateUserAutoSignEnableUrl({})
94
+ expect(data).to.be.ok
95
+ } catch(error) {
96
+ expect(error.requestId).to.be.ok
97
+ expect(error.code).to.be.ok
98
+ }
99
+ })
100
+
91
101
  it("ess.v20201111.CreateFlowEvidenceReport", async function () {
92
102
  try {
93
103
  const data = await client.CreateFlowEvidenceReport({})
@@ -128,6 +138,16 @@ it("ess.v20201111.CreateFlowApprovers", async function () {
128
138
  }
129
139
  })
130
140
 
141
+ it("ess.v20201111.DisableUserAutoSign", async function () {
142
+ try {
143
+ const data = await client.DisableUserAutoSign({})
144
+ expect(data).to.be.ok
145
+ } catch(error) {
146
+ expect(error.requestId).to.be.ok
147
+ expect(error.code).to.be.ok
148
+ }
149
+ })
150
+
131
151
  it("ess.v20201111.CreateFlowSignReview", async function () {
132
152
  try {
133
153
  const data = await client.CreateFlowSignReview({})
@@ -188,6 +208,16 @@ it("ess.v20201111.CreateFlow", async function () {
188
208
  }
189
209
  })
190
210
 
211
+ it("ess.v20201111.DescribeUserAutoSignStatus", async function () {
212
+ try {
213
+ const data = await client.DescribeUserAutoSignStatus({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
191
221
  it("ess.v20201111.DescribeFlowEvidenceReport", async function () {
192
222
  try {
193
223
  const data = await client.DescribeFlowEvidenceReport({})
@@ -28,6 +28,16 @@ it("gme.v20180711.DescribeRoomInfo", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("gme.v20180711.StopRecord", async function () {
32
+ try {
33
+ const data = await client.StopRecord({})
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("gme.v20180711.DeleteScanUser", async function () {
32
42
  try {
33
43
  const data = await client.DeleteScanUser({})
@@ -68,9 +78,9 @@ it("gme.v20180711.DescribeUserInAndOutTime", async function () {
68
78
  }
69
79
  })
70
80
 
71
- it("gme.v20180711.DescribeRealtimeScanConfig", async function () {
81
+ it("gme.v20180711.UpdateScanRooms", async function () {
72
82
  try {
73
- const data = await client.DescribeRealtimeScanConfig({})
83
+ const data = await client.UpdateScanRooms({})
74
84
  expect(data).to.be.ok
75
85
  } catch(error) {
76
86
  expect(error.requestId).to.be.ok
@@ -88,6 +98,16 @@ it("gme.v20180711.CreateCustomization", async function () {
88
98
  }
89
99
  })
90
100
 
101
+ it("gme.v20180711.DescribeTaskInfo", async function () {
102
+ try {
103
+ const data = await client.DescribeTaskInfo({})
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
+
91
111
  it("gme.v20180711.CreateAgeDetectTask", async function () {
92
112
  try {
93
113
  const data = await client.CreateAgeDetectTask({})
@@ -158,9 +178,19 @@ it("gme.v20180711.ModifyCustomization", async function () {
158
178
  }
159
179
  })
160
180
 
161
- it("gme.v20180711.UpdateScanRooms", async function () {
181
+ it("gme.v20180711.DescribeRealtimeScanConfig", async function () {
162
182
  try {
163
- const data = await client.UpdateScanRooms({})
183
+ const data = await client.DescribeRealtimeScanConfig({})
184
+ expect(data).to.be.ok
185
+ } catch(error) {
186
+ expect(error.requestId).to.be.ok
187
+ expect(error.code).to.be.ok
188
+ }
189
+ })
190
+
191
+ it("gme.v20180711.ModifyRecordInfo", async function () {
192
+ try {
193
+ const data = await client.ModifyRecordInfo({})
164
194
  expect(data).to.be.ok
165
195
  } catch(error) {
166
196
  expect(error.requestId).to.be.ok
@@ -208,6 +238,16 @@ it("gme.v20180711.ModifyCustomizationState", async function () {
208
238
  }
209
239
  })
210
240
 
241
+ it("gme.v20180711.DescribeRecordInfo", async function () {
242
+ try {
243
+ const data = await client.DescribeRecordInfo({})
244
+ expect(data).to.be.ok
245
+ } catch(error) {
246
+ expect(error.requestId).to.be.ok
247
+ expect(error.code).to.be.ok
248
+ }
249
+ })
250
+
211
251
  it("gme.v20180711.ModifyUserMicStatus", async function () {
212
252
  try {
213
253
  const data = await client.ModifyUserMicStatus({})
@@ -228,6 +268,16 @@ it("gme.v20180711.DeleteCustomization", async function () {
228
268
  }
229
269
  })
230
270
 
271
+ it("gme.v20180711.StartRecord", async function () {
272
+ try {
273
+ const data = await client.StartRecord({})
274
+ expect(data).to.be.ok
275
+ } catch(error) {
276
+ expect(error.requestId).to.be.ok
277
+ expect(error.code).to.be.ok
278
+ }
279
+ })
280
+
231
281
  it("gme.v20180711.ModifyAppStatus", async function () {
232
282
  try {
233
283
  const data = await client.ModifyAppStatus({})
@@ -0,0 +1,131 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.intlpartnersmgt.v20220928.Client({
5
+ credential: {
6
+ secretId: process.env.secretId,
7
+ secretKey: process.env.secretKey,
8
+ },
9
+ region: "ap-shanghai",
10
+ profile: {
11
+ signMethod: "TC3-HMAC-SHA256",
12
+ httpProfile: {
13
+ reqMethod: "POST",
14
+ reqTimeout: 30,
15
+ endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
16
+ },
17
+ },
18
+ })
19
+ describe("intlpartnersmgt.v20220928.test.js", function () {
20
+
21
+ it("intlpartnersmgt.v20220928.QueryCreditByUinList", async function () {
22
+ try {
23
+ const data = await client.QueryCreditByUinList({})
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
+ it("intlpartnersmgt.v20220928.QueryVoucherPool", async function () {
32
+ try {
33
+ const data = await client.QueryVoucherPool({})
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
+
41
+ it("intlpartnersmgt.v20220928.QueryDirectCustomersCredit", async function () {
42
+ try {
43
+ const data = await client.QueryDirectCustomersCredit({})
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("intlpartnersmgt.v20220928.CreateAccount", async function () {
52
+ try {
53
+ const data = await client.CreateAccount({})
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("intlpartnersmgt.v20220928.QueryVoucherListByUin", async function () {
62
+ try {
63
+ const data = await client.QueryVoucherListByUin({})
64
+ expect(data).to.be.ok
65
+ } catch(error) {
66
+ expect(error.requestId).to.be.ok
67
+ expect(error.code).to.be.ok
68
+ }
69
+ })
70
+
71
+ it("intlpartnersmgt.v20220928.QueryPartnerCredit", async function () {
72
+ try {
73
+ const data = await client.QueryPartnerCredit({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
81
+ it("intlpartnersmgt.v20220928.AllocateCustomerCredit", async function () {
82
+ try {
83
+ const data = await client.AllocateCustomerCredit({})
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("intlpartnersmgt.v20220928.GetCountryCodes", async function () {
92
+ try {
93
+ const data = await client.GetCountryCodes({})
94
+ expect(data).to.be.ok
95
+ } catch(error) {
96
+ expect(error.requestId).to.be.ok
97
+ expect(error.code).to.be.ok
98
+ }
99
+ })
100
+
101
+ it("intlpartnersmgt.v20220928.QueryCreditAllocationHistory", async function () {
102
+ try {
103
+ const data = await client.QueryCreditAllocationHistory({})
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
+
111
+ it("intlpartnersmgt.v20220928.QueryCustomersCredit", async function () {
112
+ try {
113
+ const data = await client.QueryCustomersCredit({})
114
+ expect(data).to.be.ok
115
+ } catch(error) {
116
+ expect(error.requestId).to.be.ok
117
+ expect(error.code).to.be.ok
118
+ }
119
+ })
120
+
121
+ it("intlpartnersmgt.v20220928.QueryVoucherAmountByUin", async function () {
122
+ try {
123
+ const data = await client.QueryVoucherAmountByUin({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
131
+ })