@smartlyqofficial/cli 0.1.16 → 0.1.18
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 +29 -0
- package/dist/cli.js +26 -2
- package/dist/index.cjs +26 -2
- package/dist/index.js +26 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -114,6 +114,10 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
114
114
|
| `smartlyq analytics inbox-top-accounts [--query <query>]` | `GET /analytics/inbox/top-accounts` | Inbox top accounts |
|
|
115
115
|
| `smartlyq analytics inbox-conversations [--query <query>]` | `GET /analytics/inbox/conversations` | Inbox conversation stats |
|
|
116
116
|
| `smartlyq analytics inbox-conversation-detail <conversation-id>` | `GET /analytics/inbox/conversations/{conversation_id}` | Conversation analytics |
|
|
117
|
+
| `smartlyq analytics get-youtube-channel-insights [--query <query>]` | `GET /analytics/youtube/channel-insights` | YouTube channel insights |
|
|
118
|
+
| `smartlyq analytics get-youtube-daily-views [--query <query>]` | `GET /analytics/youtube/daily-views` | YouTube daily views |
|
|
119
|
+
| `smartlyq analytics get-youtube-video-retention [--query <query>]` | `GET /analytics/youtube/video-retention` | YouTube audience retention |
|
|
120
|
+
| `smartlyq analytics get-youtube-demographics [--query <query>]` | `GET /analytics/youtube/demographics` | YouTube viewer demographics |
|
|
117
121
|
|
|
118
122
|
### Articles
|
|
119
123
|
|
|
@@ -231,6 +235,8 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
231
235
|
| `smartlyq messages list <conversation-id> [--query <query>]` | `GET /social/conversations/{conversation_id}/messages` | List messages in a conversation |
|
|
232
236
|
| `smartlyq messages send <conversation-id> --data <json>` | `POST /social/conversations/{conversation_id}/messages` | Send a direct message |
|
|
233
237
|
| `smartlyq messages mark-conversation-read <conversation-id>` | `POST /social/conversations/{conversation_id}/read` | Mark a conversation read |
|
|
238
|
+
| `smartlyq messages react-to <conversation-id> <message-id> --data <json>` | `POST /social/conversations/{conversation_id}/messages/{message_id}/reactions` | React to a message |
|
|
239
|
+
| `smartlyq messages remove-reaction <conversation-id> <message-id>` | `DELETE /social/conversations/{conversation_id}/messages/{message_id}/reactions` | Remove a message reaction |
|
|
234
240
|
|
|
235
241
|
### Images
|
|
236
242
|
|
|
@@ -249,6 +255,12 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
249
255
|
| `smartlyq jobs get <job-id>` | `GET /jobs/{job_id}` | Get job |
|
|
250
256
|
| `smartlyq jobs cancel <job-id> [--data <json>]` | `POST /jobs/{job_id}/cancel` | Cancel job |
|
|
251
257
|
|
|
258
|
+
### Logs
|
|
259
|
+
|
|
260
|
+
| Command | Endpoint | Description |
|
|
261
|
+
| --- | --- | --- |
|
|
262
|
+
| `smartlyq logs list [--query <query>]` | `GET /logs` | List developer logs |
|
|
263
|
+
|
|
252
264
|
### Media
|
|
253
265
|
|
|
254
266
|
| Command | Endpoint | Description |
|
|
@@ -369,6 +381,7 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
369
381
|
| `smartlyq social update-conversation <conversation-id> --data <json>` | `PATCH /social/conversations/{conversation_id}` | Archive / reopen conversation |
|
|
370
382
|
| `smartlyq social search-conversations [--query <query>]` | `GET /social/conversations/search` | Search conversations |
|
|
371
383
|
| `smartlyq social pinterest-boards <account-id>` | `GET /social/accounts/{account_id}/pinterest/boards` | Pinterest boards |
|
|
384
|
+
| `smartlyq social create-pinterest-board <account-id> --data <json>` | `POST /social/accounts/{account_id}/pinterest/boards` | Create a Pinterest board |
|
|
372
385
|
| `smartlyq social youtube-playlists <account-id>` | `GET /social/accounts/{account_id}/youtube/playlists` | YouTube playlists |
|
|
373
386
|
| `smartlyq social instagram-publishing-limit <account-id>` | `GET /social/accounts/{account_id}/instagram/publishing-limit` | Instagram publishing limit |
|
|
374
387
|
| `smartlyq social gmb-performance <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/gmb/performance` | Google Business performance |
|
|
@@ -417,6 +430,12 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
417
430
|
| `smartlyq social instagram-audience <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/instagram/audience` | Instagram audience demographics |
|
|
418
431
|
| `smartlyq social connect-options <account-id>` | `GET /social/accounts/{account_id}/connect-options` | Connection target options |
|
|
419
432
|
| `smartlyq social connect-select <account-id> --data <json>` | `POST /social/accounts/{account_id}/connect-select` | Select connection target |
|
|
433
|
+
| `smartlyq social get-facebook-page <account-id>` | `GET /social/accounts/{account_id}/facebook/page` | Get Facebook page details |
|
|
434
|
+
| `smartlyq social update-facebook-page <account-id> --data <json>` | `PATCH /social/accounts/{account_id}/facebook/page` | Update Facebook page details |
|
|
435
|
+
| `smartlyq social update-youtube-playlist <account-id> <playlist-id> --data <json>` | `PATCH /social/accounts/{account_id}/youtube/playlists/{playlist_id}` | Update a YouTube playlist |
|
|
436
|
+
| `smartlyq social list-mentions <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/mentions` | List mentions |
|
|
437
|
+
| `smartlyq social reply-to-mention <account-id> <mention-id> --data <json>` | `POST /social/accounts/{account_id}/mentions/{mention_id}/reply` | Reply to a mention |
|
|
438
|
+
| `smartlyq social list-reddit-flairs <account-id> <subreddit>` | `GET /social/accounts/{account_id}/reddit/subreddits/{subreddit}/flairs` | List subreddit post flairs |
|
|
420
439
|
|
|
421
440
|
### URLs
|
|
422
441
|
|
|
@@ -427,6 +446,7 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
427
446
|
| `smartlyq urls get <url-id>` | `GET /urls/{url_id}` | Get short URL |
|
|
428
447
|
| `smartlyq urls delete <url-id>` | `DELETE /urls/{url_id}` | Delete short URL |
|
|
429
448
|
| `smartlyq urls get-stats <url-id>` | `GET /urls/{url_id}/stats` | Get short URL stats |
|
|
449
|
+
| `smartlyq urls update-short <id> --data <json>` | `PATCH /urls/{id}` | Update a short URL |
|
|
430
450
|
|
|
431
451
|
### Videos
|
|
432
452
|
|
|
@@ -452,6 +472,7 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
452
472
|
| `smartlyq webhooks delete <id>` | `DELETE /webhooks/{id}` | Delete webhook |
|
|
453
473
|
| `smartlyq webhooks list-logs [--query <query>]` | `GET /webhooks/logs` | List webhook delivery logs |
|
|
454
474
|
| `smartlyq webhooks test <id>` | `POST /webhooks/{id}/test` | Send test webhook |
|
|
475
|
+
| `smartlyq webhooks replay-delivery <id>` | `POST /webhooks/deliveries/{id}/replay` | Replay a webhook delivery |
|
|
455
476
|
|
|
456
477
|
### WhatsApp
|
|
457
478
|
|
|
@@ -463,6 +484,14 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
463
484
|
| `smartlyq whats-app get-whats-app-business-profile [--query <query>]` | `GET /whatsapp/business-profile` | Get business profile |
|
|
464
485
|
| `smartlyq whats-app update-whats-app-business-profile --data <json>` | `PATCH /whatsapp/business-profile` | Update business profile |
|
|
465
486
|
| `smartlyq whats-app list-whats-app-phone-numbers [--query <query>]` | `GET /whatsapp/phone-numbers` | List phone numbers |
|
|
487
|
+
| `smartlyq whats-app get-template <name> [--query <query>]` | `GET /whatsapp/templates/{name}` | Get a WhatsApp template |
|
|
488
|
+
| `smartlyq whats-app update-template <name> --data <json>` | `PATCH /whatsapp/templates/{name}` | Update a WhatsApp template |
|
|
489
|
+
| `smartlyq whats-app delete-template <name> [--query <query>]` | `DELETE /whatsapp/templates/{name}` | Delete a WhatsApp template |
|
|
490
|
+
| `smartlyq whats-app update-profile-photo --data <json>` | `POST /whatsapp/business-profile/photo` | Set the WhatsApp profile photo |
|
|
491
|
+
| `smartlyq whats-app get-display-name [--query <query>]` | `GET /whatsapp/business-profile/display-name` | Get the WhatsApp display name |
|
|
492
|
+
| `smartlyq whats-app update-display-name --data <json>` | `POST /whatsapp/business-profile/display-name` | Request a WhatsApp display-name change |
|
|
493
|
+
| `smartlyq whats-app list-template-library [--query <query>]` | `GET /whatsapp/template-library` | Browse the shared template library |
|
|
494
|
+
| `smartlyq whats-app create-template-from-library --data <json>` | `POST /whatsapp/templates/from-library` | Adopt a library template |
|
|
466
495
|
|
|
467
496
|
### Workspaces
|
|
468
497
|
|
package/dist/cli.js
CHANGED
|
@@ -28,6 +28,10 @@ var commands = [
|
|
|
28
28
|
{ "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" },
|
|
29
29
|
{ "resourceKey": "analytics", "methodName": "inboxConversations", "kebabMethod": "inbox-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox conversation stats", "httpMethod": "GET", "path": "/analytics/inbox/conversations" },
|
|
30
30
|
{ "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}" },
|
|
31
|
+
{ "resourceKey": "analytics", "methodName": "getYoutubeChannelInsights", "kebabMethod": "get-youtube-channel-insights", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "YouTube channel insights", "httpMethod": "GET", "path": "/analytics/youtube/channel-insights" },
|
|
32
|
+
{ "resourceKey": "analytics", "methodName": "getYoutubeDailyViews", "kebabMethod": "get-youtube-daily-views", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "YouTube daily views", "httpMethod": "GET", "path": "/analytics/youtube/daily-views" },
|
|
33
|
+
{ "resourceKey": "analytics", "methodName": "getYoutubeVideoRetention", "kebabMethod": "get-youtube-video-retention", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "YouTube audience retention", "httpMethod": "GET", "path": "/analytics/youtube/video-retention" },
|
|
34
|
+
{ "resourceKey": "analytics", "methodName": "getYoutubeDemographics", "kebabMethod": "get-youtube-demographics", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "YouTube viewer demographics", "httpMethod": "GET", "path": "/analytics/youtube/demographics" },
|
|
31
35
|
{ "resourceKey": "articles", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate article", "httpMethod": "POST", "path": "/articles/generate" },
|
|
32
36
|
{ "resourceKey": "articles", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List articles", "httpMethod": "GET", "path": "/articles" },
|
|
33
37
|
{ "resourceKey": "articles", "methodName": "get", "kebabMethod": "get", "pathParams": ["articleId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get article", "httpMethod": "GET", "path": "/articles/{article_id}" },
|
|
@@ -90,6 +94,8 @@ var commands = [
|
|
|
90
94
|
{ "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" },
|
|
91
95
|
{ "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" },
|
|
92
96
|
{ "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" },
|
|
97
|
+
{ "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
|
+
{ "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" },
|
|
93
99
|
{ "resourceKey": "images", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate image", "httpMethod": "POST", "path": "/images/generate" },
|
|
94
100
|
{ "resourceKey": "images", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List images", "httpMethod": "GET", "path": "/images" },
|
|
95
101
|
{ "resourceKey": "images", "methodName": "get", "kebabMethod": "get", "pathParams": ["imageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get image", "httpMethod": "GET", "path": "/images/{image_id}" },
|
|
@@ -97,6 +103,7 @@ var commands = [
|
|
|
97
103
|
{ "resourceKey": "jobs", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List jobs", "httpMethod": "GET", "path": "/jobs" },
|
|
98
104
|
{ "resourceKey": "jobs", "methodName": "get", "kebabMethod": "get", "pathParams": ["jobId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get job", "httpMethod": "GET", "path": "/jobs/{job_id}" },
|
|
99
105
|
{ "resourceKey": "jobs", "methodName": "cancel", "kebabMethod": "cancel", "pathParams": ["jobId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Cancel job", "httpMethod": "POST", "path": "/jobs/{job_id}/cancel" },
|
|
106
|
+
{ "resourceKey": "logs", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List developer logs", "httpMethod": "GET", "path": "/logs" },
|
|
100
107
|
{ "resourceKey": "media", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List media", "httpMethod": "GET", "path": "/media" },
|
|
101
108
|
{ "resourceKey": "media", "methodName": "get", "kebabMethod": "get", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get media", "httpMethod": "GET", "path": "/media/{media_id}" },
|
|
102
109
|
{ "resourceKey": "media", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete media", "httpMethod": "DELETE", "path": "/media/{media_id}" },
|
|
@@ -183,6 +190,7 @@ var commands = [
|
|
|
183
190
|
{ "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}" },
|
|
184
191
|
{ "resourceKey": "social", "methodName": "searchConversations", "kebabMethod": "search-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Search conversations", "httpMethod": "GET", "path": "/social/conversations/search" },
|
|
185
192
|
{ "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" },
|
|
193
|
+
{ "resourceKey": "social", "methodName": "createPinterestBoard", "kebabMethod": "create-pinterest-board", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a Pinterest board", "httpMethod": "POST", "path": "/social/accounts/{account_id}/pinterest/boards" },
|
|
186
194
|
{ "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" },
|
|
187
195
|
{ "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" },
|
|
188
196
|
{ "resourceKey": "social", "methodName": "gmbPerformance", "kebabMethod": "gmb-performance", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Google Business performance", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/performance" },
|
|
@@ -231,11 +239,18 @@ var commands = [
|
|
|
231
239
|
{ "resourceKey": "social", "methodName": "instagramAudience", "kebabMethod": "instagram-audience", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Instagram audience demographics", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/audience" },
|
|
232
240
|
{ "resourceKey": "social", "methodName": "connectOptions", "kebabMethod": "connect-options", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Connection target options", "httpMethod": "GET", "path": "/social/accounts/{account_id}/connect-options" },
|
|
233
241
|
{ "resourceKey": "social", "methodName": "connectSelect", "kebabMethod": "connect-select", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Select connection target", "httpMethod": "POST", "path": "/social/accounts/{account_id}/connect-select" },
|
|
242
|
+
{ "resourceKey": "social", "methodName": "getFacebookPage", "kebabMethod": "get-facebook-page", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get Facebook page details", "httpMethod": "GET", "path": "/social/accounts/{account_id}/facebook/page" },
|
|
243
|
+
{ "resourceKey": "social", "methodName": "updateFacebookPage", "kebabMethod": "update-facebook-page", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update Facebook page details", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}/facebook/page" },
|
|
244
|
+
{ "resourceKey": "social", "methodName": "updateYoutubePlaylist", "kebabMethod": "update-youtube-playlist", "pathParams": ["accountId", "playlistId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a YouTube playlist", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}/youtube/playlists/{playlist_id}" },
|
|
245
|
+
{ "resourceKey": "social", "methodName": "listMentions", "kebabMethod": "list-mentions", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List mentions", "httpMethod": "GET", "path": "/social/accounts/{account_id}/mentions" },
|
|
246
|
+
{ "resourceKey": "social", "methodName": "replyToMention", "kebabMethod": "reply-to-mention", "pathParams": ["accountId", "mentionId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Reply to a mention", "httpMethod": "POST", "path": "/social/accounts/{account_id}/mentions/{mention_id}/reply" },
|
|
247
|
+
{ "resourceKey": "social", "methodName": "listRedditFlairs", "kebabMethod": "list-reddit-flairs", "pathParams": ["accountId", "subreddit"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List subreddit post flairs", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/subreddits/{subreddit}/flairs" },
|
|
234
248
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
235
249
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
236
250
|
{ "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
|
|
237
251
|
{ "resourceKey": "urls", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete short URL", "httpMethod": "DELETE", "path": "/urls/{url_id}" },
|
|
238
252
|
{ "resourceKey": "urls", "methodName": "getStats", "kebabMethod": "get-stats", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL stats", "httpMethod": "GET", "path": "/urls/{url_id}/stats" },
|
|
253
|
+
{ "resourceKey": "urls", "methodName": "updateShort", "kebabMethod": "update-short", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a short URL", "httpMethod": "PATCH", "path": "/urls/{id}" },
|
|
239
254
|
{ "resourceKey": "videos", "methodName": "listModels", "kebabMethod": "list-models", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List available video models", "httpMethod": "GET", "path": "/videos/models" },
|
|
240
255
|
{ "resourceKey": "videos", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate video", "httpMethod": "POST", "path": "/videos/generate" },
|
|
241
256
|
{ "resourceKey": "videos", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List videos", "httpMethod": "GET", "path": "/videos" },
|
|
@@ -251,12 +266,21 @@ var commands = [
|
|
|
251
266
|
{ "resourceKey": "webhooks", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete webhook", "httpMethod": "DELETE", "path": "/webhooks/{id}" },
|
|
252
267
|
{ "resourceKey": "webhooks", "methodName": "listLogs", "kebabMethod": "list-logs", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List webhook delivery logs", "httpMethod": "GET", "path": "/webhooks/logs" },
|
|
253
268
|
{ "resourceKey": "webhooks", "methodName": "test", "kebabMethod": "test", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Send test webhook", "httpMethod": "POST", "path": "/webhooks/{id}/test" },
|
|
269
|
+
{ "resourceKey": "webhooks", "methodName": "replayDelivery", "kebabMethod": "replay-delivery", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Replay a webhook delivery", "httpMethod": "POST", "path": "/webhooks/deliveries/{id}/replay" },
|
|
254
270
|
{ "resourceKey": "whatsApp", "methodName": "sendWhatsAppMessage", "kebabMethod": "send-whats-app-message", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Send a WhatsApp message", "httpMethod": "POST", "path": "/whatsapp/messages" },
|
|
255
271
|
{ "resourceKey": "whatsApp", "methodName": "listWhatsAppTemplates", "kebabMethod": "list-whats-app-templates", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List message templates", "httpMethod": "GET", "path": "/whatsapp/templates" },
|
|
256
272
|
{ "resourceKey": "whatsApp", "methodName": "createWhatsAppTemplate", "kebabMethod": "create-whats-app-template", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a message template", "httpMethod": "POST", "path": "/whatsapp/templates" },
|
|
257
273
|
{ "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" },
|
|
258
274
|
{ "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" },
|
|
259
275
|
{ "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" },
|
|
276
|
+
{ "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
|
+
{ "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
|
+
{ "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}" },
|
|
279
|
+
{ "resourceKey": "whatsApp", "methodName": "updateProfilePhoto", "kebabMethod": "update-profile-photo", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Set the WhatsApp profile photo", "httpMethod": "POST", "path": "/whatsapp/business-profile/photo" },
|
|
280
|
+
{ "resourceKey": "whatsApp", "methodName": "getDisplayName", "kebabMethod": "get-display-name", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get the WhatsApp display name", "httpMethod": "GET", "path": "/whatsapp/business-profile/display-name" },
|
|
281
|
+
{ "resourceKey": "whatsApp", "methodName": "updateDisplayName", "kebabMethod": "update-display-name", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Request a WhatsApp display-name change", "httpMethod": "POST", "path": "/whatsapp/business-profile/display-name" },
|
|
282
|
+
{ "resourceKey": "whatsApp", "methodName": "listTemplateLibrary", "kebabMethod": "list-template-library", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Browse the shared template library", "httpMethod": "GET", "path": "/whatsapp/template-library" },
|
|
283
|
+
{ "resourceKey": "whatsApp", "methodName": "createTemplateFromLibrary", "kebabMethod": "create-template-from-library", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Adopt a library template", "httpMethod": "POST", "path": "/whatsapp/templates/from-library" },
|
|
260
284
|
{ "resourceKey": "workspaces", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List workspaces (sub-accounts)", "httpMethod": "GET", "path": "/workspaces" },
|
|
261
285
|
{ "resourceKey": "workspaces", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a workspace (sub-account)", "httpMethod": "POST", "path": "/workspaces" },
|
|
262
286
|
{ "resourceKey": "workspaces", "methodName": "bulkAction", "kebabMethod": "bulk-action", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk sub-account action", "httpMethod": "POST", "path": "/workspaces/bulk" },
|
|
@@ -435,7 +459,7 @@ function runLogout() {
|
|
|
435
459
|
// package.json
|
|
436
460
|
var package_default = {
|
|
437
461
|
name: "@smartlyqofficial/cli",
|
|
438
|
-
version: "0.1.
|
|
462
|
+
version: "0.1.18",
|
|
439
463
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
440
464
|
keywords: [
|
|
441
465
|
"smartlyq",
|
|
@@ -485,7 +509,7 @@ var package_default = {
|
|
|
485
509
|
prepublishOnly: "npm run build"
|
|
486
510
|
},
|
|
487
511
|
dependencies: {
|
|
488
|
-
"@smartlyqofficial/node": "^0.1.
|
|
512
|
+
"@smartlyqofficial/node": "^0.1.18",
|
|
489
513
|
commander: "^12.1.0"
|
|
490
514
|
},
|
|
491
515
|
devDependencies: {
|
package/dist/index.cjs
CHANGED
|
@@ -78,6 +78,10 @@ var commands = [
|
|
|
78
78
|
{ "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" },
|
|
79
79
|
{ "resourceKey": "analytics", "methodName": "inboxConversations", "kebabMethod": "inbox-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox conversation stats", "httpMethod": "GET", "path": "/analytics/inbox/conversations" },
|
|
80
80
|
{ "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}" },
|
|
81
|
+
{ "resourceKey": "analytics", "methodName": "getYoutubeChannelInsights", "kebabMethod": "get-youtube-channel-insights", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "YouTube channel insights", "httpMethod": "GET", "path": "/analytics/youtube/channel-insights" },
|
|
82
|
+
{ "resourceKey": "analytics", "methodName": "getYoutubeDailyViews", "kebabMethod": "get-youtube-daily-views", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "YouTube daily views", "httpMethod": "GET", "path": "/analytics/youtube/daily-views" },
|
|
83
|
+
{ "resourceKey": "analytics", "methodName": "getYoutubeVideoRetention", "kebabMethod": "get-youtube-video-retention", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "YouTube audience retention", "httpMethod": "GET", "path": "/analytics/youtube/video-retention" },
|
|
84
|
+
{ "resourceKey": "analytics", "methodName": "getYoutubeDemographics", "kebabMethod": "get-youtube-demographics", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "YouTube viewer demographics", "httpMethod": "GET", "path": "/analytics/youtube/demographics" },
|
|
81
85
|
{ "resourceKey": "articles", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate article", "httpMethod": "POST", "path": "/articles/generate" },
|
|
82
86
|
{ "resourceKey": "articles", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List articles", "httpMethod": "GET", "path": "/articles" },
|
|
83
87
|
{ "resourceKey": "articles", "methodName": "get", "kebabMethod": "get", "pathParams": ["articleId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get article", "httpMethod": "GET", "path": "/articles/{article_id}" },
|
|
@@ -140,6 +144,8 @@ var commands = [
|
|
|
140
144
|
{ "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" },
|
|
141
145
|
{ "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" },
|
|
142
146
|
{ "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" },
|
|
147
|
+
{ "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
|
+
{ "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" },
|
|
143
149
|
{ "resourceKey": "images", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate image", "httpMethod": "POST", "path": "/images/generate" },
|
|
144
150
|
{ "resourceKey": "images", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List images", "httpMethod": "GET", "path": "/images" },
|
|
145
151
|
{ "resourceKey": "images", "methodName": "get", "kebabMethod": "get", "pathParams": ["imageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get image", "httpMethod": "GET", "path": "/images/{image_id}" },
|
|
@@ -147,6 +153,7 @@ var commands = [
|
|
|
147
153
|
{ "resourceKey": "jobs", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List jobs", "httpMethod": "GET", "path": "/jobs" },
|
|
148
154
|
{ "resourceKey": "jobs", "methodName": "get", "kebabMethod": "get", "pathParams": ["jobId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get job", "httpMethod": "GET", "path": "/jobs/{job_id}" },
|
|
149
155
|
{ "resourceKey": "jobs", "methodName": "cancel", "kebabMethod": "cancel", "pathParams": ["jobId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Cancel job", "httpMethod": "POST", "path": "/jobs/{job_id}/cancel" },
|
|
156
|
+
{ "resourceKey": "logs", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List developer logs", "httpMethod": "GET", "path": "/logs" },
|
|
150
157
|
{ "resourceKey": "media", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List media", "httpMethod": "GET", "path": "/media" },
|
|
151
158
|
{ "resourceKey": "media", "methodName": "get", "kebabMethod": "get", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get media", "httpMethod": "GET", "path": "/media/{media_id}" },
|
|
152
159
|
{ "resourceKey": "media", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete media", "httpMethod": "DELETE", "path": "/media/{media_id}" },
|
|
@@ -233,6 +240,7 @@ var commands = [
|
|
|
233
240
|
{ "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}" },
|
|
234
241
|
{ "resourceKey": "social", "methodName": "searchConversations", "kebabMethod": "search-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Search conversations", "httpMethod": "GET", "path": "/social/conversations/search" },
|
|
235
242
|
{ "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" },
|
|
243
|
+
{ "resourceKey": "social", "methodName": "createPinterestBoard", "kebabMethod": "create-pinterest-board", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a Pinterest board", "httpMethod": "POST", "path": "/social/accounts/{account_id}/pinterest/boards" },
|
|
236
244
|
{ "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" },
|
|
237
245
|
{ "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" },
|
|
238
246
|
{ "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" },
|
|
@@ -281,11 +289,18 @@ var commands = [
|
|
|
281
289
|
{ "resourceKey": "social", "methodName": "instagramAudience", "kebabMethod": "instagram-audience", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Instagram audience demographics", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/audience" },
|
|
282
290
|
{ "resourceKey": "social", "methodName": "connectOptions", "kebabMethod": "connect-options", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Connection target options", "httpMethod": "GET", "path": "/social/accounts/{account_id}/connect-options" },
|
|
283
291
|
{ "resourceKey": "social", "methodName": "connectSelect", "kebabMethod": "connect-select", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Select connection target", "httpMethod": "POST", "path": "/social/accounts/{account_id}/connect-select" },
|
|
292
|
+
{ "resourceKey": "social", "methodName": "getFacebookPage", "kebabMethod": "get-facebook-page", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get Facebook page details", "httpMethod": "GET", "path": "/social/accounts/{account_id}/facebook/page" },
|
|
293
|
+
{ "resourceKey": "social", "methodName": "updateFacebookPage", "kebabMethod": "update-facebook-page", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update Facebook page details", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}/facebook/page" },
|
|
294
|
+
{ "resourceKey": "social", "methodName": "updateYoutubePlaylist", "kebabMethod": "update-youtube-playlist", "pathParams": ["accountId", "playlistId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a YouTube playlist", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}/youtube/playlists/{playlist_id}" },
|
|
295
|
+
{ "resourceKey": "social", "methodName": "listMentions", "kebabMethod": "list-mentions", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List mentions", "httpMethod": "GET", "path": "/social/accounts/{account_id}/mentions" },
|
|
296
|
+
{ "resourceKey": "social", "methodName": "replyToMention", "kebabMethod": "reply-to-mention", "pathParams": ["accountId", "mentionId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Reply to a mention", "httpMethod": "POST", "path": "/social/accounts/{account_id}/mentions/{mention_id}/reply" },
|
|
297
|
+
{ "resourceKey": "social", "methodName": "listRedditFlairs", "kebabMethod": "list-reddit-flairs", "pathParams": ["accountId", "subreddit"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List subreddit post flairs", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/subreddits/{subreddit}/flairs" },
|
|
284
298
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
285
299
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
286
300
|
{ "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
|
|
287
301
|
{ "resourceKey": "urls", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete short URL", "httpMethod": "DELETE", "path": "/urls/{url_id}" },
|
|
288
302
|
{ "resourceKey": "urls", "methodName": "getStats", "kebabMethod": "get-stats", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL stats", "httpMethod": "GET", "path": "/urls/{url_id}/stats" },
|
|
303
|
+
{ "resourceKey": "urls", "methodName": "updateShort", "kebabMethod": "update-short", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a short URL", "httpMethod": "PATCH", "path": "/urls/{id}" },
|
|
289
304
|
{ "resourceKey": "videos", "methodName": "listModels", "kebabMethod": "list-models", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List available video models", "httpMethod": "GET", "path": "/videos/models" },
|
|
290
305
|
{ "resourceKey": "videos", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate video", "httpMethod": "POST", "path": "/videos/generate" },
|
|
291
306
|
{ "resourceKey": "videos", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List videos", "httpMethod": "GET", "path": "/videos" },
|
|
@@ -301,12 +316,21 @@ var commands = [
|
|
|
301
316
|
{ "resourceKey": "webhooks", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete webhook", "httpMethod": "DELETE", "path": "/webhooks/{id}" },
|
|
302
317
|
{ "resourceKey": "webhooks", "methodName": "listLogs", "kebabMethod": "list-logs", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List webhook delivery logs", "httpMethod": "GET", "path": "/webhooks/logs" },
|
|
303
318
|
{ "resourceKey": "webhooks", "methodName": "test", "kebabMethod": "test", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Send test webhook", "httpMethod": "POST", "path": "/webhooks/{id}/test" },
|
|
319
|
+
{ "resourceKey": "webhooks", "methodName": "replayDelivery", "kebabMethod": "replay-delivery", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Replay a webhook delivery", "httpMethod": "POST", "path": "/webhooks/deliveries/{id}/replay" },
|
|
304
320
|
{ "resourceKey": "whatsApp", "methodName": "sendWhatsAppMessage", "kebabMethod": "send-whats-app-message", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Send a WhatsApp message", "httpMethod": "POST", "path": "/whatsapp/messages" },
|
|
305
321
|
{ "resourceKey": "whatsApp", "methodName": "listWhatsAppTemplates", "kebabMethod": "list-whats-app-templates", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List message templates", "httpMethod": "GET", "path": "/whatsapp/templates" },
|
|
306
322
|
{ "resourceKey": "whatsApp", "methodName": "createWhatsAppTemplate", "kebabMethod": "create-whats-app-template", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a message template", "httpMethod": "POST", "path": "/whatsapp/templates" },
|
|
307
323
|
{ "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" },
|
|
308
324
|
{ "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" },
|
|
309
325
|
{ "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" },
|
|
326
|
+
{ "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
|
+
{ "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
|
+
{ "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}" },
|
|
329
|
+
{ "resourceKey": "whatsApp", "methodName": "updateProfilePhoto", "kebabMethod": "update-profile-photo", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Set the WhatsApp profile photo", "httpMethod": "POST", "path": "/whatsapp/business-profile/photo" },
|
|
330
|
+
{ "resourceKey": "whatsApp", "methodName": "getDisplayName", "kebabMethod": "get-display-name", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get the WhatsApp display name", "httpMethod": "GET", "path": "/whatsapp/business-profile/display-name" },
|
|
331
|
+
{ "resourceKey": "whatsApp", "methodName": "updateDisplayName", "kebabMethod": "update-display-name", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Request a WhatsApp display-name change", "httpMethod": "POST", "path": "/whatsapp/business-profile/display-name" },
|
|
332
|
+
{ "resourceKey": "whatsApp", "methodName": "listTemplateLibrary", "kebabMethod": "list-template-library", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Browse the shared template library", "httpMethod": "GET", "path": "/whatsapp/template-library" },
|
|
333
|
+
{ "resourceKey": "whatsApp", "methodName": "createTemplateFromLibrary", "kebabMethod": "create-template-from-library", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Adopt a library template", "httpMethod": "POST", "path": "/whatsapp/templates/from-library" },
|
|
310
334
|
{ "resourceKey": "workspaces", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List workspaces (sub-accounts)", "httpMethod": "GET", "path": "/workspaces" },
|
|
311
335
|
{ "resourceKey": "workspaces", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a workspace (sub-account)", "httpMethod": "POST", "path": "/workspaces" },
|
|
312
336
|
{ "resourceKey": "workspaces", "methodName": "bulkAction", "kebabMethod": "bulk-action", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk sub-account action", "httpMethod": "POST", "path": "/workspaces/bulk" },
|
|
@@ -485,7 +509,7 @@ function runLogout() {
|
|
|
485
509
|
// package.json
|
|
486
510
|
var package_default = {
|
|
487
511
|
name: "@smartlyqofficial/cli",
|
|
488
|
-
version: "0.1.
|
|
512
|
+
version: "0.1.18",
|
|
489
513
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
490
514
|
keywords: [
|
|
491
515
|
"smartlyq",
|
|
@@ -535,7 +559,7 @@ var package_default = {
|
|
|
535
559
|
prepublishOnly: "npm run build"
|
|
536
560
|
},
|
|
537
561
|
dependencies: {
|
|
538
|
-
"@smartlyqofficial/node": "^0.1.
|
|
562
|
+
"@smartlyqofficial/node": "^0.1.18",
|
|
539
563
|
commander: "^12.1.0"
|
|
540
564
|
},
|
|
541
565
|
devDependencies: {
|
package/dist/index.js
CHANGED
|
@@ -26,6 +26,10 @@ var commands = [
|
|
|
26
26
|
{ "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" },
|
|
27
27
|
{ "resourceKey": "analytics", "methodName": "inboxConversations", "kebabMethod": "inbox-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Inbox conversation stats", "httpMethod": "GET", "path": "/analytics/inbox/conversations" },
|
|
28
28
|
{ "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}" },
|
|
29
|
+
{ "resourceKey": "analytics", "methodName": "getYoutubeChannelInsights", "kebabMethod": "get-youtube-channel-insights", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "YouTube channel insights", "httpMethod": "GET", "path": "/analytics/youtube/channel-insights" },
|
|
30
|
+
{ "resourceKey": "analytics", "methodName": "getYoutubeDailyViews", "kebabMethod": "get-youtube-daily-views", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "YouTube daily views", "httpMethod": "GET", "path": "/analytics/youtube/daily-views" },
|
|
31
|
+
{ "resourceKey": "analytics", "methodName": "getYoutubeVideoRetention", "kebabMethod": "get-youtube-video-retention", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "YouTube audience retention", "httpMethod": "GET", "path": "/analytics/youtube/video-retention" },
|
|
32
|
+
{ "resourceKey": "analytics", "methodName": "getYoutubeDemographics", "kebabMethod": "get-youtube-demographics", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "YouTube viewer demographics", "httpMethod": "GET", "path": "/analytics/youtube/demographics" },
|
|
29
33
|
{ "resourceKey": "articles", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate article", "httpMethod": "POST", "path": "/articles/generate" },
|
|
30
34
|
{ "resourceKey": "articles", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List articles", "httpMethod": "GET", "path": "/articles" },
|
|
31
35
|
{ "resourceKey": "articles", "methodName": "get", "kebabMethod": "get", "pathParams": ["articleId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get article", "httpMethod": "GET", "path": "/articles/{article_id}" },
|
|
@@ -88,6 +92,8 @@ var commands = [
|
|
|
88
92
|
{ "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" },
|
|
89
93
|
{ "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" },
|
|
90
94
|
{ "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" },
|
|
95
|
+
{ "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
|
+
{ "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" },
|
|
91
97
|
{ "resourceKey": "images", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate image", "httpMethod": "POST", "path": "/images/generate" },
|
|
92
98
|
{ "resourceKey": "images", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List images", "httpMethod": "GET", "path": "/images" },
|
|
93
99
|
{ "resourceKey": "images", "methodName": "get", "kebabMethod": "get", "pathParams": ["imageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get image", "httpMethod": "GET", "path": "/images/{image_id}" },
|
|
@@ -95,6 +101,7 @@ var commands = [
|
|
|
95
101
|
{ "resourceKey": "jobs", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List jobs", "httpMethod": "GET", "path": "/jobs" },
|
|
96
102
|
{ "resourceKey": "jobs", "methodName": "get", "kebabMethod": "get", "pathParams": ["jobId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get job", "httpMethod": "GET", "path": "/jobs/{job_id}" },
|
|
97
103
|
{ "resourceKey": "jobs", "methodName": "cancel", "kebabMethod": "cancel", "pathParams": ["jobId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Cancel job", "httpMethod": "POST", "path": "/jobs/{job_id}/cancel" },
|
|
104
|
+
{ "resourceKey": "logs", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List developer logs", "httpMethod": "GET", "path": "/logs" },
|
|
98
105
|
{ "resourceKey": "media", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List media", "httpMethod": "GET", "path": "/media" },
|
|
99
106
|
{ "resourceKey": "media", "methodName": "get", "kebabMethod": "get", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get media", "httpMethod": "GET", "path": "/media/{media_id}" },
|
|
100
107
|
{ "resourceKey": "media", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete media", "httpMethod": "DELETE", "path": "/media/{media_id}" },
|
|
@@ -181,6 +188,7 @@ var commands = [
|
|
|
181
188
|
{ "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}" },
|
|
182
189
|
{ "resourceKey": "social", "methodName": "searchConversations", "kebabMethod": "search-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Search conversations", "httpMethod": "GET", "path": "/social/conversations/search" },
|
|
183
190
|
{ "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" },
|
|
191
|
+
{ "resourceKey": "social", "methodName": "createPinterestBoard", "kebabMethod": "create-pinterest-board", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a Pinterest board", "httpMethod": "POST", "path": "/social/accounts/{account_id}/pinterest/boards" },
|
|
184
192
|
{ "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" },
|
|
185
193
|
{ "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" },
|
|
186
194
|
{ "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" },
|
|
@@ -229,11 +237,18 @@ var commands = [
|
|
|
229
237
|
{ "resourceKey": "social", "methodName": "instagramAudience", "kebabMethod": "instagram-audience", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Instagram audience demographics", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/audience" },
|
|
230
238
|
{ "resourceKey": "social", "methodName": "connectOptions", "kebabMethod": "connect-options", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Connection target options", "httpMethod": "GET", "path": "/social/accounts/{account_id}/connect-options" },
|
|
231
239
|
{ "resourceKey": "social", "methodName": "connectSelect", "kebabMethod": "connect-select", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Select connection target", "httpMethod": "POST", "path": "/social/accounts/{account_id}/connect-select" },
|
|
240
|
+
{ "resourceKey": "social", "methodName": "getFacebookPage", "kebabMethod": "get-facebook-page", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get Facebook page details", "httpMethod": "GET", "path": "/social/accounts/{account_id}/facebook/page" },
|
|
241
|
+
{ "resourceKey": "social", "methodName": "updateFacebookPage", "kebabMethod": "update-facebook-page", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update Facebook page details", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}/facebook/page" },
|
|
242
|
+
{ "resourceKey": "social", "methodName": "updateYoutubePlaylist", "kebabMethod": "update-youtube-playlist", "pathParams": ["accountId", "playlistId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a YouTube playlist", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}/youtube/playlists/{playlist_id}" },
|
|
243
|
+
{ "resourceKey": "social", "methodName": "listMentions", "kebabMethod": "list-mentions", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List mentions", "httpMethod": "GET", "path": "/social/accounts/{account_id}/mentions" },
|
|
244
|
+
{ "resourceKey": "social", "methodName": "replyToMention", "kebabMethod": "reply-to-mention", "pathParams": ["accountId", "mentionId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Reply to a mention", "httpMethod": "POST", "path": "/social/accounts/{account_id}/mentions/{mention_id}/reply" },
|
|
245
|
+
{ "resourceKey": "social", "methodName": "listRedditFlairs", "kebabMethod": "list-reddit-flairs", "pathParams": ["accountId", "subreddit"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List subreddit post flairs", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/subreddits/{subreddit}/flairs" },
|
|
232
246
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
233
247
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
234
248
|
{ "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
|
|
235
249
|
{ "resourceKey": "urls", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete short URL", "httpMethod": "DELETE", "path": "/urls/{url_id}" },
|
|
236
250
|
{ "resourceKey": "urls", "methodName": "getStats", "kebabMethod": "get-stats", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL stats", "httpMethod": "GET", "path": "/urls/{url_id}/stats" },
|
|
251
|
+
{ "resourceKey": "urls", "methodName": "updateShort", "kebabMethod": "update-short", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a short URL", "httpMethod": "PATCH", "path": "/urls/{id}" },
|
|
237
252
|
{ "resourceKey": "videos", "methodName": "listModels", "kebabMethod": "list-models", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List available video models", "httpMethod": "GET", "path": "/videos/models" },
|
|
238
253
|
{ "resourceKey": "videos", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate video", "httpMethod": "POST", "path": "/videos/generate" },
|
|
239
254
|
{ "resourceKey": "videos", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List videos", "httpMethod": "GET", "path": "/videos" },
|
|
@@ -249,12 +264,21 @@ var commands = [
|
|
|
249
264
|
{ "resourceKey": "webhooks", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete webhook", "httpMethod": "DELETE", "path": "/webhooks/{id}" },
|
|
250
265
|
{ "resourceKey": "webhooks", "methodName": "listLogs", "kebabMethod": "list-logs", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List webhook delivery logs", "httpMethod": "GET", "path": "/webhooks/logs" },
|
|
251
266
|
{ "resourceKey": "webhooks", "methodName": "test", "kebabMethod": "test", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Send test webhook", "httpMethod": "POST", "path": "/webhooks/{id}/test" },
|
|
267
|
+
{ "resourceKey": "webhooks", "methodName": "replayDelivery", "kebabMethod": "replay-delivery", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Replay a webhook delivery", "httpMethod": "POST", "path": "/webhooks/deliveries/{id}/replay" },
|
|
252
268
|
{ "resourceKey": "whatsApp", "methodName": "sendWhatsAppMessage", "kebabMethod": "send-whats-app-message", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Send a WhatsApp message", "httpMethod": "POST", "path": "/whatsapp/messages" },
|
|
253
269
|
{ "resourceKey": "whatsApp", "methodName": "listWhatsAppTemplates", "kebabMethod": "list-whats-app-templates", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List message templates", "httpMethod": "GET", "path": "/whatsapp/templates" },
|
|
254
270
|
{ "resourceKey": "whatsApp", "methodName": "createWhatsAppTemplate", "kebabMethod": "create-whats-app-template", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a message template", "httpMethod": "POST", "path": "/whatsapp/templates" },
|
|
255
271
|
{ "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" },
|
|
256
272
|
{ "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" },
|
|
257
273
|
{ "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" },
|
|
274
|
+
{ "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
|
+
{ "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
|
+
{ "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}" },
|
|
277
|
+
{ "resourceKey": "whatsApp", "methodName": "updateProfilePhoto", "kebabMethod": "update-profile-photo", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Set the WhatsApp profile photo", "httpMethod": "POST", "path": "/whatsapp/business-profile/photo" },
|
|
278
|
+
{ "resourceKey": "whatsApp", "methodName": "getDisplayName", "kebabMethod": "get-display-name", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get the WhatsApp display name", "httpMethod": "GET", "path": "/whatsapp/business-profile/display-name" },
|
|
279
|
+
{ "resourceKey": "whatsApp", "methodName": "updateDisplayName", "kebabMethod": "update-display-name", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Request a WhatsApp display-name change", "httpMethod": "POST", "path": "/whatsapp/business-profile/display-name" },
|
|
280
|
+
{ "resourceKey": "whatsApp", "methodName": "listTemplateLibrary", "kebabMethod": "list-template-library", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Browse the shared template library", "httpMethod": "GET", "path": "/whatsapp/template-library" },
|
|
281
|
+
{ "resourceKey": "whatsApp", "methodName": "createTemplateFromLibrary", "kebabMethod": "create-template-from-library", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Adopt a library template", "httpMethod": "POST", "path": "/whatsapp/templates/from-library" },
|
|
258
282
|
{ "resourceKey": "workspaces", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List workspaces (sub-accounts)", "httpMethod": "GET", "path": "/workspaces" },
|
|
259
283
|
{ "resourceKey": "workspaces", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a workspace (sub-account)", "httpMethod": "POST", "path": "/workspaces" },
|
|
260
284
|
{ "resourceKey": "workspaces", "methodName": "bulkAction", "kebabMethod": "bulk-action", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk sub-account action", "httpMethod": "POST", "path": "/workspaces/bulk" },
|
|
@@ -433,7 +457,7 @@ function runLogout() {
|
|
|
433
457
|
// package.json
|
|
434
458
|
var package_default = {
|
|
435
459
|
name: "@smartlyqofficial/cli",
|
|
436
|
-
version: "0.1.
|
|
460
|
+
version: "0.1.18",
|
|
437
461
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
438
462
|
keywords: [
|
|
439
463
|
"smartlyq",
|
|
@@ -483,7 +507,7 @@ var package_default = {
|
|
|
483
507
|
prepublishOnly: "npm run build"
|
|
484
508
|
},
|
|
485
509
|
dependencies: {
|
|
486
|
-
"@smartlyqofficial/node": "^0.1.
|
|
510
|
+
"@smartlyqofficial/node": "^0.1.18",
|
|
487
511
|
commander: "^12.1.0"
|
|
488
512
|
},
|
|
489
513
|
devDependencies: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartlyqofficial/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
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.18",
|
|
54
54
|
"commander": "^12.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|