@smartlyqofficial/cli 0.1.2 → 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
@@ -106,6 +106,13 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
106
106
  | `smartlyq analytics content-decay [--query <query>]` | `GET /analytics/content-decay` | Content decay |
107
107
  | `smartlyq analytics posting-frequency [--query <query>]` | `GET /analytics/posting-frequency` | Posting frequency vs engagement |
108
108
  | `smartlyq analytics post-timeline <post-id>` | `GET /analytics/posts/{post_id}/timeline` | Post metric timeline |
109
+ | `smartlyq analytics inbox-volume [--query <query>]` | `GET /analytics/inbox/volume` | Inbox volume |
110
+ | `smartlyq analytics inbox-heatmap [--query <query>]` | `GET /analytics/inbox/heatmap` | Inbox heatmap |
111
+ | `smartlyq analytics inbox-source-breakdown [--query <query>]` | `GET /analytics/inbox/source-breakdown` | Inbox source breakdown |
112
+ | `smartlyq analytics inbox-response-time [--query <query>]` | `GET /analytics/inbox/response-time` | Inbox response time |
113
+ | `smartlyq analytics inbox-top-accounts [--query <query>]` | `GET /analytics/inbox/top-accounts` | Inbox top accounts |
114
+ | `smartlyq analytics inbox-conversations [--query <query>]` | `GET /analytics/inbox/conversations` | Inbox conversation stats |
115
+ | `smartlyq analytics inbox-conversation-detail <conversation-id>` | `GET /analytics/inbox/conversations/{conversation_id}` | Conversation analytics |
109
116
 
110
117
  ### Articles
111
118
 
@@ -124,6 +131,18 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
124
131
  | `smartlyq audio speech-to-text --data <json>` | `POST /audio/speech-to-text` | Speech to text |
125
132
  | `smartlyq audio get <audio-id>` | `GET /audio/{audio_id}` | Get audio |
126
133
 
134
+ ### Automations
135
+
136
+ | Command | Endpoint | Description |
137
+ | --- | --- | --- |
138
+ | `smartlyq automations list [--query <query>]` | `GET /automations` | List automations |
139
+ | `smartlyq automations get <automation-id>` | `GET /automations/{automation_id}` | Get automation |
140
+ | `smartlyq automations activate <automation-id>` | `POST /automations/{automation_id}/activate` | Activate automation |
141
+ | `smartlyq automations deactivate <automation-id>` | `POST /automations/{automation_id}/deactivate` | Pause automation |
142
+ | `smartlyq automations trigger <automation-id> [--data <json>]` | `POST /automations/{automation_id}/trigger` | Trigger automation |
143
+ | `smartlyq automations list-runs <automation-id> [--query <query>]` | `GET /automations/{automation_id}/runs` | List runs |
144
+ | `smartlyq automations get-run <automation-id> <run-id>` | `GET /automations/{automation_id}/runs/{run_id}` | Get run |
145
+
127
146
  ### Chatbot
128
147
 
129
148
  | Command | Endpoint | Description |
@@ -155,6 +174,13 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
155
174
  | `smartlyq content rewrite --data <json>` | `POST /content/rewrite` | Rewrite content |
156
175
  | `smartlyq content generate-caption [--data <json>]` | `POST /content/caption` | Generate a social caption |
157
176
 
177
+ ### CRM
178
+
179
+ | Command | Endpoint | Description |
180
+ | --- | --- | --- |
181
+ | `smartlyq crm delete-contact <id>` | `DELETE /contacts/{id}` | Delete contact |
182
+ | `smartlyq crm bulk-import-contacts --data <json>` | `POST /contacts/bulk` | Bulk import contacts |
183
+
158
184
  ### CRM Contacts
159
185
 
160
186
  | Command | Endpoint | Description |
@@ -250,6 +276,15 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
250
276
  | `smartlyq profiles create-connect-url <id> <platform> [--data <json>]` | `POST /profiles/{id}/connect/{platform}` | Get a raw connect URL for one platform |
251
277
  | `smartlyq profiles get-account-billing` | `GET /me/account-billing` | Account billing summary |
252
278
 
279
+ ### Reviews
280
+
281
+ | Command | Endpoint | Description |
282
+ | --- | --- | --- |
283
+ | `smartlyq reviews list [--query <query>]` | `GET /reviews` | List reviews |
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 |
286
+ | `smartlyq reviews sync [--data <json>]` | `POST /reviews/sync` | Sync reviews |
287
+
253
288
  ### SEO
254
289
 
255
290
  | Command | Endpoint | Description |
@@ -292,6 +327,7 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
292
327
  | `smartlyq social update-post <post-id> --data <json>` | `PATCH /social/posts/{post_id}` | Update social post |
293
328
  | `smartlyq social delete-post <post-id>` | `DELETE /social/posts/{post_id}` | Delete social post |
294
329
  | `smartlyq social update-account <account-id> --data <json>` | `PATCH /social/accounts/{account_id}` | Rename account |
330
+ | `smartlyq social disconnect-account <account-id>` | `DELETE /social/accounts/{account_id}` | Disconnect a social account |
295
331
  | `smartlyq social get-account-health <account-id>` | `GET /social/accounts/{account_id}/health` | Account health |
296
332
  | `smartlyq social get-account-reconnect-url <account-id>` | `GET /social/accounts/{account_id}/reconnect-url` | Account reconnect URL |
297
333
  | `smartlyq social pause-account <account-id>` | `POST /social/accounts/{account_id}/pause` | Pause posting to an account |
@@ -321,6 +357,23 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
321
357
  | `smartlyq social get-account-group <group-id>` | `GET /social/account-groups/{group_id}` | Get account group |
322
358
  | `smartlyq social update-account-group <group-id> --data <json>` | `PUT /social/account-groups/{group_id}` | Update account group |
