ebay-api 9.4.0 → 9.4.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.
Files changed (160) hide show
  1. package/README.md +1 -1
  2. package/dist/api/apiFactory.js +5 -5
  3. package/dist/api/restful/buy/browse/index.js +9 -9
  4. package/dist/api/restful/buy/deal/index.js +3 -3
  5. package/dist/api/restful/buy/feed/index.js +4 -4
  6. package/dist/api/restful/buy/marketing/index.js +3 -3
  7. package/dist/api/restful/buy/marketplaceInsights/index.d.ts +1 -1
  8. package/dist/api/restful/buy/marketplaceInsights/index.js +3 -3
  9. package/dist/api/restful/buy/order/index.js +3 -3
  10. package/dist/api/restful/commerce/catalog/index.js +4 -4
  11. package/dist/api/restful/commerce/charity/index.js +2 -2
  12. package/dist/api/restful/commerce/identity/index.js +1 -1
  13. package/dist/api/restful/commerce/message/index.js +6 -6
  14. package/dist/api/restful/commerce/notification/index.js +7 -7
  15. package/dist/api/restful/commerce/taxonomy/index.d.ts +1 -1
  16. package/dist/api/restful/commerce/taxonomy/index.js +4 -3
  17. package/dist/api/restful/commerce/translation/index.js +1 -1
  18. package/dist/api/restful/developer/analytics/index.js +2 -2
  19. package/dist/api/restful/developer/keyManagement/index.js +2 -2
  20. package/dist/api/restful/index.js +1 -1
  21. package/dist/api/restful/postOrder/cancellation/index.js +3 -3
  22. package/dist/api/restful/postOrder/case/index.js +1 -1
  23. package/dist/api/restful/postOrder/inquiry/index.js +3 -3
  24. package/dist/api/restful/postOrder/return/index.js +7 -7
  25. package/dist/api/restful/sell/account/v1.js +21 -21
  26. package/dist/api/restful/sell/account/v2.js +1 -1
  27. package/dist/api/restful/sell/analytics/index.js +2 -2
  28. package/dist/api/restful/sell/compliance/index.js +3 -3
  29. package/dist/api/restful/sell/feed/index.d.ts +3 -3
  30. package/dist/api/restful/sell/feed/index.js +16 -16
  31. package/dist/api/restful/sell/finances/index.d.ts +3 -3
  32. package/dist/api/restful/sell/finances/index.js +14 -14
  33. package/dist/api/restful/sell/fulfillment/index.d.ts +1 -1
  34. package/dist/api/restful/sell/fulfillment/index.js +4 -4
  35. package/dist/api/restful/sell/inventory/index.d.ts +3 -3
  36. package/dist/api/restful/sell/inventory/index.js +22 -22
  37. package/dist/api/restful/sell/listing/index.js +1 -1
  38. package/dist/api/restful/sell/logistics/index.js +2 -2
  39. package/dist/api/restful/sell/marketing/index.js +21 -21
  40. package/dist/api/restful/sell/negotiation/index.js +2 -2
  41. package/dist/api/restful/sell/recommendation/index.js +1 -1
  42. package/dist/api/traditional/XMLRequest.d.ts +1 -3
  43. package/dist/api/traditional/XMLRequest.js +2 -4
  44. package/dist/auth/oAuth2.js +1 -1
  45. package/dist/ebay-api.min.mjs +1 -1
  46. package/dist/errors/index.js +2 -2
  47. package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +561 -111
  48. package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +171 -30
  49. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +200 -28
  50. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +114 -20
  51. package/dist/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +52 -17
  52. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +84 -12
  53. package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +1478 -179
  54. package/dist/types/restful/specs/cancellation_oas3.d.ts +179 -9
  55. package/dist/types/restful/specs/case_oas3.d.ts +173 -9
  56. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +323 -75
  57. package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +110 -13
  58. package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +39 -6
  59. package/dist/types/restful/specs/commerce_media_v1_beta_oas3.d.ts +150 -23
  60. package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +623 -72
  61. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +339 -45
  62. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +40 -8
  63. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +67 -11
  64. package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +134 -18
  65. package/dist/types/restful/specs/inquiry_oas3.d.ts +271 -13
  66. package/dist/types/restful/specs/return_oas3.d.ts +761 -35
  67. package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +1503 -187
  68. package/dist/types/restful/specs/sell_account_v2_oas3.d.ts +155 -21
  69. package/dist/types/restful/specs/sell_analytics_v1_oas3.d.ts +174 -32
  70. package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +128 -21
  71. package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +880 -103
  72. package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +261 -28
  73. package/dist/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +618 -98
  74. package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +1257 -210
  75. package/dist/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +38 -9
  76. package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +255 -36
  77. package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +3201 -435
  78. package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +361 -63
  79. package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +82 -14
  80. package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +43 -10
  81. package/lib/api/apiFactory.js +4 -4
  82. package/lib/api/restful/buy/browse/index.js +9 -9
  83. package/lib/api/restful/buy/deal/index.js +3 -3
  84. package/lib/api/restful/buy/feed/index.js +4 -4
  85. package/lib/api/restful/buy/marketing/index.js +3 -3
  86. package/lib/api/restful/buy/marketplaceInsights/index.d.ts +1 -1
  87. package/lib/api/restful/buy/marketplaceInsights/index.js +3 -3
  88. package/lib/api/restful/buy/order/index.js +3 -3
  89. package/lib/api/restful/commerce/catalog/index.js +4 -4
  90. package/lib/api/restful/commerce/charity/index.js +2 -2
  91. package/lib/api/restful/commerce/identity/index.js +1 -1
  92. package/lib/api/restful/commerce/message/index.js +6 -6
  93. package/lib/api/restful/commerce/notification/index.js +7 -7
  94. package/lib/api/restful/commerce/taxonomy/index.d.ts +1 -1
  95. package/lib/api/restful/commerce/taxonomy/index.js +4 -3
  96. package/lib/api/restful/commerce/translation/index.js +1 -1
  97. package/lib/api/restful/developer/analytics/index.js +2 -2
  98. package/lib/api/restful/developer/keyManagement/index.js +2 -2
  99. package/lib/api/restful/index.js +1 -1
  100. package/lib/api/restful/postOrder/cancellation/index.js +3 -3
  101. package/lib/api/restful/postOrder/case/index.js +1 -1
  102. package/lib/api/restful/postOrder/inquiry/index.js +3 -3
  103. package/lib/api/restful/postOrder/return/index.js +7 -7
  104. package/lib/api/restful/sell/account/v1.js +21 -21
  105. package/lib/api/restful/sell/account/v2.js +1 -1
  106. package/lib/api/restful/sell/analytics/index.js +2 -2
  107. package/lib/api/restful/sell/compliance/index.js +3 -3
  108. package/lib/api/restful/sell/feed/index.d.ts +3 -3
  109. package/lib/api/restful/sell/feed/index.js +16 -16
  110. package/lib/api/restful/sell/finances/index.d.ts +3 -3
  111. package/lib/api/restful/sell/finances/index.js +14 -14
  112. package/lib/api/restful/sell/fulfillment/index.d.ts +1 -1
  113. package/lib/api/restful/sell/fulfillment/index.js +4 -4
  114. package/lib/api/restful/sell/inventory/index.d.ts +3 -3
  115. package/lib/api/restful/sell/inventory/index.js +22 -22
  116. package/lib/api/restful/sell/listing/index.js +1 -1
  117. package/lib/api/restful/sell/logistics/index.js +2 -2
  118. package/lib/api/restful/sell/marketing/index.js +21 -21
  119. package/lib/api/restful/sell/negotiation/index.js +2 -2
  120. package/lib/api/restful/sell/recommendation/index.js +1 -1
  121. package/lib/api/traditional/XMLRequest.d.ts +1 -3
  122. package/lib/api/traditional/XMLRequest.js +2 -4
  123. package/lib/auth/oAuth2.js +1 -1
  124. package/lib/ebay-api.min.js +2 -2
  125. package/lib/errors/index.js +2 -2
  126. package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +561 -111
  127. package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +171 -30
  128. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +200 -28
  129. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +114 -20
  130. package/lib/types/restful/specs/buy_marketplace_insights_v1_beta_oas3.d.ts +52 -17
  131. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +84 -12
  132. package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +1478 -179
  133. package/lib/types/restful/specs/cancellation_oas3.d.ts +179 -9
  134. package/lib/types/restful/specs/case_oas3.d.ts +173 -9
  135. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +323 -75
  136. package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +110 -13
  137. package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +39 -6
  138. package/lib/types/restful/specs/commerce_media_v1_beta_oas3.d.ts +150 -23
  139. package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +623 -72
  140. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +339 -45
  141. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +40 -8
  142. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +67 -11
  143. package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +134 -18
  144. package/lib/types/restful/specs/inquiry_oas3.d.ts +271 -13
  145. package/lib/types/restful/specs/return_oas3.d.ts +761 -35
  146. package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +1503 -187
  147. package/lib/types/restful/specs/sell_account_v2_oas3.d.ts +155 -21
  148. package/lib/types/restful/specs/sell_analytics_v1_oas3.d.ts +174 -32
  149. package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +128 -21
  150. package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +880 -103
  151. package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +261 -28
  152. package/lib/types/restful/specs/sell_fulfillment_v1_oas3.d.ts +618 -98
  153. package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +1257 -210
  154. package/lib/types/restful/specs/sell_listing_v1_beta_oas3.d.ts +38 -9
  155. package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +255 -36
  156. package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +3201 -435
  157. package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +361 -63
  158. package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +82 -14
  159. package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +43 -10
  160. package/package.json +10 -9
