starta.apiclient 1.112.12707 → 1.112.12732

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.
@@ -88,6 +88,10 @@ export default class Accounts {
88
88
  os: 'ios' | 'android';
89
89
  name?: string;
90
90
  }): Promise<import("../types").StartaResponse>;
91
+ setReviewFlow(login: string, platform: 'ios' | 'android', { attempted, attemptedAt }: {
92
+ attempted: boolean;
93
+ attemptedAt?: Date;
94
+ }): Promise<import("../types").StartaResponse>;
91
95
  setDeviceUISettings(login: string, deviceId: 'web' | string, { theme }: {
92
96
  theme: 'light' | 'dark' | 'system';
93
97
  }): Promise<import("../types").StartaResponse>;
@@ -184,6 +184,13 @@ class Accounts {
184
184
  body: { expoPushToken, os, name },
185
185
  });
186
186
  }
187
+ setReviewFlow(login, platform, { attempted, attemptedAt }) {
188
+ return this._requestRunner.performRequest({
189
+ url: `accounts/${login}/reviewFlow/${platform}`,
190
+ method: 'PUT',
191
+ body: { attempted, attemptedAt },
192
+ });
193
+ }
187
194
  setDeviceUISettings(login, deviceId, { theme }) {
188
195
  return this._requestRunner.performRequest({
189
196
  url: `accounts/${login}/devices/${deviceId}/ui-settings`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starta.apiclient",
3
- "version": "1.112.12707",
3
+ "version": "1.112.12732",
4
4
  "main": "./lib/index.js",
5
5
  "description": "Wrapper for starta.one api",
6
6
  "author": "Collaboracia OÜ",