// AUTO-GENERATED by mizan — do not edit

export interface OrderOutput {
    id: number
    user_id: number
    total: number
}

export interface echoInput {
    text: string
}

export interface echoOutput {
    message: string
}

export interface findUserInput {
    user_id: number
}

export interface findUserOutput {
    user_id: number
    name: string
}

export interface renameUserInput {
    user_id: number
    name: string
}

export interface renameUserOutput {
    user_id: number
    name: string
}

export interface updateProfileInput {
    user_id: number
    name: string
}

export interface updateProfileOutput {
    ok: boolean
}

export interface userOrdersInput {
    user_id: number
}

export type userOrdersOutput = OrderOutput[]

export interface userProfileInput {
    user_id: number
}

export interface userProfileOutput {
    user_id: number
    name: string
}

export interface whoamiOutput {
    email: string
    authenticated: boolean
}

