ugcinc 3.51.0 → 3.53.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 +49 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -18,4 +18,4 @@ export { MediaClient } from './media';
|
|
|
18
18
|
export { CommentsClient } from './comments';
|
|
19
19
|
export type { RenderJobResponse, RenderJobStatus, SubmitImageRenderJobParams, SubmitVideoRenderJobParams, SubmitScreenshotAnimationRenderJobParams, SubmitInstagramDmRenderJobParams, SubmitIMessageDmRenderJobParams, IgDmMessage, ImDmMessage, RenderVideoEditorConfig, } from './render';
|
|
20
20
|
export type { ClientConfig, } from './base';
|
|
21
|
-
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, ResolvedPorts, 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, RecurrenceMediaOutput, RecurrenceMediaConfig, RecurrenceNodeConfig, AccountNodeConfig, MediaNodeEnabledType, RecurrenceMediaEnabledType, MediaNodeOutput, MediaNodeConfig, PostSchedulingMode, PostSchedulingConfig, AutoPostMode, AutoPostInputType, AutoPostInput, AutoPostNodeConfig, SaveToMediaInput, SaveToMediaNodeConfig, DeduplicateNodeConfig, ForEachOutputProperty, ForEachInputPort, ForEachNodeConfig, RandomValueType, RandomInputPort, RandomNodeMode, RandomNodeConfig, IfLogicOperator, IfBooleanInput, IfPassthroughInput, IfNodeConfig, RandomRouteBranch, RandomRoutePassthroughInput, RandomRouteObjectField, RandomRouteNodeConfig, VideoImportPlatform, VideoImportQuality, VideoImportNodeConfig, AutoCaptionPreset, AutoCaptionFontWeight, AutoCaptionPosition, AutoCaptionNodeConfig, ScreenshotAnimationNodeConfig, VideoGenerationNodeConfig, ArrayType, PortType, LLMOutputField, LLMNodeConfig, UserMedia, SocialAudio, Media, MediaUse, GetMediaParams, CreateSocialAudioParams, UploadMediaParams, UploadMediaResponse, UpdateMediaTagParams, DeleteMediaParams, DeleteMediaResponse, CreateMediaFromUrlParams, ImportTextParams, ImportTextResponse, GetMediaUseParams, GetMediaUseResponse, Comment, CommentStatus, CreateCommentParams, CreateCommentResponse, GetCommentsParams, ValidationErrorType, ValidationError, ExportedNode, ExportedConnection, ExportedTemplate, AutomationExport, ExportedExecutor, ExportedEdge, ExportedRun, AutomationRunExport, } from './types';
|
|
21
|
+
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, ResolvedPorts, 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, RecurrenceMediaOutput, RecurrenceMediaConfig, RecurrenceNodeConfig, AccountNodeConfig, MediaNodeEnabledType, RecurrenceMediaEnabledType, MediaNodeOutput, MediaNodeConfig, PostSchedulingMode, PostSchedulingConfig, AutoPostMode, AutoPostInputType, AutoPostInput, AutoPostNodeConfig, SaveToMediaInput, SaveToMediaNodeConfig, DeduplicateNodeConfig, ForEachOutputProperty, ForEachInputPort, ForEachNodeConfig, RandomValueType, RandomInputPort, RandomNodeMode, RandomNodeConfig, IfLogicOperator, IfBooleanInput, IfPassthroughInput, IfNodeConfig, RandomRouteBranch, RandomRoutePassthroughInput, RandomRouteObjectField, RandomRouteNodeConfig, VideoImportPlatform, VideoImportQuality, VideoImportNodeConfig, AutoCaptionPreset, AutoCaptionFontWeight, AutoCaptionPosition, AutoCaptionNodeConfig, ScreenshotAnimationNodeConfig, CreateDmMessage, CreateDmNodeConfig, VideoGenerationNodeConfig, ArrayType, PortType, LLMOutputField, LLMNodeConfig, UserMedia, SocialAudio, Media, MediaUse, GetMediaParams, CreateSocialAudioParams, UploadMediaParams, UploadMediaResponse, UpdateMediaTagParams, DeleteMediaParams, DeleteMediaResponse, CreateMediaFromUrlParams, ImportTextParams, ImportTextResponse, GetMediaUseParams, GetMediaUseResponse, Comment, CommentStatus, CreateCommentParams, CreateCommentResponse, GetCommentsParams, ValidationErrorType, ValidationError, ExportedNode, ExportedConnection, ExportedTemplate, AutomationExport, ExportedExecutor, ExportedEdge, ExportedRun, AutomationRunExport, } from './types';
|
package/dist/types.d.ts
CHANGED
|
@@ -966,6 +966,7 @@ export interface WorkflowNodeDefinition {
|
|
|
966
966
|
randomRouteConfig?: RandomRouteNodeConfig;
|
|
967
967
|
autoCaptionConfig?: AutoCaptionNodeConfig;
|
|
968
968
|
screenshotAnimationConfig?: ScreenshotAnimationNodeConfig;
|
|
969
|
+
createDmConfig?: CreateDmNodeConfig;
|
|
969
970
|
};
|
|
970
971
|
}
|
|
971
972
|
export interface OutputInput {
|
|
@@ -981,7 +982,7 @@ export interface OutputNodeConfig {
|
|
|
981
982
|
*/
|
|
982
983
|
export interface ManualTriggerOutput {
|
|
983
984
|
id: string;
|
|
984
|
-
type: 'image' | 'video' | 'audio' | 'text' | 'social_audio' | 'account';
|
|
985
|
+
type: 'image' | 'video' | 'audio' | 'text' | 'social_audio' | 'account' | 'boolean';
|
|
985
986
|
isArray?: boolean;
|
|
986
987
|
}
|
|
987
988
|
/**
|
|
@@ -1432,6 +1433,53 @@ export interface ScreenshotAnimationNodeConfig {
|
|
|
1432
1433
|
/** Duration to hold at end after animation completes (ms) - default 500 */
|
|
1433
1434
|
holdDurationMs?: number;
|
|
1434
1435
|
}
|
|
1436
|
+
/**
|
|
1437
|
+
* Message in a Create DM conversation
|
|
1438
|
+
*/
|
|
1439
|
+
export interface CreateDmMessage {
|
|
1440
|
+
/** Who sent this message */
|
|
1441
|
+
sender: 'user' | 'recipient';
|
|
1442
|
+
/** Message text content */
|
|
1443
|
+
text: string;
|
|
1444
|
+
/** Whether this message has an associated image (story reply for IG, sender image for iMessage) */
|
|
1445
|
+
hasImage?: boolean;
|
|
1446
|
+
}
|
|
1447
|
+
/**
|
|
1448
|
+
* Create DM node configuration - renders fake DM conversations for iMessage or Instagram
|
|
1449
|
+
*/
|
|
1450
|
+
export interface CreateDmNodeConfig {
|
|
1451
|
+
/** Platform to render */
|
|
1452
|
+
platform: 'imessage' | 'instagram';
|
|
1453
|
+
/** Light or dark mode */
|
|
1454
|
+
lightMode: boolean;
|
|
1455
|
+
/** Username displayed in header */
|
|
1456
|
+
username: string;
|
|
1457
|
+
/** Status bar time */
|
|
1458
|
+
time: string;
|
|
1459
|
+
/** Profile picture URL (fallback if profilePic input not connected) */
|
|
1460
|
+
profilePicUrl?: string;
|
|
1461
|
+
/** Whether profile pic comes from input port */
|
|
1462
|
+
profilePicIsVariable?: boolean;
|
|
1463
|
+
/** Source of messages: 'config' uses static messages, 'input' uses messages from input port */
|
|
1464
|
+
messagesSource: 'config' | 'input';
|
|
1465
|
+
/** Static messages (used when messagesSource === 'config') */
|
|
1466
|
+
messages?: CreateDmMessage[];
|
|
1467
|
+
/** Image attachment URL (story reply for IG, sender image for iMessage) */
|
|
1468
|
+
imageAttachmentUrl?: string;
|
|
1469
|
+
/** Whether image attachment comes from input port */
|
|
1470
|
+
imageAttachmentIsVariable?: boolean;
|
|
1471
|
+
/** iMessage-specific settings */
|
|
1472
|
+
imessage?: {
|
|
1473
|
+
showReadReceipt: boolean;
|
|
1474
|
+
readReceiptText: string;
|
|
1475
|
+
unreadBadgeText: string;
|
|
1476
|
+
messageHeaderTimestampText: string;
|
|
1477
|
+
};
|
|
1478
|
+
/** Instagram-specific settings */
|
|
1479
|
+
instagram?: {
|
|
1480
|
+
userHasStory: boolean;
|
|
1481
|
+
};
|
|
1482
|
+
}
|
|
1435
1483
|
/**
|
|
1436
1484
|
* Video Generation Model IDs
|
|
1437
1485
|
* Text-to-video models take just a prompt, image-to-video models require an image input
|