starta.apiclient 1.37.2875 → 1.37.2876

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.
@@ -69,9 +69,9 @@ export default class Organizations {
69
69
  getBookingWidgetSettings(organizationLogin: any): Promise<import("../../types").StartaResponse>;
70
70
  setBookingWidgetSettings(organizationLogin: any, { enabled, bookingInterval, theme, schedulingPreference }: {
71
71
  enabled: boolean;
72
- bookingInterval: number;
73
- theme: 'dark' | 'light' | 'pink';
74
- schedulingPreference: 'stickToIntervals' | 'fillGaps';
72
+ bookingInterval?: number;
73
+ theme?: 'dark' | 'light' | 'pink';
74
+ schedulingPreference?: 'stickToIntervals' | 'fillGaps';
75
75
  }): Promise<import("../../types").StartaResponse>;
76
76
  setBookingWidgetStyles(organizationLogin: any, bookingWidgetStyles: any): Promise<import("../../types").StartaResponse>;
77
77
  getMembersSchedule(organizationLogin: any, date: any): Promise<import("../../types").StartaResponse>;
@@ -110,7 +110,7 @@ class Organizations {
110
110
  setBookingWidgetSettings(organizationLogin, { enabled, bookingInterval, theme, schedulingPreference }) {
111
111
  return this._requestRunner.performRequest({
112
112
  url: `accounts/${organizationLogin}/bookingWidget/settings`,
113
- method: 'PUT',
113
+ method: 'PATCH',
114
114
  body: { enabled, bookingInterval, theme, schedulingPreference },
115
115
  });
116
116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starta.apiclient",
3
- "version": "1.37.2875",
3
+ "version": "1.37.2876",
4
4
  "main": "./lib/index.js",
5
5
  "description": "Wrapper for starta.one api",
6
6
  "author": "Collaboracia OÜ",