@smartlyqofficial/cli 0.1.22 → 0.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -505,6 +505,14 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
505
505
  | `smartlyq whats-app get-whats-app-blocked-users [--query <query>]` | `GET /whatsapp/block-users` | List blocked users |
506
506
  | `smartlyq whats-app block-whats-app-users --data <json>` | `POST /whatsapp/block-users` | Block users |
507
507
  | `smartlyq whats-app unblock-whats-app-users --data <json>` | `DELETE /whatsapp/block-users` | Unblock users |
508
+ | `smartlyq whats-app list-whats-app-sandbox-sessions` | `GET /whatsapp/sandbox/sessions` | List your sandbox sessions |
509
+ | `smartlyq whats-app create-whats-app-sandbox-session --data <json>` | `POST /whatsapp/sandbox/sessions` | Start a sandbox activation |
510
+ | `smartlyq whats-app delete-whats-app-sandbox-session <session-id>` | `DELETE /whatsapp/sandbox/sessions/{session_id}` | Revoke a sandbox session |
511
+ | `smartlyq whats-app send-whats-app-sandbox-message <session-id>` | `POST /whatsapp/sandbox/sessions/{session_id}/send` | Send the sandbox template |
512
+ | `smartlyq whats-app get-whats-app-number-bridge-status <sender-id>` | `GET /whatsapp/numbers/{sender_id}/bridge` | Bridge status |
513
+ | `smartlyq whats-app start-whats-app-number-bridge <sender-id>` | `POST /whatsapp/numbers/{sender_id}/bridge` | Bridge an owned number onto WhatsApp |
514
+ | `smartlyq whats-app request-whats-app-number-bridge-code <sender-id> [--data <json>]` | `POST /whatsapp/numbers/{sender_id}/bridge/request-code` | Request a verification code |
515
+ | `smartlyq whats-app verify-whats-app-number-bridge <sender-id> --data <json>` | `POST /whatsapp/numbers/{sender_id}/bridge/verify` | Submit the verification code |
508
516
  | `smartlyq whats-app get-template <name> [--query <query>]` | `GET /whatsapp/templates/{name}` | Get a WhatsApp template |
509
517
  | `smartlyq whats-app update-template <name> --data <json>` | `PATCH /whatsapp/templates/{name}` | Update a WhatsApp template |
510
518
  | `smartlyq whats-app delete-template <name> [--query <query>]` | `DELETE /whatsapp/templates/{name}` | Delete a WhatsApp template |
