feed-common 1.67.9 → 1.67.10
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/dist/utils/feed-templates/google.template.d.ts.map +1 -1
- package/dist/utils/feed-templates/google.template.js +48 -12
- package/dist/utils/feed-templates/google.template.js.map +1 -1
- package/dist/utils/feed-templates/index.d.ts +12 -0
- package/dist/utils/feed-templates/index.d.ts.map +1 -1
- package/dist/utils/feed-templates/index.js +114 -0
- package/dist/utils/feed-templates/index.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/feed-templates/google.template.ts +83 -24
- package/src/utils/feed-templates/index.ts +129 -0
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## [1.67.10](https://github.com/advertikon/package-maxify-feed-common/compare/v1.67.9...v1.67.10) (2024-10-31)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* update google template ([1049e03](https://github.com/advertikon/package-maxify-feed-common/commit/1049e035426a1bebd2e95e5d298f97178ba052ab))
|
7
|
+
|
1
8
|
## [1.67.9](https://github.com/advertikon/package-maxify-feed-common/compare/v1.67.8...v1.67.9) (2024-10-31)
|
2
9
|
|
3
10
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"google.template.d.ts","sourceRoot":"","sources":["../../../src/utils/feed-templates/google.template.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"google.template.d.ts","sourceRoot":"","sources":["../../../src/utils/feed-templates/google.template.ts"],"names":[],"mappings":"AAeA,OAAO,EAA0B,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAoD3F,eAAO,MAAM,kBAAkB,EAAE,mBAylChC,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/* eslint-disable quotes */
|
2
2
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
3
3
|
/* eslint-disable max-len */
|
4
|
-
import { dateRangeSchema, measureUnitsSchema, priceSchema, salePriceSchema, validateIfNoMacro } from './index.js';
|
4
|
+
import { dateRangeSchema, energyEfficiencyClassSchema, gtinSchema, maxEnergyEfficiencyClassSchema, measureUnitsSchema, minEnergyEfficiencyClassSchema, priceSchema, salePriceSchema, validateIfNoMacro, } from './index.js';
|
5
5
|
import { XmlFeedFormat } from '../../constants/profile.constants.js';
|
6
6
|
import { z } from 'zod';
|
7
7
|
import { ulid } from 'ulid';
|
@@ -177,8 +177,10 @@ export const googleFeedTemplate = {
|
|
177
177
|
// TODO: make required if availability is preorder
|
178
178
|
validateIfNoMacro(v, z
|
179
179
|
.string()
|
180
|
-
.refine(v => !v || z.string().datetime({ offset: true }).safeParse(v).success, {
|
181
|
-
|
180
|
+
.refine(v => !v || z.string().datetime({ offset: true }).safeParse(v).success, {
|
181
|
+
message: 'invalid date',
|
182
|
+
})
|
183
|
+
.refine(v => !v || new Date(v).getTime() < 1000 * 60 * 60 * 24 * 365 + new Date().getTime(), {
|
182
184
|
message: 'The date should be up to one year in the future',
|
183
185
|
})),
|
184
186
|
defaultValue: '{{source.date:}}',
|
@@ -203,8 +205,10 @@ export const googleFeedTemplate = {
|
|
203
205
|
type: 'macro-input',
|
204
206
|
validator: (v) => validateIfNoMacro(v, z
|
205
207
|
.string()
|
206
|
-
.refine(v => !v || z.string().datetime({ offset: true }).safeParse(v).success, {
|
207
|
-
|
208
|
+
.refine(v => !v || z.string().datetime({ offset: true }).safeParse(v).success, {
|
209
|
+
message: 'invalid date',
|
210
|
+
})
|
211
|
+
.refine(v => !v || new Date(v).getTime() < 1000 * 60 * 60 * 24 * 30 + new Date().getTime(), {
|
208
212
|
message: 'The date should be less than 30 days in the future',
|
209
213
|
})),
|
210
214
|
defaultValue: '{{source.date:}}',
|
@@ -218,7 +222,7 @@ export const googleFeedTemplate = {
|
|
218
222
|
description: "Your products price. Accurately submit the product's price and currency, and match with the price from your landing page and at checkout. Example: 15.00 USD",
|
219
223
|
required: true,
|
220
224
|
type: 'macro-input',
|
221
|
-
validator: (v) => validateIfNoMacro(v,
|
225
|
+
validator: (v) => validateIfNoMacro(v, priceSchema()),
|
222
226
|
defaultValue: '{{shopify.price}} {{shopify.shop_currency}}',
|
223
227
|
rules: { sections: [] },
|
224
228
|
baseMode: true,
|
@@ -431,7 +435,7 @@ export const googleFeedTemplate = {
|
|
431
435
|
description: 'Your product’s Global Trade Item Number (GTIN). Required (For all products with a known GTIN to enable full offer performance). Max 50 numeric characters. Example: 3234567890126',
|
432
436
|
required: false,
|
433
437
|
type: 'macro-input',
|
434
|
-
validator: (v) => validateIfNoMacro(v,
|
438
|
+
validator: (v) => validateIfNoMacro(v, gtinSchema),
|
435
439
|
defaultValue: '{{shopify.barcode}}',
|
436
440
|
rules: { sections: [] },
|
437
441
|
},
|
@@ -518,7 +522,40 @@ export const googleFeedTemplate = {
|
|
518
522
|
description: 'Your product’s energy label. Available for the EU and EFTA countries and the UK. Note: This attribute is being deprecated. Please use the certification attribute instead to show the EU energy efficiency class. Supported values: A, A+, A++, A+++, B, C, D, E, F, G. Example: A+',
|
519
523
|
required: false,
|
520
524
|
type: 'macro-input',
|
521
|
-
validator: (v) => validateIfNoMacro(v,
|
525
|
+
validator: (v, values) => validateIfNoMacro(v, energyEfficiencyClassSchema({
|
526
|
+
minEfficiency: values.find(v => v.attribute === 'min_energy_efficiency_class')?.value,
|
527
|
+
maxEfficiency: values.find(v => v.attribute === 'max_energy_efficiency_class')?.value,
|
528
|
+
})),
|
529
|
+
defaultValue: '{{source.energy_efficiency:}}',
|
530
|
+
rules: { sections: [] },
|
531
|
+
singleChoice: true,
|
532
|
+
fixedValue: true,
|
533
|
+
},
|
534
|
+
{
|
535
|
+
attribute: 'min_energy_efficiency_class',
|
536
|
+
label: 'Minimum energy efficiency class',
|
537
|
+
description: 'Your product’s energy label. Available for the EU and EFTA countries and the UK. Note: This attribute is being deprecated. Please use the certification attribute instead to show the EU energy efficiency class. Supported values: A, A+, A++, A+++, B, C, D, E, F, G. Example: A+',
|
538
|
+
required: false,
|
539
|
+
type: 'macro-input',
|
540
|
+
validator: (v, values) => validateIfNoMacro(v, minEnergyEfficiencyClassSchema({
|
541
|
+
efficiency: values.find(v => v.attribute === 'energy_efficiency_class')?.value,
|
542
|
+
maxEfficiency: values.find(v => v.attribute === 'max_energy_efficiency_class')?.value,
|
543
|
+
})),
|
544
|
+
defaultValue: '{{source.energy_efficiency:}}',
|
545
|
+
rules: { sections: [] },
|
546
|
+
singleChoice: true,
|
547
|
+
fixedValue: true,
|
548
|
+
},
|
549
|
+
{
|
550
|
+
attribute: 'max_energy_efficiency_class',
|
551
|
+
label: 'Maximum energy efficiency class',
|
552
|
+
description: 'Your product’s energy label. Available for the EU and EFTA countries and the UK. Note: This attribute is being deprecated. Please use the certification attribute instead to show the EU energy efficiency class. Supported values: A, A+, A++, A+++, B, C, D, E, F, G. Example: A+',
|
553
|
+
required: false,
|
554
|
+
type: 'macro-input',
|
555
|
+
validator: (v, values) => validateIfNoMacro(v, maxEnergyEfficiencyClassSchema({
|
556
|
+
efficiency: values.find(v => v.attribute === 'energy_efficiency_class')?.value,
|
557
|
+
minEfficiency: values.find(v => v.attribute === 'min_energy_efficiency_class')?.value,
|
558
|
+
})),
|
522
559
|
defaultValue: '{{source.energy_efficiency:}}',
|
523
560
|
rules: { sections: [] },
|
524
561
|
singleChoice: true,
|
@@ -598,12 +635,11 @@ export const googleFeedTemplate = {
|
|
598
635
|
description: 'Your apparel product’s cut. Available for apparel products only. Submit up to 2 values. Supported values: regular, petite, maternity, big, tall, plus. Example: maternity',
|
599
636
|
required: false,
|
600
637
|
type: 'macro-input',
|
601
|
-
validator: (v) => validateIfNoMacro(v, z
|
602
|
-
.string()
|
603
|
-
.refine(v => !v ||
|
638
|
+
validator: (v) => validateIfNoMacro(v, z.string().refine(v => !v ||
|
604
639
|
(v.split(',').length < 3 &&
|
605
640
|
v
|
606
|
-
.split(',')
|
641
|
+
.split(',')
|
642
|
+
.map(st => st.trim())
|
607
643
|
.every(st => ['regular', 'petite', 'maternity', 'big', 'tall', 'plus'].includes(st))), {
|
608
644
|
message: `Only 'regular', 'petite', 'maternity', 'big', 'tall', 'plus' supported. Max 2 values`,
|
609
645
|
})),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"google.template.js","sourceRoot":"","sources":["../../../src/utils/feed-templates/google.template.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,uDAAuD;AACvD,4BAA4B;AAC5B,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,WAAW,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAClH,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,MAAM,0BAA0B,GAA2B;IACvD,SAAS,EAAE,uBAAuB;IAClC,KAAK,EAAE,uBAAuB;IAC9B,WAAW,EACP,yMAAyM;IAC7M,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE,aAAoB;IAC1B,SAAS,EAAE,CAAC,CAAkB,EAAE,EAAE,CAC9B,iBAAiB,CACb,CAAC,EACD,CAAC;SACI,MAAM,EAAE;SACR,GAAG,CAAC,IAAI,CAAC;SACT,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,CAAC,CAC5F;IACL,YAAY,EAAE,EAAE;IAChB,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvB,eAAe,EAAE,IAAI;CACxB,CAAC;AAEF,MAAM,mBAAmB,GAA2B;IAChD,SAAS,EAAE,cAAc;IACzB,KAAK,EAAE,cAAc;IACrB,WAAW,EACP,kOAAkO;IACtO,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE,aAAoB;IAC1B,SAAS,EAAE,CA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4JAA4J;YAChK,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,aAAa;YACnB,YAAY,EAAE,EAAE;YAChB,SAAS,EAAE,CAAC,CAAkB,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC5E,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;SAC1B;KACJ;CACJ,CAAC"}
|
1
|
+
{"version":3,"file":"google.template.js","sourceRoot":"","sources":["../../../src/utils/feed-templates/google.template.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,uDAAuD;AACvD,4BAA4B;AAC5B,OAAO,EACH,eAAe,EACf,2BAA2B,EAC3B,UAAU,EACV,8BAA8B,EAC9B,kBAAkB,EAClB,8BAA8B,EAC9B,WAAW,EACX,eAAe,EACf,iBAAiB,GACpB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,MAAM,0BAA0B,GAA2B;IACvD,SAAS,EAAE,uBAAuB;IAClC,KAAK,EAAE,uBAAuB;IAC9B,WAAW,EACP,yMAAyM;IAC7M,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE,aAAoB;IAC1B,SAAS,EAAE,CAAC,CAAkB,EAAE,EAAE,CAC9B,iBAAiB,CACb,CAAC,EACD,CAAC;SACI,MAAM,EAAE;SACR,GAAG,CAAC,IAAI,CAAC;SACT,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,CAAC,CAC5F;IACL,YAAY,EAAE,EAAE;IAChB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YAChX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,aAAa;YACnB,YAAY,EAAE,wBAAwB;YACtC,UAAU,EAAE,IAAI;YAChB,qCAAqC;YACrC,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;SAC1B;QACD;YACI,SAAS,EAAE,cAAc;YACzB,KAAK,EAAE,cAAc;YACrB,WAAW,EACP,4JAA4J;YAChK,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,aAAa;YACnB,YAAY,EAAE,EAAE;YAChB,SAAS,EAAE,CAAC,CAAkB,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC5E,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;SAC1B;KACJ;CACJ,CAAC"}
|
@@ -23,6 +23,18 @@ export declare const salePriceSchema: ({ min, max, price }?: {
|
|
23
23
|
max?: number | undefined;
|
24
24
|
price?: string | undefined;
|
25
25
|
}) => z.ZodEffects<z.ZodString, string, string>;
|
26
|
+
export declare const energyEfficiencyClassSchema: ({ minEfficiency, maxEfficiency }?: {
|
27
|
+
minEfficiency?: string | undefined;
|
28
|
+
maxEfficiency?: string | undefined;
|
29
|
+
}) => z.ZodEffects<z.ZodString, string, string>;
|
30
|
+
export declare const minEnergyEfficiencyClassSchema: ({ efficiency, maxEfficiency }?: {
|
31
|
+
efficiency?: string | undefined;
|
32
|
+
maxEfficiency?: string | undefined;
|
33
|
+
}) => z.ZodEffects<z.ZodString, string, string>;
|
34
|
+
export declare const maxEnergyEfficiencyClassSchema: ({ efficiency, minEfficiency }?: {
|
35
|
+
efficiency?: string | undefined;
|
36
|
+
minEfficiency?: string | undefined;
|
37
|
+
}) => z.ZodEffects<z.ZodString, string, string>;
|
26
38
|
export declare const gtinSchema: z.ZodEffects<z.ZodString, string, string>;
|
27
39
|
export declare function splitByCommaAndTrim(str: string): string[];
|
28
40
|
export declare function par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
206
|
+
const ee = ['A', 'A+', 'A++', 'A+++', 'B', 'C', 'D', 'E', 'F', 'G',];
|
207
|
+
const compareEfficiency = (minEfficiency, maxEfficiency) => {
|
208
|
+
const minIndex = ee.findIndex(e => e === minEfficiency);
|
209
|
+
const maxIndex = ee.findIndex(e => e === maxEfficiency);
|
210
|
+
return minIndex <= maxIndex;
|
211
|
+
};
|
212
|
+
export const energyEfficiencyClassSchema = ({ minEfficiency = '', maxEfficiency } = {}) => {
|
213
|
+
return z.string().superRefine((v, ctx) => {
|
214
|
+
if (!v) {
|
215
|
+
if (maxEfficiency || minEfficiency) {
|
216
|
+
ctx.addIssue({
|
217
|
+
code: z.ZodIssueCode.custom,
|
218
|
+
message: 'Energy efficiency class is required',
|
219
|
+
});
|
220
|
+
return false;
|
221
|
+
}
|
222
|
+
return true;
|
223
|
+
}
|
224
|
+
if (!ee.includes(v)) {
|
225
|
+
ctx.addIssue({
|
226
|
+
code: z.ZodIssueCode.custom,
|
227
|
+
message: 'Invalid energy efficiency class',
|
228
|
+
});
|
229
|
+
return false;
|
230
|
+
}
|
231
|
+
if (minEfficiency && !compareEfficiency(minEfficiency, v)) {
|
232
|
+
ctx.addIssue({
|
233
|
+
code: z.ZodIssueCode.custom,
|
234
|
+
message: 'Energy efficiency class should be greater or equal to the minimum energy efficiency class',
|
235
|
+
});
|
236
|
+
return false;
|
237
|
+
}
|
238
|
+
if (maxEfficiency && !compareEfficiency(v, maxEfficiency)) {
|
239
|
+
ctx.addIssue({
|
240
|
+
code: z.ZodIssueCode.custom,
|
241
|
+
message: 'Energy efficiency class should be lower or equal to the maximum energy efficiency class',
|
242
|
+
});
|
243
|
+
return false;
|
244
|
+
}
|
245
|
+
return true;
|
246
|
+
});
|
247
|
+
};
|
248
|
+
export const minEnergyEfficiencyClassSchema = ({ efficiency = '', maxEfficiency } = {}) => {
|
249
|
+
return z.string().superRefine((v, ctx) => {
|
250
|
+
if (!v) {
|
251
|
+
if (maxEfficiency || efficiency) {
|
252
|
+
ctx.addIssue({
|
253
|
+
code: z.ZodIssueCode.custom,
|
254
|
+
message: 'Minimum energy efficiency class is required',
|
255
|
+
});
|
256
|
+
return false;
|
257
|
+
}
|
258
|
+
return true;
|
259
|
+
}
|
260
|
+
if (!ee.includes(v)) {
|
261
|
+
ctx.addIssue({
|
262
|
+
code: z.ZodIssueCode.custom,
|
263
|
+
message: 'Invalid energy efficiency class',
|
264
|
+
});
|
265
|
+
return false;
|
266
|
+
}
|
267
|
+
if (efficiency && !compareEfficiency(v, efficiency)) {
|
268
|
+
ctx.addIssue({
|
269
|
+
code: z.ZodIssueCode.custom,
|
270
|
+
message: 'Energy efficiency class should be lover or equal to the energy efficiency class',
|
271
|
+
});
|
272
|
+
return false;
|
273
|
+
}
|
274
|
+
if (maxEfficiency && !compareEfficiency(v, maxEfficiency)) {
|
275
|
+
ctx.addIssue({
|
276
|
+
code: z.ZodIssueCode.custom,
|
277
|
+
message: 'Minimum energy efficiency class should be lower or equal to the maximum energy efficiency class',
|
278
|
+
});
|
279
|
+
return false;
|
280
|
+
}
|
281
|
+
return true;
|
282
|
+
});
|
283
|
+
};
|
284
|
+
export const maxEnergyEfficiencyClassSchema = ({ efficiency = '', minEfficiency } = {}) => {
|
285
|
+
return z.string().superRefine((v, ctx) => {
|
286
|
+
if (!v) {
|
287
|
+
if (minEfficiency || efficiency) {
|
288
|
+
ctx.addIssue({
|
289
|
+
code: z.ZodIssueCode.custom,
|
290
|
+
message: 'Maximum energy efficiency class is required',
|
291
|
+
});
|
292
|
+
return false;
|
293
|
+
}
|
294
|
+
return true;
|
295
|
+
}
|
296
|
+
if (!ee.includes(v)) {
|
297
|
+
ctx.addIssue({
|
298
|
+
code: z.ZodIssueCode.custom,
|
299
|
+
message: 'Invalid energy efficiency class',
|
300
|
+
});
|
301
|
+
return false;
|
302
|
+
}
|
303
|
+
if (efficiency && !compareEfficiency(efficiency, v)) {
|
304
|
+
ctx.addIssue({
|
305
|
+
code: z.ZodIssueCode.custom,
|
306
|
+
message: 'Maximum energy efficiency class should be greater or equal to the energy efficiency class',
|
307
|
+
});
|
308
|
+
return false;
|
309
|
+
}
|
310
|
+
if (minEfficiency && !compareEfficiency(minEfficiency, v)) {
|
311
|
+
ctx.addIssue({
|
312
|
+
code: z.ZodIssueCode.custom,
|
313
|
+
message: 'Maximum energy efficiency class should be greater or equal to the minimum energy efficiency class',
|
314
|
+
});
|
315
|
+
return false;
|
316
|
+
}
|
317
|
+
return true;
|
318
|
+
});
|
319
|
+
};
|
206
320
|
export const gtinSchema = z.string().refine((gtin) => {
|
207
321
|
if (!gtin) {
|
208
322
|
return true;
|
@@ -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;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC,CAAC;AAC9F,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,UAAU,EAAE,EA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
|
|
1
1
|
/* eslint-disable quotes */
|
2
2
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
3
3
|
/* eslint-disable max-len */
|
4
|
-
import {
|
4
|
+
import {
|
5
|
+
dateRangeSchema,
|
6
|
+
energyEfficiencyClassSchema,
|
7
|
+
gtinSchema,
|
8
|
+
maxEnergyEfficiencyClassSchema,
|
9
|
+
measureUnitsSchema,
|
10
|
+
minEnergyEfficiencyClassSchema,
|
11
|
+
priceSchema,
|
12
|
+
salePriceSchema,
|
13
|
+
validateIfNoMacro,
|
14
|
+
} from './index.js';
|
5
15
|
import { XmlFeedFormat } from '../../constants/profile.constants.js';
|
6
16
|
import { ProductUploadMapSource, XmlFeedTemplateType } from '../../types/profile.types.js';
|
7
17
|
import { z } from 'zod';
|
@@ -205,8 +215,10 @@ export const googleFeedTemplate: XmlFeedTemplateType = {
|
|
205
215
|
v,
|
206
216
|
z
|
207
217
|
.string()
|
208
|
-
.refine(v => !v || z.string().datetime({ offset: true }).safeParse(v).success, {
|
209
|
-
|
218
|
+
.refine(v => !v || z.string().datetime({ offset: true }).safeParse(v).success, {
|
219
|
+
message: 'invalid date',
|
220
|
+
})
|
221
|
+
.refine(v => !v || new Date(v).getTime() < 1000 * 60 * 60 * 24 * 365 + new Date().getTime(), {
|
210
222
|
message: 'The date should be up to one year in the future',
|
211
223
|
})
|
212
224
|
),
|
@@ -237,8 +249,10 @@ export const googleFeedTemplate: XmlFeedTemplateType = {
|
|
237
249
|
v,
|
238
250
|
z
|
239
251
|
.string()
|
240
|
-
.refine(v => !v || z.string().datetime({ offset: true }).safeParse(v).success, {
|
241
|
-
|
252
|
+
.refine(v => !v || z.string().datetime({ offset: true }).safeParse(v).success, {
|
253
|
+
message: 'invalid date',
|
254
|
+
})
|
255
|
+
.refine(v => !v || new Date(v).getTime() < 1000 * 60 * 60 * 24 * 30 + new Date().getTime(), {
|
242
256
|
message: 'The date should be less than 30 days in the future',
|
243
257
|
})
|
244
258
|
),
|
@@ -254,7 +268,7 @@ export const googleFeedTemplate: XmlFeedTemplateType = {
|
|
254
268
|
"Your products price. Accurately submit the product's price and currency, and match with the price from your landing page and at checkout. Example: 15.00 USD",
|
255
269
|
required: true,
|
256
270
|
type: 'macro-input',
|
257
|
-
validator: (v: string | number) => validateIfNoMacro(v,
|
271
|
+
validator: (v: string | number) => validateIfNoMacro(v, priceSchema()),
|
258
272
|
defaultValue: '{{shopify.price}} {{shopify.shop_currency}}',
|
259
273
|
rules: { sections: [] },
|
260
274
|
baseMode: true,
|
@@ -505,7 +519,7 @@ export const googleFeedTemplate: XmlFeedTemplateType = {
|
|
505
519
|
'Your product’s Global Trade Item Number (GTIN). Required (For all products with a known GTIN to enable full offer performance). Max 50 numeric characters. Example: 3234567890126',
|
506
520
|
required: false,
|
507
521
|
type: 'macro-input',
|
508
|
-
validator: (v: string | number) => validateIfNoMacro(v,
|
522
|
+
validator: (v: string | number) => validateIfNoMacro(v, gtinSchema),
|
509
523
|
defaultValue: '{{shopify.barcode}}',
|
510
524
|
rules: { sections: [] },
|
511
525
|
},
|
@@ -600,8 +614,54 @@ export const googleFeedTemplate: XmlFeedTemplateType = {
|
|
600
614
|
'Your product’s energy label. Available for the EU and EFTA countries and the UK. Note: This attribute is being deprecated. Please use the certification attribute instead to show the EU energy efficiency class. Supported values: A, A+, A++, A+++, B, C, D, E, F, G. Example: A+',
|
601
615
|
required: false,
|
602
616
|
type: 'macro-input',
|
603
|
-
validator: (v: string | number) =>
|
604
|
-
validateIfNoMacro(
|
617
|
+
validator: (v: string | number, values: { attribute: string; value: string | number }[]) =>
|
618
|
+
validateIfNoMacro(
|
619
|
+
v,
|
620
|
+
energyEfficiencyClassSchema({
|
621
|
+
minEfficiency: values.find(v => v.attribute === 'min_energy_efficiency_class')?.value as any,
|
622
|
+
maxEfficiency: values.find(v => v.attribute === 'max_energy_efficiency_class')?.value as any,
|
623
|
+
})
|
624
|
+
),
|
625
|
+
defaultValue: '{{source.energy_efficiency:}}',
|
626
|
+
rules: { sections: [] },
|
627
|
+
singleChoice: true,
|
628
|
+
fixedValue: true,
|
629
|
+
},
|
630
|
+
{
|
631
|
+
attribute: 'min_energy_efficiency_class',
|
632
|
+
label: 'Minimum energy efficiency class',
|
633
|
+
description:
|
634
|
+
'Your product’s energy label. Available for the EU and EFTA countries and the UK. Note: This attribute is being deprecated. Please use the certification attribute instead to show the EU energy efficiency class. Supported values: A, A+, A++, A+++, B, C, D, E, F, G. Example: A+',
|
635
|
+
required: false,
|
636
|
+
type: 'macro-input',
|
637
|
+
validator: (v: string | number, values: { attribute: string; value: string | number }[]) =>
|
638
|
+
validateIfNoMacro(
|
639
|
+
v,
|
640
|
+
minEnergyEfficiencyClassSchema({
|
641
|
+
efficiency: values.find(v => v.attribute === 'energy_efficiency_class')?.value as any,
|
642
|
+
maxEfficiency: values.find(v => v.attribute === 'max_energy_efficiency_class')?.value as any,
|
643
|
+
})
|
644
|
+
),
|
645
|
+
defaultValue: '{{source.energy_efficiency:}}',
|
646
|
+
rules: { sections: [] },
|
647
|
+
singleChoice: true,
|
648
|
+
fixedValue: true,
|
649
|
+
},
|
650
|
+
{
|
651
|
+
attribute: 'max_energy_efficiency_class',
|
652
|
+
label: 'Maximum energy efficiency class',
|
653
|
+
description:
|
654
|
+
'Your product’s energy label. Available for the EU and EFTA countries and the UK. Note: This attribute is being deprecated. Please use the certification attribute instead to show the EU energy efficiency class. Supported values: A, A+, A++, A+++, B, C, D, E, F, G. Example: A+',
|
655
|
+
required: false,
|
656
|
+
type: 'macro-input',
|
657
|
+
validator: (v: string | number, values: { attribute: string; value: string | number }[]) =>
|
658
|
+
validateIfNoMacro(
|
659
|
+
v,
|
660
|
+
maxEnergyEfficiencyClassSchema({
|
661
|
+
efficiency: values.find(v => v.attribute === 'energy_efficiency_class')?.value as any,
|
662
|
+
minEfficiency: values.find(v => v.attribute === 'min_energy_efficiency_class')?.value as any,
|
663
|
+
})
|
664
|
+
),
|
605
665
|
defaultValue: '{{source.energy_efficiency:}}',
|
606
666
|
rules: { sections: [] },
|
607
667
|
singleChoice: true,
|
@@ -692,21 +752,20 @@ export const googleFeedTemplate: XmlFeedTemplateType = {
|
|
692
752
|
validator: (v: string | number) =>
|
693
753
|
validateIfNoMacro(
|
694
754
|
v,
|
695
|
-
z
|
696
|
-
|
697
|
-
|
698
|
-
v
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
.
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
)
|
755
|
+
z.string().refine(
|
756
|
+
v =>
|
757
|
+
!v ||
|
758
|
+
(v.split(',').length < 3 &&
|
759
|
+
v
|
760
|
+
.split(',')
|
761
|
+
.map(st => st.trim())
|
762
|
+
.every(st =>
|
763
|
+
['regular', 'petite', 'maternity', 'big', 'tall', 'plus'].includes(st)
|
764
|
+
)),
|
765
|
+
{
|
766
|
+
message: `Only 'regular', 'petite', 'maternity', 'big', 'tall', 'plus' supported. Max 2 values`,
|
767
|
+
}
|
768
|
+
)
|
710
769
|
),
|
711
770
|
rules: { sections: [] },
|
712
771
|
defaultValue: '{{source.google_size_type:}}',
|
@@ -235,6 +235,135 @@ export const salePriceSchema = ({ min = 0, max = 1000000, price = '' } = {}) =>
|
|
235
235
|
}
|
236
236
|
});
|
237
237
|
|
238
|
+
const ee = ['A', 'A+', 'A++', 'A+++', 'B', 'C', 'D', 'E', 'F', 'G',];
|
239
|
+
|
240
|
+
const compareEfficiency = (minEfficiency: string, maxEfficiency: string): boolean => {
|
241
|
+
const minIndex = ee.findIndex(e => e === minEfficiency);
|
242
|
+
const maxIndex = ee.findIndex(e => e === maxEfficiency);
|
243
|
+
|
244
|
+
return minIndex <= maxIndex;
|
245
|
+
}
|
246
|
+
|
247
|
+
export const energyEfficiencyClassSchema = ({ minEfficiency = '', maxEfficiency } = {} as { minEfficiency?: string, maxEfficiency?: string }) => {
|
248
|
+
return z.string().superRefine((v, ctx) => {
|
249
|
+
if (!v) {
|
250
|
+
if (maxEfficiency || minEfficiency) {
|
251
|
+
ctx.addIssue({
|
252
|
+
code: z.ZodIssueCode.custom,
|
253
|
+
message: 'Energy efficiency class is required',
|
254
|
+
});
|
255
|
+
return false;
|
256
|
+
}
|
257
|
+
return true;
|
258
|
+
}
|
259
|
+
|
260
|
+
if (!ee.includes(v)) {
|
261
|
+
ctx.addIssue({
|
262
|
+
code: z.ZodIssueCode.custom,
|
263
|
+
message: 'Invalid energy efficiency class',
|
264
|
+
});
|
265
|
+
return false;
|
266
|
+
}
|
267
|
+
|
268
|
+
if (minEfficiency && !compareEfficiency(minEfficiency, v)) {
|
269
|
+
ctx.addIssue({
|
270
|
+
code: z.ZodIssueCode.custom,
|
271
|
+
message: 'Energy efficiency class should be greater or equal to the minimum energy efficiency class',
|
272
|
+
});
|
273
|
+
return false;
|
274
|
+
}
|
275
|
+
|
276
|
+
if (maxEfficiency && !compareEfficiency(v, maxEfficiency)) {
|
277
|
+
ctx.addIssue({
|
278
|
+
code: z.ZodIssueCode.custom,
|
279
|
+
message: 'Energy efficiency class should be lower or equal to the maximum energy efficiency class',
|
280
|
+
});
|
281
|
+
return false;
|
282
|
+
}
|
283
|
+
return true;
|
284
|
+
});
|
285
|
+
}
|
286
|
+
|
287
|
+
export const minEnergyEfficiencyClassSchema = ({ efficiency = '', maxEfficiency } = {} as { efficiency?: string, maxEfficiency?: string }) => {
|
288
|
+
return z.string().superRefine((v, ctx) => {
|
289
|
+
if (!v) {
|
290
|
+
if (maxEfficiency || efficiency) {
|
291
|
+
ctx.addIssue({
|
292
|
+
code: z.ZodIssueCode.custom,
|
293
|
+
message: 'Minimum energy efficiency class is required',
|
294
|
+
});
|
295
|
+
return false;
|
296
|
+
}
|
297
|
+
return true;
|
298
|
+
}
|
299
|
+
|
300
|
+
if (!ee.includes(v)) {
|
301
|
+
ctx.addIssue({
|
302
|
+
code: z.ZodIssueCode.custom,
|
303
|
+
message: 'Invalid energy efficiency class',
|
304
|
+
});
|
305
|
+
return false;
|
306
|
+
}
|
307
|
+
|
308
|
+
if (efficiency && !compareEfficiency(v, efficiency)) {
|
309
|
+
ctx.addIssue({
|
310
|
+
code: z.ZodIssueCode.custom,
|
311
|
+
message: 'Energy efficiency class should be lover or equal to the energy efficiency class',
|
312
|
+
});
|
313
|
+
return false;
|
314
|
+
}
|
315
|
+
|
316
|
+
if (maxEfficiency && !compareEfficiency(v, maxEfficiency)) {
|
317
|
+
ctx.addIssue({
|
318
|
+
code: z.ZodIssueCode.custom,
|
319
|
+
message: 'Minimum energy efficiency class should be lower or equal to the maximum energy efficiency class',
|
320
|
+
});
|
321
|
+
return false;
|
322
|
+
}
|
323
|
+
return true;
|
324
|
+
});
|
325
|
+
}
|
326
|
+
|
327
|
+
export const maxEnergyEfficiencyClassSchema = ({ efficiency = '', minEfficiency } = {} as { efficiency?: string, minEfficiency?: string }) => {
|
328
|
+
return z.string().superRefine((v, ctx) => {
|
329
|
+
if (!v) {
|
330
|
+
if (minEfficiency || efficiency) {
|
331
|
+
ctx.addIssue({
|
332
|
+
code: z.ZodIssueCode.custom,
|
333
|
+
message: 'Maximum energy efficiency class is required',
|
334
|
+
});
|
335
|
+
return false;
|
336
|
+
}
|
337
|
+
return true;
|
338
|
+
}
|
339
|
+
|
340
|
+
if (!ee.includes(v)) {
|
341
|
+
ctx.addIssue({
|
342
|
+
code: z.ZodIssueCode.custom,
|
343
|
+
message: 'Invalid energy efficiency class',
|
344
|
+
});
|
345
|
+
return false;
|
346
|
+
}
|
347
|
+
|
348
|
+
if (efficiency && !compareEfficiency(efficiency, v)) {
|
349
|
+
ctx.addIssue({
|
350
|
+
code: z.ZodIssueCode.custom,
|
351
|
+
message: 'Maximum energy efficiency class should be greater or equal to the energy efficiency class',
|
352
|
+
});
|
353
|
+
return false;
|
354
|
+
}
|
355
|
+
|
356
|
+
if (minEfficiency && !compareEfficiency(minEfficiency, v)) {
|
357
|
+
ctx.addIssue({
|
358
|
+
code: z.ZodIssueCode.custom,
|
359
|
+
message: 'Maximum energy efficiency class should be greater or equal to the minimum energy efficiency class',
|
360
|
+
});
|
361
|
+
return false;
|
362
|
+
}
|
363
|
+
return true;
|
364
|
+
});
|
365
|
+
}
|
366
|
+
|
238
367
|
export const gtinSchema = z.string().refine((gtin) => {
|
239
368
|
if (!gtin) {
|
240
369
|
return true;
|