starta.apiclient 1.37.1817 → 1.37.1828

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.
@@ -61,8 +61,9 @@ export default class Organizations {
61
61
  getMembersSchedule(organizationLogin: any, date: any): Promise<import("../../types").StartaResponse>;
62
62
  getSingleMemberSchedule(organizationLogin: any, member: any, from: any, to: any): Promise<import("../../types").StartaResponse>;
63
63
  updateRoles(organizationLogin: any, roles: any): Promise<import("../../types").StartaResponse>;
64
- setLicense(organizationLogin: any, { period }: {
64
+ setLicense(organizationLogin: any, { period, returnUrl }: {
65
65
  period: 'monthly' | 'yearly';
66
+ returnUrl?: string;
66
67
  }): Promise<import("../../types").StartaResponse>;
67
68
  setApprovedForSearch(organizationLogin: any, { isApproved }: {
68
69
  isApproved: any;
@@ -142,11 +142,11 @@ var Organizations = /** @class */ (function () {
142
142
  });
143
143
  };
144
144
  Organizations.prototype.setLicense = function (organizationLogin, _a) {
145
- var period = _a.period;
145
+ var period = _a.period, returnUrl = _a.returnUrl;
146
146
  return this._requestRunner.performRequest({
147
147
  url: "accounts/".concat(organizationLogin, "/license"),
148
148
  method: 'PUT',
149
- body: { period: period },
149
+ body: { period: period, returnUrl: returnUrl },
150
150
  });
151
151
  };
152
152
  Organizations.prototype.setApprovedForSearch = function (organizationLogin, _a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starta.apiclient",
3
- "version": "1.37.1817",
3
+ "version": "1.37.1828",
4
4
  "main": "./lib/index.js",
5
5
  "description": "Wrapper for starta.one api",
6
6
  "author": "Collaboracia OÜ",