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,417 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
'/vero_reason_code/{vero_reason_code_id}': {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/** @description <div class="msgbox_important"><p class="msgbox_importantInDiv" data-mc-autonum="<b><span style="color: #dd1e31;" class="mcFormatColor">Important! </span></b>"><span class="autonumber"><span><b><span style="color: #dd1e31;" class="mcFormatColor">Important!</span></b></span></span> You must be a member of the Verified Rights Owner (VeRO) Program to use this call.</p></div><br>This method is used to retrieve the details of a specific VeRO reason code, including a description of the code and the marketplace associated with the code.<br><br>The <b>vero_reason_code_id</b> of the VeRO reason code for which to retrieve details is required as a path parameter. */
|
|
14
|
+
get: operations['getVeroReasonCode'];
|
|
15
|
+
put?: never;
|
|
16
|
+
post?: never;
|
|
17
|
+
delete?: never;
|
|
18
|
+
options?: never;
|
|
19
|
+
head?: never;
|
|
20
|
+
patch?: never;
|
|
21
|
+
trace?: never;
|
|
22
|
+
};
|
|
23
|
+
'/vero_reason_code': {
|
|
24
|
+
parameters: {
|
|
25
|
+
query?: never;
|
|
26
|
+
header?: never;
|
|
27
|
+
path?: never;
|
|
28
|
+
cookie?: never;
|
|
29
|
+
};
|
|
30
|
+
/** @description <div class="msgbox_important"><p class="msgbox_importantInDiv" data-mc-autonum="<b><span style="color: #dd1e31;" class="mcFormatColor">Important! </span></b>"><span class="autonumber"><span><b><span style="color: #dd1e31;" class="mcFormatColor">Important!</span></b></span></span> You must be a member of the Verified Rights Owner (VeRO) Program to use this call.</p></div><br>This method is used to retrieve the details of an array of VeRO reason codes. This information includes the descriptions of each code, as well as the marketplace associated with each code.<br><br> If the <b>X-EBAY-C-MARKETPLACE-ID</b> header is present, only VeRO reason codes for that specific site will be returned. If this header is not included, all reason codes for all sites are returned. */
|
|
31
|
+
get: operations['getVeroReasonCodes'];
|
|
32
|
+
put?: never;
|
|
33
|
+
post?: never;
|
|
34
|
+
delete?: never;
|
|
35
|
+
options?: never;
|
|
36
|
+
head?: never;
|
|
37
|
+
patch?: never;
|
|
38
|
+
trace?: never;
|
|
39
|
+
};
|
|
40
|
+
'/vero_report': {
|
|
41
|
+
parameters: {
|
|
42
|
+
query?: never;
|
|
43
|
+
header?: never;
|
|
44
|
+
path?: never;
|
|
45
|
+
cookie?: never;
|
|
46
|
+
};
|
|
47
|
+
get?: never;
|
|
48
|
+
put?: never;
|
|
49
|
+
/** @description <div class="msgbox_important"><p class="msgbox_importantInDiv" data-mc-autonum="<b><span style="color: #dd1e31;" class="mcFormatColor">Important! </span></b>"><span class="autonumber"><span><b><span style="color: #dd1e31;" class="mcFormatColor">Important!</span></b></span></span> You must be a member of the Verified Rights Owner (VeRO) Program to use this call.</p></div><br>This method can be used to create a VeRO report for a listing. VeRO reports can be used to report items that your copyright, trademark, or other intellectual property rights.<br><br>The <b>itemId</b> of the item being reported must be provided in the request, as well as the <b>veroReasonCodeId</b> of the claimed infringement.<br><br>You can report one or more items at a time using this method. A maximum of 150 items can be reported using this method. */
|
|
50
|
+
post: operations['createVeroReport'];
|
|
51
|
+
delete?: never;
|
|
52
|
+
options?: never;
|
|
53
|
+
head?: never;
|
|
54
|
+
patch?: never;
|
|
55
|
+
trace?: never;
|
|
56
|
+
};
|
|
57
|
+
'/vero_report/{vero_report_id}': {
|
|
58
|
+
parameters: {
|
|
59
|
+
query?: never;
|
|
60
|
+
header?: never;
|
|
61
|
+
path?: never;
|
|
62
|
+
cookie?: never;
|
|
63
|
+
};
|
|
64
|
+
/** @description <div class="msgbox_important"><p class="msgbox_importantInDiv" data-mc-autonum="<b><span style="color: #dd1e31;" class="mcFormatColor">Important! </span></b>"><span class="autonumber"><span><b><span style="color: #dd1e31;" class="mcFormatColor">Important!</span></b></span></span> You must be a member of the Verified Rights Owner (VeRO) Program to use this call.</p></div><br>This method can be used to retrieve status information about a VeRO report you have submitted to eBay for copyright, trademark, or other intellectual property rights infringement.<br><br>The <b>vero_report_id</b> path parameter is used to specify the eBay report for which to retrieve status information. */
|
|
65
|
+
get: operations['getVeroReport'];
|
|
66
|
+
put?: never;
|
|
67
|
+
post?: never;
|
|
68
|
+
delete?: never;
|
|
69
|
+
options?: never;
|
|
70
|
+
head?: never;
|
|
71
|
+
patch?: never;
|
|
72
|
+
trace?: never;
|
|
73
|
+
};
|
|
74
|
+
'/vero_report_items': {
|
|
75
|
+
parameters: {
|
|
76
|
+
query?: never;
|
|
77
|
+
header?: never;
|
|
78
|
+
path?: never;
|
|
79
|
+
cookie?: never;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Retrieves status for VERO infringement reports by Brand.
|
|
83
|
+
* @description <div class="msgbox_important"><p class="msgbox_importantInDiv" data-mc-autonum="<b><span style="color: #dd1e31;" class="mcFormatColor">Important! </span></b>"><span class="autonumber"><span><b><span style="color: #dd1e31;" class="mcFormatColor">Important!</span></b></span></span> You must be a member of the Verified Rights Owner (VeRO) Program to use this call.</p></div><br>This method can be used to retrieve status information about one or more VeRO reported items you have submitted.<br><br>Without the use of any query parameters, the default behavior of this method is to return the status of all VeRO reported items submitted by the seller during the last two years. Use the <b>itemId</b> query parameter to see a specific reported item, and use the <b>filter</b> query to retrieve the status of reported items submitted within a specific date range. Pagination is also available to limit the number of reported items that are retrieved per page of data.
|
|
84
|
+
*/
|
|
85
|
+
get: operations['getVeroReportItems'];
|
|
86
|
+
put?: never;
|
|
87
|
+
post?: never;
|
|
88
|
+
delete?: never;
|
|
89
|
+
options?: never;
|
|
90
|
+
head?: never;
|
|
91
|
+
patch?: never;
|
|
92
|
+
trace?: never;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
export type webhooks = Record<string, never>;
|
|
96
|
+
export interface components {
|
|
97
|
+
schemas: {
|
|
98
|
+
/** @description This type defines the fields that can be returned in an error. */
|
|
99
|
+
Error: {
|
|
100
|
+
/** @description Identifies the type of erro. */
|
|
101
|
+
category?: string;
|
|
102
|
+
/** @description Name for the primary system where the error occurred. This is relevant for application errors. */
|
|
103
|
+
domain?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Format: int32
|
|
106
|
+
* @description A unique number to identify the error.
|
|
107
|
+
*/
|
|
108
|
+
errorId?: number;
|
|
109
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
110
|
+
inputRefIds?: string[];
|
|
111
|
+
/** @description A more detailed explanation of the error. */
|
|
112
|
+
longMessage?: string;
|
|
113
|
+
/** @description Information on how to correct the problem, in the end user's terms and language where applicable. */
|
|
114
|
+
message?: string;
|
|
115
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
116
|
+
outputRefIds?: string[];
|
|
117
|
+
/** @description An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned. */
|
|
118
|
+
parameters?: components['schemas']['ErrorParameter'][];
|
|
119
|
+
/** @description Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc. */
|
|
120
|
+
subdomain?: string;
|
|
121
|
+
};
|
|
122
|
+
ErrorParameter: {
|
|
123
|
+
/** @description The object of the error. */
|
|
124
|
+
name?: string;
|
|
125
|
+
/** @description The value of the object. */
|
|
126
|
+
value?: string;
|
|
127
|
+
};
|
|
128
|
+
/** @description This type defines the brief and detailed description of a VeRO infringement, as well as the ID associated with the infringement. */
|
|
129
|
+
ReasonCodeDetailType: {
|
|
130
|
+
/** @description The short description of the infringement associated with the reason code. */
|
|
131
|
+
briefText?: string;
|
|
132
|
+
/** @description The long description of the infringement associated with the reason code. */
|
|
133
|
+
detailedText?: string;
|
|
134
|
+
/** @description The unique identifier of a VeRO reason code. */
|
|
135
|
+
veroReasonCodeId?: string;
|
|
136
|
+
};
|
|
137
|
+
/** @description This type defines the details of an item being reported for violating a product owner's copyright, trademark, or intellectual property rights. */
|
|
138
|
+
ReportItemDetails: {
|
|
139
|
+
/** @description The brand name of the item being reported for VeRO violation.<br><br><b>Max length:</b> 50 characters */
|
|
140
|
+
brand?: string;
|
|
141
|
+
/** @description If the VeRO Program member wants a copy of the Notice of Claimed Infringement (NOCI) document sent to their email address, this field should be included in the request and set to <code>true</code>. This same document is automatically sent to the seller of the reported item.<br><br>As this field defaults to <code>true</b>, the report will be automatically emailed if this field is omitted.<br><br><b>Default:</b> true */
|
|
142
|
+
copyEmailToRightsOwner?: boolean;
|
|
143
|
+
/** @description If the infringement type stated in the <b>VeroReasonCodeId</b> has anything to do with which country the item is being shipped to, each country that would trigger this infringement type should be specified in this comma-delimited array.<br><br>This field is required when the <b>veroReasonCodeId</b> is <code>9037</code> (Item(s) is unlawful importation of product bearing trademark). */
|
|
144
|
+
countries?: string[];
|
|
145
|
+
/** @description This field is used to provide further information about the VeRO reason code.<br><br>This field is required when the <b>veroReasonCodeId</b> is <code>9052</code> or <code>7052</code> (Other - Provide details information in additional information box below).<br><br><b>Max length:</b> 1000 characters */
|
|
146
|
+
detailedMessage?: string;
|
|
147
|
+
/** @description The unique identifier of the listing being reported for the alleged infringement. */
|
|
148
|
+
itemId?: string;
|
|
149
|
+
/** @description This field is used by the VeRO Program member to provide more details to the seller as to why the item is being reported for the alleged infringement.<br><br><b>Max length:</b> 1000 characters */
|
|
150
|
+
messageToSeller?: string;
|
|
151
|
+
/** @description This field is used to specify the number of a product patent that is being violated.<br><br>This field is required when the <b>veroReasonCodeId</b> is <code>9048</code> (Item(s) infringes a valid patent).<br><br><b>Max length:</b> 15 characters */
|
|
152
|
+
patent?: string;
|
|
153
|
+
/** @description If the infringement type stated in the <b>veroReasonCodeId</b> has anything to do with which geographical region the item is being shipped to, each region that would trigger this infringement type should be specified in this comma-delimited array. */
|
|
154
|
+
regions?: string[];
|
|
155
|
+
/** @description The unique identifier for the type of claimed infringement.<br><br>Use <a href="/api-docs/commerce/vero/resources/vero_reason_code/methods/getVeroReasonCodes" target="_blank ">getVeroReasonCodes</a> to retrieve a list of valid reason codes for a given eBay site. */
|
|
156
|
+
veroReasonCodeId?: string;
|
|
157
|
+
};
|
|
158
|
+
/** @description This type defines the response fields of the <b>getVeroReport</b> method. */
|
|
159
|
+
ReportStatusResponse: {
|
|
160
|
+
/** @description This array returns the status for each eBay item that was included as part of the report.<br><br>This array is only returned if the <b>includeItemDetails</b> query parameter is set to <code>true</code>. */
|
|
161
|
+
reportedItemDetails?: components['schemas']['ReportedItem'][];
|
|
162
|
+
/** @description The unique packet identifier of the VeRO report. */
|
|
163
|
+
veroReportId?: string;
|
|
164
|
+
/** @description The processing status of the requested VeRO report. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/vero/types/VeroReportStatusEnum'>eBay API documentation</a> */
|
|
165
|
+
veroReportStatus?: string;
|
|
166
|
+
};
|
|
167
|
+
/** @description This type defines the item ID and status of a VeRO report. If applicable, a reason for report failure is also returned. */
|
|
168
|
+
ReportedItem: {
|
|
169
|
+
/** @description The unique identifier of the listing that is being reported for copyright, trademark, or intellectual right infringement. */
|
|
170
|
+
itemId?: string;
|
|
171
|
+
/** @description This text explanation is submitted by eBay when the submission of a VeRO Report has failed or was blocked.<br><br>This field is conditionally returned if the <b>status</b> value of the report is <code>ClarificationRequired</code> or <code>SubmissionFailed</code>. */
|
|
172
|
+
reasonForFailure?: string;
|
|
173
|
+
/** @description The current status of the VeRO reported item. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/vero/types/VeroReportedItemStatusEnum'>eBay API documentation</a> */
|
|
174
|
+
status?: string;
|
|
175
|
+
};
|
|
176
|
+
/** @description This type is used to define the details of a VeRO reason code for a specific site. */
|
|
177
|
+
VeroReasonCode: {
|
|
178
|
+
/** @description The eBay site for which reason code details are returned. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/vero/types/br:MarketplaceIdEnum'>eBay API documentation</a> */
|
|
179
|
+
marketplaceId?: string;
|
|
180
|
+
/** @description This container includes both brief and detailed text descriptions for the VeRO program intellectual property right infringement reason, as well as the ID for the reason code. */
|
|
181
|
+
reasonCodeDetails?: components['schemas']['ReasonCodeDetailType'][];
|
|
182
|
+
};
|
|
183
|
+
/** @description This type defines the response fields returned in the <b>getCeroReasonCodes</b> method. */
|
|
184
|
+
VeroReasonCodeDetailResponse: {
|
|
185
|
+
/** @description This array provides a list of VeRO reason codes, as well as the ID and details of each code, based on the input criteria.<br><br>If a <b>X-EBAY-C-MARKETPLACE-ID</b> header is used, only VeRO reason codes for that specific site will be returned. If this header is not included, all reason codes for all sites are returned. */
|
|
186
|
+
veroReasonCodes?: components['schemas']['VeroReasonCode'][];
|
|
187
|
+
};
|
|
188
|
+
VeroReasonCodeResponse: {
|
|
189
|
+
/** @description The eBay site for which reason code details are returned. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/vero/types/br:MarketplaceIdEnum'>eBay API documentation</a> */
|
|
190
|
+
marketplaceId?: string;
|
|
191
|
+
/** @description This container includes both brief and detailed text descriptions for the VeRO program intellectual property right infringement reason, as well as the ID for the reason code */
|
|
192
|
+
reasonCodeDetails?: components['schemas']['ReasonCodeDetailType'];
|
|
193
|
+
};
|
|
194
|
+
/** @description This type defines the request fields used in the <b>createVeroReport</b> method. */
|
|
195
|
+
VeroReportItemsRequest: {
|
|
196
|
+
/** @description This array is used to report one or more eBay items that are allegedly violating the product owner's copyright, trademark, or intellectual property rights.<br><br>The <b>itemId</b> and <b>veroReasonCodeId</b> fields are required for each reported violation.<br><br><span class="tablenote"><b>Note:</b> You can report the same item more than once if a different reason code is used each time.</span> */
|
|
197
|
+
reportItems?: components['schemas']['ReportItemDetails'][];
|
|
198
|
+
};
|
|
199
|
+
/** @description This type defines the response fields used in the <b>createVeroReport</b> method. */
|
|
200
|
+
VeroReportItemsResponse: {
|
|
201
|
+
/** @description The unique identifier of the VeRO report that the item violations have been added to.<br><br><span class="tablenote"><b>Note:</b> Users should keep track of the returned <b>veroReportId</b>, as there is no programmatic way to retrieve this value at this time.</span> */
|
|
202
|
+
veroReportId?: string;
|
|
203
|
+
/** @description The processing status of the VeRO report. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/commerce/vero/types/VeroReportStatusEnum'>eBay API documentation</a> */
|
|
204
|
+
veroReportStatus?: string;
|
|
205
|
+
};
|
|
206
|
+
/** @description This type defines the response fields for the <b>getVeroReports</b> method. */
|
|
207
|
+
VeroReportStatusResponse: {
|
|
208
|
+
/** @description The URL to the current page of the VeRO reported item results. */
|
|
209
|
+
href?: string;
|
|
210
|
+
/**
|
|
211
|
+
* Format: int32
|
|
212
|
+
* @description The value of the <b>limit</b> parameter submitted in the request.
|
|
213
|
+
*/
|
|
214
|
+
limit?: number;
|
|
215
|
+
/** @description The URI for the next page of results. This value is returned if there is an additional page of results to return from the result set */
|
|
216
|
+
next?: string;
|
|
217
|
+
/**
|
|
218
|
+
* Format: int32
|
|
219
|
+
* @description The value off the <b>offset</b> parameter submitted in the request.
|
|
220
|
+
*/
|
|
221
|
+
offset?: number;
|
|
222
|
+
/** @description The URI for the previous page of results. This is returned if there is a previous page of results from the result set. */
|
|
223
|
+
prev?: string;
|
|
224
|
+
/** @description This array returns the item ID and statuses of the reported items being returned. */
|
|
225
|
+
reportedItemDetails?: components['schemas']['ReportedItem'][];
|
|
226
|
+
/**
|
|
227
|
+
* Format: int32
|
|
228
|
+
* @description This is the total number of records that match the input criteria.
|
|
229
|
+
*/
|
|
230
|
+
total?: number;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
responses: never;
|
|
234
|
+
parameters: never;
|
|
235
|
+
requestBodies: never;
|
|
236
|
+
headers: never;
|
|
237
|
+
pathItems: never;
|
|
238
|
+
}
|
|
239
|
+
export type $defs = Record<string, never>;
|
|
240
|
+
export interface operations {
|
|
241
|
+
getVeroReasonCode: {
|
|
242
|
+
parameters: {
|
|
243
|
+
query?: never;
|
|
244
|
+
header?: never;
|
|
245
|
+
path: {
|
|
246
|
+
/** @description This path parameter specifies the unique identifier of the VeRO reason code that is to be retrieved.<br><br>Use the <a href="/api-docs/commerce/vero/resources/vero_reason_code/methods/getVeroReasonCodes" target="_blank ">getVeroReasonCodes</a> method to retrieve supported VeRO reason code IDs. */
|
|
247
|
+
vero_reason_code_id: string;
|
|
248
|
+
};
|
|
249
|
+
cookie?: never;
|
|
250
|
+
};
|
|
251
|
+
requestBody?: never;
|
|
252
|
+
responses: {
|
|
253
|
+
/** @description OK */
|
|
254
|
+
200: {
|
|
255
|
+
headers: Record<string, unknown>;
|
|
256
|
+
content: {
|
|
257
|
+
'application/json': components['schemas']['VeroReasonCodeResponse'];
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
/** @description Bad Request */
|
|
261
|
+
400: {
|
|
262
|
+
headers: Record<string, unknown>;
|
|
263
|
+
content?: never;
|
|
264
|
+
};
|
|
265
|
+
/** @description Internal Server Error */
|
|
266
|
+
500: {
|
|
267
|
+
headers: Record<string, unknown>;
|
|
268
|
+
content?: never;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
getVeroReasonCodes: {
|
|
273
|
+
parameters: {
|
|
274
|
+
query?: never;
|
|
275
|
+
header?: {
|
|
276
|
+
/** @description This header identifies the eBay marketplace for which to retrieve VeRO reason codes. If this header is used, only VeRO reason codes for the specified marketplace will be returned in the response.<br><br>See <a href="/api-docs/commerce/vero/types/br:MarketplaceIdEnum" target="_blank ">MarketplaceIdEnum</a> for a list of supported values. */
|
|
277
|
+
'X-EBAY-C-MARKETPLACE-ID'?: string;
|
|
278
|
+
};
|
|
279
|
+
path?: never;
|
|
280
|
+
cookie?: never;
|
|
281
|
+
};
|
|
282
|
+
requestBody?: never;
|
|
283
|
+
responses: {
|
|
284
|
+
/** @description OK */
|
|
285
|
+
200: {
|
|
286
|
+
headers: Record<string, unknown>;
|
|
287
|
+
content: {
|
|
288
|
+
'application/json': components['schemas']['VeroReasonCodeDetailResponse'];
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
/** @description Bad Request */
|
|
292
|
+
400: {
|
|
293
|
+
headers: Record<string, unknown>;
|
|
294
|
+
content?: never;
|
|
295
|
+
};
|
|
296
|
+
/** @description Internal Server Error */
|
|
297
|
+
500: {
|
|
298
|
+
headers: Record<string, unknown>;
|
|
299
|
+
content?: never;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
createVeroReport: {
|
|
304
|
+
parameters: {
|
|
305
|
+
query?: never;
|
|
306
|
+
header: {
|
|
307
|
+
/** @description This header indicates the format of the request body provided by the client. Its value should be set to <b>application/json</b>. <br><br>For more information, refer to <a href="/api-docs/static/rest-request-components.html#HTTP" target="_blank ">HTTP request headers</a>. */
|
|
308
|
+
'Content-Type': string;
|
|
309
|
+
};
|
|
310
|
+
path?: never;
|
|
311
|
+
cookie?: never;
|
|
312
|
+
};
|
|
313
|
+
requestBody?: {
|
|
314
|
+
content: {
|
|
315
|
+
'application/json': components['schemas']['VeroReportItemsRequest'];
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
responses: {
|
|
319
|
+
/** @description Created */
|
|
320
|
+
201: {
|
|
321
|
+
headers: {
|
|
322
|
+
Location?: string;
|
|
323
|
+
[name: string]: unknown;
|
|
324
|
+
};
|
|
325
|
+
content: {
|
|
326
|
+
'application/json': components['schemas']['VeroReportItemsResponse'];
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
/** @description Bad Request */
|
|
330
|
+
400: {
|
|
331
|
+
headers: Record<string, unknown>;
|
|
332
|
+
content?: never;
|
|
333
|
+
};
|
|
334
|
+
/** @description Internal Server Error */
|
|
335
|
+
500: {
|
|
336
|
+
headers: Record<string, unknown>;
|
|
337
|
+
content?: never;
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
getVeroReport: {
|
|
342
|
+
parameters: {
|
|
343
|
+
query?: {
|
|
344
|
+
/** @description Include this query and set it to <code>true</code> if you want to retrieve the <b>reportedItemDetails</b> container in the response, which contains item-level status information. This container may be helpful if you have reported violations on more than one eBay item in the report.<br><br>By default, this boolean is set to <code>false</code>. */
|
|
345
|
+
includeItemDetails?: string;
|
|
346
|
+
};
|
|
347
|
+
header?: never;
|
|
348
|
+
path: {
|
|
349
|
+
/** @description This path parameter specifies the unique identifier of the VeRO report being retrieved.<br><br>This value is returned when creating a VeRO report through the <a href="/api-docs/commerce/vero/resources/vero_report/methods/createVeroReport" target="_blank ">createVeroReport</a> method. */
|
|
350
|
+
vero_report_id: string;
|
|
351
|
+
};
|
|
352
|
+
cookie?: never;
|
|
353
|
+
};
|
|
354
|
+
requestBody?: never;
|
|
355
|
+
responses: {
|
|
356
|
+
/** @description OK */
|
|
357
|
+
200: {
|
|
358
|
+
headers: Record<string, unknown>;
|
|
359
|
+
content: {
|
|
360
|
+
'application/json': components['schemas']['ReportStatusResponse'];
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
/** @description Bad Request */
|
|
364
|
+
400: {
|
|
365
|
+
headers: Record<string, unknown>;
|
|
366
|
+
content?: never;
|
|
367
|
+
};
|
|
368
|
+
/** @description Not Found */
|
|
369
|
+
404: {
|
|
370
|
+
headers: Record<string, unknown>;
|
|
371
|
+
content?: never;
|
|
372
|
+
};
|
|
373
|
+
/** @description Internal Server Error */
|
|
374
|
+
500: {
|
|
375
|
+
headers: Record<string, unknown>;
|
|
376
|
+
content?: never;
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
getVeroReportItems: {
|
|
381
|
+
parameters: {
|
|
382
|
+
query?: {
|
|
383
|
+
/** @description This query parameter can be used to filter the result set by a date range. Only items reported within the specified time period will be returned.<br><br>This parameter will be ignored if <b>itemId</b> has been specified.<br><br><b>Format:</b> <code>YYYY-MM-DD HH:MM:SS</code><br><br><b>Example</b>: <code>reportSubmittedDate:[2024-11-14T07:47:48Z..2024-12-14T07:47:48Z]</code>. */
|
|
384
|
+
filter?: string;
|
|
385
|
+
/** @description This query parameter specifies the unique identifier of an eBay listing. Only the specified reported item will be returned. */
|
|
386
|
+
itemId?: string;
|
|
387
|
+
/** @description The maximum number of entries that can be returned on each page of the paginated response. Use this parameter in conjunction with the <b>offset</b> parameter to control the pagination of the output.<br><br><span class="tablenote"><b>Note:</b> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>.</span><br>For example, if <b>offset</b> is set to <code>10</code> and <b>limit</b> is set to <code>10</code>, the call retrieves entries 11 through 20 from the result set.<br><br>If this parameter is omitted, the default value is used.<br><br><b>Default:</b> 25 */
|
|
388
|
+
limit?: string;
|
|
389
|
+
/** @description The number of reports to skip in the result set before returning the first report in the paginated response. Combine offset with the <b>limit</b> query parameter to control the reports returned in the response. For example, if you supply an <b>offset</b> of <code>0</code> and a <b>limit</b> of <code>10</code>, the first page of the response contains the first 10 reports from the complete list of reports retrieved by the call. If this query parameter is not set, the default value is used and the first page of reports is returned.<br><br><b>Default:</b> 0 */
|
|
390
|
+
offset?: string;
|
|
391
|
+
};
|
|
392
|
+
header?: never;
|
|
393
|
+
path?: never;
|
|
394
|
+
cookie?: never;
|
|
395
|
+
};
|
|
396
|
+
requestBody?: never;
|
|
397
|
+
responses: {
|
|
398
|
+
/** @description OK */
|
|
399
|
+
200: {
|
|
400
|
+
headers: Record<string, unknown>;
|
|
401
|
+
content: {
|
|
402
|
+
'application/json': components['schemas']['VeroReportStatusResponse'];
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
/** @description Bad Request */
|
|
406
|
+
400: {
|
|
407
|
+
headers: Record<string, unknown>;
|
|
408
|
+
content?: never;
|
|
409
|
+
};
|
|
410
|
+
/** @description Internal Server Error */
|
|
411
|
+
500: {
|
|
412
|
+
headers: Record<string, unknown>;
|
|
413
|
+
content?: never;
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
}
|