import { DataTableIndex } from "../../enums"; import { Customer } from "../../models"; import { CursorPaginationEnabled, Filterable, IsChainGuard, QueryOptions, WithIndex } from "./common"; export interface CreateCustomerRequest extends IsChainGuard { item: Customer; } export interface GetCustomersRequest extends CursorPaginationEnabled, Filterable, QueryOptions, WithIndex, IsChainGuard { itemIds?: string[]; } export interface GetCustomerProductOrderRateRequest extends CursorPaginationEnabled, Filterable, QueryOptions, IsChainGuard { customerId: string; itemIds?: string[]; } export interface UpdateCustomerRequest extends IsChainGuard { item: Customer; } export interface DeleteCustomerRequest extends IsChainGuard { itemId: string; }