@profplum700/etsy-v3-api-client 2.5.0 → 2.5.2
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/dist/.tsbuildinfo +1 -1
- package/dist/browser.esm.js +2 -2
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +1 -1
- package/dist/browser.umd.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8517 -0
- package/dist/index.js.map +1 -0
- package/dist/index.umd.js +1180 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/index.umd.min.js +2 -0
- package/dist/index.umd.min.js.map +1 -0
- package/dist/node.cjs +2 -2
- package/dist/node.cjs.map +1 -1
- package/dist/node.esm.js +2 -2
- package/dist/node.esm.js.map +1 -1
- package/package.json +13 -13
package/dist/index.d.ts
CHANGED
|
@@ -257,6 +257,7 @@ interface EtsyListingOffering {
|
|
|
257
257
|
quantity: number;
|
|
258
258
|
is_enabled: boolean;
|
|
259
259
|
is_deleted: boolean;
|
|
260
|
+
readiness_state_id?: number;
|
|
260
261
|
}
|
|
261
262
|
interface EtsyListingPropertyValue {
|
|
262
263
|
property_id: number;
|
|
@@ -893,11 +894,13 @@ interface UpdateListingInventoryParams {
|
|
|
893
894
|
price: number;
|
|
894
895
|
quantity: number;
|
|
895
896
|
is_enabled: boolean;
|
|
897
|
+
readiness_state_id?: number;
|
|
896
898
|
}>;
|
|
897
899
|
}>;
|
|
898
900
|
price_on_property?: number[];
|
|
899
901
|
quantity_on_property?: number[];
|
|
900
902
|
sku_on_property?: number[];
|
|
903
|
+
readiness_state_on_property?: number[];
|
|
901
904
|
}
|
|
902
905
|
interface EtsyListingProperty {
|
|
903
906
|
property_id: number;
|
package/dist/index.esm.js
CHANGED
|
@@ -1946,8 +1946,8 @@ class EtsyClient {
|
|
|
1946
1946
|
async updateListingProperty(params) {
|
|
1947
1947
|
const { shopId, listingId, propertyId, valueIds, values, scaleId } = params;
|
|
1948
1948
|
const body = new URLSearchParams();
|
|
1949
|
-
|
|
1950
|
-
|
|
1949
|
+
body.append('value_ids', valueIds.map(id => id.toString()).join(','));
|
|
1950
|
+
body.append('values', values.join(','));
|
|
1951
1951
|
if (scaleId !== undefined) {
|
|
1952
1952
|
body.append('scale_id', scaleId.toString());
|
|
1953
1953
|
}
|