@smartlyqofficial/node 0.1.32 → 0.1.34
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 +5 -0
- package/dist/index.cjs +20 -0
- package/dist/index.d.cts +340 -2
- package/dist/index.d.ts +340 -2
- package/dist/index.js +20 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -544,6 +544,11 @@ All methods below are available on the client. Full request/response documentati
|
|
|
544
544
|
| `sq.social.connectSelect(accountId, body)` | `POST /social/accounts/{account_id}/connect-select` | Select connection target |
|
|
545
545
|
| `sq.social.getFacebookPage(accountId)` | `GET /social/accounts/{account_id}/facebook/page` | Get Facebook page details |
|
|
546
546
|
| `sq.social.updateFacebookPage(accountId, body)` | `PATCH /social/accounts/{account_id}/facebook/page` | Update Facebook page details |
|
|
547
|
+
| `sq.social.getFacebookPageSettings(accountId)` | `GET /social/accounts/{account_id}/facebook/page/settings` | Get Facebook page settings |
|
|
548
|
+
| `sq.social.updateFacebookPageSettings(accountId, body)` | `PATCH /social/accounts/{account_id}/facebook/page/settings` | Update Facebook page settings |
|
|
549
|
+
| `sq.social.setFacebookPagePicture(accountId, body)` | `POST /social/accounts/{account_id}/facebook/page/picture` | Set Facebook page profile picture |
|
|
550
|
+
| `sq.social.setFacebookPageCover(accountId, body)` | `POST /social/accounts/{account_id}/facebook/page/cover` | Set Facebook page cover photo |
|
|
551
|
+
| `sq.social.getFacebookReelLimit(accountId)` | `GET /social/accounts/{account_id}/facebook/reel-limit` | Get Facebook Reel limit |
|
|
547
552
|
| `sq.social.updateYoutubePlaylist(accountId, playlistId, body)` | `PATCH /social/accounts/{account_id}/youtube/playlists/{playlist_id}` | Update a YouTube playlist |
|
|
548
553
|
| `sq.social.listMentions(accountId, query?)` | `GET /social/accounts/{account_id}/mentions` | List mentions |
|
|
549
554
|
| `sq.social.replyToMention(accountId, mentionId, body)` | `POST /social/accounts/{account_id}/mentions/{mention_id}/reply` | Reply to a mention |
|
package/dist/index.cjs
CHANGED
|
@@ -1551,6 +1551,26 @@ var SocialResource = class {
|
|
|
1551
1551
|
updateFacebookPage(accountId, body, options) {
|
|
1552
1552
|
return this._client.request("PATCH", `/social/accounts/${encodeURIComponent(accountId)}/facebook/page`, { body, options });
|
|
1553
1553
|
}
|
|
1554
|
+
/** Get Facebook page settings `GET /social/accounts/{account_id}/facebook/page/settings` */
|
|
1555
|
+
getFacebookPageSettings(accountId, options) {
|
|
1556
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/facebook/page/settings`, { options });
|
|
1557
|
+
}
|
|
1558
|
+
/** Update Facebook page settings `PATCH /social/accounts/{account_id}/facebook/page/settings` */
|
|
1559
|
+
updateFacebookPageSettings(accountId, body, options) {
|
|
1560
|
+
return this._client.request("PATCH", `/social/accounts/${encodeURIComponent(accountId)}/facebook/page/settings`, { body, options });
|
|
1561
|
+
}
|
|
1562
|
+
/** Set Facebook page profile picture `POST /social/accounts/{account_id}/facebook/page/picture` */
|
|
1563
|
+
setFacebookPagePicture(accountId, body, options) {
|
|
1564
|
+
return this._client.request("POST", `/social/accounts/${encodeURIComponent(accountId)}/facebook/page/picture`, { body, options });
|
|
1565
|
+
}
|
|
1566
|
+
/** Set Facebook page cover photo `POST /social/accounts/{account_id}/facebook/page/cover` */
|
|
1567
|
+
setFacebookPageCover(accountId, body, options) {
|
|
1568
|
+
return this._client.request("POST", `/social/accounts/${encodeURIComponent(accountId)}/facebook/page/cover`, { body, options });
|
|
1569
|
+
}
|
|
1570
|
+
/** Get Facebook Reel limit `GET /social/accounts/{account_id}/facebook/reel-limit` */
|
|
1571
|
+
getFacebookReelLimit(accountId, options) {
|
|
1572
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/facebook/reel-limit`, { options });
|
|
1573
|
+
}
|
|
1554
1574
|
/** Update a YouTube playlist `PATCH /social/accounts/{account_id}/youtube/playlists/{playlist_id}` */
|
|
1555
1575
|
updateYoutubePlaylist(accountId, playlistId, body, options) {
|
|
1556
1576
|
return this._client.request("PATCH", `/social/accounts/${encodeURIComponent(accountId)}/youtube/playlists/${encodeURIComponent(playlistId)}`, { body, options });
|