@parra/parra-js-sdk 0.3.607 → 0.3.608

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.
@@ -7035,6 +7035,11 @@ declare class ParraAPI {
7035
7035
  sendCreatorUpdateForTenant: (tenant_id: string, creator_update_id: string, options?: Options) => Promise<CreatorUpdate>;
7036
7036
  scheduleCreatorUpdateForTenant: (tenant_id: string, creator_update_id: string, body: ScheduleCreatorUpdateRequestBody, options?: Options) => Promise<CreatorUpdate>;
7037
7037
  deleteAttachmentForCreatorUpdateById: (tenant_id: string, creator_update_id: string, creator_update_attachment_id: string, options?: Options) => Promise<Response>;
7038
+ listSuggestedContentForTenant: (tenant_id: string, query?: {
7039
+ limit?: number;
7040
+ offset?: number;
7041
+ context?: string;
7042
+ }, options?: Options) => Promise<Array<ContentItem>>;
7038
7043
  createSocialAccountForTenant: (tenant_id: string, body?: CreateSocialAccountRequestBody, options?: Options) => Promise<SocialAccount>;
7039
7044
  listSocialAccountsForTenant: (tenant_id: string, query?: {
7040
7045
  include?: string;
package/dist/ParraAPI.js CHANGED
@@ -1606,6 +1606,10 @@ var ParraAPI = /** @class */ (function () {
1606
1606
  if (options === void 0) { options = {}; }
1607
1607
  return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/creator/updates/").concat(creator_update_id, "/attachments/").concat(creator_update_attachment_id), method: "delete" }, options));
1608
1608
  };
1609
+ this.listSuggestedContentForTenant = function (tenant_id, query, options) {
1610
+ if (options === void 0) { options = {}; }
1611
+ return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/creator/content/suggested"), method: "get", query: query }, options));
1612
+ };
1609
1613
  this.createSocialAccountForTenant = function (tenant_id, body, options) {
1610
1614
  if (options === void 0) { options = {}; }
1611
1615
  return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/social/accounts"), method: "post", body: JSON.stringify(body), headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.607",
3
+ "version": "0.3.608",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",