@smartlyqofficial/cli 0.1.12 → 0.1.13
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 +2 -0
- package/dist/cli.js +4 -2
- package/dist/index.cjs +4 -2
- package/dist/index.js +4 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -253,6 +253,7 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
253
253
|
| `smartlyq media get <media-id>` | `GET /media/{media_id}` | Get media |
|
|
254
254
|
| `smartlyq media delete <media-id>` | `DELETE /media/{media_id}` | Delete media |
|
|
255
255
|
| `smartlyq media get-upload-url --data <json>` | `POST /media/upload-url` | Get presigned upload URL |
|
|
256
|
+
| `smartlyq media upload-direct --data <json>` | `POST /media/upload-direct` | Upload a file directly |
|
|
256
257
|
|
|
257
258
|
### Presentations
|
|
258
259
|
|
|
@@ -270,6 +271,7 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
270
271
|
| `smartlyq profiles list [--query <query>]` | `GET /profiles` | List profiles |
|
|
271
272
|
| `smartlyq profiles create --data <json>` | `POST /profiles` | Create a profile |
|
|
272
273
|
| `smartlyq profiles get <id>` | `GET /profiles/{id}` | Get a profile |
|
|
274
|
+
| `smartlyq profiles update <id> --data <json>` | `PATCH /profiles/{id}` | Update a profile |
|
|
273
275
|
| `smartlyq profiles delete <id> --data <json>` | `DELETE /profiles/{id}` | Delete a profile |
|
|
274
276
|
| `smartlyq profiles list-accounts <id>` | `GET /profiles/{id}/accounts` | List a profile's connected accounts |
|
|
275
277
|
| `smartlyq profiles pause <id>` | `POST /profiles/{id}/pause` | Pause a profile |
|
package/dist/cli.js
CHANGED
|
@@ -97,6 +97,7 @@ var commands = [
|
|
|
97
97
|
{ "resourceKey": "media", "methodName": "get", "kebabMethod": "get", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get media", "httpMethod": "GET", "path": "/media/{media_id}" },
|
|
98
98
|
{ "resourceKey": "media", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete media", "httpMethod": "DELETE", "path": "/media/{media_id}" },
|
|
99
99
|
{ "resourceKey": "media", "methodName": "getUploadUrl", "kebabMethod": "get-upload-url", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Get presigned upload URL", "httpMethod": "POST", "path": "/media/upload-url" },
|
|
100
|
+
{ "resourceKey": "media", "methodName": "uploadDirect", "kebabMethod": "upload-direct", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Upload a file directly", "httpMethod": "POST", "path": "/media/upload-direct" },
|
|
100
101
|
{ "resourceKey": "presentations", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate presentation", "httpMethod": "POST", "path": "/presentations/generate" },
|
|
101
102
|
{ "resourceKey": "presentations", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List presentations", "httpMethod": "GET", "path": "/presentations" },
|
|
102
103
|
{ "resourceKey": "presentations", "methodName": "get", "kebabMethod": "get", "pathParams": ["presentationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get presentation", "httpMethod": "GET", "path": "/presentations/{presentation_id}" },
|
|
@@ -104,6 +105,7 @@ var commands = [
|
|
|
104
105
|
{ "resourceKey": "profiles", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List profiles", "httpMethod": "GET", "path": "/profiles" },
|
|
105
106
|
{ "resourceKey": "profiles", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a profile", "httpMethod": "POST", "path": "/profiles" },
|
|
106
107
|
{ "resourceKey": "profiles", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get a profile", "httpMethod": "GET", "path": "/profiles/{id}" },
|
|
108
|
+
{ "resourceKey": "profiles", "methodName": "update", "kebabMethod": "update", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a profile", "httpMethod": "PATCH", "path": "/profiles/{id}" },
|
|
107
109
|
{ "resourceKey": "profiles", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Delete a profile", "httpMethod": "DELETE", "path": "/profiles/{id}" },
|
|
108
110
|
{ "resourceKey": "profiles", "methodName": "listAccounts", "kebabMethod": "list-accounts", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List a profile's connected accounts", "httpMethod": "GET", "path": "/profiles/{id}/accounts" },
|
|
109
111
|
{ "resourceKey": "profiles", "methodName": "pause", "kebabMethod": "pause", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pause a profile", "httpMethod": "POST", "path": "/profiles/{id}/pause" },
|
|
@@ -423,7 +425,7 @@ function runLogout() {
|
|
|
423
425
|
// package.json
|
|
424
426
|
var package_default = {
|
|
425
427
|
name: "@smartlyqofficial/cli",
|
|
426
|
-
version: "0.1.
|
|
428
|
+
version: "0.1.13",
|
|
427
429
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
428
430
|
keywords: [
|
|
429
431
|
"smartlyq",
|
|
@@ -473,7 +475,7 @@ var package_default = {
|
|
|
473
475
|
prepublishOnly: "npm run build"
|
|
474
476
|
},
|
|
475
477
|
dependencies: {
|
|
476
|
-
"@smartlyqofficial/node": "^0.1.
|
|
478
|
+
"@smartlyqofficial/node": "^0.1.13",
|
|
477
479
|
commander: "^12.1.0"
|
|
478
480
|
},
|
|
479
481
|
devDependencies: {
|
package/dist/index.cjs
CHANGED
|
@@ -147,6 +147,7 @@ var commands = [
|
|
|
147
147
|
{ "resourceKey": "media", "methodName": "get", "kebabMethod": "get", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get media", "httpMethod": "GET", "path": "/media/{media_id}" },
|
|
148
148
|
{ "resourceKey": "media", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete media", "httpMethod": "DELETE", "path": "/media/{media_id}" },
|
|
149
149
|
{ "resourceKey": "media", "methodName": "getUploadUrl", "kebabMethod": "get-upload-url", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Get presigned upload URL", "httpMethod": "POST", "path": "/media/upload-url" },
|
|
150
|
+
{ "resourceKey": "media", "methodName": "uploadDirect", "kebabMethod": "upload-direct", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Upload a file directly", "httpMethod": "POST", "path": "/media/upload-direct" },
|
|
150
151
|
{ "resourceKey": "presentations", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate presentation", "httpMethod": "POST", "path": "/presentations/generate" },
|
|
151
152
|
{ "resourceKey": "presentations", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List presentations", "httpMethod": "GET", "path": "/presentations" },
|
|
152
153
|
{ "resourceKey": "presentations", "methodName": "get", "kebabMethod": "get", "pathParams": ["presentationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get presentation", "httpMethod": "GET", "path": "/presentations/{presentation_id}" },
|
|
@@ -154,6 +155,7 @@ var commands = [
|
|
|
154
155
|
{ "resourceKey": "profiles", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List profiles", "httpMethod": "GET", "path": "/profiles" },
|
|
155
156
|
{ "resourceKey": "profiles", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a profile", "httpMethod": "POST", "path": "/profiles" },
|
|
156
157
|
{ "resourceKey": "profiles", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get a profile", "httpMethod": "GET", "path": "/profiles/{id}" },
|
|
158
|
+
{ "resourceKey": "profiles", "methodName": "update", "kebabMethod": "update", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a profile", "httpMethod": "PATCH", "path": "/profiles/{id}" },
|
|
157
159
|
{ "resourceKey": "profiles", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Delete a profile", "httpMethod": "DELETE", "path": "/profiles/{id}" },
|
|
158
160
|
{ "resourceKey": "profiles", "methodName": "listAccounts", "kebabMethod": "list-accounts", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List a profile's connected accounts", "httpMethod": "GET", "path": "/profiles/{id}/accounts" },
|
|
159
161
|
{ "resourceKey": "profiles", "methodName": "pause", "kebabMethod": "pause", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pause a profile", "httpMethod": "POST", "path": "/profiles/{id}/pause" },
|
|
@@ -473,7 +475,7 @@ function runLogout() {
|
|
|
473
475
|
// package.json
|
|
474
476
|
var package_default = {
|
|
475
477
|
name: "@smartlyqofficial/cli",
|
|
476
|
-
version: "0.1.
|
|
478
|
+
version: "0.1.13",
|
|
477
479
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
478
480
|
keywords: [
|
|
479
481
|
"smartlyq",
|
|
@@ -523,7 +525,7 @@ var package_default = {
|
|
|
523
525
|
prepublishOnly: "npm run build"
|
|
524
526
|
},
|
|
525
527
|
dependencies: {
|
|
526
|
-
"@smartlyqofficial/node": "^0.1.
|
|
528
|
+
"@smartlyqofficial/node": "^0.1.13",
|
|
527
529
|
commander: "^12.1.0"
|
|
528
530
|
},
|
|
529
531
|
devDependencies: {
|
package/dist/index.js
CHANGED
|
@@ -95,6 +95,7 @@ var commands = [
|
|
|
95
95
|
{ "resourceKey": "media", "methodName": "get", "kebabMethod": "get", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get media", "httpMethod": "GET", "path": "/media/{media_id}" },
|
|
96
96
|
{ "resourceKey": "media", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete media", "httpMethod": "DELETE", "path": "/media/{media_id}" },
|
|
97
97
|
{ "resourceKey": "media", "methodName": "getUploadUrl", "kebabMethod": "get-upload-url", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Get presigned upload URL", "httpMethod": "POST", "path": "/media/upload-url" },
|
|
98
|
+
{ "resourceKey": "media", "methodName": "uploadDirect", "kebabMethod": "upload-direct", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Upload a file directly", "httpMethod": "POST", "path": "/media/upload-direct" },
|
|
98
99
|
{ "resourceKey": "presentations", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate presentation", "httpMethod": "POST", "path": "/presentations/generate" },
|
|
99
100
|
{ "resourceKey": "presentations", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List presentations", "httpMethod": "GET", "path": "/presentations" },
|
|
100
101
|
{ "resourceKey": "presentations", "methodName": "get", "kebabMethod": "get", "pathParams": ["presentationId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get presentation", "httpMethod": "GET", "path": "/presentations/{presentation_id}" },
|
|
@@ -102,6 +103,7 @@ var commands = [
|
|
|
102
103
|
{ "resourceKey": "profiles", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List profiles", "httpMethod": "GET", "path": "/profiles" },
|
|
103
104
|
{ "resourceKey": "profiles", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a profile", "httpMethod": "POST", "path": "/profiles" },
|
|
104
105
|
{ "resourceKey": "profiles", "methodName": "get", "kebabMethod": "get", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get a profile", "httpMethod": "GET", "path": "/profiles/{id}" },
|
|
106
|
+
{ "resourceKey": "profiles", "methodName": "update", "kebabMethod": "update", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a profile", "httpMethod": "PATCH", "path": "/profiles/{id}" },
|
|
105
107
|
{ "resourceKey": "profiles", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Delete a profile", "httpMethod": "DELETE", "path": "/profiles/{id}" },
|
|
106
108
|
{ "resourceKey": "profiles", "methodName": "listAccounts", "kebabMethod": "list-accounts", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List a profile's connected accounts", "httpMethod": "GET", "path": "/profiles/{id}/accounts" },
|
|
107
109
|
{ "resourceKey": "profiles", "methodName": "pause", "kebabMethod": "pause", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Pause a profile", "httpMethod": "POST", "path": "/profiles/{id}/pause" },
|
|
@@ -421,7 +423,7 @@ function runLogout() {
|
|
|
421
423
|
// package.json
|
|
422
424
|
var package_default = {
|
|
423
425
|
name: "@smartlyqofficial/cli",
|
|
424
|
-
version: "0.1.
|
|
426
|
+
version: "0.1.13",
|
|
425
427
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
426
428
|
keywords: [
|
|
427
429
|
"smartlyq",
|
|
@@ -471,7 +473,7 @@ var package_default = {
|
|
|
471
473
|
prepublishOnly: "npm run build"
|
|
472
474
|
},
|
|
473
475
|
dependencies: {
|
|
474
|
-
"@smartlyqofficial/node": "^0.1.
|
|
476
|
+
"@smartlyqofficial/node": "^0.1.13",
|
|
475
477
|
commander: "^12.1.0"
|
|
476
478
|
},
|
|
477
479
|
devDependencies: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartlyqofficial/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
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.13",
|
|
54
54
|
"commander": "^12.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|