@smartlyqofficial/cli 0.1.0 → 0.1.1
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 +26 -1
- package/dist/cli.js +28 -3
- package/dist/index.cjs +28 -3
- package/dist/index.js +28 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -286,7 +286,7 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
286
286
|
| `smartlyq social get-post <post-id>` | `GET /social/posts/{post_id}` | Get social post |
|
|
287
287
|
| `smartlyq social update-post <post-id> --data <json>` | `PATCH /social/posts/{post_id}` | Update social post |
|
|
288
288
|
| `smartlyq social delete-post <post-id>` | `DELETE /social/posts/{post_id}` | Delete social post |
|
|
289
|
-
| `smartlyq social
|
|
289
|
+
| `smartlyq social update-account <account-id> --data <json>` | `PATCH /social/accounts/{account_id}` | Rename account |
|
|
290
290
|
| `smartlyq social get-account-health <account-id>` | `GET /social/accounts/{account_id}/health` | Account health |
|
|
291
291
|
| `smartlyq social get-account-reconnect-url <account-id>` | `GET /social/accounts/{account_id}/reconnect-url` | Account reconnect URL |
|
|
292
292
|
| `smartlyq social pause-account <account-id>` | `POST /social/accounts/{account_id}/pause` | Pause posting to an account |
|
|
@@ -294,6 +294,28 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
294
294
|
| `smartlyq social retry-post <post-id> --data <json>` | `POST /social/posts/{post_id}/retry` | Retry publishing a post |
|
|
295
295
|
| `smartlyq social connect-account-status <platform>` | `GET /social/connect/{platform}` | Poll headless connection status |
|
|
296
296
|
| `smartlyq social connect-account <platform> [--data <json>]` | `POST /social/connect/{platform}` | Start headless account connection |
|
|
297
|
+
| `smartlyq social list-queues` | `GET /social/queues` | List queues |
|
|
298
|
+
| `smartlyq social create-queue --data <json>` | `POST /social/queues` | Create queue |
|
|
299
|
+
| `smartlyq social get-queue <queue-id>` | `GET /social/queues/{queue_id}` | Get queue |
|
|
300
|
+
| `smartlyq social update-queue <queue-id> --data <json>` | `PUT /social/queues/{queue_id}` | Update queue |
|
|
301
|
+
| `smartlyq social delete-queue <queue-id>` | `DELETE /social/queues/{queue_id}` | Delete queue |
|
|
302
|
+
| `smartlyq social get-queue-next-slot <queue-id>` | `GET /social/queues/{queue_id}/next-slot` | Get next open slot |
|
|
303
|
+
| `smartlyq social preview-queue-slots <queue-id> [--query <query>]` | `GET /social/queues/{queue_id}/preview` | Preview upcoming slots |
|
|
304
|
+
| `smartlyq social unpublish-post <post-id> [--data <json>]` | `POST /social/posts/{post_id}/unpublish` | Unpublish post |
|
|
305
|
+
| `smartlyq social validate-post --data <json>` | `POST /social/validate/post` | Validate post content |
|
|
306
|
+
| `smartlyq social validate-media --data <json>` | `POST /social/validate/media` | Validate media URL |
|
|
307
|
+
| `smartlyq social stop-post-recycle <post-id>` | `DELETE /social/posts/{post_id}/recycle` | Stop recycling |
|
|
308
|
+
| `smartlyq social bulk-schedule-posts --data <json>` | `POST /social/posts/bulk` | Bulk schedule posts |
|
|
309
|
+
| `smartlyq social validate-bulk-batch --data <json>` | `POST /social/posts/bulk/validate` | Validate a bulk batch |
|
|
310
|
+
| `smartlyq social bulk-account-health` | `GET /social/accounts/health` | Bulk account health |
|
|
311
|
+
| `smartlyq social account-follower-stats [--query <query>]` | `GET /social/accounts/follower-stats` | Follower stats |
|
|
312
|
+
| `smartlyq social tiktok-creator-info <account-id>` | `GET /social/accounts/{account_id}/tiktok/creator-info` | TikTok creator info |
|
|
313
|
+
| `smartlyq social move-account <account-id> --data <json>` | `POST /social/accounts/{account_id}/move` | Move account to profile |
|
|
314
|
+
| `smartlyq social list-account-groups` | `GET /social/account-groups` | List account groups |
|
|
315
|
+
| `smartlyq social create-account-group --data <json>` | `POST /social/account-groups` | Create account group |
|
|
316
|
+
| `smartlyq social get-account-group <group-id>` | `GET /social/account-groups/{group_id}` | Get account group |
|
|
317
|
+
| `smartlyq social update-account-group <group-id> --data <json>` | `PUT /social/account-groups/{group_id}` | Update account group |
|
|
318
|
+
| `smartlyq social delete-account-group <group-id>` | `DELETE /social/account-groups/{group_id}` | Delete account group |
|
|
297
319
|
|
|
298
320
|
### URLs
|
|
299
321
|
|
|
@@ -325,7 +347,10 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
325
347
|
| --- | --- | --- |
|
|
326
348
|
| `smartlyq webhooks list` | `GET /webhooks` | List webhooks |
|
|
327
349
|
| `smartlyq webhooks create --data <json>` | `POST /webhooks` | Create webhook |
|
|
350
|
+
| `smartlyq webhooks update <id> --data <json>` | `PUT /webhooks/{id}` | Update webhook |
|
|
328
351
|
| `smartlyq webhooks delete <id>` | `DELETE /webhooks/{id}` | Delete webhook |
|
|
352
|
+
| `smartlyq webhooks list-logs [--query <query>]` | `GET /webhooks/logs` | List webhook delivery logs |
|
|
353
|
+
| `smartlyq webhooks test <id>` | `POST /webhooks/{id}/test` | Send test webhook |
|
|
329
354
|
|
|
330
355
|
### Workspaces
|
|
331
356
|
|
package/dist/cli.js
CHANGED
|
@@ -115,7 +115,7 @@ var commands = [
|
|
|
115
115
|
{ "resourceKey": "social", "methodName": "getPost", "kebabMethod": "get-post", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get social post", "httpMethod": "GET", "path": "/social/posts/{post_id}" },
|
|
116
116
|
{ "resourceKey": "social", "methodName": "updatePost", "kebabMethod": "update-post", "pathParams": ["postId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update social post", "httpMethod": "PATCH", "path": "/social/posts/{post_id}" },
|
|
117
117
|
{ "resourceKey": "social", "methodName": "deletePost", "kebabMethod": "delete-post", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete social post", "httpMethod": "DELETE", "path": "/social/posts/{post_id}" },
|
|
118
|
-
{ "resourceKey": "social", "methodName": "
|
|
118
|
+
{ "resourceKey": "social", "methodName": "updateAccount", "kebabMethod": "update-account", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rename account", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}" },
|
|
119
119
|
{ "resourceKey": "social", "methodName": "getAccountHealth", "kebabMethod": "get-account-health", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account health", "httpMethod": "GET", "path": "/social/accounts/{account_id}/health" },
|
|
120
120
|
{ "resourceKey": "social", "methodName": "getAccountReconnectUrl", "kebabMethod": "get-account-reconnect-url", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account reconnect URL", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reconnect-url" },
|
|
121
121
|
{ "resourceKey": "social", "methodName": "pauseAccount", "kebabMethod": "pause-account", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pause posting to an account", "httpMethod": "POST", "path": "/social/accounts/{account_id}/pause" },
|
|
@@ -123,6 +123,28 @@ var commands = [
|
|
|
123
123
|
{ "resourceKey": "social", "methodName": "retryPost", "kebabMethod": "retry-post", "pathParams": ["postId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Retry publishing a post", "httpMethod": "POST", "path": "/social/posts/{post_id}/retry" },
|
|
124
124
|
{ "resourceKey": "social", "methodName": "connectAccountStatus", "kebabMethod": "connect-account-status", "pathParams": ["platform"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Poll headless connection status", "httpMethod": "GET", "path": "/social/connect/{platform}" },
|
|
125
125
|
{ "resourceKey": "social", "methodName": "connectAccount", "kebabMethod": "connect-account", "pathParams": ["platform"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Start headless account connection", "httpMethod": "POST", "path": "/social/connect/{platform}" },
|
|
126
|
+
{ "resourceKey": "social", "methodName": "listQueues", "kebabMethod": "list-queues", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List queues", "httpMethod": "GET", "path": "/social/queues" },
|
|
127
|
+
{ "resourceKey": "social", "methodName": "createQueue", "kebabMethod": "create-queue", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create queue", "httpMethod": "POST", "path": "/social/queues" },
|
|
128
|
+
{ "resourceKey": "social", "methodName": "getQueue", "kebabMethod": "get-queue", "pathParams": ["queueId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get queue", "httpMethod": "GET", "path": "/social/queues/{queue_id}" },
|
|
129
|
+
{ "resourceKey": "social", "methodName": "updateQueue", "kebabMethod": "update-queue", "pathParams": ["queueId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update queue", "httpMethod": "PUT", "path": "/social/queues/{queue_id}" },
|
|
130
|
+
{ "resourceKey": "social", "methodName": "deleteQueue", "kebabMethod": "delete-queue", "pathParams": ["queueId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete queue", "httpMethod": "DELETE", "path": "/social/queues/{queue_id}" },
|
|
131
|
+
{ "resourceKey": "social", "methodName": "getQueueNextSlot", "kebabMethod": "get-queue-next-slot", "pathParams": ["queueId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get next open slot", "httpMethod": "GET", "path": "/social/queues/{queue_id}/next-slot" },
|
|
132
|
+
{ "resourceKey": "social", "methodName": "previewQueueSlots", "kebabMethod": "preview-queue-slots", "pathParams": ["queueId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Preview upcoming slots", "httpMethod": "GET", "path": "/social/queues/{queue_id}/preview" },
|
|
133
|
+
{ "resourceKey": "social", "methodName": "unpublishPost", "kebabMethod": "unpublish-post", "pathParams": ["postId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Unpublish post", "httpMethod": "POST", "path": "/social/posts/{post_id}/unpublish" },
|
|
134
|
+
{ "resourceKey": "social", "methodName": "validatePost", "kebabMethod": "validate-post", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Validate post content", "httpMethod": "POST", "path": "/social/validate/post" },
|
|
135
|
+
{ "resourceKey": "social", "methodName": "validateMedia", "kebabMethod": "validate-media", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Validate media URL", "httpMethod": "POST", "path": "/social/validate/media" },
|
|
136
|
+
{ "resourceKey": "social", "methodName": "stopPostRecycle", "kebabMethod": "stop-post-recycle", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Stop recycling", "httpMethod": "DELETE", "path": "/social/posts/{post_id}/recycle" },
|
|
137
|
+
{ "resourceKey": "social", "methodName": "bulkSchedulePosts", "kebabMethod": "bulk-schedule-posts", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk schedule posts", "httpMethod": "POST", "path": "/social/posts/bulk" },
|
|
138
|
+
{ "resourceKey": "social", "methodName": "validateBulkBatch", "kebabMethod": "validate-bulk-batch", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Validate a bulk batch", "httpMethod": "POST", "path": "/social/posts/bulk/validate" },
|
|
139
|
+
{ "resourceKey": "social", "methodName": "bulkAccountHealth", "kebabMethod": "bulk-account-health", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Bulk account health", "httpMethod": "GET", "path": "/social/accounts/health" },
|
|
140
|
+
{ "resourceKey": "social", "methodName": "accountFollowerStats", "kebabMethod": "account-follower-stats", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Follower stats", "httpMethod": "GET", "path": "/social/accounts/follower-stats" },
|
|
141
|
+
{ "resourceKey": "social", "methodName": "tiktokCreatorInfo", "kebabMethod": "tiktok-creator-info", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "TikTok creator info", "httpMethod": "GET", "path": "/social/accounts/{account_id}/tiktok/creator-info" },
|
|
142
|
+
{ "resourceKey": "social", "methodName": "moveAccount", "kebabMethod": "move-account", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Move account to profile", "httpMethod": "POST", "path": "/social/accounts/{account_id}/move" },
|
|
143
|
+
{ "resourceKey": "social", "methodName": "listAccountGroups", "kebabMethod": "list-account-groups", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List account groups", "httpMethod": "GET", "path": "/social/account-groups" },
|
|
144
|
+
{ "resourceKey": "social", "methodName": "createAccountGroup", "kebabMethod": "create-account-group", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create account group", "httpMethod": "POST", "path": "/social/account-groups" },
|
|
145
|
+
{ "resourceKey": "social", "methodName": "getAccountGroup", "kebabMethod": "get-account-group", "pathParams": ["groupId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get account group", "httpMethod": "GET", "path": "/social/account-groups/{group_id}" },
|
|
146
|
+
{ "resourceKey": "social", "methodName": "updateAccountGroup", "kebabMethod": "update-account-group", "pathParams": ["groupId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update account group", "httpMethod": "PUT", "path": "/social/account-groups/{group_id}" },
|
|
147
|
+
{ "resourceKey": "social", "methodName": "deleteAccountGroup", "kebabMethod": "delete-account-group", "pathParams": ["groupId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete account group", "httpMethod": "DELETE", "path": "/social/account-groups/{group_id}" },
|
|
126
148
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
127
149
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
128
150
|
{ "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
|
|
@@ -139,7 +161,10 @@ var commands = [
|
|
|
139
161
|
{ "resourceKey": "videos", "methodName": "generateViralThumbnail", "kebabMethod": "generate-viral-thumbnail", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate a viral thumbnail", "httpMethod": "POST", "path": "/videos/viral-thumbnail" },
|
|
140
162
|
{ "resourceKey": "webhooks", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List webhooks", "httpMethod": "GET", "path": "/webhooks" },
|
|
141
163
|
{ "resourceKey": "webhooks", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create webhook", "httpMethod": "POST", "path": "/webhooks" },
|
|
164
|
+
{ "resourceKey": "webhooks", "methodName": "update", "kebabMethod": "update", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update webhook", "httpMethod": "PUT", "path": "/webhooks/{id}" },
|
|
142
165
|
{ "resourceKey": "webhooks", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete webhook", "httpMethod": "DELETE", "path": "/webhooks/{id}" },
|
|
166
|
+
{ "resourceKey": "webhooks", "methodName": "listLogs", "kebabMethod": "list-logs", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List webhook delivery logs", "httpMethod": "GET", "path": "/webhooks/logs" },
|
|
167
|
+
{ "resourceKey": "webhooks", "methodName": "test", "kebabMethod": "test", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Send test webhook", "httpMethod": "POST", "path": "/webhooks/{id}/test" },
|
|
143
168
|
{ "resourceKey": "workspaces", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List workspaces (sub-accounts)", "httpMethod": "GET", "path": "/workspaces" },
|
|
144
169
|
{ "resourceKey": "workspaces", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a workspace (sub-account)", "httpMethod": "POST", "path": "/workspaces" },
|
|
145
170
|
{ "resourceKey": "workspaces", "methodName": "bulkAction", "kebabMethod": "bulk-action", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk sub-account action", "httpMethod": "POST", "path": "/workspaces/bulk" },
|
|
@@ -318,7 +343,7 @@ function runLogout() {
|
|
|
318
343
|
// package.json
|
|
319
344
|
var package_default = {
|
|
320
345
|
name: "@smartlyqofficial/cli",
|
|
321
|
-
version: "0.1.
|
|
346
|
+
version: "0.1.1",
|
|
322
347
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
323
348
|
keywords: [
|
|
324
349
|
"smartlyq",
|
|
@@ -368,7 +393,7 @@ var package_default = {
|
|
|
368
393
|
prepublishOnly: "npm run build"
|
|
369
394
|
},
|
|
370
395
|
dependencies: {
|
|
371
|
-
"@smartlyqofficial/node": "^0.1.
|
|
396
|
+
"@smartlyqofficial/node": "^0.1.3",
|
|
372
397
|
commander: "^12.1.0"
|
|
373
398
|
},
|
|
374
399
|
devDependencies: {
|
package/dist/index.cjs
CHANGED
|
@@ -165,7 +165,7 @@ var commands = [
|
|
|
165
165
|
{ "resourceKey": "social", "methodName": "getPost", "kebabMethod": "get-post", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get social post", "httpMethod": "GET", "path": "/social/posts/{post_id}" },
|
|
166
166
|
{ "resourceKey": "social", "methodName": "updatePost", "kebabMethod": "update-post", "pathParams": ["postId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update social post", "httpMethod": "PATCH", "path": "/social/posts/{post_id}" },
|
|
167
167
|
{ "resourceKey": "social", "methodName": "deletePost", "kebabMethod": "delete-post", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete social post", "httpMethod": "DELETE", "path": "/social/posts/{post_id}" },
|
|
168
|
-
{ "resourceKey": "social", "methodName": "
|
|
168
|
+
{ "resourceKey": "social", "methodName": "updateAccount", "kebabMethod": "update-account", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rename account", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}" },
|
|
169
169
|
{ "resourceKey": "social", "methodName": "getAccountHealth", "kebabMethod": "get-account-health", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account health", "httpMethod": "GET", "path": "/social/accounts/{account_id}/health" },
|
|
170
170
|
{ "resourceKey": "social", "methodName": "getAccountReconnectUrl", "kebabMethod": "get-account-reconnect-url", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account reconnect URL", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reconnect-url" },
|
|
171
171
|
{ "resourceKey": "social", "methodName": "pauseAccount", "kebabMethod": "pause-account", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pause posting to an account", "httpMethod": "POST", "path": "/social/accounts/{account_id}/pause" },
|
|
@@ -173,6 +173,28 @@ var commands = [
|
|
|
173
173
|
{ "resourceKey": "social", "methodName": "retryPost", "kebabMethod": "retry-post", "pathParams": ["postId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Retry publishing a post", "httpMethod": "POST", "path": "/social/posts/{post_id}/retry" },
|
|
174
174
|
{ "resourceKey": "social", "methodName": "connectAccountStatus", "kebabMethod": "connect-account-status", "pathParams": ["platform"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Poll headless connection status", "httpMethod": "GET", "path": "/social/connect/{platform}" },
|
|
175
175
|
{ "resourceKey": "social", "methodName": "connectAccount", "kebabMethod": "connect-account", "pathParams": ["platform"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Start headless account connection", "httpMethod": "POST", "path": "/social/connect/{platform}" },
|
|
176
|
+
{ "resourceKey": "social", "methodName": "listQueues", "kebabMethod": "list-queues", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List queues", "httpMethod": "GET", "path": "/social/queues" },
|
|
177
|
+
{ "resourceKey": "social", "methodName": "createQueue", "kebabMethod": "create-queue", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create queue", "httpMethod": "POST", "path": "/social/queues" },
|
|
178
|
+
{ "resourceKey": "social", "methodName": "getQueue", "kebabMethod": "get-queue", "pathParams": ["queueId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get queue", "httpMethod": "GET", "path": "/social/queues/{queue_id}" },
|
|
179
|
+
{ "resourceKey": "social", "methodName": "updateQueue", "kebabMethod": "update-queue", "pathParams": ["queueId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update queue", "httpMethod": "PUT", "path": "/social/queues/{queue_id}" },
|
|
180
|
+
{ "resourceKey": "social", "methodName": "deleteQueue", "kebabMethod": "delete-queue", "pathParams": ["queueId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete queue", "httpMethod": "DELETE", "path": "/social/queues/{queue_id}" },
|
|
181
|
+
{ "resourceKey": "social", "methodName": "getQueueNextSlot", "kebabMethod": "get-queue-next-slot", "pathParams": ["queueId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get next open slot", "httpMethod": "GET", "path": "/social/queues/{queue_id}/next-slot" },
|
|
182
|
+
{ "resourceKey": "social", "methodName": "previewQueueSlots", "kebabMethod": "preview-queue-slots", "pathParams": ["queueId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Preview upcoming slots", "httpMethod": "GET", "path": "/social/queues/{queue_id}/preview" },
|
|
183
|
+
{ "resourceKey": "social", "methodName": "unpublishPost", "kebabMethod": "unpublish-post", "pathParams": ["postId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Unpublish post", "httpMethod": "POST", "path": "/social/posts/{post_id}/unpublish" },
|
|
184
|
+
{ "resourceKey": "social", "methodName": "validatePost", "kebabMethod": "validate-post", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Validate post content", "httpMethod": "POST", "path": "/social/validate/post" },
|
|
185
|
+
{ "resourceKey": "social", "methodName": "validateMedia", "kebabMethod": "validate-media", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Validate media URL", "httpMethod": "POST", "path": "/social/validate/media" },
|
|
186
|
+
{ "resourceKey": "social", "methodName": "stopPostRecycle", "kebabMethod": "stop-post-recycle", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Stop recycling", "httpMethod": "DELETE", "path": "/social/posts/{post_id}/recycle" },
|
|
187
|
+
{ "resourceKey": "social", "methodName": "bulkSchedulePosts", "kebabMethod": "bulk-schedule-posts", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk schedule posts", "httpMethod": "POST", "path": "/social/posts/bulk" },
|
|
188
|
+
{ "resourceKey": "social", "methodName": "validateBulkBatch", "kebabMethod": "validate-bulk-batch", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Validate a bulk batch", "httpMethod": "POST", "path": "/social/posts/bulk/validate" },
|
|
189
|
+
{ "resourceKey": "social", "methodName": "bulkAccountHealth", "kebabMethod": "bulk-account-health", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Bulk account health", "httpMethod": "GET", "path": "/social/accounts/health" },
|
|
190
|
+
{ "resourceKey": "social", "methodName": "accountFollowerStats", "kebabMethod": "account-follower-stats", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Follower stats", "httpMethod": "GET", "path": "/social/accounts/follower-stats" },
|
|
191
|
+
{ "resourceKey": "social", "methodName": "tiktokCreatorInfo", "kebabMethod": "tiktok-creator-info", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "TikTok creator info", "httpMethod": "GET", "path": "/social/accounts/{account_id}/tiktok/creator-info" },
|
|
192
|
+
{ "resourceKey": "social", "methodName": "moveAccount", "kebabMethod": "move-account", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Move account to profile", "httpMethod": "POST", "path": "/social/accounts/{account_id}/move" },
|
|
193
|
+
{ "resourceKey": "social", "methodName": "listAccountGroups", "kebabMethod": "list-account-groups", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List account groups", "httpMethod": "GET", "path": "/social/account-groups" },
|
|
194
|
+
{ "resourceKey": "social", "methodName": "createAccountGroup", "kebabMethod": "create-account-group", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create account group", "httpMethod": "POST", "path": "/social/account-groups" },
|
|
195
|
+
{ "resourceKey": "social", "methodName": "getAccountGroup", "kebabMethod": "get-account-group", "pathParams": ["groupId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get account group", "httpMethod": "GET", "path": "/social/account-groups/{group_id}" },
|
|
196
|
+
{ "resourceKey": "social", "methodName": "updateAccountGroup", "kebabMethod": "update-account-group", "pathParams": ["groupId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update account group", "httpMethod": "PUT", "path": "/social/account-groups/{group_id}" },
|
|
197
|
+
{ "resourceKey": "social", "methodName": "deleteAccountGroup", "kebabMethod": "delete-account-group", "pathParams": ["groupId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete account group", "httpMethod": "DELETE", "path": "/social/account-groups/{group_id}" },
|
|
176
198
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
177
199
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
178
200
|
{ "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
|
|
@@ -189,7 +211,10 @@ var commands = [
|
|
|
189
211
|
{ "resourceKey": "videos", "methodName": "generateViralThumbnail", "kebabMethod": "generate-viral-thumbnail", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate a viral thumbnail", "httpMethod": "POST", "path": "/videos/viral-thumbnail" },
|
|
190
212
|
{ "resourceKey": "webhooks", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List webhooks", "httpMethod": "GET", "path": "/webhooks" },
|
|
191
213
|
{ "resourceKey": "webhooks", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create webhook", "httpMethod": "POST", "path": "/webhooks" },
|
|
214
|
+
{ "resourceKey": "webhooks", "methodName": "update", "kebabMethod": "update", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update webhook", "httpMethod": "PUT", "path": "/webhooks/{id}" },
|
|
192
215
|
{ "resourceKey": "webhooks", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete webhook", "httpMethod": "DELETE", "path": "/webhooks/{id}" },
|
|
216
|
+
{ "resourceKey": "webhooks", "methodName": "listLogs", "kebabMethod": "list-logs", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List webhook delivery logs", "httpMethod": "GET", "path": "/webhooks/logs" },
|
|
217
|
+
{ "resourceKey": "webhooks", "methodName": "test", "kebabMethod": "test", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Send test webhook", "httpMethod": "POST", "path": "/webhooks/{id}/test" },
|
|
193
218
|
{ "resourceKey": "workspaces", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List workspaces (sub-accounts)", "httpMethod": "GET", "path": "/workspaces" },
|
|
194
219
|
{ "resourceKey": "workspaces", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a workspace (sub-account)", "httpMethod": "POST", "path": "/workspaces" },
|
|
195
220
|
{ "resourceKey": "workspaces", "methodName": "bulkAction", "kebabMethod": "bulk-action", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk sub-account action", "httpMethod": "POST", "path": "/workspaces/bulk" },
|
|
@@ -368,7 +393,7 @@ function runLogout() {
|
|
|
368
393
|
// package.json
|
|
369
394
|
var package_default = {
|
|
370
395
|
name: "@smartlyqofficial/cli",
|
|
371
|
-
version: "0.1.
|
|
396
|
+
version: "0.1.1",
|
|
372
397
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
373
398
|
keywords: [
|
|
374
399
|
"smartlyq",
|
|
@@ -418,7 +443,7 @@ var package_default = {
|
|
|
418
443
|
prepublishOnly: "npm run build"
|
|
419
444
|
},
|
|
420
445
|
dependencies: {
|
|
421
|
-
"@smartlyqofficial/node": "^0.1.
|
|
446
|
+
"@smartlyqofficial/node": "^0.1.3",
|
|
422
447
|
commander: "^12.1.0"
|
|
423
448
|
},
|
|
424
449
|
devDependencies: {
|
package/dist/index.js
CHANGED
|
@@ -113,7 +113,7 @@ var commands = [
|
|
|
113
113
|
{ "resourceKey": "social", "methodName": "getPost", "kebabMethod": "get-post", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get social post", "httpMethod": "GET", "path": "/social/posts/{post_id}" },
|
|
114
114
|
{ "resourceKey": "social", "methodName": "updatePost", "kebabMethod": "update-post", "pathParams": ["postId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update social post", "httpMethod": "PATCH", "path": "/social/posts/{post_id}" },
|
|
115
115
|
{ "resourceKey": "social", "methodName": "deletePost", "kebabMethod": "delete-post", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete social post", "httpMethod": "DELETE", "path": "/social/posts/{post_id}" },
|
|
116
|
-
{ "resourceKey": "social", "methodName": "
|
|
116
|
+
{ "resourceKey": "social", "methodName": "updateAccount", "kebabMethod": "update-account", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Rename account", "httpMethod": "PATCH", "path": "/social/accounts/{account_id}" },
|
|
117
117
|
{ "resourceKey": "social", "methodName": "getAccountHealth", "kebabMethod": "get-account-health", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account health", "httpMethod": "GET", "path": "/social/accounts/{account_id}/health" },
|
|
118
118
|
{ "resourceKey": "social", "methodName": "getAccountReconnectUrl", "kebabMethod": "get-account-reconnect-url", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Account reconnect URL", "httpMethod": "GET", "path": "/social/accounts/{account_id}/reconnect-url" },
|
|
119
119
|
{ "resourceKey": "social", "methodName": "pauseAccount", "kebabMethod": "pause-account", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pause posting to an account", "httpMethod": "POST", "path": "/social/accounts/{account_id}/pause" },
|
|
@@ -121,6 +121,28 @@ var commands = [
|
|
|
121
121
|
{ "resourceKey": "social", "methodName": "retryPost", "kebabMethod": "retry-post", "pathParams": ["postId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Retry publishing a post", "httpMethod": "POST", "path": "/social/posts/{post_id}/retry" },
|
|
122
122
|
{ "resourceKey": "social", "methodName": "connectAccountStatus", "kebabMethod": "connect-account-status", "pathParams": ["platform"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Poll headless connection status", "httpMethod": "GET", "path": "/social/connect/{platform}" },
|
|
123
123
|
{ "resourceKey": "social", "methodName": "connectAccount", "kebabMethod": "connect-account", "pathParams": ["platform"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Start headless account connection", "httpMethod": "POST", "path": "/social/connect/{platform}" },
|
|
124
|
+
{ "resourceKey": "social", "methodName": "listQueues", "kebabMethod": "list-queues", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List queues", "httpMethod": "GET", "path": "/social/queues" },
|
|
125
|
+
{ "resourceKey": "social", "methodName": "createQueue", "kebabMethod": "create-queue", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create queue", "httpMethod": "POST", "path": "/social/queues" },
|
|
126
|
+
{ "resourceKey": "social", "methodName": "getQueue", "kebabMethod": "get-queue", "pathParams": ["queueId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get queue", "httpMethod": "GET", "path": "/social/queues/{queue_id}" },
|
|
127
|
+
{ "resourceKey": "social", "methodName": "updateQueue", "kebabMethod": "update-queue", "pathParams": ["queueId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update queue", "httpMethod": "PUT", "path": "/social/queues/{queue_id}" },
|
|
128
|
+
{ "resourceKey": "social", "methodName": "deleteQueue", "kebabMethod": "delete-queue", "pathParams": ["queueId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete queue", "httpMethod": "DELETE", "path": "/social/queues/{queue_id}" },
|
|
129
|
+
{ "resourceKey": "social", "methodName": "getQueueNextSlot", "kebabMethod": "get-queue-next-slot", "pathParams": ["queueId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get next open slot", "httpMethod": "GET", "path": "/social/queues/{queue_id}/next-slot" },
|
|
130
|
+
{ "resourceKey": "social", "methodName": "previewQueueSlots", "kebabMethod": "preview-queue-slots", "pathParams": ["queueId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Preview upcoming slots", "httpMethod": "GET", "path": "/social/queues/{queue_id}/preview" },
|
|
131
|
+
{ "resourceKey": "social", "methodName": "unpublishPost", "kebabMethod": "unpublish-post", "pathParams": ["postId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Unpublish post", "httpMethod": "POST", "path": "/social/posts/{post_id}/unpublish" },
|
|
132
|
+
{ "resourceKey": "social", "methodName": "validatePost", "kebabMethod": "validate-post", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Validate post content", "httpMethod": "POST", "path": "/social/validate/post" },
|
|
133
|
+
{ "resourceKey": "social", "methodName": "validateMedia", "kebabMethod": "validate-media", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Validate media URL", "httpMethod": "POST", "path": "/social/validate/media" },
|
|
134
|
+
{ "resourceKey": "social", "methodName": "stopPostRecycle", "kebabMethod": "stop-post-recycle", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Stop recycling", "httpMethod": "DELETE", "path": "/social/posts/{post_id}/recycle" },
|
|
135
|
+
{ "resourceKey": "social", "methodName": "bulkSchedulePosts", "kebabMethod": "bulk-schedule-posts", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk schedule posts", "httpMethod": "POST", "path": "/social/posts/bulk" },
|
|
136
|
+
{ "resourceKey": "social", "methodName": "validateBulkBatch", "kebabMethod": "validate-bulk-batch", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Validate a bulk batch", "httpMethod": "POST", "path": "/social/posts/bulk/validate" },
|
|
137
|
+
{ "resourceKey": "social", "methodName": "bulkAccountHealth", "kebabMethod": "bulk-account-health", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Bulk account health", "httpMethod": "GET", "path": "/social/accounts/health" },
|
|
138
|
+
{ "resourceKey": "social", "methodName": "accountFollowerStats", "kebabMethod": "account-follower-stats", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Follower stats", "httpMethod": "GET", "path": "/social/accounts/follower-stats" },
|
|
139
|
+
{ "resourceKey": "social", "methodName": "tiktokCreatorInfo", "kebabMethod": "tiktok-creator-info", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "TikTok creator info", "httpMethod": "GET", "path": "/social/accounts/{account_id}/tiktok/creator-info" },
|
|
140
|
+
{ "resourceKey": "social", "methodName": "moveAccount", "kebabMethod": "move-account", "pathParams": ["accountId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Move account to profile", "httpMethod": "POST", "path": "/social/accounts/{account_id}/move" },
|
|
141
|
+
{ "resourceKey": "social", "methodName": "listAccountGroups", "kebabMethod": "list-account-groups", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List account groups", "httpMethod": "GET", "path": "/social/account-groups" },
|
|
142
|
+
{ "resourceKey": "social", "methodName": "createAccountGroup", "kebabMethod": "create-account-group", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create account group", "httpMethod": "POST", "path": "/social/account-groups" },
|
|
143
|
+
{ "resourceKey": "social", "methodName": "getAccountGroup", "kebabMethod": "get-account-group", "pathParams": ["groupId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get account group", "httpMethod": "GET", "path": "/social/account-groups/{group_id}" },
|
|
144
|
+
{ "resourceKey": "social", "methodName": "updateAccountGroup", "kebabMethod": "update-account-group", "pathParams": ["groupId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update account group", "httpMethod": "PUT", "path": "/social/account-groups/{group_id}" },
|
|
145
|
+
{ "resourceKey": "social", "methodName": "deleteAccountGroup", "kebabMethod": "delete-account-group", "pathParams": ["groupId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete account group", "httpMethod": "DELETE", "path": "/social/account-groups/{group_id}" },
|
|
124
146
|
{ "resourceKey": "urls", "methodName": "shorten", "kebabMethod": "shorten", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Shorten URL", "httpMethod": "POST", "path": "/urls/shorten" },
|
|
125
147
|
{ "resourceKey": "urls", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List short URLs", "httpMethod": "GET", "path": "/urls" },
|
|
126
148
|
{ "resourceKey": "urls", "methodName": "get", "kebabMethod": "get", "pathParams": ["urlId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get short URL", "httpMethod": "GET", "path": "/urls/{url_id}" },
|
|
@@ -137,7 +159,10 @@ var commands = [
|
|
|
137
159
|
{ "resourceKey": "videos", "methodName": "generateViralThumbnail", "kebabMethod": "generate-viral-thumbnail", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate a viral thumbnail", "httpMethod": "POST", "path": "/videos/viral-thumbnail" },
|
|
138
160
|
{ "resourceKey": "webhooks", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List webhooks", "httpMethod": "GET", "path": "/webhooks" },
|
|
139
161
|
{ "resourceKey": "webhooks", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create webhook", "httpMethod": "POST", "path": "/webhooks" },
|
|
162
|
+
{ "resourceKey": "webhooks", "methodName": "update", "kebabMethod": "update", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update webhook", "httpMethod": "PUT", "path": "/webhooks/{id}" },
|
|
140
163
|
{ "resourceKey": "webhooks", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete webhook", "httpMethod": "DELETE", "path": "/webhooks/{id}" },
|
|
164
|
+
{ "resourceKey": "webhooks", "methodName": "listLogs", "kebabMethod": "list-logs", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List webhook delivery logs", "httpMethod": "GET", "path": "/webhooks/logs" },
|
|
165
|
+
{ "resourceKey": "webhooks", "methodName": "test", "kebabMethod": "test", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Send test webhook", "httpMethod": "POST", "path": "/webhooks/{id}/test" },
|
|
141
166
|
{ "resourceKey": "workspaces", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List workspaces (sub-accounts)", "httpMethod": "GET", "path": "/workspaces" },
|
|
142
167
|
{ "resourceKey": "workspaces", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a workspace (sub-account)", "httpMethod": "POST", "path": "/workspaces" },
|
|
143
168
|
{ "resourceKey": "workspaces", "methodName": "bulkAction", "kebabMethod": "bulk-action", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk sub-account action", "httpMethod": "POST", "path": "/workspaces/bulk" },
|
|
@@ -316,7 +341,7 @@ function runLogout() {
|
|
|
316
341
|
// package.json
|
|
317
342
|
var package_default = {
|
|
318
343
|
name: "@smartlyqofficial/cli",
|
|
319
|
-
version: "0.1.
|
|
344
|
+
version: "0.1.1",
|
|
320
345
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
321
346
|
keywords: [
|
|
322
347
|
"smartlyq",
|
|
@@ -366,7 +391,7 @@ var package_default = {
|
|
|
366
391
|
prepublishOnly: "npm run build"
|
|
367
392
|
},
|
|
368
393
|
dependencies: {
|
|
369
|
-
"@smartlyqofficial/node": "^0.1.
|
|
394
|
+
"@smartlyqofficial/node": "^0.1.3",
|
|
370
395
|
commander: "^12.1.0"
|
|
371
396
|
},
|
|
372
397
|
devDependencies: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartlyqofficial/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
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.3",
|
|
54
54
|
"commander": "^12.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|