@smartlyqofficial/cli 0.1.4 → 0.1.6

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
@@ -179,7 +179,9 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
179
179
  | Command | Endpoint | Description |
180
180
  | --- | --- | --- |
181
181
  | `smartlyq crm delete-contact <id>` | `DELETE /contacts/{id}` | Delete contact |
182
+ | `smartlyq crm update-custom-field <id> --data <json>` | `PATCH /custom-fields/{id}` | Update custom field |
182
183
  | `smartlyq crm bulk-import-contacts --data <json>` | `POST /contacts/bulk` | Bulk import contacts |
184
+ | `smartlyq crm contact-channels <id>` | `GET /contacts/{id}/channels` | Contact channels |
183
185
 
184
186
  ### CRM Contacts
185
187
 
@@ -374,6 +376,29 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
374
376
  | `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
377
  | `smartlyq social x-retweet <account-id> --data <json>` | `POST /social/accounts/{account_id}/x/retweets` | Retweet on X |
376
378
  | `smartlyq social x-unretweet <account-id> <tweet-id>` | `DELETE /social/accounts/{account_id}/x/retweets/{tweet_id}` | Undo retweet |
379
+ | `smartlyq social edit-published-post <post-id> --data <json>` | `POST /social/posts/{post_id}/edit` | Edit published post |
380
+ | `smartlyq social update-post-metadata <post-id> --data <json>` | `POST /social/posts/{post_id}/update-metadata` | Update YouTube metadata |
381
+ | `smartlyq social sync-external-posts --data <json>` | `POST /social/posts/sync-external` | Sync external posts |
382
+ | `smartlyq social account-insights <account-id>` | `GET /social/accounts/{account_id}/insights` | Live account insights |
383
+ | `smartlyq social gmb-locations <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/gmb/locations` | List Google locations |
384
+ | `smartlyq social gmb-location <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/gmb/location` | Get business info |
385
+ | `smartlyq social gmb-update-location <account-id> --data <json>` | `PATCH /social/accounts/{account_id}/gmb/location` | Update business info |
386
+ | `smartlyq social gmb-attributes <account-id>` | `GET /social/accounts/{account_id}/gmb/attributes` | Get attributes |
387
+ | `smartlyq social gmb-update-attributes <account-id> --data <json>` | `PUT /social/accounts/{account_id}/gmb/attributes` | Update attributes |
388
+ | `smartlyq social gmb-attribute-metadata <account-id>` | `GET /social/accounts/{account_id}/gmb/attributes/metadata` | Available attributes |
389
+ | `smartlyq social gmb-media <account-id>` | `GET /social/accounts/{account_id}/gmb/media` | List media |
390
+ | `smartlyq social gmb-create-media <account-id> --data <json>` | `POST /social/accounts/{account_id}/gmb/media` | Add photo |
391
+ | `smartlyq social gmb-delete-media <account-id> --data <json>` | `DELETE /social/accounts/{account_id}/gmb/media` | Delete media |
392
+ | `smartlyq social gmb-food-menus <account-id>` | `GET /social/accounts/{account_id}/gmb/food-menus` | Get food menus |
393
+ | `smartlyq social gmb-update-food-menus <account-id> --data <json>` | `PUT /social/accounts/{account_id}/gmb/food-menus` | Update food menus |
394
+ | `smartlyq social gmb-place-actions <account-id>` | `GET /social/accounts/{account_id}/gmb/place-actions` | List place-action links |
395
+ | `smartlyq social gmb-create-place-action <account-id> --data <json>` | `POST /social/accounts/{account_id}/gmb/place-actions` | Create place-action link |
396
+ | `smartlyq social gmb-update-place-action <account-id> --data <json>` | `PATCH /social/accounts/{account_id}/gmb/place-actions` | Update place-action link |
397
+ | `smartlyq social gmb-delete-place-action <account-id> --data <json>` | `DELETE /social/accounts/{account_id}/gmb/place-actions` | Delete place-action link |
398
+ | `smartlyq social gmb-verifications <account-id>` | `GET /social/accounts/{account_id}/gmb/verifications` | List verifications |
399
+ | `smartlyq social gmb-verification-options <account-id> [--data <json>]` | `POST /social/accounts/{account_id}/gmb/verifications/options` | Verification options |
400
+ | `smartlyq social reddit-subreddit-info <account-id> <subreddit>` | `GET /social/accounts/{account_id}/reddit/subreddits/{subreddit}` | Subreddit info + eligibility |
401
+ | `smartlyq social x-mentions <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/x/mentions` | X mentions |
377
402
 
378
403
  ### URLs
379
404
 
package/dist/cli.js CHANGED
@@ -58,7 +58,9 @@ var commands = [
58
58
  { "resourceKey": "content", "methodName": "rewrite", "kebabMethod": "rewrite", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rewrite content", "httpMethod": "POST", "path": "/content/rewrite" },
59
59
  { "resourceKey": "content", "methodName": "generateCaption", "kebabMethod": "generate-caption", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Generate a social caption", "httpMethod": "POST", "path": "/content/caption" },
60
60
  { "resourceKey": "crm", "methodName": "deleteContact", "kebabMethod": "delete-contact", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete contact", "httpMethod": "DELETE", "path": "/contacts/{id}" },
61
+ { "resourceKey": "crm", "methodName": "updateCustomField", "kebabMethod": "update-custom-field", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update custom field", "httpMethod": "PATCH", "path": "/custom-fields/{id}" },
61
62
  { "resourceKey": "crm", "methodName": "bulkImportContacts", "kebabMethod": "bulk-import-contacts", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk import contacts", "httpMethod": "POST", "path": "/contacts/bulk" },
63
+ { "resourceKey": "crm", "methodName": "contactChannels", "kebabMethod": "contact-channels", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Contact channels", "httpMethod": "GET", "path": "/contacts/{id}/channels" },
62
64
  { "resourceKey": "contacts", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List contacts", "httpMethod": "GET", "path": "/contacts" },
63
65
  { "resourceKey": "contacts", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create or upsert a contact", "httpMethod": "POST", "path": "/contacts" },
64
66
  { "resourceKey": "contacts", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get a contact", "httpMethod": "GET", "path": "/contacts/{id}" },
@@ -188,6 +190,29 @@ var commands = [
188
190
  { "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
191
  { "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
192
  { "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}" },
193
+ { "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" },
194
+ { "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" },
195
+ { "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" },
196
+ { "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" },
197
+ { "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" },
198
+ { "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" },
199
+ { "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" },
200
+ { "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" },
201
+ { "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" },
202
+ { "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" },
203
+ { "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" },
204
+ { "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" },
205
+ { "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" },
206
+ { "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" },
207
+ { "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" },
208
+ { "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" },
209
+ { "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" },
210
+ { "resourceKey": "social", "methodName": "gmbUpdatePlaceAction", "kebabMethod": "gmb-update-place-action", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update place-action link", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}/gmb/place-actions" },
211
+ { "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" },
212
+ { "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" },
213
+ { "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" },
214
+ { "resourceKey": "social", "methodName": "redditSubredditInfo", "kebabMethod": "reddit-subreddit-info", "pathParams": ["accountId", "subreddit"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Subreddit info + eligibility", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/subreddits/{subreddit}" },
215
+ { "resourceKey": "social", "methodName": "xMentions", "kebabMethod": "x-mentions", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "X mentions", "httpMethod": "GET", "path": "/social/accounts/{account_id}/x/mentions" },
191
216
  { "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
192
217
  { "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
193
218
  { "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 +411,7 @@ function runLogout() {
386
411
  // package.json
387
412
  var package_default = {
388
413
  name: "@smartlyqofficial/cli",
389
- version: "0.1.4",
414
+ version: "0.1.6",
390
415
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
391
416
  keywords: [
392
417
  "smartlyq",
@@ -436,7 +461,7 @@ var package_default = {
436
461
  prepublishOnly: "npm run build"
437
462
  },
438
463
  dependencies: {
439
- "@smartlyqofficial/node": "^0.1.6",
464
+ "@smartlyqofficial/node": "^0.1.8",
440
465
  commander: "^12.1.0"
441
466
  },
442
467
  devDependencies: {
package/dist/index.cjs CHANGED
@@ -108,7 +108,9 @@ var commands = [
108
108
  { "resourceKey": "content", "methodName": "rewrite", "kebabMethod": "rewrite", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rewrite content", "httpMethod": "POST", "path": "/content/rewrite" },
109
109
  { "resourceKey": "content", "methodName": "generateCaption", "kebabMethod": "generate-caption", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Generate a social caption", "httpMethod": "POST", "path": "/content/caption" },
110
110
  { "resourceKey": "crm", "methodName": "deleteContact", "kebabMethod": "delete-contact", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete contact", "httpMethod": "DELETE", "path": "/contacts/{id}" },
111
+ { "resourceKey": "crm", "methodName": "updateCustomField", "kebabMethod": "update-custom-field", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update custom field", "httpMethod": "PATCH", "path": "/custom-fields/{id}" },
111
112
  { "resourceKey": "crm", "methodName": "bulkImportContacts", "kebabMethod": "bulk-import-contacts", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk import contacts", "httpMethod": "POST", "path": "/contacts/bulk" },
113
+ { "resourceKey": "crm", "methodName": "contactChannels", "kebabMethod": "contact-channels", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Contact channels", "httpMethod": "GET", "path": "/contacts/{id}/channels" },
112
114
  { "resourceKey": "contacts", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List contacts", "httpMethod": "GET", "path": "/contacts" },
113
115
  { "resourceKey": "contacts", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create or upsert a contact", "httpMethod": "POST", "path": "/contacts" },
114
116
  { "resourceKey": "contacts", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get a contact", "httpMethod": "GET", "path": "/contacts/{id}" },
@@ -238,6 +240,29 @@ var commands = [
238
240
  { "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
241
  { "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
242
  { "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}" },
243
+ { "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" },
244
+ { "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" },
245
+ { "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" },
246
+ { "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" },
247
+ { "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" },
248
+ { "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" },
249
+ { "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" },
250
+ { "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" },
251
+ { "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" },
252
+ { "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" },
253
+ { "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" },
254
+ { "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" },
255
+ { "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" },
256
+ { "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" },
257
+ { "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" },
258
+ { "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" },
259
+ { "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" },
260
+ { "resourceKey": "social", "methodName": "gmbUpdatePlaceAction", "kebabMethod": "gmb-update-place-action", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update place-action link", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}/gmb/place-actions" },
261
+ { "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" },
262
+ { "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" },
263
+ { "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" },
264
+ { "resourceKey": "social", "methodName": "redditSubredditInfo", "kebabMethod": "reddit-subreddit-info", "pathParams": ["accountId", "subreddit"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Subreddit info + eligibility", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/subreddits/{subreddit}" },
265
+ { "resourceKey": "social", "methodName": "xMentions", "kebabMethod": "x-mentions", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "X mentions", "httpMethod": "GET", "path": "/social/accounts/{account_id}/x/mentions" },
241
266
  { "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
242
267
  { "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
243
268
  { "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 +461,7 @@ function runLogout() {
436
461
  // package.json
437
462
  var package_default = {
438
463
  name: "@smartlyqofficial/cli",
439
- version: "0.1.4",
464
+ version: "0.1.6",
440
465
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
441
466
  keywords: [
442
467
  "smartlyq",
@@ -486,7 +511,7 @@ var package_default = {
486
511
  prepublishOnly: "npm run build"
487
512
  },
488
513
  dependencies: {
489
- "@smartlyqofficial/node": "^0.1.6",
514
+ "@smartlyqofficial/node": "^0.1.8",
490
515
  commander: "^12.1.0"
491
516
  },
492
517
  devDependencies: {
package/dist/index.js CHANGED
@@ -56,7 +56,9 @@ var commands = [
56
56
  { "resourceKey": "content", "methodName": "rewrite", "kebabMethod": "rewrite", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rewrite content", "httpMethod": "POST", "path": "/content/rewrite" },
57
57
  { "resourceKey": "content", "methodName": "generateCaption", "kebabMethod": "generate-caption", "pathParams": [], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Generate a social caption", "httpMethod": "POST", "path": "/content/caption" },
58
58
  { "resourceKey": "crm", "methodName": "deleteContact", "kebabMethod": "delete-contact", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete contact", "httpMethod": "DELETE", "path": "/contacts/{id}" },
59
+ { "resourceKey": "crm", "methodName": "updateCustomField", "kebabMethod": "update-custom-field", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update custom field", "httpMethod": "PATCH", "path": "/custom-fields/{id}" },
59
60
  { "resourceKey": "crm", "methodName": "bulkImportContacts", "kebabMethod": "bulk-import-contacts", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk import contacts", "httpMethod": "POST", "path": "/contacts/bulk" },
61
+ { "resourceKey": "crm", "methodName": "contactChannels", "kebabMethod": "contact-channels", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Contact channels", "httpMethod": "GET", "path": "/contacts/{id}/channels" },
60
62
  { "resourceKey": "contacts", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List contacts", "httpMethod": "GET", "path": "/contacts" },
61
63
  { "resourceKey": "contacts", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create or upsert a contact", "httpMethod": "POST", "path": "/contacts" },
62
64
  { "resourceKey": "contacts", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get a contact", "httpMethod": "GET", "path": "/contacts/{id}" },
@@ -186,6 +188,29 @@ var commands = [
186
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" },
187
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" },
188
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": "gmbUpdatePlaceAction", "kebabMethod": "gmb-update-place-action", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update place-action link", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}/gmb/place-actions" },
209
+ { "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" },
210
+ { "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" },
211
+ { "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" },
212
+ { "resourceKey": "social", "methodName": "redditSubredditInfo", "kebabMethod": "reddit-subreddit-info", "pathParams": ["accountId", "subreddit"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Subreddit info + eligibility", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reddit/subreddits/{subreddit}" },
213
+ { "resourceKey": "social", "methodName": "xMentions", "kebabMethod": "x-mentions", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "X mentions", "httpMethod": "GET", "path": "/social/accounts/{account_id}/x/mentions" },
189
214
  { "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
190
215
  { "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
191
216
  { "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 +409,7 @@ function runLogout() {
384
409
  // package.json
385
410
  var package_default = {
386
411
  name: "@smartlyqofficial/cli",
387
- version: "0.1.4",
412
+ version: "0.1.6",
388
413
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
389
414
  keywords: [
390
415
  "smartlyq",
@@ -434,7 +459,7 @@ var package_default = {
434
459
  prepublishOnly: "npm run build"
435
460
  },
436
461
  dependencies: {
437
- "@smartlyqofficial/node": "^0.1.6",
462
+ "@smartlyqofficial/node": "^0.1.8",
438
463
  commander: "^12.1.0"
439
464
  },
440
465
  devDependencies: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartlyqofficial/cli",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
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.6",
53
+ "@smartlyqofficial/node": "^0.1.8",
54
54
  "commander": "^12.1.0"
55
55
  },
56
56
  "devDependencies": {