ugcinc 4.6.2 → 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/posts.d.ts +2 -0
- package/dist/stats.d.ts +6 -0
- package/package.json +1 -1
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';
|