starta.apiclient 1.37.6089 → 1.37.6227

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.
@@ -17,10 +17,11 @@ export default class EmailConfirmations {
17
17
  }): Promise<import("../types").StartaResponse>;
18
18
  getExchangeRate(currency: string): Promise<import("../types").StartaResponse>;
19
19
  resetIpLocks(): Promise<import("../types").StartaResponse>;
20
- resyncAccounts({ login, sectorIndex, sectorSize, }?: {
20
+ resyncAccounts({ login, sectorIndex, sectorSize, includeInactive, }?: {
21
21
  login?: string;
22
22
  sectorIndex?: number;
23
23
  sectorSize?: number;
24
+ includeInactive?: boolean;
24
25
  }): Promise<import("../types").StartaResponse>;
25
26
  confirmAccount(login: string, { email, phone }: {
26
27
  email: string;
@@ -60,12 +60,13 @@ class EmailConfirmations {
60
60
  method: 'GET',
61
61
  });
62
62
  }
63
- resyncAccounts({ login, sectorIndex, sectorSize, } = {}) {
63
+ resyncAccounts({ login, sectorIndex, sectorSize, includeInactive, } = {}) {
64
64
  return this._requestRunner.performRequest({
65
65
  url: `accounts/admin/approveAllForSearch${(0, _helpers_1.buildQuery)({
66
66
  login,
67
67
  sectorIndex,
68
68
  sectorSize,
69
+ includeInactive,
69
70
  })}`,
70
71
  method: 'GET',
71
72
  });
package/lib/types.d.ts CHANGED
@@ -96,7 +96,7 @@ export type ProductOperation = {
96
96
  comment?: string;
97
97
  };
98
98
  export type OrganizationSchedule = {
99
- name: any;
99
+ name?: string;
100
100
  location: {
101
101
  isOnline: boolean;
102
102
  description?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starta.apiclient",
3
- "version": "1.37.6089",
3
+ "version": "1.37.6227",
4
4
  "main": "./lib/index.js",
5
5
  "description": "Wrapper for starta.one api",
6
6
  "author": "Collaboracia OÜ",