feed-common 1.44.0 → 1.45.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.45.1](https://github.com/advertikon/package-maxify-feed-common/compare/v1.45.0...v1.45.1) (2024-09-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix Microsoft feed ([a308ae8](https://github.com/advertikon/package-maxify-feed-common/commit/a308ae86f063733104c8c40a26b98c7fa3dd1762))
7
+
8
+ # [1.45.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.44.0...v1.45.0) (2024-09-14)
9
+
10
+
11
+ ### Features
12
+
13
+ * add Microsoft feed ([7636fed](https://github.com/advertikon/package-maxify-feed-common/commit/7636fed274d3aabce4e6c4009eaa4e5f84934e07))
14
+
1
15
  # [1.44.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.43.1...v1.44.0) (2024-09-14)
2
16
 
3
17
 
@@ -327,6 +327,7 @@ export declare enum XMLFeedType {
327
327
  GMC_API = "GMC API",
328
328
  Facebook = "Facebook",
329
329
  Google = "Google",
330
- TikTok = "TikTok"
330
+ TikTok = "TikTok",
331
+ Microsoft = "Microsoft"
331
332
  }
332
333
  //# sourceMappingURL=profile.constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile.constants.d.ts","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAEhG,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,aAAa,iBA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,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;AAChE,eAAO,MAAM,+BAA+B,6BAA6B,CAAC;AAE1E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuChC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,sBAAsB,EAgJzD,CAAC;AACF,eAAO,MAAM,OAAO,WAAW,CAAC;AAChC,eAAO,MAAM,uBAAuB,8BAA8B,CAAC;AACnE,eAAO,MAAM,sBAAsB,UAAsD,CAAC;AAE1F,oBAAY,aAAa;IACrB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;CACd;AAED,oBAAY,WAAW;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,SAAS,cAAc;CAC1B"}
@@ -515,5 +515,6 @@ export var XMLFeedType;
515
515
  XMLFeedType["Facebook"] = "Facebook";
516
516
  XMLFeedType["Google"] = "Google";
517
517
  XMLFeedType["TikTok"] = "TikTok";
518
+ XMLFeedType["Microsoft"] = "Microsoft";
518
519
  })(XMLFeedType || (XMLFeedType = {}));
519
520
  //# sourceMappingURL=profile.constants.js.map
@@ -1 +1 @@
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,eAiBX;AAjBD,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;IACnC,kCAAe,CAAA;IACf,yCAAsB,CAAA;AAC1B,CAAC,EAjBW,eAAe,KAAf,eAAe,QAiB1B;AAED,MAAM,CAAN,IAAY,gBAWX;AAXD,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;IACf,+CAA2B,CAAA;IAC3B,mCAAe,CAAA;AACnB,CA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EAAE;YACL,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;YAChD,EAAE,KAAK,EAAE,yBAAyB,EAAE,KAAK,EAAE,aAAa,EAAE;YAC1D,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,EAAE;SACrD;QACD,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;QACvB,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,QAAQ,EAAE,EAAE,EAAE;QACvB,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;AAE1F,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACrB,4BAAW,CAAA;IACX,4BAAW,CAAA;IACX,4BAAW,CAAA;IACX,8BAAa,CAAA;IACb,4BAAW,CAAA;AACf,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB;AAED,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACnB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;IACnB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;AACrB,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB"}
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,GA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B,CAAC,GAAG,EAAE,GAAG,CAAC,CAMrH;AAED,eAAO,MAAM,eAAe,qIAatB,CAAC;AAIP,eAAO,MAAM,kBAAkB,UAAW,MAAM,EAAE,8CAmB5C,CAAC;AAEP,eAAO,MAAM,iBAAiB,2CAE2D,CAAC;AAE1F,wBAAgB,WAAW,CAAC,IAAI,EAAE,WAAW,GAAG,mBAAmB,CAelE"}
@@ -5,6 +5,7 @@ import { customFeedTemplate } from './custom.template.js';
5
5
  import { facebookFeedTemplate } from './facebook.template.js';
6
6
  import { googleFeedTemplate } from './google.template.js';
7
7
  import { tiktokFeedTemplate } from './tiktok.template.js';
8
+ import { microsoftTemplate } from './microsoft.template.js';
8
9
  export const hasMacro = (v) => /{{[^}]+}}/.test(v);
9
10
  export const removeMacro = (v) => v.replaceAll(/{{[^}]+}}/g, '');
