@smartlyqofficial/cli 0.1.27 → 0.1.28
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 +4 -0
- package/dist/cli.js +6 -2
- package/dist/index.cjs +6 -2
- package/dist/index.js +6 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -116,6 +116,7 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
116
116
|
| `smartlyq ads duplicate <id>` | `POST /ads/ads/{id}/duplicate` | Duplicate an ad |
|
|
117
117
|
| `smartlyq ads archive <id>` | `POST /ads/ads/{id}/archive` | Archive an ad |
|
|
118
118
|
| `smartlyq ads list-audiences [--query <query>]` | `GET /ads/audiences` | List audiences |
|
|
119
|
+
| `smartlyq ads create-audience --data <json>` | `POST /ads/audiences` | Create an audience |
|
|
119
120
|
| `smartlyq ads list-pixels [--query <query>]` | `GET /ads/pixels` | List pixels / conversion destinations |
|
|
120
121
|
| `smartlyq ads list-lead-forms [--query <query>]` | `GET /ads/lead-forms` | List lead forms |
|
|
121
122
|
| `smartlyq ads create-lead-form --data <json>` | `POST /ads/lead-forms` | Create a lead form |
|
|
@@ -128,6 +129,9 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
128
129
|
| `smartlyq ads list-audit-log [--query <query>]` | `GET /ads/audit-log` | List audit log entries |
|
|
129
130
|
| `smartlyq ads audience-estimate --data <json>` | `POST /ads/estimate` | Audience-size estimate |
|
|
130
131
|
| `smartlyq ads sync-accounts` | `POST /ads/sync` | Trigger an account sync |
|
|
132
|
+
| `smartlyq ads analytics [--query <query>]` | `GET /ads/analytics` | Ads performance analytics |
|
|
133
|
+
| `smartlyq ads targeting-search [--query <query>]` | `GET /ads/targeting-search` | Search Meta interest targeting |
|
|
134
|
+
| `smartlyq ads list-page-posts <page-id> [--query <query>]` | `GET /ads/pages/{page_id}/posts` | List a Page's organic posts |
|
|
131
135
|
|
|
132
136
|
### AI Captain
|
|
133
137
|
|
package/dist/cli.js
CHANGED
|
@@ -35,6 +35,7 @@ var commands = [
|
|
|
35
35
|
{ "resourceKey": "ads", "methodName": "duplicate", "kebabMethod": "duplicate", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Duplicate an ad", "httpMethod": "POST", "path": "/ads/ads/{id}/duplicate" },
|
|
36
36
|
{ "resourceKey": "ads", "methodName": "archive", "kebabMethod": "archive", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Archive an ad", "httpMethod": "POST", "path": "/ads/ads/{id}/archive" },
|
|
37
37
|
{ "resourceKey": "ads", "methodName": "listAudiences", "kebabMethod": "list-audiences", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List audiences", "httpMethod": "GET", "path": "/ads/audiences" },
|
|
38
|
+
{ "resourceKey": "ads", "methodName": "createAudience", "kebabMethod": "create-audience", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create an audience", "httpMethod": "POST", "path": "/ads/audiences" },
|
|
38
39
|
{ "resourceKey": "ads", "methodName": "listPixels", "kebabMethod": "list-pixels", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List pixels / conversion destinations", "httpMethod": "GET", "path": "/ads/pixels" },
|
|
39
40
|
{ "resourceKey": "ads", "methodName": "listLeadForms", "kebabMethod": "list-lead-forms", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List lead forms", "httpMethod": "GET", "path": "/ads/lead-forms" },
|
|
40
41
|
{ "resourceKey": "ads", "methodName": "createLeadForm", "kebabMethod": "create-lead-form", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a lead form", "httpMethod": "POST", "path": "/ads/lead-forms" },
|
|
@@ -47,6 +48,9 @@ var commands = [
|
|
|
47
48
|
{ "resourceKey": "ads", "methodName": "listAuditLog", "kebabMethod": "list-audit-log", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List audit log entries", "httpMethod": "GET", "path": "/ads/audit-log" },
|
|
48
49
|
{ "resourceKey": "ads", "methodName": "audienceEstimate", "kebabMethod": "audience-estimate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Audience-size estimate", "httpMethod": "POST", "path": "/ads/estimate" },
|
|
49
50
|
{ "resourceKey": "ads", "methodName": "syncAccounts", "kebabMethod": "sync-accounts", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Trigger an account sync", "httpMethod": "POST", "path": "/ads/sync" },
|
|
51
|
+
{ "resourceKey": "ads", "methodName": "analytics", "kebabMethod": "analytics", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Ads performance analytics", "httpMethod": "GET", "path": "/ads/analytics" },
|
|
52
|
+
{ "resourceKey": "ads", "methodName": "targetingSearch", "kebabMethod": "targeting-search", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Search Meta interest targeting", "httpMethod": "GET", "path": "/ads/targeting-search" },
|
|
53
|
+
{ "resourceKey": "ads", "methodName": "listPagePosts", "kebabMethod": "list-page-posts", "pathParams": ["pageId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List a Page's organic posts", "httpMethod": "GET", "path": "/ads/pages/{page_id}/posts" },
|
|
50
54
|
{ "resourceKey": "captain", "methodName": "sendMessage", "kebabMethod": "send-message", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Send AI Captain message", "httpMethod": "POST", "path": "/captain/messages" },
|
|
51
55
|
{ "resourceKey": "captain", "methodName": "listConversations", "kebabMethod": "list-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List AI Captain conversations", "httpMethod": "GET", "path": "/captain/conversations" },
|
|
52
56
|
{ "resourceKey": "captain", "methodName": "getConversation", "kebabMethod": "get-conversation", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get AI Captain conversation", "httpMethod": "GET", "path": "/captain/conversations/{conversation_id}" },
|
|
@@ -526,7 +530,7 @@ function runLogout() {
|
|
|
526
530
|
// package.json
|
|
527
531
|
var package_default = {
|
|
528
532
|
name: "@smartlyqofficial/cli",
|
|
529
|
-
version: "0.1.
|
|
533
|
+
version: "0.1.28",
|
|
530
534
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
531
535
|
keywords: [
|
|
532
536
|
"smartlyq",
|
|
@@ -576,7 +580,7 @@ var package_default = {
|
|
|
576
580
|
prepublishOnly: "npm run build"
|
|
577
581
|
},
|
|
578
582
|
dependencies: {
|
|
579
|
-
"@smartlyqofficial/node": "^0.1.
|
|
583
|
+
"@smartlyqofficial/node": "^0.1.26",
|
|
580
584
|
commander: "^12.1.0"
|
|
581
585
|
},
|
|
582
586
|
devDependencies: {
|
package/dist/index.cjs
CHANGED
|
@@ -85,6 +85,7 @@ var commands = [
|
|
|
85
85
|
{ "resourceKey": "ads", "methodName": "duplicate", "kebabMethod": "duplicate", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Duplicate an ad", "httpMethod": "POST", "path": "/ads/ads/{id}/duplicate" },
|
|
86
86
|
{ "resourceKey": "ads", "methodName": "archive", "kebabMethod": "archive", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Archive an ad", "httpMethod": "POST", "path": "/ads/ads/{id}/archive" },
|
|
87
87
|
{ "resourceKey": "ads", "methodName": "listAudiences", "kebabMethod": "list-audiences", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List audiences", "httpMethod": "GET", "path": "/ads/audiences" },
|
|
88
|
+
{ "resourceKey": "ads", "methodName": "createAudience", "kebabMethod": "create-audience", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create an audience", "httpMethod": "POST", "path": "/ads/audiences" },
|
|
88
89
|
{ "resourceKey": "ads", "methodName": "listPixels", "kebabMethod": "list-pixels", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List pixels / conversion destinations", "httpMethod": "GET", "path": "/ads/pixels" },
|
|
89
90
|
{ "resourceKey": "ads", "methodName": "listLeadForms", "kebabMethod": "list-lead-forms", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List lead forms", "httpMethod": "GET", "path": "/ads/lead-forms" },
|
|
90
91
|
{ "resourceKey": "ads", "methodName": "createLeadForm", "kebabMethod": "create-lead-form", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a lead form", "httpMethod": "POST", "path": "/ads/lead-forms" },
|
|
@@ -97,6 +98,9 @@ var commands = [
|
|
|
97
98
|
{ "resourceKey": "ads", "methodName": "listAuditLog", "kebabMethod": "list-audit-log", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List audit log entries", "httpMethod": "GET", "path": "/ads/audit-log" },
|
|
98
99
|
{ "resourceKey": "ads", "methodName": "audienceEstimate", "kebabMethod": "audience-estimate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Audience-size estimate", "httpMethod": "POST", "path": "/ads/estimate" },
|
|
99
100
|
{ "resourceKey": "ads", "methodName": "syncAccounts", "kebabMethod": "sync-accounts", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Trigger an account sync", "httpMethod": "POST", "path": "/ads/sync" },
|
|
101
|
+
{ "resourceKey": "ads", "methodName": "analytics", "kebabMethod": "analytics", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Ads performance analytics", "httpMethod": "GET", "path": "/ads/analytics" },
|
|
102
|
+
{ "resourceKey": "ads", "methodName": "targetingSearch", "kebabMethod": "targeting-search", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Search Meta interest targeting", "httpMethod": "GET", "path": "/ads/targeting-search" },
|
|
103
|
+
{ "resourceKey": "ads", "methodName": "listPagePosts", "kebabMethod": "list-page-posts", "pathParams": ["pageId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List a Page's organic posts", "httpMethod": "GET", "path": "/ads/pages/{page_id}/posts" },
|
|
100
104
|
{ "resourceKey": "captain", "methodName": "sendMessage", "kebabMethod": "send-message", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Send AI Captain message", "httpMethod": "POST", "path": "/captain/messages" },
|
|
101
105
|
{ "resourceKey": "captain", "methodName": "listConversations", "kebabMethod": "list-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List AI Captain conversations", "httpMethod": "GET", "path": "/captain/conversations" },
|
|
102
106
|
{ "resourceKey": "captain", "methodName": "getConversation", "kebabMethod": "get-conversation", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get AI Captain conversation", "httpMethod": "GET", "path": "/captain/conversations/{conversation_id}" },
|
|
@@ -576,7 +580,7 @@ function runLogout() {
|
|
|
576
580
|
// package.json
|
|
577
581
|
var package_default = {
|
|
578
582
|
name: "@smartlyqofficial/cli",
|
|
579
|
-
version: "0.1.
|
|
583
|
+
version: "0.1.28",
|
|
580
584
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
581
585
|
keywords: [
|
|
582
586
|
"smartlyq",
|
|
@@ -626,7 +630,7 @@ var package_default = {
|
|
|
626
630
|
prepublishOnly: "npm run build"
|
|
627
631
|
},
|
|
628
632
|
dependencies: {
|
|
629
|
-
"@smartlyqofficial/node": "^0.1.
|
|
633
|
+
"@smartlyqofficial/node": "^0.1.26",
|
|
630
634
|
commander: "^12.1.0"
|
|
631
635
|
},
|
|
632
636
|
devDependencies: {
|
package/dist/index.js
CHANGED
|
@@ -33,6 +33,7 @@ var commands = [
|
|
|
33
33
|
{ "resourceKey": "ads", "methodName": "duplicate", "kebabMethod": "duplicate", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Duplicate an ad", "httpMethod": "POST", "path": "/ads/ads/{id}/duplicate" },
|
|
34
34
|
{ "resourceKey": "ads", "methodName": "archive", "kebabMethod": "archive", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Archive an ad", "httpMethod": "POST", "path": "/ads/ads/{id}/archive" },
|
|
35
35
|
{ "resourceKey": "ads", "methodName": "listAudiences", "kebabMethod": "list-audiences", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List audiences", "httpMethod": "GET", "path": "/ads/audiences" },
|
|
36
|
+
{ "resourceKey": "ads", "methodName": "createAudience", "kebabMethod": "create-audience", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create an audience", "httpMethod": "POST", "path": "/ads/audiences" },
|
|
36
37
|
{ "resourceKey": "ads", "methodName": "listPixels", "kebabMethod": "list-pixels", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List pixels / conversion destinations", "httpMethod": "GET", "path": "/ads/pixels" },
|
|
37
38
|
{ "resourceKey": "ads", "methodName": "listLeadForms", "kebabMethod": "list-lead-forms", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List lead forms", "httpMethod": "GET", "path": "/ads/lead-forms" },
|
|
38
39
|
{ "resourceKey": "ads", "methodName": "createLeadForm", "kebabMethod": "create-lead-form", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a lead form", "httpMethod": "POST", "path": "/ads/lead-forms" },
|
|
@@ -45,6 +46,9 @@ var commands = [
|
|
|
45
46
|
{ "resourceKey": "ads", "methodName": "listAuditLog", "kebabMethod": "list-audit-log", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List audit log entries", "httpMethod": "GET", "path": "/ads/audit-log" },
|
|
46
47
|
{ "resourceKey": "ads", "methodName": "audienceEstimate", "kebabMethod": "audience-estimate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Audience-size estimate", "httpMethod": "POST", "path": "/ads/estimate" },
|
|
47
48
|
{ "resourceKey": "ads", "methodName": "syncAccounts", "kebabMethod": "sync-accounts", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Trigger an account sync", "httpMethod": "POST", "path": "/ads/sync" },
|
|
49
|
+
{ "resourceKey": "ads", "methodName": "analytics", "kebabMethod": "analytics", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Ads performance analytics", "httpMethod": "GET", "path": "/ads/analytics" },
|
|
50
|
+
{ "resourceKey": "ads", "methodName": "targetingSearch", "kebabMethod": "targeting-search", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Search Meta interest targeting", "httpMethod": "GET", "path": "/ads/targeting-search" },
|
|
51
|
+
{ "resourceKey": "ads", "methodName": "listPagePosts", "kebabMethod": "list-page-posts", "pathParams": ["pageId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List a Page's organic posts", "httpMethod": "GET", "path": "/ads/pages/{page_id}/posts" },
|
|
48
52
|
{ "resourceKey": "captain", "methodName": "sendMessage", "kebabMethod": "send-message", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Send AI Captain message", "httpMethod": "POST", "path": "/captain/messages" },
|
|
49
53
|
{ "resourceKey": "captain", "methodName": "listConversations", "kebabMethod": "list-conversations", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List AI Captain conversations", "httpMethod": "GET", "path": "/captain/conversations" },
|
|
50
54
|
{ "resourceKey": "captain", "methodName": "getConversation", "kebabMethod": "get-conversation", "pathParams": ["conversationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get AI Captain conversation", "httpMethod": "GET", "path": "/captain/conversations/{conversation_id}" },
|
|
@@ -524,7 +528,7 @@ function runLogout() {
|
|
|
524
528
|
// package.json
|
|
525
529
|
var package_default = {
|
|
526
530
|
name: "@smartlyqofficial/cli",
|
|
527
|
-
version: "0.1.
|
|
531
|
+
version: "0.1.28",
|
|
528
532
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
529
533
|
keywords: [
|
|
530
534
|
"smartlyq",
|
|
@@ -574,7 +578,7 @@ var package_default = {
|
|
|
574
578
|
prepublishOnly: "npm run build"
|
|
575
579
|
},
|
|
576
580
|
dependencies: {
|
|
577
|
-
"@smartlyqofficial/node": "^0.1.
|
|
581
|
+
"@smartlyqofficial/node": "^0.1.26",
|
|
578
582
|
commander: "^12.1.0"
|
|
579
583
|
},
|
|
580
584
|
devDependencies: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartlyqofficial/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.28",
|
|
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.26",
|
|
54
54
|
"commander": "^12.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|