feed-common 1.51.2 → 1.51.3

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.51.3](https://github.com/advertikon/package-maxify-feed-common/compare/v1.51.2...v1.51.3) (2024-10-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * change contentLanguage in GMC API template to macro-input ([2bb9875](https://github.com/advertikon/package-maxify-feed-common/commit/2bb987593c69a709de5cf90bf92252626a2971c1))
7
+
1
8
  ## [1.51.2](https://github.com/advertikon/package-maxify-feed-common/compare/v1.51.1...v1.51.2) (2024-10-06)
2
9
 
3
10
 
@@ -1 +1 @@
1
- {"version":3,"file":"google-api.template.d.ts","sourceRoot":"","sources":["../../../src/utils/feed-templates/google-api.template.ts"],"names":[],"mappings":"AAKA,OAAO,EAA0B,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AA8B3F,eAAO,MAAM,iBAAiB,EAAE,mBA8+B/B,CAAC"}
1
+ {"version":3,"file":"google-api.template.d.ts","sourceRoot":"","sources":["../../../src/utils/feed-templates/google-api.template.ts"],"names":[],"mappings":"AAKA,OAAO,EAA0B,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AA8B3F,eAAO,MAAM,iBAAiB,EAAE,mBA++B/B,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, validateIfNoMacro } from './index.js';
4
+ import { dateRangeSchema, languageSchema, measureUnitsSchema, priceSchema, validateIfNoMacro } from './index.js';
5
5
  import { SOURCE_COUNTRY, SOURCE_LANGUAGE, XmlFeedFormat } from '../../constants/profile.constants.js';
6
6
  import { z } from 'zod';
7
7
  import { ulid } from 'ulid';
@@ -46,10 +46,11 @@ export const googleApiTemplate = {
46
46
  label: 'Content language',
47
47
  description: 'The two-letter ISO 639-1 language code for the item',
48
48
  required: true,
49
- type: 'select',
50
- choices: [SOURCE_LANGUAGE],
49
+ type: 'macro-input',
50
+ defaultValue: '{{source.language}}',
51
51
  rules: { sections: [] },
52
52
  baseMode: true,
53
+ validator: (v) => validateIfNoMacro(v, languageSchema),
53
54
  },
54
55
  {
55
56
  attribute: 'targetCountry',
@@ -1 +1 @@
1
- {"version":3,"file":"google-api.template.js","sourceRoot":"","sources":["../../../src/utils/feed-templates/google-api.template.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,uDAAuD;AACvD,4BAA4B;AAC5B,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACjG,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAEtG,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,MAAM,mBAAmB,GAA2B;IAChD,SAAS,EAAE,cAAc;IACzB,KAAK,EAAE,cAAc;IACrB,WAAW,EACP,gJAAgJ;IACpJ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE,aAAoB;IAC1B,SAAS,EAAE,CAAC,CAAkB,EAAE,EAAE,CAC9B,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,CAAC,CAAC,CAAC;IACvF,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvB,QAAQ,EAAE,IAAI;IACd,YAAY,EAAE,EAAE;CACnB,CAAC;AAEF,MAAM,kBAAkB,GAA2B;IAC/C,SAAS,EAAE,EAAE;IACb,KAAK,EAAE,EAAE;IACT,WAAW,EACP,wIAAwI;IAC5I,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE,aAAoB;IAC1B,SAAS,EAAE,CAAC,CAAkB,EAAE,EAAE,CAAC,iBAAiB,CAA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E;SAC1B;QACD;YACI,SAAS,EAAE,OAAO;YAClB,KAAK,EAAE,KAAK;YACZ,WAAW,EACP,4WAA4W;YAChX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,aAAa;YACnB,YAAY,EAAE,EAAE;YAChB,qCAAqC;YACrC,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;SAC1B;QACD;YACI,SAAS,EAAE,aAAa;YACxB,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"}
1
+ {"version":3,"file":"google-api.template.js","sourceRoot":"","sources":["../../../src/utils/feed-templates/google-api.template.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,uDAAuD;AACvD,4BAA4B;AAC5B,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,kBAAkB,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACjH,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAEtG,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,MAAM,mBAAmB,GAA2B;IAChD,SAAS,EAAE,cAAc;IACzB,KAAK,EAAE,cAAc;IACrB,WAAW,EACP,gJAAgJ;IACpJ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE,aAAoB;IAC1B,SAAS,EAAE,CAAC,CAAkB,EAAE,EAAE,CAC9B,iBAAiB,CAAC,CAAC,EAAE,CAA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AAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC5E,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;SAC1B;QACD;YACI,SAAS,EAAE,iBAAiB;YAC5B,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EACP,oPAAoP;YACxP,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,aAAa;YACnB,SAAS,EAAE,CAAC,CAAkB,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;YACvF,YAAY,EAAE,EAAE;YAChB,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;SAC1B;QACD;YACI,SAAS,EAAE,OAAO;YAClB,KAAK,EAAE,KAAK;YACZ,WAAW,EACP,4WAA4W;YAChX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,aAAa;YACnB,YAAY,EAAE,EAAE;YAChB,qCAAqC;YACrC,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;SAC1B;QACD;YACI,SAAS,EAAE,aAAa;YACxB,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"}
@@ -5,11 +5,13 @@ export declare const hasMacro: (v: string) => boolean;
5
5
  export declare const removeMacro: (v: string) => string;
6
6
  export declare function validate(value: string | number, validator: ZodType<any, any>, skipEmpty?: boolean): SafeParseReturnType<any, any>;
7
7
  export declare function validateIfNoMacro(value: string | number, validator: ZodType<any, any>): SafeParseReturnType<any, any>;
8
+ export declare function resolveSourceMacro(macro: any): any;
8
9
  export declare const dateRangeSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>;
9
10
  export declare const measureUnitsSchema: (units: string[]) => z.ZodEffects<z.ZodString, string, string>;
10
11
  export declare const optionalUrlSchema: z.ZodEffects<z.ZodString, string, string>;
11
12
  export declare function getTemplate(type: XMLFeedType): XmlFeedTemplateType;
12
13
  export declare const currencySchema: z.ZodEnum<["AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "FOK", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KID", "KMF", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLE", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TVD", "TWD", "TZS", "UAH", "UGX", "USD", "USN", "UYI", "UYU", "UYW", "UZS", "VED", "VES", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "XSU", "XTS", "XUA", "XXX", "YER", "ZAR", "ZMW", "ZWL"]>;
14
+ export declare const languageSchema: z.ZodEffects<z.ZodString, string, string>;
13
15
  export declare const priceRegex: RegExp;
14
16
  export declare const priceSchema: ({ min, max }?: {
15
17
  min?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/feed-templates/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAGnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAMnE,eAAO,MAAM,QAAQ,MAAO,MAAM,YAAwB,CAAC;AAC3D,eAAO,MAAM,WAAW,MAAO,MAAM,WAAmC,CAAC;AAEzE,wBAAgB,QAAQ,CACpB,KAAK,EAAE,MAAM,GAAG,MAAM,EACtB,SAAS,EAAE,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,EAC5B,SAAS,UAAO,GACjB,mBAAmB,CAAC,GAAG,EAAE,GAAG,CAAC,CAY/B;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,SAAS,EAAE,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,mBAAmB,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,CAA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A;AAED,eAAO,MAAM,cAAc,QAAuC,CAAC;AAEnE,wBAAgB,oBAAoB,CAAC,EAAE,SAAS,EAAE,GAAO,EAAE,GAAa,EAAE,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG;IAC5H,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CAChB,CAcA;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAUvD;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAEnD;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE/C"}
@@ -7,7 +7,7 @@ import { googleFeedTemplate } from './google.template.js';
7
7
  import { tiktokFeedTemplate } from './tiktok.template.js';
8
8
  import { microsoftTemplate } from './microsoft.template.js';
9
9
  import { googleApiTemplate } from './google-api.template.js';
10
- export const hasMacro = (v) => /{{[^}]+}}/.test(v);
10
+ export const hasMacro = (v) => /{{[^}]+}}/.test(v.replaceAll(/{{source\.[^}]+}}/g, ''));
11
11
  export const removeMacro = (v) => v.replaceAll(/{{[^}]+}}/g, '');
12
12
  export function validate(value, validator, skipEmpty = true) {
13
13
  let valueToValidate = value;
@@ -23,7 +23,16 @@ export function validateIfNoMacro(value, validator) {
23
23
  if (typeof value === 'string' && hasMacro(value)) {
24
24
  return { success: true, data: value };
25
25
  }
26
- return validator.safeParse(value);
26
+ return validator.safeParse(resolveSourceMacro(value));
27
+ }
28
+ export function resolveSourceMacro(macro) {
29
+ if (typeof macro !== 'string') {
30
+ return macro;
31
+ }
32
+ return macro.replace(/{{source\.([^}]+)}}/g, (macro) => {
33
+ const [, value] = macro.split(':');
34
+ return value;
35
+ });
27
36
  }
28
37
  export const dateRangeSchema = z
29
38
  .string()
@@ -80,191 +89,41 @@ export function getTemplate(type) {
80
89
  }
81
90
  }
82
91
  export const currencySchema = z.enum([
83
- 'AED',
84
- 'AFN',
85
- 'ALL',
86
- 'AMD',
87
- 'ANG',
88
- 'AOA',
89
- 'ARS',
90
- 'AUD',
91
- 'AWG',
92
- 'AZN',
93
- 'BAM',
94
- 'BBD',
95
- 'BDT',
96
- 'BGN',
97
- 'BHD',
98
- 'BIF',
99
- 'BMD',
100
- 'BND',
101
- 'BOB',
102
- 'BOV',
103
- 'BRL',
104
- 'BSD',
105
- 'BTN',
106
- 'BWP',
107
- 'BYN',
108
- 'BZD',
109
- 'CAD',
110
- 'CDF',
111
- 'CHE',
112
- 'CHF',
113
- 'CHW',
114
- 'CLF',
115
- 'CLP',
116
- 'CNY',
117
- 'COP',
118
- 'COU',
119
- 'CRC',
120
- 'CUC',
121
- 'CUP',
122
- 'CVE',
123
- 'CZK',
124
- 'DJF',
125
- 'DKK',
126
- 'DOP',
127
- 'DZD',
128
- 'EGP',
129
- 'ERN',
130
- 'ETB',
131
- 'EUR',
132
- 'FJD',
133
- 'FKP',
134
- 'FOK',
135
- 'GBP',
136
- 'GEL',
137
- 'GGP',
138
- 'GHS',
139
- 'GIP',
140
- 'GMD',
141
- 'GNF',
142
- 'GTQ',
143
- 'GYD',
144
- 'HKD',
145
- 'HNL',
146
- 'HRK',
147
- 'HTG',
148
- 'HUF',
149
- 'IDR',
150
- 'ILS',
151
- 'IMP',
152
- 'INR',
153
- 'IQD',
154
- 'IRR',
155
- 'ISK',
156
- 'JMD',
157
- 'JOD',
158
- 'JPY',
159
- 'KES',
160
- 'KGS',
161
- 'KHR',
162
- 'KID',
163
- 'KMF',
164
- 'KRW',
165
- 'KWD',
166
- 'KYD',
167
- 'KZT',
168
- 'LAK',
169
- 'LBP',
170
- 'LKR',
171
- 'LRD',
172
- 'LSL',
173
- 'LYD',
174
- 'MAD',
175
- 'MDL',
176
- 'MGA',
177
- 'MKD',
178
- 'MMK',
179
- 'MNT',
180
- 'MOP',
181
- 'MRU',
182
- 'MUR',
183
- 'MVR',
184
- 'MWK',
185
- 'MXN',
186
- 'MXV',
187
- 'MYR',
188
- 'MZN',
189
- 'NAD',
190
- 'NGN',
191
- 'NIO',
192
- 'NOK',
193
- 'NPR',
194
- 'NZD',
195
- 'OMR',
196
- 'PAB',
197
- 'PEN',
198
- 'PGK',
199
- 'PHP',
200
- 'PKR',
201
- 'PLN',
202
- 'PYG',
203
- 'QAR',
204
- 'RON',
205
- 'RSD',
206
- 'RUB',
207
- 'RWF',
208
- 'SAR',
209
- 'SBD',
210
- 'SCR',
211
- 'SDG',
212
- 'SEK',
213
- 'SGD',
214
- 'SHP',
215
- 'SLE',
216
- 'SLL',
217
- 'SOS',
218
- 'SRD',
219
- 'SSP',
220
- 'STN',
221
- 'SYP',
222
- 'SZL',
223
- 'THB',
224
- 'TJS',
225
- 'TMT',
226
- 'TND',
227
- 'TOP',
228
- 'TRY',
229
- 'TTD',
230
- 'TVD',
231
- 'TWD',
232
- 'TZS',
233
- 'UAH',
234
- 'UGX',
235
- 'USD',
236
- 'USN',
237
- 'UYI',
238
- 'UYU',
239
- 'UYW',
240
- 'UZS',
241
- 'VED',
242
- 'VES',
243
- 'VND',
244
- 'VUV',
245
- 'WST',
246
- 'XAF',
247
- 'XAG',
248
- 'XAU',
249
- 'XBA',
250
- 'XBB',
251
- 'XBC',
252
- 'XBD',
253
- 'XCD',
254
- 'XDR',
255
- 'XOF',
256
- 'XPD',
257
- 'XPF',
258
- 'XPT',
259
- 'XSU',
260
- 'XTS',
261
- 'XUA',
262
- 'XXX',
263
- 'YER',
264
- 'ZAR',
265
- 'ZMW',
266
- 'ZWL',
92
+ 'AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AUD', 'AWG', 'AZN', 'BAM', 'BBD',
93
+ 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BOV', 'BRL', 'BSD', 'BTN', 'BWP',
94
+ 'BYN', 'BZD', 'CAD', 'CDF', 'CHE', 'CHF', 'CHW', 'CLF', 'CLP', 'CNY', 'COP', 'COU',
95
+ 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', 'ERN', 'ETB',
96
+ 'EUR', 'FJD', 'FKP', 'FOK', 'GBP', 'GEL', 'GGP', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ',
97
+ 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IMP', 'INR', 'IQD', 'IRR',
98
+ 'ISK', 'JMD', 'JOD', 'JPY', 'KES', 'KGS', 'KHR', 'KID', 'KMF', 'KRW', 'KWD', 'KYD',
99
+ 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK',
100
+ 'MNT', 'MOP', 'MRU', 'MUR', 'MVR', 'MWK', 'MXN', 'MXV', 'MYR', 'MZN', 'NAD', 'NGN',
101
+ 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG',
102
+ 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP',
103
+ 'SLE', 'SLL', 'SOS', 'SRD', 'SSP', 'STN', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', 'TND',
104
+ 'TOP', 'TRY', 'TTD', 'TVD', 'TWD', 'TZS', 'UAH', 'UGX', 'USD', 'USN', 'UYI', 'UYU',
105
+ 'UYW', 'UZS', 'VED', 'VES', 'VND', 'VUV', 'WST', 'XAF', 'XAG', 'XAU', 'XBA', 'XBB',
106
+ 'XBC', 'XBD', 'XCD', 'XDR', 'XOF', 'XPD', 'XPF', 'XPT', 'XSU', 'XTS', 'XUA', 'XXX',
107
+ 'YER', 'ZAR', 'ZMW', 'ZWL'
267
108
  ]);
109
+ export const languageSchema = z.string().refine(v => !v || [
110
+ 'aa', 'ab', 'ae', 'af', 'ak', 'am', 'an', 'ar', 'as', 'av', 'ay', 'az',
111
+ 'ba', 'be', 'bg', 'bh', 'bi', 'bm', 'bn', 'bo', 'br', 'bs', 'ca', 'ce',
112
+ 'ch', 'co', 'cr', 'cs', 'cu', 'cv', 'cy', 'da', 'de', 'dv', 'dz', 'ee',
113
+ 'el', 'en', 'eo', 'es', 'et', 'eu', 'fa', 'ff', 'fi', 'fj', 'fo', 'fr',
114
+ 'fy', 'ga', 'gd', 'gl', 'gn', 'gu', 'gv', 'ha', 'he', 'hi', 'ho', 'hr',
115
+ 'ht', 'hu', 'hy', 'hz', 'ia', 'id', 'ie', 'ig', 'ii', 'ik', 'io', 'is',
116
+ 'it', 'iu', 'ja', 'jv', 'ka', 'kg', 'ki', 'kj', 'kk', 'kl', 'km', 'kn',
117
+ 'ko', 'kr', 'ks', 'ku', 'kv', 'kw', 'ky', 'la', 'lb', 'lg', 'li', 'ln',
118
+ 'lo', 'lt', 'lu', 'lv', 'mg', 'mh', 'mi', 'mk', 'ml', 'mn', 'mr', 'ms',
119
+ 'mt', 'my', 'na', 'nb', 'nd', 'ne', 'ng', 'nl', 'nn', 'no', 'nr', 'nv',
120
+ 'ny', 'oc', 'oj', 'om', 'or', 'os', 'pa', 'pi', 'pl', 'ps', 'pt', 'qu',
121
+ 'rm', 'rn', 'ro', 'ru', 'rw', 'sa', 'sc', 'sd', 'se', 'sg', 'si', 'sk',
122
+ 'sl', 'sm', 'sn', 'so', 'sq', 'sr', 'ss', 'st', 'su', 'sv', 'sw', 'ta',
123
+ 'te', 'tg', 'th', 'ti', 'tk', 'tl', 'tn', 'to', 'tr', 'ts', 'tt', 'tw',
124
+ 'ty', 'ug', 'uk', 'ur', 'uz', 've', 'vi', 'vo', 'wa', 'wo', 'xh', 'yi',
125
+ 'yo', 'za', 'zh', 'zu'
126
+ ].includes(v.toLowerCase()), { message: 'Invalid language code' });
268
127
  export const priceRegex = /^(?<value>\d+(?:\.\d{1,2})?)\s*(?<currency>\w+)$/;
269
128
  export const priceSchema = ({ min = 0, max = 1000000 } = {}) => z.string().superRefine((v, ctx) => {
270
129
  if (!v) {
@@ -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;AAE7D,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC3D,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;AAEzE,MAAM,UAAU,QAAQ,CACpB,KAAsB,EACtB,SAA4B,EAC5B,SAAS,GAAG,IAAI;IAEhB,IAAI,eAAe,GAAG,KAAK,CAAC;IAE5B,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5B,eAAe,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;IACzC,CAAC;IAED,IAAI,CAAC,KAAK,IAAI,SAAS,EAAE,CAAC;QACtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;IAC1C,CAAC;IAED,OAAO,S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K;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,K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C,CAAC;QAC7C,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,GAAG;QACjC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,GAAG,EACnC,CAAC;QACC,MAAM,IAAI,KAAK,CAAC,2BAA2B,GAAG,QAAQ,GAAG,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE,KAAe,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE,IAAc,EAAE,CAAC;AACxF,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,KAAa;IAC1C,IAAI,KAAK,KAAK,MAAM,EAAE,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,IAAI,KAAK,KAAK,OAAO,EAAE,CAAC;QACpB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;AAC7C,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,KAAa;IACrC,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,KAAa;IACnC,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AACnE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feed-common",
3
- "version": "1.51.2",
3
+ "version": "1.51.3",
4
4
  "description": "Maxify feed common library",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -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, validateIfNoMacro } from './index.js';
4
+ import { dateRangeSchema, languageSchema, measureUnitsSchema, priceSchema, validateIfNoMacro } from './index.js';
5
5
  import { SOURCE_COUNTRY, SOURCE_LANGUAGE, XmlFeedFormat } from '../../constants/profile.constants.js';
6
6
  import { ProductUploadMapSource, XmlFeedTemplateType } from '../../types/profile.types.js';
7
7
  import { z } from 'zod';
@@ -54,10 +54,11 @@ export const googleApiTemplate: XmlFeedTemplateType = {
54
54
  label: 'Content language',
55
55
  description: 'The two-letter ISO 639-1 language code for the item',
56
56
  required: true,
57
- type: 'select',
58
- choices: [SOURCE_LANGUAGE],
57
+ type: 'macro-input',
58
+ defaultValue: '{{source.language}}',
59
59
  rules: { sections: [] },
60
60
  baseMode: true,
61
+ validator: (v: string | number) => validateIfNoMacro(v, languageSchema),
61
62
  },
62
63
  {
63
64
  attribute: 'targetCountry',
@@ -9,7 +9,7 @@ import { tiktokFeedTemplate } from './tiktok.template.js';
9
9
  import { microsoftTemplate } from './microsoft.template.js';
10
10
  import { googleApiTemplate } from './google-api.template.js';
11
11
 
12
- export const hasMacro = (v: string) => /{{[^}]+}}/.test(v);
12
+ export const hasMacro = (v: string) => /{{[^}]+}}/.test(v.replaceAll(/{{source\.[^}]+}}/g, ''));
13
13
  export const removeMacro = (v: string) => v.replaceAll(/{{[^}]+}}/g, '');
14
14
 
15
15
  export function validate(
@@ -35,7 +35,17 @@ export function validateIfNoMacro(value: string | number, validator: ZodType<any
35
35
  return { success: true, data: value };
36
36
  }
37
37
 
38
- return validator.safeParse(value);
38
+ return validator.safeParse(resolveSourceMacro(value));
39
+ }
40
+
41
+ export function resolveSourceMacro(macro: any): any {
42
+ if (typeof macro !== 'string') {
43
+ return macro;
44
+ }
45
+ return macro.replace(/{{source\.([^}]+)}}/g, (macro) => {
46
+ const [, value] = macro.split(':');
47
+ return value;
48
+ });
39
49
  }
