feed-common 1.48.0 → 1.48.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +15 -0
- package/dist/constants/profile.constants.d.ts +5 -0
- package/dist/constants/profile.constants.d.ts.map +1 -1
- package/dist/constants/profile.constants.js +1 -0
- package/dist/constants/profile.constants.js.map +1 -1
- package/dist/utils/feed-templates/custom.template.js +1 -1
- package/dist/utils/feed-templates/custom.template.js.map +1 -1
- package/dist/utils/feed-templates/google-api.template.d.ts +1 -0
- package/dist/utils/feed-templates/google-api.template.d.ts.map +1 -0
- package/dist/utils/feed-templates/google-api.template.js +1004 -0
- package/dist/utils/feed-templates/google-api.template.js.map +1 -0
- package/dist/utils/feed-templates/index.d.ts +5 -0
- package/dist/utils/feed-templates/index.d.ts.map +1 -1
- package/dist/utils/feed-templates/index.js +214 -0
- package/dist/utils/feed-templates/index.js.map +1 -1
- package/package.json +1 -1
- package/src/constants/profile.constants.ts +1 -0
- package/src/utils/feed-templates/custom.template.ts +1 -1
- package/src/utils/feed-templates/google-api.template.ts +1012 -0
- package/src/utils/feed-templates/index.ts +221 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"google-api.template.js","sourceRoot":"","sources":["../../../src/utils/feed-templates/google-api.template.ts"],"names":[],"mappings":";AAAA,8BAA8B;AAC9B,0DAA0D;AAC1D,+BAA+B;AAC/B,oGAAoG;AACpG,yFAAyF;AACzF,8FAA8F;AAC9F,2BAA2B;AAC3B,+BAA+B;AAE/B,wDAAwD;AACxD,iCAAiC;AACjC,6BAA6B;AAC7B,mBAAmB;AACnB,4JAA4J;AAC5J,sBAAsB;AACtB,kCAAkC;AAClC,yCAAyC;AACzC,+FAA+F;AAC/F,+BAA+B;AAC/B,sBAAsB;AACtB,KAAK;AAEL,uDAAuD;AACvD,qBAAqB;AACrB,iBAAiB;AACjB,mBAAmB;AACnB,oJAAoJ;AACpJ,uBAAuB;AACvB,kCAAkC;AAClC,oFAAoF;AACpF,+BAA+B;AAC/B,KAAK;AAEL,0DA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Z,oDAAoD;AACpD,gDAAgD;AAChD,2BAA2B;AAC3B,oPAAoP;AACpP,+BAA+B;AAC/B,mCAAmC;AACnC,gCAAgC;AAChC,uCAAuC;AACvC,aAAa;AACb,YAAY;AACZ,gCAAgC;AAChC,4BAA4B;AAC5B,2BAA2B;AAC3B,gYAAgY;AAChY,+BAA+B;AAC/B,mCAAmC;AACnC,gCAAgC;AAChC,oDAAoD;AACpD,uCAAuC;AACvC,aAAa;AACb,YAAY;AACZ,yCAAyC;AACzC,qCAAqC;AACrC,2BAA2B;AAC3B,gLAAgL;AAChL,+BAA+B;AAC/B,mCAAmC;AACnC,gCAAgC;AAChC,4FAA4F;AAC5F,uCAAuC;AACvC,aAAa;AACb,SAAS;AACT,KAAK"}
|
@@ -9,4 +9,9 @@ export declare const dateRangeSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
9
9
|
export declare const measureUnitsSchema: (units: string[]) => z.ZodEffects<z.ZodString, string, string>;
|
10
10
|
export declare const optionalUrlSchema: z.ZodEffects<z.ZodString, string, string>;
|
11
11
|
export declare function getTemplate(type: XMLFeedType): XmlFeedTemplateType;
|
12
|
+
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"]>;
|
13
|
+
export declare const priceSchema: ({ min, max }?: {
|
14
|
+
min?: number | undefined;
|
15
|
+
max?: number | undefined;
|
16
|
+
}) => z.ZodEffects<z.ZodString, string, string>;
|
12
17
|
//# sourceMappingURL=index.d.ts.map
|
@@ -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;AAKnE,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,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UAAW,MAAM,EAAE,8CAmB5C,CAAC;AAEP,eAAO,MAAM,iBAAiB,2CAE2D,CAAC;AAE1F,wBAAgB,WAAW,CAAC,IAAI,EAAE,WAAW,GAAG,mBAAmB,CAelE;AAED,eAAO,MAAM,cAAc,qxCAyLzB,CAAC;AAIH,eAAO,MAAM,WAAW;;;+CA8BlB,CAAC"}
|
@@ -76,4 +76,218 @@ export function getTemplate(type) {
|
|
76
76
|
throw new Error(`Invalid feed type: ${type}`);
|
77
77
|
}
|
78
78
|
}
|
79
|
+
export const currencySchema = z.enum([
|
80
|
+
'AED',
|
81
|
+
'AFN',
|
82
|
+
'ALL',
|
83
|
+
'AMD',
|
84
|
+
'ANG',
|
85
|
+
'AOA',
|
86
|
+
'ARS',
|
87
|
+
'AUD',
|
88
|
+
'AWG',
|
89
|
+
'AZN',
|
90
|
+
'BAM',
|
91
|
+
'BBD',
|
92
|
+
'BDT',
|
93
|
+
'BGN',
|
94
|
+
'BHD',
|
95
|
+
'BIF',
|
96
|
+
'BMD',
|
97
|
+
'BND',
|
98
|
+
'BOB',
|
99
|
+
'BOV',
|
100
|
+
'BRL',
|
101
|
+
'BSD',
|
102
|
+
'BTN',
|
103
|
+
'BWP',
|
104
|
+
'BYN',
|
105
|
+
'BZD',
|
106
|
+
'CAD',
|
107
|
+
'CDF',
|
108
|
+
'CHE',
|
109
|
+
'CHF',
|
110
|
+
'CHW',
|
111
|
+
'CLF',
|
112
|
+
'CLP',
|
113
|
+
'CNY',
|
114
|
+
'COP',
|
115
|
+
'COU',
|
116
|
+
'CRC',
|
117
|
+
'CUC',
|
118
|
+
'CUP',
|
119
|
+
'CVE',
|
120
|
+
'CZK',
|
121
|
+
'DJF',
|
122
|
+
'DKK',
|
123
|
+
'DOP',
|
124
|
+
'DZD',
|
125
|
+
'EGP',
|
126
|
+
'ERN',
|
127
|
+
'ETB',
|
128
|
+
'EUR',
|
129
|
+
'FJD',
|
130
|
+
'FKP',
|
131
|
+
'FOK',
|
132
|
+
'GBP',
|
133
|
+
'GEL',
|
134
|
+
'GGP',
|
135
|
+
'GHS',
|
136
|
+
'GIP',
|
137
|
+
'GMD',
|
138
|
+
'GNF',
|
139
|
+
'GTQ',
|
140
|
+
'GYD',
|
141
|
+
'HKD',
|
142
|
+
'HNL',
|
143
|
+
'HRK',
|
144
|
+
'HTG',
|
145
|
+
'HUF',
|
146
|
+
'IDR',
|
147
|
+
'ILS',
|
148
|
+
'IMP',
|
149
|
+
'INR',
|
150
|
+
'IQD',
|
151
|
+
'IRR',
|
152
|
+
'ISK',
|
153
|
+
'JMD',
|
154
|
+
'JOD',
|
155
|
+
'JPY',
|
156
|
+
'KES',
|
157
|
+
'KGS',
|
158
|
+
'KHR',
|
159
|
+
'KID',
|
160
|
+
'KMF',
|
161
|
+
'KRW',
|
162
|
+
'KWD',
|
163
|
+
'KYD',
|
164
|
+
'KZT',
|
165
|
+
'LAK',
|
166
|
+
'LBP',
|
167
|
+
'LKR',
|
168
|
+
'LRD',
|
169
|
+
'LSL',
|
170
|
+
'LYD',
|
171
|
+
'MAD',
|
172
|
+
'MDL',
|
173
|
+
'MGA',
|
174
|
+
'MKD',
|
175
|
+
'MMK',
|
176
|
+
'MNT',
|
177
|
+
'MOP',
|
178
|
+
'MRU',
|
179
|
+
'MUR',
|
180
|
+
'MVR',
|
181
|
+
'MWK',
|
182
|
+
'MXN',
|
183
|
+
'MXV',
|
184
|
+
'MYR',
|
185
|
+
'MZN',
|
186
|
+
'NAD',
|
187
|
+
'NGN',
|
188
|
+
'NIO',
|
189
|
+
'NOK',
|
190
|
+
'NPR',
|
191
|
+
'NZD',
|
192
|
+
'OMR',
|
193
|
+
'PAB',
|
194
|
+
'PEN',
|
195
|
+
'PGK',
|
196
|
+
'PHP',
|
197
|
+
'PKR',
|
198
|
+
'PLN',
|
199
|
+
'PYG',
|
200
|
+
'QAR',
|
201
|
+
'RON',
|
202
|
+
'RSD',
|
203
|
+
'RUB',
|
204
|
+
'RWF',
|
205
|
+
'SAR',
|
206
|
+
'SBD',
|
207
|
+
'SCR',
|
208
|
+
'SDG',
|
209
|
+
'SEK',
|
210
|
+
'SGD',
|
211
|
+
'SHP',
|
212
|
+
'SLE',
|
213
|
+
'SLL',
|
214
|
+
'SOS',
|
215
|
+
'SRD',
|
216
|
+
'SSP',
|
217
|
+
'STN',
|
218
|
+
'SYP',
|
219
|
+
'SZL',
|
220
|
+
'THB',
|
221
|
+
'TJS',
|
222
|
+
'TMT',
|
223
|
+
'TND',
|
224
|
+
'TOP',
|
225
|
+
'TRY',
|
226
|
+
'TTD',
|
227
|
+
'TVD',
|
228
|
+
'TWD',
|
229
|
+
'TZS',
|
230
|
+
'UAH',
|
231
|
+
'UGX',
|
232
|
+
'USD',
|
233
|
+
'USN',
|
234
|
+
'UYI',
|
235
|
+
'UYU',
|
236
|
+
'UYW',
|
237
|
+
'UZS',
|
238
|
+
'VED',
|
239
|
+
'VES',
|
240
|
+
'VND',
|
241
|
+
'VUV',
|
242
|
+
'WST',
|
243
|
+
'XAF',
|
244
|
+
'XAG',
|
245
|
+
'XAU',
|
246
|
+
'XBA',
|
247
|
+
'XBB',
|
248
|
+
'XBC',
|
249
|
+
'XBD',
|
250
|
+
'XCD',
|
251
|
+
'XDR',
|
252
|
+
'XOF',
|
253
|
+
'XPD',
|
254
|
+
'XPF',
|
255
|
+
'XPT',
|
256
|
+
'XSU',
|
257
|
+
'XTS',
|
258
|
+
'XUA',
|
259
|
+
'XXX',
|
260
|
+
'YER',
|
261
|
+
'ZAR',
|
262
|
+
'ZMW',
|
263
|
+
'ZWL',
|
264
|
+
]);
|
265
|
+
const priceRegex = /^(?<value>\d+(?:\.\d{1,2})?)\s+(?<currency>\w+)$/;
|
266
|
+
export const priceSchema = ({ min = 0, max = 1000000 } = {}) => z.string().superRefine((v, ctx) => {
|
267
|
+
if (!v) {
|
268
|
+
return true;
|
269
|
+
}
|
270
|
+
const match = priceRegex.exec(v);
|
271
|
+
if (!match) {
|
272
|
+
ctx.addIssue({
|
273
|
+
code: z.ZodIssueCode.custom,
|
274
|
+
message: 'Invalid format',
|
275
|
+
});
|
276
|
+
}
|
277
|
+
else if (!Number.isFinite(match.groups?.value) ||
|
278
|
+
Number(match.groups?.value) < min ||
|
279
|
+
Number(match.groups?.value) < max) {
|
280
|
+
ctx.addIssue({
|
281
|
+
code: z.ZodIssueCode.custom,
|
282
|
+
message: `Value should be between ${min} and ${max}`,
|
283
|
+
});
|
284
|
+
}
|
285
|
+
else if (!currencySchema.safeParse(match.groups?.currency).success) {
|
286
|
+
ctx.addIssue({
|
287
|
+
code: z.ZodIssueCode.custom,
|
288
|
+
message: 'Invalid currency',
|
289
|
+
});
|
290
|
+
}
|
291
|
+
return true;
|
292
|
+
});
|
79
293
|
//# sourceMappingURL=index.js.map
|
@@ -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;AAE5D,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,E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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,KAAK;IAC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P,CAAC;SAAM,IACH,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC;QACrC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,GAAG;QACjC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,GAAG,EACnC,CAAC;QACC,GAAG,CAAC,QAAQ,CAAC;YACT,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM;YAC3B,OAAO,EAAE,2BAA2B,GAAG,QAAQ,GAAG,EAAE;SACvD,CAAC,CAAC;IACP,CAAC;SAAM,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,OAAO,EAAE,CAAC;QACnE,GAAG,CAAC,QAAQ,CAAC;YACT,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM;YAC3B,OAAO,EAAE,kBAAkB;SAC9B,CAAC,CAAC;IACP,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -369,6 +369,7 @@ export const ShopifyProductSource = {
|
|
369
369
|
shop_domain: { label: 'Shop Domain', value: SOURCE_SHOPIFY_SHOP_DOMAIN, type: MappingSourceValueType.STRING },
|
370
370
|
shop_country: { label: 'Shop Country', value: SOURCE_SHOPIFY_SHOP_COUNTRY, type: MappingSourceValueType.STRING },
|
371
371
|
shop_currency: { label: 'Shop Currency', value: SOURCE_SHOPIFY_SHOP_CURRENCY, type: MappingSourceValueType.STRING },
|
372
|
+
status: { label: 'Status', value: SOURCE_SHOPIFY_STATUS, type: MappingSourceValueType.STRING },
|
372
373
|
|
373
374
|
custom: { label: 'Custom input', value: SOURCE_CUSTOM, type: MappingSourceValueType.STRING },
|
374
375
|
};
|
@@ -2,6 +2,6 @@ import { XmlFeedFormat } from '../../constants/profile.constants.js';
|
|
2
2
|
import { XmlFeedTemplateType } from '../../types/profile.types.js';
|
3
3
|
|
4
4
|
export const customFeedTemplate: XmlFeedTemplateType = {
|
5
|
-
formats: [XmlFeedFormat.CSV, XmlFeedFormat.TSV, XmlFeedFormat.
|
5
|
+
formats: [XmlFeedFormat.CSV, XmlFeedFormat.TSV, XmlFeedFormat.XML],
|
6
6
|
mapping: [],
|
7
7
|
};
|