Type alias ListStatesResponse

ListStatesResponse: {
    data: {
        id?: number;
        name?: string;
    }[];
    errors: string[];
    success: boolean;
}

Type declaration

  • data: {
        id?: number;
        name?: string;
    }[]

    List of available states

  • errors: string[]

    If the operation was not successful, holds the deatils of errors

  • success: boolean

    Indicates whether the operation was successful or not