ugcinc 3.14.0 → 3.16.0
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/dist/index.d.ts +1 -1
- package/dist/types.d.ts +9 -22
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -17,4 +17,4 @@ export { MediaClient } from './media';
|
|
|
17
17
|
export { CommentsClient } from './comments';
|
|
18
18
|
export type { RenderJobResponse, RenderJobStatus, SubmitImageRenderJobParams, SubmitVideoRenderJobParams, RenderVideoEditorConfig, } from './render';
|
|
19
19
|
export type { ClientConfig, } from './base';
|
|
20
|
-
export type { SuccessResponse, ErrorResponse, ApiResponse, Account, AccountStat, AccountTask, EditProfileInfo, Task, TaskType, Post, PostType, PostStatus, PostStat, ApiKey, EditorConfig, VideoEditorNodeConfig, VideoEditorChannel, VideoEditorSegment, VideoEditorVideoSegment, VideoEditorAudioSegment, VideoEditorImageSegment, VideoEditorTextSegment, TimeMode, SegmentTimelinePosition, ImageEditorNodeConfig, ImageEditorElement, ImageEditorNodeInput, ImageEditorNodeOutput, DimensionPresetKey, EditorChannel, TimeValue, BaseSegmentProps, VisualSegmentProps, EditorSegment, VideoSegment, AudioSegment, ImageSegment, TextSegment, StaticSegment, PositionAnchor, RelativePositionConfig, GetAccountsParams, GetAccountStatsParams, GetAccountStatusParams, UpdateAccountInfoParams, UpdateAccountSocialParams, GetTasksParams, GetPostsParams, CreateSlideshowParams, GetPostStatsParams, GetPostStatusParams, CreateVideoParams, RefreshStatsParams, RefreshStatsResponse, RefreshStatsError, DailyAggregatedStat, GetDailyAggregatedStatsParams, DailyPostStat, GetDailyPostStatsParams, TopAccount, GetTopAccountsParams, TopPost, GetTopPostsParams, MediaType, NodePort, NodeControlConfig, NodeTypeEnum, WorkflowNodeDefinition, WorkflowDefinition, CanvasState, TemplateNode, AutomationTemplate, AutomationRun, NodeRun, ExecutorNode, ExecutionEdge, OutputSchemaProperty, SelectionMode, ExhaustionBehavior, SelectionConfig, SelectionState, OutputMode, NodeOutputValues, OutputInput, OutputNodeConfig, ManualTriggerOutput, ManualTriggerNodeConfig, TriggerIterationMode, IterationExhaustionBehavior, CollectionSelectionMode, TriggerCollectionConfig, DayOfWeek, RecurrenceMediaConfig, RecurrenceNodeConfig, AccountNodeConfig, MediaNodeEnabledType, MediaNodeConfig, PostSchedulingMode, PostScheduledSubMode, PostSchedulingConfig, PostVideoNodeConfig, PostSlideshowInput, PostSlideshowNodeConfig, SaveToMediaInput, SaveToMediaNodeConfig, DeduplicateNodeConfig, ForEachOutputProperty, ForEachInputPort, ForEachNodeConfig, VideoImportPlatform, VideoImportQuality, VideoImportNodeConfig, AutoCaptionPreset, AutoCaptionFontWeight, AutoCaptionPosition, AutoCaptionNodeConfig, VideoGenerationNodeConfig, PortType, LLMOutputField, LLMNodeConfig, UserMedia, SocialAudio, Media, GetMediaParams, UploadMediaParams, UploadMediaResponse, UpdateMediaTagParams, DeleteMediaParams, DeleteMediaResponse, CreateSocialAudioParams, CreateMediaFromUrlParams, ImportTextParams, ImportTextResponse, Comment, CommentStatus, CreateCommentParams, CreateCommentResponse, GetCommentsParams, ValidationErrorType, ValidationError, ExportedNode, ExportedConnection, ExportedTemplate, AutomationExport, ExportedExecutor, ExportedEdge, ExportedRun, AutomationRunExport, } from './types';
|
|
20
|
+
export type { SuccessResponse, ErrorResponse, ApiResponse, Account, AccountStat, AccountTask, EditProfileInfo, Task, TaskType, Post, PostType, PostStatus, PostStat, ApiKey, EditorConfig, VideoEditorNodeConfig, VideoEditorChannel, VideoEditorSegment, VideoEditorVideoSegment, VideoEditorAudioSegment, VideoEditorImageSegment, VideoEditorTextSegment, TimeMode, SegmentTimelinePosition, ImageEditorNodeConfig, ImageEditorElement, ImageEditorNodeInput, ImageEditorNodeOutput, DimensionPresetKey, EditorChannel, TimeValue, BaseSegmentProps, VisualSegmentProps, EditorSegment, VideoSegment, AudioSegment, ImageSegment, TextSegment, StaticSegment, PositionAnchor, RelativePositionConfig, GetAccountsParams, GetAccountStatsParams, GetAccountStatusParams, UpdateAccountInfoParams, UpdateAccountSocialParams, GetTasksParams, GetPostsParams, CreateSlideshowParams, GetPostStatsParams, GetPostStatusParams, CreateVideoParams, RefreshStatsParams, RefreshStatsResponse, RefreshStatsError, DailyAggregatedStat, GetDailyAggregatedStatsParams, DailyPostStat, GetDailyPostStatsParams, TopAccount, GetTopAccountsParams, TopPost, GetTopPostsParams, MediaType, NodePort, NodeControlConfig, NodeTypeEnum, WorkflowNodeDefinition, WorkflowDefinition, CanvasState, TemplateNode, AutomationTemplate, AutomationRun, NodeRun, ExecutorNode, ExecutionEdge, OutputSchemaProperty, SelectionMode, ExhaustionBehavior, SelectionConfig, SelectionState, OutputMode, NodeOutputValues, OutputInput, OutputNodeConfig, ManualTriggerOutput, ManualTriggerNodeConfig, TriggerIterationMode, IterationExhaustionBehavior, CollectionSelectionMode, TriggerCollectionConfig, DayOfWeek, RecurrenceMediaConfig, RecurrenceNodeConfig, AccountNodeConfig, MediaNodeEnabledType, RecurrenceMediaEnabledType, MediaNodeConfig, PostSchedulingMode, PostScheduledSubMode, PostSchedulingConfig, PostVideoNodeConfig, PostSlideshowInput, PostSlideshowNodeConfig, SaveToMediaInput, SaveToMediaNodeConfig, DeduplicateNodeConfig, ForEachOutputProperty, ForEachInputPort, ForEachNodeConfig, VideoImportPlatform, VideoImportQuality, VideoImportNodeConfig, AutoCaptionPreset, AutoCaptionFontWeight, AutoCaptionPosition, AutoCaptionNodeConfig, VideoGenerationNodeConfig, PortType, LLMOutputField, LLMNodeConfig, UserMedia, SocialAudio, Media, GetMediaParams, UploadMediaParams, UploadMediaResponse, UpdateMediaTagParams, DeleteMediaParams, DeleteMediaResponse, CreateSocialAudioParams, CreateMediaFromUrlParams, ImportTextParams, ImportTextResponse, Comment, CommentStatus, CreateCommentParams, CreateCommentResponse, GetCommentsParams, ValidationErrorType, ValidationError, ExportedNode, ExportedConnection, ExportedTemplate, AutomationExport, ExportedExecutor, ExportedEdge, ExportedRun, AutomationRunExport, } from './types';
|
package/dist/types.d.ts
CHANGED
|
@@ -985,10 +985,6 @@ export type CollectionSelectionMode = 'specific' | 'by-tag';
|
|
|
985
985
|
export interface TriggerCollectionConfig {
|
|
986
986
|
/** Whether account iteration is enabled */
|
|
987
987
|
enabled: boolean;
|
|
988
|
-
/** How to iterate over the accounts */
|
|
989
|
-
iterationMode: TriggerIterationMode;
|
|
990
|
-
/** What to do when sequential iteration exhausts all accounts */
|
|
991
|
-
exhaustionBehavior?: IterationExhaustionBehavior;
|
|
992
988
|
/** Selection mode: 'specific' uses accountIds, 'by-tag' queries at runtime */
|
|
993
989
|
selectionMode?: CollectionSelectionMode;
|
|
994
990
|
/** Account IDs to iterate over (used when selectionMode is 'specific' or undefined) */
|
|
@@ -1016,7 +1012,7 @@ export interface RecurrenceMediaConfig {
|
|
|
1016
1012
|
/** Whether media input is enabled */
|
|
1017
1013
|
enabled: boolean;
|
|
1018
1014
|
/** Which media types to output (determines output ports) */
|
|
1019
|
-
enabledTypes:
|
|
1015
|
+
enabledTypes: RecurrenceMediaEnabledType[];
|
|
1020
1016
|
/** Selection mode: 'specific' uses selectedMediaIds, 'by-tag' queries at runtime */
|
|
1021
1017
|
selectionMode: CollectionSelectionMode;
|
|
1022
1018
|
/** Media IDs per type (used when selectionMode is 'specific') */
|
|
@@ -1028,21 +1024,6 @@ export interface RecurrenceMediaConfig {
|
|
|
1028
1024
|
};
|
|
1029
1025
|
/** Tag to query media by at runtime (used when selectionMode is 'by-tag') */
|
|
1030
1026
|
mediaTag?: string;
|
|
1031
|
-
/** How to pick from the pool for each type */
|
|
1032
|
-
selectionConfig?: {
|
|
1033
|
-
image?: {
|
|
1034
|
-
mode: 'random' | 'sequential';
|
|
1035
|
-
};
|
|
1036
|
-
video?: {
|
|
1037
|
-
mode: 'random' | 'sequential';
|
|
1038
|
-
};
|
|
1039
|
-
audio?: {
|
|
1040
|
-
mode: 'random' | 'sequential';
|
|
1041
|
-
};
|
|
1042
|
-
text?: {
|
|
1043
|
-
mode: 'random' | 'sequential';
|
|
1044
|
-
};
|
|
1045
|
-
};
|
|
1046
1027
|
}
|
|
1047
1028
|
/**
|
|
1048
1029
|
* Recurrence node configuration - defines when the automation runs on a schedule
|
|
@@ -1078,9 +1059,15 @@ export interface AccountNodeConfig {
|
|
|
1078
1059
|
};
|
|
1079
1060
|
}
|
|
1080
1061
|
/**
|
|
1081
|
-
* Media node enabled type (image, video,
|
|
1062
|
+
* Media node enabled type (image, video, or audio)
|
|
1063
|
+
* Note: text is NOT supported in the regular media node
|
|
1064
|
+
*/
|
|
1065
|
+
export type MediaNodeEnabledType = 'image' | 'video' | 'audio';
|
|
1066
|
+
/**
|
|
1067
|
+
* Recurrence media enabled type (image, video, audio, or text)
|
|
1068
|
+
* Extended to include text for recurrence nodes
|
|
1082
1069
|
*/
|
|
1083
|
-
export type
|
|
1070
|
+
export type RecurrenceMediaEnabledType = 'image' | 'video' | 'audio' | 'text';
|
|
1084
1071
|
/**
|
|
1085
1072
|
* Media node configuration - consolidated source node for image, video, and audio
|
|
1086
1073
|
*/
|