ebay-mcp 1.4.3
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.
- package/LICENSE +201 -0
- package/README.md +586 -0
- package/build/api/account-management/account.d.ts +216 -0
- package/build/api/account-management/account.js +305 -0
- package/build/api/analytics-and-report/analytics.d.ts +33 -0
- package/build/api/analytics-and-report/analytics.js +102 -0
- package/build/api/client.d.ts +89 -0
- package/build/api/client.js +343 -0
- package/build/api/communication/feedback.d.ts +45 -0
- package/build/api/communication/feedback.js +119 -0
- package/build/api/communication/message.d.ts +55 -0
- package/build/api/communication/message.js +131 -0
- package/build/api/communication/negotiation.d.ts +39 -0
- package/build/api/communication/negotiation.js +97 -0
- package/build/api/communication/notification.d.ts +128 -0
- package/build/api/communication/notification.js +373 -0
- package/build/api/index.d.ts +96 -0
- package/build/api/index.js +121 -0
- package/build/api/listing-management/inventory.d.ts +216 -0
- package/build/api/listing-management/inventory.js +633 -0
- package/build/api/listing-metadata/metadata.d.ts +154 -0
- package/build/api/listing-metadata/metadata.js +485 -0
- package/build/api/listing-metadata/taxonomy.d.ts +38 -0
- package/build/api/listing-metadata/taxonomy.js +58 -0
- package/build/api/marketing-and-promotions/marketing.d.ts +395 -0
- package/build/api/marketing-and-promotions/marketing.js +565 -0
- package/build/api/marketing-and-promotions/recommendation.d.ts +20 -0
- package/build/api/marketing-and-promotions/recommendation.js +32 -0
- package/build/api/order-management/dispute.d.ts +65 -0
- package/build/api/order-management/dispute.js +69 -0
- package/build/api/order-management/fulfillment.d.ts +80 -0
- package/build/api/order-management/fulfillment.js +89 -0
- package/build/api/other/compliance.d.ts +26 -0
- package/build/api/other/compliance.js +47 -0
- package/build/api/other/edelivery.d.ts +153 -0
- package/build/api/other/edelivery.js +219 -0
- package/build/api/other/identity.d.ts +17 -0
- package/build/api/other/identity.js +24 -0
- package/build/api/other/translation.d.ts +14 -0
- package/build/api/other/translation.js +22 -0
- package/build/api/other/vero.d.ts +30 -0
- package/build/api/other/vero.js +48 -0
- package/build/auth/oauth-metadata.d.ts +46 -0
- package/build/auth/oauth-metadata.js +59 -0
- package/build/auth/oauth-middleware.d.ts +35 -0
- package/build/auth/oauth-middleware.js +99 -0
- package/build/auth/oauth-types.d.ts +66 -0
- package/build/auth/oauth-types.js +4 -0
- package/build/auth/oauth.d.ts +93 -0
- package/build/auth/oauth.js +383 -0
- package/build/auth/scope-utils.d.ts +70 -0
- package/build/auth/scope-utils.js +304 -0
- package/build/auth/token-verifier.d.ts +57 -0
- package/build/auth/token-verifier.js +172 -0
- package/build/config/environment.d.ts +61 -0
- package/build/config/environment.js +260 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +98 -0
- package/build/schemas/account-management/account.d.ts +5324 -0
- package/build/schemas/account-management/account.js +366 -0
- package/build/schemas/analytics/analytics.d.ts +167 -0
- package/build/schemas/analytics/analytics.js +191 -0
- package/build/schemas/communication/messages.d.ts +1872 -0
- package/build/schemas/communication/messages.js +348 -0
- package/build/schemas/fulfillment/orders.d.ts +4655 -0
- package/build/schemas/fulfillment/orders.js +317 -0
- package/build/schemas/index.d.ts +2100 -0
- package/build/schemas/index.js +68 -0
- package/build/schemas/inventory-management/inventory.d.ts +6419 -0
- package/build/schemas/inventory-management/inventory.js +450 -0
- package/build/schemas/marketing/marketing.d.ts +14181 -0
- package/build/schemas/marketing/marketing.js +1088 -0
- package/build/schemas/metadata/metadata.d.ts +5259 -0
- package/build/schemas/metadata/metadata.js +614 -0
- package/build/schemas/other/other-apis.d.ts +257 -0
- package/build/schemas/other/other-apis.js +372 -0
- package/build/schemas/taxonomy/taxonomy.d.ts +215 -0
- package/build/schemas/taxonomy/taxonomy.js +571 -0
- package/build/scripts/auto-setup.d.ts +12 -0
- package/build/scripts/auto-setup.js +277 -0
- package/build/scripts/diagnostics.d.ts +8 -0
- package/build/scripts/diagnostics.js +299 -0
- package/build/scripts/download-specs.d.ts +1 -0
- package/build/scripts/download-specs.js +116 -0
- package/build/scripts/interactive-setup.d.ts +21 -0
- package/build/scripts/interactive-setup.js +723 -0
- package/build/server-http.d.ts +11 -0
- package/build/server-http.js +361 -0
- package/build/tools/definitions/account-with-schemas.d.ts +39 -0
- package/build/tools/definitions/account-with-schemas.js +170 -0
- package/build/tools/definitions/account.d.ts +12 -0
- package/build/tools/definitions/account.js +428 -0
- package/build/tools/definitions/analytics.d.ts +25 -0
- package/build/tools/definitions/analytics.js +66 -0
- package/build/tools/definitions/communication.d.ts +12 -0
- package/build/tools/definitions/communication.js +151 -0
- package/build/tools/definitions/fulfillment.d.ts +12 -0
- package/build/tools/definitions/fulfillment.js +326 -0
- package/build/tools/definitions/index.d.ts +25 -0
- package/build/tools/definitions/index.js +37 -0
- package/build/tools/definitions/inventory.d.ts +12 -0
- package/build/tools/definitions/inventory.js +429 -0
- package/build/tools/definitions/marketing.d.ts +12 -0
- package/build/tools/definitions/marketing.js +1095 -0
- package/build/tools/definitions/metadata.d.ts +12 -0
- package/build/tools/definitions/metadata.js +188 -0
- package/build/tools/definitions/other.d.ts +13 -0
- package/build/tools/definitions/other.js +309 -0
- package/build/tools/definitions/taxonomy.d.ts +25 -0
- package/build/tools/definitions/taxonomy.js +64 -0
- package/build/tools/definitions/token-management.d.ts +35 -0
- package/build/tools/definitions/token-management.js +103 -0
- package/build/tools/index.d.ts +11 -0
- package/build/tools/index.js +1003 -0
- package/build/tools/schemas.d.ts +14764 -0
- package/build/tools/schemas.js +667 -0
- package/build/tools/tool-definitions.d.ts +35 -0
- package/build/tools/tool-definitions.js +3534 -0
- package/build/types/application-settings/developerAnalyticsV1BetaOas3.d.ts +197 -0
- package/build/types/application-settings/developerAnalyticsV1BetaOas3.js +5 -0
- package/build/types/application-settings/developerClientRegistrationV1Oas3.d.ts +155 -0
- package/build/types/application-settings/developerClientRegistrationV1Oas3.js +5 -0
- package/build/types/application-settings/developerKeyManagementV1Oas3.d.ts +246 -0
- package/build/types/application-settings/developerKeyManagementV1Oas3.js +5 -0
- package/build/types/ebay-enums.d.ts +1204 -0
- package/build/types/ebay-enums.js +1330 -0
- package/build/types/ebay.d.ts +143 -0
- package/build/types/ebay.js +123 -0
- package/build/types/index.d.ts +6 -0
- package/build/types/index.js +10 -0
- package/build/types/sell-apps/account-management/sellAccountV1Oas3.d.ts +2579 -0
- package/build/types/sell-apps/account-management/sellAccountV1Oas3.js +5 -0
- package/build/types/sell-apps/analytics-and-report/sellAnalyticsV1Oas3.d.ts +446 -0
- package/build/types/sell-apps/analytics-and-report/sellAnalyticsV1Oas3.js +5 -0
- package/build/types/sell-apps/communication/commerceFeedbackV1BetaOas3.d.ts +705 -0
- package/build/types/sell-apps/communication/commerceFeedbackV1BetaOas3.js +5 -0
- package/build/types/sell-apps/communication/commerceMessageV1Oas3.d.ts +590 -0
- package/build/types/sell-apps/communication/commerceMessageV1Oas3.js +5 -0
- package/build/types/sell-apps/communication/commerceNotificationV1Oas3.d.ts +1276 -0
- package/build/types/sell-apps/communication/commerceNotificationV1Oas3.js +5 -0
- package/build/types/sell-apps/communication/sellNegotiationV1Oas3.d.ts +277 -0
- package/build/types/sell-apps/communication/sellNegotiationV1Oas3.js +5 -0
- package/build/types/sell-apps/listing-management/sellInventoryV1Oas3.d.ts +3133 -0
- package/build/types/sell-apps/listing-management/sellInventoryV1Oas3.js +5 -0
- package/build/types/sell-apps/listing-metadata/sellMetadataV1Oas3.d.ts +2289 -0
- package/build/types/sell-apps/listing-metadata/sellMetadataV1Oas3.js +5 -0
- package/build/types/sell-apps/markeitng-and-promotions/sellMarketingV1Oas3.d.ts +6650 -0
- package/build/types/sell-apps/markeitng-and-promotions/sellMarketingV1Oas3.js +5 -0
- package/build/types/sell-apps/markeitng-and-promotions/sellRecommendationV1Oas3.d.ts +172 -0
- package/build/types/sell-apps/markeitng-and-promotions/sellRecommendationV1Oas3.js +5 -0
- package/build/types/sell-apps/order-management/sellFulfillmentV1Oas3.d.ts +1869 -0
- package/build/types/sell-apps/order-management/sellFulfillmentV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/commerceIdentityV1Oas3.d.ts +178 -0
- package/build/types/sell-apps/other-apis/commerceIdentityV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/commerceTranslationV1BetaOas3.d.ts +128 -0
- package/build/types/sell-apps/other-apis/commerceTranslationV1BetaOas3.js +5 -0
- package/build/types/sell-apps/other-apis/commerceVeroV1Oas3.d.ts +417 -0
- package/build/types/sell-apps/other-apis/commerceVeroV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellComplianceV1Oas3.d.ts +273 -0
- package/build/types/sell-apps/other-apis/sellComplianceV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellEdeliveryInternationalShippingOas3.d.ts +2537 -0
- package/build/types/sell-apps/other-apis/sellEdeliveryInternationalShippingOas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellMarketingV1Oas3.d.ts +6650 -0
- package/build/types/sell-apps/other-apis/sellMarketingV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellRecommendationV1Oas3.d.ts +172 -0
- package/build/types/sell-apps/other-apis/sellRecommendationV1Oas3.js +5 -0
- package/build/utils/account-management/account.d.ts +1094 -0
- package/build/utils/account-management/account.js +831 -0
- package/build/utils/communication/feedback.d.ts +152 -0
- package/build/utils/communication/feedback.js +216 -0
- package/build/utils/communication/message.d.ts +174 -0
- package/build/utils/communication/message.js +242 -0
- package/build/utils/communication/negotiation.d.ts +123 -0
- package/build/utils/communication/negotiation.js +150 -0
- package/build/utils/communication/notification.d.ts +370 -0
- package/build/utils/communication/notification.js +369 -0
- package/build/utils/date-converter.d.ts +59 -0
- package/build/utils/date-converter.js +160 -0
- package/build/utils/llm-client-detector.d.ts +54 -0
- package/build/utils/llm-client-detector.js +318 -0
- package/build/utils/oauth-helper.d.ts +37 -0
- package/build/utils/oauth-helper.js +315 -0
- package/build/utils/order-management/dispute.d.ts +346 -0
- package/build/utils/order-management/dispute.js +369 -0
- package/build/utils/order-management/fulfillment.d.ts +200 -0
- package/build/utils/order-management/fulfillment.js +205 -0
- package/build/utils/other/compliance.d.ts +49 -0
- package/build/utils/other/compliance.js +76 -0
- package/build/utils/other/edelivery.d.ts +310 -0
- package/build/utils/other/edelivery.js +241 -0
- package/build/utils/other/identity.d.ts +13 -0
- package/build/utils/other/identity.js +13 -0
- package/build/utils/other/translation.d.ts +28 -0
- package/build/utils/other/translation.js +41 -0
- package/build/utils/other/vero.d.ts +61 -0
- package/build/utils/other/vero.js +90 -0
- package/build/utils/scope-helper.d.ts +49 -0
- package/build/utils/scope-helper.js +207 -0
- package/build/utils/security-checker.d.ts +46 -0
- package/build/utils/security-checker.js +248 -0
- package/build/utils/setup-validator.d.ts +25 -0
- package/build/utils/setup-validator.js +305 -0
- package/build/utils/token-utils.d.ts +40 -0
- package/build/utils/token-utils.js +40 -0
- package/package.json +115 -0
|
@@ -0,0 +1,1330 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Comprehensive eBay API Enum Definitions
|
|
3
|
+
*
|
|
4
|
+
* This file contains TypeScript enums for common eBay API values.
|
|
5
|
+
* These enums are extracted from eBay's OpenAPI specifications and
|
|
6
|
+
* official developer documentation.
|
|
7
|
+
*
|
|
8
|
+
* Reference: https://developer.ebay.com/api-docs/
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* eBay Marketplace Identifiers
|
|
12
|
+
*
|
|
13
|
+
* Used across multiple APIs to specify which eBay marketplace to target.
|
|
14
|
+
*
|
|
15
|
+
* Reference: https://developer.ebay.com/api-docs/sell/account/types/ba:MarketplaceIdEnum
|
|
16
|
+
*/
|
|
17
|
+
export var MarketplaceId;
|
|
18
|
+
(function (MarketplaceId) {
|
|
19
|
+
/** Austria - https://www.ebay.at */
|
|
20
|
+
MarketplaceId["EBAY_AT"] = "EBAY_AT";
|
|
21
|
+
/** Australia - https://www.ebay.com.au */
|
|
22
|
+
MarketplaceId["EBAY_AU"] = "EBAY_AU";
|
|
23
|
+
/** Belgium - https://www.ebay.be/ */
|
|
24
|
+
MarketplaceId["EBAY_BE"] = "EBAY_BE";
|
|
25
|
+
/** Canada - https://www.ebay.ca */
|
|
26
|
+
MarketplaceId["EBAY_CA"] = "EBAY_CA";
|
|
27
|
+
/** Switzerland - https://www.ebay.ch */
|
|
28
|
+
MarketplaceId["EBAY_CH"] = "EBAY_CH";
|
|
29
|
+
/** China - Reserved for future use */
|
|
30
|
+
MarketplaceId["EBAY_CN"] = "EBAY_CN";
|
|
31
|
+
/** Czech Republic - Reserved for future use */
|
|
32
|
+
MarketplaceId["EBAY_CZ"] = "EBAY_CZ";
|
|
33
|
+
/** Germany - https://www.ebay.de */
|
|
34
|
+
MarketplaceId["EBAY_DE"] = "EBAY_DE";
|
|
35
|
+
/** Denmark - Reserved for future use */
|
|
36
|
+
MarketplaceId["EBAY_DK"] = "EBAY_DK";
|
|
37
|
+
/** Spain - https://www.ebay.es */
|
|
38
|
+
MarketplaceId["EBAY_ES"] = "EBAY_ES";
|
|
39
|
+
/** Finland - Reserved for future use */
|
|
40
|
+
MarketplaceId["EBAY_FI"] = "EBAY_FI";
|
|
41
|
+
/** France - https://www.ebay.fr */
|
|
42
|
+
MarketplaceId["EBAY_FR"] = "EBAY_FR";
|
|
43
|
+
/** United Kingdom - https://www.ebay.co.uk */
|
|
44
|
+
MarketplaceId["EBAY_GB"] = "EBAY_GB";
|
|
45
|
+
/** Greece - Reserved for future use */
|
|
46
|
+
MarketplaceId["EBAY_GR"] = "EBAY_GR";
|
|
47
|
+
/** Hong Kong - https://www.ebay.com.hk */
|
|
48
|
+
MarketplaceId["EBAY_HK"] = "EBAY_HK";
|
|
49
|
+
/** Hungary - Reserved for future use */
|
|
50
|
+
MarketplaceId["EBAY_HU"] = "EBAY_HU";
|
|
51
|
+
/** Indonesia - Reserved for future use */
|
|
52
|
+
MarketplaceId["EBAY_ID"] = "EBAY_ID";
|
|
53
|
+
/** Ireland - https://www.ebay.ie */
|
|
54
|
+
MarketplaceId["EBAY_IE"] = "EBAY_IE";
|
|
55
|
+
/** Israel - Reserved for future use */
|
|
56
|
+
MarketplaceId["EBAY_IL"] = "EBAY_IL";
|
|
57
|
+
/** India - Reserved for future use */
|
|
58
|
+
MarketplaceId["EBAY_IN"] = "EBAY_IN";
|
|
59
|
+
/** Italy - https://www.ebay.it */
|
|
60
|
+
MarketplaceId["EBAY_IT"] = "EBAY_IT";
|
|
61
|
+
/** Japan - Reserved for future use */
|
|
62
|
+
MarketplaceId["EBAY_JP"] = "EBAY_JP";
|
|
63
|
+
/** Malaysia - https://www.ebay.com.my */
|
|
64
|
+
MarketplaceId["EBAY_MY"] = "EBAY_MY";
|
|
65
|
+
/** Netherlands - https://www.ebay.nl */
|
|
66
|
+
MarketplaceId["EBAY_NL"] = "EBAY_NL";
|
|
67
|
+
/** Norway - Reserved for future use */
|
|
68
|
+
MarketplaceId["EBAY_NO"] = "EBAY_NO";
|
|
69
|
+
/** New Zealand - Reserved for future use */
|
|
70
|
+
MarketplaceId["EBAY_NZ"] = "EBAY_NZ";
|
|
71
|
+
/** Peru - Reserved for future use */
|
|
72
|
+
MarketplaceId["EBAY_PE"] = "EBAY_PE";
|
|
73
|
+
/** Philippines - https://www.ebay.ph */
|
|
74
|
+
MarketplaceId["EBAY_PH"] = "EBAY_PH";
|
|
75
|
+
/** Poland - https://www.ebay.pl */
|
|
76
|
+
MarketplaceId["EBAY_PL"] = "EBAY_PL";
|
|
77
|
+
/** Puerto Rico - Reserved for future use */
|
|
78
|
+
MarketplaceId["EBAY_PR"] = "EBAY_PR";
|
|
79
|
+
/** Portugal - Reserved for future use */
|
|
80
|
+
MarketplaceId["EBAY_PT"] = "EBAY_PT";
|
|
81
|
+
/** Russia - Reserved for future use */
|
|
82
|
+
MarketplaceId["EBAY_RU"] = "EBAY_RU";
|
|
83
|
+
/** Sweden - Reserved for future use */
|
|
84
|
+
MarketplaceId["EBAY_SE"] = "EBAY_SE";
|
|
85
|
+
/** Singapore - https://www.ebay.com.sg */
|
|
86
|
+
MarketplaceId["EBAY_SG"] = "EBAY_SG";
|
|
87
|
+
/** Thailand - https://info.ebay.co.th */
|
|
88
|
+
MarketplaceId["EBAY_TH"] = "EBAY_TH";
|
|
89
|
+
/** Taiwan - https://www.ebay.com.tw */
|
|
90
|
+
MarketplaceId["EBAY_TW"] = "EBAY_TW";
|
|
91
|
+
/** United States - https://www.ebay.com */
|
|
92
|
+
MarketplaceId["EBAY_US"] = "EBAY_US";
|
|
93
|
+
/** Vietnam - https://www.ebay.vn */
|
|
94
|
+
MarketplaceId["EBAY_VN"] = "EBAY_VN";
|
|
95
|
+
/** South Africa - Reserved for future use */
|
|
96
|
+
MarketplaceId["EBAY_ZA"] = "EBAY_ZA";
|
|
97
|
+
/** eBay Half.com US - No longer used */
|
|
98
|
+
MarketplaceId["EBAY_HALF_US"] = "EBAY_HALF_US";
|
|
99
|
+
/** eBay Motors US - Parent category for Auto Parts and Vehicles on EBAY_US */
|
|
100
|
+
MarketplaceId["EBAY_MOTORS_US"] = "EBAY_MOTORS_US";
|
|
101
|
+
})(MarketplaceId || (MarketplaceId = {}));
|
|
102
|
+
/**
|
|
103
|
+
* Item Condition Enums
|
|
104
|
+
*
|
|
105
|
+
* Specifies the condition of an item being listed.
|
|
106
|
+
*
|
|
107
|
+
* Reference: https://developer.ebay.com/api-docs/sell/inventory/types/slr:ConditionEnum
|
|
108
|
+
*/
|
|
109
|
+
export var Condition;
|
|
110
|
+
(function (Condition) {
|
|
111
|
+
/** Brand-new, unopened item in its original packaging */
|
|
112
|
+
Condition["NEW"] = "NEW";
|
|
113
|
+
/** Item opened but very lightly used; for trading cards indicates Graded status */
|
|
114
|
+
Condition["LIKE_NEW"] = "LIKE_NEW";
|
|
115
|
+
/** New, unused item missing original packaging or not sealed */
|
|
116
|
+
Condition["NEW_OTHER"] = "NEW_OTHER";
|
|
117
|
+
/** New item with defects like scuffs or missing buttons */
|
|
118
|
+
Condition["NEW_WITH_DEFECTS"] = "NEW_WITH_DEFECTS";
|
|
119
|
+
/** @deprecated Use CERTIFIED_REFURBISHED instead */
|
|
120
|
+
Condition["MANUFACTURER_REFURBISHED"] = "MANUFACTURER_REFURBISHED";
|
|
121
|
+
/** Pristine, like-new condition inspected and refurbished by manufacturer */
|
|
122
|
+
Condition["CERTIFIED_REFURBISHED"] = "CERTIFIED_REFURBISHED";
|
|
123
|
+
/** Like new condition, refurbished with minimal wear */
|
|
124
|
+
Condition["EXCELLENT_REFURBISHED"] = "EXCELLENT_REFURBISHED";
|
|
125
|
+
/** Minimal wear, refurbished by manufacturer or approved vendor */
|
|
126
|
+
Condition["VERY_GOOD_REFURBISHED"] = "VERY_GOOD_REFURBISHED";
|
|
127
|
+
/** Moderate wear, inspected and refurbished */
|
|
128
|
+
Condition["GOOD_REFURBISHED"] = "GOOD_REFURBISHED";
|
|
129
|
+
/** Restored to working order by seller or third party */
|
|
130
|
+
Condition["SELLER_REFURBISHED"] = "SELLER_REFURBISHED";
|
|
131
|
+
/** Used but excellent condition; for apparel means Pre-owned Good */
|
|
132
|
+
Condition["USED_EXCELLENT"] = "USED_EXCELLENT";
|
|
133
|
+
/** Used but very good condition; for trading cards means Ungraded */
|
|
134
|
+
Condition["USED_VERY_GOOD"] = "USED_VERY_GOOD";
|
|
135
|
+
/** Used but in good condition */
|
|
136
|
+
Condition["USED_GOOD"] = "USED_GOOD";
|
|
137
|
+
/** Used item in acceptable condition */
|
|
138
|
+
Condition["USED_ACCEPTABLE"] = "USED_ACCEPTABLE";
|
|
139
|
+
/** Item not fully functioning; needs repair or parts harvesting */
|
|
140
|
+
Condition["FOR_PARTS_OR_NOT_WORKING"] = "FOR_PARTS_OR_NOT_WORKING";
|
|
141
|
+
/** Previously owned, excellent condition; apparel categories only */
|
|
142
|
+
Condition["PRE_OWNED_EXCELLENT"] = "PRE_OWNED_EXCELLENT";
|
|
143
|
+
/** Previously owned with significant visible flaws; apparel only */
|
|
144
|
+
Condition["PRE_OWNED_FAIR"] = "PRE_OWNED_FAIR";
|
|
145
|
+
})(Condition || (Condition = {}));
|
|
146
|
+
/** Listing locales (language/region) */
|
|
147
|
+
export var LocaleEnum;
|
|
148
|
+
(function (LocaleEnum) {
|
|
149
|
+
LocaleEnum["en_US"] = "en-US";
|
|
150
|
+
LocaleEnum["en_CA"] = "en-CA";
|
|
151
|
+
LocaleEnum["fr_CA"] = "fr-CA";
|
|
152
|
+
LocaleEnum["en_GB"] = "en-GB";
|
|
153
|
+
LocaleEnum["en_AU"] = "en-AU";
|
|
154
|
+
LocaleEnum["en_IN"] = "en-IN";
|
|
155
|
+
LocaleEnum["de_AT"] = "de-AT";
|
|
156
|
+
LocaleEnum["fr_BE"] = "fr-BE";
|
|
157
|
+
LocaleEnum["fr_FR"] = "fr-FR";
|
|
158
|
+
LocaleEnum["de_DE"] = "de-DE";
|
|
159
|
+
LocaleEnum["it_IT"] = "it-IT";
|
|
160
|
+
LocaleEnum["nl_BE"] = "nl-BE";
|
|
161
|
+
LocaleEnum["nl_NL"] = "nl-NL";
|
|
162
|
+
LocaleEnum["es_ES"] = "es-ES";
|
|
163
|
+
LocaleEnum["de_CH"] = "de-CH";
|
|
164
|
+
LocaleEnum["fi_FI"] = "fi-FI";
|
|
165
|
+
LocaleEnum["zh_HK"] = "zh-HK";
|
|
166
|
+
LocaleEnum["hu_HU"] = "hu-HU";
|
|
167
|
+
LocaleEnum["en_PH"] = "en-PH";
|
|
168
|
+
LocaleEnum["pl_PL"] = "pl-PL";
|
|
169
|
+
LocaleEnum["pt_PT"] = "pt-PT";
|
|
170
|
+
LocaleEnum["ru_RU"] = "ru-RU";
|
|
171
|
+
LocaleEnum["en_SG"] = "en-SG";
|
|
172
|
+
LocaleEnum["en_IE"] = "en-IE";
|
|
173
|
+
LocaleEnum["en_MY"] = "en-MY";
|
|
174
|
+
})(LocaleEnum || (LocaleEnum = {}));
|
|
175
|
+
/**
|
|
176
|
+
* Listing Format Types
|
|
177
|
+
*
|
|
178
|
+
* Specifies whether a listing is auction or fixed-price.
|
|
179
|
+
*
|
|
180
|
+
* Reference: https://developer.ebay.com/api-docs/sell/inventory/types/slr:FormatTypeEnum
|
|
181
|
+
*/
|
|
182
|
+
export var FormatType;
|
|
183
|
+
(function (FormatType) {
|
|
184
|
+
/** Auction listing format */
|
|
185
|
+
FormatType["AUCTION"] = "AUCTION";
|
|
186
|
+
/** Fixed-price listing format */
|
|
187
|
+
FormatType["FIXED_PRICE"] = "FIXED_PRICE";
|
|
188
|
+
})(FormatType || (FormatType = {}));
|
|
189
|
+
/**
|
|
190
|
+
* Order Payment Status
|
|
191
|
+
*
|
|
192
|
+
* Indicates the payment status of an order.
|
|
193
|
+
*
|
|
194
|
+
* Reference: https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:OrderPaymentStatusEnum
|
|
195
|
+
*/
|
|
196
|
+
export var OrderPaymentStatus;
|
|
197
|
+
(function (OrderPaymentStatus) {
|
|
198
|
+
/** Buyer payment or refund has failed */
|
|
199
|
+
OrderPaymentStatus["FAILED"] = "FAILED";
|
|
200
|
+
/** Full amount of the order has been refunded to the buyer */
|
|
201
|
+
OrderPaymentStatus["FULLY_REFUNDED"] = "FULLY_REFUNDED";
|
|
202
|
+
/** Order has been paid in full. Safe for seller to ship */
|
|
203
|
+
OrderPaymentStatus["PAID"] = "PAID";
|
|
204
|
+
/** Partial amount of the order has been refunded to the buyer */
|
|
205
|
+
OrderPaymentStatus["PARTIALLY_REFUNDED"] = "PARTIALLY_REFUNDED";
|
|
206
|
+
/** Buyer payment or seller refund is in pending state */
|
|
207
|
+
OrderPaymentStatus["PENDING"] = "PENDING";
|
|
208
|
+
})(OrderPaymentStatus || (OrderPaymentStatus = {}));
|
|
209
|
+
/**
|
|
210
|
+
* Marketing Campaign Status
|
|
211
|
+
*
|
|
212
|
+
* Indicates the current status of a Promoted Listings campaign.
|
|
213
|
+
*
|
|
214
|
+
* Reference: https://developer.ebay.com/api-docs/sell/marketing/types/pls:CampaignStatusEnum
|
|
215
|
+
*/
|
|
216
|
+
export var CampaignStatus;
|
|
217
|
+
(function (CampaignStatus) {
|
|
218
|
+
/** Campaign is deleted and no longer accessible */
|
|
219
|
+
CampaignStatus["DELETED"] = "DELETED";
|
|
220
|
+
/** Campaign is inactive and in draft status */
|
|
221
|
+
CampaignStatus["DRAFT"] = "DRAFT";
|
|
222
|
+
/** Campaign has ended and cannot be restarted */
|
|
223
|
+
CampaignStatus["ENDED"] = "ENDED";
|
|
224
|
+
/** Request to end campaign received, system is processing */
|
|
225
|
+
CampaignStatus["ENDING_SOON"] = "ENDING_SOON";
|
|
226
|
+
/** Campaign is paused, listings not being promoted */
|
|
227
|
+
CampaignStatus["PAUSED"] = "PAUSED";
|
|
228
|
+
/** Criterion-based campaign in process of being created */
|
|
229
|
+
CampaignStatus["PENDING"] = "PENDING";
|
|
230
|
+
/** Campaign is active, listings are being promoted */
|
|
231
|
+
CampaignStatus["RUNNING"] = "RUNNING";
|
|
232
|
+
/** Campaign created but scheduled to start on future date */
|
|
233
|
+
CampaignStatus["SCHEDULED"] = "SCHEDULED";
|
|
234
|
+
/** System-generated pause due to seller's Below Standard level */
|
|
235
|
+
CampaignStatus["SYSTEM_PAUSED"] = "SYSTEM_PAUSED";
|
|
236
|
+
})(CampaignStatus || (CampaignStatus = {}));
|
|
237
|
+
/**
|
|
238
|
+
* Refund Method Types
|
|
239
|
+
*
|
|
240
|
+
* Specifies the refund method for return policies.
|
|
241
|
+
*
|
|
242
|
+
* Reference: https://developer.ebay.com/api-docs/sell/account/types/api:RefundMethodEnum
|
|
243
|
+
*/
|
|
244
|
+
export var RefundMethod;
|
|
245
|
+
(function (RefundMethod) {
|
|
246
|
+
/** Refund in money back to buyer */
|
|
247
|
+
RefundMethod["MONEY_BACK"] = "MONEY_BACK";
|
|
248
|
+
/** Refund as merchandise credit */
|
|
249
|
+
RefundMethod["MERCHANDISE_CREDIT"] = "MERCHANDISE_CREDIT";
|
|
250
|
+
})(RefundMethod || (RefundMethod = {}));
|
|
251
|
+
/**
|
|
252
|
+
* Return Method Types
|
|
253
|
+
*
|
|
254
|
+
* Specifies how returns are handled.
|
|
255
|
+
*
|
|
256
|
+
* Reference: https://developer.ebay.com/api-docs/sell/account/types/api:ReturnMethodEnum
|
|
257
|
+
*/
|
|
258
|
+
export var ReturnMethod;
|
|
259
|
+
(function (ReturnMethod) {
|
|
260
|
+
/** Replacement item provided */
|
|
261
|
+
ReturnMethod["REPLACEMENT"] = "REPLACEMENT";
|
|
262
|
+
/** Item exchange */
|
|
263
|
+
ReturnMethod["EXCHANGE"] = "EXCHANGE";
|
|
264
|
+
})(ReturnMethod || (ReturnMethod = {}));
|
|
265
|
+
/**
|
|
266
|
+
* Return Shipping Cost Payer
|
|
267
|
+
*
|
|
268
|
+
* Specifies who pays for return shipping.
|
|
269
|
+
*
|
|
270
|
+
* Reference: https://developer.ebay.com/api-docs/sell/account/types/api:ReturnShippingCostPayerEnum
|
|
271
|
+
*/
|
|
272
|
+
export var ReturnShippingCostPayer;
|
|
273
|
+
(function (ReturnShippingCostPayer) {
|
|
274
|
+
/** Buyer pays for return shipping */
|
|
275
|
+
ReturnShippingCostPayer["BUYER"] = "BUYER";
|
|
276
|
+
/** Seller pays for return shipping */
|
|
277
|
+
ReturnShippingCostPayer["SELLER"] = "SELLER";
|
|
278
|
+
})(ReturnShippingCostPayer || (ReturnShippingCostPayer = {}));
|
|
279
|
+
/**
|
|
280
|
+
* Time Duration Units
|
|
281
|
+
*
|
|
282
|
+
* Units for time-based durations used across multiple APIs.
|
|
283
|
+
*
|
|
284
|
+
* Reference: https://developer.ebay.com/api-docs/sell/account/types/ba:TimeDurationUnitEnum
|
|
285
|
+
*/
|
|
286
|
+
export var TimeDurationUnit;
|
|
287
|
+
(function (TimeDurationUnit) {
|
|
288
|
+
/** Year */
|
|
289
|
+
TimeDurationUnit["YEAR"] = "YEAR";
|
|
290
|
+
/** Month */
|
|
291
|
+
TimeDurationUnit["MONTH"] = "MONTH";
|
|
292
|
+
/** Day */
|
|
293
|
+
TimeDurationUnit["DAY"] = "DAY";
|
|
294
|
+
/** Hour */
|
|
295
|
+
TimeDurationUnit["HOUR"] = "HOUR";
|
|
296
|
+
/** Calendar day */
|
|
297
|
+
TimeDurationUnit["CALENDAR_DAY"] = "CALENDAR_DAY";
|
|
298
|
+
/** Business day */
|
|
299
|
+
TimeDurationUnit["BUSINESS_DAY"] = "BUSINESS_DAY";
|
|
300
|
+
/** Minute */
|
|
301
|
+
TimeDurationUnit["MINUTE"] = "MINUTE";
|
|
302
|
+
/** Second */
|
|
303
|
+
TimeDurationUnit["SECOND"] = "SECOND";
|
|
304
|
+
/** Millisecond */
|
|
305
|
+
TimeDurationUnit["MILLISECOND"] = "MILLISECOND";
|
|
306
|
+
})(TimeDurationUnit || (TimeDurationUnit = {}));
|
|
307
|
+
/**
|
|
308
|
+
* Shipping Cost Types
|
|
309
|
+
*
|
|
310
|
+
* Specifies how shipping costs are calculated.
|
|
311
|
+
*
|
|
312
|
+
* Reference: https://developer.ebay.com/api-docs/sell/account/types/api:ShippingCostTypeEnum
|
|
313
|
+
*/
|
|
314
|
+
export var ShippingCostType;
|
|
315
|
+
(function (ShippingCostType) {
|
|
316
|
+
/** Flat rate shipping */
|
|
317
|
+
ShippingCostType["FLAT_RATE"] = "FLAT_RATE";
|
|
318
|
+
/** Calculated shipping based on weight/dimensions */
|
|
319
|
+
ShippingCostType["CALCULATED"] = "CALCULATED";
|
|
320
|
+
/** Not specified */
|
|
321
|
+
ShippingCostType["NOT_SPECIFIED"] = "NOT_SPECIFIED";
|
|
322
|
+
})(ShippingCostType || (ShippingCostType = {}));
|
|
323
|
+
/**
|
|
324
|
+
* Shipping Option Types
|
|
325
|
+
*
|
|
326
|
+
* Specifies domestic or international shipping.
|
|
327
|
+
*
|
|
328
|
+
* Reference: https://developer.ebay.com/api-docs/sell/account/types/api:ShippingOptionTypeEnum
|
|
329
|
+
*/
|
|
330
|
+
export var ShippingOptionType;
|
|
331
|
+
(function (ShippingOptionType) {
|
|
332
|
+
/** Domestic shipping */
|
|
333
|
+
ShippingOptionType["DOMESTIC"] = "DOMESTIC";
|
|
334
|
+
/** International shipping */
|
|
335
|
+
ShippingOptionType["INTERNATIONAL"] = "INTERNATIONAL";
|
|
336
|
+
})(ShippingOptionType || (ShippingOptionType = {}));
|
|
337
|
+
/**
|
|
338
|
+
* Category Types
|
|
339
|
+
*
|
|
340
|
+
* Specifies eBay category types for business policies.
|
|
341
|
+
*
|
|
342
|
+
* Reference: https://developer.ebay.com/api-docs/sell/account/types/api:CategoryTypeEnum
|
|
343
|
+
*/
|
|
344
|
+
export var CategoryType;
|
|
345
|
+
(function (CategoryType) {
|
|
346
|
+
/** All categories */
|
|
347
|
+
CategoryType["ALL_EXCLUDING_MOTORS_VEHICLES"] = "ALL_EXCLUDING_MOTORS_VEHICLES";
|
|
348
|
+
/** Motors vehicles category */
|
|
349
|
+
CategoryType["MOTORS_VEHICLES"] = "MOTORS_VEHICLES";
|
|
350
|
+
})(CategoryType || (CategoryType = {}));
|
|
351
|
+
/**
|
|
352
|
+
* Payment Method Types
|
|
353
|
+
*
|
|
354
|
+
* Specifies available payment methods.
|
|
355
|
+
*
|
|
356
|
+
* Reference: https://developer.ebay.com/api-docs/sell/account/types/api:PaymentMethodTypeEnum
|
|
357
|
+
*/
|
|
358
|
+
export var PaymentMethodType;
|
|
359
|
+
(function (PaymentMethodType) {
|
|
360
|
+
/** Credit card payment */
|
|
361
|
+
PaymentMethodType["CREDIT_CARD"] = "CREDIT_CARD";
|
|
362
|
+
/** PayPal payment */
|
|
363
|
+
PaymentMethodType["PAYPAL"] = "PAYPAL";
|
|
364
|
+
/** Personal check */
|
|
365
|
+
PaymentMethodType["PERSONAL_CHECK"] = "PERSONAL_CHECK";
|
|
366
|
+
/** Money order or cashier's check */
|
|
367
|
+
PaymentMethodType["MONEY_ORDER_CASHIERS_CHECK"] = "MONEY_ORDER_CASHIERS_CHECK";
|
|
368
|
+
/** Cash on delivery */
|
|
369
|
+
PaymentMethodType["CASH_ON_DELIVERY"] = "CASH_ON_DELIVERY";
|
|
370
|
+
/** Cash on pickup */
|
|
371
|
+
PaymentMethodType["CASH_ON_PICKUP"] = "CASH_ON_PICKUP";
|
|
372
|
+
/** This enumeration value indicates that the payment method will be cash, and the transaction will occur in-person. */
|
|
373
|
+
PaymentMethodType["CASH_IN_PERSON"] = "CASH_IN_PERSON";
|
|
374
|
+
/** This enumeration value indicates that escrow was used as the payment method to pay for the order. This form of payment is used for high-value orders. */
|
|
375
|
+
PaymentMethodType["ESCROW"] = "ESCROW";
|
|
376
|
+
/** This payment method is no longer valid. */
|
|
377
|
+
PaymentMethodType["INTEGRATED_MERCHANT_CREDIT_CARD"] = "INTEGRATED_MERCHANT_CREDIT_CARD";
|
|
378
|
+
/** This payment method is no longer valid. */
|
|
379
|
+
PaymentMethodType["LOAN_CHECK"] = "LOAN_CHECK";
|
|
380
|
+
/** This enumeration value indicates that the payment method will be by a Money Order. */
|
|
381
|
+
PaymentMethodType["MONEY_ORDER"] = "MONEY_ORDER";
|
|
382
|
+
/** This payment method is no longer valid. */
|
|
383
|
+
PaymentMethodType["PAISA_PAY"] = "PAISA_PAY";
|
|
384
|
+
/** This payment method is no longer valid. */
|
|
385
|
+
PaymentMethodType["PAISA_PAY_ESCROW"] = "PAISA_PAY_ESCROW";
|
|
386
|
+
/** This payment method is no longer valid. */
|
|
387
|
+
PaymentMethodType["PAISA_PAY_ESCROW_EMI"] = "PAISA_PAY_ESCROW_EMI";
|
|
388
|
+
/** This enumeration value indicates that the seller is offering an offline payment method not otherwise covered. */
|
|
389
|
+
PaymentMethodType["OTHER"] = "OTHER";
|
|
390
|
+
})(PaymentMethodType || (PaymentMethodType = {}));
|
|
391
|
+
/**
|
|
392
|
+
* Line Item Fulfillment Status
|
|
393
|
+
*
|
|
394
|
+
* Status of individual line items in an order.
|
|
395
|
+
*
|
|
396
|
+
* Reference: https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:LineItemFulfillmentStatusEnum
|
|
397
|
+
*/
|
|
398
|
+
export var LineItemFulfillmentStatus;
|
|
399
|
+
(function (LineItemFulfillmentStatus) {
|
|
400
|
+
/** Line item has been fulfilled */
|
|
401
|
+
LineItemFulfillmentStatus["FULFILLED"] = "FULFILLED";
|
|
402
|
+
/** In process of fulfillment */
|
|
403
|
+
LineItemFulfillmentStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
404
|
+
/** Not started */
|
|
405
|
+
LineItemFulfillmentStatus["NOT_STARTED"] = "NOT_STARTED";
|
|
406
|
+
})(LineItemFulfillmentStatus || (LineItemFulfillmentStatus = {}));
|
|
407
|
+
/**
|
|
408
|
+
* Offer Status
|
|
409
|
+
*
|
|
410
|
+
* Current status of an inventory offer.
|
|
411
|
+
*
|
|
412
|
+
* Reference: https://developer.ebay.com/api-docs/sell/inventory/types/slr:OfferStatusEnum
|
|
413
|
+
*/
|
|
414
|
+
export var OfferStatus;
|
|
415
|
+
(function (OfferStatus) {
|
|
416
|
+
/** Offer is published and active */
|
|
417
|
+
OfferStatus["PUBLISHED"] = "PUBLISHED";
|
|
418
|
+
/** Offer is unpublished */
|
|
419
|
+
OfferStatus["UNPUBLISHED"] = "UNPUBLISHED";
|
|
420
|
+
})(OfferStatus || (OfferStatus = {}));
|
|
421
|
+
/**
|
|
422
|
+
* Listing Status
|
|
423
|
+
*
|
|
424
|
+
* Current status of a listing.
|
|
425
|
+
*
|
|
426
|
+
* Reference: https://developer.ebay.com/api-docs/sell/inventory/types/slr:ListingStatusEnum
|
|
427
|
+
*/
|
|
428
|
+
export var ListingStatus;
|
|
429
|
+
(function (ListingStatus) {
|
|
430
|
+
/** Listing is active */
|
|
431
|
+
ListingStatus["ACTIVE"] = "ACTIVE";
|
|
432
|
+
/** Listing is out of stock */
|
|
433
|
+
ListingStatus["OUT_OF_STOCK"] = "OUT_OF_STOCK";
|
|
434
|
+
/** Listing has ended */
|
|
435
|
+
ListingStatus["ENDED"] = "ENDED";
|
|
436
|
+
/** Listing is inactive */
|
|
437
|
+
ListingStatus["INACTIVE"] = "INACTIVE";
|
|
438
|
+
/** This enumeration value indicates that the eBay customer service has administratively ended the eBay listing associated with the offer. */
|
|
439
|
+
ListingStatus["EBAY_ENDED"] = "EBAY_ENDED";
|
|
440
|
+
/** This enumeration value indicates that the eBay listing associated with the offer has yet to be listed. */
|
|
441
|
+
ListingStatus["NOT_LISTED"] = "NOT_LISTED";
|
|
442
|
+
/** This enumeration value indicates that the eBay listing associated with the offer has ended. */
|
|
443
|
+
// ENDED = 'ENDED', // Duplicate, already defined above
|
|
444
|
+
})(ListingStatus || (ListingStatus = {}));
|
|
445
|
+
/**
|
|
446
|
+
* Compliance Types
|
|
447
|
+
*
|
|
448
|
+
* Types of compliance issues.
|
|
449
|
+
*
|
|
450
|
+
* Reference: https://developer.ebay.com/api-docs/sell/compliance/types/com:ComplianceTypeEnum
|
|
451
|
+
*/
|
|
452
|
+
export var ComplianceType;
|
|
453
|
+
(function (ComplianceType) {
|
|
454
|
+
/** @deprecated Note: The ASPECTS_ADOPTION compliance type has been deprecated and will be decommissioned on September 9th, 2025.
|
|
455
|
+
* Use this compliance type to see if a seller's listings have missing or invalid item aspects (item specifics).
|
|
456
|
+
* For each category, eBay maintains a list of required and recommended item aspects. */
|
|
457
|
+
ComplianceType["ASPECTS_ADOPTION"] = "ASPECTS_ADOPTION";
|
|
458
|
+
/** Use this compliance type to see if any of the seller's listings are violating eBay's policy of using an 'HTTP' link
|
|
459
|
+
* (to eBay and non-eBay sites) in the listing instead of 'HTTPS' links. This requirement includes links to externally-hosted
|
|
460
|
+
* listing images. If the server hosting the listing images does not support the HTTPS protocol, this server cannot be used
|
|
461
|
+
* to host listing images. */
|
|
462
|
+
ComplianceType["HTTPS"] = "HTTPS";
|
|
463
|
+
/** Use this compliance type to see if any listings are violating eBay's policy of not allowing links in the listing to sites
|
|
464
|
+
* outside of eBay. The seller including a personal email address and/or a phone number in the listing is also a violation of this policy.
|
|
465
|
+
* All communication between seller and buyers should be handled through eBay's communication system. The only exceptions to this
|
|
466
|
+
* outside links rule are links to product videos, information on freight shipping services, or any legally required information. */
|
|
467
|
+
ComplianceType["OUTSIDE_EBAY_BUYING_AND_SELLING"] = "OUTSIDE_EBAY_BUYING_AND_SELLING";
|
|
468
|
+
/** Product safety compliance */
|
|
469
|
+
ComplianceType["PRODUCT_SAFETY"] = "PRODUCT_SAFETY";
|
|
470
|
+
/** Product Adoption is not enforced at this time, so this compliance type is not currently applicable. */
|
|
471
|
+
ComplianceType["PRODUCT_ADOPTION"] = "PRODUCT_ADOPTION";
|
|
472
|
+
/** Product Adoption is not enforced at this time, so this compliance type is not currently applicable. */
|
|
473
|
+
ComplianceType["PRODUCT_ADOPTION_CONFORMANCE"] = "PRODUCT_ADOPTION_CONFORMANCE";
|
|
474
|
+
/** Regulatory compliance */
|
|
475
|
+
ComplianceType["REGULATORY"] = "REGULATORY";
|
|
476
|
+
/** Returns policy compliance */
|
|
477
|
+
ComplianceType["RETURNS_POLICY"] = "RETURNS_POLICY";
|
|
478
|
+
})(ComplianceType || (ComplianceType = {}));
|
|
479
|
+
/**
|
|
480
|
+
* Language Codes (ISO 639-1)
|
|
481
|
+
*
|
|
482
|
+
* Two-letter language codes used for content localization.
|
|
483
|
+
*
|
|
484
|
+
* Reference: https://developer.ebay.com/api-docs/sell/inventory/types/slr:LocaleEnum
|
|
485
|
+
*/
|
|
486
|
+
// This enumeration type contains the different locales that can be used. The locale value indicates the language that is used to express the inventory item details.
|
|
487
|
+
export var LanguageCode;
|
|
488
|
+
(function (LanguageCode) {
|
|
489
|
+
/** This value indicates the content is localized for US English. */
|
|
490
|
+
LanguageCode["EN_US"] = "en_US";
|
|
491
|
+
/** This value indicates the content is localized for Canadian English. */
|
|
492
|
+
LanguageCode["EN_CA"] = "en_CA";
|
|
493
|
+
/** This value indicates the content is localized for Canadian French. */
|
|
494
|
+
LanguageCode["FR_CA"] = "fr_CA";
|
|
495
|
+
/** This value indicates the content is localized for UK English. */
|
|
496
|
+
LanguageCode["EN_GB"] = "en_GB";
|
|
497
|
+
/** This value indicates the content is localized for Australian English. */
|
|
498
|
+
LanguageCode["EN_AU"] = "en_AU";
|
|
499
|
+
/** This value indicates the content is localized for English but on the India site. Note: eBay India is no longer a functioning eBay marketplace. */
|
|
500
|
+
LanguageCode["EN_IN"] = "en_IN";
|
|
501
|
+
/** This value indicates the content is localized for German speakers on the Austria site. */
|
|
502
|
+
LanguageCode["DE_AT"] = "de_AT";
|
|
503
|
+
/** This value indicates the content is localized for French speakers on the Belgium site. */
|
|
504
|
+
LanguageCode["FR_BE"] = "fr_BE";
|
|
505
|
+
/** This value indicates the content is localized for French speakers on the France site. */
|
|
506
|
+
LanguageCode["FR_FR"] = "fr_FR";
|
|
507
|
+
/** This value indicates the content is localized for German speakers on the Germany site. */
|
|
508
|
+
LanguageCode["DE_DE"] = "de_DE";
|
|
509
|
+
/** This value indicates the content is localized for Italian speakers on the Italy site. */
|
|
510
|
+
LanguageCode["IT_IT"] = "it_IT";
|
|
511
|
+
/** This value indicates the content is localized for Dutch speakers on the Belgium site. */
|
|
512
|
+
LanguageCode["NL_BE"] = "nl_BE";
|
|
513
|
+
/** This value indicates the content is localized for Dutch speakers on the Netherlands site. */
|
|
514
|
+
LanguageCode["NL_NL"] = "nl_NL";
|
|
515
|
+
/** This value indicates the content is localized for Spanish speakers on the Spain site. */
|
|
516
|
+
LanguageCode["ES_ES"] = "es_ES";
|
|
517
|
+
/** This value indicates the content is localized for Germany speakers on the Switzerland site. */
|
|
518
|
+
LanguageCode["DE_CH"] = "de_CH";
|
|
519
|
+
/** This value indicates the content is localized for Finnish speakers. */
|
|
520
|
+
LanguageCode["FI_FI"] = "fi_FI";
|
|
521
|
+
/** This value indicates the content is localized for Chinese speakers on the Hong Kong site. */
|
|
522
|
+
LanguageCode["ZH_HK"] = "zh_HK";
|
|
523
|
+
/** This value indicates the content is localized for Hungarian speakers. */
|
|
524
|
+
LanguageCode["HU_HU"] = "hu_HU";
|
|
525
|
+
/** This value indicates the content is localized for English speakers on the Philippines site. */
|
|
526
|
+
LanguageCode["EN_PH"] = "en_PH";
|
|
527
|
+
/** This value indicates the content is localized for Polish speakers on the Poland site. */
|
|
528
|
+
LanguageCode["PL_PL"] = "pl_PL";
|
|
529
|
+
/** This value indicates the content is localized for Portuguese speakers. */
|
|
530
|
+
LanguageCode["PT_PT"] = "pt_PT";
|
|
531
|
+
/** This value indicates the content is localized for Russian speakers. */
|
|
532
|
+
LanguageCode["RU_RU"] = "ru_RU";
|
|
533
|
+
/** This value indicates the content is localized for English on the Singapore site. */
|
|
534
|
+
LanguageCode["EN_SG"] = "en_SG";
|
|
535
|
+
/** This value indicates the content is localized for English on the Ireland site. */
|
|
536
|
+
LanguageCode["EN_IE"] = "en_IE";
|
|
537
|
+
/** This value indicates the content is localized for English on the Malaysia site. */
|
|
538
|
+
LanguageCode["EN_MY"] = "en_MY";
|
|
539
|
+
/** English (generic) */
|
|
540
|
+
LanguageCode["EN"] = "en";
|
|
541
|
+
/** German (generic) */
|
|
542
|
+
LanguageCode["DE"] = "de";
|
|
543
|
+
/** French (generic) */
|
|
544
|
+
LanguageCode["FR"] = "fr";
|
|
545
|
+
/** Spanish (generic) */
|
|
546
|
+
LanguageCode["ES"] = "es";
|
|
547
|
+
/** Italian (generic) */
|
|
548
|
+
LanguageCode["IT"] = "it";
|
|
549
|
+
/** Dutch (generic) */
|
|
550
|
+
LanguageCode["NL"] = "nl";
|
|
551
|
+
/** Chinese (Simplified) (generic) */
|
|
552
|
+
LanguageCode["ZH_CN"] = "zh-CN";
|
|
553
|
+
/** Chinese (Traditional) */
|
|
554
|
+
LanguageCode["ZH_TW"] = "zh-TW";
|
|
555
|
+
/** Japanese */
|
|
556
|
+
LanguageCode["JA"] = "ja";
|
|
557
|
+
/** Korean */
|
|
558
|
+
LanguageCode["KO"] = "ko";
|
|
559
|
+
})(LanguageCode || (LanguageCode = {}));
|
|
560
|
+
/**
|
|
561
|
+
* Weight Units of Measure
|
|
562
|
+
*
|
|
563
|
+
* Units for weight measurements.
|
|
564
|
+
*
|
|
565
|
+
* Reference: https://developer.ebay.com/api-docs/sell/inventory/types/slr:WeightUnitOfMeasureEnum
|
|
566
|
+
*/
|
|
567
|
+
export var WeightUnit;
|
|
568
|
+
(function (WeightUnit) {
|
|
569
|
+
/** Pound */
|
|
570
|
+
WeightUnit["POUND"] = "POUND";
|
|
571
|
+
/** Kilogram */
|
|
572
|
+
WeightUnit["KILOGRAM"] = "KILOGRAM";
|
|
573
|
+
/** Ounce */
|
|
574
|
+
WeightUnit["OUNCE"] = "OUNCE";
|
|
575
|
+
/** Gram */
|
|
576
|
+
WeightUnit["GRAM"] = "GRAM";
|
|
577
|
+
})(WeightUnit || (WeightUnit = {}));
|
|
578
|
+
/**
|
|
579
|
+
* Length Units of Measure
|
|
580
|
+
*
|
|
581
|
+
* Units for length/dimension measurements.
|
|
582
|
+
*
|
|
583
|
+
* Reference: https://developer.ebay.com/api-docs/sell/inventory/types/slr:LengthUnitOfMeasureEnum
|
|
584
|
+
*/
|
|
585
|
+
export var LengthUnit;
|
|
586
|
+
(function (LengthUnit) {
|
|
587
|
+
/** Inch */
|
|
588
|
+
LengthUnit["INCH"] = "INCH";
|
|
589
|
+
/** Feet */
|
|
590
|
+
LengthUnit["FEET"] = "FEET";
|
|
591
|
+
/** Centimeter */
|
|
592
|
+
LengthUnit["CENTIMETER"] = "CENTIMETER";
|
|
593
|
+
/** Meter */
|
|
594
|
+
LengthUnit["METER"] = "METER";
|
|
595
|
+
})(LengthUnit || (LengthUnit = {}));
|
|
596
|
+
/**
|
|
597
|
+
* Currency Codes (ISO 4217)
|
|
598
|
+
*
|
|
599
|
+
* Three-letter currency codes.
|
|
600
|
+
*
|
|
601
|
+
* Reference: https://developer.ebay.com/api-docs/sell/account/types/ba:CurrencyCodeEnum
|
|
602
|
+
*/
|
|
603
|
+
// This enumerated type lists the three-letter ISO 4217 codes representing the supported world currencies.
|
|
604
|
+
export var CurrencyCode;
|
|
605
|
+
(function (CurrencyCode) {
|
|
606
|
+
/** US Dollar */
|
|
607
|
+
CurrencyCode["USD"] = "USD";
|
|
608
|
+
/** Canadian Dollar */
|
|
609
|
+
CurrencyCode["CAD"] = "CAD";
|
|
610
|
+
/** Euro */
|
|
611
|
+
CurrencyCode["EUR"] = "EUR";
|
|
612
|
+
/** British Pound */
|
|
613
|
+
CurrencyCode["GBP"] = "GBP";
|
|
614
|
+
/** Australian Dollar */
|
|
615
|
+
CurrencyCode["AUD"] = "AUD";
|
|
616
|
+
/** Swiss Franc */
|
|
617
|
+
CurrencyCode["CHF"] = "CHF";
|
|
618
|
+
/** Hong Kong Dollar */
|
|
619
|
+
CurrencyCode["HKD"] = "HKD";
|
|
620
|
+
/** Malaysian Ringgit */
|
|
621
|
+
CurrencyCode["MYR"] = "MYR";
|
|
622
|
+
/** Philippine Peso */
|
|
623
|
+
CurrencyCode["PHP"] = "PHP";
|
|
624
|
+
/** Polish Zloty */
|
|
625
|
+
CurrencyCode["PLN"] = "PLN";
|
|
626
|
+
/** Singapore Dollar */
|
|
627
|
+
CurrencyCode["SGD"] = "SGD";
|
|
628
|
+
/** New Taiwan Dollar */
|
|
629
|
+
CurrencyCode["TWD"] = "TWD";
|
|
630
|
+
/** Thai Baht */
|
|
631
|
+
CurrencyCode["THB"] = "THB";
|
|
632
|
+
/** Japanese Yen */
|
|
633
|
+
CurrencyCode["JPY"] = "JPY";
|
|
634
|
+
/** The currency is the United Arab Emirates dirham. */
|
|
635
|
+
CurrencyCode["AED"] = "AED";
|
|
636
|
+
/** The currency is the Afghan afghani. */
|
|
637
|
+
CurrencyCode["AFN"] = "AFN";
|
|
638
|
+
/** The currency is the Albanian lek. */
|
|
639
|
+
CurrencyCode["ALL"] = "ALL";
|
|
640
|
+
/** The currency is the Armenian dram. */
|
|
641
|
+
CurrencyCode["AMD"] = "AMD";
|
|
642
|
+
/** The currency is the Netherlands Antillean guilder. */
|
|
643
|
+
CurrencyCode["ANG"] = "ANG";
|
|
644
|
+
/** The currency is the Angolan kwanza. */
|
|
645
|
+
CurrencyCode["AOA"] = "AOA";
|
|
646
|
+
/** The currency is the Argentine peso. */
|
|
647
|
+
CurrencyCode["ARS"] = "ARS";
|
|
648
|
+
/** The currency is the Aruban florin. */
|
|
649
|
+
CurrencyCode["AWG"] = "AWG";
|
|
650
|
+
/** The currency is the Azerbaijani manat. */
|
|
651
|
+
CurrencyCode["AZN"] = "AZN";
|
|
652
|
+
/** The currency is the Bosnia and Herzegovina convertible mark. */
|
|
653
|
+
CurrencyCode["BAM"] = "BAM";
|
|
654
|
+
/** The currency is the Barbados dollar. */
|
|
655
|
+
CurrencyCode["BBD"] = "BBD";
|
|
656
|
+
/** The currency is the Bangladeshi taka. */
|
|
657
|
+
CurrencyCode["BDT"] = "BDT";
|
|
658
|
+
/** The currency is the Bulgarian lev. */
|
|
659
|
+
CurrencyCode["BGN"] = "BGN";
|
|
660
|
+
/** The currency is the Bahraini dinar. */
|
|
661
|
+
CurrencyCode["BHD"] = "BHD";
|
|
662
|
+
/** The currency is the Burundian franc. */
|
|
663
|
+
CurrencyCode["BIF"] = "BIF";
|
|
664
|
+
/** The currency is the Bermudian dollar. */
|
|
665
|
+
CurrencyCode["BMD"] = "BMD";
|
|
666
|
+
/** The currency is the Brunei dollar. */
|
|
667
|
+
CurrencyCode["BND"] = "BND";
|
|
668
|
+
/** The currency is the Bolivian Boliviano. */
|
|
669
|
+
CurrencyCode["BOB"] = "BOB";
|
|
670
|
+
/** The currency is the Brazilian real. */
|
|
671
|
+
CurrencyCode["BRL"] = "BRL";
|
|
672
|
+
/** The currency is the Bahamian dollar. */
|
|
673
|
+
CurrencyCode["BSD"] = "BSD";
|
|
674
|
+
/** The currency is the Bhutanese ngultrum. */
|
|
675
|
+
CurrencyCode["BTN"] = "BTN";
|
|
676
|
+
/** The currency is the Botswana pula. */
|
|
677
|
+
CurrencyCode["BWP"] = "BWP";
|
|
678
|
+
/** The currency is the Belarusian ruble. */
|
|
679
|
+
CurrencyCode["BYR"] = "BYR";
|
|
680
|
+
/** The currency is the Belize dollar. */
|
|
681
|
+
CurrencyCode["BZD"] = "BZD";
|
|
682
|
+
/** The currency is the Congolese franc. */
|
|
683
|
+
CurrencyCode["CDF"] = "CDF";
|
|
684
|
+
/** The currency is the Chilean peso. */
|
|
685
|
+
CurrencyCode["CLP"] = "CLP";
|
|
686
|
+
/** The currency is the Chinese yuan renminbi. */
|
|
687
|
+
CurrencyCode["CNY"] = "CNY";
|
|
688
|
+
/** The currency is the Colombian peso. */
|
|
689
|
+
CurrencyCode["COP"] = "COP";
|
|
690
|
+
/** The currency is the Costa Rican colon. */
|
|
691
|
+
CurrencyCode["CRC"] = "CRC";
|
|
692
|
+
/** The currency is the Cuban peso. */
|
|
693
|
+
CurrencyCode["CUP"] = "CUP";
|
|
694
|
+
/** The currency is the Cape Verde escudo. */
|
|
695
|
+
CurrencyCode["CVE"] = "CVE";
|
|
696
|
+
/** The currency is the Czech koruna. */
|
|
697
|
+
CurrencyCode["CZK"] = "CZK";
|
|
698
|
+
/** The currency is the Djiboutian franc. */
|
|
699
|
+
CurrencyCode["DJF"] = "DJF";
|
|
700
|
+
/** The currency is the Danish krone. */
|
|
701
|
+
CurrencyCode["DKK"] = "DKK";
|
|
702
|
+
/** The currency is the Dominican peso. */
|
|
703
|
+
CurrencyCode["DOP"] = "DOP";
|
|
704
|
+
/** The currency is the Algerian dinar. */
|
|
705
|
+
CurrencyCode["DZD"] = "DZD";
|
|
706
|
+
/** The currency is the Egyptian pound. */
|
|
707
|
+
CurrencyCode["EGP"] = "EGP";
|
|
708
|
+
/** The currency is the Eritrean nakfa. */
|
|
709
|
+
CurrencyCode["ERN"] = "ERN";
|
|
710
|
+
/** The currency is the Ethiopian birr. */
|
|
711
|
+
CurrencyCode["ETB"] = "ETB";
|
|
712
|
+
/** The currency is the Fiji dollar. */
|
|
713
|
+
CurrencyCode["FJD"] = "FJD";
|
|
714
|
+
/** The currency is the Falkland Islands pound. */
|
|
715
|
+
CurrencyCode["FKP"] = "FKP";
|
|
716
|
+
/** The currency is the Georgian lari. */
|
|
717
|
+
CurrencyCode["GEL"] = "GEL";
|
|
718
|
+
/** The currency is the Ghanaian cedi. */
|
|
719
|
+
CurrencyCode["GHS"] = "GHS";
|
|
720
|
+
/** The currency is the Gibraltar pound. */
|
|
721
|
+
CurrencyCode["GIP"] = "GIP";
|
|
722
|
+
/** The currency is the Gambian dalasi. */
|
|
723
|
+
CurrencyCode["GMD"] = "GMD";
|
|
724
|
+
/** The currency is the Guinean franc. */
|
|
725
|
+
CurrencyCode["GNF"] = "GNF";
|
|
726
|
+
/** The currency is the Guatemalan quetzal. */
|
|
727
|
+
CurrencyCode["GTQ"] = "GTQ";
|
|
728
|
+
/** The currency is the Guyanese dollar. */
|
|
729
|
+
CurrencyCode["GYD"] = "GYD";
|
|
730
|
+
/** The currency is the Honduran lempira. */
|
|
731
|
+
CurrencyCode["HNL"] = "HNL";
|
|
732
|
+
/** The currency is the Croatian kuna. */
|
|
733
|
+
CurrencyCode["HRK"] = "HRK";
|
|
734
|
+
/** The currency is the Haitian gourde. */
|
|
735
|
+
CurrencyCode["HTG"] = "HTG";
|
|
736
|
+
/** The currency is the Hungarian forint. */
|
|
737
|
+
CurrencyCode["HUF"] = "HUF";
|
|
738
|
+
/** The currency is the Indonesian rupiah. */
|
|
739
|
+
CurrencyCode["IDR"] = "IDR";
|
|
740
|
+
/** The currency is the Israeli new shekel. */
|
|
741
|
+
CurrencyCode["ILS"] = "ILS";
|
|
742
|
+
/** The currency is the Indian rupee. */
|
|
743
|
+
CurrencyCode["INR"] = "INR";
|
|
744
|
+
/** The currency is the Iraqi dinar. */
|
|
745
|
+
CurrencyCode["IQD"] = "IQD";
|
|
746
|
+
/** The currency is the Iranian rial. */
|
|
747
|
+
CurrencyCode["IRR"] = "IRR";
|
|
748
|
+
/** The currency is the Icelandic krona. */
|
|
749
|
+
CurrencyCode["ISK"] = "ISK";
|
|
750
|
+
/** The currency is the Jamaican dollar. */
|
|
751
|
+
CurrencyCode["JMD"] = "JMD";
|
|
752
|
+
/** The currency is the Jordanian dinar. */
|
|
753
|
+
CurrencyCode["JOD"] = "JOD";
|
|
754
|
+
/** The currency is the Kenyan shilling. */
|
|
755
|
+
CurrencyCode["KES"] = "KES";
|
|
756
|
+
/** The currency is the Kyrgyzstani som. */
|
|
757
|
+
CurrencyCode["KGS"] = "KGS";
|
|
758
|
+
/** The currency is the Cambodian riel. */
|
|
759
|
+
CurrencyCode["KHR"] = "KHR";
|
|
760
|
+
/** The currency is the Comoro franc. */
|
|
761
|
+
CurrencyCode["KMF"] = "KMF";
|
|
762
|
+
/** The currency is the North Korean won. */
|
|
763
|
+
CurrencyCode["KPW"] = "KPW";
|
|
764
|
+
/** The currency is the South Korean won. */
|
|
765
|
+
CurrencyCode["KRW"] = "KRW";
|
|
766
|
+
/** The currency is the Kuwaiti dinar. */
|
|
767
|
+
CurrencyCode["KWD"] = "KWD";
|
|
768
|
+
/** The currency is the Cayman Islands dollar. */
|
|
769
|
+
CurrencyCode["KYD"] = "KYD";
|
|
770
|
+
/** The currency is the Kazakhstani tenge. */
|
|
771
|
+
CurrencyCode["KZT"] = "KZT";
|
|
772
|
+
/** The currency is the Lao kip. */
|
|
773
|
+
CurrencyCode["LAK"] = "LAK";
|
|
774
|
+
/** The currency is the Lebanese pound. */
|
|
775
|
+
CurrencyCode["LBP"] = "LBP";
|
|
776
|
+
/** The currency is the Sri Lankan rupee. */
|
|
777
|
+
CurrencyCode["LKR"] = "LKR";
|
|
778
|
+
/** The currency is the Liberian dollar. */
|
|
779
|
+
CurrencyCode["LRD"] = "LRD";
|
|
780
|
+
/** The currency is the Lesotho loti. */
|
|
781
|
+
CurrencyCode["LSL"] = "LSL";
|
|
782
|
+
/** The currency is the Lithuanian litas. */
|
|
783
|
+
CurrencyCode["LTL"] = "LTL";
|
|
784
|
+
/** The currency is the Libyan dinar. */
|
|
785
|
+
CurrencyCode["LYD"] = "LYD";
|
|
786
|
+
/** The currency is the Moroccan dirham. */
|
|
787
|
+
CurrencyCode["MAD"] = "MAD";
|
|
788
|
+
/** The currency is the Moldovan leu. */
|
|
789
|
+
CurrencyCode["MDL"] = "MDL";
|
|
790
|
+
/** The currency is the Malagasy ariary. */
|
|
791
|
+
CurrencyCode["MGA"] = "MGA";
|
|
792
|
+
/** The currency is the Macedonian denar. */
|
|
793
|
+
CurrencyCode["MKD"] = "MKD";
|
|
794
|
+
/** The currency is the Myanmar kyat. */
|
|
795
|
+
CurrencyCode["MMK"] = "MMK";
|
|
796
|
+
/** The currency is the Mongolian tugrik. */
|
|
797
|
+
CurrencyCode["MNT"] = "MNT";
|
|
798
|
+
/** The currency is the Macanese pataca. */
|
|
799
|
+
CurrencyCode["MOP"] = "MOP";
|
|
800
|
+
/** The currency is the Mauritanian ouguiya. */
|
|
801
|
+
CurrencyCode["MRO"] = "MRO";
|
|
802
|
+
/** The currency is the Mauritian rupee. */
|
|
803
|
+
CurrencyCode["MUR"] = "MUR";
|
|
804
|
+
/** The currency is the Maldivian rufiyaa. */
|
|
805
|
+
CurrencyCode["MVR"] = "MVR";
|
|
806
|
+
/** The currency is the Malawian kwacha. */
|
|
807
|
+
CurrencyCode["MWK"] = "MWK";
|
|
808
|
+
/** The currency is the Mexican peso. */
|
|
809
|
+
CurrencyCode["MXN"] = "MXN";
|
|
810
|
+
/** The currency is the Mozambican metical. */
|
|
811
|
+
CurrencyCode["MZN"] = "MZN";
|
|
812
|
+
/** The currency is the Namibian dollar. */
|
|
813
|
+
CurrencyCode["NAD"] = "NAD";
|
|
814
|
+
/** The currency is the Nigerian naira. */
|
|
815
|
+
CurrencyCode["NGN"] = "NGN";
|
|
816
|
+
/** The currency is the Nicaraguan cordoba oro. */
|
|
817
|
+
CurrencyCode["NIO"] = "NIO";
|
|
818
|
+
/** The currency is the Norwegian krone. */
|
|
819
|
+
CurrencyCode["NOK"] = "NOK";
|
|
820
|
+
/** The currency is the Nepalese rupee. */
|
|
821
|
+
CurrencyCode["NPR"] = "NPR";
|
|
822
|
+
/** The currency is the New Zealand dollar. */
|
|
823
|
+
CurrencyCode["NZD"] = "NZD";
|
|
824
|
+
/** The currency is the Omani rial. */
|
|
825
|
+
CurrencyCode["OMR"] = "OMR";
|
|
826
|
+
/** The currency is the Panamanian balboa. */
|
|
827
|
+
CurrencyCode["PAB"] = "PAB";
|
|
828
|
+
/** The currency is the Peruvian sol. */
|
|
829
|
+
CurrencyCode["PEN"] = "PEN";
|
|
830
|
+
/** The currency is the Papua New Guinean kina. */
|
|
831
|
+
CurrencyCode["PGK"] = "PGK";
|
|
832
|
+
/** The currency is the Pakistani rupee. */
|
|
833
|
+
CurrencyCode["PKR"] = "PKR";
|
|
834
|
+
/** The currency is the Paraguayan guarani. */
|
|
835
|
+
CurrencyCode["PYG"] = "PYG";
|
|
836
|
+
/** The currency is the Qatari riyal. */
|
|
837
|
+
CurrencyCode["QAR"] = "QAR";
|
|
838
|
+
/** The currency is the Romanian leu. */
|
|
839
|
+
CurrencyCode["RON"] = "RON";
|
|
840
|
+
/** The currency is the Serbian dinar. */
|
|
841
|
+
CurrencyCode["RSD"] = "RSD";
|
|
842
|
+
/** The currency is the Russian ruble. */
|
|
843
|
+
CurrencyCode["RUB"] = "RUB";
|
|
844
|
+
/** The currency is the Rwandan franc. */
|
|
845
|
+
CurrencyCode["RWF"] = "RWF";
|
|
846
|
+
/** The currency is the Saudi riyal. */
|
|
847
|
+
CurrencyCode["SAR"] = "SAR";
|
|
848
|
+
/** The currency is the Solomon Islands dollar. */
|
|
849
|
+
CurrencyCode["SBD"] = "SBD";
|
|
850
|
+
/** The currency is the Seychelles rupee. */
|
|
851
|
+
CurrencyCode["SCR"] = "SCR";
|
|
852
|
+
/** The currency is the Sudanese pound. */
|
|
853
|
+
CurrencyCode["SDG"] = "SDG";
|
|
854
|
+
/** The currency is the Swedish krona. */
|
|
855
|
+
CurrencyCode["SEK"] = "SEK";
|
|
856
|
+
/** The currency is the Saint Helena pound. */
|
|
857
|
+
CurrencyCode["SHP"] = "SHP";
|
|
858
|
+
/** The currency is the Sierra Leonean leone. */
|
|
859
|
+
CurrencyCode["SLL"] = "SLL";
|
|
860
|
+
/** The currency is the Somali shilling. */
|
|
861
|
+
CurrencyCode["SOS"] = "SOS";
|
|
862
|
+
/** The currency is the Surinamese dollar. */
|
|
863
|
+
CurrencyCode["SRD"] = "SRD";
|
|
864
|
+
/** The currency is the Sao Tome and Principe dobra. */
|
|
865
|
+
CurrencyCode["STD"] = "STD";
|
|
866
|
+
/** The currency is the Syrian pound. */
|
|
867
|
+
CurrencyCode["SYP"] = "SYP";
|
|
868
|
+
/** The currency is the Swazi lilangeni. */
|
|
869
|
+
CurrencyCode["SZL"] = "SZL";
|
|
870
|
+
/** The currency is the Tajikistani somoni. */
|
|
871
|
+
CurrencyCode["TJS"] = "TJS";
|
|
872
|
+
/** The currency is the Turkmenistani manat. */
|
|
873
|
+
CurrencyCode["TMT"] = "TMT";
|
|
874
|
+
/** The currency is the Tunisian dinar. */
|
|
875
|
+
CurrencyCode["TND"] = "TND";
|
|
876
|
+
/** The currency is the Tongan pa'anga. */
|
|
877
|
+
CurrencyCode["TOP"] = "TOP";
|
|
878
|
+
/** The currency is the Turkish lira. */
|
|
879
|
+
CurrencyCode["TRY"] = "TRY";
|
|
880
|
+
/** The currency is the Trinidad and Tobago dollar. */
|
|
881
|
+
CurrencyCode["TTD"] = "TTD";
|
|
882
|
+
/** The currency is the Tanzanian shilling. */
|
|
883
|
+
CurrencyCode["TZS"] = "TZS";
|
|
884
|
+
/** The currency is the Ukrainian hryvnia. */
|
|
885
|
+
CurrencyCode["UAH"] = "UAH";
|
|
886
|
+
/** The currency is the Ugandan shilling. */
|
|
887
|
+
CurrencyCode["UGX"] = "UGX";
|
|
888
|
+
/** The currency is the Uruguayan peso. */
|
|
889
|
+
CurrencyCode["UYU"] = "UYU";
|
|
890
|
+
/** The currency is the Uzbekistani som. */
|
|
891
|
+
CurrencyCode["UZS"] = "UZS";
|
|
892
|
+
/** The currency is the Venezuelan bolivar. */
|
|
893
|
+
CurrencyCode["VEF"] = "VEF";
|
|
894
|
+
/** The currency is the Vietnamese dong. */
|
|
895
|
+
CurrencyCode["VND"] = "VND";
|
|
896
|
+
/** The currency is the Vanuatu vatu. */
|
|
897
|
+
CurrencyCode["VUV"] = "VUV";
|
|
898
|
+
/** The currency is the Samoan tala. */
|
|
899
|
+
CurrencyCode["WST"] = "WST";
|
|
900
|
+
/** The currency is the CFA franc BEAC. */
|
|
901
|
+
CurrencyCode["XAF"] = "XAF";
|
|
902
|
+
/** The currency is the East Caribbean dollar. */
|
|
903
|
+
CurrencyCode["XCD"] = "XCD";
|
|
904
|
+
/** The currency is the CFA franc BCEAO. */
|
|
905
|
+
CurrencyCode["XOF"] = "XOF";
|
|
906
|
+
/** The currency is the CFP franc. */
|
|
907
|
+
CurrencyCode["XPF"] = "XPF";
|
|
908
|
+
/** The currency is the Yemeni rial. */
|
|
909
|
+
CurrencyCode["YER"] = "YER";
|
|
910
|
+
/** The currency is the South African rand. */
|
|
911
|
+
CurrencyCode["ZAR"] = "ZAR";
|
|
912
|
+
/** The currency is the Zambian kwacha. */
|
|
913
|
+
CurrencyCode["ZMW"] = "ZMW";
|
|
914
|
+
/** The currency is the Zimbabwean dollar. */
|
|
915
|
+
CurrencyCode["ZWL"] = "ZWL";
|
|
916
|
+
})(CurrencyCode || (CurrencyCode = {}));
|
|
917
|
+
/**
|
|
918
|
+
* Region Type Enum
|
|
919
|
+
*
|
|
920
|
+
* Geographic region classification types.
|
|
921
|
+
*
|
|
922
|
+
* Reference: https://developer.ebay.com/api-docs/sell/account/types/ba:RegionTypeEnum
|
|
923
|
+
*/
|
|
924
|
+
export var RegionType;
|
|
925
|
+
(function (RegionType) {
|
|
926
|
+
/** Country-level region */
|
|
927
|
+
RegionType["COUNTRY"] = "COUNTRY";
|
|
928
|
+
/** Sub-country region (state, province) */
|
|
929
|
+
RegionType["COUNTRY_REGION"] = "COUNTRY_REGION";
|
|
930
|
+
/** State or province */
|
|
931
|
+
RegionType["STATE_OR_PROVINCE"] = "STATE_OR_PROVINCE";
|
|
932
|
+
/** World region (e.g., Asia, Europe) */
|
|
933
|
+
RegionType["WORLD_REGION"] = "WORLD_REGION";
|
|
934
|
+
/** Worldwide */
|
|
935
|
+
RegionType["WORLDWIDE"] = "WORLDWIDE";
|
|
936
|
+
})(RegionType || (RegionType = {}));
|
|
937
|
+
/**
|
|
938
|
+
* Deposit Type Enum
|
|
939
|
+
*
|
|
940
|
+
* Type of deposit for a payment policy.
|
|
941
|
+
*
|
|
942
|
+
* Reference: https://developer.ebay.com/api-docs/sell/account/types/api:DepositTypeEnum
|
|
943
|
+
*/
|
|
944
|
+
export var DepositType;
|
|
945
|
+
(function (DepositType) {
|
|
946
|
+
/** Percentage of total price */
|
|
947
|
+
DepositType["PERCENTAGE"] = "PERCENTAGE";
|
|
948
|
+
/** Fixed amount */
|
|
949
|
+
DepositType["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
950
|
+
})(DepositType || (DepositType = {}));
|
|
951
|
+
/**
|
|
952
|
+
* Pricing Visibility Enum
|
|
953
|
+
*
|
|
954
|
+
* When pricing information is displayed to buyers.
|
|
955
|
+
*
|
|
956
|
+
* Reference: https://developer.ebay.com/api-docs/sell/inventory/types/slr:PricingVisibilityEnum
|
|
957
|
+
*/
|
|
958
|
+
export var PricingVisibility;
|
|
959
|
+
(function (PricingVisibility) {
|
|
960
|
+
/** Price not visible */
|
|
961
|
+
PricingVisibility["NONE"] = "NONE";
|
|
962
|
+
/** Price visible before checkout */
|
|
963
|
+
PricingVisibility["PRE_CHECKOUT"] = "PRE_CHECKOUT";
|
|
964
|
+
/** Price visible during checkout */
|
|
965
|
+
PricingVisibility["DURING_CHECKOUT"] = "DURING_CHECKOUT";
|
|
966
|
+
})(PricingVisibility || (PricingVisibility = {}));
|
|
967
|
+
/**
|
|
968
|
+
* Location Type Enum
|
|
969
|
+
*
|
|
970
|
+
* Type of inventory location.
|
|
971
|
+
*
|
|
972
|
+
* Reference: https://developer.ebay.com/api-docs/sell/inventory/types/api:LocationTypeEnum
|
|
973
|
+
*/
|
|
974
|
+
export var LocationType;
|
|
975
|
+
(function (LocationType) {
|
|
976
|
+
/** Retail store */
|
|
977
|
+
LocationType["STORE"] = "STORE";
|
|
978
|
+
/** Warehouse or storage facility */
|
|
979
|
+
LocationType["WAREHOUSE"] = "WAREHOUSE";
|
|
980
|
+
})(LocationType || (LocationType = {}));
|
|
981
|
+
/**
|
|
982
|
+
* Merchant Location Status Enum
|
|
983
|
+
*
|
|
984
|
+
* Status of an inventory location.
|
|
985
|
+
*
|
|
986
|
+
* Reference: https://developer.ebay.com/api-docs/sell/inventory/types/api:MerchantLocationStatusEnum
|
|
987
|
+
*/
|
|
988
|
+
export var MerchantLocationStatus;
|
|
989
|
+
(function (MerchantLocationStatus) {
|
|
990
|
+
/** Location is enabled and active */
|
|
991
|
+
MerchantLocationStatus["ENABLED"] = "ENABLED";
|
|
992
|
+
/** Location is disabled */
|
|
993
|
+
MerchantLocationStatus["DISABLED"] = "DISABLED";
|
|
994
|
+
})(MerchantLocationStatus || (MerchantLocationStatus = {}));
|
|
995
|
+
/**
|
|
996
|
+
* Day of Week Enum
|
|
997
|
+
*
|
|
998
|
+
* Days of the week for operating hours.
|
|
999
|
+
*
|
|
1000
|
+
* Reference: https://developer.ebay.com/api-docs/sell/inventory/types/api:DayOfWeekEnum
|
|
1001
|
+
*/
|
|
1002
|
+
export var DayOfWeek;
|
|
1003
|
+
(function (DayOfWeek) {
|
|
1004
|
+
/** This enumeration value indicates that the store is open on Monday for the hours specified through the operatingHours.intervals container, or that a fulfillment center has a cut-off time specified through the weeklySchedule.cutOffTime field on Monday. */
|
|
1005
|
+
DayOfWeek["MONDAY"] = "MONDAY";
|
|
1006
|
+
/** This enumeration value indicates that the store is open on Tuesday for the hours specified through the operatingHours.intervals container, or that a fulfillment center has a cut-off time specified through the weeklySchedule.cutOffTime field on Tuesday. */
|
|
1007
|
+
DayOfWeek["TUESDAY"] = "TUESDAY";
|
|
1008
|
+
/** This enumeration value indicates that the store is open on Wednesday for the hours specified through the operatingHours.intervals container, or that a fulfillment center has a cut-off time specified through the weeklySchedule.cutOffTime field on Wednesday. */
|
|
1009
|
+
DayOfWeek["WEDNESDAY"] = "WEDNESDAY";
|
|
1010
|
+
/** This enumeration value indicates that the store is open on Thursday for the hours specified through the operatingHours.intervals container, or that a fulfillment center has a cut-off time specified through the weeklySchedule.cutOffTime field on Thursday. */
|
|
1011
|
+
DayOfWeek["THURSDAY"] = "THURSDAY";
|
|
1012
|
+
/** This enumeration value indicates that the store is open on Friday for the hours specified through the operatingHours.intervals container, or that a fulfillment center has a cut-off time specified through the weeklySchedule.cutOffTime field on Friday. */
|
|
1013
|
+
DayOfWeek["FRIDAY"] = "FRIDAY";
|
|
1014
|
+
/** This enumeration value indicates that the store is open on Saturday for the hours specified through the operatingHours.intervals container, or that a fulfillment center has a cut-off time specified through the weeklySchedule.cutOffTime field on Saturday. */
|
|
1015
|
+
DayOfWeek["SATURDAY"] = "SATURDAY";
|
|
1016
|
+
/** This enumeration value indicates that the store is open on Sunday for the hours specified through the operatingHours.intervals container, or that a fulfillment center has a cut-off time specified through the weeklySchedule.cutOffTime field on Sunday. */
|
|
1017
|
+
DayOfWeek["SUNDAY"] = "SUNDAY";
|
|
1018
|
+
})(DayOfWeek || (DayOfWeek = {}));
|
|
1019
|
+
/**
|
|
1020
|
+
* Reason for Refund Enum
|
|
1021
|
+
*
|
|
1022
|
+
* Reason codes for issuing refunds.
|
|
1023
|
+
*
|
|
1024
|
+
* Reference: https://developer.ebay.com/api-docs/sell/fulfillment/types/api:ReasonForRefundEnum
|
|
1025
|
+
*/
|
|
1026
|
+
export var ReasonForRefund;
|
|
1027
|
+
(function (ReasonForRefund) {
|
|
1028
|
+
/** Buyer canceled the order */
|
|
1029
|
+
ReasonForRefund["BUYER_CANCEL"] = "BUYER_CANCEL";
|
|
1030
|
+
/** Item is out of stock */
|
|
1031
|
+
ReasonForRefund["OUT_OF_STOCK"] = "OUT_OF_STOCK";
|
|
1032
|
+
/** Buyer found a cheaper price elsewhere */
|
|
1033
|
+
ReasonForRefund["FOUND_CHEAPER_PRICE"] = "FOUND_CHEAPER_PRICE";
|
|
1034
|
+
/** Price was incorrect in listing */
|
|
1035
|
+
ReasonForRefund["INCORRECT_PRICE"] = "INCORRECT_PRICE";
|
|
1036
|
+
/** Item was damaged in transit or storage */
|
|
1037
|
+
ReasonForRefund["ITEM_DAMAGED"] = "ITEM_DAMAGED";
|
|
1038
|
+
/** Item is defective */
|
|
1039
|
+
ReasonForRefund["ITEM_DEFECTIVE"] = "ITEM_DEFECTIVE";
|
|
1040
|
+
/** Item was lost in transit */
|
|
1041
|
+
ReasonForRefund["LOST_IN_TRANSIT"] = "LOST_IN_TRANSIT";
|
|
1042
|
+
/** Buyer and seller mutually agreed to refund */
|
|
1043
|
+
ReasonForRefund["MUTUALLY_AGREED"] = "MUTUALLY_AGREED";
|
|
1044
|
+
/** Seller canceled the order */
|
|
1045
|
+
ReasonForRefund["SELLER_CANCEL"] = "SELLER_CANCEL";
|
|
1046
|
+
})(ReasonForRefund || (ReasonForRefund = {}));
|
|
1047
|
+
/**
|
|
1048
|
+
* Funding Model Enum
|
|
1049
|
+
*
|
|
1050
|
+
* How campaigns are funded (cost per sale or cost per click).
|
|
1051
|
+
*
|
|
1052
|
+
* Reference: https://developer.ebay.com/api-docs/sell/marketing/types/pls:FundingModelEnum
|
|
1053
|
+
*/
|
|
1054
|
+
export var FundingModel;
|
|
1055
|
+
(function (FundingModel) {
|
|
1056
|
+
/** Cost per sale - pay when item sells */
|
|
1057
|
+
FundingModel["COST_PER_SALE"] = "COST_PER_SALE";
|
|
1058
|
+
/** Cost per click - pay when ad is clicked */
|
|
1059
|
+
FundingModel["COST_PER_CLICK"] = "COST_PER_CLICK";
|
|
1060
|
+
})(FundingModel || (FundingModel = {}));
|
|
1061
|
+
/**
|
|
1062
|
+
* Message Reference Type Enum
|
|
1063
|
+
*
|
|
1064
|
+
* Type of item the message references.
|
|
1065
|
+
*
|
|
1066
|
+
* Reference: https://developer.ebay.com/api-docs/commerce/message/types/api:ReferenceTypeEnum
|
|
1067
|
+
*/
|
|
1068
|
+
export var MessageReferenceType;
|
|
1069
|
+
(function (MessageReferenceType) {
|
|
1070
|
+
/** Message references a listing */
|
|
1071
|
+
MessageReferenceType["LISTING"] = "LISTING";
|
|
1072
|
+
/** Message references an order */
|
|
1073
|
+
MessageReferenceType["ORDER"] = "ORDER";
|
|
1074
|
+
})(MessageReferenceType || (MessageReferenceType = {}));
|
|
1075
|
+
/**
|
|
1076
|
+
* Feedback Rating Enum
|
|
1077
|
+
*
|
|
1078
|
+
* Rating types for buyer/seller feedback.
|
|
1079
|
+
*
|
|
1080
|
+
* Reference: https://developer.ebay.com/api-docs/commerce/feedback/types/api:RatingEnum
|
|
1081
|
+
*/
|
|
1082
|
+
export var FeedbackRating;
|
|
1083
|
+
(function (FeedbackRating) {
|
|
1084
|
+
/** Positive feedback */
|
|
1085
|
+
FeedbackRating["POSITIVE"] = "POSITIVE";
|
|
1086
|
+
/** Neutral feedback */
|
|
1087
|
+
FeedbackRating["NEUTRAL"] = "NEUTRAL";
|
|
1088
|
+
/** Negative feedback */
|
|
1089
|
+
FeedbackRating["NEGATIVE"] = "NEGATIVE";
|
|
1090
|
+
})(FeedbackRating || (FeedbackRating = {}));
|
|
1091
|
+
/**
|
|
1092
|
+
* Reported Item Type Enum
|
|
1093
|
+
*
|
|
1094
|
+
* Type of item being reported for VERO infringement.
|
|
1095
|
+
*
|
|
1096
|
+
* Reference: https://developer.ebay.com/api-docs/commerce/vero/types/api:ReportedItemTypeEnum
|
|
1097
|
+
*/
|
|
1098
|
+
export var ReportedItemType;
|
|
1099
|
+
(function (ReportedItemType) {
|
|
1100
|
+
/** Entire listing */
|
|
1101
|
+
ReportedItemType["LISTING"] = "LISTING";
|
|
1102
|
+
/** Image within a listing */
|
|
1103
|
+
ReportedItemType["IMAGE"] = "IMAGE";
|
|
1104
|
+
})(ReportedItemType || (ReportedItemType = {}));
|
|
1105
|
+
/**
|
|
1106
|
+
* Helper functions for working with enums
|
|
1107
|
+
*/
|
|
1108
|
+
export const EbayEnums = {
|
|
1109
|
+
/**
|
|
1110
|
+
* Check if a marketplace ID is valid
|
|
1111
|
+
*/
|
|
1112
|
+
isValidMarketplaceId(id) {
|
|
1113
|
+
return Object.values(MarketplaceId).includes(id);
|
|
1114
|
+
},
|
|
1115
|
+
/**
|
|
1116
|
+
* Check if a condition is valid
|
|
1117
|
+
*/
|
|
1118
|
+
isValidCondition(condition) {
|
|
1119
|
+
return Object.values(Condition).includes(condition);
|
|
1120
|
+
},
|
|
1121
|
+
/**
|
|
1122
|
+
* Check if a format type is valid
|
|
1123
|
+
*/
|
|
1124
|
+
isValidFormatType(format) {
|
|
1125
|
+
return Object.values(FormatType).includes(format);
|
|
1126
|
+
},
|
|
1127
|
+
/**
|
|
1128
|
+
* Check if an order payment status is valid
|
|
1129
|
+
*/
|
|
1130
|
+
isValidOrderPaymentStatus(status) {
|
|
1131
|
+
return Object.values(OrderPaymentStatus).includes(status);
|
|
1132
|
+
},
|
|
1133
|
+
/**
|
|
1134
|
+
* Check if a campaign status is valid
|
|
1135
|
+
*/
|
|
1136
|
+
isValidCampaignStatus(status) {
|
|
1137
|
+
return Object.values(CampaignStatus).includes(status);
|
|
1138
|
+
},
|
|
1139
|
+
/**
|
|
1140
|
+
* Check if a refund method is valid
|
|
1141
|
+
*/
|
|
1142
|
+
isValidRefundMethod(method) {
|
|
1143
|
+
return Object.values(RefundMethod).includes(method);
|
|
1144
|
+
},
|
|
1145
|
+
/**
|
|
1146
|
+
* Check if a return method is valid
|
|
1147
|
+
*/
|
|
1148
|
+
isValidReturnMethod(method) {
|
|
1149
|
+
return Object.values(ReturnMethod).includes(method);
|
|
1150
|
+
},
|
|
1151
|
+
/**
|
|
1152
|
+
* Check if a return shipping cost payer is valid
|
|
1153
|
+
*/
|
|
1154
|
+
isValidReturnShippingCostPayer(payer) {
|
|
1155
|
+
return Object.values(ReturnShippingCostPayer).includes(payer);
|
|
1156
|
+
},
|
|
1157
|
+
/**
|
|
1158
|
+
* Check if a time duration unit is valid
|
|
1159
|
+
*/
|
|
1160
|
+
isValidTimeDurationUnit(unit) {
|
|
1161
|
+
return Object.values(TimeDurationUnit).includes(unit);
|
|
1162
|
+
},
|
|
1163
|
+
/**
|
|
1164
|
+
* Check if a shipping cost type is valid
|
|
1165
|
+
*/
|
|
1166
|
+
isValidShippingCostType(type) {
|
|
1167
|
+
return Object.values(ShippingCostType).includes(type);
|
|
1168
|
+
},
|
|
1169
|
+
/**
|
|
1170
|
+
* Check if a shipping option type is valid
|
|
1171
|
+
*/
|
|
1172
|
+
isValidShippingOptionType(type) {
|
|
1173
|
+
return Object.values(ShippingOptionType).includes(type);
|
|
1174
|
+
},
|
|
1175
|
+
/**
|
|
1176
|
+
* Check if a category type is valid
|
|
1177
|
+
*/
|
|
1178
|
+
isValidCategoryType(type) {
|
|
1179
|
+
return Object.values(CategoryType).includes(type);
|
|
1180
|
+
},
|
|
1181
|
+
/**
|
|
1182
|
+
* Check if a payment method type is valid
|
|
1183
|
+
*/
|
|
1184
|
+
isValidPaymentMethodType(type) {
|
|
1185
|
+
return Object.values(PaymentMethodType).includes(type);
|
|
1186
|
+
},
|
|
1187
|
+
/**
|
|
1188
|
+
* Check if a line item fulfillment status is valid
|
|
1189
|
+
*/
|
|
1190
|
+
isValidLineItemFulfillmentStatus(status) {
|
|
1191
|
+
return Object.values(LineItemFulfillmentStatus).includes(status);
|
|
1192
|
+
},
|
|
1193
|
+
/**
|
|
1194
|
+
* Check if an offer status is valid
|
|
1195
|
+
*/
|
|
1196
|
+
isValidOfferStatus(status) {
|
|
1197
|
+
return Object.values(OfferStatus).includes(status);
|
|
1198
|
+
},
|
|
1199
|
+
/**
|
|
1200
|
+
* Check if a listing status is valid
|
|
1201
|
+
*/
|
|
1202
|
+
isValidListingStatus(status) {
|
|
1203
|
+
return Object.values(ListingStatus).includes(status);
|
|
1204
|
+
},
|
|
1205
|
+
/**
|
|
1206
|
+
* Check if a compliance type is valid
|
|
1207
|
+
*/
|
|
1208
|
+
isValidComplianceType(type) {
|
|
1209
|
+
return Object.values(ComplianceType).includes(type);
|
|
1210
|
+
},
|
|
1211
|
+
/**
|
|
1212
|
+
* Check if a language code is valid
|
|
1213
|
+
*/
|
|
1214
|
+
isValidLanguageCode(code) {
|
|
1215
|
+
return Object.values(LanguageCode).includes(code);
|
|
1216
|
+
},
|
|
1217
|
+
/**
|
|
1218
|
+
* Check if a weight unit is valid
|
|
1219
|
+
*/
|
|
1220
|
+
isValidWeightUnit(unit) {
|
|
1221
|
+
return Object.values(WeightUnit).includes(unit);
|
|
1222
|
+
},
|
|
1223
|
+
/**
|
|
1224
|
+
* Check if a length unit is valid
|
|
1225
|
+
*/
|
|
1226
|
+
isValidLengthUnit(unit) {
|
|
1227
|
+
return Object.values(LengthUnit).includes(unit);
|
|
1228
|
+
},
|
|
1229
|
+
/**
|
|
1230
|
+
* Check if a currency code is valid
|
|
1231
|
+
*/
|
|
1232
|
+
isValidCurrencyCode(code) {
|
|
1233
|
+
return Object.values(CurrencyCode).includes(code);
|
|
1234
|
+
},
|
|
1235
|
+
/**
|
|
1236
|
+
* Check if a region type is valid
|
|
1237
|
+
*/
|
|
1238
|
+
isValidRegionType(type) {
|
|
1239
|
+
return Object.values(RegionType).includes(type);
|
|
1240
|
+
},
|
|
1241
|
+
/**
|
|
1242
|
+
* Check if a deposit type is valid
|
|
1243
|
+
*/
|
|
1244
|
+
isValidDepositType(type) {
|
|
1245
|
+
return Object.values(DepositType).includes(type);
|
|
1246
|
+
},
|
|
1247
|
+
/**
|
|
1248
|
+
* Check if a pricing visibility is valid
|
|
1249
|
+
*/
|
|
1250
|
+
isValidPricingVisibility(visibility) {
|
|
1251
|
+
return Object.values(PricingVisibility).includes(visibility);
|
|
1252
|
+
},
|
|
1253
|
+
/**
|
|
1254
|
+
* Check if a location type is valid
|
|
1255
|
+
*/
|
|
1256
|
+
isValidLocationType(type) {
|
|
1257
|
+
return Object.values(LocationType).includes(type);
|
|
1258
|
+
},
|
|
1259
|
+
/**
|
|
1260
|
+
* Check if a merchant location status is valid
|
|
1261
|
+
*/
|
|
1262
|
+
isValidMerchantLocationStatus(status) {
|
|
1263
|
+
return Object.values(MerchantLocationStatus).includes(status);
|
|
1264
|
+
},
|
|
1265
|
+
/**
|
|
1266
|
+
* Check if a day of week is valid
|
|
1267
|
+
*/
|
|
1268
|
+
isValidDayOfWeek(day) {
|
|
1269
|
+
return Object.values(DayOfWeek).includes(day);
|
|
1270
|
+
},
|
|
1271
|
+
/**
|
|
1272
|
+
* Check if a reason for refund is valid
|
|
1273
|
+
*/
|
|
1274
|
+
isValidReasonForRefund(reason) {
|
|
1275
|
+
return Object.values(ReasonForRefund).includes(reason);
|
|
1276
|
+
},
|
|
1277
|
+
/**
|
|
1278
|
+
* Check if a funding model is valid
|
|
1279
|
+
*/
|
|
1280
|
+
isValidFundingModel(model) {
|
|
1281
|
+
return Object.values(FundingModel).includes(model);
|
|
1282
|
+
},
|
|
1283
|
+
/**
|
|
1284
|
+
* Check if a message reference type is valid
|
|
1285
|
+
*/
|
|
1286
|
+
isValidMessageReferenceType(type) {
|
|
1287
|
+
return Object.values(MessageReferenceType).includes(type);
|
|
1288
|
+
},
|
|
1289
|
+
/**
|
|
1290
|
+
* Check if a feedback rating is valid
|
|
1291
|
+
*/
|
|
1292
|
+
isValidFeedbackRating(rating) {
|
|
1293
|
+
return Object.values(FeedbackRating).includes(rating);
|
|
1294
|
+
},
|
|
1295
|
+
/**
|
|
1296
|
+
* Check if a reported item type is valid
|
|
1297
|
+
*/
|
|
1298
|
+
isValidReportedItemType(type) {
|
|
1299
|
+
return Object.values(ReportedItemType).includes(type);
|
|
1300
|
+
},
|
|
1301
|
+
/**
|
|
1302
|
+
* Get all active marketplace IDs (excluding reserved/deprecated)
|
|
1303
|
+
*/
|
|
1304
|
+
getActiveMarketplaces() {
|
|
1305
|
+
return [
|
|
1306
|
+
MarketplaceId.EBAY_AT,
|
|
1307
|
+
MarketplaceId.EBAY_AU,
|
|
1308
|
+
MarketplaceId.EBAY_BE,
|
|
1309
|
+
MarketplaceId.EBAY_CA,
|
|
1310
|
+
MarketplaceId.EBAY_CH,
|
|
1311
|
+
MarketplaceId.EBAY_DE,
|
|
1312
|
+
MarketplaceId.EBAY_ES,
|
|
1313
|
+
MarketplaceId.EBAY_FR,
|
|
1314
|
+
MarketplaceId.EBAY_GB,
|
|
1315
|
+
MarketplaceId.EBAY_HK,
|
|
1316
|
+
MarketplaceId.EBAY_IE,
|
|
1317
|
+
MarketplaceId.EBAY_IT,
|
|
1318
|
+
MarketplaceId.EBAY_MY,
|
|
1319
|
+
MarketplaceId.EBAY_NL,
|
|
1320
|
+
MarketplaceId.EBAY_PH,
|
|
1321
|
+
MarketplaceId.EBAY_PL,
|
|
1322
|
+
MarketplaceId.EBAY_SG,
|
|
1323
|
+
MarketplaceId.EBAY_TH,
|
|
1324
|
+
MarketplaceId.EBAY_TW,
|
|
1325
|
+
MarketplaceId.EBAY_US,
|
|
1326
|
+
MarketplaceId.EBAY_VN,
|
|
1327
|
+
MarketplaceId.EBAY_MOTORS_US,
|
|
1328
|
+
];
|
|
1329
|
+
},
|
|
1330
|
+
};
|