@parra/parra-js-sdk 0.3.601 → 0.3.602

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.
@@ -3601,24 +3601,7 @@ export interface YoutubeVideo {
3601
3601
  live_broadcast_content?: string | null;
3602
3602
  statistics?: YoutubeStatistics | null;
3603
3603
  }
3604
- export interface AppVideoStub {
3605
- id: string;
3606
- created_at: string;
3607
- updated_at: string;
3608
- deleted_at?: string | null;
3609
- url: string;
3610
- video_id: string;
3611
- title: string;
3612
- channel_title: string;
3613
- channel_id: string;
3614
- description?: string;
3615
- thumbnails: YoutubeThumbnails;
3616
- published_at: string;
3617
- live_broadcast_content?: string | null;
3618
- statistics?: YoutubeStatistics | null;
3619
- paywall?: AppPaywallConfiguration | null;
3620
- }
3621
- export interface AppVideo {
3604
+ export interface AppVideoFeedStub {
3622
3605
  id: string;
3623
3606
  created_at: string;
3624
3607
  updated_at: string;
@@ -3634,11 +3617,6 @@ export interface AppVideo {
3634
3617
  live_broadcast_content?: string | null;
3635
3618
  statistics?: YoutubeStatistics | null;
3636
3619
  paywall?: AppPaywallConfiguration | null;
3637
- reaction_options?: Array<ReactionOptionGroup>;
3638
- reactions?: Array<ReactionSummary>;
3639
- comments?: CommentSummary;
3640
- products?: Array<AppAffiliateProduct>;
3641
- sponsors?: Array<AppSponsor>;
3642
3620
  tags?: Array<TagStub>;
3643
3621
  }
3644
3622
  export interface AppContentCard {
@@ -3678,7 +3656,7 @@ export interface AppRssItem {
3678
3656
  enclosures?: Array<RssEnclosure> | null;
3679
3657
  published_at?: string | null;
3680
3658
  }
3681
- export type FeedItemData = AppVideo | AppContentCard | CreatorUpdateAppStub | AppRssItem | AppArticle;
3659
+ export type FeedItemData = AppVideoFeedStub | AppContentCard | CreatorUpdateAppStub | AppRssItem | AppArticle;
3682
3660
  export interface AppFeedItem {
3683
3661
  id: string;
3684
3662
  created_at: string;
@@ -3804,8 +3782,10 @@ export interface Video {
3804
3782
  live_broadcast_content?: string | null;
3805
3783
  statistics?: YoutubeStatistics | null;
3806
3784
  paywall?: AppPaywallConfiguration | null;
3785
+ tags?: Array<TagStub>;
3807
3786
  reaction_options?: Array<ReactionOptionGroup>;
3808
3787
  reactions?: Array<ReactionSummary>;
3788
+ comments?: CommentSummary;
3809
3789
  }
3810
3790
  export interface VideoCollectionResponse {
3811
3791
  page: number;
@@ -3814,6 +3794,50 @@ export interface VideoCollectionResponse {
3814
3794
  total_count: number;
3815
3795
  data: Array<Video>;
3816
3796
  }
3797
+ export interface AppVideoStub {
3798
+ id: string;
3799
+ created_at: string;
3800
+ updated_at: string;
3801
+ deleted_at?: string | null;
3802
+ url: string;
3803
+ video_id: string;
3804
+ title: string;
3805
+ channel_title: string;
3806
+ channel_id: string;
3807
+ description?: string;
3808
+ thumbnails: YoutubeThumbnails;
3809
+ published_at: string;
3810
+ live_broadcast_content?: string | null;
3811
+ statistics?: YoutubeStatistics | null;
3812
+ paywall?: AppPaywallConfiguration | null;
3813
+ tags?: Array<TagStub>;
3814
+ reaction_options?: Array<ReactionOptionGroup>;
3815
+ reactions?: Array<ReactionSummary>;
3816
+ comments?: CommentSummary;
3817
+ }
3818
+ export interface AppVideo {
3819
+ id: string;
3820
+ created_at: string;
3821
+ updated_at: string;
3822
+ deleted_at?: string | null;
3823
+ url: string;
3824
+ video_id: string;
3825
+ title: string;
3826
+ channel_title: string;
3827
+ channel_id: string;
3828
+ description?: string;
3829
+ thumbnails: YoutubeThumbnails;
3830
+ published_at: string;
3831
+ live_broadcast_content?: string | null;
3832
+ statistics?: YoutubeStatistics | null;
3833
+ paywall?: AppPaywallConfiguration | null;
3834
+ tags?: Array<TagStub>;
3835
+ reaction_options?: Array<ReactionOptionGroup>;
3836
+ reactions?: Array<ReactionSummary>;
3837
+ comments?: CommentSummary;
3838
+ products?: Array<AppAffiliateProduct>;
3839
+ sponsors?: Array<AppSponsor>;
3840
+ }
3817
3841
  export interface AppVideoCollectionResponse {
3818
3842
  page: number;
3819
3843
  page_count: number;
@@ -6798,6 +6822,7 @@ declare class ParraAPI {
6798
6822
  limit?: number;
6799
6823
  offset?: number;
6800
6824
  tag_id?: string;
6825
+ author_id?: string;
6801
6826
  }, options?: Options) => Promise<AppArticleCollectionResponse>;
6802
6827
  getAppArticleById: (tenant_id: string, article_id: string, query?: {
6803
6828
  include?: string;
@@ -6946,6 +6971,7 @@ declare class ParraAPI {
6946
6971
  offset?: number;
6947
6972
  }, options?: Options) => Promise<CreatorUpdateSenderCollectionResponse>;
6948
6973
  createCreatorUpdateSenderForTenant: (tenant_id: string, body: CreateCreatorUpdateSenderRequestBody, options?: Options) => Promise<CreatorUpdateSender>;
6974
+ getCreatorUpdateSenderById: (tenant_id: string, creator_update_sender_id: string, options?: Options) => Promise<CreatorUpdateSender>;
6949
6975
  updateCreatorUpdateSenderById: (tenant_id: string, creator_update_sender_id: string, body?: UpdateCreatorUpdateSenderRequestBody, options?: Options) => Promise<CreatorUpdateSender>;
6950
6976
  deleteCreatorUpdateSenderById: (tenant_id: string, creator_update_sender_id: string, options?: Options) => Promise<Response>;
6951
6977
  createCreatorUpdateTemplateForTenant: (tenant_id: string, body: CreateCreatorUpdateTemplateRequestBody, options?: Options) => Promise<CreatorUpdateTemplate>;
package/dist/ParraAPI.js CHANGED
@@ -1493,6 +1493,10 @@ var ParraAPI = /** @class */ (function () {
1493
1493
  "content-type": "application/json",
1494
1494
  } }, options));
1495
1495
  };
1496
+ this.getCreatorUpdateSenderById = function (tenant_id, creator_update_sender_id, options) {
1497
+ if (options === void 0) { options = {}; }
1498
+ return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/creator/updates/senders/").concat(creator_update_sender_id), method: "get" }, options));
1499
+ };
1496
1500
  this.updateCreatorUpdateSenderById = function (tenant_id, creator_update_sender_id, body, options) {
1497
1501
  if (options === void 0) { options = {}; }
1498
1502
  return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/creator/updates/senders/").concat(creator_update_sender_id), method: "put", body: JSON.stringify(body), headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.601",
3
+ "version": "0.3.602",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",