package/dist/cli.js CHANGED
@@ -294,6 +294,14 @@ var commands = [
294
294
  { "resourceKey": "whatsApp", "methodName": "getWhatsAppBlockedUsers", "kebabMethod": "get-whats-app-blocked-users", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List blocked users", "httpMethod": "GET", "path": "/whatsapp/block-users" },
295
295
  { "resourceKey": "whatsApp", "methodName": "blockWhatsAppUsers", "kebabMethod": "block-whats-app-users", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Block users", "httpMethod": "POST", "path": "/whatsapp/block-users" },
296
296
  { "resourceKey": "whatsApp", "methodName": "unblockWhatsAppUsers", "kebabMethod": "unblock-whats-app-users", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Unblock users", "httpMethod": "DELETE", "path": "/whatsapp/block-users" },
297
+ { "resourceKey": "whatsApp", "methodName": "listWhatsAppSandboxSessions", "kebabMethod": "list-whats-app-sandbox-sessions", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List your sandbox sessions", "httpMethod": "GET", "path": "/whatsapp/sandbox/sessions" },
298
+ { "resourceKey": "whatsApp", "methodName": "createWhatsAppSandboxSession", "kebabMethod": "create-whats-app-sandbox-session", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Start a sandbox activation", "httpMethod": "POST", "path": "/whatsapp/sandbox/sessions" },
299
+ { "resourceKey": "whatsApp", "methodName": "deleteWhatsAppSandboxSession", "kebabMethod": "delete-whats-app-sandbox-session", "pathParams": ["sessionId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Revoke a sandbox session", "httpMethod": "DELETE", "path": "/whatsapp/sandbox/sessions/{session_id}" },
300
+ { "resourceKey": "whatsApp", "methodName": "sendWhatsAppSandboxMessage", "kebabMethod": "send-whats-app-sandbox-message", "pathParams": ["sessionId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Send the sandbox template", "httpMethod": "POST", "path": "/whatsapp/sandbox/sessions/{session_id}/send" },
301
+ { "resourceKey": "whatsApp", "methodName": "getWhatsAppNumberBridgeStatus", "kebabMethod": "get-whats-app-number-bridge-status", "pathParams": ["senderId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Bridge status", "httpMethod": "GET", "path": "/whatsapp/numbers/{sender_id}/bridge" },
302
+ { "resourceKey": "whatsApp", "methodName": "startWhatsAppNumberBridge", "kebabMethod": "start-whats-app-number-bridge", "pathParams": ["senderId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Bridge an owned number onto WhatsApp", "httpMethod": "POST", "path": "/whatsapp/numbers/{sender_id}/bridge" },
303
+ { "resourceKey": "whatsApp", "methodName": "requestWhatsAppNumberBridgeCode", "kebabMethod": "request-whats-app-number-bridge-code", "pathParams": ["senderId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Request a verification code", "httpMethod": "POST", "path": "/whatsapp/numbers/{sender_id}/bridge/request-code" },
304
+ { "resourceKey": "whatsApp", "methodName": "verifyWhatsAppNumberBridge", "kebabMethod": "verify-whats-app-number-bridge", "pathParams": ["senderId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Submit the verification code", "httpMethod": "POST", "path": "/whatsapp/numbers/{sender_id}/bridge/verify" },
297
305
  { "resourceKey": "whatsApp", "methodName": "getTemplate", "kebabMethod": "get-template", "pathParams": ["name"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get a WhatsApp template", "httpMethod": "GET", "path": "/whatsapp/templates/{name}" },
298
306
  { "resourceKey": "whatsApp", "methodName": "updateTemplate", "kebabMethod": "update-template", "pathParams": ["name"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a WhatsApp template", "httpMethod": "PATCH", "path": "/whatsapp/templates/{name}" },
299
307
  { "resourceKey": "whatsApp", "methodName": "deleteTemplate", "kebabMethod": "delete-template", "pathParams": ["name"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Delete a WhatsApp template", "httpMethod": "DELETE", "path": "/whatsapp/templates/{name}" },
@@ -480,7 +488,7 @@ function runLogout() {
480
488
  // package.json
481
489
  var package_default = {
482
490
  name: "@smartlyqofficial/cli",
483
- version: "0.1.22",
491
+ version: "0.1.24",
484
492
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
485
493
  keywords: [
486
494
  "smartlyq",
@@ -530,7 +538,7 @@ var package_default = {
530
538
  prepublishOnly: "npm run build"
531
539
  },
532
540
  dependencies: {
533
- "@smartlyqofficial/node": "^0.1.22",
541
+ "@smartlyqofficial/node": "^0.1.23",
534
542
  commander: "^12.1.0"
535
543
  },
536
544
  devDependencies: {
package/dist/index.cjs CHANGED
@@ -344,6 +344,14 @@ var commands = [
344
344
  { "resourceKey": "whatsApp", "methodName": "getWhatsAppBlockedUsers", "kebabMethod": "get-whats-app-blocked-users", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List blocked users", "httpMethod": "GET", "path": "/whatsapp/block-users" },
345
345
  { "resourceKey": "whatsApp", "methodName": "blockWhatsAppUsers", "kebabMethod": "block-whats-app-users", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Block users", "httpMethod": "POST", "path": "/whatsapp/block-users" },
346
346
  { "resourceKey": "whatsApp", "methodName": "unblockWhatsAppUsers", "kebabMethod": "unblock-whats-app-users", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Unblock users", "httpMethod": "DELETE", "path": "/whatsapp/block-users" },
347
+ { "resourceKey": "whatsApp", "methodName": "listWhatsAppSandboxSessions", "kebabMethod": "list-whats-app-sandbox-sessions", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List your sandbox sessions", "httpMethod": "GET", "path": "/whatsapp/sandbox/sessions" },
348
+ { "resourceKey": "whatsApp", "methodName": "createWhatsAppSandboxSession", "kebabMethod": "create-whats-app-sandbox-session", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Start a sandbox activation", "httpMethod": "POST", "path": "/whatsapp/sandbox/sessions" },
349
+ { "resourceKey": "whatsApp", "methodName": "deleteWhatsAppSandboxSession", "kebabMethod": "delete-whats-app-sandbox-session", "pathParams": ["sessionId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Revoke a sandbox session", "httpMethod": "DELETE", "path": "/whatsapp/sandbox/sessions/{session_id}" },
350
+ { "resourceKey": "whatsApp", "methodName": "sendWhatsAppSandboxMessage", "kebabMethod": "send-whats-app-sandbox-message", "pathParams": ["sessionId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Send the sandbox template", "httpMethod": "POST", "path": "/whatsapp/sandbox/sessions/{session_id}/send" },
351
+ { "resourceKey": "whatsApp", "methodName": "getWhatsAppNumberBridgeStatus", "kebabMethod": "get-whats-app-number-bridge-status", "pathParams": ["senderId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Bridge status", "httpMethod": "GET", "path": "/whatsapp/numbers/{sender_id}/bridge" },
352
+ { "resourceKey": "whatsApp", "methodName": "startWhatsAppNumberBridge", "kebabMethod": "start-whats-app-number-bridge", "pathParams": ["senderId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Bridge an owned number onto WhatsApp", "httpMethod": "POST", "path": "/whatsapp/numbers/{sender_id}/bridge" },
353
+ { "resourceKey": "whatsApp", "methodName": "requestWhatsAppNumberBridgeCode", "kebabMethod": "request-whats-app-number-bridge-code", "pathParams": ["senderId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Request a verification code", "httpMethod": "POST", "path": "/whatsapp/numbers/{sender_id}/bridge/request-code" },
354
+ { "resourceKey": "whatsApp", "methodName": "verifyWhatsAppNumberBridge", "kebabMethod": "verify-whats-app-number-bridge", "pathParams": ["senderId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Submit the verification code", "httpMethod": "POST", "path": "/whatsapp/numbers/{sender_id}/bridge/verify" },
347
355
  { "resourceKey": "whatsApp", "methodName": "getTemplate", "kebabMethod": "get-template", "pathParams": ["name"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get a WhatsApp template", "httpMethod": "GET", "path": "/whatsapp/templates/{name}" },
348
356
  { "resourceKey": "whatsApp", "methodName": "updateTemplate", "kebabMethod": "update-template", "pathParams": ["name"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a WhatsApp template", "httpMethod": "PATCH", "path": "/whatsapp/templates/{name}" },
349
357
  { "resourceKey": "whatsApp", "methodName": "deleteTemplate", "kebabMethod": "delete-template", "pathParams": ["name"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Delete a WhatsApp template", "httpMethod": "DELETE", "path": "/whatsapp/templates/{name}" },
@@ -530,7 +538,7 @@ function runLogout() {
530
538
  // package.json
531
539
  var package_default = {
532
540
  name: "@smartlyqofficial/cli",
533
- version: "0.1.22",
541
+ version: "0.1.24",
534
542
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
535
543
  keywords: [
536
544
  "smartlyq",
@@ -580,7 +588,7 @@ var package_default = {
580
588
  prepublishOnly: "npm run build"
581
589
  },
582
590
  dependencies: {
583
- "@smartlyqofficial/node": "^0.1.22",
591
+ "@smartlyqofficial/node": "^0.1.23",
584
592
  commander: "^12.1.0"
585
593
  },
586
594
  devDependencies: {
package/dist/index.js CHANGED
@@ -292,6 +292,14 @@ var commands = [
292
292
  { "resourceKey": "whatsApp", "methodName": "getWhatsAppBlockedUsers", "kebabMethod": "get-whats-app-blocked-users", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List blocked users", "httpMethod": "GET", "path": "/whatsapp/block-users" },
293
293
  { "resourceKey": "whatsApp", "methodName": "blockWhatsAppUsers", "kebabMethod": "block-whats-app-users", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Block users", "httpMethod": "POST", "path": "/whatsapp/block-users" },
294
294
  { "resourceKey": "whatsApp", "methodName": "unblockWhatsAppUsers", "kebabMethod": "unblock-whats-app-users", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Unblock users", "httpMethod": "DELETE", "path": "/whatsapp/block-users" },
295
+ { "resourceKey": "whatsApp", "methodName": "listWhatsAppSandboxSessions", "kebabMethod": "list-whats-app-sandbox-sessions", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List your sandbox sessions", "httpMethod": "GET", "path": "/whatsapp/sandbox/sessions" },
296
+ { "resourceKey": "whatsApp", "methodName": "createWhatsAppSandboxSession", "kebabMethod": "create-whats-app-sandbox-session", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Start a sandbox activation", "httpMethod": "POST", "path": "/whatsapp/sandbox/sessions" },
297
+ { "resourceKey": "whatsApp", "methodName": "deleteWhatsAppSandboxSession", "kebabMethod": "delete-whats-app-sandbox-session", "pathParams": ["sessionId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Revoke a sandbox session", "httpMethod": "DELETE", "path": "/whatsapp/sandbox/sessions/{session_id}" },
298
+ { "resourceKey": "whatsApp", "methodName": "sendWhatsAppSandboxMessage", "kebabMethod": "send-whats-app-sandbox-message", "pathParams": ["sessionId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Send the sandbox template", "httpMethod": "POST", "path": "/whatsapp/sandbox/sessions/{session_id}/send" },
299
+ { "resourceKey": "whatsApp", "methodName": "getWhatsAppNumberBridgeStatus", "kebabMethod": "get-whats-app-number-bridge-status", "pathParams": ["senderId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Bridge status", "httpMethod": "GET", "path": "/whatsapp/numbers/{sender_id}/bridge" },
300
+ { "resourceKey": "whatsApp", "methodName": "startWhatsAppNumberBridge", "kebabMethod": "start-whats-app-number-bridge", "pathParams": ["senderId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Bridge an owned number onto WhatsApp", "httpMethod": "POST", "path": "/whatsapp/numbers/{sender_id}/bridge" },
301
+ { "resourceKey": "whatsApp", "methodName": "requestWhatsAppNumberBridgeCode", "kebabMethod": "request-whats-app-number-bridge-code", "pathParams": ["senderId"], "hasBody": true, "bodyRequired": false, "hasQuery": false, "summary": "Request a verification code", "httpMethod": "POST", "path": "/whatsapp/numbers/{sender_id}/bridge/request-code" },
302
+ { "resourceKey": "whatsApp", "methodName": "verifyWhatsAppNumberBridge", "kebabMethod": "verify-whats-app-number-bridge", "pathParams": ["senderId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Submit the verification code", "httpMethod": "POST", "path": "/whatsapp/numbers/{sender_id}/bridge/verify" },
295
303
  { "resourceKey": "whatsApp", "methodName": "getTemplate", "kebabMethod": "get-template", "pathParams": ["name"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get a WhatsApp template", "httpMethod": "GET", "path": "/whatsapp/templates/{name}" },
296
304
  { "resourceKey": "whatsApp", "methodName": "updateTemplate", "kebabMethod": "update-template", "pathParams": ["name"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a WhatsApp template", "httpMethod": "PATCH", "path": "/whatsapp/templates/{name}" },
297
305
  { "resourceKey": "whatsApp", "methodName": "deleteTemplate", "kebabMethod": "delete-template", "pathParams": ["name"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Delete a WhatsApp template", "httpMethod": "DELETE", "path": "/whatsapp/templates/{name}" },
@@ -478,7 +486,7 @@ function runLogout() {
478
486
  // package.json
479
487
  var package_default = {
480
488
  name: "@smartlyqofficial/cli",
481
- version: "0.1.22",
489
+ version: "0.1.24",
482
490
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
483
491
  keywords: [
484
492
  "smartlyq",
@@ -528,7 +536,7 @@ var package_default = {
528
536
  prepublishOnly: "npm run build"
529
537
  },
530
538
  dependencies: {
531
- "@smartlyqofficial/node": "^0.1.22",
539
+ "@smartlyqofficial/node": "^0.1.23",
532
540
  commander: "^12.1.0"
533
541
  },
534
542
  devDependencies: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartlyqofficial/cli",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
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.22",
53
+ "@smartlyqofficial/node": "^0.1.23",
54
54
  "commander": "^12.1.0"
55
55
  },
56
56
  "devDependencies": {