@colijnit/articleapi 1.0.28 → 1.0.30

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.
@@ -667,7 +667,8 @@ export class ArticlesAuth extends IoneApiArticles {
667
667
  ioneOrderNr: request.ioneOrderNr,
668
668
  posAuping: request.posAuping,
669
669
  posName: request.posName,
670
- posEmployee: request.posEmployee
670
+ posEmployee: request.posEmployee,
671
+ orderId: request.orderId
671
672
  };
672
673
  const data = {
673
674
  moduleName: ModuleName.Articles,
@@ -22,8 +22,7 @@ export class ArticlesPublic extends IoneApiArticles {
22
22
  this._instanceId = value;
23
23
  }
24
24
  searchArticles(request, showLoader) {
25
- const params = { request: request };
26
- const data = Object.assign(Object.assign({}, this.createServiceRequestData()), { parameterValues: params });
25
+ const data = Object.assign(Object.assign({}, this.createServiceRequestData()), { parameterValues: request });
27
26
  return this._call(PublicServiceMethod.SearchArticles, data, showLoader);
28
27
  }
29
28
  searchArticlesLight(request, showLoader) {
@@ -172,6 +172,7 @@ describe("ArticlesAPI", () => {
172
172
  expect(result).toBeDefined();
173
173
  }));
174
174
  it('searchArticles', () => __awaiter(void 0, void 0, void 0, function* () {
175
+ yield articles.connect();
175
176
  const result = yield articles.searchArticles(articleExtendedRequest);
176
177
  expect(result).toBeDefined();
177
178
  }));
@@ -7,4 +7,5 @@ export declare class ExternalCatalogStartupInfoRequest extends BusinessObject {
7
7
  posAuping: string;
8
8
  posName: string;
9
9
  posEmployee: number;
10
+ orderId: string;
10
11
  }
@@ -9,4 +9,5 @@ export declare class ExternalCatalogStartupInfo extends BusinessObject {
9
9
  externalGoodId: string;
10
10
  flattenedGoodId: string;
11
11
  assetUrl: string;
12
+ orderId: string;
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/articleapi",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "scripts": {
5
5
  "build": "grunt clean && tsc",
6
6
  "browserify": "browserify build/connector.js --s colijn -o dist/out-tsc/bundle.js",