/** Types generated for queries found in "src/modules/sort-codes/providers/sort-codes.provider.ts" */

/** 'GetAllSortCodes' parameters type */
export type IGetAllSortCodesParams = void;

/** 'GetAllSortCodes' return type */
export interface IGetAllSortCodesResult {
  default_irs_code: number | null;
  key: number;
  name: string;
  owner_id: string;
}

/** 'GetAllSortCodes' query type */
export interface IGetAllSortCodesQuery {
  params: IGetAllSortCodesParams;
  result: IGetAllSortCodesResult;
}

/** 'GetSortCodesByIds' parameters type */
export interface IGetSortCodesByIdsParams {
  isSortCodesIds?: number | null | void;
  sortCodesIds: readonly (number | null | void)[];
}

/** 'GetSortCodesByIds' return type */
export interface IGetSortCodesByIdsResult {
  default_irs_code: number | null;
  key: number;
  name: string;
  owner_id: string;
}

/** 'GetSortCodesByIds' query type */
export interface IGetSortCodesByIdsQuery {
  params: IGetSortCodesByIdsParams;
  result: IGetSortCodesByIdsResult;
}

/** 'GetSortCodesByOwnerIds' parameters type */
export interface IGetSortCodesByOwnerIdsParams {
  ownerIds: readonly (string | null | void)[];
}

/** 'GetSortCodesByOwnerIds' return type */
export interface IGetSortCodesByOwnerIdsResult {
  default_irs_code: number | null;
  key: number;
  name: string;
  owner_id: string;
}

/** 'GetSortCodesByOwnerIds' query type */
export interface IGetSortCodesByOwnerIdsQuery {
  params: IGetSortCodesByOwnerIdsParams;
  result: IGetSortCodesByOwnerIdsResult;
}

/** 'InsertSortCode' parameters type */
export interface IInsertSortCodeParams {
  defaultIrsCode?: number | null | void;
  key?: number | null | void;
  name?: string | null | void;
  ownerId?: string | null | void;
}

/** 'InsertSortCode' return type */
export interface IInsertSortCodeResult {
  default_irs_code: number | null;
  key: number;
  name: string;
  owner_id: string;
}

/** 'InsertSortCode' query type */
export interface IInsertSortCodeQuery {
  params: IInsertSortCodeParams;
  result: IInsertSortCodeResult;
}

/** 'InsertSortCodes' parameters type */
export interface IInsertSortCodesParams {
  sortCodes: readonly ({
    name: string | null | void,
    key: number | null | void,
    defaultIrsCode: number | null | void,
    ownerId: string | null | void
  })[];
}

/** 'InsertSortCodes' return type */
export interface IInsertSortCodesResult {
  default_irs_code: number | null;
  key: number;
  name: string;
  owner_id: string;
}

/** 'InsertSortCodes' query type */
export interface IInsertSortCodesQuery {
  params: IInsertSortCodesParams;
  result: IInsertSortCodesResult;
}

/** 'UpdateSortCode' parameters type */
export interface IUpdateSortCodeParams {
  defaultIrsCode?: number | null | void;
  key?: number | null | void;
  name?: string | null | void;
  ownerId?: string | null | void;
}

/** 'UpdateSortCode' return type */
export interface IUpdateSortCodeResult {
  default_irs_code: number | null;
  key: number;
  name: string;
  owner_id: string;
}

/** 'UpdateSortCode' query type */
export interface IUpdateSortCodeQuery {
  params: IUpdateSortCodeParams;
  result: IUpdateSortCodeResult;
}

