@smartlyqofficial/cli 0.1.5 → 0.1.7
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 +17 -0
- package/dist/cli.js +19 -2
- package/dist/index.cjs +19 -2
- package/dist/index.js +19 -2
- package/package.json +2 -2
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
|
|
|
@@ -391,9 +393,24 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
391
393
|
| `smartlyq social gmb-update-food-menus <account-id> --data <json>` | `PUT /social/accounts/{account_id}/gmb/food-menus` | Update food menus |
|
|
392
394
|
| `smartlyq social gmb-place-actions <account-id>` | `GET /social/accounts/{account_id}/gmb/place-actions` | List place-action links |
|
|
393
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 |
|
|
394
397
|
| `smartlyq social gmb-delete-place-action <account-id> --data <json>` | `DELETE /social/accounts/{account_id}/gmb/place-actions` | Delete place-action link |
|
|
395
398
|
| `smartlyq social gmb-verifications <account-id>` | `GET /social/accounts/{account_id}/gmb/verifications` | List verifications |
|
|
396
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 |
|
|
402
|
+
| `smartlyq social send-typing-indicator <conversation-id>` | `POST /social/conversations/{conversation_id}/typing` | Typing indicator |
|
|
403
|
+
| `smartlyq social comment-private-reply <comment-id> --data <json>` | `POST /social/comments/{comment_id}/private-reply` | Private reply (comment-to-DM) |
|
|
404
|
+
| `smartlyq social get-messenger-menu <account-id>` | `GET /social/accounts/{account_id}/messenger/menu` | Get Messenger menu |
|
|
405
|
+
| `smartlyq social set-messenger-menu <account-id> --data <json>` | `PUT /social/accounts/{account_id}/messenger/menu` | Set Messenger menu |
|
|
406
|
+
| `smartlyq social delete-messenger-menu <account-id>` | `DELETE /social/accounts/{account_id}/messenger/menu` | Delete Messenger menu |
|
|
407
|
+
| `smartlyq social get-ice-breakers <account-id>` | `GET /social/accounts/{account_id}/instagram/ice-breakers` | Get ice breakers |
|
|
408
|
+
| `smartlyq social set-ice-breakers <account-id> --data <json>` | `PUT /social/accounts/{account_id}/instagram/ice-breakers` | Set ice breakers |
|
|
409
|
+
| `smartlyq social delete-ice-breakers <account-id>` | `DELETE /social/accounts/{account_id}/instagram/ice-breakers` | Delete ice breakers |
|
|
410
|
+
| `smartlyq social facebook-page-insights <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/facebook/page-insights` | Facebook page insights |
|
|
411
|
+
| `smartlyq social instagram-audience <account-id> [--query <query>]` | `GET /social/accounts/{account_id}/instagram/audience` | Instagram audience demographics |
|
|
412
|
+
| `smartlyq social connect-options <account-id>` | `GET /social/accounts/{account_id}/connect-options` | Connection target options |
|
|
413
|
+
| `smartlyq social connect-select <account-id> --data <json>` | `POST /social/accounts/{account_id}/connect-select` | Select connection target |
|
|
397
414
|
|
|
398
415
|
### URLs
|
|
399
416
|
|
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}" },
|
|
@@ -205,9 +207,24 @@ var commands = [
|
|
|
205
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" },
|
|
206
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" },
|
|
207
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" },
|
|
208
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" },
|
|
209
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" },
|
|
210
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" },
|
|
216
|
+
{ "resourceKey": "social", "methodName": "sendTypingIndicator", "kebabMethod": "send-typing-indicator", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Typing indicator", "httpMethod": "POST", "path": "/social/conversations/{conversation_id}/typing" },
|
|
217
|
+
{ "resourceKey": "social", "methodName": "commentPrivateReply", "kebabMethod": "comment-private-reply", "pathParams": ["commentId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Private reply (comment-to-DM)", "httpMethod": "POST", "path": "/social/comments/{comment_id}/private-reply" },
|
|
218
|
+
{ "resourceKey": "social", "methodName": "getMessengerMenu", "kebabMethod": "get-messenger-menu", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get Messenger menu", "httpMethod": "GET", "path": "/social/accounts/{account_id}/messenger/menu" },
|
|
219
|
+
{ "resourceKey": "social", "methodName": "setMessengerMenu", "kebabMethod": "set-messenger-menu", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Set Messenger menu", "httpMethod": "PUT", "path": "/social/accounts/{account_id}/messenger/menu" },
|
|
220
|
+
{ "resourceKey": "social", "methodName": "deleteMessengerMenu", "kebabMethod": "delete-messenger-menu", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete Messenger menu", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/messenger/menu" },
|
|
221
|
+
{ "resourceKey": "social", "methodName": "getIceBreakers", "kebabMethod": "get-ice-breakers", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get ice breakers", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/ice-breakers" },
|
|
222
|
+
{ "resourceKey": "social", "methodName": "setIceBreakers", "kebabMethod": "set-ice-breakers", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Set ice breakers", "httpMethod": "PUT", "path": "/social/accounts/{account_id}/instagram/ice-breakers" },
|
|
223
|
+
{ "resourceKey": "social", "methodName": "deleteIceBreakers", "kebabMethod": "delete-ice-breakers", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete ice breakers", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/instagram/ice-breakers" },
|
|
224
|
+
{ "resourceKey": "social", "methodName": "facebookPageInsights", "kebabMethod": "facebook-page-insights", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Facebook page insights", "httpMethod": "GET", "path": "/social/accounts/{account_id}/facebook/page-insights" },
|
|
225
|
+
{ "resourceKey": "social", "methodName": "instagramAudience", "kebabMethod": "instagram-audience", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Instagram audience demographics", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/audience" },
|
|
226
|
+
{ "resourceKey": "social", "methodName": "connectOptions", "kebabMethod": "connect-options", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Connection target options", "httpMethod": "GET", "path": "/social/accounts/{account_id}/connect-options" },
|
|
227
|
+
{ "resourceKey": "social", "methodName": "connectSelect", "kebabMethod": "connect-select", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Select connection target", "httpMethod": "POST", "path": "/social/accounts/{account_id}/connect-select" },
|
|
211
228
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
212
229
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
213
230
|
{ "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
|
|
@@ -406,7 +423,7 @@ function runLogout() {
|
|
|
406
423
|
// package.json
|
|
407
424
|
var package_default = {
|
|
408
425
|
name: "@smartlyqofficial/cli",
|
|
409
|
-
version: "0.1.
|
|
426
|
+
version: "0.1.7",
|
|
410
427
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
411
428
|
keywords: [
|
|
412
429
|
"smartlyq",
|
|
@@ -456,7 +473,7 @@ var package_default = {
|
|
|
456
473
|
prepublishOnly: "npm run build"
|
|
457
474
|
},
|
|
458
475
|
dependencies: {
|
|
459
|
-
"@smartlyqofficial/node": "^0.1.
|
|
476
|
+
"@smartlyqofficial/node": "^0.1.9",
|
|
460
477
|
commander: "^12.1.0"
|
|
461
478
|
},
|
|
462
479
|
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}" },
|
|
@@ -255,9 +257,24 @@ var commands = [
|
|
|
255
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" },
|
|
256
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" },
|
|
257
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" },
|
|
258
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" },
|
|
259
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" },
|
|
260
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" },
|
|
266
|
+
{ "resourceKey": "social", "methodName": "sendTypingIndicator", "kebabMethod": "send-typing-indicator", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Typing indicator", "httpMethod": "POST", "path": "/social/conversations/{conversation_id}/typing" },
|
|
267
|
+
{ "resourceKey": "social", "methodName": "commentPrivateReply", "kebabMethod": "comment-private-reply", "pathParams": ["commentId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Private reply (comment-to-DM)", "httpMethod": "POST", "path": "/social/comments/{comment_id}/private-reply" },
|
|
268
|
+
{ "resourceKey": "social", "methodName": "getMessengerMenu", "kebabMethod": "get-messenger-menu", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get Messenger menu", "httpMethod": "GET", "path": "/social/accounts/{account_id}/messenger/menu" },
|
|
269
|
+
{ "resourceKey": "social", "methodName": "setMessengerMenu", "kebabMethod": "set-messenger-menu", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Set Messenger menu", "httpMethod": "PUT", "path": "/social/accounts/{account_id}/messenger/menu" },
|
|
270
|
+
{ "resourceKey": "social", "methodName": "deleteMessengerMenu", "kebabMethod": "delete-messenger-menu", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete Messenger menu", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/messenger/menu" },
|
|
271
|
+
{ "resourceKey": "social", "methodName": "getIceBreakers", "kebabMethod": "get-ice-breakers", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get ice breakers", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/ice-breakers" },
|
|
272
|
+
{ "resourceKey": "social", "methodName": "setIceBreakers", "kebabMethod": "set-ice-breakers", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Set ice breakers", "httpMethod": "PUT", "path": "/social/accounts/{account_id}/instagram/ice-breakers" },
|
|
273
|
+
{ "resourceKey": "social", "methodName": "deleteIceBreakers", "kebabMethod": "delete-ice-breakers", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete ice breakers", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/instagram/ice-breakers" },
|
|
274
|
+
{ "resourceKey": "social", "methodName": "facebookPageInsights", "kebabMethod": "facebook-page-insights", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Facebook page insights", "httpMethod": "GET", "path": "/social/accounts/{account_id}/facebook/page-insights" },
|
|
275
|
+
{ "resourceKey": "social", "methodName": "instagramAudience", "kebabMethod": "instagram-audience", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Instagram audience demographics", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/audience" },
|
|
276
|
+
{ "resourceKey": "social", "methodName": "connectOptions", "kebabMethod": "connect-options", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Connection target options", "httpMethod": "GET", "path": "/social/accounts/{account_id}/connect-options" },
|
|
277
|
+
{ "resourceKey": "social", "methodName": "connectSelect", "kebabMethod": "connect-select", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Select connection target", "httpMethod": "POST", "path": "/social/accounts/{account_id}/connect-select" },
|
|
261
278
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
262
279
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
263
280
|
{ "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
|
|
@@ -456,7 +473,7 @@ function runLogout() {
|
|
|
456
473
|
// package.json
|
|
457
474
|
var package_default = {
|
|
458
475
|
name: "@smartlyqofficial/cli",
|
|
459
|
-
version: "0.1.
|
|
476
|
+
version: "0.1.7",
|
|
460
477
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
461
478
|
keywords: [
|
|
462
479
|
"smartlyq",
|
|
@@ -506,7 +523,7 @@ var package_default = {
|
|
|
506
523
|
prepublishOnly: "npm run build"
|
|
507
524
|
},
|
|
508
525
|
dependencies: {
|
|
509
|
-
"@smartlyqofficial/node": "^0.1.
|
|
526
|
+
"@smartlyqofficial/node": "^0.1.9",
|
|
510
527
|
commander: "^12.1.0"
|
|
511
528
|
},
|
|
512
529
|
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}" },
|
|
@@ -203,9 +205,24 @@ var commands = [
|
|
|
203
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" },
|
|
204
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" },
|
|
205
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" },
|
|
206
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" },
|
|
207
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" },
|
|
208
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" },
|
|
214
|
+
{ "resourceKey": "social", "methodName": "sendTypingIndicator", "kebabMethod": "send-typing-indicator", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Typing indicator", "httpMethod": "POST", "path": "/social/conversations/{conversation_id}/typing" },
|
|
215
|
+
{ "resourceKey": "social", "methodName": "commentPrivateReply", "kebabMethod": "comment-private-reply", "pathParams": ["commentId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Private reply (comment-to-DM)", "httpMethod": "POST", "path": "/social/comments/{comment_id}/private-reply" },
|
|
216
|
+
{ "resourceKey": "social", "methodName": "getMessengerMenu", "kebabMethod": "get-messenger-menu", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get Messenger menu", "httpMethod": "GET", "path": "/social/accounts/{account_id}/messenger/menu" },
|
|
217
|
+
{ "resourceKey": "social", "methodName": "setMessengerMenu", "kebabMethod": "set-messenger-menu", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Set Messenger menu", "httpMethod": "PUT", "path": "/social/accounts/{account_id}/messenger/menu" },
|
|
218
|
+
{ "resourceKey": "social", "methodName": "deleteMessengerMenu", "kebabMethod": "delete-messenger-menu", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete Messenger menu", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/messenger/menu" },
|
|
219
|
+
{ "resourceKey": "social", "methodName": "getIceBreakers", "kebabMethod": "get-ice-breakers", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get ice breakers", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/ice-breakers" },
|
|
220
|
+
{ "resourceKey": "social", "methodName": "setIceBreakers", "kebabMethod": "set-ice-breakers", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Set ice breakers", "httpMethod": "PUT", "path": "/social/accounts/{account_id}/instagram/ice-breakers" },
|
|
221
|
+
{ "resourceKey": "social", "methodName": "deleteIceBreakers", "kebabMethod": "delete-ice-breakers", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete ice breakers", "httpMethod": "DELETE", "path": "/social/accounts/{account_id}/instagram/ice-breakers" },
|
|
222
|
+
{ "resourceKey": "social", "methodName": "facebookPageInsights", "kebabMethod": "facebook-page-insights", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Facebook page insights", "httpMethod": "GET", "path": "/social/accounts/{account_id}/facebook/page-insights" },
|
|
223
|
+
{ "resourceKey": "social", "methodName": "instagramAudience", "kebabMethod": "instagram-audience", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Instagram audience demographics", "httpMethod": "GET", "path": "/social/accounts/{account_id}/instagram/audience" },
|
|
224
|
+
{ "resourceKey": "social", "methodName": "connectOptions", "kebabMethod": "connect-options", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Connection target options", "httpMethod": "GET", "path": "/social/accounts/{account_id}/connect-options" },
|
|
225
|
+
{ "resourceKey": "social", "methodName": "connectSelect", "kebabMethod": "connect-select", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Select connection target", "httpMethod": "POST", "path": "/social/accounts/{account_id}/connect-select" },
|
|
209
226
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
210
227
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
211
228
|
{ "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
|
|
@@ -404,7 +421,7 @@ function runLogout() {
|
|
|
404
421
|
// package.json
|
|
405
422
|
var package_default = {
|
|
406
423
|
name: "@smartlyqofficial/cli",
|
|
407
|
-
version: "0.1.
|
|
424
|
+
version: "0.1.7",
|
|
408
425
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
409
426
|
keywords: [
|
|
410
427
|
"smartlyq",
|
|
@@ -454,7 +471,7 @@ var package_default = {
|
|
|
454
471
|
prepublishOnly: "npm run build"
|
|
455
472
|
},
|
|
456
473
|
dependencies: {
|
|
457
|
-
"@smartlyqofficial/node": "^0.1.
|
|
474
|
+
"@smartlyqofficial/node": "^0.1.9",
|
|
458
475
|
commander: "^12.1.0"
|
|
459
476
|
},
|
|
460
477
|
devDependencies: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartlyqofficial/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
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.9",
|
|
54
54
|
"commander": "^12.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|