@smartlyqofficial/node 0.1.5 → 0.1.6

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
@@ -633,6 +633,10 @@ var ReviewsResource = class {
633
633
  replyTo(reviewId, body, options) {
634
634
  return this._client.request("POST", `/reviews/${encodeURIComponent(reviewId)}/reply`, { body, options });
635
635
  }
636
+ /** Delete review reply `DELETE /reviews/{review_id}/reply` */
637
+ deleteReply(reviewId, options) {
638
+ return this._client.request("DELETE", `/reviews/${encodeURIComponent(reviewId)}/reply`, { options });
639
+ }
636
640
  /** Sync reviews `POST /reviews/sync` */
637
641
  sync(body, options) {
638
642
  return this._client.request("POST", "/reviews/sync", { body, options });
@@ -940,6 +944,18 @@ var SocialResource = class {
940
944
  facebookPostReactions(accountId, query, options) {
941
945
  return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/facebook/post-reactions`, { query, options });
942
946
  }
947
+ /** Instagram story insights `GET /social/accounts/{account_id}/instagram/stories/{story_id}/insights` */
948
+ instagramStoryInsights(accountId, storyId, query, options) {
949
+ return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/instagram/stories/${encodeURIComponent(storyId)}/insights`, { query, options });
950
+ }
951
+ /** Retweet on X `POST /social/accounts/{account_id}/x/retweets` */
952
+ xRetweet(accountId, body, options) {
953
+ return this._client.request("POST", `/social/accounts/${encodeURIComponent(accountId)}/x/retweets`, { body, options });
954
+ }
955
+ /** Undo retweet `DELETE /social/accounts/{account_id}/x/retweets/{tweet_id}` */
956
+ xUnretweet(accountId, tweetId, options) {
957
+ return this._client.request("DELETE", `/social/accounts/${encodeURIComponent(accountId)}/x/retweets/${encodeURIComponent(tweetId)}`, { options });
958
+ }
943
959
  };
944
960
  var UrlsResource = class {
945
961
  constructor(_client) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartlyqofficial/node",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
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",