feed-common 1.77.4 → 1.77.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/.vscode/settings.json +3 -1
  2. package/CHANGELOG.md +14 -0
  3. package/dist/constants/profile.constants.d.ts +8 -0
  4. package/dist/constants/profile.constants.d.ts.map +1 -1
  5. package/dist/constants/profile.constants.js +207 -42
  6. package/dist/constants/profile.constants.js.map +1 -1
  7. package/dist/index.d.ts +5 -0
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +5 -0
  10. package/dist/index.js.map +1 -1
  11. package/dist/sources/ebay-measurement-units.source.d.ts +5 -0
  12. package/dist/sources/ebay-measurement-units.source.d.ts.map +1 -0
  13. package/dist/sources/ebay-measurement-units.source.js +5 -0
  14. package/dist/sources/ebay-measurement-units.source.js.map +1 -0
  15. package/dist/sources/ebay-paid-by-cost.source.d.ts +5 -0
  16. package/dist/sources/ebay-paid-by-cost.source.d.ts.map +1 -0
  17. package/dist/sources/ebay-paid-by-cost.source.js +5 -0
  18. package/dist/sources/ebay-paid-by-cost.source.js.map +1 -0
  19. package/dist/sources/ebay-refund-options.source.d.ts +5 -0
  20. package/dist/sources/ebay-refund-options.source.d.ts.map +1 -0
  21. package/dist/sources/ebay-refund-options.source.js +5 -0
  22. package/dist/sources/ebay-refund-options.source.js.map +1 -0
  23. package/dist/sources/ebay-returns-accepted.source.d.ts +5 -0
  24. package/dist/sources/ebay-returns-accepted.source.d.ts.map +1 -0
  25. package/dist/sources/ebay-returns-accepted.source.js +5 -0
  26. package/dist/sources/ebay-returns-accepted.source.js.map +1 -0
  27. package/dist/utils/feed-templates/ebay.template.d.ts.map +1 -1
  28. package/dist/utils/feed-templates/ebay.template.js +355 -16
  29. package/dist/utils/feed-templates/ebay.template.js.map +1 -1
  30. package/dist/utils/profile.d.ts.map +1 -1
  31. package/dist/utils/profile.js +13 -1
  32. package/dist/utils/profile.js.map +1 -1
  33. package/package.json +1 -1
  34. package/src/constants/profile.constants.ts +213 -44
  35. package/src/index.ts +5 -0
  36. package/src/sources/ebay-measurement-units.source.ts +4 -0
  37. package/src/sources/ebay-paid-by-cost.source.ts +4 -0
  38. package/src/sources/ebay-refund-options.source.ts +4 -0
  39. package/src/sources/ebay-returns-accepted.source.ts +4 -0
  40. package/src/utils/feed-templates/ebay.template.ts +368 -15
  41. package/src/utils/profile.ts +16 -0
@@ -4,14 +4,20 @@ import { validateIfNoMacro } from './common-schemas.js';
4
4
  import {
5
5
  ACTION_ARRAY_FIRST_ITEMS,
6
6
  SOURCE_EBAY_GALLERY_TYPE,
7
+ SOURCE_EBAY_INTERNATIONAL_REFUND_OPTIONS,
8
+ SOURCE_EBAY_INTERNATIONAL_RETURNS_ACCEPTED,
7
9
  SOURCE_EBAY_INVENTORY_TRACKING,
8
10
  SOURCE_EBAY_LISTING_TYPE,
11
+ SOURCE_EBAY_MEASUREMENT_UNITS,
12
+ SOURCE_EBAY_PAID_BY_COST,
9
13
  SOURCE_EBAY_YES_NO,
10
14
  SOURCE_SHOPIFY_DESCRIPTION_HTML,
11
15
  SOURCE_SHOPIFY_IMAGE,
12
16
  SOURCE_SHOPIFY_IMAGES,
13
17
  SOURCE_SHOPIFY_SHOP_COUNTRY,
14
18
  SOURCE_SHOPIFY_SHOP_CURRENCY,
19
+ SOURCE_SHOPIFY_SHOP_POSTAL_CODE,
20
+ SOURCE_SHOPIFY_VENDOR,
15
21
  } from '../../constants/profile.constants.js';
