arky-sdk 0.7.113 → 0.7.115
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/admin.cjs +120 -132
- package/dist/admin.cjs.map +1 -1
- package/dist/admin.js +120 -132
- package/dist/admin.js.map +1 -1
- package/dist/index.cjs +128 -140
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +128 -140
- package/dist/index.js.map +1 -1
- package/dist/storefront.cjs +8 -8
- package/dist/storefront.cjs.map +1 -1
- package/dist/storefront.js +8 -8
- package/dist/storefront.js.map +1 -1
- package/dist/types.d.cts +3 -0
- package/dist/types.d.ts +3 -0
- package/package.json +1 -1
package/dist/storefront.cjs
CHANGED
|
@@ -390,14 +390,6 @@ var createStorefrontApi = (apiConfig, updateCustomerSession) => {
|
|
|
390
390
|
...options,
|
|
391
391
|
params: queryParams
|
|
392
392
|
});
|
|
393
|
-
},
|
|
394
|
-
getAvailability(params, options) {
|
|
395
|
-
const { store_id, ...queryParams } = params;
|
|
396
|
-
const target_store_id = store_id || apiConfig.storeId;
|
|
397
|
-
return apiConfig.httpClient.get(
|
|
398
|
-
`${base(target_store_id)}/orders/availability`,
|
|
399
|
-
{ ...options, params: queryParams }
|
|
400
|
-
);
|
|
401
393
|
}
|
|
402
394
|
},
|
|
403
395
|
service: {
|
|
@@ -429,6 +421,14 @@ var createStorefrontApi = (apiConfig, updateCustomerSession) => {
|
|
|
429
421
|
...options,
|
|
430
422
|
params: queryParams
|
|
431
423
|
});
|
|
424
|
+
},
|
|
425
|
+
getAvailability(params, options) {
|
|
426
|
+
const { store_id, ...queryParams } = params;
|
|
427
|
+
const target_store_id = store_id || apiConfig.storeId;
|
|
428
|
+
return apiConfig.httpClient.get(
|
|
429
|
+
`${base(target_store_id)}/services/availability`,
|
|
430
|
+
{ ...options, params: queryParams }
|
|
431
|
+
);
|
|
432
432
|
}
|
|
433
433
|
},
|
|
434
434
|
provider: {
|