10
11
  export function validate(value, validator, skipEmpty = true) {
@@ -69,6 +70,8 @@ export function getTemplate(type) {
69
70
  return googleFeedTemplate;
70
71
  case XMLFeedType.TikTok:
71
72
  return tiktokFeedTemplate;
73
+ case XMLFeedType.Microsoft:
74
+ return microsoftTemplate;
72
75
  default:
73
76
  throw new Error(`Invalid feed type: ${type}`);
74
77
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/feed-templates/index.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,EAAuB,CAAC,EAAW,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,WAAW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,3 @@
1
- import { XmlFeedFormat } from '../../constants/profile.constants.js';
2
- import { z } from 'zod';
3
- export declare const microsoftTemplate: {
4
- formats: XmlFeedFormat[];
5
- documentation: string;
6
- mapping: ({
7
- attribute: string;
8
- label: string;
9
- description: string;
10
- required: boolean;
11
- type: string;
12
- validator: (v: string | number) => z.SafeParseReturnType<any, any>;
13
- defaultValue: string;
14
- rules: {
15
- sections: never[];
16
- };
17
- } | {
18
- attribute: string;
19
- label: string;
20
- description: string;
21
- required: boolean;
22
- type: string;
23
- defaultValue: string;
24
- rules: {
25
- sections: never[];
26
- };
27
- validator?: undefined;
28
- })[];
29
- };
1
+ import { XmlFeedTemplateType } from '../../types/profile.types.js';
2
+ export declare const microsoftTemplate: XmlFeedTemplateType;
30
3
  //# sourceMappingURL=microsoft.template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"microsoft.template.d.ts","sourceRoot":"","sources":["../../../src/utils/feed-templates/microsoft.template.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,iBAAiB;;;;;;;;;uBAiCH,MAAM,GAAG,MAAM;;;;;;;;;;;;;;;;;CAqHzC,CAAC"}
1
+ {"version":3,"file":"microsoft.template.d.ts","sourceRoot":"","sources":["../../../src/utils/feed-templates/microsoft.template.ts"],"names":[],"mappings":"AAKA,OAAO,EAA0B,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAwB3F,eAAO,MAAM,iBAAiB,EAAE,mBAylB/B,CAAC"}
@@ -1,7 +1,25 @@
1
1
  /* eslint-disable max-len */
2
- import { validate, validateIfNoMacro } from './index.js';
3
- import { XmlFeedFormat } from '../../constants/profile.constants.js';
2
+ import { dateRangeSchema, measureUnitsSchema, validate, validateIfNoMacro } from './index.js';
3
+ import { SOURCE_LANGUAGE, XmlFeedFormat } from '../../constants/profile.constants.js';
4
4
  import { z } from 'zod';
5
+ import { ulid } from 'ulid';
6
+ const availabilityMapping = {
7
+ attribute: 'availability',
8
+ label: 'Availability',
9
+ description: 'Availability of item. If no values are provided, the availability will be set to "in stock" by default. Valid options: in stock, out of stock, preorder. Default is "in stock. Example: in stock out of stock preorder',
10
+ required: true,
11
+ type: 'macro-input',
12
+ validator: (v) => validateIfNoMacro(v, z.enum(['in stock', 'available for order', 'preorder', 'out of stock', 'discontinued'])),
13
+ };
14
+ const customLabelMapping = {
15
+ attribute: '',
16
+ label: '',
17
+ description: 'Use to identify products for ad campaign filters. Use custom labels to add a value to the label, such as seasonal or sale items. Alphanumeric. Max 100 characters. Single-value. Up to 1000 unique values for each custom label attribute (up to 5000 labels total). Example: Best sellers, High ROAS, Winter',
18
+ required: false,
19
+ type: 'macro-input',
20
+ validator: (v) => validateIfNoMacro(v, z.string().max(100)),
21
+ rules: { sections: [] },
22
+ };
5
23
  export const microsoftTemplate = {
6
24
  formats: [XmlFeedFormat.TSV],
7
25
  documentation: 'https://help.ads.microsoft.com/#apex/ads/en/51084',
@@ -141,6 +159,404 @@ export const microsoftTemplate = {
141
159
  validator: (v) => validate(v, z.string().max(70).optional()),
142
160
  rules: { sections: [] },
143
161
  },
162
+ {
163
+ attribute: 'age_group',
164
+ label: 'Age group',
165
+ description: 'Age group targeted by the item. Required for all Apparel & Accessories products when targeting these countries: France, Germany, United Kingdom, and United States. Valid Options: newborn, infant, toddler, kids, adult Example: newborn',
166
+ required: false,
167
+ type: 'macro-input',
168
+ defaultValue: '',
169
+ rules: { sections: [] },
170
+ validator: v => validate(v, z.enum(['newborn', 'infant', 'toddler', 'kids', 'adult']).optional()),
171
+ },
172
+ {
173
+ attribute: 'color',
174
+ label: 'Color',
175
+ description: 'The dominant color of the item. Required for all Apparel & Accessories products when targeting these countries: France, Germany, United Kingdom, and United States. Text: Character limit 100 Supports up to 3 values separated by a slash [/] with most dominant color first. Example: red/black/white ',
176
+ required: false,
177
+ type: 'macro-input',
178
+ defaultValue: '',
179
+ rules: { sections: [] },
180
+ validator: (v) => validate(v, z.string().max(100).optional()),
181
+ },
182
+ {
183
+ attribute: 'gender',
184
+ label: 'Gender',
185
+ description: 'Gender targeted by the item. Required for all Apparel & Accessories products when targeting these countries: France, Germany, United Kingdom, and United States. Valid options: male, female, unisex. No other option will be accepted. Example: male',
186
+ required: false,
187
+ type: 'macro-input',
188
+ defaultValue: '',
189
+ rules: { sections: [] },
190
+ validator: v => validate(v, z.enum(['female', 'male', 'unisex', '']).optional()),
191
+ },
192
+ {
193
+ attribute: 'size',
194
+ label: 'Size',
195
+ description: 'Size of the item. Alphanumeric Max 100 characters String/Unicode characters. Example: small, medium, large',
196
+ required: false,
197
+ type: 'macro-input',
198
+ validator: (v) => validate(v, z.string().max(100).optional()),
199
+ defaultValue: '',
200
+ rules: { sections: [] },
201
+ },
202
+ {
203
+ attribute: 'size_system',
204
+ label: 'Size system',
205
+ description: 'Size system of the item. If Size system is not provided, the item will default to the size system of the target country. Single value Supported values: DE, FR, AU, US, and UK ',
206
+ required: false,
207
+ type: 'macro-input',
208
+ defaultValue: '',
209
+ rules: { sections: [] },
210
+ validator: v => validate(v, z.enum(['DE', 'FR', 'AU', 'US', 'UK', '']).optional()),
211
+ },
212
+ {
213
+ attribute: 'size_type',
214
+ label: 'Size type',
215
+ description: 'Size type of the item. Supported values: regular, petite, plus, big and tall, or maternity. Example: regular, petite',
216
+ required: false,
217
+ type: 'macro-input',
218
+ defaultValue: '',
219
+ rules: { sections: [] },
220
+ validator: v => validate(v, z.enum(['regular', 'petite', 'plus', 'big', 'tall', 'maternity', '']).optional()),
221
+ },
222
+ {
223
+ attribute: 'additional_image_link',
224
+ label: 'Additional image link',
225
+ description: 'The URLs of additional images. Alphanumeric 2000 character limit Link must be HTTP or HTTPs only Image must be: bmp, gif, exif, jpg, png, or tiff The recommended minimum size is 220px by 220px The image size cannot exceed 3.9 MB No watermarks or free shipping text',
226
+ required: false,
227
+ type: 'macro-input',
228
+ defaultValue: '{{shopify.images}}',
229
+ rules: { sections: [] },
230
+ validator: (v) => validate(v, z
231
+ .string()
232
+ .max(2000)
233
+ .refine(v => !v || v.split(',').length <= 10, { message: 'Maximum 10 images allowed' })
234
+ .optional()),
235
+ },
236
+ {
237
+ attribute: 'item_group_id',
238
+ label: 'Item group ID',
239
+ description: 'Used to group items that may vary by color, material, pattern, size, age_group, or gender. This ID is different from the "ID" attribute. Values must be different for items, unless items are variants of the same item. At least one of the variant attributes (size, color, material, pattern, age_group, or gender) must be provided and the same variant attribute must be provided for all items within the group. Alphanumeric Max 50 Unicode characters. Example: XYZ123',
240
+ required: false,
241
+ type: 'macro-input',
242
+ defaultValue: '{{shopify.id}}',
243
+ rules: { sections: [] },
244
+ },
245
+ {
246
+ attribute: 'material',
247
+ label: 'Material',
248
+ description: 'The material of the item. Alphanumeric: Max 200 characters. Supports up to 3 values separated by a slash [/] with most dominant material first. Example: leather/suede/silk',
249
+ required: false,
250
+ type: 'macro-input',
251
+ defaultValue: '',
252
+ rules: { sections: [] },
253
+ validator: (v) => validate(v, z
254
+ .string()
255
+ .max(200)
256
+ .refine(v => !v || v.split('/').length <= 3, { message: 'Maximum 3 values allowed' })
257
+ .optional()),
258
+ },
259
+ {
260
+ attribute: 'pattern',
261
+ label: 'Pattern',
262
+ description: 'The pattern or graphic print of the item. Alphanumeric: Max 100 characters Example: checkered',
263
+ required: false,
264
+ type: 'macro-input',
265
+ defaultValue: '',
266
+ rules: { sections: [] },
267
+ validator: (v) => validate(v, z.string().max(100).optional()),
268
+ },
269
+ {
270
+ attribute: 'adult',
271
+ label: 'Adult',
272
+ description: 'Microsoft Advertising does not support adult products. Any adult products submitted in the feed will be rejected. Boolean:TRUE or FALSE. Example: FALSE',
273
+ required: false,
274
+ type: 'macro-input',
275
+ validator: (v) => validateIfNoMacro(v, z.enum(['TRUE', 'FALSE', ''])),
276
+ defaultValue: 'FALSE',
277
+ rules: { sections: [] },
278
+ },
279
+ {
280
+ ...availabilityMapping,
281
+ defaultValue: 'in stock',
282
+ rules: { sections: [] },
283
+ },
284
+ {
285
+ ...availabilityMapping,
286
+ defaultValue: 'out of stock',
287
+ rules: {
288
+ sections: [
289
+ {
290
+ id: ulid(),
291
+ ruleItems: [
292
+ {
293
+ id: ulid(),
294
+ attribute: 'inventory_quantity',
295
+ operator: 'equals',
296
+ value: 0,
297
+ },
298
+ ],
299
+ },
300
+ {
301
+ id: ulid(),
302
+ ruleItems: [
303
+ {
304
+ id: ulid(),
305
+ attribute: 'inventory_policy',
306
+ operator: 'equals',
307
+ value: 'deny',
308
+ },
309
+ ],
310
+ },
311
+ ],
312
+ },
313
+ },
314
+ {
315
+ attribute: 'condition',
316
+ label: 'Condition',
317
+ description: 'Condition of item. If no values are provided, the condition will be set to "new" by default. Valid options: new; used; refurbished Default is "new". Example: new',
318
+ required: true,
319
+ defaultValue: 'new',
320
+ type: 'macro-input',
321
+ validator: (v) => validateIfNoMacro(v, z.enum(['new', 'refurbished', 'used'])),
322
+ rules: { sections: [] },
323
+ },
324
+ {
325
+ attribute: 'energy_efficiency_class',
326
+ label: 'Energy efficiency class',
327
+ description:
328
+ // eslint-disable-next-line quotes
329
+ "The product's energy label. EU and CH only. May be required by local laws or regulations. Only the values below are supported: A, A+, A++, A+++, B, C, D, E, F, G. Example: A+",
330
+ required: false,
331
+ type: 'macro-input',
332
+ validator: (v) => validateIfNoMacro(v, z.enum(['A', 'A+', 'A++', 'A+++', 'B', 'C', 'D', 'E', 'F', 'G', ''])),
333
+ defaultValue: '',
334
+ rules: { sections: [] },
335
+ },
336
+ {
337
+ attribute: 'max_energy_efficiency_class ',
338
+ label: 'Max energy efficiency class',
339
+ description:
340
+ // eslint-disable-next-line quotes
341
+ "The product's energy label. EU and CH only. May be required by local laws or regulations. Only the values below are supported: A, A+, A++, A+++, B, C, D, E, F, G. Example: A+",
342
+ required: false,
343
+ type: 'macro-input',
344
+ validator: (v) => validateIfNoMacro(v, z.enum(['A', 'A+', 'A++', 'A+++', 'B', 'C', 'D', 'E', 'F', 'G', ''])),
345
+ defaultValue: '',
346
+ rules: { sections: [] },
347
+ },
348
+ {
349
+ attribute: 'min_energy_efficiency_class',
350
+ label: 'Min energy efficiency class',
351
+ description:
352
+ // eslint-disable-next-line quotes
353
+ "The product's energy label. EU and CH only. May be required by local laws or regulations. Only the values below are supported: A, A+, A++, A+++, B, C, D, E, F, G. Example: A+",
354
+ required: false,
355
+ type: 'macro-input',
356
+ validator: (v) => validateIfNoMacro(v, z.enum(['A', 'A+', 'A++', 'A+++', 'B', 'C', 'D', 'E', 'F', 'G', ''])),
357
+ defaultValue: '',
358
+ rules: { sections: [] },
359
+ },
360
+ {
361
+ attribute: 'expiration_date',
362
+ label: 'Expiration date',
363
+ description:
364
+ // eslint-disable-next-line quotes
365
+ "The date the item will expire. If the expiration date isn't provided, items will expire after 30 days. ISO 8601 standard format: YYYY-MM-DD Maximum supported is 30 days from date of upload. The default is 30 days. Example: 2015-01-25",
366
+ required: false,
367
+ type: 'macro-input',
368
+ validator: (v) => validateIfNoMacro(v, z
369
+ .string()
370
+ .refine(v => !v || z.string().datetime().safeParse(v).success, { message: 'invalid date' })
371
+ .refine(v => !v || new Date(v).getTime() + 1000 * 60 * 60 * 24 * 30 > new Date().getTime(), {
372
+ message: 'The date should be less than 30 days in the future',
373
+ })),
374
+ defaultValue: '',
375
+ rules: { sections: [] },
376
+ },
377
+ {
378
+ attribute: 'installment',
379
+ label: 'Installment',
380
+ description: 'The monthly installment plan for a product, displayed by the number of months. The installment amount must be greater than 0.00 USD. The installment attribute is available only for mobile and tablet category of products. For any other categories, the installment attribute will be ignored. The price attribute is the up-front payment and the installment attribute is the monthly installments. If you have a single product with both full price and installment price, add two rows for the same product in the feed: One row will be for the full price to be submitted in the price field, The other row will be for the installment price, with the upfront cost in the price field and the installment months and price in the installment field. months: The number of installments, displayed as an integer with a range from 1 to 1000. amount: The amount paid per month, displayed as a number greater than 0 with two decimals in the local currency, with no symbols. Example: 12:15 USD ',
381
+ required: false,
382
+ type: 'macro-input',
383
+ // TODO: add validator
384
+ defaultValue: '',
385
+ rules: { sections: [] },
386
+ },
387
+ {
388
+ attribute: 'multipack',
389
+ label: 'Multipack',
390
+ description: 'Used when bundling multiple identical items into a single unit. When setting the price, it must be the total price of the multipack. Integer, greater than 1. Example: 10',
391
+ required: false,
392
+ type: 'macro-input',
393
+ validator: (v) => validateIfNoMacro(v, z.coerce.number().min(2).int().optional()),
394
+ defaultValue: '',
395
+ rules: { sections: [] },
396
+ },
397
+ {
398
+ attribute: 'product_category',
399
+ label: 'Product category',
400
+ description: 'Predefined product category (equivalent to google_product_category). For mobile devices or tablets, the price can be 0 when payment options with multiple installments are provided. For such items, you must include the product_category value of "Electronics > Communications > Telephony > Mobile Phones" (267) for mobile devices or "Electronics > Computers > Tablet Computers" (4745) for tablets. Alphanumeric 255 character limit Delimiters: greater than symbol [>]. Only the greater than symbol > is a valid delimiter. Any other value is treated as invalid. Example: Software > Computer Software',
401
+ required: false,
402
+ type: 'macro-input',
403
+ defaultValue: '',
404
+ rules: { sections: [] },
405
+ },
406
+ {
407
+ attribute: 'product_type',
408
+ label: 'Product type',
409
+ description: 'Your category of the item. You can have more than one product type if your item applies to more than one category. Alphanumeric 750 character limit Delimiters: greater than [>]. Example :Home > Electronics > DVD Player',
410
+ required: false,
411
+ type: 'macro-input',
412
+ defaultValue: '{{shopify.category}}',
413
+ rules: { sections: [] },
414
+ validator: (v) => validate(v, z.string().max(750).optional()),
415
+ },
416
+ {
417
+ attribute: 'shopping_ads_excluded_country',
418
+ label: 'Shopping ads excluded country',
419
+ description:
420
+ // eslint-disable-next-line quotes
421
+ "String, 2 characters. Must be an ISO-3166-1 Alpha 2 country code. Use this when you want to exclude countries you don't want to serve your products in. This should be used in conjunction with the additional country feed setting. Multiple, comma separated values. Can have up to 100 country codes. Example: US,CA",
422
+ required: false,
423
+ type: 'select',
424
+ choices: [SOURCE_LANGUAGE],
425
+ defaultValue: '',
426
+ rules: { sections: [] },
427
+ },
428
+ {
429
+ attribute: 'unit_pricing_base_measure',
430
+ label: 'Unit pricing base measure',
431
+ description: 'The product’s base measure for pricing (e.g., 100ml means the price is calculated based on a 100ml unit). This attribute is optional when you submit Unit Pricing Measure. Use the same unit of measure for both Unit Pricing Measure and Unit Pricing Base Measure attributes. The price is used to calculate the unit price of the product. For example, if the price is 3 USD, Unit Pricing Measure is 150ml, and Unit Pricing Base_measure is 100ml, the unit price is 2 USD per 100ml. Requirements: Numeric, plus unit. Supported units: Weight: oz, lb, mg, g, kg, Volume (US imperial): floz, pt, qt, gal, Volume: ml, cl, l, cbm, Length: in, ft, yd, cm, m, Area: sqft, sqm, Per unit: ct. Example: 100 g',
432
+ required: false,
433
+ type: 'macro-input',
434
+ validator: (v) => validateIfNoMacro(v, measureUnitsSchema([
435
+ 'oz',
436
+ 'lb',
437
+ 'mg',
438
+ 'g',
439
+ 'kg',
440
+ 'floz',
441
+ 'pt',
442
+ 'qt',
443
+ 'gal',
444
+ 'ml',
445
+ 'cl',
446
+ 'l',
447
+ 'cbm',
448
+ 'in',
449
+ 'ft',
450
+ 'yd',
451
+ 'cm',
452
+ 'm',
453
+ 'sqft',
454
+ 'sqm',
455
+ 'ct',
456
+ ])),
457
+ defaultValue: '',
458
+ rules: { sections: [] },
459
+ },
460
+ {
461
+ attribute: 'unit_pricing_measure',
462
+ label: 'Unit pricing measure',
463
+ description: 'The measure and dimension of product as it is sold. Use the measure or dimension of the product without the packaging. Use positive numbers only. Requirements: Numeric, plus unit. Supported units: Weight: oz, lb, mg, g, kg, Volume (US imperial): floz, pt, qt, gal, Volume: ml, cl, l, cbm, Length: in, ft, yd, cm, m, Area: sqft, sqm, Per unit: ct. Example: 1.5 kg',
464
+ required: false,
465
+ type: 'macro-input',
466
+ validator: (v) => validateIfNoMacro(v, measureUnitsSchema([
467
+ 'oz',
468
+ 'lb',
469
+ 'mg',
470
+ 'g',
471
+ 'kg',
472
+ 'floz',
473
+ 'pt',
474
+ 'qt',
475
+ 'gal',
476
+ 'ml',
477
+ 'cl',
478
+ 'l',
479
+ 'cbm',
480
+ 'in',
481
+ 'ft',
482
+ 'yd',
483
+ 'cm',
484
+ 'm',
485
+ 'sqft',
486
+ 'sqm',
487
+ 'ct',
488
+ ])),
489
+ defaultValue: '',
490
+ rules: { sections: [] },
491
+ },
492
+ {
493
+ attribute: 'ads_redirect',
494
+ label: 'Ads redirect',
495
+ description: 'Redirect URL that overrides the URL given in the "link" attribute. Ensure that this URL will redirect to the same URL as given in the "link" attribute. Use as few redirects as possible and be sure that the redirects go to the same verified store domains to avoid offer rejections. Max 2000 characters HTTP, HTTPs, or Google-formatted XML only. Must redirect to a landing page. Example: http://www.contoso.com/shoe/',
496
+ required: false,
497
+ type: 'macro-input',
498
+ // TODO: check for the same domain with link and mobile link
499
+ validator: (v) => validateIfNoMacro(v, z
500
+ .string()
501
+ .max(2000)
502
+ .refine(val => !val || z.string().url().safeParse(val).success, { message: 'invalid URL' })),
503
+ defaultValue: '',
504
+ rules: { sections: [] },
505
+ },
506
+ ...[0, 1, 2, 3, 4].map(i => ({
507
+ ...customLabelMapping,
508
+ attribute: `custom_label_${i}`,
509
+ label: `Custom Label ${i + 1}`,
510
+ })),
511
+ {
512
+ attribute: 'seller_name',
513
+ label: 'Seller name',
514
+ description: 'Merchant/Store that provides this item. Alphanumeric. 255 character limit. Only required for aggregators - not applicable for direct merchants. Example: Contoso Shoes',
515
+ required: false,
516
+ type: 'macro-input',
517
+ validator: (v) => validateIfNoMacro(v, z.string().max(255)),
518
+ defaultValue: '',
519
+ rules: { sections: [] },
520
+ },
521
+ {
522
+ attribute: 'promotion_id',
523
+ label: 'Promotion ID',
524
+ description:
525
+ // eslint-disable-next-line quotes
526
+ "Used to group items by promotion. If the promotion doesn't apply to a product, you can leave this field blank. If the promotion doesn't apply to all products, be sure to map the promotion ID to the correct set of products in the master feed. The promotion's date and time is based on your local time zone. Keep this in mind if you want to have the promotion in any other time zone. Alphanumeric. Only underscore (_) and dash (-) symbols allowed. Max 60 character limit per promotion, with a total of 10 promotions accepted. Up to 10 promotion IDs can be mapped to an item and must be separated by commas",
527
+ required: false,
528
+ type: 'macro-input',
529
+ validator: (v) => validateIfNoMacro(v, z
530
+ .string()
531
+ .refine(v => !v || (v.split(',').length <= 10 && v.split(',').every(p => p.length <= 60)), {
532
+ message: 'At most 10 promotions with 60 characters each',
533
+ })
534
+ .optional()),
535
+ defaultValue: '',
536
+ rules: { sections: [] },
537
+ },
538
+ {
539
+ attribute: 'sale_price',
540
+ label: 'Sale price',
541
+ description: 'Items’s sale price, excluding tax and shipping. For the United States, exclude tax in the price. For the United Kingdom, include any value added tax (VAT) in the price. For mobile devices or tablets, the price can be 0 when payment options with multiple installments are provided. For such items, you must include the product_category value of "Electronics > Communications > Telephony > Mobile Phones" (267) for mobile devices or "Electronics > Computers > Tablet Computers" (4745) for tablets. Numeric. Range is 0.00 to 10000000.00 (10 million). No symbols (e.g., $). Example: 20.99',
542
+ required: false,
543
+ type: 'macro-input',
544
+ defaultValue: '',
545
+ rules: { sections: [] },
546
+ validator: (v) => validate(v, z.number().min(0).max(10000000).optional()),
547
+ },
548
+ {
549
+ attribute: 'sale_price_effective_date',
550
+ label: 'Sale price effective date',
551
+ description:
552
+ // eslint-disable-next-line quotes
553
+ "Sale’s start and end date and time. The end date needs to be in the same format. For items on sale, submit both the sale price and sale effective date attributes. If you update the sale price attribute but not the sale price effective date, the sale price will continue to be used for your item. Alphanumeric. Start date must be earlier than end date. Date and time format: YYYY-MM-DD followed by the letter 'T', the time of day followed by an expression for the time zone as defined by the ISO 8601 standard. Example: 2013-11-05T08:15-05:00/2013-11-10T09:30-05:00",
554
+ required: false,
555
+ type: 'macro-input',
556
+ validator: (v) => validateIfNoMacro(v, dateRangeSchema),
557
+ defaultValue: '',
558
+ rules: { sections: [] },
559
+ },
144
560
  ],
145
561
  };
146
562
  //# sourceMappingURL=microsoft.template.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"microsoft.template.js","sourceRoot":"","sources":["../../../src/utils/fe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AC;iBACD,QAAQ,EAAE,CAClB;YACL,YAAY,EAAE,EAAE;YAChB,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;SAC1B;QACD;YACI,SAAS,EAAE,YAAY;YACvB,KAAK,EAAE,YAAY;YACnB,WAAW,EACP,0kBAA0kB;YAC9kB,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,aAAa;YACnB,YAAY,EAAE,EAAE;YAChB,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;YACvB,SAAS,EAAE,CAAC,CAAkB,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,QAAQ,EAAE,CAAC;SAC7F;QACD;YACI,SAAS,EAAE,2BAA2B;YACtC,KAAK,EAAE,2BAA2B;YAClC,WAAW;YACP,kCAAkC;YAClC,sjBAAsjB;YAC1jB,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,aAAa;YACnB,SAAS,EAAE,CAAC,CAAkB,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,eAAe,CAAC;YACxE,YAAY,EAAE,EAAE;YAChB,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;SAC1B;KACJ;CACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feed-common",
3
- "version": "1.44.0",
3
+ "version": "1.45.1",
4
4
  "description": "Maxify feed common library",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -535,4 +535,5 @@ export enum XMLFeedType {
535
535
  Facebook = 'Facebook',
536
536
  Google = 'Google',
537
537
  TikTok = 'TikTok',
538
+ Microsoft = 'Microsoft',
538
539
  }
@@ -6,6 +6,7 @@ import { facebookFeedTemplate } from './facebook.template.js';
6
6
  import { XmlFeedTemplateType } from '../../types/profile.types.js';
7
7
  import { googleFeedTemplate } from './google.template.js';
8
8
  import { tiktokFeedTemplate } from './tiktok.template.js';
9
+ import { microsoftTemplate } from './microsoft.template.js';
9
10
 
10
11
  export const hasMacro = (v: string) => /{{[^}]+}}/.test(v);
