feed-common 1.12.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [1.13.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.12.0...v1.13.0) (2024-06-08)
2
+
3
+
4
+ ### Features
5
+
6
+ * remove rules restriction on upload mappings ([9405040](https://github.com/advertikon/package-maxify-feed-common/commit/9405040406bf693dbaa637cf4e3f1b670112aa8d))
7
+
1
8
  # [1.12.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.11.1...v1.12.0) (2024-06-08)
2
9
 
3
10
 
@@ -147,7 +147,7 @@ export const ProductUploadMappings = [
147
147
  attribute: 'contentLanguage',
148
148
  type: 'select',
149
149
  choices: [SOURCE_LANGUAGE],
150
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
150
+ rules: [],
151
151
  description: 'Language for the item',
152
152
  },
153
153
  {
@@ -156,7 +156,7 @@ export const ProductUploadMappings = [
156
156
  attribute: 'targetCountry',
157
157
  type: 'select',
158
158
  choices: [SOURCE_COUNTRY],
159
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
159
+ rules: [],
160
160
  description: "The item's country of sale",
161
161
  },
162
162
  {
@@ -168,7 +168,7 @@ export const ProductUploadMappings = [
168
168
  { label: 'Yes', value: true },
169
169
  { label: 'No', value: false },
170
170
  ],
171
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
171
+ rules: [],
172
172
  description: 'Should be set to "Yes" if the item is targeted towards adults',
173
173
  },
174
174
  {
@@ -183,7 +183,7 @@ export const ProductUploadMappings = [
183
183
  { label: '5-13 years old', value: 'kids' },
184
184
  { label: '13 years old or more', value: 'adult' },
185
185
  ],
186
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
186
+ rules: [],
187
187
  description: 'Target age group of the item',
188
188
  },
189
189
  {
@@ -197,7 +197,7 @@ export const ProductUploadMappings = [
197
197
  { label: 'Preorder', value: 'preorder' },
198
198
  { label: 'Backorder', value: 'backorder' },
199
199
  ],
200
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag', 'inventory_policy', 'inventory_quantity'],
200
+ rules: [],
201
201
  description: 'Availability status of the item',
202
202
  },
203
203
  {
@@ -206,7 +206,7 @@ export const ProductUploadMappings = [
206
206
  attribute: 'brand',
207
207
  type: 'select',
208
208
  defaultValue: 'shopify.vendor',
209
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
209
+ rules: [],
210
210
  description: 'Brand of the item',
211
211
  choices: [ShopifyProductSource.vendor, SOURCE_VENDORS, ShopifyProductSource.custom],
212
212
  },
@@ -220,7 +220,7 @@ export const ProductUploadMappings = [
220
220
  { label: 'Female', value: 'female' },
221
221
  { label: 'Unisex', value: 'unisex' },
222
222
  ],
223
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
223
+ rules: [],
224
224
  description: 'Target gender of the item',
225
225
  },
226
226
  {
@@ -229,7 +229,7 @@ export const ProductUploadMappings = [
229
229
  attribute: 'googleProductCategory',
230
230
  type: 'select',
231
231
  choices: [SOURCE_GOOGLE_CATEGORY],
232
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
232
+ rules: [],
233
233
  description: "Google's category of the item",
234
234
  },
235
235
  {
@@ -238,7 +238,7 @@ export const ProductUploadMappings = [
238
238
  attribute: 'gtin',
239
239
  type: 'select',
240
240
  defaultValue: 'shopify.vendor',
241
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
241
+ rules: [],
242
242
  description: 'Global Trade Item Number (GTIN) of the item',
243
243
  choices: [
244
244
  ShopifyProductSource.barcode,
@@ -252,7 +252,7 @@ export const ProductUploadMappings = [
252
252
  attribute: 'mpn',
253
253
  type: 'select',
254
254
  defaultValue: 'shopify.vendor',
255
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
255
+ rules: [],
256
256
  description: 'Manufacturer Part Number (MPN) of the item',
257
257
  choices: [
258
258
  ShopifyProductSource.barcode,
@@ -270,7 +270,7 @@ export const ProductUploadMappings = [
270
270
  { label: 'Dynamic remarketing ads', value: 'Display_ads' },
271
271
  { label: 'Free listings', value: 'Free_listings' },
272
272
  ],
273
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
273
+ rules: [],
274
274
  description: 'The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center)',
275
275
  },
276
276
  {
@@ -278,7 +278,7 @@ export const ProductUploadMappings = [
278
278
  label: 'Shipping label',
279
279
  attribute: 'shippingLabel',
280
280
  type: 'text',
281
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
281
+ rules: [],
282
282
  description: 'The shipping label of the product, used to group product in account-level shipping rules',
283
283
  },
284
284
  // /**
@@ -1 +1 @@
1
- {"version":3,"file":"profile.constants.js","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAGA,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,sBAAsB,GAAG,gBAAgB,CAAC;AACvD,MAAM,CAAC,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;AACxD,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC;AAEhD,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;AAE5C,MAAM,CAAC,MAAM,aAAa,GAAG;IACzB,QAAQ,EAAE;QACN,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,UAAU;KACpB;IACD,WAAW,EAAE;QACT,KAAK,EAAE,cAAc;QACrB,KAA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ACxL,MAAM;IACN,kDAAkD;IAClD,MAAM;IACN,sLAAsL;IACtL,MAAM;IACN,2BAA2B;IAC3B,MAAM;IACN,2EAA2E;IAC3E,MAAM;IACN,8BAA8B;IAC9B,MAAM;IACN,yDAAyD;IACzD,MAAM;IACN,4BAA4B;CAC/B,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feed-common",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "Maxify feed common library",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -157,7 +157,7 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
157
157
  attribute: 'contentLanguage',
158
158
  type: 'select',
159
159
  choices: [SOURCE_LANGUAGE],
160
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
160
+ rules: [],
161
161
  description: 'Language for the item',
162
162
  },
163
163
  {
@@ -166,7 +166,7 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
166
166
  attribute: 'targetCountry',
167
167
  type: 'select',
168
168
  choices: [SOURCE_COUNTRY],
169
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
169
+ rules: [],
170
170
  description: "The item's country of sale",
171
171
  },
172
172
  {
@@ -178,7 +178,7 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
178
178
  { label: 'Yes', value: true },
179
179
  { label: 'No', value: false },
180
180
  ],
181
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
181
+ rules: [],
182
182
  description: 'Should be set to "Yes" if the item is targeted towards adults',
183
183
  },
184
184
  {
@@ -193,7 +193,7 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
193
193
  { label: '5-13 years old', value: 'kids' },
194
194
  { label: '13 years old or more', value: 'adult' },
195
195
  ],
196
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
196
+ rules: [],
197
197
  description: 'Target age group of the item',
198
198
  },
199
199
  {
@@ -207,7 +207,7 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
207
207
  { label: 'Preorder', value: 'preorder' },
208
208
  { label: 'Backorder', value: 'backorder' },
209
209
  ],
210
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag', 'inventory_policy', 'inventory_quantity'],
210
+ rules: [],
211
211
  description: 'Availability status of the item',
212
212
  },
213
213
  {
@@ -216,7 +216,7 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
216
216
  attribute: 'brand',
217
217
  type: 'select',
218
218
  defaultValue: 'shopify.vendor',
219
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
219
+ rules: [],
220
220
  description: 'Brand of the item',
221
221
  choices: [ShopifyProductSource.vendor, SOURCE_VENDORS, ShopifyProductSource.custom],
222
222
  },
@@ -230,7 +230,7 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
230
230
  { label: 'Female', value: 'female' },
231
231
  { label: 'Unisex', value: 'unisex' },
232
232
  ],
233
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
233
+ rules: [],
234
234
  description: 'Target gender of the item',
235
235
  },
236
236
  {
@@ -239,7 +239,7 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
239
239
  attribute: 'googleProductCategory',
240
240
  type: 'select',
241
241
  choices: [SOURCE_GOOGLE_CATEGORY],
242
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
242
+ rules: [],
243
243
  description: "Google's category of the item",
244
244
  },
245
245
  {
@@ -248,7 +248,7 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
248
248
  attribute: 'gtin',
249
249
  type: 'select',
250
250
  defaultValue: 'shopify.vendor',
251
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
251
+ rules: [],
252
252
  description: 'Global Trade Item Number (GTIN) of the item',
253
253
  choices: [
254
254
  ShopifyProductSource.barcode,
@@ -262,7 +262,7 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
262
262
  attribute: 'mpn',
263
263
  type: 'select',
264
264
  defaultValue: 'shopify.vendor',
265
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
265
+ rules: [],
266
266
  description: 'Manufacturer Part Number (MPN) of the item',
267
267
  choices: [
268
268
  ShopifyProductSource.barcode,
@@ -280,7 +280,7 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
280
280
  { label: 'Dynamic remarketing ads', value: 'Display_ads' },
281
281
  { label: 'Free listings', value: 'Free_listings' },
282
282
  ],
283
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
283
+ rules: [],
284
284
  description:
285
285
  'The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center)',
286
286
  },
@@ -289,7 +289,7 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
289
289
  label: 'Shipping label',
290
290
  attribute: 'shippingLabel',
291
291
  type: 'text',
292
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
292
+ rules: [],
293
293
  description: 'The shipping label of the product, used to group product in account-level shipping rules',
294
294
  },
295
295