16
22
  import { SelectItem, XmlFeedTemplateType } from '../../types/profile.types.js';
17
23
  import { resolveSourceValue } from '../profile.js';
@@ -30,7 +36,7 @@ export const eBayFeedTemplate: XmlFeedTemplateType = {
30
36
  documentation: 'https://developer.ebay.com/devzone/xml/docs/reference/ebay/AddFixedPriceItem.html',
31
37
  mapping: [
32
38
  {
33
- attribute: 'AutoPay',
39
+ attribute: ' Item.AutoPay',
34
40
  label: 'AutoPay',
35
41
  description: 'Indicates whether the seller requires immediate payment for the item',
36
42
  required: false,
@@ -43,7 +49,7 @@ export const eBayFeedTemplate: XmlFeedTemplateType = {
43
49
  singleChoice: true,
44
50
  },
45
51
  {
46
- attribute: 'BestOfferEnabled',
52
+ attribute: 'Item.BestOfferEnabled',
47
53
  label: 'Best Offer Enabled',
48
54
  description: 'Indicates whether the seller is accepting Best Offers for the item',
49
55
  required: false,
@@ -56,7 +62,7 @@ export const eBayFeedTemplate: XmlFeedTemplateType = {
56
62
  singleChoice: true,
57
63
  },
58
64
  {
59
- attribute: 'CategoryMappingAllowed',
65
+ attribute: 'Item.CategoryMappingAllowed',
60
66
  label: 'Category Mapping Allowed',
61
67
  description:
62
68
  'This boolean field controls whether or not eBay automatically maps outdated Category ID(s) specified in a PrimaryCategory and/or SecondaryCategory container(s) to the updated Category ID(s) no longer exists in the current category structure',
@@ -70,7 +76,7 @@ export const eBayFeedTemplate: XmlFeedTemplateType = {
70
76
  singleChoice: true,
71
77
  },
72
78
  {
73
- attribute: 'ConditionID',
79
+ attribute: 'Item.ConditionID',
74
80
  label: 'Condition',
75
81
  description: 'The condition of the item. For example, New, Used, or Refurbished',
76
82
  required: false,
@@ -81,7 +87,7 @@ export const eBayFeedTemplate: XmlFeedTemplateType = {
81
87
  singleChoice: true,
82
88
  },
83
89
  {
84
- attribute: 'Country',
90
+ attribute: 'Item.Country',
85
91
  label: 'Country',
86
92
  description: 'The country where the item is located',
87
93
  required: true,
@@ -93,7 +99,7 @@ export const eBayFeedTemplate: XmlFeedTemplateType = {
93
99
  singleChoice: true,
94
100
  },
95
101
  {
96
- attribute: 'Currency',
102
+ attribute: 'Item.Currency',
97
103
  label: 'Currency',
98
104
  description: 'The currency of the item price',
99
105
  required: true,
@@ -105,7 +111,7 @@ export const eBayFeedTemplate: XmlFeedTemplateType = {
105
111
  singleChoice: true,
106
112
  },
107
113
  {
108
- attribute: 'Description',
114
+ attribute: 'Item.Description',
109
115
  label: 'Description',
110
116
  description: 'The description of the item',
111
117
  required: true,
@@ -117,8 +123,8 @@ export const eBayFeedTemplate: XmlFeedTemplateType = {
117
123
  singleChoice: true,
118
124
  },
119
125
  {
120
- attribute: 'DiscountPrice',
121
- label: 'Description',
126
+ attribute: 'Item.DiscountPriceInfo.MinimumAdvertisedPrice', // TODO: check if this is correct
127
+ label: 'Discount Price',
122
128
  description: 'The discount price of the item',
123
129
  required: false,
124
130
  type: 'macro-input',
@@ -129,7 +135,7 @@ export const eBayFeedTemplate: XmlFeedTemplateType = {
129
135
  singleChoice: true,
130
136
  },
131
137
  {
132
- attribute: 'DispatchTimeMax',
138
+ attribute: 'Item.DispatchTimeMax',
133
139
  label: 'Dispatch Time Max',
134
140
  description:
135
141
  'The maximum number of business days the seller commits to for shipping an item to a buyer after receiving a cleared payment',
@@ -142,7 +148,7 @@ export const eBayFeedTemplate: XmlFeedTemplateType = {
142
148
  singleChoice: true,
143
149
  },
144
150
  {
145
- attribute: 'InventoryTrackingMethod',
151
+ attribute: 'Item.InventoryTrackingMethod',
146
152
  label: 'Inventory Tracking Method',
147
153
  description: 'The method used to track the inventory level of the item',
148
154
  required: false,
@@ -161,7 +167,7 @@ export const eBayFeedTemplate: XmlFeedTemplateType = {
161
167
  // TODO: add compatibility list items
162
168
  // TODO: add item specifics
163
169
  {
164
- attribute: 'ListingDuration',
170
+ attribute: 'Item.ListingDuration',
165
171
  label: 'Listing Duration',
166
172
  description: 'The length of time the listing will be active',
167
173
  required: false,
@@ -173,7 +179,7 @@ export const eBayFeedTemplate: XmlFeedTemplateType = {
173
179
  singleChoice: true,
174
180
  },
175
181
  {
176
- attribute: 'ListingType',
182
+ attribute: 'Item.ListingType',
177
183
  label: 'Listing Type',
178
184
  description: 'The type of listing',
179
185
  required: true,
@@ -198,10 +204,10 @@ export const eBayFeedTemplate: XmlFeedTemplateType = {
198
204
  },
199
205
  // TODO: set PictureSource to Vendor
200
206
  {
201
- attribute: 'PictureURL',
207
+ attribute: 'Item.PictureDetails.PictureURL',
202
208
  label: 'Picture URL',
203
209
  description:
204
- 'Contains the URL for a picture of the item. You can pass in up to 24 picture URLs for each listing. The Gallery image will be the first PictureURL in the list',
210
+ 'Contains comma separated list of product picture URLs. You can pass in up to 24 picture URLs for each listing. The Gallery image will be the first PictureURL in the list',
205
211
  required: false,
206
212
  type: 'macro-input',
207
213
  defaultValue:
@@ -214,5 +220,352 @@ export const eBayFeedTemplate: XmlFeedTemplateType = {
214
220
  fixedValue: true,
215
221
  singleChoice: true,
216
222
  },
223
+ {
224
+ attribute: 'Item.PostalCode',
225
+ label: 'Postal Code',
226
+ description: 'The postal code where the item is located',
227
+ required: false,
228
+ type: 'macro-input',
229
+ defaultValue: makeMacroString(SOURCE_SHOPIFY_SHOP_POSTAL_CODE),
230
+ rules: { sections: [] },
231
+ baseMode: false,
232
+ singleChoice: true,
233
+ },
234
+ {
235
+ attribute: 'Item.PrimaryCategory.CategoryID',
236
+ label: 'Primary Category',
237
+ description: 'The primary category of the item',
238
+ required: true,
239
+ type: 'macro-input',
240
+ defaultValue: '', // TODO: add source
241
+ rules: { sections: [] },
242
+ baseMode: true,
243
+ fixedValue: false,
244
+ singleChoice: true,
245
+ },
246
+ {
247
+ attribute: 'Item.SecondaryCategory.CategoryID',
248
+ label: 'Secondary Category',
249
+ description: 'The secondary category of the item',
250
+ required: false,
251
+ type: 'macro-input',
252
+ defaultValue: '', // TODO: add source
253
+ rules: { sections: [] },
254
+ baseMode: true,
255
+ fixedValue: false,
256
+ singleChoice: true,
257
+ },
258
+ {
259
+ attribute: 'Item.ProductListingDetails.BrandMPN.Brand',
260
+ label: 'Brand',
261
+ description: 'The brand of the item',
262
+ required: false,
263
+ type: 'macro-input',
264
+ defaultValue: makeMacroString(SOURCE_SHOPIFY_VENDOR),
265
+ rules: { sections: [] },
266
+ validator: v => validateIfNoMacro(v, z.string().max(65).optional()),
267
+ baseMode: false,
268
+ fixedValue: false,
269
+ singleChoice: true,
270
+ },
271
+ {
272
+ attribute: 'Item.ProductListingDetails.BrandMPN.MPN',
273
+ label: 'MPN',
274
+ description: 'The Manufacturer Part Number of the item',
275
+ required: false,
276
+ type: 'macro-input',
277
+ defaultValue: '',
278
+ rules: { sections: [] },
279
+ validator: v => validateIfNoMacro(v, z.string().max(65).optional()),
280
+ baseMode: false,
281
+ fixedValue: false,
282
+ singleChoice: true,
283
+ },
284
+ {
285
+ attribute: 'Item.ProductListingDetails.EAN',
286
+ label: 'EAN',
287
+ description: 'The European Article Number of the item',
288
+ required: false,
289
+ type: 'macro-input',
290
+ defaultValue: '',
291
+ rules: { sections: [] },
292
+ baseMode: false,
293
+ fixedValue: false,
294
+ singleChoice: true,
295
+ },
296
+ {
297
+ attribute: 'Item.ProductListingDetails.UPC',
298
+ label: 'UPC',
299
+ description: 'The Universal Product Code of the item',
300
+ required: false,
301
+ type: 'macro-input',
302
+ defaultValue: '',
303
+ rules: { sections: [] },
304
+ baseMode: false,
305
+ fixedValue: false,
306
+ singleChoice: true,
307
+ },
308
+ {
309
+ attribute: 'Item.Quantity',
310
+ label: 'Quantity',
311
+ description: 'The number of items available for purchase',
312
+ required: false,
313
+ type: 'macro-input',
314
+ defaultValue: '',
315
+ rules: { sections: [] },
316
+ baseMode: true,
317
+ fixedValue: false,
318
+ singleChoice: true,
319
+ },
320
+ {
321
+ attribute: 'Item.QuantityRestrictionPerBuyer.MaximumQuantity',
322
+ label: 'Maximum Quantity Per Buyer',
323
+ description: 'The maximum number of items that a buyer can purchase',
324
+ required: false,
325
+ type: 'macro-input',
326
+ defaultValue: '',
327
+ rules: { sections: [] },
328
+ baseMode: false,
329
+ fixedValue: false,
330
+ singleChoice: true,
331
+ validator: v => validateIfNoMacro(v, z.coerce.number().gte(0).optional()),
332
+ },
333
+ {
334
+ attribute: 'Item.SellerProfiles.SellerPaymentProfile.PaymentProfileID',
335
+ label: 'Business Policy Payment Profile',
336
+ description: 'The payment profile to use for the listing',
337
+ required: false,
338
+ type: 'macro-input',
339
+ defaultValue: '', // TODO: add source
340
+ rules: { sections: [] },
341
+ baseMode: false,
342
+ fixedValue: true,
343
+ singleChoice: true,
344
+ },
345
+ {
346
+ attribute: 'Item.SellerProfiles.SellerReturnProfile.ReturnProfileID',
347
+ label: 'Business Policy Return Profile',
348
+ description: 'The return profile to use for the listing',
349
+ required: false,
350
+ type: 'macro-input',
351
+ defaultValue: '', // TODO: add source
352
+ rules: { sections: [] },
353
+ baseMode: false,
354
+ fixedValue: true,
355
+ singleChoice: true,
356
+ },
357
+ {
358
+ attribute: 'Item.SellerProfiles.SellerShippingProfile.ShippingProfileID',
359
+ label: 'Business Policy Shipping Profile',
360
+ description: 'The shipping profile to use for the listing',
361
+ required: false,
362
+ type: 'macro-input',
363
+ defaultValue: '', // TODO: add source
364
+ rules: { sections: [] },
365
+ baseMode: false,
366
+ fixedValue: true,
367
+ singleChoice: true,
368
+ },
369
+ {
370
+ attribute: 'Item.ReturnPolicy.InternationalRefundOption',
371
+ label: 'International Refund Option',
372
+ description: 'This field indicates how the seller compensates international buyers for returns',
373
+ required: false,
374
+ type: 'macro-input',
375
+ defaultValue: makeMacroString(SOURCE_EBAY_INTERNATIONAL_REFUND_OPTIONS, ['MoneyBack']),
376
+ rules: { sections: [] },
377
+ baseMode: false,
378
+ fixedValue: true,
379
+ singleChoice: true,
380
+ },
381
+ {
382
+ attribute: 'Item.ReturnPolicy.InternationalReturnsAcceptedOption',
383
+ label: 'International Returns Accepted Option',
384
+ description:
385
+ 'The value in this field indicates whether or not the seller accepts returns from international buyers',
386
+ required: false,
387
+ type: 'macro-input',
388
+ defaultValue: makeMacroString(SOURCE_EBAY_INTERNATIONAL_RETURNS_ACCEPTED),
389
+ rules: { sections: [] },
390
+ baseMode: false,
391
+ fixedValue: true,
392
+ singleChoice: true,
393
+ },
394
+ {
395
+ attribute: 'Item.ReturnPolicy.InternationalReturnsWithinOption',
396
+ label: 'International Returns Within Option',
397
+ description:
398
+ 'The value in this field indicates the number of days that an international buyer has to return an item',
399
+ required: false,
400
+ type: 'macro-input',
401
+ defaultValue: '', // TODO: add source
402
+ rules: { sections: [] },
403
+ baseMode: false,
404
+ fixedValue: true,
405
+ singleChoice: true,
406
+ },
407
+ {
408
+ attribute: 'Item.ReturnPolicy.InternationalShippingCostPaidByOption',
409
+ label: 'International Shipping Cost Paid By Option',
410
+ description:
411
+ 'The value in this field indicates whether the buyer or seller is responsible for return shipping costs for international returns',
412
+ required: false,
413
+ type: 'macro-input',
414
+ defaultValue: makeMacroString(SOURCE_EBAY_PAID_BY_COST),
415
+ rules: { sections: [] },
416
+ baseMode: false,
417
+ fixedValue: true,
418
+ singleChoice: true,
419
+ },
420
+ {
421
+ attribute: 'Item.ReturnPolicy.RefundOption',
422
+ label: 'Refund Option',
423
+ description: 'This field indicates how the seller compensates buyers for returns',
424
+ required: false,
425
+ type: 'macro-input',
426
+ defaultValue: makeMacroString(SOURCE_EBAY_INTERNATIONAL_REFUND_OPTIONS, ['MoneyBack']),
427
+ rules: { sections: [] },
428
+ baseMode: false,
429
+ fixedValue: true,
430
+ singleChoice: true,
431
+ },
432
+ {
433
+ attribute: 'Item.ReturnPolicy.ReturnsAcceptedOption',
434
+ label: 'Returns Accepted Option',
435
+ description: 'This field indicates whether or not the seller accepts returns',
436
+ required: false,
437
+ type: 'macro-input',
438
+ defaultValue: makeMacroString(SOURCE_EBAY_INTERNATIONAL_RETURNS_ACCEPTED),
439
+ rules: { sections: [] },
440
+ baseMode: false,
441
+ fixedValue: true,
442
+ singleChoice: true,
443
+ },
444
+ {
445
+ attribute: 'Item.ReturnPolicy.ReturnsWithinOption',
446
+ label: 'Returns Within Option',
447
+ description: 'Specifies the amount of time the buyer has to return an item',
448
+ required: false,
449
+ type: 'macro-input',
450
+ defaultValue: '', // TODO: add source
451
+ rules: { sections: [] },
452
+ baseMode: false,
453
+ fixedValue: true,
454
+ singleChoice: true,
455
+ },
456
+ {
457
+ attribute: 'Item.ReturnPolicy.ShippingCostPaidByOption',
458
+ label: 'Shipping Cost Paid By Option',
459
+ description: 'This option specifies whether the buyer or the seller pays for return shipping charges',
460
+ required: false,
461
+ type: 'macro-input',
462
+ defaultValue: makeMacroString(SOURCE_EBAY_PAID_BY_COST),
463
+ rules: { sections: [] },
464
+ baseMode: false,
465
+ fixedValue: true,
466
+ singleChoice: true,
467
+ },
468
+ {
469
+ attribute: 'Item.SellerProvidedTitle',
470
+ label: 'Seller Provided Title',
471
+ description:
472
+ "A descriptive free-text title for a US or CA eBay Motors vehicle listing. This title appears below eBay's pre-filled listing title on the View Item page",
473
+ required: false,
474
+ type: 'macro-input',
475
+ defaultValue: '',
476
+ rules: { sections: [] },
477
+ baseMode: false,
478
+ fixedValue: false,
479
+ singleChoice: false,
480
+ validator: v => validateIfNoMacro(v, z.string().max(80).optional()),
481
+ },
482
+ {
483
+ attribute: 'Item.ShippingPackageDetails.MeasurementUnit',
484
+ label: 'Measurement Unit',
485
+ description:
486
+ "The unit of measurement used to specify the dimensions of a shipping package. This field is required if the seller is specifying the dimensions of a shipping package in the 'ShippingPackageDetails' container",
487
+ required: false,
488
+ type: 'macro-input',
489
+ defaultValue: makeMacroString(SOURCE_EBAY_MEASUREMENT_UNITS),
490
+ rules: { sections: [] },
491
+ baseMode: false,
492
+ fixedValue: true,
493
+ singleChoice: true,
494
+ },
495
+ {
496
+ attribute: 'Item.ShippingPackageDetails.PackageDepth',
497
+ label: 'Package Depth',
498
+ description: 'Depth of the package, in whole number of inches, needed to ship the item',
499
+ required: false,
500
+ type: 'macro-input',
501
+ defaultValue: '',
502
+ rules: { sections: [] },
503
+ baseMode: false,
504
+ fixedValue: false,
505
+ singleChoice: true,
506
+ },
507
+ {
508
+ attribute: 'Item.ShippingPackageDetails.PackageLength',
509
+ label: 'Package Length',
510
+ description: 'Length of the package, in whole number of inches, needed to ship the item',
511
+ required: false,
512
+ type: 'macro-input',
513
+ defaultValue: '',
514
+ rules: { sections: [] },
515
+ baseMode: false,
516
+ fixedValue: false,
517
+ singleChoice: true,
518
+ },
519
+ {
520
+ attribute: 'Item.ShippingPackageDetail.PackageWidth',
521
+ label: 'Package Width',
522
+ description: 'Width of the package, in whole number of inches, needed to ship the item',
523
+ required: false,
524
+ type: 'macro-input',
525
+ defaultValue: '',
526
+ rules: { sections: [] },
527
+ baseMode: false,
528
+ fixedValue: false,
529
+ singleChoice: true,
530
+ },
531
+ {
532
+ attribute: 'Item.ShippingPackageDetails.ShippingIrregular',
533
+ label: 'Shipping Irregular',
534
+ description:
535
+ 'Whether a package is irregular and therefore cannot go through the stamping machine at the shipping service office and thus requires special or fragile handling. For calculated shipping only',
536
+ required: false,
537
+ type: 'macro-input',
538
+ defaultValue: makeMacroString(SOURCE_EBAY_YES_NO),
539
+ rules: { sections: [] },
540
+ baseMode: false,
541
+ fixedValue: true,
542
+ singleChoice: true,
543
+ },
544
+ {
545
+ attribute: 'Item.ShippingPackageDetails.WeightMajor',
546
+ label: 'Weight Major',
547
+ description:
548
+ 'WeightMajor is used to specify the weight of the package in pounds (in US) or kilograms (all countries that use metric system). The value needs to by rounded up to the nearest whole number',
549
+ required: false,
550
+ type: 'macro-input',
551
+ defaultValue: '',
552
+ rules: { sections: [] },
553
+ baseMode: false,
554
+ fixedValue: false,
555
+ singleChoice: true,
556
+ },
557
+ {
558
+ attribute: 'Item.ShippingPackageDetails.WeightMinor',
559
+ label: 'Weight Minor',
560
+ description:
561
+ 'WeightMinor is used to specify the weight of the package in ounces (in US) or grams (all countries that use metric system). The value needs to by rounded up to the nearest whole number',
562
+ required: false,
563
+ type: 'macro-input',
564
+ defaultValue: '',
565
+ rules: { sections: [] },
566
+ baseMode: false,
567
+ fixedValue: false,
568
+ singleChoice: true,
569
+ },
217
570
  ],
218
571
  };
@@ -20,8 +20,12 @@ import {
20
20
  SOURCE_COUNTRY,
21
21
  SOURCE_CURRENCY,
22
22
  SOURCE_EBAY_GALLERY_TYPE,
23
+ SOURCE_EBAY_INTERNATIONAL_REFUND_OPTIONS,
24
+ SOURCE_EBAY_INTERNATIONAL_RETURNS_ACCEPTED,
23
25
  SOURCE_EBAY_INVENTORY_TRACKING,
24
26
  SOURCE_EBAY_LISTING_TYPE,
27
+ SOURCE_EBAY_MEASUREMENT_UNITS,
28
+ SOURCE_EBAY_PAID_BY_COST,
25
29
  SOURCE_EBAY_YES_NO,
26
30
  SOURCE_ENERGY_EFFICIENCY,
27
31
  SOURCE_FB_AGE_GROUP,
@@ -69,6 +73,10 @@ import { EbayYesNoSource } from '../sources/ebay-yes-no.source.js';
69
73
  import { eBayInventoryTrackingSource } from '../sources/ebay-inventory-tracking.source.js';
70
74
  import { EbayListingTypeSource } from '../sources/ebay-listing-type.source.js';
71
75
  import { EbayGalleryTypeSource } from '../sources/ebay-gallery-type.source.js';
76
+ import { EbayInternationalRefundOptionsSource } from '../sources/ebay-refund-options.source.js';
77
+ import { EbayInternationalReturnsAcceptedSource } from '../sources/ebay-returns-accepted.source.js';
78
+ import { EbayPaidByCostSource } from '../sources/ebay-paid-by-cost.source.js';
79
+ import { EbayMeasurementUnitsSource } from '../sources/ebay-measurement-units.source.js';
72
80
 
73
81
  /**
74
82
  * Check for rules duplication
@@ -421,6 +429,14 @@ export function resolveSourceValue(source: string): SelectItem[] | null {
421
429
  return EbayListingTypeSource;
422
430
  case SOURCE_EBAY_GALLERY_TYPE:
423
431
  return EbayGalleryTypeSource;
432
+ case SOURCE_EBAY_INTERNATIONAL_REFUND_OPTIONS:
433
+ return EbayInternationalRefundOptionsSource;
434
+ case SOURCE_EBAY_INTERNATIONAL_RETURNS_ACCEPTED:
435
+ return EbayInternationalReturnsAcceptedSource;
436
+ case SOURCE_EBAY_PAID_BY_COST:
437
+ return EbayPaidByCostSource;
438
+ case SOURCE_EBAY_MEASUREMENT_UNITS:
439
+ return EbayMeasurementUnitsSource;
424
440
  default:
425
441
  return null;
426
442
  }