@smartlyqofficial/cli 0.1.3 → 0.1.5
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 +24 -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
|
@@ -282,6 +282,7 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
282
282
|
| --- | --- | --- |
|
|
283
283
|
| `smartlyq reviews list [--query <query>]` | `GET /reviews` | List reviews |
|
|
284
284
|
| `smartlyq reviews reply-to <review-id> --data <json>` | `POST /reviews/{review_id}/reply` | Reply to review |
|
|
285
|
+
| `smartlyq reviews delete-reply <review-id>` | `DELETE /reviews/{review_id}/reply` | Delete review reply |
|
|
285
286
|
| `smartlyq reviews sync [--data <json>]` | `POST /reviews/sync` | Sync reviews |
|
|
286
287
|
|
|
287
288
|
### SEO
|
|
@@ -370,6 +371,29 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
370
371
|
| `smartlyq social reddit-subreddit-rules <account-id> <subreddit>` | `GET /social/accounts/{account_id}/reddit/subreddits/{subreddit}/rules` | Subreddit rules |
|
|
371
372
|
| `smartlyq social instagram-stories <account-id>` | `GET /social/accounts/{account_id}/instagram/stories` | Instagram stories |
|
|
372
373
|
| `smartlyq social facebook-post-reactions <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/facebook/post-reactions` | Facebook post reactions |
|
|
374
|
+
| `smartlyq social instagram-story-insights <account-id> <story-id> [--query <query>]` | `GET /social/accounts/{account_id}/instagram/stories/{story_id}/insights` | Instagram story insights |
|
|
375
|
+
| `smartlyq social x-retweet <account-id> --data <json>` | `POST /social/accounts/{account_id}/x/retweets` | Retweet on X |
|
|
376
|
+
| `smartlyq social x-unretweet <account-id> <tweet-id>` | `DELETE /social/accounts/{account_id}/x/retweets/{tweet_id}` | Undo retweet |
|
|
377
|
+
| `smartlyq social edit-published-post <post-id> --data <json>` | `POST /social/posts/{post_id}/edit` | Edit published post |
|
|
378
|
+
| `smartlyq social update-post-metadata <post-id> --data <json>` | `POST /social/posts/{post_id}/update-metadata` | Update YouTube metadata |
|
|
379
|
+
| `smartlyq social sync-external-posts --data <json>` | `POST /social/posts/sync-external` | Sync external posts |
|
|
380
|
+
| `smartlyq social account-insights <account-id>` | `GET /social/accounts/{account_id}/insights` | Live account insights |
|
|
381
|
+
| `smartlyq social gmb-locations <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/gmb/locations` | List Google locations |
|
|
382
|
+
| `smartlyq social gmb-location <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/gmb/location` | Get business info |
|
|
383
|
+
| `smartlyq social gmb-update-location <account-id> --data <json>` | `PATCH /social/accounts/{account_id}/gmb/location` | Update business info |
|
|
384
|
+
| `smartlyq social gmb-attributes <account-id>` | `GET /social/accounts/{account_id}/gmb/attributes` | Get attributes |
|
|
385
|
+
| `smartlyq social gmb-update-attributes <account-id> --data <json>` | `PUT /social/accounts/{account_id}/gmb/attributes` | Update attributes |
|
|
386
|
+
| `smartlyq social gmb-attribute-metadata <account-id>` | `GET /social/accounts/{account_id}/gmb/attributes/metadata` | Available attributes |
|
|
387
|
+
| `smartlyq social gmb-media <account-id>` | `GET /social/accounts/{account_id}/gmb/media` | List media |
|
|
388
|
+
| `smartlyq social gmb-create-media <account-id> --data <json>` | `POST /social/accounts/{account_id}/gmb/media` | Add photo |
|
|
389
|
+
| `smartlyq social gmb-delete-media <account-id> --data <json>` | `DELETE /social/accounts/{account_id}/gmb/media` | Delete media |
|
|
390
|
+
| `smartlyq social gmb-food-menus <account-id>` | `GET /social/accounts/{account_id}/gmb/food-menus` | Get food menus |
|
|
391
|
+
| `smartlyq social gmb-update-food-menus <account-id> --data <json>` | `PUT /social/accounts/{account_id}/gmb/food-menus` | Update food menus |
|
|
392
|
+
| `smartlyq social gmb-place-actions <account-id>` | `GET /social/accounts/{account_id}/gmb/place-actions` | List place-action links |
|
|
393
|
+
| `smartlyq social gmb-create-place-action <account-id> --data <json>` | `POST /social/accounts/{account_id}/gmb/place-actions` | Create place-action link |
|
|
394
|
+
| `smartlyq social gmb-delete-place-action <account-id> --data <json>` | `DELETE /social/accounts/{account_id}/gmb/place-actions` | Delete place-action link |
|
|
395
|
+
| `smartlyq social gmb-verifications <account-id>` | `GET /social/accounts/{account_id}/gmb/verifications` | List verifications |
|
|
396
|
+
| `smartlyq social gmb-verification-options <account-id> [--data <json>]` | `POST /social/accounts/{account_id}/gmb/verifications/options` | Verification options |
|
|
373
397
|
|
|
374
398
|
### URLs
|
|
375
399
|
|
package/dist/cli.js
CHANGED
|
@@ -111,6 +111,7 @@ var commands = [
|
|
|
111
111
|
{ "resourceKey": "profiles", "methodName": "getAccountBilling", "kebabMethod": "get-account-billing", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account billing summary", "httpMethod": "GET", "path": "/me/account-billing" },
|
|
112
112
|
{ "resourceKey": "reviews", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List reviews", "httpMethod": "GET", "path": "/reviews" },
|
|
113
113
|
{ "resourceKey": "reviews", "methodName": "replyTo", "kebabMethod": "reply-to", "pathParams": ["reviewId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Reply to review", "httpMethod": "POST", "path": "/reviews/{review_id}/reply" },
|
|
114
|
+
{ "resourceKey": "reviews", "methodName": "deleteReply", "kebabMethod": "delete-reply", "pathParams": ["reviewId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete review reply", "httpMethod": "DELETE", "path": "/reviews/{review_id}/reply" },
|
|
114
115
|
{ "resourceKey": "reviews", "methodName": "sync", "kebabMethod": "sync", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Sync reviews", "httpMethod": "POST", "path": "/reviews/sync" },
|
|
115
116
|
{ "resourceKey": "seo", "methodName": "keywordResearch", "kebabMethod": "keyword-research", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword research", "httpMethod": "POST", "path": "/seo/keyword-research" },
|
|
116
117
|
{ "resourceKey": "seo", "methodName": "serp", "kebabMethod": "serp", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Live SERP lookup", "httpMethod": "POST", "path": "/seo/serp" },
|
|
@@ -184,6 +185,29 @@ var commands = [
|
|
|
184
185
|
{ "resourceKey": "social", "methodName": "redditSubredditRules", "kebabMethod": "reddit-subreddit-rules", "pathParams": ["accountId", "subreddit"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Subreddit rules", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/subreddits/{subreddit}/rules" },
|
|
185
186
|
{ "resourceKey": "social", "methodName": "instagramStories", "kebabMethod": "instagram-stories", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Instagram stories", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/stories" },
|
|
186
187
|
{ "resourceKey": "social", "methodName": "facebookPostReactions", "kebabMethod": "facebook-post-reactions", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Facebook post reactions", "httpMethod": "GET", "path": "/social/accounts/{account_id}/facebook/post-reactions" },
|
|
188
|
+
{ "resourceKey": "social", "methodName": "instagramStoryInsights", "kebabMethod": "instagram-story-insights", "pathParams": ["accountId", "storyId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Instagram story insights", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/stories/{story_id}/insights" },
|
|
189
|
+
{ "resourceKey": "social", "methodName": "xRetweet", "kebabMethod": "x-retweet", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Retweet on X", "httpMethod": "POST", "path": "/social/accounts/{account_id}/x/retweets" },
|
|
190
|
+
{ "resourceKey": "social", "methodName": "xUnretweet", "kebabMethod": "x-unretweet", "pathParams": ["accountId", "tweetId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Undo retweet", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/x/retweets/{tweet_id}" },
|
|
191
|
+
{ "resourceKey": "social", "methodName": "editPublishedPost", "kebabMethod": "edit-published-post", "pathParams": ["postId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Edit published post", "httpMethod": "POST", "path": "/social/posts/{post_id}/edit" },
|
|
192
|
+
{ "resourceKey": "social", "methodName": "updatePostMetadata", "kebabMethod": "update-post-metadata", "pathParams": ["postId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update YouTube metadata", "httpMethod": "POST", "path": "/social/posts/{post_id}/update-metadata" },
|
|
193
|
+
{ "resourceKey": "social", "methodName": "syncExternalPosts", "kebabMethod": "sync-external-posts", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Sync external posts", "httpMethod": "POST", "path": "/social/posts/sync-external" },
|
|
194
|
+
{ "resourceKey": "social", "methodName": "accountInsights", "kebabMethod": "account-insights", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Live account insights", "httpMethod": "GET", "path": "/social/accounts/{account_id}/insights" },
|
|
195
|
+
{ "resourceKey": "social", "methodName": "gmbLocations", "kebabMethod": "gmb-locations", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List Google locations", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/locations" },
|
|
196
|
+
{ "resourceKey": "social", "methodName": "gmbLocation", "kebabMethod": "gmb-location", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get business info", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/location" },
|
|
197
|
+
{ "resourceKey": "social", "methodName": "gmbUpdateLocation", "kebabMethod": "gmb-update-location", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update business info", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}/gmb/location" },
|
|
198
|
+
{ "resourceKey": "social", "methodName": "gmbAttributes", "kebabMethod": "gmb-attributes", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get attributes", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/attributes" },
|
|
199
|
+
{ "resourceKey": "social", "methodName": "gmbUpdateAttributes", "kebabMethod": "gmb-update-attributes", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update attributes", "httpMethod": "PUT", "path": "/social/accounts/{account_id}/gmb/attributes" },
|
|
200
|
+
{ "resourceKey": "social", "methodName": "gmbAttributeMetadata", "kebabMethod": "gmb-attribute-metadata", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Available attributes", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/attributes/metadata" },
|
|
201
|
+
{ "resourceKey": "social", "methodName": "gmbMedia", "kebabMethod": "gmb-media", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List media", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/media" },
|
|
202
|
+
{ "resourceKey": "social", "methodName": "gmbCreateMedia", "kebabMethod": "gmb-create-media", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Add photo", "httpMethod": "POST", "path": "/social/accounts/{account_id}/gmb/media" },
|
|
203
|
+
{ "resourceKey": "social", "methodName": "gmbDeleteMedia", "kebabMethod": "gmb-delete-media", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Delete media", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/gmb/media" },
|
|
204
|
+
{ "resourceKey": "social", "methodName": "gmbFoodMenus", "kebabMethod": "gmb-food-menus", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get food menus", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/food-menus" },
|
|
205
|
+
{ "resourceKey": "social", "methodName": "gmbUpdateFoodMenus", "kebabMethod": "gmb-update-food-menus", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update food menus", "httpMethod": "PUT", "path": "/social/accounts/{account_id}/gmb/food-menus" },
|
|
206
|
+
{ "resourceKey": "social", "methodName": "gmbPlaceActions", "kebabMethod": "gmb-place-actions", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List place-action links", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/place-actions" },
|
|
207
|
+
{ "resourceKey": "social", "methodName": "gmbCreatePlaceAction", "kebabMethod": "gmb-create-place-action", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create place-action link", "httpMethod": "POST", "path": "/social/accounts/{account_id}/gmb/place-actions" },
|
|
208
|
+
{ "resourceKey": "social", "methodName": "gmbDeletePlaceAction", "kebabMethod": "gmb-delete-place-action", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Delete place-action link", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/gmb/place-actions" },
|
|
209
|
+
{ "resourceKey": "social", "methodName": "gmbVerifications", "kebabMethod": "gmb-verifications", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List verifications", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/verifications" },
|
|
210
|
+
{ "resourceKey": "social", "methodName": "gmbVerificationOptions", "kebabMethod": "gmb-verification-options", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Verification options", "httpMethod": "POST", "path": "/social/accounts/{account_id}/gmb/verifications/options" },
|
|
187
211
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
188
212
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
189
213
|
{ "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
|
|
@@ -382,7 +406,7 @@ function runLogout() {
|
|
|
382
406
|
// package.json
|
|
383
407
|
var package_default = {
|
|
384
408
|
name: "@smartlyqofficial/cli",
|
|
385
|
-
version: "0.1.
|
|
409
|
+
version: "0.1.5",
|
|
386
410
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
387
411
|
keywords: [
|
|
388
412
|
"smartlyq",
|
|
@@ -432,7 +456,7 @@ var package_default = {
|
|
|
432
456
|
prepublishOnly: "npm run build"
|
|
433
457
|
},
|
|
434
458
|
dependencies: {
|
|
435
|
-
"@smartlyqofficial/node": "^0.1.
|
|
459
|
+
"@smartlyqofficial/node": "^0.1.7",
|
|
436
460
|
commander: "^12.1.0"
|
|
437
461
|
},
|
|
438
462
|
devDependencies: {
|
package/dist/index.cjs
CHANGED
|
@@ -161,6 +161,7 @@ var commands = [
|
|
|
161
161
|
{ "resourceKey": "profiles", "methodName": "getAccountBilling", "kebabMethod": "get-account-billing", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account billing summary", "httpMethod": "GET", "path": "/me/account-billing" },
|
|
162
162
|
{ "resourceKey": "reviews", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List reviews", "httpMethod": "GET", "path": "/reviews" },
|
|
163
163
|
{ "resourceKey": "reviews", "methodName": "replyTo", "kebabMethod": "reply-to", "pathParams": ["reviewId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Reply to review", "httpMethod": "POST", "path": "/reviews/{review_id}/reply" },
|
|
164
|
+
{ "resourceKey": "reviews", "methodName": "deleteReply", "kebabMethod": "delete-reply", "pathParams": ["reviewId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete review reply", "httpMethod": "DELETE", "path": "/reviews/{review_id}/reply" },
|
|
164
165
|
{ "resourceKey": "reviews", "methodName": "sync", "kebabMethod": "sync", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Sync reviews", "httpMethod": "POST", "path": "/reviews/sync" },
|
|
165
166
|
{ "resourceKey": "seo", "methodName": "keywordResearch", "kebabMethod": "keyword-research", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword research", "httpMethod": "POST", "path": "/seo/keyword-research" },
|
|
166
167
|
{ "resourceKey": "seo", "methodName": "serp", "kebabMethod": "serp", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Live SERP lookup", "httpMethod": "POST", "path": "/seo/serp" },
|
|
@@ -234,6 +235,29 @@ var commands = [
|
|
|
234
235
|
{ "resourceKey": "social", "methodName": "redditSubredditRules", "kebabMethod": "reddit-subreddit-rules", "pathParams": ["accountId", "subreddit"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Subreddit rules", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/subreddits/{subreddit}/rules" },
|
|
235
236
|
{ "resourceKey": "social", "methodName": "instagramStories", "kebabMethod": "instagram-stories", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Instagram stories", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/stories" },
|
|
236
237
|
{ "resourceKey": "social", "methodName": "facebookPostReactions", "kebabMethod": "facebook-post-reactions", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Facebook post reactions", "httpMethod": "GET", "path": "/social/accounts/{account_id}/facebook/post-reactions" },
|
|
238
|
+
{ "resourceKey": "social", "methodName": "instagramStoryInsights", "kebabMethod": "instagram-story-insights", "pathParams": ["accountId", "storyId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Instagram story insights", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/stories/{story_id}/insights" },
|
|
239
|
+
{ "resourceKey": "social", "methodName": "xRetweet", "kebabMethod": "x-retweet", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Retweet on X", "httpMethod": "POST", "path": "/social/accounts/{account_id}/x/retweets" },
|
|
240
|
+
{ "resourceKey": "social", "methodName": "xUnretweet", "kebabMethod": "x-unretweet", "pathParams": ["accountId", "tweetId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Undo retweet", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/x/retweets/{tweet_id}" },
|
|
241
|
+
{ "resourceKey": "social", "methodName": "editPublishedPost", "kebabMethod": "edit-published-post", "pathParams": ["postId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Edit published post", "httpMethod": "POST", "path": "/social/posts/{post_id}/edit" },
|
|
242
|
+
{ "resourceKey": "social", "methodName": "updatePostMetadata", "kebabMethod": "update-post-metadata", "pathParams": ["postId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update YouTube metadata", "httpMethod": "POST", "path": "/social/posts/{post_id}/update-metadata" },
|
|
243
|
+
{ "resourceKey": "social", "methodName": "syncExternalPosts", "kebabMethod": "sync-external-posts", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Sync external posts", "httpMethod": "POST", "path": "/social/posts/sync-external" },
|
|
244
|
+
{ "resourceKey": "social", "methodName": "accountInsights", "kebabMethod": "account-insights", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Live account insights", "httpMethod": "GET", "path": "/social/accounts/{account_id}/insights" },
|
|
245
|
+
{ "resourceKey": "social", "methodName": "gmbLocations", "kebabMethod": "gmb-locations", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List Google locations", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/locations" },
|
|
246
|
+
{ "resourceKey": "social", "methodName": "gmbLocation", "kebabMethod": "gmb-location", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get business info", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/location" },
|
|
247
|
+
{ "resourceKey": "social", "methodName": "gmbUpdateLocation", "kebabMethod": "gmb-update-location", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update business info", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}/gmb/location" },
|
|
248
|
+
{ "resourceKey": "social", "methodName": "gmbAttributes", "kebabMethod": "gmb-attributes", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get attributes", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/attributes" },
|
|
249
|
+
{ "resourceKey": "social", "methodName": "gmbUpdateAttributes", "kebabMethod": "gmb-update-attributes", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update attributes", "httpMethod": "PUT", "path": "/social/accounts/{account_id}/gmb/attributes" },
|
|
250
|
+
{ "resourceKey": "social", "methodName": "gmbAttributeMetadata", "kebabMethod": "gmb-attribute-metadata", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Available attributes", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/attributes/metadata" },
|
|
251
|
+
{ "resourceKey": "social", "methodName": "gmbMedia", "kebabMethod": "gmb-media", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List media", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/media" },
|
|
252
|
+
{ "resourceKey": "social", "methodName": "gmbCreateMedia", "kebabMethod": "gmb-create-media", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Add photo", "httpMethod": "POST", "path": "/social/accounts/{account_id}/gmb/media" },
|
|
253
|
+
{ "resourceKey": "social", "methodName": "gmbDeleteMedia", "kebabMethod": "gmb-delete-media", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Delete media", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/gmb/media" },
|
|
254
|
+
{ "resourceKey": "social", "methodName": "gmbFoodMenus", "kebabMethod": "gmb-food-menus", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get food menus", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/food-menus" },
|
|
255
|
+
{ "resourceKey": "social", "methodName": "gmbUpdateFoodMenus", "kebabMethod": "gmb-update-food-menus", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update food menus", "httpMethod": "PUT", "path": "/social/accounts/{account_id}/gmb/food-menus" },
|
|
256
|
+
{ "resourceKey": "social", "methodName": "gmbPlaceActions", "kebabMethod": "gmb-place-actions", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List place-action links", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/place-actions" },
|
|
257
|
+
{ "resourceKey": "social", "methodName": "gmbCreatePlaceAction", "kebabMethod": "gmb-create-place-action", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create place-action link", "httpMethod": "POST", "path": "/social/accounts/{account_id}/gmb/place-actions" },
|
|
258
|
+
{ "resourceKey": "social", "methodName": "gmbDeletePlaceAction", "kebabMethod": "gmb-delete-place-action", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Delete place-action link", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/gmb/place-actions" },
|
|
259
|
+
{ "resourceKey": "social", "methodName": "gmbVerifications", "kebabMethod": "gmb-verifications", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List verifications", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/verifications" },
|
|
260
|
+
{ "resourceKey": "social", "methodName": "gmbVerificationOptions", "kebabMethod": "gmb-verification-options", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Verification options", "httpMethod": "POST", "path": "/social/accounts/{account_id}/gmb/verifications/options" },
|
|
237
261
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
238
262
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
239
263
|
{ "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
|
|
@@ -432,7 +456,7 @@ function runLogout() {
|
|
|
432
456
|
// package.json
|
|
433
457
|
var package_default = {
|
|
434
458
|
name: "@smartlyqofficial/cli",
|
|
435
|
-
version: "0.1.
|
|
459
|
+
version: "0.1.5",
|
|
436
460
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
437
461
|
keywords: [
|
|
438
462
|
"smartlyq",
|
|
@@ -482,7 +506,7 @@ var package_default = {
|
|
|
482
506
|
prepublishOnly: "npm run build"
|
|
483
507
|
},
|
|
484
508
|
dependencies: {
|
|
485
|
-
"@smartlyqofficial/node": "^0.1.
|
|
509
|
+
"@smartlyqofficial/node": "^0.1.7",
|
|
486
510
|
commander: "^12.1.0"
|
|
487
511
|
},
|
|
488
512
|
devDependencies: {
|
package/dist/index.js
CHANGED
|
@@ -109,6 +109,7 @@ var commands = [
|
|
|
109
109
|
{ "resourceKey": "profiles", "methodName": "getAccountBilling", "kebabMethod": "get-account-billing", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account billing summary", "httpMethod": "GET", "path": "/me/account-billing" },
|
|
110
110
|
{ "resourceKey": "reviews", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List reviews", "httpMethod": "GET", "path": "/reviews" },
|
|
111
111
|
{ "resourceKey": "reviews", "methodName": "replyTo", "kebabMethod": "reply-to", "pathParams": ["reviewId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Reply to review", "httpMethod": "POST", "path": "/reviews/{review_id}/reply" },
|
|
112
|
+
{ "resourceKey": "reviews", "methodName": "deleteReply", "kebabMethod": "delete-reply", "pathParams": ["reviewId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete review reply", "httpMethod": "DELETE", "path": "/reviews/{review_id}/reply" },
|
|
112
113
|
{ "resourceKey": "reviews", "methodName": "sync", "kebabMethod": "sync", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Sync reviews", "httpMethod": "POST", "path": "/reviews/sync" },
|
|
113
114
|
{ "resourceKey": "seo", "methodName": "keywordResearch", "kebabMethod": "keyword-research", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Keyword research", "httpMethod": "POST", "path": "/seo/keyword-research" },
|
|
114
115
|
{ "resourceKey": "seo", "methodName": "serp", "kebabMethod": "serp", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Live SERP lookup", "httpMethod": "POST", "path": "/seo/serp" },
|
|
@@ -182,6 +183,29 @@ var commands = [
|
|
|
182
183
|
{ "resourceKey": "social", "methodName": "redditSubredditRules", "kebabMethod": "reddit-subreddit-rules", "pathParams": ["accountId", "subreddit"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Subreddit rules", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/subreddits/{subreddit}/rules" },
|
|
183
184
|
{ "resourceKey": "social", "methodName": "instagramStories", "kebabMethod": "instagram-stories", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Instagram stories", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/stories" },
|
|
184
185
|
{ "resourceKey": "social", "methodName": "facebookPostReactions", "kebabMethod": "facebook-post-reactions", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Facebook post reactions", "httpMethod": "GET", "path": "/social/accounts/{account_id}/facebook/post-reactions" },
|
|
186
|
+
{ "resourceKey": "social", "methodName": "instagramStoryInsights", "kebabMethod": "instagram-story-insights", "pathParams": ["accountId", "storyId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Instagram story insights", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/stories/{story_id}/insights" },
|
|
187
|
+
{ "resourceKey": "social", "methodName": "xRetweet", "kebabMethod": "x-retweet", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Retweet on X", "httpMethod": "POST", "path": "/social/accounts/{account_id}/x/retweets" },
|
|
188
|
+
{ "resourceKey": "social", "methodName": "xUnretweet", "kebabMethod": "x-unretweet", "pathParams": ["accountId", "tweetId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Undo retweet", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/x/retweets/{tweet_id}" },
|
|
189
|
+
{ "resourceKey": "social", "methodName": "editPublishedPost", "kebabMethod": "edit-published-post", "pathParams": ["postId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Edit published post", "httpMethod": "POST", "path": "/social/posts/{post_id}/edit" },
|
|
190
|
+
{ "resourceKey": "social", "methodName": "updatePostMetadata", "kebabMethod": "update-post-metadata", "pathParams": ["postId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update YouTube metadata", "httpMethod": "POST", "path": "/social/posts/{post_id}/update-metadata" },
|
|
191
|
+
{ "resourceKey": "social", "methodName": "syncExternalPosts", "kebabMethod": "sync-external-posts", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Sync external posts", "httpMethod": "POST", "path": "/social/posts/sync-external" },
|
|
192
|
+
{ "resourceKey": "social", "methodName": "accountInsights", "kebabMethod": "account-insights", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Live account insights", "httpMethod": "GET", "path": "/social/accounts/{account_id}/insights" },
|
|
193
|
+
{ "resourceKey": "social", "methodName": "gmbLocations", "kebabMethod": "gmb-locations", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List Google locations", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/locations" },
|
|
194
|
+
{ "resourceKey": "social", "methodName": "gmbLocation", "kebabMethod": "gmb-location", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get business info", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/location" },
|
|
195
|
+
{ "resourceKey": "social", "methodName": "gmbUpdateLocation", "kebabMethod": "gmb-update-location", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update business info", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}/gmb/location" },
|
|
196
|
+
{ "resourceKey": "social", "methodName": "gmbAttributes", "kebabMethod": "gmb-attributes", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get attributes", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/attributes" },
|
|
197
|
+
{ "resourceKey": "social", "methodName": "gmbUpdateAttributes", "kebabMethod": "gmb-update-attributes", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update attributes", "httpMethod": "PUT", "path": "/social/accounts/{account_id}/gmb/attributes" },
|
|
198
|
+
{ "resourceKey": "social", "methodName": "gmbAttributeMetadata", "kebabMethod": "gmb-attribute-metadata", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Available attributes", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/attributes/metadata" },
|
|
199
|
+
{ "resourceKey": "social", "methodName": "gmbMedia", "kebabMethod": "gmb-media", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List media", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/media" },
|
|
200
|
+
{ "resourceKey": "social", "methodName": "gmbCreateMedia", "kebabMethod": "gmb-create-media", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Add photo", "httpMethod": "POST", "path": "/social/accounts/{account_id}/gmb/media" },
|
|
201
|
+
{ "resourceKey": "social", "methodName": "gmbDeleteMedia", "kebabMethod": "gmb-delete-media", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Delete media", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/gmb/media" },
|
|
202
|
+
{ "resourceKey": "social", "methodName": "gmbFoodMenus", "kebabMethod": "gmb-food-menus", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get food menus", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/food-menus" },
|
|
203
|
+
{ "resourceKey": "social", "methodName": "gmbUpdateFoodMenus", "kebabMethod": "gmb-update-food-menus", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update food menus", "httpMethod": "PUT", "path": "/social/accounts/{account_id}/gmb/food-menus" },
|
|
204
|
+
{ "resourceKey": "social", "methodName": "gmbPlaceActions", "kebabMethod": "gmb-place-actions", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List place-action links", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/place-actions" },
|
|
205
|
+
{ "resourceKey": "social", "methodName": "gmbCreatePlaceAction", "kebabMethod": "gmb-create-place-action", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create place-action link", "httpMethod": "POST", "path": "/social/accounts/{account_id}/gmb/place-actions" },
|
|
206
|
+
{ "resourceKey": "social", "methodName": "gmbDeletePlaceAction", "kebabMethod": "gmb-delete-place-action", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Delete place-action link", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/gmb/place-actions" },
|
|
207
|
+
{ "resourceKey": "social", "methodName": "gmbVerifications", "kebabMethod": "gmb-verifications", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List verifications", "httpMethod": "GET", "path": "/social/accounts/{account_id}/gmb/verifications" },
|
|
208
|
+
{ "resourceKey": "social", "methodName": "gmbVerificationOptions", "kebabMethod": "gmb-verification-options", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Verification options", "httpMethod": "POST", "path": "/social/accounts/{account_id}/gmb/verifications/options" },
|
|
185
209
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
186
210
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
187
211
|
{ "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
|
|
@@ -380,7 +404,7 @@ function runLogout() {
|
|
|
380
404
|
// package.json
|
|
381
405
|
var package_default = {
|
|
382
406
|
name: "@smartlyqofficial/cli",
|
|
383
|
-
version: "0.1.
|
|
407
|
+
version: "0.1.5",
|
|
384
408
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
385
409
|
keywords: [
|
|
386
410
|
"smartlyq",
|
|
@@ -430,7 +454,7 @@ var package_default = {
|
|
|
430
454
|
prepublishOnly: "npm run build"
|
|
431
455
|
},
|
|
432
456
|
dependencies: {
|
|
433
|
-
"@smartlyqofficial/node": "^0.1.
|
|
457
|
+
"@smartlyqofficial/node": "^0.1.7",
|
|
434
458
|
commander: "^12.1.0"
|
|
435
459
|
},
|
|
436
460
|
devDependencies: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartlyqofficial/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
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.7",
|
|
54
54
|
"commander": "^12.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|