@parra/parra-js-sdk 0.3.568 → 0.3.570
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 +13 -3
- package/dist/ParraAPI.js +1 -0
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -3135,7 +3135,12 @@ export interface CreateCustomSocialAccountRequestBody {
|
|
3135
3135
|
handle?: string | null;
|
3136
3136
|
url?: string | null;
|
3137
3137
|
}
|
3138
|
-
export
|
3138
|
+
export interface CreateEmailSocialAccountRequestBody {
|
3139
|
+
type: string;
|
3140
|
+
email: string;
|
3141
|
+
slug?: string | null;
|
3142
|
+
}
|
3143
|
+
export type CreateSocialAccountRequestBody = CreateYoutubeSocialAccountRequestBody | CreateXSocialAccountRequestBody | CreateTiktokSocialAccountRequestBody | CreateInstagramSocialAccountRequestBody | CreateFacebookSocialAccountRequestBody | CreateTwitchSocialAccountRequestBody | CreateLinkedinSocialAccountRequestBody | CreateShopifySocialAccountRequestBody | CreateWebsiteSocialAccountRequestBody | CreateRssSocialAccountRequestBody | CreateCustomSocialAccountRequestBody | CreateEmailSocialAccountRequestBody;
|
3139
3144
|
export declare enum SocialAccountType {
|
3140
3145
|
x = "x",
|
3141
3146
|
youtube = "youtube",
|
@@ -3147,7 +3152,8 @@ export declare enum SocialAccountType {
|
|
3147
3152
|
shopify = "shopify",
|
3148
3153
|
website = "website",
|
3149
3154
|
rss = "rss",
|
3150
|
-
custom = "custom"
|
3155
|
+
custom = "custom",
|
3156
|
+
email = "email"
|
3151
3157
|
}
|
3152
3158
|
export interface SocialAccountYoutubeData {
|
3153
3159
|
channel_handle: string;
|
@@ -3200,6 +3206,10 @@ export interface SocialAccountWebsiteData {
|
|
3200
3206
|
url: string;
|
3201
3207
|
slug?: string | null;
|
3202
3208
|
}
|
3209
|
+
export interface SocialAccountEmailData {
|
3210
|
+
email: string;
|
3211
|
+
slug?: string | null;
|
3212
|
+
}
|
3203
3213
|
export interface SocialAccountRssData {
|
3204
3214
|
url: string;
|
3205
3215
|
rss_feed_id: string;
|
@@ -3209,7 +3219,7 @@ export interface SocialAccountCustomData {
|
|
3209
3219
|
handle?: string | null;
|
3210
3220
|
url?: string | null;
|
3211
3221
|
}
|
3212
|
-
export type SocialAccountData = SocialAccountYoutubeData | SocialAccountXData | SocialAccountTiktokData | SocialAccountInstagramData | SocialAccountFacebookData | SocialAccountTwitchData | SocialAccountLinkedinData | SocialAccountShopifyData | SocialAccountWebsiteData | SocialAccountRssData | SocialAccountCustomData;
|
3222
|
+
export type SocialAccountData = SocialAccountYoutubeData | SocialAccountXData | SocialAccountTiktokData | SocialAccountInstagramData | SocialAccountFacebookData | SocialAccountTwitchData | SocialAccountLinkedinData | SocialAccountShopifyData | SocialAccountWebsiteData | SocialAccountEmailData | SocialAccountRssData | SocialAccountCustomData;
|
3213
3223
|
export interface SocialAccountYoutubeMetrics {
|
3214
3224
|
last_synced_at: string;
|
3215
3225
|
subscriber_count: number;
|
package/dist/ParraAPI.js
CHANGED
@@ -370,6 +370,7 @@ var SocialAccountType;
|
|
370
370
|
SocialAccountType["website"] = "website";
|
371
371
|
SocialAccountType["rss"] = "rss";
|
372
372
|
SocialAccountType["custom"] = "custom";
|
373
|
+
SocialAccountType["email"] = "email";
|
373
374
|
})(SocialAccountType || (exports.SocialAccountType = SocialAccountType = {}));
|
374
375
|
var FeedItemType;
|
375
376
|
(function (FeedItemType) {
|