@@ -1,15 +1,67 @@
1
1
  export interface paths {
2
2
  "/deal_item": {
3
+ parameters: {
4
+ query?: never;
5
+ header?: never;
6
+ path?: never;
7
+ cookie?: never;
8
+ };
3
9
  get: operations["getDealItems"];
10
+ put?: never;
11
+ post?: never;
12
+ delete?: never;
13
+ options?: never;
14
+ head?: never;
15
+ patch?: never;
16
+ trace?: never;
4
17
  };
5
18
  "/event/{event_id}": {
19
+ parameters: {
20
+ query?: never;
21
+ header?: never;
22
+ path?: never;
23
+ cookie?: never;
24
+ };
6
25
  get: operations["getEvent"];
26
+ put?: never;
27
+ post?: never;
28
+ delete?: never;
29
+ options?: never;
30
+ head?: never;
31
+ patch?: never;
32
+ trace?: never;
7
33
  };
8
34
  "/event": {
35
+ parameters: {
36
+ query?: never;
37
+ header?: never;
38
+ path?: never;
39
+ cookie?: never;
40
+ };
9
41
  get: operations["getEvents"];
42
+ put?: never;
43
+ post?: never;
44
+ delete?: never;
45
+ options?: never;
46
+ head?: never;
47
+ patch?: never;
48
+ trace?: never;
10
49
  };
11
50
  "/event_item": {
51
+ parameters: {
52
+ query?: never;
53
+ header?: never;
54
+ path?: never;
55
+ cookie?: never;
56
+ };
12
57
  get: operations["getEventItems"];
58
+ put?: never;
59
+ post?: never;
60
+ delete?: never;
61
+ options?: never;
62
+ head?: never;
63
+ patch?: never;
64
+ trace?: never;
13
65
  };
14
66
  }
