ugcinc 2.87.16 → 2.88.1
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/automations.js +13 -11
- package/dist/index.d.ts +1 -1
- package/dist/types.d.ts +24 -8
- package/package.json +1 -1
package/dist/automations.js
CHANGED
|
@@ -254,19 +254,21 @@ function getAllNodes() {
|
|
|
254
254
|
outputs: [],
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
|
-
type: "
|
|
258
|
-
label: "
|
|
259
|
-
description: "
|
|
257
|
+
type: "manual-trigger",
|
|
258
|
+
label: "Manual Trigger",
|
|
259
|
+
description: "Define inputs required when manually running this automation",
|
|
260
260
|
category: "Input",
|
|
261
261
|
inputs: [],
|
|
262
|
-
outputs
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
262
|
+
// Dynamic outputs based on manualTriggerConfig.outputs
|
|
263
|
+
outputs: [],
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
type: "recurrence",
|
|
267
|
+
label: "Recurrence",
|
|
268
|
+
description: "Schedule recurring automation runs",
|
|
269
|
+
category: "Input",
|
|
270
|
+
inputs: [],
|
|
271
|
+
outputs: [],
|
|
270
272
|
},
|
|
271
273
|
{
|
|
272
274
|
type: "workflow",
|
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, AccountNodeConfig, PostVideoNodeConfig, PostSlideshowInput, 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';
|
|
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, ManualTriggerOutput, ManualTriggerNodeConfig, RecurrenceNodeConfig, AccountNodeConfig, PostVideoNodeConfig, PostSlideshowInput, 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
|
@@ -805,7 +805,7 @@ export interface NodeControlConfig {
|
|
|
805
805
|
*/
|
|
806
806
|
supportsPerInputMode?: boolean;
|
|
807
807
|
}
|
|
808
|
-
export type NodeTypeEnum = 'image' | 'video' | 'audio' | 'social-audio' | 'text' | 'image-editor' | 'video-editor' | 'image-generation' | 'llm' | 'output' | '
|
|
808
|
+
export type NodeTypeEnum = 'image' | 'video' | 'audio' | 'social-audio' | 'text' | 'image-editor' | 'video-editor' | 'image-generation' | 'llm' | 'output' | 'manual-trigger' | 'recurrence' | 'workflow' | 'account' | 'post-video' | 'post-slideshow' | 'save-to-media';
|
|
809
809
|
export interface OutputSchemaProperty {
|
|
810
810
|
type: 'string' | 'number' | 'boolean' | 'array' | 'object';
|
|
811
811
|
items?: 'string' | 'number' | 'boolean';
|
|
@@ -895,13 +895,8 @@ export interface WorkflowNodeDefinition {
|
|
|
895
895
|
maxTokens?: number;
|
|
896
896
|
useWebSearch?: boolean;
|
|
897
897
|
useStructuredOutput?: boolean;
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
dropdownOptions?: Array<{
|
|
901
|
-
label: string;
|
|
902
|
-
value: string;
|
|
903
|
-
}>;
|
|
904
|
-
dropdownMode?: 'manual' | 'from_input';
|
|
898
|
+
manualTriggerConfig?: ManualTriggerNodeConfig;
|
|
899
|
+
recurrenceConfig?: RecurrenceNodeConfig;
|
|
905
900
|
workflowTemplateId?: string;
|
|
906
901
|
workflowVariableNameToIdMap?: Record<string, string>;
|
|
907
902
|
workflowPassThrough?: Record<string, boolean>;
|
|
@@ -920,6 +915,27 @@ export interface OutputInput {
|
|
|
920
915
|
export interface OutputNodeConfig {
|
|
921
916
|
inputs: OutputInput[];
|
|
922
917
|
}
|
|
918
|
+
/**
|
|
919
|
+
* Manual Trigger node output definition
|
|
920
|
+
*/
|
|
921
|
+
export interface ManualTriggerOutput {
|
|
922
|
+
id: string;
|
|
923
|
+
title: string;
|
|
924
|
+
type: 'image' | 'video' | 'audio' | 'text' | 'social_audio' | 'account';
|
|
925
|
+
}
|
|
926
|
+
/**
|
|
927
|
+
* Manual Trigger node configuration - defines outputs that users provide when running
|
|
928
|
+
*/
|
|
929
|
+
export interface ManualTriggerNodeConfig {
|
|
930
|
+
outputs: ManualTriggerOutput[];
|
|
931
|
+
}
|
|
932
|
+
/**
|
|
933
|
+
* Recurrence node configuration - placeholder for scheduling recurring runs
|
|
934
|
+
*/
|
|
935
|
+
export interface RecurrenceNodeConfig {
|
|
936
|
+
schedule?: string;
|
|
937
|
+
enabled?: boolean;
|
|
938
|
+
}
|
|
923
939
|
/**
|
|
924
940
|
* Account node configuration - source node for selecting accounts to post from
|
|
925
941
|
*/
|