@softwear/latestcollectioncore 1.0.53 → 1.0.55

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/consts.d.ts CHANGED
@@ -1,2 +1,34 @@
1
1
  declare const MAPPING_CATEGORIES: readonly ["ERM", "ColorCode", "ColorDescription", "Collection", "ProductGroup", "Size", "SubSize", "CustomSize", "Gender"];
2
- export { MAPPING_CATEGORIES };
2
+ declare const SUBSCRIPTION_LIMITS: {
3
+ data_only: {
4
+ maxBarcodes: number;
5
+ maxDownloadBarcodes: number;
6
+ maxCustomers: number;
7
+ };
8
+ starter: {
9
+ maxBarcodes: number;
10
+ maxDownloadBarcodes: number;
11
+ maxCustomers: number;
12
+ };
13
+ small: {
14
+ maxBarcodes: number;
15
+ maxDownloadBarcodes: number;
16
+ maxCustomers: number;
17
+ };
18
+ medium: {
19
+ maxBarcodes: number;
20
+ maxDownloadBarcodes: number;
21
+ maxCustomers: number;
22
+ };
23
+ large: {
24
+ maxBarcodes: number;
25
+ maxDownloadBarcodes: number;
26
+ maxCustomers: number;
27
+ };
28
+ x_large: {
29
+ maxBarcodes: number;
30
+ maxDownloadBarcodes: number;
31
+ maxCustomers: number;
32
+ };
33
+ };
34
+ export { MAPPING_CATEGORIES, SUBSCRIPTION_LIMITS };
package/dist/consts.js CHANGED
@@ -1,5 +1,38 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MAPPING_CATEGORIES = void 0;
4
- const MAPPING_CATEGORIES = ["ERM", "ColorCode", "ColorDescription", "Collection", "ProductGroup", "Size", "SubSize", "CustomSize", "Gender"];
3
+ exports.SUBSCRIPTION_LIMITS = exports.MAPPING_CATEGORIES = void 0;
4
+ const MAPPING_CATEGORIES = ['ERM', 'ColorCode', 'ColorDescription', 'Collection', 'ProductGroup', 'Size', 'SubSize', 'CustomSize', 'Gender'];
5
5
  exports.MAPPING_CATEGORIES = MAPPING_CATEGORIES;