323
359
  | `smartlyq social delete-account-group <group-id>` | `DELETE /social/account-groups/{group_id}` | Delete account group |
360
+ | `smartlyq social get-conversation <conversation-id>` | `GET /social/conversations/{conversation_id}` | Get conversation |
361
+ | `smartlyq social update-conversation <conversation-id> --data <json>` | `PATCH /social/conversations/{conversation_id}` | Archive / reopen conversation |
362
+ | `smartlyq social search-conversations [--query <query>]` | `GET /social/conversations/search` | Search conversations |
363
+ | `smartlyq social pinterest-boards <account-id>` | `GET /social/accounts/{account_id}/pinterest/boards` | Pinterest boards |
364
+ | `smartlyq social youtube-playlists <account-id>` | `GET /social/accounts/{account_id}/youtube/playlists` | YouTube playlists |
365
+ | `smartlyq social instagram-publishing-limit <account-id>` | `GET /social/accounts/{account_id}/instagram/publishing-limit` | Instagram publishing limit |
366
+ | `smartlyq social gmb-performance <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/gmb/performance` | Google Business performance |
367
+ | `smartlyq social gmb-search-keywords <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/gmb/search-keywords` | Google Business search keywords |
368
+ | `smartlyq social reddit-search <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/reddit/search` | Reddit search |
369
+ | `smartlyq social reddit-feed <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/reddit/feed` | Reddit feed |
370
+ | `smartlyq social reddit-subreddits <account-id>` | `GET /social/accounts/{account_id}/reddit/subreddits` | Subscribed subreddits |
371
+ | `smartlyq social reddit-subreddit-rules <account-id> <subreddit>` | `GET /social/accounts/{account_id}/reddit/subreddits/{subreddit}/rules` | Subreddit rules |
372
+ | `smartlyq social instagram-stories <account-id>` | `GET /social/accounts/{account_id}/instagram/stories` | Instagram stories |
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 |
324
377
 
325
378
  ### URLs
326
379
 
