@smartlyqofficial/cli 0.1.1 → 0.1.2

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
@@ -101,6 +101,11 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
101
101
  | `smartlyq analytics get-overview [--query <query>]` | `GET /analytics/overview` | Get analytics overview |
102
102
  | `smartlyq analytics get-posts [--query <query>]` | `GET /analytics/posts` | Get post analytics |
103
103
  | `smartlyq analytics get-account <account-id> [--query <query>]` | `GET /analytics/accounts/{account_id}` | Get account analytics |
104
+ | `smartlyq analytics daily-metrics [--query <query>]` | `GET /analytics/daily-metrics` | Daily metrics |
105
+ | `smartlyq analytics best-time [--query <query>]` | `GET /analytics/best-time` | Best time to post |
106
+ | `smartlyq analytics content-decay [--query <query>]` | `GET /analytics/content-decay` | Content decay |
107
+ | `smartlyq analytics posting-frequency [--query <query>]` | `GET /analytics/posting-frequency` | Posting frequency vs engagement |
108
+ | `smartlyq analytics post-timeline <post-id>` | `GET /analytics/posts/{post_id}/timeline` | Post metric timeline |
104
109
 
105
110
  ### Articles
106
111
 
package/dist/cli.js CHANGED
@@ -15,6 +15,11 @@ var commands = [
15
15
  { "resourceKey": "analytics", "methodName": "getOverview", "kebabMethod": "get-overview", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get analytics overview", "httpMethod": "GET", "path": "/analytics/overview" },
16
16
  { "resourceKey": "analytics", "methodName": "getPosts", "kebabMethod": "get-posts", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get post analytics", "httpMethod": "GET", "path": "/analytics/posts" },
17
17
  { "resourceKey": "analytics", "methodName": "getAccount", "kebabMethod": "get-account", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get account analytics", "httpMethod": "GET", "path": "/analytics/accounts/{account_id}" },
18
+ { "resourceKey": "analytics", "methodName": "dailyMetrics", "kebabMethod": "daily-metrics", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Daily metrics", "httpMethod": "GET", "path": "/analytics/daily-metrics" },
19
+ { "resourceKey": "analytics", "methodName": "bestTime", "kebabMethod": "best-time", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Best time to post", "httpMethod": "GET", "path": "/analytics/best-time" },
20
+ { "resourceKey": "analytics", "methodName": "contentDecay", "kebabMethod": "content-decay", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Content decay", "httpMethod": "GET", "path": "/analytics/content-decay" },
21
+ { "resourceKey": "analytics", "methodName": "postingFrequency", "kebabMethod": "posting-frequency", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Posting frequency vs engagement", "httpMethod": "GET", "path": "/analytics/posting-frequency" },
22
+ { "resourceKey": "analytics", "methodName": "postTimeline", "kebabMethod": "post-timeline", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Post metric timeline", "httpMethod": "GET", "path": "/analytics/posts/{post_id}/timeline" },
18
23
  { "resourceKey": "articles", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate article", "httpMethod": "POST", "path": "/articles/generate" },
19
24
  { "resourceKey": "articles", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List articles", "httpMethod": "GET", "path": "/articles" },
20
25
  { "resourceKey": "articles", "methodName": "get", "kebabMethod": "get", "pathParams": ["articleId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get article", "httpMethod": "GET", "path": "/articles/{article_id}" },
@@ -343,7 +348,7 @@ function runLogout() {
343
348
  // package.json
344
349
  var package_default = {
345
350
  name: "@smartlyqofficial/cli",
346
- version: "0.1.1",
351
+ version: "0.1.2",
347
352
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
348
353
  keywords: [
349
354
  "smartlyq",
@@ -393,7 +398,7 @@ var package_default = {
393
398
  prepublishOnly: "npm run build"
394
399
  },
395
400
  dependencies: {
396
- "@smartlyqofficial/node": "^0.1.3",
401
+ "@smartlyqofficial/node": "^0.1.4",
397
402
  commander: "^12.1.0"
398
403
  },
399
404
  devDependencies: {
package/dist/index.cjs CHANGED
@@ -65,6 +65,11 @@ var commands = [
65
65
  { "resourceKey": "analytics", "methodName": "getOverview", "kebabMethod": "get-overview", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get analytics overview", "httpMethod": "GET", "path": "/analytics/overview" },
66
66
  { "resourceKey": "analytics", "methodName": "getPosts", "kebabMethod": "get-posts", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get post analytics", "httpMethod": "GET", "path": "/analytics/posts" },
67
67
  { "resourceKey": "analytics", "methodName": "getAccount", "kebabMethod": "get-account", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get account analytics", "httpMethod": "GET", "path": "/analytics/accounts/{account_id}" },
68
+ { "resourceKey": "analytics", "methodName": "dailyMetrics", "kebabMethod": "daily-metrics", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Daily metrics", "httpMethod": "GET", "path": "/analytics/daily-metrics" },
69
+ { "resourceKey": "analytics", "methodName": "bestTime", "kebabMethod": "best-time", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Best time to post", "httpMethod": "GET", "path": "/analytics/best-time" },
70
+ { "resourceKey": "analytics", "methodName": "contentDecay", "kebabMethod": "content-decay", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Content decay", "httpMethod": "GET", "path": "/analytics/content-decay" },
71
+ { "resourceKey": "analytics", "methodName": "postingFrequency", "kebabMethod": "posting-frequency", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Posting frequency vs engagement", "httpMethod": "GET", "path": "/analytics/posting-frequency" },
72
+ { "resourceKey": "analytics", "methodName": "postTimeline", "kebabMethod": "post-timeline", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Post metric timeline", "httpMethod": "GET", "path": "/analytics/posts/{post_id}/timeline" },
68
73
  { "resourceKey": "articles", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate article", "httpMethod": "POST", "path": "/articles/generate" },
69
74
  { "resourceKey": "articles", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List articles", "httpMethod": "GET", "path": "/articles" },
70
75
  { "resourceKey": "articles", "methodName": "get", "kebabMethod": "get", "pathParams": ["articleId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get article", "httpMethod": "GET", "path": "/articles/{article_id}" },
@@ -393,7 +398,7 @@ function runLogout() {
393
398
  // package.json
394
399
  var package_default = {
395
400
  name: "@smartlyqofficial/cli",
396
- version: "0.1.1",
401
+ version: "0.1.2",
397
402
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
398
403
  keywords: [
399
404
  "smartlyq",
@@ -443,7 +448,7 @@ var package_default = {
443
448
  prepublishOnly: "npm run build"
444
449
  },
445
450
  dependencies: {
446
- "@smartlyqofficial/node": "^0.1.3",
451
+ "@smartlyqofficial/node": "^0.1.4",
447
452
  commander: "^12.1.0"
448
453
  },
449
454
  devDependencies: {
package/dist/index.js CHANGED
@@ -13,6 +13,11 @@ var commands = [
13
13
  { "resourceKey": "analytics", "methodName": "getOverview", "kebabMethod": "get-overview", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get analytics overview", "httpMethod": "GET", "path": "/analytics/overview" },
14
14
  { "resourceKey": "analytics", "methodName": "getPosts", "kebabMethod": "get-posts", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get post analytics", "httpMethod": "GET", "path": "/analytics/posts" },
15
15
  { "resourceKey": "analytics", "methodName": "getAccount", "kebabMethod": "get-account", "pathParams": ["accountId"], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Get account analytics", "httpMethod": "GET", "path": "/analytics/accounts/{account_id}" },
16
+ { "resourceKey": "analytics", "methodName": "dailyMetrics", "kebabMethod": "daily-metrics", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Daily metrics", "httpMethod": "GET", "path": "/analytics/daily-metrics" },
17
+ { "resourceKey": "analytics", "methodName": "bestTime", "kebabMethod": "best-time", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Best time to post", "httpMethod": "GET", "path": "/analytics/best-time" },
18
+ { "resourceKey": "analytics", "methodName": "contentDecay", "kebabMethod": "content-decay", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Content decay", "httpMethod": "GET", "path": "/analytics/content-decay" },
19
+ { "resourceKey": "analytics", "methodName": "postingFrequency", "kebabMethod": "posting-frequency", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "Posting frequency vs engagement", "httpMethod": "GET", "path": "/analytics/posting-frequency" },
20
+ { "resourceKey": "analytics", "methodName": "postTimeline", "kebabMethod": "post-timeline", "pathParams": ["postId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Post metric timeline", "httpMethod": "GET", "path": "/analytics/posts/{post_id}/timeline" },
16
21
  { "resourceKey": "articles", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate article", "httpMethod": "POST", "path": "/articles/generate" },
17
22
  { "resourceKey": "articles", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List articles", "httpMethod": "GET", "path": "/articles" },
18
23
  { "resourceKey": "articles", "methodName": "get", "kebabMethod": "get", "pathParams": ["articleId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get article", "httpMethod": "GET", "path": "/articles/{article_id}" },
@@ -341,7 +346,7 @@ function runLogout() {
341
346
  // package.json
342
347
  var package_default = {
343
348
  name: "@smartlyqofficial/cli",
344
- version: "0.1.1",
349
+ version: "0.1.2",
345
350
  description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
346
351
  keywords: [
347
352
  "smartlyq",
@@ -391,7 +396,7 @@ var package_default = {
391
396
  prepublishOnly: "npm run build"
392
397
  },
393
398
  dependencies: {
394
- "@smartlyqofficial/node": "^0.1.3",
399
+ "@smartlyqofficial/node": "^0.1.4",
395
400
  commander: "^12.1.0"
396
401
  },
397
402
  devDependencies: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartlyqofficial/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
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.3",
53
+ "@smartlyqofficial/node": "^0.1.4",
54
54
  "commander": "^12.1.0"
55
55
  },
56
56
  "devDependencies": {