starta.apiclient 1.37.2618 → 1.37.2619

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.
@@ -42,7 +42,7 @@ export default class Accounts {
42
42
  referralId?: any;
43
43
  platform?: 'web' | 'ios' | 'android';
44
44
  }): Promise<import("../types").StartaResponse>;
45
- create({ email, login, password, passwordConfirm, firstName, lastName, phone, authMethod, recaptchaToken, acceptedTermsAndConditions, referralId, platform }: {
45
+ create({ email, login, password, passwordConfirm, firstName, lastName, phone, authMethod, recaptchaToken, acceptedTermsAndConditions, referralId, platform, shortSession, }: {
46
46
  email: any;
47
47
  login: any;
48
48
  password: any;
@@ -55,6 +55,7 @@ export default class Accounts {
55
55
  acceptedTermsAndConditions: any;
56
56
  referralId?: any;
57
57
  platform?: 'web' | 'ios' | 'android';
58
+ shortSession?: boolean;
58
59
  }): Promise<import("../types").StartaResponse>;
59
60
  delete(login: string): Promise<import("../types").StartaResponse>;
60
61
  changePassword(login: string, { currentPassword, newPassword }: {
@@ -91,7 +91,7 @@ class Accounts {
91
91
  },
92
92
  });
93
93
  }
94
- create({ email, login, password, passwordConfirm, firstName, lastName, phone, authMethod = 'cookie', recaptchaToken, acceptedTermsAndConditions, referralId, platform }) {
94
+ create({ email, login, password, passwordConfirm, firstName, lastName, phone, authMethod = 'cookie', recaptchaToken, acceptedTermsAndConditions, referralId, platform, shortSession, }) {
95
95
  return this._requestRunner.performRequest({
96
96
  url: `accounts`,
97
97
  method: 'POST',
@@ -108,6 +108,7 @@ class Accounts {
108
108
  acceptedTermsAndConditions,
109
109
  referralId,
110
110
  platform,
111
+ shortSession,
111
112
  },
112
113
  });
113
114
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starta.apiclient",
3
- "version": "1.37.2618",
3
+ "version": "1.37.2619",
4
4
  "main": "./lib/index.js",
5
5
  "description": "Wrapper for starta.one api",
6
6
  "author": "Collaboracia OÜ",