@smartlyqofficial/cli 0.1.47 → 0.1.48
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
|
@@ -275,6 +275,8 @@ Full request/response documentation lives at [docs.smartlyq.com](https://docs.sm
|
|
|
275
275
|
| `smartlyq contacts remove-tags <id> --data <json>` | `DELETE /contacts/{id}/tags` | Remove tags from a contact |
|
|
276
276
|
| `smartlyq contacts list-notes <id>` | `GET /contacts/{id}/notes` | List contact notes |
|
|
277
277
|
| `smartlyq contacts add-note <id> --data <json>` | `POST /contacts/{id}/notes` | Add a note to a contact |
|
|
278
|
+
| `smartlyq contacts update-note <id> <note-id> --data <json>` | `PATCH /contacts/{id}/notes/{note_id}` | Edit a contact note |
|
|
279
|
+
| `smartlyq contacts delete-note <id> <note-id>` | `DELETE /contacts/{id}/notes/{note_id}` | Delete a contact note |
|
|
278
280
|
| `smartlyq contacts enroll <id> --data <json>` | `POST /contacts/{id}/enroll` | Enroll a contact in an automation |
|
|
279
281
|
| `smartlyq contacts add-message <id> --data <json>` | `POST /contacts/{id}/messages` | Log a message on a contact's timeline |
|
|
280
282
|
| `smartlyq contacts set-field <id> <slug> --data <json>` | `PUT /contacts/{id}/fields/{slug}` | Set one custom field |
|
package/dist/cli.js
CHANGED
|
@@ -134,6 +134,8 @@ var commands = [
|
|
|
134
134
|
{ "resourceKey": "contacts", "methodName": "removeTags", "kebabMethod": "remove-tags", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Remove tags from a contact", "httpMethod": "DELETE", "path": "/contacts/{id}/tags" },
|
|
135
135
|
{ "resourceKey": "contacts", "methodName": "listNotes", "kebabMethod": "list-notes", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List contact notes", "httpMethod": "GET", "path": "/contacts/{id}/notes" },
|
|
136
136
|
{ "resourceKey": "contacts", "methodName": "addNote", "kebabMethod": "add-note", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Add a note to a contact", "httpMethod": "POST", "path": "/contacts/{id}/notes" },
|
|
137
|
+
{ "resourceKey": "contacts", "methodName": "updateNote", "kebabMethod": "update-note", "pathParams": ["id", "noteId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Edit a contact note", "httpMethod": "PATCH", "path": "/contacts/{id}/notes/{note_id}" },
|
|
138
|
+
{ "resourceKey": "contacts", "methodName": "deleteNote", "kebabMethod": "delete-note", "pathParams": ["id", "noteId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete a contact note", "httpMethod": "DELETE", "path": "/contacts/{id}/notes/{note_id}" },
|
|
137
139
|
{ "resourceKey": "contacts", "methodName": "enroll", "kebabMethod": "enroll", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Enroll a contact in an automation", "httpMethod": "POST", "path": "/contacts/{id}/enroll" },
|
|
138
140
|
{ "resourceKey": "contacts", "methodName": "addMessage", "kebabMethod": "add-message", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Log a message on a contact's timeline", "httpMethod": "POST", "path": "/contacts/{id}/messages" },
|
|
139
141
|
{ "resourceKey": "contacts", "methodName": "setField", "kebabMethod": "set-field", "pathParams": ["id", "slug"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Set one custom field", "httpMethod": "PUT", "path": "/contacts/{id}/fields/{slug}" },
|
|
@@ -557,7 +559,7 @@ function runLogout() {
|
|
|
557
559
|
// package.json
|
|
558
560
|
var package_default = {
|
|
559
561
|
name: "@smartlyqofficial/cli",
|
|
560
|
-
version: "0.1.
|
|
562
|
+
version: "0.1.48",
|
|
561
563
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
562
564
|
keywords: [
|
|
563
565
|
"smartlyq",
|
|
@@ -607,7 +609,7 @@ var package_default = {
|
|
|
607
609
|
prepublishOnly: "npm run build"
|
|
608
610
|
},
|
|
609
611
|
dependencies: {
|
|
610
|
-
"@smartlyqofficial/node": "^0.1.
|
|
612
|
+
"@smartlyqofficial/node": "^0.1.41",
|
|
611
613
|
commander: "^12.1.0"
|
|
612
614
|
},
|
|
613
615
|
devDependencies: {
|
package/dist/index.cjs
CHANGED
|
@@ -184,6 +184,8 @@ var commands = [
|
|
|
184
184
|
{ "resourceKey": "contacts", "methodName": "removeTags", "kebabMethod": "remove-tags", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Remove tags from a contact", "httpMethod": "DELETE", "path": "/contacts/{id}/tags" },
|
|
185
185
|
{ "resourceKey": "contacts", "methodName": "listNotes", "kebabMethod": "list-notes", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List contact notes", "httpMethod": "GET", "path": "/contacts/{id}/notes" },
|
|
186
186
|
{ "resourceKey": "contacts", "methodName": "addNote", "kebabMethod": "add-note", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Add a note to a contact", "httpMethod": "POST", "path": "/contacts/{id}/notes" },
|
|
187
|
+
{ "resourceKey": "contacts", "methodName": "updateNote", "kebabMethod": "update-note", "pathParams": ["id", "noteId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Edit a contact note", "httpMethod": "PATCH", "path": "/contacts/{id}/notes/{note_id}" },
|
|
188
|
+
{ "resourceKey": "contacts", "methodName": "deleteNote", "kebabMethod": "delete-note", "pathParams": ["id", "noteId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete a contact note", "httpMethod": "DELETE", "path": "/contacts/{id}/notes/{note_id}" },
|
|
187
189
|
{ "resourceKey": "contacts", "methodName": "enroll", "kebabMethod": "enroll", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Enroll a contact in an automation", "httpMethod": "POST", "path": "/contacts/{id}/enroll" },
|
|
188
190
|
{ "resourceKey": "contacts", "methodName": "addMessage", "kebabMethod": "add-message", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Log a message on a contact's timeline", "httpMethod": "POST", "path": "/contacts/{id}/messages" },
|
|
189
191
|
{ "resourceKey": "contacts", "methodName": "setField", "kebabMethod": "set-field", "pathParams": ["id", "slug"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Set one custom field", "httpMethod": "PUT", "path": "/contacts/{id}/fields/{slug}" },
|
|
@@ -607,7 +609,7 @@ function runLogout() {
|
|
|
607
609
|
// package.json
|
|
608
610
|
var package_default = {
|
|
609
611
|
name: "@smartlyqofficial/cli",
|
|
610
|
-
version: "0.1.
|
|
612
|
+
version: "0.1.48",
|
|
611
613
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
612
614
|
keywords: [
|
|
613
615
|
"smartlyq",
|
|
@@ -657,7 +659,7 @@ var package_default = {
|
|
|
657
659
|
prepublishOnly: "npm run build"
|
|
658
660
|
},
|
|
659
661
|
dependencies: {
|
|
660
|
-
"@smartlyqofficial/node": "^0.1.
|
|
662
|
+
"@smartlyqofficial/node": "^0.1.41",
|
|
661
663
|
commander: "^12.1.0"
|
|
662
664
|
},
|
|
663
665
|
devDependencies: {
|
package/dist/index.js
CHANGED
|
@@ -132,6 +132,8 @@ var commands = [
|
|
|
132
132
|
{ "resourceKey": "contacts", "methodName": "removeTags", "kebabMethod": "remove-tags", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Remove tags from a contact", "httpMethod": "DELETE", "path": "/contacts/{id}/tags" },
|
|
133
133
|
{ "resourceKey": "contacts", "methodName": "listNotes", "kebabMethod": "list-notes", "pathParams": ["id"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "List contact notes", "httpMethod": "GET", "path": "/contacts/{id}/notes" },
|
|
134
134
|
{ "resourceKey": "contacts", "methodName": "addNote", "kebabMethod": "add-note", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Add a note to a contact", "httpMethod": "POST", "path": "/contacts/{id}/notes" },
|
|
135
|
+
{ "resourceKey": "contacts", "methodName": "updateNote", "kebabMethod": "update-note", "pathParams": ["id", "noteId"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Edit a contact note", "httpMethod": "PATCH", "path": "/contacts/{id}/notes/{note_id}" },
|
|
136
|
+
{ "resourceKey": "contacts", "methodName": "deleteNote", "kebabMethod": "delete-note", "pathParams": ["id", "noteId"], "hasBody": false, "bodyRequired": false, "hasQuery": false, "summary": "Delete a contact note", "httpMethod": "DELETE", "path": "/contacts/{id}/notes/{note_id}" },
|
|
135
137
|
{ "resourceKey": "contacts", "methodName": "enroll", "kebabMethod": "enroll", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Enroll a contact in an automation", "httpMethod": "POST", "path": "/contacts/{id}/enroll" },
|
|
136
138
|
{ "resourceKey": "contacts", "methodName": "addMessage", "kebabMethod": "add-message", "pathParams": ["id"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Log a message on a contact's timeline", "httpMethod": "POST", "path": "/contacts/{id}/messages" },
|
|
137
139
|
{ "resourceKey": "contacts", "methodName": "setField", "kebabMethod": "set-field", "pathParams": ["id", "slug"], "hasBody": true, "bodyRequired": true, "hasQuery": false, "summary": "Set one custom field", "httpMethod": "PUT", "path": "/contacts/{id}/fields/{slug}" },
|
|
@@ -555,7 +557,7 @@ function runLogout() {
|
|
|
555
557
|
// package.json
|
|
556
558
|
var package_default = {
|
|
557
559
|
name: "@smartlyqofficial/cli",
|
|
558
|
-
version: "0.1.
|
|
560
|
+
version: "0.1.48",
|
|
559
561
|
description: "Official command line for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
|
|
560
562
|
keywords: [
|
|
561
563
|
"smartlyq",
|
|
@@ -605,7 +607,7 @@ var package_default = {
|
|
|
605
607
|
prepublishOnly: "npm run build"
|
|
606
608
|
},
|
|
607
609
|
dependencies: {
|
|
608
|
-
"@smartlyqofficial/node": "^0.1.
|
|
610
|
+
"@smartlyqofficial/node": "^0.1.41",
|
|
609
611
|
commander: "^12.1.0"
|
|
610
612
|
},
|
|
611
613
|
devDependencies: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartlyqofficial/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.48",
|
|
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.41",
|
|
54
54
|
"commander": "^12.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|