6
+ const SUBSCRIPTION_LIMITS = {
7
+ data_only: {
8
+ maxBarcodes: 1000,
9
+ maxDownloadBarcodes: 1000,
10
+ maxCustomers: 0,
11
+ },
12
+ starter: {
13
+ maxBarcodes: 1000,
14
+ maxDownloadBarcodes: 1000,
15
+ maxCustomers: 0,
16
+ },
17
+ small: {
18
+ maxBarcodes: 25000,
19
+ maxDownloadBarcodes: 2000,
20
+ maxCustomers: 1000,
21
+ },
22
+ medium: {
23
+ maxBarcodes: 100000,
24
+ maxDownloadBarcodes: 5000,
25
+ maxCustomers: 50000,
26
+ },
27
+ large: {
28
+ maxBarcodes: 250000,
29
+ maxDownloadBarcodes: 10000,
30
+ maxCustomers: 10000,
31
+ },
32
+ x_large: {
33
+ maxBarcodes: 250000,
34
+ maxDownloadBarcodes: 10000,
35
+ maxCustomers: 10000,
36
+ },
37
+ };
38
+ exports.SUBSCRIPTION_LIMITS = SUBSCRIPTION_LIMITS;
package/dist/types.d.ts CHANGED
@@ -1,3 +1,11 @@
1
+ declare enum subscriptionE {
2
+ DATA_ONLY = "data_only",
3
+ STARTER = "starter",
4
+ SMALL = "small",
5
+ MEDIUM = "medium",
6
+ LARGE = "large",
7
+ X_LARGE = "x_large"
8
+ }
1
9
  declare enum vatCategoryE {
2
10
  LOW = "low",
3
11
  HIGH = "high",
@@ -211,4 +219,4 @@ declare enum mappingStrategyE {
211
219
  CLEAN = "clean",
212
220
  MARK = "markMissingMapping"
213
221
  }
214
- export { RowI, StockTransferSelectionI, MarkedSkuI, vatCategoryE, tagTypeE, SkuI, GroupI, ProductI, ImageI, AttributeI, ColorI, MatrixI, StockTransferDataI, StockTransferMatrixI, BrandSettingI, mappingStrategyE, };
222
+ export { RowI, StockTransferSelectionI, MarkedSkuI, vatCategoryE, tagTypeE, SkuI, GroupI, ProductI, ImageI, AttributeI, ColorI, MatrixI, StockTransferDataI, StockTransferMatrixI, BrandSettingI, mappingStrategyE, subscriptionE, };
package/dist/types.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.mappingStrategyE = exports.tagTypeE = exports.vatCategoryE = void 0;
3
+ exports.subscriptionE = exports.mappingStrategyE = exports.tagTypeE = exports.vatCategoryE = void 0;
4
4
  var subscriptionE;
5
5
  (function (subscriptionE) {
6
6
  subscriptionE["DATA_ONLY"] = "data_only";
@@ -10,6 +10,7 @@ var subscriptionE;
10
10
  subscriptionE["LARGE"] = "large";
11
11
  subscriptionE["X_LARGE"] = "x_large";
12
12
  })(subscriptionE || (subscriptionE = {}));
13
+ exports.subscriptionE = subscriptionE;
13
14
  var vatCategoryE;
14
15
  (function (vatCategoryE) {
15
16
  vatCategoryE["LOW"] = "low";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softwear/latestcollectioncore",
3
- "version": "1.0.53",
3
+ "version": "1.0.55",
4
4
  "description": "Core functions for LatestCollections applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/consts.ts CHANGED
@@ -1,3 +1,34 @@
1
- const MAPPING_CATEGORIES = ["ERM", "ColorCode", "ColorDescription", "Collection", "ProductGroup", "Size", "SubSize", "CustomSize", "Gender"] as const
2
-
3
- export { MAPPING_CATEGORIES }
1
+ const MAPPING_CATEGORIES = ['ERM', 'ColorCode', 'ColorDescription', 'Collection', 'ProductGroup', 'Size', 'SubSize', 'CustomSize', 'Gender'] as const
2
+ const SUBSCRIPTION_LIMITS = {
3
+ data_only: {
4
+ maxBarcodes: 1000,
5
+ maxDownloadBarcodes: 1000,
6
+ maxCustomers: 0,
7
+ },
8
+ starter: {
9
+ maxBarcodes: 1000,
10
+ maxDownloadBarcodes: 1000,
11
+ maxCustomers: 0,
12
+ },
13
+ small: {
14
+ maxBarcodes: 25000,
15
+ maxDownloadBarcodes: 2000,
16
+ maxCustomers: 1000,
17
+ },
18
+ medium: {
19
+ maxBarcodes: 100000,
20
+ maxDownloadBarcodes: 5000,
21
+ maxCustomers: 50000,
22
+ },
23
+ large: {
24
+ maxBarcodes: 250000,
25
+ maxDownloadBarcodes: 10000,
26
+ maxCustomers: 10000,
27
+ },
28
+ x_large: {
29
+ maxBarcodes: 250000,
30
+ maxDownloadBarcodes: 10000,
31
+ maxCustomers: 10000,
32
+ },
33
+ }
34
+ export { MAPPING_CATEGORIES, SUBSCRIPTION_LIMITS }
package/src/types.ts CHANGED
@@ -250,4 +250,5 @@ export {
250
250
  StockTransferMatrixI,
251
251
  BrandSettingI,
252
252
  mappingStrategyE,
253
+ subscriptionE,
253
254
  }