@smartlyqofficial/cli 0.1.17 → 0.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -381,6 +381,7 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
381
381
  | `smartlyq social update-conversation <conversation-id> --data <json>` | `PATCH /social/conversations/{conversation_id}` | Archive / reopen conversation |
382
382
  | `smartlyq social search-conversations [--query <query>]` | `GET /social/conversations/search` | Search conversations |
383
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 |
384
385
  | `smartlyq social youtube-playlists <account-id>` | `GET /social/accounts/{account_id}/youtube/playlists` | YouTube playlists |
385
386
  | `smartlyq social instagram-publishing-limit <account-id>` | `GET /social/accounts/{account_id}/instagram/publishing-limit` | Instagram publishing limit |
386
387
  | `smartlyq social gmb-performance <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/gmb/performance` | Google Business performance |
@@ -429,6 +430,12 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
429
430
  | `smartlyq social instagram-audience <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/instagram/audience` | Instagram audience demographics |
430
431
  | `smartlyq social connect-options <account-id>` | `GET /social/accounts/{account_id}/connect-options` | Connection target options |
431
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 |
432
439
 
433
440
  ### URLs
434
441
 
@@ -483,6 +490,8 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
483
490
  | `smartlyq whats-app update-profile-photo --data <json>` | `POST /whatsapp/business-profile/photo` | Set the WhatsApp profile photo |
484
491
  | `smartlyq whats-app get-display-name [--query <query>]` | `GET /whatsapp/business-profile/display-name` | Get the WhatsApp display name |
485
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 |
486
495
 
487
496
  ### Workspaces
488
497
 
package/dist/cli.js CHANGED
@@ -190,6 +190,7 @@ var commands = [
190
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}" },
191
191
  { "resourceKey": "social", "methodName": "searchConversations", "kebabMethod": "search-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Search conversations", "httpMethod": "GET", "path": "/social/conversations/search" },
192
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" },
193
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" },
194
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" },
195
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" },
@@ -238,6 +239,12 @@ var commands = [
238
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" },
239
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" },
240
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" },
241
248
  { "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
242
249
  { "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
243
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}" },
@@ -272,6 +279,8 @@ var commands = [
272
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" },
273
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" },
274
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" },
275
284
  { "resourceKey": "workspaces", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List workspaces (sub-accounts)", "httpMethod": "GET", "path": "/workspaces" },
276
285
  { "resourceKey": "workspaces", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a workspace (sub-account)", "httpMethod": "POST", "path": "/workspaces" },
277
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" },
@@ -450,7 +459,7 @@ function runLogout() {
450
459
  // package.json
451
460
  var package_default = {
452
461
  name: "@smartlyqofficial/cli",
453
- version: "0.1.17",
462
+ version: "0.1.19",
454
463
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
455
464
  keywords: [
456
465
  "smartlyq",
@@ -500,7 +509,7 @@ var package_default = {
500
509
  prepublishOnly: "npm run build"
501
510
  },
502
511
  dependencies: {
503
- "@smartlyqofficial/node": "^0.1.17",
512
+ "@smartlyqofficial/node": "^0.1.19",
504
513
  commander: "^12.1.0"
505
514
  },
506
515
  devDependencies: {
package/dist/index.cjs CHANGED
@@ -240,6 +240,7 @@ var commands = [
240
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}" },
241
241
  { "resourceKey": "social", "methodName": "searchConversations", "kebabMethod": "search-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Search conversations", "httpMethod": "GET", "path": "/social/conversations/search" },
242
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" },
243
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" },
244
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" },
245
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" },
@@ -288,6 +289,12 @@ var commands = [
288
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" },
289
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" },
290
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" },
291
298
  { "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
292
299
  { "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
293
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}" },
@@ -322,6 +329,8 @@ var commands = [
322
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" },
323
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" },
324
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" },
325
334
  { "resourceKey": "workspaces", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List workspaces (sub-accounts)", "httpMethod": "GET", "path": "/workspaces" },
326
335
  { "resourceKey": "workspaces", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a workspace (sub-account)", "httpMethod": "POST", "path": "/workspaces" },
327
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" },
@@ -500,7 +509,7 @@ function runLogout() {
500
509
  // package.json
501
510
  var package_default = {
502
511
  name: "@smartlyqofficial/cli",
503
- version: "0.1.17",
512
+ version: "0.1.19",
504
513
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
505
514
  keywords: [
506
515
  "smartlyq",
@@ -550,7 +559,7 @@ var package_default = {
550
559
  prepublishOnly: "npm run build"
551
560
  },
552
561
  dependencies: {
553
- "@smartlyqofficial/node": "^0.1.17",
562
+ "@smartlyqofficial/node": "^0.1.19",
554
563
  commander: "^12.1.0"
555
564
  },
556
565
  devDependencies: {
package/dist/index.js CHANGED
@@ -188,6 +188,7 @@ var commands = [
188
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}" },
189
189
  { "resourceKey": "social", "methodName": "searchConversations", "kebabMethod": "search-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Search conversations", "httpMethod": "GET", "path": "/social/conversations/search" },
190
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" },
191
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" },
192
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" },
193
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" },
@@ -236,6 +237,12 @@ var commands = [
236
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" },
237
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" },
238
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" },
239
246
  { "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
240
247
  { "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
241
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}" },
@@ -270,6 +277,8 @@ var commands = [
270
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" },
271
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" },
272
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" },
273
282
  { "resourceKey": "workspaces", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List workspaces (sub-accounts)", "httpMethod": "GET", "path": "/workspaces" },
274
283
  { "resourceKey": "workspaces", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a workspace (sub-account)", "httpMethod": "POST", "path": "/workspaces" },
275
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" },
@@ -448,7 +457,7 @@ function runLogout() {
448
457
  // package.json
449
458
  var package_default = {
450
459
  name: "@smartlyqofficial/cli",
451
- version: "0.1.17",
460
+ version: "0.1.19",
452
461
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
453
462
  keywords: [
454
463
  "smartlyq",
@@ -498,7 +507,7 @@ var package_default = {
498
507
  prepublishOnly: "npm run build"
499
508
  },
500
509
  dependencies: {
501
- "@smartlyqofficial/node": "^0.1.17",
510
+ "@smartlyqofficial/node": "^0.1.19",
502
511
  commander: "^12.1.0"
503
512
  },
504
513
  devDependencies: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartlyqofficial/cli",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
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.17",
53
+ "@smartlyqofficial/node": "^0.1.19",
54
54
  "commander": "^12.1.0"
55
55
  },
56
56
  "devDependencies": {