@smartlyqofficial/cli 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -0
- package/dist/cli.js +41 -2
- package/dist/index.cjs +41 -2
- package/dist/index.js +41 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -101,6 +101,18 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
101
101
|
| `smartlyq analytics get-overview [--query <query>]` | `GET /analytics/overview` | Get analytics overview |
|
|
102
102
|
| `smartlyq analytics get-posts [--query <query>]` | `GET /analytics/posts` | Get post analytics |
|
|
103
103
|
| `smartlyq analytics get-account <account-id> [--query <query>]` | `GET /analytics/accounts/{account_id}` | Get account analytics |
|
|
104
|
+
| `smartlyq analytics daily-metrics [--query <query>]` | `GET /analytics/daily-metrics` | Daily metrics |
|
|
105
|
+
| `smartlyq analytics best-time [--query <query>]` | `GET /analytics/best-time` | Best time to post |
|
|
106
|
+
| `smartlyq analytics content-decay [--query <query>]` | `GET /analytics/content-decay` | Content decay |
|
|
107
|
+
| `smartlyq analytics posting-frequency [--query <query>]` | `GET /analytics/posting-frequency` | Posting frequency vs engagement |
|
|
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 |
|
|
104
116
|
|
|
105
117
|
### Articles
|
|
106
118
|
|
|
@@ -119,6 +131,18 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
119
131
|
| `smartlyq audio speech-to-text --data <json>` | `POST /audio/speech-to-text` | Speech to text |
|
|
120
132
|
| `smartlyq audio get <audio-id>` | `GET /audio/{audio_id}` | Get audio |
|
|
121
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
|
+
|
|
122
146
|
### Chatbot
|
|
123
147
|
|
|
124
148
|
| Command | Endpoint | Description |
|
|
@@ -150,6 +174,13 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
150
174
|
| `smartlyq content rewrite --data <json>` | `POST /content/rewrite` | Rewrite content |
|
|
151
175
|
| `smartlyq content generate-caption [--data <json>]` | `POST /content/caption` | Generate a social caption |
|
|
152
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
|
+
|
|
153
184
|
### CRM Contacts
|
|
154
185
|
|
|
155
186
|
| Command | Endpoint | Description |
|
|
@@ -245,6 +276,14 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
245
276
|
| `smartlyq profiles create-connect-url <id> <platform> [--data <json>]` | `POST /profiles/{id}/connect/{platform}` | Get a raw connect URL for one platform |
|
|
246
277
|
| `smartlyq profiles get-account-billing` | `GET /me/account-billing` | Account billing summary |
|
|
247
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 sync [--data <json>]` | `POST /reviews/sync` | Sync reviews |
|
|
286
|
+
|
|
248
287
|
### SEO
|
|
249
288
|
|
|
250
289
|
| Command | Endpoint | Description |
|
|
@@ -287,6 +326,7 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
287
326
|
| `smartlyq social update-post <post-id> --data <json>` | `PATCH /social/posts/{post_id}` | Update social post |
|
|
288
327
|
| `smartlyq social delete-post <post-id>` | `DELETE /social/posts/{post_id}` | Delete social post |
|
|
289
328
|
| `smartlyq social update-account <account-id> --data <json>` | `PATCH /social/accounts/{account_id}` | Rename account |
|
|
329
|
+
| `smartlyq social disconnect-account <account-id>` | `DELETE /social/accounts/{account_id}` | Disconnect a social account |
|
|
290
330
|
| `smartlyq social get-account-health <account-id>` | `GET /social/accounts/{account_id}/health` | Account health |
|
|
291
331
|
| `smartlyq social get-account-reconnect-url <account-id>` | `GET /social/accounts/{account_id}/reconnect-url` | Account reconnect URL |
|
|
292
332
|
| `smartlyq social pause-account <account-id>` | `POST /social/accounts/{account_id}/pause` | Pause posting to an account |
|
|
@@ -316,6 +356,20 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
316
356
|
| `smartlyq social get-account-group <group-id>` | `GET /social/account-groups/{group_id}` | Get account group |
|
|
317
357
|
| `smartlyq social update-account-group <group-id> --data <json>` | `PUT /social/account-groups/{group_id}` | Update account group |
|
|
318
358
|
| `smartlyq social delete-account-group <group-id>` | `DELETE /social/account-groups/{group_id}` | Delete account group |
|
|
359
|
+
| `smartlyq social get-conversation <conversation-id>` | `GET /social/conversations/{conversation_id}` | Get conversation |
|
|
360
|
+
| `smartlyq social update-conversation <conversation-id> --data <json>` | `PATCH /social/conversations/{conversation_id}` | Archive / reopen conversation |
|
|
361
|
+
| `smartlyq social search-conversations [--query <query>]` | `GET /social/conversations/search` | Search conversations |
|
|
362
|
+
| `smartlyq social pinterest-boards <account-id>` | `GET /social/accounts/{account_id}/pinterest/boards` | Pinterest boards |
|
|
363
|
+
| `smartlyq social youtube-playlists <account-id>` | `GET /social/accounts/{account_id}/youtube/playlists` | YouTube playlists |
|
|
364
|
+
| `smartlyq social instagram-publishing-limit <account-id>` | `GET /social/accounts/{account_id}/instagram/publishing-limit` | Instagram publishing limit |
|
|
365
|
+
| `smartlyq social gmb-performance <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/gmb/performance` | Google Business performance |
|
|
366
|
+
| `smartlyq social gmb-search-keywords <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/gmb/search-keywords` | Google Business search keywords |
|
|
367
|
+
| `smartlyq social reddit-search <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/reddit/search` | Reddit search |
|
|
368
|
+
| `smartlyq social reddit-feed <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/reddit/feed` | Reddit feed |
|
|
369
|
+
| `smartlyq social reddit-subreddits <account-id>` | `GET /social/accounts/{account_id}/reddit/subreddits` | Subscribed subreddits |
|
|
370
|
+
| `smartlyq social reddit-subreddit-rules <account-id> <subreddit>` | `GET /social/accounts/{account_id}/reddit/subreddits/{subreddit}/rules` | Subreddit rules |
|
|
371
|
+
| `smartlyq social instagram-stories <account-id>` | `GET /social/accounts/{account_id}/instagram/stories` | Instagram stories |
|
|
372
|
+
| `smartlyq social facebook-post-reactions <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/facebook/post-reactions` | Facebook post reactions |
|
|
319
373
|
|
|
320
374
|
### URLs
|
|
321
375
|
|
package/dist/cli.js
CHANGED
|
@@ -15,6 +15,18 @@ var commands = [
|
|
|
15
15
|
{ "resourceKey": "analytics", "methodName": "getOverview", "kebabMethod": "get-overview", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get analytics overview", "httpMethod": "GET", "path": "/analytics/overview" },
|
|
16
16
|
{ "resourceKey": "analytics", "methodName": "getPosts", "kebabMethod": "get-posts", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get post analytics", "httpMethod": "GET", "path": "/analytics/posts" },
|
|
17
17
|
{ "resourceKey": "analytics", "methodName": "getAccount", "kebabMethod": "get-account", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get account analytics", "httpMethod": "GET", "path": "/analytics/accounts/{account_id}" },
|
|
18
|
+
{ "resourceKey": "analytics", "methodName": "dailyMetrics", "kebabMethod": "daily-metrics", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Daily metrics", "httpMethod": "GET", "path": "/analytics/daily-metrics" },
|
|
19
|
+
{ "resourceKey": "analytics", "methodName": "bestTime", "kebabMethod": "best-time", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Best time to post", "httpMethod": "GET", "path": "/analytics/best-time" },
|
|
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
|
+
{ "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
|
+
{ "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}" },
|
|
18
30
|
{ "resourceKey": "articles", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate article", "httpMethod": "POST", "path": "/articles/generate" },
|
|
19
31
|
{ "resourceKey": "articles", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List articles", "httpMethod": "GET", "path": "/articles" },
|
|
20
32
|
{ "resourceKey": "articles", "methodName": "get", "kebabMethod": "get", "pathParams": ["articleId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get article", "httpMethod": "GET", "path": "/articles/{article_id}" },
|
|
@@ -22,6 +34,13 @@ var commands = [
|
|
|
22
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" },
|
|
23
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" },
|
|
24
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}" },
|
|
25
44
|
{ "resourceKey": "chatbots", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List chatbots", "httpMethod": "GET", "path": "/chatbots" },
|
|
26
45
|
{ "resourceKey": "chatbots", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create chatbot", "httpMethod": "POST", "path": "/chatbots" },
|
|
27
46
|
{ "resourceKey": "chatbots", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get chatbot", "httpMethod": "GET", "path": "/chatbots/{id}" },
|
|
@@ -38,6 +57,8 @@ var commands = [
|
|
|
38
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}" },
|
|
39
58
|
{ "resourceKey": "content", "methodName": "rewrite", "kebabMethod": "rewrite", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rewrite content", "httpMethod": "POST", "path": "/content/rewrite" },
|
|
40
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" },
|
|
41
62
|
{ "resourceKey": "contacts", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List contacts", "httpMethod": "GET", "path": "/contacts" },
|
|
42
63
|
{ "resourceKey": "contacts", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create or upsert a contact", "httpMethod": "POST", "path": "/contacts" },
|
|
43
64
|
{ "resourceKey": "contacts", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get a contact", "httpMethod": "GET", "path": "/contacts/{id}" },
|
|
@@ -88,6 +109,9 @@ var commands = [
|
|
|
88
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" },
|
|
89
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}" },
|
|
90
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": "sync", "kebabMethod": "sync", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Sync reviews", "httpMethod": "POST", "path": "/reviews/sync" },
|
|
91
115
|
{ "resourceKey": "seo", "methodName": "keywordResearch", "kebabMethod": "keyword-research", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword research", "httpMethod": "POST", "path": "/seo/keyword-research" },
|
|
92
116
|
{ "resourceKey": "seo", "methodName": "serp", "kebabMethod": "serp", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Live SERP lookup", "httpMethod": "POST", "path": "/seo/serp" },
|
|
93
117
|
{ "resourceKey": "seo", "methodName": "keywordDifficulty", "kebabMethod": "keyword-difficulty", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword difficulty", "httpMethod": "POST", "path": "/seo/keyword-difficulty" },
|
|
@@ -116,6 +140,7 @@ var commands = [
|
|
|
116
140
|
{ "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}" },
|
|
117
141
|
{ "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}" },
|
|
118
142
|
{ "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}" },
|
|
143
|
+
{ "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}" },
|
|
119
144
|
{ "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" },
|
|
120
145
|
{ "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" },
|
|
121
146
|
{ "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" },
|
|
@@ -145,6 +170,20 @@ var commands = [
|
|
|
145
170
|
{ "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}" },
|
|
146
171
|
{ "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}" },
|
|
147
172
|
{ "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}" },
|
|
173
|
+
{ "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}" },
|
|
174
|
+
{ "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}" },
|
|
175
|
+
{ "resourceKey": "social", "methodName": "searchConversations", "kebabMethod": "search-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Search conversations", "httpMethod": "GET", "path": "/social/conversations/search" },
|
|
176
|
+
{ "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" },
|
|
177
|
+
{ "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" },
|
|
178
|
+
{ "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" },
|
|
179
|
+
{ "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" },
|
|
180
|
+
{ "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" },
|
|
181
|
+
{ "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" },
|
|
182
|
+
{ "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" },
|
|
183
|
+
{ "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" },
|
|
184
|
+
{ "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
|
+
{ "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
|
+
{ "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" },
|
|
148
187
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
149
188
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
150
189
|
{ "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
|
|
@@ -343,7 +382,7 @@ function runLogout() {
|
|
|
343
382
|
// package.json
|
|
344
383
|
var package_default = {
|
|
345
384
|
name: "@smartlyqofficial/cli",
|
|
346
|
-
version: "0.1.
|
|
385
|
+
version: "0.1.3",
|
|
347
386
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
348
387
|
keywords: [
|
|
349
388
|
"smartlyq",
|
|
@@ -393,7 +432,7 @@ var package_default = {
|
|
|
393
432
|
prepublishOnly: "npm run build"
|
|
394
433
|
},
|
|
395
434
|
dependencies: {
|
|
396
|
-
"@smartlyqofficial/node": "^0.1.
|
|
435
|
+
"@smartlyqofficial/node": "^0.1.5",
|
|
397
436
|
commander: "^12.1.0"
|
|
398
437
|
},
|
|
399
438
|
devDependencies: {
|
package/dist/index.cjs
CHANGED
|
@@ -65,6 +65,18 @@ var commands = [
|
|
|
65
65
|
{ "resourceKey": "analytics", "methodName": "getOverview", "kebabMethod": "get-overview", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get analytics overview", "httpMethod": "GET", "path": "/analytics/overview" },
|
|
66
66
|
{ "resourceKey": "analytics", "methodName": "getPosts", "kebabMethod": "get-posts", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get post analytics", "httpMethod": "GET", "path": "/analytics/posts" },
|
|
67
67
|
{ "resourceKey": "analytics", "methodName": "getAccount", "kebabMethod": "get-account", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get account analytics", "httpMethod": "GET", "path": "/analytics/accounts/{account_id}" },
|
|
68
|
+
{ "resourceKey": "analytics", "methodName": "dailyMetrics", "kebabMethod": "daily-metrics", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Daily metrics", "httpMethod": "GET", "path": "/analytics/daily-metrics" },
|
|
69
|
+
{ "resourceKey": "analytics", "methodName": "bestTime", "kebabMethod": "best-time", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Best time to post", "httpMethod": "GET", "path": "/analytics/best-time" },
|
|
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
|
+
{ "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
|
+
{ "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}" },
|
|
68
80
|
{ "resourceKey": "articles", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate article", "httpMethod": "POST", "path": "/articles/generate" },
|
|
69
81
|
{ "resourceKey": "articles", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List articles", "httpMethod": "GET", "path": "/articles" },
|
|
70
82
|
{ "resourceKey": "articles", "methodName": "get", "kebabMethod": "get", "pathParams": ["articleId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get article", "httpMethod": "GET", "path": "/articles/{article_id}" },
|
|
@@ -72,6 +84,13 @@ var commands = [
|
|
|
72
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" },
|
|
73
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" },
|
|
74
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}" },
|
|
75
94
|
{ "resourceKey": "chatbots", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List chatbots", "httpMethod": "GET", "path": "/chatbots" },
|
|
76
95
|
{ "resourceKey": "chatbots", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create chatbot", "httpMethod": "POST", "path": "/chatbots" },
|
|
77
96
|
{ "resourceKey": "chatbots", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get chatbot", "httpMethod": "GET", "path": "/chatbots/{id}" },
|
|
@@ -88,6 +107,8 @@ var commands = [
|
|
|
88
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}" },
|
|
89
108
|
{ "resourceKey": "content", "methodName": "rewrite", "kebabMethod": "rewrite", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rewrite content", "httpMethod": "POST", "path": "/content/rewrite" },
|
|
90
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" },
|
|
91
112
|
{ "resourceKey": "contacts", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List contacts", "httpMethod": "GET", "path": "/contacts" },
|
|
92
113
|
{ "resourceKey": "contacts", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create or upsert a contact", "httpMethod": "POST", "path": "/contacts" },
|
|
93
114
|
{ "resourceKey": "contacts", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get a contact", "httpMethod": "GET", "path": "/contacts/{id}" },
|
|
@@ -138,6 +159,9 @@ var commands = [
|
|
|
138
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" },
|
|
139
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}" },
|
|
140
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": "sync", "kebabMethod": "sync", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Sync reviews", "httpMethod": "POST", "path": "/reviews/sync" },
|
|
141
165
|
{ "resourceKey": "seo", "methodName": "keywordResearch", "kebabMethod": "keyword-research", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword research", "httpMethod": "POST", "path": "/seo/keyword-research" },
|
|
142
166
|
{ "resourceKey": "seo", "methodName": "serp", "kebabMethod": "serp", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Live SERP lookup", "httpMethod": "POST", "path": "/seo/serp" },
|
|
143
167
|
{ "resourceKey": "seo", "methodName": "keywordDifficulty", "kebabMethod": "keyword-difficulty", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword difficulty", "httpMethod": "POST", "path": "/seo/keyword-difficulty" },
|
|
@@ -166,6 +190,7 @@ var commands = [
|
|
|
166
190
|
{ "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}" },
|
|
167
191
|
{ "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}" },
|
|
168
192
|
{ "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}" },
|
|
193
|
+
{ "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}" },
|
|
169
194
|
{ "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" },
|
|
170
195
|
{ "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" },
|
|
171
196
|
{ "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" },
|
|
@@ -195,6 +220,20 @@ var commands = [
|
|
|
195
220
|
{ "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}" },
|
|
196
221
|
{ "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}" },
|
|
197
222
|
{ "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}" },
|
|
223
|
+
{ "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}" },
|
|
224
|
+
{ "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}" },
|
|
225
|
+
{ "resourceKey": "social", "methodName": "searchConversations", "kebabMethod": "search-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Search conversations", "httpMethod": "GET", "path": "/social/conversations/search" },
|
|
226
|
+
{ "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" },
|
|
227
|
+
{ "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" },
|
|
228
|
+
{ "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" },
|
|
229
|
+
{ "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" },
|
|
230
|
+
{ "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" },
|
|
231
|
+
{ "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" },
|
|
232
|
+
{ "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" },
|
|
233
|
+
{ "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" },
|
|
234
|
+
{ "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
|
+
{ "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
|
+
{ "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" },
|
|
198
237
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
199
238
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
200
239
|
{ "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
|
|
@@ -393,7 +432,7 @@ function runLogout() {
|
|
|
393
432
|
// package.json
|
|
394
433
|
var package_default = {
|
|
395
434
|
name: "@smartlyqofficial/cli",
|
|
396
|
-
version: "0.1.
|
|
435
|
+
version: "0.1.3",
|
|
397
436
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
398
437
|
keywords: [
|
|
399
438
|
"smartlyq",
|
|
@@ -443,7 +482,7 @@ var package_default = {
|
|
|
443
482
|
prepublishOnly: "npm run build"
|
|
444
483
|
},
|
|
445
484
|
dependencies: {
|
|
446
|
-
"@smartlyqofficial/node": "^0.1.
|
|
485
|
+
"@smartlyqofficial/node": "^0.1.5",
|
|
447
486
|
commander: "^12.1.0"
|
|
448
487
|
},
|
|
449
488
|
devDependencies: {
|
package/dist/index.js
CHANGED
|
@@ -13,6 +13,18 @@ var commands = [
|
|
|
13
13
|
{ "resourceKey": "analytics", "methodName": "getOverview", "kebabMethod": "get-overview", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get analytics overview", "httpMethod": "GET", "path": "/analytics/overview" },
|
|
14
14
|
{ "resourceKey": "analytics", "methodName": "getPosts", "kebabMethod": "get-posts", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get post analytics", "httpMethod": "GET", "path": "/analytics/posts" },
|
|
15
15
|
{ "resourceKey": "analytics", "methodName": "getAccount", "kebabMethod": "get-account", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get account analytics", "httpMethod": "GET", "path": "/analytics/accounts/{account_id}" },
|
|
16
|
+
{ "resourceKey": "analytics", "methodName": "dailyMetrics", "kebabMethod": "daily-metrics", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Daily metrics", "httpMethod": "GET", "path": "/analytics/daily-metrics" },
|
|
17
|
+
{ "resourceKey": "analytics", "methodName": "bestTime", "kebabMethod": "best-time", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Best time to post", "httpMethod": "GET", "path": "/analytics/best-time" },
|
|
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
|
+
{ "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
|
+
{ "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}" },
|
|
16
28
|
{ "resourceKey": "articles", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate article", "httpMethod": "POST", "path": "/articles/generate" },
|
|
17
29
|
{ "resourceKey": "articles", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List articles", "httpMethod": "GET", "path": "/articles" },
|
|
18
30
|
{ "resourceKey": "articles", "methodName": "get", "kebabMethod": "get", "pathParams": ["articleId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get article", "httpMethod": "GET", "path": "/articles/{article_id}" },
|
|
@@ -20,6 +32,13 @@ var commands = [
|
|
|
20
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" },
|
|
21
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" },
|
|
22
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}" },
|
|
23
42
|
{ "resourceKey": "chatbots", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List chatbots", "httpMethod": "GET", "path": "/chatbots" },
|
|
24
43
|
{ "resourceKey": "chatbots", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create chatbot", "httpMethod": "POST", "path": "/chatbots" },
|
|
25
44
|
{ "resourceKey": "chatbots", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get chatbot", "httpMethod": "GET", "path": "/chatbots/{id}" },
|
|
@@ -36,6 +55,8 @@ var commands = [
|
|
|
36
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}" },
|
|
37
56
|
{ "resourceKey": "content", "methodName": "rewrite", "kebabMethod": "rewrite", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rewrite content", "httpMethod": "POST", "path": "/content/rewrite" },
|
|
38
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" },
|
|
39
60
|
{ "resourceKey": "contacts", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List contacts", "httpMethod": "GET", "path": "/contacts" },
|
|
40
61
|
{ "resourceKey": "contacts", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create or upsert a contact", "httpMethod": "POST", "path": "/contacts" },
|
|
41
62
|
{ "resourceKey": "contacts", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get a contact", "httpMethod": "GET", "path": "/contacts/{id}" },
|
|
@@ -86,6 +107,9 @@ var commands = [
|
|
|
86
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" },
|
|
87
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}" },
|
|
88
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": "sync", "kebabMethod": "sync", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Sync reviews", "httpMethod": "POST", "path": "/reviews/sync" },
|
|
89
113
|
{ "resourceKey": "seo", "methodName": "keywordResearch", "kebabMethod": "keyword-research", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword research", "httpMethod": "POST", "path": "/seo/keyword-research" },
|
|
90
114
|
{ "resourceKey": "seo", "methodName": "serp", "kebabMethod": "serp", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Live SERP lookup", "httpMethod": "POST", "path": "/seo/serp" },
|
|
91
115
|
{ "resourceKey": "seo", "methodName": "keywordDifficulty", "kebabMethod": "keyword-difficulty", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword difficulty", "httpMethod": "POST", "path": "/seo/keyword-difficulty" },
|
|
@@ -114,6 +138,7 @@ var commands = [
|
|
|
114
138
|
{ "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}" },
|
|
115
139
|
{ "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}" },
|
|
116
140
|
{ "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}" },
|
|
141
|
+
{ "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}" },
|
|
117
142
|
{ "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" },
|
|
118
143
|
{ "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" },
|
|
119
144
|
{ "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" },
|
|
@@ -143,6 +168,20 @@ var commands = [
|
|
|
143
168
|
{ "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}" },
|
|
144
169
|
{ "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}" },
|
|
145
170
|
{ "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}" },
|
|
171
|
+
{ "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}" },
|
|
172
|
+
{ "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}" },
|
|
173
|
+
{ "resourceKey": "social", "methodName": "searchConversations", "kebabMethod": "search-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Search conversations", "httpMethod": "GET", "path": "/social/conversations/search" },
|
|
174
|
+
{ "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" },
|
|
175
|
+
{ "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" },
|
|
176
|
+
{ "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" },
|
|
177
|
+
{ "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" },
|
|
178
|
+
{ "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" },
|
|
179
|
+
{ "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" },
|
|
180
|
+
{ "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" },
|
|
181
|
+
{ "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" },
|
|
182
|
+
{ "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
|
+
{ "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
|
+
{ "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" },
|
|
146
185
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
147
186
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
148
187
|
{ "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
|
|
@@ -341,7 +380,7 @@ function runLogout() {
|
|
|
341
380
|
// package.json
|
|
342
381
|
var package_default = {
|
|
343
382
|
name: "@smartlyqofficial/cli",
|
|
344
|
-
version: "0.1.
|
|
383
|
+
version: "0.1.3",
|
|
345
384
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
346
385
|
keywords: [
|
|
347
386
|
"smartlyq",
|
|
@@ -391,7 +430,7 @@ var package_default = {
|
|
|
391
430
|
prepublishOnly: "npm run build"
|
|
392
431
|
},
|
|
393
432
|
dependencies: {
|
|
394
|
-
"@smartlyqofficial/node": "^0.1.
|
|
433
|
+
"@smartlyqofficial/node": "^0.1.5",
|
|
395
434
|
commander: "^12.1.0"
|
|
396
435
|
},
|
|
397
436
|
devDependencies: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartlyqofficial/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
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.
|
|
53
|
+
"@smartlyqofficial/node": "^0.1.5",
|
|
54
54
|
"commander": "^12.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|