40
50
 
41
51
  export const dateRangeSchema = z
@@ -100,192 +110,43 @@ export function getTemplate(type: XMLFeedType): XmlFeedTemplateType {
100
110
  }
101
111
 
102
112
  export const currencySchema = z.enum([
103
- 'AED',
104
- 'AFN',
105
- 'ALL',
106
- 'AMD',
107
- 'ANG',
108
- 'AOA',
109
- 'ARS',
110
- 'AUD',
111
- 'AWG',
112
- 'AZN',
113
- 'BAM',
114
- 'BBD',
115
- 'BDT',
116
- 'BGN',
117
- 'BHD',
118
- 'BIF',
119
- 'BMD',
120
- 'BND',
121
- 'BOB',
122
- 'BOV',
123
- 'BRL',
124
- 'BSD',
125
- 'BTN',
126
- 'BWP',
127
- 'BYN',
128
- 'BZD',
129
- 'CAD',
130
- 'CDF',
131
- 'CHE',
132
- 'CHF',
133
- 'CHW',
134
- 'CLF',
135
- 'CLP',
136
- 'CNY',
137
- 'COP',
138
- 'COU',
139
- 'CRC',
140
- 'CUC',
141
- 'CUP',
142
- 'CVE',
143
- 'CZK',
144
- 'DJF',
145
- 'DKK',
146
- 'DOP',
147
- 'DZD',
148
- 'EGP',
149
- 'ERN',
150
- 'ETB',
151
- 'EUR',
152
- 'FJD',
153
- 'FKP',
154
- 'FOK',
155
- 'GBP',
156
- 'GEL',
157
- 'GGP',
158
- 'GHS',
159
- 'GIP',
160
- 'GMD',
161
- 'GNF',
162
- 'GTQ',
163
- 'GYD',
164
- 'HKD',
165
- 'HNL',
166
- 'HRK',
167
- 'HTG',
168
- 'HUF',
169
- 'IDR',
170
- 'ILS',
171
- 'IMP',
172
- 'INR',
173
- 'IQD',
174
- 'IRR',
175
- 'ISK',
176
- 'JMD',
177
- 'JOD',
178
- 'JPY',
179
- 'KES',
180
- 'KGS',
181
- 'KHR',
182
- 'KID',
183
- 'KMF',
184
- 'KRW',
185
- 'KWD',
186
- 'KYD',
187
- 'KZT',
188
- 'LAK',
189
- 'LBP',
190
- 'LKR',
191
- 'LRD',
192
- 'LSL',
193
- 'LYD',
194
- 'MAD',
195
- 'MDL',
196
- 'MGA',
197
- 'MKD',
198
- 'MMK',
199
- 'MNT',
200
- 'MOP',
201
- 'MRU',
202
- 'MUR',
203
- 'MVR',
204
- 'MWK',
205
- 'MXN',
206
- 'MXV',
207
- 'MYR',
208
- 'MZN',
209
- 'NAD',
210
- 'NGN',
211
- 'NIO',
212
- 'NOK',
213
- 'NPR',
214
- 'NZD',
215
- 'OMR',
216
- 'PAB',
217
- 'PEN',
218
- 'PGK',
219
- 'PHP',
220
- 'PKR',
221
- 'PLN',
222
- 'PYG',
223
- 'QAR',
224
- 'RON',
225
- 'RSD',
226
- 'RUB',
227
- 'RWF',
228
- 'SAR',
229
- 'SBD',
230
- 'SCR',
231
- 'SDG',
232
- 'SEK',
233
- 'SGD',
234
- 'SHP',
235
- 'SLE',
236
- 'SLL',
237
- 'SOS',
238
- 'SRD',
239
- 'SSP',
240
- 'STN',
241
- 'SYP',
242
- 'SZL',
243
- 'THB',
244
- 'TJS',
245
- 'TMT',
246
- 'TND',
247
- 'TOP',
248
- 'TRY',
249
- 'TTD',
250
- 'TVD',
251
- 'TWD',
252
- 'TZS',
253
- 'UAH',
254
- 'UGX',
255
- 'USD',
256
- 'USN',
257
- 'UYI',
258
- 'UYU',
259
- 'UYW',
260
- 'UZS',
261
- 'VED',
262
- 'VES',
263
- 'VND',
264
- 'VUV',
265
- 'WST',
266
- 'XAF',
267
- 'XAG',
268
- 'XAU',
269
- 'XBA',
270
- 'XBB',
271
- 'XBC',
272
- 'XBD',
273
- 'XCD',
274
- 'XDR',
275
- 'XOF',
276
- 'XPD',
277
- 'XPF',
278
- 'XPT',
279
- 'XSU',
280
- 'XTS',
281
- 'XUA',
282
- 'XXX',
283
- 'YER',
284
- 'ZAR',
285
- 'ZMW',
286
- 'ZWL',
113
+ 'AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AUD', 'AWG', 'AZN', 'BAM', 'BBD',
114
+ 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BOV', 'BRL', 'BSD', 'BTN', 'BWP',
115
+ 'BYN', 'BZD', 'CAD', 'CDF', 'CHE', 'CHF', 'CHW', 'CLF', 'CLP', 'CNY', 'COP', 'COU',
116
+ 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', 'ERN', 'ETB',
117
+ 'EUR', 'FJD', 'FKP', 'FOK', 'GBP', 'GEL', 'GGP', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ',
118
+ 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IMP', 'INR', 'IQD', 'IRR',
119
+ 'ISK', 'JMD', 'JOD', 'JPY', 'KES', 'KGS', 'KHR', 'KID', 'KMF', 'KRW', 'KWD', 'KYD',
120
+ 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK',
121
+ 'MNT', 'MOP', 'MRU', 'MUR', 'MVR', 'MWK', 'MXN', 'MXV', 'MYR', 'MZN', 'NAD', 'NGN',
122
+ 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG',
123
+ 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP',
124
+ 'SLE', 'SLL', 'SOS', 'SRD', 'SSP', 'STN', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', 'TND',
125
+ 'TOP', 'TRY', 'TTD', 'TVD', 'TWD', 'TZS', 'UAH', 'UGX', 'USD', 'USN', 'UYI', 'UYU',
126
+ 'UYW', 'UZS', 'VED', 'VES', 'VND', 'VUV', 'WST', 'XAF', 'XAG', 'XAU', 'XBA', 'XBB',
127
+ 'XBC', 'XBD', 'XCD', 'XDR', 'XOF', 'XPD', 'XPF', 'XPT', 'XSU', 'XTS', 'XUA', 'XXX',
128
+ 'YER', 'ZAR', 'ZMW', 'ZWL'
287
129
  ]);
