starta.apiclient 1.37.2691 → 1.37.2693

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.
@@ -71,7 +71,7 @@ export default class Organizations {
71
71
  getMembersSchedule(organizationLogin: any, date: any): Promise<import("../../types").StartaResponse>;
72
72
  getSingleMemberSchedule(organizationLogin: any, member: any, from: any, to: any): Promise<import("../../types").StartaResponse>;
73
73
  updateRoles(organizationLogin: any, roles: any): Promise<import("../../types").StartaResponse>;
74
- setLicense(organizationLogin: any, { period, returnUrl }: {
74
+ setLicense(organizationLogin: string, { period, returnUrl }?: {
75
75
  period?: 'monthly' | 'yearly';
76
76
  returnUrl?: string;
77
77
  }): Promise<import("../../types").StartaResponse>;
@@ -140,7 +140,7 @@ class Organizations {
140
140
  body: { roles },
141
141
  });
142
142
  }
143
- setLicense(organizationLogin, { period, returnUrl }) {
143
+ setLicense(organizationLogin, { period, returnUrl } = {}) {
144
144
  return this._requestRunner.performRequest({
145
145
  url: `accounts/${organizationLogin}/license`,
146
146
  method: 'PUT',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starta.apiclient",
3
- "version": "1.37.2691",
3
+ "version": "1.37.2693",
4
4
  "main": "./lib/index.js",
5
5
  "description": "Wrapper for starta.one api",
6
6
  "author": "Collaboracia OÜ",