@parra/parra-js-sdk 0.3.246 → 0.3.247
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 +27 -12
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -783,7 +783,19 @@ export interface YoutubeThumbnails {
|
|
|
783
783
|
standard: YoutubeThumbnail;
|
|
784
784
|
maxres: YoutubeThumbnail;
|
|
785
785
|
}
|
|
786
|
-
export interface
|
|
786
|
+
export interface YoutubeStatistics {
|
|
787
|
+
view_count?: number;
|
|
788
|
+
like_count?: number;
|
|
789
|
+
dislike_count?: number;
|
|
790
|
+
favorite_count?: number;
|
|
791
|
+
comment_count?: number;
|
|
792
|
+
}
|
|
793
|
+
export interface YoutubeVideo {
|
|
794
|
+
id: string;
|
|
795
|
+
created_at: string;
|
|
796
|
+
updated_at: string;
|
|
797
|
+
deleted_at?: string | null;
|
|
798
|
+
url: string;
|
|
787
799
|
video_id: string;
|
|
788
800
|
title: string;
|
|
789
801
|
channel_title: string;
|
|
@@ -792,6 +804,7 @@ export interface FeedItemYoutubeVideoData {
|
|
|
792
804
|
thumbnails: YoutubeThumbnails;
|
|
793
805
|
published_at: string;
|
|
794
806
|
live_broadcast_content: string;
|
|
807
|
+
statistics?: YoutubeStatistics | null;
|
|
795
808
|
}
|
|
796
809
|
export interface ContentCardBackground {
|
|
797
810
|
image: ImageAssetStub | null;
|
|
@@ -809,7 +822,7 @@ export interface ContentCard {
|
|
|
809
822
|
description?: string | null;
|
|
810
823
|
action?: ContentCardAction | null;
|
|
811
824
|
}
|
|
812
|
-
export type FeedItemData =
|
|
825
|
+
export type FeedItemData = YoutubeVideo | ContentCard;
|
|
813
826
|
export interface FeedItem {
|
|
814
827
|
id: string;
|
|
815
828
|
created_at: string;
|
|
@@ -827,6 +840,16 @@ export interface FeedItemCollectionResponse {
|
|
|
827
840
|
}
|
|
828
841
|
export interface SubmitFeedbackFormResponseBody {
|
|
829
842
|
}
|
|
843
|
+
export interface FeedbackFormResponse {
|
|
844
|
+
id: string;
|
|
845
|
+
created_at: string;
|
|
846
|
+
updated_at: string;
|
|
847
|
+
deleted_at?: string | null;
|
|
848
|
+
tenant_id: string;
|
|
849
|
+
title: string;
|
|
850
|
+
description?: string | null;
|
|
851
|
+
data: FeedbackFormData;
|
|
852
|
+
}
|
|
830
853
|
export interface FeedbackFormSubmission {
|
|
831
854
|
id: string;
|
|
832
855
|
created_at: string;
|
|
@@ -835,6 +858,8 @@ export interface FeedbackFormSubmission {
|
|
|
835
858
|
feedback_form_id: string;
|
|
836
859
|
user_id: string;
|
|
837
860
|
data: SubmitFeedbackFormResponseBody;
|
|
861
|
+
form?: FeedbackFormResponse;
|
|
862
|
+
user?: TenantUserStub | null;
|
|
838
863
|
}
|
|
839
864
|
export interface FeedbackFormSubmissionCollectionResponse {
|
|
840
865
|
page: number;
|
|
@@ -1184,16 +1209,6 @@ export interface CreateFeedbackFormRequestBody {
|
|
|
1184
1209
|
description?: string | null;
|
|
1185
1210
|
data: FeedbackFormData;
|
|
1186
1211
|
}
|
|
1187
|
-
export interface FeedbackFormResponse {
|
|
1188
|
-
id: string;
|
|
1189
|
-
created_at: string;
|
|
1190
|
-
updated_at: string;
|
|
1191
|
-
deleted_at?: string | null;
|
|
1192
|
-
tenant_id: string;
|
|
1193
|
-
title: string;
|
|
1194
|
-
description?: string | null;
|
|
1195
|
-
data: FeedbackFormData;
|
|
1196
|
-
}
|
|
1197
1212
|
export interface UpdateAnalyticEventTypeRequestBody {
|
|
1198
1213
|
description?: string | null;
|
|
1199
1214
|
}
|