ebay-api 9.4.3 → 10.0.0-RC.1
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/README.md +33 -2
- package/dist/api/restful/buy/browse/index.d.ts +1 -4
- package/dist/api/restful/buy/browse/index.js +0 -9
- package/dist/api/restful/buy/feed/index.d.ts +1 -0
- package/dist/api/restful/buy/feed/index.js +8 -0
- package/dist/api/restful/buy/marketing/index.d.ts +1 -3
- package/dist/api/restful/buy/marketing/index.js +0 -10
- package/dist/api/restful/buy/order/index.d.ts +1 -1
- package/dist/api/restful/buy/order/index.js +1 -1
- package/dist/api/restful/commerce/media/index.d.ts +8 -1
- package/dist/api/restful/commerce/media/index.js +24 -0
- package/dist/api/restful/commerce/notification/index.d.ts +5 -2
- package/dist/api/restful/commerce/notification/index.js +15 -1
- package/dist/api/restful/commerce/taxonomy/index.d.ts +1 -0
- package/dist/api/restful/commerce/taxonomy/index.js +4 -0
- package/dist/api/restful/sell/compliance/index.d.ts +0 -2
- package/dist/api/restful/sell/compliance/index.js +0 -3
- package/dist/api/restful/sell/feed/index.d.ts +7 -7
- package/dist/api/restful/sell/finances/index.d.ts +1 -1
- package/dist/api/restful/sell/listing/index.d.ts +2 -1
- package/dist/api/restful/sell/logistics/index.d.ts +6 -5
- package/dist/api/restful/sell/marketing/index.d.ts +4 -1
- package/dist/api/restful/sell/marketing/index.js +10 -0
- package/dist/api/restful/sell/metadata/index.d.ts +15 -0
- package/dist/api/restful/sell/metadata/index.js +65 -0
- package/dist/api/restful/sell/negotiation/index.d.ts +2 -1
- package/dist/ebay-api.min.mjs +1 -1
- package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +239 -655
- package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +34 -171
- package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +146 -217
- package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +19 -208
- package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +13 -84
- package/dist/types/restful/specs/buy_order_v2_oas3.d.ts +470 -0
- package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +37 -562
- package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +10 -130
- package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +6 -39
- package/dist/types/restful/specs/commerce_media_v1_beta_oas3.d.ts +209 -132
- package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +272 -716
- package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +77 -339
- package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +11 -38
- package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +24 -91
- package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +21 -132
- package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +193 -1696
- package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +21 -148
- package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +122 -902
- package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +99 -275
- package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +212 -1257
- package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +77 -281
- package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +563 -3197
- package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +709 -330
- package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +15 -82
- package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +10 -43
- package/dist/types/restfulTypes.d.ts +33 -14
- package/lib/api/restful/buy/browse/index.d.ts +1 -4
- package/lib/api/restful/buy/browse/index.js +0 -9
- package/lib/api/restful/buy/feed/index.d.ts +1 -0
- package/lib/api/restful/buy/feed/index.js +8 -0
- package/lib/api/restful/buy/marketing/index.d.ts +1 -3
- package/lib/api/restful/buy/marketing/index.js +0 -10
- package/lib/api/restful/buy/order/index.d.ts +1 -1
- package/lib/api/restful/buy/order/index.js +1 -1
- package/lib/api/restful/commerce/media/index.d.ts +8 -1
- package/lib/api/restful/commerce/media/index.js +24 -0
- package/lib/api/restful/commerce/notification/index.d.ts +5 -2
- package/lib/api/restful/commerce/notification/index.js +15 -1
- package/lib/api/restful/commerce/taxonomy/index.d.ts +1 -0
- package/lib/api/restful/commerce/taxonomy/index.js +4 -0
- package/lib/api/restful/sell/compliance/index.d.ts +0 -2
- package/lib/api/restful/sell/compliance/index.js +0 -3
- package/lib/api/restful/sell/feed/index.d.ts +7 -7
- package/lib/api/restful/sell/finances/index.d.ts +1 -1
- package/lib/api/restful/sell/listing/index.d.ts +2 -1
- package/lib/api/restful/sell/logistics/index.d.ts +6 -5
- package/lib/api/restful/sell/marketing/index.d.ts +4 -1
- package/lib/api/restful/sell/marketing/index.js +10 -0
- package/lib/api/restful/sell/metadata/index.d.ts +15 -0
- package/lib/api/restful/sell/metadata/index.js +65 -0
- package/lib/api/restful/sell/negotiation/index.d.ts +2 -1
- package/lib/ebay-api.min.js +1 -1
- package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +239 -655
- package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +34 -171
- package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +146 -217
- package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +19 -208
- package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +13 -84
- package/lib/types/restful/specs/buy_order_v2_oas3.d.ts +470 -0
- package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +37 -562
- package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +10 -130
- package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +6 -39
- package/lib/types/restful/specs/commerce_media_v1_beta_oas3.d.ts +209 -132
- package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +272 -716
- package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +77 -339
- package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +11 -38
- package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +24 -91
- package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +21 -132
- package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +193 -1696
- package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +21 -148
- package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +122 -902
- package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +99 -275
- package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +212 -1257
- package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +77 -281
- package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +563 -3197
- package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +709 -330
- package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +15 -82
- package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +10 -43
- package/lib/types/restfulTypes.d.ts +33 -14
- package/package.json +2 -1
- package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -2400
- package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -2400
- /package/dist/types/restful/specs/{buy_order_v1_beta_oas3.js → buy_order_v2_oas3.js} +0 -0
- /package/lib/types/restful/specs/{buy_order_v1_beta_oas3.js → buy_order_v2_oas3.js} +0 -0
|
@@ -1,99 +1,9 @@
|
|
|
1
1
|
export interface paths {
|
|
2
|
-
"/change_request/{change_request_id}": {
|
|
3
|
-
parameters: {
|
|
4
|
-
query?: never;
|
|
5
|
-
header?: never;
|
|
6
|
-
path?: never;
|
|
7
|
-
cookie?: never;
|
|
8
|
-
};
|
|
9
|
-
get: operations["getChangeRequest"];
|
|
10
|
-
put?: never;
|
|
11
|
-
post?: never;
|
|
12
|
-
delete?: never;
|
|
13
|
-
options?: never;
|
|
14
|
-
head?: never;
|
|
15
|
-
patch?: never;
|
|
16
|
-
trace?: never;
|
|
17
|
-
};
|
|
18
|
-
"/change_request": {
|
|
19
|
-
parameters: {
|
|
20
|
-
query?: never;
|
|
21
|
-
header?: never;
|
|
22
|
-
path?: never;
|
|
23
|
-
cookie?: never;
|
|
24
|
-
};
|
|
25
|
-
get: operations["getChangeRequests"];
|
|
26
|
-
put?: never;
|
|
27
|
-
post: operations["createChangeRequest"];
|
|
28
|
-
delete?: never;
|
|
29
|
-
options?: never;
|
|
30
|
-
head?: never;
|
|
31
|
-
patch?: never;
|
|
32
|
-
trace?: never;
|
|
33
|
-
};
|
|
34
2
|
"/product/{epid}": {
|
|
35
|
-
parameters: {
|
|
36
|
-
query?: never;
|
|
37
|
-
header?: never;
|
|
38
|
-
path?: never;
|
|
39
|
-
cookie?: never;
|
|
40
|
-
};
|
|
41
3
|
get: operations["getProduct"];
|
|
42
|
-
put?: never;
|
|
43
|
-
post?: never;
|
|
44
|
-
delete?: never;
|
|
45
|
-
options?: never;
|
|
46
|
-
head?: never;
|
|
47
|
-
patch?: never;
|
|
48
|
-
trace?: never;
|
|
49
4
|
};
|
|
50
5
|
"/product_summary/search": {
|
|
51
|
-
parameters: {
|
|
52
|
-
query?: never;
|
|
53
|
-
header?: never;
|
|
54
|
-
path?: never;
|
|
55
|
-
cookie?: never;
|
|
56
|
-
};
|
|
57
6
|
get: operations["search"];
|
|
58
|
-
put?: never;
|
|
59
|
-
post?: never;
|
|
60
|
-
delete?: never;
|
|
61
|
-
options?: never;
|
|
62
|
-
head?: never;
|
|
63
|
-
patch?: never;
|
|
64
|
-
trace?: never;
|
|
65
|
-
};
|
|
66
|
-
"/get_product_metadata": {
|
|
67
|
-
parameters: {
|
|
68
|
-
query?: never;
|
|
69
|
-
header?: never;
|
|
70
|
-
path?: never;
|
|
71
|
-
cookie?: never;
|
|
72
|
-
};
|
|
73
|
-
get: operations["getProductMetadata"];
|
|
74
|
-
put?: never;
|
|
75
|
-
post?: never;
|
|
76
|
-
delete?: never;
|
|
77
|
-
options?: never;
|
|
78
|
-
head?: never;
|
|
79
|
-
patch?: never;
|
|
80
|
-
trace?: never;
|
|
81
|
-
};
|
|
82
|
-
"/get_product_metadata_for_categories": {
|
|
83
|
-
parameters: {
|
|
84
|
-
query?: never;
|
|
85
|
-
header?: never;
|
|
86
|
-
path?: never;
|
|
87
|
-
cookie?: never;
|
|
88
|
-
};
|
|
89
|
-
get: operations["getProductMetadataForCategories"];
|
|
90
|
-
put?: never;
|
|
91
|
-
post?: never;
|
|
92
|
-
delete?: never;
|
|
93
|
-
options?: never;
|
|
94
|
-
head?: never;
|
|
95
|
-
patch?: never;
|
|
96
|
-
trace?: never;
|
|
97
7
|
};
|
|
98
8
|
}
|
|
99
9
|
export type webhooks = Record<string, never>;
|
|
@@ -101,10 +11,10 @@ export interface components {
|
|
|
101
11
|
schemas: {
|
|
102
12
|
Aspect: {
|
|
103
13
|
localizedName?: string;
|
|
104
|
-
localizedValues?: string[];
|
|
14
|
+
localizedValues?: (string)[];
|
|
105
15
|
};
|
|
106
16
|
AspectDistribution: {
|
|
107
|
-
aspectValueDistributions?: components["schemas"]["AspectValueDistribution"][];
|
|
17
|
+
aspectValueDistributions?: (components["schemas"]["AspectValueDistribution"])[];
|
|
108
18
|
localizedAspectName?: string;
|
|
109
19
|
};
|
|
110
20
|
AspectValueDistribution: {
|
|
@@ -112,233 +22,73 @@ export interface components {
|
|
|
112
22
|
matchCount?: number;
|
|
113
23
|
refinementHref?: string;
|
|
114
24
|
};
|
|
115
|
-
CategoryAspect: {
|
|
116
|
-
aspectHelpText?: string;
|
|
117
|
-
constraint?: components["schemas"]["ProductAspectConstraint"];
|
|
118
|
-
name?: string;
|
|
119
|
-
values?: components["schemas"]["CategoryAspectValue"][];
|
|
120
|
-
};
|
|
121
|
-
CategoryAspectValue: {
|
|
122
|
-
value?: string;
|
|
123
|
-
valueConstraints?: components["schemas"]["ValueConstraint"][];
|
|
124
|
-
};
|
|
125
|
-
ChangeRequest: {
|
|
126
|
-
changeRequestId?: string;
|
|
127
|
-
changeRequestStatus?: string;
|
|
128
|
-
changeRequestType?: string;
|
|
129
|
-
creationDate?: string;
|
|
130
|
-
expectedCompletionDate?: string;
|
|
131
|
-
processResolution?: components["schemas"]["ProcessResolution"];
|
|
132
|
-
processStatusMessage?: string;
|
|
133
|
-
reasonForChangeRequest?: string;
|
|
134
|
-
referenceId?: string;
|
|
135
|
-
referenceType?: string;
|
|
136
|
-
resolutionDate?: string;
|
|
137
|
-
suggestedProduct?: components["schemas"]["SuggestedProduct"];
|
|
138
|
-
};
|
|
139
|
-
ConflictingProduct: {
|
|
140
|
-
conflictCode?: string;
|
|
141
|
-
differentiatingAspects?: components["schemas"]["ProductAspect"][];
|
|
142
|
-
epid?: string;
|
|
143
|
-
reason?: string;
|
|
144
|
-
};
|
|
145
|
-
Correction: {
|
|
146
|
-
aspectValues?: components["schemas"]["CorrectionAspectValues"];
|
|
147
|
-
correctionCode?: string;
|
|
148
|
-
productAttribute?: components["schemas"]["CorrectionProductAttribute"];
|
|
149
|
-
reason?: string;
|
|
150
|
-
};
|
|
151
|
-
CorrectionAspectValue: {
|
|
152
|
-
newValue?: string;
|
|
153
|
-
value?: string;
|
|
154
|
-
};
|
|
155
|
-
CorrectionAspectValues: {
|
|
156
|
-
aspectName?: string;
|
|
157
|
-
values?: components["schemas"]["CorrectionAspectValue"][];
|
|
158
|
-
};
|
|
159
|
-
CorrectionProductAttribute: {
|
|
160
|
-
attributeName?: string;
|
|
161
|
-
newValue?: string;
|
|
162
|
-
value?: string;
|
|
163
|
-
};
|
|
164
|
-
CreateChangeRequestPayload: {
|
|
165
|
-
changeRequestType?: string;
|
|
166
|
-
reasonForChangeRequest?: string;
|
|
167
|
-
referenceId?: string;
|
|
168
|
-
referenceType?: string;
|
|
169
|
-
suggestedProduct?: components["schemas"]["SuggestedProduct"];
|
|
170
|
-
};
|
|
171
25
|
Error: {
|
|
172
26
|
category?: string;
|
|
173
27
|
domain?: string;
|
|
174
28
|
errorId?: number;
|
|
175
|
-
inputRefIds?: string[];
|
|
29
|
+
inputRefIds?: (string)[];
|
|
176
30
|
longMessage?: string;
|
|
177
31
|
message?: string;
|
|
178
|
-
outputRefIds?: string[];
|
|
179
|
-
parameters?: components["schemas"]["ErrorParameter"][];
|
|
32
|
+
outputRefIds?: (string)[];
|
|
33
|
+
parameters?: (components["schemas"]["ErrorParameter"])[];
|
|
180
34
|
subdomain?: string;
|
|
181
35
|
};
|
|
182
36
|
ErrorParameter: {
|
|
183
37
|
name?: string;
|
|
184
38
|
value?: string;
|
|
185
39
|
};
|
|
186
|
-
GetChangeRequestsResponse: {
|
|
187
|
-
changeRequests?: components["schemas"]["ChangeRequest"][];
|
|
188
|
-
href?: string;
|
|
189
|
-
limit?: number;
|
|
190
|
-
next?: string;
|
|
191
|
-
offset?: number;
|
|
192
|
-
prev?: string;
|
|
193
|
-
total?: number;
|
|
194
|
-
};
|
|
195
40
|
Image: {
|
|
196
41
|
height?: number;
|
|
197
42
|
imageUrl?: string;
|
|
198
43
|
width?: number;
|
|
199
44
|
};
|
|
200
|
-
ProcessResolution: {
|
|
201
|
-
conflictingProducts?: components["schemas"]["ConflictingProduct"][];
|
|
202
|
-
corrections?: components["schemas"]["Correction"][];
|
|
203
|
-
epid?: string;
|
|
204
|
-
productHref?: string;
|
|
205
|
-
violations?: components["schemas"]["Violation"][];
|
|
206
|
-
};
|
|
207
45
|
Product: {
|
|
208
|
-
additionalImages?: components["schemas"]["Image"][];
|
|
209
|
-
aspects?: components["schemas"]["Aspect"][];
|
|
46
|
+
additionalImages?: (components["schemas"]["Image"])[];
|
|
47
|
+
aspects?: (components["schemas"]["Aspect"])[];
|
|
210
48
|
brand?: string;
|
|
211
49
|
description?: string;
|
|
212
|
-
ean?: string[];
|
|
50
|
+
ean?: (string)[];
|
|
213
51
|
epid?: string;
|
|
214
|
-
gtin?: string[];
|
|
52
|
+
gtin?: (string)[];
|
|
215
53
|
image?: components["schemas"]["Image"];
|
|
216
|
-
isbn?: string[];
|
|
217
|
-
mpn?: string[];
|
|
218
|
-
otherApplicableCategoryIds?: string[];
|
|
54
|
+
isbn?: (string)[];
|
|
55
|
+
mpn?: (string)[];
|
|
56
|
+
otherApplicableCategoryIds?: (string)[];
|
|
219
57
|
primaryCategoryId?: string;
|
|
220
58
|
productWebUrl?: string;
|
|
221
59
|
title?: string;
|
|
222
|
-
upc?: string[];
|
|
60
|
+
upc?: (string)[];
|
|
223
61
|
version?: string;
|
|
224
62
|
};
|
|
225
|
-
ProductAspect: {
|
|
226
|
-
name?: string;
|
|
227
|
-
values?: string[];
|
|
228
|
-
};
|
|
229
|
-
ProductAspectConstraint: {
|
|
230
|
-
aspectDataType?: string;
|
|
231
|
-
aspectFormat?: string;
|
|
232
|
-
aspectMode?: string;
|
|
233
|
-
aspectRequired?: boolean;
|
|
234
|
-
importance?: string;
|
|
235
|
-
productToAspectCardinality?: string;
|
|
236
|
-
};
|
|
237
|
-
ProductAspectValue: {
|
|
238
|
-
value?: string;
|
|
239
|
-
valueConstraints?: components["schemas"]["ValueConstraint"][];
|
|
240
|
-
};
|
|
241
|
-
ProductIdentifier: {
|
|
242
|
-
constraint?: components["schemas"]["ProductIdentifierConstraint"];
|
|
243
|
-
values?: string[];
|
|
244
|
-
};
|
|
245
|
-
ProductIdentifierConstraint: {
|
|
246
|
-
importance?: string;
|
|
247
|
-
mode?: string;
|
|
248
|
-
required?: boolean;
|
|
249
|
-
};
|
|
250
|
-
ProductIdentifierForProductMetadata: {
|
|
251
|
-
constraint?: components["schemas"]["ProductIdentifierConstraint"];
|
|
252
|
-
valueAssociatedWithProduct?: string;
|
|
253
|
-
values?: string[];
|
|
254
|
-
};
|
|
255
|
-
ProductMetadata: {
|
|
256
|
-
aspects?: components["schemas"]["ProductMetadataAspect"][];
|
|
257
|
-
brand?: components["schemas"]["ProductIdentifierForProductMetadata"];
|
|
258
|
-
ean?: components["schemas"]["ProductIdentifierForProductMetadata"];
|
|
259
|
-
isbn?: components["schemas"]["ProductIdentifierForProductMetadata"];
|
|
260
|
-
mpn?: components["schemas"]["ProductIdentifierForProductMetadata"];
|
|
261
|
-
upc?: components["schemas"]["ProductIdentifierForProductMetadata"];
|
|
262
|
-
};
|
|
263
|
-
ProductMetadataAspect: {
|
|
264
|
-
aspectHelpText?: string;
|
|
265
|
-
constraint?: components["schemas"]["ProductAspectConstraint"];
|
|
266
|
-
droppable?: boolean;
|
|
267
|
-
name?: string;
|
|
268
|
-
values?: components["schemas"]["ProductAspectValue"][];
|
|
269
|
-
valuesAssociatedWithProduct?: string[];
|
|
270
|
-
};
|
|
271
|
-
ProductMetadataForCategories: {
|
|
272
|
-
aspects?: components["schemas"]["CategoryAspect"][];
|
|
273
|
-
brand?: components["schemas"]["ProductIdentifier"];
|
|
274
|
-
ean?: components["schemas"]["ProductIdentifier"];
|
|
275
|
-
isbn?: components["schemas"]["ProductIdentifier"];
|
|
276
|
-
mpn?: components["schemas"]["ProductIdentifier"];
|
|
277
|
-
upc?: components["schemas"]["ProductIdentifier"];
|
|
278
|
-
};
|
|
279
63
|
ProductSearchResponse: {
|
|
280
64
|
href?: string;
|
|
281
65
|
limit?: number;
|
|
282
66
|
next?: string;
|
|
283
67
|
offset?: number;
|
|
284
68
|
prev?: string;
|
|
285
|
-
productSummaries?: components["schemas"]["ProductSummary"][];
|
|
69
|
+
productSummaries?: (components["schemas"]["ProductSummary"])[];
|
|
286
70
|
refinement?: components["schemas"]["Refinement"];
|
|
287
71
|
total?: number;
|
|
288
72
|
};
|
|
289
73
|
ProductSummary: {
|
|
290
|
-
additionalImages?: components["schemas"]["Image"][];
|
|
291
|
-
aspects?: components["schemas"]["Aspect"][];
|
|
74
|
+
additionalImages?: (components["schemas"]["Image"])[];
|
|
75
|
+
aspects?: (components["schemas"]["Aspect"])[];
|
|
292
76
|
brand?: string;
|
|
293
|
-
ean?: string[];
|
|
77
|
+
ean?: (string)[];
|
|
294
78
|
epid?: string;
|
|
295
|
-
gtin?: string[];
|
|
79
|
+
gtin?: (string)[];
|
|
296
80
|
image?: components["schemas"]["Image"];
|
|
297
|
-
isbn?: string[];
|
|
298
|
-
mpn?: string[];
|
|
81
|
+
isbn?: (string)[];
|
|
82
|
+
mpn?: (string)[];
|
|
299
83
|
productHref?: string;
|
|
300
84
|
productWebUrl?: string;
|
|
301
85
|
title?: string;
|
|
302
|
-
upc?: string[];
|
|
86
|
+
upc?: (string)[];
|
|
303
87
|
};
|
|
304
88
|
Refinement: {
|
|
305
|
-
aspectDistributions?: components["schemas"]["AspectDistribution"][];
|
|
89
|
+
aspectDistributions?: (components["schemas"]["AspectDistribution"])[];
|
|
306
90
|
dominantCategoryId?: string;
|
|
307
91
|
};
|
|
308
|
-
SuggestedProduct: {
|
|
309
|
-
additionalImageUrls?: string[];
|
|
310
|
-
aspects?: components["schemas"]["ProductAspect"][];
|
|
311
|
-
brand?: string;
|
|
312
|
-
description?: string;
|
|
313
|
-
ean?: string[];
|
|
314
|
-
epid?: string;
|
|
315
|
-
imageUrl?: string;
|
|
316
|
-
isbn?: string[];
|
|
317
|
-
mpn?: string[];
|
|
318
|
-
otherApplicableCategoryIds?: string[];
|
|
319
|
-
primaryCategoryId?: string;
|
|
320
|
-
title?: string;
|
|
321
|
-
upc?: string[];
|
|
322
|
-
version?: string;
|
|
323
|
-
};
|
|
324
|
-
ValueConstraint: {
|
|
325
|
-
applicableForAspectName?: string;
|
|
326
|
-
applicableForAspectValues?: string[];
|
|
327
|
-
};
|
|
328
|
-
Violation: {
|
|
329
|
-
aspectsValues?: components["schemas"]["ViolationAspectValues"];
|
|
330
|
-
productAttribute?: components["schemas"]["ViolationProductAttribute"];
|
|
331
|
-
reason?: string;
|
|
332
|
-
violationCode?: string;
|
|
333
|
-
};
|
|
334
|
-
ViolationAspectValues: {
|
|
335
|
-
aspectName?: string;
|
|
336
|
-
values?: string[];
|
|
337
|
-
};
|
|
338
|
-
ViolationProductAttribute: {
|
|
339
|
-
name?: string;
|
|
340
|
-
values?: string[];
|
|
341
|
-
};
|
|
342
92
|
};
|
|
343
93
|
responses: never;
|
|
344
94
|
parameters: never;
|
|
@@ -346,191 +96,27 @@ export interface components {
|
|
|
346
96
|
headers: never;
|
|
347
97
|
pathItems: never;
|
|
348
98
|
}
|
|
349
|
-
export type
|
|
99
|
+
export type external = Record<string, never>;
|
|
350
100
|
export interface operations {
|
|
351
|
-
getChangeRequest: {
|
|
352
|
-
parameters: {
|
|
353
|
-
query?: never;
|
|
354
|
-
header: {
|
|
355
|
-
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
356
|
-
"Accept-Language"?: string;
|
|
357
|
-
};
|
|
358
|
-
path: {
|
|
359
|
-
change_request_id: string;
|
|
360
|
-
};
|
|
361
|
-
cookie?: never;
|
|
362
|
-
};
|
|
363
|
-
requestBody?: never;
|
|
364
|
-
responses: {
|
|
365
|
-
200: {
|
|
366
|
-
headers: {
|
|
367
|
-
[name: string]: unknown;
|
|
368
|
-
};
|
|
369
|
-
content: {
|
|
370
|
-
"application/json": components["schemas"]["ChangeRequest"];
|
|
371
|
-
};
|
|
372
|
-
};
|
|
373
|
-
400: {
|
|
374
|
-
headers: {
|
|
375
|
-
[name: string]: unknown;
|
|
376
|
-
};
|
|
377
|
-
content?: never;
|
|
378
|
-
};
|
|
379
|
-
403: {
|
|
380
|
-
headers: {
|
|
381
|
-
[name: string]: unknown;
|
|
382
|
-
};
|
|
383
|
-
content?: never;
|
|
384
|
-
};
|
|
385
|
-
404: {
|
|
386
|
-
headers: {
|
|
387
|
-
[name: string]: unknown;
|
|
388
|
-
};
|
|
389
|
-
content?: never;
|
|
390
|
-
};
|
|
391
|
-
500: {
|
|
392
|
-
headers: {
|
|
393
|
-
[name: string]: unknown;
|
|
394
|
-
};
|
|
395
|
-
content?: never;
|
|
396
|
-
};
|
|
397
|
-
};
|
|
398
|
-
};
|
|
399
|
-
getChangeRequests: {
|
|
400
|
-
parameters: {
|
|
401
|
-
query?: {
|
|
402
|
-
filter?: string;
|
|
403
|
-
limit?: string;
|
|
404
|
-
offset?: string;
|
|
405
|
-
};
|
|
406
|
-
header: {
|
|
407
|
-
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
408
|
-
"Accept-Language"?: string;
|
|
409
|
-
};
|
|
410
|
-
path?: never;
|
|
411
|
-
cookie?: never;
|
|
412
|
-
};
|
|
413
|
-
requestBody?: never;
|
|
414
|
-
responses: {
|
|
415
|
-
200: {
|
|
416
|
-
headers: {
|
|
417
|
-
[name: string]: unknown;
|
|
418
|
-
};
|
|
419
|
-
content: {
|
|
420
|
-
"application/json": components["schemas"]["GetChangeRequestsResponse"];
|
|
421
|
-
};
|
|
422
|
-
};
|
|
423
|
-
204: {
|
|
424
|
-
headers: {
|
|
425
|
-
[name: string]: unknown;
|
|
426
|
-
};
|
|
427
|
-
content?: never;
|
|
428
|
-
};
|
|
429
|
-
400: {
|
|
430
|
-
headers: {
|
|
431
|
-
[name: string]: unknown;
|
|
432
|
-
};
|
|
433
|
-
content?: never;
|
|
434
|
-
};
|
|
435
|
-
403: {
|
|
436
|
-
headers: {
|
|
437
|
-
[name: string]: unknown;
|
|
438
|
-
};
|
|
439
|
-
content?: never;
|
|
440
|
-
};
|
|
441
|
-
500: {
|
|
442
|
-
headers: {
|
|
443
|
-
[name: string]: unknown;
|
|
444
|
-
};
|
|
445
|
-
content?: never;
|
|
446
|
-
};
|
|
447
|
-
};
|
|
448
|
-
};
|
|
449
|
-
createChangeRequest: {
|
|
450
|
-
parameters: {
|
|
451
|
-
query?: never;
|
|
452
|
-
header: {
|
|
453
|
-
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
454
|
-
"Accept-Language"?: string;
|
|
455
|
-
};
|
|
456
|
-
path?: never;
|
|
457
|
-
cookie?: never;
|
|
458
|
-
};
|
|
459
|
-
requestBody?: {
|
|
460
|
-
content: {
|
|
461
|
-
"application/json": components["schemas"]["CreateChangeRequestPayload"];
|
|
462
|
-
};
|
|
463
|
-
};
|
|
464
|
-
responses: {
|
|
465
|
-
202: {
|
|
466
|
-
headers: {
|
|
467
|
-
[name: string]: unknown;
|
|
468
|
-
};
|
|
469
|
-
content?: never;
|
|
470
|
-
};
|
|
471
|
-
400: {
|
|
472
|
-
headers: {
|
|
473
|
-
[name: string]: unknown;
|
|
474
|
-
};
|
|
475
|
-
content?: never;
|
|
476
|
-
};
|
|
477
|
-
403: {
|
|
478
|
-
headers: {
|
|
479
|
-
[name: string]: unknown;
|
|
480
|
-
};
|
|
481
|
-
content?: never;
|
|
482
|
-
};
|
|
483
|
-
500: {
|
|
484
|
-
headers: {
|
|
485
|
-
[name: string]: unknown;
|
|
486
|
-
};
|
|
487
|
-
content?: never;
|
|
488
|
-
};
|
|
489
|
-
};
|
|
490
|
-
};
|
|
491
101
|
getProduct: {
|
|
492
102
|
parameters: {
|
|
493
|
-
|
|
494
|
-
|
|
103
|
+
header?: {
|
|
104
|
+
"X-EBAY-C-MARKETPLACE-ID"?: string;
|
|
105
|
+
};
|
|
495
106
|
path: {
|
|
496
107
|
epid: string;
|
|
497
108
|
};
|
|
498
|
-
cookie?: never;
|
|
499
109
|
};
|
|
500
|
-
requestBody?: never;
|
|
501
110
|
responses: {
|
|
502
111
|
200: {
|
|
503
|
-
headers: {
|
|
504
|
-
[name: string]: unknown;
|
|
505
|
-
};
|
|
506
112
|
content: {
|
|
507
113
|
"application/json": components["schemas"]["Product"];
|
|
508
114
|
};
|
|
509
115
|
};
|
|
510
|
-
400:
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
content?: never;
|
|
515
|
-
};
|
|
516
|
-
403: {
|
|
517
|
-
headers: {
|
|
518
|
-
[name: string]: unknown;
|
|
519
|
-
};
|
|
520
|
-
content?: never;
|
|
521
|
-
};
|
|
522
|
-
404: {
|
|
523
|
-
headers: {
|
|
524
|
-
[name: string]: unknown;
|
|
525
|
-
};
|
|
526
|
-
content?: never;
|
|
527
|
-
};
|
|
528
|
-
500: {
|
|
529
|
-
headers: {
|
|
530
|
-
[name: string]: unknown;
|
|
531
|
-
};
|
|
532
|
-
content?: never;
|
|
533
|
-
};
|
|
116
|
+
400: never;
|
|
117
|
+
403: never;
|
|
118
|
+
404: never;
|
|
119
|
+
500: never;
|
|
534
120
|
};
|
|
535
121
|
};
|
|
536
122
|
search: {
|
|
@@ -545,131 +131,20 @@ export interface operations {
|
|
|
545
131
|
offset?: string;
|
|
546
132
|
q?: string;
|
|
547
133
|
};
|
|
548
|
-
header?:
|
|
549
|
-
|
|
550
|
-
cookie?: never;
|
|
551
|
-
};
|
|
552
|
-
requestBody?: never;
|
|
553
|
-
responses: {
|
|
554
|
-
200: {
|
|
555
|
-
headers: {
|
|
556
|
-
[name: string]: unknown;
|
|
557
|
-
};
|
|
558
|
-
content: {
|
|
559
|
-
"application/json": components["schemas"]["ProductSearchResponse"];
|
|
560
|
-
};
|
|
561
|
-
};
|
|
562
|
-
204: {
|
|
563
|
-
headers: {
|
|
564
|
-
[name: string]: unknown;
|
|
565
|
-
};
|
|
566
|
-
content?: never;
|
|
567
|
-
};
|
|
568
|
-
400: {
|
|
569
|
-
headers: {
|
|
570
|
-
[name: string]: unknown;
|
|
571
|
-
};
|
|
572
|
-
content?: never;
|
|
573
|
-
};
|
|
574
|
-
403: {
|
|
575
|
-
headers: {
|
|
576
|
-
[name: string]: unknown;
|
|
577
|
-
};
|
|
578
|
-
content?: never;
|
|
579
|
-
};
|
|
580
|
-
500: {
|
|
581
|
-
headers: {
|
|
582
|
-
[name: string]: unknown;
|
|
583
|
-
};
|
|
584
|
-
content?: never;
|
|
134
|
+
header?: {
|
|
135
|
+
"X-EBAY-C-MARKETPLACE-ID"?: string;
|
|
585
136
|
};
|
|
586
137
|
};
|
|
587
|
-
};
|
|
588
|
-
getProductMetadata: {
|
|
589
|
-
parameters: {
|
|
590
|
-
query: {
|
|
591
|
-
epid: string;
|
|
592
|
-
other_applicable_category_ids?: string;
|
|
593
|
-
primary_category_id?: string;
|
|
594
|
-
};
|
|
595
|
-
header: {
|
|
596
|
-
"Accept-Language"?: string;
|
|
597
|
-
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
598
|
-
};
|
|
599
|
-
path?: never;
|
|
600
|
-
cookie?: never;
|
|
601
|
-
};
|
|
602
|
-
requestBody?: never;
|
|
603
138
|
responses: {
|
|
604
139
|
200: {
|
|
605
|
-
headers: {
|
|
606
|
-
[name: string]: unknown;
|
|
607
|
-
};
|
|
608
140
|
content: {
|
|
609
|
-
"application/json": components["schemas"]["
|
|
610
|
-
};
|
|
611
|
-
};
|
|
612
|
-
204: {
|
|
613
|
-
headers: {
|
|
614
|
-
[name: string]: unknown;
|
|
615
|
-
};
|
|
616
|
-
content?: never;
|
|
617
|
-
};
|
|
618
|
-
400: {
|
|
619
|
-
headers: {
|
|
620
|
-
[name: string]: unknown;
|
|
621
|
-
};
|
|
622
|
-
content?: never;
|
|
623
|
-
};
|
|
624
|
-
500: {
|
|
625
|
-
headers: {
|
|
626
|
-
[name: string]: unknown;
|
|
627
|
-
};
|
|
628
|
-
content?: never;
|
|
629
|
-
};
|
|
630
|
-
};
|
|
631
|
-
};
|
|
632
|
-
getProductMetadataForCategories: {
|
|
633
|
-
parameters: {
|
|
634
|
-
query: {
|
|
635
|
-
other_applicable_category_ids?: string;
|
|
636
|
-
primary_category_id: string;
|
|
637
|
-
};
|
|
638
|
-
header: {
|
|
639
|
-
"Accept-Language"?: string;
|
|
640
|
-
"X-EBAY-C-MARKETPLACE-ID": string;
|
|
641
|
-
};
|
|
642
|
-
path?: never;
|
|
643
|
-
cookie?: never;
|
|
644
|
-
};
|
|
645
|
-
requestBody?: never;
|
|
646
|
-
responses: {
|
|
647
|
-
200: {
|
|
648
|
-
headers: {
|
|
649
|
-
[name: string]: unknown;
|
|
650
|
-
};
|
|
651
|
-
content: {
|
|
652
|
-
"application/json": components["schemas"]["ProductMetadataForCategories"];
|
|
653
|
-
};
|
|
654
|
-
};
|
|
655
|
-
204: {
|
|
656
|
-
headers: {
|
|
657
|
-
[name: string]: unknown;
|
|
658
|
-
};
|
|
659
|
-
content?: never;
|
|
660
|
-
};
|
|
661
|
-
400: {
|
|
662
|
-
headers: {
|
|
663
|
-
[name: string]: unknown;
|
|
664
|
-
};
|
|
665
|
-
content?: never;
|
|
666
|
-
};
|
|
667
|
-
500: {
|
|
668
|
-
headers: {
|
|
669
|
-
[name: string]: unknown;
|
|
141
|
+
"application/json": components["schemas"]["ProductSearchResponse"];
|
|
670
142
|
};
|
|
671
|
-
content?: never;
|
|
672
143
|
};
|
|
144
|
+
204: never;
|
|
145
|
+
400: never;
|
|
146
|
+
403: never;
|
|
147
|
+
500: never;
|
|
673
148
|
};
|
|
674
149
|
};
|
|
675
150
|
}
|