ebay-api 9.0.0-RC.0 → 9.0.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 +1 -1
- package/dist/api/restful/sell/metadata/index.d.ts +2 -0
- package/dist/api/restful/sell/metadata/index.js +12 -0
- package/dist/ebay-api.min.mjs +1 -1
- package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +107 -22
- package/lib/api/restful/sell/metadata/index.d.ts +2 -0
- package/lib/api/restful/sell/metadata/index.js +12 -0
- package/lib/ebay-api.min.js +1 -1
- package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +107 -22
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ It supports `client credentials grant` and `authorization code grant` \(Auth'N'A
|
|
|
35
35
|
| **Commerce API** | ✔ Catalog API `v1_beta.3.1`<br>✔ Charity API `v1.2.0`<br>✔ Identity API `v1.0.0`<br>✔ Notification API `v1.2.0`<br>✔ Taxonomy API `v1.0.0`<br>✔ Translation API `v1_beta.1.4`<br>✔ Media API `v1_beta.1.0` |
|
|
36
36
|
| **Developer API** | ✔ Analytics API |
|
|
37
37
|
| **Post Order API** | ✔ Cancellation API<br>✔ Case Management API<br>✔ Inquiry API<br>✔ Return API |
|
|
38
|
-
| **Sell API** | ✔ Account API `v1.9.0`<br>✔ Analytics API `v1.3.0`<br>✔ Compliance API `v1.4.1`<br>✔ Feed API `v1.3.1`<br>✔ Finance API `v1.9.0`<br>✔ Fulfillment API `v1.19.10`<br>✔ Inventory API `v1.14.0`<br>✔ Listing API `v1_beta.2.1`<br>✔ Logistics API `v1_beta.0.0`<br>✔ Marketing API `v1.17.0`<br>✔ Metadata API `v1.
|
|
38
|
+
| **Sell API** | ✔ Account API `v1.9.0`<br>✔ Analytics API `v1.3.0`<br>✔ Compliance API `v1.4.1`<br>✔ Feed API `v1.3.1`<br>✔ Finance API `v1.9.0`<br>✔ Fulfillment API `v1.19.10`<br>✔ Inventory API `v1.14.0`<br>✔ Listing API `v1_beta.2.1`<br>✔ Logistics API `v1_beta.0.0`<br>✔ Marketing API `v1.17.0`<br>✔ Metadata API `v1.7.1`<br>✔ Negotiation API `v1.1.0`<br>✔ Recommendation API `v1.1.0` |
|
|
39
39
|
|
|
40
40
|
### Traditional API
|
|
41
41
|
|
|
@@ -5,9 +5,11 @@ export default class Metadata extends Restful implements OpenApi<operations> {
|
|
|
5
5
|
get basePath(): string;
|
|
6
6
|
getSalesTaxJurisdictions(countryCode: string): Promise<any>;
|
|
7
7
|
getAutomotivePartsCompatibilityPolicies(marketplaceId: string, filter?: string): Promise<any>;
|
|
8
|
+
getExtendedProducerResponsibilityPolicies(marketplaceId: string, filter?: string): Promise<any>;
|
|
8
9
|
getItemConditionPolicies(marketplaceId: string, filter?: string): Promise<any>;
|
|
9
10
|
getListingStructurePolicies(marketplaceId: string, filter?: string): Promise<any>;
|
|
10
11
|
getNegotiatedPricePolicies(marketplaceId: string, filter?: string): Promise<any>;
|
|
11
12
|
getProductAdoptionPolicies(marketplaceId: string, filter?: string): Promise<any>;
|
|
12
13
|
getReturnPolicies(marketplaceId: string, filter?: string): Promise<any>;
|
|
14
|
+
getHazardousMaterialsLabels(marketplaceId: string): Promise<any>;
|
|
13
15
|
}
|
|
@@ -15,6 +15,14 @@ class Metadata extends Restful {
|
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
+
getExtendedProducerResponsibilityPolicies(marketplaceId, filter) {
|
|
19
|
+
marketplaceId = encodeURIComponent(marketplaceId);
|
|
20
|
+
return this.get(`/marketplace/${marketplaceId}/get_extended_producer_responsibility_policies`, {
|
|
21
|
+
params: {
|
|
22
|
+
filter
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
18
26
|
getItemConditionPolicies(marketplaceId, filter) {
|
|
19
27
|
marketplaceId = encodeURIComponent(marketplaceId);
|
|
20
28
|
return this.get(`/marketplace/${marketplaceId}/get_item_condition_policies`, {
|
|
@@ -55,6 +63,10 @@ class Metadata extends Restful {
|
|
|
55
63
|
}
|
|
56
64
|
});
|
|
57
65
|
}
|
|
66
|
+
getHazardousMaterialsLabels(marketplaceId) {
|
|
67
|
+
marketplaceId = encodeURIComponent(marketplaceId);
|
|
68
|
+
return this.get(`/marketplace/${marketplaceId}/get_hazardous_materials_labels`);
|
|
69
|
+
}
|
|
58
70
|
}
|
|
59
71
|
Metadata.id = 'Metadata';
|
|
60
72
|
export default Metadata;
|