@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/dist/index.js
CHANGED
|
@@ -1056,6 +1056,54 @@ var SocialResource = class {
|
|
|
1056
1056
|
xMentions(accountId, query, options) {
|
|
1057
1057
|
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/x/mentions`, { query, options });
|
|
1058
1058
|
}
|
|
1059
|
+
/** Typing indicator `POST /social/conversations/{conversation_id}/typing` */
|
|
1060
|
+
sendTypingIndicator(conversationId, options) {
|
|
1061
|
+
return this._client.request("POST", `/social/conversations/${encodeURIComponent(conversationId)}/typing`, { options });
|
|
1062
|
+
}
|
|
1063
|
+
/** Private reply (comment-to-DM) `POST /social/comments/{comment_id}/private-reply` */
|
|
1064
|
+
commentPrivateReply(commentId, body, options) {
|
|
1065
|
+
return this._client.request("POST", `/social/comments/${encodeURIComponent(commentId)}/private-reply`, { body, options });
|
|
1066
|
+
}
|
|
1067
|
+
/** Get Messenger menu `GET /social/accounts/{account_id}/messenger/menu` */
|
|
1068
|
+
getMessengerMenu(accountId, options) {
|
|
1069
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/messenger/menu`, { options });
|
|
1070
|
+
}
|
|
1071
|
+
/** Set Messenger menu `PUT /social/accounts/{account_id}/messenger/menu` */
|
|
1072
|
+
setMessengerMenu(accountId, body, options) {
|
|
1073
|
+
return this._client.request("PUT", `/social/accounts/${encodeURIComponent(accountId)}/messenger/menu`, { body, options });
|
|
1074
|
+
}
|
|
1075
|
+
/** Delete Messenger menu `DELETE /social/accounts/{account_id}/messenger/menu` */
|
|
1076
|
+
deleteMessengerMenu(accountId, options) {
|
|
1077
|
+
return this._client.request("DELETE", `/social/accounts/${encodeURIComponent(accountId)}/messenger/menu`, { options });
|
|
1078
|
+
}
|
|
1079
|
+
/** Get ice breakers `GET /social/accounts/{account_id}/instagram/ice-breakers` */
|
|
1080
|
+
getIceBreakers(accountId, options) {
|
|
1081
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/instagram/ice-breakers`, { options });
|
|
1082
|
+
}
|
|
1083
|
+
/** Set ice breakers `PUT /social/accounts/{account_id}/instagram/ice-breakers` */
|
|
1084
|
+
setIceBreakers(accountId, body, options) {
|
|
1085
|
+
return this._client.request("PUT", `/social/accounts/${encodeURIComponent(accountId)}/instagram/ice-breakers`, { body, options });
|
|
1086
|
+
}
|
|
1087
|
+
/** Delete ice breakers `DELETE /social/accounts/{account_id}/instagram/ice-breakers` */
|
|
1088
|
+
deleteIceBreakers(accountId, options) {
|
|
1089
|
+
return this._client.request("DELETE", `/social/accounts/${encodeURIComponent(accountId)}/instagram/ice-breakers`, { options });
|
|
1090
|
+
}
|
|
1091
|
+
/** Facebook page insights `GET /social/accounts/{account_id}/facebook/page-insights` */
|
|
1092
|
+
facebookPageInsights(accountId, query, options) {
|
|
1093
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/facebook/page-insights`, { query, options });
|
|
1094
|
+
}
|
|
1095
|
+
/** Instagram audience demographics `GET /social/accounts/{account_id}/instagram/audience` */
|
|
1096
|
+
instagramAudience(accountId, query, options) {
|
|
1097
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/instagram/audience`, { query, options });
|
|
1098
|
+
}
|
|
1099
|
+
/** Connection target options `GET /social/accounts/{account_id}/connect-options` */
|
|
1100
|
+
connectOptions(accountId, options) {
|
|
1101
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/connect-options`, { options });
|
|
1102
|
+
}
|
|
1103
|
+
/** Select connection target `POST /social/accounts/{account_id}/connect-select` */
|
|
1104
|
+
connectSelect(accountId, body, options) {
|
|
1105
|
+
return this._client.request("POST", `/social/accounts/${encodeURIComponent(accountId)}/connect-select`, { body, options });
|
|
1106
|
+
}
|
|
1059
1107
|
};
|
|
1060
1108
|
var UrlsResource = class {
|
|
1061
1109
|
constructor(_client) {
|