ugcinc 4.6.1 → 4.6.3
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/accounts.d.ts +2 -2
- package/dist/posts.d.ts +2 -0
- package/dist/stats.d.ts +6 -0
- package/dist/tools/accounts.js +1 -1
- package/package.json +1 -1
package/dist/accounts.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export interface Account {
|
|
|
14
14
|
bio: string | null;
|
|
15
15
|
warmup_enabled: boolean | null;
|
|
16
16
|
warmup_version: 'original' | 'v1_smart' | 'v2_smart' | null;
|
|
17
|
-
post_version: 'original' | 'v1_custom' | null;
|
|
17
|
+
post_version: 'original' | 'v1_custom' | 'manual_posting' | null;
|
|
18
18
|
description: string | null;
|
|
19
19
|
keywords: string | null;
|
|
20
20
|
profiles: string | null;
|
|
@@ -106,7 +106,7 @@ export interface AccountInfoUpdate {
|
|
|
106
106
|
profiles?: string;
|
|
107
107
|
description?: string;
|
|
108
108
|
warmupVersion?: 'original' | 'v1_smart' | 'v2_smart';
|
|
109
|
-
postVersion?: 'original' | 'v1_custom';
|
|
109
|
+
postVersion?: 'original' | 'v1_custom' | 'manual_posting';
|
|
110
110
|
phoneType?: 'physical_iphone' | 'manual_iphone' | 'physical_android' | 'emulated_android' | 'social_api' | 'custom_provider' | 'tracking';
|
|
111
111
|
approved?: boolean;
|
|
112
112
|
}
|
package/dist/posts.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export interface GetPostsParams {
|
|
|
31
31
|
postIds?: string[];
|
|
32
32
|
startDate?: string;
|
|
33
33
|
endDate?: string;
|
|
34
|
+
includeHidden?: boolean;
|
|
34
35
|
}
|
|
35
36
|
export interface CreateSlideshowParams {
|
|
36
37
|
accountId: string | null;
|
|
@@ -49,6 +50,7 @@ export interface GetPostStatsParams {
|
|
|
49
50
|
postIds?: string[];
|
|
50
51
|
startDate?: string;
|
|
51
52
|
endDate?: string;
|
|
53
|
+
includeHidden?: boolean;
|
|
52
54
|
}
|
|
53
55
|
export interface GetPostStatusParams {
|
|
54
56
|
postId: string;
|
package/dist/stats.d.ts
CHANGED
|
@@ -140,6 +140,9 @@ export interface GetTopAccountsParams {
|
|
|
140
140
|
tag?: string;
|
|
141
141
|
org_group?: string;
|
|
142
142
|
user_group?: string;
|
|
143
|
+
/** Optional ISO date window. When provided, ranks accounts by their latest stat within the range instead of all-time. */
|
|
144
|
+
startDate?: string;
|
|
145
|
+
endDate?: string;
|
|
143
146
|
}
|
|
144
147
|
export interface TopPost {
|
|
145
148
|
post_id: string;
|
|
@@ -158,6 +161,9 @@ export interface GetTopPostsParams {
|
|
|
158
161
|
metric: 'views' | 'likes' | 'comments' | 'shares';
|
|
159
162
|
limit?: number;
|
|
160
163
|
postIds?: string[];
|
|
164
|
+
/** Optional ISO date window. When provided, ranks posts by their latest stat within the range instead of all-time. */
|
|
165
|
+
startDate?: string;
|
|
166
|
+
endDate?: string;
|
|
161
167
|
}
|
|
162
168
|
export interface RefreshStartEvent {
|
|
163
169
|
type: 'start';
|
package/dist/tools/accounts.js
CHANGED
|
@@ -40,7 +40,7 @@ exports.accountTools = [
|
|
|
40
40
|
profiles: zod_1.z.string().optional().describe('Comma-separated profile URLs for warmup'),
|
|
41
41
|
description: zod_1.z.string().optional().describe('Account description/niche'),
|
|
42
42
|
warmupVersion: zod_1.z.enum(['original', 'v1_smart', 'v2_smart']).optional().describe('Warmup algorithm version'),
|
|
43
|
-
postVersion: zod_1.z.enum(['original', 'v1_custom']).optional().describe('Post algorithm version'),
|
|
43
|
+
postVersion: zod_1.z.enum(['original', 'v1_custom', 'manual_posting']).optional().describe('Post algorithm version. Set to manual_posting to skip automated posting and surface posts on the VA workflow page.'),
|
|
44
44
|
phoneType: zod_1.z.enum(['physical_iphone', 'manual_iphone', 'physical_android', 'emulated_android', 'social_api', 'tracking']).optional().describe('Phone type'),
|
|
45
45
|
approved: zod_1.z.boolean().optional().describe('Whether the account follows best practices'),
|
|
46
46
|
})).describe('Array of account updates'),
|