@@ -122,7 +122,7 @@ export const useAddExchangeInboundItems = (
122122 id : string ,
123123 orderId : string ,
124124 options ?: UseMutationOptions <
125- HttpTypes . AdminExchangeResponse ,
125+ HttpTypes . AdminExchangeReturnResponse ,
126126 FetchError ,
127127 HttpTypes . AdminAddExchangeInboundItems
128128 >
@@ -144,7 +144,7 @@ export const useUpdateExchangeInboundItem = (
144144 id : string ,
145145 orderId : string ,
146146 options ?: UseMutationOptions <
147- HttpTypes . AdminExchangeResponse ,
147+ HttpTypes . AdminExchangeReturnResponse ,
148148 FetchError ,
149149 HttpTypes . AdminUpdateExchangeInboundItem & { actionId : string }
150150 >
@@ -170,7 +170,7 @@ export const useRemoveExchangeInboundItem = (
170170 id : string ,
171171 orderId : string ,
172172 options ?: UseMutationOptions <
173- HttpTypes . AdminExchangeResponse ,
173+ HttpTypes . AdminExchangeReturnResponse ,
174174 FetchError ,
175175 string
176176 >
@@ -201,7 +201,7 @@ export const useAddExchangeInboundShipping = (
201201 id : string ,
202202 orderId : string ,
203203 options ?: UseMutationOptions <
204- HttpTypes . AdminExchangeResponse ,
204+ HttpTypes . AdminExchangeReturnResponse ,
205205 FetchError ,
206206 HttpTypes . AdminExchangeAddInboundShipping
207207 >
@@ -223,9 +223,9 @@ export const useUpdateExchangeInboundShipping = (
223223 id : string ,
224224 orderId : string ,
225225 options ?: UseMutationOptions <
226- HttpTypes . AdminExchangeResponse ,
226+ HttpTypes . AdminExchangeReturnResponse ,
227227 FetchError ,
228- HttpTypes . AdminExchangeUpdateInboundShipping
228+ HttpTypes . AdminExchangeUpdateInboundShipping & { actionId : string }
229229 >
230230) => {
231231 return useMutation ( {
@@ -248,7 +248,7 @@ export const useDeleteExchangeInboundShipping = (
248248 id : string ,
249249 orderId : string ,
250250 options ?: UseMutationOptions <
251- HttpTypes . AdminExchangeResponse ,
251+ HttpTypes . AdminExchangeReturnResponse ,
252252 FetchError ,
253253 string
254254 >
@@ -368,9 +368,9 @@ export const useUpdateExchangeOutboundShipping = (
368368 id : string ,
369369 orderId : string ,
370370 options ?: UseMutationOptions <
371- HttpTypes . AdminExchangeResponse ,
371+ HttpTypes . AdminExchangePreviewResponse ,
372372 FetchError ,
373- HttpTypes . AdminExchangeUpdateOutboundShipping
373+ HttpTypes . AdminExchangeUpdateOutboundShipping & { actionId : string }
374374 >
375375) => {
376376 return useMutation ( {
@@ -449,7 +449,10 @@ export const useExchangeConfirmRequest = (
449449export const useCancelExchangeRequest = (
450450 id : string ,
451451 orderId : string ,
452- options ?: UseMutationOptions < HttpTypes . AdminExchangeResponse , FetchError >
452+ options ?: UseMutationOptions <
453+ HttpTypes . AdminExchangeDeleteResponse ,
454+ FetchError
455+ >
453456) => {
454457 return useMutation ( {
455458 mutationFn : ( ) => sdk . admin . exchange . cancelRequest ( id ) ,
0 commit comments