15
67
  export type webhooks = Record<string, never>;
@@ -24,8 +76,8 @@ export interface components {
24
76
  terms?: components["schemas"]["Terms"];
25
77
  };
26
78
  DealItem: {
27
- additionalImages?: (components["schemas"]["Image"])[];
28
- categoryAncestorIds?: (string)[];
79
+ additionalImages?: components["schemas"]["Image"][];
80
+ categoryAncestorIds?: string[];
29
81
  categoryId?: string;
30
82
  commissionable?: boolean;
31
83
  dealAffiliateWebUrl?: string;
@@ -42,14 +94,14 @@ export interface components {
42
94
  legacyItemId?: string;
43
95
  marketingPrice?: components["schemas"]["MarketingPrice"];
44
96
  price?: components["schemas"]["Amount"];
45
- qualifiedPrograms?: (string)[];
46
- shippingOptions?: (components["schemas"]["ShippingOption"])[];
97
+ qualifiedPrograms?: string[];
98
+ shippingOptions?: components["schemas"]["ShippingOption"][];
47
99
  title?: string;
48
100
  unitPrice?: components["schemas"]["Amount"];
49
101
  unitPricingMeasure?: string;
50
102
  };
51
103
  DealItemSearchResponse: {
52
- dealItems?: (components["schemas"]["DealItem"])[];
104
+ dealItems?: components["schemas"]["DealItem"][];
53
105
  href?: string;
54
106
  limit?: number;
55
107
  next?: string;
@@ -61,11 +113,11 @@ export interface components {
61
113
  category?: string;
62
114
  domain?: string;
63
115
  errorId?: number;
64
- inputRefIds?: (string)[];
116
+ inputRefIds?: string[];
65
117
  longMessage?: string;
66
118
  message?: string;
67
- outputRefIds?: (string)[];
68
- parameters?: (components["schemas"]["ErrorParameter"])[];
119
+ outputRefIds?: string[];
120
+ parameters?: components["schemas"]["ErrorParameter"][];
69
121
  subdomain?: string;
70
122
  };
71
123
  ErrorParameter: {
@@ -73,20 +125,20 @@ export interface components {
73
125
  value?: string;
74
126
  };
75
127
  Event: {
76
- applicableCoupons?: (components["schemas"]["Coupon"])[];
128
+ applicableCoupons?: components["schemas"]["Coupon"][];
77
129
  description?: string;
78
130
  endDate?: string;
79
131
  eventAffiliateWebUrl?: string;
80
132
  eventId?: string;
81
133
  eventWebUrl?: string;
82
- images?: (components["schemas"]["Image"])[];
134
+ images?: components["schemas"]["Image"][];
83
135
  startDate?: string;
84
136
  terms?: components["schemas"]["Terms"];
85
137
  title?: string;
86
138
  };
87
139
  EventItem: {
88
- additionalImages?: (components["schemas"]["Image"])[];
89
- categoryAncestorIds?: (string)[];
140
+ additionalImages?: components["schemas"]["Image"][];
141
+ categoryAncestorIds?: string[];
90
142
  categoryId?: string;
91
143
  energyEfficiencyClass?: string;
92
144
  eventId?: string;
@@ -99,14 +151,14 @@ export interface components {
99
151
  legacyItemId?: string;
100
152
  marketingPrice?: components["schemas"]["MarketingPrice"];
101
153
  price?: components["schemas"]["Amount"];
102
- qualifiedPrograms?: (string)[];
103
- shippingOptions?: (components["schemas"]["ShippingOption"])[];
154
+ qualifiedPrograms?: string[];
155
+ shippingOptions?: components["schemas"]["ShippingOption"][];
104
156
  title?: string;
105
157
  unitPrice?: components["schemas"]["Amount"];
106
158
  unitPricingMeasure?: string;
107
159
  };
108
160
  EventItemSearchResponse: {
109
- eventItems?: (components["schemas"]["EventItem"])[];
161
+ eventItems?: components["schemas"]["EventItem"][];
110
162
  href?: string;
111
163
  limit?: number;
112
164
  next?: string;
@@ -115,7 +167,7 @@ export interface components {
115
167
  total?: number;
116
168
  };
117
169
  EventSearchResponse: {
118
- events?: (components["schemas"]["Event"])[];
170
+ events?: components["schemas"]["Event"][];
119
171
  href?: string;
120
172
  limit?: number;
121
173
  next?: string;
@@ -150,7 +202,7 @@ export interface components {
150
202
  headers: never;
151
203
  pathItems: never;
152
204
  }
153
- export type external = Record<string, never>;
205
+ export type $defs = Record<string, never>;
154
206
  export interface operations {
155
207
  getDealItems: {
156
208
  parameters: {
@@ -164,37 +216,84 @@ export interface operations {
164
216
  header: {
165
217
  "X-EBAY-C-MARKETPLACE-ID": string;
166
218
  };
219
+ path?: never;
220
+ cookie?: never;
167
221
  };
222
+ requestBody?: never;
168
223
  responses: {
169
224
  200: {
225
+ headers: {
226
+ [name: string]: unknown;
227
+ };
170
228
  content: {
171
229
  "application/json": components["schemas"]["DealItemSearchResponse"];
172
230
  };
173
231
  };
174
- 400: never;
175
- 403: never;
176
- 500: never;
232
+ 400: {
233
+ headers: {
234
+ [name: string]: unknown;
235
+ };
236
+ content?: never;
237
+ };
238
+ 403: {
239
+ headers: {
240
+ [name: string]: unknown;
241
+ };
242
+ content?: never;
243
+ };
244
+ 500: {
245
+ headers: {
246
+ [name: string]: unknown;
247
+ };
248
+ content?: never;
249
+ };
177
250
  };
178
251
  };
179
252
  getEvent: {
180
253
  parameters: {
254
+ query?: never;
181
255
  header: {
182
256
  "X-EBAY-C-MARKETPLACE-ID": string;
183
257
  };
184
258
  path: {
185
259
  event_id: string;
186
260
  };
261
+ cookie?: never;
187
262
  };
263
+ requestBody?: never;
188
264
  responses: {
189
265
  200: {
266
+ headers: {
267
+ [name: string]: unknown;
268
+ };
190
269
  content: {
191
270
  "application/json": components["schemas"]["Event"];
192
271
  };
193
272
  };
194
- 400: never;
195
- 403: never;
196
- 404: never;
197
- 500: never;
273
+ 400: {
274
+ headers: {
275
+ [name: string]: unknown;
276
+ };
277
+ content?: never;
278
+ };
279
+ 403: {
280
+ headers: {
281
+ [name: string]: unknown;
282
+ };
283
+ content?: never;
284
+ };
285
+ 404: {
286
+ headers: {
287
+ [name: string]: unknown;
288
+ };
289
+ content?: never;
290
+ };
291
+ 500: {
292
+ headers: {
293
+ [name: string]: unknown;
294
+ };
295
+ content?: never;
296
+ };
198
297
  };
199
298
  };
200
299
  getEvents: {
@@ -206,16 +305,37 @@ export interface operations {
206
305
  header: {
207
306
  "X-EBAY-C-MARKETPLACE-ID": string;
208
307
  };
308
+ path?: never;
309
+ cookie?: never;
209
310
  };
311
+ requestBody?: never;
210
312
  responses: {
211
313
  200: {
314
+ headers: {
315
+ [name: string]: unknown;
316
+ };
212
317
  content: {
213
318
  "application/json": components["schemas"]["EventSearchResponse"];
214
319
  };
215
320
  };
216
- 400: never;
217
- 403: never;
218
- 500: never;
321
+ 400: {
322
+ headers: {
323
+ [name: string]: unknown;
324
+ };
325
+ content?: never;
326
+ };
327
+ 403: {
328
+ headers: {
329
+ [name: string]: unknown;
330
+ };
331
+ content?: never;
332
+ };
333
+ 500: {
334
+ headers: {
335
+ [name: string]: unknown;
336
+ };
337
+ content?: never;
338
+ };
219
339
  };
220
340
  };
221
341
  getEventItems: {
@@ -230,16 +350,37 @@ export interface operations {
230
350
  header: {
231
351
  "X-EBAY-C-MARKETPLACE-ID": string;
232
352
  };
353
+ path?: never;
354
+ cookie?: never;
233
355
  };
356
+ requestBody?: never;
234
357
  responses: {
235
358
  200: {
359
+ headers: {
360
+ [name: string]: unknown;
361
+ };
236
362
  content: {
237
363
  "application/json": components["schemas"]["EventItemSearchResponse"];
238
364
  };
239
365
  };
240
- 400: never;
241
- 403: never;
242
- 500: never;
366
+ 400: {
367
+ headers: {
368
+ [name: string]: unknown;
369
+ };
370
+ content?: never;
371
+ };
372
+ 403: {
373
+ headers: {
374
+ [name: string]: unknown;
375
+ };
376
+ content?: never;
377
+ };
378
+ 500: {
379
+ headers: {
380
+ [name: string]: unknown;
381
+ };
382
+ content?: never;
383
+ };
243
384
  };
244
385
  };
245
386
  }