@smartlyqofficial/cli 0.1.3 → 0.1.4

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
@@ -282,6 +282,7 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
282
282
  | --- | --- | --- |
283
283
  | `smartlyq reviews list [--query <query>]` | `GET /reviews` | List reviews |
284
284
  | `smartlyq reviews reply-to <review-id> --data <json>` | `POST /reviews/{review_id}/reply` | Reply to review |
285
+ | `smartlyq reviews delete-reply <review-id>` | `DELETE /reviews/{review_id}/reply` | Delete review reply |
285
286
  | `smartlyq reviews sync [--data <json>]` | `POST /reviews/sync` | Sync reviews |
286
287
 
287
288
  ### SEO
@@ -370,6 +371,9 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
370
371
  | `smartlyq social reddit-subreddit-rules <account-id> <subreddit>` | `GET /social/accounts/{account_id}/reddit/subreddits/{subreddit}/rules` | Subreddit rules |
371
372
  | `smartlyq social instagram-stories <account-id>` | `GET /social/accounts/{account_id}/instagram/stories` | Instagram stories |
372
373
  | `smartlyq social facebook-post-reactions <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/facebook/post-reactions` | Facebook post reactions |
374
+ | `smartlyq social instagram-story-insights <account-id> <story-id> [--query <query>]` | `GET /social/accounts/{account_id}/instagram/stories/{story_id}/insights` | Instagram story insights |
375
+ | `smartlyq social x-retweet <account-id> --data <json>` | `POST /social/accounts/{account_id}/x/retweets` | Retweet on X |
376
+ | `smartlyq social x-unretweet <account-id> <tweet-id>` | `DELETE /social/accounts/{account_id}/x/retweets/{tweet_id}` | Undo retweet |
373
377
 
374
378
  ### URLs
375
379
 
