@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.
package/build/articles-auth.js
CHANGED
|
@@ -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,
|
package/build/articles-public.js
CHANGED
|
@@ -22,8 +22,7 @@ export class ArticlesPublic extends IoneApiArticles {
|
|
|
22
22
|
this._instanceId = value;
|
|
23
23
|
}
|
|
24
24
|
searchArticles(request, showLoader) {
|
|
25
|
-
const
|
|
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
|
}));
|