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.js
CHANGED
|
@@ -388,14 +388,6 @@ var createStorefrontApi = (apiConfig, updateCustomerSession) => {
|
|
|
388
388
|
...options,
|
|
389
389
|
params: queryParams
|
|
390
390
|
});
|
|
391
|
-
},
|
|
392
|
-
getAvailability(params, options) {
|
|
393
|
-
const { store_id, ...queryParams } = params;
|
|
394
|
-
const target_store_id = store_id || apiConfig.storeId;
|
|
395
|
-
return apiConfig.httpClient.get(
|
|
396
|
-
`${base(target_store_id)}/orders/availability`,
|
|
397
|
-
{ ...options, params: queryParams }
|
|
398
|
-
);
|
|
399
391
|
}
|
|
400
392
|
},
|
|
401
393
|
service: {
|
|
@@ -427,6 +419,14 @@ var createStorefrontApi = (apiConfig, updateCustomerSession) => {
|
|
|
427
419
|
...options,
|
|
428
420
|
params: queryParams
|
|
429
421
|
});
|
|
422
|
+
},
|
|
423
|
+
getAvailability(params, options) {
|
|
424
|
+
const { store_id, ...queryParams } = params;
|
|
425
|
+
const target_store_id = store_id || apiConfig.storeId;
|
|
426
|
+
return apiConfig.httpClient.get(
|
|
427
|
+
`${base(target_store_id)}/services/availability`,
|
|
428
|
+
{ ...options, params: queryParams }
|
|
429
|
+
);
|
|
430
430
|
}
|
|
431
431
|
},
|
|
432
432
|
provider: {
|