starta.apiclient 1.37.3613 → 1.37.3632

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.
@@ -100,6 +100,9 @@ export default class Organizations {
100
100
  comment: string;
101
101
  type: 'system';
102
102
  }): Promise<import("../../types").StartaResponse>;
103
+ setMarketplaceCriteriaValue(organizationLogin: string, criteria: string, { approved }: {
104
+ approved: any;
105
+ }): Promise<import("../../types").StartaResponse>;
103
106
  get orders(): Orders;
104
107
  get customers(): Customers;
105
108
  get rooms(): Rooms;
@@ -215,6 +215,13 @@ class Organizations {
215
215
  body: { amount, comment, type },
216
216
  });
217
217
  }
218
+ setMarketplaceCriteriaValue(organizationLogin, criteria, { approved }) {
219
+ return this._requestRunner.performRequest({
220
+ url: `accounts/${organizationLogin}/marketplaceCriterias/${criteria}`,
221
+ method: 'PUT',
222
+ body: { approved },
223
+ });
224
+ }
218
225
  get orders() {
219
226
  return new orders_1.default(this._requestRunner);
220
227
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starta.apiclient",
3
- "version": "1.37.3613",
3
+ "version": "1.37.3632",
4
4
  "main": "./lib/index.js",
5
5
  "description": "Wrapper for starta.one api",
6
6
  "author": "Collaboracia OÜ",