@smartlyqofficial/cli 0.1.59 → 0.1.61
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 +11 -0
- package/dist/cli.js +8 -2
- package/dist/index.cjs +8 -2
- package/dist/index.js +8 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -336,6 +336,17 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
336
336
|
| `smartlyq messages react-to <conversation-id> <message-id> --data <json>` | `POST /social/conversations/{conversation_id}/messages/{message_id}/reactions` | React to a message |
|
|
337
337
|
| `smartlyq messages remove-reaction <conversation-id> <message-id>` | `DELETE /social/conversations/{conversation_id}/messages/{message_id}/reactions` | Remove a message reaction |
|
|
338
338
|
|
|
339
|
+
### Edits
|
|
340
|
+
|
|
341
|
+
| Command | Endpoint | Description |
|
|
342
|
+
| --- | --- | --- |
|
|
343
|
+
| `smartlyq edits list [--query <query>]` | `GET /edits` | List video edits |
|
|
344
|
+
| `smartlyq edits create --data <json>` | `POST /edits` | Create a video edit |
|
|
345
|
+
| `smartlyq edits list-options` | `GET /edits/options` | List edit options |
|
|
346
|
+
| `smartlyq edits get <uid>` | `GET /edits/{uid}` | Get a video edit |
|
|
347
|
+
| `smartlyq edits update <uid> --data <json>` | `PATCH /edits/{uid}` | Update a video edit |
|
|
348
|
+
| `smartlyq edits export <uid>` | `POST /edits/{uid}/export` | Export a video edit |
|
|
349
|
+
|
|
339
350
|
### Images
|
|
340
351
|
|
|
341
352
|
| Command | Endpoint | Description |
|
package/dist/cli.js
CHANGED
|
@@ -169,6 +169,12 @@ var commands = [
|
|
|
169
169
|
{ "resourceKey": "messages", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["conversationId", "messageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete a sent message", "httpMethod": "DELETE", "path": "/social/conversations/{conversation_id}/messages/{message_id}" },
|
|
170
170
|
{ "resourceKey": "messages", "methodName": "reactTo", "kebabMethod": "react-to", "pathParams": ["conversationId", "messageId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "React to a message", "httpMethod": "POST", "path": "/social/conversations/{conversation_id}/messages/{message_id}/reactions" },
|
|
171
171
|
{ "resourceKey": "messages", "methodName": "removeReaction", "kebabMethod": "remove-reaction", "pathParams": ["conversationId", "messageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Remove a message reaction", "httpMethod": "DELETE", "path": "/social/conversations/{conversation_id}/messages/{message_id}/reactions" },
|
|
172
|
+
{ "resourceKey": "edits", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List video edits", "httpMethod": "GET", "path": "/edits" },
|
|
173
|
+
{ "resourceKey": "edits", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a video edit", "httpMethod": "POST", "path": "/edits" },
|
|
174
|
+
{ "resourceKey": "edits", "methodName": "listOptions", "kebabMethod": "list-options", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List edit options", "httpMethod": "GET", "path": "/edits/options" },
|
|
175
|
+
{ "resourceKey": "edits", "methodName": "get", "kebabMethod": "get", "pathParams": ["uid"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get a video edit", "httpMethod": "GET", "path": "/edits/{uid}" },
|
|
176
|
+
{ "resourceKey": "edits", "methodName": "update", "kebabMethod": "update", "pathParams": ["uid"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a video edit", "httpMethod": "PATCH", "path": "/edits/{uid}" },
|
|
177
|
+
{ "resourceKey": "edits", "methodName": "export", "kebabMethod": "export", "pathParams": ["uid"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Export a video edit", "httpMethod": "POST", "path": "/edits/{uid}/export" },
|
|
172
178
|
{ "resourceKey": "images", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate image", "httpMethod": "POST", "path": "/images/generate" },
|
|
173
179
|
{ "resourceKey": "images", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List images", "httpMethod": "GET", "path": "/images" },
|
|
174
180
|
{ "resourceKey": "images", "methodName": "get", "kebabMethod": "get", "pathParams": ["imageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get image", "httpMethod": "GET", "path": "/images/{image_id}" },
|
|
@@ -561,7 +567,7 @@ function runLogout() {
|
|
|
561
567
|
// package.json
|
|
562
568
|
var package_default = {
|
|
563
569
|
name: "@smartlyqofficial/cli",
|
|
564
|
-
version: "0.1.
|
|
570
|
+
version: "0.1.61",
|
|
565
571
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
566
572
|
keywords: [
|
|
567
573
|
"smartlyq",
|
|
@@ -611,7 +617,7 @@ var package_default = {
|
|
|
611
617
|
prepublishOnly: "npm run build"
|
|
612
618
|
},
|
|
613
619
|
dependencies: {
|
|
614
|
-
"@smartlyqofficial/node": "^0.1.
|
|
620
|
+
"@smartlyqofficial/node": "^0.1.53",
|
|
615
621
|
commander: "^12.1.0"
|
|
616
622
|
},
|
|
617
623
|
devDependencies: {
|
package/dist/index.cjs
CHANGED
|
@@ -219,6 +219,12 @@ var commands = [
|
|
|
219
219
|
{ "resourceKey": "messages", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["conversationId", "messageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete a sent message", "httpMethod": "DELETE", "path": "/social/conversations/{conversation_id}/messages/{message_id}" },
|
|
220
220
|
{ "resourceKey": "messages", "methodName": "reactTo", "kebabMethod": "react-to", "pathParams": ["conversationId", "messageId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "React to a message", "httpMethod": "POST", "path": "/social/conversations/{conversation_id}/messages/{message_id}/reactions" },
|
|
221
221
|
{ "resourceKey": "messages", "methodName": "removeReaction", "kebabMethod": "remove-reaction", "pathParams": ["conversationId", "messageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Remove a message reaction", "httpMethod": "DELETE", "path": "/social/conversations/{conversation_id}/messages/{message_id}/reactions" },
|
|
222
|
+
{ "resourceKey": "edits", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List video edits", "httpMethod": "GET", "path": "/edits" },
|
|
223
|
+
{ "resourceKey": "edits", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a video edit", "httpMethod": "POST", "path": "/edits" },
|
|
224
|
+
{ "resourceKey": "edits", "methodName": "listOptions", "kebabMethod": "list-options", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List edit options", "httpMethod": "GET", "path": "/edits/options" },
|
|
225
|
+
{ "resourceKey": "edits", "methodName": "get", "kebabMethod": "get", "pathParams": ["uid"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get a video edit", "httpMethod": "GET", "path": "/edits/{uid}" },
|
|
226
|
+
{ "resourceKey": "edits", "methodName": "update", "kebabMethod": "update", "pathParams": ["uid"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a video edit", "httpMethod": "PATCH", "path": "/edits/{uid}" },
|
|
227
|
+
{ "resourceKey": "edits", "methodName": "export", "kebabMethod": "export", "pathParams": ["uid"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Export a video edit", "httpMethod": "POST", "path": "/edits/{uid}/export" },
|
|
222
228
|
{ "resourceKey": "images", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate image", "httpMethod": "POST", "path": "/images/generate" },
|
|
223
229
|
{ "resourceKey": "images", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List images", "httpMethod": "GET", "path": "/images" },
|
|
224
230
|
{ "resourceKey": "images", "methodName": "get", "kebabMethod": "get", "pathParams": ["imageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get image", "httpMethod": "GET", "path": "/images/{image_id}" },
|
|
@@ -611,7 +617,7 @@ function runLogout() {
|
|
|
611
617
|
// package.json
|
|
612
618
|
var package_default = {
|
|
613
619
|
name: "@smartlyqofficial/cli",
|
|
614
|
-
version: "0.1.
|
|
620
|
+
version: "0.1.61",
|
|
615
621
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
616
622
|
keywords: [
|
|
617
623
|
"smartlyq",
|
|
@@ -661,7 +667,7 @@ var package_default = {
|
|
|
661
667
|
prepublishOnly: "npm run build"
|
|
662
668
|
},
|
|
663
669
|
dependencies: {
|
|
664
|
-
"@smartlyqofficial/node": "^0.1.
|
|
670
|
+
"@smartlyqofficial/node": "^0.1.53",
|
|
665
671
|
commander: "^12.1.0"
|
|
666
672
|
},
|
|
667
673
|
devDependencies: {
|
package/dist/index.js
CHANGED
|
@@ -167,6 +167,12 @@ var commands = [
|
|
|
167
167
|
{ "resourceKey": "messages", "methodName": "delete", "kebabMethod": "delete", "pathParams": ["conversationId", "messageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete a sent message", "httpMethod": "DELETE", "path": "/social/conversations/{conversation_id}/messages/{message_id}" },
|
|
168
168
|
{ "resourceKey": "messages", "methodName": "reactTo", "kebabMethod": "react-to", "pathParams": ["conversationId", "messageId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "React to a message", "httpMethod": "POST", "path": "/social/conversations/{conversation_id}/messages/{message_id}/reactions" },
|
|
169
169
|
{ "resourceKey": "messages", "methodName": "removeReaction", "kebabMethod": "remove-reaction", "pathParams": ["conversationId", "messageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Remove a message reaction", "httpMethod": "DELETE", "path": "/social/conversations/{conversation_id}/messages/{message_id}/reactions" },
|
|
170
|
+
{ "resourceKey": "edits", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List video edits", "httpMethod": "GET", "path": "/edits" },
|
|
171
|
+
{ "resourceKey": "edits", "methodName": "create", "kebabMethod": "create", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Create a video edit", "httpMethod": "POST", "path": "/edits" },
|
|
172
|
+
{ "resourceKey": "edits", "methodName": "listOptions", "kebabMethod": "list-options", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List edit options", "httpMethod": "GET", "path": "/edits/options" },
|
|
173
|
+
{ "resourceKey": "edits", "methodName": "get", "kebabMethod": "get", "pathParams": ["uid"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get a video edit", "httpMethod": "GET", "path": "/edits/{uid}" },
|
|
174
|
+
{ "resourceKey": "edits", "methodName": "update", "kebabMethod": "update", "pathParams": ["uid"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Update a video edit", "httpMethod": "PATCH", "path": "/edits/{uid}" },
|
|
175
|
+
{ "resourceKey": "edits", "methodName": "export", "kebabMethod": "export", "pathParams": ["uid"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Export a video edit", "httpMethod": "POST", "path": "/edits/{uid}/export" },
|
|
170
176
|
{ "resourceKey": "images", "methodName": "generate", "kebabMethod": "generate", "pathParams": [], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Generate image", "httpMethod": "POST", "path": "/images/generate" },
|
|
171
177
|
{ "resourceKey": "images", "methodName": "list", "kebabMethod": "list", "pathParams": [], "hasBody": false, "bodyRequired": false, "hasQuery": true, "summary": "List images", "httpMethod": "GET", "path": "/images" },
|
|
172
178
|
{ "resourceKey": "images", "methodName": "get", "kebabMethod": "get", "pathParams": ["imageId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Get image", "httpMethod": "GET", "path": "/images/{image_id}" },
|
|
@@ -559,7 +565,7 @@ function runLogout() {
|
|
|
559
565
|
// package.json
|
|
560
566
|
var package_default = {
|
|
561
567
|
name: "@smartlyqofficial/cli",
|
|
562
|
-
version: "0.1.
|
|
568
|
+
version: "0.1.61",
|
|
563
569
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
564
570
|
keywords: [
|
|
565
571
|
"smartlyq",
|
|
@@ -609,7 +615,7 @@ var package_default = {
|
|
|
609
615
|
prepublishOnly: "npm run build"
|
|
610
616
|
},
|
|
611
617
|
dependencies: {
|
|
612
|
-
"@smartlyqofficial/node": "^0.1.
|
|
618
|
+
"@smartlyqofficial/node": "^0.1.53",
|
|
613
619
|
commander: "^12.1.0"
|
|
614
620
|
},
|
|
615
621
|
devDependencies: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartlyqofficial/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.61",
|
|
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.53",
|
|
54
54
|
"commander": "^12.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|