bundlesocial 2.5.0 → 2.6.0

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/index.d.mts CHANGED
@@ -507,6 +507,9 @@ type SocialAccountCreatePortalLinkData = {
507
507
  teamId: string;
508
508
  redirectUrl: string;
509
509
  socialAccountTypes: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK' | 'MASTODON')>;
510
+ logoUrl?: string;
511
+ userLogoUrl?: string;
512
+ userName?: string;
510
513
  };
511
514
  };
512
515
  type SocialAccountCreatePortalLinkResponse = {
@@ -4984,7 +4987,8 @@ declare class SocialAccountService {
4984
4987
  readonly httpRequest: BaseHttpRequest;
4985
4988
  constructor(httpRequest: BaseHttpRequest);
4986
4989
  /**
4987
- * Generate OAuth URL
4990
+ * Connect social account for team
4991
+ * Generate OAuth URL for social account connection. Redirect user to this URL to connect social account.
4988
4992
  * @param data The data for the request.
4989
4993
  * @param data.requestBody Body
4990
4994
  * @returns unknown 200
@@ -4993,6 +4997,7 @@ declare class SocialAccountService {
4993
4997
  socialAccountConnect(data?: SocialAccountConnectData): CancelablePromise<SocialAccountConnectResponse>;
4994
4998
  /**
4995
4999
  * Disconnect social account from team
5000
+ * This will remove the social account from all the scheduled posts too.
4996
5001
  * @param data The data for the request.
4997
5002
  * @param data.requestBody Body
4998
5003
  * @returns unknown 200
@@ -5001,6 +5006,7 @@ declare class SocialAccountService {
5001
5006
  socialAccountDisconnect(data?: SocialAccountDisconnectData): CancelablePromise<SocialAccountDisconnectResponse>;
5002
5007
  /**
5003
5008
  * Set channel for social account
5009
+ * Needed only for some social account types - Youtube, Instagram, Facebook and Linkedin.
5004
5010
  * @param data The data for the request.
5005
5011
  * @param data.requestBody Body
5006
5012
  * @returns unknown 200
@@ -5009,6 +5015,7 @@ declare class SocialAccountService {
5009
5015
  socialAccountSetChannel(data?: SocialAccountSetChannelData): CancelablePromise<SocialAccountSetChannelResponse>;
5010
5016
  /**
5011
5017
  * Refresh channels for social account
5018
+ * Refresh channels saved on socialAccount.channels. This is only needed for some social account types - Reddit, Discord, Slack, Pinterest.
5012
5019
  * @param data The data for the request.
5013
5020
  * @param data.requestBody Body
5014
5021
  * @returns unknown 200
@@ -5017,7 +5024,7 @@ declare class SocialAccountService {
5017
5024
  socialAccountRefreshChannels(data?: SocialAccountRefreshChannelsData): CancelablePromise<SocialAccountRefreshChannelsResponse>;
5018
5025
  /**
5019
5026
  * Create portal link
5020
- * Create a portal link which can be used to manage connected social accounts
5027
+ * Simplify connect flow. Create a portal link which can be used to manage connected social accounts directly on bundle.social platform without implementing the logic on your side.
5021
5028
  * @param data The data for the request.
5022
5029
  * @param data.requestBody Body
5023
5030
  * @returns unknown 200
package/dist/index.d.ts CHANGED
@@ -507,6 +507,9 @@ type SocialAccountCreatePortalLinkData = {
507
507
  teamId: string;
508
508
  redirectUrl: string;
509
509
  socialAccountTypes: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK' | 'MASTODON')>;
510
+ logoUrl?: string;
511
+ userLogoUrl?: string;
512
+ userName?: string;
510
513
  };
511
514
  };
512
515
  type SocialAccountCreatePortalLinkResponse = {
@@ -4984,7 +4987,8 @@ declare class SocialAccountService {
4984
4987
  readonly httpRequest: BaseHttpRequest;
4985
4988
  constructor(httpRequest: BaseHttpRequest);
4986
4989
  /**
4987
- * Generate OAuth URL
4990
+ * Connect social account for team
4991
+ * Generate OAuth URL for social account connection. Redirect user to this URL to connect social account.
4988
4992
  * @param data The data for the request.
4989
4993
  * @param data.requestBody Body
4990
4994
  * @returns unknown 200
@@ -4993,6 +4997,7 @@ declare class SocialAccountService {
4993
4997
  socialAccountConnect(data?: SocialAccountConnectData): CancelablePromise<SocialAccountConnectResponse>;
4994
4998
  /**
4995
4999
  * Disconnect social account from team
5000
+ * This will remove the social account from all the scheduled posts too.
4996
5001
  * @param data The data for the request.
4997
5002
  * @param data.requestBody Body
4998
5003
  * @returns unknown 200
@@ -5001,6 +5006,7 @@ declare class SocialAccountService {
5001
5006
  socialAccountDisconnect(data?: SocialAccountDisconnectData): CancelablePromise<SocialAccountDisconnectResponse>;
5002
5007
  /**
5003
5008
  * Set channel for social account
5009
+ * Needed only for some social account types - Youtube, Instagram, Facebook and Linkedin.
5004
5010
  * @param data The data for the request.
5005
5011
  * @param data.requestBody Body
5006
5012
  * @returns unknown 200
@@ -5009,6 +5015,7 @@ declare class SocialAccountService {
5009
5015
  socialAccountSetChannel(data?: SocialAccountSetChannelData): CancelablePromise<SocialAccountSetChannelResponse>;
5010
5016
  /**
5011
5017
  * Refresh channels for social account
5018
+ * Refresh channels saved on socialAccount.channels. This is only needed for some social account types - Reddit, Discord, Slack, Pinterest.
5012
5019
  * @param data The data for the request.
5013
5020
  * @param data.requestBody Body
5014
5021
  * @returns unknown 200
@@ -5017,7 +5024,7 @@ declare class SocialAccountService {
5017
5024
  socialAccountRefreshChannels(data?: SocialAccountRefreshChannelsData): CancelablePromise<SocialAccountRefreshChannelsResponse>;
5018
5025
  /**
5019
5026
  * Create portal link
5020
- * Create a portal link which can be used to manage connected social accounts
5027
+ * Simplify connect flow. Create a portal link which can be used to manage connected social accounts directly on bundle.social platform without implementing the logic on your side.
5021
5028
  * @param data The data for the request.
5022
5029
  * @param data.requestBody Body
5023
5030
  * @returns unknown 200
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bundlesocial",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "description": "Node.js library for the bundle.social API",
5
5
  "keywords": [
6
6
  "bundle.social",