@parra/parra-js-sdk 0.3.570 → 0.3.571

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.
@@ -737,6 +737,10 @@ export interface FeaturedApplicationLink {
737
737
  title: string;
738
738
  href: string;
739
739
  }
740
+ export interface Rating {
741
+ average_rating: number;
742
+ total_ratings: number;
743
+ }
740
744
  export interface FeaturedApplication {
741
745
  id: string;
742
746
  created_at: string;
@@ -748,6 +752,7 @@ export interface FeaturedApplication {
748
752
  icon: ImageAssetStub;
749
753
  ios?: ApplicationIosConfig | null;
750
754
  link: FeaturedApplicationLink;
755
+ rating?: Rating | null;
751
756
  }
752
757
  export interface LinkUtmParameters {
753
758
  source?: string | null;
@@ -6633,6 +6638,7 @@ declare class ParraAPI {
6633
6638
  listSocialAccountsForTenant: (tenant_id: string, query?: {
6634
6639
  include?: string;
6635
6640
  }, options?: Options) => Promise<Array<SocialAccount>>;
6641
+ deleteSocialAccountById: (tenant_id: string, social_account_id: string, options?: Options) => Promise<Response>;
6636
6642
  paginateFeedsForTenant: (tenant_id: string, query?: {
6637
6643
  limit?: number;
6638
6644
  offset?: number;
package/dist/ParraAPI.js CHANGED
@@ -1479,6 +1479,10 @@ var ParraAPI = /** @class */ (function () {
1479
1479
  if (options === void 0) { options = {}; }
1480
1480
  return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/social/accounts"), method: "get", query: query }, options));
1481
1481
  };
1482
+ this.deleteSocialAccountById = function (tenant_id, social_account_id, options) {
1483
+ if (options === void 0) { options = {}; }
1484
+ return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/social/accounts/").concat(social_account_id), method: "delete" }, options));
1485
+ };
1482
1486
  this.paginateFeedsForTenant = function (tenant_id, query, options) {
1483
1487
  if (options === void 0) { options = {}; }
1484
1488
  return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/feeds"), method: "get", query: query }, options));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.570",
3
+ "version": "0.3.571",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",