scavio 0.29.0 → 0.29.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/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -237,7 +237,7 @@ function parseRetryAfter(header) {
|
|
|
237
237
|
var BASE_URL = "https://api.scavio.dev";
|
|
238
238
|
var DEFAULT_TIMEOUT = 3e4;
|
|
239
239
|
var DEFAULT_MAX_RETRIES = 2;
|
|
240
|
-
var SDK_VERSION = true ? "0.29.
|
|
240
|
+
var SDK_VERSION = true ? "0.29.1" : "0.0.0";
|
|
241
241
|
var USER_AGENT = `scavio-js/${SDK_VERSION}`;
|
|
242
242
|
function isServerRuntime() {
|
|
243
243
|
const g = globalThis;
|
|
@@ -2867,7 +2867,7 @@ var TotalWineNamespace = class {
|
|
|
2867
2867
|
* availability. When the store carries none of the matches, products is
|
|
2868
2868
|
* empty and searched_all_stores is true.
|
|
2869
2869
|
*
|
|
2870
|
-
* Costs
|
|
2870
|
+
* Costs 10 credits.
|
|
2871
2871
|
*/
|
|
2872
2872
|
async search(options) {
|
|
2873
2873
|
return this.client._post("/api/v1/totalwine/search", options);
|
|
@@ -2877,7 +2877,7 @@ var TotalWineNamespace = class {
|
|
|
2877
2877
|
* bay, shelf, last restock date, ABV, taste profile, characteristics and
|
|
2878
2878
|
* breadcrumbs. Pass product_id or product_url.
|
|
2879
2879
|
*
|
|
2880
|
-
* Costs
|
|
2880
|
+
* Costs 10 credits.
|
|
2881
2881
|
*/
|
|
2882
2882
|
async product(options) {
|
|
2883
2883
|
return this.client._post("/api/v1/totalwine/product", options);
|
|
@@ -2886,7 +2886,7 @@ var TotalWineNamespace = class {
|
|
|
2886
2886
|
* Total Wine stores near a ZIP code or city, nearest first: store_id,
|
|
2887
2887
|
* address, phone, coordinates, distance in miles and delivery availability.
|
|
2888
2888
|
*
|
|
2889
|
-
* Costs
|
|
2889
|
+
* Costs 10 credits.
|
|
2890
2890
|
*/
|
|
2891
2891
|
async stores(options) {
|
|
2892
2892
|
return this.client._post("/api/v1/totalwine/stores", options);
|
|
@@ -2903,7 +2903,7 @@ var SpecsNamespace = class {
|
|
|
2903
2903
|
* Search Spec's: online price (cents), case price and quantity, promo and
|
|
2904
2904
|
* Keyclub flags, stock, size, SKU, UPC and slug.
|
|
2905
2905
|
*
|
|
2906
|
-
* Costs
|
|
2906
|
+
* Costs 5 credits.
|
|
2907
2907
|
*/
|
|
2908
2908
|
async search(options) {
|
|
2909
2909
|
return this.client._post("/api/v1/specs/search", options);
|
|
@@ -2913,7 +2913,7 @@ var SpecsNamespace = class {
|
|
|
2913
2913
|
* the online price, and ABV, origin, region, vintage and tasting notes.
|
|
2914
2914
|
* Pass slug or product_url.
|
|
2915
2915
|
*
|
|
2916
|
-
* Costs
|
|
2916
|
+
* Costs 5 credits.
|
|
2917
2917
|
*/
|
|
2918
2918
|
async product(options) {
|
|
2919
2919
|
return this.client._post("/api/v1/specs/product", options);
|
|
@@ -2922,7 +2922,7 @@ var SpecsNamespace = class {
|
|
|
2922
2922
|
* Spec's stores in a Texas region: store_id, name, status, address, phone,
|
|
2923
2923
|
* coordinates and opening hours.
|
|
2924
2924
|
*
|
|
2925
|
-
* Costs
|
|
2925
|
+
* Costs 5 credits.
|
|
2926
2926
|
*/
|
|
2927
2927
|
async stores(options) {
|
|
2928
2928
|
return this.client._post("/api/v1/specs/stores", options);
|