package/dist/cli.js CHANGED
@@ -20,6 +20,13 @@ var commands = [
20
20
  { "resourceKey": "analytics", "methodName": "contentDecay", "kebabMethod": "content-decay", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Content decay", "httpMethod": "GET", "path": "/analytics/content-decay" },
21
21
  { "resourceKey": "analytics", "methodName": "postingFrequency", "kebabMethod": "posting-frequency", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Posting frequency vs engagement", "httpMethod": "GET", "path": "/analytics/posting-frequency" },
22
22
  { "resourceKey": "analytics", "methodName": "postTimeline", "kebabMethod": "post-timeline", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Post metric timeline", "httpMethod": "GET", "path": "/analytics/posts/{post_id}/timeline" },
23
+ { "resourceKey": "analytics", "methodName": "inboxVolume", "kebabMethod": "inbox-volume", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox volume", "httpMethod": "GET", "path": "/analytics/inbox/volume" },
24
+ { "resourceKey": "analytics", "methodName": "inboxHeatmap", "kebabMethod": "inbox-heatmap", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox heatmap", "httpMethod": "GET", "path": "/analytics/inbox/heatmap" },
25
+ { "resourceKey": "analytics", "methodName": "inboxSourceBreakdown", "kebabMethod": "inbox-source-breakdown", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox source breakdown", "httpMethod": "GET", "path": "/analytics/inbox/source-breakdown" },
26
+ { "resourceKey": "analytics", "methodName": "inboxResponseTime", "kebabMethod": "inbox-response-time", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox response time", "httpMethod": "GET", "path": "/analytics/inbox/response-time" },
27
+ { "resourceKey": "analytics", "methodName": "inboxTopAccounts", "kebabMethod": "inbox-top-accounts", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox top accounts", "httpMethod": "GET", "path": "/analytics/inbox/top-accounts" },
28
+ { "resourceKey": "analytics", "methodName": "inboxConversations", "kebabMethod": "inbox-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox conversation stats", "httpMethod": "GET", "path": "/analytics/inbox/conversations" },
29
+ { "resourceKey": "analytics", "methodName": "inboxConversationDetail", "kebabMethod": "inbox-conversation-detail", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Conversation analytics", "httpMethod": "GET", "path": "/analytics/inbox/conversations/{conversation_id}" },
23
30
  { "resourceKey": "articles", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate article", "httpMethod": "POST", "path": "/articles/generate" },
24
31
  { "resourceKey": "articles", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List articles", "httpMethod": "GET", "path": "/articles" },
25
32
  { "resourceKey": "articles", "methodName": "get", "kebabMethod": "get", "pathParams": ["articleId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get article", "httpMethod": "GET", "path": "/articles/{article_id}" },
@@ -27,6 +34,13 @@ var commands = [
27
34
  { "resourceKey": "audio", "methodName": "textToSpeech", "kebabMethod": "text-to-speech", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Text to speech", "httpMethod": "POST", "path": "/audio/text-to-speech" },
28
35
  { "resourceKey": "audio", "methodName": "speechToText", "kebabMethod": "speech-to-text", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Speech to text", "httpMethod": "POST", "path": "/audio/speech-to-text" },
29
36
  { "resourceKey": "audio", "methodName": "get", "kebabMethod": "get", "pathParams": ["audioId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get audio", "httpMethod": "GET", "path": "/audio/{audio_id}" },
37
+ { "resourceKey": "automations", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List automations", "httpMethod": "GET", "path": "/automations" },
38
+ { "resourceKey": "automations", "methodName": "get", "kebabMethod": "get", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get automation", "httpMethod": "GET", "path": "/automations/{automation_id}" },
39
+ { "resourceKey": "automations", "methodName": "activate", "kebabMethod": "activate", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Activate automation", "httpMethod": "POST", "path": "/automations/{automation_id}/activate" },
40
+ { "resourceKey": "automations", "methodName": "deactivate", "kebabMethod": "deactivate", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pause automation", "httpMethod": "POST", "path": "/automations/{automation_id}/deactivate" },
41
+ { "resourceKey": "automations", "methodName": "trigger", "kebabMethod": "trigger", "pathParams": ["automationId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Trigger automation", "httpMethod": "POST", "path": "/automations/{automation_id}/trigger" },
42
+ { "resourceKey": "automations", "methodName": "listRuns", "kebabMethod": "list-runs", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List runs", "httpMethod": "GET", "path": "/automations/{automation_id}/runs" },
43
+ { "resourceKey": "automations", "methodName": "getRun", "kebabMethod": "get-run", "pathParams": ["automationId", "runId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get run", "httpMethod": "GET", "path": "/automations/{automation_id}/runs/{run_id}" },
30
44
  { "resourceKey": "chatbots", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List chatbots", "httpMethod": "GET", "path": "/chatbots" },
31
45
  { "resourceKey": "chatbots", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create chatbot", "httpMethod": "POST", "path": "/chatbots" },
32
46
  { "resourceKey": "chatbots", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get chatbot", "httpMethod": "GET", "path": "/chatbots/{id}" },
@@ -43,6 +57,8 @@ var commands = [
43
57
  { "resourceKey": "comments", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["commentId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete a comment", "httpMethod": "DELETE", "path": "/social/comments/{comment_id}" },
44
58
  { "resourceKey": "content", "methodName": "rewrite", "kebabMethod": "rewrite", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rewrite content", "httpMethod": "POST", "path": "/content/rewrite" },
45
59
  { "resourceKey": "content", "methodName": "generateCaption", "kebabMethod": "generate-caption", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Generate a social caption", "httpMethod": "POST", "path": "/content/caption" },
60
+ { "resourceKey": "crm", "methodName": "deleteContact", "kebabMethod": "delete-contact", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete contact", "httpMethod": "DELETE", "path": "/contacts/{id}" },
61
+ { "resourceKey": "crm", "methodName": "bulkImportContacts", "kebabMethod": "bulk-import-contacts", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk import contacts", "httpMethod": "POST", "path": "/contacts/bulk" },
46
62
  { "resourceKey": "contacts", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List contacts", "httpMethod": "GET", "path": "/contacts" },
47
63
  { "resourceKey": "contacts", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create or upsert a contact", "httpMethod": "POST", "path": "/contacts" },
48
64
  { "resourceKey": "contacts", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get a contact", "httpMethod": "GET", "path": "/contacts/{id}" },
@@ -93,6 +109,10 @@ var commands = [
93
109
  { "resourceKey": "profiles", "methodName": "createConnectLink", "kebabMethod": "create-connect-link", "pathParams": ["id"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Create a hosted connect link", "httpMethod": "POST", "path": "/profiles/{id}/connect-link" },
94
110
  { "resourceKey": "profiles", "methodName": "createConnectUrl", "kebabMethod": "create-connect-url", "pathParams": ["id", "platform"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Get a raw connect URL for one platform", "httpMethod": "POST", "path": "/profiles/{id}/connect/{platform}" },
95
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
+ { "resourceKey": "reviews", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List reviews", "httpMethod": "GET", "path": "/reviews" },
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" },
115
+ { "resourceKey": "reviews", "methodName": "sync", "kebabMethod": "sync", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Sync reviews", "httpMethod": "POST", "path": "/reviews/sync" },
96
116
  { "resourceKey": "seo", "methodName": "keywordResearch", "kebabMethod": "keyword-research", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword research", "httpMethod": "POST", "path": "/seo/keyword-research" },
97
117
  { "resourceKey": "seo", "methodName": "serp", "kebabMethod": "serp", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Live SERP lookup", "httpMethod": "POST", "path": "/seo/serp" },
98
118
  { "resourceKey": "seo", "methodName": "keywordDifficulty", "kebabMethod": "keyword-difficulty", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword difficulty", "httpMethod": "POST", "path": "/seo/keyword-difficulty" },
@@ -121,6 +141,7 @@ var commands = [
121
141
  { "resourceKey": "social", "methodName": "updatePost", "kebabMethod": "update-post", "pathParams": ["postId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update social post", "httpMethod": "PATCH", "path": "/social/posts/{post_id}" },
122
142
  { "resourceKey": "social", "methodName": "deletePost", "kebabMethod": "delete-post", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete social post", "httpMethod": "DELETE", "path": "/social/posts/{post_id}" },
123
143
  { "resourceKey": "social", "methodName": "updateAccount", "kebabMethod": "update-account", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rename account", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}" },
144
+ { "resourceKey": "social", "methodName": "disconnectAccount", "kebabMethod": "disconnect-account", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Disconnect a social account", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}" },
124
145
  { "resourceKey": "social", "methodName": "getAccountHealth", "kebabMethod": "get-account-health", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account health", "httpMethod": "GET", "path": "/social/accounts/{account_id}/health" },
125
146
  { "resourceKey": "social", "methodName": "getAccountReconnectUrl", "kebabMethod": "get-account-reconnect-url", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account reconnect URL", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reconnect-url" },
126
147
  { "resourceKey": "social", "methodName": "pauseAccount", "kebabMethod": "pause-account", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pause posting to an account", "httpMethod": "POST", "path": "/social/accounts/{account_id}/pause" },
@@ -150,6 +171,23 @@ var commands = [
150
171
  { "resourceKey": "social", "methodName": "getAccountGroup", "kebabMethod": "get-account-group", "pathParams": ["groupId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get account group", "httpMethod": "GET", "path": "/social/account-groups/{group_id}" },
151
172
  { "resourceKey": "social", "methodName": "updateAccountGroup", "kebabMethod": "update-account-group", "pathParams": ["groupId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update account group", "httpMethod": "PUT", "path": "/social/account-groups/{group_id}" },
152
173
  { "resourceKey": "social", "methodName": "deleteAccountGroup", "kebabMethod": "delete-account-group", "pathParams": ["groupId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete account group", "httpMethod": "DELETE", "path": "/social/account-groups/{group_id}" },
174
+ { "resourceKey": "social", "methodName": "getConversation", "kebabMethod": "get-conversation", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get conversation", "httpMethod": "GET", "path": "/social/conversations/{conversation_id}" },
175
+ { "resourceKey": "social", "methodName": "updateConversation", "kebabMethod": "update-conversation", "pathParams": ["conversationId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Archive / reopen conversation", "httpMethod": "PATCH", "path": "/social/conversations/{conversation_id}" },
176
+ { "resourceKey": "social", "methodName": "searchConversations", "kebabMethod": "search-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Search conversations", "httpMethod": "GET", "path": "/social/conversations/search" },
177
+ { "resourceKey": "social", "methodName": "pinterestBoards", "kebabMethod": "pinterest-boards", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pinterest boards", "httpMethod": "GET", "path": "/social/accounts/{account_id}/pinterest/boards" },
178
+ { "resourceKey": "social", "methodName": "youtubePlaylists", "kebabMethod": "youtube-playlists", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "YouTube playlists", "httpMethod": "GET", "path": "/social/accounts/{account_id}/youtube/playlists" },
179
+ { "resourceKey": "social", "methodName": "instagramPublishingLimit", "kebabMethod": "instagram-publishing-limit", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Instagram publishing limit", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/publishing-limit" },
180
+ { "resourceKey": "social", "methodName": "gmbPerformance", "kebabMethod": "gmb-performance", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Google Business performance", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/performance" },
181
+ { "resourceKey": "social", "methodName": "gmbSearchKeywords", "kebabMethod": "gmb-search-keywords", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Google Business search keywords", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/search-keywords" },
182
+ { "resourceKey": "social", "methodName": "redditSearch", "kebabMethod": "reddit-search", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Reddit search", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/search" },
183
+ { "resourceKey": "social", "methodName": "redditFeed", "kebabMethod": "reddit-feed", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Reddit feed", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/feed" },
184
+ { "resourceKey": "social", "methodName": "redditSubreddits", "kebabMethod": "reddit-subreddits", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Subscribed subreddits", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/subreddits" },
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" },
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" },
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}" },
153
191
  { "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
154
192
  { "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
155
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}" },
@@ -348,7 +386,7 @@ function runLogout() {
348
386
  // package.json
349
387
  var package_default = {
350
388
  name: "@smartlyqofficial/cli",
351
- version: "0.1.2",
389
+ version: "0.1.4",
352
390
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
353
391
  keywords: [
354
392
  "smartlyq",
@@ -398,7 +436,7 @@ var package_default = {
398
436
  prepublishOnly: "npm run build"
399
437
  },
400
438
  dependencies: {
401
- "@smartlyqofficial/node": "^0.1.4",
439
+ "@smartlyqofficial/node": "^0.1.6",
402
440
  commander: "^12.1.0"
403
441
  },
404
442
  devDependencies: {
package/dist/index.cjs CHANGED
@@ -70,6 +70,13 @@ var commands = [
70
70
  { "resourceKey": "analytics", "methodName": "contentDecay", "kebabMethod": "content-decay", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Content decay", "httpMethod": "GET", "path": "/analytics/content-decay" },
71
71
  { "resourceKey": "analytics", "methodName": "postingFrequency", "kebabMethod": "posting-frequency", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Posting frequency vs engagement", "httpMethod": "GET", "path": "/analytics/posting-frequency" },
72
72
  { "resourceKey": "analytics", "methodName": "postTimeline", "kebabMethod": "post-timeline", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Post metric timeline", "httpMethod": "GET", "path": "/analytics/posts/{post_id}/timeline" },
73
+ { "resourceKey": "analytics", "methodName": "inboxVolume", "kebabMethod": "inbox-volume", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox volume", "httpMethod": "GET", "path": "/analytics/inbox/volume" },
74
+ { "resourceKey": "analytics", "methodName": "inboxHeatmap", "kebabMethod": "inbox-heatmap", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox heatmap", "httpMethod": "GET", "path": "/analytics/inbox/heatmap" },
75
+ { "resourceKey": "analytics", "methodName": "inboxSourceBreakdown", "kebabMethod": "inbox-source-breakdown", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox source breakdown", "httpMethod": "GET", "path": "/analytics/inbox/source-breakdown" },
76
+ { "resourceKey": "analytics", "methodName": "inboxResponseTime", "kebabMethod": "inbox-response-time", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox response time", "httpMethod": "GET", "path": "/analytics/inbox/response-time" },
77
+ { "resourceKey": "analytics", "methodName": "inboxTopAccounts", "kebabMethod": "inbox-top-accounts", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox top accounts", "httpMethod": "GET", "path": "/analytics/inbox/top-accounts" },
78
+ { "resourceKey": "analytics", "methodName": "inboxConversations", "kebabMethod": "inbox-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox conversation stats", "httpMethod": "GET", "path": "/analytics/inbox/conversations" },
79
+ { "resourceKey": "analytics", "methodName": "inboxConversationDetail", "kebabMethod": "inbox-conversation-detail", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Conversation analytics", "httpMethod": "GET", "path": "/analytics/inbox/conversations/{conversation_id}" },
73
80
  { "resourceKey": "articles", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate article", "httpMethod": "POST", "path": "/articles/generate" },
74
81
  { "resourceKey": "articles", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List articles", "httpMethod": "GET", "path": "/articles" },
75
82
  { "resourceKey": "articles", "methodName": "get", "kebabMethod": "get", "pathParams": ["articleId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get article", "httpMethod": "GET", "path": "/articles/{article_id}" },
@@ -77,6 +84,13 @@ var commands = [
77
84
  { "resourceKey": "audio", "methodName": "textToSpeech", "kebabMethod": "text-to-speech", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Text to speech", "httpMethod": "POST", "path": "/audio/text-to-speech" },
78
85
  { "resourceKey": "audio", "methodName": "speechToText", "kebabMethod": "speech-to-text", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Speech to text", "httpMethod": "POST", "path": "/audio/speech-to-text" },
79
86
  { "resourceKey": "audio", "methodName": "get", "kebabMethod": "get", "pathParams": ["audioId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get audio", "httpMethod": "GET", "path": "/audio/{audio_id}" },
87
+ { "resourceKey": "automations", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List automations", "httpMethod": "GET", "path": "/automations" },
88
+ { "resourceKey": "automations", "methodName": "get", "kebabMethod": "get", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get automation", "httpMethod": "GET", "path": "/automations/{automation_id}" },
89
+ { "resourceKey": "automations", "methodName": "activate", "kebabMethod": "activate", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Activate automation", "httpMethod": "POST", "path": "/automations/{automation_id}/activate" },
90
+ { "resourceKey": "automations", "methodName": "deactivate", "kebabMethod": "deactivate", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pause automation", "httpMethod": "POST", "path": "/automations/{automation_id}/deactivate" },
91
+ { "resourceKey": "automations", "methodName": "trigger", "kebabMethod": "trigger", "pathParams": ["automationId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Trigger automation", "httpMethod": "POST", "path": "/automations/{automation_id}/trigger" },
92
+ { "resourceKey": "automations", "methodName": "listRuns", "kebabMethod": "list-runs", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List runs", "httpMethod": "GET", "path": "/automations/{automation_id}/runs" },
93
+ { "resourceKey": "automations", "methodName": "getRun", "kebabMethod": "get-run", "pathParams": ["automationId", "runId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get run", "httpMethod": "GET", "path": "/automations/{automation_id}/runs/{run_id}" },
80
94
  { "resourceKey": "chatbots", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List chatbots", "httpMethod": "GET", "path": "/chatbots" },
81
95
  { "resourceKey": "chatbots", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create chatbot", "httpMethod": "POST", "path": "/chatbots" },
82
96
  { "resourceKey": "chatbots", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get chatbot", "httpMethod": "GET", "path": "/chatbots/{id}" },
@@ -93,6 +107,8 @@ var commands = [
93
107
  { "resourceKey": "comments", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["commentId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete a comment", "httpMethod": "DELETE", "path": "/social/comments/{comment_id}" },
94
108
  { "resourceKey": "content", "methodName": "rewrite", "kebabMethod": "rewrite", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rewrite content", "httpMethod": "POST", "path": "/content/rewrite" },
95
109
  { "resourceKey": "content", "methodName": "generateCaption", "kebabMethod": "generate-caption", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Generate a social caption", "httpMethod": "POST", "path": "/content/caption" },
110
+ { "resourceKey": "crm", "methodName": "deleteContact", "kebabMethod": "delete-contact", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete contact", "httpMethod": "DELETE", "path": "/contacts/{id}" },
111
+ { "resourceKey": "crm", "methodName": "bulkImportContacts", "kebabMethod": "bulk-import-contacts", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk import contacts", "httpMethod": "POST", "path": "/contacts/bulk" },
96
112
  { "resourceKey": "contacts", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List contacts", "httpMethod": "GET", "path": "/contacts" },
97
113
  { "resourceKey": "contacts", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create or upsert a contact", "httpMethod": "POST", "path": "/contacts" },
98
114
  { "resourceKey": "contacts", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get a contact", "httpMethod": "GET", "path": "/contacts/{id}" },
@@ -143,6 +159,10 @@ var commands = [
143
159
  { "resourceKey": "profiles", "methodName": "createConnectLink", "kebabMethod": "create-connect-link", "pathParams": ["id"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Create a hosted connect link", "httpMethod": "POST", "path": "/profiles/{id}/connect-link" },
144
160
  { "resourceKey": "profiles", "methodName": "createConnectUrl", "kebabMethod": "create-connect-url", "pathParams": ["id", "platform"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Get a raw connect URL for one platform", "httpMethod": "POST", "path": "/profiles/{id}/connect/{platform}" },
145
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
+ { "resourceKey": "reviews", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List reviews", "httpMethod": "GET", "path": "/reviews" },
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" },
165
+ { "resourceKey": "reviews", "methodName": "sync", "kebabMethod": "sync", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Sync reviews", "httpMethod": "POST", "path": "/reviews/sync" },
146
166
  { "resourceKey": "seo", "methodName": "keywordResearch", "kebabMethod": "keyword-research", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword research", "httpMethod": "POST", "path": "/seo/keyword-research" },
147
167
  { "resourceKey": "seo", "methodName": "serp", "kebabMethod": "serp", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Live SERP lookup", "httpMethod": "POST", "path": "/seo/serp" },
148
168
  { "resourceKey": "seo", "methodName": "keywordDifficulty", "kebabMethod": "keyword-difficulty", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword difficulty", "httpMethod": "POST", "path": "/seo/keyword-difficulty" },
@@ -171,6 +191,7 @@ var commands = [
171
191
  { "resourceKey": "social", "methodName": "updatePost", "kebabMethod": "update-post", "pathParams": ["postId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update social post", "httpMethod": "PATCH", "path": "/social/posts/{post_id}" },
172
192
  { "resourceKey": "social", "methodName": "deletePost", "kebabMethod": "delete-post", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete social post", "httpMethod": "DELETE", "path": "/social/posts/{post_id}" },
173
193
  { "resourceKey": "social", "methodName": "updateAccount", "kebabMethod": "update-account", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rename account", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}" },
194
+ { "resourceKey": "social", "methodName": "disconnectAccount", "kebabMethod": "disconnect-account", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Disconnect a social account", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}" },
174
195
  { "resourceKey": "social", "methodName": "getAccountHealth", "kebabMethod": "get-account-health", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account health", "httpMethod": "GET", "path": "/social/accounts/{account_id}/health" },
175
196
  { "resourceKey": "social", "methodName": "getAccountReconnectUrl", "kebabMethod": "get-account-reconnect-url", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account reconnect URL", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reconnect-url" },
176
197
  { "resourceKey": "social", "methodName": "pauseAccount", "kebabMethod": "pause-account", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pause posting to an account", "httpMethod": "POST", "path": "/social/accounts/{account_id}/pause" },
@@ -200,6 +221,23 @@ var commands = [
200
221
  { "resourceKey": "social", "methodName": "getAccountGroup", "kebabMethod": "get-account-group", "pathParams": ["groupId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get account group", "httpMethod": "GET", "path": "/social/account-groups/{group_id}" },
201
222
  { "resourceKey": "social", "methodName": "updateAccountGroup", "kebabMethod": "update-account-group", "pathParams": ["groupId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update account group", "httpMethod": "PUT", "path": "/social/account-groups/{group_id}" },
202
223
  { "resourceKey": "social", "methodName": "deleteAccountGroup", "kebabMethod": "delete-account-group", "pathParams": ["groupId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete account group", "httpMethod": "DELETE", "path": "/social/account-groups/{group_id}" },
224
+ { "resourceKey": "social", "methodName": "getConversation", "kebabMethod": "get-conversation", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get conversation", "httpMethod": "GET", "path": "/social/conversations/{conversation_id}" },
225
+ { "resourceKey": "social", "methodName": "updateConversation", "kebabMethod": "update-conversation", "pathParams": ["conversationId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Archive / reopen conversation", "httpMethod": "PATCH", "path": "/social/conversations/{conversation_id}" },
226
+ { "resourceKey": "social", "methodName": "searchConversations", "kebabMethod": "search-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Search conversations", "httpMethod": "GET", "path": "/social/conversations/search" },
227
+ { "resourceKey": "social", "methodName": "pinterestBoards", "kebabMethod": "pinterest-boards", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pinterest boards", "httpMethod": "GET", "path": "/social/accounts/{account_id}/pinterest/boards" },
228
+ { "resourceKey": "social", "methodName": "youtubePlaylists", "kebabMethod": "youtube-playlists", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "YouTube playlists", "httpMethod": "GET", "path": "/social/accounts/{account_id}/youtube/playlists" },
229
+ { "resourceKey": "social", "methodName": "instagramPublishingLimit", "kebabMethod": "instagram-publishing-limit", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Instagram publishing limit", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/publishing-limit" },
230
+ { "resourceKey": "social", "methodName": "gmbPerformance", "kebabMethod": "gmb-performance", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Google Business performance", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/performance" },
231
+ { "resourceKey": "social", "methodName": "gmbSearchKeywords", "kebabMethod": "gmb-search-keywords", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Google Business search keywords", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/search-keywords" },
232
+ { "resourceKey": "social", "methodName": "redditSearch", "kebabMethod": "reddit-search", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Reddit search", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/search" },
233
+ { "resourceKey": "social", "methodName": "redditFeed", "kebabMethod": "reddit-feed", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Reddit feed", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/feed" },
234
+ { "resourceKey": "social", "methodName": "redditSubreddits", "kebabMethod": "reddit-subreddits", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Subscribed subreddits", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/subreddits" },
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" },
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" },
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}" },
203
241
  { "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
204
242
  { "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
205
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}" },
@@ -398,7 +436,7 @@ function runLogout() {
398
436
  // package.json
399
437
  var package_default = {
400
438
  name: "@smartlyqofficial/cli",
401
- version: "0.1.2",
439
+ version: "0.1.4",
402
440
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
403
441
  keywords: [
404
442
  "smartlyq",
@@ -448,7 +486,7 @@ var package_default = {
448
486
  prepublishOnly: "npm run build"
449
487
  },
450
488
  dependencies: {
451
- "@smartlyqofficial/node": "^0.1.4",
489
+ "@smartlyqofficial/node": "^0.1.6",
452
490
  commander: "^12.1.0"
453
491
  },
454
492
  devDependencies: {
package/dist/index.js CHANGED
@@ -18,6 +18,13 @@ var commands = [
18
18
  { "resourceKey": "analytics", "methodName": "contentDecay", "kebabMethod": "content-decay", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Content decay", "httpMethod": "GET", "path": "/analytics/content-decay" },
19
19
  { "resourceKey": "analytics", "methodName": "postingFrequency", "kebabMethod": "posting-frequency", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Posting frequency vs engagement", "httpMethod": "GET", "path": "/analytics/posting-frequency" },
20
20
  { "resourceKey": "analytics", "methodName": "postTimeline", "kebabMethod": "post-timeline", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Post metric timeline", "httpMethod": "GET", "path": "/analytics/posts/{post_id}/timeline" },
21
+ { "resourceKey": "analytics", "methodName": "inboxVolume", "kebabMethod": "inbox-volume", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox volume", "httpMethod": "GET", "path": "/analytics/inbox/volume" },
22
+ { "resourceKey": "analytics", "methodName": "inboxHeatmap", "kebabMethod": "inbox-heatmap", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox heatmap", "httpMethod": "GET", "path": "/analytics/inbox/heatmap" },
23
+ { "resourceKey": "analytics", "methodName": "inboxSourceBreakdown", "kebabMethod": "inbox-source-breakdown", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox source breakdown", "httpMethod": "GET", "path": "/analytics/inbox/source-breakdown" },
24
+ { "resourceKey": "analytics", "methodName": "inboxResponseTime", "kebabMethod": "inbox-response-time", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox response time", "httpMethod": "GET", "path": "/analytics/inbox/response-time" },
25
+ { "resourceKey": "analytics", "methodName": "inboxTopAccounts", "kebabMethod": "inbox-top-accounts", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox top accounts", "httpMethod": "GET", "path": "/analytics/inbox/top-accounts" },
26
+ { "resourceKey": "analytics", "methodName": "inboxConversations", "kebabMethod": "inbox-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox conversation stats", "httpMethod": "GET", "path": "/analytics/inbox/conversations" },
27
+ { "resourceKey": "analytics", "methodName": "inboxConversationDetail", "kebabMethod": "inbox-conversation-detail", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Conversation analytics", "httpMethod": "GET", "path": "/analytics/inbox/conversations/{conversation_id}" },
21
28
  { "resourceKey": "articles", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate article", "httpMethod": "POST", "path": "/articles/generate" },
22
29
  { "resourceKey": "articles", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List articles", "httpMethod": "GET", "path": "/articles" },
23
30
  { "resourceKey": "articles", "methodName": "get", "kebabMethod": "get", "pathParams": ["articleId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get article", "httpMethod": "GET", "path": "/articles/{article_id}" },
@@ -25,6 +32,13 @@ var commands = [
25
32
  { "resourceKey": "audio", "methodName": "textToSpeech", "kebabMethod": "text-to-speech", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Text to speech", "httpMethod": "POST", "path": "/audio/text-to-speech" },
26
33
  { "resourceKey": "audio", "methodName": "speechToText", "kebabMethod": "speech-to-text", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Speech to text", "httpMethod": "POST", "path": "/audio/speech-to-text" },
27
34
  { "resourceKey": "audio", "methodName": "get", "kebabMethod": "get", "pathParams": ["audioId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get audio", "httpMethod": "GET", "path": "/audio/{audio_id}" },
35
+ { "resourceKey": "automations", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List automations", "httpMethod": "GET", "path": "/automations" },
36
+ { "resourceKey": "automations", "methodName": "get", "kebabMethod": "get", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get automation", "httpMethod": "GET", "path": "/automations/{automation_id}" },
37
+ { "resourceKey": "automations", "methodName": "activate", "kebabMethod": "activate", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Activate automation", "httpMethod": "POST", "path": "/automations/{automation_id}/activate" },
38
+ { "resourceKey": "automations", "methodName": "deactivate", "kebabMethod": "deactivate", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pause automation", "httpMethod": "POST", "path": "/automations/{automation_id}/deactivate" },
39
+ { "resourceKey": "automations", "methodName": "trigger", "kebabMethod": "trigger", "pathParams": ["automationId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Trigger automation", "httpMethod": "POST", "path": "/automations/{automation_id}/trigger" },
40
+ { "resourceKey": "automations", "methodName": "listRuns", "kebabMethod": "list-runs", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List runs", "httpMethod": "GET", "path": "/automations/{automation_id}/runs" },
41
+ { "resourceKey": "automations", "methodName": "getRun", "kebabMethod": "get-run", "pathParams": ["automationId", "runId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get run", "httpMethod": "GET", "path": "/automations/{automation_id}/runs/{run_id}" },
28
42
  { "resourceKey": "chatbots", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List chatbots", "httpMethod": "GET", "path": "/chatbots" },
29
43
  { "resourceKey": "chatbots", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create chatbot", "httpMethod": "POST", "path": "/chatbots" },
30
44
  { "resourceKey": "chatbots", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get chatbot", "httpMethod": "GET", "path": "/chatbots/{id}" },
@@ -41,6 +55,8 @@ var commands = [
41
55
  { "resourceKey": "comments", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["commentId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete a comment", "httpMethod": "DELETE", "path": "/social/comments/{comment_id}" },
42
56
  { "resourceKey": "content", "methodName": "rewrite", "kebabMethod": "rewrite", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rewrite content", "httpMethod": "POST", "path": "/content/rewrite" },
43
57
  { "resourceKey": "content", "methodName": "generateCaption", "kebabMethod": "generate-caption", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Generate a social caption", "httpMethod": "POST", "path": "/content/caption" },
58
+ { "resourceKey": "crm", "methodName": "deleteContact", "kebabMethod": "delete-contact", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete contact", "httpMethod": "DELETE", "path": "/contacts/{id}" },
59
+ { "resourceKey": "crm", "methodName": "bulkImportContacts", "kebabMethod": "bulk-import-contacts", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk import contacts", "httpMethod": "POST", "path": "/contacts/bulk" },
44
60
  { "resourceKey": "contacts", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List contacts", "httpMethod": "GET", "path": "/contacts" },
45
61
  { "resourceKey": "contacts", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create or upsert a contact", "httpMethod": "POST", "path": "/contacts" },
46
62
  { "resourceKey": "contacts", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get a contact", "httpMethod": "GET", "path": "/contacts/{id}" },
@@ -91,6 +107,10 @@ var commands = [
91
107
  { "resourceKey": "profiles", "methodName": "createConnectLink", "kebabMethod": "create-connect-link", "pathParams": ["id"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Create a hosted connect link", "httpMethod": "POST", "path": "/profiles/{id}/connect-link" },
92
108
  { "resourceKey": "profiles", "methodName": "createConnectUrl", "kebabMethod": "create-connect-url", "pathParams": ["id", "platform"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Get a raw connect URL for one platform", "httpMethod": "POST", "path": "/profiles/{id}/connect/{platform}" },
93
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
+ { "resourceKey": "reviews", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List reviews", "httpMethod": "GET", "path": "/reviews" },
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" },
113
+ { "resourceKey": "reviews", "methodName": "sync", "kebabMethod": "sync", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Sync reviews", "httpMethod": "POST", "path": "/reviews/sync" },
94
114
  { "resourceKey": "seo", "methodName": "keywordResearch", "kebabMethod": "keyword-research", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword research", "httpMethod": "POST", "path": "/seo/keyword-research" },
95
115
  { "resourceKey": "seo", "methodName": "serp", "kebabMethod": "serp", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Live SERP lookup", "httpMethod": "POST", "path": "/seo/serp" },
96
116
  { "resourceKey": "seo", "methodName": "keywordDifficulty", "kebabMethod": "keyword-difficulty", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword difficulty", "httpMethod": "POST", "path": "/seo/keyword-difficulty" },
@@ -119,6 +139,7 @@ var commands = [
119
139
  { "resourceKey": "social", "methodName": "updatePost", "kebabMethod": "update-post", "pathParams": ["postId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update social post", "httpMethod": "PATCH", "path": "/social/posts/{post_id}" },
120
140
  { "resourceKey": "social", "methodName": "deletePost", "kebabMethod": "delete-post", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete social post", "httpMethod": "DELETE", "path": "/social/posts/{post_id}" },
121
141
  { "resourceKey": "social", "methodName": "updateAccount", "kebabMethod": "update-account", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rename account", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}" },
142
+ { "resourceKey": "social", "methodName": "disconnectAccount", "kebabMethod": "disconnect-account", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Disconnect a social account", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}" },
122
143
  { "resourceKey": "social", "methodName": "getAccountHealth", "kebabMethod": "get-account-health", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account health", "httpMethod": "GET", "path": "/social/accounts/{account_id}/health" },
123
144
  { "resourceKey": "social", "methodName": "getAccountReconnectUrl", "kebabMethod": "get-account-reconnect-url", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account reconnect URL", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reconnect-url" },
124
145
  { "resourceKey": "social", "methodName": "pauseAccount", "kebabMethod": "pause-account", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pause posting to an account", "httpMethod": "POST", "path": "/social/accounts/{account_id}/pause" },
@@ -148,6 +169,23 @@ var commands = [
148
169
  { "resourceKey": "social", "methodName": "getAccountGroup", "kebabMethod": "get-account-group", "pathParams": ["groupId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get account group", "httpMethod": "GET", "path": "/social/account-groups/{group_id}" },
149
170
  { "resourceKey": "social", "methodName": "updateAccountGroup", "kebabMethod": "update-account-group", "pathParams": ["groupId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update account group", "httpMethod": "PUT", "path": "/social/account-groups/{group_id}" },
150
171
  { "resourceKey": "social", "methodName": "deleteAccountGroup", "kebabMethod": "delete-account-group", "pathParams": ["groupId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete account group", "httpMethod": "DELETE", "path": "/social/account-groups/{group_id}" },
172
+ { "resourceKey": "social", "methodName": "getConversation", "kebabMethod": "get-conversation", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get conversation", "httpMethod": "GET", "path": "/social/conversations/{conversation_id}" },
173
+ { "resourceKey": "social", "methodName": "updateConversation", "kebabMethod": "update-conversation", "pathParams": ["conversationId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Archive / reopen conversation", "httpMethod": "PATCH", "path": "/social/conversations/{conversation_id}" },
174
+ { "resourceKey": "social", "methodName": "searchConversations", "kebabMethod": "search-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Search conversations", "httpMethod": "GET", "path": "/social/conversations/search" },
175
+ { "resourceKey": "social", "methodName": "pinterestBoards", "kebabMethod": "pinterest-boards", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pinterest boards", "httpMethod": "GET", "path": "/social/accounts/{account_id}/pinterest/boards" },
176
+ { "resourceKey": "social", "methodName": "youtubePlaylists", "kebabMethod": "youtube-playlists", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "YouTube playlists", "httpMethod": "GET", "path": "/social/accounts/{account_id}/youtube/playlists" },
177
+ { "resourceKey": "social", "methodName": "instagramPublishingLimit", "kebabMethod": "instagram-publishing-limit", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Instagram publishing limit", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/publishing-limit" },
178
+ { "resourceKey": "social", "methodName": "gmbPerformance", "kebabMethod": "gmb-performance", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Google Business performance", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/performance" },
179
+ { "resourceKey": "social", "methodName": "gmbSearchKeywords", "kebabMethod": "gmb-search-keywords", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Google Business search keywords", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/search-keywords" },
180
+ { "resourceKey": "social", "methodName": "redditSearch", "kebabMethod": "reddit-search", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Reddit search", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/search" },
181
+ { "resourceKey": "social", "methodName": "redditFeed", "kebabMethod": "reddit-feed", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Reddit feed", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/feed" },
182
+ { "resourceKey": "social", "methodName": "redditSubreddits", "kebabMethod": "reddit-subreddits", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Subscribed subreddits", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/subreddits" },
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" },
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" },
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}" },
151
189
  { "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
152
190
  { "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
153
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}" },
@@ -346,7 +384,7 @@ function runLogout() {
346
384
  // package.json
347
385
  var package_default = {
348
386
  name: "@smartlyqofficial/cli",
349
- version: "0.1.2",
387
+ version: "0.1.4",
350
388
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
351
389
  keywords: [
352
390
  "smartlyq",
@@ -396,7 +434,7 @@ var package_default = {
396
434
  prepublishOnly: "npm run build"
397
435
  },
398
436
  dependencies: {
399
- "@smartlyqofficial/node": "^0.1.4",
437
+ "@smartlyqofficial/node": "^0.1.6",
400
438
  commander: "^12.1.0"
401
439
  },
402
440
  devDependencies: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartlyqofficial/cli",
3
- "version": "0.1.2",
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.4",
53
+ "@smartlyqofficial/node": "^0.1.6",
54
54
  "commander": "^12.1.0"
55
55
  },
56
56
  "devDependencies": {