@colijnit/articleapi 256.1.8 → 256.1.10
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.d.ts +1 -1
- package/build/articles-auth.js +3 -1
- package/build/articles-public.d.ts +1 -1
- package/build/articles-public.js +3 -1
- package/build/articles.d.ts +1 -1
- package/build/articles.js +2 -2
- package/build/ione-api-articles.d.ts +1 -1
- package/build/model/article-extended-request.d.ts +1 -0
- package/package.json +1 -1
package/build/articles-auth.d.ts
CHANGED
|
@@ -64,7 +64,7 @@ export declare class ArticlesAuth extends IoneApiArticles {
|
|
|
64
64
|
getArticleStockInformation(goodId: number): Promise<DataServiceResponseData>;
|
|
65
65
|
getArticlePrice(request: GetArticlePriceRequest): Promise<DataServiceResponseData>;
|
|
66
66
|
getGoodIdFromArticleNr(sku: string): Promise<DataServiceResponseData>;
|
|
67
|
-
getArticleQuickSel(goodId: number, branch: string): Promise<DataServiceResponseData>;
|
|
67
|
+
getArticleQuickSel(goodId: number, branch: string, includeBody?: boolean, includeThumbnail?: boolean): Promise<DataServiceResponseData>;
|
|
68
68
|
getSuperArticleQuickSel(id: string, branch: string): Promise<DataServiceResponseData>;
|
|
69
69
|
getSingleImage(nodeId: number | string, publication?: number, includeMimetype?: boolean, thumb?: boolean): Promise<DataServiceResponseData>;
|
|
70
70
|
getDocumentContent(id: number, thumbnail?: boolean): Promise<DataServiceResponseData>;
|
package/build/articles-auth.js
CHANGED
|
@@ -505,11 +505,13 @@ export class ArticlesAuth extends IoneApiArticles {
|
|
|
505
505
|
return resolve(this._call(DataServiceMethod.ExecuteMethod, data));
|
|
506
506
|
});
|
|
507
507
|
}
|
|
508
|
-
getArticleQuickSel(goodId, branch) {
|
|
508
|
+
getArticleQuickSel(goodId, branch, includeBody = true, includeThumbnail = false) {
|
|
509
509
|
const params = { goodId: goodId + "" };
|
|
510
510
|
if (this.branchNr !== undefined && this.branchNr !== "") {
|
|
511
511
|
params.branchNr = this.branchNr;
|
|
512
512
|
}
|
|
513
|
+
params.includeBody = includeBody ? 'T' : 'F';
|
|
514
|
+
params.includeThumbnail = includeThumbnail ? 'T' : 'F';
|
|
513
515
|
const data = {
|
|
514
516
|
methodName: ArticleMethod.ArticleQuickSel,
|
|
515
517
|
moduleName: ModuleName.Articles,
|
|
@@ -89,7 +89,7 @@ export declare class ArticlesPublic extends IoneApiArticles {
|
|
|
89
89
|
getDeliveryPrognosis(goodId: number, branchNr?: string): Promise<DataServiceResponseData>;
|
|
90
90
|
getSelectorDeliveryDate(branchNr?: string): Promise<any>;
|
|
91
91
|
getDeliveryDate2(goodId: number, branchNr?: string): Promise<any>;
|
|
92
|
-
getArticleQuickSel(goodId: number, branch: string): Promise<DataServiceResponseData>;
|
|
92
|
+
getArticleQuickSel(goodId: number, branch: string, includeBody?: boolean, includeThumbnail?: boolean): Promise<DataServiceResponseData>;
|
|
93
93
|
getSuperArticleQuickSel(id: string, branch: string): Promise<DataServiceResponseData>;
|
|
94
94
|
getWebviewStartupInfo(): Promise<DataServiceResponseData>;
|
|
95
95
|
storeCatFarmCompositionArticle(): Promise<DataServiceResponseData>;
|
package/build/articles-public.js
CHANGED
|
@@ -372,11 +372,13 @@ export class ArticlesPublic extends IoneApiArticles {
|
|
|
372
372
|
return this._call(PublicServiceMethod.GetDeliveryDate2, data);
|
|
373
373
|
});
|
|
374
374
|
}
|
|
375
|
-
getArticleQuickSel(goodId, branch) {
|
|
375
|
+
getArticleQuickSel(goodId, branch, includeBody = true, includeThumbnail = false) {
|
|
376
376
|
const params = { goodId: goodId };
|
|
377
377
|
if (branch) {
|
|
378
378
|
params.branchNr = branch;
|
|
379
379
|
}
|
|
380
|
+
params.includeBody = includeBody ? 'T' : 'F';
|
|
381
|
+
params.includeThumbnail = includeThumbnail ? 'T' : 'F';
|
|
380
382
|
const data = Object.assign(Object.assign({}, this.createServiceRequestData()), { parameterValues: params });
|
|
381
383
|
return this._call(PublicServiceMethod.ArticleQuickSel, data);
|
|
382
384
|
}
|
package/build/articles.d.ts
CHANGED
|
@@ -85,7 +85,7 @@ export declare class Articles {
|
|
|
85
85
|
getGoodIdFromArticleNr(skuOrId: string): Promise<DataServiceResponseData>;
|
|
86
86
|
getSingleImage(nodeId: number | string, publication: number, includeMimetype: boolean, thumb: boolean): Promise<DataServiceResponseData>;
|
|
87
87
|
getDocumentContent(id: number, thumbnail?: boolean): Promise<DataServiceResponseData>;
|
|
88
|
-
getArticleQuickSel(goodId: number, branch: string): Promise<DataServiceResponseData>;
|
|
88
|
+
getArticleQuickSel(goodId: number, branch: string, includeBody?: boolean, includeThumbnail?: boolean): Promise<DataServiceResponseData>;
|
|
89
89
|
getSuperArticleQuickSel(id: string, branch: string): Promise<DataServiceResponseData>;
|
|
90
90
|
commit(): Promise<DataServiceResponseData>;
|
|
91
91
|
getInOutCollection(languageCode: string): Promise<DataServiceResponseData>;
|
package/build/articles.js
CHANGED
|
@@ -176,8 +176,8 @@ export class Articles {
|
|
|
176
176
|
getDocumentContent(id, thumbnail = true) {
|
|
177
177
|
return this.articles.getDocumentContent(id, thumbnail);
|
|
178
178
|
}
|
|
179
|
-
getArticleQuickSel(goodId, branch) {
|
|
180
|
-
return this.articles.getArticleQuickSel(goodId, branch);
|
|
179
|
+
getArticleQuickSel(goodId, branch, includeBody = true, includeThumbnail = false) {
|
|
180
|
+
return this.articles.getArticleQuickSel(goodId, branch, includeBody, includeThumbnail);
|
|
181
181
|
}
|
|
182
182
|
getSuperArticleQuickSel(id, branch) {
|
|
183
183
|
return this.articles.getSuperArticleQuickSel(id, branch);
|
|
@@ -89,7 +89,7 @@ export declare abstract class IoneApiArticles {
|
|
|
89
89
|
abstract getDeliveryPrognosis(goodId: number, branchNr: string): Promise<DataServiceResponseData>;
|
|
90
90
|
abstract getSelectorDeliveryDate(): Promise<DataServiceResponseData>;
|
|
91
91
|
abstract getDeliveryDate2(goodId: number): Promise<DataServiceResponseData>;
|
|
92
|
-
abstract getArticleQuickSel(goodId: number, branch: string): Promise<DataServiceResponseData>;
|
|
92
|
+
abstract getArticleQuickSel(goodId: number, branch: string, includeBody: boolean, includeThumbnail: boolean): Promise<DataServiceResponseData>;
|
|
93
93
|
abstract getSuperArticleQuickSel(id: string, branch: string): Promise<DataServiceResponseData>;
|
|
94
94
|
abstract getPrintStockStickers(request: PrintStockStickers): Promise<DataServiceResponseData>;
|
|
95
95
|
abstract printPriceStickers(request: PrintPriceStickersRequest): Promise<DataServiceResponseData>;
|