ugcinc 2.58.0 → 2.60.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 +4 -14
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -13,4 +13,4 @@ export { RenderClient } from './render';
|
|
|
13
13
|
export { AutomationsClient, getAllNodes, getNodeByType } from './automations';
|
|
14
14
|
export { MediaClient } from './media';
|
|
15
15
|
export type { ClientConfig, } from './base';
|
|
16
|
-
export type { SuccessResponse, ErrorResponse, ApiResponse, Account, AccountStat, AccountTask, EditProfileInfo, Task, TaskType, Post, PostType, PostStat, ApiKey, EditorConfig, VideoEditorConfig,
|
|
16
|
+
export type { SuccessResponse, ErrorResponse, ApiResponse, Account, AccountStat, AccountTask, EditProfileInfo, Task, TaskType, Post, PostType, PostStat, ApiKey, EditorConfig, VideoEditorConfig, ImageEditorNodeConfig, ImageEditorElement, ImageEditorNodeInput, ImageEditorNodeOutput, DimensionPresetKey, EditorChannel, TimeValue, BaseSegmentProps, VisualSegmentProps, EditorSegment, VideoSegment, AudioSegment, ImageSegment, TextSegment, StaticSegment, PositionAnchor, RelativePositionConfig, RenderJobSubmit, RenderVideoRequest, RenderImageRequest, RenderJobResponse, RenderJobStatus, 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, AutomationTemplate, AutomationRun, NodeRun, OutputSchemaProperty, SelectionMode, ExhaustionBehavior, SelectionConfig, SelectionState, OutputMode, OutputInput, OutputNodeConfig, UserMedia, SocialAudio, Media, GetMediaParams, UploadMediaParams, UploadMediaResponse, UpdateMediaTagParams, DeleteMediaParams, DeleteMediaResponse, CreateSocialAudioParams, CreateMediaFromUrlParams, } from './types';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ImageEditorElement
|
|
1
|
+
import type { ImageEditorElement, ImageEditorNodeConfig, DimensionPresetKey } from 'ugcinc-remotion';
|
|
2
2
|
/**
|
|
3
3
|
* API response types
|
|
4
4
|
*/
|
|
@@ -368,16 +368,7 @@ export interface DynamicCropConfig {
|
|
|
368
368
|
vertical?: CropAxisConfig;
|
|
369
369
|
horizontal?: CropAxisConfig;
|
|
370
370
|
}
|
|
371
|
-
export
|
|
372
|
-
channels: Array<{
|
|
373
|
-
id: string;
|
|
374
|
-
segments: StaticSegment[];
|
|
375
|
-
}>;
|
|
376
|
-
dynamicCrop?: DynamicCropConfig;
|
|
377
|
-
}
|
|
378
|
-
export type ImageEditorElement = RemotionImageEditorElement;
|
|
379
|
-
export type ImageEditorNodeConfig = RemotionImageEditorNodeConfig;
|
|
380
|
-
export type DimensionPresetKey = RemotionDimensionPresetKey;
|
|
371
|
+
export type { ImageEditorElement, ImageEditorNodeConfig, DimensionPresetKey };
|
|
381
372
|
export interface ImageEditorNodeInput extends Record<string, unknown> {
|
|
382
373
|
type: 'image-editor';
|
|
383
374
|
config: ImageEditorNodeConfig;
|
|
@@ -688,7 +679,7 @@ export interface RenderVideoRequest {
|
|
|
688
679
|
output_type: 'video';
|
|
689
680
|
}
|
|
690
681
|
export interface RenderImageRequest {
|
|
691
|
-
editor?:
|
|
682
|
+
editor?: ImageEditorNodeConfig;
|
|
692
683
|
use_example?: boolean;
|
|
693
684
|
output_type: 'image';
|
|
694
685
|
image_format?: 'png' | 'jpeg';
|
|
@@ -793,7 +784,7 @@ export interface WorkflowNodeDefinition {
|
|
|
793
784
|
outputMode?: OutputMode;
|
|
794
785
|
textOptions?: string[];
|
|
795
786
|
videoEditor?: VideoEditorConfig;
|
|
796
|
-
imageEditor?:
|
|
787
|
+
imageEditor?: ImageEditorNodeConfig;
|
|
797
788
|
outputSchema?: Record<string, OutputSchemaProperty>;
|
|
798
789
|
provider?: 'groq' | 'openai' | 'claude' | 'gemini';
|
|
799
790
|
model?: string;
|
|
@@ -950,4 +941,3 @@ export interface UploadTokenResponse {
|
|
|
950
941
|
clientToken: string;
|
|
951
942
|
pathname: string;
|
|
952
943
|
}
|
|
953
|
-
export {};
|