ugcinc 2.60.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 +0 -45
- 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, ImageEditorNodeConfig, ImageEditorElement, ImageEditorNodeInput, ImageEditorNodeOutput, DimensionPresetKey, EditorChannel, TimeValue, BaseSegmentProps, VisualSegmentProps, EditorSegment, VideoSegment, AudioSegment, ImageSegment, TextSegment, StaticSegment, PositionAnchor, RelativePositionConfig,
|
|
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
|
@@ -673,51 +673,6 @@ export interface EditorSegment_Nested extends VisualSegmentProps {
|
|
|
673
673
|
}
|
|
674
674
|
export type EditorSegment = VideoSegment | AudioSegment | ImageSegment | TextSegment | EditorSegment_Nested;
|
|
675
675
|
export type StaticSegment = ImageSegment | TextSegment;
|
|
676
|
-
export interface RenderVideoRequest {
|
|
677
|
-
editor?: VideoEditorConfig;
|
|
678
|
-
use_example?: boolean;
|
|
679
|
-
output_type: 'video';
|
|
680
|
-
}
|
|
681
|
-
export interface RenderImageRequest {
|
|
682
|
-
editor?: ImageEditorNodeConfig;
|
|
683
|
-
use_example?: boolean;
|
|
684
|
-
output_type: 'image';
|
|
685
|
-
image_format?: 'png' | 'jpeg';
|
|
686
|
-
}
|
|
687
|
-
export interface RenderJobSubmit {
|
|
688
|
-
editor?: EditorConfig;
|
|
689
|
-
use_example?: boolean;
|
|
690
|
-
output_type?: 'video' | 'image';
|
|
691
|
-
image_format?: 'png' | 'jpeg';
|
|
692
|
-
}
|
|
693
|
-
export interface RenderJobResponse {
|
|
694
|
-
job_id: string;
|
|
695
|
-
status: 'pending' | 'processing' | 'completed' | 'failed';
|
|
696
|
-
output_type: 'video' | 'image';
|
|
697
|
-
message: string;
|
|
698
|
-
}
|
|
699
|
-
export interface RenderJobStatus {
|
|
700
|
-
job_id: string;
|
|
701
|
-
status: 'pending' | 'processing' | 'completed' | 'failed';
|
|
702
|
-
output_type: 'video' | 'image';
|
|
703
|
-
progress: number;
|
|
704
|
-
message: string;
|
|
705
|
-
created_at: number;
|
|
706
|
-
updated_at: number;
|
|
707
|
-
download_url?: string;
|
|
708
|
-
video_url?: string;
|
|
709
|
-
size_bytes?: number;
|
|
710
|
-
duration_ms?: number;
|
|
711
|
-
stats?: {
|
|
712
|
-
preload_ms: number;
|
|
713
|
-
audio_ms: number;
|
|
714
|
-
render_ms: number;
|
|
715
|
-
encode_ms: number;
|
|
716
|
-
total_ms: number;
|
|
717
|
-
};
|
|
718
|
-
completed_at?: number;
|
|
719
|
-
error?: string;
|
|
720
|
-
}
|
|
721
676
|
/**
|
|
722
677
|
* Automation types
|
|
723
678
|
*/
|