@smartlyqofficial/cli 0.1.19 → 0.1.20

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
@@ -145,6 +145,10 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
145
145
  | `smartlyq automations activate <automation-id>` | `POST /automations/{automation_id}/activate` | Activate automation |
146
146
  | `smartlyq automations deactivate <automation-id>` | `POST /automations/{automation_id}/deactivate` | Pause automation |
147
147
  | `smartlyq automations trigger <automation-id> [--data <json>]` | `POST /automations/{automation_id}/trigger` | Trigger automation |
148
+ | `smartlyq automations duplicate <automation-id>` | `POST /automations/{automation_id}/duplicate` | Duplicate an automation |
149
+ | `smartlyq automations list-versions <automation-id>` | `GET /automations/{automation_id}/versions` | List automation versions |
150
+ | `smartlyq automations get-version <automation-id> <version>` | `GET /automations/{automation_id}/versions/{version}` | Get one automation version |
151
+ | `smartlyq automations restore-version <automation-id> <version>` | `POST /automations/{automation_id}/versions/{version}/restore` | Restore an automation version |
148
152
  | `smartlyq automations list-runs <automation-id> [--query <query>]` | `GET /automations/{automation_id}/runs` | List runs |
149
153
  | `smartlyq automations get-run <automation-id> <run-id>` | `GET /automations/{automation_id}/runs/{run_id}` | Get run |
150
154
 
@@ -170,6 +174,9 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
170
174
  | `smartlyq comments list [--query <query>]` | `GET /social/comments` | List comments |
171
175
  | `smartlyq comments reply-to <comment-id> --data <json>` | `POST /social/comments/{comment_id}/reply` | Reply to a comment |
172
176
  | `smartlyq comments hide <comment-id>` | `POST /social/comments/{comment_id}/hide` | Hide or unhide a comment |
177
+ | `smartlyq comments moderate <comment-id> --data <json>` | `POST /social/comments/{comment_id}/moderate` | Approve or reject a comment |
178
+ | `smartlyq comments like <comment-id>` | `POST /social/comments/{comment_id}/like` | Like a comment |
179
+ | `smartlyq comments unlike <comment-id>` | `DELETE /social/comments/{comment_id}/like` | Unlike a comment |
173
180
  | `smartlyq comments delete <comment-id>` | `DELETE /social/comments/{comment_id}` | Delete a comment |
174
181
  | `smartlyq comments get-post <post-id>` | `GET /social/comments/{post_id}` | Get one post's comments (threaded) |
175
182
 
@@ -235,6 +242,7 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
235
242
  | `smartlyq messages list <conversation-id> [--query <query>]` | `GET /social/conversations/{conversation_id}/messages` | List messages in a conversation |
236
243
  | `smartlyq messages send <conversation-id> --data <json>` | `POST /social/conversations/{conversation_id}/messages` | Send a direct message |
237
244
  | `smartlyq messages mark-conversation-read <conversation-id>` | `POST /social/conversations/{conversation_id}/read` | Mark a conversation read |
245
+ | `smartlyq messages delete <conversation-id> <message-id>` | `DELETE /social/conversations/{conversation_id}/messages/{message_id}` | Delete a sent message |
238
246
  | `smartlyq messages react-to <conversation-id> <message-id> --data <json>` | `POST /social/conversations/{conversation_id}/messages/{message_id}/reactions` | React to a message |
239
247
  | `smartlyq messages remove-reaction <conversation-id> <message-id>` | `DELETE /social/conversations/{conversation_id}/messages/{message_id}/reactions` | Remove a message reaction |
240
248
 
