// AUTO-GENERATED by mizan — do not edit

import { mizanFetch } from '@mizan/base'

import type { userProfileOutput, userOrdersOutput } from '../types'

export interface UserContextData {
    user_profile: userProfileOutput
    user_orders: userOrdersOutput
}

export interface UserContextParams {
    user_id: number
}

export function fetchUserContext(params: UserContextParams): Promise<UserContextData> {
    return mizanFetch('user', params)
}
