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 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, ImageEditorConfig, 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';
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 as RemotionImageEditorElement, ImageEditorNodeConfig as RemotionImageEditorNodeConfig, DimensionPresetKey as RemotionDimensionPresetKey } from 'ugcinc-remotion';
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 interface ImageEditorConfig extends BaseEditorConfig {
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?: ImageEditorConfig;
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?: ImageEditorConfig | ImageEditorNodeConfig;
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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "2.58.0",
3
+ "version": "2.60.0",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",