@colijnit/articleapi 261.1.1 → 261.1.2
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 -0
- package/build/articles-auth.js +10 -0
- package/build/articles-public.d.ts +1 -0
- package/build/articles-public.js +5 -0
- package/build/articles.d.ts +1 -0
- package/build/articles.js +3 -0
- package/build/enum/article-method.enum.d.ts +2 -1
- package/build/enum/article-method.enum.js +1 -0
- package/build/enum/public-service-method.d.ts +2 -1
- package/build/enum/public-service-method.js +1 -0
- package/build/ione-api-articles.d.ts +1 -0
- package/build/model/article-quick-sel.d.ts +1 -0
- package/package.json +1 -1
package/build/articles-auth.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export declare class ArticlesAuth extends IoneApiArticles {
|
|
|
53
53
|
getFrozenArticle(configuratorStatistics: ConfiguratorStatisticsEnvironment, showLoader: boolean, instanceId: string): Promise<DataServiceResponseData>;
|
|
54
54
|
getJsonArticleFlatTree(goodId: number, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
55
55
|
getGeneratedArtDirectly(goodId: number, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
56
|
+
storePreset(): Promise<DataServiceResponseData>;
|
|
56
57
|
getTurnoverGroupImages(category: string, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
57
58
|
getMainArticles(articleNumber: string, description: string, paging: PagingParameters, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
58
59
|
updateLocation(updateArticleStockInfo: UpdateArticleStockInfo): Promise<DataServiceResponseData>;
|
package/build/articles-auth.js
CHANGED
|
@@ -353,6 +353,16 @@ export class ArticlesAuth extends IoneApiArticles {
|
|
|
353
353
|
};
|
|
354
354
|
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
355
355
|
}
|
|
356
|
+
storePreset() {
|
|
357
|
+
const params = {};
|
|
358
|
+
const data = {
|
|
359
|
+
methodName: ArticleMethod.StorePreset,
|
|
360
|
+
moduleName: ModuleName.Articles,
|
|
361
|
+
refCursorAsArray: true,
|
|
362
|
+
parameterValues: params
|
|
363
|
+
};
|
|
364
|
+
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
365
|
+
}
|
|
356
366
|
getTurnoverGroupImages(category, showLoader) {
|
|
357
367
|
return __awaiter(this, void 0, void 0, function* () {
|
|
358
368
|
const params = {};
|
|
@@ -54,6 +54,7 @@ export declare class ArticlesPublic extends IoneApiArticles {
|
|
|
54
54
|
getFrozenArticle(configuratorStatistics: ConfiguratorStatisticsEnvironment, showLoader: boolean, instanceId: string): Promise<DataServiceResponseData>;
|
|
55
55
|
getJsonArticleFlatTree(goodId: number, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
56
56
|
getGeneratedArtDirectly(goodId: number, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
57
|
+
storePreset(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
57
58
|
getTurnoverGroupImages(category: string, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
58
59
|
getMainArticles(articleNumber: string, description: string, paging: PagingParameters, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
59
60
|
updateLocation(updateArticleStockInfo: UpdateArticleStockInfo): Promise<DataServiceResponseData>;
|
package/build/articles-public.js
CHANGED
|
@@ -173,6 +173,11 @@ export class ArticlesPublic extends IoneApiArticles {
|
|
|
173
173
|
const data = Object.assign(Object.assign({}, this.createServiceRequestData()), { parameterValues: params });
|
|
174
174
|
return this._call(PublicServiceMethod.getGeneratedArtDirectly, data, showLoader);
|
|
175
175
|
}
|
|
176
|
+
storePreset(showLoader = false) {
|
|
177
|
+
const params = {};
|
|
178
|
+
const data = Object.assign(Object.assign({}, this.createServiceRequestData()), { parameterValues: params });
|
|
179
|
+
return this._call(PublicServiceMethod.StorePreset, data, showLoader);
|
|
180
|
+
}
|
|
176
181
|
getTurnoverGroupImages(category, showLoader) {
|
|
177
182
|
const params = {};
|
|
178
183
|
if (category) {
|
package/build/articles.d.ts
CHANGED
|
@@ -118,6 +118,7 @@ export declare class Articles {
|
|
|
118
118
|
getJsonConfiguredArticles(configuratorStatistics?: ConfiguratorStatisticsEnvironment, showLoader?: boolean, instanceId?: string): Promise<DataServiceResponseData>;
|
|
119
119
|
getJsonArticleFlatTree(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
|
|
120
120
|
getGeneratedArtDirectly(goodId: number, showLoader: boolean): Promise<string>;
|
|
121
|
+
storePreset(): Promise<DataServiceResponseData>;
|
|
121
122
|
static createConnector(isPublicSession: boolean, sessionExists: boolean): IoneApiArticles;
|
|
122
123
|
getRequestUpload(uploadType: string, fileName: string, fileSize: number, fileHash: string, uploadId?: string): Promise<DataServiceResponseData>;
|
|
123
124
|
uploadFilePart(uploadId: string, uploadType: string, partOffset: number, partSize: number, partContent: any, partHash: string): Promise<DataServiceResponseData>;
|
package/build/articles.js
CHANGED
|
@@ -47,5 +47,6 @@ export declare enum ArticleMethod {
|
|
|
47
47
|
SelectorMatchTable = "selectorMatchTabel",
|
|
48
48
|
GetAnswerTexts = "getAnswerTexts",
|
|
49
49
|
PrintPriceStickers = "printPriceStickers",
|
|
50
|
-
getGeneratedArtDirectly = "getGeneratedArtDirectly"
|
|
50
|
+
getGeneratedArtDirectly = "getGeneratedArtDirectly",
|
|
51
|
+
StorePreset = "storePreset"
|
|
51
52
|
}
|
|
@@ -49,4 +49,5 @@ export var ArticleMethod;
|
|
|
49
49
|
ArticleMethod["GetAnswerTexts"] = "getAnswerTexts";
|
|
50
50
|
ArticleMethod["PrintPriceStickers"] = "printPriceStickers";
|
|
51
51
|
ArticleMethod["getGeneratedArtDirectly"] = "getGeneratedArtDirectly";
|
|
52
|
+
ArticleMethod["StorePreset"] = "storePreset";
|
|
52
53
|
})(ArticleMethod || (ArticleMethod = {}));
|
|
@@ -87,5 +87,6 @@ export declare enum PublicServiceMethod {
|
|
|
87
87
|
getBrandsUsedInArticles = "getBrandsUsedInArticles",
|
|
88
88
|
GetCatalogDefinitions = "getCatalogDefinitions",
|
|
89
89
|
GetExternalSource = "getExternalSource",
|
|
90
|
-
getGeneratedArtDirectly = "getGeneratedArtDirectly"
|
|
90
|
+
getGeneratedArtDirectly = "getGeneratedArtDirectly",
|
|
91
|
+
StorePreset = "storePreset"
|
|
91
92
|
}
|
|
@@ -89,4 +89,5 @@ export var PublicServiceMethod;
|
|
|
89
89
|
PublicServiceMethod["GetCatalogDefinitions"] = "getCatalogDefinitions";
|
|
90
90
|
PublicServiceMethod["GetExternalSource"] = "getExternalSource";
|
|
91
91
|
PublicServiceMethod["getGeneratedArtDirectly"] = "getGeneratedArtDirectly";
|
|
92
|
+
PublicServiceMethod["StorePreset"] = "storePreset";
|
|
92
93
|
})(PublicServiceMethod || (PublicServiceMethod = {}));
|
|
@@ -108,5 +108,6 @@ export declare abstract class IoneApiArticles {
|
|
|
108
108
|
abstract getFileUploadStatus(uploadId: string, uploadType: string): Promise<DataServiceResponseData>;
|
|
109
109
|
abstract getFileUploadComplete(uploadId: string, uploadType: string): Promise<DataServiceResponseData>;
|
|
110
110
|
abstract cancelFileUpload(uploadId: string, uploadType: string): Promise<DataServiceResponseData>;
|
|
111
|
+
abstract storePreset(): Promise<DataServiceResponseData>;
|
|
111
112
|
protected endPoint: string;
|
|
112
113
|
}
|