feed-common 1.3.1 → 1.3.2

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.3.2](https://github.com/advertikon/package-maxify-feed-common/compare/v1.3.1...v1.3.2) (2024-04-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * set Availability as required GMC product field ([e9d1ea7](https://github.com/advertikon/package-maxify-feed-common/commit/e9d1ea7a0cd6f189402b22266d7495172af05cf2))
7
+
1
8
  ## [1.3.1](https://github.com/advertikon/package-maxify-feed-common/compare/v1.3.0...v1.3.1) (2024-04-14)
2
9
 
3
10
 
@@ -1,4 +1,4 @@
1
- import { ProductUploadMapSource, ProductUploadRuleFilterType } from '../types/profile.types.js';
1
+ import { ProductUploadMapSource, ProductUploadRuleFilterType } from "../types/profile.types.js";
2
2
  export declare const SOURCE_VENDORS = "source.vendor";
3
3
  export declare const SOURCE_TAGS = "source.tag";
4
4
  export declare const SOURCE_PRODUCT_TYPE = "source.product_type";
@@ -1 +1 @@
1
- {"version":3,"file":"profile.constants.d.ts","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,2BAA2B,EAC5B,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,cAAc,kBAAkB,CAAC;AAC9C,eAAO,MAAM,WAAW,eAAe,CAAC;AACxC,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,kBAAkB,sBAAsB,CAAC;AACtD,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C,eAAO,MAAM,sBAAsB,mBAAmB,CAAC;AACvD,eAAO,MAAM,sBAAsB,oBAAoB,CAAC;AACxD,eAAO,MAAM,kBAAkB,gBAAgB,CAAC;AAEhD,eAAO,MAAM,aAAa,iBAAiB,CAAC;AAE5C,eAAO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,MAAM,uBAAuB,8BAA8B,CAAC;AACnE,eAAO,MAAM,sBAAsB,UAKlC,CAAC"}
@@ -1,54 +1,54 @@
1
- export const SOURCE_VENDORS = 'source.vendor';
2
- export const SOURCE_TAGS = 'source.tag';
3
- export const SOURCE_PRODUCT_TYPE = 'source.product_type';
4
- export const SOURCE_COLLECTIONS = 'source.collection';
5
- export const SOURCE_LANGUAGE = 'source.language';
6
- export const SOURCE_GOOGLE_CATEGORY = 'source.google_category';
7
- export const SOURCE_COUNTRY = 'source.country';
8
- export const SOURCE_SHOPIFY_VENDORS = 'shopify.vendor';
9
- export const SOURCE_SHOPIFY_BARCODE = 'shopify.barcode';
10
- export const SOURCE_SHOPIFY_SKU = 'shopify.sku';
11
- export const SOURCE_CUSTOM = 'custom_input';
1
+ export const SOURCE_VENDORS = "source.vendor";
2
+ export const SOURCE_TAGS = "source.tag";
3
+ export const SOURCE_PRODUCT_TYPE = "source.product_type";
4
+ export const SOURCE_COLLECTIONS = "source.collection";
5
+ export const SOURCE_LANGUAGE = "source.language";
6
+ export const SOURCE_GOOGLE_CATEGORY = "source.google_category";
7
+ export const SOURCE_COUNTRY = "source.country";
8
+ export const SOURCE_SHOPIFY_VENDORS = "shopify.vendor";
9
+ export const SOURCE_SHOPIFY_BARCODE = "shopify.barcode";
10
+ export const SOURCE_SHOPIFY_SKU = "shopify.sku";
11
+ export const SOURCE_CUSTOM = "custom_input";
12
12
  export const RuleOperators = {
13
13
  contains: {
14
- label: 'Contains',
15
- value: 'contains',
14
+ label: "Contains",
15
+ value: "contains",
16
16
  },
17
17
  notContains: {
18
- label: 'Not Contains',
19
- value: 'notContains',
18
+ label: "Not Contains",
19
+ value: "notContains",
20
20
  },
21
21
  equals: {
22
- label: 'Equals',
23
- value: 'equals',
22
+ label: "Equals",
23
+ value: "equals",
24
24
  },
25
25
  notEquals: {
26
- label: 'Not Equals',
27
- value: 'notEquals',
26
+ label: "Not Equals",
27
+ value: "notEquals",
28
28
  },
29
29
  startsWith: {
30
- label: 'Starts With',
31
- value: 'startsWith',
30
+ label: "Starts With",
31
+ value: "startsWith",
32
32
  },
33
33
  notStartsWith: {
34
- label: 'Not Starts With',
35
- value: 'notStartsWith',
34
+ label: "Not Starts With",
35
+ value: "notStartsWith",
36
36
  },
37
37
  endsWith: {
38
- label: 'Ends With',
39
- value: 'endsWith',
38
+ label: "Ends With",
39
+ value: "endsWith",
40
40
  },
41
41
  notEndsWith: {
42
- label: 'Not Ends With',
43
- value: 'notEndsWith',
42
+ label: "Not Ends With",
43
+ value: "notEndsWith",
44
44
  },
45
45
  in: {
46
- label: 'In',
47
- value: 'in',
46
+ label: "In",
47
+ value: "in",
48
48
  },
49
49
  notIn: {
50
- label: 'Not In',
51
- value: 'notIn',
50
+ label: "Not In",
51
+ value: "notIn",
52
52
  },
53
53
  };
54
54
  export const ProductUploadRulesOperators = {
@@ -66,105 +66,105 @@ export const ProductUploadRulesOperators = {
66
66
  };
67
67
  export const ProductUploadRuleFilters = [
68
68
  {
69
- label: 'Title',
69
+ label: "Title",
70
70
  operators: ProductUploadRulesOperators.string,
71
- value: 'title',
71
+ value: "title",
72
72
  },
73
73
  {
74
- label: 'Collection',
74
+ label: "Collection",
75
75
  operators: ProductUploadRulesOperators.list,
76
- value: 'collection',
76
+ value: "collection",
77
77
  },
78
78
  {
79
- label: 'Product Type',
79
+ label: "Product Type",
80
80
  operators: ProductUploadRulesOperators.list,
81
- value: 'product_type',
81
+ value: "product_type",
82
82
  },
83
83
  {
84
- label: 'Vendor',
84
+ label: "Vendor",
85
85
  operators: ProductUploadRulesOperators.list,
86
- value: 'vendor',
86
+ value: "vendor",
87
87
  },
88
88
  {
89
- label: 'Tag',
89
+ label: "Tag",
90
90
  operators: ProductUploadRulesOperators.list,
91
- value: 'tag',
91
+ value: "tag",
92
92
  },
93
93
  ];
94
94
  const ShopifyProductSource = {
95
- vendor: { label: 'Shopify Product Vendor', value: SOURCE_SHOPIFY_VENDORS },
96
- barcode: { label: 'Shopify Product Barcode', value: SOURCE_SHOPIFY_BARCODE },
97
- sku: { label: 'Shopify Product SKU', value: SOURCE_SHOPIFY_SKU },
98
- custom: { label: 'Custom input', value: SOURCE_CUSTOM },
95
+ vendor: { label: "Shopify Product Vendor", value: SOURCE_SHOPIFY_VENDORS },
96
+ barcode: { label: "Shopify Product Barcode", value: SOURCE_SHOPIFY_BARCODE },
97
+ sku: { label: "Shopify Product SKU", value: SOURCE_SHOPIFY_SKU },
98
+ custom: { label: "Custom input", value: SOURCE_CUSTOM },
99
99
  };
100
100
  export const ProductUploadMappings = [
101
101
  {
102
102
  required: true,
103
- label: 'Content Language',
104
- attribute: 'contentLanguage',
105
- type: 'select',
103
+ label: "Content Language",
104
+ attribute: "contentLanguage",
105
+ type: "select",
106
106
  choices: [SOURCE_LANGUAGE],
107
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
108
- description: 'Language for the item',
107
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
108
+ description: "Language for the item",
109
109
  },
110
110
  {
111
111
  required: true,
112
- label: 'Target Country',
113
- attribute: 'targetCountry',
114
- type: 'select',
112
+ label: "Target Country",
113
+ attribute: "targetCountry",
114
+ type: "select",
115
115
  choices: [SOURCE_COUNTRY],
116
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
117
- description: 'The item\'s country of sale',
116
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
117
+ description: "The item's country of sale",
118
118
  },
119
119
  {
120
120
  required: false,
121
- label: 'Adult',
122
- attribute: 'adult',
123
- type: 'select',
121
+ label: "Adult",
122
+ attribute: "adult",
123
+ type: "select",
124
124
  choices: [
125
- { label: 'Yes', value: true },
126
- { label: 'No', value: false },
125
+ { label: "Yes", value: true },
126
+ { label: "No", value: false },
127
127
  ],
128
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
128
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
129
129
  description: 'Should be set to "Yes" if the item is targeted towards adults',
130
130
  },
131
131
  {
132
132
  required: false,
133
- label: 'Age Group',
134
- attribute: 'ageGroup',
135
- type: 'select',
133
+ label: "Age Group",
134
+ attribute: "ageGroup",
135
+ type: "select",
136
136
  choices: [
137
- { label: '0-3 months old', value: 'newborn' },
138
- { label: '3-12 months old', value: 'infant' },
139
- { label: '1-5 years old', value: 'toddler' },
140
- { label: '5-13 years old', value: 'kids' },
141
- { label: '13 years old or more', value: 'adult' },
137
+ { label: "0-3 months old", value: "newborn" },
138
+ { label: "3-12 months old", value: "infant" },
139
+ { label: "1-5 years old", value: "toddler" },
140
+ { label: "5-13 years old", value: "kids" },
141
+ { label: "13 years old or more", value: "adult" },
142
142
  ],
143
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
144
- description: 'Target age group of the item',
143
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
144
+ description: "Target age group of the item",
145
145
  },
146
146
  {
147
- required: false,
148
- label: 'Availability',
149
- attribute: 'availability',
150
- type: 'select',
147
+ required: true,
148
+ label: "Availability",
149
+ attribute: "availability",
150
+ type: "select",
151
151
  choices: [
152
- { label: 'In Stock', value: 'in_stock' },
153
- { label: 'Out Of Stock', value: 'out_of_stock' },
154
- { label: 'Preorder', value: 'preorder' },
155
- { label: 'Backorder', value: 'backorder' },
152
+ { label: "In Stock", value: "in_stock" },
153
+ { label: "Out Of Stock", value: "out_of_stock" },
154
+ { label: "Preorder", value: "preorder" },
155
+ { label: "Backorder", value: "backorder" },
156
156
  ],
157
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
158
- description: 'Availability status of the item',
157
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
158
+ description: "Availability status of the item",
159
159
  },
160
160
  {
161
161
  required: false,
162
- label: 'Brand',
163
- attribute: 'brand',
164
- type: 'select',
165
- defaultValue: 'shopify.vendor',
166
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
167
- description: 'Brand of the item',
162
+ label: "Brand",
163
+ attribute: "brand",
164
+ type: "select",
165
+ defaultValue: "shopify.vendor",
166
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
167
+ description: "Brand of the item",
168
168
  choices: [
169
169
  ShopifyProductSource.vendor,
170
170
  SOURCE_VENDORS,
@@ -173,74 +173,74 @@ export const ProductUploadMappings = [
173
173
  },
174
174
  {
175
175
  required: false,
176
- label: 'Gender',
177
- attribute: 'gender',
178
- type: 'select',
176
+ label: "Gender",
177
+ attribute: "gender",
178
+ type: "select",
179
179
  choices: [
180
- { label: 'Male', value: 'male' },
181
- { label: 'Female', value: 'female' },
182
- { label: 'Unisex', value: 'unisex' },
180
+ { label: "Male", value: "male" },
181
+ { label: "Female", value: "female" },
182
+ { label: "Unisex", value: "unisex" },
183
183
  ],
184
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
185
- description: 'Target gender of the item',
184
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
185
+ description: "Target gender of the item",
186
186
  },
187
187
  {
188
188
  required: false,
189
- label: 'Google category',
190
- attribute: 'googleProductCategory',
191
- type: 'select',
189
+ label: "Google category",
190
+ attribute: "googleProductCategory",
191
+ type: "select",
192
192
  choices: [SOURCE_GOOGLE_CATEGORY],
193
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
194
- description: 'Google\'s category of the item',
193
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
194
+ description: "Google's category of the item",
195
195
  },
196
196
  {
197
197
  required: false,
198
- label: 'GTIN',
199
- attribute: 'gtin',
200
- type: 'select',
201
- defaultValue: 'shopify.vendor',
202
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
203
- description: 'Global Trade Item Number (GTIN) of the item',
198
+ label: "GTIN",
199
+ attribute: "gtin",
200
+ type: "select",
201
+ defaultValue: "shopify.vendor",
202
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
203
+ description: "Global Trade Item Number (GTIN) of the item",
204
204
  choices: [
205
205
  ShopifyProductSource.barcode,
206
206
  ShopifyProductSource.sku,
207
- { label: 'Custom input', value: SOURCE_CUSTOM },
207
+ { label: "Custom input", value: SOURCE_CUSTOM },
208
208
  ],
209
209
  },
210
210
  {
211
211
  required: false,
212
- label: 'MPN',
213
- attribute: 'mpn',
214
- type: 'select',
215
- defaultValue: 'shopify.vendor',
216
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
217
- description: 'Manufacturer Part Number (MPN) of the item',
212
+ label: "MPN",
213
+ attribute: "mpn",
214
+ type: "select",
215
+ defaultValue: "shopify.vendor",
216
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
217
+ description: "Manufacturer Part Number (MPN) of the item",
218
218
  choices: [
219
219
  ShopifyProductSource.barcode,
220
220
  ShopifyProductSource.sku,
221
- { label: 'Custom input', value: SOURCE_CUSTOM },
221
+ { label: "Custom input", value: SOURCE_CUSTOM },
222
222
  ],
223
223
  },
224
224
  {
225
225
  required: false,
226
- label: 'Included Destinations',
227
- attribute: 'includedDestinations',
228
- type: 'multiselect',
226
+ label: "Included Destinations",
227
+ attribute: "includedDestinations",
228
+ type: "multiselect",
229
229
  choices: [
230
- { label: 'Shopping ads', value: 'Shopping_ads' },
231
- { label: 'Dynamic remarketing ads', value: 'Display_ads' },
232
- { label: 'Free listings', value: 'Free_listings' },
230
+ { label: "Shopping ads", value: "Shopping_ads" },
231
+ { label: "Dynamic remarketing ads", value: "Display_ads" },
232
+ { label: "Free listings", value: "Free_listings" },
233
233
  ],
234
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
235
- description: 'The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center)',
234
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
235
+ description: "The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center)",
236
236
  },
237
237
  {
238
238
  required: false,
239
- label: 'Shipping label',
240
- attribute: 'shippingLabel',
241
- type: 'text',
242
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
243
- description: 'The shipping label of the product, used to group product in account-level shipping rules',
239
+ label: "Shipping label",
240
+ attribute: "shippingLabel",
241
+ type: "text",
242
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
243
+ description: "The shipping label of the product, used to group product in account-level shipping rules",
244
244
  },
245
245
  // /**
246
246
  // * The day a pre-ordered product becomes available for delivery, in ISO 8601 format.
@@ -351,7 +351,12 @@ export const ProductUploadMappings = [
351
351
  // */
352
352
  // sizeType?: string | null;
353
353
  ];
354
- export const CHANNEL = 'online';
355
- export const GMC_PRODUCT_ID_TEMPLATE = '{PRODUCT_ID}_{VARIANT_ID}';
356
- export const ProfileIdTemplateCodes = ['PRODUCT_ID', 'VARIANT_ID', 'COUNTRY', 'LANGUAGE'];
354
+ export const CHANNEL = "online";
355
+ export const GMC_PRODUCT_ID_TEMPLATE = "{PRODUCT_ID}_{VARIANT_ID}";
356
+ export const ProfileIdTemplateCodes = [
357
+ "PRODUCT_ID",
358
+ "VARIANT_ID",
359
+ "COUNTRY",
360
+ "LANGUAGE",
361
+ ];
357
362
  //# sourceMappingURL=profile.constants.js.map
@@ -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,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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IACtC,MAAM;IACN,oDAAoD;IACpD,MAAM;IACN,sCAAsC;IACtC,MAAM;IACN,oDAAoD;IACpD,MAAM;IACN,sCAAsC;IACtC,MAAM;IACN,iDAAiD;IACjD,MAAM;IACN,qCAAqC;IACrC,MAAM;IACN,mDAAmD;IACnD,MAAM;IACN,wLAAwL;IACxL,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;CAC7B,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"}
1
+ {"version":3,"file":"profile.constants.js","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAMA,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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IACtC,MAAM;IACN,oDAAoD;IACpD,MAAM;IACN,sCAAsC;IACtC,MAAM;IACN,oDAAoD;IACpD,MAAM;IACN,sCAAsC;IACtC,MAAM;IACN,iDAAiD;IACjD,MAAM;IACN,qCAAqC;IACrC,MAAM;IACN,mDAAmD;IACnD,MAAM;IACN,wLAAwL;IACxL,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;CAC7B,CAAC;AACF,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC;AAChC,MAAM,CAAC,MAAM,uBAAuB,GAAG,2BAA2B,CAAC;AACnE,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,YAAY;IACZ,YAAY;IACZ,SAAS;IACT,UAAU;CACX,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feed-common",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Maxify feed common library",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -1,62 +1,63 @@
1
+ /* eslint-disable quotes */
1
2
  import {
2
3
  ProductUploadMapSource,
3
4
  ProductUploadRuleFilterType,
4
- } from '../types/profile.types.js';
5
+ } from "../types/profile.types.js";
5
6
 
6
- export const SOURCE_VENDORS = 'source.vendor';
7
- export const SOURCE_TAGS = 'source.tag';
8
- export const SOURCE_PRODUCT_TYPE = 'source.product_type';
9
- export const SOURCE_COLLECTIONS = 'source.collection';
10
- export const SOURCE_LANGUAGE = 'source.language';
11
- export const SOURCE_GOOGLE_CATEGORY = 'source.google_category';
12
- export const SOURCE_COUNTRY = 'source.country';
7
+ export const SOURCE_VENDORS = "source.vendor";
8
+ export const SOURCE_TAGS = "source.tag";
9
+ export const SOURCE_PRODUCT_TYPE = "source.product_type";
10
+ export const SOURCE_COLLECTIONS = "source.collection";
11
+ export const SOURCE_LANGUAGE = "source.language";
12
+ export const SOURCE_GOOGLE_CATEGORY = "source.google_category";
13
+ export const SOURCE_COUNTRY = "source.country";
13
14
 
14
- export const SOURCE_SHOPIFY_VENDORS = 'shopify.vendor';
15
- export const SOURCE_SHOPIFY_BARCODE = 'shopify.barcode';
16
- export const SOURCE_SHOPIFY_SKU = 'shopify.sku';
15
+ export const SOURCE_SHOPIFY_VENDORS = "shopify.vendor";
16
+ export const SOURCE_SHOPIFY_BARCODE = "shopify.barcode";
17
+ export const SOURCE_SHOPIFY_SKU = "shopify.sku";
17
18
 
18
- export const SOURCE_CUSTOM = 'custom_input';
19
+ export const SOURCE_CUSTOM = "custom_input";
19
20
 
20
21
  export const RuleOperators = {
21
22
  contains: {
22
- label: 'Contains',
23
- value: 'contains',
23
+ label: "Contains",
24
+ value: "contains",
24
25
  },
25
26
  notContains: {
26
- label: 'Not Contains',
27
- value: 'notContains',
27
+ label: "Not Contains",
28
+ value: "notContains",
28
29
  },
29
30
  equals: {
30
- label: 'Equals',
31
- value: 'equals',
31
+ label: "Equals",
32
+ value: "equals",
32
33
  },
33
34
  notEquals: {
34
- label: 'Not Equals',
35
- value: 'notEquals',
35
+ label: "Not Equals",
36
+ value: "notEquals",
36
37
  },
37
38
  startsWith: {
38
- label: 'Starts With',
39
- value: 'startsWith',
39
+ label: "Starts With",
40
+ value: "startsWith",
40
41
  },
41
42
  notStartsWith: {
42
- label: 'Not Starts With',
43
- value: 'notStartsWith',
43
+ label: "Not Starts With",
44
+ value: "notStartsWith",
44
45
  },
45
46
  endsWith: {
46
- label: 'Ends With',
47
- value: 'endsWith',
47
+ label: "Ends With",
48
+ value: "endsWith",
48
49
  },
49
50
  notEndsWith: {
50
- label: 'Not Ends With',
51
- value: 'notEndsWith',
51
+ label: "Not Ends With",
52
+ value: "notEndsWith",
52
53
  },
53
54
  in: {
54
- label: 'In',
55
- value: 'in',
55
+ label: "In",
56
+ value: "in",
56
57
  },
57
58
  notIn: {
58
- label: 'Not In',
59
- value: 'notIn',
59
+ label: "Not In",
60
+ value: "notIn",
60
61
  },
61
62
  };
62
63
 
@@ -76,108 +77,108 @@ export const ProductUploadRulesOperators = {
76
77
 
77
78
  export const ProductUploadRuleFilters: ProductUploadRuleFilterType[] = [
78
79
  {
79
- label: 'Title',
80
+ label: "Title",
80
81
  operators: ProductUploadRulesOperators.string,
81
- value: 'title',
82
+ value: "title",
82
83
  },
83
84
  {
84
- label: 'Collection',
85
+ label: "Collection",
85
86
  operators: ProductUploadRulesOperators.list,
86
- value: 'collection',
87
+ value: "collection",
87
88
  },
88
89
  {
89
- label: 'Product Type',
90
+ label: "Product Type",
90
91
  operators: ProductUploadRulesOperators.list,
91
- value: 'product_type',
92
+ value: "product_type",
92
93
  },
93
94
  {
94
- label: 'Vendor',
95
+ label: "Vendor",
95
96
  operators: ProductUploadRulesOperators.list,
96
- value: 'vendor',
97
+ value: "vendor",
97
98
  },
98
99
  {
99
- label: 'Tag',
100
+ label: "Tag",
100
101
  operators: ProductUploadRulesOperators.list,
101
- value: 'tag',
102
+ value: "tag",
102
103
  },
103
104
  ];
104
105
 
105
106
  const ShopifyProductSource = {
106
- vendor: { label: 'Shopify Product Vendor', value: SOURCE_SHOPIFY_VENDORS },
107
- barcode: { label: 'Shopify Product Barcode', value: SOURCE_SHOPIFY_BARCODE },
108
- sku: { label: 'Shopify Product SKU', value: SOURCE_SHOPIFY_SKU },
109
- custom: { label: 'Custom input', value: SOURCE_CUSTOM },
107
+ vendor: { label: "Shopify Product Vendor", value: SOURCE_SHOPIFY_VENDORS },
108
+ barcode: { label: "Shopify Product Barcode", value: SOURCE_SHOPIFY_BARCODE },
109
+ sku: { label: "Shopify Product SKU", value: SOURCE_SHOPIFY_SKU },
110
+ custom: { label: "Custom input", value: SOURCE_CUSTOM },
110
111
  };
111
112
 
112
113
  export const ProductUploadMappings: ProductUploadMapSource[] = [
113
114
  {
114
115
  required: true,
115
- label: 'Content Language',
116
- attribute: 'contentLanguage',
117
- type: 'select',
116
+ label: "Content Language",
117
+ attribute: "contentLanguage",
118
+ type: "select",
118
119
  choices: [SOURCE_LANGUAGE],
119
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
120
- description: 'Language for the item',
120
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
121
+ description: "Language for the item",
121
122
  },
122
123
  {
123
124
  required: true,
124
- label: 'Target Country',
125
- attribute: 'targetCountry',
126
- type: 'select',
125
+ label: "Target Country",
126
+ attribute: "targetCountry",
127
+ type: "select",
127
128
  choices: [SOURCE_COUNTRY],
128
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
129
- description: 'The item\'s country of sale',
129
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
130
+ description: "The item's country of sale",
130
131
  },
131
132
  {
132
133
  required: false,
133
- label: 'Adult',
134
- attribute: 'adult',
135
- type: 'select',
134
+ label: "Adult",
135
+ attribute: "adult",
136
+ type: "select",
136
137
  choices: [
137
- { label: 'Yes', value: true },
138
- { label: 'No', value: false },
138
+ { label: "Yes", value: true },
139
+ { label: "No", value: false },
139
140
  ],
140
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
141
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
141
142
  description:
142
143
  'Should be set to "Yes" if the item is targeted towards adults',
143
144
  },
144
145
  {
145
146
  required: false,
146
- label: 'Age Group',
147
- attribute: 'ageGroup',
148
- type: 'select',
147
+ label: "Age Group",
148
+ attribute: "ageGroup",
149
+ type: "select",
149
150
  choices: [
150
- { label: '0-3 months old', value: 'newborn' },
151
- { label: '3-12 months old', value: 'infant' },
152
- { label: '1-5 years old', value: 'toddler' },
153
- { label: '5-13 years old', value: 'kids' },
154
- { label: '13 years old or more', value: 'adult' },
151
+ { label: "0-3 months old", value: "newborn" },
152
+ { label: "3-12 months old", value: "infant" },
153
+ { label: "1-5 years old", value: "toddler" },
154
+ { label: "5-13 years old", value: "kids" },
155
+ { label: "13 years old or more", value: "adult" },
155
156
  ],
156
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
157
- description: 'Target age group of the item',
157
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
158
+ description: "Target age group of the item",
158
159
  },
159
160
  {
160
- required: false,
161
- label: 'Availability',
162
- attribute: 'availability',
163
- type: 'select',
161
+ required: true,
162
+ label: "Availability",
163
+ attribute: "availability",
164
+ type: "select",
164
165
  choices: [
165
- { label: 'In Stock', value: 'in_stock' },
166
- { label: 'Out Of Stock', value: 'out_of_stock' },
167
- { label: 'Preorder', value: 'preorder' },
168
- { label: 'Backorder', value: 'backorder' },
166
+ { label: "In Stock", value: "in_stock" },
167
+ { label: "Out Of Stock", value: "out_of_stock" },
168
+ { label: "Preorder", value: "preorder" },
169
+ { label: "Backorder", value: "backorder" },
169
170
  ],
170
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
171
- description: 'Availability status of the item',
171
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
172
+ description: "Availability status of the item",
172
173
  },
173
174
  {
174
175
  required: false,
175
- label: 'Brand',
176
- attribute: 'brand',
177
- type: 'select',
178
- defaultValue: 'shopify.vendor',
179
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
180
- description: 'Brand of the item',
176
+ label: "Brand",
177
+ attribute: "brand",
178
+ type: "select",
179
+ defaultValue: "shopify.vendor",
180
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
181
+ description: "Brand of the item",
181
182
  choices: [
182
183
  ShopifyProductSource.vendor,
183
184
  SOURCE_VENDORS,
@@ -186,76 +187,76 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
186
187
  },
187
188
  {
188
189
  required: false,
189
- label: 'Gender',
190
- attribute: 'gender',
191
- type: 'select',
190
+ label: "Gender",
191
+ attribute: "gender",
192
+ type: "select",
192
193
  choices: [
193
- { label: 'Male', value: 'male' },
194
- { label: 'Female', value: 'female' },
195
- { label: 'Unisex', value: 'unisex' },
194
+ { label: "Male", value: "male" },
195
+ { label: "Female", value: "female" },
196
+ { label: "Unisex", value: "unisex" },
196
197
  ],
197
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
198
- description: 'Target gender of the item',
198
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
199
+ description: "Target gender of the item",
199
200
  },
200
201
  {
201
202
  required: false,
202
- label: 'Google category',
203
- attribute: 'googleProductCategory',
204
- type: 'select',
203
+ label: "Google category",
204
+ attribute: "googleProductCategory",
205
+ type: "select",
205
206
  choices: [SOURCE_GOOGLE_CATEGORY],
206
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
207
- description: 'Google\'s category of the item',
207
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
208
+ description: "Google's category of the item",
208
209
  },
209
210
  {
210
211
  required: false,
211
- label: 'GTIN',
212
- attribute: 'gtin',
213
- type: 'select',
214
- defaultValue: 'shopify.vendor',
215
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
216
- description: 'Global Trade Item Number (GTIN) of the item',
212
+ label: "GTIN",
213
+ attribute: "gtin",
214
+ type: "select",
215
+ defaultValue: "shopify.vendor",
216
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
217
+ description: "Global Trade Item Number (GTIN) of the item",
217
218
  choices: [
218
219
  ShopifyProductSource.barcode,
219
220
  ShopifyProductSource.sku,
220
- { label: 'Custom input', value: SOURCE_CUSTOM },
221
+ { label: "Custom input", value: SOURCE_CUSTOM },
221
222
  ],
222
223
  },
223
224
  {
224
225
  required: false,
225
- label: 'MPN',
226
- attribute: 'mpn',
227
- type: 'select',
228
- defaultValue: 'shopify.vendor',
229
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
230
- description: 'Manufacturer Part Number (MPN) of the item',
226
+ label: "MPN",
227
+ attribute: "mpn",
228
+ type: "select",
229
+ defaultValue: "shopify.vendor",
230
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
231
+ description: "Manufacturer Part Number (MPN) of the item",
231
232
  choices: [
232
233
  ShopifyProductSource.barcode,
233
234
  ShopifyProductSource.sku,
234
- { label: 'Custom input', value: SOURCE_CUSTOM },
235
+ { label: "Custom input", value: SOURCE_CUSTOM },
235
236
  ],
236
237
  },
237
238
  {
238
239
  required: false,
239
- label: 'Included Destinations',
240
- attribute: 'includedDestinations',
241
- type: 'multiselect',
240
+ label: "Included Destinations",
241
+ attribute: "includedDestinations",
242
+ type: "multiselect",
242
243
  choices: [
243
- { label: 'Shopping ads', value: 'Shopping_ads' },
244
- { label: 'Dynamic remarketing ads', value: 'Display_ads' },
245
- { label: 'Free listings', value: 'Free_listings' },
244
+ { label: "Shopping ads", value: "Shopping_ads" },
245
+ { label: "Dynamic remarketing ads", value: "Display_ads" },
246
+ { label: "Free listings", value: "Free_listings" },
246
247
  ],
247
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
248
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
248
249
  description:
249
- 'The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center)',
250
+ "The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center)",
250
251
  },
251
252
  {
252
253
  required: false,
253
- label: 'Shipping label',
254
- attribute: 'shippingLabel',
255
- type: 'text',
256
- rules: ['title', 'collection', 'product_type', 'vendor', 'tag'],
254
+ label: "Shipping label",
255
+ attribute: "shippingLabel",
256
+ type: "text",
257
+ rules: ["title", "collection", "product_type", "vendor", "tag"],
257
258
  description:
258
- 'The shipping label of the product, used to group product in account-level shipping rules',
259
+ "The shipping label of the product, used to group product in account-level shipping rules",
259
260
  },
260
261
 
261
262
  // /**
@@ -367,6 +368,11 @@ export const ProductUploadMappings: ProductUploadMapSource[] = [
367
368
  // */
368
369
  // sizeType?: string | null;
369
370
  ];
370
- export const CHANNEL = 'online';
371
- export const GMC_PRODUCT_ID_TEMPLATE = '{PRODUCT_ID}_{VARIANT_ID}';
372
- export const ProfileIdTemplateCodes = ['PRODUCT_ID', 'VARIANT_ID', 'COUNTRY', 'LANGUAGE'];
371
+ export const CHANNEL = "online";
372
+ export const GMC_PRODUCT_ID_TEMPLATE = "{PRODUCT_ID}_{VARIANT_ID}";
373
+ export const ProfileIdTemplateCodes = [
374
+ "PRODUCT_ID",
375
+ "VARIANT_ID",
376
+ "COUNTRY",
377
+ "LANGUAGE",
378
+ ];