@smartlyqofficial/cli 0.1.19 → 0.1.21
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 +21 -0
- package/dist/cli.js +23 -2
- package/dist/index.cjs +23 -2
- package/dist/index.js +23 -2
- package/package.json +2 -2
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
|
|
|
@@ -484,6 +492,19 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
484
492
|
| `smartlyq whats-app get-whats-app-business-profile [--query <query>]` | `GET /whatsapp/business-profile` | Get business profile |
|
|
485
493
|
| `smartlyq whats-app update-whats-app-business-profile --data <json>` | `PATCH /whatsapp/business-profile` | Update business profile |
|
|
486
494
|
| `smartlyq whats-app list-whats-app-phone-numbers [--query <query>]` | `GET /whatsapp/phone-numbers` | List phone numbers |
|
|
495
|
+
| `smartlyq whats-app list-whats-app-flows [--query <query>]` | `GET /whatsapp/flows` | List flows |
|
|
496
|
+
| `smartlyq whats-app create-whats-app-flow --data <json>` | `POST /whatsapp/flows` | Create a flow |
|
|
497
|
+
| `smartlyq whats-app get-whats-app-flow <flow-id> [--query <query>]` | `GET /whatsapp/flows/{flow_id}` | Get flow |
|
|
498
|
+
| `smartlyq whats-app update-whats-app-flow <flow-id> --data <json>` | `PATCH /whatsapp/flows/{flow_id}` | Update flow |
|
|
499
|
+
| `smartlyq whats-app delete-whats-app-flow <flow-id> [--query <query>]` | `DELETE /whatsapp/flows/{flow_id}` | Delete flow |
|
|
500
|
+
| `smartlyq whats-app get-whats-app-flow-json <flow-id> [--query <query>]` | `GET /whatsapp/flows/{flow_id}/json` | Get flow JSON asset |
|
|
501
|
+
| `smartlyq whats-app upload-whats-app-flow-json <flow-id> --data <json>` | `PUT /whatsapp/flows/{flow_id}/json` | Upload flow JSON |
|
|
502
|
+
| `smartlyq whats-app get-whats-app-flow-preview <flow-id> [--query <query>]` | `GET /whatsapp/flows/{flow_id}/preview` | Get flow preview URL |
|
|
503
|
+
| `smartlyq whats-app publish-whats-app-flow <flow-id> --data <json>` | `POST /whatsapp/flows/{flow_id}/publish` | Publish flow |
|
|
504
|
+
| `smartlyq whats-app deprecate-whats-app-flow <flow-id> --data <json>` | `POST /whatsapp/flows/{flow_id}/deprecate` | Deprecate flow |
|
|
505
|
+
| `smartlyq whats-app get-whats-app-blocked-users [--query <query>]` | `GET /whatsapp/block-users` | List blocked users |
|
|
506
|
+
| `smartlyq whats-app block-whats-app-users --data <json>` | `POST /whatsapp/block-users` | Block users |
|
|
507
|
+
| `smartlyq whats-app unblock-whats-app-users --data <json>` | `DELETE /whatsapp/block-users` | Unblock users |
|
|
487
508
|
| `smartlyq whats-app get-template <name> [--query <query>]` | `GET /whatsapp/templates/{name}` | Get a WhatsApp template |
|
|
488
509
|
| `smartlyq whats-app update-template <name> --data <json>` | `PATCH /whatsapp/templates/{name}` | Update a WhatsApp template |
|
|
489
510
|
| `smartlyq whats-app delete-template <name> [--query <query>]` | `DELETE /whatsapp/templates/{name}` | Delete a WhatsApp template |
|
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" },
|
|
@@ -273,6 +281,19 @@ var commands = [
|
|
|
273
281
|
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppBusinessProfile", "kebabMethod": "get-whats-app-business-profile", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get business profile", "httpMethod": "GET", "path": "/whatsapp/business-profile" },
|
|
274
282
|
{ "resourceKey": "whatsApp", "methodName": "updateWhatsAppBusinessProfile", "kebabMethod": "update-whats-app-business-profile", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update business profile", "httpMethod": "PATCH", "path": "/whatsapp/business-profile" },
|
|
275
283
|
{ "resourceKey": "whatsApp", "methodName": "listWhatsAppPhoneNumbers", "kebabMethod": "list-whats-app-phone-numbers", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List phone numbers", "httpMethod": "GET", "path": "/whatsapp/phone-numbers" },
|
|
284
|
+
{ "resourceKey": "whatsApp", "methodName": "listWhatsAppFlows", "kebabMethod": "list-whats-app-flows", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List flows", "httpMethod": "GET", "path": "/whatsapp/flows" },
|
|
285
|
+
{ "resourceKey": "whatsApp", "methodName": "createWhatsAppFlow", "kebabMethod": "create-whats-app-flow", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a flow", "httpMethod": "POST", "path": "/whatsapp/flows" },
|
|
286
|
+
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppFlow", "kebabMethod": "get-whats-app-flow", "pathParams": ["flowId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get flow", "httpMethod": "GET", "path": "/whatsapp/flows/{flow_id}" },
|
|
287
|
+
{ "resourceKey": "whatsApp", "methodName": "updateWhatsAppFlow", "kebabMethod": "update-whats-app-flow", "pathParams": ["flowId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update flow", "httpMethod": "PATCH", "path": "/whatsapp/flows/{flow_id}" },
|
|
288
|
+
{ "resourceKey": "whatsApp", "methodName": "deleteWhatsAppFlow", "kebabMethod": "delete-whats-app-flow", "pathParams": ["flowId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Delete flow", "httpMethod": "DELETE", "path": "/whatsapp/flows/{flow_id}" },
|
|
289
|
+
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppFlowJson", "kebabMethod": "get-whats-app-flow-json", "pathParams": ["flowId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get flow JSON asset", "httpMethod": "GET", "path": "/whatsapp/flows/{flow_id}/json" },
|
|
290
|
+
{ "resourceKey": "whatsApp", "methodName": "uploadWhatsAppFlowJson", "kebabMethod": "upload-whats-app-flow-json", "pathParams": ["flowId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Upload flow JSON", "httpMethod": "PUT", "path": "/whatsapp/flows/{flow_id}/json" },
|
|
291
|
+
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppFlowPreview", "kebabMethod": "get-whats-app-flow-preview", "pathParams": ["flowId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get flow preview URL", "httpMethod": "GET", "path": "/whatsapp/flows/{flow_id}/preview" },
|
|
292
|
+
{ "resourceKey": "whatsApp", "methodName": "publishWhatsAppFlow", "kebabMethod": "publish-whats-app-flow", "pathParams": ["flowId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Publish flow", "httpMethod": "POST", "path": "/whatsapp/flows/{flow_id}/publish" },
|
|
293
|
+
{ "resourceKey": "whatsApp", "methodName": "deprecateWhatsAppFlow", "kebabMethod": "deprecate-whats-app-flow", "pathParams": ["flowId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Deprecate flow", "httpMethod": "POST", "path": "/whatsapp/flows/{flow_id}/deprecate" },
|
|
294
|
+
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppBlockedUsers", "kebabMethod": "get-whats-app-blocked-users", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List blocked users", "httpMethod": "GET", "path": "/whatsapp/block-users" },
|
|
295
|
+
{ "resourceKey": "whatsApp", "methodName": "blockWhatsAppUsers", "kebabMethod": "block-whats-app-users", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Block users", "httpMethod": "POST", "path": "/whatsapp/block-users" },
|
|
296
|
+
{ "resourceKey": "whatsApp", "methodName": "unblockWhatsAppUsers", "kebabMethod": "unblock-whats-app-users", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Unblock users", "httpMethod": "DELETE", "path": "/whatsapp/block-users" },
|
|
276
297
|
{ "resourceKey": "whatsApp", "methodName": "getTemplate", "kebabMethod": "get-template", "pathParams": ["name"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get a WhatsApp template", "httpMethod": "GET", "path": "/whatsapp/templates/{name}" },
|
|
277
298
|
{ "resourceKey": "whatsApp", "methodName": "updateTemplate", "kebabMethod": "update-template", "pathParams": ["name"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a WhatsApp template", "httpMethod": "PATCH", "path": "/whatsapp/templates/{name}" },
|
|
278
299
|
{ "resourceKey": "whatsApp", "methodName": "deleteTemplate", "kebabMethod": "delete-template", "pathParams": ["name"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Delete a WhatsApp template", "httpMethod": "DELETE", "path": "/whatsapp/templates/{name}" },
|
|
@@ -459,7 +480,7 @@ function runLogout() {
|
|
|
459
480
|
// package.json
|
|
460
481
|
var package_default = {
|
|
461
482
|
name: "@smartlyqofficial/cli",
|
|
462
|
-
version: "0.1.
|
|
483
|
+
version: "0.1.21",
|
|
463
484
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
464
485
|
keywords: [
|
|
465
486
|
"smartlyq",
|
|
@@ -509,7 +530,7 @@ var package_default = {
|
|
|
509
530
|
prepublishOnly: "npm run build"
|
|
510
531
|
},
|
|
511
532
|
dependencies: {
|
|
512
|
-
"@smartlyqofficial/node": "^0.1.
|
|
533
|
+
"@smartlyqofficial/node": "^0.1.21",
|
|
513
534
|
commander: "^12.1.0"
|
|
514
535
|
},
|
|
515
536
|
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" },
|
|
@@ -323,6 +331,19 @@ var commands = [
|
|
|
323
331
|
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppBusinessProfile", "kebabMethod": "get-whats-app-business-profile", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get business profile", "httpMethod": "GET", "path": "/whatsapp/business-profile" },
|
|
324
332
|
{ "resourceKey": "whatsApp", "methodName": "updateWhatsAppBusinessProfile", "kebabMethod": "update-whats-app-business-profile", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update business profile", "httpMethod": "PATCH", "path": "/whatsapp/business-profile" },
|
|
325
333
|
{ "resourceKey": "whatsApp", "methodName": "listWhatsAppPhoneNumbers", "kebabMethod": "list-whats-app-phone-numbers", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List phone numbers", "httpMethod": "GET", "path": "/whatsapp/phone-numbers" },
|
|
334
|
+
{ "resourceKey": "whatsApp", "methodName": "listWhatsAppFlows", "kebabMethod": "list-whats-app-flows", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List flows", "httpMethod": "GET", "path": "/whatsapp/flows" },
|
|
335
|
+
{ "resourceKey": "whatsApp", "methodName": "createWhatsAppFlow", "kebabMethod": "create-whats-app-flow", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a flow", "httpMethod": "POST", "path": "/whatsapp/flows" },
|
|
336
|
+
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppFlow", "kebabMethod": "get-whats-app-flow", "pathParams": ["flowId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get flow", "httpMethod": "GET", "path": "/whatsapp/flows/{flow_id}" },
|
|
337
|
+
{ "resourceKey": "whatsApp", "methodName": "updateWhatsAppFlow", "kebabMethod": "update-whats-app-flow", "pathParams": ["flowId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update flow", "httpMethod": "PATCH", "path": "/whatsapp/flows/{flow_id}" },
|
|
338
|
+
{ "resourceKey": "whatsApp", "methodName": "deleteWhatsAppFlow", "kebabMethod": "delete-whats-app-flow", "pathParams": ["flowId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Delete flow", "httpMethod": "DELETE", "path": "/whatsapp/flows/{flow_id}" },
|
|
339
|
+
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppFlowJson", "kebabMethod": "get-whats-app-flow-json", "pathParams": ["flowId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get flow JSON asset", "httpMethod": "GET", "path": "/whatsapp/flows/{flow_id}/json" },
|
|
340
|
+
{ "resourceKey": "whatsApp", "methodName": "uploadWhatsAppFlowJson", "kebabMethod": "upload-whats-app-flow-json", "pathParams": ["flowId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Upload flow JSON", "httpMethod": "PUT", "path": "/whatsapp/flows/{flow_id}/json" },
|
|
341
|
+
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppFlowPreview", "kebabMethod": "get-whats-app-flow-preview", "pathParams": ["flowId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get flow preview URL", "httpMethod": "GET", "path": "/whatsapp/flows/{flow_id}/preview" },
|
|
342
|
+
{ "resourceKey": "whatsApp", "methodName": "publishWhatsAppFlow", "kebabMethod": "publish-whats-app-flow", "pathParams": ["flowId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Publish flow", "httpMethod": "POST", "path": "/whatsapp/flows/{flow_id}/publish" },
|
|
343
|
+
{ "resourceKey": "whatsApp", "methodName": "deprecateWhatsAppFlow", "kebabMethod": "deprecate-whats-app-flow", "pathParams": ["flowId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Deprecate flow", "httpMethod": "POST", "path": "/whatsapp/flows/{flow_id}/deprecate" },
|
|
344
|
+
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppBlockedUsers", "kebabMethod": "get-whats-app-blocked-users", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List blocked users", "httpMethod": "GET", "path": "/whatsapp/block-users" },
|
|
345
|
+
{ "resourceKey": "whatsApp", "methodName": "blockWhatsAppUsers", "kebabMethod": "block-whats-app-users", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Block users", "httpMethod": "POST", "path": "/whatsapp/block-users" },
|
|
346
|
+
{ "resourceKey": "whatsApp", "methodName": "unblockWhatsAppUsers", "kebabMethod": "unblock-whats-app-users", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Unblock users", "httpMethod": "DELETE", "path": "/whatsapp/block-users" },
|
|
326
347
|
{ "resourceKey": "whatsApp", "methodName": "getTemplate", "kebabMethod": "get-template", "pathParams": ["name"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get a WhatsApp template", "httpMethod": "GET", "path": "/whatsapp/templates/{name}" },
|
|
327
348
|
{ "resourceKey": "whatsApp", "methodName": "updateTemplate", "kebabMethod": "update-template", "pathParams": ["name"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a WhatsApp template", "httpMethod": "PATCH", "path": "/whatsapp/templates/{name}" },
|
|
328
349
|
{ "resourceKey": "whatsApp", "methodName": "deleteTemplate", "kebabMethod": "delete-template", "pathParams": ["name"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Delete a WhatsApp template", "httpMethod": "DELETE", "path": "/whatsapp/templates/{name}" },
|
|
@@ -509,7 +530,7 @@ function runLogout() {
|
|
|
509
530
|
// package.json
|
|
510
531
|
var package_default = {
|
|
511
532
|
name: "@smartlyqofficial/cli",
|
|
512
|
-
version: "0.1.
|
|
533
|
+
version: "0.1.21",
|
|
513
534
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
514
535
|
keywords: [
|
|
515
536
|
"smartlyq",
|
|
@@ -559,7 +580,7 @@ var package_default = {
|
|
|
559
580
|
prepublishOnly: "npm run build"
|
|
560
581
|
},
|
|
561
582
|
dependencies: {
|
|
562
|
-
"@smartlyqofficial/node": "^0.1.
|
|
583
|
+
"@smartlyqofficial/node": "^0.1.21",
|
|
563
584
|
commander: "^12.1.0"
|
|
564
585
|
},
|
|
565
586
|
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" },
|
|
@@ -271,6 +279,19 @@ var commands = [
|
|
|
271
279
|
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppBusinessProfile", "kebabMethod": "get-whats-app-business-profile", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get business profile", "httpMethod": "GET", "path": "/whatsapp/business-profile" },
|
|
272
280
|
{ "resourceKey": "whatsApp", "methodName": "updateWhatsAppBusinessProfile", "kebabMethod": "update-whats-app-business-profile", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update business profile", "httpMethod": "PATCH", "path": "/whatsapp/business-profile" },
|
|
273
281
|
{ "resourceKey": "whatsApp", "methodName": "listWhatsAppPhoneNumbers", "kebabMethod": "list-whats-app-phone-numbers", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List phone numbers", "httpMethod": "GET", "path": "/whatsapp/phone-numbers" },
|
|
282
|
+
{ "resourceKey": "whatsApp", "methodName": "listWhatsAppFlows", "kebabMethod": "list-whats-app-flows", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List flows", "httpMethod": "GET", "path": "/whatsapp/flows" },
|
|
283
|
+
{ "resourceKey": "whatsApp", "methodName": "createWhatsAppFlow", "kebabMethod": "create-whats-app-flow", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a flow", "httpMethod": "POST", "path": "/whatsapp/flows" },
|
|
284
|
+
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppFlow", "kebabMethod": "get-whats-app-flow", "pathParams": ["flowId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get flow", "httpMethod": "GET", "path": "/whatsapp/flows/{flow_id}" },
|
|
285
|
+
{ "resourceKey": "whatsApp", "methodName": "updateWhatsAppFlow", "kebabMethod": "update-whats-app-flow", "pathParams": ["flowId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update flow", "httpMethod": "PATCH", "path": "/whatsapp/flows/{flow_id}" },
|
|
286
|
+
{ "resourceKey": "whatsApp", "methodName": "deleteWhatsAppFlow", "kebabMethod": "delete-whats-app-flow", "pathParams": ["flowId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Delete flow", "httpMethod": "DELETE", "path": "/whatsapp/flows/{flow_id}" },
|
|
287
|
+
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppFlowJson", "kebabMethod": "get-whats-app-flow-json", "pathParams": ["flowId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get flow JSON asset", "httpMethod": "GET", "path": "/whatsapp/flows/{flow_id}/json" },
|
|
288
|
+
{ "resourceKey": "whatsApp", "methodName": "uploadWhatsAppFlowJson", "kebabMethod": "upload-whats-app-flow-json", "pathParams": ["flowId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Upload flow JSON", "httpMethod": "PUT", "path": "/whatsapp/flows/{flow_id}/json" },
|
|
289
|
+
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppFlowPreview", "kebabMethod": "get-whats-app-flow-preview", "pathParams": ["flowId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get flow preview URL", "httpMethod": "GET", "path": "/whatsapp/flows/{flow_id}/preview" },
|
|
290
|
+
{ "resourceKey": "whatsApp", "methodName": "publishWhatsAppFlow", "kebabMethod": "publish-whats-app-flow", "pathParams": ["flowId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Publish flow", "httpMethod": "POST", "path": "/whatsapp/flows/{flow_id}/publish" },
|
|
291
|
+
{ "resourceKey": "whatsApp", "methodName": "deprecateWhatsAppFlow", "kebabMethod": "deprecate-whats-app-flow", "pathParams": ["flowId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Deprecate flow", "httpMethod": "POST", "path": "/whatsapp/flows/{flow_id}/deprecate" },
|
|
292
|
+
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppBlockedUsers", "kebabMethod": "get-whats-app-blocked-users", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List blocked users", "httpMethod": "GET", "path": "/whatsapp/block-users" },
|
|
293
|
+
{ "resourceKey": "whatsApp", "methodName": "blockWhatsAppUsers", "kebabMethod": "block-whats-app-users", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Block users", "httpMethod": "POST", "path": "/whatsapp/block-users" },
|
|
294
|
+
{ "resourceKey": "whatsApp", "methodName": "unblockWhatsAppUsers", "kebabMethod": "unblock-whats-app-users", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Unblock users", "httpMethod": "DELETE", "path": "/whatsapp/block-users" },
|
|
274
295
|
{ "resourceKey": "whatsApp", "methodName": "getTemplate", "kebabMethod": "get-template", "pathParams": ["name"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get a WhatsApp template", "httpMethod": "GET", "path": "/whatsapp/templates/{name}" },
|
|
275
296
|
{ "resourceKey": "whatsApp", "methodName": "updateTemplate", "kebabMethod": "update-template", "pathParams": ["name"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a WhatsApp template", "httpMethod": "PATCH", "path": "/whatsapp/templates/{name}" },
|
|
276
297
|
{ "resourceKey": "whatsApp", "methodName": "deleteTemplate", "kebabMethod": "delete-template", "pathParams": ["name"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Delete a WhatsApp template", "httpMethod": "DELETE", "path": "/whatsapp/templates/{name}" },
|
|
@@ -457,7 +478,7 @@ function runLogout() {
|
|
|
457
478
|
// package.json
|
|
458
479
|
var package_default = {
|
|
459
480
|
name: "@smartlyqofficial/cli",
|
|
460
|
-
version: "0.1.
|
|
481
|
+
version: "0.1.21",
|
|
461
482
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
462
483
|
keywords: [
|
|
463
484
|
"smartlyq",
|
|
@@ -507,7 +528,7 @@ var package_default = {
|
|
|
507
528
|
prepublishOnly: "npm run build"
|
|
508
529
|
},
|
|
509
530
|
dependencies: {
|
|
510
|
-
"@smartlyqofficial/node": "^0.1.
|
|
531
|
+
"@smartlyqofficial/node": "^0.1.21",
|
|
511
532
|
commander: "^12.1.0"
|
|
512
533
|
},
|
|
513
534
|
devDependencies: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartlyqofficial/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
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.21",
|
|
54
54
|
"commander": "^12.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|