@smartlyqofficial/cli 0.1.23 → 0.1.25
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 +1 -0
- package/dist/cli.js +3 -2
- package/dist/index.cjs +3 -2
- package/dist/index.js +3 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -277,6 +277,7 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
277
277
|
| `smartlyq media get <media-id>` | `GET /media/{media_id}` | Get media |
|
|
278
278
|
| `smartlyq media delete <media-id>` | `DELETE /media/{media_id}` | Delete media |
|
|
279
279
|
| `smartlyq media get-upload-url --data <json>` | `POST /media/upload-url` | Get presigned upload URL |
|
|
280
|
+
| `smartlyq media confirm-upload <media-id>` | `POST /media/{media_id}/confirm` | Confirm a presigned upload |
|
|
280
281
|
| `smartlyq media upload-direct --data <json>` | `POST /media/upload-direct` | Upload a file directly |
|
|
281
282
|
|
|
282
283
|
### Presentations
|
package/dist/cli.js
CHANGED
|
@@ -116,6 +116,7 @@ var commands = [
|
|
|
116
116
|
{ "resourceKey": "media", "methodName": "get", "kebabMethod": "get", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get media", "httpMethod": "GET", "path": "/media/{media_id}" },
|
|
117
117
|
{ "resourceKey": "media", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete media", "httpMethod": "DELETE", "path": "/media/{media_id}" },
|
|
118
118
|
{ "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" },
|
|
119
|
+
{ "resourceKey": "media", "methodName": "confirmUpload", "kebabMethod": "confirm-upload", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Confirm a presigned upload", "httpMethod": "POST", "path": "/media/{media_id}/confirm" },
|
|
119
120
|
{ "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" },
|
|
120
121
|
{ "resourceKey": "presentations", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate presentation", "httpMethod": "POST", "path": "/presentations/generate" },
|
|
121
122
|
{ "resourceKey": "presentations", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List presentations", "httpMethod": "GET", "path": "/presentations" },
|
|
@@ -488,7 +489,7 @@ function runLogout() {
|
|
|
488
489
|
// package.json
|
|
489
490
|
var package_default = {
|
|
490
491
|
name: "@smartlyqofficial/cli",
|
|
491
|
-
version: "0.1.
|
|
492
|
+
version: "0.1.25",
|
|
492
493
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
493
494
|
keywords: [
|
|
494
495
|
"smartlyq",
|
|
@@ -538,7 +539,7 @@ var package_default = {
|
|
|
538
539
|
prepublishOnly: "npm run build"
|
|
539
540
|
},
|
|
540
541
|
dependencies: {
|
|
541
|
-
"@smartlyqofficial/node": "^0.1.
|
|
542
|
+
"@smartlyqofficial/node": "^0.1.24",
|
|
542
543
|
commander: "^12.1.0"
|
|
543
544
|
},
|
|
544
545
|
devDependencies: {
|
package/dist/index.cjs
CHANGED
|
@@ -166,6 +166,7 @@ var commands = [
|
|
|
166
166
|
{ "resourceKey": "media", "methodName": "get", "kebabMethod": "get", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get media", "httpMethod": "GET", "path": "/media/{media_id}" },
|
|
167
167
|
{ "resourceKey": "media", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete media", "httpMethod": "DELETE", "path": "/media/{media_id}" },
|
|
168
168
|
{ "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" },
|
|
169
|
+
{ "resourceKey": "media", "methodName": "confirmUpload", "kebabMethod": "confirm-upload", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Confirm a presigned upload", "httpMethod": "POST", "path": "/media/{media_id}/confirm" },
|
|
169
170
|
{ "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" },
|
|
170
171
|
{ "resourceKey": "presentations", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate presentation", "httpMethod": "POST", "path": "/presentations/generate" },
|
|
171
172
|
{ "resourceKey": "presentations", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List presentations", "httpMethod": "GET", "path": "/presentations" },
|
|
@@ -538,7 +539,7 @@ function runLogout() {
|
|
|
538
539
|
// package.json
|
|
539
540
|
var package_default = {
|
|
540
541
|
name: "@smartlyqofficial/cli",
|
|
541
|
-
version: "0.1.
|
|
542
|
+
version: "0.1.25",
|
|
542
543
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
543
544
|
keywords: [
|
|
544
545
|
"smartlyq",
|
|
@@ -588,7 +589,7 @@ var package_default = {
|
|
|
588
589
|
prepublishOnly: "npm run build"
|
|
589
590
|
},
|
|
590
591
|
dependencies: {
|
|
591
|
-
"@smartlyqofficial/node": "^0.1.
|
|
592
|
+
"@smartlyqofficial/node": "^0.1.24",
|
|
592
593
|
commander: "^12.1.0"
|
|
593
594
|
},
|
|
594
595
|
devDependencies: {
|
package/dist/index.js
CHANGED
|
@@ -114,6 +114,7 @@ var commands = [
|
|
|
114
114
|
{ "resourceKey": "media", "methodName": "get", "kebabMethod": "get", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get media", "httpMethod": "GET", "path": "/media/{media_id}" },
|
|
115
115
|
{ "resourceKey": "media", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete media", "httpMethod": "DELETE", "path": "/media/{media_id}" },
|
|
116
116
|
{ "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" },
|
|
117
|
+
{ "resourceKey": "media", "methodName": "confirmUpload", "kebabMethod": "confirm-upload", "pathParams": ["mediaId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Confirm a presigned upload", "httpMethod": "POST", "path": "/media/{media_id}/confirm" },
|
|
117
118
|
{ "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" },
|
|
118
119
|
{ "resourceKey": "presentations", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate presentation", "httpMethod": "POST", "path": "/presentations/generate" },
|
|
119
120
|
{ "resourceKey": "presentations", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List presentations", "httpMethod": "GET", "path": "/presentations" },
|
|
@@ -486,7 +487,7 @@ function runLogout() {
|
|
|
486
487
|
// package.json
|
|
487
488
|
var package_default = {
|
|
488
489
|
name: "@smartlyqofficial/cli",
|
|
489
|
-
version: "0.1.
|
|
490
|
+
version: "0.1.25",
|
|
490
491
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
491
492
|
keywords: [
|
|
492
493
|
"smartlyq",
|
|
@@ -536,7 +537,7 @@ var package_default = {
|
|
|
536
537
|
prepublishOnly: "npm run build"
|
|
537
538
|
},
|
|
538
539
|
dependencies: {
|
|
539
|
-
"@smartlyqofficial/node": "^0.1.
|
|
540
|
+
"@smartlyqofficial/node": "^0.1.24",
|
|
540
541
|
commander: "^12.1.0"
|
|
541
542
|
},
|
|
542
543
|
devDependencies: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartlyqofficial/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.25",
|
|
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.24",
|
|
54
54
|
"commander": "^12.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|