288
130
 
131
+ export const languageSchema = z.string().refine(v => !v || [
132
+ 'aa', 'ab', 'ae', 'af', 'ak', 'am', 'an', 'ar', 'as', 'av', 'ay', 'az',
133
+ 'ba', 'be', 'bg', 'bh', 'bi', 'bm', 'bn', 'bo', 'br', 'bs', 'ca', 'ce',
134
+ 'ch', 'co', 'cr', 'cs', 'cu', 'cv', 'cy', 'da', 'de', 'dv', 'dz', 'ee',
135
+ 'el', 'en', 'eo', 'es', 'et', 'eu', 'fa', 'ff', 'fi', 'fj', 'fo', 'fr',
136
+ 'fy', 'ga', 'gd', 'gl', 'gn', 'gu', 'gv', 'ha', 'he', 'hi', 'ho', 'hr',
137
+ 'ht', 'hu', 'hy', 'hz', 'ia', 'id', 'ie', 'ig', 'ii', 'ik', 'io', 'is',
138
+ 'it', 'iu', 'ja', 'jv', 'ka', 'kg', 'ki', 'kj', 'kk', 'kl', 'km', 'kn',
139
+ 'ko', 'kr', 'ks', 'ku', 'kv', 'kw', 'ky', 'la', 'lb', 'lg', 'li', 'ln',
140
+ 'lo', 'lt', 'lu', 'lv', 'mg', 'mh', 'mi', 'mk', 'ml', 'mn', 'mr', 'ms',
141
+ 'mt', 'my', 'na', 'nb', 'nd', 'ne', 'ng', 'nl', 'nn', 'no', 'nr', 'nv',
142
+ 'ny', 'oc', 'oj', 'om', 'or', 'os', 'pa', 'pi', 'pl', 'ps', 'pt', 'qu',
143
+ 'rm', 'rn', 'ro', 'ru', 'rw', 'sa', 'sc', 'sd', 'se', 'sg', 'si', 'sk',
144
+ 'sl', 'sm', 'sn', 'so', 'sq', 'sr', 'ss', 'st', 'su', 'sv', 'sw', 'ta',
145
+ 'te', 'tg', 'th', 'ti', 'tk', 'tl', 'tn', 'to', 'tr', 'ts', 'tt', 'tw',
146
+ 'ty', 'ug', 'uk', 'ur', 'uz', 've', 'vi', 'vo', 'wa', 'wo', 'xh', 'yi',
147
+ 'yo', 'za', 'zh', 'zu'
148
+ ].includes(v.toLowerCase()), { message: 'Invalid language code' });
149
+
289
150
  export const priceRegex = /^(?<value>\d+(?:\.\d{1,2})?)\s*(?<currency>\w+)$/;
290
151
 
291
152
  export const priceSchema = ({ min = 0, max = 1000000 } = {}) =>