package/dist/cli.js CHANGED
@@ -111,6 +111,7 @@ var commands = [
111
111
  { "resourceKey": "profiles", "methodName": "getAccountBilling", "kebabMethod": "get-account-billing", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account billing summary", "httpMethod": "GET", "path": "/me/account-billing" },
112
112
  { "resourceKey": "reviews", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List reviews", "httpMethod": "GET", "path": "/reviews" },
113
113
  { "resourceKey": "reviews", "methodName": "replyTo", "kebabMethod": "reply-to", "pathParams": ["reviewId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Reply to review", "httpMethod": "POST", "path": "/reviews/{review_id}/reply" },
114
+ { "resourceKey": "reviews", "methodName": "deleteReply", "kebabMethod": "delete-reply", "pathParams": ["reviewId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete review reply", "httpMethod": "DELETE", "path": "/reviews/{review_id}/reply" },
114
115
  { "resourceKey": "reviews", "methodName": "sync", "kebabMethod": "sync", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Sync reviews", "httpMethod": "POST", "path": "/reviews/sync" },
115
116
  { "resourceKey": "seo", "methodName": "keywordResearch", "kebabMethod": "keyword-research", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword research", "httpMethod": "POST", "path": "/seo/keyword-research" },
116
117
  { "resourceKey": "seo", "methodName": "serp", "kebabMethod": "serp", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Live SERP lookup", "httpMethod": "POST", "path": "/seo/serp" },
@@ -184,6 +185,9 @@ var commands = [
184
185
  { "resourceKey": "social", "methodName": "redditSubredditRules", "kebabMethod": "reddit-subreddit-rules", "pathParams": ["accountId", "subreddit"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Subreddit rules", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/subreddits/{subreddit}/rules" },
185
186
  { "resourceKey": "social", "methodName": "instagramStories", "kebabMethod": "instagram-stories", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Instagram stories", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/stories" },
186
187
  { "resourceKey": "social", "methodName": "facebookPostReactions", "kebabMethod": "facebook-post-reactions", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Facebook post reactions", "httpMethod": "GET", "path": "/social/accounts/{account_id}/facebook/post-reactions" },
188
+ { "resourceKey": "social", "methodName": "instagramStoryInsights", "kebabMethod": "instagram-story-insights", "pathParams": ["accountId", "storyId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Instagram story insights", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/stories/{story_id}/insights" },
189
+ { "resourceKey": "social", "methodName": "xRetweet", "kebabMethod": "x-retweet", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Retweet on X", "httpMethod": "POST", "path": "/social/accounts/{account_id}/x/retweets" },
190
+ { "resourceKey": "social", "methodName": "xUnretweet", "kebabMethod": "x-unretweet", "pathParams": ["accountId", "tweetId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Undo retweet", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/x/retweets/{tweet_id}" },
187
191
  { "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
188
192
  { "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
189
193
  { "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
@@ -382,7 +386,7 @@ function runLogout() {
382
386
  // package.json
383
387
  var package_default = {
384
388
  name: "@smartlyqofficial/cli",
385
- version: "0.1.3",
389
+ version: "0.1.4",
386
390
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
387
391
  keywords: [
388
392
  "smartlyq",
@@ -432,7 +436,7 @@ var package_default = {
432
436
  prepublishOnly: "npm run build"
433
437
  },
434
438
  dependencies: {
435
- "@smartlyqofficial/node": "^0.1.5",
439
+ "@smartlyqofficial/node": "^0.1.6",
436
440
  commander: "^12.1.0"
437
441
  },
438
442
  devDependencies: {
package/dist/index.cjs CHANGED
@@ -161,6 +161,7 @@ var commands = [
161
161
  { "resourceKey": "profiles", "methodName": "getAccountBilling", "kebabMethod": "get-account-billing", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account billing summary", "httpMethod": "GET", "path": "/me/account-billing" },
162
162
  { "resourceKey": "reviews", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List reviews", "httpMethod": "GET", "path": "/reviews" },
163
163
  { "resourceKey": "reviews", "methodName": "replyTo", "kebabMethod": "reply-to", "pathParams": ["reviewId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Reply to review", "httpMethod": "POST", "path": "/reviews/{review_id}/reply" },
164
+ { "resourceKey": "reviews", "methodName": "deleteReply", "kebabMethod": "delete-reply", "pathParams": ["reviewId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete review reply", "httpMethod": "DELETE", "path": "/reviews/{review_id}/reply" },
164
165
  { "resourceKey": "reviews", "methodName": "sync", "kebabMethod": "sync", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Sync reviews", "httpMethod": "POST", "path": "/reviews/sync" },
165
166
  { "resourceKey": "seo", "methodName": "keywordResearch", "kebabMethod": "keyword-research", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword research", "httpMethod": "POST", "path": "/seo/keyword-research" },
166
167
  { "resourceKey": "seo", "methodName": "serp", "kebabMethod": "serp", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Live SERP lookup", "httpMethod": "POST", "path": "/seo/serp" },
@@ -234,6 +235,9 @@ var commands = [
234
235
  { "resourceKey": "social", "methodName": "redditSubredditRules", "kebabMethod": "reddit-subreddit-rules", "pathParams": ["accountId", "subreddit"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Subreddit rules", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/subreddits/{subreddit}/rules" },
235
236
  { "resourceKey": "social", "methodName": "instagramStories", "kebabMethod": "instagram-stories", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Instagram stories", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/stories" },
236
237
  { "resourceKey": "social", "methodName": "facebookPostReactions", "kebabMethod": "facebook-post-reactions", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Facebook post reactions", "httpMethod": "GET", "path": "/social/accounts/{account_id}/facebook/post-reactions" },
238
+ { "resourceKey": "social", "methodName": "instagramStoryInsights", "kebabMethod": "instagram-story-insights", "pathParams": ["accountId", "storyId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Instagram story insights", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/stories/{story_id}/insights" },
239
+ { "resourceKey": "social", "methodName": "xRetweet", "kebabMethod": "x-retweet", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Retweet on X", "httpMethod": "POST", "path": "/social/accounts/{account_id}/x/retweets" },
240
+ { "resourceKey": "social", "methodName": "xUnretweet", "kebabMethod": "x-unretweet", "pathParams": ["accountId", "tweetId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Undo retweet", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/x/retweets/{tweet_id}" },
237
241
  { "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
238
242
  { "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
239
243
  { "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
@@ -432,7 +436,7 @@ function runLogout() {
432
436
  // package.json
433
437
  var package_default = {
434
438
  name: "@smartlyqofficial/cli",
435
- version: "0.1.3",
439
+ version: "0.1.4",
436
440
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
437
441
  keywords: [
438
442
  "smartlyq",
@@ -482,7 +486,7 @@ var package_default = {
482
486
  prepublishOnly: "npm run build"
483
487
  },
484
488
  dependencies: {
485
- "@smartlyqofficial/node": "^0.1.5",
489
+ "@smartlyqofficial/node": "^0.1.6",
486
490
  commander: "^12.1.0"
487
491
  },
488
492
  devDependencies: {
package/dist/index.js CHANGED
@@ -109,6 +109,7 @@ var commands = [
109
109
  { "resourceKey": "profiles", "methodName": "getAccountBilling", "kebabMethod": "get-account-billing", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account billing summary", "httpMethod": "GET", "path": "/me/account-billing" },
110
110
  { "resourceKey": "reviews", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List reviews", "httpMethod": "GET", "path": "/reviews" },
111
111
  { "resourceKey": "reviews", "methodName": "replyTo", "kebabMethod": "reply-to", "pathParams": ["reviewId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Reply to review", "httpMethod": "POST", "path": "/reviews/{review_id}/reply" },
112
+ { "resourceKey": "reviews", "methodName": "deleteReply", "kebabMethod": "delete-reply", "pathParams": ["reviewId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete review reply", "httpMethod": "DELETE", "path": "/reviews/{review_id}/reply" },
112
113
  { "resourceKey": "reviews", "methodName": "sync", "kebabMethod": "sync", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Sync reviews", "httpMethod": "POST", "path": "/reviews/sync" },
113
114
  { "resourceKey": "seo", "methodName": "keywordResearch", "kebabMethod": "keyword-research", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword research", "httpMethod": "POST", "path": "/seo/keyword-research" },
114
115
  { "resourceKey": "seo", "methodName": "serp", "kebabMethod": "serp", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Live SERP lookup", "httpMethod": "POST", "path": "/seo/serp" },
@@ -182,6 +183,9 @@ var commands = [
182
183
  { "resourceKey": "social", "methodName": "redditSubredditRules", "kebabMethod": "reddit-subreddit-rules", "pathParams": ["accountId", "subreddit"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Subreddit rules", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/subreddits/{subreddit}/rules" },
183
184
  { "resourceKey": "social", "methodName": "instagramStories", "kebabMethod": "instagram-stories", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Instagram stories", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/stories" },
184
185
  { "resourceKey": "social", "methodName": "facebookPostReactions", "kebabMethod": "facebook-post-reactions", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Facebook post reactions", "httpMethod": "GET", "path": "/social/accounts/{account_id}/facebook/post-reactions" },
186
+ { "resourceKey": "social", "methodName": "instagramStoryInsights", "kebabMethod": "instagram-story-insights", "pathParams": ["accountId", "storyId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Instagram story insights", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/stories/{story_id}/insights" },
187
+ { "resourceKey": "social", "methodName": "xRetweet", "kebabMethod": "x-retweet", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Retweet on X", "httpMethod": "POST", "path": "/social/accounts/{account_id}/x/retweets" },
188
+ { "resourceKey": "social", "methodName": "xUnretweet", "kebabMethod": "x-unretweet", "pathParams": ["accountId", "tweetId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Undo retweet", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/x/retweets/{tweet_id}" },
185
189
  { "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
186
190
  { "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
187
191
  { "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
@@ -380,7 +384,7 @@ function runLogout() {
380
384
  // package.json
381
385
  var package_default = {
382
386
  name: "@smartlyqofficial/cli",
383
- version: "0.1.3",
387
+ version: "0.1.4",
384
388
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
385
389
  keywords: [
386
390
  "smartlyq",
@@ -430,7 +434,7 @@ var package_default = {
430
434
  prepublishOnly: "npm run build"
431
435
  },
432
436
  dependencies: {
433
- "@smartlyqofficial/node": "^0.1.5",
437
+ "@smartlyqofficial/node": "^0.1.6",
434
438
  commander: "^12.1.0"
435
439
  },
436
440
  devDependencies: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartlyqofficial/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
5
5
  "keywords": [
6
6
  "smartlyq",
@@ -50,7 +50,7 @@
50
50
  "prepublishOnly": "npm run build"
51
51
  },
52
52
  "dependencies": {
53
- "@smartlyqofficial/node": "^0.1.5",
53
+ "@smartlyqofficial/node": "^0.1.6",
54
54
  "commander": "^12.1.0"
55
55
  },
56
56
  "devDependencies": {