@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/README.md CHANGED
@@ -297,6 +297,7 @@ All methods below are available on the client. Full request/response documentati
297
297
  | --- | --- | --- |
298
298
  | `sq.reviews.list(query?)` | `GET /reviews` | List reviews |
299
299
  | `sq.reviews.replyTo(reviewId, body)` | `POST /reviews/{review_id}/reply` | Reply to review |
300
+ | `sq.reviews.deleteReply(reviewId)` | `DELETE /reviews/{review_id}/reply` | Delete review reply |
300
301
  | `sq.reviews.sync(body?)` | `POST /reviews/sync` | Sync reviews |
301
302
 
302
303
  ### SEO
@@ -385,6 +386,9 @@ All methods below are available on the client. Full request/response documentati
385
386
  | `sq.social.redditSubredditRules(accountId, subreddit)` | `GET /social/accounts/{account_id}/reddit/subreddits/{subreddit}/rules` | Subreddit rules |
386
387
  | `sq.social.instagramStories(accountId)` | `GET /social/accounts/{account_id}/instagram/stories` | Instagram stories |
387
388
  | `sq.social.facebookPostReactions(accountId, query?)` | `GET /social/accounts/{account_id}/facebook/post-reactions` | Facebook post reactions |
389
+ | `sq.social.instagramStoryInsights(accountId, storyId, query?)` | `GET /social/accounts/{account_id}/instagram/stories/{story_id}/insights` | Instagram story insights |
390
+ | `sq.social.xRetweet(accountId, body)` | `POST /social/accounts/{account_id}/x/retweets` | Retweet on X |
391
+ | `sq.social.xUnretweet(accountId, tweetId)` | `DELETE /social/accounts/{account_id}/x/retweets/{tweet_id}` | Undo retweet |
388
392
 
389
393
  ### URLs
390
394
 
package/dist/index.cjs CHANGED
@@ -691,6 +691,10 @@ var ReviewsResource = class {
691
691
  replyTo(reviewId, body, options) {
692
692
  return this._client.request("POST", `/reviews/${encodeURIComponent(reviewId)}/reply`, { body, options });
693
693
  }
694
+ /** Delete review reply `DELETE /reviews/{review_id}/reply` */
695
+ deleteReply(reviewId, options) {
696
+ return this._client.request("DELETE", `/reviews/${encodeURIComponent(reviewId)}/reply`, { options });
697
+ }
694
698
  /** Sync reviews `POST /reviews/sync` */
695
699
  sync(body, options) {
696
700
  return this._client.request("POST", "/reviews/sync", { body, options });
@@ -998,6 +1002,18 @@ var SocialResource = class {
998
1002
  facebookPostReactions(accountId, query, options) {
999
1003
  return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/facebook/post-reactions`, { query, options });
1000
1004
  }
1005
+ /** Instagram story insights `GET /social/accounts/{account_id}/instagram/stories/{story_id}/insights` */
1006
+ instagramStoryInsights(accountId, storyId, query, options) {
1007
+ return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/instagram/stories/${encodeURIComponent(storyId)}/insights`, { query, options });
1008
+ }
1009
+ /** Retweet on X `POST /social/accounts/{account_id}/x/retweets` */
1010
+ xRetweet(accountId, body, options) {
1011
+ return this._client.request("POST", `/social/accounts/${encodeURIComponent(accountId)}/x/retweets`, { body, options });
1012
+ }
1013
+ /** Undo retweet `DELETE /social/accounts/{account_id}/x/retweets/{tweet_id}` */
1014
+ xUnretweet(accountId, tweetId, options) {
1015
+ return this._client.request("DELETE", `/social/accounts/${encodeURIComponent(accountId)}/x/retweets/${encodeURIComponent(tweetId)}`, { options });
1016
+ }
1001
1017
  };
1002
1018
  var UrlsResource = class {
1003
1019
  constructor(_client) {