@smartlyqofficial/node 0.1.6 → 0.1.7
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 +20 -0
- package/dist/index.cjs +80 -0
- package/dist/index.d.cts +1208 -1
- package/dist/index.d.ts +1208 -1
- package/dist/index.js +80 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -956,6 +956,86 @@ var SocialResource = class {
|
|
|
956
956
|
xUnretweet(accountId, tweetId, options) {
|
|
957
957
|
return this._client.request("DELETE", `/social/accounts/${encodeURIComponent(accountId)}/x/retweets/${encodeURIComponent(tweetId)}`, { options });
|
|
958
958
|
}
|
|
959
|
+
/** Edit published post `POST /social/posts/{post_id}/edit` */
|
|
960
|
+
editPublishedPost(postId, body, options) {
|
|
961
|
+
return this._client.request("POST", `/social/posts/${encodeURIComponent(postId)}/edit`, { body, options });
|
|
962
|
+
}
|
|
963
|
+
/** Update YouTube metadata `POST /social/posts/{post_id}/update-metadata` */
|
|
964
|
+
updatePostMetadata(postId, body, options) {
|
|
965
|
+
return this._client.request("POST", `/social/posts/${encodeURIComponent(postId)}/update-metadata`, { body, options });
|
|
966
|
+
}
|
|
967
|
+
/** Sync external posts `POST /social/posts/sync-external` */
|
|
968
|
+
syncExternalPosts(body, options) {
|
|
969
|
+
return this._client.request("POST", "/social/posts/sync-external", { body, options });
|
|
970
|
+
}
|
|
971
|
+
/** Live account insights `GET /social/accounts/{account_id}/insights` */
|
|
972
|
+
accountInsights(accountId, options) {
|
|
973
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/insights`, { options });
|
|
974
|
+
}
|
|
975
|
+
/** List Google locations `GET /social/accounts/{account_id}/gmb/locations` */
|
|
976
|
+
gmbLocations(accountId, query, options) {
|
|
977
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/gmb/locations`, { query, options });
|
|
978
|
+
}
|
|
979
|
+
/** Get business info `GET /social/accounts/{account_id}/gmb/location` */
|
|
980
|
+
gmbLocation(accountId, query, options) {
|
|
981
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/gmb/location`, { query, options });
|
|
982
|
+
}
|
|
983
|
+
/** Update business info `PATCH /social/accounts/{account_id}/gmb/location` */
|
|
984
|
+
gmbUpdateLocation(accountId, body, options) {
|
|
985
|
+
return this._client.request("PATCH", `/social/accounts/${encodeURIComponent(accountId)}/gmb/location`, { body, options });
|
|
986
|
+
}
|
|
987
|
+
/** Get attributes `GET /social/accounts/{account_id}/gmb/attributes` */
|
|
988
|
+
gmbAttributes(accountId, options) {
|
|
989
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/gmb/attributes`, { options });
|
|
990
|
+
}
|
|
991
|
+
/** Update attributes `PUT /social/accounts/{account_id}/gmb/attributes` */
|
|
992
|
+
gmbUpdateAttributes(accountId, body, options) {
|
|
993
|
+
return this._client.request("PUT", `/social/accounts/${encodeURIComponent(accountId)}/gmb/attributes`, { body, options });
|
|
994
|
+
}
|
|
995
|
+
/** Available attributes `GET /social/accounts/{account_id}/gmb/attributes/metadata` */
|
|
996
|
+
gmbAttributeMetadata(accountId, options) {
|
|
997
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/gmb/attributes/metadata`, { options });
|
|
998
|
+
}
|
|
999
|
+
/** List media `GET /social/accounts/{account_id}/gmb/media` */
|
|
1000
|
+
gmbMedia(accountId, options) {
|
|
1001
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/gmb/media`, { options });
|
|
1002
|
+
}
|
|
1003
|
+
/** Add photo `POST /social/accounts/{account_id}/gmb/media` */
|
|
1004
|
+
gmbCreateMedia(accountId, body, options) {
|
|
1005
|
+
return this._client.request("POST", `/social/accounts/${encodeURIComponent(accountId)}/gmb/media`, { body, options });
|
|
1006
|
+
}
|
|
1007
|
+
/** Delete media `DELETE /social/accounts/{account_id}/gmb/media` */
|
|
1008
|
+
gmbDeleteMedia(accountId, body, options) {
|
|
1009
|
+
return this._client.request("DELETE", `/social/accounts/${encodeURIComponent(accountId)}/gmb/media`, { body, options });
|
|
1010
|
+
}
|
|
1011
|
+
/** Get food menus `GET /social/accounts/{account_id}/gmb/food-menus` */
|
|
1012
|
+
gmbFoodMenus(accountId, options) {
|
|
1013
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/gmb/food-menus`, { options });
|
|
1014
|
+
}
|
|
1015
|
+
/** Update food menus `PUT /social/accounts/{account_id}/gmb/food-menus` */
|
|
1016
|
+
gmbUpdateFoodMenus(accountId, body, options) {
|
|
1017
|
+
return this._client.request("PUT", `/social/accounts/${encodeURIComponent(accountId)}/gmb/food-menus`, { body, options });
|
|
1018
|
+
}
|
|
1019
|
+
/** List place-action links `GET /social/accounts/{account_id}/gmb/place-actions` */
|
|
1020
|
+
gmbPlaceActions(accountId, options) {
|
|
1021
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/gmb/place-actions`, { options });
|
|
1022
|
+
}
|
|
1023
|
+
/** Create place-action link `POST /social/accounts/{account_id}/gmb/place-actions` */
|
|
1024
|
+
gmbCreatePlaceAction(accountId, body, options) {
|
|
1025
|
+
return this._client.request("POST", `/social/accounts/${encodeURIComponent(accountId)}/gmb/place-actions`, { body, options });
|
|
1026
|
+
}
|
|
1027
|
+
/** Delete place-action link `DELETE /social/accounts/{account_id}/gmb/place-actions` */
|
|
1028
|
+
gmbDeletePlaceAction(accountId, body, options) {
|
|
1029
|
+
return this._client.request("DELETE", `/social/accounts/${encodeURIComponent(accountId)}/gmb/place-actions`, { body, options });
|
|
1030
|
+
}
|
|
1031
|
+
/** List verifications `GET /social/accounts/{account_id}/gmb/verifications` */
|
|
1032
|
+
gmbVerifications(accountId, options) {
|
|
1033
|
+
return this._client.request("GET", `/social/accounts/${encodeURIComponent(accountId)}/gmb/verifications`, { options });
|
|
1034
|
+
}
|
|
1035
|
+
/** Verification options `POST /social/accounts/{account_id}/gmb/verifications/options` */
|
|
1036
|
+
gmbVerificationOptions(accountId, body, options) {
|
|
1037
|
+
return this._client.request("POST", `/social/accounts/${encodeURIComponent(accountId)}/gmb/verifications/options`, { body, options });
|
|
1038
|
+
}
|
|
959
1039
|
};
|
|
960
1040
|
var UrlsResource = class {
|
|
961
1041
|
constructor(_client) {
|