@parra/parra-js-sdk 0.3.459 → 0.3.461
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/ParraAPI.d.ts +22 -13
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -1579,13 +1579,21 @@ export declare enum SocialAccountType {
|
|
1579
1579
|
instagram = "instagram",
|
1580
1580
|
facebook = "facebook"
|
1581
1581
|
}
|
1582
|
+
export interface SocialAccountYoutubeData {
|
1583
|
+
channel_id: string;
|
1584
|
+
channel_title: string;
|
1585
|
+
channel_handle: string;
|
1586
|
+
}
|
1587
|
+
export interface SocialAccountXData {
|
1588
|
+
user_id: string;
|
1589
|
+
username: string;
|
1590
|
+
name: string;
|
1591
|
+
}
|
1592
|
+
export type SocialAccountData = SocialAccountYoutubeData | SocialAccountXData;
|
1582
1593
|
export interface SocialAccountYoutubeMetrics {
|
1583
1594
|
subscriber_count: number;
|
1584
1595
|
view_count: number;
|
1585
|
-
|
1586
|
-
dislike_count: number;
|
1587
|
-
favorite_count: number;
|
1588
|
-
comment_count: number;
|
1596
|
+
video_count: number;
|
1589
1597
|
}
|
1590
1598
|
export interface SocialAccountXMetrics {
|
1591
1599
|
follower_count: number;
|
@@ -1593,20 +1601,17 @@ export interface SocialAccountXMetrics {
|
|
1593
1601
|
post_count: number;
|
1594
1602
|
listed_count: number;
|
1595
1603
|
}
|
1596
|
-
export
|
1597
|
-
type: SocialAccountType;
|
1598
|
-
youtube?: SocialAccountYoutubeMetrics;
|
1599
|
-
x?: SocialAccountXMetrics;
|
1600
|
-
}
|
1604
|
+
export type SocialAccountMetrics = SocialAccountYoutubeMetrics | SocialAccountXMetrics;
|
1601
1605
|
export interface SocialAccount {
|
1602
1606
|
id: string;
|
1603
1607
|
created_at: string;
|
1604
1608
|
updated_at: string;
|
1605
1609
|
deleted_at?: string | null;
|
1610
|
+
tenant_id: string;
|
1606
1611
|
type: SocialAccountType;
|
1607
1612
|
connected_app_connection_id: string;
|
1613
|
+
data: SocialAccountData;
|
1608
1614
|
metrics?: SocialAccountMetrics | null;
|
1609
|
-
youtube_channel_id?: string | null;
|
1610
1615
|
}
|
1611
1616
|
export interface FeedView {
|
1612
1617
|
id: string;
|
@@ -4854,9 +4859,13 @@ declare class ParraAPI {
|
|
4854
4859
|
deleteCreatorUpdateTemplateById: (tenant_id: string, creator_update_template_id: string, options?: Options) => Promise<Response>;
|
4855
4860
|
createCreatorUpdateForTenant: (tenant_id: string, body?: CreateCreatorUpdateRequestBody, options?: Options) => Promise<CreatorUpdate>;
|
4856
4861
|
paginateCreatorUpdatesForTenant: (tenant_id: string, query?: {
|
4857
|
-
|
4858
|
-
|
4859
|
-
|
4862
|
+
$select?: string;
|
4863
|
+
$top?: number;
|
4864
|
+
$skip?: number;
|
4865
|
+
$orderby?: string;
|
4866
|
+
$filter?: string;
|
4867
|
+
$expand?: string;
|
4868
|
+
$search?: string;
|
4860
4869
|
}, options?: Options) => Promise<CreatorUpdateCollectionResponse>;
|
4861
4870
|
getCreatorUpdate: (tenant_id: string, creator_update_id: string, options?: Options) => Promise<CreatorUpdate>;
|
4862
4871
|
updateCreatorUpdate: (tenant_id: string, creator_update_id: string, body?: UpdateCreatorUpdateRequestBody, options?: Options) => Promise<CreatorUpdate>;
|