/**
 * This file was automatically generated by joi-to-typescript
 * Do not modify this file manually
 */

export interface IGenerate {
  /**
   * Unknown Property
   */
  [x: string]: unknown;
  action: string;
  block_num?: number;
  code: string;
  coopname: string;
  created_at?: string;
  generator?: string;
  lang?: 'ru';
  timezone?: string;
  username: string;
  version?: string;
}

export interface IGetDocuments {
  filter?: {
    receiver?: string;
  };
  limit?: number;
  page?: number;
  sortBy?: string;
}

export interface RGenerate {
  body: {
    /**
     * Unknown Property
     */
    [x: string]: unknown;
    action: string;
    block_num?: number;
    code: string;
    coopname: string;
    created_at?: string;
    generator?: string;
    lang?: 'ru';
    timezone?: string;
    username: string;
    version?: string;
  };
}

export interface RGetDocuments {
  query?: {
    filter?: {
      receiver?: string;
    };
    limit?: number;
    page?: number;
    sortBy?: string;
  };
}

export interface RGetMyDocuments {
  query?: {
    username?: string;
  };
}
