@smartlyqofficial/cli 0.1.14 → 0.1.15
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 +11 -0
- package/dist/cli.js +8 -2
- package/dist/index.cjs +8 -2
- package/dist/index.js +8 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -453,6 +453,17 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
453
453
|
| `smartlyq webhooks list-logs [--query <query>]` | `GET /webhooks/logs` | List webhook delivery logs |
|
|
454
454
|
| `smartlyq webhooks test <id>` | `POST /webhooks/{id}/test` | Send test webhook |
|
|
455
455
|
|
|
456
|
+
### WhatsApp
|
|
457
|
+
|
|
458
|
+
| Command | Endpoint | Description |
|
|
459
|
+
| --- | --- | --- |
|
|
460
|
+
| `smartlyq whats-app send-whats-app-message --data <json>` | `POST /whatsapp/messages` | Send a WhatsApp message |
|
|
461
|
+
| `smartlyq whats-app list-whats-app-templates [--query <query>]` | `GET /whatsapp/templates` | List message templates |
|
|
462
|
+
| `smartlyq whats-app create-whats-app-template --data <json>` | `POST /whatsapp/templates` | Create a message template |
|
|
463
|
+
| `smartlyq whats-app get-whats-app-business-profile [--query <query>]` | `GET /whatsapp/business-profile` | Get business profile |
|
|
464
|
+
| `smartlyq whats-app update-whats-app-business-profile --data <json>` | `PATCH /whatsapp/business-profile` | Update business profile |
|
|
465
|
+
| `smartlyq whats-app list-whats-app-phone-numbers [--query <query>]` | `GET /whatsapp/phone-numbers` | List phone numbers |
|
|
466
|
+
|
|
456
467
|
### Workspaces
|
|
457
468
|
|
|
458
469
|
| Command | Endpoint | Description |
|
package/dist/cli.js
CHANGED
|
@@ -251,6 +251,12 @@ var commands = [
|
|
|
251
251
|
{ "resourceKey": "webhooks", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete webhook", "httpMethod": "DELETE", "path": "/webhooks/{id}" },
|
|
252
252
|
{ "resourceKey": "webhooks", "methodName": "listLogs", "kebabMethod": "list-logs", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List webhook delivery logs", "httpMethod": "GET", "path": "/webhooks/logs" },
|
|
253
253
|
{ "resourceKey": "webhooks", "methodName": "test", "kebabMethod": "test", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Send test webhook", "httpMethod": "POST", "path": "/webhooks/{id}/test" },
|
|
254
|
+
{ "resourceKey": "whatsApp", "methodName": "sendWhatsAppMessage", "kebabMethod": "send-whats-app-message", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Send a WhatsApp message", "httpMethod": "POST", "path": "/whatsapp/messages" },
|
|
255
|
+
{ "resourceKey": "whatsApp", "methodName": "listWhatsAppTemplates", "kebabMethod": "list-whats-app-templates", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List message templates", "httpMethod": "GET", "path": "/whatsapp/templates" },
|
|
256
|
+
{ "resourceKey": "whatsApp", "methodName": "createWhatsAppTemplate", "kebabMethod": "create-whats-app-template", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a message template", "httpMethod": "POST", "path": "/whatsapp/templates" },
|
|
257
|
+
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppBusinessProfile", "kebabMethod": "get-whats-app-business-profile", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get business profile", "httpMethod": "GET", "path": "/whatsapp/business-profile" },
|
|
258
|
+
{ "resourceKey": "whatsApp", "methodName": "updateWhatsAppBusinessProfile", "kebabMethod": "update-whats-app-business-profile", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update business profile", "httpMethod": "PATCH", "path": "/whatsapp/business-profile" },
|
|
259
|
+
{ "resourceKey": "whatsApp", "methodName": "listWhatsAppPhoneNumbers", "kebabMethod": "list-whats-app-phone-numbers", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List phone numbers", "httpMethod": "GET", "path": "/whatsapp/phone-numbers" },
|
|
254
260
|
{ "resourceKey": "workspaces", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List workspaces (sub-accounts)", "httpMethod": "GET", "path": "/workspaces" },
|
|
255
261
|
{ "resourceKey": "workspaces", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a workspace (sub-account)", "httpMethod": "POST", "path": "/workspaces" },
|
|
256
262
|
{ "resourceKey": "workspaces", "methodName": "bulkAction", "kebabMethod": "bulk-action", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk sub-account action", "httpMethod": "POST", "path": "/workspaces/bulk" },
|
|
@@ -429,7 +435,7 @@ function runLogout() {
|
|
|
429
435
|
// package.json
|
|
430
436
|
var package_default = {
|
|
431
437
|
name: "@smartlyqofficial/cli",
|
|
432
|
-
version: "0.1.
|
|
438
|
+
version: "0.1.15",
|
|
433
439
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
434
440
|
keywords: [
|
|
435
441
|
"smartlyq",
|
|
@@ -479,7 +485,7 @@ var package_default = {
|
|
|
479
485
|
prepublishOnly: "npm run build"
|
|
480
486
|
},
|
|
481
487
|
dependencies: {
|
|
482
|
-
"@smartlyqofficial/node": "^0.1.
|
|
488
|
+
"@smartlyqofficial/node": "^0.1.15",
|
|
483
489
|
commander: "^12.1.0"
|
|
484
490
|
},
|
|
485
491
|
devDependencies: {
|
package/dist/index.cjs
CHANGED
|
@@ -301,6 +301,12 @@ var commands = [
|
|
|
301
301
|
{ "resourceKey": "webhooks", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete webhook", "httpMethod": "DELETE", "path": "/webhooks/{id}" },
|
|
302
302
|
{ "resourceKey": "webhooks", "methodName": "listLogs", "kebabMethod": "list-logs", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List webhook delivery logs", "httpMethod": "GET", "path": "/webhooks/logs" },
|
|
303
303
|
{ "resourceKey": "webhooks", "methodName": "test", "kebabMethod": "test", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Send test webhook", "httpMethod": "POST", "path": "/webhooks/{id}/test" },
|
|
304
|
+
{ "resourceKey": "whatsApp", "methodName": "sendWhatsAppMessage", "kebabMethod": "send-whats-app-message", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Send a WhatsApp message", "httpMethod": "POST", "path": "/whatsapp/messages" },
|
|
305
|
+
{ "resourceKey": "whatsApp", "methodName": "listWhatsAppTemplates", "kebabMethod": "list-whats-app-templates", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List message templates", "httpMethod": "GET", "path": "/whatsapp/templates" },
|
|
306
|
+
{ "resourceKey": "whatsApp", "methodName": "createWhatsAppTemplate", "kebabMethod": "create-whats-app-template", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a message template", "httpMethod": "POST", "path": "/whatsapp/templates" },
|
|
307
|
+
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppBusinessProfile", "kebabMethod": "get-whats-app-business-profile", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get business profile", "httpMethod": "GET", "path": "/whatsapp/business-profile" },
|
|
308
|
+
{ "resourceKey": "whatsApp", "methodName": "updateWhatsAppBusinessProfile", "kebabMethod": "update-whats-app-business-profile", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update business profile", "httpMethod": "PATCH", "path": "/whatsapp/business-profile" },
|
|
309
|
+
{ "resourceKey": "whatsApp", "methodName": "listWhatsAppPhoneNumbers", "kebabMethod": "list-whats-app-phone-numbers", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List phone numbers", "httpMethod": "GET", "path": "/whatsapp/phone-numbers" },
|
|
304
310
|
{ "resourceKey": "workspaces", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List workspaces (sub-accounts)", "httpMethod": "GET", "path": "/workspaces" },
|
|
305
311
|
{ "resourceKey": "workspaces", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a workspace (sub-account)", "httpMethod": "POST", "path": "/workspaces" },
|
|
306
312
|
{ "resourceKey": "workspaces", "methodName": "bulkAction", "kebabMethod": "bulk-action", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk sub-account action", "httpMethod": "POST", "path": "/workspaces/bulk" },
|
|
@@ -479,7 +485,7 @@ function runLogout() {
|
|
|
479
485
|
// package.json
|
|
480
486
|
var package_default = {
|
|
481
487
|
name: "@smartlyqofficial/cli",
|
|
482
|
-
version: "0.1.
|
|
488
|
+
version: "0.1.15",
|
|
483
489
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
484
490
|
keywords: [
|
|
485
491
|
"smartlyq",
|
|
@@ -529,7 +535,7 @@ var package_default = {
|
|
|
529
535
|
prepublishOnly: "npm run build"
|
|
530
536
|
},
|
|
531
537
|
dependencies: {
|
|
532
|
-
"@smartlyqofficial/node": "^0.1.
|
|
538
|
+
"@smartlyqofficial/node": "^0.1.15",
|
|
533
539
|
commander: "^12.1.0"
|
|
534
540
|
},
|
|
535
541
|
devDependencies: {
|
package/dist/index.js
CHANGED
|
@@ -249,6 +249,12 @@ var commands = [
|
|
|
249
249
|
{ "resourceKey": "webhooks", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete webhook", "httpMethod": "DELETE", "path": "/webhooks/{id}" },
|
|
250
250
|
{ "resourceKey": "webhooks", "methodName": "listLogs", "kebabMethod": "list-logs", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List webhook delivery logs", "httpMethod": "GET", "path": "/webhooks/logs" },
|
|
251
251
|
{ "resourceKey": "webhooks", "methodName": "test", "kebabMethod": "test", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Send test webhook", "httpMethod": "POST", "path": "/webhooks/{id}/test" },
|
|
252
|
+
{ "resourceKey": "whatsApp", "methodName": "sendWhatsAppMessage", "kebabMethod": "send-whats-app-message", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Send a WhatsApp message", "httpMethod": "POST", "path": "/whatsapp/messages" },
|
|
253
|
+
{ "resourceKey": "whatsApp", "methodName": "listWhatsAppTemplates", "kebabMethod": "list-whats-app-templates", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List message templates", "httpMethod": "GET", "path": "/whatsapp/templates" },
|
|
254
|
+
{ "resourceKey": "whatsApp", "methodName": "createWhatsAppTemplate", "kebabMethod": "create-whats-app-template", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a message template", "httpMethod": "POST", "path": "/whatsapp/templates" },
|
|
255
|
+
{ "resourceKey": "whatsApp", "methodName": "getWhatsAppBusinessProfile", "kebabMethod": "get-whats-app-business-profile", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get business profile", "httpMethod": "GET", "path": "/whatsapp/business-profile" },
|
|
256
|
+
{ "resourceKey": "whatsApp", "methodName": "updateWhatsAppBusinessProfile", "kebabMethod": "update-whats-app-business-profile", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update business profile", "httpMethod": "PATCH", "path": "/whatsapp/business-profile" },
|
|
257
|
+
{ "resourceKey": "whatsApp", "methodName": "listWhatsAppPhoneNumbers", "kebabMethod": "list-whats-app-phone-numbers", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List phone numbers", "httpMethod": "GET", "path": "/whatsapp/phone-numbers" },
|
|
252
258
|
{ "resourceKey": "workspaces", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List workspaces (sub-accounts)", "httpMethod": "GET", "path": "/workspaces" },
|
|
253
259
|
{ "resourceKey": "workspaces", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a workspace (sub-account)", "httpMethod": "POST", "path": "/workspaces" },
|
|
254
260
|
{ "resourceKey": "workspaces", "methodName": "bulkAction", "kebabMethod": "bulk-action", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Bulk sub-account action", "httpMethod": "POST", "path": "/workspaces/bulk" },
|
|
@@ -427,7 +433,7 @@ function runLogout() {
|
|
|
427
433
|
// package.json
|
|
428
434
|
var package_default = {
|
|
429
435
|
name: "@smartlyqofficial/cli",
|
|
430
|
-
version: "0.1.
|
|
436
|
+
version: "0.1.15",
|
|
431
437
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
432
438
|
keywords: [
|
|
433
439
|
"smartlyq",
|
|
@@ -477,7 +483,7 @@ var package_default = {
|
|
|
477
483
|
prepublishOnly: "npm run build"
|
|
478
484
|
},
|
|
479
485
|
dependencies: {
|
|
480
|
-
"@smartlyqofficial/node": "^0.1.
|
|
486
|
+
"@smartlyqofficial/node": "^0.1.15",
|
|
481
487
|
commander: "^12.1.0"
|
|
482
488
|
},
|
|
483
489
|
devDependencies: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartlyqofficial/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
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.15",
|
|
54
54
|
"commander": "^12.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|