11
12
  export const removeMacro = (v: string) => v.replaceAll(/{{[^}]+}}/g, '');
@@ -88,6 +89,8 @@ export function getTemplate(type: XMLFeedType): XmlFeedTemplateType {
88
89
  return googleFeedTemplate;
89
90
  case XMLFeedType.TikTok:
90
91
  return tiktokFeedTemplate;
92
+ case XMLFeedType.Microsoft:
93
+ return microsoftTemplate;
91
94
  default:
92
95
  throw new Error(`Invalid feed type: ${type}`);
93
96
  }
@@ -1,9 +1,33 @@
1
1
  /* eslint-disable max-len */
2
- import { validate, validateIfNoMacro } from './index.js';
3
- import { XmlFeedFormat } from '../../constants/profile.constants.js';
2
+ import { dateRangeSchema, measureUnitsSchema, validate, validateIfNoMacro } from './index.js';
3
+ import { SOURCE_LANGUAGE, XmlFeedFormat } from '../../constants/profile.constants.js';
4
4
  import { z } from 'zod';
5
+ import { ulid } from 'ulid';
6
+ import { ProductUploadMapSource, XmlFeedTemplateType } from '../../types/profile.types.js';
5
7
 
6
- export const microsoftTemplate = {
8
+ const availabilityMapping = {
9
+ attribute: 'availability',
10
+ label: 'Availability',
11
+ description:
12
+ 'Availability of item. If no values are provided, the availability will be set to "in stock" by default. Valid options: in stock, out of stock, preorder. Default is "in stock. Example: in stock out of stock preorder',
13
+ required: true,
14
+ type: 'macro-input' as any,
15
+ validator: (v: string | number) =>
16
+ validateIfNoMacro(v, z.enum(['in stock', 'available for order', 'preorder', 'out of stock', 'discontinued'])),
17
+ };
18
+
19
+ const customLabelMapping: ProductUploadMapSource = {
20
+ attribute: '',
21
+ label: '',
22
+ description:
23
+ 'Use to identify products for ad campaign filters. Use custom labels to add a value to the label, such as seasonal or sale items. Alphanumeric. Max 100 characters. Single-value. Up to 1000 unique values for each custom label attribute (up to 5000 labels total). Example: Best sellers, High ROAS, Winter',
24
+ required: false,
25
+ type: 'macro-input' as any,
26
+ validator: (v: string | number) => validateIfNoMacro(v, z.string().max(100)),
27
+ rules: { sections: [] },
28
+ };
29
+
30
+ export const microsoftTemplate: XmlFeedTemplateType = {
7
31
  formats: [XmlFeedFormat.TSV],
8
32
  documentation: 'https://help.ads.microsoft.com/#apex/ads/en/51084',
9
33
  mapping: [
@@ -152,5 +176,456 @@ export const microsoftTemplate = {
152
176
  validator: (v: string | number) => validate(v, z.string().max(70).optional()),
153
177
  rules: { sections: [] },
154
178
  },
179
+ {
180
+ attribute: 'age_group',
181
+ label: 'Age group',
182
+ description:
183
+ 'Age group targeted by the item. Required for all Apparel & Accessories products when targeting these countries: France, Germany, United Kingdom, and United States. Valid Options: newborn, infant, toddler, kids, adult Example: newborn',
184
+ required: false,
185
+ type: 'macro-input',
186
+ defaultValue: '',
187
+ rules: { sections: [] },
188
+ validator: v => validate(v, z.enum(['newborn', 'infant', 'toddler', 'kids', 'adult']).optional()),
189
+ },
190
+ {
191
+ attribute: 'color',
192
+ label: 'Color',
193
+ description:
194
+ 'The dominant color of the item. Required for all Apparel & Accessories products when targeting these countries: France, Germany, United Kingdom, and United States. Text: Character limit 100 Supports up to 3 values separated by a slash [/] with most dominant color first. Example: red/black/white ',
195
+ required: false,
196
+ type: 'macro-input',
197
+ defaultValue: '',
198
+ rules: { sections: [] },
199
+ validator: (v: string | number) => validate(v, z.string().max(100).optional()),
200
+ },
201
+ {
202
+ attribute: 'gender',
203
+ label: 'Gender',
204
+ description:
205
+ 'Gender targeted by the item. Required for all Apparel & Accessories products when targeting these countries: France, Germany, United Kingdom, and United States. Valid options: male, female, unisex. No other option will be accepted. Example: male',
206
+ required: false,
207
+ type: 'macro-input',
208
+ defaultValue: '',
209
+ rules: { sections: [] },
210
+ validator: v => validate(v, z.enum(['female', 'male', 'unisex', '']).optional()),
211
+ },
212
+ {
213
+ attribute: 'size',
214
+ label: 'Size',
215
+ description:
216
+ 'Size of the item. Alphanumeric Max 100 characters String/Unicode characters. Example: small, medium, large',
217
+ required: false,
218
+ type: 'macro-input',
219
+ validator: (v: string | number) => validate(v, z.string().max(100).optional()),
220
+ defaultValue: '',
221
+ rules: { sections: [] },
222
+ },
223
+ {
224
+ attribute: 'size_system',
225
+ label: 'Size system',
226
+ description:
227
+ 'Size system of the item. If Size system is not provided, the item will default to the size system of the target country. Single value Supported values: DE, FR, AU, US, and UK ',
228
+ required: false,
229
+ type: 'macro-input',
230
+ defaultValue: '',
231
+ rules: { sections: [] },
232
+ validator: v => validate(v, z.enum(['DE', 'FR', 'AU', 'US', 'UK', '']).optional()),
233
+ },
234
+ {
235
+ attribute: 'size_type',
236
+ label: 'Size type',
237
+ description:
238
+ 'Size type of the item. Supported values: regular, petite, plus, big and tall, or maternity. Example: regular, petite',
239
+ required: false,
240
+ type: 'macro-input',
241
+ defaultValue: '',
242
+ rules: { sections: [] },
243
+ validator: v =>
244
+ validate(v, z.enum(['regular', 'petite', 'plus', 'big', 'tall', 'maternity', '']).optional()),
245
+ },
246
+ {
247
+ attribute: 'additional_image_link',
248
+ label: 'Additional image link',
249
+ description:
250
+ 'The URLs of additional images. Alphanumeric 2000 character limit Link must be HTTP or HTTPs only Image must be: bmp, gif, exif, jpg, png, or tiff The recommended minimum size is 220px by 220px The image size cannot exceed 3.9 MB No watermarks or free shipping text',
251
+ required: false,
252
+ type: 'macro-input',
253
+ defaultValue: '{{shopify.images}}',
254
+ rules: { sections: [] },
255
+ validator: (v: string | number) =>
256
+ validate(
257
+ v,
258
+ z
259
+ .string()
260
+ .max(2000)
261
+ .refine(v => !v || v.split(',').length <= 10, { message: 'Maximum 10 images allowed' })
262
+ .optional()
263
+ ),
264
+ },
265
+ {
266
+ attribute: 'item_group_id',
267
+ label: 'Item group ID',
268
+ description:
269
+ 'Used to group items that may vary by color, material, pattern, size, age_group, or gender. This ID is different from the "ID" attribute. Values must be different for items, unless items are variants of the same item. At least one of the variant attributes (size, color, material, pattern, age_group, or gender) must be provided and the same variant attribute must be provided for all items within the group. Alphanumeric Max 50 Unicode characters. Example: XYZ123',
270
+ required: false,
271
+ type: 'macro-input',
272
+ defaultValue: '{{shopify.id}}',
273
+ rules: { sections: [] },
274
+ },
275
+ {
276
+ attribute: 'material',
277
+ label: 'Material',
278
+ description:
279
+ 'The material of the item. Alphanumeric: Max 200 characters. Supports up to 3 values separated by a slash [/] with most dominant material first. Example: leather/suede/silk',
280
+ required: false,
281
+ type: 'macro-input',
282
+ defaultValue: '',
283
+ rules: { sections: [] },
284
+ validator: (v: string | number) =>
285
+ validate(
286
+ v,
287
+ z
288
+ .string()
289
+ .max(200)
290
+ .refine(v => !v || v.split('/').length <= 3, { message: 'Maximum 3 values allowed' })
291
+ .optional()
292
+ ),
293
+ },
294
+ {
295
+ attribute: 'pattern',
296
+ label: 'Pattern',
297
+ description:
298
+ 'The pattern or graphic print of the item. Alphanumeric: Max 100 characters Example: checkered',
299
+ required: false,
300
+ type: 'macro-input',
301
+ defaultValue: '',
302
+ rules: { sections: [] },
303
+ validator: (v: string | number) => validate(v, z.string().max(100).optional()),
304
+ },
305
+ {
306
+ attribute: 'adult',
307
+ label: 'Adult',
308
+ description:
309
+ 'Microsoft Advertising does not support adult products. Any adult products submitted in the feed will be rejected. Boolean:TRUE or FALSE. Example: FALSE',
310
+ required: false,
311
+ type: 'macro-input',
312
+ validator: (v: string | number) => validateIfNoMacro(v, z.enum(['TRUE', 'FALSE', ''])),
313
+ defaultValue: 'FALSE',
314
+ rules: { sections: [] },
315
+ },
316
+ {
317
+ ...availabilityMapping,
318
+ defaultValue: 'in stock',
319
+ rules: { sections: [] },
320
+ },
321
+ {
322
+ ...availabilityMapping,
323
+ defaultValue: 'out of stock',
324
+ rules: {
325
+ sections: [
326
+ {
327
+ id: ulid(),
328
+ ruleItems: [
329
+ {
330
+ id: ulid(),
331
+ attribute: 'inventory_quantity',
332
+ operator: 'equals',
333
+ value: 0,
334
+ },
335
+ ],
336
+ },
337
+ {
338
+ id: ulid(),
339
+ ruleItems: [
340
+ {
341
+ id: ulid(),
342
+ attribute: 'inventory_policy',
343
+ operator: 'equals',
344
+ value: 'deny',
345
+ },
346
+ ],
347
+ },
348
+ ],
349
+ },
350
+ },
351
+ {
352
+ attribute: 'condition',
353
+ label: 'Condition',
354
+ description:
355
+ 'Condition of item. If no values are provided, the condition will be set to "new" by default. Valid options: new; used; refurbished Default is "new". Example: new',
356
+ required: true,
357
+ defaultValue: 'new',
358
+ type: 'macro-input' as any,
359
+ validator: (v: string | number) => validateIfNoMacro(v, z.enum(['new', 'refurbished', 'used'])),
360
+ rules: { sections: [] },
361
+ },
362
+ {
363
+ attribute: 'energy_efficiency_class',
364
+ label: 'Energy efficiency class',
365
+ description:
366
+ // eslint-disable-next-line quotes
367
+ "The product's energy label. EU and CH only. May be required by local laws or regulations. Only the values below are supported: A, A+, A++, A+++, B, C, D, E, F, G. Example: A+",
368
+ required: false,
369
+ type: 'macro-input',
370
+ validator: (v: string | number) =>
371
+ validateIfNoMacro(v, z.enum(['A', 'A+', 'A++', 'A+++', 'B', 'C', 'D', 'E', 'F', 'G', ''])),
372
+ defaultValue: '',
373
+ rules: { sections: [] },
374
+ },
375
+ {
376
+ attribute: 'max_energy_efficiency_class ',
377
+ label: 'Max energy efficiency class',
378
+ description:
379
+ // eslint-disable-next-line quotes
380
+ "The product's energy label. EU and CH only. May be required by local laws or regulations. Only the values below are supported: A, A+, A++, A+++, B, C, D, E, F, G. Example: A+",
381
+ required: false,
382
+ type: 'macro-input',
383
+ validator: (v: string | number) =>
384
+ validateIfNoMacro(v, z.enum(['A', 'A+', 'A++', 'A+++', 'B', 'C', 'D', 'E', 'F', 'G', ''])),
385
+ defaultValue: '',
386
+ rules: { sections: [] },
387
+ },
388
+ {
389
+ attribute: 'min_energy_efficiency_class',
390
+ label: 'Min energy efficiency class',
391
+ description:
392
+ // eslint-disable-next-line quotes
393
+ "The product's energy label. EU and CH only. May be required by local laws or regulations. Only the values below are supported: A, A+, A++, A+++, B, C, D, E, F, G. Example: A+",
394
+ required: false,
395
+ type: 'macro-input',
396
+ validator: (v: string | number) =>
397
+ validateIfNoMacro(v, z.enum(['A', 'A+', 'A++', 'A+++', 'B', 'C', 'D', 'E', 'F', 'G', ''])),
398
+ defaultValue: '',
399
+ rules: { sections: [] },
400
+ },
401
+ {
402
+ attribute: 'expiration_date',
403
+ label: 'Expiration date',
404
+ description:
405
+ // eslint-disable-next-line quotes
406
+ "The date the item will expire. If the expiration date isn't provided, items will expire after 30 days. ISO 8601 standard format: YYYY-MM-DD Maximum supported is 30 days from date of upload. The default is 30 days. Example: 2015-01-25",
407
+ required: false,
408
+ type: 'macro-input',
409
+ validator: (v: string | number) =>
410
+ validateIfNoMacro(
411
+ v,
412
+ z
413
+ .string()
414
+ .refine(v => !v || z.string().datetime().safeParse(v).success, { message: 'invalid date' })
415
+ .refine(v => !v || new Date(v).getTime() + 1000 * 60 * 60 * 24 * 30 > new Date().getTime(), {
416
+ message: 'The date should be less than 30 days in the future',
417
+ })
418
+ ),
419
+ defaultValue: '',
420
+ rules: { sections: [] },
421
+ },
422
+ {
423
+ attribute: 'installment',
424
+ label: 'Installment',
425
+ description:
426
+ 'The monthly installment plan for a product, displayed by the number of months. The installment amount must be greater than 0.00 USD. The installment attribute is available only for mobile and tablet category of products. For any other categories, the installment attribute will be ignored. The price attribute is the up-front payment and the installment attribute is the monthly installments. If you have a single product with both full price and installment price, add two rows for the same product in the feed: One row will be for the full price to be submitted in the price field, The other row will be for the installment price, with the upfront cost in the price field and the installment months and price in the installment field. months: The number of installments, displayed as an integer with a range from 1 to 1000. amount: The amount paid per month, displayed as a number greater than 0 with two decimals in the local currency, with no symbols. Example: 12:15 USD ',
427
+ required: false,
428
+ type: 'macro-input',
429
+ // TODO: add validator
430
+ defaultValue: '',
431
+ rules: { sections: [] },
432
+ },
433
+ {
434
+ attribute: 'multipack',
435
+ label: 'Multipack',
436
+ description:
437
+ 'Used when bundling multiple identical items into a single unit. When setting the price, it must be the total price of the multipack. Integer, greater than 1. Example: 10',
438
+ required: false,
439
+ type: 'macro-input',
440
+ validator: (v: string | number) => validateIfNoMacro(v, z.coerce.number().min(2).int().optional()),
441
+ defaultValue: '',
442
+ rules: { sections: [] },
443
+ },
444
+ {
445
+ attribute: 'product_category',
446
+ label: 'Product category',
447
+ description:
448
+ 'Predefined product category (equivalent to google_product_category). For mobile devices or tablets, the price can be 0 when payment options with multiple installments are provided. For such items, you must include the product_category value of "Electronics > Communications > Telephony > Mobile Phones" (267) for mobile devices or "Electronics > Computers > Tablet Computers" (4745) for tablets. Alphanumeric 255 character limit Delimiters: greater than symbol [>]. Only the greater than symbol > is a valid delimiter. Any other value is treated as invalid. Example: Software > Computer Software',
449
+ required: false,
450
+ type: 'macro-input',
451
+ defaultValue: '',
452
+ rules: { sections: [] },
453
+ },
454
+ {
455
+ attribute: 'product_type',
456
+ label: 'Product type',
457
+ description:
458
+ 'Your category of the item. You can have more than one product type if your item applies to more than one category. Alphanumeric 750 character limit Delimiters: greater than [>]. Example :Home > Electronics > DVD Player',
459
+ required: false,
460
+ type: 'macro-input',
461
+ defaultValue: '{{shopify.category}}',
462
+ rules: { sections: [] },
463
+ validator: (v: string | number) => validate(v, z.string().max(750).optional()),
464
+ },
465
+ {
466
+ attribute: 'shopping_ads_excluded_country',
467
+ label: 'Shopping ads excluded country',
468
+ description:
469
+ // eslint-disable-next-line quotes
470
+ "String, 2 characters. Must be an ISO-3166-1 Alpha 2 country code. Use this when you want to exclude countries you don't want to serve your products in. This should be used in conjunction with the additional country feed setting. Multiple, comma separated values. Can have up to 100 country codes. Example: US,CA",
471
+ required: false,
472
+ type: 'select',
473
+ choices: [SOURCE_LANGUAGE],
474
+ defaultValue: '',
475
+ rules: { sections: [] },
476
+ },
477
+ {
478
+ attribute: 'unit_pricing_base_measure',
479
+ label: 'Unit pricing base measure',
480
+ description:
481
+ 'The product’s base measure for pricing (e.g., 100ml means the price is calculated based on a 100ml unit). This attribute is optional when you submit Unit Pricing Measure. Use the same unit of measure for both Unit Pricing Measure and Unit Pricing Base Measure attributes. The price is used to calculate the unit price of the product. For example, if the price is 3 USD, Unit Pricing Measure is 150ml, and Unit Pricing Base_measure is 100ml, the unit price is 2 USD per 100ml. Requirements: Numeric, plus unit. Supported units: Weight: oz, lb, mg, g, kg, Volume (US imperial): floz, pt, qt, gal, Volume: ml, cl, l, cbm, Length: in, ft, yd, cm, m, Area: sqft, sqm, Per unit: ct. Example: 100 g',
482
+ required: false,
483
+ type: 'macro-input',
484
+ validator: (v: string | number) =>
485
+ validateIfNoMacro(
486
+ v,
487
+ measureUnitsSchema([
488
+ 'oz',
489
+ 'lb',
490
+ 'mg',
491
+ 'g',
492
+ 'kg',
493
+ 'floz',
494
+ 'pt',
495
+ 'qt',
496
+ 'gal',
497
+ 'ml',
498
+ 'cl',
499
+ 'l',
500
+ 'cbm',
501
+ 'in',
502
+ 'ft',
503
+ 'yd',
504
+ 'cm',
505
+ 'm',
506
+ 'sqft',
507
+ 'sqm',
508
+ 'ct',
509
+ ])
510
+ ),
511
+ defaultValue: '',
512
+ rules: { sections: [] },
513
+ },
514
+ {
515
+ attribute: 'unit_pricing_measure',
516
+ label: 'Unit pricing measure',
517
+ description:
518
+ 'The measure and dimension of product as it is sold. Use the measure or dimension of the product without the packaging. Use positive numbers only. Requirements: Numeric, plus unit. Supported units: Weight: oz, lb, mg, g, kg, Volume (US imperial): floz, pt, qt, gal, Volume: ml, cl, l, cbm, Length: in, ft, yd, cm, m, Area: sqft, sqm, Per unit: ct. Example: 1.5 kg',
519
+ required: false,
520
+ type: 'macro-input',
521
+ validator: (v: string | number) =>
522
+ validateIfNoMacro(
523
+ v,
524
+ measureUnitsSchema([
525
+ 'oz',
526
+ 'lb',
527
+ 'mg',
528
+ 'g',
529
+ 'kg',
530
+ 'floz',
531
+ 'pt',
532
+ 'qt',
533
+ 'gal',
534
+ 'ml',
535
+ 'cl',
536
+ 'l',
537
+ 'cbm',
538
+ 'in',
539
+ 'ft',
540
+ 'yd',
541
+ 'cm',
542
+ 'm',
543
+ 'sqft',
544
+ 'sqm',
545
+ 'ct',
546
+ ])
547
+ ),
548
+ defaultValue: '',
549
+ rules: { sections: [] },
550
+ },
551
+ {
552
+ attribute: 'ads_redirect',
553
+ label: 'Ads redirect',
554
+ description:
555
+ 'Redirect URL that overrides the URL given in the "link" attribute. Ensure that this URL will redirect to the same URL as given in the "link" attribute. Use as few redirects as possible and be sure that the redirects go to the same verified store domains to avoid offer rejections. Max 2000 characters HTTP, HTTPs, or Google-formatted XML only. Must redirect to a landing page. Example: http://www.contoso.com/shoe/',
556
+ required: false,
557
+ type: 'macro-input',
558
+ // TODO: check for the same domain with link and mobile link
559
+ validator: (v: string | number) =>
560
+ validateIfNoMacro(
561
+ v,
562
+ z
563
+ .string()
564
+ .max(2000)
565
+ .refine(val => !val || z.string().url().safeParse(val).success, { message: 'invalid URL' })
566
+ ),
567
+ defaultValue: '',
568
+ rules: { sections: [] },
569
+ },
570
+ ...[0, 1, 2, 3, 4].map(i => ({
571
+ ...customLabelMapping,
572
+ attribute: `custom_label_${i}`,
573
+ label: `Custom Label ${i + 1}`,
574
+ })),
575
+ {
576
+ attribute: 'seller_name',
577
+ label: 'Seller name',
578
+ description:
579
+ 'Merchant/Store that provides this item. Alphanumeric. 255 character limit. Only required for aggregators - not applicable for direct merchants. Example: Contoso Shoes',
580
+ required: false,
581
+ type: 'macro-input',
582
+ validator: (v: string | number) => validateIfNoMacro(v, z.string().max(255)),
583
+ defaultValue: '',
584
+ rules: { sections: [] },
585
+ },
586
+ {
587
+ attribute: 'promotion_id',
588
+ label: 'Promotion ID',
589
+ description:
590
+ // eslint-disable-next-line quotes
591
+ "Used to group items by promotion. If the promotion doesn't apply to a product, you can leave this field blank. If the promotion doesn't apply to all products, be sure to map the promotion ID to the correct set of products in the master feed. The promotion's date and time is based on your local time zone. Keep this in mind if you want to have the promotion in any other time zone. Alphanumeric. Only underscore (_) and dash (-) symbols allowed. Max 60 character limit per promotion, with a total of 10 promotions accepted. Up to 10 promotion IDs can be mapped to an item and must be separated by commas",
592
+ required: false,
593
+ type: 'macro-input',
594
+ validator: (v: string | number) =>
595
+ validateIfNoMacro(
596
+ v,
597
+ z
598
+ .string()
599
+ .refine(v => !v || (v.split(',').length <= 10 && v.split(',').every(p => p.length <= 60)), {
600
+ message: 'At most 10 promotions with 60 characters each',
601
+ })
602
+ .optional()
603
+ ),
604
+ defaultValue: '',
605
+ rules: { sections: [] },
606
+ },
607
+ {
608
+ attribute: 'sale_price',
609
+ label: 'Sale price',
610
+ description:
611
+ 'Items’s sale price, excluding tax and shipping. For the United States, exclude tax in the price. For the United Kingdom, include any value added tax (VAT) in the price. For mobile devices or tablets, the price can be 0 when payment options with multiple installments are provided. For such items, you must include the product_category value of "Electronics > Communications > Telephony > Mobile Phones" (267) for mobile devices or "Electronics > Computers > Tablet Computers" (4745) for tablets. Numeric. Range is 0.00 to 10000000.00 (10 million). No symbols (e.g., $). Example: 20.99',
612
+ required: false,
613
+ type: 'macro-input',
614
+ defaultValue: '',
615
+ rules: { sections: [] },
616
+ validator: (v: string | number) => validate(v, z.number().min(0).max(10000000).optional()),
617
+ },
618
+ {
619
+ attribute: 'sale_price_effective_date',
620
+ label: 'Sale price effective date',
621
+ description:
622
+ // eslint-disable-next-line quotes
623
+ "Sale’s start and end date and time. The end date needs to be in the same format. For items on sale, submit both the sale price and sale effective date attributes. If you update the sale price attribute but not the sale price effective date, the sale price will continue to be used for your item. Alphanumeric. Start date must be earlier than end date. Date and time format: YYYY-MM-DD followed by the letter 'T', the time of day followed by an expression for the time zone as defined by the ISO 8601 standard. Example: 2013-11-05T08:15-05:00/2013-11-10T09:30-05:00",
624
+ required: false,
625
+ type: 'macro-input',
626
+ validator: (v: string | number) => validateIfNoMacro(v, dateRangeSchema),
627
+ defaultValue: '',
628
+ rules: { sections: [] },
629
+ },
155
630
  ],
156
631
  };