@parra/parra-js-sdk 0.3.552 → 0.3.553

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.
@@ -5445,6 +5445,9 @@ declare class ParraAPI {
5445
5445
  getThemeById: (tenant_id: string, theme_id: string, options?: Options) => Promise<Theme>;
5446
5446
  updateThemeById: (tenant_id: string, theme_id: string, body?: UpdateThemeRequestBody, options?: Options) => Promise<Theme>;
5447
5447
  deleteThemeById: (tenant_id: string, theme_id: string, options?: Options) => Promise<Response>;
5448
+ listDesignTokensForTheme: (tenant_id: string, theme_id: string, query?: {
5449
+ type?: string;
5450
+ }, options?: Options) => Promise<Array<DesignToken>>;
5448
5451
  createShareAsset: (tenant_id: string, body: CreateShareAssetRequestBody, options?: Options) => Promise<ShareAsset>;
5449
5452
  listShareAssets: (tenant_id: string, query?: {
5450
5453
  type?: string | null;
package/dist/ParraAPI.js CHANGED
@@ -782,6 +782,10 @@ var ParraAPI = /** @class */ (function () {
782
782
  if (options === void 0) { options = {}; }
783
783
  return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/brand/themes/").concat(theme_id), method: "delete" }, options));
784
784
  };
785
+ this.listDesignTokensForTheme = function (tenant_id, theme_id, query, options) {
786
+ if (options === void 0) { options = {}; }
787
+ return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/brand/themes/").concat(theme_id, "/tokens"), method: "get", query: query }, options));
788
+ };
785
789
  this.createShareAsset = function (tenant_id, body, options) {
786
790
  if (options === void 0) { options = {}; }
787
791
  return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/brand/share-assets"), 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.552",
3
+ "version": "0.3.553",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",