@parra/parra-js-sdk 0.3.535 → 0.3.537

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.
@@ -2057,14 +2057,20 @@ export interface CreateTwitchSocialAccountRequestBody {
2057
2057
  handle: string;
2058
2058
  connection_id?: string | null;
2059
2059
  }
2060
- export type CreateSocialAccountRequestBody = CreateYoutubeSocialAccountRequestBody | CreateXSocialAccountRequestBody | CreateTiktokSocialAccountRequestBody | CreateInstagramSocialAccountRequestBody | CreateFacebookSocialAccountRequestBody | CreateTwitchSocialAccountRequestBody;
2060
+ export interface CreateLinkedinSocialAccountRequestBody {
2061
+ type: string;
2062
+ profile_id: string;
2063
+ connection_id?: string | null;
2064
+ }
2065
+ export type CreateSocialAccountRequestBody = CreateYoutubeSocialAccountRequestBody | CreateXSocialAccountRequestBody | CreateTiktokSocialAccountRequestBody | CreateInstagramSocialAccountRequestBody | CreateFacebookSocialAccountRequestBody | CreateTwitchSocialAccountRequestBody | CreateLinkedinSocialAccountRequestBody;
2061
2066
  export declare enum SocialAccountType {
2062
2067
  x = "x",
2063
2068
  youtube = "youtube",
2064
2069
  tiktok = "tiktok",
2065
2070
  instagram = "instagram",
2066
2071
  facebook = "facebook",
2067
- twitch = "twitch"
2072
+ twitch = "twitch",
2073
+ linkedin = "linkedin"
2068
2074
  }
2069
2075
  export interface SocialAccountYoutubeData {
2070
2076
  channel_handle: string;
@@ -2101,7 +2107,13 @@ export interface SocialAccountTwitchData {
2101
2107
  description?: string | null;
2102
2108
  profile_image_url?: string | null;
2103
2109
  }
2104
- export type SocialAccountData = SocialAccountYoutubeData | SocialAccountXData | SocialAccountTiktokData | SocialAccountInstagramData | SocialAccountFacebookData | SocialAccountTwitchData;
2110
+ export interface SocialAccountLinkedinData {
2111
+ handle?: string;
2112
+ profile_id: string;
2113
+ profile_name?: string | null;
2114
+ profile_image_url?: string | null;
2115
+ }
2116
+ export type SocialAccountData = SocialAccountYoutubeData | SocialAccountXData | SocialAccountTiktokData | SocialAccountInstagramData | SocialAccountFacebookData | SocialAccountTwitchData | SocialAccountLinkedinData;
2105
2117
  export interface SocialAccountYoutubeMetrics {
2106
2118
  last_synced_at: string;
2107
2119
  subscriber_count: number;
package/dist/ParraAPI.js CHANGED
@@ -245,6 +245,7 @@ var SocialAccountType;
245
245
  SocialAccountType["instagram"] = "instagram";
246
246
  SocialAccountType["facebook"] = "facebook";
247
247
  SocialAccountType["twitch"] = "twitch";
248
+ SocialAccountType["linkedin"] = "linkedin";
248
249
  })(SocialAccountType || (exports.SocialAccountType = SocialAccountType = {}));
249
250
  var FeedItemType;
250
251
  (function (FeedItemType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.535",
3
+ "version": "0.3.537",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",