starta.apiclient 1.34.805 → 1.34.837

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.
@@ -48,7 +48,8 @@ export default class Accounts {
48
48
  getKeys(login: string): Promise<import("../types").StartaResponse>;
49
49
  getAllKeys(): Promise<import("../types").StartaResponse>;
50
50
  getAddressSuggestions(login: string, term: any): Promise<import("../types").StartaResponse>;
51
- orders(login: string, { from, to, status, product: { type, id, executor } }: {
51
+ orders(login: string, { organizationLogin, from, to, status, product: { type, id, executor } }: {
52
+ organizationLogin: any;
52
53
  from: any;
53
54
  to: any;
54
55
  status: any;
@@ -146,9 +146,10 @@ var Accounts = /** @class */ (function () {
146
146
  });
147
147
  };
148
148
  Accounts.prototype.orders = function (login, _a) {
149
- var from = _a.from, to = _a.to, status = _a.status, _b = _a.product, _c = _b === void 0 ? { type: undefined, id: undefined, executor: undefined } : _b, type = _c.type, id = _c.id, executor = _c.executor;
149
+ var organizationLogin = _a.organizationLogin, from = _a.from, to = _a.to, status = _a.status, _b = _a.product, _c = _b === void 0 ? { type: undefined, id: undefined, executor: undefined } : _b, type = _c.type, id = _c.id, executor = _c.executor;
150
150
  return this._requestRunner.performRequest({
151
151
  url: "accounts/".concat(login, "/orders").concat((0, _helpers_1.buildQuery)({
152
+ organizationLogin: organizationLogin,
152
153
  from: from,
153
154
  to: to,
154
155
  status: status,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starta.apiclient",
3
- "version": "1.34.805",
3
+ "version": "1.34.837",
4
4
  "main": "./lib/index.js",
5
5
  "description": "Wrapper for starta.one api",
6
6
  "author": "Collaboracia OÜ",