@smartlyqofficial/node 0.1.2 → 0.1.3

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.js CHANGED
@@ -649,9 +649,9 @@ var SocialResource = class {
649
649
  deletePost(postId, options) {
650
650
  return this._client.request("DELETE", `/social/posts/${encodeURIComponent(postId)}`, { options });
651
651
  }
652
- /** Disconnect a social account `DELETE /social/accounts/{account_id}` */
653
- disconnectAccount(accountId, options) {
654
- return this._client.request("DELETE", `/social/accounts/${encodeURIComponent(accountId)}`, { options });
652
+ /** Rename account `PATCH /social/accounts/{account_id}` */
653
+ updateAccount(accountId, body, options) {
654
+ return this._client.request("PATCH", `/social/accounts/${encodeURIComponent(accountId)}`, { body, options });
655
655
  }
656
656
  /** Account health `GET /social/accounts/{account_id}/health` */
657
657
  getAccountHealth(accountId, options) {
@@ -721,6 +721,54 @@ var SocialResource = class {
721
721
  validateMedia(body, options) {
722
722
  return this._client.request("POST", "/social/validate/media", { body, options });
723
723
  }
724
+ /** Stop recycling `DELETE /social/posts/{post_id}/recycle` */
725
+ stopPostRecycle(postId, options) {
726
+ return this._client.request("DELETE", `/social/posts/${encodeURIComponent(postId)}/recycle`, { options });
727
+ }
728
+ /** Bulk schedule posts `POST /social/posts/bulk` */
729
+ bulkSchedulePosts(body, options) {
730
+ return this._client.request("POST", "/social/posts/bulk", { body, options });
731
+ }
732
+ /** Validate a bulk batch `POST /social/posts/bulk/validate` */
733
+ validateBulkBatch(body, options) {
734
+ return this._client.request("POST", "/social/posts/bulk/validate", { body, options });
735
+ }
736
+ /** Bulk account health `GET /social/accounts/health` */
737
+ bulkAccountHealth(options) {
738
+ return this._client.request("GET", "/social/accounts/health", { options });
739
+ }
740
+ /** Follower stats `GET /social/accounts/follower-stats` */
741
+ accountFollowerStats(query, options) {
742
+ return this._client.request("GET", "/social/accounts/follower-stats", { query, options });
743
+ }
744
+ /** TikTok creator info `GET /social/accounts/{account_id}/tiktok/creator-info` */
745
+ tiktokCreatorInfo(accountId, options) {
746
+ return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/tiktok/creator-info`, { options });
747
+ }
748
+ /** Move account to profile `POST /social/accounts/{account_id}/move` */
749
+ moveAccount(accountId, body, options) {
750
+ return this._client.request("POST", `/social/accounts/${encodeURIComponent(accountId)}/move`, { body, options });
751
+ }
752
+ /** List account groups `GET /social/account-groups` */
753
+ listAccountGroups(options) {
754
+ return this._client.request("GET", "/social/account-groups", { options });
755
+ }
756
+ /** Create account group `POST /social/account-groups` */
757
+ createAccountGroup(body, options) {
758
+ return this._client.request("POST", "/social/account-groups", { body, options });
759
+ }
760
+ /** Get account group `GET /social/account-groups/{group_id}` */
761
+ getAccountGroup(groupId, options) {
762
+ return this._client.request("GET", `/social/account-groups/${encodeURIComponent(groupId)}`, { options });
763
+ }
764
+ /** Update account group `PUT /social/account-groups/{group_id}` */
765
+ updateAccountGroup(groupId, body, options) {
766
+ return this._client.request("PUT", `/social/account-groups/${encodeURIComponent(groupId)}`, { body, options });
767
+ }
768
+ /** Delete account group `DELETE /social/account-groups/{group_id}` */
769
+ deleteAccountGroup(groupId, options) {
770
+ return this._client.request("DELETE", `/social/account-groups/${encodeURIComponent(groupId)}`, { options });
771
+ }
724
772
  };
725
773
  var UrlsResource = class {
726
774
  constructor(_client) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartlyqofficial/node",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Official Node.js SDK for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
5
5
  "keywords": [
6
6
  "smartlyq",