@smartlyqofficial/cli 0.1.4 → 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 +20 -0
- package/dist/cli.js +22 -2
- package/dist/index.cjs +22 -2
- package/dist/index.js +22 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -374,6 +374,26 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
374
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
375
|
| `smartlyq social x-retweet <account-id> --data <json>` | `POST /social/accounts/{account_id}/x/retweets` | Retweet on X |
|
|
376
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 |
|
|
377
397
|
|
|
378
398
|
### URLs
|
|
379
399
|
|
package/dist/cli.js
CHANGED
|
@@ -188,6 +188,26 @@ var commands = [
|
|
|
188
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
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
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" },
|
|
191
211
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
192
212
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
193
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}" },
|
|
@@ -386,7 +406,7 @@ function runLogout() {
|
|
|
386
406
|
// package.json
|
|
387
407
|
var package_default = {
|
|
388
408
|
name: "@smartlyqofficial/cli",
|
|
389
|
-
version: "0.1.
|
|
409
|
+
version: "0.1.5",
|
|
390
410
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
391
411
|
keywords: [
|
|
392
412
|
"smartlyq",
|
|
@@ -436,7 +456,7 @@ var package_default = {
|
|
|
436
456
|
prepublishOnly: "npm run build"
|
|
437
457
|
},
|
|
438
458
|
dependencies: {
|
|
439
|
-
"@smartlyqofficial/node": "^0.1.
|
|
459
|
+
"@smartlyqofficial/node": "^0.1.7",
|
|
440
460
|
commander: "^12.1.0"
|
|
441
461
|
},
|
|
442
462
|
devDependencies: {
|
package/dist/index.cjs
CHANGED
|
@@ -238,6 +238,26 @@ var commands = [
|
|
|
238
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
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
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" },
|
|
241
261
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
242
262
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
243
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}" },
|
|
@@ -436,7 +456,7 @@ function runLogout() {
|
|
|
436
456
|
// package.json
|
|
437
457
|
var package_default = {
|
|
438
458
|
name: "@smartlyqofficial/cli",
|
|
439
|
-
version: "0.1.
|
|
459
|
+
version: "0.1.5",
|
|
440
460
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
441
461
|
keywords: [
|
|
442
462
|
"smartlyq",
|
|
@@ -486,7 +506,7 @@ var package_default = {
|
|
|
486
506
|
prepublishOnly: "npm run build"
|
|
487
507
|
},
|
|
488
508
|
dependencies: {
|
|
489
|
-
"@smartlyqofficial/node": "^0.1.
|
|
509
|
+
"@smartlyqofficial/node": "^0.1.7",
|
|
490
510
|
commander: "^12.1.0"
|
|
491
511
|
},
|
|
492
512
|
devDependencies: {
|
package/dist/index.js
CHANGED
|
@@ -186,6 +186,26 @@ var commands = [
|
|
|
186
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
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
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" },
|
|
189
209
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
190
210
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
191
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}" },
|
|
@@ -384,7 +404,7 @@ function runLogout() {
|
|
|
384
404
|
// package.json
|
|
385
405
|
var package_default = {
|
|
386
406
|
name: "@smartlyqofficial/cli",
|
|
387
|
-
version: "0.1.
|
|
407
|
+
version: "0.1.5",
|
|
388
408
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
389
409
|
keywords: [
|
|
390
410
|
"smartlyq",
|
|
@@ -434,7 +454,7 @@ var package_default = {
|
|
|
434
454
|
prepublishOnly: "npm run build"
|
|
435
455
|
},
|
|
436
456
|
dependencies: {
|
|
437
|
-
"@smartlyqofficial/node": "^0.1.
|
|
457
|
+
"@smartlyqofficial/node": "^0.1.7",
|
|
438
458
|
commander: "^12.1.0"
|
|
439
459
|
},
|
|
440
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": {
|