package/dist/cli.js CHANGED
@@ -44,6 +44,10 @@ var commands = [
44
44
  { "resourceKey": "automations", "methodName": "activate", "kebabMethod": "activate", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Activate automation", "httpMethod": "POST", "path": "/automations/{automation_id}/activate" },
45
45
  { "resourceKey": "automations", "methodName": "deactivate", "kebabMethod": "deactivate", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pause automation", "httpMethod": "POST", "path": "/automations/{automation_id}/deactivate" },
46
46
  { "resourceKey": "automations", "methodName": "trigger", "kebabMethod": "trigger", "pathParams": ["automationId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Trigger automation", "httpMethod": "POST", "path": "/automations/{automation_id}/trigger" },
47
+ { "resourceKey": "automations", "methodName": "duplicate", "kebabMethod": "duplicate", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Duplicate an automation", "httpMethod": "POST", "path": "/automations/{automation_id}/duplicate" },
48
+ { "resourceKey": "automations", "methodName": "listVersions", "kebabMethod": "list-versions", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List automation versions", "httpMethod": "GET", "path": "/automations/{automation_id}/versions" },
49
+ { "resourceKey": "automations", "methodName": "getVersion", "kebabMethod": "get-version", "pathParams": ["automationId", "version"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get one automation version", "httpMethod": "GET", "path": "/automations/{automation_id}/versions/{version}" },
50
+ { "resourceKey": "automations", "methodName": "restoreVersion", "kebabMethod": "restore-version", "pathParams": ["automationId", "version"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Restore an automation version", "httpMethod": "POST", "path": "/automations/{automation_id}/versions/{version}/restore" },
47
51
  { "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" },
48
52
  { "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}" },
49
53
  { "resourceKey": "chatbots", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List chatbots", "httpMethod": "GET", "path": "/chatbots" },
@@ -59,6 +63,9 @@ var commands = [
59
63
  { "resourceKey": "comments", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List comments", "httpMethod": "GET", "path": "/social/comments" },
60
64
  { "resourceKey": "comments", "methodName": "replyTo", "kebabMethod": "reply-to", "pathParams": ["commentId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Reply to a comment", "httpMethod": "POST", "path": "/social/comments/{comment_id}/reply" },
61
65
  { "resourceKey": "comments", "methodName": "hide", "kebabMethod": "hide", "pathParams": ["commentId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Hide or unhide a comment", "httpMethod": "POST", "path": "/social/comments/{comment_id}/hide" },
66
+ { "resourceKey": "comments", "methodName": "moderate", "kebabMethod": "moderate", "pathParams": ["commentId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Approve or reject a comment", "httpMethod": "POST", "path": "/social/comments/{comment_id}/moderate" },
67
+ { "resourceKey": "comments", "methodName": "like", "kebabMethod": "like", "pathParams": ["commentId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Like a comment", "httpMethod": "POST", "path": "/social/comments/{comment_id}/like" },
68
+ { "resourceKey": "comments", "methodName": "unlike", "kebabMethod": "unlike", "pathParams": ["commentId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Unlike a comment", "httpMethod": "DELETE", "path": "/social/comments/{comment_id}/like" },
62
69
  { "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}" },
63
70
  { "resourceKey": "comments", "methodName": "getPost", "kebabMethod": "get-post", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get one post's comments (threaded)", "httpMethod": "GET", "path": "/social/comments/{post_id}" },
64
71
  { "resourceKey": "content", "methodName": "rewrite", "kebabMethod": "rewrite", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rewrite content", "httpMethod": "POST", "path": "/content/rewrite" },
@@ -94,6 +101,7 @@ var commands = [
94
101
  { "resourceKey": "messages", "methodName": "list", "kebabMethod": "list", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List messages in a conversation", "httpMethod": "GET", "path": "/social/conversations/{conversation_id}/messages" },
95
102
  { "resourceKey": "messages", "methodName": "send", "kebabMethod": "send", "pathParams": ["conversationId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Send a direct message", "httpMethod": "POST", "path": "/social/conversations/{conversation_id}/messages" },
96
103
  { "resourceKey": "messages", "methodName": "markConversationRead", "kebabMethod": "mark-conversation-read", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Mark a conversation read", "httpMethod": "POST", "path": "/social/conversations/{conversation_id}/read" },
104
+ { "resourceKey": "messages", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["conversationId", "messageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete a sent message", "httpMethod": "DELETE", "path": "/social/conversations/{conversation_id}/messages/{message_id}" },
97
105
  { "resourceKey": "messages", "methodName": "reactTo", "kebabMethod": "react-to", "pathParams": ["conversationId", "messageId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "React to a message", "httpMethod": "POST", "path": "/social/conversations/{conversation_id}/messages/{message_id}/reactions" },
98
106
  { "resourceKey": "messages", "methodName": "removeReaction", "kebabMethod": "remove-reaction", "pathParams": ["conversationId", "messageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Remove a message reaction", "httpMethod": "DELETE", "path": "/social/conversations/{conversation_id}/messages/{message_id}/reactions" },
99
107
  { "resourceKey": "images", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate image", "httpMethod": "POST", "path": "/images/generate" },
@@ -459,7 +467,7 @@ function runLogout() {
459
467
  // package.json
460
468
  var package_default = {
461
469
  name: "@smartlyqofficial/cli",
462
- version: "0.1.19",
470
+ version: "0.1.20",
463
471
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
464
472
  keywords: [
465
473
  "smartlyq",
@@ -509,7 +517,7 @@ var package_default = {
509
517
  prepublishOnly: "npm run build"
510
518
  },
511
519
  dependencies: {
512
- "@smartlyqofficial/node": "^0.1.19",
520
+ "@smartlyqofficial/node": "^0.1.20",
513
521
  commander: "^12.1.0"
514
522
  },
515
523
  devDependencies: {
package/dist/index.cjs CHANGED
@@ -94,6 +94,10 @@ var commands = [
94
94
  { "resourceKey": "automations", "methodName": "activate", "kebabMethod": "activate", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Activate automation", "httpMethod": "POST", "path": "/automations/{automation_id}/activate" },
95
95
  { "resourceKey": "automations", "methodName": "deactivate", "kebabMethod": "deactivate", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pause automation", "httpMethod": "POST", "path": "/automations/{automation_id}/deactivate" },
96
96
  { "resourceKey": "automations", "methodName": "trigger", "kebabMethod": "trigger", "pathParams": ["automationId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Trigger automation", "httpMethod": "POST", "path": "/automations/{automation_id}/trigger" },
97
+ { "resourceKey": "automations", "methodName": "duplicate", "kebabMethod": "duplicate", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Duplicate an automation", "httpMethod": "POST", "path": "/automations/{automation_id}/duplicate" },
98
+ { "resourceKey": "automations", "methodName": "listVersions", "kebabMethod": "list-versions", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List automation versions", "httpMethod": "GET", "path": "/automations/{automation_id}/versions" },
99
+ { "resourceKey": "automations", "methodName": "getVersion", "kebabMethod": "get-version", "pathParams": ["automationId", "version"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get one automation version", "httpMethod": "GET", "path": "/automations/{automation_id}/versions/{version}" },
100
+ { "resourceKey": "automations", "methodName": "restoreVersion", "kebabMethod": "restore-version", "pathParams": ["automationId", "version"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Restore an automation version", "httpMethod": "POST", "path": "/automations/{automation_id}/versions/{version}/restore" },
97
101
  { "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" },
98
102
  { "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}" },
99
103
  { "resourceKey": "chatbots", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List chatbots", "httpMethod": "GET", "path": "/chatbots" },
@@ -109,6 +113,9 @@ var commands = [
109
113
  { "resourceKey": "comments", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List comments", "httpMethod": "GET", "path": "/social/comments" },
110
114
  { "resourceKey": "comments", "methodName": "replyTo", "kebabMethod": "reply-to", "pathParams": ["commentId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Reply to a comment", "httpMethod": "POST", "path": "/social/comments/{comment_id}/reply" },
111
115
  { "resourceKey": "comments", "methodName": "hide", "kebabMethod": "hide", "pathParams": ["commentId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Hide or unhide a comment", "httpMethod": "POST", "path": "/social/comments/{comment_id}/hide" },
116
+ { "resourceKey": "comments", "methodName": "moderate", "kebabMethod": "moderate", "pathParams": ["commentId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Approve or reject a comment", "httpMethod": "POST", "path": "/social/comments/{comment_id}/moderate" },
117
+ { "resourceKey": "comments", "methodName": "like", "kebabMethod": "like", "pathParams": ["commentId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Like a comment", "httpMethod": "POST", "path": "/social/comments/{comment_id}/like" },
118
+ { "resourceKey": "comments", "methodName": "unlike", "kebabMethod": "unlike", "pathParams": ["commentId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Unlike a comment", "httpMethod": "DELETE", "path": "/social/comments/{comment_id}/like" },
112
119
  { "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}" },
113
120
  { "resourceKey": "comments", "methodName": "getPost", "kebabMethod": "get-post", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get one post's comments (threaded)", "httpMethod": "GET", "path": "/social/comments/{post_id}" },
114
121
  { "resourceKey": "content", "methodName": "rewrite", "kebabMethod": "rewrite", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rewrite content", "httpMethod": "POST", "path": "/content/rewrite" },
@@ -144,6 +151,7 @@ var commands = [
144
151
  { "resourceKey": "messages", "methodName": "list", "kebabMethod": "list", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List messages in a conversation", "httpMethod": "GET", "path": "/social/conversations/{conversation_id}/messages" },
145
152
  { "resourceKey": "messages", "methodName": "send", "kebabMethod": "send", "pathParams": ["conversationId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Send a direct message", "httpMethod": "POST", "path": "/social/conversations/{conversation_id}/messages" },
146
153
  { "resourceKey": "messages", "methodName": "markConversationRead", "kebabMethod": "mark-conversation-read", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Mark a conversation read", "httpMethod": "POST", "path": "/social/conversations/{conversation_id}/read" },
154
+ { "resourceKey": "messages", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["conversationId", "messageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete a sent message", "httpMethod": "DELETE", "path": "/social/conversations/{conversation_id}/messages/{message_id}" },
147
155
  { "resourceKey": "messages", "methodName": "reactTo", "kebabMethod": "react-to", "pathParams": ["conversationId", "messageId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "React to a message", "httpMethod": "POST", "path": "/social/conversations/{conversation_id}/messages/{message_id}/reactions" },
148
156
  { "resourceKey": "messages", "methodName": "removeReaction", "kebabMethod": "remove-reaction", "pathParams": ["conversationId", "messageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Remove a message reaction", "httpMethod": "DELETE", "path": "/social/conversations/{conversation_id}/messages/{message_id}/reactions" },
149
157
  { "resourceKey": "images", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate image", "httpMethod": "POST", "path": "/images/generate" },
@@ -509,7 +517,7 @@ function runLogout() {
509
517
  // package.json
510
518
  var package_default = {
511
519
  name: "@smartlyqofficial/cli",
512
- version: "0.1.19",
520
+ version: "0.1.20",
513
521
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
514
522
  keywords: [
515
523
  "smartlyq",
@@ -559,7 +567,7 @@ var package_default = {
559
567
  prepublishOnly: "npm run build"
560
568
  },
561
569
  dependencies: {
562
- "@smartlyqofficial/node": "^0.1.19",
570
+ "@smartlyqofficial/node": "^0.1.20",
563
571
  commander: "^12.1.0"
564
572
  },
565
573
  devDependencies: {
package/dist/index.js CHANGED
@@ -42,6 +42,10 @@ var commands = [
42
42
  { "resourceKey": "automations", "methodName": "activate", "kebabMethod": "activate", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Activate automation", "httpMethod": "POST", "path": "/automations/{automation_id}/activate" },
43
43
  { "resourceKey": "automations", "methodName": "deactivate", "kebabMethod": "deactivate", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pause automation", "httpMethod": "POST", "path": "/automations/{automation_id}/deactivate" },
44
44
  { "resourceKey": "automations", "methodName": "trigger", "kebabMethod": "trigger", "pathParams": ["automationId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Trigger automation", "httpMethod": "POST", "path": "/automations/{automation_id}/trigger" },
45
+ { "resourceKey": "automations", "methodName": "duplicate", "kebabMethod": "duplicate", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Duplicate an automation", "httpMethod": "POST", "path": "/automations/{automation_id}/duplicate" },
46
+ { "resourceKey": "automations", "methodName": "listVersions", "kebabMethod": "list-versions", "pathParams": ["automationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List automation versions", "httpMethod": "GET", "path": "/automations/{automation_id}/versions" },
47
+ { "resourceKey": "automations", "methodName": "getVersion", "kebabMethod": "get-version", "pathParams": ["automationId", "version"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get one automation version", "httpMethod": "GET", "path": "/automations/{automation_id}/versions/{version}" },
48
+ { "resourceKey": "automations", "methodName": "restoreVersion", "kebabMethod": "restore-version", "pathParams": ["automationId", "version"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Restore an automation version", "httpMethod": "POST", "path": "/automations/{automation_id}/versions/{version}/restore" },
45
49
  { "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" },
46
50
  { "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}" },
47
51
  { "resourceKey": "chatbots", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List chatbots", "httpMethod": "GET", "path": "/chatbots" },
@@ -57,6 +61,9 @@ var commands = [
57
61
  { "resourceKey": "comments", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List comments", "httpMethod": "GET", "path": "/social/comments" },
58
62
  { "resourceKey": "comments", "methodName": "replyTo", "kebabMethod": "reply-to", "pathParams": ["commentId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Reply to a comment", "httpMethod": "POST", "path": "/social/comments/{comment_id}/reply" },
59
63
  { "resourceKey": "comments", "methodName": "hide", "kebabMethod": "hide", "pathParams": ["commentId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Hide or unhide a comment", "httpMethod": "POST", "path": "/social/comments/{comment_id}/hide" },
64
+ { "resourceKey": "comments", "methodName": "moderate", "kebabMethod": "moderate", "pathParams": ["commentId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Approve or reject a comment", "httpMethod": "POST", "path": "/social/comments/{comment_id}/moderate" },
65
+ { "resourceKey": "comments", "methodName": "like", "kebabMethod": "like", "pathParams": ["commentId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Like a comment", "httpMethod": "POST", "path": "/social/comments/{comment_id}/like" },
66
+ { "resourceKey": "comments", "methodName": "unlike", "kebabMethod": "unlike", "pathParams": ["commentId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Unlike a comment", "httpMethod": "DELETE", "path": "/social/comments/{comment_id}/like" },
60
67
  { "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}" },
61
68
  { "resourceKey": "comments", "methodName": "getPost", "kebabMethod": "get-post", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get one post's comments (threaded)", "httpMethod": "GET", "path": "/social/comments/{post_id}" },
62
69
  { "resourceKey": "content", "methodName": "rewrite", "kebabMethod": "rewrite", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rewrite content", "httpMethod": "POST", "path": "/content/rewrite" },
@@ -92,6 +99,7 @@ var commands = [
92
99
  { "resourceKey": "messages", "methodName": "list", "kebabMethod": "list", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List messages in a conversation", "httpMethod": "GET", "path": "/social/conversations/{conversation_id}/messages" },
93
100
  { "resourceKey": "messages", "methodName": "send", "kebabMethod": "send", "pathParams": ["conversationId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Send a direct message", "httpMethod": "POST", "path": "/social/conversations/{conversation_id}/messages" },
94
101
  { "resourceKey": "messages", "methodName": "markConversationRead", "kebabMethod": "mark-conversation-read", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Mark a conversation read", "httpMethod": "POST", "path": "/social/conversations/{conversation_id}/read" },
102
+ { "resourceKey": "messages", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["conversationId", "messageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete a sent message", "httpMethod": "DELETE", "path": "/social/conversations/{conversation_id}/messages/{message_id}" },
95
103
  { "resourceKey": "messages", "methodName": "reactTo", "kebabMethod": "react-to", "pathParams": ["conversationId", "messageId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "React to a message", "httpMethod": "POST", "path": "/social/conversations/{conversation_id}/messages/{message_id}/reactions" },
96
104
  { "resourceKey": "messages", "methodName": "removeReaction", "kebabMethod": "remove-reaction", "pathParams": ["conversationId", "messageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Remove a message reaction", "httpMethod": "DELETE", "path": "/social/conversations/{conversation_id}/messages/{message_id}/reactions" },
97
105
  { "resourceKey": "images", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate image", "httpMethod": "POST", "path": "/images/generate" },
@@ -457,7 +465,7 @@ function runLogout() {
457
465
  // package.json
458
466
  var package_default = {
459
467
  name: "@smartlyqofficial/cli",
460
- version: "0.1.19",
468
+ version: "0.1.20",
461
469
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
462
470
  keywords: [
463
471
  "smartlyq",
@@ -507,7 +515,7 @@ var package_default = {
507
515
  prepublishOnly: "npm run build"
508
516
  },
509
517
  dependencies: {
510
- "@smartlyqofficial/node": "^0.1.19",
518
+ "@smartlyqofficial/node": "^0.1.20",
511
519
  commander: "^12.1.0"
512
520
  },
513
521
  devDependencies: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartlyqofficial/cli",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
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.19",
53
+ "@smartlyqofficial/node": "^0.1.20",
54
54
  "commander": "^12.1.0"
55
55
  },
56
56
  "devDependencies": {