ebay-api 9.4.4 → 9.5.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 +25 -2
- package/dist/api/traditional/XMLRequest.d.ts +7 -1
- package/dist/api/traditional/XMLRequest.js +9 -9
- package/dist/api/traditional/index.js +14 -1
- package/dist/ebay-api.min.mjs +1 -1
- package/dist/types/apiTypes.d.ts +2 -0
- package/dist/types/traditional/get-seller-list-response.d.ts +10 -5
- package/lib/api/traditional/XMLRequest.d.ts +7 -1
- package/lib/api/traditional/XMLRequest.js +9 -9
- package/lib/api/traditional/index.js +14 -1
- package/lib/ebay-api.min.js +1 -1
- package/lib/types/apiTypes.d.ts +2 -0
- package/lib/types/traditional/get-seller-list-response.d.ts +10 -5
- package/package.json +1 -1
package/lib/types/apiTypes.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { X2jOptions } from 'fast-xml-parser';
|
|
2
3
|
import { Locale, MarketplaceId, SiteId } from '../enums/index.js';
|
|
3
4
|
export type Scope = string[];
|
|
4
5
|
export type Keyset = {
|
|
@@ -31,6 +32,7 @@ export type eBayConfig = Keyset & {
|
|
|
31
32
|
export type ApiConfig = {
|
|
32
33
|
autoRefreshToken?: boolean;
|
|
33
34
|
axiosConfig?: AxiosRequestConfig;
|
|
35
|
+
parseOptions?: X2jOptions;
|
|
34
36
|
};
|
|
35
37
|
export type Headers = Record<string, string | number | undefined>;
|
|
36
38
|
export type ApiRequestConfig = {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { AddressType, CountryCodeType, CurrencyCodeType, DaysCodeType, StandardOutputFields } from './common.js';
|
|
2
2
|
export interface GetSellerListResponse extends StandardOutputFields {
|
|
3
|
+
HasMoreItems?: boolean;
|
|
3
4
|
ItemArray: {
|
|
4
|
-
Item?: {
|
|
5
|
+
Item?: Array<{
|
|
5
6
|
ApplicationData?: string;
|
|
6
7
|
AutoPay?: boolean;
|
|
7
8
|
BuyItNowPrice?: number | {
|
|
@@ -414,7 +415,7 @@ export interface GetSellerListResponse extends StandardOutputFields {
|
|
|
414
415
|
WatchCount?: bigint;
|
|
415
416
|
eBayPlus?: boolean;
|
|
416
417
|
eBayPlusEligible?: boolean;
|
|
417
|
-
}
|
|
418
|
+
}>;
|
|
418
419
|
};
|
|
419
420
|
ItemsPerPage: number;
|
|
420
421
|
PageNumber: number;
|
|
@@ -427,8 +428,9 @@ export interface GetSellerListResponse extends StandardOutputFields {
|
|
|
427
428
|
AboutMePage: boolean;
|
|
428
429
|
Email?: string;
|
|
429
430
|
FeedbackPrivate: boolean;
|
|
430
|
-
FeedbackRatingStar
|
|
431
|
+
FeedbackRatingStar?: 'Blue' | 'CustomCode' | 'Green' | 'GreenShooting' | 'None' | 'Purple' | 'PurpleShooting' | 'Red' | 'RedShooting' | 'SilverShooting' | 'Turquoise' | 'TurquoiseShooting' | 'Yellow' | 'YellowShooting';
|
|
431
432
|
FeedbackScore: number;
|
|
433
|
+
PositiveFeedbackPercent?: number;
|
|
432
434
|
IDVerified: boolean;
|
|
433
435
|
NewUser: boolean;
|
|
434
436
|
RegistrationDate: string;
|
|
@@ -437,20 +439,23 @@ export interface GetSellerListResponse extends StandardOutputFields {
|
|
|
437
439
|
CIPBankAccountStored: boolean;
|
|
438
440
|
CheckoutEnabled: boolean;
|
|
439
441
|
GoodStanding: boolean;
|
|
442
|
+
LiveAuctionAuthorized?: boolean;
|
|
443
|
+
MerchandizingPref?: string;
|
|
440
444
|
QualifiesForB2BVAT: boolean;
|
|
441
445
|
SafePaymentExempt: boolean;
|
|
442
|
-
SellerLevel
|
|
446
|
+
SellerLevel?: 'Bronze' | 'CustomCode' | 'Gold' | 'None' | 'Platinum' | 'Silver' | 'Titanium';
|
|
443
447
|
StoreOwner?: boolean;
|
|
444
448
|
StoreURL?: string;
|
|
445
449
|
TopRatedSeller?: boolean;
|
|
446
450
|
};
|
|
447
451
|
Site: 'Australia' | 'Austria' | 'Belgium_Dutch' | 'Belgium_French' | 'Canada' | 'CanadaFrench' | 'CustomCode' | 'Cyprus' | 'Czechia' | 'eBayMotors' | 'France' | 'Germany' | 'HongKong' | 'India' | 'Ireland' | 'Italy' | 'Malaysia' | 'Netherlands' | 'Philippines' | 'Poland' | 'Russia' | 'Singapore' | 'Spain' | 'Switzerland' | 'UK' | 'US';
|
|
448
452
|
Status: 'AccountOnHold' | 'Confirmed' | 'CreditCardVerify' | 'CustomCode' | 'Deleted' | 'Ghost' | 'Guest' | 'InMaintenance' | 'Merged' | 'RegistrationCodeMailOut' | 'Suspended' | 'TermPending' | 'Unconfirmed' | 'Unknown';
|
|
449
|
-
UserAnonymized
|
|
453
|
+
UserAnonymized?: boolean;
|
|
450
454
|
UserID: string;
|
|
451
455
|
UserIDChanged: boolean;
|
|
452
456
|
UserIDLastChanged: string;
|
|
453
457
|
VATStatus: 'CustomCode' | 'NoVATTax' | 'VATExempt' | 'VATTax';
|
|
454
458
|
eBayGoodStanding: boolean;
|
|
459
|
+
MotorsDealer?: boolean;
|
|
455
460
|
};
|
|
456
461
|
}
|