@smartlyqofficial/node 0.1.8 → 0.1.9
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 +12 -0
- package/dist/index.cjs +48 -0
- package/dist/index.d.cts +645 -1
- package/dist/index.d.ts +645 -1
- package/dist/index.js +48 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -414,6 +414,18 @@ All methods below are available on the client. Full request/response documentati
|
|
|
414
414
|
| `sq.social.gmbVerificationOptions(accountId, body?)` | `POST /social/accounts/{account_id}/gmb/verifications/options` | Verification options |
|
|
415
415
|
| `sq.social.redditSubredditInfo(accountId, subreddit)` | `GET /social/accounts/{account_id}/reddit/subreddits/{subreddit}` | Subreddit info + eligibility |
|
|
416
416
|
| `sq.social.xMentions(accountId, query?)` | `GET /social/accounts/{account_id}/x/mentions` | X mentions |
|
|
417
|
+
| `sq.social.sendTypingIndicator(conversationId)` | `POST /social/conversations/{conversation_id}/typing` | Typing indicator |
|
|
418
|
+
| `sq.social.commentPrivateReply(commentId, body)` | `POST /social/comments/{comment_id}/private-reply` | Private reply (comment-to-DM) |
|
|
419
|
+
| `sq.social.getMessengerMenu(accountId)` | `GET /social/accounts/{account_id}/messenger/menu` | Get Messenger menu |
|
|
420
|
+
| `sq.social.setMessengerMenu(accountId, body)` | `PUT /social/accounts/{account_id}/messenger/menu` | Set Messenger menu |
|
|
421
|
+
| `sq.social.deleteMessengerMenu(accountId)` | `DELETE /social/accounts/{account_id}/messenger/menu` | Delete Messenger menu |
|
|
422
|
+
| `sq.social.getIceBreakers(accountId)` | `GET /social/accounts/{account_id}/instagram/ice-breakers` | Get ice breakers |
|
|
423
|
+
| `sq.social.setIceBreakers(accountId, body)` | `PUT /social/accounts/{account_id}/instagram/ice-breakers` | Set ice breakers |
|
|
424
|
+
| `sq.social.deleteIceBreakers(accountId)` | `DELETE /social/accounts/{account_id}/instagram/ice-breakers` | Delete ice breakers |
|
|
425
|
+
| `sq.social.facebookPageInsights(accountId, query?)` | `GET /social/accounts/{account_id}/facebook/page-insights` | Facebook page insights |
|
|
426
|
+
| `sq.social.instagramAudience(accountId, query?)` | `GET /social/accounts/{account_id}/instagram/audience` | Instagram audience demographics |
|
|
427
|
+
| `sq.social.connectOptions(accountId)` | `GET /social/accounts/{account_id}/connect-options` | Connection target options |
|
|
428
|
+
| `sq.social.connectSelect(accountId, body)` | `POST /social/accounts/{account_id}/connect-select` | Select connection target |
|
|
417
429
|
|
|
418
430
|
### URLs
|
|
419
431
|
|
package/dist/index.cjs
CHANGED
|
@@ -1114,6 +1114,54 @@ var SocialResource = class {
|
|
|
1114
1114
|
xMentions(accountId, query, options) {
|
|
1115
1115
|
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/x/mentions`, { query, options });
|
|
1116
1116
|
}
|
|
1117
|
+
/** Typing indicator `POST /social/conversations/{conversation_id}/typing` */
|
|
1118
|
+
sendTypingIndicator(conversationId, options) {
|
|
1119
|
+
return this._client.request("POST", `/social/conversations/${encodeURIComponent(conversationId)}/typing`, { options });
|
|
1120
|
+
}
|
|
1121
|
+
/** Private reply (comment-to-DM) `POST /social/comments/{comment_id}/private-reply` */
|
|
1122
|
+
commentPrivateReply(commentId, body, options) {
|
|
1123
|
+
return this._client.request("POST", `/social/comments/${encodeURIComponent(commentId)}/private-reply`, { body, options });
|
|
1124
|
+
}
|
|
1125
|
+
/** Get Messenger menu `GET /social/accounts/{account_id}/messenger/menu` */
|
|
1126
|
+
getMessengerMenu(accountId, options) {
|
|
1127
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/messenger/menu`, { options });
|
|
1128
|
+
}
|
|
1129
|
+
/** Set Messenger menu `PUT /social/accounts/{account_id}/messenger/menu` */
|
|
1130
|
+
setMessengerMenu(accountId, body, options) {
|
|
1131
|
+
return this._client.request("PUT", `/social/accounts/${encodeURIComponent(accountId)}/messenger/menu`, { body, options });
|
|
1132
|
+
}
|
|
1133
|
+
/** Delete Messenger menu `DELETE /social/accounts/{account_id}/messenger/menu` */
|
|
1134
|
+
deleteMessengerMenu(accountId, options) {
|
|
1135
|
+
return this._client.request("DELETE", `/social/accounts/${encodeURIComponent(accountId)}/messenger/menu`, { options });
|
|
1136
|
+
}
|
|
1137
|
+
/** Get ice breakers `GET /social/accounts/{account_id}/instagram/ice-breakers` */
|
|
1138
|
+
getIceBreakers(accountId, options) {
|
|
1139
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/instagram/ice-breakers`, { options });
|
|
1140
|
+
}
|
|
1141
|
+
/** Set ice breakers `PUT /social/accounts/{account_id}/instagram/ice-breakers` */
|
|
1142
|
+
setIceBreakers(accountId, body, options) {
|
|
1143
|
+
return this._client.request("PUT", `/social/accounts/${encodeURIComponent(accountId)}/instagram/ice-breakers`, { body, options });
|
|
1144
|
+
}
|
|
1145
|
+
/** Delete ice breakers `DELETE /social/accounts/{account_id}/instagram/ice-breakers` */
|
|
1146
|
+
deleteIceBreakers(accountId, options) {
|
|
1147
|
+
return this._client.request("DELETE", `/social/accounts/${encodeURIComponent(accountId)}/instagram/ice-breakers`, { options });
|
|
1148
|
+
}
|
|
1149
|
+
/** Facebook page insights `GET /social/accounts/{account_id}/facebook/page-insights` */
|
|
1150
|
+
facebookPageInsights(accountId, query, options) {
|
|
1151
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/facebook/page-insights`, { query, options });
|
|
1152
|
+
}
|
|
1153
|
+
/** Instagram audience demographics `GET /social/accounts/{account_id}/instagram/audience` */
|
|
1154
|
+
instagramAudience(accountId, query, options) {
|
|
1155
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/instagram/audience`, { query, options });
|
|
1156
|
+
}
|
|
1157
|
+
/** Connection target options `GET /social/accounts/{account_id}/connect-options` */
|
|
1158
|
+
connectOptions(accountId, options) {
|
|
1159
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/connect-options`, { options });
|
|
1160
|
+
}
|
|
1161
|
+
/** Select connection target `POST /social/accounts/{account_id}/connect-select` */
|
|
1162
|
+
connectSelect(accountId, body, options) {
|
|
1163
|
+
return this._client.request("POST", `/social/accounts/${encodeURIComponent(accountId)}/connect-select`, { body, options });
|
|
1164
|
+
}
|
|
1117
1165
|
};
|
|
1118
1166
|
var UrlsResource = class {
|
|
1119
1167
|
constructor(_client) {
|