arky-sdk 0.9.17 → 0.9.18
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-DVFAgnHm.d.ts → admin-CBgRGUCX.d.cts} +3 -4
- package/dist/{admin-6xpHuyKc.d.cts → admin-yoFJKZB8.d.ts} +3 -4
- package/dist/admin.cjs +0 -9
- package/dist/admin.cjs.map +1 -1
- package/dist/admin.d.cts +3 -3
- package/dist/admin.d.ts +3 -3
- package/dist/admin.js +0 -9
- package/dist/admin.js.map +1 -1
- package/dist/{api-DJrUdQ1C.d.cts → api-CuqZQQGv.d.cts} +1 -7
- package/dist/{api-DJrUdQ1C.d.ts → api-CuqZQQGv.d.ts} +1 -7
- package/dist/index.cjs +1 -10
- 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 +1 -10
- package/dist/index.js.map +1 -1
- package/dist/{inventory-GpWTZ2oe.d.ts → inventory-DNX8Vg-N.d.ts} +1 -1
- package/dist/{inventory-DOwNF3D-.d.cts → inventory-DrVRUkE2.d.cts} +1 -1
- package/dist/storefront.cjs.map +1 -1
- package/dist/storefront.d.cts +5 -5
- package/dist/storefront.d.ts +5 -5
- package/dist/storefront.js.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils.d.cts +2 -2
- package/dist/utils.d.ts +2 -2
- package/package.json +1 -1
package/dist/admin.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { a3 as AdminSession, a0 as ApiConfig, A as AuthStateListener, a6 as CreateAdminConfig, a7 as createAdmin } from './admin-
|
|
2
|
-
export { am as AuthStorage, al as HttpClientConfig } from './api-
|
|
3
|
-
import './inventory-
|
|
1
|
+
export { a3 as AdminSession, a0 as ApiConfig, A as AuthStateListener, a6 as CreateAdminConfig, a7 as createAdmin } from './admin-CBgRGUCX.cjs';
|
|
2
|
+
export { am as AuthStorage, al as HttpClientConfig } from './api-CuqZQQGv.cjs';
|
|
3
|
+
import './inventory-DrVRUkE2.cjs';
|
package/dist/admin.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { a3 as AdminSession, a0 as ApiConfig, A as AuthStateListener, a6 as CreateAdminConfig, a7 as createAdmin } from './admin-
|
|
2
|
-
export { am as AuthStorage, al as HttpClientConfig } from './api-
|
|
3
|
-
import './inventory-
|
|
1
|
+
export { a3 as AdminSession, a0 as ApiConfig, A as AuthStateListener, a6 as CreateAdminConfig, a7 as createAdmin } from './admin-yoFJKZB8.js';
|
|
2
|
+
export { am as AuthStorage, al as HttpClientConfig } from './api-CuqZQQGv.js';
|
|
3
|
+
import './inventory-DNX8Vg-N.js';
|
package/dist/admin.js
CHANGED
|
@@ -1104,14 +1104,6 @@ var createEshopApi = (apiConfig) => {
|
|
|
1104
1104
|
}
|
|
1105
1105
|
return response;
|
|
1106
1106
|
},
|
|
1107
|
-
async retryRefund(params, options) {
|
|
1108
|
-
const target_store_id = params.store_id || apiConfig.storeId;
|
|
1109
|
-
return apiConfig.httpClient.post(
|
|
1110
|
-
`/v1/stores/${target_store_id}/orders/${params.order_id}/refunds/${params.refund_id}/retry`,
|
|
1111
|
-
{},
|
|
1112
|
-
options
|
|
1113
|
-
);
|
|
1114
|
-
},
|
|
1115
1107
|
async getPayment(params, options) {
|
|
1116
1108
|
const target_store_id = params.store_id || apiConfig.storeId;
|
|
1117
1109
|
return apiConfig.httpClient.get(
|
|
@@ -3690,7 +3682,6 @@ function createAdmin(config) {
|
|
|
3690
3682
|
createRefund: eshopApi.createRefund,
|
|
3691
3683
|
getRefund: eshopApi.getRefund,
|
|
3692
3684
|
getRefunds: eshopApi.getRefunds,
|
|
3693
|
-
retryRefund: eshopApi.retryRefund,
|
|
3694
3685
|
getPayment: eshopApi.getPayment,
|
|
3695
3686
|
retryPaymentTransaction: eshopApi.retryPaymentTransaction,
|
|
3696
3687
|
getPaymentTransactions: eshopApi.getPaymentTransactions,
|