ebay-api 9.2.2 → 9.3.0
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 +103 -80
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/traditional/add-fixed-price-item-response.d.ts +30 -0
- package/dist/types/traditional/add-fixed-price-item-response.js +1 -0
- package/dist/types/traditional/add-item-response.d.ts +29 -0
- package/dist/types/traditional/add-item-response.js +1 -0
- package/dist/types/traditional/add-items-response.d.ts +37 -0
- package/dist/types/traditional/add-items-response.js +1 -0
- package/dist/types/traditional/add-member-message-a-a-q-to-partner-response.d.ts +3 -0
- package/dist/types/traditional/add-member-message-a-a-q-to-partner-response.js +1 -0
- package/dist/types/traditional/add-member-message-r-t-q-response.d.ts +3 -0
- package/dist/types/traditional/add-member-message-r-t-q-response.js +1 -0
- package/dist/types/traditional/add-member-messages-a-a-q-to-bidder-response.d.ts +7 -0
- package/dist/types/traditional/add-member-messages-a-a-q-to-bidder-response.js +1 -0
- package/dist/types/traditional/add-order-response.d.ts +4 -0
- package/dist/types/traditional/add-order-response.js +1 -0
- package/dist/types/traditional/add-second-chance-item-response.d.ts +5 -0
- package/dist/types/traditional/add-second-chance-item-response.js +1 -0
- package/dist/types/traditional/add-to-item-description-response.d.ts +9 -0
- package/dist/types/traditional/add-to-item-description-response.js +1 -0
- package/dist/types/traditional/add-to-watch-list-response.d.ts +4 -0
- package/dist/types/traditional/add-to-watch-list-response.js +1 -0
- package/dist/types/traditional/common.d.ts +58 -0
- package/dist/types/traditional/common.js +1 -0
- package/dist/types/traditional/complete-sale-response.d.ts +3 -0
- package/dist/types/traditional/complete-sale-response.js +1 -0
- package/dist/types/traditional/delete-my-messages-response.d.ts +3 -0
- package/dist/types/traditional/delete-my-messages-response.js +1 -0
- package/dist/types/traditional/end-fixed-price-item-response.d.ts +4 -0
- package/dist/types/traditional/end-fixed-price-item-response.js +1 -0
- package/dist/types/traditional/end-items-response.d.ts +17 -0
- package/dist/types/traditional/end-items-response.js +1 -0
- package/dist/types/traditional/fetch-token-response.d.ts +5 -0
- package/dist/types/traditional/fetch-token-response.js +1 -0
- package/dist/types/traditional/get-account-response.d.ts +114 -0
- package/dist/types/traditional/get-account-response.js +1 -0
- package/dist/types/traditional/get-ad-format-leads-response.d.ts +41 -0
- package/dist/types/traditional/get-ad-format-leads-response.js +1 -0
- package/dist/types/traditional/get-all-bidders-response.d.ts +75 -0
- package/dist/types/traditional/get-all-bidders-response.js +1 -0
- package/dist/types/traditional/get-best-offers-response.d.ts +79 -0
- package/dist/types/traditional/get-best-offers-response.js +1 -0
- package/dist/types/traditional/get-bidder-list-response.d.ts +292 -0
- package/dist/types/traditional/get-bidder-list-response.js +1 -0
- package/dist/types/traditional/get-categories-response.d.ts +26 -0
- package/dist/types/traditional/get-categories-response.js +1 -0
- package/dist/types/traditional/get-category-features-response.d.ts +494 -0
- package/dist/types/traditional/get-category-features-response.js +1 -0
- package/dist/types/traditional/get-description-templates-response.d.ts +21 -0
- package/dist/types/traditional/get-description-templates-response.js +1 -0
- package/dist/types/traditional/get-feedback-response.d.ts +101 -0
- package/dist/types/traditional/get-feedback-response.js +1 -0
- package/dist/types/traditional/get-item-response.d.ts +855 -0
- package/dist/types/traditional/get-item-response.js +1 -0
- package/dist/types/traditional/get-items-awaiting-feedback-response.d.ts +66 -0
- package/dist/types/traditional/get-items-awaiting-feedback-response.js +1 -0
- package/dist/types/traditional/get-member-messages-response.d.ts +47 -0
- package/dist/types/traditional/get-member-messages-response.js +1 -0
- package/dist/types/traditional/get-message-preferences-response.d.ts +6 -0
- package/dist/types/traditional/get-message-preferences-response.js +1 -0
- package/dist/types/traditional/get-my-messages-response.d.ts +53 -0
- package/dist/types/traditional/get-my-messages-response.js +1 -0
- package/dist/types/traditional/get-seller-list-response.d.ts +456 -0
- package/dist/types/traditional/get-seller-list-response.js +1 -0
- package/dist/types/traditional/get-seller-transactions-response.d.ts +499 -0
- package/dist/types/traditional/get-seller-transactions-response.js +1 -0
- package/dist/types/traditional/get-shipping-discount-profiles-response.d.ts +63 -0
- package/dist/types/traditional/get-shipping-discount-profiles-response.js +1 -0
- package/dist/types/traditional/get-store-response.d.ts +31 -0
- package/dist/types/traditional/get-store-response.js +1 -0
- package/dist/types/traditional/get-tax-table-response.d.ts +10 -0
- package/dist/types/traditional/get-tax-table-response.js +1 -0
- package/dist/types/traditional/get-token-status-response.d.ts +9 -0
- package/dist/types/traditional/get-token-status-response.js +1 -0
- package/dist/types/traditional/get-user-contact-details-response.d.ts +13 -0
- package/dist/types/traditional/get-user-contact-details-response.js +1 -0
- package/dist/types/traditional/get-user-preferences-response.d.ts +91 -0
- package/dist/types/traditional/get-user-preferences-response.js +1 -0
- package/dist/types/traditional/get-user-response.d.ts +111 -0
- package/dist/types/traditional/get-user-response.js +1 -0
- package/dist/types/traditional/get-ve-r-o-reason-code-details-response.d.ts +12 -0
- package/dist/types/traditional/get-ve-r-o-reason-code-details-response.js +1 -0
- package/dist/types/traditional/get-ve-r-o-report-status-response.d.ts +18 -0
- package/dist/types/traditional/get-ve-r-o-report-status-response.js +1 -0
- package/dist/types/traditional/gete-bay-details-response.d.ts +230 -0
- package/dist/types/traditional/gete-bay-details-response.js +1 -0
- package/dist/types/traditional/index.d.ts +68 -0
- package/dist/types/traditional/index.js +68 -0
- package/dist/types/traditional/place-offer-response.d.ts +33 -0
- package/dist/types/traditional/place-offer-response.js +1 -0
- package/dist/types/traditional/relist-fixed-price-item-response.d.ts +30 -0
- package/dist/types/traditional/relist-fixed-price-item-response.js +1 -0
- package/dist/types/traditional/relist-item-response.d.ts +29 -0
- package/dist/types/traditional/relist-item-response.js +1 -0
- package/dist/types/traditional/remove-from-watch-list-response.d.ts +4 -0
- package/dist/types/traditional/remove-from-watch-list-response.js +1 -0
- package/dist/types/traditional/respond-to-best-offer-response.d.ts +8 -0
- package/dist/types/traditional/respond-to-best-offer-response.js +1 -0
- package/dist/types/traditional/respond-to-feedback-response.d.ts +3 -0
- package/dist/types/traditional/respond-to-feedback-response.js +1 -0
- package/dist/types/traditional/revise-fixed-price-item-response.d.ts +30 -0
- package/dist/types/traditional/revise-fixed-price-item-response.js +1 -0
- package/dist/types/traditional/revise-inventory-status-response.d.ts +21 -0
- package/dist/types/traditional/revise-inventory-status-response.js +1 -0
- package/dist/types/traditional/revise-item-response.d.ts +30 -0
- package/dist/types/traditional/revise-item-response.js +1 -0
- package/dist/types/traditional/revise-my-messages-folders-response.d.ts +3 -0
- package/dist/types/traditional/revise-my-messages-folders-response.js +1 -0
- package/dist/types/traditional/revise-my-messages-response.d.ts +3 -0
- package/dist/types/traditional/revise-my-messages-response.js +1 -0
- package/dist/types/traditional/revoke-token-response.d.ts +3 -0
- package/dist/types/traditional/revoke-token-response.js +1 -0
- package/dist/types/traditional/send-invoice-response.d.ts +3 -0
- package/dist/types/traditional/send-invoice-response.js +1 -0
- package/dist/types/traditional/set-message-preferences-response.d.ts +3 -0
- package/dist/types/traditional/set-message-preferences-response.js +1 -0
- package/dist/types/traditional/set-notification-preferences-response.d.ts +3 -0
- package/dist/types/traditional/set-notification-preferences-response.js +1 -0
- package/dist/types/traditional/set-shipping-discount-profiles-response.d.ts +3 -0
- package/dist/types/traditional/set-shipping-discount-profiles-response.js +1 -0
- package/dist/types/traditional/set-store-categories-response.d.ts +5 -0
- package/dist/types/traditional/set-store-categories-response.js +1 -0
- package/dist/types/traditional/set-tax-table-response.d.ts +3 -0
- package/dist/types/traditional/set-tax-table-response.js +1 -0
- package/dist/types/traditional/set-user-notes-response.d.ts +3 -0
- package/dist/types/traditional/set-user-notes-response.js +1 -0
- package/dist/types/traditional/set-user-preferences-response.d.ts +3 -0
- package/dist/types/traditional/set-user-preferences-response.js +1 -0
- package/dist/types/traditional/upload-site-hosted-pictures-response.d.ts +17 -0
- package/dist/types/traditional/upload-site-hosted-pictures-response.js +1 -0
- package/dist/types/traditional/ve-r-o-report-items-response.d.ts +4 -0
- package/dist/types/traditional/ve-r-o-report-items-response.js +1 -0
- package/dist/types/traditional/verify-add-fixed-price-item-response.d.ts +20 -0
- package/dist/types/traditional/verify-add-fixed-price-item-response.js +1 -0
- package/dist/types/traditional/verify-add-item-response.d.ts +27 -0
- package/dist/types/traditional/verify-add-item-response.js +1 -0
- package/dist/types/traditional/verify-add-second-chance-item-response.d.ts +4 -0
- package/dist/types/traditional/verify-add-second-chance-item-response.js +1 -0
- package/dist/types/traditional/verify-relist-item-response.d.ts +27 -0
- package/dist/types/traditional/verify-relist-item-response.js +1 -0
- package/dist/types/traditonalTypes.d.ts +72 -2
- package/lib/ebay-api.min.js +1 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.js +1 -0
- package/lib/types/traditional/add-fixed-price-item-response.d.ts +30 -0
- package/lib/types/traditional/add-fixed-price-item-response.js +2 -0
- package/lib/types/traditional/add-item-response.d.ts +29 -0
- package/lib/types/traditional/add-item-response.js +2 -0
- package/lib/types/traditional/add-items-response.d.ts +37 -0
- package/lib/types/traditional/add-items-response.js +2 -0
- package/lib/types/traditional/add-member-message-a-a-q-to-partner-response.d.ts +3 -0
- package/lib/types/traditional/add-member-message-a-a-q-to-partner-response.js +2 -0
- package/lib/types/traditional/add-member-message-r-t-q-response.d.ts +3 -0
- package/lib/types/traditional/add-member-message-r-t-q-response.js +2 -0
- package/lib/types/traditional/add-member-messages-a-a-q-to-bidder-response.d.ts +7 -0
- package/lib/types/traditional/add-member-messages-a-a-q-to-bidder-response.js +2 -0
- package/lib/types/traditional/add-order-response.d.ts +4 -0
- package/lib/types/traditional/add-order-response.js +2 -0
- package/lib/types/traditional/add-second-chance-item-response.d.ts +5 -0
- package/lib/types/traditional/add-second-chance-item-response.js +2 -0
- package/lib/types/traditional/add-to-item-description-response.d.ts +9 -0
- package/lib/types/traditional/add-to-item-description-response.js +2 -0
- package/lib/types/traditional/add-to-watch-list-response.d.ts +4 -0
- package/lib/types/traditional/add-to-watch-list-response.js +2 -0
- package/lib/types/traditional/common.d.ts +58 -0
- package/lib/types/traditional/common.js +2 -0
- package/lib/types/traditional/complete-sale-response.d.ts +3 -0
- package/lib/types/traditional/complete-sale-response.js +2 -0
- package/lib/types/traditional/delete-my-messages-response.d.ts +3 -0
- package/lib/types/traditional/delete-my-messages-response.js +2 -0
- package/lib/types/traditional/end-fixed-price-item-response.d.ts +4 -0
- package/lib/types/traditional/end-fixed-price-item-response.js +2 -0
- package/lib/types/traditional/end-items-response.d.ts +17 -0
- package/lib/types/traditional/end-items-response.js +2 -0
- package/lib/types/traditional/fetch-token-response.d.ts +5 -0
- package/lib/types/traditional/fetch-token-response.js +2 -0
- package/lib/types/traditional/get-account-response.d.ts +114 -0
- package/lib/types/traditional/get-account-response.js +2 -0
- package/lib/types/traditional/get-ad-format-leads-response.d.ts +41 -0
- package/lib/types/traditional/get-ad-format-leads-response.js +2 -0
- package/lib/types/traditional/get-all-bidders-response.d.ts +75 -0
- package/lib/types/traditional/get-all-bidders-response.js +2 -0
- package/lib/types/traditional/get-best-offers-response.d.ts +79 -0
- package/lib/types/traditional/get-best-offers-response.js +2 -0
- package/lib/types/traditional/get-bidder-list-response.d.ts +292 -0
- package/lib/types/traditional/get-bidder-list-response.js +2 -0
- package/lib/types/traditional/get-categories-response.d.ts +26 -0
- package/lib/types/traditional/get-categories-response.js +2 -0
- package/lib/types/traditional/get-category-features-response.d.ts +494 -0
- package/lib/types/traditional/get-category-features-response.js +2 -0
- package/lib/types/traditional/get-description-templates-response.d.ts +21 -0
- package/lib/types/traditional/get-description-templates-response.js +2 -0
- package/lib/types/traditional/get-feedback-response.d.ts +101 -0
- package/lib/types/traditional/get-feedback-response.js +2 -0
- package/lib/types/traditional/get-item-response.d.ts +855 -0
- package/lib/types/traditional/get-item-response.js +2 -0
- package/lib/types/traditional/get-items-awaiting-feedback-response.d.ts +66 -0
- package/lib/types/traditional/get-items-awaiting-feedback-response.js +2 -0
- package/lib/types/traditional/get-member-messages-response.d.ts +47 -0
- package/lib/types/traditional/get-member-messages-response.js +2 -0
- package/lib/types/traditional/get-message-preferences-response.d.ts +6 -0
- package/lib/types/traditional/get-message-preferences-response.js +2 -0
- package/lib/types/traditional/get-my-messages-response.d.ts +53 -0
- package/lib/types/traditional/get-my-messages-response.js +2 -0
- package/lib/types/traditional/get-seller-list-response.d.ts +456 -0
- package/lib/types/traditional/get-seller-list-response.js +2 -0
- package/lib/types/traditional/get-seller-transactions-response.d.ts +499 -0
- package/lib/types/traditional/get-seller-transactions-response.js +2 -0
- package/lib/types/traditional/get-shipping-discount-profiles-response.d.ts +63 -0
- package/lib/types/traditional/get-shipping-discount-profiles-response.js +2 -0
- package/lib/types/traditional/get-store-response.d.ts +31 -0
- package/lib/types/traditional/get-store-response.js +2 -0
- package/lib/types/traditional/get-tax-table-response.d.ts +10 -0
- package/lib/types/traditional/get-tax-table-response.js +2 -0
- package/lib/types/traditional/get-token-status-response.d.ts +9 -0
- package/lib/types/traditional/get-token-status-response.js +2 -0
- package/lib/types/traditional/get-user-contact-details-response.d.ts +13 -0
- package/lib/types/traditional/get-user-contact-details-response.js +2 -0
- package/lib/types/traditional/get-user-preferences-response.d.ts +91 -0
- package/lib/types/traditional/get-user-preferences-response.js +2 -0
- package/lib/types/traditional/get-user-response.d.ts +111 -0
- package/lib/types/traditional/get-user-response.js +2 -0
- package/lib/types/traditional/get-ve-r-o-reason-code-details-response.d.ts +12 -0
- package/lib/types/traditional/get-ve-r-o-reason-code-details-response.js +2 -0
- package/lib/types/traditional/get-ve-r-o-report-status-response.d.ts +18 -0
- package/lib/types/traditional/get-ve-r-o-report-status-response.js +2 -0
- package/lib/types/traditional/gete-bay-details-response.d.ts +230 -0
- package/lib/types/traditional/gete-bay-details-response.js +2 -0
- package/lib/types/traditional/index.d.ts +68 -0
- package/lib/types/traditional/index.js +84 -0
- package/lib/types/traditional/place-offer-response.d.ts +33 -0
- package/lib/types/traditional/place-offer-response.js +2 -0
- package/lib/types/traditional/relist-fixed-price-item-response.d.ts +30 -0
- package/lib/types/traditional/relist-fixed-price-item-response.js +2 -0
- package/lib/types/traditional/relist-item-response.d.ts +29 -0
- package/lib/types/traditional/relist-item-response.js +2 -0
- package/lib/types/traditional/remove-from-watch-list-response.d.ts +4 -0
- package/lib/types/traditional/remove-from-watch-list-response.js +2 -0
- package/lib/types/traditional/respond-to-best-offer-response.d.ts +8 -0
- package/lib/types/traditional/respond-to-best-offer-response.js +2 -0
- package/lib/types/traditional/respond-to-feedback-response.d.ts +3 -0
- package/lib/types/traditional/respond-to-feedback-response.js +2 -0
- package/lib/types/traditional/revise-fixed-price-item-response.d.ts +30 -0
- package/lib/types/traditional/revise-fixed-price-item-response.js +2 -0
- package/lib/types/traditional/revise-inventory-status-response.d.ts +21 -0
- package/lib/types/traditional/revise-inventory-status-response.js +2 -0
- package/lib/types/traditional/revise-item-response.d.ts +30 -0
- package/lib/types/traditional/revise-item-response.js +2 -0
- package/lib/types/traditional/revise-my-messages-folders-response.d.ts +3 -0
- package/lib/types/traditional/revise-my-messages-folders-response.js +2 -0
- package/lib/types/traditional/revise-my-messages-response.d.ts +3 -0
- package/lib/types/traditional/revise-my-messages-response.js +2 -0
- package/lib/types/traditional/revoke-token-response.d.ts +3 -0
- package/lib/types/traditional/revoke-token-response.js +2 -0
- package/lib/types/traditional/send-invoice-response.d.ts +3 -0
- package/lib/types/traditional/send-invoice-response.js +2 -0
- package/lib/types/traditional/set-message-preferences-response.d.ts +3 -0
- package/lib/types/traditional/set-message-preferences-response.js +2 -0
- package/lib/types/traditional/set-notification-preferences-response.d.ts +3 -0
- package/lib/types/traditional/set-notification-preferences-response.js +2 -0
- package/lib/types/traditional/set-shipping-discount-profiles-response.d.ts +3 -0
- package/lib/types/traditional/set-shipping-discount-profiles-response.js +2 -0
- package/lib/types/traditional/set-store-categories-response.d.ts +5 -0
- package/lib/types/traditional/set-store-categories-response.js +2 -0
- package/lib/types/traditional/set-tax-table-response.d.ts +3 -0
- package/lib/types/traditional/set-tax-table-response.js +2 -0
- package/lib/types/traditional/set-user-notes-response.d.ts +3 -0
- package/lib/types/traditional/set-user-notes-response.js +2 -0
- package/lib/types/traditional/set-user-preferences-response.d.ts +3 -0
- package/lib/types/traditional/set-user-preferences-response.js +2 -0
- package/lib/types/traditional/upload-site-hosted-pictures-response.d.ts +17 -0
- package/lib/types/traditional/upload-site-hosted-pictures-response.js +2 -0
- package/lib/types/traditional/ve-r-o-report-items-response.d.ts +4 -0
- package/lib/types/traditional/ve-r-o-report-items-response.js +2 -0
- package/lib/types/traditional/verify-add-fixed-price-item-response.d.ts +20 -0
- package/lib/types/traditional/verify-add-fixed-price-item-response.js +2 -0
- package/lib/types/traditional/verify-add-item-response.d.ts +27 -0
- package/lib/types/traditional/verify-add-item-response.js +2 -0
- package/lib/types/traditional/verify-add-second-chance-item-response.d.ts +4 -0
- package/lib/types/traditional/verify-add-second-chance-item-response.js +2 -0
- package/lib/types/traditional/verify-relist-item-response.d.ts +27 -0
- package/lib/types/traditional/verify-relist-item-response.js +2 -0
- package/lib/types/traditonalTypes.d.ts +72 -2
- package/package.json +2 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { CurrencyCodeType, StandardOutputFields } from './common.js';
|
|
2
|
+
export interface PlaceOfferResponse extends StandardOutputFields {
|
|
3
|
+
BestOffer: {
|
|
4
|
+
BestOfferID?: string;
|
|
5
|
+
Status?: 'Accepted' | 'Active' | 'AdminEnded' | 'All' | 'Countered' | 'CustomCode' | 'Declined' | 'Expired' | 'Pending' | 'PendingBuyerConfirmation' | 'PendingBuyerPayment' | 'Retracted' | 'SellerAccept';
|
|
6
|
+
};
|
|
7
|
+
OrderLineItemID?: string;
|
|
8
|
+
SellingStatus: {
|
|
9
|
+
ConvertedCurrentPrice?: number | {
|
|
10
|
+
value: number;
|
|
11
|
+
currencyID: CurrencyCodeType;
|
|
12
|
+
};
|
|
13
|
+
CurrentPrice: number | {
|
|
14
|
+
value: number;
|
|
15
|
+
currencyID: CurrencyCodeType;
|
|
16
|
+
};
|
|
17
|
+
HighBidder?: {
|
|
18
|
+
UserID?: string;
|
|
19
|
+
};
|
|
20
|
+
MinimumToBid?: number | {
|
|
21
|
+
value: number;
|
|
22
|
+
currencyID: CurrencyCodeType;
|
|
23
|
+
};
|
|
24
|
+
ReserveMet?: boolean;
|
|
25
|
+
SuggestedBidValues?: {
|
|
26
|
+
BidValue?: number | {
|
|
27
|
+
value: number;
|
|
28
|
+
currencyID: CurrencyCodeType;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
TransactionID?: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { CurrencyCodeType, StandardOutputFields } from './common.js';
|
|
2
|
+
export interface RelistFixedPriceItemResponse extends StandardOutputFields {
|
|
3
|
+
CategoryID?: string;
|
|
4
|
+
DiscountReason?: 'CustomCode' | 'Promotion' | 'SpecialOffer';
|
|
5
|
+
EndTime: string;
|
|
6
|
+
Fees: {
|
|
7
|
+
Fee: {
|
|
8
|
+
Fee: number | {
|
|
9
|
+
value: number;
|
|
10
|
+
currencyID: CurrencyCodeType;
|
|
11
|
+
};
|
|
12
|
+
Name: string;
|
|
13
|
+
PromotionalDiscount: number | {
|
|
14
|
+
value: number;
|
|
15
|
+
currencyID: CurrencyCodeType;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
ItemID: string;
|
|
20
|
+
ProductSuggestions?: {
|
|
21
|
+
ProductSuggestion?: {
|
|
22
|
+
EPID?: string;
|
|
23
|
+
Recommended?: boolean;
|
|
24
|
+
StockPhoto?: string;
|
|
25
|
+
Title?: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
SKU?: string;
|
|
29
|
+
StartTime: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { CurrencyCodeType, StandardOutputFields } from './common.js';
|
|
2
|
+
export interface RelistItemResponse extends StandardOutputFields {
|
|
3
|
+
CategoryID?: string;
|
|
4
|
+
DiscountReason?: 'CustomCode' | 'Promotion' | 'SpecialOffer';
|
|
5
|
+
EndTime: string;
|
|
6
|
+
Fees: {
|
|
7
|
+
Fee: {
|
|
8
|
+
Fee: number | {
|
|
9
|
+
value: number;
|
|
10
|
+
currencyID: CurrencyCodeType;
|
|
11
|
+
};
|
|
12
|
+
Name: string;
|
|
13
|
+
PromotionalDiscount: number | {
|
|
14
|
+
value: number;
|
|
15
|
+
currencyID: CurrencyCodeType;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
ItemID: string;
|
|
20
|
+
ProductSuggestions?: {
|
|
21
|
+
ProductSuggestion?: {
|
|
22
|
+
EPID?: string;
|
|
23
|
+
Recommended?: boolean;
|
|
24
|
+
StockPhoto?: string;
|
|
25
|
+
Title?: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
StartTime: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { CurrencyCodeType, StandardOutputFields } from './common.js';
|
|
2
|
+
export interface ReviseFixedPriceItemResponse extends StandardOutputFields {
|
|
3
|
+
CategoryID?: string;
|
|
4
|
+
DiscountReason?: 'CustomCode' | 'Promotion' | 'SpecialOffer';
|
|
5
|
+
EndTime: string;
|
|
6
|
+
Fees: {
|
|
7
|
+
Fee: {
|
|
8
|
+
Fee: number | {
|
|
9
|
+
value: number;
|
|
10
|
+
currencyID: CurrencyCodeType;
|
|
11
|
+
};
|
|
12
|
+
Name: string;
|
|
13
|
+
PromotionalDiscount: number | {
|
|
14
|
+
value: number;
|
|
15
|
+
currencyID: CurrencyCodeType;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
ItemID: string;
|
|
20
|
+
ProductSuggestions?: {
|
|
21
|
+
ProductSuggestion?: {
|
|
22
|
+
EPID?: string;
|
|
23
|
+
Recommended?: boolean;
|
|
24
|
+
StockPhoto?: string;
|
|
25
|
+
Title?: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
SKU?: string;
|
|
29
|
+
StartTime: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { CurrencyCodeType, StandardOutputFields } from './common.js';
|
|
2
|
+
export interface ReviseInventoryStatusResponse extends StandardOutputFields {
|
|
3
|
+
Fees: {
|
|
4
|
+
Fee: {
|
|
5
|
+
Fee: number | {
|
|
6
|
+
value: number;
|
|
7
|
+
currencyID: CurrencyCodeType;
|
|
8
|
+
};
|
|
9
|
+
Name: string;
|
|
10
|
+
PromotionalDiscount: number | {
|
|
11
|
+
value: number;
|
|
12
|
+
currencyID: CurrencyCodeType;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
ItemID: string;
|
|
16
|
+
};
|
|
17
|
+
InventoryStatus: {
|
|
18
|
+
ItemID: string;
|
|
19
|
+
SKU: string;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { CurrencyCodeType, StandardOutputFields } from './common.js';
|
|
2
|
+
export interface ReviseItemResponse extends StandardOutputFields {
|
|
3
|
+
CategoryID?: string;
|
|
4
|
+
DiscountReason?: 'CustomCode' | 'Promotion' | 'SpecialOffer';
|
|
5
|
+
EndTime: string;
|
|
6
|
+
Fees: {
|
|
7
|
+
Fee: {
|
|
8
|
+
Fee: number | {
|
|
9
|
+
value: number;
|
|
10
|
+
currencyID: CurrencyCodeType;
|
|
11
|
+
};
|
|
12
|
+
Name: string;
|
|
13
|
+
PromotionalDiscount: number | {
|
|
14
|
+
value: number;
|
|
15
|
+
currencyID: CurrencyCodeType;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
ItemID: string;
|
|
20
|
+
ProductSuggestions?: {
|
|
21
|
+
ProductSuggestion?: {
|
|
22
|
+
EPID?: string;
|
|
23
|
+
Recommended?: boolean;
|
|
24
|
+
StockPhoto?: string;
|
|
25
|
+
Title?: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
StartTime: string;
|
|
29
|
+
VerifyOnly?: boolean;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { StandardOutputFields } from './common.js';
|
|
2
|
+
export interface UploadSiteHostedPicturesResponse extends StandardOutputFields {
|
|
3
|
+
SiteHostedPictureDetails: {
|
|
4
|
+
BaseURL: string;
|
|
5
|
+
ExternalPictureURL?: string;
|
|
6
|
+
FullURL: string;
|
|
7
|
+
PictureFormat: 'CustomCode' | 'GIF' | 'JPG' | 'PNG';
|
|
8
|
+
PictureName?: string;
|
|
9
|
+
PictureSet: 'CustomCode' | 'Standard' | 'Supersize';
|
|
10
|
+
PictureSetMember: {
|
|
11
|
+
MemberURL: string;
|
|
12
|
+
PictureHeight: number;
|
|
13
|
+
PictureWidth: number;
|
|
14
|
+
};
|
|
15
|
+
UseByDate: string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { CurrencyCodeType, StandardOutputFields } from './common.js';
|
|
2
|
+
export interface VerifyAddFixedPriceItemResponse extends StandardOutputFields {
|
|
3
|
+
CategoryID?: string;
|
|
4
|
+
DiscountReason?: 'CustomCode' | 'Promotion' | 'SpecialOffer';
|
|
5
|
+
Fees: {
|
|
6
|
+
Fee: {
|
|
7
|
+
Fee: number | {
|
|
8
|
+
value: number;
|
|
9
|
+
currencyID: CurrencyCodeType;
|
|
10
|
+
};
|
|
11
|
+
Name: string;
|
|
12
|
+
PromotionalDiscount: number | {
|
|
13
|
+
value: number;
|
|
14
|
+
currencyID: CurrencyCodeType;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
ItemID: string;
|
|
19
|
+
SKU?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { CurrencyCodeType, StandardOutputFields } from './common.js';
|
|
2
|
+
export interface VerifyAddItemResponse extends StandardOutputFields {
|
|
3
|
+
CategoryID?: string;
|
|
4
|
+
DiscountReason?: 'CustomCode' | 'Promotion' | 'SpecialOffer';
|
|
5
|
+
Fees: {
|
|
6
|
+
Fee: {
|
|
7
|
+
Fee: number | {
|
|
8
|
+
value: number;
|
|
9
|
+
currencyID: CurrencyCodeType;
|
|
10
|
+
};
|
|
11
|
+
Name: string;
|
|
12
|
+
PromotionalDiscount: number | {
|
|
13
|
+
value: number;
|
|
14
|
+
currencyID: CurrencyCodeType;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
ItemID: string;
|
|
19
|
+
ProductSuggestions?: {
|
|
20
|
+
ProductSuggestion?: {
|
|
21
|
+
EPID?: string;
|
|
22
|
+
Recommended?: boolean;
|
|
23
|
+
StockPhoto?: string;
|
|
24
|
+
Title?: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { CurrencyCodeType, StandardOutputFields } from './common.js';
|
|
2
|
+
export interface VerifyRelistItemResponse extends StandardOutputFields {
|
|
3
|
+
EndTime: string;
|
|
4
|
+
Fees: {
|
|
5
|
+
Fee: {
|
|
6
|
+
Fee: number | {
|
|
7
|
+
value: number;
|
|
8
|
+
currencyID: CurrencyCodeType;
|
|
9
|
+
};
|
|
10
|
+
Name: string;
|
|
11
|
+
PromotionalDiscount: number | {
|
|
12
|
+
value: number;
|
|
13
|
+
currencyID: CurrencyCodeType;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
ItemID: string;
|
|
18
|
+
ProductSuggestions?: {
|
|
19
|
+
ProductSuggestion?: {
|
|
20
|
+
EPID?: string;
|
|
21
|
+
Recommended?: boolean;
|
|
22
|
+
StockPhoto?: string;
|
|
23
|
+
Title?: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
StartTime: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -5,9 +5,79 @@ import MerchandisingCalls from '../api/traditional/merchandising/index.js';
|
|
|
5
5
|
import ShoppingCalls from '../api/traditional/shopping/index.js';
|
|
6
6
|
import TradingCalls from '../api/traditional/trading/index.js';
|
|
7
7
|
import { TraditionalApiConfig } from '../api/traditional/XMLRequest.js';
|
|
8
|
-
|
|
8
|
+
import * as TradingResponses from './traditional/index.js';
|
|
9
|
+
export type XMLApiCall<TResponse = any> = (fields?: Fields | null, apiConfig?: TraditionalApiConfig) => Promise<TResponse>;
|
|
10
|
+
export type TradingApiResponses = {
|
|
11
|
+
AddFixedPriceItem: TradingResponses.AddFixedPriceItemResponse;
|
|
12
|
+
AddItem: TradingResponses.AddItemResponse;
|
|
13
|
+
AddItems: TradingResponses.AddItemsResponse;
|
|
14
|
+
AddMemberMessageAAQToPartner: TradingResponses.AddMemberMessageAAQToPartnerResponse;
|
|
15
|
+
AddMemberMessageRTQ: TradingResponses.AddMemberMessageRTQResponse;
|
|
16
|
+
AddMemberMessagesAAQToBidder: TradingResponses.AddMemberMessagesAAQToBidderResponse;
|
|
17
|
+
AddOrder: TradingResponses.AddOrderResponse;
|
|
18
|
+
AddSecondChanceItem: TradingResponses.AddSecondChanceItemResponse;
|
|
19
|
+
AddToItemDescription: TradingResponses.AddToItemDescriptionResponse;
|
|
20
|
+
AddToWatchList: TradingResponses.AddToWatchListResponse;
|
|
21
|
+
CompleteSale: TradingResponses.CompleteSaleResponse;
|
|
22
|
+
DeleteMyMessages: TradingResponses.DeleteMyMessagesResponse;
|
|
23
|
+
EndFixedPriceItem: TradingResponses.EndFixedPriceItemResponse;
|
|
24
|
+
EndItems: TradingResponses.EndItemsResponse;
|
|
25
|
+
FetchToken: TradingResponses.FetchTokenResponse;
|
|
26
|
+
GetAccount: TradingResponses.GetAccountResponse;
|
|
27
|
+
GetAdFormatLeads: TradingResponses.GetAdFormatLeadsResponse;
|
|
28
|
+
GetAllBidders: TradingResponses.GetAllBiddersResponse;
|
|
29
|
+
GetBestOffers: TradingResponses.GetBestOffersResponse;
|
|
30
|
+
GetBidderList: TradingResponses.GetBidderListResponse;
|
|
31
|
+
GetCategories: TradingResponses.GetCategoriesResponse;
|
|
32
|
+
GetCategoryFeatures: TradingResponses.GetCategoryFeaturesResponse;
|
|
33
|
+
GetDescriptionTemplates: TradingResponses.GetDescriptionTemplatesResponse;
|
|
34
|
+
GetFeedback: TradingResponses.GetFeedbackResponse;
|
|
35
|
+
GetItem: TradingResponses.GetItemResponse;
|
|
36
|
+
GetItemsAwaitingFeedback: TradingResponses.GetItemsAwaitingFeedbackResponse;
|
|
37
|
+
GetMemberMessages: TradingResponses.GetMemberMessagesResponse;
|
|
38
|
+
GetMessagePreferences: TradingResponses.GetMessagePreferencesResponse;
|
|
39
|
+
GetMyMessages: TradingResponses.GetMyMessagesResponse;
|
|
40
|
+
GetSellerList: TradingResponses.GetSellerListResponse;
|
|
41
|
+
GetSellerTransactions: TradingResponses.GetSellerTransactionsResponse;
|
|
42
|
+
GetShippingDiscountProfiles: TradingResponses.GetShippingDiscountProfilesResponse;
|
|
43
|
+
GetStore: TradingResponses.GetStoreResponse;
|
|
44
|
+
GetTaxTable: TradingResponses.GetTaxTableResponse;
|
|
45
|
+
GetTokenStatus: TradingResponses.GetTokenStatusResponse;
|
|
46
|
+
GetUser: TradingResponses.GetUserResponse;
|
|
47
|
+
GetUserContactDetails: TradingResponses.GetUserContactDetailsResponse;
|
|
48
|
+
GetUserPreferences: TradingResponses.GetUserPreferencesResponse;
|
|
49
|
+
GetVeROReasonCodeDetails: TradingResponses.GetVeROReasonCodeDetailsResponse;
|
|
50
|
+
GetVeROReportStatus: TradingResponses.GetVeROReportStatusResponse;
|
|
51
|
+
GeteBayDetails: TradingResponses.GeteBayDetailsResponse;
|
|
52
|
+
PlaceOffer: TradingResponses.PlaceOfferResponse;
|
|
53
|
+
RelistFixedPriceItem: TradingResponses.RelistFixedPriceItemResponse;
|
|
54
|
+
RelistItem: TradingResponses.RelistItemResponse;
|
|
55
|
+
RemoveFromWatchList: TradingResponses.RemoveFromWatchListResponse;
|
|
56
|
+
RespondToBestOffer: TradingResponses.RespondToBestOfferResponse;
|
|
57
|
+
RespondToFeedback: TradingResponses.RespondToFeedbackResponse;
|
|
58
|
+
ReviseFixedPriceItem: TradingResponses.ReviseFixedPriceItemResponse;
|
|
59
|
+
ReviseInventoryStatus: TradingResponses.ReviseInventoryStatusResponse;
|
|
60
|
+
ReviseItem: TradingResponses.ReviseItemResponse;
|
|
61
|
+
ReviseMyMessages: TradingResponses.ReviseMyMessagesResponse;
|
|
62
|
+
ReviseMyMessagesFolders: TradingResponses.ReviseMyMessagesFoldersResponse;
|
|
63
|
+
RevokeToken: TradingResponses.RevokeTokenResponse;
|
|
64
|
+
SendInvoice: TradingResponses.SendInvoiceResponse;
|
|
65
|
+
SetMessagePreferences: TradingResponses.SetMessagePreferencesResponse;
|
|
66
|
+
SetNotificationPreferences: TradingResponses.SetNotificationPreferencesResponse;
|
|
67
|
+
SetShippingDiscountProfiles: TradingResponses.SetShippingDiscountProfilesResponse;
|
|
68
|
+
SetStoreCategories: TradingResponses.SetStoreCategoriesResponse;
|
|
69
|
+
SetTaxTable: TradingResponses.SetTaxTableResponse;
|
|
70
|
+
SetUserNotes: TradingResponses.SetUserNotesResponse;
|
|
71
|
+
SetUserPreferences: TradingResponses.SetUserPreferencesResponse;
|
|
72
|
+
UploadSiteHostedPictures: TradingResponses.UploadSiteHostedPicturesResponse;
|
|
73
|
+
VeROReportItems: TradingResponses.VeROReportItemsResponse;
|
|
74
|
+
VerifyAddFixedPriceItem: TradingResponses.VerifyAddFixedPriceItemResponse;
|
|
75
|
+
VerifyAddItem: TradingResponses.VerifyAddItemResponse;
|
|
76
|
+
VerifyAddSecondChanceItem: TradingResponses.VerifyAddSecondChanceItemResponse;
|
|
77
|
+
VerifyRelistItem: TradingResponses.VerifyRelistItemResponse;
|
|
78
|
+
};
|
|
9
79
|
export type Trading = {
|
|
10
|
-
[
|
|
80
|
+
[K in keyof typeof TradingCalls]: K extends keyof TradingApiResponses ? XMLApiCall<TradingApiResponses[K]> : XMLApiCall;
|
|
11
81
|
};
|
|
12
82
|
export type Shopping = {
|
|
13
83
|
[key in keyof typeof ShoppingCalls]: XMLApiCall;
|