tencentcloud-sdk-nodejs-intl-en 3.0.1321 → 3.0.1323
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/package.json +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/faceid/v20180301/models.js +27 -14
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/tdmysql/index.js +3 -0
- package/tencentcloud/tdmysql/v20211122/index.js +4 -0
- package/tencentcloud/tdmysql/v20211122/models.js +2207 -0
- package/tencentcloud/tdmysql/v20211122/tdmysql_client.js +267 -0
- package/tencentcloud/vod/v20180717/models.js +532 -337
- package/tencentcloud/vod/v20180717/vod_client.js +81 -42
- package/tencentcloud/wedata/v20250806/models.js +161 -17
- package/tencentcloud/wedata/v20250806/wedata_client.js +21 -7
|
@@ -80,6 +80,7 @@ const RefreshUrlCacheRequest = models.RefreshUrlCacheRequest;
|
|
|
80
80
|
const FaceConfigureInfoForUpdate = models.FaceConfigureInfoForUpdate;
|
|
81
81
|
const ContentReviewTemplateItem = models.ContentReviewTemplateItem;
|
|
82
82
|
const AigcImageTaskOutputFileInfo = models.AigcImageTaskOutputFileInfo;
|
|
83
|
+
const TaskSimpleInfo = models.TaskSimpleInfo;
|
|
83
84
|
const DeleteAIRecognitionTemplateResponse = models.DeleteAIRecognitionTemplateResponse;
|
|
84
85
|
const VideoEnhanceConfig = models.VideoEnhanceConfig;
|
|
85
86
|
const DeleteContentReviewTemplateRequest = models.DeleteContentReviewTemplateRequest;
|
|
@@ -209,7 +210,7 @@ const PlayStatFileInfo = models.PlayStatFileInfo;
|
|
|
209
210
|
const ModifyMediaInfoRequest = models.ModifyMediaInfoRequest;
|
|
210
211
|
const FrameRateWithDenInfo = models.FrameRateWithDenInfo;
|
|
211
212
|
const TraceWatermarkInput = models.TraceWatermarkInput;
|
|
212
|
-
const
|
|
213
|
+
const ModifyPersonSampleRequest = models.ModifyPersonSampleRequest;
|
|
213
214
|
const ReviewAudioVideoSegmentItem = models.ReviewAudioVideoSegmentItem;
|
|
214
215
|
const MediaAnimatedGraphicsInfo = models.MediaAnimatedGraphicsInfo;
|
|
215
216
|
const DescribeSnapshotByTimeOffsetTemplatesRequest = models.DescribeSnapshotByTimeOffsetTemplatesRequest;
|
|
@@ -264,6 +265,7 @@ const AiRecognitionTaskOcrFullTextSegmentItem = models.AiRecognitionTaskOcrFullT
|
|
|
264
265
|
const ColorEnhanceInfo = models.ColorEnhanceInfo;
|
|
265
266
|
const DeleteEnhanceMediaTemplateResponse = models.DeleteEnhanceMediaTemplateResponse;
|
|
266
267
|
const EditMediaOutputConfig = models.EditMediaOutputConfig;
|
|
268
|
+
const ModifyPersonSampleResponse = models.ModifyPersonSampleResponse;
|
|
267
269
|
const SplitMediaTaskSegmentInfo = models.SplitMediaTaskSegmentInfo;
|
|
268
270
|
const AiReviewPornAsrTaskOutput = models.AiReviewPornAsrTaskOutput;
|
|
269
271
|
const RequestHeader = models.RequestHeader;
|
|
@@ -354,6 +356,7 @@ const DeleteHeadTailTemplateRequest = models.DeleteHeadTailTemplateRequest;
|
|
|
354
356
|
const AiAnalysisTaskTagResult = models.AiAnalysisTaskTagResult;
|
|
355
357
|
const SearchMediaResponse = models.SearchMediaResponse;
|
|
356
358
|
const ProcessMediaByMPSResponse = models.ProcessMediaByMPSResponse;
|
|
359
|
+
const DescribeAigcApiTokensRequest = models.DescribeAigcApiTokensRequest;
|
|
357
360
|
const Cache = models.Cache;
|
|
358
361
|
const RemoveWaterMarkTaskOutput = models.RemoveWaterMarkTaskOutput;
|
|
359
362
|
const ModifyMediaStorageClassRequest = models.ModifyMediaStorageClassRequest;
|
|
@@ -433,7 +436,7 @@ const SceneAigcImageOutputConfig = models.SceneAigcImageOutputConfig;
|
|
|
433
436
|
const SetVodDomainCertificateResponse = models.SetVodDomainCertificateResponse;
|
|
434
437
|
const ExtractTraceWatermarkTaskOutput = models.ExtractTraceWatermarkTaskOutput;
|
|
435
438
|
const MediaProcessTaskCoverBySnapshotResult = models.MediaProcessTaskCoverBySnapshotResult;
|
|
436
|
-
const
|
|
439
|
+
const DeleteAigcApiTokenResponse = models.DeleteAigcApiTokenResponse;
|
|
437
440
|
const UserAgentFilter = models.UserAgentFilter;
|
|
438
441
|
const ComplexAdaptiveDynamicStreamingTaskInput = models.ComplexAdaptiveDynamicStreamingTaskInput;
|
|
439
442
|
const SortBy = models.SortBy;
|
|
@@ -448,8 +451,10 @@ const ComposeMediaTask = models.ComposeMediaTask;
|
|
|
448
451
|
const HeadTailConfigureInfoForUpdate = models.HeadTailConfigureInfoForUpdate;
|
|
449
452
|
const ImageScale = models.ImageScale;
|
|
450
453
|
const ModifyJustInTimeTranscodeTemplateResponse = models.ModifyJustInTimeTranscodeTemplateResponse;
|
|
454
|
+
const MediaVideoStreamItem = models.MediaVideoStreamItem;
|
|
451
455
|
const TranscodePlayInfo2017 = models.TranscodePlayInfo2017;
|
|
452
456
|
const SplitMediaTask = models.SplitMediaTask;
|
|
457
|
+
const CreateWatermarkTemplateRequest = models.CreateWatermarkTemplateRequest;
|
|
453
458
|
const OthersPrivateAccess = models.OthersPrivateAccess;
|
|
454
459
|
const ComposeMediaTaskInput = models.ComposeMediaTaskInput;
|
|
455
460
|
const ModifyQualityInspectTemplateRequest = models.ModifyQualityInspectTemplateRequest;
|
|
@@ -624,7 +629,7 @@ const SceneAigcImageTaskOutput = models.SceneAigcImageTaskOutput;
|
|
|
624
629
|
const ComposeMediaTaskOutput = models.ComposeMediaTaskOutput;
|
|
625
630
|
const DescribeQualityInspectTemplatesRequest = models.DescribeQualityInspectTemplatesRequest;
|
|
626
631
|
const DescribeMediaInfosRequest = models.DescribeMediaInfosRequest;
|
|
627
|
-
const
|
|
632
|
+
const CreateAigcApiTokenRequest = models.CreateAigcApiTokenRequest;
|
|
628
633
|
const AsrFullTextConfigureInfo = models.AsrFullTextConfigureInfo;
|
|
629
634
|
const TerrorismImageResult = models.TerrorismImageResult;
|
|
630
635
|
const DeleteVodDomainRequest = models.DeleteVodDomainRequest;
|
|
@@ -721,10 +726,10 @@ const ModifySnapshotByTimeOffsetTemplateRequest = models.ModifySnapshotByTimeOff
|
|
|
721
726
|
const ProcedureTask = models.ProcedureTask;
|
|
722
727
|
const ExtractTraceWatermarkRequest = models.ExtractTraceWatermarkRequest;
|
|
723
728
|
const CDNDomainConfig = models.CDNDomainConfig;
|
|
724
|
-
const
|
|
729
|
+
const DescribeAigcApiTokensResponse = models.DescribeAigcApiTokensResponse;
|
|
725
730
|
const ReviewAudioVideoTask = models.ReviewAudioVideoTask;
|
|
726
731
|
const DescribeSnapshotByTimeOffsetTemplatesResponse = models.DescribeSnapshotByTimeOffsetTemplatesResponse;
|
|
727
|
-
const
|
|
732
|
+
const DeleteAigcApiTokenRequest = models.DeleteAigcApiTokenRequest;
|
|
728
733
|
const SetDrmKeyProviderInfoRequest = models.SetDrmKeyProviderInfoRequest;
|
|
729
734
|
const SnapshotByTimeOffsetTemplate = models.SnapshotByTimeOffsetTemplate;
|
|
730
735
|
const DeleteSnapshotByTimeOffsetTemplateResponse = models.DeleteSnapshotByTimeOffsetTemplateResponse;
|
|
@@ -735,6 +740,7 @@ const DescribeReviewDetailsResponse = models.DescribeReviewDetailsResponse;
|
|
|
735
740
|
const CreateTranscodeTemplateResponse = models.CreateTranscodeTemplateResponse;
|
|
736
741
|
const CDNDomainConfigForUpdate = models.CDNDomainConfigForUpdate;
|
|
737
742
|
const AiRecognitionTaskAsrWordsResultInput = models.AiRecognitionTaskAsrWordsResultInput;
|
|
743
|
+
const PornAsrReviewTemplateInfoForUpdate = models.PornAsrReviewTemplateInfoForUpdate;
|
|
738
744
|
const ModifySubAppIdStatusResponse = models.ModifySubAppIdStatusResponse;
|
|
739
745
|
const CreateAIAnalysisTemplateRequest = models.CreateAIAnalysisTemplateRequest;
|
|
740
746
|
const AiReviewTerrorismTaskInput = models.AiReviewTerrorismTaskInput;
|
|
@@ -777,7 +783,7 @@ const ReviewTemplate = models.ReviewTemplate;
|
|
|
777
783
|
const DescribeCurrentPlaylistRequest = models.DescribeCurrentPlaylistRequest;
|
|
778
784
|
const UserDefineAsrTextReviewTemplateInfoForUpdate = models.UserDefineAsrTextReviewTemplateInfoForUpdate;
|
|
779
785
|
const DescribeCDNDomainsResponse = models.DescribeCDNDomainsResponse;
|
|
780
|
-
const
|
|
786
|
+
const DomainQUICConfig = models.DomainQUICConfig;
|
|
781
787
|
const CreateRebuildMediaTemplateRequest = models.CreateRebuildMediaTemplateRequest;
|
|
782
788
|
const ImageOperation = models.ImageOperation;
|
|
783
789
|
const MediaSubStreamInfoItem = models.MediaSubStreamInfoItem;
|
|
@@ -791,7 +797,7 @@ const RemoveWatermarkRequest = models.RemoveWatermarkRequest;
|
|
|
791
797
|
const ExecuteFunctionRequest = models.ExecuteFunctionRequest;
|
|
792
798
|
const RebuildMediaTask = models.RebuildMediaTask;
|
|
793
799
|
const ConfirmEventsResponse = models.ConfirmEventsResponse;
|
|
794
|
-
const
|
|
800
|
+
const CreateAigcApiTokenResponse = models.CreateAigcApiTokenResponse;
|
|
795
801
|
const VideoTrackItem = models.VideoTrackItem;
|
|
796
802
|
const VideoDenoiseInfo = models.VideoDenoiseInfo;
|
|
797
803
|
const DescribeLicenseUsageDataRequest = models.DescribeLicenseUsageDataRequest;
|
|
@@ -1825,17 +1831,15 @@ If event notifications are used, the event type is [ReviewAudioVideoComplete](ht
|
|
|
1825
1831
|
}
|
|
1826
1832
|
|
|
1827
1833
|
/**
|
|
1828
|
-
*
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
* @param {DescribeImageReviewUsageDataRequest} req
|
|
1833
|
-
* @param {function(string, DescribeImageReviewUsageDataResponse):void} cb
|
|
1834
|
+
* We have <font color='red'>stopped updating</font> this API. Currently, you no longer need a player configuration to use player signatures. For details, see [Player Signature](https://intl.cloud.tencent.com/document/product/266/45554?from_cn_redirect=1).
|
|
1835
|
+
This API is used to create a player configuration. Up to 100 configurations can be created.
|
|
1836
|
+
* @param {CreateSuperPlayerConfigRequest} req
|
|
1837
|
+
* @param {function(string, CreateSuperPlayerConfigResponse):void} cb
|
|
1834
1838
|
* @public
|
|
1835
1839
|
*/
|
|
1836
|
-
|
|
1837
|
-
let resp = new
|
|
1838
|
-
this.request("
|
|
1840
|
+
CreateSuperPlayerConfig(req, cb) {
|
|
1841
|
+
let resp = new CreateSuperPlayerConfigResponse();
|
|
1842
|
+
this.request("CreateSuperPlayerConfig", req, resp, cb);
|
|
1839
1843
|
}
|
|
1840
1844
|
|
|
1841
1845
|
/**
|
|
@@ -1850,14 +1854,14 @@ If event notifications are used, the event type is [ReviewAudioVideoComplete](ht
|
|
|
1850
1854
|
}
|
|
1851
1855
|
|
|
1852
1856
|
/**
|
|
1853
|
-
* This API is used to
|
|
1854
|
-
* @param {
|
|
1855
|
-
* @param {function(string,
|
|
1857
|
+
* This API is used to create a Token for invoking AIGC API. After creation, there is a delay in data sync. It becomes queryable or deletable after about 30 seconds.
|
|
1858
|
+
* @param {CreateAigcApiTokenRequest} req
|
|
1859
|
+
* @param {function(string, CreateAigcApiTokenResponse):void} cb
|
|
1856
1860
|
* @public
|
|
1857
1861
|
*/
|
|
1858
|
-
|
|
1859
|
-
let resp = new
|
|
1860
|
-
this.request("
|
|
1862
|
+
CreateAigcApiToken(req, cb) {
|
|
1863
|
+
let resp = new CreateAigcApiTokenResponse();
|
|
1864
|
+
this.request("CreateAigcApiToken", req, resp, cb);
|
|
1861
1865
|
}
|
|
1862
1866
|
|
|
1863
1867
|
/**
|
|
@@ -2011,15 +2015,17 @@ This API is used to delete a custom audio/video moderation template.
|
|
|
2011
2015
|
}
|
|
2012
2016
|
|
|
2013
2017
|
/**
|
|
2014
|
-
*
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
+
* This interface returns the image review usage information used every day within the query time range.
|
|
2019
|
+
1. You can query the image review statistics for the last 365 days.
|
|
2020
|
+
2. The query time span does not exceed 90 days.
|
|
2021
|
+
3. If the query time span exceeds 1 day, data with a granularity of days will be returned. Otherwise, data with a granularity of 5 minutes will be returned.
|
|
2022
|
+
* @param {DescribeImageReviewUsageDataRequest} req
|
|
2023
|
+
* @param {function(string, DescribeImageReviewUsageDataResponse):void} cb
|
|
2018
2024
|
* @public
|
|
2019
2025
|
*/
|
|
2020
|
-
|
|
2021
|
-
let resp = new
|
|
2022
|
-
this.request("
|
|
2026
|
+
DescribeImageReviewUsageData(req, cb) {
|
|
2027
|
+
let resp = new DescribeImageReviewUsageDataResponse();
|
|
2028
|
+
this.request("DescribeImageReviewUsageData", req, resp, cb);
|
|
2023
2029
|
}
|
|
2024
2030
|
|
|
2025
2031
|
/**
|
|
@@ -2130,15 +2136,14 @@ Currently supported MPS features:
|
|
|
2130
2136
|
}
|
|
2131
2137
|
|
|
2132
2138
|
/**
|
|
2133
|
-
*
|
|
2134
|
-
|
|
2135
|
-
* @param {
|
|
2136
|
-
* @param {function(string, DescribeContentReviewTemplatesResponse):void} cb
|
|
2139
|
+
* This API is used to get the list of video content recognition templates based on unique template ID. The return result includes all eligible custom and [preset video content recognition templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.A7.86.E9.A2.91.E5.86.85.E5.AE.B9.E8.AF.86.E5.88.AB.E6.A8.A1.E6.9D.BF).
|
|
2140
|
+
* @param {DescribeAIRecognitionTemplatesRequest} req
|
|
2141
|
+
* @param {function(string, DescribeAIRecognitionTemplatesResponse):void} cb
|
|
2137
2142
|
* @public
|
|
2138
2143
|
*/
|
|
2139
|
-
|
|
2140
|
-
let resp = new
|
|
2141
|
-
this.request("
|
|
2144
|
+
DescribeAIRecognitionTemplates(req, cb) {
|
|
2145
|
+
let resp = new DescribeAIRecognitionTemplatesResponse();
|
|
2146
|
+
this.request("DescribeAIRecognitionTemplates", req, resp, cb);
|
|
2142
2147
|
}
|
|
2143
2148
|
|
|
2144
2149
|
/**
|
|
@@ -2322,6 +2327,17 @@ If using event notification, the event notification type is [task flow status ch
|
|
|
2322
2327
|
this.request("CreateSubAppId", req, resp, cb);
|
|
2323
2328
|
}
|
|
2324
2329
|
|
|
2330
|
+
/**
|
|
2331
|
+
* This API is used to modify sample information according to the sample ID. You can modify the name and description, add, delete, and reset facial features or tags. Leave at least one image after deleting facial features. To leave no image, please use the reset operation.
|
|
2332
|
+
* @param {ModifyPersonSampleRequest} req
|
|
2333
|
+
* @param {function(string, ModifyPersonSampleResponse):void} cb
|
|
2334
|
+
* @public
|
|
2335
|
+
*/
|
|
2336
|
+
ModifyPersonSample(req, cb) {
|
|
2337
|
+
let resp = new ModifyPersonSampleResponse();
|
|
2338
|
+
this.request("ModifyPersonSample", req, resp, cb);
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2325
2341
|
/**
|
|
2326
2342
|
* This API is used to query the list of animated image generating templates and supports paged queries by filters.
|
|
2327
2343
|
* @param {DescribeAnimatedGraphicsTemplatesRequest} req
|
|
@@ -2417,6 +2433,17 @@ This API is used to modify a player configuration.
|
|
|
2417
2433
|
this.request("CreateClass", req, resp, cb);
|
|
2418
2434
|
}
|
|
2419
2435
|
|
|
2436
|
+
/**
|
|
2437
|
+
* Query the AIGC API Token list. There is a delay in data sync after creation or deletion. The latest data is queryable after about 30 seconds.
|
|
2438
|
+
* @param {DescribeAigcApiTokensRequest} req
|
|
2439
|
+
* @param {function(string, DescribeAigcApiTokensResponse):void} cb
|
|
2440
|
+
* @public
|
|
2441
|
+
*/
|
|
2442
|
+
DescribeAigcApiTokens(req, cb) {
|
|
2443
|
+
let resp = new DescribeAigcApiTokensResponse();
|
|
2444
|
+
this.request("DescribeAigcApiTokens", req, resp, cb);
|
|
2445
|
+
}
|
|
2446
|
+
|
|
2420
2447
|
/**
|
|
2421
2448
|
* This API is used to create keyword samples in batches for using OCR and ASR technologies to perform video processing operations such as content recognition and inappropriate information recognition.
|
|
2422
2449
|
* @param {CreateWordSamplesRequest} req
|
|
@@ -2574,14 +2601,26 @@ The modification will only take effect for new playback requests. For ongoing pl
|
|
|
2574
2601
|
}
|
|
2575
2602
|
|
|
2576
2603
|
/**
|
|
2577
|
-
*
|
|
2578
|
-
* @param {
|
|
2579
|
-
* @param {function(string,
|
|
2604
|
+
* Delete an AIGC API Token.
|
|
2605
|
+
* @param {DeleteAigcApiTokenRequest} req
|
|
2606
|
+
* @param {function(string, DeleteAigcApiTokenResponse):void} cb
|
|
2580
2607
|
* @public
|
|
2581
2608
|
*/
|
|
2582
|
-
|
|
2583
|
-
let resp = new
|
|
2584
|
-
this.request("
|
|
2609
|
+
DeleteAigcApiToken(req, cb) {
|
|
2610
|
+
let resp = new DeleteAigcApiTokenResponse();
|
|
2611
|
+
this.request("DeleteAigcApiToken", req, resp, cb);
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
/**
|
|
2615
|
+
* We have <font color=red>stopped updating</font> this API. Our new moderation templates can moderate audio/video as well as images. For details, see [DescribeReviewTemplates](https://intl.cloud.tencent.com/document/api/266/84389?from_cn_redirect=1).
|
|
2616
|
+
This API is used to get the information of custom and [preset](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.A7.86.E9.A2.91.E5.86.85.E5.AE.B9.E5.AE.A1.E6.A0.B8.E6.A8.A1.E6.9D.BF) audio/video moderation templates based on template IDs.
|
|
2617
|
+
* @param {DescribeContentReviewTemplatesRequest} req
|
|
2618
|
+
* @param {function(string, DescribeContentReviewTemplatesResponse):void} cb
|
|
2619
|
+
* @public
|
|
2620
|
+
*/
|
|
2621
|
+
DescribeContentReviewTemplates(req, cb) {
|
|
2622
|
+
let resp = new DescribeContentReviewTemplatesResponse();
|
|
2623
|
+
this.request("DescribeContentReviewTemplates", req, resp, cb);
|
|
2585
2624
|
}
|
|
2586
2625
|
|
|
2587
2626
|
/**
|
|
@@ -1237,6 +1237,47 @@ class KVMap extends AbstractModel {
|
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
1239
|
|
|
1240
|
+
/**
|
|
1241
|
+
* CreateTriggerWorkflowRun response structure.
|
|
1242
|
+
* @class
|
|
1243
|
+
*/
|
|
1244
|
+
class CreateTriggerWorkflowRunResponse extends AbstractModel {
|
|
1245
|
+
constructor(){
|
|
1246
|
+
super();
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* Operation Result Information
|
|
1250
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1251
|
+
* @type {CreateTriggerWorkflowRunResult || null}
|
|
1252
|
+
*/
|
|
1253
|
+
this.Data = null;
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1257
|
+
* @type {string || null}
|
|
1258
|
+
*/
|
|
1259
|
+
this.RequestId = null;
|
|
1260
|
+
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* @private
|
|
1265
|
+
*/
|
|
1266
|
+
deserialize(params) {
|
|
1267
|
+
if (!params) {
|
|
1268
|
+
return;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
if (params.Data) {
|
|
1272
|
+
let obj = new CreateTriggerWorkflowRunResult();
|
|
1273
|
+
obj.deserialize(params.Data)
|
|
1274
|
+
this.Data = obj;
|
|
1275
|
+
}
|
|
1276
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1277
|
+
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1240
1281
|
/**
|
|
1241
1282
|
* ListResourceFiles response structure.
|
|
1242
1283
|
* @class
|
|
@@ -5263,6 +5304,57 @@ class AddCalcEnginesToProjectRequest extends AbstractModel {
|
|
|
5263
5304
|
}
|
|
5264
5305
|
}
|
|
5265
5306
|
|
|
5307
|
+
/**
|
|
5308
|
+
* Updates the basic attribute information of the task.
|
|
5309
|
+
* @class
|
|
5310
|
+
*/
|
|
5311
|
+
class UpdateTaskBaseAttribute extends AbstractModel {
|
|
5312
|
+
constructor(){
|
|
5313
|
+
super();
|
|
5314
|
+
|
|
5315
|
+
/**
|
|
5316
|
+
* Task name.
|
|
5317
|
+
* @type {string || null}
|
|
5318
|
+
*/
|
|
5319
|
+
this.TaskName = null;
|
|
5320
|
+
|
|
5321
|
+
/**
|
|
5322
|
+
* Task owner ID.
|
|
5323
|
+
* @type {string || null}
|
|
5324
|
+
*/
|
|
5325
|
+
this.OwnerUin = null;
|
|
5326
|
+
|
|
5327
|
+
/**
|
|
5328
|
+
* Task description
|
|
5329
|
+
* @type {string || null}
|
|
5330
|
+
*/
|
|
5331
|
+
this.TaskDescription = null;
|
|
5332
|
+
|
|
5333
|
+
/**
|
|
5334
|
+
* Note:.
|
|
5335
|
+
-Do not fill in the task node type in the path. for example, in a workflow named wf01, under the "common" category, if you want to create a new shell task under the tf_01 folder in this classification, just fill in /tf_01.
|
|
5336
|
+
-If the tf_01 folder does not exist, first create this folder (use the CreateTaskFolder api) for a successful operation.
|
|
5337
|
+
* @type {string || null}
|
|
5338
|
+
*/
|
|
5339
|
+
this.TaskFolderPath = null;
|
|
5340
|
+
|
|
5341
|
+
}
|
|
5342
|
+
|
|
5343
|
+
/**
|
|
5344
|
+
* @private
|
|
5345
|
+
*/
|
|
5346
|
+
deserialize(params) {
|
|
5347
|
+
if (!params) {
|
|
5348
|
+
return;
|
|
5349
|
+
}
|
|
5350
|
+
this.TaskName = 'TaskName' in params ? params.TaskName : null;
|
|
5351
|
+
this.OwnerUin = 'OwnerUin' in params ? params.OwnerUin : null;
|
|
5352
|
+
this.TaskDescription = 'TaskDescription' in params ? params.TaskDescription : null;
|
|
5353
|
+
this.TaskFolderPath = 'TaskFolderPath' in params ? params.TaskFolderPath : null;
|
|
5354
|
+
|
|
5355
|
+
}
|
|
5356
|
+
}
|
|
5357
|
+
|
|
5266
5358
|
/**
|
|
5267
5359
|
* Create workflow result.
|
|
5268
5360
|
* @class
|
|
@@ -19923,6 +20015,35 @@ class ResourceFolderPage extends AbstractModel {
|
|
|
19923
20015
|
}
|
|
19924
20016
|
}
|
|
19925
20017
|
|
|
20018
|
+
/**
|
|
20019
|
+
* Workflow trigger execution result in workflow scheduling mode.
|
|
20020
|
+
* @class
|
|
20021
|
+
*/
|
|
20022
|
+
class CreateTriggerWorkflowRunResult extends AbstractModel {
|
|
20023
|
+
constructor(){
|
|
20024
|
+
super();
|
|
20025
|
+
|
|
20026
|
+
/**
|
|
20027
|
+
* Workflow execution id.
|
|
20028
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
20029
|
+
* @type {string || null}
|
|
20030
|
+
*/
|
|
20031
|
+
this.WorkflowExecutionId = null;
|
|
20032
|
+
|
|
20033
|
+
}
|
|
20034
|
+
|
|
20035
|
+
/**
|
|
20036
|
+
* @private
|
|
20037
|
+
*/
|
|
20038
|
+
deserialize(params) {
|
|
20039
|
+
if (!params) {
|
|
20040
|
+
return;
|
|
20041
|
+
}
|
|
20042
|
+
this.WorkflowExecutionId = 'WorkflowExecutionId' in params ? params.WorkflowExecutionId : null;
|
|
20043
|
+
|
|
20044
|
+
}
|
|
20045
|
+
}
|
|
20046
|
+
|
|
19926
20047
|
/**
|
|
19927
20048
|
* ListDownstreamTasks response structure.
|
|
19928
20049
|
* @class
|
|
@@ -26812,38 +26933,48 @@ class GetAlarmMessageResponse extends AbstractModel {
|
|
|
26812
26933
|
}
|
|
26813
26934
|
|
|
26814
26935
|
/**
|
|
26815
|
-
*
|
|
26936
|
+
* CreateTriggerWorkflowRun request structure.
|
|
26816
26937
|
* @class
|
|
26817
26938
|
*/
|
|
26818
|
-
class
|
|
26939
|
+
class CreateTriggerWorkflowRunRequest extends AbstractModel {
|
|
26819
26940
|
constructor(){
|
|
26820
26941
|
super();
|
|
26821
26942
|
|
|
26822
26943
|
/**
|
|
26823
|
-
*
|
|
26944
|
+
* Project ID.
|
|
26824
26945
|
* @type {string || null}
|
|
26825
26946
|
*/
|
|
26826
|
-
this.
|
|
26947
|
+
this.ProjectId = null;
|
|
26827
26948
|
|
|
26828
26949
|
/**
|
|
26829
|
-
*
|
|
26950
|
+
* Workflow ID.
|
|
26830
26951
|
* @type {string || null}
|
|
26831
26952
|
*/
|
|
26832
|
-
this.
|
|
26953
|
+
this.WorkflowId = null;
|
|
26833
26954
|
|
|
26834
26955
|
/**
|
|
26835
|
-
*
|
|
26956
|
+
* Custom running parameters. if empty or null, use the latest configuration of the workflow.
|
|
26957
|
+
* @type {Array.<SchedulingParameter> || null}
|
|
26958
|
+
*/
|
|
26959
|
+
this.AdvancedParams = null;
|
|
26960
|
+
|
|
26961
|
+
/**
|
|
26962
|
+
* This time, run the specified task ID set. if it is null or empty, run all.
|
|
26963
|
+
* @type {Array.<string> || null}
|
|
26964
|
+
*/
|
|
26965
|
+
this.TaskIds = null;
|
|
26966
|
+
|
|
26967
|
+
/**
|
|
26968
|
+
* Specified scheduling resource group id. uses the original resource group by default if left empty.
|
|
26836
26969
|
* @type {string || null}
|
|
26837
26970
|
*/
|
|
26838
|
-
this.
|
|
26971
|
+
this.SchedulingResourceGroupId = null;
|
|
26839
26972
|
|
|
26840
26973
|
/**
|
|
26841
|
-
*
|
|
26842
|
-
-Do not fill in the task node type in the path. for example, in a workflow named wf01, under the "common" category, if you want to create a new shell task under the tf_01 folder in this classification, just fill in /tf_01.
|
|
26843
|
-
-If the tf_01 folder does not exist, first create this folder (use the CreateTaskFolder api) for a successful operation.
|
|
26974
|
+
* Specified integration resource group id. uses the original resource group if left empty.
|
|
26844
26975
|
* @type {string || null}
|
|
26845
26976
|
*/
|
|
26846
|
-
this.
|
|
26977
|
+
this.IntegrationResourceGroupId = null;
|
|
26847
26978
|
|
|
26848
26979
|
}
|
|
26849
26980
|
|
|
@@ -26854,10 +26985,20 @@ class UpdateTaskBaseAttribute extends AbstractModel {
|
|
|
26854
26985
|
if (!params) {
|
|
26855
26986
|
return;
|
|
26856
26987
|
}
|
|
26857
|
-
this.
|
|
26858
|
-
this.
|
|
26859
|
-
|
|
26860
|
-
|
|
26988
|
+
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
|
|
26989
|
+
this.WorkflowId = 'WorkflowId' in params ? params.WorkflowId : null;
|
|
26990
|
+
|
|
26991
|
+
if (params.AdvancedParams) {
|
|
26992
|
+
this.AdvancedParams = new Array();
|
|
26993
|
+
for (let z in params.AdvancedParams) {
|
|
26994
|
+
let obj = new SchedulingParameter();
|
|
26995
|
+
obj.deserialize(params.AdvancedParams[z]);
|
|
26996
|
+
this.AdvancedParams.push(obj);
|
|
26997
|
+
}
|
|
26998
|
+
}
|
|
26999
|
+
this.TaskIds = 'TaskIds' in params ? params.TaskIds : null;
|
|
27000
|
+
this.SchedulingResourceGroupId = 'SchedulingResourceGroupId' in params ? params.SchedulingResourceGroupId : null;
|
|
27001
|
+
this.IntegrationResourceGroupId = 'IntegrationResourceGroupId' in params ? params.IntegrationResourceGroupId : null;
|
|
26861
27002
|
|
|
26862
27003
|
}
|
|
26863
27004
|
}
|
|
@@ -35086,6 +35227,7 @@ module.exports = {
|
|
|
35086
35227
|
DeleteResourceFolderResponse: DeleteResourceFolderResponse,
|
|
35087
35228
|
UpdateTaskRequest: UpdateTaskRequest,
|
|
35088
35229
|
KVMap: KVMap,
|
|
35230
|
+
CreateTriggerWorkflowRunResponse: CreateTriggerWorkflowRunResponse,
|
|
35089
35231
|
ListResourceFilesResponse: ListResourceFilesResponse,
|
|
35090
35232
|
ListDownstreamTaskInstancesRequest: ListDownstreamTaskInstancesRequest,
|
|
35091
35233
|
UpdateProjectRequest: UpdateProjectRequest,
|
|
@@ -35148,6 +35290,7 @@ module.exports = {
|
|
|
35148
35290
|
SQLScriptConfig: SQLScriptConfig,
|
|
35149
35291
|
CodeFile: CodeFile,
|
|
35150
35292
|
AddCalcEnginesToProjectRequest: AddCalcEnginesToProjectRequest,
|
|
35293
|
+
UpdateTaskBaseAttribute: UpdateTaskBaseAttribute,
|
|
35151
35294
|
CreateWorkflowResult: CreateWorkflowResult,
|
|
35152
35295
|
TaskDataRegistry: TaskDataRegistry,
|
|
35153
35296
|
KillTriggerWorkflowRunsRequest: KillTriggerWorkflowRunsRequest,
|
|
@@ -35382,6 +35525,7 @@ module.exports = {
|
|
|
35382
35525
|
GetDataSourceRelatedTasksRequest: GetDataSourceRelatedTasksRequest,
|
|
35383
35526
|
UpdateTriggerTaskBaseAttribute: UpdateTriggerTaskBaseAttribute,
|
|
35384
35527
|
ResourceFolderPage: ResourceFolderPage,
|
|
35528
|
+
CreateTriggerWorkflowRunResult: CreateTriggerWorkflowRunResult,
|
|
35385
35529
|
ListDownstreamTasksResponse: ListDownstreamTasksResponse,
|
|
35386
35530
|
ListQualityRuleTemplatesRequest: ListQualityRuleTemplatesRequest,
|
|
35387
35531
|
AuthorizePrivilegesRsp: AuthorizePrivilegesRsp,
|
|
@@ -35504,7 +35648,7 @@ module.exports = {
|
|
|
35504
35648
|
GetResourceFolderResponse: GetResourceFolderResponse,
|
|
35505
35649
|
WorkflowFolder: WorkflowFolder,
|
|
35506
35650
|
GetAlarmMessageResponse: GetAlarmMessageResponse,
|
|
35507
|
-
|
|
35651
|
+
CreateTriggerWorkflowRunRequest: CreateTriggerWorkflowRunRequest,
|
|
35508
35652
|
GetOpsTaskCodeRequest: GetOpsTaskCodeRequest,
|
|
35509
35653
|
GetTaskFolderResponse: GetTaskFolderResponse,
|
|
35510
35654
|
GetDataBackfillPlanRequest: GetDataBackfillPlanRequest,
|
|
@@ -36,6 +36,7 @@ const GetMyCodeMaxPermissionRequest = models.GetMyCodeMaxPermissionRequest;
|
|
|
36
36
|
const DeleteResourceFolderResponse = models.DeleteResourceFolderResponse;
|
|
37
37
|
const UpdateTaskRequest = models.UpdateTaskRequest;
|
|
38
38
|
const KVMap = models.KVMap;
|
|
39
|
+
const CreateTriggerWorkflowRunResponse = models.CreateTriggerWorkflowRunResponse;
|
|
39
40
|
const ListResourceFilesResponse = models.ListResourceFilesResponse;
|
|
40
41
|
const ListDownstreamTaskInstancesRequest = models.ListDownstreamTaskInstancesRequest;
|
|
41
42
|
const UpdateProjectRequest = models.UpdateProjectRequest;
|
|
@@ -98,6 +99,7 @@ const DeleteCodePermissionsRequest = models.DeleteCodePermissionsRequest;
|
|
|
98
99
|
const SQLScriptConfig = models.SQLScriptConfig;
|
|
99
100
|
const CodeFile = models.CodeFile;
|
|
100
101
|
const AddCalcEnginesToProjectRequest = models.AddCalcEnginesToProjectRequest;
|
|
102
|
+
const UpdateTaskBaseAttribute = models.UpdateTaskBaseAttribute;
|
|
101
103
|
const CreateWorkflowResult = models.CreateWorkflowResult;
|
|
102
104
|
const TaskDataRegistry = models.TaskDataRegistry;
|
|
103
105
|
const KillTriggerWorkflowRunsRequest = models.KillTriggerWorkflowRunsRequest;
|
|
@@ -332,6 +334,7 @@ const CreateWorkflowFolderResponse = models.CreateWorkflowFolderResponse;
|
|
|
332
334
|
const GetDataSourceRelatedTasksRequest = models.GetDataSourceRelatedTasksRequest;
|
|
333
335
|
const UpdateTriggerTaskBaseAttribute = models.UpdateTriggerTaskBaseAttribute;
|
|
334
336
|
const ResourceFolderPage = models.ResourceFolderPage;
|
|
337
|
+
const CreateTriggerWorkflowRunResult = models.CreateTriggerWorkflowRunResult;
|
|
335
338
|
const ListDownstreamTasksResponse = models.ListDownstreamTasksResponse;
|
|
336
339
|
const ListQualityRuleTemplatesRequest = models.ListQualityRuleTemplatesRequest;
|
|
337
340
|
const AuthorizePrivilegesRsp = models.AuthorizePrivilegesRsp;
|
|
@@ -454,7 +457,7 @@ const ListResourceGroupsRequest = models.ListResourceGroupsRequest;
|
|
|
454
457
|
const GetResourceFolderResponse = models.GetResourceFolderResponse;
|
|
455
458
|
const WorkflowFolder = models.WorkflowFolder;
|
|
456
459
|
const GetAlarmMessageResponse = models.GetAlarmMessageResponse;
|
|
457
|
-
const
|
|
460
|
+
const CreateTriggerWorkflowRunRequest = models.CreateTriggerWorkflowRunRequest;
|
|
458
461
|
const GetOpsTaskCodeRequest = models.GetOpsTaskCodeRequest;
|
|
459
462
|
const GetTaskFolderResponse = models.GetTaskFolderResponse;
|
|
460
463
|
const GetDataBackfillPlanRequest = models.GetDataBackfillPlanRequest;
|
|
@@ -829,6 +832,17 @@ class WedataClient extends AbstractClient {
|
|
|
829
832
|
this.request("GetMyWorkflowMaxPermission", req, resp, cb);
|
|
830
833
|
}
|
|
831
834
|
|
|
835
|
+
/**
|
|
836
|
+
* Update workflow (including basic info and workflow parameters).
|
|
837
|
+
* @param {UpdateTriggerWorkflowPartiallyRequest} req
|
|
838
|
+
* @param {function(string, UpdateTriggerWorkflowPartiallyResponse):void} cb
|
|
839
|
+
* @public
|
|
840
|
+
*/
|
|
841
|
+
UpdateTriggerWorkflowPartially(req, cb) {
|
|
842
|
+
let resp = new UpdateTriggerWorkflowPartiallyResponse();
|
|
843
|
+
this.request("UpdateTriggerWorkflowPartially", req, resp, cb);
|
|
844
|
+
}
|
|
845
|
+
|
|
832
846
|
/**
|
|
833
847
|
* Retrieve asset catalog info.
|
|
834
848
|
* @param {ListCatalogRequest} req
|
|
@@ -2172,14 +2186,14 @@ class WedataClient extends AbstractClient {
|
|
|
2172
2186
|
}
|
|
2173
2187
|
|
|
2174
2188
|
/**
|
|
2175
|
-
*
|
|
2176
|
-
* @param {
|
|
2177
|
-
* @param {function(string,
|
|
2189
|
+
* Run workflow under workflow scheduling model.
|
|
2190
|
+
* @param {CreateTriggerWorkflowRunRequest} req
|
|
2191
|
+
* @param {function(string, CreateTriggerWorkflowRunResponse):void} cb
|
|
2178
2192
|
* @public
|
|
2179
2193
|
*/
|
|
2180
|
-
|
|
2181
|
-
let resp = new
|
|
2182
|
-
this.request("
|
|
2194
|
+
CreateTriggerWorkflowRun(req, cb) {
|
|
2195
|
+
let resp = new CreateTriggerWorkflowRunResponse();
|
|
2196
|
+
this.request("CreateTriggerWorkflowRun", req, resp, cb);
|
|
2183
2197
|
}
|
|
2184
2198
|
|
|
2185
2199
|
/**
|