ugcinc 2.59.0 → 2.61.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/client.d.ts +0 -5
- package/dist/client.js +0 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +2 -3
- package/dist/types.d.ts +1 -53
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { TasksClient } from './tasks';
|
|
|
3
3
|
import { PostsClient } from './posts';
|
|
4
4
|
import { StatsClient } from './stats';
|
|
5
5
|
import { OrganizationClient } from './org';
|
|
6
|
-
import { RenderClient } from './render';
|
|
7
6
|
import { AutomationsClient } from './automations';
|
|
8
7
|
import { MediaClient } from './media';
|
|
9
8
|
import type { ClientConfig } from './base';
|
|
@@ -53,10 +52,6 @@ export declare class UGCClient {
|
|
|
53
52
|
* Client for organization operations
|
|
54
53
|
*/
|
|
55
54
|
org: OrganizationClient;
|
|
56
|
-
/**
|
|
57
|
-
* Client for video rendering operations
|
|
58
|
-
*/
|
|
59
|
-
render: RenderClient;
|
|
60
55
|
/**
|
|
61
56
|
* Client for automation workflow operations
|
|
62
57
|
*/
|
package/dist/client.js
CHANGED
|
@@ -6,7 +6,6 @@ const tasks_1 = require("./tasks");
|
|
|
6
6
|
const posts_1 = require("./posts");
|
|
7
7
|
const stats_1 = require("./stats");
|
|
8
8
|
const org_1 = require("./org");
|
|
9
|
-
const render_1 = require("./render");
|
|
10
9
|
const automations_1 = require("./automations");
|
|
11
10
|
const media_1 = require("./media");
|
|
12
11
|
/**
|
|
@@ -41,7 +40,6 @@ class UGCClient {
|
|
|
41
40
|
this.posts = new posts_1.PostsClient(config);
|
|
42
41
|
this.stats = new stats_1.StatsClient(config);
|
|
43
42
|
this.org = new org_1.OrganizationClient(config);
|
|
44
|
-
this.render = new render_1.RenderClient(config);
|
|
45
43
|
this.automations = new automations_1.AutomationsClient(config);
|
|
46
44
|
this.media = new media_1.MediaClient(config);
|
|
47
45
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -9,8 +9,7 @@ export { TasksClient } from './tasks';
|
|
|
9
9
|
export { PostsClient } from './posts';
|
|
10
10
|
export { StatsClient } from './stats';
|
|
11
11
|
export { OrganizationClient } from './org';
|
|
12
|
-
export { RenderClient } from './render';
|
|
13
12
|
export { AutomationsClient, getAllNodes, getNodeByType } from './automations';
|
|
14
13
|
export { MediaClient } from './media';
|
|
15
14
|
export type { ClientConfig, } from './base';
|
|
16
|
-
export type { SuccessResponse, ErrorResponse, ApiResponse, Account, AccountStat, AccountTask, EditProfileInfo, Task, TaskType, Post, PostType, PostStat, ApiKey, EditorConfig, VideoEditorConfig,
|
|
15
|
+
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, 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/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Official TypeScript/JavaScript client for the UGC Inc API
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.MediaClient = exports.getNodeByType = exports.getAllNodes = exports.AutomationsClient = exports.
|
|
8
|
+
exports.MediaClient = exports.getNodeByType = exports.getAllNodes = exports.AutomationsClient = exports.OrganizationClient = exports.StatsClient = exports.PostsClient = exports.TasksClient = exports.AccountsClient = exports.UGCClient = void 0;
|
|
9
9
|
var client_1 = require("./client");
|
|
10
10
|
Object.defineProperty(exports, "UGCClient", { enumerable: true, get: function () { return client_1.UGCClient; } });
|
|
11
11
|
var accounts_1 = require("./accounts");
|
|
@@ -18,8 +18,7 @@ var stats_1 = require("./stats");
|
|
|
18
18
|
Object.defineProperty(exports, "StatsClient", { enumerable: true, get: function () { return stats_1.StatsClient; } });
|
|
19
19
|
var org_1 = require("./org");
|
|
20
20
|
Object.defineProperty(exports, "OrganizationClient", { enumerable: true, get: function () { return org_1.OrganizationClient; } });
|
|
21
|
-
|
|
22
|
-
Object.defineProperty(exports, "RenderClient", { enumerable: true, get: function () { return render_1.RenderClient; } });
|
|
21
|
+
// RenderClient removed - replaced by Remotion rendering
|
|
23
22
|
var automations_1 = require("./automations");
|
|
24
23
|
Object.defineProperty(exports, "AutomationsClient", { enumerable: true, get: function () { return automations_1.AutomationsClient; } });
|
|
25
24
|
Object.defineProperty(exports, "getAllNodes", { enumerable: true, get: function () { return automations_1.getAllNodes; } });
|
package/dist/types.d.ts
CHANGED
|
@@ -368,13 +368,6 @@ 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
371
|
export type { ImageEditorElement, ImageEditorNodeConfig, DimensionPresetKey };
|
|
379
372
|
export interface ImageEditorNodeInput extends Record<string, unknown> {
|
|
380
373
|
type: 'image-editor';
|
|
@@ -680,51 +673,6 @@ export interface EditorSegment_Nested extends VisualSegmentProps {
|
|
|
680
673
|
}
|
|
681
674
|
export type EditorSegment = VideoSegment | AudioSegment | ImageSegment | TextSegment | EditorSegment_Nested;
|
|
682
675
|
export type StaticSegment = ImageSegment | TextSegment;
|
|
683
|
-
export interface RenderVideoRequest {
|
|
684
|
-
editor?: VideoEditorConfig;
|
|
685
|
-
use_example?: boolean;
|
|
686
|
-
output_type: 'video';
|
|
687
|
-
}
|
|
688
|
-
export interface RenderImageRequest {
|
|
689
|
-
editor?: ImageEditorConfig;
|
|
690
|
-
use_example?: boolean;
|
|
691
|
-
output_type: 'image';
|
|
692
|
-
image_format?: 'png' | 'jpeg';
|
|
693
|
-
}
|
|
694
|
-
export interface RenderJobSubmit {
|
|
695
|
-
editor?: EditorConfig;
|
|
696
|
-
use_example?: boolean;
|
|
697
|
-
output_type?: 'video' | 'image';
|
|
698
|
-
image_format?: 'png' | 'jpeg';
|
|
699
|
-
}
|
|
700
|
-
export interface RenderJobResponse {
|
|
701
|
-
job_id: string;
|
|
702
|
-
status: 'pending' | 'processing' | 'completed' | 'failed';
|
|
703
|
-
output_type: 'video' | 'image';
|
|
704
|
-
message: string;
|
|
705
|
-
}
|
|
706
|
-
export interface RenderJobStatus {
|
|
707
|
-
job_id: string;
|
|
708
|
-
status: 'pending' | 'processing' | 'completed' | 'failed';
|
|
709
|
-
output_type: 'video' | 'image';
|
|
710
|
-
progress: number;
|
|
711
|
-
message: string;
|
|
712
|
-
created_at: number;
|
|
713
|
-
updated_at: number;
|
|
714
|
-
download_url?: string;
|
|
715
|
-
video_url?: string;
|
|
716
|
-
size_bytes?: number;
|
|
717
|
-
duration_ms?: number;
|
|
718
|
-
stats?: {
|
|
719
|
-
preload_ms: number;
|
|
720
|
-
audio_ms: number;
|
|
721
|
-
render_ms: number;
|
|
722
|
-
encode_ms: number;
|
|
723
|
-
total_ms: number;
|
|
724
|
-
};
|
|
725
|
-
completed_at?: number;
|
|
726
|
-
error?: string;
|
|
727
|
-
}
|
|
728
676
|
/**
|
|
729
677
|
* Automation types
|
|
730
678
|
*/
|
|
@@ -791,7 +739,7 @@ export interface WorkflowNodeDefinition {
|
|
|
791
739
|
outputMode?: OutputMode;
|
|
792
740
|
textOptions?: string[];
|
|
793
741
|
videoEditor?: VideoEditorConfig;
|
|
794
|
-
imageEditor?:
|
|
742
|
+
imageEditor?: ImageEditorNodeConfig;
|
|
795
743
|
outputSchema?: Record<string, OutputSchemaProperty>;
|
|
796
744
|
provider?: 'groq' | 'openai' | 'claude' | 'gemini';
|
|
797
745
|
model?: string;
|