pim-import 2.82.2 → 2.82.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.
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +7 -1
- package/types/index.d.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.reindexModels = exports.reindexModel = exports.removeSubModelObject = exports.reindexSubModels = exports.reindexSubModel = exports.removeProductObject = exports.reindexProducts = exports.reindexProduct = exports.removeSubFamilyObject = exports.reindexSubFamily = exports.reindexSubFamilies = exports.pipedreamReindex = exports.removeFamilyObject = exports.reindexFamily = exports.reindexFamilies = exports.resetIndexSettings = exports.removeAllProductModelProductRelations = exports.removeProductFromColorVariantsByProductLine = exports.setProductAutodescriptionByTopicId = exports.getProductAutodescription = exports.setProductsAutodescription = exports.generateTechSpecPdf = exports.audit = exports.getAllProductEntriesByCatalog = exports.setProductRelationships = exports.setProductsRelationships = exports.importProductByCode = exports.importFamilies = exports.importSubFamilies = exports.importSubModels = exports.importModels = exports.dailyProductsUpdate = exports.importLatestProducts = exports.importCategories = exports.importDictionaryProductSubLine = exports.importDictionaryProductLine = exports.importDictionaryIcons = exports.importDictionaryFields = exports.savePDFToS3 = exports.getFileFromS3 = exports.saveJsonToS3 = exports.uploadS3 = exports.initS3 = exports.getTopicPage = exports.getEntryByID = exports.deleteEntries = exports.deletePages = exports.initBaseEntries = exports.initContentful = exports.initPim = void 0;
|
|
4
|
-
exports.generatePDFByUrl = exports.removeRecordsByStatus = exports.setLogFilename = exports.setLogPath = exports.setLogId = exports.log = exports.getStaticDailyProducts = exports.getLocalISOTime = exports.importDownloads = exports.removePostObject = exports.reindexPosts = exports.reindexPost = exports.removePressReleaseObject = exports.reindexPressReleases = exports.reindexPressRelease = exports.removePressReviewObject = exports.reindexPressReviews = exports.reindexPressReview = exports.removeStoryObject = exports.reindexStories = exports.reindexStory = exports.removeProjectObject = exports.reindexProjects = exports.reindexProject = exports.removeDownloadObject = exports.reindexDownloads = exports.reindexDownload = exports.removeModelObject = void 0;
|
|
4
|
+
exports.generatePDFByUrl = exports.removeRecordsByStatus = exports.getLogFolder = exports.setLogFilename = exports.setLogPath = exports.setLogId = exports.log = exports.getStaticDailyProducts = exports.getLocalISOTime = exports.importDownloads = exports.removePostObject = exports.reindexPosts = exports.reindexPost = exports.removePressReleaseObject = exports.reindexPressReleases = exports.reindexPressRelease = exports.removePressReviewObject = exports.reindexPressReviews = exports.reindexPressReview = exports.removeStoryObject = exports.reindexStories = exports.reindexStory = exports.removeProjectObject = exports.reindexProjects = exports.reindexProject = exports.removeDownloadObject = exports.reindexDownloads = exports.reindexDownload = exports.removeModelObject = void 0;
|
|
5
5
|
var config_1 = require("./pim/config");
|
|
6
6
|
Object.defineProperty(exports, "initPim", { enumerable: true, get: function () { return config_1.init; } });
|
|
7
7
|
var contentful_1 = require("./libs/contentful");
|
|
@@ -107,6 +107,7 @@ Object.defineProperty(exports, "log", { enumerable: true, get: function () { ret
|
|
|
107
107
|
Object.defineProperty(exports, "setLogId", { enumerable: true, get: function () { return logs_1.setLogId; } });
|
|
108
108
|
Object.defineProperty(exports, "setLogPath", { enumerable: true, get: function () { return logs_1.setLogPath; } });
|
|
109
109
|
Object.defineProperty(exports, "setLogFilename", { enumerable: true, get: function () { return logs_1.setLogFilename; } });
|
|
110
|
+
Object.defineProperty(exports, "getLogFolder", { enumerable: true, get: function () { return logs_1.getLogFolder; } });
|
|
110
111
|
var clean_1 = require("./algolia/clean");
|
|
111
112
|
Object.defineProperty(exports, "removeRecordsByStatus", { enumerable: true, get: function () { return clean_1.removeRecordsByStatus; } });
|
|
112
113
|
var puppeteer_1 = require("./libs/puppeteer");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceR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Ac,OAAA;AACd,oGAAA,YAAY,OAAA;AAEd,yCAAwD;AAA/C,8GAAA,qBAAqB,OAAA;AAC9B,8CAAoD;AAA3C,6GAAA,gBAAgB,OAAA"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -112,6 +112,12 @@ export { reindexPost, reindexPosts, removePostObject } from "./algolia/news";
|
|
|
112
112
|
export { importDownloads } from "./downloads/import";
|
|
113
113
|
export { getLocalISOTime } from "./utils";
|
|
114
114
|
export { getStaticDailyProducts } from "./pim/endpoints";
|
|
115
|
-
export {
|
|
115
|
+
export {
|
|
116
|
+
log,
|
|
117
|
+
setLogId,
|
|
118
|
+
setLogPath,
|
|
119
|
+
setLogFilename,
|
|
120
|
+
getLogFolder,
|
|
121
|
+
} from "./libs/logs";
|
|
116
122
|
export { removeRecordsByStatus } from "./algolia/clean";
|
|
117
123
|
export { generatePDFByUrl } from "./libs/puppeteer";
|
package/types/index.d.ts
CHANGED
|
@@ -26,6 +26,6 @@ export { reindexPost, reindexPosts, removePostObject } from "./algolia/news";
|
|
|
26
26
|
export { importDownloads } from "./downloads/import";
|
|
27
27
|
export { getLocalISOTime } from "./utils";
|
|
28
28
|
export { getStaticDailyProducts } from "./pim/endpoints";
|
|
29
|
-
export { log, setLogId, setLogPath, setLogFilename } from "./libs/logs";
|
|
29
|
+
export { log, setLogId, setLogPath, setLogFilename, getLogFolder, } from "./libs/logs";
|
|
30
30
|
export { removeRecordsByStatus } from "./algolia/clean";
|
|
31
31
|
export { generatePDFByUrl } from "./libs/puppeteer";
|