@colijnit/articleapi 258.1.2 → 258.1.3

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.
@@ -50,7 +50,7 @@ export declare class ArticlesAuth extends IoneApiArticles {
50
50
  getArticleFullObject(id: number, showLoader?: boolean): Promise<DataServiceResponseData>;
51
51
  getArticleFlat(sku: string): Promise<DataServiceResponseData>;
52
52
  getWarehouses(goodId: number): Promise<DataServiceResponseData>;
53
- getFrozenArticle(configuratorStatistics: ConfiguratorStatisticsEnvironment, showLoader: boolean, instanceId: number): Promise<DataServiceResponseData>;
53
+ getFrozenArticle(configuratorStatistics: ConfiguratorStatisticsEnvironment, showLoader: boolean, instanceId: string): Promise<DataServiceResponseData>;
54
54
  getJsonArticleFlatTree(goodId: number, showLoader: boolean): Promise<DataServiceResponseData>;
55
55
  getTurnoverGroupImages(category: string, showLoader: boolean): Promise<DataServiceResponseData>;
56
56
  getMainArticles(articleNumber: string, description: string, paging: PagingParameters, showLoader?: boolean): Promise<DataServiceResponseData>;
@@ -51,7 +51,7 @@ export declare class ArticlesPublic extends IoneApiArticles {
51
51
  getArticleFullObject(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
52
52
  getArticleFlat(sku: string): Promise<DataServiceResponseData>;
53
53
  getWarehouses(goodId: number): Promise<DataServiceResponseData>;
54
- getFrozenArticle(configuratorStatistics: ConfiguratorStatisticsEnvironment, showLoader: boolean, instanceId: number): Promise<DataServiceResponseData>;
54
+ getFrozenArticle(configuratorStatistics: ConfiguratorStatisticsEnvironment, showLoader: boolean, instanceId: string): Promise<DataServiceResponseData>;
55
55
  getJsonArticleFlatTree(goodId: number, showLoader: boolean): Promise<DataServiceResponseData>;
56
56
  getTurnoverGroupImages(category: string, showLoader: boolean): Promise<DataServiceResponseData>;
57
57
  getMainArticles(articleNumber: string, description: string, paging: PagingParameters, showLoader?: boolean): Promise<DataServiceResponseData>;
@@ -113,8 +113,8 @@ export declare class Articles {
113
113
  getArticleListWithBarcodeArticleNrEanCode(searchString: string, showLoader?: boolean): Promise<DataServiceResponseData>;
114
114
  getCategoryTypes(): Promise<DataServiceResponseData>;
115
115
  getCategoryDesigns(): Promise<DataServiceResponseData>;
116
- getJsonConfiguredArticles(configuratorStatistics?: ConfiguratorStatisticsEnvironment, showLoader?: boolean, instanceId?: number): Promise<DataServiceResponseData>;
117
- getJsonArticleFlatTree(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: number, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
116
+ getJsonConfiguredArticles(configuratorStatistics?: ConfiguratorStatisticsEnvironment, showLoader?: boolean, instanceId?: string): Promise<DataServiceResponseData>;
117
+ getJsonArticleFlatTree(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
118
118
  static createConnector(isPublicSession: boolean, sessionExists: boolean): IoneApiArticles;
119
119
  getRequestUpload(uploadType: string, fileName: string, fileSize: number, fileHash: string, uploadId?: string): Promise<DataServiceResponseData>;
120
120
  uploadFilePart(uploadId: string, uploadType: string, partOffset: number, partSize: number, partContent: any, partHash: string): Promise<DataServiceResponseData>;
@@ -56,7 +56,7 @@ export declare abstract class IoneApiArticles {
56
56
  abstract getArticleFullObject(id: number, showLoader: boolean): Promise<DataServiceResponseData>;
57
57
  abstract getArticleFlat(sku: string): Promise<DataServiceResponseData>;
58
58
  abstract getWarehouses(goodId: number): Promise<DataServiceResponseData>;
59
- abstract getFrozenArticle(configuratorStatistics: ConfiguratorStatisticsEnvironment, showLoader: boolean, instanceId: number): Promise<DataServiceResponseData>;
59
+ abstract getFrozenArticle(configuratorStatistics: ConfiguratorStatisticsEnvironment, showLoader: boolean, instanceId: string): Promise<DataServiceResponseData>;
60
60
  abstract getJsonArticleFlatTree(goodId: number, showLoader: boolean): Promise<DataServiceResponseData>;
61
61
  abstract getTurnoverGroupImages(category: string, showLoader: boolean): Promise<DataServiceResponseData>;
62
62
  abstract getMainArticles(articleNumber: string, description: string, paging: PagingParameters): Promise<DataServiceResponseData>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/articleapi",
3
- "version": "258.1.2",
3
+ "version": "258.1.3",
4
4
  "scripts": {
5
5
  "build": "grunt clean && tsc",
6
6
  "browserify": "browserify build/connector.js --s colijn -o dist/out-tsc/bundle.js",
@@ -1,9 +0,0 @@
1
- export declare enum ExternalSourceGroup {
2
- Catalog = "CATALOG",
3
- Financial = "FINANCIAL",
4
- LogisticServiceProviders = "LOGISTIC_SERVICE_PROVIDERS",
5
- PaymentServiceProvider = "PAYMENT_SERVICE_PROVIDER",
6
- Verzuim = "VERZUIM",
7
- Deprecated = "DEPRECATED",
8
- None = "NONE"
9
- }
@@ -1,10 +0,0 @@
1
- export var ExternalSourceGroup;
2
- (function (ExternalSourceGroup) {
3
- ExternalSourceGroup["Catalog"] = "CATALOG";
4
- ExternalSourceGroup["Financial"] = "FINANCIAL";
5
- ExternalSourceGroup["LogisticServiceProviders"] = "LOGISTIC_SERVICE_PROVIDERS";
6
- ExternalSourceGroup["PaymentServiceProvider"] = "PAYMENT_SERVICE_PROVIDER";
7
- ExternalSourceGroup["Verzuim"] = "VERZUIM";
8
- ExternalSourceGroup["Deprecated"] = "DEPRECATED";
9
- ExternalSourceGroup["None"] = "NONE";
10
- })(ExternalSourceGroup || (ExternalSourceGroup = {}));