@smartlyqofficial/node 0.1.17 → 0.1.18
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 +9 -0
- package/dist/index.cjs +36 -0
- package/dist/index.d.cts +540 -1
- package/dist/index.d.ts +540 -1
- package/dist/index.js +36 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -969,6 +969,10 @@ var SocialResource = class {
|
|
|
969
969
|
pinterestBoards(accountId, options) {
|
|
970
970
|
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/pinterest/boards`, { options });
|
|
971
971
|
}
|
|
972
|
+
/** Create a Pinterest board `POST /social/accounts/{account_id}/pinterest/boards` */
|
|
973
|
+
createPinterestBoard(accountId, body, options) {
|
|
974
|
+
return this._client.request("POST", `/social/accounts/${encodeURIComponent(accountId)}/pinterest/boards`, { body, options });
|
|
975
|
+
}
|
|
972
976
|
/** YouTube playlists `GET /social/accounts/{account_id}/youtube/playlists` */
|
|
973
977
|
youtubePlaylists(accountId, options) {
|
|
974
978
|
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/youtube/playlists`, { options });
|
|
@@ -1161,6 +1165,30 @@ var SocialResource = class {
|
|
|
1161
1165
|
connectSelect(accountId, body, options) {
|
|
1162
1166
|
return this._client.request("POST", `/social/accounts/${encodeURIComponent(accountId)}/connect-select`, { body, options });
|
|
1163
1167
|
}
|
|
1168
|
+
/** Get Facebook page details `GET /social/accounts/{account_id}/facebook/page` */
|
|
1169
|
+
getFacebookPage(accountId, options) {
|
|
1170
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/facebook/page`, { options });
|
|
1171
|
+
}
|
|
1172
|
+
/** Update Facebook page details `PATCH /social/accounts/{account_id}/facebook/page` */
|
|
1173
|
+
updateFacebookPage(accountId, body, options) {
|
|
1174
|
+
return this._client.request("PATCH", `/social/accounts/${encodeURIComponent(accountId)}/facebook/page`, { body, options });
|
|
1175
|
+
}
|
|
1176
|
+
/** Update a YouTube playlist `PATCH /social/accounts/{account_id}/youtube/playlists/{playlist_id}` */
|
|
1177
|
+
updateYoutubePlaylist(accountId, playlistId, body, options) {
|
|
1178
|
+
return this._client.request("PATCH", `/social/accounts/${encodeURIComponent(accountId)}/youtube/playlists/${encodeURIComponent(playlistId)}`, { body, options });
|
|
1179
|
+
}
|
|
1180
|
+
/** List mentions `GET /social/accounts/{account_id}/mentions` */
|
|
1181
|
+
listMentions(accountId, query, options) {
|
|
1182
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/mentions`, { query, options });
|
|
1183
|
+
}
|
|
1184
|
+
/** Reply to a mention `POST /social/accounts/{account_id}/mentions/{mention_id}/reply` */
|
|
1185
|
+
replyToMention(accountId, mentionId, body, options) {
|
|
1186
|
+
return this._client.request("POST", `/social/accounts/${encodeURIComponent(accountId)}/mentions/${encodeURIComponent(mentionId)}/reply`, { body, options });
|
|
1187
|
+
}
|
|
1188
|
+
/** List subreddit post flairs `GET /social/accounts/{account_id}/reddit/subreddits/{subreddit}/flairs` */
|
|
1189
|
+
listRedditFlairs(accountId, subreddit, options) {
|
|
1190
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/reddit/subreddits/${encodeURIComponent(subreddit)}/flairs`, { options });
|
|
1191
|
+
}
|
|
1164
1192
|
};
|
|
1165
1193
|
var UrlsResource = class {
|
|
1166
1194
|
constructor(_client) {
|
|
@@ -1317,6 +1345,14 @@ var WhatsAppResource = class {
|
|
|
1317
1345
|
updateDisplayName(body, options) {
|
|
1318
1346
|
return this._client.request("POST", "/whatsapp/business-profile/display-name", { body, options });
|
|
1319
1347
|
}
|
|
1348
|
+
/** Browse the shared template library `GET /whatsapp/template-library` */
|
|
1349
|
+
listTemplateLibrary(query, options) {
|
|
1350
|
+
return this._client.request("GET", "/whatsapp/template-library", { query, options });
|
|
1351
|
+
}
|
|
1352
|
+
/** Adopt a library template `POST /whatsapp/templates/from-library` */
|
|
1353
|
+
createTemplateFromLibrary(body, options) {
|
|
1354
|
+
return this._client.request("POST", "/whatsapp/templates/from-library", { body, options });
|
|
1355
|
+
}
|
|
1320
1356
|
};
|
|
1321
1357
|
var WorkspacesResource = class {
|
|
1322
1358
|
constructor(_client) {
|