feed-common 1.25.0 → 1.26.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/dist/constants/profile.constants.d.ts.map +1 -1
- package/dist/constants/profile.constants.js +37 -133
- package/dist/constants/profile.constants.js.map +1 -1
- package/dist/types/profile.types.d.ts +2 -10
- package/dist/types/profile.types.d.ts.map +1 -1
- package/dist/types/profile.types.js.map +1 -1
- package/dist/utils/profile.d.ts.map +1 -1
- package/dist/utils/profile.js.map +1 -1
- package/package.json +1 -1
- package/src/constants/profile.constants.ts +78 -179
- package/src/types/profile.types.ts +13 -11
- package/src/utils/profile.ts +16 -16
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
# [1.26.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.25.1...v1.26.0) (2024-08-01)
|
2
|
+
|
3
|
+
|
4
|
+
### Features
|
5
|
+
|
6
|
+
* remove XmlFeedEntryType, extend ProductUPloadMapSource ([b0bb316](https://github.com/advertikon/package-maxify-feed-common/commit/b0bb316099b1250e9ee7b21dc0905047c8811e9d))
|
7
|
+
|
8
|
+
## [1.25.1](https://github.com/advertikon/package-maxify-feed-common/compare/v1.25.0...v1.25.1) (2024-07-31)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* change title to label for XmlFeedEntryType ([da910f1](https://github.com/advertikon/package-maxify-feed-common/commit/da910f1786ee3f94d1df51d844469723ceccac44))
|
14
|
+
|
1
15
|
# [1.25.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.24.0...v1.25.0) (2024-07-31)
|
2
16
|
|
3
17
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.constants.d.ts","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"profile.constants.d.ts","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,2BAA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2BAA2B,yBAAyB,CAAC;AAClE,eAAO,MAAM,mBAAmB,iBAAiB,CAAC;AAClD,eAAO,MAAM,yBAAyB,uBAAuB,CAAC;AAC9D,eAAO,MAAM,4BAA4B,0BAA0B,CAAC;AACpE,eAAO,MAAM,iCAAiC,+BAA+B,CAAC;AAC9E,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AACtD,eAAO,MAAM,0BAA0B,wBAAwB,CAAC;AAChE,eAAO,MAAM,0BAA0B,wBAAwB,CAAC;AAChE,eAAO,MAAM,2BAA2B,yBAAyB,CAAC;AAClE,eAAO,MAAM,4BAA4B,0BAA0B,CAAC;AACpE,eAAO,MAAM,0BAA0B,wBAAwB,CAAC;AAEhE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgChC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,sBAAsB,EA+IzD,CAAC;AACF,eAAO,MAAM,OAAO,WAAW,CAAC;AAChC,eAAO,MAAM,uBAAuB,8BAA8B,CAAC;AACnE,eAAO,MAAM,sBAAsB,UAAsD,CAAC"}
|
@@ -190,62 +190,64 @@ export const ACTION_SUBTRACT = 'action.subtract';
|
|
190
190
|
export const ACTION_MULTIPLY = 'action.multiply';
|
191
191
|
export const ACTION_DIVIDE = 'action.divide';
|
192
192
|
export const ACTION_STRIP_HTML_TAGS = 'action.strip_html_tags';
|
193
|
-
export const MappingSourceActions = [
|
193
|
+
export const MappingSourceActions = [
|
194
|
+
{
|
194
195
|
label: 'Uppercase',
|
195
196
|
description: 'Convert all words to uppercase',
|
196
197
|
type: [MappingSourceValueType.STRING],
|
197
198
|
value: ACTION_UPPERCASE,
|
198
199
|
isUnary: true,
|
199
|
-
},
|
200
|
+
},
|
201
|
+
{
|
200
202
|
label: 'Lowercase',
|
201
203
|
description: 'Convert all words to lowercase',
|
202
204
|
type: [MappingSourceValueType.STRING],
|
203
205
|
value: ACTION_LOWERCASE,
|
204
206
|
isUnary: true,
|
205
|
-
},
|
207
|
+
},
|
208
|
+
{
|
206
209
|
label: 'Trim',
|
207
210
|
description: 'Remove leading and trailing whitespace',
|
208
211
|
type: [MappingSourceValueType.STRING],
|
209
212
|
value: ACTION_TRIM,
|
210
213
|
isUnary: true,
|
211
|
-
},
|
214
|
+
},
|
215
|
+
{
|
212
216
|
label: 'Capitalize',
|
213
217
|
description: 'Capitalize the first letter of each word',
|
214
218
|
type: [MappingSourceValueType.STRING],
|
215
219
|
value: ACTION_CAPITALIZE,
|
216
220
|
isUnary: true,
|
217
|
-
},
|
221
|
+
},
|
222
|
+
{
|
218
223
|
label: 'Add',
|
219
224
|
description: 'Add a value to the current value',
|
220
225
|
type: [MappingSourceValueType.FLOAT, MappingSourceValueType.INT],
|
221
226
|
value: ACTION_ADD,
|
222
|
-
isUnary: false
|
223
|
-
},
|
227
|
+
isUnary: false,
|
228
|
+
},
|
229
|
+
{
|
224
230
|
label: 'Subtract',
|
225
231
|
description: 'Subtract a value from the current value',
|
226
232
|
type: [MappingSourceValueType.FLOAT, MappingSourceValueType.INT],
|
227
233
|
value: ACTION_SUBTRACT,
|
228
|
-
isUnary: false
|
229
|
-
},
|
234
|
+
isUnary: false,
|
235
|
+
},
|
236
|
+
{
|
230
237
|
label: 'Multiply by',
|
231
238
|
description: 'Multiply the current value by a value',
|
232
239
|
type: [MappingSourceValueType.FLOAT, MappingSourceValueType.INT],
|
233
240
|
value: ACTION_MULTIPLY,
|
234
|
-
isUnary: false
|
235
|
-
},
|
241
|
+
isUnary: false,
|
242
|
+
},
|
243
|
+
{
|
236
244
|
label: 'Divide by',
|
237
245
|
description: 'Divide the current value by a value',
|
238
246
|
type: [MappingSourceValueType.FLOAT, MappingSourceValueType.INT],
|
239
247
|
value: ACTION_DIVIDE,
|
240
|
-
isUnary: false
|
241
|
-
}
|
242
|
-
|
243
|
-
label: 'Strip HTML tags',
|
244
|
-
description: 'Remove all HTML tags from the current value',
|
245
|
-
type: [MappingSourceValueType.STRING],
|
246
|
-
value: ACTION_STRIP_HTML_TAGS,
|
247
|
-
isUnary: true,
|
248
|
-
}];
|
248
|
+
isUnary: false,
|
249
|
+
}
|
250
|
+
];
|
249
251
|
export const SOURCE_SHOPIFY_VENDOR = 'shopify.vendor';
|
250
252
|
export const SOURCE_SHOPIFY_BARCODE = 'shopify.barcode';
|
251
253
|
export const SOURCE_SHOPIFY_SKU = 'shopify.sku';
|
@@ -277,13 +279,21 @@ export const ShopifyProductSource = {
|
|
277
279
|
sku: { label: 'SKU', value: SOURCE_SHOPIFY_SKU, type: MappingSourceValueType.STRING },
|
278
280
|
barcode: { label: ' Barcode', value: SOURCE_SHOPIFY_BARCODE, type: MappingSourceValueType.STRING },
|
279
281
|
price: { label: 'Price', value: SOURCE_SHOPIFY_PRICE, type: MappingSourceValueType.FLOAT },
|
280
|
-
compare_at_price: {
|
282
|
+
compare_at_price: {
|
283
|
+
label: 'Compare At Price',
|
284
|
+
value: SOURCE_SHOPIFY_COMPARE_AT_PRICE,
|
285
|
+
type: MappingSourceValueType.FLOAT,
|
286
|
+
},
|
281
287
|
vendor: { label: 'Vendor', value: SOURCE_SHOPIFY_VENDOR, type: MappingSourceValueType.STRING },
|
282
288
|
image: { label: 'Image', value: SOURCE_SHOPIFY_IMAGE, type: MappingSourceValueType.STRING },
|
283
289
|
product_type: { label: 'Product Type', value: SOURCE_SHOPIFY_PRODUCT_TYPE, type: MappingSourceValueType.STRING },
|
284
290
|
collections: { label: 'Collections', value: SOURCE_SHOPIFY_COLLECTIONS, type: MappingSourceValueType.STRING },
|
285
291
|
tags: { label: 'Tags', value: SOURCE_SHOPIFY_TAGS, type: MappingSourceValueType.STRING },
|
286
|
-
inventory_quantity: {
|
292
|
+
inventory_quantity: {
|
293
|
+
label: 'Inventory Quantity',
|
294
|
+
value: SOURCE_SHOPIFY_INVENTORY_QUANTITY,
|
295
|
+
type: MappingSourceValueType.INT,
|
296
|
+
},
|
287
297
|
weight: { label: 'Weight', value: SOURCE_SHOPIFY_WEIGHT, type: MappingSourceValueType.FLOAT },
|
288
298
|
weight_unit: { label: 'Weight Unit', value: SOURCE_SHOPIFY_WEIGHT_UNIT, type: MappingSourceValueType.STRING },
|
289
299
|
shop_domain: { label: 'Shop Domain', value: SOURCE_SHOPIFY_SHOP_DOMAIN, type: MappingSourceValueType.STRING },
|
@@ -308,7 +318,7 @@ export const ProductUploadMappings = [
|
|
308
318
|
type: 'select',
|
309
319
|
choices: [SOURCE_COUNTRY],
|
310
320
|
rules: [],
|
311
|
-
description:
|
321
|
+
description: 'The item\'s country of sale',
|
312
322
|
},
|
313
323
|
{
|
314
324
|
required: false,
|
@@ -381,7 +391,7 @@ export const ProductUploadMappings = [
|
|
381
391
|
type: 'select',
|
382
392
|
choices: [SOURCE_GOOGLE_CATEGORY],
|
383
393
|
rules: [],
|
384
|
-
description:
|
394
|
+
description: 'Google\'s category of the item',
|
385
395
|
},
|
386
396
|
{
|
387
397
|
required: false,
|
@@ -422,7 +432,9 @@ export const ProductUploadMappings = [
|
|
422
432
|
{ label: 'Free listings', value: 'Free_listings' },
|
423
433
|
],
|
424
434
|
rules: [],
|
425
|
-
description:
|
435
|
+
description:
|
436
|
+
// eslint-disable-next-line max-len
|
437
|
+
'The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center)',
|
426
438
|
},
|
427
439
|
{
|
428
440
|
required: false,
|
@@ -432,114 +444,6 @@ export const ProductUploadMappings = [
|
|
432
444
|
rules: [],
|
433
445
|
description: 'The shipping label of the product, used to group product in account-level shipping rules',
|
434
446
|
},
|
435
|
-
// /**
|
436
|
-
// * The day a pre-ordered product becomes available for delivery, in ISO 8601 format.
|
437
|
-
// */
|
438
|
-
// availabilityDate?: string | null;
|
439
|
-
// /**
|
440
|
-
// * Color of the item.
|
441
|
-
// */
|
442
|
-
// color?: string | null;
|
443
|
-
// /**
|
444
|
-
// * Condition or state of the item.
|
445
|
-
// */
|
446
|
-
// condition?: string | null;
|
447
|
-
// /**
|
448
|
-
// * Custom label 0 for custom grouping of items in a Shopping campaign.
|
449
|
-
// */
|
450
|
-
// customLabel0?: string | null;
|
451
|
-
// /**
|
452
|
-
// * Custom label 1 for custom grouping of items in a Shopping campaign.
|
453
|
-
// */
|
454
|
-
// customLabel1?: string | null;
|
455
|
-
// /**
|
456
|
-
// * Custom label 2 for custom grouping of items in a Shopping campaign.
|
457
|
-
// */
|
458
|
-
// customLabel2?: string | null;
|
459
|
-
// /**
|
460
|
-
// * Custom label 3 for custom grouping of items in a Shopping campaign.
|
461
|
-
// */
|
462
|
-
// customLabel3?: string | null;
|
463
|
-
// /**
|
464
|
-
// * Custom label 4 for custom grouping of items in a Shopping campaign.
|
465
|
-
// */
|
466
|
-
// customLabel4?: string | null;
|
467
|
-
// /**
|
468
|
-
// * The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. See [Disclosure date](https://support.google.com/merchants/answer/13034208) for more information.
|
469
|
-
// */
|
470
|
-
// disclosureDate?: string | null;
|
471
|
-
// /**
|
472
|
-
// * Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date in Google Shopping is exposed in `productstatuses` as `googleExpirationDate` and might be earlier if `expirationDate` is too far in the future.
|
473
|
-
// */
|
474
|
-
// expirationDate?: string | null;
|
475
|
-
// /**
|
476
|
-
// * The material of which the item is made.
|
477
|
-
// */
|
478
|
-
// material?: string | null;
|
479
|
-
// /**
|
480
|
-
// * Maximal product handling time (in business days).
|
481
|
-
// */
|
482
|
-
// maxHandlingTime?: string | null;
|
483
|
-
// /**
|
484
|
-
// * Minimal product handling time (in business days).
|
485
|
-
// */
|
486
|
-
// minHandlingTime?: string | null;
|
487
|
-
// /**
|
488
|
-
// * The pick up option for the item. Acceptable values are: - "`buy`" - "`reserve`" - "`ship to store`" - "`not supported`"
|
489
|
-
// */
|
490
|
-
// pickupMethod?: string | null;
|
491
|
-
// /**
|
492
|
-
// * Item store pickup timeline. Acceptable values are: - "`same day`" - "`next day`" - "`2-day`" - "`3-day`" - "`4-day`" - "`5-day`" - "`6-day`" - "`7-day`" - "`multi-week`"
|
493
|
-
// */
|
494
|
-
// pickupSla?: string | null;
|
495
|
-
// /**
|
496
|
-
// * The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
|
497
|
-
// */
|
498
|
-
// productHeight?: Schema$ProductDimension;
|
499
|
-
// /**
|
500
|
-
// * The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
|
501
|
-
// */
|
502
|
-
// productLength?: Schema$ProductDimension;
|
503
|
-
// /**
|
504
|
-
// * The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
|
505
|
-
// */
|
506
|
-
// productWidth?: Schema$ProductDimension;
|
507
|
-
// /**
|
508
|
-
// * Shipping rules.
|
509
|
-
// */
|
510
|
-
// shipping?: Schema$ProductShipping[];
|
511
|
-
// /**
|
512
|
-
// * Height of the item for shipping.
|
513
|
-
// */
|
514
|
-
// shippingHeight?: Schema$ProductShippingDimension;
|
515
|
-
// /**
|
516
|
-
// * Length of the item for shipping.
|
517
|
-
// */
|
518
|
-
// shippingLength?: Schema$ProductShippingDimension;
|
519
|
-
// /**
|
520
|
-
// * Weight of the item for shipping.
|
521
|
-
// */
|
522
|
-
// shippingWeight?: Schema$ProductShippingWeight;
|
523
|
-
// /**
|
524
|
-
// * Width of the item for shipping.
|
525
|
-
// */
|
526
|
-
// shippingWidth?: Schema$ProductShippingDimension;
|
527
|
-
// /**
|
528
|
-
// * List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in MC feed settings.
|
529
|
-
// */
|
530
|
-
// shoppingAdsExcludedCountries?: string[] | null;
|
531
|
-
// /**
|
532
|
-
// * Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same `itemGroupId` value (see size definition).
|
533
|
-
// */
|
534
|
-
// sizes?: string[] | null;
|
535
|
-
// /**
|
536
|
-
// * System in which the size is specified. Recommended for apparel items.
|
537
|
-
// */
|
538
|
-
// sizeSystem?: string | null;
|
539
|
-
// /**
|
540
|
-
// * The cut of the item. Recommended for apparel items.
|
541
|
-
// */
|
542
|
-
// sizeType?: string | null;
|
543
447
|
];
|
544
448
|
export const CHANNEL = 'online';
|
545
449
|
export const GMC_PRODUCT_ID_TEMPLATE = '{PRODUCT_ID}_{VARIANT_ID}';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.constants.js","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,cAAc,GAAG,eAAe,CAAC;AAC9C,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC;AACxC,MAAM,CAAC,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AACzD,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AACtD,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AACjD,MAAM,CAAC,MAAM,sBAAsB,GAAG,wBAAwB,CAAC;AAC/D,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;AAE5C,MAAM,CAAN,IAAY,eAeX;AAfD,WAAY,eAAe;IACvB,wCAAqB,CAAA;IACrB,+CAA4B,CAAA;IAC5B,oCAAiB,CAAA;IACjB,2CAAwB,CAAA;IACxB,6CAA0B,CAAA;IAC1B,oDAAiC,CAAA;IACjC,yCAAsB,CAAA;IACtB,gDAA6B,CAAA;IAC7B,4BAAS,CAAA;IACT,mCAAgB,CAAA;IAChB,gCAAa,CAAA;IACb,sCAAmB,CAAA;IACnB,gDAA6B,CAAA;IAC7B,sDAAmC,CAAA;AACvC,CAAC,EAfW,eAAe,KAAf,eAAe,QAe1B;AAED,MAAM,CAAN,IAAY,gBASX;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
|
1
|
+
{"version":3,"file":"profile.constants.js","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAG,eAAe,CAAC;AAC9C,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC;AACxC,MAAM,CAAC,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AACzD,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AACtD,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AACjD,MAAM,CAAC,MAAM,sBAAsB,GAAG,wBAAwB,CAAC;AAC/D,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;AAE5C,MAAM,CAAN,IAAY,eAeX;AAfD,WAAY,eAAe;IACvB,wCAAqB,CAAA;IACrB,+CAA4B,CAAA;IAC5B,oCAAiB,CAAA;IACjB,2CAAwB,CAAA;IACxB,6CAA0B,CAAA;IAC1B,oDAAiC,CAAA;IACjC,yCAAsB,CAAA;IACtB,gDAA6B,CAAA;IAC7B,4BAAS,CAAA;IACT,mCAAgB,CAAA;IAChB,gCAAa,CAAA;IACb,sCAAmB,CAAA;IACnB,gDAA6B,CAAA;IAC7B,sDAAmC,CAAA;AACvC,CAAC,EAfW,eAAe,KAAf,eAAe,QAe1B;AAED,MAAM,CAAN,IAAY,gBASX;AATD,WAAY,gBAAgB;IACxB,mCAAe,CAAA;IACf,6CAAyB,CAAA;IACzB,iDAA6B,CAAA;IAC7B,qCAAiB,CAAA;IACjB,+BAAW,CAAA;IACX,yDAAqC,CAAA;IACrC,6DAAyC,CAAA;IACzC,mCAAe,CAAA;AACnB,CAAC,EATW,gBAAgB,KAAhB,gBAAgB,QAS3B;AAED,MAAM,CAAN,IAAY,kBAaX;AAbD,WAAY,kBAAkB;IAC1B,0DAAoC,CAAA;IACpC,sDAAgC,CAAA;IAChC,qCAAe,CA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EAAE,KAAK,EAAE,yBAAyB,EAAE,KAAK,EAAE,aAAa,EAAE;YAC1D,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,EAAE;SACrD;QACD,KAAK,EAAE,EAAE;QACT,WAAW;QACP,mCAAmC;QACnC,6GAA6G;KACpH;IACD;QACI,QAAQ,EAAE,KAAK;QACf,KAAK,EAAE,gBAAgB;QACvB,SAAS,EAAE,kBAAkB,CAAC,cAAc;QAC5C,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,EAAE;QACT,WAAW,EAAE,0FAA0F;KAC1G;CACJ,CAAC;AACF,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC;AAChC,MAAM,CAAC,MAAM,uBAAuB,GAAG,2BAA2B,CAAC;AACnE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC"}
|
@@ -32,6 +32,8 @@ export type ProductUploadMapSource = {
|
|
32
32
|
rules: ProductUploadRuleFilterType['value'][];
|
33
33
|
description?: string;
|
34
34
|
defaultValue?: ValueType;
|
35
|
+
validator?: (v: string | number) => SafeParseReturnType<any, any>;
|
36
|
+
show?: () => boolean;
|
35
37
|
};
|
36
38
|
export type ProductUploadMapping = {
|
37
39
|
id: string;
|
@@ -74,15 +76,5 @@ export type MacroPartType = {
|
|
74
76
|
type: 'macro' | 'string';
|
75
77
|
subtype?: 'mapping' | 'action' | 'metafield';
|
76
78
|
};
|
77
|
-
export type XmlFeedEntryType = {
|
78
|
-
id: string;
|
79
|
-
title: string;
|
80
|
-
description: string;
|
81
|
-
required: boolean;
|
82
|
-
type: string;
|
83
|
-
validate: (v: string | number) => SafeParseReturnType<any, any>;
|
84
|
-
value: string;
|
85
|
-
rules?: ProductUploadRules;
|
86
|
-
};
|
87
79
|
export {};
|
88
80
|
//# sourceMappingURL=profile.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile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E,qBAAqB,EAAE,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,OAAO,CAAC;CAC1D,CAAC;AAEF,oBAAY,WAAW;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACxB;AAED,MAAM,MAAM,aAAa,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAC;CAChD,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.types.js","sourceRoot":"","sources":["../../src/types/profile.types.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"profile.types.js","sourceRoot":"","sources":["../../src/types/profile.types.ts"],"names":[],"mappings":"AAoFA,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;AACzB,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../src/utils/profile.ts"],"names":[],"mappings":"AACA,OAAO,EACH,UAAU,EACV,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,2BAA2B,EAC3B,iBAAiB,EACjB,qBAAqB,EACrB,wBAAwB,EACxB,kBAAkB,EACrB,MAAM,2BAA2B,CAAC;AAInC;;;;GAIG;AACH,wBAAgB,oBAAoB,
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../src/utils/profile.ts"],"names":[],"mappings":"AACA,OAAO,EACH,UAAU,EACV,cAAc,EACd,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oB,EACvB,CAAC,EAAE,oBAAoB,GACxB;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,OAAO,CAAA;CAAE,CAkCnE;AAED,wBAAgB,qBAAqB,CAAE,OAAO,EAAE,oBAAoB,GAAG,oBAAoB,CAc1F"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../src/utils/profile.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAC3F,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC;;;;GAIG;AACH,MAAM,UAAU,oBAAoB,
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../src/utils/profile.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAC3F,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC;;;;GAIG;AACH,MAAM,UAAU,oBAAoB,CAAE,KAA8B;IAChE,OAAO,KAAK;SACP,GAAG,CAAC,CAAC,CAAC,EAAE;QACL,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACvB,IACI,CAAC,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE;gBAChB,CAAC,CAAC,SAAS,KAAK,IAAI,CAAC,SAAS;gBAC9B,CAAC,CAAC,QAAQ,KAAK,IAAI,CAAC,QAAQ;gBAC5B,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,EACxB,CAAC;gBACC,OAAO,CAAC,CAAC,EAAE,CAAC;YAChB,CAAC;QACL,CAAC;QACD,OAAO,IAAI,CAAC;IAChB,CAAC,CAAC;SACD,MAAM,CAAC,OAAO,CAAa,CAAC;AACrC,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,m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AS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACpG,CAAC;IAED,OAAO,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC,EAAE;QAC/C,IAAI,OAAO,CAAC,KAAK,EAAE,QAAQ,EAAE,CAAC;YAC1B,OAAO,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACpG,CAAC;QAED,OAAO,OAAO,CAAC;IACnB,CAAC,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC;AACnB,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,3 @@
|
|
1
|
-
/* eslint-disable max-len */
|
2
|
-
/* eslint-disable quotes */
|
3
|
-
import e from 'express';
|
4
1
|
import { ProductUploadMapSource, ProductUploadRuleFilterType } from '../types/profile.types.js';
|
5
2
|
|
6
3
|
export const SOURCE_VENDORS = 'source.vendor';
|
@@ -185,12 +182,12 @@ export const ProductUploadRuleFilters: ProductUploadRuleFilterType[] = [
|
|
185
182
|
];
|
186
183
|
|
187
184
|
export type MappingSourceActionType = {
|
188
|
-
label: string
|
189
|
-
description?: string
|
190
|
-
type: MappingSourceValueType[]
|
191
|
-
value: string
|
192
|
-
isUnary?: boolean
|
193
|
-
}
|
185
|
+
label: string;
|
186
|
+
description?: string;
|
187
|
+
type: MappingSourceValueType[];
|
188
|
+
value: string;
|
189
|
+
isUnary?: boolean;
|
190
|
+
};
|
194
191
|
|
195
192
|
export enum MappingSourceValueType {
|
196
193
|
STRING = 'string',
|
@@ -209,62 +206,64 @@ export const ACTION_MULTIPLY = 'action.multiply';
|
|
209
206
|
export const ACTION_DIVIDE = 'action.divide';
|
210
207
|
export const ACTION_STRIP_HTML_TAGS = 'action.strip_html_tags';
|
211
208
|
|
212
|
-
export const MappingSourceActions: MappingSourceActionType[] = [
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
},
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
209
|
+
export const MappingSourceActions: MappingSourceActionType[] = [
|
210
|
+
{
|
211
|
+
label: 'Uppercase',
|
212
|
+
description: 'Convert all words to uppercase',
|
213
|
+
type: [MappingSourceValueType.STRING],
|
214
|
+
value: ACTION_UPPERCASE,
|
215
|
+
isUnary: true,
|
216
|
+
},
|
217
|
+
{
|
218
|
+
label: 'Lowercase',
|
219
|
+
description: 'Convert all words to lowercase',
|
220
|
+
type: [MappingSourceValueType.STRING],
|
221
|
+
value: ACTION_LOWERCASE,
|
222
|
+
isUnary: true,
|
223
|
+
},
|
224
|
+
{
|
225
|
+
label: 'Trim',
|
226
|
+
description: 'Remove leading and trailing whitespace',
|
227
|
+
type: [MappingSourceValueType.STRING],
|
228
|
+
value: ACTION_TRIM,
|
229
|
+
isUnary: true,
|
230
|
+
},
|
231
|
+
{
|
232
|
+
label: 'Capitalize',
|
233
|
+
description: 'Capitalize the first letter of each word',
|
234
|
+
type: [MappingSourceValueType.STRING],
|
235
|
+
value: ACTION_CAPITALIZE,
|
236
|
+
isUnary: true,
|
237
|
+
},
|
238
|
+
{
|
239
|
+
label: 'Add',
|
240
|
+
description: 'Add a value to the current value',
|
241
|
+
type: [MappingSourceValueType.FLOAT, MappingSourceValueType.INT],
|
242
|
+
value: ACTION_ADD,
|
243
|
+
isUnary: false,
|
244
|
+
},
|
245
|
+
{
|
246
|
+
label: 'Subtract',
|
247
|
+
description: 'Subtract a value from the current value',
|
248
|
+
type: [MappingSourceValueType.FLOAT, MappingSourceValueType.INT],
|
249
|
+
value: ACTION_SUBTRACT,
|
250
|
+
isUnary: false,
|
251
|
+
},
|
252
|
+
{
|
253
|
+
label: 'Multiply by',
|
254
|
+
description: 'Multiply the current value by a value',
|
255
|
+
type: [MappingSourceValueType.FLOAT, MappingSourceValueType.INT],
|
256
|
+
value: ACTION_MULTIPLY,
|
257
|
+
isUnary: false,
|
258
|
+
},
|
259
|
+
{
|
260
|
+
label: 'Divide by',
|
261
|
+
description: 'Divide the current value by a value',
|
262
|
+
type: [MappingSourceValueType.FLOAT, MappingSourceValueType.INT],
|
263
|
+
value: ACTION_DIVIDE,
|
264
|
+
isUnary: false,
|
265
|
+
}
|
266
|
+
];
|
268
267
|
|
269
268
|
export const SOURCE_SHOPIFY_VENDOR = 'shopify.vendor';
|
270
269
|
export const SOURCE_SHOPIFY_BARCODE = 'shopify.barcode';
|
@@ -298,19 +297,27 @@ export const ShopifyProductSource = {
|
|
298
297
|
sku: { label: 'SKU', value: SOURCE_SHOPIFY_SKU, type: MappingSourceValueType.STRING },
|
299
298
|
barcode: { label: ' Barcode', value: SOURCE_SHOPIFY_BARCODE, type: MappingSourceValueType.STRING },
|
300
299
|
price: { label: 'Price', value: SOURCE_SHOPIFY_PRICE, type: MappingSourceValueType.FLOAT },
|
301
|
-
compare_at_price: {
|
300
|
+
compare_at_price: {
|
301
|
+
label: 'Compare At Price',
|
302
|
+
value: SOURCE_SHOPIFY_COMPARE_AT_PRICE,
|
303
|
+
type: MappingSourceValueType.FLOAT,
|
304
|
+
},
|
302
305
|
vendor: { label: 'Vendor', value: SOURCE_SHOPIFY_VENDOR, type: MappingSourceValueType.STRING },
|
303
306
|
image: { label: 'Image', value: SOURCE_SHOPIFY_IMAGE, type: MappingSourceValueType.STRING },
|
304
307
|
product_type: { label: 'Product Type', value: SOURCE_SHOPIFY_PRODUCT_TYPE, type: MappingSourceValueType.STRING },
|
305
308
|
collections: { label: 'Collections', value: SOURCE_SHOPIFY_COLLECTIONS, type: MappingSourceValueType.STRING },
|
306
309
|
tags: { label: 'Tags', value: SOURCE_SHOPIFY_TAGS, type: MappingSourceValueType.STRING },
|
307
|
-
inventory_quantity: {
|
310
|
+
inventory_quantity: {
|
311
|
+
label: 'Inventory Quantity',
|
312
|
+
value: SOURCE_SHOPIFY_INVENTORY_QUANTITY,
|
313
|
+
type: MappingSourceValueType.INT,
|
314
|
+
},
|
308
315
|
weight: { label: 'Weight', value: SOURCE_SHOPIFY_WEIGHT, type: MappingSourceValueType.FLOAT },
|
309
316
|
weight_unit: { label: 'Weight Unit', value: SOURCE_SHOPIFY_WEIGHT_UNIT, type: MappingSourceValueType.STRING },
|
310
317
|
shop_domain: { label: 'Shop Domain', value: SOURCE_SHOPIFY_SHOP_DOMAIN, type: MappingSourceValueType.STRING },
|
311
318
|
shop_country: { label: 'Shop Country', value: SOURCE_SHOPIFY_SHOP_COUNTRY, type: MappingSourceValueType.STRING },
|
312
319
|
shop_currency: { label: 'Shop Currency', value: SOURCE_SHOPIFY_SHOP_CURRENCY, type: MappingSourceValueType.STRING },
|
313
|
-
|
320
|
+
|
314
321
|
custom: { label: 'Custom input', value: SOURCE_CUSTOM, type: MappingSourceValueType.STRING },
|
315
322
|
};
|
316
323
|
|
@@ -331,7 +338,7 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
|
|
331
338
|
type: 'select',
|
332
339
|
choices: [SOURCE_COUNTRY],
|
333
340
|
rules: [],
|
334
|
-
description:
|
341
|
+
description: 'The item\'s country of sale',
|
335
342
|
},
|
336
343
|
{
|
337
344
|
required: false,
|
@@ -404,7 +411,7 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
|
|
404
411
|
type: 'select',
|
405
412
|
choices: [SOURCE_GOOGLE_CATEGORY],
|
406
413
|
rules: [],
|
407
|
-
description:
|
414
|
+
description: 'Google\'s category of the item',
|
408
415
|
},
|
409
416
|
{
|
410
417
|
required: false,
|
@@ -446,6 +453,7 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
|
|
446
453
|
],
|
447
454
|
rules: [],
|
448
455
|
description:
|
456
|
+
// eslint-disable-next-line max-len
|
449
457
|
'The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center)',
|
450
458
|
},
|
451
459
|
{
|
@@ -456,115 +464,6 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
|
|
456
464
|
rules: [],
|
457
465
|
description: 'The shipping label of the product, used to group product in account-level shipping rules',
|
458
466
|
},
|
459
|
-
|
460
|
-
// /**
|
461
|
-
// * The day a pre-ordered product becomes available for delivery, in ISO 8601 format.
|
462
|
-
// */
|
463
|
-
// availabilityDate?: string | null;
|
464
|
-
// /**
|
465
|
-
// * Color of the item.
|
466
|
-
// */
|
467
|
-
// color?: string | null;
|
468
|
-
// /**
|
469
|
-
// * Condition or state of the item.
|
470
|
-
// */
|
471
|
-
// condition?: string | null;
|
472
|
-
// /**
|
473
|
-
// * Custom label 0 for custom grouping of items in a Shopping campaign.
|
474
|
-
// */
|
475
|
-
// customLabel0?: string | null;
|
476
|
-
// /**
|
477
|
-
// * Custom label 1 for custom grouping of items in a Shopping campaign.
|
478
|
-
// */
|
479
|
-
// customLabel1?: string | null;
|
480
|
-
// /**
|
481
|
-
// * Custom label 2 for custom grouping of items in a Shopping campaign.
|
482
|
-
// */
|
483
|
-
// customLabel2?: string | null;
|
484
|
-
// /**
|
485
|
-
// * Custom label 3 for custom grouping of items in a Shopping campaign.
|
486
|
-
// */
|
487
|
-
// customLabel3?: string | null;
|
488
|
-
// /**
|
489
|
-
// * Custom label 4 for custom grouping of items in a Shopping campaign.
|
490
|
-
// */
|
491
|
-
// customLabel4?: string | null;
|
492
|
-
// /**
|
493
|
-
// * The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. See [Disclosure date](https://support.google.com/merchants/answer/13034208) for more information.
|
494
|
-
// */
|
495
|
-
// disclosureDate?: string | null;
|
496
|
-
// /**
|
497
|
-
// * Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date in Google Shopping is exposed in `productstatuses` as `googleExpirationDate` and might be earlier if `expirationDate` is too far in the future.
|
498
|
-
// */
|
499
|
-
// expirationDate?: string | null;
|
500
|
-
// /**
|
501
|
-
// * The material of which the item is made.
|
502
|
-
// */
|
503
|
-
// material?: string | null;
|
504
|
-
// /**
|
505
|
-
// * Maximal product handling time (in business days).
|
506
|
-
// */
|
507
|
-
// maxHandlingTime?: string | null;
|
508
|
-
// /**
|
509
|
-
// * Minimal product handling time (in business days).
|
510
|
-
// */
|
511
|
-
// minHandlingTime?: string | null;
|
512
|
-
// /**
|
513
|
-
// * The pick up option for the item. Acceptable values are: - "`buy`" - "`reserve`" - "`ship to store`" - "`not supported`"
|
514
|
-
// */
|
515
|
-
// pickupMethod?: string | null;
|
516
|
-
// /**
|
517
|
-
// * Item store pickup timeline. Acceptable values are: - "`same day`" - "`next day`" - "`2-day`" - "`3-day`" - "`4-day`" - "`5-day`" - "`6-day`" - "`7-day`" - "`multi-week`"
|
518
|
-
// */
|
519
|
-
// pickupSla?: string | null;
|
520
|
-
// /**
|
521
|
-
// * The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
|
522
|
-
// */
|
523
|
-
// productHeight?: Schema$ProductDimension;
|
524
|
-
// /**
|
525
|
-
// * The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
|
526
|
-
// */
|
527
|
-
// productLength?: Schema$ProductDimension;
|
528
|
-
// /**
|
529
|
-
// * The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
|
530
|
-
// */
|
531
|
-
// productWidth?: Schema$ProductDimension;
|
532
|
-
// /**
|
533
|
-
// * Shipping rules.
|
534
|
-
// */
|
535
|
-
// shipping?: Schema$ProductShipping[];
|
536
|
-
// /**
|
537
|
-
// * Height of the item for shipping.
|
538
|
-
// */
|
539
|
-
// shippingHeight?: Schema$ProductShippingDimension;
|
540
|
-
// /**
|
541
|
-
// * Length of the item for shipping.
|
542
|
-
// */
|
543
|
-
// shippingLength?: Schema$ProductShippingDimension;
|
544
|
-
// /**
|
545
|
-
// * Weight of the item for shipping.
|
546
|
-
// */
|
547
|
-
// shippingWeight?: Schema$ProductShippingWeight;
|
548
|
-
// /**
|
549
|
-
// * Width of the item for shipping.
|
550
|
-
// */
|
551
|
-
// shippingWidth?: Schema$ProductShippingDimension;
|
552
|
-
// /**
|
553
|
-
// * List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in MC feed settings.
|
554
|
-
// */
|
555
|
-
// shoppingAdsExcludedCountries?: string[] | null;
|
556
|
-
// /**
|
557
|
-
// * Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same `itemGroupId` value (see size definition).
|
558
|
-
// */
|
559
|
-
// sizes?: string[] | null;
|
560
|
-
// /**
|
561
|
-
// * System in which the size is specified. Recommended for apparel items.
|
562
|
-
// */
|
563
|
-
// sizeSystem?: string | null;
|
564
|
-
// /**
|
565
|
-
// * The cut of the item. Recommended for apparel items.
|
566
|
-
// */
|
567
|
-
// sizeType?: string | null;
|
568
467
|
];
|
569
468
|
export const CHANNEL = 'online';
|
570
469
|
export const GMC_PRODUCT_ID_TEMPLATE = '{PRODUCT_ID}_{VARIANT_ID}';
|
@@ -27,8 +27,21 @@ export type ProductUploadMapSource = {
|
|
27
27
|
rules: ProductUploadRuleFilterType['value'][];
|
28
28
|
description?: string;
|
29
29
|
defaultValue?: ValueType;
|
30
|
+
validator?: (v: string|number) => SafeParseReturnType<any, any>;
|
31
|
+
show?: () => boolean;
|
30
32
|
};
|
31
33
|
|
34
|
+
// export type XmlFeedEntryType = {
|
35
|
+
// id: string,
|
36
|
+
// label: string,
|
37
|
+
// description: string;
|
38
|
+
// required: boolean;
|
39
|
+
// type: string;
|
40
|
+
// validator: (v: string|number) => SafeParseReturnType<any, any>;
|
41
|
+
// value: string;
|
42
|
+
// rules?: ProductUploadRules;
|
43
|
+
// };
|
44
|
+
|
32
45
|
export type ProductUploadMapping = {
|
33
46
|
id: string;
|
34
47
|
attribute: MappingFields;
|
@@ -79,14 +92,3 @@ export type MacroPartType = {
|
|
79
92
|
type: 'macro' | 'string';
|
80
93
|
subtype?: 'mapping' | 'action' | 'metafield';
|
81
94
|
};
|
82
|
-
|
83
|
-
export type XmlFeedEntryType = {
|
84
|
-
id: string,
|
85
|
-
title: string,
|
86
|
-
description: string;
|
87
|
-
required: boolean;
|
88
|
-
type: string;
|
89
|
-
validate: (v: string|number) => SafeParseReturnType<any, any>;
|
90
|
-
value: string;
|
91
|
-
rules?: ProductUploadRules;
|
92
|
-
};
|
package/src/utils/profile.ts
CHANGED
@@ -19,7 +19,7 @@ import { code } from './utils.js';
|
|
19
19
|
* @param rules
|
20
20
|
* @returns
|
21
21
|
*/
|
22
|
-
export function checkRuleDuplication(rules: ProductUploadRuleItem[]): string[] {
|
22
|
+
export function checkRuleDuplication (rules: ProductUploadRuleItem[]): string[] {
|
23
23
|
return rules
|
24
24
|
.map(r => {
|
25
25
|
for (const rule of rules) {
|
@@ -42,7 +42,7 @@ export function checkRuleDuplication(rules: ProductUploadRuleItem[]): string[] {
|
|
42
42
|
* @param rules
|
43
43
|
* @returns
|
44
44
|
*/
|
45
|
-
export function checkRuleAlwaysness(rules: ProductUploadRuleItem[]): string[] {
|
45
|
+
export function checkRuleAlwaysness (rules: ProductUploadRuleItem[]): string[] {
|
46
46
|
return rules
|
47
47
|
.map(r => {
|
48
48
|
for (const rule of rules) {
|
@@ -60,7 +60,7 @@ export function checkRuleAlwaysness(rules: ProductUploadRuleItem[]): string[] {
|
|
60
60
|
* @param sections
|
61
61
|
* @returns
|
62
62
|
*/
|
63
|
-
export function checkRuleDeadlocks(input: ProductUploadRuleSection[]): string[] {
|
63
|
+
export function checkRuleDeadlocks (input: ProductUploadRuleSection[]): string[] {
|
64
64
|
const totalList = [] as string[][];
|
65
65
|
const sections = structuredClone(input);
|
66
66
|
|
@@ -86,7 +86,7 @@ export function checkRuleDeadlocks(input: ProductUploadRuleSection[]): string[]
|
|
86
86
|
return sections.some(s => s.ruleItems.length === 0) ? totalList.flat() : [];
|
87
87
|
}
|
88
88
|
|
89
|
-
function isExclusive(rule1: ProductUploadRuleItem, rule2: ProductUploadRuleItem): boolean {
|
89
|
+
function isExclusive (rule1: ProductUploadRuleItem, rule2: ProductUploadRuleItem): boolean {
|
90
90
|
return (
|
91
91
|
rule1.id !== rule2.id &&
|
92
92
|
rule1.attribute === rule2.attribute &&
|
@@ -95,7 +95,7 @@ function isExclusive(rule1: ProductUploadRuleItem, rule2: ProductUploadRuleItem)
|
|
95
95
|
);
|
96
96
|
}
|
97
97
|
|
98
|
-
export function getOperatorCounterpart(operator: keyof RuleOperatorsType): keyof RuleOperatorsType {
|
98
|
+
export function getOperatorCounterpart (operator: keyof RuleOperatorsType): keyof RuleOperatorsType {
|
99
99
|
switch (operator) {
|
100
100
|
case RULES_OPERATORS.EQUALS:
|
101
101
|
return RULES_OPERATORS.NOT_EQUALS;
|
@@ -130,11 +130,11 @@ export function getOperatorCounterpart(operator: keyof RuleOperatorsType): keyof
|
|
130
130
|
}
|
131
131
|
}
|
132
132
|
|
133
|
-
export function getEmptyRuleItem(attribute: ProductUploadRuleFilterType['value'] = ''): ProductUploadRuleItem {
|
133
|
+
export function getEmptyRuleItem (attribute: ProductUploadRuleFilterType['value'] = ''): ProductUploadRuleItem {
|
134
134
|
return { attribute, operator: '', value: '', id: code() };
|
135
135
|
}
|
136
136
|
|
137
|
-
export function sortMappings(a: ProductUploadMapping, b: ProductUploadMapping): number {
|
137
|
+
export function sortMappings (a: ProductUploadMapping, b: ProductUploadMapping): number {
|
138
138
|
if (!a.attribute) {
|
139
139
|
return 1;
|
140
140
|
}
|
@@ -165,7 +165,7 @@ export function sortMappings(a: ProductUploadMapping, b: ProductUploadMapping):
|
|
165
165
|
return 0;
|
166
166
|
}
|
167
167
|
|
168
|
-
export function hasRules(rules: ProductUploadRules): boolean {
|
168
|
+
export function hasRules (rules: ProductUploadRules): boolean {
|
169
169
|
return Array.isArray(rules?.sections) && rules.sections.some(section => section.ruleItems.length > 0);
|
170
170
|
}
|
171
171
|
|
@@ -175,7 +175,7 @@ export function hasRules(rules: ProductUploadRules): boolean {
|
|
175
175
|
* @param b
|
176
176
|
* @returns
|
177
177
|
*/
|
178
|
-
export function compareRules(
|
178
|
+
export function compareRules (
|
179
179
|
a: ProductUploadRules = { sections: [] },
|
180
180
|
b: ProductUploadRules = { sections: [] }
|
181
181
|
): boolean {
|
@@ -215,7 +215,7 @@ export function compareRules(
|
|
215
215
|
return matchedSections.length === a.sections.length;
|
216
216
|
}
|
217
217
|
|
218
|
-
function compareValues(a: any, b: any): boolean {
|
218
|
+
function compareValues (a: any, b: any): boolean {
|
219
219
|
if (Array.isArray(a) && Array.isArray(b)) {
|
220
220
|
return a.length === b.length && a.every(i => b.includes(i));
|
221
221
|
}
|
@@ -223,7 +223,7 @@ function compareValues(a: any, b: any): boolean {
|
|
223
223
|
return a === b;
|
224
224
|
}
|
225
225
|
|
226
|
-
export function compareMappings(a: ProductUploadMapping[], b: ProductUploadMapping[]): boolean {
|
226
|
+
export function compareMappings (a: ProductUploadMapping[], b: ProductUploadMapping[]): boolean {
|
227
227
|
const matchedMappings = [] as number[];
|
228
228
|
|
229
229
|
if (a.length !== b.length) {
|
@@ -254,19 +254,19 @@ export function compareMappings(a: ProductUploadMapping[], b: ProductUploadMappi
|
|
254
254
|
return matchedMappings.length === a.length;
|
255
255
|
}
|
256
256
|
|
257
|
-
export function optionIsString(option: OptionType): option is string {
|
257
|
+
export function optionIsString (option: OptionType): option is string {
|
258
258
|
return typeof option === 'string';
|
259
259
|
}
|
260
260
|
|
261
|
-
export function optionIsItem(option: OptionType): option is OptionTypeItem {
|
261
|
+
export function optionIsItem (option: OptionType): option is OptionTypeItem {
|
262
262
|
return typeof option !== 'string' && 'value' in option;
|
263
263
|
}
|
264
264
|
|
265
|
-
export function optionIsGroup(option: OptionType): option is OptionTypeGroup {
|
265
|
+
export function optionIsGroup (option: OptionType): option is OptionTypeGroup {
|
266
266
|
return typeof option !== 'string' && 'options' in option;
|
267
267
|
}
|
268
268
|
|
269
|
-
export function detectProfileChange(
|
269
|
+
export function detectProfileChange (
|
270
270
|
a: ProductUploadProfile,
|
271
271
|
b: ProductUploadProfile
|
272
272
|
): { name: boolean; rules: boolean; mappings: boolean; id: boolean } {
|
@@ -305,7 +305,7 @@ export function detectProfileChange(
|
|
305
305
|
return changes;
|
306
306
|
}
|
307
307
|
|
308
|
-
export function sanitizeUploadProfile(profile: ProductUploadProfile): ProductUploadProfile {
|
308
|
+
export function sanitizeUploadProfile (profile: ProductUploadProfile): ProductUploadProfile {
|
309
309
|
if (profile.rules?.sections) {
|
310
310
|
profile.rules.sections = profile.rules.sections.filter(section => section.ruleItems.length > 0);
|
311
311
|
}
|