ugcinc 2.87.1 → 2.87.3
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 +52 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,4 +15,4 @@ export { MediaClient } from './media';
|
|
|
15
15
|
export { CommentsClient } from './comments';
|
|
16
16
|
export type { RenderJobResponse, RenderJobStatus, SubmitImageRenderJobParams, SubmitVideoRenderJobParams, RenderVideoEditorConfig, } from './render';
|
|
17
17
|
export type { ClientConfig, } from './base';
|
|
18
|
-
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, LLMOutputField, LLMNodeConfig, UserMedia, SocialAudio, Media, GetMediaParams, UploadMediaParams, UploadMediaResponse, UpdateMediaTagParams, DeleteMediaParams, DeleteMediaResponse, CreateSocialAudioParams, CreateMediaFromUrlParams, ImportTextParams, ImportTextResponse, Comment, CommentStatus, CreateCommentParams, CreateCommentResponse, GetCommentsParams, } from './types';
|
|
18
|
+
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, AccountNodeConfig, PostVideoNodeConfig, PostSlideshowNodeConfig, SaveToMediaInput, SaveToMediaNodeConfig, PortType, LLMOutputField, LLMNodeConfig, UserMedia, SocialAudio, Media, GetMediaParams, UploadMediaParams, UploadMediaResponse, UpdateMediaTagParams, DeleteMediaParams, DeleteMediaResponse, CreateSocialAudioParams, CreateMediaFromUrlParams, ImportTextParams, ImportTextResponse, Comment, CommentStatus, CreateCommentParams, CreateCommentResponse, GetCommentsParams, } from './types';
|
package/dist/types.d.ts
CHANGED
|
@@ -748,6 +748,10 @@ export type StaticSegment = ImageSegment | TextSegment;
|
|
|
748
748
|
* Automation types
|
|
749
749
|
*/
|
|
750
750
|
export type MediaType = 'video' | 'image' | 'audio' | 'social_audio' | 'text' | 'account' | 'date';
|
|
751
|
+
/**
|
|
752
|
+
* Extended port types (includes non-media types for special nodes)
|
|
753
|
+
*/
|
|
754
|
+
export type PortType = MediaType | 'number' | 'boolean' | 'object';
|
|
751
755
|
/**
|
|
752
756
|
* Selection order configuration for media nodes
|
|
753
757
|
*/
|
|
@@ -900,6 +904,10 @@ export interface WorkflowNodeDefinition {
|
|
|
900
904
|
workflowVariableNameToIdMap?: Record<string, string>;
|
|
901
905
|
workflowPassThrough?: Record<string, boolean>;
|
|
902
906
|
outputConfig?: OutputNodeConfig;
|
|
907
|
+
accountConfig?: AccountNodeConfig;
|
|
908
|
+
postVideoConfig?: PostVideoNodeConfig;
|
|
909
|
+
postSlideshowConfig?: PostSlideshowNodeConfig;
|
|
910
|
+
saveToMediaConfig?: SaveToMediaNodeConfig;
|
|
903
911
|
};
|
|
904
912
|
}
|
|
905
913
|
export interface OutputInput {
|
|
@@ -917,6 +925,50 @@ export interface OutputNodeConfig {
|
|
|
917
925
|
requireReview?: boolean;
|
|
918
926
|
mainPreviewInputId?: string;
|
|
919
927
|
}
|
|
928
|
+
/**
|
|
929
|
+
* Account node configuration - source node for selecting accounts to post from
|
|
930
|
+
*/
|
|
931
|
+
export interface AccountNodeConfig {
|
|
932
|
+
/** List of account IDs to choose from */
|
|
933
|
+
accountIds: string[];
|
|
934
|
+
/** Selection mode */
|
|
935
|
+
selectionConfig?: {
|
|
936
|
+
mode?: 'random' | 'sequential';
|
|
937
|
+
};
|
|
938
|
+
}
|
|
939
|
+
/**
|
|
940
|
+
* Post Video node configuration - posts a video to social media
|
|
941
|
+
*/
|
|
942
|
+
export interface PostVideoNodeConfig {
|
|
943
|
+
}
|
|
944
|
+
/**
|
|
945
|
+
* Post Slideshow node configuration - posts a slideshow to social media
|
|
946
|
+
*/
|
|
947
|
+
export interface PostSlideshowNodeConfig {
|
|
948
|
+
/** Number of image inputs (1-15) */
|
|
949
|
+
imageCount: number;
|
|
950
|
+
}
|
|
951
|
+
/**
|
|
952
|
+
* Save To Media node input definition
|
|
953
|
+
*/
|
|
954
|
+
export interface SaveToMediaInput {
|
|
955
|
+
id: string;
|
|
956
|
+
title: string;
|
|
957
|
+
type: 'image' | 'video' | 'audio' | 'text';
|
|
958
|
+
}
|
|
959
|
+
/**
|
|
960
|
+
* Save To Media node configuration - saves outputs to media library
|
|
961
|
+
*/
|
|
962
|
+
export interface SaveToMediaNodeConfig {
|
|
963
|
+
/** Dynamic inputs to save */
|
|
964
|
+
inputs: SaveToMediaInput[];
|
|
965
|
+
/** Global tag applied to all saved items */
|
|
966
|
+
globalTag?: string;
|
|
967
|
+
/** If true, append date in mm-dd-yy format to tag */
|
|
968
|
+
tagWithDate?: boolean;
|
|
969
|
+
/** If true, append run ID to make tags unique */
|
|
970
|
+
makeUnique?: boolean;
|
|
971
|
+
}
|
|
920
972
|
export interface CanvasState {
|
|
921
973
|
zoom: number;
|
|
922
974
|
panX: number;
|